LNA Performance Simulations: Difference between revisions
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
==1. Power Consumption== | ==1. Power Consumption== | ||
===1.Ground both the input and output of your LNA. If there is no DC blocking capacitor at the output then leave it open-circuited. | ===1.Ground both the input and output of your LNA. If there is no DC blocking capacitor at the output then leave it open-circuited.=== | ||
2.Using the Analog Design Environment choose to run a dc simulation and make sure that Save DC Operation Point is selected. | 2.Using the Analog Design Environment choose to run a dc simulation and make sure that Save DC Operation Point is selected. | ||
3.Run the simulation. When it is finished click Results -> Print -> DC Operating Points | 3.Run the simulation. When it is finished click Results -> Print -> DC Operating Points | ||
4.Click on the DC voltage source and note the delivered power. | 4.Click on the DC voltage source and note the delivered power. | ||
2. S-Parameter Simulations | 2. S-Parameter Simulations | ||
1. You must first instantiate ports at both the input and output of the LNA (analogLib -> Sources -> Independent -> port). | 1. You must first instantiate ports at both the input and output of the LNA (analogLib -> Sources -> Independent -> port). |
Revision as of 16:50, 8 April 2010
1. Power Consumption
1.Ground both the input and output of your LNA. If there is no DC blocking capacitor at the output then leave it open-circuited.
2.Using the Analog Design Environment choose to run a dc simulation and make sure that Save DC Operation Point is selected. 3.Run the simulation. When it is finished click Results -> Print -> DC Operating Points 4.Click on the DC voltage source and note the delivered power. 2. S-Parameter Simulations 1. You must first instantiate ports at both the input and output of the LNA (analogLib -> Sources -> Independent -> port). 2. Edit the properties of the input port a. Set the Resistance to 50 Ω and the Port number to 1. b. Set the Source type to dc. 3. Edit the properties of the output port a. Set the Resistance to 50 Ω and set the Port number to 2. b. Set the Source type to dc. 4. In the Analog Design Environment and choose the sp analysis type. a. Click the Port Select button and select the input and output port on the schematic. b. Set the Sweep Variable to Frequency c. Set the Sweep Range to Start-Stop and enter 1.5G for the Start value and 3.5G for the Stop value. d. Set the Sweep Type to Linear and the Number of Steps to 1000. e. Leave the Do Noise set to no. f. Click OK 5. Run the simulation 6. To plot the results click Results -> Direct Plot -> Main Form ... a. Make sure that the Analysis is sp and the Function is SP b. Select Plot Type as Rectangular c. Set the Modifier to dB20 d. Now simply click the button corresponding to the parameter you wish to plot. 3. Noise Figure using S-parameter Simulation 1. Follow steps 1 – 4d from the S-parameter simulation instructions above. 2. In the sp Choosing Analyses window, set Do Noise to yes a. Select the Output Port b. Select the Input Port c. Click OK 3. Run the simulation 4. To plot the results click Results -> Direct Plot -> Main Form ... a. Make sure that the Analysis is sp and the Function is NF b. Set the Modifier to dB10 c. Click on Plot 4. IIP3 and 1-dB Compression Simulation 1. You must first instantiate ports at both the input and output of the LNA (analogLib -> Sources -> Independent -> port) 2. Edit the properties of the input port a. Set the Resistance to 50 Ω b. Set the Port number to 1 c. Source type should be sine d. Fill in fund1 for the Frequency name 1 e. Frequency 1 should be 2.4G i. This is the frequency of the desired signal f. Fill in prf for Amplitude 1 (dBm) i. This is a variable name (to be defined later) of the power of the input signal g. Click on Display second sinusoid h. Fill in fund2 for Frequency name 2 i. Frequency 2 should be 2.42G i. This is the frequency of the second tone or “blocker” j. Fill in prf for Amplitude 2 (dBm) i. This sets the power of the blocker equal to the power of the input signal k. Click OK 3. Edit the properties of the output port a. Set the Resistance to 50 Ω and the Port number to 2 b. Set the Source type to dc 4. In the Analog Design Environment we need to enable the pss analysis a. Verify that fund1 and fund2 are displayed in the Fundamental Tones section. b. Select Beat Frequency and click Auto Calculated i. The beat frequency should be 20 MHz, this is the greatest common divisor of fund1 and fund2 c. Select Number of harmonics under Output harmonics and fill in the value of 123 i. This field defines the number of harmonics of the beat frequency that the simulation will consider. For IIP3 tests we need to consider up to the frequency (2*2.42GHz – 2.4GHz = 2.44GHz). This means that we need 122 harmonics of the beat frequency (2.44GHz / 20MHz = 122). We use 123 harmonics to go one harmonic higher. d. Set the Accuracy Defaults (errpreset) to conservative e. Set the Additional Time for Stabilization (tstab) to 20n i. This allows any startup transients to settle before calculating the IIP3 f. Click Sweep g. Choose Variable and check no for Frequency Variable? h. Fill in prf for the variable name i. This is the variable defining the power of both the input and blocker signals i. Check Start-Stop under Sweep Range and fill in -50 for Start and 0 for Stop j. Set the Sweep Type to Linear and set the Step Size to 5 k. Click OK 5. Run the simulation 6. To view the results for IIP3 click Results -> Direct Plot -> Main Form ... a. Set the Analysis to pss b. Set the Function to IPN Curves c. Make sure that Select Port ( fixed R(port) ) is set d. Click Variable Sweep (“prf”) for Circuit Input Power e. Enter -25 for Input Power Extrapolation Point (dBm) i. Some experimentation might be in order. You want the resulting extrapolated line to match well with the straight portion of the IM3 components at low power. f. Select Input Referred IP3 and Order 3rd g. Select either 2.44G (2*2.42G – 2.4G) or 2.38G (2*2.4G – 2.42G) for the 3rd Order Harmonic h. Select 2.4G for the 1st Order Harmonic i. Select the output port on the schematic j. You Should get a plot similar to Fig. 1 below i. Note that I use AWD whereas the default waveform viewer in Cadence is Wavescan. 7. To View the results for the 1-dB compression point click Results -> Direct Plot -> Main Form ... a. Set the Analysis to pss b. Set the Function to Compression Point c. Check that Select Port ( fixed R(port) ) is set d. Select Output Power for Format e. Enter 1 for Gain Compression (dB) i. We are interested in the 1-dB compression point after all f. Enter -25 for Input Power Extrapolation Point (dBm) i. Again some experimentation might be in order g. Select Input Referred 1 dB Compression h. Under the 1st Order Harmonics select 2.4G i. Select the output Port on the schematic j. The resulting plot should look similar to Fig. 2 below.
Figure 1: Sample IIP3 plot
Figure 2: 1-dB Compression Point