Charge and current, RMS or aritmethic mean?

In summary, the DC RMS is calculated by taking the square root of the mean of the instantaneous readings.
  • #1
hadoque
43
1
I'm calculating current through a resistor by measuring a single current pulse, integrating it and multiplying it with its frequency. This would correspond to calculating an arithmetic mean.
I also tried calculating RMS of this waveform, using GNU Octave, and was a bit surprised by the difference.
My interpretation of RMS current is the DC-equivalent of the AC. Should be more or less the same, or should it? I started looking into this by looking at the definition of the two means. For the arithmetic mean, I use the absolute of the function, since I don't want negative charge to cancel positive.
Ia = ∫T2T1 √f(t)2dt/(T2-T1)
IRMS = √( ∫T2T1 f(t)2dt/(T2-T1) )

If we use f(t)=Sin(t) as an example, we get:
Ia=2/π ≈ 0.64
IRMS = 1/√2 ≈ 0.71

Using a square pulse wave with height 1, period 1 and time on T, we get
Ia= T
IRMS = √T

Quite a difference.
So, I think the arithmetic mean is the most correct in this case, since it is equal to the actual definition of current. So why do we use RMS? Am I missing something?
I have searched the net, but haven't found a discussion about this.
 
Engineering news on Phys.org
  • #2
RMS is like DC in the sense that the power in a resistor is the same for 1A RMS or 1A DC.

It differs from the arithmetic mean because P=I2R for a resistor, so 2x more current gives 4x more power, not 2x.
 
  • #3
To elaborate on the above, RMS is really only useful for calculating "heating equivalent" of an AC current or voltage source in a resistor, as mentioned due to the square of the current (or voltage) relationship with power. You would not use RMS value for basically anything else, for example calculating the losses in a diode, you would use the arithmetic average current, since diode heating is V*I.
 
  • Like
Likes DaveE
  • #4
Great! When you all say it like that it seems really obvious. I was actually thinking that power equivalence could have something to do with it.
It’s good to think about these things sometimes...
 
  • Like
Likes anorlunda
  • #5
hadoque said:
It’s good to think about these things sometimes...
Amen. Good background work for the brain while raking leaves or watching sitting in front of the boob-tube.

old jim
 
  • #6
Actually in power electronics the DC RMS of the pulses is critical to consider. In high current devices the resistive elements do contribute significant heat. Luckily for square pulses it is relatively easy to keep track of.

Also MOSFET Rds on is a resistive characteristic - this has become a big factor in Silicon Carbide MOSFET where the die are becoming very small, so they can not, initially absorb(think mass), and then dissipate(Think Surface area) this I^2*R heat. (Just one of the many issues with SiC...)

Consider a DC Chopper - as the duty cycle (Vin/Vout) gets lower the portion of the losses ( heat) from the resistive elements becomes dominant.
 
  • #7
Windadct said:
Actually in power electronics the DC RMS of the pulses is critical to consider. In high current devices the resistive elements do contribute significant heat. Luckily for square pulses it is relatively easy to keep track of.

What is "DC RMS"?
 
  • #8
I was referring to a square wave pulse that is not "alternating", it is a dc pulse, then zero. So, we typically think of RMS as a way to get an effective value for AC, or sine.
In these cases we use both the mean, and RMS in the loss calculations.
 
  • #9
Strictly speaking, DC just means it doesn't reverse polarity. So a zero to 10 volt square wave qualifies.

Non-varying current as from a battery is often called "Steady" ,

It's one of those little fine distinctions that's not respected in everyday communication..

I learned from looking at wall-wart plug supplies that DC might mean 'rectified but not filtered' as in battery charging applications.
Steady, or filtered DC, is often but not always indicated by a straight line adjacent the voltage marking.
You can tell them apart with a meter by how quickly the voltage decays after you unplug it.

old jim
 
  • #10
I prefer other words. If a DC signal varies in time, you can calculate the RMS for any interval. Time varying does not make it AC.
 
  • #11
