Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

how to determine the rms value

Status
Not open for further replies.

tintincute

New Member
hi

i would like to know how to determine the rms value of a waveform.
I have an example here, where I don't understand why is it like that?
Could somebody please explain to me?

I didn't get it why is it square root of {(9*4)+(1*4)/8}

I've read that the formula for the rms is: Irms = 0.707Im

Thanks
 
Last edited:
how to determine rms value of a waveform

hi

i would like to know how to determine the rms value of a waveform.
I have an example here, where I don't understand why is it like that?
Could somebody please explain to me?

I didn't get it why is it square root of {(9*4)+(1*4)/8}

I've read that the formula for the rms is: Irms = 0.707Im

Thanks
 

Attachments

  • rms.jpg
    rms.jpg
    72.3 KB · Views: 4,863
Vrms=square root (V squared)
In your example (9=3 squared)
In your example 4/8= 0.5 (50% of the time the voltage is +3 and 50% of the time the voltage is -1)

The Vrms=square root(1/2*V1*V1 + 1/2*V2*V2) where V1=3 volts and V2=-1 volt and the 1/2 = 50%

Vrms=square root(3v*3v*50% + -1v*-1v*50%)
3*3=9 and -1*-1=1
 
@ronsimpson: thank you for the answer. another question, is it always with 50%? how did you arrived to this 50%? why 50%? based on arhi's formula: the complex waveforms has this formula:


@arhi: what does "n" here stands for? is it the number of cycles?

thank you.
 

Attachments

  • xrms.png
    xrms.png
    2.1 KB · Views: 4,480
hi

i would like to know how to determine the rms value of a waveform.
I have an example here, where I don't understand why is it like that?
Could somebody please explain to me?

I didn't get it why is it square root of {(9*4)+(1*4)/8}

I've read that the formula for the rms is: Irms = 0.707Im

Thanks
The RMS for a sine wave is max * √2. RMS itself is a formula: Root Mean Square.

Dan
 
hi Dan

thanks for the reply. In the RMS formula it states :

xrms = square root of { ( x1^2 + x2^2 +....xn^2)/ n }

what does "n" here stands for?

In my example: The number of "n's" are = 2. I would like to know what does it mean?

And why is the solution used the "50%" value?

Thanks
 
Square rooting the weighted average of all the Voltage^2 that exist in one period is all it is. If you understand this one sentence then you shouldn't need to read anything else here.

And why is the solution used the "50%" value?
50% is from the image you attached. 50% of the period is spend at one voltage, and the other 50% is spent at another voltage (4s+4s = 8s!) It was used because he is finding the weighted average (the times each voltage exists for per period is acting as the weights, and dividing by the total length of the period itself normalizes everything to a fraction/percentage/ratio).
rms-jpg.24745


THe 9 comes from (3V)^2. The 1 comes from (-1V)^2. So those are the two voltages that exist per cycle. And you are trying to find the mean of the squared values, so you have to square them. THen you multiply each by the amount of time that it exists for in the period (it happens to be 4s each for both voltages in this case) and divide it by the period (which is 8s) to find the fraction/ratio per period that the voltage exists for (or you could just multiply it by the ratio directly if you know it off hand which in this case would be 0.5 for both voltages). Then you take the square root of it all.

