Using LineCalc

LineCalc is an analysis and synthesis program for calculating electrical and physical parameters of single and coupled transmission lines.

LineCalc can communicate directly with the circuit simulators. You can send parameter data for selected circuit design elements, along with data on any associated substrates or walls, directly from the simulator to LineCalc. After the element parameter values are calculated, you can update the associated schematic or layout circuit design in the active simulator immediately with the LineCalc results. Or you can place a newly synthesized component into the Schematic window.

Using dialog boxes, you can make changes in parameter values of your transmission lines and see the results of those changes on the screen. You can use LineCalc like a spreadsheet, in the sense that a change in one value brings about a recalculation through all related values when you choose the appropriate Calculate button.

You can print results, save results to an element data file, or instantly update a schematic or layout in a circuit design.

Note
LineCalc cannot be used with the signal processing simulators.

The Basic LineCalc Process

Key Terms

Analysis Calculation of electrical parameters from physical data.

Synthesis Calculation of physical parameters from electrical data.

Shared Parameters Parameters common to a group of components and required for both analysis and synthesis.

LineCalc File (<filename>.lcs ) The data file created when results from a LineCalc analysis or synthesis of a component are saved. The file contains information about the component's parameters, associated shared parameters, frequency, and units to support design iteration.This data file is created when you save results from a LineCalc analysis or synthesis of a component. The file contains information about the component's parameters, associated shared parameters, frequency, and units to support design iteration.

Starting LineCalc

Before running LineCalc, you should be familiar with the basic operation of the ADS design environment. (For details, refer to the Schematic Capture and Layout manual.)

To run LineCalc from within the Design Environment:

The LineCalc Window

The LineCalc window is divided into several regions.

The following sections describe these regions.

Title Bar, Toolbar, and Menu Bar

The Title bar displays the application name and the name of the active data file (or untitled if no data file is associated with the data being displayed).

The Toolbar contains buttons for frequently-used commands.
The Menu bar displays the available menus and commands.

Component Display

The Component display lists the currently-selected component type and ID. You can choose a different component type and ID to analyze or synthesize, by the Selection arrow .

Shared Parameters Display

The Shared Parameters display consists of the Substrate Parameters and the Component Parameters sections. The parameters shared by all components with substrate parameters are listed in the Substrate Parameters area. The parameters shared by components with frequency or mwall parameters are listed in the Component Parameters area.

Parameters Display

The Parameters display lists the physical and electrical parameter values of the currently-selected component.
In the Physical section, the Fix button indicates the status of the associated physical parameter:

Results Display

The Results display shows the parameter values that change as a result of the synthesis or analysis. These are displayed as the calculated results.

Status Bar

The Status Bar at the bottom of the window shows the status of your displayed data. When you have changed a parameter value without recalculation (synthesis or analysis), the message appears: Parameter(s) modified - Values are not consistent. After you perform the calculation, the message appears: Values are consistent .

LineCalc Menus and Commands

This section describes the LineCalc Menus and Commands. The LineCalc User Interface has the following menus:

Changing the Default Data Directory

The LincCalc program reads the files from and save these to your program startup directory, unless you change the default directory.
To use an alternate directory during your current program session:

  1. From the Synthesis/LineCalc window, choose File > Change Dir.
  2. Use the displayed dialog box to specify a directory path (other than the program startup directory) for reading and saving files until you exit the program.

Resetting the Display
You must clear any currently active work before selecting or importing components for a new synthesis or analysis.

Opening a Component File

After resetting the display, you can activate a component that you want to synthesize or analyze in one of these ways:

Opening a Previously-Saved LineCalc Component File

You can activate a component that you want to synthesize or analyze by opening a previously-saved LineCalc component file.
To open a previously-saved LineCalc component file:

  1. Choose File > Open to display the dialog box.
  2. Specify the path to the directory where the component file is located. Click Filter to activate a list of data files in the specified directory. This step may not be necessary if the file is located in your current directory or if you changed your default data directory.
    Note
    Choosing a file from a different directory does not change the default directory.
  3. In the Data Files list, select the component file. The component data saved to that file becomes active in the LineCalc window.

Importing Components from the Active Design

You can activate a component that you want to synthesize or analyze by importing components from the active schematic or layout design.
To import components from an active design:

  1. In the Schematic or Layout window, select the component you want to send to LineCalc. In the illustration, a portion of a schematic example, MLIN:TL2 is selected.
    Note
    You can send only one component at a time.
  2. Choose Tools > Send Selected Components to LineCalc . The component data for all selected components is sent to LineCalc.

In the LineCalc window, each component that you import from the Schematic or Layout window, along with its ID name, is listed in the Component ID Selection dialog box. In the illustration the two MLINs (TL2 and TL3) that were sent to LineCalc from the Schematic window are now displayed in the Component ID Selection list and can be selected for evaluation.

Only one component/ID calculation can be performed at a time. For example, select and perform any calculations on MLIN:TL3 before you attempt to select and modify MLIN:TL2.

Selecting a Component

