[cadence virtuoso practice record (3)_gm/id simulation method]

[cadence virtuoso practice record (3)_gm/id simulation method]

1 Scan NMOS curve

1) Schematic diagram
Set w = 1u , l as a variable, I = L ,

insert image description here
2) Create a new .scs file to save all the working points of the pipe.

Type the following command:

save NM0:all

insert image description here

insert image description here
After the creation is complete, click ADE/setup/simulation files...

insert image description here
Add the created file to definition files and click ok

3) Run the simulation and view all DC operating points in the Results Browser.

insert image description here
All saved simulation information can be seen in the Results Browser.

insert image description here

####################
No new save.scs, check the dc option in the Results Browser, only a few selected points, not all working points.
insert image description here
#############

  1. Output setting
    1° transconductance efficiency gmid
    as follows:

    insert image description here

    insert image description here

    insert image description here

    insert image description here
    insert image description here

    insert image description here

2° cut-off frequency f T f_TfT

According to the previous calculation formula, f T f_TfT = g m 2 π C g g \frac {gm}{2π Cgg} 2πCgggm
Added gm and Cgg to calculator. #Note that the denominator should be multiplied by 2π

insert image description here

insert image description here
3° Intrinsic gain gmro

insert image description here

insert image description here

4° current density IDW \frac {I_D}{W}WID

insert image description here

② Select w in instance/NM0, find w, right click and import it into the calculator
insert image description here

insert image description here
Here, the output is all set
insert image description here
to check the output curve↓
insert image description here

5)

Note that the abscissa is VGS, what we want to get is the abscissa is gmid, ie f T f_TfTCurves about gmid.
The operation is as follows:
① First, only check the first two in the output, and draw the curve.
insert image description here
②Draw the curve as shown in the figure
insert image description here
③Modify the abscissa, click on the abscissa, right click, select YvsY, select gmid, and click OK.
insert image description here
insert image description here
get f T f_TfTCurves about gmid.

insert image description here
2° Same as above, you can draw gm g_mgmro r_oroAbout the curve of gmid
insert image description here


Draw the curve of IdoverW about gmid
insert image description here

6) Use the ocean script to scan L to obtain a set of curves. The above single curves are the values ​​scanned under a fixed channel length, that is, to obtain a set of curves by scanning L under the
initial setting of L= 200n . ② Set L 0.18u - 1u to scan 10 points ③ Do not click to run, save this setting as an ocean script. ④ Modify the file name, click Ok, the file will be saved in the working directory, and add script commands later.


insert image description here

insert image description here

insert image description here

insert image description here

⑤ Delete all the original plot lines
insert image description here
and replace them with the following command:

newWindow()
ocnYvsYplot(?wavex gmid ?wavey ft)
addSubwindow
ocnYvsYplot(?wavex gmid ?wavey gmro)
addSubwindow
ocnYvsYplot(?wavex gmid ?wavey IdoverW)

insert image description here
⑥Save the file and run it in the CIW window
Enter the command:

load("NMOS_gmid.ocn")

Running result:
g,
only one line comes out,
insert image description here
and an error is reported after checking
insert image description here

#############
Find the problem ing
#############
Save it as an ocean script and report an error. It was possible to use ic51 before, and the prompt is that there is a problem with spectre, and no solution has been found.
The direct scanning method is now used to simulate the gmid curve, which is more concise.
The process is as follows↓↓↓

1) The circuit is shown in the figure
insert image description here

2) ADE simulation settings

insert image description here

Pay attention to the emulation settings of dc
insert image description here

Scan L is set as follows
insert image description here

3) Mainly record the output settings:

1° gmro output curve on gmoverid

Click ADE/outputs/setup, open calculator

insert image description here

Select waveVswave

insert image description here
Select os, pop up the select instance, and then click the pipe, and various parameters of the pipe will be displayed in the list drop-down menu.
insert image description here
insert image description here

Click gmoverid in the list, it will appear in the calculator, and then copy it to the select x Trace of wave Vswave.
insert image description here
Then select gm/gds and copy it to the select y Trace of wave Vswave. Click ok.

insert image description here
get expression, gmro's output about gmoverid is set
insert image description here

Here you can also directly select self gain in the list, the result is the same.
insert image description here
The result of the scan is the same
insert image description here
2° ft about the output curve of gmoverid

insert image description here
According to the formula, f T f_TfT = g m 2 π C g g \frac {gm}{2π Cgg} 2πCgggm
Added gm and Cgg to calculator. #Note that the denominator should be multiplied by 2π
insert image description here
3° IdoverW About the output curve of gmoverid
Here w is a variable,
insert image description here
click os, select id
insert image description here
and click var, select w
insert image description here
and then directly click / on the left small keyboard
to get the expression of IdoverW, copy it to the y-axis below, and click ok.
insert image description here
insert image description here
insert image description here

4° Draw another lambda curve about gmoverid

ro r_oro = 1 g d s \frac {1} {g_{ds}} gds1 = 1 λ i d \frac {1} {\lambda i_{d}} i _d1

Therefore, λ \lambdaλ = g d s i d \frac {g_{ds}} {i_d} idgds

insert image description here
insert image description here
insert image description here
insert image description here
insert image description here

So far, the curves of nmos tubes have been scanned
insert image description here

2. Scan the curve of the PMOS tube.

Same step as above

1) PMOS tube circuit diagram
insert image description here
ADE setting
insert image description here

2) Output setting
1° ft
insert image description here

2° gain
insert image description here

3° IdoverW
insert image description here

λ \lambdal
insert image description here

insert image description here

The gmid simulation is completed,
mainly the output setting, and then try to build the circuit with gmid

Guess you like

Origin blog.csdn.net/Logan557/article/details/127985555