Solving Op Amp Confusion with PWM Circuit

3 replies · 2K views · last reply
jafferrox
Messages
25
Reaction score
0
Hi

In the waveform picture i attached, I don't know why the square wave is floating instead of being on the 0 of the x axis. I also attached schematic of the pwm circuit.

By the way, this is a pulse width modulator circuit made of 4 op amps, U2D is a schmitt trigger to generate sqaure wave, U2C is integrator that integrates square and generate triangle wave, U2A is comparator which is used to generate PWM signal and U2B is used to isolate pwm signal from the load that's going to connect to the output.

Thanks in advance
 
Attachments
  • Multisim screenshot of a pulse width modulator schematic built from four TL074CN op amps U2A to U2D, with the oscilloscope XSC1 connected to the output of U2D.
    pwm circuit.jpg
    47.9 KB · Views: 479
  • Oscilloscope screenshot showing an orange square-wave trace alternating between two levels over about six cycles, with a white flat trace near the middle of the screen. Timebase 1 ms/div, Channel A 5 V/div.
    sq wave.png
    14.2 KB · Views: 521
The design of the opamp prevents the output from going all the way to the negative supply or all the way to the positive supply. There are other opamps, often called "rail-to-rail, with which the outputs do go to the positive and negative supplies.
 
You could add a simple 1 or 2 FET buffer stage to cause that signal to hit ground, if that were important.