Hi T_guttata,
I am wondering why to take so much trouble to use a photovoltaic coupler just to drive the NMOS high side switch.
If you really need a NMOS part for the high side switch it will be much easier to use a smart high side switch that takes care of the problem we have discussed about.
Please take a look at ITS4140N.
This is Smart High-Side Power Switch that allows direct logic interface and also have several protection mechanism built-in. No need to worry about the gate voltage for the NMOS at all.
That's a decent suggestion. I doubt the ITS4140N is suitable. It has an on resistance of 1Ω, whereas the MOSFET has an R
ON of 6.5mΩ. A big problem is availability.
Nice :-) There are nice logic level MOSFEts from Nexperia, for example: BUK9Y6R5-40H
I might order some to test the switching behaviour.
For which current do I have to set the limiting resistor at the input? In the datasheet it says: typical LED operate current 0.85mA, maximum 3mA. Absolute maximum rating LED forward current: 50mA.
Which opto-coupler are you talking about?
The higher the LED current, the higher the output current and the faster it will turn the MOSFET on. The output voltage is weakly affected by the LED current, whice has to increase exponentially, for the open circuit voltage to increase linearly.
The turn off time is independent of the LED current. If there's a turn off circuit, it will be faster, that a basic pull-down resistor. I had a play in LTSpice. The opto-coupler is modelled as a behavioural current source, with the current set to 1/714 of the emitter current, mating 14µA out, with 10ma in given on the APV1121SX datasheet and there are a load of diodes in series to limit the open circuit voltage.
Q1 and D1 form the fast turn-off circuit. If they're removed, the MOSFET takes more than one cycle to turn off.