Kla's Blog

May 1, 2014

LabVIEW Data Curve Fitting for MOSFET Parameter Extraction – Level 3 Spice

Filed under: Uncategorized — kla @ 3:47 pm

Sample curve fit here is for a measured transfer function (NMOS, grounded source), with stepping Vg and maintaining Vds=3 V. UO fits the sum of the points of the two curves and VTO, the slope of the difference.  The minimum current is selected to be consistent with strong inversion.Capture

Block Diagram of the VI

Capture

Sum-Slope Computer – Scatter is from DAQ measurement.

Capture

Capture

UO Root Finder

Capture

Root Finder Loop

Capture

VTO Function

Note that VTO is initial value sensitive. Solution is VTO = 1.52 V for f = 0.

Capture

Iterate – Iteration variable vx in this case is UO.

Capture

Spice Level 3 Simulator

Capture

ETA Parameter is not included, as is effect from XJ not zero. UCRIT (VMAX)  dependence is on Vdsat and effective mobility due to velocity saturation (denominator in iD expression).  THETA effect is that from computing Vb from VC.

CaptureSlope For For KAPPA – Saturation

Capture

OC Fit For UCRIT – From velocity saturation effect in pre-saturation.

Capture

Initialization Computations

Capture

Some Parameters – NMOS – NXP HEF4007 CMOS

Capture

April 10, 2014

MOSFET Parameters with Implant

Filed under: Uncategorized — kla @ 6:10 pm

 

Implant MathCAD

Capture

 

 

 

Capture

 

Capture

Capture

 

Implant

Simulator Initializing Stage

Capture

 

Parameter Extraction – yd is adjusted to obtain required VFB, based on known implant dose.

Capture

Parameters with yd = 0. Effective implant voltage, Vd, is about o.14 V.

Capture

 

LabVIEW Cascode Amplifier Simulation compared with measured data.

Capture

April 9, 2014

MOSFET Simulation Parameter Determination from a Cascode Circuit

Filed under: Uncategorized — kla @ 11:03 pm

The measurement circuit for obtaining data for curve fitting is the following (LTspice). Input vg1 is stepped over a range to produce the desired range of drain  current. The drain current (from VRD), Vd1, and Vd2, are measured, thus Vgs2 and Vds2. The output characteristic is obtained from the circuit by stepping VDD over a range for a given vg1. The device is the Philips HEF4007 CMOS chip. Devices are M1, pins 6, 7, and 8 and M2, 9, 10, and 12. The simulator is the ekv v262 or equivalent.

Capture

Curve fitting parameter determination (M2) includes GAMMA, which provides NSUB, PHI. Curve fitting (M1) produces KP (UO), LAMBDA, and VFB (VTO). Separate adjustments are made to LETA and UCRIT, for best fits. Measured data (National Instruments DAQ and NI-DAQ) are stored in a Global Variable, as shown.

Capture

 

Example application is here, the function which fits the transfer characteristic for KP (sum) and VFB (slope of the difference).

 

Capture

Sum/Slope Computer – The function output (fslope or fsum) is the input to the Newton’s Method Root finder in the curve fitting process. The root-finder loop halts when these values reach a certain specified small value.

Capture

Sample Root Finder – KP – VFB and KP are carried as Global Variables to facilitate  passing along the updates. Note that in this case the plus and minus increments for the input variable (KP) are 100u with KP about 20 (uA).

Capture

Newton’s Method Iteration

Capture

Transfer Function Fit – KP and VFB – MAD is mean absolute point difference, percent.Capture

 

M2 Transfer Characteristic – Sample GAMMA, NSUB.
Capture

With Curve Fit.
Capture

 

Output Characteristic Curve Fit

Simulator uses ekv channel-length modulation function and LETA function.

Capture

Capture

 

Simulated and Measured comparison.

Capture

 

Cascode Root Finder Functions (vd1 and vd2 iterations).Capture

January 24, 2014

Basic Spice Level 3 LabVIEW Simulation

Filed under: Uncategorized — kla @ 8:05 pm

 

In these Global Variables are stored various core information, to be used as required.

2

