This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

OPA380 PSPICE simulation in Orcad Capture

Other Parts Discussed in Thread: OPA380

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 

  • Hi Simon, 

    I went to the TI product web page and installed the Pspice model that you reference in your post. When I open that project and run the simulations, I am able to get results and do not see any errors.

    Are you running this file and seeing the errors when you run the simulation or do you see the errors when running a simulation you created? If this is the case, could you share your simulation.

    If you are running the simulation from the zip folder that you downloaded from the project page, could you open the pspice model by right clicking on the OPA380 and selecting "View Pspice Model". The model I am running, is last updated in June 2011, can you confirm that you are using this same model?

    Thanks,

    Nick

  • Hello Nick,

    firstly thanks you for your reply. 

    I tried now with the provided test simulation but it is not working too with the same error. 

    I use the full version of Orcad Capture / Pspice while I see you are using Pspice for TI. However I think it should work on the two versions ? 

    thanks you for your help,

    Simon

  • Hi Simon,

    You are correct, you should not be seeing any error whether you are using the full version of Pspice versus Pspice for TI. Can you provide the simulation file that you are trying to run so in order to confirm that you are running the latest model for the OPA380?

    Thanks,

    Nick

  • Hello Nick, 

    thanks you for your reply. I actually have the same version as yours and I installed Pspice for TI and it work well. In full version, when  I use external library like the one for opa380, should I do so installation or some procedure to add it ? 

    thanks a lot for your help,

    Simon 

  • Hi Simon,

    Thank you for providing more details about how you are simulating. 

    Have you followed the steps in this FAQ (here) for adding TI models to the commercial version of Pspice? Please let me know if you have taken these steps or these steps do not resolve the issue.

    Thanks,

    Nick

  • Hello Nick, 

    thanks you for your answer. Actually I looked the FAQ but I don't have the "Add models" windows. However I can add library in an other windows. I will try to contact Orcad for this issue. Thanks for your help, Have a nice day, Simon 

  • Hi Simon,

    The "Add models" window wasn't available even after you opened any design file? 

    Thanks,

    Nick

  • Hello Nick,

    Sorry for my late answer but I was abroad with limited access. 

    Not here but in another windows. 

    I tried to install other library from TI and it works. I ll try to uninstall the software and any link with OPA380 and try again. 

    Thanks you for your help, 

    Have a nice day, 

    Simon 

  • Hi Simon,

    Please let me know if the issue persists after trying this.

    Thanks,

    Nick