Hey all -
I played around with the circuit sim that Nothing40 found and came up with this. Its not really meant to be serious, unless you know where to get a 52V Zener, for example. And what about that inductor? LOL
I am sure there are several other flaws that a simulator can't pick up on (there always are, right?) but I had fun creating it, learned a bit, and thought you all might find it interesting. At the very least, I know you guys will pick it apart, but that's half the fun!
Its a ~100 watt (RMS) inverter, using all discreet components (no chips) and works well, on paper at least, even though its not super efficient considering it runs straight from 'batteries' (DC-AC directly). I believe my findings were about 45% or so - So sue me. >X-D
The original story about the simulator can be found at
http://www.fieldlines.com/story/2008/12/19/41219/235
and the link straight to the simulator is:
http://www.falstad.com/circuit/e-index.html
Rather than dealing with formatting issues (as well as creating lengthy nothing-but-code posts) as I originally had envisioned, I uploaded the text file containing the circuit here:
http://www.otherpower.com/images/scimages/11966/100W_Inverter_Complete_Rev_B_Windows_.txt
Just copy 'n paste its contents into the import box and watch the show.
Tidbits:
The left 3 scopes are final stage power dissipation (one for each MOSFET) and the total power dissipated across the load resistor (when the switch is on). Hover a component or its scope to see which scope goes with which component.
The middle 3 highlight timing and voltage regulation waveforms, and the one on the right by itself runs slower to capture the regulation quality. It's not bad actually, it takes about 3 or 4 cycles to adjust from no load to 100W; considerably more tho to relax when the load is removed.
It has a hiccup during startup, as for some reason, the applet starts the main tank mid-swing, and the master oscillator (modified phase shift) is not syncronized with it, so the startup waveforms look rather funky for about the first 100mS or so. You might have to click the reset button on the sim to see this take place. Once they line up, output is a nice looking sine, with only a small amount of crossover distortion.
Its processor intensive (its the only program I have seen in a while that overheats one of my laptops). I have also slowed the sim down so that it isn't so jerky. I also think that this is about the limit for the simulator as far as complexity - Just trying to add a few more parts for loads (inductive, etc), it locks up the simulator as soon as another inductor hits the ground rail with no hope of recovery. Save early, save often. Haven't been able to find a workaround, so this version only has a pure resistive load. Shrug.
Enjoy, and let me know what you think!
Steve
PS - It got rather large before it was over, so if you can't see the entire circuit on the screen even after maximizing, right click an open area, select Other -> Drag All then hover any component, click and drag to bring the remainder into view.