I am designing a circuit for driving a DC motor, and want to include overload protection, for that I found that detecting desaturation is a good option to detect high current flow.
I sketched the above circuit and it works in the simulation, but I learned the hard way that this doesn't mean it will work in real life. So, my questions are:
- What kind of diode I should use for D1. I understand that it should be fast and rated for a high enough voltage. Is the UF4007 a good choice or is there a catch (maybe something related to it's capacitance?) I don't see yet?
- How would I go about using that Desat signal for actually turning everything off? As soon as I turn the circuit off, the comparator's output is going low, so I can't simply attach it to the driver's (IRS2104) enable line. Sending that for the microcontroller to make a decision using code is a difficult choice, because since I'm using optocouplers (6n135), the time to go back and forth with that information is dangerously close to the rated 5us short circuit capability of the transistor.