Hobby Electronics Basics RMS voltage of a square wave

Bookmark this page:  YahooMyWeb Yahoo!  Google Google  Windows Live Favorites Windows Live  del.icio.us del.icio.us  digg digg  Add to Netscape Netscape
Subject Author Date
RMS voltage of a square wave panfilero 05-23-08
Posted by panfilero on May 23, 2008, 10:37 am
Please log in for more thread options
I was wondering if I take the RMS voltage of a messy looking square
wave, a noisy square wave, with some measurement device, and I want to
know the regular current of the thing can I take the RMS current and
divide it by the square root of 2 in order to get my regular current?

I know you can do this for sinusoidal ac signals but don't know if the
math still works out the same for other signals...

PS - I got my RMS current value by dividing the RMS voltage value by a
known resistance I have in my circuit

Much Thanks for any responses I get

Posted by Tim Wescott on May 23, 2008, 11:06 am
Please log in for more thread options
On Fri, 23 May 2008 07:37:50 -0700, panfilero wrote:

> I was wondering if I take the RMS voltage of a messy looking square
> wave, a noisy square wave, with some measurement device, and I want to
> know the regular current of the thing can I take the RMS current and
> divide it by the square root of 2 in order to get my regular current?
>
> I know you can do this for sinusoidal ac signals but don't know if the
> math still works out the same for other signals...
>
> PS - I got my RMS current value by dividing the RMS voltage value by a
> known resistance I have in my circuit
>
> Much Thanks for any responses I get

There is no formal definition of "regular current", so if you define it
right, sure.

What do _you_ mean by "regular current"?

With sinusoidal waveforms, the peak quantity is the RMS quantity times
the square root of two. With square waveforms, the peak and RMS
quantities are equal.

--
Tim Wescott
Control systems and communications consulting
http://www.wescottdesign.com

Need to learn how to apply control theory in your embedded system?
"Applied Control Theory for Embedded Systems" by Tim Wescott
Elsevier/Newnes, http://www.wescottdesign.com/actfes/actfes.html

Posted by Bob Eld on May 23, 2008, 12:10 pm
Please log in for more thread options

> I was wondering if I take the RMS voltage of a messy looking square
> wave, a noisy square wave, with some measurement device, and I want to
> know the regular current of the thing can I take the RMS current and
> divide it by the square root of 2 in order to get my regular current?
>
> I know you can do this for sinusoidal ac signals but don't know if the
> math still works out the same for other signals...
>
> PS - I got my RMS current value by dividing the RMS voltage value by a
> known resistance I have in my circuit
>
> Much Thanks for any responses I get


Yes the RMS current is the RMS voltage devided by R.

No, the "regualr curent" What ever that is, is not the RMS current divided
by the square root of two. With a sign wave, the peak current divided by the
the square root of two is the RMS current, but ONLY for a sign wave.

With any other waveform, the the square root of two relation does NOT hold.
It must be calculated from first principles or measured with a true RMS
meter.

The equation for the RMS current is: Irms = ((int i(t)^2 dt )/ T)^1/2
Where i(t) is the current as a function of time, T is the time over which
the integral is taken, ( 0 to T ), usually one period of the wave.

That is, in words, the RMS current is the square root of the average time
integral of the current squared.

For a square wave of current Ip going plus and minus over a period of T the
RMS value is:

Irms =( ( (Ip^2 *T/2 + (-Ip)^2 * T/2)) / T)^1/2 = ( (Ip ^2)/2 +
(Ip^2)/2)^1/2 = (Ip ^2)^1/2

Irms = Ip, The RMS equals the peak value for a square wave. It very much
more complicated if noise is present.



Posted by BobG on May 23, 2008, 2:04 pm
Please log in for more thread options
The RMS of an on and off wave is the average. Try it with 1V and 0V.
Then you have to believe that it also works with 5v and 0v.

Posted by Bob Eld on May 23, 2008, 3:27 pm
Please log in for more thread options

> The RMS of an on and off wave is the average. Try it with 1V and 0V.
> Then you have to believe that it also works with 5v and 0v.

Thats right. In the example I gave the wave was plus and minus, not plus and
zero.



Similar ThreadsPosted
RMS voltage of a square wave May 23, 2008, 10:37 am
Full wave square wave generator from dual led flasher. August 21, 2005, 2:28 am
DC to AC Square wave question January 3, 2008, 10:04 pm
Sine to square wave converter March 24, 2005, 1:19 pm
Harmonic composition of a square wave June 23, 2005, 9:30 pm
Programmable square wave oscillator possible with a PIC?? July 5, 2005, 9:50 am
Help needed designing square wave osc (555) July 9, 2008, 11:12 am
Tuning into an square wave radio transmitter May 26, 2005, 9:01 pm
Re: ethernet card as a square wave generator??? August 14, 2008, 5:22 am
why sine waves in power lines and why not square wave! April 30, 2007, 12:31 am
Effect of Coiled cord on 30KHz Square wave signal?? August 16, 2005, 12:52 pm
convert a negative and positive square wave to be only positive. July 19, 2006, 12:36 pm
Strange voltage readings=Half-Wave Rectifier? September 26, 2006, 2:45 pm
How do you calculate voltage peaks after a tube full-wave rectifier? August 29, 2004, 7:57 pm
square to sine November 4, 2005, 6:36 am