ADS Matching and Optimization
ADS Matching and Optimization
OBJECTIVES
• Create an input match to the RF and an output match to the IF
Mixer Design Note: From the Smith Chart S-11 results in the last
lab, it appears that a series inductor can be added to the input as a
first step in moving toward the center of the Smith chart for the RF
match at 900 MHz. However, this does not take into consideration
the other L and C components. But as a first step, it is reasonable to
add the series inductor and see the effects of tuning as ideal
components are replaced with real values.
PROCEDURE
1. Create a new schematic design for the input match.
a. Use the s_params design (last lab) and save it as: s_match.
5-2
Lab 5: Matching and Optimization
d. Simulate and display S-11 in a new data display window. Position the
dds window next to the schematic so you can see both at the same time.
The default dataset should be the same name as the schematic:
s_match. The results of the swept analysis should look like the plot
here where a marker is added to show the value of S-11 at 900 MHz:
b. After the tuning dialog and status appear, open and position a
new data display window near the tune control so you can see
them both – move the schematic aside if necessary. Notice that the
default dataset name s_match will appear (same as the schematic).
Insert a Smith chart with S11 data and put a marker at 900 MHz. Notice
that the S-11 trace is now changed with the real values of C and L.
c. Now, set the tune control to slider mode and move the slider back and
forth between the ends. Notice that the value of S-11 changes very little
because the range of inductance is too narrow.
5-3
Lab 5: Matching and Optimization
d. Increase the tuning range: click the Details button and the more
detailed tune control appears. Increase the range from 0 to 30 by typing
over the existing value. Based on the imaginary part of the impedance (-
j3.1), the conjugate value of inductance of 30 nH is close enough. Also,
set the resolution Step Size to step to something small such as 0.1 or
0.01 and increase Trace History to 20.
5-4
Lab 5: Matching and Optimization
CIRCUIT DESIGN NOTE: At this point, the addition of the series inductor is only a
first approximation. The remaining ideal components ( DC feeds and blocks) must be
replaced by realistic values and this may require a completely different topology other
than just adding a series inductance. Also, a shunt capacitor needs to be added to the
input to remove the IF signal that may appear there. Therefore, instead of continuing
to add components in an attempt to create a match, you will use the following
configuration that will solve all the matching problems for the input. This will speed
up the lab exercise.
a. On the input, remove the series inductor you just tuned. It will be
replaced by a network which will achieve the desired RF match and also
provide the filtering.
5-5
Lab 5: Matching and Optimization
e. Plot the results and you should see a response like the one shown here
where marker 1 is at the RF and marker 2 is the IF (almost an open).
However, the response can be more finely tuned (next steps) so that the
trace crosses directly through the 50 ohm point.
g. Tune the inductor by adding it: click Details. When the dialog
h. Adjust the inductance and you should get an almost perfect match at 900
MHz. In addition, the matching network is very efficient because it uses
a minimum of components to block the dc, choke the RF, and shunt the
unwanted IF frequency to ground. Click the Update button and the
values will be updated on the schematic.
Design Note – L and C values: The tuned values of L and C will vary
depending upon how finely you tune. However, C should be just about 1 pF
and L should be between 15 and 16 nH for the following steps.
a. In the data display, insert a plot of S-22 from the last tuning simulation.
You should see that S-22 is close to an open circuit over the frequency
range.
b. Zoom into the trace area and double click on the trace. When the
Trace Options dialog appears, thicken the trace and try using the other
settings if you have time. You may need to do this whenever the trace is
5-7
Trace Options used to
thicken trace.
Lab 5: Matching and Optimization
Output Match Design Note: For the next part of the lab exercise, you will use the
optimizer to achieve the output match with a given topology.
Build the output to look like the one shown here. The DC feed is a 100 nH inductor in
parallel with R_gain resistor (10K) which controls conversion gain. The capacitor
(RF_shunt = 1 pF) will help short higher frequencies. Looking into the transistor from
the 50 ohm load are two other capacitors for blocking (470 pF is a short to the IF) and
C_match for matching.
5-8
Lab 5: Matching and Optimization
5-9
Lab 5: Matching and Optimization
Components can be
enabled for optimization
by on-screen editing
using the opt function
and the range in curly
braces.
a. Insert the first optimization goal from the Optim/Stat/Yield palette. Goals
are required (named) in the optimization component. Set up the goal as
shown using the steps here:
e. Type in the Range Variable: use the global variable “freq” and set the
range which will be at one frequency: 900 MHz.
5-10
Lab 5: Matching and Optimization
Review of Opt Goals: Goals must refer to the simulation controller name:
“SP1” (similar to a parameter sweep). The expression usually refers to the
measurement (data in array form). By specifying a min and max range for the
expression, you are specifying what goal you want to achieve. Here, the goal is
to have an IF match of at least -20 dB (no min is required) and an RF match
between 0 and -3 db. In simple terms, you want a good match at 45 MHz at the
output and a bad match on the output at 900 MHz.
5-11
Lab 5: Matching and Optimization
The optimization component controls the simulation by receiving data and testing the
data until the goals are reached or the maximum number of iterations has expired.
5-12
Lab 5: Matching and Optimization
Parameters Tab Note: The Data to save selections can create large datasets
that you may not need. To avoid this, do not check any boxes and, if you
achieve the goal (EF=0), update the component values, deactivate the
optimizer and do a regular simulation. However, for this lab, you will use the
Solutions to dataset.
f. In the Display tab, set only the things you want to be displayed – this is
a good practice for keeping organized schematics and simulations.
10. Optimize
a. Use a new dataset name (such as s_opt) and Simulate (F7) with the
simulation set 15 MHz to 2 GHz with 5 MHz steps to land on RF and IF.
b. Watch the Status Window for the results of the optimization. Use the
scroll bar if necessary to read it. If the optimization is successful, you
should see a message that the EF (error function) = 0. If not, check
your work, or try another type such as Gradient, or adjust the ranges.
5-13
Lab 5: Matching and Optimization
5-14
Lab 5: Matching and Optimization
At this point the mixer has good input and output matching networks. Of course, you
could refine the output match with the tuner but it is not necessary.
NOTE on the opt and noopt function: Refer to the schematic where the optimized
component value had annotation such as: C=7.95462189+001 pF opt{ range]. If you
type noopt instead of opt, that component (noopt) will not be optimized. This is easier
than editing the component in the dialog box.
EXTRA EXERCISES:
DAC instructions:
5-15
Lab 5: Matching and Optimization
a. Open a new schematic saved it as DAC_Z. Refer to the previous circuit and insert
the components in their default state:
• S-parameter controller, Termination and ground, Z1P from the equation based
linear palette, and a DAC from the Data items palette.
d. On schematic, set the Z1P value of Z[1,1]= file{DAC1,”my_x”}. The value of Z11
is the variable “my_x” in the DAC1 file. Of course, the file is testdac.mdf.
e. On schematic, edit the DAC as shown here. IVar1 is the independent variable and
iVal1 is the swept variable. As “freq” is swept, “my_freq” will be indexed and the
DAC will return complex values of “my_x” interpolated over the frequency range.
5-16
Lab 5: Matching and Optimization
f. Check the circuit and simulate. Then plot two traces, real and imag, of Z(1,1) as
shown where X changes with frequency. Now, the Zport can be used wherever a
frequency sensitive component is required. For multiple components, simply
create different files and access them as required.
5-17
Lab 5: Matching and Optimization
5-18