Engee documentation

txlineElectricalLength

Creates a transmission line based on the electrical length.

Library

EngeeRF

Description

Use the function txlineElectricalLength to create a transmission line based on the electrical length. An object eltxline it is used in the Richards-Kuroda procedure.

Syntax

Function call

  • eltxline = txlineElectricalLength() — creates a transmission line object based on the electrical length, the properties of which are set by default.

  • eltxline = txlineElectricalLength(Name=Value) — sets properties specified by one or more arguments of the type «name-value». Unspecified properties retain their default values.

Arguments

Input arguments «name-value»

Specify optional argument pairs as Name=Value, where Name — the name of the argument, and Value — the appropriate value.

Example: eltxline = txlineElectricalLength(Z0 = 75) creates a transmission line object based on the electrical length with impedance 75 Ohms. You can specify multiple pairs «name-value».

# Name — name of the transmission line

+ "ElectricalLength" (by default) | line

Details

The name of the transmission line is based on the electrical length. All names must be valid variable names.

Типы данных

String

# Z0 — wave resistance, ohms

+ 50 | positive scalar

Details

The wave resistance of the transmission line in ohms, set as a positive scalar.

# lineLength — electrical length

+ pi/4 (by default) | positive scalar

Details

The electrical length of the transmission line, given as a positive scalar in radians.

Типы данных

Float64

# ReferenceFrequency — reference frequency

+ 1e9 (by default) | positive scalar

Details

The reference frequency at which the transmission line has a specified electrical length, set as a positive scalar in Hz.

Типы данных

Float64

# Termination — closing of the transmission loop
"NotApplicable" (by default) | "Open" | "Short"

Details

The short circuit of the transmission loop, set by one of the following values: "NotApplicable", "Open", "Short".

# StubMode — loop type

+ "NotAStub" (by default) | "Series" | "Shunt"

Details

The type of loop specified by one of the following values: "NotAStub", "Series", "Shunt".

# Terminals — terminals of a two-wire transmission line

+ ("p1+", "p2+", "p1−", "p2−") (by default) | tuple of strings

Details

Transmission line terminals specified as a tuple of strings from 4 elements.

This argument is read-only.

# NumPorts — number of input and output ports

+ 2 (by default) | scalar

Details

The number of input and output ports, set as a positive scalar.

This argument is read-only.
Типы данных

Int64

Output arguments

# eltxline — transmission line object

+ object

Details

A transmission line object based on electrical length containing the following properties:

Methods

sparameters: Calculation of S-parameters for radio frequency data, networks, circuits and related objects groupdelay:: Calculation of the group delay of S-parameters, RF filter or circuit object noisefigure: Calculation of the noise coefficient of transmission lines, serial and parallel RLC circuits

Examples

Group delay of transmission line based on electrical length

Details

Let’s create an ideal transmission line with an electric length pi/8 radians at the reference frequency 100 MHz.

import EngeeRF:txlineElectricalLength

el = txlineElectricalLength(LineLength = pi/8, ReferenceFrequency = 100e6)
txlineElectricalLength(Z0 = 50.0, ReferenceFrequency = 1.0e8, LineLength = 0.39269908169872414, StubMode = NotAStub, Termination = NotApplicable, Name = "ElectricalLength", Terminals = ("p1+", "p2+", "p1-", "p2-"), NumPorts = 2)

Calculate the group delay of the transmission line at the frequency 10 MHz.

freqs = [10e6, 10e6 + 1e3]
gd = groupdelay(el, freqs)
2-element Vector{Float64}:
 6.249999999963831e-10
 6.249999999963831e-10