Manuals >Reference >SPICE Simulators
Print version of this Book (PDF file)
prevnext

SPICE Simulation Example

The circuit description is predefined for all IC-CAP configuration files. Enter this description if a new model is being defined; edit the description to fit specific needs. The syntax is identical to the syntax used for describing circuits in a typical SPICE simulation deck.

This simulation example will use the IC-CAP supplied Model bjt_npn.mdl.

  1   Select the simulator by choosing Tools > Options > Select Simulator > spice2. Choose OK.

  2   Choose File > Open > bjt_npn.mdl. Choose OK.

  3   View the circuit description by clicking the Circuit tab.

The circuit description is shown in Figure 7. This deck describes the circuit (in this case, a single device) to be used in the simulation.

  4   To view input and output for the fearly setup, click the DUTs-Setups tab and select fearly.

The Measure/Simulate folder appears with the inputs vb, vc, ve, and vs, and the output ic. The vc input specifies a voltage source at node C that sweeps linearly from 0 to 5V in 21 steps. The ic output specifies that current at node C be monitored.

In the Plots folder, icvsvc is specified so that the results of the simulation can be viewed graphically.

  5   To simulate, click the Simulate button in the Measure/Simulate folder. The Status line displays Simulate in progress.

When the simulation is complete, the Status line displays IC-CAP Ready.

  6   To view the results of the simulation, display the Plots folder and click Display Plot. The plot displays measured data represented by solid lines and simulated data represented by dashed lines.


Note


For syntax examples of running a remote simulation, refer to "Remote Simulation Examples" in the User's Guide.


 Q1   1 = C 2 = B 3 = E 4 = S NPN AREA = 1.0
.MODEL NPN NPN
+ IS = 36.76e-18 
+ BF = 336.1 
+ NF = 1.003 
+ VAF = 35.25
+ IKF = 22.07m 
+ ISE = 1.882f 
+ NE = 1.932 
+ BR = 4.103
+ NR = 1.005 
+ VAR = 1.651 
+ IKR = 147.3u 
+ ISC = 15.69f
+ NC = 1.857 
+ RB = 522.0 
+ IRB = 61.43u 
+ RBM = 1.000m
+ RE = 8.435 
+ RC = 57.05 
+ XTB = 1.700 
+ EG = 1.110
+ XTI = 3.000 
+ CJE = 44.06f 
+ VJE = 871.7m 
+ MJE = 429.9m
+ TF = 10.49p 
+ TR = 1.700m 
+ XTF = 247.4 
+ VTF = 1.622
+ ITF = 140.6m 
+ PTF = 218.8 
+ CJC = 68.94f 
+ VJC = 603.8m
+ MJC = 290.6m 
+ XCJC = 300.0m 
+ TR = 1.700n 
+ CJS = 111.9f
+ VJS = 465.0m 
+ MJS = 241.9m 
+ FC = 500.0m
Figure 7 Circuit Description Deck for an NPN Bipolar Transistor

prevnext