Authors: Joseph Chong, Dr. Dong S. Ha
In this section you will learn how to run P1dB and IIP3 simulation for an RF amplifier working at 2.4G. Check out this workshop tutorial for more information.
1. Start Cadence Virtuoso under the folder with cds.lib linked to TSMC library.
2. Create a new schematic by File->New->Cellview under icfb window. Make sure the library is the one attached to TSMC library.
3. Insert instances and connect them together as shown in figure below.
Note that we need to set extra parameters in PORT0 shown in the figure.
After completed the schematic, check and save.
Component | Description | Instance Library | Instance Cell | Parameter |
V0, V1 | Voltage Source | analogLib | vdc | DC = 0.8 |
PORT0 | Port | analogLib | port | Resistance = 50 / Port number = 1 / Source type = sine / Freq name 1 = RF / Frequency 1 = frf / Amp 1 (dBm) = prf |
PORT1 | Port | analogLib | port | Resistance = 50 / Port number = 2 |
L0 | Inductor | analogLib | ind | L = 10n H |
L1 | Inductor | analogLib | ind | L = 10n H |
L2 | Inductor | analogLib | ind | L = 6.5n H |
C0 | Capacitor | analogLib | cap | C = 33p F |
C1 | Capacitor | analogLib | cap | C = 20f F |
C2 | Capacitor | analogLib | cap | C = 770f F |
X0 | Buffer | functional | amplifier | Gain = 1 |
R0 | Resistor | analogLib | res | R = 1k |
M0 | Transistor | tsmcN65 | nmos_rf | wr = 2u / lr = 60n / nr = 16 |
5. Start Analog Design Environment from Tools -> Analog Environment. Go to Setup -> Model Libraries ... and add the following line to Model Library File for our buffer.
$CDS_HOME/tools/dfII/etc/cdslib/artist/functional/allFunc.scs
6. Select Variables->Copy from Cellview to get the variables prf and frf shown in Design Variables section. Set prf = -30 and frf = 2.4G.
7. Go to Choosing Analyses window and select pss simulation.
Select Auto Calculate for automatic calculation of beat frequency.
In the Output Harmonics field, set the cyclic to Number of harmonics
and set the number of harmonics to 3.
In the Accuracy Defaults field, select the moderate button.
Click on the Sweep button, set Variable Name to prf,
Sweep Range to -30 to -5,
Sweep Type to Linear and Number of Steps = 10.
Your Choosing Analyses window should look like below.
8. Click Netlist and Run icon (green traffic light).
9. Go to Results->Direct Plot->Main Form.
In the Direct Plot Form, click on Compression Point and 2.4G
in the 1st Order Harmonic list. Click on PORT1 on schematic to plot P1dB.
10. Back to the schematic, edit the properties of instance PORT0 to add a frequency RF2.
Click on Display second sinusoid button, the set Freq name 2 = RF2,
Freq 2 = frf + 2.5M, Amp 2 = prf. Check and save.
11. Go through step 5 and step 6 if you haven't done so.
12. Go to Choosing Analyses window and select qpss simulation.
Set RF Signal as Large.
In the Accuracy Defaults field, select the moderate button.
Your Choosing Analyses window should look like below.
13. After simulation is completed, choose Results->Direct Plot->Main Form. Select the qpss button and IPN Curves button. Set Single Point Input Power Value (dBm) = -30. Select 2.398G in 3rd Order Harmonic and 2.402G in 1st Order Harmonic.