Lossy Transmission Line Model (LTRA)

<< Click to Display Table of Contents >>

Navigation:  Designing a PCB with the DEX PCB Designer > Designs > Circuit Simulation > The Spice Reference Manual > Circuit Description > Circuit Elements and Models > Transmission Lines >

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

unirts/type

default

example

R

resistance/length

ohm/unit

0

0.2

L

nductance/length

henrys/unit

0

9.13e-9

G

conductance/length

mhos/unit

0

0

C

capacitance/length

farads/unit

0

3.65e-12

LEN

lenght of line

 

no default

1

REL

breakpoint control

arbitary unit

1

0.5

ABS

don't limit timestep to less than line delay

 

1

5

NOSTEPLIMIT

 

flag

not set

set

NOCONTROL

use lineiaairinterpolation

flag

not set

set

LININTERP

use lineair when quadratic seems bad

flag

not set

set

MIXEDINTERP

special reltol for history compaction

flag

not set

set

COMPACTREL

special abstol for history compaction

flag

RELTOL

1.0e-3

COMPACTABS

use Newton-Raphson method for timestep control

 

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.