Version 4.1 SHEET 1 4480 2340 WIRE 1008 -656 848 -656 WIRE 1104 -656 1008 -656 WIRE 848 -576 848 -656 WIRE -96 -560 -304 -560 WIRE -448 -544 -544 -544 WIRE -304 -528 -304 -560 WIRE -544 -512 -544 -544 WIRE 848 -464 848 -496 WIRE 464 -448 208 -448 WIRE 208 -432 208 -448 WIRE -544 -384 -544 -432 WIRE -304 -384 -304 -448 WIRE -304 -384 -544 -384 WIRE -544 -368 -544 -384 WIRE 208 -336 208 -352 WIRE 1104 -336 1104 -656 WIRE 912 -320 816 -320 WIRE 1008 -320 1008 -352 WIRE 1008 -320 992 -320 WIRE 1024 -320 1008 -320 WIRE 816 -256 816 -320 WIRE 1024 -256 1024 -320 WIRE 1056 -256 1024 -256 WIRE -96 -240 -96 -560 WIRE 80 -240 -96 -240 WIRE 464 -240 464 -448 WIRE 480 -240 464 -240 WIRE 624 -224 560 -224 WIRE 768 -224 624 -224 WIRE 464 -208 464 -240 WIRE 1104 -208 1104 -240 WIRE 400 -160 352 -160 WIRE 816 -96 816 -176 WIRE 1104 -96 1104 -128 WIRE 1104 -96 816 -96 WIRE -272 -80 -352 -80 WIRE -256 -80 -272 -80 WIRE 464 -80 464 -112 WIRE 560 -80 560 -224 WIRE 560 -80 464 -80 WIRE -352 -64 -352 -80 WIRE 464 -48 464 -80 WIRE 272 -32 224 -32 WIRE 1104 -32 1104 -96 WIRE 1200 -32 1104 -32 WIRE 1392 -32 1200 -32 WIRE 1520 -32 1472 -32 WIRE 1648 -32 1520 -32 WIRE 1776 -32 1648 -32 WIRE 1856 -32 1776 -32 WIRE 2032 -32 1856 -32 WIRE 272 -16 240 -16 WIRE 368 -16 336 -16 WIRE 368 0 368 -16 WIRE 400 0 368 0 WIRE -256 16 -256 -80 WIRE -240 16 -256 16 WIRE 352 16 352 -160 WIRE 352 16 336 16 WIRE -352 48 -352 16 WIRE 496 48 464 48 WIRE -256 64 -256 16 WIRE -240 64 -240 16 WIRE 1520 64 1520 -32 WIRE 1648 64 1648 -32 WIRE 1776 64 1776 -32 WIRE 2032 64 2032 -32 WIRE -544 80 -640 80 WIRE -288 80 -544 80 WIRE -176 96 -224 96 WIRE 80 96 80 -240 WIRE 112 96 80 96 WIRE -448 112 -448 -544 WIRE -352 112 -448 112 WIRE -288 112 -352 112 WIRE 112 112 80 112 WIRE 224 112 224 -32 WIRE 224 112 176 112 WIRE 1104 128 1104 -32 WIRE -352 144 -352 112 WIRE -352 144 -416 144 WIRE -48 144 -192 144 WIRE 80 144 80 112 WIRE 80 144 48 144 WIRE 208 144 176 144 WIRE 480 144 480 -240 WIRE -272 160 -272 128 WIRE -272 160 -304 160 WIRE -256 160 -256 128 WIRE -256 160 -272 160 WIRE -240 160 -240 128 WIRE -240 160 -256 160 WIRE -192 176 -192 144 WIRE 1648 176 1648 144 WIRE 1648 176 1632 176 WIRE -96 192 -96 -240 WIRE -48 192 -96 192 WIRE 416 192 352 192 WIRE -640 208 -640 80 WIRE 880 208 848 208 WIRE 992 208 992 176 WIRE 992 208 960 208 WIRE 1056 208 992 208 WIRE 208 224 208 144 WIRE 272 224 208 224 WIRE 1648 224 1648 176 WIRE 272 240 256 240 WIRE 368 240 336 240 WIRE 1104 256 1104 224 WIRE -304 272 -304 160 WIRE -256 272 -304 272 WIRE -192 272 -192 256 WIRE -192 272 -256 272 WIRE 352 272 352 192 WIRE 352 272 336 272 WIRE 480 288 480 240 WIRE 624 288 480 288 WIRE 672 288 624 288 WIRE 848 288 848 208 WIRE -256 304 -256 272 WIRE -640 320 -640 288 WIRE 480 336 480 288 WIRE 368 384 368 240 WIRE 416 384 368 384 WIRE 848 400 848 368 WIRE 1104 400 1104 336 WIRE 1104 400 848 400 WIRE 1520 416 1520 128 WIRE 1552 416 1520 416 WIRE 1648 416 1648 288 WIRE 1648 416 1552 416 WIRE 1776 416 1776 144 WIRE 1776 416 1648 416 WIRE 2032 416 2032 144 WIRE 2032 416 1776 416 WIRE 1552 432 1552 416 WIRE 1104 448 1104 400 WIRE 480 464 480 432 WIRE 480 464 432 464 WIRE 496 464 496 48 WIRE 496 464 480 464 WIRE 432 496 432 464 FLAG -416 144 sawtooth FLAG -544 -368 0 FLAG 432 496 0 FLAG 208 -336 0 FLAG 624 288 output_B FLAG 848 -464 0 FLAG 1104 448 0 FLAG 1200 -32 fet_center FLAG 1008 -352 up_gate FLAG 992 176 low_gate FLAG 1552 432 0 FLAG -256 304 0 FLAG -176 96 PWM FLAG -544 80 set_duty FLAG -272 -80 5V FLAG 624 -224 output_A FLAG -640 320 0 FLAG 1856 -32 DC-with_AC_supply FLAG 1632 176 damper FLAG 1008 -656 DC_supply FLAG -352 48 0 SYMBOL Digital\\or 304 -64 R0 WINDOW 39 -8 36 Left 2 SYMATTR SpiceLine Vhigh=10 SYMATTR InstName A1 SYMBOL Digital\\or 304 192 R0 WINDOW 39 -8 36 Left 2 SYMATTR SpiceLine Vhigh=10 SYMATTR InstName A2 SYMBOL Digital\\srflop 0 96 R0 WINDOW 39 -40 28 Left 2 SYMATTR SpiceLine Vhigh=10 SYMATTR InstName A3 SYMBOL voltage -544 -528 R0 WINDOW 123 0 0 Left 0 WINDOW 39 0 0 Left 0 WINDOW 3 -113 122 Left 2 SYMATTR Value PULSE(0 1 0 9.7u 0.1u 0.1u 10u) SYMATTR InstName V1 SYMBOL Digital\\or 144 64 R0 WINDOW 39 -8 36 Left 2 SYMATTR SpiceLine Vhigh=10 SYMATTR InstName A4 SYMBOL voltage -352 -80 R0 SYMATTR InstName V2 SYMATTR Value 5V SYMBOL npn 400 -208 R0 SYMATTR InstName Q1 SYMATTR Value 2N2222 SYMBOL npn 400 -48 R0 SYMATTR InstName Q2 SYMATTR Value 2N2222 SYMBOL npn 416 144 R0 SYMATTR InstName Q3 SYMATTR Value 2N2222 SYMBOL npn 416 336 R0 SYMATTR InstName Q4 SYMATTR Value 2N2222 SYMBOL voltage -304 -544 R0 WINDOW 123 0 0 Left 0 WINDOW 39 0 0 Left 0 WINDOW 3 -57 102 Left 2 SYMATTR Value PULSE(0 5 9.85u 10n 10n 0.1u 10u) SYMATTR InstName V3 SYMBOL voltage 208 -448 R0 SYMATTR InstName V5 SYMATTR Value 10 SYMBOL nmos 1056 -336 R0 SYMATTR InstName M1 SYMATTR Value BSC077N12NS3 SYMBOL nmos 1056 128 R0 SYMATTR InstName M2 SYMATTR Value BSC077N12NS3 SYMBOL bv 816 -272 R0 SYMATTR InstName B3 SYMATTR Value V=V(output_A) SYMBOL bv 848 272 R0 SYMATTR InstName B4 SYMATTR Value V=V(output_B) SYMBOL res 1008 -336 R90 WINDOW 0 0 56 VBottom 2 WINDOW 3 32 56 VTop 2 SYMATTR InstName R5 SYMATTR Value 10R SYMBOL res 976 192 R90 WINDOW 0 0 56 VBottom 2 WINDOW 3 32 56 VTop 2 SYMATTR InstName R6 SYMATTR Value 10R SYMBOL voltage 848 -592 R0 WINDOW 123 0 0 Left 0 WINDOW 39 0 0 Left 0 WINDOW 3 -110 96 Left 2 SYMATTR Value PULSE(0 48 1u 100u 1u 1E8 2E8) SYMATTR InstName V4 SYMBOL ind 1376 -48 M90 WINDOW 0 5 56 VBottom 2 WINDOW 3 32 56 VTop 2 SYMATTR InstName L4 SYMATTR Value 10µ SYMATTR SpiceLine Rser=1m SYMBOL cap 1504 64 R0 SYMATTR InstName C4 SYMATTR Value 10µ SYMBOL res 1760 48 R0 SYMATTR InstName R7 SYMATTR Value 100R SYMBOL res 1088 -224 R0 SYMATTR InstName R_Isense_up SYMATTR Value 1m SYMBOL res 1088 240 R0 SYMATTR InstName R_Isense_down SYMATTR Value 1m SYMBOL Comparators\\LT1719 -256 32 R0 SYMATTR InstName U3 SYMBOL bv -192 160 R0 SYMATTR InstName B1 SYMATTR Value V=2*V(PWM) SYMBOL cap 1632 224 R0 SYMATTR InstName C6 SYMATTR Value 33µ SYMBOL res 1632 48 R0 SYMATTR InstName R14 SYMATTR Value 100R SYMBOL voltage -640 192 R0 WINDOW 123 0 0 Left 0 WINDOW 39 0 0 Left 0 SYMATTR InstName V6 SYMATTR Value SINE(0.5 0.2 1k) SYMBOL res 2016 48 R0 SYMATTR InstName R_Load SYMATTR Value 1R TEXT -504 -664 Left 2 ;oscillator TEXT -2352 448 Left 2 !.tran 0 12m 2m 10n TEXT 656 -296 Left 2 ;gate drive isolation\neg pulse transformer TEXT 672 232 Left 2 ;gate drive isolation\neg pulse transformer TEXT -2488 -944 Left 4 ;click on run\nthen click on the "set_duty" net, to plot its voltage waveform\nclick on the plot window, then click on plot settings/add plot pane.\nclick on the net "fet_center"\nyou can zoom the time in and out to see the waveform detail\nclick on the plot window, then click on plot settings/add plot pane.\nclick on the net "DC-with_AC_supply"\nclick on the plot window, then click on plot settings/add plot pane.\nclick on the component "L4" to plot its current.\nclick on the plot window, then click on plot settings/add plot pane.\nyou may also wish to plot "sawtooth", "output_A", and "output_B" \nto get a fuller understanding of this DC+AC output SMPS. TEXT -2480 -1056 Left 5 ;Instructions, DC+AC output SMPS cct block TEXT -2360 480 Left 2 !.ic V(P4_Css)=0 TEXT -2480 -1600 Left 5 ;neccessary changes to settings to make this simulation run.\nin the upper menu, click on /simulate/settings\nchange Gmin to 1E-9\nchange abstol to 1E-9\nchange chgtol to 1E-11 TEXT -320 -736 Left 4 ;DC+AC SMPS control circuit TEXT -2208 -1720 Left 6 ;AC motor drive type SMPS as an AM modulated power supply for an RF oscillator TEXT -2344 528 Left 2 !.model pwr_diode D(Ron=1m Roff=1Meg Vfwd=.4) TEXT -2352 576 Left 2 !.model Sw_kw1 SW(Ron=.01 Roff=100Meg Vt=4 Vh=-1) TEXT -2512 -264 Left 4 ;We set the duty by comparing the node "set_duty" with the node "sawtooth", \nthe "sawtooth" goes from 0V to 1V, \nwith the node "set_duty" at 0V is 0% duty, at 0.5V is 50% duty, and at 1V is 100% duty.\n \nAs node "DC_supply" is 48V, then with 100% duty the output voltage will be 48V,\nwe use a Dc voltagde of 0.5V on "sawtooth" setting a DC output voltage at 0.5 x 48V = 24V.\nthere is a 0.2V peak 1khz AC superimposed on this 0.5V dc, so a peak of 0.7V, \nand a trough of 0.3V, \ncorresponding to duties of 70% and 30%, and \na peak output voltage of 0.7 x 48V=33.6V\na trough output voltage of 0.3 x 48V=14.4V TEXT -2496 -328 Left 5 ;Circuit description TEXT 120 -992 Left 5 ;DC+AC SMPS circuit TEXT 944 -720 Left 4 ;DC+AC SMPS power circuit TEXT 1592 -216 Left 3 ;This circuit still has some switching \nfreq Voltage ripple on the output.\ndepending on the application more \noutput filtering may be required. RECTANGLE Normal 640 -768 -720 528 2 RECTANGLE Normal 1904 592 -832 -880 2 RECTANGLE Normal 1856 528 736 -768 2