Ads Tour
Ads Tour
Advanced Design System 2011.01 Feburary 2011 Advanced Design System Quick Start
Agilent Technologies, Inc. 2000-2011 5301 Stevens Creek Blvd., Santa Clara, CA 95052 USA No part of this documentation may be reproduced in any form or by any means (including electronic storage and retrieval or translation into a foreign language) without prior agreement and written consent from Agilent Technologies, Inc. as governed by United States and international copyright laws. Acknowledgments Mentor Graphics is a trademark of Mentor Graphics Corporation in the U.S. and other countries. Mentor products and processes are registered trademarks of Mentor Graphics Corporation. * Calibre is a trademark of Mentor Graphics Corporation in the US and other countries. "Microsoft, Windows, MS Windows, Windows NT, Windows 2000 and Windows Internet Explorer are U.S. registered trademarks of Microsoft Corporation. Pentium is a U.S. registered trademark of Intel Corporation. PostScript and Acrobat are trademarks of Adobe Systems Incorporated. UNIX is a registered trademark of the Open Group. Oracle and Java and registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners. SystemC is a registered trademark of Open SystemC Initiative, Inc. in the United States and other countries and is used with permission. MATLAB is a U.S. registered trademark of The Math Works, Inc.. HiSIM2 source code, and all copyrights, trade secrets or other intellectual property rights in and to the source code in its entirety, is owned by Hiroshima University and STARC. FLEXlm is a trademark of Globetrotter Software, Incorporated. Layout Boolean Engine by Klaas Holwerda, v1.7 http://www.xs4all.nl/~kholwerd/bool.html . FreeType Project, Copyright (c) 1996-1999 by David Turner, Robert Wilhelm, and Werner Lemberg. QuestAgent search engine (c) 2000-2002, JObjects. Motif is a trademark of the Open Software Foundation. Netscape is a trademark of Netscape Communications Corporation. Netscape Portable Runtime (NSPR), Copyright (c) 1998-2003 The Mozilla Organization. A copy of the Mozilla Public License is at http://www.mozilla.org/MPL/ . FFTW, The Fastest Fourier Transform in the West, Copyright (c) 1997-1999 Massachusetts Institute of Technology. All rights reserved. The following third-party libraries are used by the NlogN Momentum solver: "This program includes Metis 4.0, Copyright 1998, Regents of the University of Minnesota", http://www.cs.umn.edu/~metis , METIS was written by George Karypis ([email protected]). Intel@ Math Kernel Library, http://www.intel.com/software/products/mkl SuperLU_MT version 2.0 - Copyright 2003, The Regents of the University of California, through Lawrence Berkeley National Laboratory (subject to receipt of any required approvals from U.S. Dept. of Energy). All rights reserved. SuperLU Disclaimer: THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 7-zip - 7-Zip Copyright: Copyright (C) 1999-2009 Igor Pavlov. Licenses for files are: 7z.dll: GNU LGPL + unRAR restriction, All other files: GNU LGPL. 7-zip License: This library 2
Advanced Design System 2011.01 - Advanced Design System Quick Start is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful,but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. unRAR copyright: The decompression engine for RAR archives was developed using source code of unRAR program.All copyrights to original unRAR code are owned by Alexander Roshal. unRAR License: The unRAR sources cannot be used to re-create the RAR compression algorithm, which is proprietary. Distribution of modified unRAR sources in separate form or as a part of other software is permitted, provided that it is clearly stated in the documentation and source comments that the code may not be used to develop a RAR (WinRAR) compatible archiver. 7-zip Availability: http://www.7-zip.org/
AMD Version 2.2 - AMD Notice: The AMD code was modified. Used by permission. AMD copyright: AMD Version 2.2, Copyright 2007 by Timothy A. Davis, Patrick R. Amestoy, and Iain S. Duff. All Rights Reserved. AMD License: Your use or distribution of AMD or any modified version of AMD implies that you agree to this License. This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA Permission is hereby granted to use or copy this program under the terms of the GNU LGPL, provided that the Copyright, this License, and the Availability of the original version is retained on all copies.User documentation of any code that uses this code or any modified version of this code must cite the Copyright, this License, the Availability note, and "Used by permission." Permission to modify the code and to distribute modified code is granted, provided the Copyright, this License, and the Availability note are retained, and a notice that the code was modified is included. AMD Availability: http://www.cise.ufl.edu/research/sparse/amd UMFPACK 5.0.2 - UMFPACK Notice: The UMFPACK code was modified. Used by permission. UMFPACK Copyright: UMFPACK Copyright 1995-2006 by Timothy A. Davis. All Rights Reserved. UMFPACK License: Your use or distribution of UMFPACK or any modified version of UMFPACK implies that you agree to this License. This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA Permission is hereby granted to use or copy this program under the terms of the GNU LGPL, provided that the Copyright, this License, and the Availability of the original version is retained on all copies. User documentation of any code that uses this code or any modified version of this code must cite the Copyright, this License, the Availability note, and "Used by permission." Permission to modify the code and to distribute modified code is granted, provided the Copyright, this License, and the Availability note are retained, and a notice that the code was modified is included. UMFPACK Availability: http://www.cise.ufl.edu/research/sparse/umfpack UMFPACK (including versions 2.2.1 and earlier, in FORTRAN) is available at
3
Advanced Design System 2011.01 - Advanced Design System Quick Start http://www.cise.ufl.edu/research/sparse . MA38 is available in the Harwell Subroutine Library. This version of UMFPACK includes a modified form of COLAMD Version 2.0, originally released on Jan. 31, 2000, also available at http://www.cise.ufl.edu/research/sparse . COLAMD V2.0 is also incorporated as a built-in function in MATLAB version 6.1, by The MathWorks, Inc. http://www.mathworks.com . COLAMD V1.0 appears as a column-preordering in SuperLU (SuperLU is available at http://www.netlib.org ). UMFPACK v4.0 is a built-in routine in MATLAB 6.5. UMFPACK v4.3 is a built-in routine in MATLAB 7.1.
Qt Version 4.6.3 - Qt Notice: The Qt code was modified. Used by permission. Qt copyright: Qt Version 4.6.3, Copyright (c) 2010 by Nokia Corporation. All Rights Reserved. Qt License: Your use or distribution of Qt or any modified version of Qt implies that you agree to this License. This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA Permission is hereby granted to use or copy this program under the terms of the GNU LGPL, provided that the Copyright, this License, and the Availability of the original version is retained on all copies.User documentation of any code that uses this code or any modified version of this code must cite the Copyright, this License, the Availability note, and "Used by permission." Permission to modify the code and to distribute modified code is granted, provided the Copyright, this License, and the Availability note are retained, and a notice that the code was modified is included. Qt Availability: http://www.qtsoftware.com/downloads Patches Applied to Qt can be found in the installation at: $HPEESOF_DIR/prod/licenses/thirdparty/qt/patches. You may also contact Brian Buchanan at Agilent Inc. at [email protected] for more information. The HiSIM_HV source code, and all copyrights, trade secrets or other intellectual property rights in and to the source code, is owned by Hiroshima University and/or STARC. Errata The ADS product may contain references to "HP" or "HPEESOF" such as in file names and directory names. The business entity formerly known as "HP EEsof" is now part of Agilent Technologies and is known as "Agilent EEsof". To avoid broken functionality and to maintain backward compatibility for our customers, we did not change all the names and labels that contain "HP" or "HPEESOF" references. Warranty The material contained in this document is provided "as is", and is subject to being changed, without notice, in future editions. Further, to the maximum extent permitted by applicable law, Agilent disclaims all warranties, either express or implied, with regard to this documentation and any information contained herein, including but not limited to the implied warranties of merchantability and fitness for a particular purpose. Agilent shall not be liable for errors or for incidental or consequential damages in connection with the furnishing, use, or performance of this document or of any information contained herein. Should Agilent and the user have a separate written agreement with warranty terms covering the material in this document that conflict with these terms, the warranty terms in the separate agreement shall control. Technology Licenses The hardware and/or software described in this document are furnished under a license and may be used or copied only in accordance with the terms of such license. Portions of this product include the SystemC software licensed under Open Source terms, which are available for download at http://systemc.org/ . This software is
4
Advanced Design System 2011.01 - Advanced Design System Quick Start redistributed by Agilent. The Contributors of the SystemC software provide this software "as is" and offer no warranty of any kind, express or implied, including without limitation warranties or conditions or title and non-infringement, and implied warranties or conditions merchantability and fitness for a particular purpose. Contributors shall not be liable for any damages of any kind including without limitation direct, indirect, special, incidental and consequential damages, such as lost profits. Any provisions that differ from this disclaimer are offered by Agilent only.
Restricted Rights Legend U.S. Government Restricted Rights. Software and technical data rights granted to the federal government include only those rights customarily provided to end user customers. Agilent provides this customary commercial license in Software and technical data pursuant to FAR 12.211 (Technical Data) and 12.212 (Computer Software) and, for the Department of Defense, DFARS 252.227-7015 (Technical Data - Commercial Items) and DFARS 227.7202-3 (Rights in Commercial Computer Software or Computer Software Documentation).
Once a workspace is open, ADS automatically switches to the Folder View page where it displays all the contents of that workspace, and you can start designing schematic or layout, or perform tasks like simulation of the designs already created. From ADS Main Window, see the File menu options for more extensive workspace management commands.
Note After opening a workspace, the toolbar buttons displayed in File View and Folder View or Library View are different.
From the ADS Main window you can: Create or open a workspace, cell, library, view, substrate, and hierarchy policy Upgrade a project to a workspace (for ADS 2009 Update 1 and earlier users) Quickly open an example workspace (File > Open > Example) 8
Advanced Design System 2011.01 - Advanced Design System Quick Start Archive (File > Archive Workspace) or Un-Archive (File > Unarchive Workspace or Project) workspace Set program preferences (Option > Preferences) Change toolbar configuration and keyboard shortcuts (Tools > Hot Key/Toolbar Configuration) Manage Technology associated with a workspace (Options > Technology) Record and play macro (from Tools menu option) Load AEL files/commands from the Command line (Tools > Command Line) Launch the text editor Open data display and Schematic window Show/Hide all windows Display all types of files and open as required using the context-sensitive menu
File View
In the File View, you can: Browse to other directories (similar to previous releases) See the actual files that are stored in the file system View special characters in cell names shown in parenthesis (special characters are used by OpenAccess for cross-platform support). This improves readability.
Folder View
In the Folder View, you can: Create virtual folders to group related files (similar to previous releases)
Library View
In the Library View, you can: View the system organization of a workspace Find files by type
Note Some of the Main window menu and toolbar items will change as you move between Folder View and File View. For details, see Context Menu.
From ADS Main Window, you can create a new workspace or upgrade your ADS project (created using ADS 2009 Update 1 or earlier versions) to workspace. For more details on creating a new workspace, see Using Workspace (adstour). If you have been using ADS 10
Advanced Design System 2011.01 - Advanced Design System Quick Start 2009 Update 1 or earlier version, you will have to upgrade you ADS Project to ADS Workspace. For more details, see ADS Project Upgrade to ADS Workspace (oaqkref).
Note To know more about ADS workspaces, see Workspace (oaqkref).
Context Menu
In Folder View each Cell, Library, Workspace, and file contain the context menu. These menus can be different for different file types and workspace. The table below lists the different context menus associated with design or file type. To access these menus, rightclick on a file, design, workspace, or folder in the Folder View.
File Types/Folders and Associated Context Menus
Context Menus
Datasets Workspace Ael Preferences Layers Text (*.ds) and Folders (*.ael) (*.prf) (*.lay) (*.txt)
Open (Schematic, Layout, or Symbol) Open Data Display Open in Text Editor Create New Folder Load Copy Paste Copy Files Rename Delete Filter View Expand Items in Folder Collapse Items in Folder
X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X
X X X X X X X
X X X X X X X
X X X X X X X
Group copy of files in folder. Invokes the copy/rename wizard. Group delete of files in folder.
Create New Folder You can create folders in the Folder View using the context menu of any existing Workspace or folder. To create a new folder from your Folder View, 1. Right-click on the Workspace or any folder and choose New Folder from the pop-up menu. The New Folder dialog box appears. 2. Enter a name for the new folder and click OK to create the folder or click Cancel to abort the operation. Dragging and Dropping Folders and Designs The Folder View enables you to simply drag and drop a folder or design to a new
11
location/folder.
To drag and drop a folder or design, 1. Locate the folder or design that you want to move in the Folder View. 2. Click and drag folder or design to the new location/folder. 3. Release the mouse button to drop the folder or design in the new location/folder. When you release the mouse button, pop-up menu appears with following options: Move Tree Item: It allows you to drop the folder or design into the new location/folder. Copy Files: For information on Copy Files, see Copying Files. Loading AEL Files You can load Application Extension Language (AEL) files directly from the context menu of any AEL file (*.ael) in your Workspace. To load an AEL file from your Folder View, 1. Ensure the .ael file that you want to load is displayed in your Folder View. If you cannot see the .ael file in your Folder View, you may need to set the Filter View option to include AEL files. 2. From your Folder View, right-click the .ael file that you want to load. 3. Choose Load, the AEL file is automatically loaded (executed).
Note Only files in the top directory of your Workspace will show up in the Folder View. For more information on the AEL files, refer to the AEL (ael) documentation.
Copy and Paste Files The Copy context menu enables you to copy file(s) in the buffer. You can then use the Paste context menu to place a copy of the file(s). If you are pasting the file(s) into the same Workspace then the Copy Files dialog box will open and allow you to specify a different name for the file(s). Rename Files The Rename context menu enables you to rename a file that you have selected. Simply right-click a file that you want to rename and choose Rename. Modify the filename and press Enter to change the name. If you are renaming a design, all other designs that reference this design will be modified to use the new design name. Copying Files The Copy Files dialog box enables you to manage copy operations of a single file or multiple selected files. The Copy Files operation is accessible through the Context Menus and will also appear if you attempt to drag and drop a file into another Workspace or folder enabling you to select either Move File or Copy File. To copy a file or group of files, 1. Select the file(s) in your Folder View. 2. Right-click and choose Copy Files from the context menu. The Copy Files dialog box appears. 3. Select Include hierarchy if you want to include sub-networks of the selected designs that you are going to copy. 12
Advanced Design System 2011.01 - Advanced Design System Quick Start 4. Set your Destination by selecting a Workspace or Directory from the drop-down list, or click Browse to access a different Workspace or directory. 5. Click Choose Folder to select a different folder. 6. Use the Auto Rename Rule options to automatically rename your copied file(s) using specific criteria. The available options include: Filename plus number incremented <filename>_v<number> - Copies the existing filename(s) and appends an _v plus a version number to the filename(s). Filename plus maximum number incremented <filename>_v<number> - Copies the existing filename(s) and appends an _v and the highest version number in all current filename(s), plus one, to the new filename(s). Number incremented plus filename v<number>_<filename> - Copies the existing filename(s) and pre-pends a v plus a version number and an underscore to the filename(s). Maximum number incremented plus filename v<number>_<filename> - Copies the existing filename(s) and pre-pends a v and the highest version number in all current filename(s), plus one, and an underscore to the new filename(s). None - Copies the file(s) using the existing filename(s). 7. After setting the Auto Rename Rule, the new name(s) can be modified manually in the New Filename field. 8. Verify that your new names are correct. The existing names (current files) will appear in the Current Filename field, while the new names (file copies) are displayed in the New Filename field. 9. Click OK to copy the file(s) and dismiss the dialog box or click Cancel to abort the operation.
Delete Files You can delete one or more files in the Folder View by right-clicking the filename(s) and choosing the Delete context menu. If you are deleting designs that are referenced by other designs, you will be shown the other designs and asked if you are sure to delete the designs. To delete a file or group of files, 1. Right-click the file that you want to delete in the Folder View. 2. If you want to delete more than one file, hold down the Shift key to select a group of files and/or use the Ctrl key to select multiple individual files. 3. Choose the Delete context menu. 4. Click Yes to confirm deletion. The files are deleted from disk and memory. Filter View The View Options dialog box enables you to specify the file types that you want display or hide in the ADS Folder View. To start the View Options dialog box and change the display options: 1. Start ADS and open or create a workspace. 2. Select Folder View, if not selected. 3. Right-click anywhere in the blank space and select Filter View... menu option to open the View Options dialog box.
13
3.
4. Enable (select) the file types that you want to appear in the Folder View. 5. Disable (deselect) the file types that you do not want to appear in the Folder View. 6. Click OK to accept the changes and dismiss the View Options dialog box, or click Cancel to abort. The available file types are: Ael - AEL files (*.ael) in the Workspace's top directory. Data Display - Data Display files (*.dds) in the Workspace's top directory. Dataset - dataset files (*.ds) in the data directory. Cell - Cells Hierarchy Policy - The hierarchy policy Substrates - Substrates Layers - layers files (*.lay) in the Workspace's top directory. Log - Log files Preferences - preferences files (*.prf) in the Workspace's top directory. Text - text files (*.txt) in the Workspace's top directory.
Design Windows
ADS allows you to create different design types such as, schematic, symbol, and layout. A design can consist of a number of schematics and layouts embedded as subnetworks within a single design. All designs in a workspace can be displayed and opened directly from the ADS Main window. A design window is where you create and edit all your designs. You can resize and move these windows in the workspace. You can enlarge one window to fill the entire workspace and you can shrink each window to an icon. ADS supports following design windows: 1. Schematic Window (adstour) 2. Symbol Window (adstour) 3. Layout Window (adstour) For more details, see Using Designs (adstour)
14
Substrate Editor
For details, see Substrate Editor (adstour)
Data Display window allows you to: Display data in a variety of plots and formats. Create plots with more than two axes. Add markers to traces to read specific data points. Write mathematical equations to perform complex operations on data, and display the results. Add text and drawing objects to enhance your documentation. Edit plot titles and axis labels, equations, text, drawing objects, and column headings in lists. For more details, see Data Display Basics (data)
Advanced Design System 2011.01 - Advanced Design System Quick Start Addons can be added at three access levels:
SITE level: This information is stored at $HPEESOF_DIR/custom/config/eesof_addons.xml. INSTALL level: This informationn is stored at $HPEESOF_DIR/config/eesof_addons.xml. USER level: This information is stored at $HOME/hpeesof/config/eesof_addons.xml.
Note Hand-editing of the USER level eesof_addons.xml file is not recommended, the USER level file is managed and controlled by the Manage ADS AEL Addons dialog.
The SITE and INSTALL access level addons are displayed in the dialog box only if the addons are available, and not otherwise.
Note A Site Administrator can provide their own custom AEL addons for their site by adding their own customized eesof_addons.xml file to the SITE level $HPEESOF_DIR/custom/config/eesof_addons.xml location. The easiest way to do this is for the administrator to set up their user ael addons, then copy their user file to the site level.
To start th Manage ADS AEL Addons dialog box, from ADS Main window select Tools > Manage ADS AEL addons.
16
2. In the Add ADS AEL Addon window, type the system filepath location to the custom .ael or .atf AEL file into Path. You can also click Browse to select your custom AEL or ATF file. 3. Type a unique identifier name for your custom user AEL addon into Name. 4. Check the Enable at ADS startup option to enable loading of AEL file (selected in previous step) every time ADS starts. 5. Click OK to dismiss the window.
The AEL (ael) commands that are issued in response to your activity in the Main window and the design windows are displayed in the Command Line dialog box. This command summary is updated continuously as you work. You can view this summary any time and you can issue previously executed commands from this list. To execute the AEL commands: 1. From the Main window, choose Tools > Command Line to open the Command Line window.
2. Type the command(s) in the Command >> field and click Apply (or press Enter key) after each command to execute the same. As you execute commands, the corresponding AEL functions are displayed.
Current Vocabulary
The Current Vocabulary option in command line window provides an option to select the AEL vocabulary in which you want the typed/selected AEL command to be executed in. ComOp is the default command. To change the vocabulary, click on the button provided next to the Current Vocabulary field. You can select the Show Inheritance option to see the inheritance hierarchy of AEL vocabularies available in ADS.
18
Component Palette
Different design windows and other windows has a Component Palette which contains buttons that provide a quick method of placing items to create your design. This palette is available in: 1. 2. 3. 4. Schematic Window Data Display (DDS) Window Symbol Window Layout Window
Hint All the palette items can also be placed through the Library. While some items are only available through the Library.
1. Place the cursor on left edge of the toolbar. 2. Drag the toolbar to the desired location and release. When you release the toolbar, a title bar appears at the top of it. To dock a toolbar on a window border: 1. Place the cursor on left edge of the toolbar. 2. Drag the toolbar toward the desired window border and notice that the ghost image of the toolbar changes as needed to fit in a vertical or horizontal space. 3. When the ghost image reflects the proper orientation, release the mouse button and refine the toolbar's position by dragging as necessary. To re-attach a toolbar near the top of the window: 1. Place the cursor on left edge of the toolbar. 2. Drag the toolbar toward the top of the window and when your pointer is overlapping the menu bar, or another toolbar, release.
Simulation
ADS allows you to create your own circuits which you can simulate using simulators provided to simulate the circuits and RF systems designed for specific objectives. You must have a valid ADS License to use these simulators. There are different templates available to facilitate setting up common simulations. The simulation instrument components provide a method for symbolically connecting your circuit to an instrument. You connect your design to components that represent various instruments and run the simulation. Each simulation output generated with these simulators has a unique id. There are several ways to launch a simulation from the Schematic Window: Press the F7 key on your keyboard. Click the Simulate icon on the toolbar. Choose Simulate > Simulate. Click Simulate from the Simulation Setup dialog box. 1. Choose Simulate > Simulation Setup to open the Simulation Setup dialog box.
20
When the simulation begins, a status and error message window appears where you can see the simulation status and all the messages. Once the simulation is complete, Simulation finished message is displayed at the bottom of the window confirming that the simulation has run successfully. The location of the dataset where the simulation data is saved is also noted.
For more details, see Simulating Designs (adstour) and Simulation Basics (cktsim).
Advanced Design System 2011.01 - Advanced Design System Quick Start To change any of these settings:
1. Change any or all options as desired. 2. Click OK. All changes take effect immediately, except as mentioned in the description below.
Warning Bell - The system beeps anytime you receive a pop-up window with a warning message. Error Bell - The system beeps anytime you receive a pop-up window with an error message. Large Toolbar Bitmap - A set of large bitmaps is placed on the toolbar. Turn this option off to place a set of small bitmaps on the toolbar (better for monitors with lower screen resolution). This change will be evident in any subsequently opened windows. To see the change take effect in a currently open window, open the Hot Key/Toolbar Configuration dialog box, click the Toolbar tab, and click OK. Enable the Getting Started Dialog Box - The Getting Started dialog box is started at ADS startup. Schematic Wizard - The system automatically launches the Schematic Wizard when a new design is created. Save all designs when simulation starts Save all the modified designs before launching the simulation. Save Workspace State on Exit - The setup of the Workspace you are exiting is saved, including all design windows. The group of windows, and their positions on the screen, are restored the next time you open the Workspace. Enable Physical Connectivity Engine (PCE) in new layout - Enables layout connectivity features. For more information, refer to Physical Connectivity Engine (usrguide)). See also the section on Disabling Layout Connectivity Features (usrguide) to understand the consequences of disabling the Physical Connectivity Engine. File Extensions 1. Workspace Extension - The extension you want appended to workspace names, to clearly identify them as workspace (default is wrk). 2. Library Extension - The extension you want appended to library names, to clearly identify them as library (default is lib). Wire Thickness - The thickness (Thin, Medium, Thick) of all wires drawn in a Schematic window. External Text Editor - Specifies the text editor to be launched when you choose Tools > Text Editor in the Main window.
22
23
Using Workspace
Advanced Design System (ADS) uses the Workspace to organize and store the data generated when you create, simulate, and analyze designs. An ADS Workspace includes libraries, simulation data, data display files, and other related files. A Workspace contains: Library: Zero or more libraries. When first created, a workspace will directly contain one library, plus it will reference other libraries specified during workspace creation (such as PDK's and ADS Libraries). A Library is a directory that includes cells and a definition file, such as lib.defs. This file contains a summary of all the libraries selected into the given Workspace and their mode of operation (Read-Only, NonShared, or Shared). For more details, see Library (oaqkref). Cell: Libraries contain cells. A cell contains zero or more views. It is somewhat similar to a design file (file with dsn extension) of ADS 2009 Update 1 and earlier versions. For more details, see Cell (oaqkref). View: Cells contain views. A View in a cell stores your design work such as schematic, symbol, or layout. For more details, see View (oaqkref).
Note For more details about ADS Workspace, see Workspace (oaqkref).
Working in Workspaces
All design work must be done in a workspace directory. Working in workspace directories enables you to organize related files within a predetermined file structure. This predetermined file structure consists of a set of subdirectories. These subdirectories are used in the following manner: data is the default directory location for input and output data files used or generated by the simulator synthesis contains designs created with DSP filter and synthesis tools verification contains files generated by the Design Rule Checker (DRC), used with Layout For any workspaces translated from ADS 2009 Update 1 or earlier projects: old_networks will be present. It contains the designs that have been translated. This directory is not used by ADS 2011 or later. mom_dsn may be present. It contains designs created with the Agilent EEsof planar electromagnetic simulator, Momentum. This directory is not used by ADS 2011 or later.
Creating a Workspace
Follow the steps below to create a new Workspace: 1. Start ADS. 2. From the ADS Main window, choose File > New > Workspace to open the New Workspace Wizard and Click Next.
24
4. 5. 6. 7.
Enter the desired path in Create In. Click Browse to select the location. Click Next. Under Add Libraries select the libraries to be included in the Workspace. Click Next.
9. Click Next.
25
9. 10. Under Technology, select the technology (from the list) for the library. 11. Click Next.
Note If you select Custom, the Technology Setup dialog box opens after the Summary where you can specify the Type, Layout Units, etc. The technology specified here gets associated with the library name specified in the previous step. To create the manual association between Technology and Library, start the Technology dialog box from the ADS main window by selecting Options > Technology.
12. Summary window displays the summary of your actions performed in previous steps. You can click Back to go back and make relevant changes.
26
12.
Opening a Workspace
Follow the steps below to open an ADS Workspace: 1. Start ADS. 2. From the ADS Main window, choose File > Open > Workspace and use the Open Workspace dialog box to locate the Workspace to open. 3. Click Choose to open the Workspace.
Notes 1. Before opening any Workspace, ADS prompts you to save the changes (if any) in already open Workspace. 2. Only one Workspace can be open at a given point of time. To open more than one Workspace, you need to start another instance of ADS. 3. If you try to open ADS 2009 project or an earlier release project, ADS automatically starts the Convert Project to Workspace (oaqkref) wizard.
Deleting a Workspace
Follow the steps below to delete a Workspace: 1. Start ADS. 2. From the ADS Main window, choose File > Delete Workspace to open the Delete Workspace dialog box. 3. Select the Workspace to be deleted and click Choose. 4. In confirmation window, click Yes to delete the Workspace.
Note You cannot delete an open Workspace.
Renaming a Workspace
27
Advanced Design System 2011.01 - Advanced Design System Quick Start You can rename any workspace just like renaming any folder name using Windows explorer (for Windows version) or any operating system commands (for Linux/Solaris version). Before renaming a workspace, ensure that the workspace is not open in ADS.
Archiving a Workspace
You can Archive/Unarchive your Workspace to transfer a compact Workspace archive. Creating a single file for a Workspace simplifies transferring Workspace to another file system or to another location on the same file system. To archive a Workspace, 1. Choose File > Archive Workspace to open the Choose the workspace to archive dialog box. 2. Select the workspace to be archived and click Choose.
3. Enter the archive filename and select location where you want to save the archive file.
Note Workspace is archived in 7zap format.
4. Click Save to archive the Workspace. After successful archive, a confirmation message is displayed.
Unarchiving a Workspace
Follow the steps below to unarchive a Workspace: 1. Start ADS.
28
Advanced Design System 2011.01 - Advanced Design System Quick Start 2. From the ADS Main window, choose File > Unarchive Workspace to open the Unarchive Workspace dialog box.
3. Select or Enter the file name to be unarchived and click Open. 4. Select the directory where you want to unarchive the selected file. 5. Click Choose to unarchive the Workspace. After successful unarchive, a confirmation message is displayed with an option to open the unarchived workspace.
Advanced Design System 2011.01 - Advanced Design System Quick Start Following the steps below to search example (from ADS Main Window):
1. From ADS Main Window, choose Tools > Examples Search to open the Example Search dialog.
2. Use the Search section of the dialog box to define any combination of the following choices to define your search criteria. Components - Search for a specific component. Keywords - Search for a specific keyword. Expressions - Search for a specific expression. 3. Use the Query field to enter the search word or a combination of the search word separated by Boolean operators. The search words are case sensitive. For example searching the word amplifier will produce different results than searching for Amplifier. This is because amplifier is treated as a keyword, while Amplifier is treated as a component name. You can use Boolean "OR" operation if you want to search for both amplifier and Amplifier. Use an asterisk ('' * '') at either end of the word as a wildcard when entering your search criteria. For example, use '' *ing '' to look for all words with suffix "ing." When using wildcards, the search is limited to a maximum of one hundred words. If you enter two or more words separated by a space, the AND operator is implied. You can also specify AND using uppercase letters. For example, Amplifier BPF_Butterworth Attenuator returns the same results as Amplifier AND BPF_Butterworth AND Attenuator. An OR operator requires an explicit entry using uppercase letters. For example, Amplifier OR BPF_Butterworth OR Attenuator. Note that all multiple word search is limited to a maximum of four words. 4. Select Show Valid Search Words to display a list of valid words corresponding to the letters you type. The words appear in the list below the text entry field. You can double-click any word in the scroll-down list to add it to the Query field. 5. Click Search Now to begin the search. You can also click Clear to clear the search criteria. Example workspaces that meet the search criteria are listed in the Results section. Use the '' + '' in the Results field to expand an example workspace hierarchy and view the designs or data display files. A red X across an example in the Results field indicates the 30
Advanced Design System 2011.01 - Advanced Design System Quick Start example is not available for viewing. You may need to install the example from your CD.
The Path field displays the full path to the currently selected example. Double-click a workspace, a design, or data display in the Results field to open the selected item.
Closing a Workspace
To close any open Workspace, click File > Close Workspace.
Note Before closing the Workspace, ADS prompts you to save the changes (if any) in open Workspace.
31
Using Libraries
A Library is a collection of cells. It is a directory that holds cells and a definition file, such as lib.defs. This file defines the library name associated with workspace and their mode of operation (Read only or Shared). It also defines the technology (layers, resolution, and layout units) to be used by the Views created in that library. You can create multiple libraries within a complete design hierarchy. A library does not have to physically reside in the workspace directory.
Note For more details about Libraries, see Library (oaqkref).
4. Enter Library Name and Location in Name and Create In respectively and click Next. 5. Under Technology, select the technology (from the list) for the library and click Next.
32
6. Summary window displays the summary of your actions performed in previous steps. You can click Back to go back and make relevant changes. 7. Click Finish to create the library.
Notes 1. If you have selected Custom option under Technology, the Technology dialog box opens after this step. 2. To see the list of all the Libraries, choose File > Manage Libraries from the ADS Main window.
Open Library
The Open Library option is same as Add Library. You can open a library to add the same in an already open workspace. To open a library, choose File > Open Library from the ADS Main window and follow the steps in Add Library.
Manage Libraries
Follow the steps below to manage libraries associated with a workspace: 1. Start ADS and open or create a workspace. 2. Choose File > Manage Libraries from the ADS Main window.
Add Library Definition File Library Definition file (lib.defs) is a text file and is similar to the ads.lib file in previous releases of ADS. It lists libraries, their names, path to actual library on disk, and the open mode of the library. ADS uses this file to load the libraries to the current workspace. Use the Add Library Definition File option to browse to an existing lib.defs file. The browsed lib.defs file will be added as an include statement in current workspace's lib.defs file. For more details on syntax and semantics of lib.defs , see lib.defs. Add Design Kit from Favorites
33
This option lets you enable the design kits form a list of favorites. When enabled the design kit's lib.def file is included in the current workspace's lib.defs file.
Add Library
Follow the steps below to add an existing library into the workspace: 1. Start ADS and open or create a workspace. 2. From ADS Main window, choose File > Manage Libraries... to open the Manage Libraries dialog box. 3. Click Add Library to open the Add Library dialog box.
4. Click Browse... and select the library to be added in workspace. The valid library name is displayed automatically under Name. 5. Select the desired mode from the Mode drop-down list. 6. Click OK to add the library.
Adding Site Libraries System Administrators can add their own libraries under Site Libraries and set save as default libraries. To add a library under Site Libraries (and save as default) follow the steps below:
34
Advanced Design System 2011.01 - Advanced Design System Quick Start 1. Open the favorite_libraries.xml, located in \custom\config folder of the ADS installation folder. 2. Under FavoriteLibraries tag, add your library (as shows in figure below). Be sure to specify a directory that will be valid on all users' machines.
3. Save the XML file and create new workspace. Newly added MyKit library is visible under Site Libraries.
4. Click the checkbox before MyKit and click Save selected libraries as default. From next workspace creation instance, MyKit library will be included by default.
Note The easiest way to create this file is create a user favorites library setup as you prefer, then copy favorite_libraries.xml from $HOME/hpeesof/config.
Remove Library
Follow the steps below to remove a Library, already included in the currently open workspace: 1. Start ADS and open a workspace. 2. From ADS Main window, choose File > Manage Libraries to open the Manage Libraries dialog box. 3. Right-click on the Library name and select Remove or click the Remove button to remove library from the workspace.
35
Note Remove Library option removes the library from the given Workspace and does not mean physical deletion of library.
Rename Library
Follow these steps to rename a Library: 1. Start ADS and open or create a workspace. 2. From ADS Main window, choose File > Rename Library to open the Rename Library dialog box.
Note All designs must be closed before opening Rename Library dialog box.
3. Under Library Name, select the library to be renamed from the Current Name drop-down list. 4. Enter the new name for the Library in the New Name field. 5. Under Rename, select Only the library name to rename only the library and select Library name and library directory to rename both. 6. Click OK.
Copy Library
36
Follow these steps to copy a Library: 1. Start ADS and open or create a workspace. 2. From the ADS Main window, select File > Copy Library to start "Copy Library" dialog box.
3. Under From, select the library name to be copied from the Library Name dropdown list. 4. Under To, select the directory location where library should be copied. Click Browse to select the different location. 5. Enter Library Directory Name of the new library. You have Show ADS Libraries option to display all ADS default libraries that you can copy to your workspace. Open with Workspace opens those copied library with the workspace. If you clear Open With Workspace, the copied libraries remain in your directory, but do not open with the workspace. 6. Click OK to create copy of the library.
lib.defs file
ADS can open existing libraries by reading a library definition file and opening all of the libraries defined in it. ADS reads the library definition file when a workspace is opened. There are three types of keyword statements that you can use in a lib.defs file: DEFINE statement - Specify a particular library for use in a workspace. Relative paths are interpreted relative to the directory containing the lib.defs file. INCLUDE statement - Use a set of libraries as defined in another lib.defs file. Relative paths are interpreted relative to the directory containing the lib.defs file. ASSIGN statement - Specify attributes for a particular library. Keywords are case insensitive. An end of line (EOL), end of file (EOF), or comment character terminates an entry in a lib.defs file. DEFINE Statements A library is defined in the library definition file by using the DEFINE keyword, followed by a logical name or label for your library, followed by the path to the directory containing the cells. Relative paths are interpreted relative to the directory containing the lib.defs file. INCLUDE Statements
37
You can use the INCLUDE statement to include all the libraries listed in a different lib.defs file, as follows: INCLUDE /usrDir/libs/lib.defs INCLUDE ../lib.defs ASSIGN Statements You can use the ASSIGN statement to assign attributes to a library. The syntax is as follows: ASSIGN libName attrName attrValue
Attribute Name Attribute Value libMode writePath shared, nonShared , readOnly is the write path for the library
Comments Use the pound character (#) at the beginning of a line for comments. You can also include inline comments by placing a pound character with a space after it, followed by your comment text.
38
Using Designs
Advanced Design System allows you to create different design types such as, schematic, symbol, and layout. A design can consist of one or more schematics and layouts embedded as subnetworks within a single design. All designs in a workspace can be displayed and opened directly from the ADS Main window. ADS uses the Cell to store these designs. A Cell is a container of one or more views. The ADS design window can be used to: Create and modify circuits and layouts. Add variables and equations. Place and configure components, shapes, and simulation controllers. Specify layer and display preferences. Include annotations using text and illustrations. Generate layouts from schematics (and schematics from layouts).
Creating Designs
You can create following type of designs in ADS: Schematic Layout Symbol
3. From the Library drop down list, select the library name where the new schematic will be stored. 4. Enter the new cell name or click Browse Cells to select the cell from existing cells of the selected library.
39
5. Click Edit View Name to create a new view. 6. From Schematic Design Templates list, you can select the template to be used or check the Enable the Schematic Wizard to start the Schematic Wizard. 7. Click OK to open the schematic window.
Note The Schematic Wizard starts if you have checked the Enable the Schematic Wizard checkbox.
3. From the Library drop down list, select the library name where the new layout will be stored. 4. Enter the new cell name or click the Browse Cells button to select cell from the existing cells of the selected library. 5. Click Edit View Name to create a new view. 6. Click OK to open the layout window.
40
Advanced Design System 2011.01 - Advanced Design System Quick Start 3. From the Library drop down list, select the library name where new symbol will be stored. 4. Enter the new cell name or click Browse Cells to select cell from the existing cells of the selected library. 5. Click Edit View Name to create a new view. 6. Click OK to open the symbol window.
Opening Design
To open a Design, follow the steps below: 1. Start ADS and open an existing workspace. 2. From the ADS Main window, choose File > Open > Schematic to open the Open Cell View dialog box.
To open a Symbol, Layout, EM Model or EM Setup View, choose File > Open > Symbol/Layout/EM Model/ or EM Setup View respectively.
3. Select the type from drop-down list. 4. If you want to open a built-in ADS design (read-only), check the Show ADS Libraries checkbox to display the list of all libraries under Library. 5. Under Library, select the Library name where the design exists. 6. Under Cell, select the cell name. 7. Under View, select the view name which could be symbol, schematic, or layout. 8. Click OK to open the selected design.
41
Substrates in EM Simulation
A substrate in EM simulation describes the media where a circuit exists. An example is the substrate of a multilayer circuit board, which consists of layers of metal traces, insulating material, ground planes, vias that connect traces, and air that surrounds the board. A substrate definition enables you to specify properties, such as, the number of layers in the substrate, the dielectric constant, and the height of each layer for your circuit. A substrate consists of the following types of alternating items: Substrate Layer: This layer defines the dielectric media, ground planes, covers, air, or other layered material. Interface Layer: This is the conductive layer in between the substrate layers, which is used in conjunction with the layout layers. By mapping layout layers to interface layers, you can position the layout layers that your circuit is drawn on within the substrate. The top and bottom of the substrate either end with a Cover (Interface) or an infinitely thick Substrate Layer. This section provides information about creating, modifying, and editing a substrate.
Substrate Editor
You can open the Substrate Editor window in the following ways: From the ADS Main Window, choose File > New > Substrate and click OK. From the ADS Main Window, select Library View. Right-click any library or cell and choose New Substrate .
From the Layout Window, choose EM > Substrate. The key components of substrate editor are listed below: 1. Main Menu bar: Contains menu options to edit or create a new substrate. 2. Toolbar: Contains the most commonly used buttons. 3. Substrate view: Displays 3D cross-section view of substrate stack with mask mappings, it has basic operations to edit the substrate definition. 42
Advanced Design System 2011.01 - Advanced Design System Quick Start 4. Status bar: Notifies about warnings or errors for the substrate. 5. Properties panel: This panel, on the right, allows editing the properties of the currently selected item of the substrate.
Creating a Substrate
To create a new substrate: 1. Choose File > New from the Substrate window or File > New > Substrate from the ADS Main window.
2. From the New Substrate window, select the library where you want to create the substrate. 3. Type the substrate name in File Name and click OK.
Opening a Substrate
To open a predefined substrate follow the step below: 1. Choose File > Open from the Substrate Window or choose File > Open > Substrate from the ADS Main Window.
43
2. From the Open Substrate window, select the substrate and Click OK. Selected substrate opens in a new window.
Saving a Substrate
Substrate Editor provides three options to save: 1. Save: This option saves the changes in the current substrate. 2. Save As: The Save As command allows you to save the current substrate with a new name. Select the library from the Library drop-down list and type the File Name of the substrate. The specified substrate is created in the selected library and displayed in the Substrate Editor.
3. Save a Copy As: The Save a Copy As command allows you to save a copy of the current substrate. Select the library from the Library drop-down list and type the File Name of the substrate. A copy of the current substrate is created in the specified library.
Context menus
Right-click on a Substrate Layer and you may see some of the following menus depending on the interface position and properties: Insert Substrate Layer Above - Inserts a new substrate layer with an interface layer above the selected layer. Insert Substrate Layer Below - inserts a new substrate layer with an interface layer below the selected layer. Delete with Upper Layer - Deletes the substrate layer above the selected layer. Delete with Lower Layer - Deletes the substrate layer below the selected layer. Map Conductor Via - Inserts a new conductor via in the selected substrate. Map Semiconductor Via - Inserts a new semiconductor via in the selected substrate. Map Dielectric Via - Inserts a new dielectric via in the selected layer. Move Up With Upper Interface - Moves the Substrate Layer and the Interface above it up, along with items on that interface. Move Up With Lower Interface - Moves the Substrate Layer and the Interface below it up, along with items on that interface. Move Down With Upper Interface - Moves the Substrate Layer and the Interface above it down, along with items on that interface. Move Down With Lower Interface - Moves the Substrate Layer and the Interface below it down, along with items on that interface. Depending on the position of the substrate layer you can move the layer up or down the stack. If the layer is either at the top or bottom, you can add cover above or below the substrate layer, as applicable. Right-click on a Interface Layer and you may see some of the following menus depending on the interface position and properties: Map Conductor Layer - Inserts a new conductor layer on the selected interface. Map Semiconductor Layer - Inserts a new semiconductor layer on the selected interface. Map Dielectric Layer - Inserts a new dielectric layer on the selected interface. Insert Nested Substrate - Inserts a new Nested Substrate on the selected interface. Delete Cover - Deletes the Cover leaving the adjacent Substrate Layer as an infinite thickness layer. To unmap the already mapped item, right-click on a Conductor Layer or Via and select Unmap option from the pop-up menu.
45
Moving Vias
Using the left mouse button, drag a via on the upper or lower 1/3 of its body and you will be able to stretch the via so that it goes through more or less Substrate Layers. Dragging it from the middle of its body allows you to move the via up or down without stretching it.
Following are the properties that can be edited: Material - This property allows you to select the layer material from the Material drop-down list. Materials are defined in the Materials Definition dialog box. Click the button to open the Material Definition dialog box where you can define a new material. The defined material is added automatically in the Material drop-down list. Thickness - This property allows you to define the thickness of the layer. The units can be selected from the Thickness drop-down list.
46
Cover - This option is only available for the top or bottom Interface. If it is enabled, the following properties can also be set: 377 Ohm Termination - Check the box to enable this termination. If this option is checked, you cannot specify Material and Thickness. Material - This property allows you to select the layer material from the Material drop-down list. Materials are defined in the Materials Definition dialog box. Click the button to open the Material Definition dialog box where you can define a new material. The defined material is added automatically in the Material drop-down list. Thickness - This property allows you to define the thickness of the layer. The units can be selected from the Thickness drop-down list. Strip Plane - Allows the mapping of Conductor, Semiconductor, and Dielectric Layers, and the insertion of Nested Substrates. Slot Plane - Allows the mapping of Slot Layers.
Layer - Allows you to map the mask layer with layout layer from the Layer dropdown list. To add new layout layer click the button (next to Layer drop-down list). Material - Defines material property for the mask layer from the Material drop-down list. To add new material layer click the button (next to Material drop-down list). Operation - The operation transforms 2D shapes drawn on a mask into 3D objects. For example, select the proper expand operation to define the thickness of a 47
Advanced Design System 2011.01 - Advanced Design System Quick Start conductor mask. Position - Defines the position of the layer. Thickness - Defines the thickness of the layer. Surface roughness model - Allows you to select Surface roughness model at Top and Bottom. Precedence - Precedence specifies the precedence of a layout layer over another layer, if two or more layout layers are assigned to the same interface or substrate layer and objects overlap. Precedence is used by the mesh maker so that objects on the layer with the greatest precedence number are meshed and any overlap with objects on layers with lesser numbers are logically subtracted from the circuit. If you do not set the precedence, and there are overlapping objects, a mesh will automatically and arbitrarily be created, with no errors reported.
Layer - Allows you to map the mask layer with layout layer from the Layer dropdown list. To add new layout layer click the button (next to Layer drop-down list). Material - Defines material property for the mask layer from the Material drop-down list. To add new material layer click the button (next to Material drop-down list). Surface roughness model - Allows you to select Surface roughness model for the sides of the via. Precedence - Precedence specifies which layout layer has precedence over another if two or more layout layers are assigned.
Nested Technology - Choose a Nested Technology from the Nested Technology drop-down list. The chosen Nested Technology determines the position of the Nested Substrate above or below the Interface it is on. It also determines if the substrate appears flipped or not. Click the button to create or edit Nested Technologies.
48
Advanced Design System 2011.01 - Advanced Design System Quick Start Nested Library - This is the name of the library specified in the chosen Nested Technology. This is not editable. Substrate - Choose a Substrate from the Nested Library to specify the EM properties of the layouts that will be placed on layouts using this substrate. Offset - This allows you to move your Nested Substrate up or down relative to the interface it is on.
Normally a Nested Substrate is placed above the top interface or below the bottom interface. See Nested Technology (usrguide) and Multi-Technology Design in ADS2011 for more information about using Nested Technologies and Nested Substrates.
Importing a Substrate
To import a substrate choose File > Import from the Substrate editor window or the ADS Main window. The following import options are available: SLM Substrate File Substrate From Database Substrate From Schematic
49
50
Simulating Designs
Advanced Design System provides controllers that you can add and configure to simulate, optimize, and test your designs. A DSP design simulation requires a Data Flow Controller while an Analog/RF design simulation requires one or more of various controllers. You can either add and configure the appropriate controllers or you can insert a template (choose Insert > Template from a Schematic window) that contains the appropriate controllers. To simulate a design: 1. Click and place the simulation controller. 2. Double-click to edit parameters.
51
2.
3. From the schematic window, click the Simulate icon simulation status is displayed in a message window.
Simulation Wizard
Advanced Design System also provides a step-by-step interface for circuit simulation. The 52
Advanced Design System 2011.01 - Advanced Design System Quick Start Smart Simulation Wizard can be used to:
Create Analog/RF designs Set up and run simulations Display simulation results
To smart simulate a design...
4.
Sources
Sources are components with no inputs. Sources can read data from files, instruments, and datasets. When a source is controlling the simulation, it will keep the simulation running long enough to output all its data. 54
Sinks
Sinks are components with no outputs. When a sink controls the simulation, it will keep the simulation running long enough to satisfy its start and stop times. When a sink is not controlling the simulation, it will start collecting data at Start, then collect as much data as the simulation produces.
Components
There are two basic types of Ptolemy components Timed and Numeric. Timed components have a notion of sampling rate, carrier frequency, and envelope. Numeric components process integers, matrixes, floats, fixed point numbers and model the DSP portions of a design. For more information on: Cosimulation with analog/RF designs, refer to the Cosimulation section of ADS Ptolemy Simulation (ptolemy). Connecting to instruments, refer to Connection Manager (connectmui). Cosimulation with MATLAB IP import, refer to MATLAB Cosimulation Introduction (ptolemy). Cosimulation and HDL IP import, refer to HDL Cosimulation (hdlcosim). C++ IP import, refer to User-Defined Models (modbuild).
DC Analysis
Solves a system of nonlinear ordinary differential equations (ODEs) Solves for an equilibrium point All time-derivatives are constant (zero) System of nonlinear algebraic equations
Transient Analysis
Solves a system of nonlinear ordinary differential equations (ODEs) Time-derivatives replaced with a finite-difference approximation (integration method) Sequence of systems of nonlinear algebraic equations (one system at each timepoint)
Solves a system of nonlinear ordinary differential equations (ODEs) Steady-state method Solution approximated by truncated Fourier series System of nonlinear ODEs becomes a system of nonlinear algebraic equations in the frequency domain
Solving Nonlinear Algebraic Equations Nonlinear algebraic equations are solved using the Newton-Raphson algorithm (Newton's method) as follows. Convert the problem to a sequence of systems of linear equations Quadratic convergence near the solution (error squared at each iteration)
Design Sequencer
A Design Sequencer controller enables you to sequence multiple simulations in a single simulation run using a test bench that includes all the desired simulation controllers and the top-level design file. Some typical applications for a Sequencer controller are as follows. 56
Optimizing a variable across multiple simulations Enabling complex instrument control in Ptolemy Running a series of verifications tests on a design
Differences Between S-parameter Test Labs and Sequencer
Sequencer DC, SP, AC, HB, Tran, ENV, Ptolemy Utilizes Test Bench Controllers Different temps per test bench possible Opt/Stat/ParamSwp at top level RefNets supported
Test Lab SP only Utilizes Test Lab Controller One simulation temp for all
RefNets
A RefNet (reference network) component enables the port impedance from another design in the workspace (the referenced network) to be referenced as a terminating impedance for the current design under test. Two typical applications for RefNets are as follows. 1. Inter-stage circuit analysis and design: In some design applications it is desirable to simultaneously evaluate the performance of individual circuit stages terminated in the input and output impedances of adjacent stages. To accomplish the termination of an individual stage referenced to a specific port of other stages in the design chain, the RefNet is utilized in the S-parameter test lab. 2. Design specific termination : For some top level DC, AC, or S-parameter design files, it may be desired to terminate a port whose impedance is characterized by data, from an external file (e.g. S-parameters, Z-parameters, Y-parameters) or some other network. The two RefNet components, RefNetTB and RefNetDesign, have the same functionality and are supported under DC, AC and S-parameter analysis, with two differences: RefNetTB supports nested network referencing while RefNetDesign does not. RefNetTB uses a test bench as the reference design while RefNetDesign uses a standard (non-test-bench) schematic design.
Trapezoidal Rule
Second-order method, assumes the solution waveform is quadratic over one time step One-step method May exhibit point-to-point ringing on circuits that have very small time constant comparing to time step (stiff circuit) Stable only on stable differential equations Exhibits no artificial numerical damping
Truncation Error
The error made by replacing the time derivatives with a discrete-time approximation. This error is difficult to estimate and depends on the type of circuits and the time steps.
Local Truncation Error (LTE) The truncation error made on a single step
Global Truncation Error (GTE) Maximum accumulated truncation error The circuit with long time constant is sensitive to these errors Logic and bias circuits are not sensitive to these errors
Convergence Criteria
Newton's iteration is converged if the approximate solution first satisfies the Residue criteria at the end of each Newton iteration and the Update criteria once the residue criteria are satisfied. 58
Residue Criterion KCL satisfied to a given tolerance. This is enforced at each node and is important when impedance at a node is small.
Update Criteria Difference between the last two iterations must be small. This is important when impedance at a node is large.
Source Stepping Uses a fraction of the source voltages and currents applied to the circuit as the continuation parameter. Turn off all sources when the continuation parameter equals 0 Raise source levels to their final levels slowly, generating a sequence of circuit configurations Use the solution from the previous configuration as an initial guess for the current configuration
Gmin Stepping Uses the continuation parameter to control the value of the gmin resistors. Start with a large value of gmin for an easy to compute solution, because nonlinear device behavior is muted by the presence of the small resistors End with a very small value of gmin for resistors that are so large that they no longer affect the circuit Remove the gmin values to compute the final solution
59
Arc-length Continuation Works best for complicated continuation paths and limit points using a continuation parameter that is a function of the arc-length parameter. Travel same distance at each step, as specified by the arc-length Increase or decrease the continuation parameter along the path in each step
Instrument Connectivity
60
Advanced Design System 2011.01 - Advanced Design System Quick Start Connection Manager enables the sharing of signals, measurements, algorithms, and data between ADS simulations and Agilent instruments (signal generators and signal analyzers).
Using Connection Manager, you can: Access and control instruments from ADS dialogs Measure devices and construct ADS datasets from the measurement data Create simulation models based on measured data Use real-time instrument-generated stimulus and measurement during simulations
Simulation Controllers
Add one or more simulation controllers to the design based upon the type of design to be simulated and the kinds of analyses desired.
Description Data Flow Simulation Controller (adstour) Controls the flow of mixed numeric and timed signals for digital signal processing simulations using the ADS Ptolemy simulator. DC Simulation Controller (adstour) Fundamental to all RF/Analog simulations. It performs a topology check and an analysis of the DC operating point. Typical Use All signal processing designs All RF/Analog designs
AC Simulation Controller (adstour) Filter Obtains small-signal transfer parameters like voltage gain, current gain, and linear noise Amplifier voltage and currents. S-Parameter Simulation Controller (adstour) Provides linear S-parameter, linear noise parameters, transimpedance, and transadmittance. Can be used to achieve many goals of the AC simulator. Harmonic Balance Simulation Controller (adstour) Uses nonlinear harmonic-balance techniques to find the steady-state solution in the frequency domain. Circuit Envelope Simulation Controller (adstour) Uses a combination of frequency- and time-domain analysis techniques to yield a fast and complete analysis of complex signals such as digitally modulated RF signals. Filter Oscillator Amplifier Mixer Oscillator Power Amplifier Transceiver Mixer Oscillator Power Amplifier Transceiver Phase-locked Loop Power Amplifier
LSSP Simulation Controller (adstour) Performs large-signal S-parameter analyses to represent nonlinear behavior. The accompanying P2D simulator can be used to speed up subsequent analyses. XDB Simulation Controller (adstour) Seeks a user-defined gain-compression point at which an actual power curve deviates from an idealized linear power curve. Transient/Conv. Simulation Controller (adstour) Solves a nonlinear circuit entirely in the time domain using simplified models to account for the frequency-dependent behavior of distributed elements. RF Budget Controller (adstour) Determines the linear and nonlinear characteristics of an RF system made up of a cascade of two-port, two-pin linear or nonlinear components.
Power Amplifier Mixer Mixer Power Amplifier Switching Circuits Mixer Nonlinear Amplifier
Characterize and improve an unknown process such as the response of a design Identify variables that contribute significantly to variations in performance Vary parameter values to identify combinations that deliver the desired yields Some of their design applications include: Optimizing gain and matching Filter response optimization Pulse-rise time tuning Carrier lock time and residual loop error optimization Fixed-point bit-width optimization Maximize manufacturing yield Advanced Design System includes the optimization and statistical design controllers shown below. For more detailed information on optimization and statistical design, refer to the Tuning, Optimization, and Statistical Design (optstat) documentation.
Description Used With
Nominal Optimization Controller (adstour) Goal Component (required) A Goal component is used in Used to compare computed and desired conjunction to specify the optimization goals. responses and modify parameter nominal values to bring the computed response closer to the desired optimization goals. Monte Carlo Controller (adstour) Yield Specification Component (optional) A Yield Uses the Monte Carlo method to simulate a Specification component is used in conjunction to specify design over a given number of trials in which the the desired yields. Statistical Correlation Component statistical variables have values that vary (optional) A Statistical Correlation component is used to randomly about their nominal values with specify statistical correlation between statistical design specified probability distribution functions. variables. Yield Analysis Controller (adstour) Uses the Monte Carlo method described above to determine the manufacturing yield. For each trial, the computed response is compared to the corresponding yield specification, and a pass/fail decision is made. Yield Optimization Controller (adstour) Used to analyze multiple yield analyses and adjust the nominal values to maximize the yield estimate of the statistical design variables. Yield Specification Component (required) A Yield Specification component is used in conjunction to specify the acceptable performance. Statistical Correlation Component (optional) A Statistical Correlation component is used to specify statistical correlation between statistical design variables. Yield Specification Component (required) A Yield Specification component is used in conjunction to specify the acceptable performance.
Design of Experiments Controller (adstour) DOE Goal Component (required) A DOE Goal component is Used to sequentially and iteratively improve the used in conjunction to specify the desired goals. statistical performance of a design by identifying variables that contribute significantly to performance variation and honing in on the target statistical response.
62
Analyzing Results
Advanced Design System uses the datasets to store the simulation information you generate when analyzing designs. You can display this information for analysis using the Data Display window. A Data Display window can also be used to display data imported from other sources. In a Data Display window you can: Display data in a variety of plots and formats Use markers to read specific data points on traces Use equations to perform operations on data Annotate results using text and illustrations Once simulation is complete, the data is displayed automatically if you did one of the following (a blank Data Display window is opened if you did none of them): Specified a dataset and display before simulation Use a schematic template for an Analog/RF simulation Specified Rectangular in the Plot parameter in a sink for a Signal Processing simulation
To enhance the display you can also add: Markers to identify specific data points Annotations using text and illustrations Legends to help identify specific traces If you used a template to create the design you have simulated, the initial setup and configuration to create displays for data analysis is done for you automatically. Follow the steps below to create a data display: 1. Click the New Data Display Window icon ( window. ) button to open the Data Display
63
1.
) from the Palette to open the Plot Traces & 2. Click Rectangular Plot icon ( Attributes dialog box. 3. Select the dataset from Datasets and Equations drop-down list.
4. After selecting the dataset, select plot and trace options as per your requirements. For more details, see Plots and Lists (data). 5. Click OK to return to DDS window.
Viewing Results
To view simulation results from the Main, Schematic, or Layout window choose Window > Open Data Display and use the dialog box to locate and open the results.
Note To display a list of data display files in the File Browser page of the ADS Main window, select View > Show All Files from the ADS Main window.
To display the simulation results: 1. From any of the design window, choose Window > Open Data Display.
64
1. 2. Select the Data Display File (.dds extension) from the Open Data Display dialog to display the simulation results (see below).
Display Options
The following plot, trace, and data options can be used to display data for analysis:
65
Using Functions
You can use Measurement Equations to perform operations on data generated during a simulation. These equations are created using functions that are based on AEL, the Application Extension Language.
Note Data from a marker can also be used as part of an equation. To insert a marker, choose Marker > New and click the trace where you want to insert it.
To create and insert a function... 1. Click the Equation icon ( Enter Equation dialog box. ), and select a spot on the Display window to open the
2. Enter the equation name and add the equal to (=) symbol to the equation. 3. Add the data that you want to assign to the equation name. 4. Click Ok.
Note For more details on inserting a new equation, see Inserting Equations (data).
66
Enter file name to be imported (along with path). You can click Preview button to preview the file, before importing. Click OK to import (or export) the file. To export ADS Ptolemy designs: From Schematic window, choose Tools > Export ADS Ptolemy Design > As GoldenGate VTB (or As GoldenGate Model) Enter the output location and click OK. For more details, see ADS Ptolemy Simulation (ptolemy). To import or export data: Choose Tools > Data File Tool from a Schematic window (for Touchstone, MDIF, CITI, and IC-CAP files) Choose Tools > Connection Manager Client from a Schematic window (for data from connected instruments) Choose Tools > Instrument Server (Windows only) (read and write data from various legacy instrument sources in a variety of file formats)
67
GDSII Stream Format (.gds) Layout Gerber (.gbr) HPGL/2 (.hpg) HP IFF (.iff) IGES (.igs) Mask File (.msk) MGC/PCB (.iff) Spice (.cir, .cki, .iff, .net) ODB++
Gerber
68
Advanced Design System 2011.01 - Advanced Design System Quick Start This format refers to various data input formats that Gerber Scientific uses to drive its photoplotters. The Gerber format is used by photoplotters produced by other manufacturers also. RS274X and MDA formats are supported.
HPGL/2
This format is a subset of the HPGL/2 printer/plotter language. When creating a graph or chart in another tool, you can write the graphics data to an HPGL/2 output file, then import the file into Advanced Design System. In Advanced Design System, the HPGL data is transformed into forms and shapes that can be edited and manipulated like any other drawing. Additional text, annotation, scaling or editing may be added.
Mask
This format is a simple flat (non-hierarchical) geometric description. The format facilitates the transfer of simple geometric data for final mask processing. Only geometric forms are described in a mask file; simulation data, element parameters, substrate definitions, and hierarchy are not included.
MGC/PCB
These files are IFF files that are used exclusively for Mentor Graphics design transfers. MGC/PCB files write to a specific location each and every time. When you select this format, the filename and location of the IFF transport is determined automatically.
Spice
69
Advanced Design System 2011.01 - Advanced Design System Quick Start Simulation Program with Integrated Circuit Emphasis (Spice) has become a simulation tool used by engineers throughout the world for simulating circuits of all types. After its development at the University of California Berkeley, Spice has been commercialized and modified by a large number of vendors and also adopted and modified by electronics companies for their own in-house use.
ODB++
ODB++ is widely accepted as a practical de-facto standard within the electronics industry as an efficient way to move printed circuit bareboard, assembly and test data on the manufacturing-engineering level within design/manufacturing supply chains.
Small signal S, H, Y, Z, or G-parameters. May also include n-Port S-parameter file (SnP) optional noise data (2 port data only). Where n is the components in the Data Items number of ports from 1 to 99. Library.
When writing data from a dataset to a file, the variable names are limited to S,H,Y,Z or G, for example, S[1,1], S[1,2], G[1,1], G[1,2]. The variable name is used to determine the type of data. The first set of data in the dataset that matches the data type (name) will be output. It is not possible to arbitrarily select which data will be output.
CITIfile Format CITI Description A general data format supported by network analyzers. Capable of storing multiple packages of multi-dimensional data. Usage S#P #-Port S-parameter file components in the Data Items Library.
There are some specific problems with the current version in writing and/or reading this data format. Refer to the release notes or on the Agilent EEsof support Web site for more information and workarounds.
Agilent ICCAP Formats DUT, MDL, SET Description Usage
Device under test (DUT), model (MDL), and setup (SET) files from the Agilent IC-CAP software. These files can contain Measured, Simulated, and/or Transformed data.
Once the data is read into a dataset, it can be used with any component (for example, a VtDataset source) that can read data from a dataset.
You can read in IC-CAP data only. Only simple, scaled expressions with numbers or variables and one operator (either +, -, \<B>, or /) are supported for start, stop, step, and number of points parameters, for example, start= 1 GHZ or stop=icmax/10.
70
Discrete (indexed) tabular and possibly statistical density data. DAC Gain compression data Amplifier and Mixer items in the System - Amps & Mixers library. DAC MixerIMT in the System Amps & Mixers library. EEFET1, BJTAP, etc. AmplifierP2D item in the System - Amps & Mixers library. With expressions in the Statistics tab.
GEN_MDIF IMT
Generalized multi-dimensional tables unifying other MDIF formats. Intermodulation product table of mixer intermodulation products between the LO and signal that relates the mixer IM output level to signal input level. Large-signal, power-dependent, 2-port S, H, Y, Z, or G parameters. User defined, piece-wise linear probability density function data.
S2PMDIF Multi-dimensional 2-port, S, Y, Z, H, G signal and optional 2-port noise parameter (Fmin, Gopt, Rn) data. SDF
Type #1:Newer/More Use the Ptolemy Instruments library SDFWrite and SDFRead files to work with this type Used by customers: 89600 of data. The resulting files can be played back in Agilent 89601A VSA software as well. series VSAs encrypted sdf For more details, refer to the software documentation of the Agilent 89600. data file Type #2:Older/legacy/obsoleted 89440 VSAs and encrypted sdf data file. You can use ADS designs /Tools/Data File Tool (write/read) with File format= MDIF and mdif subtype = SDF to write this type of file. For more details see, http://www.home.agilent.com/agilent/editorial.jspx?cc=US&lc=eng&ckey=456587&nid=11143.0.00&id=456587&pselect=SR.GENERAL
SPW
Time-domain voltage data TimeFile item in Timed Sources and OutFile item in Sinks library. file in Cadence Alta Group SPW format Time-domain data TimeFile item in Timed Sources and OutFile item in Sinks library.
TIM
When writing data from a dataset to a file, the variable names are limited to S,H,Y,Z or G, for example, S[1,1], S[1,2], G[1,1], G[1,2]. The variable name is used to determine the type of data. The first set of data in the dataset that matches the data type (name) will be output. It is not possible to arbitrarily select which data will be output. There are some specific problems with the current version in writing and/or reading this data format. For more information and workarounds, refer to the release notes at the Agilent EEsof support Web site. Obsolete Formats: COD, FIR, LAS, SPE, LIST2, and T2D.
71
Note You cannot place the multiple controllers on the schematic to simulate the same design with different controller parameters. To achieve the same functionality by using the single-point sweeps on the parameter you are interested in varying.
DC Simulation Controller
The DC controller provides for both single-point and swept simulations. Swept variables can be related to voltage or current source values, or to other component parameter values. By performing a DC swept bias or a swept variable simulation, you can check the operating point of the circuit against a swept parameter such as temperature or bias supply voltage.
Use the DC controller to: Verify the proper DC operating characteristics of the design under test. Determine the power consumption of your circuit. Verify model parameters by comparing the DC transfer characteristics (I-V curves) of the model with actual measurements. Display voltages and currents after a simulation. A DC simulation is the first analysis for most other analyses. It uses a system of nonlinear ordinary differential equations (ODEs) to solve for an equilibrium point in the linear/nonlinear algebraic equations that describe a circuit once:
72
Advanced Design System 2011.01 - Advanced Design System Quick Start Independent sources are constant valued Capacitors and similar items are replaced with open circuits Inductors and similar items are replaced with short circuits Time-derivatives are constant (zero)
AC Simulation Controller
A linear AC analysis is a small-signal analysis. For this analysis the DC operating point is found first and then the nonlinear devices are linearized around that operating point. Small-signal AC simulation is also performed before a harmonic-balance (spectral) simulation to generate an initial guess at the final solution.
Use the AC controller to: Perform a swept-frequency or swept-variable small-signal linear A simulation. Obtain small-signal transfer parameters, such as voltage gain, current gain, transimpedance, transadmittance, and linear noise. An AC simulation also offers a linear noise simulation option that can include the following noise contributions in its simulation: Temperature-dependent thermal noise from lossy passive elements, including those specified by data files. Temperature and bias-dependent noise from nonlinear devices. Noise from linear active devices specified by two-port data files that include noise parameters. Noise from noise source elements. The noise simulation computes the noise generated by each element, and then determines how that noise affects the noise properties of the network.
73
Use the S-Parameter controller to: Obtain the scattering parameters (S-parameters) of a component or circuit, and convert the parameters to Y- or Z-parameters. Plot, for example, the variations in swept-frequency S-parameters with respect to another changing variable. Simulate group delay. Simulate linear noise. Simulate the effects of frequency conversion on small-signal S-parameters in a circuit employing a mixer. S-parameter simulation normally considers only the source frequency in a noise analysis. Use the Enable AC Frequency Conversion option if you also want to consider the frequency from a mixer's upper or lower sideband.
Use the Harmonic Balance controller to: Determine the spectral content of voltages or currents. Compute quantities such as third-order intercept points, total harmonic distortion, and intermodulation distortion components. Perform power amplifier load-pull contour analyses. Perform nonlinear noise analysis. Harmonic Balance enables the multitone simulation of circuits that exhibit intermodulation frequency conversion, including frequency conversion between harmonics. It is an
74
Advanced Design System 2011.01 - Advanced Design System Quick Start iterative method that assumes that for a given sinusoidal excitation there exists a steadystate solution that can be approximated to a satisfactory accuracy.
Simulation Overview
Harmonic balance is a frequency-domain analysis technique for simulating distortion in nonlinear circuits and systems. It obtains the frequency-domain voltages and currents to calculate the spectral content of voltages or currents in the circuit. The harmonic balance method is iterative. It is based on the assumption that for a given sinusoidal excitation there exists a steady-state solution that can be approximated to satisfactory accuracy by means of a finite Fourier series. The Harmonic Balance solution is approximated by truncated Fourier series and this method is inherently incapable of representing transient behavior. The time-derivative can be computed exactly with boundary conditions, v(0)=v(t), automatically satisfied for all iterates. The truncated Fourier approximation + N circuit equations results in a residual function that is minimized. N x M nonlinear algebraic equations are solved for the Fourier coefficients using Newton's method and the inner linear problem is solved by: Direct method (Gaussian elimination) for small problems Krylov-subspace method (e.g. GMRES) for larger problems Nonlinear devices (transistors, diodes, etc.) in Harmonic Balance are evaluated (sampled) in the time-domain and converted to frequency-domain via the FFT.
Advantages
Harmonic balance captures the steady-state spectral response directly while conventional transient methods need to integrate over many periods of the lowestfrequency sinusoid to reach steady state. Harmonic balance is faster at solving typical high-frequency problems that transient analysis can't solve accurately or can only do so at prohibitive costs. Harmonic balance is more accurate at solving high frequencies where many linear models are best represented in the frequency domain.
Convergence
Nonconvergence is a numerical problem encountered by the harmonic balance simulator when it cannot reach a solution, within a given tolerance, after a given number of numerical iterations. There is no one specific solution for solving convergence problems. However, consider the following guidelines: Increase the Order (or other harmonic controls); this is the most basic technique for solving convergence problems, if the time penalty for doing so is acceptable. Use the Status server window as the main tool in solving convergence problems (set StatusLevel=4). For each Newton iteration the L-1 norm of the residuals throughout the circuit is printed: a "*" indicates a full Newton step (vs. a Samanskii step). Convergence criteria are controlled by Voltage relative tolerance, and Current relative 75
Advanced Design System 2011.01 - Advanced Design System Quick Start tolerance (in the Options component, under the Convergence tab). In general, convergence speed is improved by increasing these values, but at the expense of accuracy. Similarly, the smaller these values are, the more accurate the results but the slower the convergence. Newton convergence issues with Krylov methods (because linear problem solutions can only approximate) can be improved by using better preconditioners. Set the Oversample parameter to a value greater than 1.0, such as 2.0 or 4.0. However, remember that although this can often solve convergence problems, it does so at the cost of computer memory and simulation time. For multiple-tone harmonic balance simulations, make sure that the largest signal in the circuit is assigned to Freq[1]. The simulator's FFT algorithm is set up so that aliasing errors are much less likely to affect Freq[1] than any other tone. When using a direct linear solver, the blocks of the Harmonic Balance Jacobian inherit the Jacobian matrix ordering from the DC solution process. This matrix ordering can greatly affect the efficiency of the Harmonic Balance Jacobian factorization, and in some circuits show noticeable simulation slowdown. To circumvent this issue, use a DC convergence mode that hasn't changed, e.g. DC_ConvMode=3. For non-convergence due to tight tolerances, monitor the residuals in the Status Server window. Increase I_AbsTol if the circuit is converging to within a few pA but not quite to I_AbsTol=1pA Increase I_RelTol if the problem is with nodes associated with large currents Increase I_AbsTol if the small current nodes are the issue Relax voltage tolerances for failure in the Newton update criterion The internal circuit simulator engine in ADS (Gemini) runs from a netlist. ADS writes a netlist file (netlist.log) before invoking Gemini. The order of the components and model definitions in the netlist determine the initial Jacobian matrix ordering. This matrix ordering can affect the efficiency of the Jacobian factorization and cause either a simulation slow down or non-convergence. For convergence problems due to errors in the component model equations (incorrect derivatives, etc.) make sure ancient Berkeley MOSFET Level 1, 2, 3 are not the culprit and that the latest model version is used (especially BSIM3 models). Model problems can cause the Newton residual to hit a threshold (greater than the convergence criteria tolerances) and stale the convergence process or even exhibit random jumps (sudden increase in value). Set the device's Xqc parameter to a nonzero value to allow the simulator to use a charge-based model for the gate capacitance. This often enables convergence, but at the cost of extracting an extra SPICE model parameter.
Sweeps as Convergence Tools Continuation methods provide a sequence of initial guesses that are sufficiently close to the solution to assure Newton's method convergence in Harmonic Balance. Sweeps can be used to formulate a specialized continuation method geared towards the particular circuit problem. Sweep a circuit element that, when set to some different value, makes the circuit more linear. For instance, in an amplifier circuit there may be a resistor that can be used to lower the amplifier's gain. The simulator may be able to find a solution to the circuit under a low-gain condition. Then, if the component's value is swept toward the desired value, the simulator may be able to find a final solution. Start with a value that works, and stop with the desired value. Also, select Restart, under the Params tab. Usually, a better initial guess at each step helps the simulator to converge. The two main ways to perform sweeps are:
76
HB sweep within the HB controller. This is preferred for most sweeps, except frequency. Parameter sweep using a separate sweep controller.
Convergence and Samanskii Steps The Samanskii steps can significantly speed up the solution process. However, using an approximate Jacobian, particularly for a larger number of iterations, may result in poor or even no convergence. The constant is used in two ways. First, it becomes a more absolute measure when it is smaller. It then approaches the requirement that each iteration reduces the relevant norm by one-third. Decreasing the Samanskii constant beyond a certain point (which in turn depends on the quality of the most recent Newton step) will make no difference. However, setting the Samanskii constant to zero will effectively disable any Samanskii steps altogether. Increasing the Samanskii constant relaxes this requirements in general, but the condition becomes more dependent on the quality of the standard most recent Newton iteration. In other words, a more rapid convergence of the Newton step would also require better convergence of the Samanskii steps.
Convergence and Arc-Length Continuation Arc-length continuation is an extremely robust algorithm. If it fails, try all other convergence remedies first before adjusting arc-length parameters MaxStepRatio controls the maximum number of continuation steps (default 100) MaxShrinkage controls the minimum size of the arc-length step (default 1e-5) ArcMaxStep limits the maximum size of the arc-length step (default is 0, i.e. no limiting) ArcMinValue & ArcMaxValue define the allowed range for the variation of the continuation parameter
77
Circuit Envelope is highly efficient in analyzing circuits with digitally modulated signals, because the transient simulation takes place only around the carrier and its harmonics. In addition, its calculations are not made where the spectrum is empty. It is faster than Harmonic Balance, for a given complex signal Spice, assuming most of the frequency spectrum is empty It does not compromise in Signal complexity, unlike time-varying HB or Shooting Method Component accuracy, unlike Spice, Shooting Method, or DSP It adds physical analog/RF performance to DSP/system simulation with real-time cosimulation with ADS Ptolemy It is integrated in same design environment as RF, Spice, DSP, electromagnetic, instrument links, and physical design tools
Advantages over Harmonic Balance In Harmonic Balance, if you add nodes or more spectral frequencies, the RAM and CPU requirements increase geometrically. Krylov improved this, but it's still a limitation of Harmonic Balance because the signals are inherently periodic. Conversely the penalty for more spectral density in Circuit Envelope is linear: just add more time points by increasing TSTOP. The longer you simulate, the finer your resolution bandwidth. Doing a large number of simple 1-tone HB simulations is effectively faster and less RAM intensive than one huge HB simulation. With a circuit envelope simulation the amplitude and phase at each spectral frequency can vary with time, so the signal representing the harmonic is no longer limited to a constant, as it is with harmonic balance.
Limitations 1. More occupied spectrum than unoccupied spectrum. You're carrying more overhead with frequency-domain assumptions and harmonics than necessary. Use SPICE. 2. Everything baseband. Depends. If everything linear, use AC/S-parameter (for noise or budget) If everything nonlinear or digital, use SPICE. If everything logic/behavioral, use PTOLEMY. Occupied spectrum is relatively sparse. 3. If you can do what you want using Harmonic Balance, you should. Post-processing, optimization, and yield are simpler and faster.
Simulation Process
78
Each modulated signal can be represented as a carrier modulated by an envelope A(t)*ejf(t). The values of amplitude and phase of the sampled envelope are used as input signals for Harmonic Balance analyses. 2. Frequency Domain Analysis
Harmonic Balance analysis is performed at each time step. This process creates a succession of spectra that characterize the response of the circuit at the different time steps. 3. Time Domain Analysis
Circuit Envelope provides a complete non steady-state solution of the circuit through a Fourier series with time-varying coefficients. 4. Extract Data from Time Domain
Selecting the desired harmonic spectral line (fc in this case), it is possible to analyze: Amplitude vs. Time (Oscillator start up, Pulsed RF response, AGC transients) Phase (f) vs. Time (t) (VCO instantaneous frequency (df/dt), PLL lock time) Amplitude & Phase vs. Time (Constellation plots, EVM, BER) 5. Extract Data from Frequency Domain
79
By applying FFT to the selected time-varying spectral line it is possible to analyze: Adjacent Channel Power Ratio (ACPR) Noise Power Ratio (NPR) Power Added Efficiency Reference frequency feedthrough in PLL Higher order intermods (3rd, 5th, 7th, 9th)
Simulation Steps
OR 1. Define baseband signal modulation Predefined sources Equations I & Q data vs. time data from DSP simulation 2. Define RF carrier frequencies, time step and duration of the simulation 3. Compute time-varying Fourier coefficients 4. Post-process and display results 1. Define input signal(s) with modulation - amplitude, phase, frequency, I/Q, etc. 2. Define the time step 3. Simulator computes Fourier coefficients versus time: 4. Fourier transforms are computed to display frequency spectrum around any tone (if necessary)
Typical Analyses
Intermodulation distortion. Amplifier spectral regrowth and adjacent channel power leakage. Oscillator turn-on transients and frequency output versus time in response to a transient control voltage. PLL transient responses. AGC and ALC transient responses. Circuit effects on signals having transient amplitude, phase, or frequency modulation. Amplifier harmonics in the time domain. Subsystems using modulation signals such as multilevel FSK, CDMA, or TDMA. Third-order-intercept and higher-order intercept analyses of amplifiers and mixers. Time-domain optimization of transient responses.
Typical Applications
Time Domain Data Extraction Selecting the desired harmonic spectral line it is possible to analyze: Amplitude vs. Time Oscillator start up
80
Pulsed RF response AGC transients Phase vs. Time VCO instantaneous frequency, PLL lock time Amplitude & phase vs. time Constellation plots EVM, BER
Frequency Domain Data Extraction By applying FFT to the selected time-varying spectral line it is possible to analyze: Adjacent Channel Power Ratio (ACPR) Noise Power Ratio (NPR) Power added efficiency Reference frequency feedthrough in PLL Higher order intermods (3rd, 5th, 7th, 9th)
Large-signal S-parameters are based on a harmonic balance simulation of the full nonlinear circuit. Unlike S-parameters, large signal S-parameters can change as power levels are varied because the harmonic balance simulation includes nonlinear effects such as compression.
81
Use the Transient/Convolution controller to perform: SPICE-type transient time-domain analysis. Nonlinear transient analysis on circuits that include the frequency-dependent loss and dispersion effects of linear models, or Convolution analysis. A transient analysis is performed entirely in the time-domain. It does not account for the frequency-dependent behavior of distributed elements. A convolution analysis represents distributed elements in the frequency domain to account for their frequency-dependent behavior.
Local Truncation Error Estimates the LTE made on every capacitor and inductor Determines the time step size to ensure the largest LTE remains within the accepted tolerance The estimated LTE is inversely proportional to TruncTol The accepted tolerance depends upon the relative and truncation tolerances set for the current and voltage. It is proportional to I_RelTol x TruncTol and V_RelTol x TruncTol Iteration-Count Determines the time step size based on the number of Newton iterations required for previous time point No direct relationship between iterations and LTE Effectively controlled by Max time step (for linear circuits) Fixed The time step is fixed and equal to Max time step Break Points Generated by built-in independent sources whenever an abrupt change in slop occurs Ensure that corners in waveforms are not missed ADS always places time points on a break point (except fixed time step) Backward Euler is used on time points that are the first time step after break points The step size is reduced when time point is close to a break point
Advanced Design System 2011.01 - Advanced Design System Quick Start Use simplified device models that do not include capacitance model or incomplete capacitance model give a complete capacitance model when specifying nonlinear device model parameters, in junction capacitance, include both depletion (at least) and diffusion capacitances Discontinuous jumps in waveforms when circuit contains nodes have no capacitive path to ground add small capacitor to ground or specify Cmin Capacitance model does not conserve charge GaAsFET Statz's, MOSFET Meyer's capacitance models switch to charge based model Large floating capacitors that are similar to the small-floating resistor problem in DC (finite precision problem) check capacitance unit, use smaller capacitance Discontinuous capacitance models in user defined model, SDD device fix the model
Slow Transient analysis Make sure I_RelTol and V_RelTol are set to 1e-3 or not set at all Decrease these values when higher accuracy is needed
Oscillator circuit does not oscillate Apply a short pulse at the beginning of the simulation Avoid using Gear2 or backward Euler
Circuit exhibits ringing or divergence Reduce Mu value from 0.5 toward 0 if trapezoidal rule is used Use Gear1 or Gear2
Circuit does not converge at first time point Reduce Min time step
Convergence Hints
Add break points Use piecewise linear source to add break points to the region where the waveform changes abruptly
Reduce max time step Ensure enough time points for sharp edges
84
Increase Max iterations per time step Increase to 50 or more to increase the possible number of Newton iterations on each time step
Relax TruncTol Increase this value 10 times or more to relax LTE tolerance
Relax I_Reltol and V_Reltol Increase to 1e-3 to relax Newton convergence tolerance as well as LTE tolerance
Using Convolution
Don't set any convolution parameters (let the adaptive algorithm figure it out) Set ImpMaxFreq first (larger than signal bandwidth) Set convolution parameters on component, not controller, when possible Don't allowed measured data to be extrapolated (either set ImpMaxFreq or provide more data)
Convolution Modeling for Time-Domain Simulation In time-domain simulation, simulate devices that can only be defined in the frequency domain Transmission lines with dispersion Devices with frequency-dependent loss Measured frequency-domain data Convolution is the key Inverse Fourier transform of frequency-domain data produces the impulse response h(t) The impulse response is convolved with time-domain signal
85
Time and Frequency Range Impulse response is computed from the inverse Fourier transform of frequencydomain response frequency is uniformly sampled from 0 to some upper value Upper frequency sets the time-domain spacing of the impulse response Frequency spacing sets the length of the impulse response
Adaptive Impulse Response Calculation Estimate of system bandwidth is made from source frequencies and rise times - initial guess at fmax Build a trial impulse response with 32 timepoints very coarse frequency spacing Build a second impulse response with 64 timepoints less coarse frequency spacing Keep doubling the number of timepoints until a good impulse response is obtained increase fmax, decrease Df y11 and y12 may be sampled with different fmax and Df Adaptive calculation is only done if ImpDeltaFreq is not specified don't set ImpDeltaFreq if you don't have to
Good Impulse Responses Compare impulse responses with N and 2N points. The second impulse response is twice as long in time domain and has half the frequency spacing. An impulse is considered "good" when no appreciable energy is present in the second half of the impulse response if energy is present in the second half, implies either that the impulse is not long enough or it is noncausal If not good, Controller keeps doubling the length Controller also tries doubling the maximum frequency, giving smaller impulse timesteps
Interpolation The impulse response is sampled with a uniform timestep, but is not guaranteed to match the simulation timestep. The simulation may even be using a variable timestep. Interpolate the signal v(t) to match the timepoints in the impulse response Don't interpolate the impulse response because the Fourier transform of the interpolated impulse response would no longer match the original frequency response
86
Impulse Evaluation Signal response at time zero extends back to minus infinity Evaluate the integral as a sum
Viewing an Impulse Response In an S-parameter simulation, analyze over the given frequency spacing and maximum frequency inverse Fourier transform the response by plotting ts (x) In the time domain, apply an impulse and simulate plot the transient result the pulse risetime is used to set fmax and thus can influence the impulse response
Setting ImpMaxFreq and ImpDeltaFreq Generally a good impulse response can be found without manually setting ImpMaxFreq 87
and ImpDeltaFreq If ImpMaxFreq is set, the adaptive algorithm tries different lengths but doesn't modify fmax If ImpDeltaFreq is set, the adaptive algorithm is disabled and the impulse is computed from ImpDeltaFreq and ImpMaxFreq Set ImpMaxFreq on the component, then set ImpDeltaFreq on component if necessary, and finally, set ImpMaxFreq on the transient controller if necessary For transmission lines, set ImpMaxFreq to at least n/td, where td is the delay time and n is a small integer (2-3) For lowpass and bandpass filters, set ImpMaxFreq to at least twice the upper passband edge
Measured Data with S2P Component The algorithm that computes the impulse response has no special knowledge of the component it's working on and assumes data is available at any desired frequency. It has no knowledge of flow and fhigh or frequency spacing of measured data S2P interpolates and extrapolates data as needed Be sure to supply good data to prevent dangerous extrapolation extends down to DC and up to fmax Set ImpMaxFreq on S2P component to match frequency limits in datafile (avoid extrapolation) Typically there is not enough frequency-domain data in the S2P file for use in the simulation Given a pulse with a risetime of tr, the equivalent bandwidth is 2.2/tr (0.1 ns risetime represents a 22 GHz bandwidth) Package models typically must be measured up to 10x higher than the signal frequency to represent transmission line effects well
RF Budget Controller
Use the Budget controller for budget analysis of an RF system. This RF system budget analysis enables you to determine the linear and nonlinear characteristics of an RF system comprising a cascade of two-port, two-pin linear or nonlinear components. The Budget controller includes a large number of built-in budget measurements and improved budget noise measurements.
Use the RF Budget Controller to Modify simulations using tuning, parameter sweeps, optimization, yield analysis, etc. Include AGC loops to control gain and set power levels at specific points in the RF system. Select alternate budget paths.
89
Advanced Design System 2011.01 - Advanced Design System Quick Start to performance variation. Next a refining experiment can be used to hone in on the target statistical response.
92