EveryCircuit
Contact
Reviews
Home
yobob2000
modified 9 years ago

Sine PWM generator

2
2
297
03:48:55
The two op-amp in the upper left corner are responsible for generating a triangle waveform. It is then fed in the thirs op-amp with all the diodes, it then generates a pseudo-sine wave (a simple way to obtain something very close to a sine wave with the exponential curves of the diodes. An other triangle wave generator with two op-amps is in the lower left corner, but generating a much higher frequency, which is going to be the carrier wave. A cap is used to keep the AC wave only, since the triangle wave is always shifted up or down a bit. Finaly both the sine wave ang the triangle carrier are fed to a simple comparator to optain the PWM wave.
published 9 years ago
hurz
9 years ago
With 2ms/s simspeed you have subsampling. At 50us/s its much better.
yobob2000
9 years ago
True, didnt noticed it!

EveryCircuit is an easy to use, highly interactive circuit simulator and schematic capture tool. Real-time circuit simulation, interactivity, and dynamic visualization make it a must have application for professionals and academia. EveryCircuit user community has collaboratively created the largest searchable library of circuit designs. EveryCircuit app runs online in popular browsers and on mobile phones and tablets, enabling you to capture design ideas and learn electronics on the go.

Copyright © 2025 by MuseMaze, Inc.     Terms of use     Privacy policy