Hi to all Spice experts.
I'm a relative novice and trying to work out how to use audio opamps that are not in the standard distribution (e.g. 5532/4, 071/2, OPA134). My version of LTSpice on Mac OSX is 17.0.33 which I believe is current.
I have found a model for OPA134 on the net, I believe from the manufacturers site. This is attached. I have loaded the .lib file and created a symbol from the related .asy file, so I can now add the opamp from the [autogenerated] folder in the F2 dialogue box.
Everything OK until I run and then I get this error message:
I'm assuming this is an issue within the model file? Any advice welcome.
M
I'm a relative novice and trying to work out how to use audio opamps that are not in the standard distribution (e.g. 5532/4, 071/2, OPA134). My version of LTSpice on Mac OSX is 17.0.33 which I believe is current.
I have found a model for OPA134 on the net, I believe from the manufacturers site. This is attached. I have loaded the .lib file and created a symbol from the related .asy file, so I can now add the opamp from the [autogenerated] folder in the F2 dialogue box.
Everything OK until I run and then I get this error message:
Unknown subcircuit called in: xu1 0 n001 v+ v- n007 opa134
I'm assuming this is an issue within the model file? Any advice welcome.
M
Attachments
I think I have solved this. I thought that putting a known model onto the schematic from the F2 dialogue box was enough, but it seems I need to add the spice .inc directive for the model file on the schematic too.
The model (in .lib) has 5 pins. Verify that you call the subcircuit in ltspice with correct pin? (number of pins, order of signal names, ...).
or Try Tina-TI 😉
or Try Tina-TI 😉
Is Tina-TI recommended as an improvement over LTSpice on the Mac? LTSpice does feel a bit primitive compared to a lot of tools that I'm used to, and I believe is way behind the Windows version.
I don't think TINA is available on Mac.
My experience of importing models into LTSpice is not good so far. I have tried two opamps and both give poor results with a transient analysis, or in some cases no results at all. The OPA134 model I attached earlier and this one for the TL071. I have ensured that the pinouts are OK and labelled correctly in each case.
Am I doing something wrong or should I expect external models to be poor compared to the built-in LT models?
My experience of importing models into LTSpice is not good so far. I have tried two opamps and both give poor results with a transient analysis, or in some cases no results at all. The OPA134 model I attached earlier and this one for the TL071. I have ensured that the pinouts are OK and labelled correctly in each case.
Am I doing something wrong or should I expect external models to be poor compared to the built-in LT models?
Attachments
thanks @stv, I'll try that.
Does the OPA134 model that I attached earlier in the thread also work for you in the same way?
Does the OPA134 model that I attached earlier in the thread also work for you in the same way?
Does the OPA134 model that I attached earlier in the thread also work for you in the same way?
it seems to work, yes. no error messages here.
by the way for LTspice does not need the TLD and TSM (tina-ti) files, as far as I see.
Attachments
OK I have now got them both working by putting the .lib files in the same directory as the .asc and using .inc commands. This seems to be a requirement even though I was including them from their home directory before.
They now seem to produce sensible results (in most cases, not transient analysis for the OPA134 with a high-speed current pulse because the solver fails) but they are so much slower than the native LT models! I assume the LT models are optimised in some way, perhaps compiled? Is there a way of compiling external models into object code that can be used directly by LTSpice?
They now seem to produce sensible results (in most cases, not transient analysis for the OPA134 with a high-speed current pulse because the solver fails) but they are so much slower than the native LT models! I assume the LT models are optimised in some way, perhaps compiled? Is there a way of compiling external models into object code that can be used directly by LTSpice?
- Home
- Design & Build
- Software Tools
- Problem using OPA134 model in LTSpice