Calculating the RMS of a Linear Combination with Different Periods

AI Thread Summary
The discussion centers on calculating the average and RMS values of a linear combination of four functions with different periods. It is noted that two of the functions share the same period, which simplifies the integration process. The average value of the combined functions can be determined by integrating over a time interval that encompasses whole cycles of each waveform, while the RMS value requires integrating the square of the combined function. The average of sine waves over a complete period is zero, making the average value equal to the DC component. The RMS calculation involves using the formula that incorporates both the DC component and the peak magnitudes of the sinusoidal components.
sandy.bridge
Messages
797
Reaction score
1

Homework Statement



<br /> i_1=10+20sin(377t+(\pi /6))
i_2=-30
i_3=10+10sin(100t-(\pi/4))
i_4=10sin(377t)

i_T=\sum _i i_i<br />

What I am wondering is how you go about calculating the average value for the linear combination of all three functions. Also, how would one calculate the rms for such, given the periods are all different?
 
Physics news on Phys.org
sandy.bridge said:

Homework Statement



<br /> i_1=10+20sin(377t+(\pi /6))
i_2=-30
i_3=10+10sin(100t-(\pi/4))
i_4=10sin(377t)

i_T=\sum _i i_i<br />

What I am wondering is how you go about calculating the average value for the linear combination of all three functions. Also, how would one calculate the rms for such, given the periods are all different?

The periods are not ALL different, are they? Don't i1 and i4 have the same period?

Anyway, what you do is integrate a suitable expression for the RMS or average value of the sum i1+i2+i3+i4 for a time such that a whole number of cycles of each of the AC waveforms occurs. A number that would work is 100 cycles of the i1 waveform; that would take the same time as 377 cycles of the i3 waveform.

The 377 is probably intended to be the radian frequency of the grid voltage in the U.S., which is more exactly 2*PI*60. If you had to use 2*PI*60 (for the radian frequency of i1) to find a length of time where whole numbers of cycles would occur for both the i1 and i3 waveforms, you'd be out of luck since PI is irrational. But, your problem says 377, so you're golden.

Do you know how to use calculus to get the RMS (and average) value of a waveform?
 
