I designed this MOSFET driver for a 24V motor with parts I have in my junkbox:
The idea is basically Q2 and Q3 make a push-pull driver to drive the MOSFET gate to 0 or 24V. This allows the use of a low value resistor for the gate so it can be charged and discharged very quickly.
Q2 and Q3 bases are held up by R2, or shorted to ground by Q1. This allows the use of a 5V PWM signal to drive the high voltage switch. R4 just keeps the base tied to GND so it's not floating.
Is this a good design for this application?
Are the resistor values reasonable?
I think R3 may be a little larger, maybe up to 100 ohms to prevent destroying the gate, but at the same time, avoid negating the use of a push-pull driver. R2 provides a base current of 2.4mA to the transistors which is within the acceptable (<100mA) base current for BC8x7. The collector current of Q2/Q3 is hard to estimate and depends on the real gate charge of the MOSFET
Finally, R1 provides around 1mA of base current for Q1 which is more than enough for the collector current of 2.4mA