19.12.2013 Views

Laboratory Manual - King Fahd University of Petroleum and Minerals

Laboratory Manual - King Fahd University of Petroleum and Minerals

Laboratory Manual - King Fahd University of Petroleum and Minerals

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Detailed model parameters are provided in Table 2.<br />

MOS Field Effect Transistor<br />

The n-channel <strong>and</strong> p-channel MOSFET element models are given in Figure 3. The<br />

element statement format is<br />

Mname ND NG NS NB MNAME W=VALW L=VALL<br />

ND<br />

ND<br />

NG<br />

NB<br />

NG<br />

NB<br />

NS<br />

NS<br />

5<br />

NMOS<br />

PMOS<br />

Figure 3: MOSFET types.<br />

The associated model statements is for N-channel<br />

.MODEL MNAME NMOS [PNAME1=PVAL1 PNAME2=PVAL2…]<br />

<strong>and</strong> for P-channel<br />

.MODEL MNAME PMOS[PNAME1=PVAL1 PNAME2=PVAL2…]<br />

Detailed model parameters are provided in Table 3. Note that the default values for the<br />

gate length, VALL, <strong>and</strong> the gate width, VALW, are 1cm. Obviously, these are not<br />

realistic values; however, the model uses the ratio <strong>of</strong> VALL <strong>and</strong> VALW rather than the<br />

individual values in its calculations.<br />

CONTROL COMMANDS<br />

.OP<br />

The inclusion <strong>of</strong> the statement .OP makes SPICE perform DC analysis to find the<br />

operating point <strong>of</strong> the circuit.<br />

.AC Sweep-mode NP START STOP<br />

The .AC control statement is used to perform ac analysis on a circuit <strong>and</strong> provide<br />

data for frequency response plotting.<br />

Where Sweep-mode is one <strong>of</strong> the keywords that’s indicates the frequency<br />

variation by decade (DEC), by octave (OCT), or linearly (LIN).<br />

NP is the number <strong>of</strong> points per sweep-mode;<br />

FSTART is the starting frequency. FSTART cannot be zero.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!