> I did have to substitute the FET as the one on the BOM was unobtanium at the time. the replacement I used was a PMV50UPE
> This was listed as a compatible part, but may explain the difference in behaviour.
Looking at the data sheets to compare the original IRLML6402 with the substitute PMV50UPE,
I first checked the Total Gate Charge (increased from 8nC to 10.5nC, not a big shift),
then the turn-off delay time (increased from 588ns to 2180ns - significant),
and lastly at the drain resistance as a function of Vgs - Bingo!
The original turns off much earlier as Vgs is drained away by R1. The PMV50UPE Vgs needs to drop to under a volt compared to the original at a couple of volts.
MOSFET gates are quite capacitive, and when draining the charge using just a resistor, you get an exponential decay to the knee in the curve where the output turns off, so both the gate capacitance and the knew voltage affect the turn-off time.
Clifford Heath.