I've read that the formula for the rms is: Irms = 0.707Im
The Peak*1/root(2) is a simplification. You get it if you do the RMS integration for a sine wave (it's continuous so you integrate rather than summing a series). THerefore it it only holds works for pure sinusoids. THe equations you see here are the general case from which 1/sqrt(2) was derived.

General case (for continuous functions you integrate rather than sum the series, but it's really the same thing).
xrms-png.24771


What you're really doing is you are squaring each voltage level that appears in one period of the waveform, and then putting them into a weighted average. ANd then you take the square root of the whole thing. Put another way, you are taking the weighted average of the voltages squared. THe "weighted" part of the average is with respect to the percentage of time that each voltage level takes up in the period.
If you do it in terms of time, you have to divide it by the period to normalize it and make it a weighted average:

THis is the weighted average
**broken link removed**

All that is missing is square rooting the whole thing since you are finding the *ROOT* of the Mean of of the Squared. 'x' would be your Voltage^2. 'w' is the time that the voltage exists for in the period. ANd since the denominator is the sum of all the 'w', it is equal to the period itself. Of course, you can totally skip multiplying every Voltage^2 by its corresponding w, and then dividing everything by the period. You could just do all that beforehand and multiply each Voltage^2 by the percentage (fraction of each period that the voltage exists for).
 
Last edited:
If you do it in terms of time, you have to divide it by the period to normalize it and make it a weighted average:

sqrt{ [ (1st voltage level)*(1 second) + (2nd voltage level)(2 second) ] / (3 seconds) }

or you could do the (1sec/3sec) and (2sec/3sec) operations first to find the percentage per period that each voltage takes and go straight to percentages:

sqrt{ (1st voltage level)*(33.3%) + (2nd voltage level)*(66.6%) } / (100%)

but of course, in actuality you woudl just go:

sqrt{ (1st voltage level)*(0.333) + (2nd voltage level)*(0.666) / 1}(but we never write the 1 obviously)

You see how the 33.3%, 66.6% and 100% appear in the same places in the eequation as 1sec, 2sec, and 3sec? It serves the same purpose. THe denominator is equal to all the weights added together (33.3% + 66.6% = 100%, 0.333+0.666 = 1, 1sec+2sec = 3sec) because it's not the absolute amount of time that matters, it's the fraction of the period that does.
 
Last edited:
hi dknguyen, thank you for your explanation. I somehow understand it now. is this formula applicable to triangular wave as well and sinusoidal wave?

Does anybody know the formula for "average rectified value and the average value or mean value?"

Is the formula I've had in the attachment correct?


Thanks
 

Attachments

  • gleichwert.png
    gleichwert.png
    1.1 KB · Views: 329
  • gleichrichtwert.png
    gleichrichtwert.png
    1.9 KB · Views: 294
hi again,
I'm having a difficulty with triangular wave.
I have an example here and the answer is : square root of { 2/3 } * i I don't why the answer is this.
I somehow resolved the average value but the root mean square not. I always end up with the wrong answer.
Could somebody please explain, how it arrived on the answer:
square root of { 2/3 } * i.

Thanks again
 

Attachments

  • triangularwave.jpg
    triangularwave.jpg
    92.8 KB · Views: 485
Last edited:
I don't know why, but is smells like homework...

Well, IMHO, I think that the integral form of the RMS value is much more reliable and easier.

RMS = sqrt{1/T * integral[ (f(t))^2 dt] }, where T is the period, and f(t) is the signal function.

In the case of this last picture, the wave is composed by 2 functions, so you'll have to split the integral.
 
This is not a homework. It has already a solution and I would like to know how it arrived to this solution.
The solution was this:
__
I^2 = (1/T) (T/2) (i^2/ √ 3 ) ^2 + i^2
____
I = √ 2/3 * i


RMS = sqrt{1/T * integral[ (f(t))^2 dt] },

Is this another formula?

thanks
 
Your equation is only a weighted average. You still to have to square root the whole thing. Also, your |x| are needless since x = t*V^2. t is always positive and V^2 is always positive.

Hold on, I'm coming up with something to explain everything much more clearly.

Yes, it is applicable to other waves as well. Hold on...I am making something to explain it better once and for all...but basically look at one period of the function. Square it with itself. Look at this new function. Integrate this function (find the area underneath the curve however you need to. ie. Calculus, multipling length and width (for squares), multipling length and width and divide by two (for triangles), etc.). Then divide it by the period. Since the area was a segment of the period in the first place, dividing it by the period will normalize everything. To do the same thing as a weighted average. Then square root the whole thing.

Another approach is to remember that since you are squaring the y-axis in the waveform, it is going to be positive anyways. So what you can do for a really weird looking function, is to draw out its absolute value first. THen square everything and draw that out. Then find the area. It is easier than squaring everything directly.
 
Last edited:
Here is the file I made on RMS. DOes this help make things more clear?

hi dknguyen, what do you mean weighted average? is it the same as average value or average mean?

Okay, forget everything you learned about "averages" or "means". The average/mean that you learned are all special cases of the weighted average. THe special case being that all items have equal weightings. Think about how your grade in a class is calculated...

If you have 5 quizzes worth 10% each, and one final worth 50%, then the REGULAR AVERAGE of your quizzes is:

How would you calculate your average mark for the quizzes (not including the final)? Obviously you just go:
(Quiz1 + Quiz2 + Quiz3 + Quiz4 + Quiz5)/5
because you have 5 items of equal weighting. But really, this is just a simplification of the weighted average equation because you have equal weightings. THis simplified expression actually comes from the more general weighted average equation:

(Quiz1*10% + Quiz2*10% + Quiz3*10% + Quiz4*10% + Quiz5*10%)/50%

which simplifies down to

(Quiz1*0.2 + Quiz2*0.2 + Quiz3*0.2 + Quiz4*0.2 + Quiz5*0.2) --->>>
(Quiz1 + Quiz2 + Quiz3 + Quiz4 + Quiz5)*0.2 --->>>
(Quiz1 + Quiz2 + Quiz3 + Quiz4 + Quiz5)/5

But now think of your final grade...it's not simply an average of your quizzes and final exam because your final exam was worth much more than the others (it was weighted more heavily). Since the items now have different weights, no regular average exists. Instead, only the more general weighted average exists:
(Quiz1*10% + Quiz2*10% + Quiz3*10% + Quiz4*10% + Quiz5*10% + Final*50%)/100%

which again simplifies down to

(Quiz1*0.1 + Quiz2*0.1 + Quiz3*0.1 + Quiz4*0.1 + Quiz5*0.1 + Final*0.5)

It seems silly that I wrote 10%, 50%, and 100% and then simplified them to 0.1, 0.5, and 1. BUt this is just because the marks are in percentages which are already a fractional form. But in an example like RMS, these numbers would end up being time segments of the waveform, and 100% would end up being the period of the waveform. So in this case, it obviously isn't so silly, since you are now finding the ratio of
"some time segment" : period
whereas before you were finding the ratio of
"some %" : 100%
which is redundant since % is already a ratio.

Understand? I am a bit curious to what level of schooling you are in right now. Because by the time you get to high school most everyone knows what a weighted average is (if only so they can calculate how well they need to do on the final exam to pass).

THIS IS THE FINAL VERSION OF THIS POST.
 

Attachments

  • RMS.pdf
    28 KB · Views: 406
Last edited:
Oh, you should know that after I edit my posts a LOT after I write them so if you have been reading it, it may be outdated and harder to understand. So if you were reading my previous post and it did not say:
THIS IS THE FINAL VERSION OF THIS POST.
THen you were reading an outdated version that might have been harder to understand and might have had mistakes.
 
Last edited:
thanks dknguyen for the simplification. I learned these stuffs 10 years ago and after that haven't had the chance to practice it and now I'm studying it again. so I'm trying to recall everything. Thanks for your patience

You've mentioned that my answer on my another example is just a weighted average. I think I also performed the square root after.

From: I^2 = (1/T) (T/2) (i/square root of 3)^2 + i^2

To: I = square root of 2/3 * i --> so this one is not correct?



ps. thanks for the PDF File
 
The area for first half + second half of the square function is:

0.25Ti^2 + 0.5Ti^2 = 0.75Ti^2

divide it by the T to normalize, we get:
0.75i^2 = (3*i^2)/4

Take the square root of the whole thing and you get:

i*sqrt(3)/2

There must have been a typo with the brackets. So no, it doesn't seem right. But neither were you. I don't see why your 3 came in so early. THe reason it is there is from the 0.75 = 3/4 after you've added everything up.

SQRT[(1/T){(T/2)(0.25i/square root of 3)^2 + (T/2)i^2}]
I have no idea what is going on in the italics. THe bold, underlined part is totally out the window. It just shouldn't be there.

THe 0.25 is from the fact that the area of the first half of the period is 0.5*(T/2)*i^2. You can do it mathematically using the slope of the line, but I just did it visually. The negative half of the line is the same area as the positive half and since you are squaring it to make it all positive, I just flipped it to above the X axis, and from there you can see it takes one half of a grid square (and one grid square covers T/2 of the period).
 
Last edited:
ok. i also didn't get it here. But if you say that there might be a typo with the brackets I have to check this then with my professor.
btw, i'm trying to solve here the Irms

Thanks again
 
Status
Not open for further replies.

Latest threads

Back
Top