Circuit to switch a coil on the highside, with a N-mosfet (15 gate voltage like IRFP460, adjust boostconverter voltage for different gate voltages. or leave boost converter out, and power vcc2 and gnd2 with isolated battery to get the right voltage for the gate).
Designed to switch really fast, for use in the 20 to 120 kHz range (higher and lower also possible)
A simple demonstration of a high side
power switch using an P channel MOSFET.
In this example the MOSFET is being
used to drive a resistive load with
some parallel capacitance.
Note how the capacitor is discharged
through the MOSFET body diode as VDD
Just press CTRL+R to run the simulation.
The Diodes Inc. DMP4015SK3 spice
subckt model is in the EasyEDA library....