Kla's Blog

November 7, 2015

LabVIEW Spice Level 3 Simulation Exercise

Filed under: MOSFET Models — kla @ 7:26 pm

In this project, we obtain Level 3 SPICE simulation parameters from measured data of our device, and apply them to the following basic circuit. Level 3 variations are given extensive considerations.

DCsweep, Transfer Characteristics, and Output Characteristics measurements are made on our project circuit, which follows. Rb is made a smaller value for Xfer and Output characteristics, for example about 1k.

circuit

NMOS is from this chip, pins 6, 7, and 8.

chip

Measured data are stored as Global Variables.

dataGlobal

Parameters – Extraction always uses the Level 3 Version as to be applied. The 1 selection applies to the simulation step shown just below. It selects by way of the Global Variable sw (binary) K= 1 or K=KAPPA, for AIM spice or LTspice, respectively, for the Ep form. (PSpice uses KAPPA.) The button param when selected to binary 1 sends a parameter file for the simulators. Upper UCRIT vales are for K = KAPPA, lower values are selected for K = 1.

curvefit

Capture

Ep is used in the final Level 3 simulator stage. An alternative is to assign Ep according to other uses, including Ep = 0.

Capture

Curve fit to xfer characteristic X, for UO, sum. Slope fit finds VTO.

Capture

Slope fit to oc, sat region, finds KAPPA.

Capture

Sample NMOS Parameters – This runs under N_P_pars.vi above.

Capture

Measured amp data, Global Variable, DCSweep, sample.

Capture

DCsweep with Level 3 simulation. Note that Data oc is approximately mid range to the application range. Here, the LabVIEW simulator uses Ep = 0 (lc = 0) or Ep = Vdsat/Leff, with similar results. This is equivalent to basic Level 3 (VMAX = 0) for the output (channel-length modulation) but here, the effect of velocity-saturation effect is still present.
CaptureCapture

Following are Simulations comparing LabVIEW with AIM spice and LTspice, based on their respective versions of Level 3 SPICE. The simulators are discussed, for example, here. In the above LabVIEW simulation, Ep = Vdsat/Leff.

aim_lvlt_lv

Compare simulation, LTspice, with data, and AIM spice with data.

lt_dataaim_data

Create a free website or blog at WordPress.com.