Solving Op Amp Confusion with PWM Circuit

Click For Summary
The discussion centers on a PWM circuit using four op-amps, where the user is confused about the square wave not aligning with the x-axis. The circuit includes a Schmitt trigger for square wave generation, an integrator for triangle wave creation, a comparator for PWM signal output, and an isolator for the load. It is noted that the op-amp design limits the output range, preventing it from reaching the supply rails. Suggestions include using rail-to-rail op-amps or adding a FET buffer stage to address the floating waveform issue. The conversation highlights the importance of understanding op-amp output characteristics in PWM applications.
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

  • pwm circuit.jpg
    pwm circuit.jpg
    47.9 KB · Views: 436
  • sq wave.png
    sq wave.png
    14.2 KB · Views: 485
Engineering news on Phys.org
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.
 
thanks for the help guys.
 
Thread 'I thought it was only Amazon that sold unsafe junk'
I grabbed an under cabinet LED light today at a big box store. Nothing special. 18 inches in length and made to plug several lights together. Here is a pic of the power cord: The drawing on the box led me to believe that it would accept a standard IEC cord which surprised me. But it's a variation of it. I didn't try it, but I would assume you could plug a standard IEC cord into this and have a double male cord AKA suicide cord. And to boot, it's likely going to reverse the hot and...

Similar threads

Replies
9
Views
7K
  • · Replies 6 ·
Replies
6
Views
5K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 9 ·
Replies
9
Views
5K
  • · Replies 31 ·
2
Replies
31
Views
5K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 5 ·
Replies
5
Views
5K
Replies
21
Views
3K
  • · Replies 5 ·
Replies
5
Views
3K