I have built a simple PWM drive with a 555 and an op amp. The op amp drives a trans which drives a mosfet. However the mosfet seems to be latching.
The mosfet is conducting, with no gate signal present, a test bulb lights brightly. When I apply the PWM to the gate the bulb dims as it should. I'm using an IRF 530.
I simplified the circuit just driving straight from a 555, again it works fine until the gate signal is removed when it lights the bulb brightly again. PS is a 12V batt.
I put a 91 ohm resistor in the gate line and a 100 microF cap across the power supply, but it made no difference.
Can someone help me fix the problem?
View attachment 37843
The mosfet is conducting, with no gate signal present, a test bulb lights brightly. When I apply the PWM to the gate the bulb dims as it should. I'm using an IRF 530.
I simplified the circuit just driving straight from a 555, again it works fine until the gate signal is removed when it lights the bulb brightly again. PS is a 12V batt.
I put a 91 ohm resistor in the gate line and a 100 microF cap across the power supply, but it made no difference.
Can someone help me fix the problem?
View attachment 37843