PWM Controller simulation

46 Views
Published
Simulation of a Pulse Width Modulation controller, found at http://web.archive.org/web/20070524202524/http://www.cpemma.co.uk/pwm_erg.html
Uses the circuit simulator at http://www.falstad.com/circuit/
Due to the nature of the applet, the schematic and graphs, but not the rest of the UI, is visible to Fraps.
Netlist: (use File, Import then copy and paste)
$ 1 5.0E-6 19.056626845863 64 5.0 50
a 208 336 288 336 0 12.0 -0.0
a 336 208 416 208 0 12.0 0.0
a 688 240 768 240 0 12.0 0.0
a 528 224 608 224 0 12.0 -0.0
r 160 368 160 432 0 47000.0
r 160 336 160 272 0 47000.0
w 208 320 208 288 0
w 208 288 288 288 0
w 288 288 288 336 0
w 160 336 160 368 0
v 80 368 80 288 0 0 40.0 12.0 0.0 0.0 0.5
w 80 368 80 432 0
w 80 432 160 432 0
w 160 336 208 352 0
w 288 288 288 192 0
w 288 192 336 192 0
r 352 272 416 272 0 22000.0
w 352 272 320 272 0
w 320 272 320 224 0
w 320 224 336 224 0
w 416 272 448 272 0
w 448 272 448 208 0
w 448 208 416 208 0
c 528 160 592 160 0 1.0E-7 -1.917911577011517
r 448 208 528 208 0 47000.0
w 528 208 528 160 0
w 608 224 608 160 0
w 608 160 592 160 0
w 288 336 496 336 0
w 496 336 496 240 0
w 496 240 528 240 0
r 320 304 416 304 0 10000.0
w 320 304 320 272 0
w 416 304 608 304 0
w 608 304 608 224 0
w 80 288 80 256 0
w 80 256 160 256 0
w 160 256 160 272 0
w 688 256 688 336 0
w 688 336 496 336 0
r 688 224 608 224 0 10000.0
r 688 192 768 192 0 20000.0
w 688 192 688 224 0
w 768 192 768 240 0
p 768 240 800 240 0
a 704 480 784 480 1 12.0 -0.0
w 80 256 48 256 0
w 48 256 48 480 0
w 48 480 512 480 0
w 512 480 512 400 0
w 512 400 640 400 0
w 80 432 80 528 0
w 80 528 640 528 0
r 640 400 640 464 0 1000.0
174 640 464 640 528 0 10000.0 0.39110000000000006 Potentiometer
w 656 496 704 496 0
w 768 240 768 400 0
w 768 400 704 400 0
w 704 400 704 464 0
t 832 480 864 480 0 1 -12.000447833457883 -4.478334678828264E-4 100.0
w 160 256 160 112 0
w 160 112 864 112 0
w 864 224 864 464 0
r 784 480 832 480 0 1000.0
w 864 496 864 528 0
w 864 528 640 528 0
p 864 464 896 464 0
r 864 112 864 224 0 100.0
o 44 64 0 34 20.0 9.765625E-5 0 -1
o 66 64 0 34 20.0 9.765625E-5 1 -1
Be the first to comment