Transmission lines
Lossless Transmission Lines
General form
TXXXXXXX N1 N2 N3 N4 Z0=VALUE <TD=VALUE> <F=FREQ <NL=NRMLEN>> + <IC=V1, I1, V2, I2>
Examples
T1 1 0 2 0 Z0=50 TD=10NS
N1 and N2 are the nodes at port 1; N3 and N4 are the nodes at port 2. Z0 is the characteristic impedance. The length of the line may be expressed in either of two forms. The transmission delay, TD, may be specified directly (as TD=10ns, for example). Alternatively, a frequency F may be given, together with NL, the normalized electrical length of the transmission line with respect to the wavelength in the line at the frequency F. If a frequency is specified but NL is omitted, 0.25 is assumed (that is, the frequency is assumed to be the quarter-wave frequency). Note that although both forms for expressing the line length are indicated as optional, one of the two must be specified.
Note that this element models only one propagating mode. If all four nodes are distinct in the actual circuit, then two modes may be excited. To simulate such a situation, two transmission-line elements are required. (see the example in Appendix A for further clarification.)
The (optional) initial condition specification consists of the voltage and current at each of the transmission line ports. Note that the initial conditions (if any) apply 'only' if the UIC option is specified on the .TRAN control line.
Note that a lossy transmission line (see below) with zero loss may be more accurate than than the lossless transmission line due to implementation details.
Parameters: Lossless transmission line
Lossy Transmission Lines
General form
OXXXXXXX N1 N2 N3 N4 MNAME
Examples
O23 1 0 2 0 LOSSYMOD OCONNECT 10 5 20 5 INTERCONNECT
This is a two-port convolution model for singleconductor lossy transmission lines. N1 and N2 are the nodes at port 1; N3 and N4 are the nodes at port 2. Note that a lossy transmission line with zero loss may be more accurate than than the lossless transmission line due to implementation details.
Parameters: Lossy transmission line
Lossy Transmission Line Model (LTRA)
The uniform RLC/RC/LC/RG transmission line model (referred to as the LTRA model henceforth) models a uniform constant-parameter distributed transmission line. The RC and LC cases may also be modeled using the URC and TRA models; however, the newer LTRA model is usually faster and more accurate than the others. The operation of the LTRA model is based on the convolution of the transmission line's impulse responses with its inputs (see [8]).
The LTRA model takes a number of parameters, some of which must be given and some of which are optional.
| name | parameter | units/type | default | example |
|---|---|---|---|---|
| R | resistance/length | Ω/unit | 0.0 | 0.2 |
| L | inductance/length | henrys/unit | 0.0 | 9.13e-9 |
| G | conductance/length | mhos/unit | 0.0 | 0.0 |
| C | capacitance/length | farads/unit | 0.0 | 3.65e-12 |
| LEN | length of line | no default | 1.0 | |
| REL | breakpoint control | arbitrary unit | 1 | 0.5 |
| ABS | breakpoint control | 1 | 5 | |
| NOSTEPLIMIT | don't limit timestep to less than line delay | flag | not set | set |
| NOCONTROL | don't do complex timestep control | flag | not set | set |
| LININTERP | use linear interpolation | flag | not set | set |
| MIXEDINTERP | use linear when quadratic seems bad | not set | set | |
| COMPACTREL | special reltol for history compaction | flag | RELTOL | 1.0e-3 |
| COMPACTABS | special abstol for history compaction | ABSTOL | 1.0e-9 | |
| TRUNCNR | use Newton-Raphson method for timestep control | flag | not set | set |
| TRUNCDONTCUT | don't limit timestep to keep impulse-response errors low | flag | not set | set |
The following types of lines have been implemented so far: RLC (uniform transmission line with series loss only), RC (uniform RC line), LC (lossless transmission line), and RG (distributed series resistance and parallel conductance only). Any other combination will yield erroneous results and should not be tried. The length LEN of the line must be specified.
NOSTEPLIMIT is a flag that will remove the default restriction of limiting time-steps to less than the line delay in the RLC case. NOCONTROL is a flag that prevents the default limiting of the time-step based on convolution error criteria in the RLC and RC cases. This speeds up simulation but may in some cases reduce the accuracy of results. LININTERP is a flag that, when specified, will use linear interpolation instead of the default quadratic interpolation for calculating delayed signals. MIXEDINTERP is a flag that, when specified, uses a metric for judging whether quadratic interpolation is not applicable and if so uses linear interpolation; otherwise it uses the default quadratic interpolation. TRUNCDONTCUT is a flag that removes the default cutting of the time-step to limit errors in the actual calculation of impulse-response related quantities. COMPACTREL and COMPACTABS are quantities that control the compaction of the past history of values stored for convolution. Larger values of these lower accuracy but usually increase simulation speed. These are to be used with the TRYTOCOMPACT option, described in the .OPTIONS section. TRUNCNR is a flag that turns on the use of Newton-Raphson iterations to determine an appropriate timestep in the timestep control routines. The default is a trial and error procedure by cutting the previous timestep in half. REL and ABS are quantities that control the setting of breakpoints.
The option most worth experimenting with for increasing the speed of simulation is REL. The default value of 1 is usually safe from the point of view of accuracy but occasionally increases computation time. A value greater than 2 eliminates all breakpoints and may be worth trying depending on the nature of the rest of the circuit, keeping in mind that it might not be safe from the viewpoint of accuracy. Breakpoints may usually be entirely eliminated if it is expected the circuit will not display sharp discontinuities. Values between 0 and 1 are usually not required but may be used for setting many breakpoints.
COMPACTREL may also be experimented with when the option TRYTOCOMPACT is specified in a .OPTIONS card. The legal range is between 0 and 1. Larger values usually decrease the accuracy of the simulation but in some cases improve speed. If TRYTOCOMPACT is not specified on a .OPTIONS card, history compaction is not attempted and accuracy is high. NOCONTROL, TRUNCDONTCUT and NOSTEPLIMIT also tend to increase speed at the expense of accuracy.
Parameters: Lossy transmission line
Uniform Distributed RC Lines (Lossy)
General form
UXXXXXXX N1 N2 N3 MNAME L=LEN <N=LUMPS>
Examples
U1 1 2 0 URCMOD L=50U URC2 1 12 2 UMODL l=1MIL N=6
N1 and N2 are the two element nodes the RC line connects, while N3 is the node to which the capacitances are connected. MNAME is the model name, LEN is the length of the RC line in meters. LUMPS, if specified, is the number of lumped segments to use in modeling the RC line (see the model description for the action taken if this parameter is omitted).
Parameters: Uniform distributed RC line
Uniform Distributed RC Model (URC)
The URC model is derived from a model proposed by L. Gertzberg in 1974. The model is accomplished by a subcircuit type expansion of the URC line into a network of lumped RC segments with internally generated nodes. The RC segments are in a geometric progression, increasing toward the middle of the URC line, with K as a proportionality constant. The number of lumped segments used, if not specified for the URC line device, is determined by the following formula:
where R/L and C/L are the resistance and capacitance per unit length (RPERL and CPERL) and L is the length of the line. At least 3 segments are always used.
The URC line is made up strictly of resistor and capacitor segments unless the ISPERL parameter is given a non-zero value, in which case the capacitors are replaced with reverse biased diodes with a zero-bias junction capacitance equivalent to the capacitance replaced, and with a saturation current of ISPERL amps per meter of transmission line and an optional series resistance equivalent to RSPERL ohms per meter.
| name | parameter | units | default | example | area |
|---|---|---|---|---|---|
| K | Propagation Constant | - | 2.0 | 1.2 | - |
| FMAX | Maximum Frequency of interest | Hz | 1.0G | 6.5Meg | - |
| RPERL | Resistance per unit length | Ω/m | 1000 | 10 | - |
| CPERL | Capacitance per unit length | F/m | 1.0e-15 | 1pF | - |
| ISPERL | Saturation Current per unit length | A/m | 0 | - | - |
| RSPERL | Diode Resistance per unit length | Ω/m | 0 | - | - |
Parameters: Uniform distributed RC line