txlineLumped
Creates a transmission line with concentrated parameters.
| Library |
|
Description
Use the function txlineLumped for designing transmission lines with concentrated L- and Pi-parameters, the characteristics of which include line losses, line length, loop type and short circuit.
In a transmission line with concentrated L-parameters, the components , , and they are located in an L-shaped topology.
In a transmission line with concentrated Pi parameters, the components , , and they are located in a Pi-shaped topology.
Syntax
Function call
-
txl = txlineLumped()— creates a transmission line object with centered parameters, the properties of which are set by default.
-
txl = txlineLumped(Name=Value)— sets properties specified by one or more name-value arguments. Unspecified properties retain their default values.
Arguments
Name-value input arguments
Specify optional argument pairs as Name=Value, where Name — the name of the argument, and Value — the appropriate value.
Example: txl = txlineLumped(R = 75) creates a transmission line object with concentrated parameters with linear resistance 75 Om. You can specify multiple name-value pairs.
# Name — the name of the transmission line element with centered parameters
+
"Lumped" (by default) | line
Details
The name of the transmission line element with lumped parameters, set as a string.
| Типы данных |
|
# Type — type of transmission line element with concentrated parameters
+
"LumpedPi" (by default) | "LumpedL"
Details
The type of transmission line element with concentrated parameters, set as one of the following values:
-
"LumpedPi"— transmission line element with concentrated Pi parameters; -
"LumpedL"— a transmission line element with concentrated L-parameters.
| Типы данных |
|
# Parameter is a type of parameterization for modeling segments in a transmission line
+
"Impedance" (by default) | "Inductance"
Details
The type of parameterization for modeling segments in a transmission line, specified as "Impedance" or "Inductance".
| Типы данных |
|
# R — linear resistance, Ohms/m
+
0.3 (by default) | scalar
Details
The linear resistance of a transmission line with concentrated parameters, set as a positive scalar in ohms/m.
| Типы данных |
|
# C — linear capacity, F/m
+
9.4e−11 (by default) | scalar
Details
The linear capacity of a transmission line with concentrated parameters, set as a positive scalar in F/m.
| Типы данных |
|
# G — linear conductivity, Cm/m
+
5e−6 (by default) | scalar
Details
The linear conductivity of a transmission line with concentrated parameters, set as a positive scalar in Cm/m.
| Типы данных |
|
# lineLength — the physical length of the transmission line, m
+
0.01 (by default) | scalar
Details
The physical length of the transmission line with lumped parameters, set as a positive scalar in meters.
| Типы данных |
|
# StubMode — loop type
+
"NotAStub" (by default) | "Series" | "Shunt"
Details
The type of loop specified by one of the following values: "NotAStub", "Series", "Shunt".
#
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".
# 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. |
| Типы данных |
|
# Terminals — terminals of the transmission line
+
("p1+", "p2+", "p1−", "p2−") (by default) | tuple of strings
Details
Transmission line terminals with lumped parameters, set as a tuple of strings from 4 elements.
| This argument is read-only. |
Output arguments
# txl is a transmission line object with concentrated parameters
+
object
Details
A transmission line object with concentrated parameters containing the following properties:
-
Type— type of transmission line element; -
Parameter— type of parameterization; -
R— running resistance; -
L— linear inductance; -
C— linear capacity; -
G— linear conductivity; -
Z0— characteristic impedance; -
LineLength— length of the transmission line; -
StubMode— type of train; -
Termination— shorting of the transmission loop line; -
Name— the name of the object as a string, for example"Lumped"; -
Ports— port names as a tuple of strings:("p1", "p2"); -
Terminals— terminal names in the form of a tuple of strings; -
ParentNodes— nodes of the parent schema in the form of an array of integers, displayed only after adding the child schema to the parent schema; -
ParentPath— the full path to the parent schema as a string, displayed only after adding the child schema to the parent schema; -
NumPorts— number of ports; -
Parent— the parent circuit that the chain object belongs to.
Examples
Creation and analysis of a transmission line with concentrated parameters
Details
Let’s create a transmission line with concentrated L-parameters.
using EngeeRF
txl = txlineLumped(Type = "LumpedL")
Let’s calculate the S-parameters of the transmission line with concentrated L-parameters.
sparam = sparameters(txl, [2.1e9])
println("Impedance: ", ans.Impedance,
"\nNumPorts: ", ans.NumPorts,
"\nFrequencies: ", ans.Frequencies,
"\nParameters: ", ans.Parameters)
Impedance: 50.0
NumPorts: 2
Frequencies: [2.1e9]
Parameters: ComplexF64[-0.0 + 1.9597358499786086e-17im 0.8137890312115501 - 0.5811561001075933im; 0.8137890312115501 - 0.5811561001075933im -3.2260644162040627e-17 - 4.5174365981923154e-17im;;;]
Let’s calculate the group delay of the transmission line with concentrated L-parameters.
freqs = [2.1e9 2.1e9 + 1e3]
gd = groupdelay(txl, freqs)
2-element Vector{Float64}:
4.69999999865234e-11
4.69999999865234e-11