Hello everyone,
I'am writing about simulation issue of OPA380 TI in Orcad Capture.
I tried to do simulation with pspice but the error is the following (in bold at the end):
-----------------------
Log file :
-----------------------
**** 02/11/24 13:11:03 *** PSpice 23.1.0 (15 November 2023) *** ID# 0 ********
** Profile: "SCHEMATIC1-testsim" [ C:\Users\simon\OneDrive - Frabelfin sprl\Bureau\Capture Project\OPA380Test-PSpiceFiles\SCHEMATIC
**** CIRCUIT DESCRIPTION
******************************************************************************
** Creating circuit file "testsim.cir"
** WARNING: THIS AUTOMATICALLY GENERATED FILE MAY BE OVERWRITTEN BY SUBSEQUENT SIMULATIONS
*Libraries:
* Profile Libraries :
* Local Libraries :
* From [PSPICE NETLIST] section of C:\Users\simon\AppData\Roaming\SPB_Data\cdssetup\OrCAD_PSpice\23.1.0\PSpice.ini file:
.lib "C:\Cadence\OrCADX_23.1\tools\capture\library\pspice\OTI OPA380\OPA380.LIB"
.lib "nom.lib"
*Analysis directives:
.TRAN 0 10u 0 1n
.OPTIONS ADVCONV
.PROBE64 V(alias(*)) I(alias(*)) W(alias(*)) D(alias(*)) NOISE(alias(*))
.INC "..\SCHEMATIC1.net"
**** INCLUDING SCHEMATIC1.net ****
* source OPA380TEST
X_U1 N00415 N00215 0 N00408 N00579 OPA380
I_I1 N00215 0 DC 100pAdc
I_I2 N00215 0 DC 0Adc AC 0Aac
+PULSE 0 100n 0 0 0 1u 2u
R_R1 0 N00215 10000k TC=0,0
C_C1 0 N00215 15p TC=0,0
V_V1 N00415 GND 0.5Vdc
V_V2 N00408 GND 5Vdc
R_R2 N00215 N00579 100k TC=0,0
C_C2 N00215 N00579 5p TC=0,0
R_R3 N00579 0 1k TC=0,0
**** RESUMING testsim.cir ****
.END
R314 112 73 1E9
R316 9 122 100E3
C69 122 3 75E-12
C70 21 9 67E-12
R318 123 21 900E3
R320 2 123 100E3
C72 123 6 115E-15
V118 113 75 0.4
R325 20 33 1E9
R326 32 33 1E9
R327 29 32 1E9
R328 3 29 1E9
I49 99 105 2E-3
I50 112 64 360E-6
I51 51 16 37.5E-6
I52 39 45 20E-6
C74 59 21 0.1E-12
G36 80 0 124 0 10E-12
I53 80 0 3E-12
I54 0 125 1E-3
D67 125 0 DD
V120 125 126 0.7
R329 0 126 1E6
E98 127 0 126 0 -571
R330 0 127 1E6
R331 128 127 1E3
G37 20 0 124 0 10E-12
I55 20 0 3E-12
R332 0 129 1E6
V121 130 0 73.5
D68 131 129 DD
D69 128 129 DD
R333 131 130 1E3
V122 129 132 72.8
R334 0 132 1E6
E99 124 0 132 0 1.5
R335 0 124 1E6
V123 90 122 -15E-3
R338 39 15 1E9
R339 16 45 1E9
R340 11 36 1E9
R341 10 38 1E9
R343 51 15 1E9
R344 34 9 100E3
R345 94 75 50E3
.MODEL DVN D KF=2E-11 IS=1E-16
.MODEL DD D
.MODEL DIN D
.MODEL QLN NPN
.MODEL QLP PNP
.MODEL JNC NJF
.MODEL JC NJF IS=1E-18
.MODEL JE NJF IS=1E-17
.MODEL POUT PMOS KP=200U VTO=-0.7
.MODEL NOUT NMOS KP=200U VTO=0.7
.MODEL PIN PMOS KP=200U VTO=-0.7
.MODEL NIN NMOS KP=200U VTO=0.7
.END
$
ERROR(ORPSIM-16363): Command invalid in subcircuit
----$
ERROR(ORPSIM-16499): Missing .ENDS in .SUBCKT
----------------------------------------
End of log file
--------------------------------------
I used the library provided by TI at the following page :
https://www.ti.com/product/OPA380
and clicked on :
OPA380 PSpice Model (Rev. B)
However when I start the simulation I get these two errors.
Is someone could help me with this ?
A big thanks you for your time,
Have a nice day,
Simon