* SPICE netlist
V1 Vc N010 SINE(0 30.5 50 0 0 0)
D1 N005 N001 MBR745
D2 0 N005 MBR745
D3 N009 N001 MBR745
D4 0 N009 MBR745
L1 Vc N004 50m
V2 Vb N010 SINE(0 30.5 50 0 0 240)
V3 Va N010 SINE(0 30.5 50 0 0 120)
D5 N007 N001 MBR745
D6 0 N007 MBR745
L2 Va N006 50m
L3 Vb N008 50m
R1 N007 N006 1
R2 N005 N004 1
R3 N009 N008 1
C1 N001 0 10m
D7 0 N003 1N914
L4 N003 Vout 10m
C2 Vout 0 20n
R5 Vout 0 30
V4 N002 0 PULSE(0 50 0 1e-5 1e-5 4e-3 10e-3 100)
M1 N001 N002 N003 N003 IRF1312S
.tran 0 1 0 100

* LTspice schematic (.asc)
Version 4
SHEET 1 3072 752
WIRE -512 -376 -816 -376
WIRE -256 -376 -512 -376
WIRE -48 -376 -256 -376
WIRE 496 -376 -48 -376
WIRE 448 -296 272 -296
WIRE 752 -280 496 -280
WIRE 976 -280 752 -280
WIRE 1248 -280 1056 -280
WIRE 1536 -280 1248 -280
WIRE 272 -264 272 -296
WIRE -816 -232 -816 -376
WIRE -512 -232 -512 -376
WIRE -256 -232 -256 -376
WIRE 752 -216 752 -280
WIRE 1248 -216 1248 -280
WIRE 1536 -216 1536 -280
WIRE -1088 -136 -1152 -136
WIRE -944 -136 -1008 -136
WIRE -816 -136 -816 -168
WIRE -816 -136 -864 -136
WIRE -1440 -88 -1536 -88
WIRE -1296 -88 -1360 -88
WIRE -256 -88 -256 -168
WIRE -256 -88 -1216 -88
WIRE -48 -88 -48 -376
WIRE -1088 -56 -1328 -56
WIRE -944 -56 -1008 -56
WIRE -512 -56 -512 -168
WIRE -512 -56 -864 -56
WIRE -1328 -40 -1328 -56
WIRE -1536 -24 -1536 -88
WIRE -1152 8 -1152 -136
WIRE -1328 24 -1328 -40
WIRE -1536 104 -1536 -24
WIRE -816 152 -816 -136
WIRE -512 152 -512 -56
WIRE -256 152 -256 -88
WIRE 752 216 752 -152
WIRE 1248 216 1248 -152
WIRE 1248 216 752 216
WIRE 1536 216 1536 -136
WIRE 1536 216 1248 216
WIRE -1536 376 -1536 184
WIRE -1328 376 -1328 104
WIRE -1328 376 -1536 376
WIRE -1152 376 -1152 88
WIRE -1152 376 -1328 376
WIRE -816 376 -816 216
WIRE -512 376 -512 216
WIRE -512 376 -816 376
WIRE -256 376 -256 216
WIRE -256 376 -512 376
WIRE -48 376 -48 -24
WIRE -48 376 -256 376
FLAG -256 376 0
FLAG 1248 216 0
FLAG 272 -184 0
FLAG 1536 -280 Vout
IOPIN 2512 -112 Out
FLAG -1536 -24 Va
IOPIN -560 144 In
FLAG -1328 -40 Vb
IOPIN -352 128 In
FLAG -1152 -136 Vc
IOPIN -176 32 In
SYMBOL voltage -1152 -8 R0
SYMATTR InstName V1
SYMATTR Value SINE(0 30.5 50 0 0 0)
SYMBOL schottky -800 -168 R180
SYMATTR InstName D1
SYMATTR Value MBR745
SYMATTR Description Diode
SYMATTR Type diode
SYMBOL diode -800 216 R180
SYMATTR InstName D2
SYMATTR Value MBR745
SYMBOL diode -496 -168 R180
SYMATTR InstName D3
SYMATTR Value MBR745
SYMBOL diode -496 216 R180
SYMATTR InstName D4
SYMATTR Value MBR745
SYMBOL ind -1104 -120 R270
SYMATTR InstName L1
SYMATTR Value 50m
SYMBOL voltage -1328 8 R0
SYMATTR InstName V2
SYMATTR Value SINE(0 30.5 50 0 0 240)
SYMBOL voltage -1536 88 R0
SYMATTR InstName V3
SYMATTR Value SINE(0 30.5 50 0 0 120)
SYMBOL diode -240 -168 R180
SYMATTR InstName D5
SYMATTR Value MBR745
SYMBOL diode -240 216 R180
SYMATTR InstName D6
SYMATTR Value MBR745
SYMBOL ind -1456 -72 R270
SYMATTR InstName L2
SYMATTR Value 50m
SYMBOL ind -1104 -40 R270
SYMATTR InstName L3
SYMATTR Value 50m
SYMBOL res -1200 -104 R90
SYMATTR InstName R1
SYMATTR Value 1
SYMBOL res -848 -152 R90
SYMATTR InstName R2
SYMATTR Value 1
SYMBOL res -848 -72 R90
SYMATTR InstName R3
SYMATTR Value 1
SYMBOL cap -64 -88 R0
SYMATTR InstName C1
SYMATTR Value 10m
SYMBOL diode 768 -152 R180
SYMATTR InstName D7
SYMATTR Value 1N914
SYMBOL ind 960 -264 R270
SYMATTR InstName L4
SYMATTR Value 10m
SYMBOL cap 1232 -216 R0
SYMATTR InstName C2
SYMATTR Value 20n
SYMBOL res 1520 -232 R0
SYMATTR InstName R5
SYMATTR Value 30
SYMBOL voltage 272 -280 R0
SYMATTR InstName V4
SYMATTR Value PULSE(0 50 0 1e-5 1e-5 4e-3 10e-3 100)
SYMBOL nmos 448 -376 R0
SYMATTR InstName M1
SYMATTR Value IRF1312S