0% found this document useful (0 votes)
47 views2 pages

University of Pennsylvania: .Model Modname Type (Parameter Values)

This document provides information about simulating transistors using SPICE. It explains that semiconductor devices are defined using two command lines, with the first specifying the element and the second specifying the model. The model statement syntax is shown for bipolar transistors (NPN, PNP) and MOSFETs (NMOS, PMOS) along with typical parameter values. An example SPICE simulation is given for an NPN transistor amplifier circuit to calculate operating point, small signal gain, and input resistance.

Uploaded by

Sumanth Babu
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
47 views2 pages

University of Pennsylvania: .Model Modname Type (Parameter Values)

This document provides information about simulating transistors using SPICE. It explains that semiconductor devices are defined using two command lines, with the first specifying the element and the second specifying the model. The model statement syntax is shown for bipolar transistors (NPN, PNP) and MOSFETs (NMOS, PMOS) along with typical parameter values. An example SPICE simulation is given for an NPN transistor amplifier circuit to calculate operating point, small signal gain, and input resistance.

Uploaded by

Sumanth Babu
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

1/6/13

Trans.spice

UNIVERSITY of PENNSYLVANIA
DEPARTMENT OF ELECTRICAL ENGINEERING
Spice simulation of Transistors
All semiconductor devices are specified by using two command lines. The first statement defines the element
and the second one is the model statement.
The syntax for the model statement is:
.MODEL MODName Type (parameter values)

MODName is the name of the model for the device.. The Type refers to the type of device and can be any of
the following:
NPN: npn bipolar transistor
PNP: pnp bipolar transistor
NMOS: nmos transistor
PMOS: pmos transistor
The parameter values specify the device characteristics as explained below.
Bipolar transistors
Element:
Qname C B E BJT_modelName

The bipolar transistor's name has to start with a Q


Model statement:
.MODEL BJT_modName NPN (BF=val IS=val VAF=val)

in which BF is the , IS is the saturation current and VAF is the Early voltage. If no values are specified, the
default values are assumed (=100; IS=1e-16A, and VAF=infinite).
MOSFETS
Element:
Mname D G S B ModName L= W=

The MOS transistor's name has to start with a M


Model statement:
.MODEL ModName NMOS (KP= VT0= lambda= gamma=)

www.seas.upenn.edu/~jan/spice/spice.transistor.html

1/2

1/6/13

Trans.spice

in which KP=uCox. The default values are KP=20uA/V2; and the rest is equal to 0.
Example of a NPN Transistor Amplifier
Consider the circuit of the figure below. We are interested in finding the DC voltages and current, as well as the
voltage gain and the input resistance seen by the input source.

*** Example of a NPN transistor


vin 1 0 ac 1
rs 1 2 1
c1 2 3 100uf
rb 5 3 465k
rc 5 4 3k
vcc 5 0 dc 10
q1 4 3 0 npn-trans
.model npn-trans npn (is=2e-15 bf=100 vaf=200)
*calculation of the operating point and small signal parameters
.op
*calculation of the small signal gain
.ac dec 10 100 10k
.plot ac vm(4)
* cacluations of the small signal input conductance (i/v)
.plot ac im(vin)
.end

Back to Spice Guidelines


Jan Van der Spiegel;
[email protected]
Created Sept. 30, 1995; Updated Aug. 1, 1995

www.seas.upenn.edu/~jan/spice/spice.transistor.html

2/2

You might also like