I have designed the this high side drive, it's meant to dive a load attached to a battery
To turn it on I just leave the charge pump on and to turn it off I turn the charge pump off and use the optocouplers to quickly drain the flying capacitor. Needless to say, I don't have must experience with this sort of things.
Anyhow, when the gate of the high-side mosfet is at 12V (same as the batter and drain) for whatever reason the mosfet conducts? Why? I have attached a graph. I don't see how this is possible, the body diode is facing the other way so I don't know what it could be? Simulation error?
Plus, is this a good cheap high side drive?
By the way, the graph shows the voltage at the gate of the mosfet and the current through the 1 ohm resistor.
Thank you for your kind help and suggestions.