CaptureThis computation finds parameters, given NSUB. VTO is assigned as is later, UO and KAPPA. Parameter z is the channel-length modulation parameter. This is the NMOS example and the PMOS has a similar computation.

3

The complete, basic, level 3 simulation  is as given here.4

October 29, 2013

SPICE Level 3 Model Circuit Design with Parameter Generation

Filed under: Uncategorized — kla @ 8:36 pm

 

K.L. Ashley

Analog Electronics with LabVIEW

The Level 3 Spice model used here is described in the following. (In the Process of additions.)

Level_3_SPICE

A  goal here is to demonstrate that the above model documentation is valid insofar as simulations fit precisely the simulations with LTspiceIV. LTspice Level 3 and Schematics (Microsim/OrCAD) are essentially identical. Simulation matches appear to call for a slightly altered value for the relative permittivity of silicon, and the choice of value has changed slightly over time.

Parameters: UO, VTO, KAPPA, NSUB, VMAX, THETA, XJ, RS, RD, and ETA.

Synthetic measured data –  equivalent are generated with a precision simulator. An example is shown here. TOX, GAMMA,  UCRIT, and VFB are selected to create the model functions. The example plotted here is for a P-well, tox = 100n, with this being the NMOS. Some numbers are below in the VI NMOS_Par_init. VFB is adjusted to simulate an implant. VTO and UO are obtained with a fit to the Xfer function (left plot, ID uA and VG) characteristic and KAPPA from the OC (ID uA, and VDS). TOX = 30 n. The drain-current magnitude suits the Level 3 model except for the OC pre-sat, but it is not used for curve fits. (N-well with implant reviewed below.)

Capture

Capture

An example curve fit (above plot) top, and simulator comparison follows. VMAX = 0.Capture

Curve Fit Program

UCRIT is set essentially to infinity for VMAX = 0. The values shown are examples for the case of VMAX not zero.

Capture

DC Sweep of Common-Source Amp Stage -LabVIEW and LTspice

CaptureCircuit

CaptureVMAX non zero with LabVIEW and VMAX = 0 for LTspice

Capture

VMAX non Zero
Capture

OC

CaptureCS plus Source-Follower – LabVIEWCaptureCaptureCaptureVMAX non – Zero

Capture

Capture

N-well

The Level 3 parameters are now as indicated here. An implant of Vd = 0.5 V is included, to increase VTO of the NMOS and decrease that of the PMOS. Parameter is now tox = 30 n.

Capture

DCsweep – Top – LTspice and LabVIEW – Bottom – Common Source and Source follower

Voltage drop across SF M1 is reduced from above case. The gate width of SF MOSFETS is 10 times that of the CS. The load is 4 k Ohms and thus max load current is about 1 mA and minimum voltage out. The drain current must be set equal to zero at some point for negative voltage out for M1 since Level 3 is not valid for very low currents.

CaptureDC sweep of CS Stage – VMAX zero and VMAX non-zero

CaptureLabVIEW Simulator Sub – VMAX = 0 VDsat = Vdsat (velocity saturation effect)

CaptureVMAX non- zero – Vdsat  is 10 mV less that VDsat (VMAX zero)

Capture

October 21, 2013

SPICE Level 3 Model with LabVIEW and LTspice Simulation

Filed under: Uncategorized — kla @ 10:29 pm

 

K.L. Ashley

Analog Electronics with LabVIEW

The Level 3 Spice model used here is described in the following. (In the Process of additions.)

Level_3_SPICE

Parameters: UO, VTO, KAPPA, NSUB, VMAX, THETA, XJ, RS, RD, and ETA.

Parameters are extracted from the NMOS and PMOS from the NXP HEF4007UB CMOS chip. As in this example, shown are a parameter fit and a comparison between LabVIEW and LTspice. The example runs  Eq. 22, with only the first 4 parameters non-zero.

Capture

Capture

VMAX is now Non-Zero

Drain Current is Eq.  35.

Fit of measured data is not good around Vdsat, but LabVIEW and LTspice match.

Capture

Capture

April 2, 2013

