Difference between revisions of "Root Mean Square"

From PrattWiki
Jump to navigation Jump to search
Line 26: Line 26:
 
<center>
 
<center>
 
$$\begin{align*}
 
$$\begin{align*}
\E{V}{RMS}&=\sqrt{\frac{1}{T}\int_T\left(A\, \cos(\omega t+\phi)\right)^2\,d\tau}\\
+
\E{V}{RMS}&=\sqrt{\frac{1}{T}\int_T\left(A\, \cos(\omega \tau+\phi)\right)^2\,d\tau}\\
~&=\sqrt{\frac{1}{T}\int_T\left(A^2\, \cos^2(\omega t+\phi)\right)\,d\tau}\\
+
~&=\sqrt{\frac{1}{T}\int_T\left(A^2\, \cos^2(\omega \tau+\phi)\right)\,d\tau}\\
~&=\sqrt{\frac{1}{T}\int_T\left(A^2\, \frac{1+\cos(2(\omega t+\phi))}{2}\right)\,d\tau}\end{align*}$$</center>
+
~&=\sqrt{\frac{1}{T}\int_T\left(A^2\, \frac{1+\cos(2(\omega \tau+\phi))}{2}\right)\,d\tau}\end{align*}$$</center>
 
Since the cosine term is now being integrated over two complete periods, that integral will be 0.  The integral of a constant over a period, divided by that period, is simply that constant so an $$A^2/2$$ pops out and then you take the square root. This yields:
 
Since the cosine term is now being integrated over two complete periods, that integral will be 0.  The integral of a constant over a period, divided by that period, is simply that constant so an $$A^2/2$$ pops out and then you take the square root. This yields:
 
<center>
 
<center>
Line 41: Line 41:
 
<center>
 
<center>
 
$$\begin{align*}
 
$$\begin{align*}
\E{V}{RMS}&=\sqrt{\frac{1}{T}\int_T\left(A\, \cos(\omega t+\phi)+ B\right)^2\,d\tau}\\  
+
\E{V}{RMS}&=\sqrt{\frac{1}{T}\int_T\left(A\, \cos(\omega \tau+\phi)+ B\right)^2\,d\tau}\\  
~&=\sqrt{\frac{1}{T}\int_T\left(A^2\, \cos^2(\omega t+\phi) + 2AB\cos(\omega t+\phi) + B^2\right)\,d\tau}\\
+
~&=\sqrt{\frac{1}{T}\int_T\left(A^2\, \cos^2(\omega \tau+\phi) + 2AB\cos(\omega \tau+\phi) + B^2\right)\,d\tau}\\
~&=\sqrt{\frac{1}{T}\int_T\left(A^2\, \frac{1+\cos(2(\omega t+\phi))}{2}+ 2AB\cos(\omega t+\phi) + B^2\right)\,d\tau}
+
~&=\sqrt{\frac{1}{T}\int_T\left(A^2\, \frac{1+\cos(2(\omega \tau+\phi))}{2}+ 2AB\cos(\omega \tau+\phi) + B^2\right)\,d\tau}
 
  \end{align*}$$</center>
 
  \end{align*}$$</center>
 
The cosine terms are still being integrated over an integer number of complete periods, so those parts integrate to 0.  This yields:
 
The cosine terms are still being integrated over an integer number of complete periods, so those parts integrate to 0.  This yields:

Revision as of 23:49, 4 September 2022

