* WARNING : please consider following remarks before usage * * 1) All models are a tradeoff between accuracy and complexity (ie. simulation * time). * 2) Macromodels are not a substitute to breadboarding, they rather confirm the * validity of a design approach and help to select surrounding component values. * * 3) A macromodel emulates the NOMINAL performance of a TYPICAL device within * SPECIFIED OPERATING CONDITIONS (ie. temperature, supply voltage, etc.). * Thus the macromodel is often not as exhaustive as the datasheet, its goal * is to illustrate the main parameters of the product. * * 4) Data issued from macromodels used outside of its specified conditions * (Vcc, Temperature, etc) or even worse: outside of the device operating * conditions (Vcc, Vicm, etc) are not reliable in any way. ** Macanal, Analog macromodels generator, v.1.0 ** J. REMY, SGS THOMSON, ANACA Grenoble, Aug. 1992. ** Standard Linear Ics Macromodels, 1996. ** CONNECTIONS : * 1 INVERTING INPUT * 2 NON-INVERTING INPUT * 3 OUTPUT * 4 POSITIVE POWER SUPPLY * 5 NEGATIVE POWER SUPPLY * 6 STANDBY .SUBCKT TSH94 1 3 2 4 5 6 (analog) ********************************************************** **************** switch ******************* .SUBCKT SWITCH 20 10 IN OUT COM .MODEL DIDEAL D N=0.1 IS=1E-08 DP IN 1 DIDEAL 400E-12 DN OUT 2 DIDEAL 400E-12 EP 1 OUT COM 10 2 EN 2 IN COM 10 2 RFUIT1 IN 1 1E+09 RFUIT2 OUT 2 1E+09 RCOM COM 0 1E+12 .ENDS SWITCH **************** inverter ***************** .SUBCKT INV 20 10 IN OUT .MODEL DIDEAL D N=0.1 IS=1E-08 RP1 20 15 1E+09 RN1 15 10 1E+09 RIN IN 10 1E+12 RIP IN 20 1E+12 DPINV OUT 20 DIDEAL 400E-12 DNINV 10 OUT DIDEAL 400E-12 GINV 0 OUT IN 15 -6.7E-7 CINV 0 OUT 210f .ENDS INV ***************** AOP ********************** .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 FPOL 13 5 VSTB 1E+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 ISTB0 4 5 130UA 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 120 3.160721E+03 XCOM1 4 0 120 5 COM SWITCH RG2 19 121 3.160721E+03 XCOM2 4 0 4 121 COM SWITCH 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 *********** ZP ********** 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 103 35 COUT 103 5 30.000000E-12 XCOM 4 0 103 3 COM SWITCH DOP 19 25 MDTH 400E-12 VOP 4 25 2.361965E+00 DON 24 19 MDTH 400E-12 VON 24 5 2.361965E+00 ********** STAND BY ******** RMI1 4 111 1E+7 RMI2 0 111 2E+7 RONOFF 6 60 1K CONOGG 60 0 10p RSTBIN 60 0 1E+12 ESTBIN 106 0 6 0 1 ESTBREF 106 107 111 0 1 DSTB1 107 108 MDTH 400E-12 VSTB 108 109 0 ISTB 109 0 1U RSTB 109 110 1 DSTB2 0 110 MDTH 400E-12 XINV 4 0 6 COM INV .ENDS