-
1. Data: 2013-10-24 00:53:18
Temat: TSH93
Od: pw <...@...pl>
Witam
Próbuję dodać do LTspice IV wzmacniacz operacyjny TSH93 (na schemacie
jako opamp2), jednak bez powodzenia, pojawia się komunikat:
Port(pin) count mismatch between the definition of subcircuit "tsh93"
and instance: "xu4". The instance has fewer connection terminals than
the definition.
W lib/sub dodałem plik TSH93.sub:
** Standard Linear Ics Macromodels, 1997.
** CONNECTIONS :
* 1 INVERTING INPUT
* 2 NON-INVERTING INPUT
* 3 OUTPUT
* 4 POSITIVE POWER SUPPLY
* 5 NEGATIVE POWER SUPPLY
.SUBCKT TSH93 1 3 2 4 5 (analog)
****************************************************
******
.MODEL MDTH D IS=1E-8 KF=1.809064E-15 CJO=10F
* INPUT STAGE
CIP 2 5 1.000000E-12
CIN 1 5 1.000000E-12
EIP 10 5 2 5 1
EIN 16 5 1 5 1
RIP 10 11 2.600000E-01
RIN 15 16 2.600000E-01
RIS 11 15 3.645298E-01
DIP 11 12 MDTH 400E-12
DIN 15 14 MDTH 400E-12
VOFP 12 13 DC 0.000000E+00
VOFN 13 14 DC 0
IPOL 13 5 1.000000E-03
CPS 11 15 2.986990E-10
DINN 17 13 MDTH 400E-12
VIN 17 5 2.000000e+00
DINR 15 18 MDTH 400E-12
VIP 4 18 1.000000E+00
FCP 4 5 VOFP 3.500000E+00
FCN 5 4 VOFN 3.500000E+00
FIBP 2 5 VOFP 1.000000E-02
FIBN 5 1 VOFN 1.000000E-02
* AMPLIFYING STAGE
FIP 5 19 VOFP 2.530000E+02
FIN 5 19 VOFN 2.530000E+02
RG1 19 5 3.160721E+03
RG2 19 4 3.160721E+03
CC 19 5 2.00000E-09
DOPM 19 22 MDTH 400E-12
DONM 21 19 MDTH 400E-12
HOPM 22 28 VOUT 1.504000E+03
VIPM 28 4 5.000000E+01
HONM 21 27 VOUT 1.400000E+03
VINM 5 27 5.000000E+01
***********************
RZP1 5 80 1E+06
RZP2 4 80 1E+06
GZP 5 82 19 80 2.5E-05
RZP2H 83 4 10000
RZP1H 83 82 80000
RZP2B 84 5 10000
RZP1B 82 84 80000
LZPH 4 83 3.535e-02
LZPB 84 5 3.535e-02
EOUT 26 23 82 5 1
VOUT 23 5 0
ROUT 26 3 35
COUT 3 5 30.000000E-12
DOP 19 25 MDTH 400E-12
VOP 4 25 2.361965E+00
DON 24 19 MDTH 400E-12
VON 24 5 2.361965E+00
.ENDS