Looking for AD745 LTSpice model

Status
This old topic is closed. If you want to reopen this topic, contact a moderator using the "Report Post" button.
Your model seems to be o.k. (tested with ngspice).
What about your circuit?
Or how you invoke your model in LTSPICE.
More information is needed.

This a model I try to use on a RIAA preamp simulation. It's an .asc file, which I think you can only run with LTSpice.

On the program you just go to the opamp icon and pick the one you need, which are mostly LT models. No similar FET input model I can use to replace the data.

This the error message I get when I try to run the simulation.
 

Attachments

  • error.jpg
    error.jpg
    38.7 KB · Views: 134
Please upload your RIAA .asc file so I can see the problem (it seems your opamp U7 in schematic has more then 5 pins).

This RIAA preamp is based on one suggested in LT1115 datasheet.

I have tried several opamps, but I want to try others. But I need to know how to use Pspice models, which are the ones AD or TI provide.

Doesn't LT belong to TI too?

Does anyone know where I can get THAT opamps models? This preamp could be designed using their mic preamp IC.
 

Attachments

  • LT1115 RIAA preamp_DCservo.asc
    6 KB · Views: 43
I don't know either...large surplus of housing, devices geometry...who knows (Scott perhaps?)

* THS4031 SUBCIRCUIT
* HIGH SPEED MONLITHIC OPERATIONAL AMPLIFIER
* WRITTEN 12/9/99
* TEMPLATE=X^@REFDES %IN+ %IN- %VCC+ %VCC- %OUT @MODEL
* CONNECTIONS: NON-INVERTING INPUT
* | INVERTING INPUT
* | | POSITIVE POWER SUPPLY
* | | | NEGATIVE POWER SUPPLY
* | | | | OUTPUT
* | | | | |
* | | | | |
* | | | | |
.SUBCKT THS4031 1 2 3 4 5
*
* INPUT *
Q1 33 1 17 NPN_IN 1
Q2 34 2 17 NPN_IN 1
*R1 17 06 1000
*R2 17 07 1000

* PROTECTION DIODES *
D2 5 3 D1N
D1 4 5 D1N
D4 4 2 D1N
D6 4 1 D1N
D5 1 3 D1N
D8 22 1 D1N
D7 22 2 D1N
D3 2 3 D1N

* SECOND STAGE *
Q3 08 Vref 33 PNP 0.5
Q6 10 08 09 NPN 0.25
Q4 10 Vref 34 PNP 0.5
Q5 08 09 11 NPN 1
Q7 09 09 12 NPN 1
Cc 0 10 Ct 35p
R3 4 11 333
R4 4 12 333

* SLEW RATE ENHANCEMENT *
G6 0 10 1 2 1e-3

* HIGH FREQUENCY SHAPING *
Lhf 18 19 13n
Rhf 13 19 25
Chf 0 13 21p
Ehf 18 0 10 0 1

* OUTPUT *
Q8 13 13 35 PNP 1
Q9 13 13 14 NPN 1
Q10 3 35 15 NPN 12
Q11 4 14 16 PNP 14
R5 20 15 10
R7 16 20 10

* COMPLEX OUTPUT IMPEDANCE *
R8 32 20 10
R9 31 20 10
L1 31 5 20n
C1 32 5 25p

* BIAS SOURCES *
G1 3 33 3 4 6.3e-6
G2 3 34 3 4 6.3e-6
G3 0 35 3 4 5.4e-6
G4 17 4 3 4 5.25e-6
G5 14 0 3 4 6.1e-6
I1 3 33 DC 1.3e-3
I2 3 34 DC 1.3e-3
I3 0 35 DC 1.5e-3
I4 17 4 DC 1.3e-3
I5 14 0 DC 1.7e-3
V1 3 Vref DC 2

* MODELS *
.MODEL NPN_IN NPN
+ IS=170E-18 BF=400 NF=1 VAF=100 IKF=0.0389 ISE=7.6E-18
+ NE=1.13489 BR=1.11868 NR=1 VAR=4.46837 IKR=8 ISC=8E-15
+ NC=1.8 RB=25 RE=0.1220 RC=20 CJE=120.2E-15 VJE=1.0888 MJE=0.381406
+ VJC=0.589703 MJC=0.265838 FC=0.1 CJC=133.8E-15 XTF=272.204 TF=12.13E-12
+ VTF=10 ITF=0.147 TR=3E-09 XTB=1 XTI=5 KF=2.75E-13