Thanks for the response. If it is going for one cycle, then t=0→t=1
\bar{i_1}=\int ^{1}_{0}{10+20sin(377t+(\pi/6)}dt
let u=377t+(\pi/6), \frac{du}{377}=dt
and the lower limit of integration is now pi/6, while the upper is 377+pi/6.
\bar{i_1}=\int ^{1}_{0}{10}dt+\frac{20}{377}\int ^{377+\pi /6}_{\pi /6}{sin(u)du}
\bar{i_1}=10t |^{1}_{0}+\frac{20}{377}(-cos(u))|^{377+\pi /6}_{\pi /6}

Thus the average for this first value is 10. Does it look as though that was executed correctly? Once I have the average for the other 3, do I merely sum them together or do I have to average the sum of the averages?
 
RMS stands for the square Root of the Mean of the Square of the waveform. So I think you need the integral of 100 + 400.sin2(377t in the above.

I suspect that you can average each separately over its own period, then add their values together, not bothering with phase nor looking for a common whole period time interval, but to prove this I'd need to work it out both ways and show the results are identical.
 
Last edited:
hmmm it'd be interesting to see if this was the case.
 
Since I have made the limits of integration the same for all four functions, then the average value for all of the functions would merely be a sum of all the averages over 0-->1?

Moreover, when determining the rms, we should ensure that we are integrating over a whole number of periods?

Once we have the answer for each of the four equations, we can simply multiply its period by the entire period we are analyzing. I just don't see how this is done with all the phase changes and stretches and compresses..
 
NascentOxygen said:
RMS stands for the square Root of the Mean of the Square of the waveform. So I think you need the integral of 100 + 400.sin2(377t in the above.

I suspect that you can average each separately over its own period, then add their values together, not bothering with phase nor looking for a common whole period time interval, but to prove this I'd need to work it out both ways and show the results are identical.

The average of any sinewave over a complete period is zero. So if the chosen period is a multiple of all periods involved (and you don't even need to know what it is!), then the contribution of all the sinewaves to the average will be nil. This makes finding the average value trivial.

Things are more tricky for the RMS value because both the positive and negative half-cycles of each sinewave make a contribution. There's not much for it but to do the integration. If you let t run from 0 to 2 \pi then you're guaranteed to include full cycles for each of the contributing waves.
 
Okay, here's what I have done thus far.
i_2+i_3=-20+10sin(100t-45°)
Next, I converted equation 1 and 4 into polar coordinates, and then from polar to rectangular coordinates.
i_1=30/\sqrt{2}\angle{30°}\rightarrow{15\sqrt{3/2}i+15/\sqrt{2}j}
i_4=10/\sqrt{2}\angle 45°\rightarrow{5}i+5j
I then combined these two, converted to polar, and then returned it to sinusoid form.
i_{1,4}=23.37i+15.61j\rightarrow{28.1\angle{33.7°}}\rightarrow{39.7sin(337t+33.7°}

Therefore, I now have 2 equations.
i_{1,4}=39.7sin(337t+33.7°), i_{2,3}-20+10sin(100t-45°)

Can anyone confirm if that looks okay thus far, before I proceed further? I was a little bit weary regarding my initial conversions as this is a brand new subject for me.
 
Last edited:
I'm not sure why you're inserting the √2 constant during your conversions. Usually that would indicate converting from peak to RMS values, but it's the RMS value that you're trying to find.

Have a look "en.wikiversity.org/wiki/Phasor_algebra"[/URL] for phasor algebra.
 
Last edited by a moderator:
  • #10
I did look at it in my textbook. For example, the textbook does this:
v_a=50sin(377t+30°)\rightarrow{35.35V\angle{30°}}
 
  • #11
sandy.bridge said:
I did look at it in my textbook. For example, the textbook does this:
v_a=50sin(377t+30°)\rightarrow{35.35V\angle{30°}}

Yeah, they're converting directly to RMS for the phasor representation. In the present case I don't think that's wise because you're going to be finding the RMS value of the sum of several waveforms by calculating it with an integration; The method assumes that you're using the peak magnitudes.
 
  • #12
Okay, thank you.
Revised:
i_2+i_3=-20+10sin(100t-45°)
Next, I converted equation 1 and 4 into polar coordinates, and then from polar to rectangular coordinates.
i_1=30\angle{30°}\rightarrow{25.98i+15j}
i_4=10\angle 45°\rightarrow{7.07}i+7.07j

i_{1,4}=33.05i+22.07j\rightarrow{39.74\angle{33.7°}}\rightarrow{39.7sin(337t+33.7°)}

Therefore,
i_{1,4}={39.7sin(337t+33.7°)}, i_2+i_3=-20+10sin(100t-45°)
 
  • #13
First I'd collect all the DC terms together and put them aside until integration time. Thus

DC = 10 - 30 + 10 = -10

Next I'd combine the same-frequency sinusoids from i1 and i4. You can go directly to phasor rectangular form with just the phase angles. For a sinusoid:
A \, sin(\omega t + \phi) \Rightarrow A (cos(\phi) + j \, sin(\phi))
so for i1 you should get
20\left(cos\left(\frac{\pi}{6}\right) + j \, sin\left(\frac{\pi}{6}\right) \right) = 20 \left( \frac{\sqrt{3}}{2} + j\frac{1}{2}\right) = 10 \left(\sqrt{3} + j \right)
 
  • #14
Okay, also
i_4=10, i_{1,4}=10(\sqrt{3}+1)
Thus,
i_{1,4}=\sqrt{10\sqrt{3}+11}sin(337t+2.096°)=5.32sin(337t+2.096°)
So we have
i_D=-10+\sqrt{10\sqrt{3}+11}sin(337t+2.096°)+10sin(100t-45°)

From here, I need to pick a suitable interval to integrate over such that both sinusoid functions complete full cycles, correct?
 
  • #15
Careful, i1 has a "j" in it! : 10*(√3 + j)
 
  • #16
Whoa, not sure what I did there... Let me retry that.

i_{1.4}=\sqrt{(10+10\sqrt{3})^2+10^2}sin(337t+2.096°)=29.09sin(337t+20.1°)

i_D=-10+\sqrt{(10+10\sqrt{3})^2+10^2}sin(337t+2.096°)+10sin(100t-45°)
 
  • #17
You should also check your angle for the i1+i4 phasor, since your components have changed.
 
  • #18
Oh yes, I had the angle as 20.1°, just forgot to change it in the formula
i_D=-10+\sqrt{(10+10\sqrt{3})^2+10^2}sin(337t+20.1°)+10sin(100t-45°).

Okay, now from this point (finally) I can determine the rms voltage?
 
  • #19
sandy.bridge said:
Oh yes, I had the angle as 20.1°, just forgot to change it in the formula
i_D=-10+\sqrt{(10+10\sqrt{3})^2+10^2}sin(337t+20.1°)+10sin(100t-45°).

Okay, now from this point (finally) I can determine the rms voltage?

Yes, it involves integrating the square of that expression...
I_{rms} =\sqrt{\frac{1}{T} \int_0^T (i_D)^2 dt}
In this case the integral is with respect to t, which if you run from 0 to 2 \pi you will include some number of full cycles of both sinusoids. The math is going to be both tedious and messy after you square that 3-term expression!
 
  • #20
Okay, before I tackle this question, I have a concern regarding the interval of integration. How exactly do you determine when a full cycle has completed for both sinusoid? For example, if the first limit of integration is 0, how do you determine the upper limit?
 
  • #21
Technically it wouldn't matter which number I used for t, as long as it was a whole integer correct? However, to simplify things I would probably use 1.
 
  • #22
sandy.bridge said:
Okay, before I tackle this question, I have a concern regarding the interval of integration. How exactly do you determine when a full cycle has completed for both sinusoid? For example, if the first limit of integration is 0, how do you determine the upper limit?

Well, I would look at the frequency terms and note that they're both integers: 377 and 100. To make the angles go through an integer multiple of 2 \pi, just run t from 0 to 2 \pi.
 
Last edited:
  • #23
Thanks for all your help. I'm assuming that the 337t term is in radians, even though the textbook has the phase angle in degrees?
 
  • #24
sandy.bridge said:
Thanks for all your help. I'm assuming that the 337t term is in radians, even though the textbook has the phase angle in degrees?

Well, the phase angles for this problem were specified in radians...
 
  • #25
Yes, I had converted them to radians. However, in my textbook, they always state something like:
sin(377t+45°)
 
  • #26
sandy.bridge said:
Yes, I had converted them to radians. However, in my textbook, they always state something like:
sin(377t+45°)

Ah,...well,... I suppose you'd best treat the frequency terms as degrees/second then, unless a note or example in the text indicates otherwise. Let the time run from 0 to 360 seconds and you'll get 377 full cycles of one and 100 full cycles of the other.
 
  • #27
see example 1

http://webcache.googleusercontent.com/search?hl=en&client=firefox-a&rls=org.mozilla%3Aen-US%3Aofficial&q=cache:Ls6JHebNqqsJ:http://www.tina.com/English/tina/course/24periodic/periodic+rms+of+a+sum&ct=clnk"

http://www.edaboard.com/thread85113.html"
 
Last edited by a moderator:
  • #28
NascentOxygen said:
see example 1

http://webcache.googleusercontent.com/search?hl=en&client=firefox-a&rls=org.mozilla%3Aen-US%3Aofficial&q=cache:Ls6JHebNqqsJ:http://www.tina.com/English/tina/course/24periodic/periodic+rms+of+a+sum&ct=clnk"

http://www.edaboard.com/thread85113.html"

That's useful information. To summarize for the present problem (just in case the web pages evaporate over time), the RMS value for a waveform comprising a DC component and several sinusoidal components of different frequencies is given by:
RMS = \sqrt{V_{DC}^2 + \frac{1}{2}(A^2 + B^2 + C^2 + ...)}
where A, B, C,... are the PEAK magnitudes of the contributing sinusoids.

So the procedure would be to first combine all the contributing sinusoids with the same frequencies into single sinusoidal components (so you're left with only one sinusoid per frequency), then "add" those components using the above formula.
 
Last edited by a moderator:
  • #29
Awesome. Thanks for the link, and the help. I can use the same formula when determining the average of the function correct? For example,
\bar{i_D}=\frac{1}{2\pi}\int^{2\pi}_{0}{(-10+\sqrt{(10+10\sqrt{3})^2+10^2}sin(337t+20.1°)+10sin(100t-45°))dt}.
 
  • #30
However, since sinusoid functions have zero average over a full cycle, or an integer multiple of full cycles, the average is merely the dc component.
 
Back
Top