MOSFET Amplifier Fundamentals – LabVIEW Simulation

Filed under: Uncategorized — kla @ 8:40 pm

Estimation of MOSFET Parameters for Circuit-Simulation

NMOS and PMOS Model Threshold Voltage and GAMMA for Simulator Model (EKV)

No Implant  – Neglect Interface Charge

VTO

P-Well – PMOS – NMOS Examples

Capture

N- Well PMOS – NMOS Examples

Capture

LAMBDA

Level_3

Use Level 3 to generate simulated measured data. Level 3 includes the P-N junction depletion-region function for channel-length modulation, thus, the doping dependence is taken into account. Obtain a curve fit with EKV to obtain LAMBDA. GAMMA and VTO  are from the above formulation. KP (mobility) is assigned a typical value.

Capture

All Parameters

ParVI

CS with RD Common-Source Simulation with Above Parameters

VG is set for Vo=4 V with VDD=8 V. LAMBDA_N is launched in the background, which runs VT.

Capture

Iteration on VDS

VDD-VDS is applied across resistor. Iteration halts when NMOS simulator current and resistor current are equal. The three inputs to the NMOS simulator, top to bottom, are VG, VDS, and VS.

Capture

DC Sweep

Capture

The next circuit is a CS with active (PMOS) load, with circuit as given here. It includes the reference voltage circuit for the PMOS. (LTspice.) The bias current is the same as in the above circuit. The DC transfer is now more than doubled, plus the need for the load resistor is eliminated. The resistor in the bias circuit is external to the integrated circuit.

Capture

LabVIEW DC Transfer

Capture

CS + SF

The buffer stage allows for small loads without diminishing the gain.

Capture

DCSweep

Capture

CS

Output has been moved to 2.77 V, to set SF at zero Vo.

Capture

DCtransfer

CS gain is reduced at new bias point.

Capture

Optimize Gain with Gate Width

March 26, 2013

Analysis of the Maximum Voltage of OpAmp Output Stages with LabVIEW Simulator

Filed under: Uncategorized — kla @ 10:55 pm

Circuit

Shown is the output segment of the Op Amp with a standard, basic source-follower output stage, along the the common-source stage. The input to the CS is from the DiffAmp stage. This source-follower stage is later compared with the output stage of the TS271. The simulation is EKV and the parameter set is for an N substrate with P well (NMOS). The opposite is compared below.

VTO p = 1.25 V – VTO n = 1.51 V

Capture

Common-Source Stage

DCsweep – CS Output

Capture

CS Output at the Minimum

CS Drain Current about 20 uA at Op Pt

Capture2

CS Output at Maximum

Capture

DC Sweep with SF Output

VGS(M2)=2.09 V.

Capture

RB=100 k for Larger Output Current

Capture

CS at Max Above

Op Pt CS Drain Current 90 uA. RL=1k for 6 mA output at max. Available output, 12 mA.

Capture

Sweep with and without Load

Capture

Compare with OpAmp with TS271 Output Stage

Capture2

Source Follower Stage for Two Loads and Two Types

Standard SF – 1MEG load -IDM2 about equal to IDMn2

Capture

Standard Source Follower – RL=1 k, load current all from increase from M2.

Capture2

TS271 Output Stage – RL=1MEG – negligible load current.

Capture3

TS271 Output Stage – ID (M2) essentially unchanged (and thus, VGS(M2)). Feedback circuit reduces VGS (Mn2) to account for approximately 5 mA load current.

Capture4

TS271 Output Circuit (LTspice)

Input to Mn2 is drain of M3.

TS271

Example 2

N-Well

VTO n=0.133  – V VTO p=2.45 V

DCsweep – Maximum is now limited by VGS(M3), which pushes VGS(MP) into pre-saturation.

DCsweep_2_b

Diffamp of output stage at max above. Note that VD(MP) is at 9.62 V

DiffAmp_b

March 23, 2013

Analysis of the Common-Source Stage of the OpAmp with LabVIEW Simulation

Filed under: Uncategorized — kla @ 10:17 pm

Circuit, including output zero circuit.

Alles

