Understanding Sine Wave Production with an LC Filter and Inverter PWM Waveform

  • Thread starter Thread starter raikko62
  • Start date Start date
  • Tags Tags
    Filter Sine
AI Thread Summary
A sine wave is produced from a PWM waveform by varying the duty cycle in a sinusoidal manner, typically using a microcontroller to adjust the duty cycle at each PWM period. An LC filter is employed to eliminate the carrier frequency from the PWM signal, where the inductor (L) presents high impedance at the carrier frequency, and the capacitor (C) provides low impedance, effectively attenuating the unwanted frequency components. This process is similar to FM demodulation, where the LC filter acts to smooth the output into a pure sine wave. Additionally, square waves can be shaped into sine waves using tuned filters that reduce harmonic content. Understanding these principles is essential for designing effective sine wave inverters.
raikko62
Messages
3
Reaction score
0
Hi,

Could someone please explain how EXACTLY a sine wave is produced using an LC filter from a PWM waveform generated by an inverter.

Thanks
 
Engineering news on Phys.org
Hi raikko

In order to create a sine wave, the duty cycle of the pwm signal should be varied in a

sinusoidal manner, this can be done using micro controller, and each pwm period an interrupt is

generated, and the duty cycle takes a new value in the interrupt service routine. (Note that

the values that the duty cycle should take are saved in an array; say up to 200 elements).

This will generate a sine wave which has also the carrier frequency part of its harmonic

components, so we put a low pass filter (LC filter) in order to eliminate the switching

frequency.
 
Thanks for the reply.
However what I wanted to know is how the LC filter works in eliminating the carrier frequency of the generated PWM signal.
 
Kind of the same way FM demodulation works on your radio, I would imagine? :wink:
 
hello how is everyone. Could someone kindly send me a link for a pure sinewave imverter circuit/ Thank you
 
Last edited by a moderator:
for an intro to one technique
try a google on

magic sinewave tinaja

However what I wanted to know is how the LC filter works in eliminating the carrier frequency of the generated PWM signal.
the series L is high impedance at carrier frequency so attenuates carrier by voltage divider action
the paralllel C is low impedance at carrier frequency so shunts carrier attenuating it further.

you can also shape a square wave into a pretty decent sinewave with tuned filters that attenuate the harmonics
 
Last edited:
Thank you for your support but I went to the magic sinwave site but I did not see a circuit please help me on this . thank you
 
Last edited by a moderator:
@olivermsun and @jim hardy - Thanks for the answers
 
Back
Top