* Z:\home\khalils\Downloads\files\data\raw_asc\216b33b2ef27_OpAmp.asc
* Generated by LTspice 26.0.1 for Windows.
XU1 N003 N001 P001 0 N002 OPAx196 ;pnba In+)In-)V+)V-)OUT
Rin N001 0 10k
Rf N002 N001 300k
V2 P001 0 20
V3 N003 0 SINE(0.315 0.315 100k 0 0 0 10) AC 0.315 0
*$
* OPAx196
*****************************************************************************
* (C) Copyright 2022 Texas Instruments Incorporated. All rights reserved.
*****************************************************************************
** This model is designed as an aid for customers of Texas Instruments.
** TI and its licensors and suppliers make no warranties, either expressed
** or implied, with respect to this model, including the warranties of
** merchantability or fitness for a particular purpose. The model is
** provided solely on an "as is" basis. The entire risk as to its quality
** and performance is with the customer
*****************************************************************************
*
* This model is subject to change without notice. Texas Instruments
* Incorporated is not responsible for updating this model.
*
*****************************************************************************
*
** Released by: Online Design Tools, Texas Instruments Inc.
* Part: OPAx196
* Date: 29AUG2022
* Model Type: Generic (suitable for all analysis types)
* EVM Order Number: N/A
* EVM Users Guide: N/A
* Datasheet: SBOS869 -JULY 2017
* Created with Green-Williams-Lis Op Amp Macro-model Architecture
*
* Model Version: Final 1.5
*
*****************************************************************************
*
* Updates:
*
* Final 1.5
* 1. Moved R_NOISELESS .model inside OPAx196 subckt.
* 2. Updated PSpice Symbol.
*
* Final 1.4
* 1. Updated the current direction(i.e. IOUT- IOUT+) of IQ_SRC block to
* resolve Iout current direction issue.
* 2. Removed ESD_BB_OPAx196 block.
* 3. Added R_DIFF element in the model.
*
* Final 1.3
* 1. Modified the capacitor(C14) value from 1F to 1uF in GND Float-IQ block
* to resolve the convergence issue in single and asymmetric supply test.
* 2. Updated Aol to match the GBW as per the datasheet.
* 3. Updated the CLAW curves to match the datasheet.
* 4. Updated ISCp and ISCn Short Circuit Currents.
* 5. Updated Slew Rate, CMRR DC gain and Overload Recovery
* 6. Updated the model name from OPA196 to OPAx196.
*
* Final 1.2
* Updated with unique subckt name, Vos drift, Current Noise and edits in claw block
*
* Final 1.1
* Release to Web.
*
*****************************************************************************
* Model Usage Notes:
* 1. The following parameters are modeled:
* a. OPEN-LOOP GAIN AND PHASE VS. FREQUENCY WITH RL, CL EFFECTS (Aol)
* b. UNITY GAIN BANDWIDTH (GBW)
* c. INPUT COMMON-MODE REJECTION RATIO VS. FREQUENCY (CMRR)
* d. POWER SUPPLY REJECTION RATIO VS. FREQUENCY (PSRR)
* e. DIFFERENTIAL INPUT IMPEDANCE (Zid)
* f. COMMON-MODE INPUT IMPEDANCE (Zic)
* g. OPEN-LOOP OUTPUT IMPEDANCE VS. FREQUENCY (Zo)
* h. OUTPUT CURRENT THROUGH THE SUPPLY (Iout)
* i. INPUT VOLTAGE NOISE DENSITY VS. FREQUENCY (en)
* j. INPUT CURRENT NOISE DENSITY VS. FREQUENCY (in)
* k. OUTPUT VOLTAGE SWING vs. OUTPUT CURRENT (Vo)
* l. SHORT-CIRCUIT OUTPUT CURRENT (Isc)
* m. QUIESCENT CURRENT (Iq)
* n. SETTLING TIME VS. CAPACITIVE LOAD (ts)
* o. SLEW RATE (SR)
* p. SMALL SIGNAL OVERSHOOT VS. CAPACITIVE LOAD
* q. LARGE SIGNAL RESPONSE
* r. OVERLOAD RECOVERY TIME (tor)
* s. INPUT BIAS CURRENT (Ib)
* t. INPUT OFFSET CURRENT (Ios)
* u. INPUT OFFSET VOLTAGE (Vos)
* v. INPUT OFFSET VOLTAGE VS. TEMPERATURE (Vos Drift)
* w. INPUT COMMON-MODE VOLTAGE RANGE (Vcm)
* x. INPUT OFFSET VOLTAGE VS. INPUT COMMON-MODE VOLTAGE (Vos vs. Vcm)
* y. INPUT/OUTPUT ESD CELLS (ESDin, ESDout)
* 2. OPAx196 model is used for OPA196, OPA2196, OPA4196 devices, since all
* are similar models having different packages.
*****************************************************************************
.SUBCKT OPAx196 IN+ IN- VCC VEE OUT
*****************************************************************************
C_C1 N24458 N24659 3.701N
C_C10 N37029 N37037 15.9U
C_C12 N39124 N39892 35.4P
C_C13 0 N2425309 1F
C_C14 0 N2425287 1U
C_C15 0 N2425325 1F
C_C16 MID N56849 1F
C_C17 MID N57325 1F
C_C18 MID N59747 1F
C_C19 MID N59865 1F
C_C2 N25921 N25929 758F
C_C20 MID N65579 1F
C_C21 MID N65697 1F
C_C22 MID N68774 1F
C_C23 N72398 MID 1F
C_C24 MID N72391 1F
C_C25 MID N81574 1P
C_C26 MID N81664 1P
C_C27 MID SW_OL_OPAx196 1N
C_C28 VCLP MID 1P
C_C29 VIMON MID 1P
C_C3 N27785 N27793 758F
C_C30 VOUT_S MID 1P
C_C32 MID N2419074 3.1P
C_C4 N32347 MID 1F
C_C5 CLAMP MID 790N
C_C59 MID N2640258 318F
C_C60 N2641899 N43937 636F
C_C61 MID N36262 4.62F
C_C_COM0 ESDP MID 6.4P
C_C_COM1 MID ESDN 6.4P
C_C_DIFF ESDN ESDP 1.6P
E_E1 MID 0 N2425287 0 1
E_E2 N158495 MID CL_CLAMP MID 1
E_E3 N161937 MID OUT MID 1
G_G1 N24458 MID ESDP MID -97.67M
G_G12 CLAW_CLAMP MID N36262 MID -1M
G_G13 CL_CLAMP MID CLAW_CLAMP MID -1M
G_G15 N37029 MID CL_CLAMP N45999 -89
G_G16 N39124 MID N37037 MID -2.4
G_G18 VCC_B 0 VCC 0 -1
G_G19 VEE_B 0 VEE 0 -1
G_G2 N25415 N25397 N24659 MID -1M
G_G20 VCC_CLP MID N72398 MID -1M
G_G21 VEE_CLP MID N72391 MID -1M
G_G22 N1356345 MID N1356333 MID -1
G_G23 N1356409 MID N1356429 MID -1
G_G26 N2419074 MID VSENSE MID -100U
G_G27 N36262 MID N2419074 MID -1U
G_G3 N25921 MID VEE_B MID -3.27M
G_G4 N27785 MID VCC_B MID -3.27M
G_G5 N28678 N28438 N27793 N25929 -1M
G_G6 VSENSE MID CLAMP MID -1M
G_GA13 N2641899 MID N2640138 MID -1
G_G_ZO7 N2640128 MID N39892 MID -4
I_I_B N24207 MID DC 5.25P
I_I_OS ESDN MID DC 2.75P
I_I_Q VCC VEE DC 140U
R_R1 IN+ ESDP R_NOISELESS 100
R_R10 MID N25921 R_NOISELESS 311.5
R_R11 MID N25929 R_NOISELESS 31.11K
R_R12 N27793 N27785 R_NOISELESS 100G
R_R13 MID N27785 R_NOISELESS 311.5
R_R139 N2640138 N2640128 R_NOISELESS 52.63K
R_R14 MID N27793 R_NOISELESS 31.11K
R_R140 N2640258 N2640138 R_NOISELESS 10K
R_R141 MID N2640128 R_NOISELESS 1
R_R142 N43937 N2641899 R_NOISELESS 10K
R_R143 MID N2641899 R_NOISELESS 1
R_R144 MID N43937 R_NOISELESS 25
R_R145 MID N36262 R_NOISELESS 1MEG
R_R15 N28438 N25415 R_NOISELESS 1M
R_R16 N28678 N28438 R_NOISELESS 1K
R_R17 N31303 ESDN R_NOISELESS 1M
R_R18 MID N31389 R_NOISELESS 1T
R_R19 MID N31737 R_NOISELESS 1T
R_R2 IN- ESDN R_NOISELESS 100
R_R20 N32236 MID R_NOISELESS 1
R_R21 N32347 N32236 R_NOISELESS 1M
R_R22 MID N32510 R_NOISELESS 1MEG
R_R23 MID CLAMP R_NOISELESS 1MEG
R_R24 MID VSENSE R_NOISELESS 1K
R_R3 ESDP MID R_NOISELESS 1T
R_R32 MID CLAW_CLAMP R_NOISELESS 1K
R_R33 MID CL_CLAMP R_NOISELESS 1K
R_R34 N37037 N37029 R_NOISELESS 10K
R_R35 MID N37029 R_NOISELESS 1
R_R36 MID N37037 R_NOISELESS 7.143K
R_R4 MID ESDN R_NOISELESS 1T
R_R40 N39892 N39124 R_NOISELESS 10K
R_R41 MID N39124 R_NOISELESS 1
R_R42 MID N39892 R_NOISELESS 3.333K
R_R43 MID N46041 R_NOISELESS 1
R_R46 VCC_B 0 R_NOISELESS 1
R_R47 VCC_B N2425309 R_NOISELESS 1M
R_R48 N2425309 N2425287 R_NOISELESS 1MEG
R_R49 N2425287 0 R_NOISELESS 1T
R_R5 MID N24458 R_NOISELESS 1
R_R50 N2425287 N2425325 R_NOISELESS 1MEG
R_R51 N2425325 VEE_B R_NOISELESS 1M
R_R52 VEE_B 0 R_NOISELESS 1
R_R53 VCC_CLP MID R_NOISELESS 1T
R_R54 N55560 MID R_NOISELESS 1
R_R55 N56849 N55560 R_NOISELESS 1M
R_R56 VEE_CLP MID R_NOISELESS 1T
R_R57 N57321 MID R_NOISELESS 1
R_R58 N57325 N57321 R_NOISELESS 1M
R_R59 N59739 MID R_NOISELESS 1T
R_R6 N24659 N24458 R_NOISELESS 100MEG
R_R60 N59743 MID R_NOISELESS 1
R_R61 N59747 N59743 R_NOISELESS 1M
R_R62 N59865 N59881 R_NOISELESS 1M
R_R63 N59905 MID R_NOISELESS 1T
R_R64 N59881 MID R_NOISELESS 1
R_R65 N65567 MID R_NOISELESS 1T
R_R66 N65575 MID R_NOISELESS 1
R_R67 N65579 N65575 R_NOISELESS 1M
R_R68 N65697 N65713 R_NOISELESS 1M
R_R69 N65737 MID R_NOISELESS 1T
R_R7 MID N24659 R_NOISELESS 102.4
R_R70 N65713 MID R_NOISELESS 1
R_R71 N68774 VSENSE R_NOISELESS 1M
R_R72 VCC_B N72064 R_NOISELESS 1K
R_R73 N72064 N72398 R_NOISELESS 1M
R_R74 N72073 VEE_B R_NOISELESS 1K
R_R75 N72073 N72391 R_NOISELESS 1M
R_R76 MID VCC_CLP R_NOISELESS 1K
R_R77 VEE_CLP MID R_NOISELESS 1K
R_R78 N1356409 MID R_NOISELESS 1
R_R79 N1356345 MID R_NOISELESS 1
R_R8 N25415 N25397 R_NOISELESS 1K
R_R80 V11 N81574 R_NOISELESS 100
R_R81 V12 N81664 R_NOISELESS 100
R_R82 N81756 MID R_NOISELESS 1
R_R83 N81756 SW_OL_OPAx196 R_NOISELESS 100
R_R84 N158495 VCLP R_NOISELESS 100
R_R89 MID N2419074 R_NOISELESS 10K
R_R9 N25929 N25921 R_NOISELESS 100G
R_R_DIFF ESDN ESDP R_NOISELESS 100MEG
R_RDUMMY MID N45999 R_NOISELESS 33K
R_RX N45999 N46041 R_NOISELESS 330K
R_RX1 MID N161737 R_NOISELESS 1T
R_RX2 VIMON N161737 R_NOISELESS 100
R_RX3 MID N161937 R_NOISELESS 1T
R_RX4 VOUT_S N161937 R_NOISELESS 100
V_VCM_MAX N31389 VCC_B 100M
V_VCM_MIN N31737 VEE_B -100M
V_V_GRN N65737 MID -255
V_V_GRP N65567 MID 270
V_V_ISCN N59905 MID -65
V_V_ISCP N59739 MID 70.2
V_V_ORN N1356333 VCLP -3
V_V_ORP N1356429 VCLP 6.6
X_H1 N45999 OUT N161737 MID BLOCK_DC_H1_OPAx196
X_H2 N1356115 N1356409 V12 MID BLOCK_DC_H2_OPAx196
X_H3 N1356061 N1356345 V11 MID BLOCK_DC_H3_OPAx196
X_S1 N1356061 CLAMP N1356061 CLAMP BLOCK_DC_S1_OPAx196
X_S2 CLAMP N1356115 CLAMP N1356115 BLOCK_DC_S2_OPAx196
X_U1 ESDP N24207 VNSE_OPAx196 PARAMS: FLW=1 GLF=0.0837 RNV=266.4
X_U10 VCC_CLP VEE_CLP VOUT_S MID N55560 N57321 CLAMP_AMP_LO_OPAx196
+ PARAMS: G=1
X_U11 N59739 N59905 VIMON MID N59743 N59881 CLAMP_AMP_LO_OPAx196
+ PARAMS: G=1
X_U12 N65567 N65737 N68774 MID N65575 N65713 CLAMP_AMP_HI_OPAx196
+ PARAMS: G=10
X_U16 MID N81756 N81574 N81664 OL_SENSE_OPAx196
X_U18 VIMON MID N72064 VCC_B CLAWP_OPAx196
X_U19 MID VIMON VEE_B N72073 CLAWN_OPAx196
X_U21 OUT VCC VEE ESD_OUT_OPAx196
X_U22 N59747 N59865 CL_CLAMP MID CL_SRC_OPAx196 PARAMS: GAIN=1
+ IPOS=1.1E1 INEG=-1.1E1
X_U23 N65579 N65697 CLAMP MID GR_SRC_OPAx196 PARAMS: GAIN=1 IPOS=15E1
+ INEG=-11.6E1
X_U25 SW_OL_OPAx196 MID N37029 N37037 SW_OL_OPAx196
X_U26 VIMON MID MID VCC IQ_SRC_OPAx196 PARAMS: GAIN=1E-3
X_U27 MID VIMON VEE MID IQ_SRC_OPAx196 PARAMS: GAIN=1E-3
X_U30 N32347 N31303 MID N32510 AOL_1_OPAx196 PARAMS: GAIN=1E-4 IPOS=.5
+ INEG=-.5
X_U31 N32510 MID MID CLAMP AOL_2_OPAx196 PARAMS: GAIN=150E-3 IPOS=7.07
+ INEG=-5.24
X_U32 N43937 MID MID N46041 ZO_SRC_OPAx196 PARAMS: GAIN=400 IPOS=50E3
+ INEG=-50E3
X_U35 N56849 N57325 CLAW_CLAMP MID CLAW_SRC_OPAx196 PARAMS: GAIN=1
+ IPOS=0.54E1 INEG=-0.51E1
X_U36 N24207 MID FEMT_OPAx196 PARAMS: NVRF=1.5
X_U37 ESDN MID FEMT_OPAx196 PARAMS: NVRF=1.5
X_U4 N25397 N24207 VOS_DRIFT_OPAx196 PARAMS: DC=1.36E-05 POL=1
+ DRIFT=0.5E-6
X_U5 ESDN ESDP VCC VEE ESD_IN_OPAx196
X_U6 N28678 MID N32236 MID N31389 N31737 VCM_CLAMP_OPAx196 PARAMS:
+ GAIN=1
.MODEL R_NOISELESS RES (T_ABS=-273.15)
.ENDS OPAx196
*
.SUBCKT BLOCK_DC_H1_OPAx196 1 2 3 4
H_H1 3 4 VH_H1 1K
VH_H1 1 2 0V
.ENDS BLOCK_DC_H1_OPAx196
*
.SUBCKT BLOCK_DC_H2_OPAx196 1 2 3 4
H_H2 3 4 VH_H2 1
VH_H2 1 2 0V
.ENDS BLOCK_DC_H2_OPAx196
*
.SUBCKT BLOCK_DC_H3_OPAx196 1 2 3 4
H_H3 3 4 VH_H3 -1
VH_H3 1 2 0V
.ENDS BLOCK_DC_H3_OPAx196
*
.SUBCKT BLOCK_DC_S1_OPAx196 1 2 3 4
S_S1 3 4 1 2 _S1
RS_S1 1 2 1G
.MODEL _S1 VSWITCH ROFF=1E12 RON=10M VOFF=0.0V VON=10MV
.ENDS BLOCK_DC_S1_OPAx196
*
.SUBCKT BLOCK_DC_S2_OPAx196 1 2 3 4
S_S2 3 4 1 2 _S2
RS_S2 1 2 1G
.MODEL _S2 VSWITCH ROFF=1E12 RON=10M VOFF=0.0V VON=10MV
.ENDS BLOCK_DC_S2_OPAx196
*
.SUBCKT AOL_1_OPAx196 VC+ VC- IOUT+ IOUT- PARAMS: GAIN=1E-4 IPOS=.5 INEG=-.5
G1 IOUT+ IOUT- VALUE={LIMIT(GAIN*V(VC+,VC-),INEG,IPOS)}
.ENDS AOL_1_OPAx196
*
.SUBCKT AOL_2_OPAx196 VC+ VC- IOUT+ IOUT- PARAMS: GAIN=150E-3 IPOS=7.07 INEG=-5.24
G1 IOUT+ IOUT- VALUE={LIMIT(GAIN*V(VC+,VC-),INEG,IPOS)}
.ENDS AOL_2_OPAx196
*
.SUBCKT CLAMP_AMP_HI_OPAx196 VC+ VC- VIN COM VO+ VO- PARAMS: G=10
GVO+ COM VO+ VALUE = {IF(V(VIN,COM)>V(VC+,COM),((V(VIN,COM)-V(VC+,COM))*G),0)}
GVO- COM VO- VALUE = {IF(V(VIN,COM)<V(VC-,COM),((V(VC-,COM)-V(VIN,COM))*G),0)}
.ENDS CLAMP_AMP_HI_OPAx196
*
.SUBCKT CLAMP_AMP_LO_OPAx196 VC+ VC- VIN COM VO+ VO- PARAMS: G=1
GVO+ COM VO+ VALUE = {IF(V(VIN,COM)>V(VC+,COM),((V(VIN,COM)-V(VC+,COM))*G),0)}
GVO- COM VO- VALUE = {IF(V(VIN,COM)<V(VC-,COM),((V(VC-,COM)-V(VIN,COM))*G),0)}
.ENDS CLAMP_AMP_LO_OPAx196
*
.SUBCKT CLAWN_OPAx196 VC+ VC- IOUT+ IOUT-
G1 IOUT+ IOUT- TABLE {(V(VC+,VC-))} =
+(0, 7.56E-06)
+(21.86, 9.32E-04)
+(45.58, 2.17E-03)
+(62.79, 3.08E-03)
+(65, 1.64E-02)
.ENDS CLAWN_OPAx196
*
.SUBCKT CLAWP_OPAx196 VC+ VC- IOUT+ IOUT-
G1 IOUT+ IOUT- TABLE {(V(VC+,VC-))} =
+(0, 1.089E-05)
+(15.22, 6.32E-04)
+(36.29, 1.62E-03)
+(55.73, 2.87E-03)
+(65.80, 3.86E-03)
+(69.08, 4.45E-03)
+(70.20, 1.79E-02)
.ENDS CLAWP_OPAx196
*
.SUBCKT CLAW_SRC_OPAx196 VC+ VC- IOUT+ IOUT- PARAMS: GAIN=1 IPOS=0.54E1 INEG=-0.51E1
G1 IOUT+ IOUT- VALUE={LIMIT(GAIN*V(VC+,VC-),INEG,IPOS)}
.ENDS CLAW_SRC_OPAx196
*
.SUBCKT CL_SRC_OPAx196 VC+ VC- IOUT+ IOUT- PARAMS: GAIN=1 IPOS=1.1E1 INEG=-1.1E1
G1 IOUT+ IOUT- VALUE={LIMIT(GAIN*V(VC+,VC-),INEG,IPOS)}
.ENDS CL_SRC_OPAx196
*
.SUBCKT ESD_IN_OPAx196 ESDN ESDP VCC VEE
.MODEL ESD_SW VSWITCH(RON=50 ROFF=1E12 VON=700E-3 VOFF=100E-3)
S1 ESDN VCC ESDN VCC ESD_SW
S2 ESDP VCC ESDP VCC ESD_SW
S3 VEE ESDN VEE ESDN ESD_SW
S4 VEE ESDP VEE ESDP ESD_SW
.ENDS ESD_IN_OPAx196
*
.SUBCKT ESD_OUT_OPAx196 OUT VCC VEE
.MODEL ESD_SW VSWITCH(RON=50 ROFF=1E12 VON=700E-3 VOFF=100E-3)
S1 OUT VCC OUT VCC ESD_SW
S2 VEE OUT VEE OUT ESD_SW
.ENDS ESD_OUT_OPAx196
*
.SUBCKT FEMT_OPAx196 1 2 PARAMS: NVRF=1.5
E1 3 0 5 0 10
R1 5 0 {1.184*PWR(NVRF,2)}
R2 5 0 {1.184*PWR(NVRF,2)}
G1 1 2 3 0 1E-6
.ENDS FEMT_OPAx196
*
.SUBCKT GR_SRC_OPAx196 VC+ VC- IOUT+ IOUT- PARAMS: GAIN=1 IPOS=15E1 INEG=-10.6E1
G1 IOUT+ IOUT- VALUE={LIMIT(GAIN*V(VC+,VC-),INEG,IPOS)}
.ENDS GR_SRC_OPAx196
*
.SUBCKT IQ_SRC_OPAx196 VC+ VC- IOUT+ IOUT- PARAMS: GAIN=1E-3
G1 IOUT- IOUT+ VALUE={IF( (V(VC+,VC-)<=0),0,GAIN*V(VC+,VC-) )}
.ENDS IQ_SRC_OPAx196
*
.SUBCKT OL_SENSE_OPAx196 1 2 3 4
GSW+ 1 2 VALUE = {IF((V(3,1)>10E-3 | V(4,1)>10E-3),1,0)}
.ENDS OL_SENSE_OPAx196
*
.SUBCKT SW_OL_OPAx196 SW_OL_OPAx196 MID CAP_L CAP_R
.MODEL OL_SW VSWITCH(RON=1E-3 ROFF=1E12 VON=900E-3 VOFF=800E-3)
S1 CAP_L CAP_R SW_OL_OPAx196 MID OL_SW
.ENDS SW_OL_OPAx196
*
.SUBCKT VCM_CLAMP_OPAx196 VIN+ VIN- IOUT- IOUT+ VP+ VP- PARAMS: GAIN=1
G1 IOUT+ IOUT- VALUE={LIMIT(GAIN*V(VIN+,VIN-),V(VP-,VIN-), V(VP+,VIN-))}
.ENDS VCM_CLAMP_OPAx196
*
.SUBCKT VNSE_OPAx196 1 2 PARAMS: FLW=1 GLF=0.0837 RNV=266.4
.MODEL DVN D KF={PWR(FLW,0.5)/1E11} IS=1.0E-16
I1 0 7 10E-3
I2 0 8 10E-3
D1 7 0 DVN
D2 8 0 DVN
E1 3 6 7 8 {GLF}
R1 3 0 1E9
R2 3 0 1E9
R3 3 6 1E9
E2 6 4 5 0 10
R4 5 0 {RNV}
R5 5 0 {RNV}
R6 3 4 1E9
R7 4 0 1E9
E3 1 2 3 4 1
.ENDS VNSE_OPAx196
*
.SUBCKT VOS_DRIFT_OPAx196 VOS+ VOS- PARAMS: DC=1.36E-05 POL=1 DRIFT=0.5E-6
E1 VOS+ VOS- VALUE={DC+POL*DRIFT*(TEMP-27)}
.ENDS VOS_DRIFT_OPAx196
*
.SUBCKT ZO_SRC_OPAx196 VC+ VC- IOUT+ IOUT- PARAMS: GAIN=400 IPOS=50E3 INEG=-50E3
G1 IOUT+ IOUT- VALUE={LIMIT(GAIN*V(VC+,VC-),INEG,IPOS)}
.ENDS ZO_SRC_OPAx196
*
.tran 1m
.backanno
.end

