How do I calculate the RMS and average voltage of a sine wave with a DC offset?

In summary: Asin(((2*pi)/35)t)?No, you are integrating the function over the entire period. You'll need to find the average and RMS to find form factor.
  • #1
D44
70
0
I have to calculate the RMS and average voltage of a sine wave with a DC offset.

I have a peak to peak voltage of 11V and an offset which is -6V.

I have the average voltage as -6V and RMS voltage as 7.15V. I calculated the RMS as follows:

AC Vrms = 5.5/sqrt(2) = 3.89V

Vrms = sqrt(3.89^2 + 6^2) = 7.15V

Does this look correct?
 
Physics news on Phys.org
  • #2
Check your AC Vrms calculation. [itex] \frac{11}{2}\sqrt{2} \neq \frac{5.5}{\sqrt{2}} [/itex]

EDIT: Oops. D44's result is correct. See below.
 
Last edited:
  • #3
I thought RMS of a sine wave was Vpeak/sqrt(2)?
 
  • #4
D44 said:
I thought RMS of a sine wave was Vpeak/sqrt(2)?

My apologies. You are correct. I blame it on lack of coffee :smile:

You're result is fine.
 
  • #5
I've accidently just clicked on report instead of new reply, so whoever runs this site will wonder why I'm talking about voltages. Sorry about that :/

No problem. Coffee time for me too I think :) So the results look ok? How is it that I get a positive RMS? The way I see the wave is that the average is -6V, it reaches a peak of -6+5.5 = -0.5V and has a minimum of -6-5.5 = -11.5V. How is it that the RMS could be 7.15V?
 
  • #6
RMS is always positive. It represents the DC equivalent for power delivered.

RMS of a function is calculated as the square root of the mean of the square of the function (hence R M S). Your voltage function can be written as:

[itex] f(\theta) = \frac{V_{pp}}{2}sin(\theta) - 6 [/itex]

and the RMS value:

[itex] V_{rms} = \sqrt{\frac{1}{2 \pi} \int_0^{2 \pi} f(\theta)^2 d\theta} [/itex]

If you perform the integration you should obtain the same, positive value as you did before. Squaring the function ensures that the result must be a positive value.
 
  • #7
Thanks, that's great!

Can I also ask...

For the half rectified wave I spoke about the other day, again if I was wanting to integrate, given peak current as 11A, Tpulse as 0.02s and Tperiod as 0.035s, I'm thinking that my function would be 5.5sin(50*pi*t). So I integrate this with respect to t? Between the limits of 0 and 0.02? Then divide by 0.035?
 
  • #8
D44 said:
Thanks, that's great!

Can I also ask...

For the half rectified wave I spoke about the other day, again if I was wanting to integrate, given peak current as 11A, Tpulse as 0.02s and Tperiod as 0.035s, I'm thinking that my function would be 5.5sin(50*pi*t). So I integrate this with respect to t? Between the limits of 0 and 0.02? Then divide by 0.035?

That function also had offsets that you'd need to calculate first and apply. If you specify all the times in milliseconds then you'd have something like:

[itex] f(t) = A sin(\frac{2 \pi}{35} t - \phi) + Vo [/itex]

Where [itex] \phi [/itex] is an angular offset for the sine function, and Vo the voltage offset that shifts the base of the pulse up to the 0V level.

attachment.php?attachmentid=42988&stc=1&d=1327252251.gif


[itex] \phi [/itex] can be obtained directly from the Δt value in the above figure. The offset voltage, Vo, requires a bit more work: Note that A + Vo = 11, and Vo = Asin([itex] \phi [/itex]).
 

Attachments

  • Fig1.gif
    Fig1.gif
    15.4 KB · Views: 5,405
  • #9
This is the image of the waveform that I have. So I need to find the average and RMS in order to find form factor.
 

Attachments

  • 2.JPG
    2.JPG
    6.7 KB · Views: 980
  • #10
