Electrical – How to use a subcircuit in capture / spice

igbtorcadspicesubcircuit

I am wondering how to add an IGBT .subckt file to a schematic in Orcad Capture. I already found out that if you have an '.NIGBT' model, you can use the Breakout library.
But I cannot find out how to use models that are provided via a .subckt such as the one below from International Rectifier:

.SUBCKT irg4ph50ud  1 2 3
**************************************
*      Model Generated by MODPEX     *
*Copyright(c) Symmetry Design Systems*
*         All Rights Reserved        *
*    UNPUBLISHED LICENSED SOFTWARE   *
*   Contains Proprietary Information *
*      Which is The Property of      *
*     SYMMETRY OR ITS LICENSORS      *
*Commercial Use or Resale Restricted *
*   by Symmetry License Agreement    *
**************************************
*Model generated on Dec  2, 97
* MODEL FORMAT: SPICE3
*Symmetry IGBT Model (Version 1.0)
*External Node Designations
*Node 1 -> C
*Node 2 -> G
*Node 3 -> E
M1 9 6 8 8 MSUB L=100u W=100u
* Default values used in MSUB:
* The voltage-dependent capacitances are
* not included. Other default values are:
*   RD=0 RS=0 LD=0 CBD=0 CBS=0 CGBO=0
.MODEL MSUB NMOS LEVEL=1
+VTO=4 KP=0.5 LAMBDA=0 CGSO=3.65971e-05
RD 7 9 0.001
RS 4 8 0.001
D1 3 1 d4ph50u
.MODEL d4ph50u d
+IS=3.82367e-11 RS=0.105288 N=2 EG=1.19013
+XTI=0.5 BV=1200 IBV=0.00025 CJO=1e-11
+VJ=0.7 M=0.5 FC=0.5 TT=1e-09
+KF=0 AF=1
Q1 4 7 1 QSUB OFF
.MODEL QSUB PNP
+IS=1e-16 BF=10 NF=1 VAF=100
+IKF=1000 ISE=1e-11 NE=2 BR=1
+NR=1 VAR=100 IKR=1000 ISC=1e-11
+NC=2 RB=0.1 IRB=1000 RBM=0.01
+RE=0.001 RC=0.001 XTB=0 XTI=3
+EG=1.16989 CJC=3.64714e-09 VJC=0.878241 MJC=0.9
+CJE=7.29428e-08 VJE=0.4 MJE=0.9 TF=3.04597e-11
RDS 7 4 1e8
RER 4 3 0.01
RG 6 2 6.18923
RL 10 11 1
D2 12 11 DCAP
* Default values used in DCAP:
*   RS=0 EG=1.11 XTI=3.0 TT=0
*   BV=infinite IBV=1mA
.MODEL DCAP D IS=1e-32 N=50
+CJO=5.60567e-09 VJ=0.4 M=0.9 FC=0.5
D3 0 11 DL
* Default values used in DL:
*   EG=1.11 XTI=3.0 TT=0 CJO=0
*   RS=0 BV=infinite IBV=1mA
.MODEL DL D IS=1e-10 N=0.4
VFI2 12 0 0
FI2 6 7 VFI2 -1
EV 10 0 7 6 1
CAP 10 13 6.81948e-09
RCAP 10 14 1
D4 0 14 DL
VFI1 13 14 0
FI1 6 7 VFI1 -1
.ENDS irg4ph50ud

Best Answer

In LTSpice I would put the sub-circuit definition into a file and call the file IGBT.lib. On the schematic add the generic NIGBT component (ie the symbol), then edit its value to be the same as the sub-circuit definition, ie irg4ph50ud. Then add a dot command to include the library, ie .lib IBGT.lib