.MODEL NPN NPN
+ IS=170E-18 BF=100 NF=1 VAF=100 IKF=0.0389 ISE=7.6E-18
+ NE=1.13489 BR=1.11868 NR=1 VAR=4.46837 IKR=8 ISC=8E-15
+ NC=1.8 RB=250 RE=0.1220 RC=200 CJE=120.2E-15 VJE=1.0888 MJE=0.381406
+ VJC=0.589703 MJC=0.265838 FC=0.1 CJC=133.8E-15 XTF=272.204 TF=12.13E-12
+ VTF=10 ITF=0.147 TR=3E-09 XTB=1 XTI=5

.MODEL PNP PNP
+ IS=296E-18 BF=100 NF=1 VAF=100 IKF=0.021 ISE=494E-18
+ NE=1.49168 BR=0.491925 NR=1 VAR=2.35634 IKR=8 ISC=8E-15
+ NC=1.8 RB=250 RE=0.1220 RC=200 CJE=120.2E-15 VJE=0.940007 MJE=0.55
+ VJC=0.588526 MJC=0.55 FC=0.1 CJC=133.8E-15 XTF=141.135 TF=12.13E-12
+ VTF=6.82756 ITF=0.267 TR=3E-09 XTB=1 XTI=5

.MODEL Ct CAP TC1=-0.0025

.MODEL D1N D IS=10E-15 N=1.836 ISR=1.565e-9 IKF=.04417 BV=30 IBV=10E-6 RS=45
+ TT=11.54E-9 CJO=2E-12 VJ=.5 M=.3333

.ENDS
 
Where did you put the file and what did you do to make it work? I also use only LT 4.

For a quick checkup I just put AD745J spice model text on the schematic window as SPICE directive. You could also put .inc AD745J.sub (see little square) as Spice directive on schematic window, but then you must also put AD745J spice model in Ltspice subcircuit folder to make it work properly...see help in Ltspice how to do it.
 

Attachments

  • LT1115 RIAA preamp_DCservo (1).asc
    9 KB · Views: 34
For a quick checkup I just put AD745J spice model text on the schematic window as SPICE directive. You could also put .inc AD745J.sub (see little square) as Spice directive on schematic window, but then you must also put AD745J spice model in Ltspice subcircuit folder to make it work properly...see help in Ltspice how to do it.

It's amazing! The THD looks much worst than with most other opamps I had simulated with.

I will try to use your instructions to put the model in my directory.

Thanks a lot!
 
For a quick checkup I just put AD745J spice model text on the schematic window as SPICE directive. You could also put .inc AD745J.sub (see little square) as Spice directive on schematic window, but then you must also put AD745J spice model in Ltspice subcircuit folder to make it work properly...see help in Ltspice how to do it.

I opened your .sub text in notepad and saved it as .sub in the sub directory.

What else should I do? Help only gets up to that.

The message I get is "Could not open AD745J sub".
 
Check the full name of sub file...it should be AD745J.sub not e.g. AD745J.txt.sub
Also, you have to put .inc AD745J.sub as spice directive on working window.

Remember, spice model (.subckt AD745J etc.), sub file (AD745J.sub) and spice directive (.inc AD745J.sub) always should have the exactly the same name AD745J, otherwise it will not work as expected.

BTW, this is correct official spice model for AD745J...the previous one has some intervention from my side:D
 

Attachments

  • AD745J.txt
    3.5 KB · Views: 43
As you can see I am not still familiar with dealing with opamps models in LTSpice.

In the meantime I tried to do things "my way" in order to watch results.

So I renamed the THS4031 sub file you sent with AD745J, on the right words, and was able to run it. Reasonable, but not up to the LT1115.

About that, what I have just noticed is that the THD results with the LT1115 and the LT1028 are exactly the same. I guess one of the models is wrong.

Those are the files that come with LTSpice, so they should be right. And they are only filed, apparently, in the asy directory, which is wrong. I can't find the specs file of any of them, no sub files anywhere. So what model is being used?
 
But why those opamp models in the lib do not need any spice directive?

Probably because they come as default devices in Ltspice.

How do I proceed to get the same with the 745 and other pspice models?

You could do it, just tried it, it is possible...but involves fiddling with .asy and .sub files inside opamp library and you have to do it again for each new opamp and all will be erased next time you update Ltspice version!!!!
 
About that, what I have just noticed is that the THD results with the LT1115 and the LT1028 are exactly the same. I guess one of the models is wrong.

Those are the files that come with LTSpice, so they should be right. And they are only filed, apparently, in the asy directory, which is wrong. I can't find the specs file of any of them, no sub files anywhere. So what model is being used?

If you care to look at respective datasheet/graphs, you will immediately notice they are very, very similar devices, almost identical.:crackup:
 
Status
This old topic is closed. If you want to reopen this topic, contact a moderator using the "Report Post" button.