Our LabVIEW balancing simulator gives the following, where the intersection is the solution for the output of the common-source stage (M9, M10). It finds Rset1 and Rset2. Note that the VD (3.52 V) solution is the drop across the source-follower output stage, the source of which is at zero volts. VDin is the DiffAmp output, and matches the DC sweep below.

The difference between the solution (intersection) and zero, is primarily the drop across the source-follower NMOS. The large value is a result of using parameters for the PMOS and NMOS from the CMOS switch chip. This is based on an N-type substrate (PMOS) and a P-well (NMOS). The large GAMMA associated with the large acceptor density of the well results in a large threshold voltage. At the end of this article, a switch will be made to the opposite, where the advantage is obvious.

Alles

DC sweep with Diff Amp Output

It is linear due to small range of voltage.

Alles

DC sweep for the amp output. Zero out at zero in.

Alles

OC plots at maximum out. Load PMOS is in pre-saturation.

Alles

OC plots at minimum. The PMOS plot is stationary, fixed by a given reference gate voltage (Mp from above circuit). The output can move to about -10 V.

Alles

Example for RB=500k, and RL=10 k. The output on the plus side is higher.

Alles

The next example is for the PMOS in the N-well. The threshold voltage of the NMOS is about zero. The maximum for positive output is increased significantly. The non-linearity at the negative end can  be attributed to the shape of the NMOS output characteristic (below) for low acceptor density of the substrate, which is included in the choice of parameters.

Alles

Alles

March 22, 2013

STMicroelectronics TS271 Operational Amplifier Analysis with LabVIEW

Filed under: Uncategorized — kla @ 10:13 pm

The analysis is based on our LabVIEW circuit simulator, which uses the EKV formulation. The parameters are obtained from curve fitting to PMOS and NMOS devices from the HEF4007US, information of which is available from the NXP logo in the right column. Gate widths for the various devices are based on mP and mM units, and mP=1 is 200u and mN=1 is 100u. The individual m units are selected for the desired current density, and are related to the EKV dimensionless current value, if, for example. (Reference in right column.)

Details are from the following: TS271. The version is created here, and reflects in general the core design of the OpAmp. The circuit is as follows. From input to output, the PMOS and NMOS reference-voltage circuit, the NMOS load differential amp circuit, the PMOS-load common-source stage and the output stage. The latter is a source follower except a special version, which includes a differential amplifier for providing feedback to the gate of the SF load (T16), such as to minimized the change of drain current in T15. A constant VGS15 (with changing drain current) represents a unity gain source-follower stage.

271

For simplicity, the reference circuit is the standard version, as in the following from LTspice. Similarly, initially, the source-follower stage is the basic version as given here, for comparison. Thus, it is the equivalent to eliminating all transistors beyond T8 and T9 above.

This amp has the opposite (PMOS and NMOS) differential and common-source stages.

Alles

Gates

Reference circuit, mP=mM=1.

DiffAmp, mP, mN=0.5, ID=25 uA.

Common-source, m(T6)=0.5, m(T7)=1, ID=50 uA (reference value).

Our simulator uses this balancing circuit: TS271

Alles

Differential Stage Simulator

VD2<VD1 due to balance. The potentiometer is set to  0.437 (0 to 1).

Alles

DCtransfer

Alles

DC sweep

Alles

Source follower at max in above plot. Approximately ID (RL)=8 mA.

Alles

Negative output.

Alles

Negative output with TS271 version of source follower. Note that VGS has dropped only to 1.64 V and the source-follower NMOS current down to 8 mA.

Alles

Zero output. VGS=1.76, for transfer ratio (negative) of 0.93. The simple case gives 0.83.

Alles

Comparison for positive output. Top: simple SF, ID SF NMOS = 23.3 mA, increasing from 15.6 for zero output. In plot below (TS271 stage), ID SF NMOS increases to only 16.7 at the given output voltage.

Alles

Alles

DC transfer over a wide range, top, standard SF, bottom, TS271. Smaller DC  transfer overall reflects the non-linear output of the open-circuit amp.

Alles

Alles2

Older Posts »

Create a free website or blog at WordPress.com.