技术概述
Chapter 2
Tuning and Optimization
PathWave Advanced Design System (ADS)
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 desired circuit performance in which PathWave Advance Design System (ADS) can modify the circuit component values in order to meet the specific optimization goals. Care should be taken to select reasonable values while setting the goals. Otherwise, the optimization may not find a solution. Additionally, the optimized component values should be within the practical limits, which is typically decided by designers considering the practical limitations.
Tuning in PathWave ADS
This step introduces the PathWave ADS tuning feature, which allows you to tune parameter values and see the simulation results in real time. To use this feature, first enable tuning and then select the components that will be tuned. For this section, we will use the LPF example from the previous chapter.
Optimization in PathWave ADS
1. Go to the PathWave ADS Main Window. Right-click the LPF cell (in this case, DiscreteLPF) and select Copy Cell.
2. The Copy Cell window will open. Name the copied cell DiscreteLPF_Opt. Note that if the cell hierarchal, then we should use the option Include Hierarchy…. If the workspace has folders, then you can copy this into the specific folder by clicking on Choose Folder.
3. Return to the Main Window. The cell has been copied and appears in the list with the new name. Open the schematic. In the parts selector (on the left), select Optim/Stat/DOE. Click on Goal. Click to place the Goal block in the schematic. Use the same process to add a second Goal block to the schematic.
Step 1 - Setting Goals
1. We are going to set two goals. Open the first goal block. Set the following parameters for the goal. When finished, press OK.
Expression: dB(S(1,1))
Analysis: SP1
Limit 1: < -20
2. Open the second goal block. Set the following parameters for the goal. When finished, press OK.
Expression: dB(S(2,1))
Analysis: SP1
Limit 1: > -1 (from 0.01 GHz to 0.2 GHz)
Limit 2: < -30 (from 0.4 GHz to 1.0 GHz)
3. From the Parts palette, insert an Optim block. This is needed to start the optimization.
Step 2 – Setting Controller
1. Double-click the Optimization controller and set parameters as below:
Optimization Type = Gradient
Number of Iterations = 2000
2. Go to the Display tab and select Clear All, which will uncheck all options.
3. Select OptimType and MaxIters. This will clean up the schematic, so that we only see the important information. Click OK.
Step 3 – Define Component Values
1. Go to Simulate > Simulation Variables Setup.
2. Instead of setting the optimization for each component individually, this window allows you to set several tuning or optimization variables at once. Click the Optimization tab. Check the Optimize box for the inductors and capacitors. Set the optimization values to match Figure 14. Press OK.
Step 4 – Optimize
1. Click the Optimize button in the schematic toolbar.
2. The Optimization Cockpit window will open. This window shows the process of the optimization, as well as the current component values as the optimization progresses. The optimization will continue until the goals are met or the maximum number of iterations is reached.
3. Once the optimization stops, click Close. Select Update the Design when prompted.
4. In the data display, add rectangular plots and show S(1,1) and S(2,1). Check the circuit performance against the optimization goals. Add markers from the Marker toolbar to analyze the graphs. The final plot is shown in Figure 16.
5. Save all your work by going to File > Save All from the PathWave ADS Main Window.
您希望搜索哪方面的内容?