Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
05/31/05 16:12
Read: times


 
#94153 - DC contribution to total rms value
Responding to: ???'s previous message
Hi David,

I looked at this a bit more after I posted the above correction yesterday.

If you have only a DC voltage, then calculating the integral from my previous post is trivial, and the result is that the rms value of the DC voltage is the value of the DC voltage.

Now consider calculating the rms value of a non-constant signal (e.g. a sine wave) offset by a DC bias. Let's use f(t) = A*sin(t) + B (where A is the amplitude of the sin wave and B is the DC offset). Now when you square f(t) you end up with a cross term.

f(t)^2 = A^2*sin^2(t) + 2AB*sin(t) + B^2

Now if you multiply that squared funtion by a factor (say delta-t divided by T from the previous post) and take the square root of the single term you get f(t1)*(D)^(1/2). | D = delta-t/T (which, if you read my previous posts you will see, in this case is 1)

{[A^2*sin^2(t1) + 2AB*sin(t1) + B^2]*D}^(1/2)

= [A^2*sin^2(t1) + 2AB*sin(t1) + B^2]^(1/2)*D^(1/2)
= [A*sin(t1) + B]*D(1/2) = f(t1)*D^(1/2)

But, when you integrate (or sum in the case of numeric approximation) you are adding many of these terms together before taking the square root.

{[A^2*sin^2(t1) + 2AB*sin(t1) + B^2 + A^2*sin^2(t2) + 2AB*sin(t2) + B^2 + A^2*sin^2(t3) + 2AB*sin(t3) + B^2 + ...]*D}^(1/2)

= [A^2*sin^2(t1) + 2AB*sin(t1) + B^2 + A^2*sin^2(t2) + 2AB*sin(t2) + B^2 + A^2*sin^2(t3) + 2AB*sin(t3) + B^2 + ...]^(1/2) * D^(1/2)

Notice that [A^2*sin^2(t1) + 2AB*sin(t1) + B^2 + A^2*sin^2(t2) + 2AB*sin(t2) + B^2 + A^2*sin^2(t3) + 2AB*sin(t3) + B^2 + ...]^(1/2) no longer nicely equals f(t), which means that in general it no longer equals a nice linear sum of A*sin(t) + B.

This means that the rms value of a signal with a DC offset, in general, is not equal to the linear sum of the rms value of the signal plus the rms value of the offset.

Note that for simplicity's sake I assumed that delta-t was constant.

List of 20 messages in thread
TopicAuthorDate
RMS Calculation            01/01/70 00:00      
   Going back to basics...            01/01/70 00:00      
   How Many Samples Per Second?            01/01/70 00:00      
   Square Root Algorithm            01/01/70 00:00      
   RMS for sinusoidal signals            01/01/70 00:00      
      Clarification            01/01/70 00:00      
         I beg a question...            01/01/70 00:00      
            Full o' holes            01/01/70 00:00      
            Bang on target...            01/01/70 00:00      
         thats true...            01/01/70 00:00      
   RMS Value            01/01/70 00:00      
      Please elaborate more...            01/01/70 00:00      
         Elaboration            01/01/70 00:00      
            Correction            01/01/70 00:00      
               DC+AC RMS            01/01/70 00:00      
                  DC contribution to total rms value            01/01/70 00:00      
            Thanx Anywayz...            01/01/70 00:00      
               square root by Newton's Rule            01/01/70 00:00      
               Lookup table            01/01/70 00:00      
                  better option...as of now            01/01/70 00:00      

Back to Subject List