If you are satisfied with 3Watt losses….You can use a simulator with real transistors models like LTspice, etc..
It will show you the delay between input pulse (from Mcu) and load current. I prefer the delay to be less than 1/20 of pulse width, but some folks may have no problem with 1/10.
In numbers:
If pulse width is 20us i tolerate a 1us delay.
Also the simulator shows you the mosfet turning off transition, how much switching losses on mosfet you can expect.
Roughly, from my practice with 100 ohms in gate you can go up to 10khz.


hi AK,
Please post your LTSpice asc file.
E
Because my MCU code needs to control high speeds, not always 100kHz, but some code segments require it, for example, when I need a delay of 10us to 50us.hi AK,
Looks OK, there is small difference on the 50/50% period on the output.
How are you planning to use the project.?
E
View attachment 360413
constant currentAt a glance, the main issue is that the push-pull BJTs (Q11/Q10) feeding the MOSFET gate don’t have a clear, well-defined bias path, so the MOSFET gate may float or switch slowly. The zener (D7) can also clamp too high/too low depending on your intended gate voltage, and R19 = 47 k is far too large for fast or reliable gate pull-up.
If you say what function you expect (level-shift? constant current? soft-start?), I can point out the exact fixes.
hi AK.I need it to work at all frequencies. or slow on and off

hi AK,No need for a resistor 100ohm because it's too bulky.
I'm powering the 7-segment LED.hi AK,
What is the purpose/application of this circuit, how will it be used??
E
hi AK,Scanning frequency 500Hz.
if(TScanled >= 2)hi AK,
I am sorry, but I do not understand why you are asking for a 50Hz through 100kHz pulse generator, when you are using a 500Hz scanning frequency.??
E