* SPICE netlist
Rfus N002 N001 .2 tol=1 pwr=0.1
D1 N003 N004 MURS320
D2 0 N003 MURS320
D3 0 N007 MURS320
D4 N007 N004 MURS320
L1 N002 N009 1H Rser=1
L2 N003 N007 5m Rser=.01
V1 N001 N009 SINE(0 311 50)
Raisla 0 N009 1e8 tol=1 pwr=0.1
Dz12 N010 N004 BZX84C12L
D1Amp N004 N005 MURS120
R1 N010 0 10k
R2 N011 N010 10k tol=1 pwr=0.1
Q1 N006 N011 0 0 2N4401
C1 N005 0 22 V=35 Irms=160m Rser=0.75 MTBF=2000 Lser=0 mfg="Nichicon" pn="UPL1V220MAH" type="Al electrolytic" ppPkg=1
R3 N005 N006 4k7
Dz12b N008 N006 BZX84C12L
M1 N004 N006 N008 N008 HAT2165H
D1a N008 Out MURS120
C2 Out 0 10m V=16 Irms=1.41 Rser=0.047 MTBF=5000 Lser=0 mfg="Nichicon" pn="UPL1C102MPH" type="Al electrolytic" ppPkg=1
RLoad Out 0 100
K L1 L2 1
.tran 1

* LTspice schematic (.asc)
Version 4
SHEET 1 1088 336
WIRE -496 -152 -544 -152
WIRE -368 -152 -416 -152
WIRE -240 -152 -288 -152
WIRE -224 -152 -240 -152
WIRE -112 -152 -160 -152
WIRE -32 -152 -112 -152
WIRE 320 -152 -32 -152
WIRE -368 -120 -368 -152
WIRE -288 -120 -288 -152
WIRE -32 -120 -32 -152
WIRE -16 -120 -32 -120
WIRE 64 -120 48 -120
WIRE 176 -120 64 -120
WIRE -544 -104 -544 -152
WIRE -240 -104 -240 -152
WIRE -224 -104 -240 -104
WIRE -144 -104 -160 -104
WIRE 64 -104 64 -120
WIRE 272 -72 224 -72
WIRE -224 -56 -240 -56
WIRE -144 -56 -144 -104
WIRE -144 -56 -160 -56
WIRE -32 -56 -32 -120
WIRE 64 -24 64 -40
WIRE 176 -24 176 -40
WIRE 224 -24 224 -72
WIRE 224 -24 176 -24
WIRE 240 -24 224 -24
WIRE 320 -24 320 -56
WIRE 320 -24 304 -24
WIRE 352 -24 320 -24
WIRE 464 -24 416 -24
WIRE 512 -24 464 -24
WIRE 544 -24 512 -24
WIRE -544 8 -544 -24
WIRE -464 8 -544 8
WIRE -368 8 -368 -40
WIRE -368 8 -464 8
WIRE -288 8 -288 -40
WIRE -240 8 -240 -56
WIRE -240 8 -288 8
WIRE -224 8 -240 8
WIRE -112 8 -112 -152
WIRE -112 8 -160 8
WIRE -32 24 -32 8
WIRE 0 24 -32 24
WIRE 112 24 80 24
WIRE 464 24 464 -24
WIRE 544 24 544 -24
WIRE -32 40 -32 24
WIRE -464 56 -464 8
WIRE -384 56 -464 56
WIRE -144 56 -144 -56
WIRE -144 56 -304 56
WIRE -144 136 -144 56
WIRE -32 136 -32 120
WIRE -32 136 -144 136
WIRE 176 136 176 72
WIRE 176 136 -32 136
WIRE 464 136 464 88
WIRE 464 136 176 136
WIRE 544 136 544 104
WIRE 544 136 464 136
WIRE -144 168 -144 136
FLAG -144 168 0
FLAG 64 -24 0
FLAG 512 -24 Out
SYMBOL res -400 -168 R90
SYMATTR InstName Rfus
SYMATTR Value .2
SYMATTR SpiceLine tol=1 pwr=0.1
SYMBOL diode -224 -136 R270
SYMATTR InstName D1
SYMATTR Value MURS320
SYMBOL diode -160 -88 M270
SYMATTR InstName D2
SYMATTR Value MURS320
SYMBOL diode -160 -40 M270
SYMATTR InstName D3
SYMATTR Value MURS320
SYMBOL diode -224 24 R270
SYMATTR InstName D4
SYMATTR Value MURS320
SYMBOL ind2 -384 -136 R0
SYMATTR InstName L1
SYMATTR Value 1H
SYMATTR SpiceLine Rser=1
SYMBOL ind2 -272 -136 M0
SYMATTR InstName L2
SYMATTR Value 5m
SYMATTR SpiceLine Rser=.01
SYMBOL voltage -544 -120 R0
SYMATTR Value SINE(0 311 50)
SYMATTR InstName V1
SYMBOL res -288 40 R90
SYMATTR InstName Raisla
SYMATTR Value 1e8
SYMATTR SpiceLine tol=1 pwr=0.1
SYMBOL zener -16 8 R180
SYMATTR InstName Dz12
SYMATTR Value BZX84C12L
SYMBOL diode -16 -104 R270
SYMATTR InstName D1Amp
SYMATTR Value MURS120
SYMBOL res -48 24 R0
SYMATTR InstName R1
SYMATTR Value 10k
SYMBOL res 96 8 R90
SYMATTR InstName R2
SYMATTR Value 10k
SYMATTR SpiceLine tol=1 pwr=0.1
SYMBOL npn2 112 -24 R0
SYMATTR InstName Q1
SYMATTR Value 2N4401
SYMBOL polcap 48 -104 R0
SYMATTR Value 22u
SYMATTR InstName C1
SYMATTR Description Capacitor
SYMATTR Type cap
SYMATTR SpiceLine V=35 Irms=160m Rser=0.75 MTBF=2000 Lser=0 mfg="Nichicon" pn="UPL1V220MAH" type="Al electrolytic" ppPkg=1
SYMBOL res 160 -136 R0
SYMATTR InstName R3
SYMATTR Value 4k7
SYMBOL zener 304 -40 R90
SYMATTR InstName Dz12b
SYMATTR Value BZX84C12L
SYMBOL nmos 272 -152 R0
SYMATTR InstName M1
SYMATTR Value HAT2165H
SYMBOL diode 352 -8 R270
SYMATTR InstName D1a
SYMATTR Value MURS120
SYMBOL polcap 448 24 R0
SYMATTR InstName C2
SYMATTR Value 10m
SYMATTR Description Capacitor
SYMATTR Type cap
SYMATTR SpiceLine V=16 Irms=1.41 Rser=0.047 MTBF=5000 Lser=0 mfg="Nichicon" pn="UPL1C102MPH" type="Al electrolytic" ppPkg=1
SYMBOL res 528 8 R0
SYMATTR InstName RLoad
SYMATTR Value 100