I've made an H-bridge to control the power to a DC motor (24V, drawing about 7amps) using PWM. My h-bridge uses the SFP30N06 mosfets driven by an IR2113 high/low side driver. The PWM signal is generated with a microprocessor.
While testing some code, the h-bridge mosfets blew. The only reason for the short that I can see is that in my code I accidently turned the both sides of the h-bridge on at the same time when changing directions - ie. something like this:
Code used to go in reverse:
and then when changing directions the code executed is:
In other words, for one tiny fraction of a second both the "reverse" and "forward" sides of the h-bridge were both on, causing a short circuit. The 15A fuse I had blew immediately, but so did my mosfets. If my fuse could not break the circuit quick enough to prevent damage, how am I supposed to protect against similar careless mistakes in the future?
While testing some code, the h-bridge mosfets blew. The only reason for the short that I can see is that in my code I accidently turned the both sides of the h-bridge on at the same time when changing directions - ie. something like this:
Code used to go in reverse:
Code:
reverse = 1;
forward = 0;
and then when changing directions the code executed is:
Code:
forward = 1;
reverse = 0;
In other words, for one tiny fraction of a second both the "reverse" and "forward" sides of the h-bridge were both on, causing a short circuit. The 15A fuse I had blew immediately, but so did my mosfets. If my fuse could not break the circuit quick enough to prevent damage, how am I supposed to protect against similar careless mistakes in the future?