LT Spice opamp a liittle weird

I was wondering about the power dissipation of an opamp, driving a sine wave into a mainly inductive load. See below.

The first few cycles current limit or something. I'm using UniversalOpamp2 with current limit 2 amps and rail=0.

This opamp isn't documented in the HELP, or much anywhere else.

Peak current is under 700 mA, so why is it clipping?

Higher supply voltage helps.

Version 4 SHEET 1 880 680 WIRE 304 -64 224 -64 WIRE 224 -32 224 -64 WIRE 304 0 304 -64 WIRE 288 64 144 64 WIRE 224 96 224 48 WIRE 144 112 144 64 WIRE 192 112 144 112 WIRE 288 128 288 64 WIRE 288 128 256 128 WIRE 352 128 288 128 WIRE 384 128 352 128 WIRE 512 128 464 128 WIRE 544 128 512 128 WIRE 80 144 48 144 WIRE 192 144 80 144 WIRE 544 176 544 128 WIRE 48 208 48 144 WIRE 224 208 224 160 WIRE 48 320 48 288 WIRE 224 320 224 288 WIRE 544 320 544 256 FLAG 224 320 0 FLAG 544 320 0 FLAG 304 0 0 FLAG 48 320 0 FLAG 80 144 GEN FLAG 352 128 AMP FLAG 512 128 IND SYMBOL res 368 144 R270 WINDOW 0 99 55 VTop 2 WINDOW 3 88 54 VBottom 2 SYMATTR InstName R1 SYMATTR Value 1 SYMBOL Opamps\\UniversalOpamp2 224 128 R0 WINDOW 0 37 43 Left 2 SYMATTR InstName U1 SYMATTR SpiceLine ilimit=2 rail=0 Vos=0 phimargin=45 SYMBOL voltage 224 304 R180 WINDOW 0 43 71 Left 2 WINDOW 3 44 38 Left 2 SYMATTR InstName V1 SYMATTR Value 12 SYMBOL voltage 224 64 R180 WINDOW 0 57 77 Left 2 WINDOW 3 57 42 Left 2 SYMATTR InstName V2 SYMATTR Value 12 SYMBOL voltage 48 192 R0 WINDOW 0 -79 47 Left 2 WINDOW 3 -199 89 Left 2 WINDOW 123 0 0 Left 2 WINDOW 39 0 0 Left 2 SYMATTR InstName V3 SYMATTR Value SINE(0 10 400) SYMBOL ind 528 160 R0 WINDOW 0 72 41 Left 2 WINDOW 3 62 76 Left 2 SYMATTR InstName L1 SYMATTR Value 10m TEXT -127 102 Left 2 !.tran 25m TEXT -160 0 Left 2 ;Amp PdissTest TEXT -152 48 Left 2 ;JL May 1, 2017

--

John Larkin         Highland Technology, Inc 
picosecond timing   precision measurement  

jlarkin att highlandtechnology dott com 
http://www.highlandtechnology.com
Reply to
John Larkin
Loading thread data ...

Submit your question to the LTspice List... I have no clue as to how Mikey's UniversalOpamp2 is supposed to work. ...Jim Thompson

--
| James E.Thompson                                 |    mens     | 
| Analog Innovations                               |     et      | 
| Analog/Mixed-Signal ASIC's and Discrete Systems  |    manus    | 
| STV, Queen Creek, AZ 85142    Skype: skypeanalog |             | 
| Voice:(480)460-2350  Fax: Available upon request |  Brass Rat  | 
| E-mail Icon at http://www.analog-innovations.com |    1962     | 

     Thinking outside the box... producing elegant solutions. 

"It is not in doing what you like, but in liking what you do that 
is the secret of happiness."  -James Barrie
Reply to
Jim Thompson

Where's that?

I have no clue as to how

I use it a lot, and it seems to work fine, but the current limit is really weird. If you ground the output, you get the limit that you specify. But the current limit declines as the output moves toward the rails; not ever super close to the rails.

UOP2 is not mentioned in the LT Spice help. And not mentioned much anywhere else.

--

