|
Manuals >Netlist Translator for SPICE & Spectre >Chapter 7: Translating a Device Print version of this Book (PDF file) |
|
||||||||||||||||||||||||||||||||
|
|
|||||||||||||||||||||||||||||||||
Using a Symbolically Defined DeviceThe symbolically-defined device (SDD) enables you to create equation based, user-defined, nonlinear components in ADS. The SDD is a multi-port device which is defined by specifying algebraic relationships that relate the port voltages, currents, and their derivatives, plus currents from certain other devices. Controlled sources from SPICE are modeled in ADS using the symbolically-defined device. The SDD allows a voltage or current source to be constructed whose output can be described as an arbitrary combination of a number of controlling voltages or currents.
The voltage controlled sources have 2(n+1) nodes, where n is the number of controls. The controlling voltage nodes are listed first in pairs (nc1p nc1n) at ports 1 through n, then the output node pair (outp outn) at port n+1. The controlling voltages have symbolic names like _v1. Each controlling voltage must have a current equation written for it (I[1,0]=0) so that no current flows between the controlling nodes through the SDD. The current controlled sources have only 2 output nodes at port 1, while the name of the sources used to measure the controlling currents are specified using C[1]="ivs1". The controlling currents have symbolic names like _c1. Current sources are written as a simple expression for the current at the output port. This expression is in SI units and is written in terms of the controls: A voltage source must have an implicit expression for the voltage at the output port such that F[3,0]=_v3-vout, where vout is the desired output voltage: Controlled sources in SPICE may be linear or nonlinear and there may be one or more controlling voltages or currents. The general form of a controlled source is: The source has two nodes with the same polarity convention as the dependent sources. The method of specifying controls depends on whether the source is voltage controlled or current controlled. Current-controlled sources give the name of a source through which the current is measured; voltage-controlled sources provide two nodes with which to measure a differential voltage. The simple linear form for all four types:
A nonlinear source may be created whose output is a polynomial function of its control: The polynomial is interpreted as: unless only a single value is given, in which case it reverts to a linear behavior: SPICE allows controlled sources with more than one control. When there is more than one control. the poly keyword must be used to identify the number of controls. The dimension refers to the number of controlling sources, not the order of the polynomial. Coefficients for a polynomial of dimension two are interpreted as:
Coefficients for a polynomial of dimension three are interpreted as:
The SPICE syntax provides no simple way to specify just a couple of the individual terms. If only the v14 term is needed, v0 through v13 must still be specified with zeros. Initial conditions here are used to provide a guess at what the controlling values will be so the output of the dependent source can be evaluated; the initial values do not actually influence the controlling values. Enough initial conditions must be provided to match the dimensionality of the source. Several translation examples for SPICE are presented below.
Example1
|
SPICE Netlist:
|
|
|
ADS Netlist:
|
|
Example 2
|
SPICE Netlist:
|
|
|
ADS Netlist:
|
|
Example 3
|
SPICE Netlist:
|
|
|
ADS Netlist:
|
|
Example 4
|
SPICE Netlist:
|
|
|
ADS Netlist:
|
|
Example 5Example 6Example 7For more information, refer to the section on the "Symbolically Defined Device" in the ADS Circuit Components manual. |
|||||||||
|
|
|||||||||||||||||||||||||||||||||
|
|
|||||||||||||||||||||||||||||||||