Amplifier Design Using ADS July 2004
Amplifier Design Using ADS July 2004
1. 2. 3. 4. 5. 6. DC Simulation and circuit modeling S-Parameters and Optimization Harmonic Balance Simulations Circuit Envelope Simulation Filters - Trans, Design Guide, Momentum Final Circuit & System simulations
Filters: also, build 1900 MHz BPF for the input and a LPF for the IF output
Lab 1:
DC Simulation
You get steady-state DC voltages and currents according to Ohm Law: V= IR s
Capacitors = treated as ideal open circuits Inductors = treated as ideal short circuits Topology check: dc path to ground (if not => error message) Kirchoff Law satisfied: sum of node current = 0 s Convergence simulator algorithms (modes) can be set
DC simulation controller
Palette and editor (dialog box)
Sweep: allows you to sweep a parameter but it must be declared as a variable. Note the dialog entry automatically puts quotes on the controller (screen) entry.
VAR
More on DC...
DC Parameters
Available after simulation on schematic.
Convergence tips: increase Max Delta V or iterations, or change mode if you don converge. t
Back Annotation...
Clear it here
Minus sign used for current flowing out of a connection. Otherwise, current flows into a connection or device. DC Simulation Controller is required in all simulations if you want DC annotation.
Next, named nodes...
Port connector numbers: Num= must be set in specific order as shown - this is necessary to correctly use BJT symbol.
L in pico: pH C in femto: fF
BJT Symbol: Name of model card BJTM1 used for simulation. Library devices do not require this mapping.
Description for library annotation Component Instance name: Q Symbol: SYM_BJT_NPN Passed parameter for Bf = beta
SHORT
Zo (characteristic impedance) = 50 + j0
Z=0+j1
Z = real
/ imaginary
m1 Z=0-j0.5 Z=0-j1
Z=0-j2
Sweep plan can also be used (see next slide). Either way, simulation data results in an S matrix in the data set for the specified range and points. Next, Other tabs
Calculate other parameters. Turn on for SS noise. If more than 2 ports, specify for 2 port NF. If not, leave blank.
Enable Frequency Conversion for a mixer. Leave blank and get all values.
Next, matching...
Plot the data and compare to ac_sim data. Change Term Z and list the S matrix.
In the lab, you will optimize the match for the amplifier.
L llel ra Pa
Pa ra lle l
Se rie sL
C
Ser ies R
lel R Paral
es eri S C
Next, optimization...
Define the Load and Source at one frequency. Select the components and move to the center or desired value. Next, Optimize!
Optimizer Random Gradient Random Minimax Gradient Minimax Quasi-Newton Least Pth Minimax Random Max Discrete Genetic
Search Method random gradient random gradient quasi-Newton quasi-Newton mini-max random discrete genetic
Error Function Formulation least-squares L2 least-squares L2 minimaxL1 MML1 minimaxL1 MML1 least-squares L2 least P-th seqLP mini-max MM worst case negL2 least-squares L2 least-squares L2
Recommendations: Use Random before using Gradient. Minimax is good for filters. Tune before using the optimizer.
Enable components...
NOTE: If discrete values are not realistic, use file based: DAC PPT is an optimization within a Yield Analysis only. Allows value to be shifted to achieve goal.
Note: If GOAL RangeVar is not set, the optimizer uses all the simulation frequency points.
Lab exercise has final component values for these S-parameters which are good!
NOTE:You must turn on Noise in the simulation controller for NsCircle and list values.
Write an ADS S dataset as a Touchstone file, then Read it back in... as if it came from a Network Analyzer!
Lab 3:
NOISE TEMP error for all noise simulations: Set Temp=16.85 to eliminate any error message. OPTIONS controller is in all simulation palettes.
Simulator will try to find closest answer, if not it will continue with all remaining valid points.
HB convergence error message: cannot sweep to desired level or arc length continuation error To solve these problems, either loosen the V and I tolerances in the options controller by ten times (for example, set: I_AbsTol= e-11), or reduce the step size for power or frequency sweeps.
16.85
Freq[1] is the fundamental tone you want HB to calculate. Freq[1] must match a tone in the circuit or you get a warning message. Numerous builtin sources and measurement equations.
3) Be sure the VAR, the source, and simulation controller all have the same information. NOTE: Swept variables always go to the dataset.
Plot Spectrum
Use ts function
List MeasEqn results Dataset contains node voltages and Mix table. Equation uses Vout[1]
1 dB
Use [ brackets to generate a matrix ] and { curly braces to vector the data from Mix table}
TOI
0
-20
ix m
--30 -40
} ,0 {1
mix {2, 1}
-10
Linear Output of fund(dBm) slope = 1 3rd order intermod product (dBm) at Vout slope = 3.
- 30
-20
-10
10
20
Lab 4:
Example CE results:
Adjacent Channel Power Ratio Noise Power Ratio Error Vector Magnitude Power Added Efficiency Bit Error Rate
2-tone tests and linearized models do not predict this behavior as easily!
890 MHz
carrier
ADS Filter
1) Place a component.
DesignGuide
Schematic
Specify and build low / high pass or band pass / stop filters...
Next, BPF...
Using Momentum
Why use Momentum? You have no accurate model for a passive layout. You want to know the coupling effects between structures. You want to optimize the layout real-estate, performance, etc. Your other structure simulator takes too long to simulate! You want to use the results in ADS simulations.
Example spiral meshed as a strip geometry. Hole in ground plane is meshed as a slot, which is more efficient than meshing the entire ground plane.
This filter will be used on the input to the RF system. It will also be used to show the value of ADS Momentum.
Transient simulation
Analysis performed in the Time Domain Use any Source Solutions use Newton_Raphson iterations You get Amplitude vs. Time Time Domain data can be transformed: FS
NOTE on Convolution: Frequency domain models (microstrip) can be brought into the time domain and converted to the time domain then convolved with the time-domain input signal to obtain the time-domain output signal. The convolution tab in the transient simulator allows you to define methods and settings.
Transient results show input vs output waveforms: Write an equation using markers and the indep function to calculate delay:
Lab 6:
Co-simulation: simulation of the entire system using digital circuits and analog circuits together.
Constellation, spectrum, etc...
What is Co-simulation?
Integrated Circuit, System Simulation & HP Ptolemy
The simulator in the A/RF design must use either Transient or Circuit Envelope
The A/RF schematic can be any kind of design: amplifier, mixer, PLL, etc...
The use of these tools is covered in the DSP course and also in part of the CommSys course. In this class, it is only briefly introduced!
Later on, you will replace the behavioral models with the circuits you built.
data
Change the default dataset name and the equation. All of your data will pass into the plots and equations!
Vfund = IF_out
m1 is at the IF
NOTE: If you finish this step in the lab, you have achieved all the goals for this class!
In this class, it is easier and faster to set up and run co-simulation using the behavioral system. The Extra exercise shows even more cosimulations you can try after the course!
Co-simulation continued...
Next step: Open a top level DSP network to access the Ptolemy / DSP palettes in schematic. Then build the system shown here: All the steps are in the lab, including the settings for the data components, filters, etc. The t_step and t_stop are now set for symbol rate and time.
Data flow controller runs showing filtered bits and IF signal: TkXY plots
Quit the DF simulation and connect a SpectrumAnalyzer sink to collect the data. Results of this co-simulation show spectrum of the behavioral system. To use amp_1900 and your filters, replace them in the system and setup a new simulation (requires more time).
Contact...
EEsof Local Homepage www.adsuser.com EEsof External Homepage http://eesof.tm.agilent.com Customer Q & A =>Response Center 02-2004-5004