Version 4 SHEET 1 880 788 WIRE 96 -352 -368 -352 WIRE 256 -352 176 -352 WIRE -368 -288 -368 -352 WIRE 256 -112 256 -352 WIRE -368 16 -368 -208 WIRE 256 16 256 -32 WIRE 256 16 -368 16 WIRE -368 32 -368 16 WIRE 16 96 -368 96 WIRE 112 96 16 96 WIRE 256 96 192 96 WIRE -208 224 -256 224 WIRE -160 224 -208 224 WIRE -64 224 -80 224 WIRE -208 256 -208 224 WIRE -368 304 -368 96 WIRE 16 304 16 96 WIRE -304 320 -256 224 WIRE -304 320 -320 320 WIRE -64 320 -64 224 WIRE -32 320 -64 320 WIRE -208 368 -208 336 WIRE -208 368 -320 368 WIRE -160 368 -80 224 WIRE -160 368 -208 368 WIRE -80 368 -160 224 WIRE -32 368 -80 368 WIRE 256 416 256 96 WIRE -368 528 -368 384 WIRE 16 544 16 384 WIRE -368 560 -368 528 WIRE -368 736 -368 640 WIRE -208 736 -208 368 WIRE -208 736 -368 736 WIRE 16 736 16 624 WIRE 16 736 -208 736 WIRE 256 736 256 496 WIRE 256 736 16 736 WIRE -368 768 -368 736 FLAG -368 32 0 FLAG -368 -352 Vac1 FLAG -368 768 0 FLAG 16 96 Vac2 FLAG -208 224 Vinvsw FLAG -368 528 Vac2h SYMBOL Misc\\signal -368 -304 R0 WINDOW 123 0 0 Left 2 WINDOW 39 0 0 Left 2 WINDOW 3 35 41 Left 2 SYMATTR InstName V1 SYMATTR Value SINE(0 {MainPeak} 50) SYMBOL Misc\\signal -368 544 R0 WINDOW 3 18 104 Left 2 WINDOW 123 0 0 Left 2 WINDOW 39 0 0 Left 2 SYMATTR Value PULSE(-141 141 0 10n 10n {MainTh} {MainT}) SYMATTR InstName V2 SYMBOL sw -368 400 R180 SYMATTR InstName S1 SYMATTR Value PSSW SYMBOL sw 16 400 M180 SYMATTR InstName S2 SYMATTR Value PSSW SYMBOL Misc\\signal -208 240 R0 WINDOW 3 -134 161 Left 2 WINDOW 123 0 0 Left 2 WINDOW 39 0 0 Left 2 SYMATTR Value PULSE(-1 1 {MainToff/2} 10n 10n {MainTon} {MainTh}) SYMATTR InstName V4 SYMBOL res 240 -128 R0 SYMATTR InstName R1 SYMATTR Value {Rload} SYMBOL res 240 400 R0 SYMATTR InstName R2 SYMATTR Value {Rload} SYMBOL Misc\\signal 80 -352 R270 WINDOW 0 32 56 VTop 2 WINDOW 3 -32 56 VBottom 2 WINDOW 123 0 0 Left 2 WINDOW 39 0 0 Left 2 SYMATTR InstName V5 SYMATTR Value "" SYMBOL Misc\\signal 96 96 R270 WINDOW 0 32 56 VTop 2 WINDOW 3 -32 56 VBottom 2 WINDOW 123 0 0 Left 2 WINDOW 39 0 0 Left 2 SYMATTR InstName V6 SYMATTR Value "" SYMBOL res 0 528 R0 SYMATTR InstName R5 SYMATTR Value 1k TEXT -344 40 Left 2 !.tran 0.2 TEXT -336 760 Left 2 !.model PSSW SW(Ron=10m Roff=100k Vt=0.0 Vh=-0.01) TEXT 48 -296 Left 2 ;Current Monitor TEXT 64 152 Left 2 ;Current Monitor TEXT -360 -192 Left 2 !.params MainRMS=100\n.params MainPeak=MainRMS*SQRT(2) MainFreq=50\n.params Rload=100\n.params Lmot=RLoad/(2*PI*MainFreq)\n.params Cmot=1/(Rload*2*2*PI*MainFreq)\n.params MainT=1/MainFreq\n.params MainTh=MainT/2\n.params MainTon=MainTh/SQRT(2) MainTOff=MainTh-MainTon