Electronics-Related.com
Forums

Inverter H bridge question

Started by Daku September 28, 2011
On Wed, 28 Sep 2011 05:54:19 -0700 (PDT), Daku <dakupoto@gmail.com>
wrote:

>On Sep 28, 7:21&#4294967295;am, John Fields <jfie...@austininstruments.com> wrote: >> On Wed, 28 Sep 2011 00:48:50 -0700 (PDT), Daku <dakup...@gmail.com> >> wrote: >> >> >On Sep 28, 12:41 am, DJ Delorie <d...@delorie.com> wrote: >> >> Have you tried looking at the current through the mosfets? Or the >> >> gate-source voltage? Or the frequency vs the RC constant of the >> >> circuit? >> >> >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. >> >> --- >> Post your circuit. >> >> -- >> JF > >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.
--- Sorry, I thought you were running LTspice. Thanks for the reply, though. -- JF
John Fields wrote:
> On Wed, 28 Sep 2011 05:54:19 -0700 (PDT), Daku <dakupoto@gmail.com> >>On Sep 28, 7:21&#4294967295;am, John Fields <jfie...@austininstruments.com> wrote: >>> On Wed, 28 Sep 2011 00:48:50 -0700 (PDT), Daku <dakup...@gmail.com> >>> >On Sep 28, 12:41 am, DJ Delorie <d...@delorie.com> wrote: >>> >> Have you tried looking at the current through the mosfets? Or the >>> >> gate-source voltage? Or the frequency vs the RC constant of the >>> >> circuit? >>> >>> >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. >>> --- >>> Post your circuit. >>> >>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. > > Sorry, I thought you were running LTspice. > > Thanks for the reply, though. >
Isn't spice, pretty much, spice? Just to satisfy my morbid curiosity, what happens when you run Daku's netlist through your LTSpice? (I haven't yet been able to figure out how to operate LTspice or any linux versions of it.) Thanks, Rich
On Wed, 28 Sep 2011 13:00:33 -0700, Rich Grise wrote:

> Isn't spice, pretty much, spice?
Yes and no. Various Spice have proprietary extensions to the original Berkeley Spice.
> Just to satisfy my morbid curiosity, > what happens when you run Daku's netlist through your LTSpice?
It barfs on a lot of model syntax.
> > (I haven't yet been able to figure out how to operate LTspice or any > linux versions of it.)
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." (Richard Feynman)
On Wed, 28 Sep 2011 13:00:33 -0700, Rich Grise <richg@example.net.invalid>
wrote:

>John Fields wrote: >> On Wed, 28 Sep 2011 05:54:19 -0700 (PDT), Daku <dakupoto@gmail.com> >>>On Sep 28, 7:21&#4294967295;am, John Fields <jfie...@austininstruments.com> wrote: >>>> On Wed, 28 Sep 2011 00:48:50 -0700 (PDT), Daku <dakup...@gmail.com> >>>> >On Sep 28, 12:41 am, DJ Delorie <d...@delorie.com> wrote: >>>> >> Have you tried looking at the current through the mosfets? Or the >>>> >> gate-source voltage? Or the frequency vs the RC constant of the >>>> >> circuit? >>>> >>>> >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. >>>> --- >>>> Post your circuit. >>>> >>>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. >> >> Sorry, I thought you were running LTspice. >> >> Thanks for the reply, though. >> >Isn't spice, pretty much, spice? Just to satisfy my morbid curiosity, >what happens when you run Daku's netlist through your LTSpice?
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 haven't yet been able to figure out how to operate LTspice or any >linux versions of it.)
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.
On Wed, 28 Sep 2011 15:45:52 -0500, krw@att.bizzzzzzzzzzzz wrote:

> The UI is still not intuitive, however.
I disagree. -- "For a successful technology, reality must take precedence over public relations, for nature cannot be fooled." (Richard Feynman)
On Wed, 28 Sep 2011 13:50:09 -0700, Fred Abse <excretatauris@invalid.invalid>
wrote:

>On Wed, 28 Sep 2011 15:45:52 -0500, krw@att.bizzzzzzzzzzzz wrote: > >> The UI is still not intuitive, however. > >I disagree.
Well, there are at least two of us that couldn't find the "ON" button. That classifies it as "not intuitive". ;-)
On Wed, 28 Sep 2011 13:00:33 -0700, Rich Grise
<richg@example.net.invalid> wrote:

>John Fields wrote: >> On Wed, 28 Sep 2011 05:54:19 -0700 (PDT), Daku <dakupoto@gmail.com> >>>On Sep 28, 7:21&#4294967295;am, John Fields <jfie...@austininstruments.com> wrote: >>>> On Wed, 28 Sep 2011 00:48:50 -0700 (PDT), Daku <dakup...@gmail.com> >>>> >On Sep 28, 12:41 am, DJ Delorie <d...@delorie.com> wrote: >>>> >> Have you tried looking at the current through the mosfets? Or the >>>> >> gate-source voltage? Or the frequency vs the RC constant of the >>>> >> circuit? >>>> >>>> >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. >>>> --- >>>> Post your circuit. >>>> >>>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. >> >> Sorry, I thought you were running LTspice. >> >> Thanks for the reply, though. >> >Isn't spice, pretty much, spice? Just to satisfy my morbid curiosity, >what happens when you run Daku's netlist through your LTSpice?
--- Dunno... LTspice won't generate a schematic from a netlist, so I'll just leave it alone. -- JF
On Thu, 29 Sep 2011 04:34:19 -0500, John Fields
<jfields@austininstruments.com> wrote:

>On Wed, 28 Sep 2011 13:00:33 -0700, Rich Grise ><richg@example.net.invalid> wrote: > >>John Fields wrote: >>> On Wed, 28 Sep 2011 05:54:19 -0700 (PDT), Daku <dakupoto@gmail.com> >>>>On Sep 28, 7:21&#4294967295;am, John Fields <jfie...@austininstruments.com> wrote: >>>>> On Wed, 28 Sep 2011 00:48:50 -0700 (PDT), Daku <dakup...@gmail.com> >>>>> >On Sep 28, 12:41 am, DJ Delorie <d...@delorie.com> wrote: >>>>> >> Have you tried looking at the current through the mosfets? Or the >>>>> >> gate-source voltage? Or the frequency vs the RC constant of the >>>>> >> circuit? >>>>> >>>>> >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. >>>>> --- >>>>> Post your circuit. >>>>> >>>>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. >>> >>> Sorry, I thought you were running LTspice. >>> >>> Thanks for the reply, though. >>> >>Isn't spice, pretty much, spice? Just to satisfy my morbid curiosity, >>what happens when you run Daku's netlist through your LTSpice? > >--- >Dunno... > >LTspice won't generate a schematic from a netlist, so I'll just leave >it alone.
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 | | Analog Innovations, Inc. | et | | Analog/Mixed-Signal ASIC's and Discrete Systems | manus | | Phoenix, Arizona 85048 Skype: Contacts Only | | | Voice:(480)460-2350 Fax: Available upon request | Brass Rat | | E-mail Icon at http://www.analog-innovations.com | 1962 | I love to cook with wine. Sometimes I even put it in the food.
On Wed, 28 Sep 2011 15:45:52 -0500, "krw@att.bizzzzzzzzzzzz"
<krw@att.bizzzzzzzzzzzz> wrote:

>On Wed, 28 Sep 2011 13:00:33 -0700, Rich Grise =
<richg@example.net.invalid>
>wrote: > >>John Fields wrote: >>> On Wed, 28 Sep 2011 05:54:19 -0700 (PDT), Daku <dakupoto@gmail.com> >>>>On Sep 28, 7:21=A0am, John Fields <jfie...@austininstruments.com> =
wrote:
>>>>> On Wed, 28 Sep 2011 00:48:50 -0700 (PDT), Daku <dakup...@gmail.com> >>>>> >On Sep 28, 12:41 am, DJ Delorie <d...@delorie.com> wrote: >>>>> >> Have you tried looking at the current through the mosfets? Or =
the
>>>>> >> gate-source voltage? Or the frequency vs the RC constant of the >>>>> >> circuit? >>>>> >>>>> >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. >>>>> --- >>>>> Post your circuit. >>>>> >>>>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. >>>=20 >>> Sorry, I thought you were running LTspice. >>>=20 >>> Thanks for the reply, though. >>>=20 >>Isn't spice, pretty much, spice? Just to satisfy my morbid curiosity, >>what happens when you run Daku's netlist through your LTSpice? > >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 haven't yet been able to figure out how to operate LTspice or any=20 >>linux versions of it.) > >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.
So you had trouble, i found LTSpice to be just ducky intuitive. Has a kind of sucky (stock) model library though. ?-)
On Wed, 28 Sep 2011 15:55:43 -0500, "krw@att.bizzzzzzzzzzzz"
<krw@att.bizzzzzzzzzzzz> wrote:

>On Wed, 28 Sep 2011 13:50:09 -0700, Fred Abse =
<excretatauris@invalid.invalid>
>wrote: > >>On Wed, 28 Sep 2011 15:45:52 -0500, krw@att.bizzzzzzzzzzzz wrote: >> >>> The UI is still not intuitive, however. >> >>I disagree. > >Well, there are at least two of us that couldn't find the "ON" button. =
That
>classifies it as "not intuitive". ;-)
Why would there be an "on" button? ?-/