This PWM slot car motor controller with adjustable brake works well at low frequency (apx 470 hz) using an Op amp with its push pull output. But I want to up the frequency to 20khz and learn how to use the 339 comparator. The attached diagram is my testing set up. The 339 is running at 28khz for now.
I am having trouble figuring out a gate drive circuit.
I have been experimenting with the MCP14A0453/4/5 ( https://www.mouser.com/datasheet/2/268/20005985A-1365832.pdf) I have the inverting version and I have inverted my set up.
It works but the chip blows for reasons I don't understand.
I am pulling the 339 output up to the Supply rail less 2 diode drops. And I am seeing a good volt negative on the wave form at the driver chip inputs. the data sheet says the inputs can be rail to rail and .3v beyond. I thought I might be exceeding that so I reduced the pull up by a simple means.
(The diagram doesn't show the 2 diodes)
The reason I am pulling the 339 so high is that it has to exceed the brake control voltage which is the top of the tri wave. Perhaps I should reduce that pull up voltage further there is still room to go down and still be above the max brake control voltage.
I'm strictly a hack trying to learn something. So I cannot necessarily give better information here. I am hoping someone can point me in the right direction based on the diagram. Like a better gate driver chip. Or help me understand the ins and outs of the MCP1405.
Also like should there be a pull up on the P Gate and a Pull down on the Ngate. currently I am experimenting with those in place.
The PFET total gate charge is 240nC
the NFET has total gate charge is 65nC
Most gate drivers I am finding are for boosting the high side gate and using NFETS for both high and low.
I have tried those too with no luck so I just want to find simple gate driver that will do this.
All comments and suggestions are welcome.
I am having trouble figuring out a gate drive circuit.
I have been experimenting with the MCP14A0453/4/5 ( https://www.mouser.com/datasheet/2/268/20005985A-1365832.pdf) I have the inverting version and I have inverted my set up.
It works but the chip blows for reasons I don't understand.
I am pulling the 339 output up to the Supply rail less 2 diode drops. And I am seeing a good volt negative on the wave form at the driver chip inputs. the data sheet says the inputs can be rail to rail and .3v beyond. I thought I might be exceeding that so I reduced the pull up by a simple means.
(The diagram doesn't show the 2 diodes)
The reason I am pulling the 339 so high is that it has to exceed the brake control voltage which is the top of the tri wave. Perhaps I should reduce that pull up voltage further there is still room to go down and still be above the max brake control voltage.
I'm strictly a hack trying to learn something. So I cannot necessarily give better information here. I am hoping someone can point me in the right direction based on the diagram. Like a better gate driver chip. Or help me understand the ins and outs of the MCP1405.
Also like should there be a pull up on the P Gate and a Pull down on the Ngate. currently I am experimenting with those in place.
The PFET total gate charge is 240nC
the NFET has total gate charge is 65nC
Most gate drivers I am finding are for boosting the high side gate and using NFETS for both high and low.
I have tried those too with no luck so I just want to find simple gate driver that will do this.

All comments and suggestions are welcome.