John Larkin         Highland Technology, Inc 
picosecond timing   precision measurement  

jlarkin att highlandtechnology dott com 
http://www.highlandtechnology.com
Reply to
John Larkin

E-mail Helmut Sennewald and ask how to join... I can't remember how it's done since Yahoo @#$%'d up everything. ...Jim Thompson

--
| James E.Thompson                                 |    mens     | 
| Analog Innovations                               |     et      | 
| Analog/Mixed-Signal ASIC's and Discrete Systems  |    manus    | 
| STV, Queen Creek, AZ 85142    Skype: skypeanalog |             | 
| Voice:(480)460-2350  Fax: Available upon request |  Brass Rat  | 
| E-mail Icon at http://www.analog-innovations.com |    1962     | 

     Thinking outside the box... producing elegant solutions. 

"It is not in doing what you like, but in liking what you do that 
is the secret of happiness."  -James Barrie
Reply to
Jim Thompson

Reply to
legg

Got a 2Amp OpAmp handy ?>:-} ...Jim Thompson

--
| James E.Thompson                                 |    mens     | 
| Analog Innovations                               |     et      | 
| Analog/Mixed-Signal ASIC's and Discrete Systems  |    manus    | 
| STV, Queen Creek, AZ 85142    Skype: skypeanalog |             | 
| Voice:(480)460-2350  Fax: Available upon request |  Brass Rat  | 
| E-mail Icon at http://www.analog-innovations.com |    1962     | 

     Thinking outside the box... producing elegant solutions. 

"It is not in doing what you like, but in liking what you do that 
is the secret of happiness."  -James Barrie
Reply to
Jim Thompson

I'm actually using a TCA0372, which is a dual 1-amp part. But I set the current limit to 1 amp in the UniversalOpamp2 model, and it limited way below 1 amp.

The OnSemi data sheet says that it will output 1 amp, but doesn't say what the typ current limit is. Must be more. The cartoon schematic in the data sheet doesn't show any current limiting!

So UniversalOpamp2 is fuzzy, and TCA0372 is fuzzy. Situation normal.

--

John Larkin         Highland Technology, Inc 
picosecond timing   precision measurement  

jlarkin att highlandtechnology dott com 
http://www.highlandtechnology.com
Reply to
John Larkin

Sure thing--I have a couple of dozen LM675s in my drawer cabinet.

Cheers

Phil Hobbs

Reply to
pcdhobbs

LT1210, with model in LSspice.

RL

Reply to
legg

LT spice on Yahoo groups... but it now fills up my gmail account.

George H.

Reply to
George Herold

[snip]

Subscribe to the _digest_, I get one or two a day, easy to follow. ...Jim Thompson

-- | James E.Thompson | mens | | Analog Innovations | et | | Analog/Mixed-Signal ASIC's and Discrete Systems | manus | | STV, Queen Creek, AZ 85142 Skype: skypeanalog | | | Voice:(480)460-2350 Fax: Available upon request | Brass Rat | | E-mail Icon at

formatting link
| 1962 |

Thinking outside the box... producing elegant solutions.

"It is not in doing what you like, but in liking what you do that is the secret of happiness." -James Barrie

Reply to
Jim Thompson

[ snip ]

The schematic is impossible (PNP in upper output pair), not fixed in dozens of revs, and still there in r11. Candidate for Bad Circuits.

--
 Thanks, 
    - Win
Reply to
Winfield Hill

But it is a great amp, and dirt cheap. I've used 3300 so far, no problems.

That's what I like about electronics. We use physics, math, control theory, simulation, data sheets, app notes, professional advice... and you can't trust any of them.

--

John Larkin         Highland Technology, Inc 

lunatic fringe electronics
Reply to
John Larkin

Larkin's question was posted by me into the yahoo group earlier today. After three attempts two of my posts eventually showed up on the mail list. Yahoo's group web page is too FUBAR for me to see my own posts there. YMMV.

Here's a copy-and-paste of the only response from the LTSpice yahoo group thus far:

------------------------------------------------------------------------

Don asked questions about the UniversalOpamp2 in LTspice.