$$\newcommand{E}[2]{#1_{\mathrm{#2}}}$$

This page aims to describe what a root mean square value is and how different equipment measures and displays root mean square values.

Background

There are a variety of ways to quantify time-varying signals. You could look at the maximum and minimum values, the average values, and the frequency content of the signal. Another way to quantify a signal is to look at what is called the root mean square or RMS value. This value ends up being related to the power of a signal and is calculated as:

$$ \begin{align*} \E{V}{RMS}&=\sqrt{\frac{1}{T}\int_T\left(v(\tau)\right)^2\,d\tau} \end{align*}$$

where $$T$$ represents the period of a periodic signal or, for measurement devices, the sampling window it uses to determine signal qualities. Note that there is another version of RMS, which we will call the AC version of RMS, that looks at the square of the difference between the signal and its own average versus the signal value itself. If we define the average value of some signal as

$$ \begin{align*} \bar{v}&=\sqrt{\frac{1}{T}\int_Tv(\tau)\,d\tau} \end{align*}$$

then this AC RMS version would give:

$$ \begin{align*} \E{V}{RMS, AC}&=\sqrt{\frac{1}{T}\int_T\left(v(\tau)-\bar{v}\right)^2\,d\tau} \end{align*}$$

Also,

$$ \begin{align*} \E{V}{RMS}^2&=\E{V}{RMS, AC}^2+\bar{v}^2 \end{align*}$$

Among other things, this means that $$\E{V}{RMS}$$ and $$\E{V}{RMS, AC}$$ are the same for signals with an average value of 0.

It is important to note which version of the above various measurement devices calculate! For time-varying signals, multimeters set to DCV mode will report $$\bar{v}$$ and set to ACV mode will report $$\E{V}{RMS, AC}$$. From those two, you can determine $$\E{V}{RMS}$$ if you need it. The oscilloscopes in ECE 110 can be set to report AC RMS which will give $$\E{V}{RMS, AC}$$ or they can be set to report what they call DC RMS which will give $$\E{V}{RMS}$$. They can also be set to report the average, $$\bar{v}$$.

Examples

Single Frequency Sinusoid

A signal $$v=A\,\cos(\omega t+\phi)$$ is a periodic signal with an amplitude $$A$$, angular frequency $$\omega$$, and phase $$\phi$$. In addition to reporting the magnitude, you can find the "peak to peak" value of the signal by taking the difference between the maximum and minimum values; in this case, that is $$2A$$. The average value of this signal would be $$\bar{v}=0$$. The RMS value (which is the same as the AC RMS since the average is 0) would be:

$$\begin{align*} \E{V}{RMS}&=\sqrt{\frac{1}{T}\int_T\left(A\, \cos(\omega \tau+\phi)\right)^2\,d\tau}\\ ~&=\sqrt{\frac{1}{T}\int_T\left(A^2\, \cos^2(\omega \tau+\phi)\right)\,d\tau}\\ ~&=\sqrt{\frac{1}{T}\int_T\left(A^2\, \frac{1+\cos(2(\omega \tau+\phi))}{2}\right)\,d\tau}\end{align*}$$

Since the cosine term is now being integrated over two complete periods, that integral will be 0. The integral of a constant over a period, divided by that period, is simply that constant so an $$A^2/2$$ pops out and then you take the square root. This yields:

$$\begin{align*}\E{V}{RMS}&=\frac{A}{\sqrt{2}}=\frac{A\sqrt{2}}{2}=\E{V}{RMS, AC} \end{align*}$$

For a single frequency sinusoid, the oscilloscope's DC RMS measurement would give $$A/\sqrt{2}$$. The oscilloscope's AC RMS and the multimeter's ACV measurement would give $$A/\sqrt{2}$$. The oscilloscope's average value and the multimeter's DCV measurement would give $$0$$.

Shifted Single Frequency Sinusoid

A signal $$v=A\,\cos(\omega t+\phi) + B$$ is a periodic signal with an amplitude about its average of $$A$$, angular frequency $$\omega$$, and phase $$\phi$$. The "peak to peak" value is still the difference between the maximum and minimum values, $$2A$$. The average value of this signal would be $$\bar{v}=B$$. The RMS value would be:

$$\begin{align*} \E{V}{RMS}&=\sqrt{\frac{1}{T}\int_T\left(A\, \cos(\omega \tau+\phi)+ B\right)^2\,d\tau}\\ ~&=\sqrt{\frac{1}{T}\int_T\left(A^2\, \cos^2(\omega \tau+\phi) + 2AB\cos(\omega \tau+\phi) + B^2\right)\,d\tau}\\ ~&=\sqrt{\frac{1}{T}\int_T\left(A^2\, \frac{1+\cos(2(\omega \tau+\phi))}{2}+ 2AB\cos(\omega \tau+\phi) + B^2\right)\,d\tau} \end{align*}$$

The cosine terms are still being integrated over an integer number of complete periods, so those parts integrate to 0. This yields:

$$\begin{align*}\E{V}{RMS}&=\sqrt{\frac{1}{T}\int_T\left(\frac{A^2}{2} + B^2\right)\,d\tau}=\sqrt{\frac{A^2}{2}+B^2}\\ \E{V}{RMS}^2&=\frac{A^2}{2}+B^2=\E{V}{RMS, AC}^2+\bar{v}^2 \end{align*}$$

For a shifted single frequency sinusoid, the oscilloscope's DC RMS measurement would give $$\sqrt{\frac{A^2}{2}+B^2}$$. The oscilloscope's AC RMS and the multimeter's ACV measurement would give $$A/\sqrt{2}$$. The oscilloscope's average value and the multimeter's DCV measurement would give $$B$$.