¿ªÔÆÌåÓý

Re: Personal Problem to Link OpAmp with SubCircuit


 

--- In LTspice@..., "Helmut Sennewald"
<helmutsennewald@y...> wrote:
--- In LTspice@..., <Bernhard_Kraemer@w...> wrote:
Hello,

I have a problem with new symbol designing!

I'd like to design a simple amplifier circuit with the OpAmp
TL071.
For that, I drawed a new symbol: TL071.asy
I set the attribute "Prefix : X"
I also set the attribute "SpiceModel" to the filename TL071.lib,
which can be found in the directory C:&#92;Programme&#92;LTSpice&#92;lib&#92;sub&#92;.
In the file TL071.lib, I saved the subcircuit like this:
.SUBCKT TL071 1 2 3 4 5
C1 11 12 3.498E-12
C2 6 7 15.00E-12
DC 5 53 DX
and so on...

Unfortunately, I don't get no circuit with the so-defined TL071
to
work.
The error message tells:
"Error: Unknown device type in: xu1 n004 n001 n002 0 n002 tl071"

I think, it is because I didn't clearly define the library file
where the TL071 subcircuit is saved. But I don't know no way to
define a library in a schematics file.

What could I do to get my circuit with my self-designed OpAmp-
Model
to work?

Hello Bernhard,
have you really drawn it new?

Just make a copy of the LT1013.asy -> TL071.asy
Replace the obvious LT1013 with TL071.
Then restart LTSPICE.
Replace the ltc.lib with your ti.lib. You can put
as many models you want into this library file.
Sorry,
the order of my instructions may be misleading.

It should be that way:

Make a copy of the LT1013.asy -> TL071.asy
Replace the obvious text LT1013 with TL071.
Replace the text ltc.lib with your library name, e.g. ti.lib.
Save the symbol file tl071.asy.

Move your library file, ti.lib in this case, into the folder sub.
Hint: You can put as many models as you want into this library file.

Then restart LTSPICE.

Best Regards
Helmut

Join [email protected] to automatically receive all group messages.