D44 said:
This is the image of the waveform that I have. So I need to find the average and RMS in order to find form factor.

Yes. It corresponds to the image that I posted above if you 'chop' the wave off along the horizontal zero line (time axis as shown).
 
  • #11
But if the 2 portions of a single period aren't identical, how does this effect the function? That's what's stopping me getting round to the integration part
 

Attachments

  • 3.JPG
    3.JPG
    9.6 KB · Views: 876
  • #12
D44 said:
But if the 2 portions of a single period aren't identical, how does this effect the function? That's what's stopping me getting round to the integration part

The function does not have to be symmetrical within its period, it only has to be identical from period to period.

If you write the expression for the full, untruncated-at-zero function, then integrate over only the sections that are greater than zero, then you'll be okay. For the graph that I posted above, that function is:

[itex] f(t) = A sin(\frac{2 \pi}{35} t - \phi) + Vo [/itex]

And the integration bounds would go from 0 to 22 (milliseconds) to include just the pulse.
 
  • #13
I'm struggling with this. The 2nd pic I put up is the unaltered version of the wave.

In this case, phi would be 0 and Vo would be 0? So I'm just integrating Asin(((2*pi)/35)t)?
 
  • #14
D44 said:
I'm struggling with this. The 2nd pic I put up is the unaltered version of the wave.

In this case, phi would be 0 and Vo would be 0? So I'm just integrating Asin(((2*pi)/35)t)?

If you approximate the pulse with a half cycle of a true sinewave then you would have

[itex] f(t) = 11 sin(\frac{2 \pi}{2 \times 22}t) ~~~~~ 0 \leq t \leq 22 [/itex]

But this will be an approximation only, one that gets worse as the offset voltage gets larger. This is because while the half-sinewave is everywhere concave from below, a full sinewave alternates from concave to convex in shape at its zero crossings. So the function of a pulse created by rectifying an offset sinewave is not the same thing as stretching a half a sinewave to the same amplitude.
 

What is a sine wave with dc offset?

A sine wave with dc offset is a type of electrical signal that combines a sinusoidal waveform with a constant voltage level. This results in a waveform that oscillates around a specific voltage level, rather than starting at zero like a traditional sine wave.

How is a sine wave with dc offset used?

Sine waves with dc offset are commonly used in audio and radio frequency (RF) applications. They can be used to generate sound signals in musical instruments and audio equipment, as well as modulate radio signals in communication systems.

What is the difference between a sine wave with dc offset and a traditional sine wave?

The main difference between a sine wave with dc offset and a traditional sine wave is the starting point of the waveform. A traditional sine wave starts at zero and oscillates between positive and negative values, while a sine wave with dc offset starts at a constant voltage level and oscillates around it.

How is a sine wave with dc offset generated?

A sine wave with dc offset can be generated using electronic circuits such as op-amps or function generators. These circuits can be configured to produce a sine wave with a constant voltage level added to it, resulting in a waveform with a dc offset.

What are the advantages of using a sine wave with dc offset?

There are several advantages to using a sine wave with dc offset, including the ability to produce complex waveforms by combining multiple sine waves with different dc offsets. They also provide a more stable and consistent signal compared to traditional sine waves, which can be useful in certain applications.

Similar threads

  • Engineering and Comp Sci Homework Help
Replies
8
Views
4K
  • Engineering and Comp Sci Homework Help
Replies
2
Views
2K
  • Engineering and Comp Sci Homework Help
Replies
3
Views
2K
  • Engineering and Comp Sci Homework Help
Replies
18
Views
4K
  • Engineering and Comp Sci Homework Help
Replies
6
Views
2K
  • Engineering and Comp Sci Homework Help
Replies
1
Views
985
Replies
2
Views
1K
  • Electrical Engineering
Replies
10
Views
2K
  • Engineering and Comp Sci Homework Help
Replies
3
Views
3K
  • Engineering and Comp Sci Homework Help
Replies
14
Views
2K
Back
Top