This is a puzzling behavior for sure.When I shorted it, voltage at the - input would be 16V, surely higher than anything possible at the + input, and the heater would run. When I left it open, the - input would be at ground, surely less than the voltage at the + input. The heater should stop, but it's still running.
Actually this behavior is what I would expect with the LM339 out of the circuit. Notice that when the LM339 is removed the 10K pullup resistor turns on the MOSFET. That engages the two relays which I assume turns the heater on.If I pull the LM339 out of it's socket, the heater should stop, but it continues to run. That leads me to believe that the LM339 isn't the problem.
It is required by the LM339 because its output transistor has no internal pullup mechanism of its own.Okay- maybe now I should look at the pull up resistor. I still haven't figured out why it's needed- what does it do? I know it is needed, because in the first iteration of this project, it wasn't there and I got nothing. It looked like it would turn on the MOSFET regardless of the state of the comparator. It didn't, so I just went with that. Since I don't know exactly why it's there, it's difficult to reason out what-if any- change is needed
Greg, remember that I didn't say that you definitely needed that resistor. The more I think of your problem description the more I lean toward a cold solder joint somewhere. After correcting the D1 problem I would recommend bench testing again and doing some component tapping and wiggling. There is nothing in your circuit that sees a lot of heat except the Thermistor. So it's doubtful that it's a temperature issue.I'll pull the board this afternoon and add a 100k resistor from gate to gnd .
When an inductive circuit is broken the collapsing magnetic field induces a voltage of opposite polarity. This voltage can be many times higher than the supply voltage. It's how a spark coil works (sort of). Since D1 will start to conduct @ ~ 600mV to 700mV. This will prevent this reverse voltage (Back EMF) from exceeding 700mV.I'm still trying to work out how the diode across the relays provide protection for the semiconductors. The field in the relays is formed when electrons move from - to +. When it collapses, wouldn't they be forced (against their will) to flow back toward +? That was my thinking in placing it between the drain and the relays.
by Jake Hertz
by Jake Hertz
by Duane Benson