* LTspice schematic (.asc):
Version 4.1
SHEET 1 1300 13184
WIRE 96 -64 32 -64
WIRE 288 -64 176 -64
WIRE -112 128 -176 128
WIRE 32 128 32 -64
WIRE 32 128 -32 128
WIRE 112 128 32 128
WIRE 288 144 288 -64
WIRE 288 144 176 144
WIRE 336 144 288 144
WIRE 112 160 32 160
WIRE -176 224 -176 128
FLAG -176 224 0
FLAG 32 240 0
FLAG 144 176 0
FLAG 144 32 0
SYMBOL OpAmps\\opamp2 144 80 R0
WINDOW 3 58 98 Left 2
SYMATTR InstName U1
SYMATTR Value OPAx196
SYMBOL res -16 112 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName Rin
SYMATTR Value 10k
SYMBOL res 192 -80 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName Rf
SYMATTR Value 300k
SYMBOL voltage 144 128 R180
WINDOW 0 24 96 Left 2
WINDOW 3 -56 79 Left 2
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V2
SYMATTR Value 20
SYMBOL voltage 32 144 R0
WINDOW 0 -68 61 Left 2
WINDOW 123 24 124 Left 2
WINDOW 39 0 0 Left 0
SYMATTR InstName V3
SYMATTR Value SINE(0.315 0.315 100k 0 0 0 10)
SYMATTR Value2 AC 0.315 0
TEXT 24 1248 Left 2 !*$\n* OPAx196\n*****************************************************************************\n* (C) Copyright 2022 Texas Instruments Incorporated. All rights reserved.                                            \n*****************************************************************************\n** This model is designed as an aid for customers of Texas Instruments.\n** TI and its licensors and suppliers make no warranties, either expressed\n** or implied, with respect to this model, including the warranties of \n** merchantability or fitness for a particular purpose.  The model is\n** provided solely on an "as is" basis.  The entire risk as to its quality\n** and performance is with the customer\n*****************************************************************************\n*\n* This model is subject to change without notice. Texas Instruments\n* Incorporated is not responsible for updating this model.\n*\n*****************************************************************************\n*\n** Released by: Online Design Tools, Texas Instruments Inc.\n* Part: OPAx196\n* Date: 29AUG2022\n* Model Type: Generic (suitable for all analysis types)\n* EVM Order Number: N/A \n* EVM Users Guide:  N/A \n* Datasheet: SBOS869 -JULY 2017\n* Created with Green-Williams-Lis Op Amp Macro-model Architecture\n*\n* Model Version: Final 1.5\n*\n*****************************************************************************\n*\n* Updates:\n*\n* Final 1.5\n* 1. Moved R_NOISELESS .model inside OPAx196 subckt.\n* 2. Updated PSpice Symbol.\n*\n* Final 1.4\n* 1. Updated the current direction(i.e. IOUT- IOUT+) of IQ_SRC block to \n*    resolve Iout current direction issue.\n* 2. Removed ESD_BB_OPAx196 block.\n* 3. Added R_DIFF element in the model.\n*\n* Final 1.3\n* 1. Modified the capacitor(C14) value from 1F to 1uF in GND Float-IQ block  \n*    to resolve the convergence issue in single and asymmetric supply test.\n* 2. Updated Aol to match the GBW as per the datasheet.\n* 3. Updated the CLAW curves to match the datasheet.\n* 4. Updated ISCp and ISCn Short Circuit Currents.\n* 5. Updated Slew Rate, CMRR DC gain and Overload Recovery \n* 6. Updated the model name from OPA196 to OPAx196.\n*\n* Final 1.2\n* Updated with unique subckt name, Vos drift, Current Noise and edits in claw block\n*\n* Final 1.1\n* Release to Web.\n*\n*****************************************************************************\n* Model Usage Notes:\n* 1. The following parameters are modeled: \n*    a. OPEN-LOOP GAIN AND PHASE VS. FREQUENCY  WITH RL, CL EFFECTS (Aol)\n*    b. UNITY GAIN BANDWIDTH (GBW)\n*    c. INPUT COMMON-MODE REJECTION RATIO VS. FREQUENCY (CMRR)\n*    d. POWER SUPPLY REJECTION RATIO VS. FREQUENCY (PSRR)\n*    e. DIFFERENTIAL INPUT IMPEDANCE (Zid)\n*    f. COMMON-MODE INPUT IMPEDANCE (Zic)\n*    g. OPEN-LOOP OUTPUT IMPEDANCE VS. FREQUENCY (Zo)\n*    h. OUTPUT CURRENT THROUGH THE SUPPLY (Iout)\n*    i. INPUT VOLTAGE NOISE DENSITY VS. FREQUENCY (en)\n*    j. INPUT CURRENT NOISE DENSITY VS. FREQUENCY (in)\n*    k. OUTPUT VOLTAGE SWING vs. OUTPUT CURRENT (Vo)\n*    l. SHORT-CIRCUIT OUTPUT CURRENT (Isc)\n*    m. QUIESCENT CURRENT (Iq)\n*    n. SETTLING TIME VS. CAPACITIVE LOAD (ts)\n*    o. SLEW RATE (SR)\n*    p. SMALL SIGNAL OVERSHOOT VS. CAPACITIVE LOAD\n*    q. LARGE SIGNAL RESPONSE\n*    r. OVERLOAD RECOVERY TIME (tor)\n*    s. INPUT BIAS CURRENT (Ib)\n*    t. INPUT OFFSET CURRENT (Ios)\n*    u. INPUT OFFSET VOLTAGE (Vos)\n*    v. INPUT OFFSET VOLTAGE VS. TEMPERATURE (Vos Drift)\n*    w. INPUT COMMON-MODE VOLTAGE RANGE (Vcm)\n*    x. INPUT OFFSET VOLTAGE VS. INPUT COMMON-MODE VOLTAGE (Vos vs. Vcm)\n*    y. INPUT/OUTPUT ESD CELLS (ESDin, ESDout)\n* 2. OPAx196 model is used for OPA196, OPA2196, OPA4196 devices, since all \n*    are similar models having different packages.\n*****************************************************************************\n.SUBCKT OPAx196 IN+ IN- VCC VEE OUT\n*****************************************************************************  \nC_C1          N24458 N24659  3.701N   \nC_C10         N37029 N37037  15.9U   \nC_C12         N39124 N39892  35.4P   \nC_C13         0 N2425309  1F   \nC_C14         0 N2425287  1U   \nC_C15         0 N2425325  1F   \nC_C16         MID N56849  1F   \nC_C17         MID N57325  1F   \nC_C18         MID N59747  1F   \nC_C19         MID N59865  1F   \nC_C2          N25921 N25929  758F   \nC_C20         MID N65579  1F   \nC_C21         MID N65697  1F   \nC_C22         MID N68774  1F   \nC_C23         N72398 MID  1F   \nC_C24         MID N72391  1F   \nC_C25         MID N81574  1P   \nC_C26         MID N81664  1P   \nC_C27         MID SW_OL_OPAx196  1N   \nC_C28         VCLP MID  1P   \nC_C29         VIMON MID  1P   \nC_C3          N27785 N27793  758F   \nC_C30         VOUT_S MID  1P   \nC_C32         MID N2419074  3.1P   \nC_C4          N32347 MID  1F   \nC_C5          CLAMP MID  790N   \nC_C59         MID N2640258  318F   \nC_C60         N2641899 N43937  636F   \nC_C61         MID N36262  4.62F    \nC_C_COM0      ESDP MID  6.4P   \nC_C_COM1      MID ESDN  6.4P   \nC_C_DIFF      ESDN ESDP  1.6P   \nE_E1          MID 0 N2425287 0 1\nE_E2          N158495 MID CL_CLAMP MID 1\nE_E3          N161937 MID OUT MID 1\nG_G1          N24458 MID ESDP MID -97.67M\nG_G12         CLAW_CLAMP MID N36262 MID -1M\nG_G13         CL_CLAMP MID CLAW_CLAMP MID -1M\nG_G15         N37029 MID CL_CLAMP N45999 -89\nG_G16         N39124 MID N37037 MID -2.4\nG_G18         VCC_B 0 VCC 0 -1\nG_G19         VEE_B 0 VEE 0 -1\nG_G2          N25415 N25397 N24659 MID -1M\nG_G20         VCC_CLP MID N72398 MID -1M\nG_G21         VEE_CLP MID N72391 MID -1M\nG_G22         N1356345 MID N1356333 MID -1\nG_G23         N1356409 MID N1356429 MID -1\nG_G26         N2419074 MID VSENSE MID -100U\nG_G27         N36262 MID N2419074 MID -1U\nG_G3          N25921 MID VEE_B MID -3.27M\nG_G4          N27785 MID VCC_B MID -3.27M\nG_G5          N28678 N28438 N27793 N25929 -1M\nG_G6          VSENSE MID CLAMP MID -1M\nG_GA13        N2641899 MID N2640138 MID -1\nG_G_ZO7       N2640128 MID N39892 MID -4\nI_I_B         N24207 MID DC 5.25P  \nI_I_OS        ESDN MID DC 2.75P  \nI_I_Q         VCC VEE DC 140U  \nR_R1          IN+ ESDP R_NOISELESS 100\nR_R10         MID N25921 R_NOISELESS 311.5\nR_R11         MID N25929 R_NOISELESS 31.11K\nR_R12         N27793 N27785 R_NOISELESS 100G\nR_R13         MID N27785 R_NOISELESS 311.5\nR_R139        N2640138 N2640128 R_NOISELESS 52.63K\nR_R14         MID N27793 R_NOISELESS 31.11K\nR_R140        N2640258 N2640138 R_NOISELESS 10K\nR_R141        MID N2640128 R_NOISELESS 1\nR_R142        N43937 N2641899 R_NOISELESS 10K\nR_R143        MID N2641899 R_NOISELESS 1\nR_R144        MID N43937 R_NOISELESS 25\nR_R145        MID N36262 R_NOISELESS 1MEG\nR_R15         N28438 N25415 R_NOISELESS 1M\nR_R16         N28678 N28438 R_NOISELESS 1K\nR_R17         N31303 ESDN R_NOISELESS 1M\nR_R18         MID N31389 R_NOISELESS 1T\nR_R19         MID N31737 R_NOISELESS 1T\nR_R2          IN- ESDN R_NOISELESS 100\nR_R20         N32236 MID R_NOISELESS 1\nR_R21         N32347 N32236 R_NOISELESS 1M\nR_R22         MID N32510 R_NOISELESS 1MEG\nR_R23         MID CLAMP R_NOISELESS 1MEG\nR_R24         MID VSENSE R_NOISELESS 1K\nR_R3          ESDP MID R_NOISELESS 1T\nR_R32         MID CLAW_CLAMP R_NOISELESS 1K\nR_R33         MID CL_CLAMP R_NOISELESS 1K\nR_R34         N37037 N37029 R_NOISELESS 10K\nR_R35         MID N37029 R_NOISELESS 1\nR_R36         MID N37037 R_NOISELESS 7.143K\nR_R4          MID ESDN R_NOISELESS 1T\nR_R40         N39892 N39124 R_NOISELESS 10K\nR_R41         MID N39124 R_NOISELESS 1\nR_R42         MID N39892 R_NOISELESS 3.333K\nR_R43         MID N46041 R_NOISELESS 1\nR_R46         VCC_B 0 R_NOISELESS 1\nR_R47         VCC_B N2425309 R_NOISELESS 1M\nR_R48         N2425309 N2425287 R_NOISELESS 1MEG\nR_R49         N2425287 0 R_NOISELESS 1T\nR_R5          MID N24458 R_NOISELESS 1\nR_R50         N2425287 N2425325 R_NOISELESS 1MEG\nR_R51         N2425325 VEE_B R_NOISELESS 1M\nR_R52         VEE_B 0 R_NOISELESS 1\nR_R53         VCC_CLP MID R_NOISELESS 1T\nR_R54         N55560 MID R_NOISELESS 1\nR_R55         N56849 N55560 R_NOISELESS 1M\nR_R56         VEE_CLP MID R_NOISELESS 1T\nR_R57         N57321 MID R_NOISELESS 1\nR_R58         N57325 N57321 R_NOISELESS 1M\nR_R59         N59739 MID R_NOISELESS 1T\nR_R6          N24659 N24458 R_NOISELESS 100MEG\nR_R60         N59743 MID R_NOISELESS 1\nR_R61         N59747 N59743 R_NOISELESS 1M\nR_R62         N59865 N59881 R_NOISELESS 1M\nR_R63         N59905 MID R_NOISELESS 1T\nR_R64         N59881 MID R_NOISELESS 1\nR_R65         N65567 MID R_NOISELESS 1T\nR_R66         N65575 MID R_NOISELESS 1\nR_R67         N65579 N65575 R_NOISELESS 1M\nR_R68         N65697 N65713 R_NOISELESS 1M\nR_R69         N65737 MID R_NOISELESS 1T\nR_R7          MID N24659 R_NOISELESS 102.4\nR_R70         N65713 MID R_NOISELESS 1\nR_R71         N68774 VSENSE R_NOISELESS 1M\nR_R72         VCC_B N72064 R_NOISELESS 1K\nR_R73         N72064 N72398 R_NOISELESS 1M\nR_R74         N72073 VEE_B R_NOISELESS 1K\nR_R75         N72073 N72391 R_NOISELESS 1M\nR_R76         MID VCC_CLP R_NOISELESS 1K\nR_R77         VEE_CLP MID R_NOISELESS 1K\nR_R78         N1356409 MID R_NOISELESS 1\nR_R79         N1356345 MID R_NOISELESS 1\nR_R8          N25415 N25397 R_NOISELESS 1K\nR_R80         V11 N81574 R_NOISELESS 100\nR_R81         V12 N81664 R_NOISELESS 100\nR_R82         N81756 MID R_NOISELESS 1\nR_R83         N81756 SW_OL_OPAx196 R_NOISELESS 100\nR_R84         N158495 VCLP R_NOISELESS 100\nR_R89         MID N2419074 R_NOISELESS 10K\nR_R9          N25929 N25921 R_NOISELESS 100G\nR_R_DIFF      ESDN ESDP R_NOISELESS 100MEG\nR_RDUMMY      MID N45999 R_NOISELESS 33K\nR_RX          N45999 N46041 R_NOISELESS 330K\nR_RX1         MID N161737 R_NOISELESS 1T\nR_RX2         VIMON N161737 R_NOISELESS 100\nR_RX3         MID N161937 R_NOISELESS 1T\nR_RX4         VOUT_S N161937 R_NOISELESS 100\nV_VCM_MAX     N31389 VCC_B 100M\nV_VCM_MIN     N31737 VEE_B -100M\nV_V_GRN       N65737 MID -255\nV_V_GRP       N65567 MID 270\nV_V_ISCN      N59905 MID -65\nV_V_ISCP      N59739 MID 70.2\nV_V_ORN       N1356333 VCLP -3\nV_V_ORP       N1356429 VCLP 6.6\nX_H1          N45999 OUT N161737 MID BLOCK_DC_H1_OPAx196 \nX_H2          N1356115 N1356409 V12 MID BLOCK_DC_H2_OPAx196 \nX_H3          N1356061 N1356345 V11 MID BLOCK_DC_H3_OPAx196 \nX_S1          N1356061 CLAMP N1356061 CLAMP BLOCK_DC_S1_OPAx196 \nX_S2          CLAMP N1356115 CLAMP N1356115 BLOCK_DC_S2_OPAx196 \nX_U1          ESDP N24207 VNSE_OPAx196  PARAMS: FLW=1 GLF=0.0837 RNV=266.4\nX_U10         VCC_CLP VEE_CLP VOUT_S MID N55560 N57321 CLAMP_AMP_LO_OPAx196 \n+  PARAMS: G=1\nX_U11         N59739 N59905 VIMON MID N59743 N59881 CLAMP_AMP_LO_OPAx196 \n+  PARAMS: G=1\nX_U12         N65567 N65737 N68774 MID N65575 N65713 CLAMP_AMP_HI_OPAx196 \n+  PARAMS: G=10\nX_U16         MID N81756 N81574 N81664 OL_SENSE_OPAx196 \nX_U18         VIMON MID N72064 VCC_B CLAWP_OPAx196 \nX_U19         MID VIMON VEE_B N72073 CLAWN_OPAx196\nX_U21         OUT VCC VEE ESD_OUT_OPAx196 \nX_U22         N59747 N59865 CL_CLAMP MID CL_SRC_OPAx196  PARAMS: GAIN=1\n+  IPOS=1.1E1 INEG=-1.1E1\nX_U23         N65579 N65697 CLAMP MID GR_SRC_OPAx196  PARAMS: GAIN=1 IPOS=15E1\n+  INEG=-11.6E1\nX_U25         SW_OL_OPAx196 MID N37029 N37037 SW_OL_OPAx196 \nX_U26         VIMON MID MID VCC IQ_SRC_OPAx196  PARAMS: GAIN=1E-3\nX_U27         MID VIMON VEE MID IQ_SRC_OPAx196  PARAMS: GAIN=1E-3\nX_U30         N32347 N31303 MID N32510 AOL_1_OPAx196  PARAMS: GAIN=1E-4 IPOS=.5\n+  INEG=-.5\nX_U31         N32510 MID MID CLAMP AOL_2_OPAx196  PARAMS: GAIN=150E-3 IPOS=7.07\n+  INEG=-5.24\nX_U32         N43937 MID MID N46041 ZO_SRC_OPAx196  PARAMS: GAIN=400 IPOS=50E3\n+  INEG=-50E3\nX_U35         N56849 N57325 CLAW_CLAMP MID CLAW_SRC_OPAx196  PARAMS: GAIN=1\n+  IPOS=0.54E1 INEG=-0.51E1\nX_U36         N24207 MID FEMT_OPAx196  PARAMS: NVRF=1.5\nX_U37         ESDN MID FEMT_OPAx196  PARAMS: NVRF=1.5\nX_U4          N25397 N24207 VOS_DRIFT_OPAx196  PARAMS: DC=1.36E-05 POL=1\n+  DRIFT=0.5E-6\nX_U5          ESDN ESDP VCC VEE ESD_IN_OPAx196 \nX_U6          N28678 MID N32236 MID N31389 N31737 VCM_CLAMP_OPAx196  PARAMS:\n+  GAIN=1\n.MODEL R_NOISELESS RES (T_ABS=-273.15)\n.ENDS OPAx196\n*\n.SUBCKT BLOCK_DC_H1_OPAx196 1 2 3 4  \nH_H1         3 4 VH_H1 1K\nVH_H1         1 2 0V\n.ENDS  BLOCK_DC_H1_OPAx196\n*\n.SUBCKT BLOCK_DC_H2_OPAx196 1 2 3 4  \nH_H2         3 4 VH_H2 1\nVH_H2         1 2 0V\n.ENDS  BLOCK_DC_H2_OPAx196\n*\n.SUBCKT BLOCK_DC_H3_OPAx196 1 2 3 4  \nH_H3         3 4 VH_H3 -1\nVH_H3         1 2 0V\n.ENDS  BLOCK_DC_H3_OPAx196\n*\n.SUBCKT BLOCK_DC_S1_OPAx196 1 2 3 4  \nS_S1         3 4 1 2 _S1\nRS_S1         1 2 1G\n.MODEL         _S1 VSWITCH ROFF=1E12 RON=10M VOFF=0.0V VON=10MV\n.ENDS  BLOCK_DC_S1_OPAx196\n*\n.SUBCKT BLOCK_DC_S2_OPAx196 1 2 3 4  \nS_S2         3 4 1 2 _S2\nRS_S2         1 2 1G\n.MODEL         _S2 VSWITCH ROFF=1E12 RON=10M VOFF=0.0V VON=10MV\n.ENDS  BLOCK_DC_S2_OPAx196\n*\n.SUBCKT AOL_1_OPAx196  VC+ VC- IOUT+ IOUT- PARAMS: GAIN=1E-4 IPOS=.5 INEG=-.5\nG1 IOUT+ IOUT- VALUE={LIMIT(GAIN*V(VC+,VC-),INEG,IPOS)}\n.ENDS  AOL_1_OPAx196\n*\n.SUBCKT AOL_2_OPAx196  VC+ VC- IOUT+ IOUT- PARAMS: GAIN=150E-3 IPOS=7.07 INEG=-5.24\nG1 IOUT+ IOUT- VALUE={LIMIT(GAIN*V(VC+,VC-),INEG,IPOS)}\n.ENDS  AOL_2_OPAx196\n*\n.SUBCKT CLAMP_AMP_HI_OPAx196  VC+ VC- VIN COM VO+ VO- PARAMS: G=10\nGVO+ COM VO+ VALUE = {IF(V(VIN,COM)>V(VC+,COM),((V(VIN,COM)-V(VC+,COM))*G),0)}\nGVO- COM VO- VALUE = {IF(V(VIN,COM)<V(VC-,COM),((V(VC-,COM)-V(VIN,COM))*G),0)}\n.ENDS  CLAMP_AMP_HI_OPAx196\n*\n.SUBCKT CLAMP_AMP_LO_OPAx196  VC+ VC- VIN COM VO+ VO- PARAMS: G=1\nGVO+ COM VO+ VALUE = {IF(V(VIN,COM)>V(VC+,COM),((V(VIN,COM)-V(VC+,COM))*G),0)}\nGVO- COM VO- VALUE = {IF(V(VIN,COM)<V(VC-,COM),((V(VC-,COM)-V(VIN,COM))*G),0)}\n.ENDS  CLAMP_AMP_LO_OPAx196\n*\n.SUBCKT CLAWN_OPAx196  VC+ VC- IOUT+ IOUT-\nG1 IOUT+ IOUT- TABLE {(V(VC+,VC-))} =\n+(0,     7.56E-06)\n+(21.86, 9.32E-04)\n+(45.58, 2.17E-03)\n+(62.79, 3.08E-03)\n+(65,    1.64E-02)\n.ENDS  CLAWN_OPAx196\n*\n.SUBCKT CLAWP_OPAx196  VC+ VC- IOUT+ IOUT-\nG1 IOUT+ IOUT- TABLE {(V(VC+,VC-))} =\n+(0,    1.089E-05)\n+(15.22, 6.32E-04)\n+(36.29, 1.62E-03)\n+(55.73, 2.87E-03)\n+(65.80, 3.86E-03)\n+(69.08, 4.45E-03)\n+(70.20, 1.79E-02)\n.ENDS  CLAWP_OPAx196\n*\n.SUBCKT CLAW_SRC_OPAx196  VC+ VC- IOUT+ IOUT- PARAMS: GAIN=1 IPOS=0.54E1 INEG=-0.51E1\nG1 IOUT+ IOUT- VALUE={LIMIT(GAIN*V(VC+,VC-),INEG,IPOS)}\n.ENDS  CLAW_SRC_OPAx196\n*\n.SUBCKT CL_SRC_OPAx196  VC+ VC- IOUT+ IOUT- PARAMS: GAIN=1 IPOS=1.1E1 INEG=-1.1E1\nG1 IOUT+ IOUT- VALUE={LIMIT(GAIN*V(VC+,VC-),INEG,IPOS)}\n.ENDS  CL_SRC_OPAx196\n*\n.SUBCKT ESD_IN_OPAx196  ESDN ESDP VCC VEE\n.MODEL ESD_SW VSWITCH(RON=50 ROFF=1E12 VON=700E-3 VOFF=100E-3)\nS1 ESDN VCC ESDN VCC ESD_SW\nS2 ESDP VCC ESDP VCC ESD_SW\nS3 VEE ESDN VEE ESDN ESD_SW\nS4 VEE ESDP VEE ESDP ESD_SW\n.ENDS  ESD_IN_OPAx196\n*\n.SUBCKT ESD_OUT_OPAx196  OUT VCC VEE\n.MODEL ESD_SW VSWITCH(RON=50 ROFF=1E12 VON=700E-3 VOFF=100E-3)\nS1 OUT VCC OUT VCC ESD_SW\nS2 VEE OUT VEE OUT ESD_SW\n.ENDS  ESD_OUT_OPAx196\n*\n.SUBCKT FEMT_OPAx196  1 2 PARAMS: NVRF=1.5\nE1 3 0 5 0 10\nR1 5 0 {1.184*PWR(NVRF,2)}\nR2 5 0 {1.184*PWR(NVRF,2)}\nG1 1 2 3 0 1E-6\n.ENDS  FEMT_OPAx196\n*\n.SUBCKT GR_SRC_OPAx196  VC+ VC- IOUT+ IOUT- PARAMS: GAIN=1 IPOS=15E1 INEG=-10.6E1\nG1 IOUT+ IOUT- VALUE={LIMIT(GAIN*V(VC+,VC-),INEG,IPOS)}\n.ENDS  GR_SRC_OPAx196\n*\n.SUBCKT IQ_SRC_OPAx196  VC+ VC- IOUT+ IOUT- PARAMS: GAIN=1E-3\nG1 IOUT- IOUT+ VALUE={IF( (V(VC+,VC-)<=0),0,GAIN*V(VC+,VC-) )}\n.ENDS  IQ_SRC_OPAx196\n*\n.SUBCKT OL_SENSE_OPAx196  1  2  3  4\nGSW+ 1 2 VALUE = {IF((V(3,1)>10E-3 | V(4,1)>10E-3),1,0)}\n.ENDS  OL_SENSE_OPAx196\n*\n.SUBCKT SW_OL_OPAx196  SW_OL_OPAx196 MID CAP_L CAP_R\n.MODEL OL_SW VSWITCH(RON=1E-3 ROFF=1E12 VON=900E-3 VOFF=800E-3)\nS1 CAP_L CAP_R SW_OL_OPAx196 MID OL_SW\n.ENDS  SW_OL_OPAx196\n*\n.SUBCKT VCM_CLAMP_OPAx196  VIN+ VIN- IOUT- IOUT+ VP+ VP- PARAMS: GAIN=1\nG1 IOUT+ IOUT- VALUE={LIMIT(GAIN*V(VIN+,VIN-),V(VP-,VIN-), V(VP+,VIN-))}\n.ENDS  VCM_CLAMP_OPAx196\n*\n.SUBCKT VNSE_OPAx196  1 2 PARAMS: FLW=1 GLF=0.0837 RNV=266.4\n.MODEL DVN D KF={PWR(FLW,0.5)/1E11} IS=1.0E-16\nI1 0 7 10E-3\nI2 0 8 10E-3\nD1 7 0 DVN\nD2 8 0 DVN\nE1 3 6 7 8 {GLF}\nR1 3 0 1E9\nR2 3 0 1E9\nR3 3 6 1E9\nE2 6 4 5 0 10\nR4 5 0 {RNV}\nR5 5 0 {RNV}\nR6 3 4 1E9\nR7 4 0 1E9\nE3 1 2 3 4 1\n.ENDS  VNSE_OPAx196\n*\n.SUBCKT VOS_DRIFT_OPAx196  VOS+ VOS- PARAMS: DC=1.36E-05 POL=1 DRIFT=0.5E-6\nE1 VOS+ VOS- VALUE={DC+POL*DRIFT*(TEMP-27)}\n.ENDS  VOS_DRIFT_OPAx196\n*\n.SUBCKT ZO_SRC_OPAx196  VC+ VC- IOUT+ IOUT- PARAMS: GAIN=400 IPOS=50E3 INEG=-50E3\nG1 IOUT+ IOUT- VALUE={LIMIT(GAIN*V(VC+,VC-),INEG,IPOS)}\n.ENDS  ZO_SRC_OPAx196\n*
TEXT -192 13168 Left 2 !.tran 1m