Kla's Blog

April 28, 2017

LabVIEW MOSFET Simulation Model Generation by Curve Fit

Filed under: MOSFET Models — kla @ 8:54 pm

Part I

For the equivalent of data as would be obtained from chip measurements, data are generated using the EKV simulator with the goal of obtaining Level 3 simulator model parameters. An example follows, based on the LabVIEW simulator. These plots could also be obtained, for example, from LTspice.

 

The plot is saved as a Cluster Global Variable, as shown.

Data vi

Here is a curve-fitting simulation computer with an example input from the data. This is for UO, and since parameter vb depends on UO, it must be updated with UO as shown.

NMOS Parameter Extractor

The three iteration files are in series in a loop. The Loop halts when the change of UO is small as set as 100 u. 

UO

Iteration – Variable vx is a generalization and is UO in this example. Loop runs until deltaUO (per loop) is less than 1 u.

Iteration function. Function f sum value is the mean difference between points, relative.

Global Variables UO and vb (Level 3 parameter) are contained in ICON UO vb. Level 3 simulator in the Loop uses these variables from Global Variables. Loop runs for all index values. Two plots are compared lower, right (above plots).

Sum – Slope

UO uses f sum, and halts for an assigned minimum value. The sum is the mean of the relative difference of points, thus relative to one. The indicator in the plot is the difference in drain currents, mean. The fact that this is not a constant value versus vg is an indication of a difference between Level 3 and EKV.

The slope function  is a LabVIEW straight-line curve fit to the difference of the two plots, ekv and Level 3 in this example.

VTO Function – Slope Fit

KAPPA – Slope Fit

Index for the beginning of the saturation region is computed as shown here.

Complete OC simulation. NMOS.

PMOS

Parameters

VMAX, TOX, NSUB and THETA  are assigned. ETA = 0 gives the best fit.

April 26, 2017

MOSFET Level 3 Spice MOSFET Circuit Simulation with LabVIEW and LTspice – Part II

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

Follows Part I

Level 3 Simulator Detail

Create Global Variable VI with basic physical parameters. These are assigned and computed for 27 C. Go to (EKV) v262 in right column for example of temperature dependence.

Assign parameters and compute parameters based on NSUB.

All parameters are sent to simulator as Global Variables.

Parameters Set

NMOS Basic Level 3 Simulator (VMAX = 0, i.e., no carrier velocity saturation is included).

MOSFET Level 3 Spice MOSFET Circuit Simulation with LabVIEW and LTspice – Part I

Filed under: MOSFET Models — kla @ 2:12 pm

Common-Source Gain Stage

Newton-Raphson Root Finder – Two branches with one node. Find vgn and vo.

Iteration  Function

Reference voltage circuit. NMOS has 0.5 x standard width and uses circuit node connections.

Performs node-pair conversion according to Level 3. This version is for no body effect, with Vs =0.

Basic node-pair Level 3 NMOS simulator.

Circuit Simulation

Reference voltage vgn simulator.

Iteration function currents and f plotter.

Common-Source

Common-source f diagram. Iteration voltage, vo.

Convergence

Circuit Simulator

Includes signal-gain computer, av = 88 above.

Current and f plotter with vo sweep minus to plus power supplies.

Create a free website or blog at WordPress.com.