True ... but there is a little bit to be found on the example schematic at ...\examples\Educational\UniversalOpamp2.asc where it shows the four available versions or levels.

It does indeed. It is not related to or caused by the "ilimit=2" parameter which h as a hard limit at 2 amps. It seems to be going into soft limiting beginning somew here around 0.5 amps. It also depends on whether the load is resistive or inductiv e; and the limiting is not at the peak of either the voltage or the current. (It's almost like a slew rate limit of the output current?)

I'd recommend posing this question to Mike Engelhardt himself. Send your question and schematic to the address shown in Help > About LTspice.

------------------------------------------------------------------------

As noted earlier, yahoo's group web page is FUBAR for me. So, another subscriber needs to obtain Engelhardt's email addy.

Thank you,

--
Don Kuenz KB7RPU
Reply to
Don Kuenz

I gave up trying to post via the web. Fortunately you can do it easily via E-mail reply from the Digest E-mail.

Mike Engelhardt ...Jim Thompson

--
| James E.Thompson                                 |    mens     | 
| Analog Innovations                               |     et      | 
| Analog/Mixed-Signal ASIC's and Discrete Systems  |    manus    | 
| STV, Queen Creek, AZ 85142    Skype: skypeanalog |             | 
| Voice:(480)460-2350  Fax: Available upon request |  Brass Rat  | 
| E-mail Icon at http://www.analog-innovations.com |    1962     | 

     Thinking outside the box... producing elegant solutions. 

"It is not in doing what you like, but in liking what you do that 
is the secret of happiness."  -James Barrie
Reply to
Jim Thompson

John, I like to roll my own simple opamps in SPICE, for custom fT and slew rate. Ignore other niceties: multiple poles, time delays, supply-rail saturation.

Use controlled-source elements: a G element provides the gain-node error current, a cap to ground sets fT. Add an E element with G=1 for the output, finish with a series output resistor for open-loop Zout. If you want current limiting, add an output sense resistor and npn + pnp current-limit BJTs with their collectors back to the gain-node.

If you must have supply-rail limiting, add two diodes from gain-node to appropriately-set voltage sources. If you need better, accurate slew rate, etc. etc, then go ahead and make a Boyle macromodel, see LTC's AN48.

Snork!

--
 Thanks, 
    - Win
Reply to
Winfield Hill

I sometimes use "e" as an opamp, with or without adding a single-pole rolloff. Doesn't need power supplies! But UniversalOpamp2 has slew rate, e and i noise, offset, bandwidth, current limiting, rail swing (which may be squirreley), bias currents, all that. I often use it as-is, or maybe tweak one or two parameters. That's easier than using an LTC part, unless you're familiar with it already.

--

John Larkin         Highland Technology, Inc 

lunatic fringe electronics
Reply to
John Larkin

Helmut Sennewald, the LTSpice yahoo group guru, recently posted:

------------------------------------------------------------------------

The UniversalOpamps2 from LTspice cannot be used for high current applications without a modification. I have reduced Ron in its switch-model from 10Ohm to 1Ohm.

Right-mouse-click on the placed symbol to lower "Switch_Ron" to get even more current.

You can download an example which I made 2012.

UniversalOpamps2power_test.zip

formatting link

I will check later whether the UniversalOpamp2 model has changed since that time.

------------------------------------------------------------------------

In regards to electronics being an amalgamation of many things, it turns out that my job description is gestalting generalist.

A generalist knows more and more about less and less until until eventually he knows nothing about everything. A specialist knows more and more about less and less until eventually he knows everything about nothing.

###

BTW Win, TIA for the circuit boards that you are sending me.

Thank you,

--
Don Kuenz KB7RPU
Reply to
Don Kuenz

The current model doesn't include a visible Switch_Ron parameter. I added one and it didn't complain, but it seemed to have no effect.

I'm not registered with Yahoo.

--

John Larkin         Highland Technology, Inc 

lunatic fringe electronics
Reply to
John Larkin

Try this link instead:

formatting link

Thank you,

--
Don Kuenz KB7RPU
Reply to
Don Kuenz

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.