Windadct said:
I was referring to a square wave pulse that is not "alternating", it is a dc pulse, then zero. So, we typically think of RMS as a way to get an effective value for AC, or sine.
In these cases we use both the mean, and RMS in the loss calculations.

If we have a waveform such as you're describing:

PulseWaveform.png


How is the DC RMS calculated, as distinguished from ordinary RMS?
 

Attachments

  • PulseWaveform.png
    PulseWaveform.png
    1.4 KB · Views: 404
  • #12
RMS is RMS.
Divide some period up into instantaneous readings at small time intervals
and use the mnemonic RMS is backward for " Square Mean Root ."
or if you prefer .forward, 'square Root of the Mean of the Squares".

Now to the arithmetic

Square each individual reading,
take their Mean(average)
take square Root of that mean(average),,
and you have the RMS of your wave over the period you chose.

i know you know that but for high school readers who are likely not fluent with integration (i know i wasn't)
...
proper math is to get the mean by integration, the infamous Studebaker sign ∫ ,
which just means divide your interval into an infinite number of time slices, very narrow ones of course
.....

anyhow if you do that to a steady DC voltage you'll get that exact voltage for a result.

Squaring each reading before averaging gives any taller ones more weight in the average than if they weren't squared
and that's why a 'peaky' waveform has a higher heating value than a sine shaped one.
That's significant in power supply filter capacitors where the charging current flows only in short gulps near the sinewave voltage peaks so is very peaky.
Every capacitor has a rating for RMS ripple current .

upload_2019-2-10_15-36-0.png

image courtesy of http://www.cde.com/resources/technical-papers/selectinvcap.pdfold jim
 

Attachments

  • upload_2019-2-10_15-36-0.png
    upload_2019-2-10_15-36-0.png
    10.8 KB · Views: 391
  • #13
Windadct said:
I was referring to a square wave pulse that is not "alternating", it is a dc pulse, then zero. So, we typically think of RMS as a way to get an effective value for AC, or sine.
In these cases we use both the mean, and RMS in the loss calculations.

We typically think of RMS as exactly that, square root of the mean of the squares, it is a calculated value based on the wave shape, regardless of that shape, for example in DC-DC you often get a step ramp (inductive power transfer), if zero current switched, then its a portion of a triangle wave, RMS still applies as long as its a resistive component (wire, FET rdson, ESR of capacitors etc).

Note I would call the waveform you are describing an AC waveform with a DC offset.
 
  • #14
jim hardy said:
RMS is RMS.

But what is DC RMS? I was hoping Windadct would explain how it's different enough from ordinary RMS to merit a special name.
 
  • #15
The Electrician said:
But what is DC RMS?
I never heard that term before either..

Something to ponder though.

Imagine you have a True RMS Voltmeter ,
and use it to measure a signal composed of AC with DCoffset

2-29.jpg


Does the meter have a series capacitor to block the DC component and report RMS of just the sine wave?
Or does its report include the additional heating effect of the DC component too ?

I can see how someone in a hurry might ascribe the name "DC RMS" to the latter behavior
but he should define his term unambigupusly.
It's important to choose names that lead the mind to a correct mental picture, and DC RMS doesn't really take me anywhere.

Tonight i'll connect my True RMS Fluke to a flashlight battery and see what it reports on AC scale.

The venerable Simpson 260 includes a capacitor that you can use to block the DC component of such a signal..
You plug the red lead into the "Output" jack.
upload_2019-2-11_8-46-43.png


old jim
 

Attachments

  • upload_2019-2-11_8-46-43.png
    upload_2019-2-11_8-46-43.png
    62.3 KB · Views: 346
  • 2-29.jpg
    2-29.jpg
    17 KB · Views: 552
  • #16
Thanks Jim. Very clear.

jim hardy said:
Squaring each reading before averaging gives any taller ones more weight in the average than if they weren't squared

You should also mention that it makes negative values positive, so that a signal with an average value of zero has nonzero RMS.
 
  • Like
Likes jim hardy
  • #17
anorlunda said:
You should also mention that it makes negative values positive, so that a signal with an average value of zero has nonzero RMS.

Yes,

The Squaring step in RMS dictates a positive result because, as we learned in grade school, (-X)2 = +X2,

so the Mean step can only produce a positive result because there's not a single solitary negative value among those X2 's that it's about to average

which is a good thing because the square Root step would bomb if it were handed a negative argument...

Hope that's not too un-academic for PF
i just think we need simple mental pictures to help struggle up the learning curve.

Wiki explains more eloquently than i could, thus
upload_2019-2-12_1-5-50.png


and every point on that sin2 curve is positive so it'll have a nonzero average
unlike a sinewave with no offset which DOES have an average value of zero...
more at https://calculus.subwiki.org/wiki/Sine-squared_function
 

Attachments

  • upload_2019-2-12_1-5-50.png
    upload_2019-2-12_1-5-50.png
    7.3 KB · Views: 369
Last edited:
  • Like
Likes anorlunda
  • #18
That squaring a sine doubles its frequency is well known from our trig identities
but it's not quite intuitive to me yet.

Seems i should be able to get there via Euler's equation
upload_2019-2-12_10-44-3.png


because when we square we double the exponent
so squaring left side yields ej2ωt

when I've successfully expanded the right side i'll be back.
(You all know I'm math challenged...Coming to grips with Euler will be a major milestone for me. )

old jim
 

Attachments

  • upload_2019-2-12_10-44-3.png
    upload_2019-2-12_10-44-3.png
    4.3 KB · Views: 354
  • #19
BTW i did measure a flashlight battery with my Fluke 80 True RMS DMM set to AC.

As expected it obviously has a capacitor to block DC .
At the instant of connection its reading changes from ~0 to OL(overrange) and drifts back down to zero over a second or so.
That's the capacitor charging transient, which allows brief current flow into the measuring circuit.

Somewhere in my life i have encountered a True RMS DMM that offered the choice whether to include or block the DC content of an AC measurement.
One should be aware of how his test equipment works because he could lose days of experimental work by unawareness of such a feature..
I use my Fluke so seldom that i wanted to refresh my memory as to whether it has that option. It does not (Unlike the analog Simpson 260 above).

Thanks folks, for putting up with this detail-obsessed old guy.

old jim
 

1. What is the difference between charge and current?

Charge refers to the amount of electric charge present in a system, measured in coulombs (C). Current, on the other hand, refers to the rate at which charges flow through a circuit, measured in amperes (A).

2. What is RMS or arithmetic mean?

RMS (Root Mean Square) is a mathematical calculation used to find the effective or average value of a varying quantity, such as voltage or current. It is also known as the arithmetic mean, which is the sum of all values divided by the number of values.

3. How is RMS or arithmetic mean calculated?

To calculate RMS or arithmetic mean, you square all the values, find the average of the squared values, and then take the square root of that average. This gives you the RMS or arithmetic mean value.

4. Why is RMS or arithmetic mean used instead of other types of averages?

RMS or arithmetic mean is used because it takes into account the magnitude and direction of the values, making it a more accurate representation of the overall value. Other types of averages, such as the simple mean, do not consider the direction of the values and can give misleading results.

5. How is RMS or arithmetic mean used in practical applications?

RMS or arithmetic mean is commonly used in electrical engineering to find the effective voltage or current in a circuit. It is also used in statistics to find the average of a set of data. In audio engineering, RMS is used to measure the loudness of a sound signal.

Similar threads

  • Electrical Engineering
Replies
1
Views
598
  • Introductory Physics Homework Help
Replies
5
Views
1K
  • Introductory Physics Homework Help
Replies
9
Views
1K
  • Electromagnetism
Replies
7
Views
1K
  • Engineering and Comp Sci Homework Help
Replies
8
Views
4K
Replies
4
Views
894
  • Engineering and Comp Sci Homework Help
Replies
1
Views
985
  • Electrical Engineering
Replies
4
Views
1K
  • Introductory Physics Homework Help
Replies
5
Views
1K
Replies
19
Views
1K
Back
Top