Re: OPA891 / OPA2891 Model Needed


 

Tony and Andy,

Thanks for the demo schematic which proves that the model itself is OK and that changing the line that defines the functions to match opamp2 works perfectly when the model is in the same directory as the .asc file and the .lib command defines the model.

It is a pain to copy the model to every directory with an .asc in it and add the .lib directive to every simulation.  I really want to be able to add the symbol to the schematic and have LTspice find the proper model by itself.

This means that the "Andy" modified model should be able to live in my directory and the symbol should be able to call it, but I am not calling it correctly in the attributes of the symbol.

BTW I did not confuse the netlist numbers on the symbol with IC package pins.  I agree that the symbol is not pointing to the Model due to an error in my attribute editing.

Does renaming the Model Suffix from .lib to .sub matter?


 


On 2024-12-21 04:18, Tony Casey wrote:

On 21/12/2024 06:49, info@... wrote:

It appears that the symbol is able to call the OPA891 spice model without problem.

I edited the model to make the pins agree with the conventional symbols, but it won't run

I used the TI model unedited and I changed the symbol pin net numbers to match, but it won't run.

It gives the same error every time:

" Unknown subcircuit called in:
xu1 0 n002 n003 v+ v- tss/opa891_model_v1p1.lib opa891"

I believe that someone has this model running, but I don't understand the inner workings of LTspice well enough to troubleshoot this error.

Thanks for all your help.

Steve

To save you the frustration of more wasted time, I have uploaded an OPA891 demo schematic, including a model suitably modified according to the exact advice given by Andy, previously

--
Regards,
Tony

Приєднайтеся до {LTspice@groups.io, щоб автоматично отримувати всі повідомлення групи.