Note
Before selecting or importing components to begin a new synthesis or analysis, be sure to clear any currently active work. See Resetting the Display".

To select a component:

  1. In the Component ID field, click Select to display the dialog box. The LineCalc window changes to display the active Component Type, Component ID, parameters, and other data.
  2. Select the component you want displayed and click OK to accept the component and dismiss the dialog. Click Apply to accept the component and keep the dialog open.

Displaying Component Help

To display detailed information for a component, select Help > What's This? and place the question mark on the component illustration.

Changing Default Units

You can modify program units or frequencies before calculating the results by setting the Frequency, Length, Resistance, and Angle units.
To modify default units or frequencies:

  1. In the Menu bar, select Options > Preferences. Change the default unit preferences by selecting from the drop-down lists. Default Units lists program options.
    Unit Options Default
    Frequency GHz, MHz, kHz, Hz GHz
    Length in, mil, m, cm, mm, um mil
    Resistance kohm, ohm ohm
    Angle deg, rad deg
  2. In the Units display, modify the settings and click OK to accept your changes. The newly-chosen unit is reflected when a new component is chosen.

Changing Parameter Values

To change any values in the Physical or Electrical parameter fields:

To change Shared parameter values:

Interdependent Values for Electrical Parameters

For certain components, some of the electrical parameter values depend on the current values assigned to other parameters. In the following illustration, note the beginning values for ZO and Z0 in the Electrical portion of the Parameters display for the MCLIN component.

To observe the values of related parameters change automatically, change the value of ZO to 22 and press Enter (or click one of the other fields containing interdependent parameters).

The display updates to show that the corresponding Z0 value changed from 48.815 to 38.099. Also, the C_DB value changed from −10.676 to −6.022. Generally, the last two visited fields are used to compute the other parameters.

Fixed Values for Physical Parameters


Certain components require the value of one of the physical parameters to be fixed (not modifiable) during synthesis. For these components, one parameter must be assigned a fixed value before you can perform a synthesis. For example, observe how the W and G parameters of the CPW component are interrelated. By default, when you select the CPW component, the value of G is fixed and the value of W is not. This default condition is shown by the label on the Fixed button, which is dimmed.

If you want to change the value of G, you must click the Fix button for W. The new condition is shown by the label on the button which changes to read Fixed and is dimmed. An active Fix button on the G value indicates that value is currently not fixed and will change during synthesis.

Performing a Synthesis

A synthesis computes the physical parameter values based on the electrical parameter values.
To synthesize a revised component:

Performing an Analysis

An analysis computes the electrical component parameters based on the physical parameter values.
To analyze a revised component:

Updating Schematics with LineCalc Results

After performing a synthesis or analysis, you can place the component to the Schematic window.

In the Schematic window, select Tools > Linecalc > Place New Synchronized Component.

If you start LineCalc from the Schematic and send selected components to LineCalc for synthesis or analysis, you can update your schematic when your calculations are complete.

In the Schematic window, select the component to be updated. Then select Tools > LineCalc > Update Selected Component From LineCalc .

Saving Results


To save a LineCalc component file:

To save a LineCalc component file to a different data file:

  1. In the Synthesis/LineCalc window, choose File > Save As .
  2. In the dialog box, enter a filename and specify a directory path.
    To save a design that was modified by LineCalc calculations:

Printing

You can print the data for a component.

The printed data format is:

product information

date information

component type

component ID

units information

frequency value

shared parameters

physical parameters

electrical parameters

result parameters

Note
For detailed information on print and print setup options, refer to your operating system documentation.

Exiting the Program

To exit LineCalc:

  1. Choose File > Exit. If any unsaved changes are detected, you are prompted, Do you want to save the design?
  2. Select Yes or No , as appropriate.
    If you select Yes , and the currently active file had not been saved previously (that is, labeled untitled at the top of the window), the Save As dialog box appears, prompting you for a filename.

Using AEL Commands

Using the program's Applications Extension Language (AEL), you can create entries for user-defined components, customize the contents of library and palette menus, and write customized commands. For configuration details on using AEL, see the AEL manual.

To execute AEL commands:

Using Macros to Automate Tasks

Creating a Macro File

To create a macro file:

Recording a Macro

To record a macro:

  1. Select Options > Start Record Macro . In the dialog, enter a filename for the macro file you are going to record and choose OK to close the dialog.
  2. In the Command Line dialog, the Command History displays all actions taken in the LineCalc window during the recording. Alternatively, enter the AEL functions you want to record in the Command >> field.
  3. Select Options > Stop Record Macro to stop recording.

Running a Macro from the Design Environment


To play back a macro:

  1. Choose Options > Playback Macro . A dialog displays all the .lcm files in the current project directory. You can browse to display macros from another directory.
  2. Select the macro you want to play back and click OK to execute the selected macro.

Running a Macro from the UNIX Command Line

To run a macro file from the UNIX command line:

 

Privacy Statement  | Terms of Use  | Legal | Contact Us  | © Agilent 2000-2008 

Contents
Additional Resources