Hi
at the moment I'm dsigning a pwm circiut for use in a project
My problem is I have an op amp configured as a comparator to output +12v when Vin is greater than Vreference and when Vreference is greater, to output 0v
The problem is that when Vreference is greater the comparator outputs 1v
Anyone have any idea why this is happening?
The first two op amps in the circuit generate the triangular wave, the third op amp is configured as the comparator
the blue line is the reference voltage
the red line is the triangular wave being compared
the green line is the output of the comparator
**broken link removed**
the program I am using it LTspice
at the moment I'm dsigning a pwm circiut for use in a project
My problem is I have an op amp configured as a comparator to output +12v when Vin is greater than Vreference and when Vreference is greater, to output 0v
The problem is that when Vreference is greater the comparator outputs 1v
Anyone have any idea why this is happening?
The first two op amps in the circuit generate the triangular wave, the third op amp is configured as the comparator
the blue line is the reference voltage
the red line is the triangular wave being compared
the green line is the output of the comparator
**broken link removed**
the program I am using it LTspice