Beruflich Dokumente
Kultur Dokumente
Demo Guide
02 | Keysight | Tuning and Optimization - Demo Guide
It is often the case that our manually calculated values do not provide the most optimum
performance, and we need to change the component values. This can be done in two ways:
Tuning or Optimization.
What is Tuning?
Tuning is a way to change the component values and see the impact on circuit performance.
This is a manual way of achieving the required performance from a circuit, which works well in
certain cases.
What is Optimization?
Optimization is an automated procedure of achieving the circuit performance in which ADS
can modify the circuit component values in order to meet the specific optimization goals.
Please note that care should be taken while setting the goals to be achieved and it should be
practically possible, otherwise it will not be possible to meet the goals. Also, the component
values which are being optimized should be within the practical limits and this needs to be
decided by designers considering the practical limitations.
Figure 13.
03 | Keysight | Tuning and Optimization - Demo Guide
1. Open the LPF schematic. If you need help creating this schematic you can download
Getting Started with ADS section of this book. Delete or deactivate using the
Display Template component and simulate .
2. In the data display, delete all the plots and insert a new rectangular plot as it is shown in
the figure below.
3. Click the data display page and select S(1,1) and S(2,1) from the pop-up window and click
Add>> and select units as dB when prompted.
Figure 14.
Figure 15.
04 | Keysight | Tuning and Optimization - Demo Guide
Figure 16.
5. Position the Tune Parameters and the Schematic window side by side. Start the tuner by
clicking the Tuning icon .
6. Tuning controls the simulator. Therefore, a simulation controller is always required. While
Tune Parameters window is open, from LPF schematic window select capacitors and
inductors one by one and add them to the tone parameters. After each selection you see
a small window as shown on the figure. Mark the component and press OK for tuning.
Change the max values for all components to be 150 so that we have a decent range to
tune the component values.
Figure 17.
05 | Keysight | Tuning and Optimization - Demo Guide
7. Start to move the component value slider and see the corresponding graph changing
with the component values.
Figure 18.
Please note there are many other features of the Tuning wizard:
a. We can store temporary tuning states by clicking the Store icon so that we can save
intermediate tuning conditions and revert back to any of the saved states by clicking the
Recall button. These states will vanish once we close the wizard. Each saved state will
result in a frozen trace in the graph window.
b. We can select “Snap Slider to Step” so that the slider changes in finite step size as
mentioned in the Step field below the sliders.
c. Parameter values can be swept in Linear or Log format.
d. We can Enable/Disable a parameter to tune by clicking on Enable/Disable button.
e. If we have stored a lot of intermediate states, we can turn on/off a few graphs for better
visibility.
8. Once we have achieved the desired or best possible results, we can click the Update
Schematic button to update these tuning values on the design schematic. If you
accidentally click Close, the pop up window will appear checking whether you would like
to update your Schematic or not.
9. Click the Close button once you are done with tuning and observe the component values
in the schematic and data display window for the tuned response.
06 | Keysight | Tuning and Optimization - Demo Guide
Let’s make a copy of the tuning schematic cell so that we can perform optimization on the
same and also compare the responses of our manually tuned schematic and ADS optimized
schematic.
1. Go to the ADS Main Window and right-click the Cell to be copied and select “Copy Cell”.
Figure 19.
07 | Keysight | Tuning and Optimization - Demo Guide
2. A new pop window will appear and we can provide a new name for this copied cell, let’s
call it DiscreteLPF_Opt. Please note that if the cell that is being copied is hierarchal, then
we should use the option “Include Hierarchy…”, and if our workspace has folders, then we
can copy this into the specific folder by clicking on “Choose Folder”. Click OK after you
are done with the actions mentioned above.
Figure 20.
3. Come back to the Main Window and observe that the cell is now copied and appears in
the list with the new name as we provided during the copy process.
Figure 21.
Figure 22.
a. Expression is the same as Y-axis of the plot. For this case we use dB(S(1,1)).
b. Analysis is the same as S parameter controller in the schematic. For this case we called
the parameter SP1.
c. Click Edit in front of Independent Var and click Add Variable in the pop up window and
enter freq as the variable name. freq is the keyword for frequency which is our X-axis of
the graph over which we will define this optimization goal.
d. Select Limits->Type as less than (<) and enter -20.
09 | Keysight | Tuning and Optimization - Demo Guide
3. Place another Goal and let’s define dB(S(2,1)) i.e. Transmission response to be optimized.
a. Repeat the same steps as done in defining the S(1,1) goal except for the fact that we can
click Add limit to define stop band criteria as well.
b. In the 1st limit (limit1) define the passband criteria as >-1 from freq min=0.01G to freq
max=0.2G.
c. In the 2nd limit (limit2) enter Type to be less than (<)-30 from freq min=0.4G & freq
max=1G (max simulation frequency, should not be more than what is defined in the
S–Parameter controller).
d. We can add more limits as may be desired for the circuit response, e.g. for a typical
band pass filter we will have three limits for S(2,1) and that is 1st for the lower stop band
condition, 2nd for the upper stop band and 3rd for the main pass band.
e. Once done, the S(2,1) goal window will look as shown here.
Figure 23.
Figure 24.
10 | Keysight | Tuning and Optimization - Demo Guide
Figure 25.
11 | Keysight | Tuning and Optimization - Demo Guide
Figure 26.
12 | Keysight | Tuning and Optimization - Demo Guide
2. Click the Optimization Tab in the variable setup window (this variable window is a single
place where we define components to be tuned, optimized or to set their tolerances for
Statistical analysis).
Figure 27.
Select all the “L” and “C” values to Optimize and set their min and max as per your own
convenience (make sure that the value limits are realistic). We can also choose other Formats
for defining a range of component values. Click OK.
13 | Keysight | Tuning and Optimization - Demo Guide
Figure 28.
There are many other helpful features in this optimization cockpit we can pause the
optimization, tune the values ourselves and edit Goals in real time.
3. Click Close and select “Update the Design” option when prompted.
4. Plot the graph for S11 and S21 on the data display by adding these variables in the
rectangular plot from the Palette tool bar as it was mentioned in chapter 1 and check the
circuit performance against our initial goals. To get details of data you can place markers
on these traces using either the Marker toolbar on data display or by going to the Marker
menu as it is shown in the figure by marker m1.
14 | Keysight | Tuning and Optimization - Demo Guide
Marker toolbar:
Figure 29.
5. Save all your work by going to File > Save All from the ADS Main Window.
15 | Keysight | Tuning and Optimization - Demo Guide
Note:
The Optimization Goals setup, involving Optimization Goals and Controller, can
be placed on a new blank schematic and then saved as our own template. From
the schematic window, go to File -> Save Design as Template. This saves effort in
setting up these things in future designs.
Figure 30.
This template can be inserted in any new design and under any workspace by
going to Insert > Template and then selecting the template that we might have
saved earlier.
Please note that optimization variables are unique for each design hence we need
to redefine the component values and limits before each new design optimization.
Also note that, the goals/specifications may need to be altered as per the desired
specs.
Note: Each individual setup can be saved as a template for future use in ADS including the data
display (which can be inserted in the data display page using Insert > Template option).