Engee documentation

txlineRLCGLine

Creates an RLCG transmission line.

Library

EngeeRF

Description

Use the function txlineRLCGLine to create an RLCG transmission line, the characteristics of which include line losses, line length, loop type, and short circuit.

The figure below shows an equivalent diagram of an elementary section of the RLCG transmission line, where:

  • and — voltage and current at the input of the section (at the point );

  • and — voltage and current at the output of the section (at the point );

  • , , , — linear parameters of the line: resistance, inductance, conductivity and capacitance, respectively.

txline rlcg line

Syntax

Function call

  • rlcgtxline = txlineRLCGLine() — creates an RLCG transmission line object with default properties.

  • rlcgtxline = txlineRLCGLine(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: rlcgtxline = txlineRLCGLine(Frequency = 2.0e9) creates an RLCG transmission line object on the frequency 2 GHz. You can specify multiple pairs «name-value».

# lineLength — physical length

+ 0.01 (by default) | scalar

Details

The physical length of the transmission line, specified as a positive scalar in meters.

Типы данных

Float64

# Terminals — terminals of the RLCG + transmission line ("p1+", "p2+", "p1−", "p2−") (by default) | tuple of strings

Details

Lossy RLCG transmission line terminals, specified as a tuple of strings from 4 elements.

This argument is read-only.

# Name — name of the RLCG + transmission line "RLCGLine" (by default) | line

Details

The name of the RLCG transmission line, set as a string.

Типы данных

String

# 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

# Frequency — frequency

+ [1.0e9] (by default) | scalar | vector

Details

The frequency of the RLCG transmission line, specified as a non-negative scalar or vector in Hz.

Типы данных

Float64

# R — linear resistance, Ohms/m

+ 0.0 (by default) | scalar | vector

Details

Linear resistance, defined as a non-negative scalar in Ohms/m or a non-negative vector in which each element is measured in ohms/m.

Типы данных

Float64

# L — linear inductance, Gn/m

+ 0.0 (by default) | scalar | vector

Details

Linear inductance, defined as a non-negative scalar in Gn/m or a non-negative vector in which each element is measured in Gn/m.

Типы данных

Float64

# C — linear capacity, F/m

+ 0.0 (default) | scalar | vector

Details

Linear capacity, defined as a non-negative scalar in F/m or a non-negative vector in which each element is measured in F/m.

Типы данных

Float64

# G — linear conductivity, Cm/m

+ 0.0 (by default) | scalar | vector

Details

Linear conductivity, defined as a non-negative scalar in Cm/m or a non-negative vector in which each element is measured in Cm/m.

Типы данных

Float64

# IntpType — type of interpolation

+ "Linear" (by default) | "Spline" | "Cubic"

Details

The type of interpolation specified in the RLCG transmission line as "Linear", "Spline" or "Cubic".

Типы данных

String

# StubMode — loop type

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

Details

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

# Termination — shorting 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".

Output arguments

# rlcgtxline — transmission line object

+ object

Details

An RLCG transmission line object containing the following properties:

  • LineLength — length of the transmission line;

  • Terminals — terminal names in the form of a tuple of strings;

  • Name — the name of the object as a string, for example "RLCGLine";

  • NumPorts — number of ports;

  • Frequency — frequency;

  • R — running resistance;

  • L — linear inductance;

  • C — linear capacity;

  • G — linear conductivity;

  • IntpType — type of interpolation;

  • StubMode — type of train;

  • Termination — shorting of the transmission loop line;

  • Parent — the parent schema that the chain object belongs to;

  • ParentNodes — nodes of the parent schema in the form of a vector 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;

  • Ports — port names as a tuple of strings: ("p1", "p2").

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 circuit:: Creating an electrical circuit diagram object clone:: Creating a copy of an existing schema element or schema object

Examples

Calculation of the S-parameters of the RLCG transmission line

Details

Create an RLCG transmission line with resistance 100 Ohms and capacity 1 pf.

using EngeeRF

rlcgtxline = txlineRLCGLine(R = 100, C = 1e-12)

println("LineLength: ", rlcgtxline.LineLength,
        "\nTerminals: ", rlcgtxline.Terminals,
        "\nName: ", rlcgtxline.Name,
        "\nNumPorts: ", rlcgtxline.NumPorts,
        "\nFrequency: ", rlcgtxline.Frequency,
        "\nR: ", rlcgtxline.R,
        "\nL: ", rlcgtxline.L,
        "\nC: ", rlcgtxline.C,
        "\nG: ", rlcgtxline.G,
        "\nIntpType: ", rlcgtxline.IntpType,
        "\nStubMode: ", rlcgtxline.StubMode,
        "\nTermination: ", rlcgtxline.Termination)
LineLength: 0.01
Terminals: ("p1+", "p2+", "p1-", "p2-")
Name: RLCGLine
NumPorts: 2
Frequency: [1.0e9]
R: 100.0
L: 0.0
C: 1.0e-12
G: 0.0
IntpType: Linear
StubMode: NotAStub
Termination: NotApplicable

Calculate the S-parameters of the transmission line at the frequency 1 GHz.

sparam = sparameters(rlcgtxline, [1e9])

println("Impedance: ", sparam.Impedance,
        "\nNumPorts: ", sparam.NumPorts,
        "\nParameters: ", sparam.Parameters,
        "\nFrequencies: ", sparam.Frequencies)
Impedance: 50.0
NumPorts: 2
Parameters: ComplexF64[0.009898514479069975 - 0.0015708436165451582im 0.9900965342816872 - 0.0015707412337145714im; 0.9900965342816872 - 0.0015707412337145725im 0.009898514479069994 - 0.001570843616545158im;;;]
Frequencies: [1.0e9]