Voltecx is in beta. The macOS build comes first; Windows and Linux packages are still being tested.Beta. macOS comes first; Windows and Linux are still in testing. What's new
Documentation

Transmission Line (tline)

A distributed lossless line given by its characteristic impedance and one-way delay, with an optional series resistance lumped at its ends: waves travel along it and reflect where the impedance changes.

tline

Component reference · 繁體中文

Group: Passive · Kind: {"kind":"tline"}

When to use it

Use it when the travel time of the cable matters: the overvoltage at the terminals of a motor fed by a long cable from a fast-switching inverter, ringing on a gate-drive or sense cable, or a line in a surge study. For a line much shorter than the wavelength of everything that happens on it use Pi-Section Line or a lumped R-L-C.

Pins

Pin Domain Meaning
p1 electrical End 1, signal conductor
n1 electrical End 1, return conductor (shield)
p2 electrical End 2, signal conductor
n2 electrical End 2, return conductor (shield)

Common parameters

  • z0: Characteristic impedance of the line (Default: required)
  • td: One-way delay of a wave along the line (length / propagation speed); Max time step must not exceed it (Default: required)
  • r: Total series resistance of the line, lumped half at each end; 0 for a lossless line (Default: 0)

Parameters

Key Unit Default Typical range Description
z0 Ω required Characteristic impedance of the line
td s required One-way delay of a wave along the line (length / propagation speed); Max time step must not exceed it
r Ω 0 Total series resistance of the line, lumped half at each end; 0 for a lossless line

Parameter descriptions are in English in both languages.

Use for: Motor cable reflections · Fast signal lines · Overvoltage at the motor terminals

Not for: Power lines at 50 or 60 Hz → piLine

Formulas

Formula Equation Source
Reflection coefficient Γ = (ZL − Z0)/(ZL + Z0) Pozar, Microwave Engineering, 4th ed. (2012), §2.3 (terminated lossless line)
Length from the delay length = td·c0·VF Pozar, Microwave Engineering, 4th ed. (2012), §2.1 (phase velocity)
First quarter-wave resonance f = 1/(4·td) Pozar, Microwave Engineering, 4th ed. (2012), §2.3 (open- and short-circuited lines)

Quick check

Inputs:

  • z0: Characteristic impedance = 50 Ω, z0
  • td: One-way delay = 50n s, td
  • zl: Load impedance at the far end = 1k Ω
  • vf: Velocity factor = 660m —

Outputs:

  • gam: Reflection coefficient = (zl - z0)/(zl + z0) —
  • len: Length = td*299792458*vf m
  • trt: Round-trip time = 2*td s
  • fq: First quarter-wave resonance = 1/(4*td) Hz

Model logic

  • The line is solved by the method of characteristics: each end is a conductance 1 / z0 in parallel with a current source set by the other end td earlier.
  • A wave launched at one end arrives td later and reflects with the coefficient (Z - z0) / (Z + z0) of what it meets.
  • The resistance r is split in two, half in series with each end; it does not spread the loss along the line and has no skin effect.
  • In an AC sweep and at DC the line is its exact chain matrix; the currents into both ends are i(name.1) and i(name.2).

Model

The line is solved by the method of characteristics (Bergeron, after H. W. Dommel, IEEE Trans. PAS-88, 1969): each end is a conductance 1/z0 in parallel with a current source set by the other end td earlier, so a wave launched at one end arrives at the other exactly td later and reflects with the coefficient (Z − z0)/(Z + z0) of what it meets. The resistance r is split in two, half in series with each end; this is accurate while r is small against z0, but it does not spread the loss along the line or make it grow with frequency (no skin effect). In an AC sweep and at DC the line is its exact chain matrix, so a sweep shows the quarter-wave resonances; at DC it is the resistance r between the ends. The currents into both ends are recorded as i(name.1) and i(name.2).

Common mistakes

  • Max step must not exceed td, or the run stops with an error: the far end is read one delay back, which must lie before the step being solved. A 10 m motor cable has a delay of about 50 ns; a step of a tenth of td resolves the edges well.
  • A lossless line between two reflecting ends rings for ever. Give r a value, or terminate one end in z0, to see the decay a real cable has.

Problems rules: pin.unconnected

Datasheet and sources

z0 is the cable's characteristic impedance from its data sheet. td is the length divided by the propagation speed, which is the speed of light times the velocity factor (the data sheet's nominal velocity of propagation), or √(L·C) per metre times the length. r is the conductor resistance per metre times the length (both conductors), at the frequency that matters.

Example

Open the example with the command file.openExample and the name demo:tline.


Generated by cargo xtask reference from the usage texts and parameter specs. Do not edit by hand.