Could some electronics guru please help ? I was running a SPICE simulation of an H bridge for an inverter, with 12 V DC input. The H bridge has PMOS on the high side and NMOS on the ground side. The switching works fine, and the output waveform looks exactly as it should, except that the amplitude is in the milliVolt range. I have adjusted the MOSFET sizes but that has not been very helpful. Any hints, suggestiions, would be very helpful. Thanks in advance.
I corrected the issue somewhat by replacing MOSFETs with BJTs. The H bridge output is now in the Volts range as compared to milliVolts. I have added some small inductors and Darlington pairs also. Could someone point me to a good SPICE transformer model ? Thanks in advance.
I have added the SPICE netlist below. I am using a standard op-amp LMH6629. The modelcard files are added after the main file. I am using ngspice-23 on a Fedora 14 machine running GCC 4.5.1 Please note that the circuit is still experimental, and so not optimized or efficient.
Yes and no. Various Spice have proprietary extensions to the original Berkeley Spice.
It barfs on a lot of model syntax.
It runs in Wine as well as it does in 'doze. If you have Wine, just get it and load it up. The user interface is pretty intuitive. The schematic editor is about as good as you can get.
--
"For a successful technology, reality must take precedence
over public relations, for nature cannot be fooled."
Nope. There are differences between the various dialects of SPICE, some rather major. AIUI, SPICE is the underlying engine (which aren't the same, either).
I had trouble getting over the initial hump, too. I took a seminar in Atlanta and it made it much clearer. The UI is still not intuitive, however.
LTspice will run a "netlist" generated by other "Spices" _provided_ it's in a .cir format, that is netlist and _directives_ combined into one. I do it regularly for "nasties" such as crystal oscillators that run slowly on PSpice. This gives me quick, rough-cut, circuit adjustments which I then smooth in PSpice, and make presentation-grade output graphs o:-) ...Jim Thompson
--
[On the Road, in New York]
| James E.Thompson, CTO | mens |
ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here.
All logos and trade names are the property of their respective owners.