1. Introduction
Two-port parameters such as impedance (
Z), admittance (
Y), hybrid (
H), inverse hybrid (
F), and transmission (
T) representations are fundamental tools in analog circuit analysis [
1]. At high frequencies, however, measurement constraints favor the use of scattering parameters (
S parameters), which describe wave interactions directly in the transmission-line regime. Although analytical conversion formulas among these parameter families are known, performing conversions and deriving transfer functions manually becomes cumbersome for complex circuits. When these devices operate at high and very high frequencies, these parameters cannot be used, because they require circuits with certain branches short-circuited or left open to perform the measurements so that the currents and voltages in the circuit can be determined. For example, to calculate the input impedance of a two-port, the output port must be short-circuited, which in practice makes it impossible to perform measurements at high frequencies [
2]. In this case, the equipment is not capable of measuring the total voltage and total current at the circuit ports. Also, many active devices, such as transistors and tunnel diodes, often cannot operate stably under short-circuit or open-circuit (no-load) conditions. The logical variables that must be used at these frequencies are transverse waves [
3,
4].
At low frequencies, the transfer coefficient matrices and those of impedances or admittances are commonly used, but in the microwave domain [
5], where the frequencies are high, they are difficult to measure, and as a result, at these high frequencies, the scattering parameters
S are preferred [
6]. The
S parameters are measured by inserting a two-port circuit into a transmission line whose ends are connected to the network analyzer. A network analyzer can measure the S parameters for a wide range of frequencies; for example, the vector network analyzer (VNA–Vector Network Analyzer) HP 8720D can measure the S parameters for frequency values in the range of 50 MHz–40 GHz. The frequency sampling is 1 Hz, and the results can be displayed either on a Smith diagram or as a conventional gain graph as a function of frequency [
7].
The scattering (distribution) parameters, denoted
S, are complex quantities, frequency-dependent, associated with a linear multiport system operating in harmonic regime. At first, the
S parameters were used in the theory of long electrical lines, for their definition being used the incident (forward), reflected (reverse), or transmitted voltage waves. In general, the
S parameters can be defined in information transmission systems, such as microwave systems (waveguides), where they can be studied using electric circuit theory [
8].
Conversion formulas exist between
S parameters and traditional circuit theory parameters, including impedances (
Z), admittances (
Y),
H parameters, fundamental transfer parameters
T (
A,
B,
C, and
D), and
F parameters, among others. Comprehension of
S parameters is crucial for high-frequency applications involving both active and passive components from integrated circuits, including micro-electro-mechanical systems (MEMS) and wireless power transfer systems [
9].
Starting from the definition relations of the parameters
Z,
Y,
T (
A,
B,
C, and
D),
H, and
F, the present paper proposes simple procedures for fully symbolic, partially symbolic, or fully numerical generation of the transfer functions found in the definition relations of these parameters [
10]. For the automatic generation of the parameters
Z,
Y,
T (
A,
B,
C, and
D),
H,
F, and
S, and for different structures of passive linear two-ports, one can use either the modified nodal equations, generated by the our programs—ACAP, CSAP, and TFSYG—or the state equations, generated by the program SYSEG. Also, an important role in the generation of transfer functions is played by the programs MAPLE, ANSYS 2022, and MATLAB R2025a [
11,
12,
13,
14]. Obviously, as shown in the presented example, the parameters that require the generation of the simplest transfer functions are generated, such as those used in the generation of the fundamental (transfer) parameters; then, the other parameters describing passive linear two-ports circuits and filters, in harmonic or operational regime, are calculated using the formulas described in
Section 2.
The
S parameter is presented in increasing the efficiency of the processes of information transmission and propagation and of the transfer of active power from the input of passive linear two-ports circuits to the loads connected at their output. Based on the theorem of maximum active power transfer, the maximum active power transmitted by a two-port circuit to the load is calculated [
15].
Based on the parameters Z, Y, T (A, B, C, and D), H, F, and S, the parameters characterizing two-ports circuits and analogue filters are determined, and the passband and stopband frequency ranges of the analyzed filters are calculated, and obviously, implicitly, the nature of these filters.
In
Section 2, the theoretical aspects of generating the parameters
Z,
Y,
T (
A,
B,
C, and
D),
H,
F, and
S are presented for: two-ports circuit circuits and analogue filters, systems of magnetically coupled coils used in wireless power transfer, with the purpose of determining the optimal load impedance parameters that ensure a maximum active power transfer in WPTS (Wireless Power Transfer Systems).
In
Section 5, based on the developed procedures, routines were implemented in the MAPLE and MATLAB programming environments to calculate all the parameters mentioned above and to compare the simulation results with those found in the specialized literature and with experimental results. Significant examples are presented that confirm the validity of the procedures presented in the paper.
The principal innovation of this study lies in establishing a fully automated, unified workflow that generates and converts all major two-port parameter families—Z, Y, H, F, T, and S—directly from a circuit’s symbolic nodal equations. Unlike traditional tools such as SPICE or RF simulation environments, which operate primarily in the numerical domain, the proposed framework performs exact symbolic derivation of transfer functions, parameter matrices, poles and zeros, and element-wise sensitivities. This enables analytical inspection of circuit behavior, closed-form interpretation of parameter interactions, and direct integration of low-frequency network models with high-frequency S parameter representations. The workflow additionally incorporates automatic consistency checking, conversion accuracy validation, and sensitivity-based identification of critical components. Existing computational tools reported in the literature typically address symbolic and numerical capabilities separately or with limited integration; however, none currently provide an equally integrated symbolic–numerical capability covering all major parameter sets within a single computational environment.
2. Theoretical Aspects
The equations of a passive linear two-port (
Figure 1) expressed in terms of fundamental (transfer) parameters, in the harmonic regime, are as follows [
1]:
Fundamental parameters have, by definition, the following expressions:
The impedance equations of a passive linear two-port in harmonic regime have the expressions:
where the complex transfer impedances are defined as follows:
The admittance equations of a passive linear two-port have the form:
where the complex transfer admittances are defined as follows [
2,
3]:
Because the
Z and
Y parameters do not always exist, it is necessary to create a third set of parameters, in which
U1 and
I2 are used as dependent variables, that is, the circuit response to an excitation caused by
I1 and
U2. The equations in
H parameters of a passive linear two-port, in the harmonic regime, have the form:
These parameters are very useful in the description of electronic devices, such as transistors and others. The complex hybrid parameters can be defined as follows:
In the case when
I1 and
U2 are used as dependent variables, that is, the circuit’s response to an excitation caused by
U1 and
I2. The equations in
F parameters (inverses of the hybrid parameters) of a passive linear two-port, in the harmonic regime, have the form:
These parameters are very useful in the description of electronic devices, such as transistors and others. The complex
F parameters can be defined as follows:
From Equations (1), (3), (5), (7), and (9), it is observed that the parameters fundamental (transfer) parameters (Equation (1)), complex transfer impedances (Equation (3)), complex transfer admittances (Equation (5)), hybrid parameters (Equation (7)), and F parameters (Equation (9)) use transfer functions for their generation.
A passive linear two-port is, in the harmonic regime, reciprocal if the following relation is satisfied [
1,
3]:
Considering Equations (1), (3), and (5), relation (11) is equivalent to the following relations between the two-port parameters:
If port 2′–2″ is considered as the input port, with the input quantities (
U1,
I1), and port 1′–1″ as the output port, with the output quantities (
U2,
I2), using Equation (1), the input quantities (
U2,
I2) have, as a function of the output quantities (
U1,
I1), the following expressions:
If the considered passive linear two-port is reciprocal, Equation (11) become:
which shows that, when considering port 2′–2″ as the input port and port 1′–1″ as the output port, the constants
A and
D switch places.
A passive and reciprocal linear two-port is symmetric if the two ports can be interchanged such that the equations in terms of the fundamental parameters remain the same. Obviously, to satisfy this condition, it is required that A = D.
As highlighted above, the S parameters can be measured at high frequencies using the Vector Network Analyzer (VNA–Vector Network Analyzer) HP 8720D [
10,
11].
Since the other parameters
Z,
Y,
T (
A,
B,
C, and
D),
H, and
F cannot be measured at high and very high frequencies, they must be expressed as functions of the
S parameters [
15,
16]. For this, one starts from the equations of the passive linear two-port, in the harmonic regime, in
S parameters (
Figure 2):
where
By substituting Equation (26) into Equation (25), the following equations are obtained:
Equation (17) represent the equations of the passive linear two-port, in the harmonic regime, from
Figure 1, in
S parameters, in which appear the variables at the input (output) of the two-port (
U1,
I1) ((
U2,
I2)).
To obtain the matrices of the parameters Z, Y, T (A, B, C, and D), H, and F as functions of the S parameters, Equation (17) are solved with respect to the dependent variables of these parameters, according to the procedures described in paragraph 3.
In, the equations of a passive linear two-port (
Figure 1), in the harmonic regime, are presented in detail, as functions of the other parameters
T,
Z,
Y,
H, and
F, showing the method for calculating all the coefficients using the transfer functions present in their definition relations.
3. Automatic Generation of Transfer Functions
In the case of linear, time-invariant circuits with lumped parameters, symbolic analysis generates the circuit equations in symbolic form and the circuit functions (transfer functions), in either fully symbolic or partially symbolic form [
17,
18,
19].
A passive linear circuit in operational regime is considered, with zero initial conditions (
Figure 3). By applying, at the input, a voltage or current (depending on the circuit function to be generated) with a Laplace image equal to one, the output quantity represents precisely the desired circuit (transfer) function. Controlled (dependent) sources are fully supported and play a key role in modeling active devices and in representing transfer relations required for symbolic analysis. All four-standard controlled-source types are admissible within the modified nodal analysis formulation.
The transfer functions in the Laplace domain are defined as follows:
Depending on whether s is the only variable of the transfer function or not, and depending on whether some or all circuit elements are represented by symbols, there are three levels of symbolic representation:
- ✓
Rational function in sss with numerical coefficients.
- ✓
Partially symbolic transfer function.
- ✓
Fully symbolic transfer function.
In [
20,
21,
22], a symbolic analysis procedure was developed, based on the method MNA, which, in the case of linear, time-invariant circuits with lumped parameters, allows the generation of the circuit equations in symbolic form and of the circuit functions (transfer impedance, transfer admittance, voltage transfer (gain) factor and, respectively, current transfer (gain) factor) in symbolic, partially symbolic, or numerical form [
23,
24,
25].
Based on this procedure, two calculation programs were developed, named CSAP–Circuit Symbolic Analysis Program and TFSYG–Transfer Function SYmbolic Generation [
21], which can assist with exceptional efficiency in the design of linear and/or nonlinear analog circuits, linearized piecewise around the operating point. The CSAP and TFSYG programs can generate transfer functions for SISO—Single Input–Single Output analog circuits (one input and one output) [called: CSAP—Circuit Symbolic Analysis Program and TFSYG—Transfer Function SYmbolic Generation [
22,
23].
The CSAP and TFSYG programs involves the following steps in
Figure 4:
The user interface window of the CSAP (TFSYG) program is shown in
Figure 5 and
Figure 6). Since, at the time when the CSAP and TFSYG programs were first launched, the symbolic simulator Maple had a different version (version 5), it now uses Maple 16 or Maple 18. Therefore, the CSAP (TFSYG) program generates an output file named 5.r, which it places in the directory
C:\\Program Files\\Maple 16\\bin.win\\Program_CSAP (TFSYG)\\. Accordingly, the first command line, after launching the CSAP (TFSYG) program in the MAPLE programming environment, is the following:
read “C:\\Program Files\\Maple 16\\bin.win\\Program_CSAP\\5.r”;
and
read “C:\\Program Files\\Maple 16\\bin.win\\Program_TFSYG\\5.r”;
In file 5.r are stored the modified nodal equations, the command lines for solving these equations, and the calculation relations for the currents and voltages of the branches of the analyzed circuit. After launching the command line above, two output files rez and rez1 are generated, in which the simulation (analysis) results are stored. In the rez file, the solution of the system of modified nodal equations is stored, while in the rez1 file, the expressions of the currents and voltages of the branches of the analyzed circuit are provided (the expression—symbolic, numeric-symbolic, or numeric—of the transfer function desired by the user).
The analyzed circuits may contain: linear resistors, voltage-controlled (v.c.) or current-controlled (c.c.) nonlinear resistors, linear inductors, current-controlled or flux-controlled (f.c.) nonlinear inductors, linear capacitors, nonlinear capacitors v.c. or charge-controlled (q.c.), linear magnetic couplings, all four types of controlled sources, and any multipole or multiport circuit that has an equivalent diagram composed only of dipolar circuit elements and controlled sources. The characteristics of the nonlinear elements are piecewise linearized, and the parameters of each nonlinear characteristic are considered as symbols [
26,
27,
28,
29].
For the input data, for each analyzed circuit, an input file is created with the extension .smb (.crt) of the form filename.smb (.crt).
The input file
filename.smb (
.crt) is edited using the edit program from MSDOS (F4 key) and has the structure (identical to that of the input files corresponding to the ACAP program [
18]; only the extension is different):
Number of branches.
Number of nodes.
A set of l lines follow (l being the number of branches of the circuit) which describe the circuit branches as follows: initial node, final node, type (r, re, j, j, l, c, j(u), j(i), e(i), e(u) etc.), and the numerical values of the branch parameters.
4. Generation of Conversion Relations Between the Parameters of Two-Port Circuits and Filters
Obviously, as shown in the example presented, the parameters requiring the generation of the simplest transfer functions are generated first, and then the other parameters describing passive linear two-port circuits and filters, in the harmonic or operational regime, are calculated using the formulas described in what follows [
30,
31,
32,
33,
34].
To convert the parameters
Z,
Y,
T (
A,
B,
C, and
D),
H, and
F one according to the other, proceed as follows in
Figure 7:
Similarly, proceed as above to convert any pair of parameters Z, Y, T (A, B, C, and D), H, and F.
To convert the S parameters in terms of the parameters Z, Y, T (A, B, C, and D), H, and F and to convert the parameters, Y, T (A, B, C, and D), H, and F in terms of the S parameters, proceed as follows:
In generating the S parameters as a function of the elements of the parameter matrix determined by calling the CSAP and/or TFSYG programs, for example, as a function of the elements of the fundamental parameter matrix T, the procedure in the MAPLE programming environment is as follows:
Using Equation (17), the variables U1, U2, I1, and I2 are expressed as functions of the variables a1, a2, b1, b2, and Z0.
>I1:=1/Z0^(1/2)∗(-1.∗b1+a1); I2:=1./Z0^(1/2)∗(-1.∗b2+a2); U1:=a1∗Z0^(1/2)+b1∗Z0^(1/2);U2:= a2∗Z0^(1/2)+b2∗Z0^(1/2);
;
;
The two-port equations in fundamental parameters are used
The variables {b1, b2} are considered as unknowns
> b1:=collect(subs(Solution_S_T,b1),{a1,a2});b2:=collect(subs(Solution_S_T,b2),{a1,a2});
>S11_T:=simplify(coeff(b1,a1,1));S12_T:=simplify(coeff(b1,a2,1));S21_T:=simplify(coeff(b2,a1,1));S22_T:=simplify(coeff(b2,a2,1));
> If we denote C:=C_complex și D:=D_complex, the parameters of the S matrix, as a function of the elements of the T matrix, have the expressions:
> SS_T:=[[0,0],[0,0]];
> S_T:=convert(SS_T,Matrix);
> S_T [1,1]:=S11_T;S_T [1,2]:=S12_T;S_T [2,1]:=S21_T;S_T [2,2]:=S22_T;
;
> S_T:=evalm(S_T); The scattering parameter matrix S_T, as a function of the fundamental parameters A, B, C, and D, has the following structure:
- b.
Procedure for generating the fundamental (transfer) parameter matrix T from the scattering parameter matrix S
To generate the elements of the matrices Z, Y, T (A, B, C, and D), H, and F as functions of the elements of the scattering parameter matrix S, for example, the generation of the elements of the fundamental parameter matrix T as a function of the S parameters, the procedure in the MAPLE programming environment is as follows:
The definition Equation (16) of the variables a1, a2, b1, and b2 as functions of the variables U1, I1, U2, and I2 are used.
The two-port equations in S parameters are used.
The variables {U1, I1} are considered as unknowns.
> U1:=collect(subs(Solution_T_S,U1),{U2,I2});I1:=collect(subs(Solution_T_S,I1),{U2,I2});
>T11_S:=simplify(coeff(U1,U2,1));T12_S:=simplify(coeff(U1,I2,1));T21_S:=simplify(coeff(I1,U2,1));T22_S:=simplify(coeff(I1,I2,1));
> TT_S:=[[0,0],[0,0]];
> T_S:=convert(TT_S,Matrix);
> T_S [1,1]:=T11_S;T_S [1,2]:=T12_S;T_S [2,1]:=T21_S;T_S [2,2]:=T22_S;
Using the procedures presented above, all the formulas for converting the parameters
Z,
Y,
T (
A,
B,
C, and
D), H, F, and
S one according to the other are shown in
Table 1.
Obviously, all transformation formulas of the parameters
Z,
Y,
T (
A,
B,
C, and
D),
H,
F, and
S, one in terms of the others, are derived according to the procedures presented above [
8,
9].
5. Example
To reduce the pronounced frequency dependence of the image impedances, which is a drawback of k-type filters, the so-called m-type filters are derived from them.
Figure 8 shows an
m-type band-pass filter with the corresponding frequency characteristics.
For this, one of the TFSYG, SCAP, or SYSEG programs [
21] was used to analyze the non-dissipative filter in
Figure 8. Call the TFSYG program (by clicking on its icon) and determine the fundamental parameters as follows [
22,
23]. The numerical values of the parameters of the circuit elements in
Figure 8 are:
Z0 = 50 Ω,
L1 = 1.0 × 10
−4 H,
L2 = 2.0 × 10
−4 H,
C1 = 1.0 × 10
−6 F,
C2 = 2.0 × 10
−6 F, and
m = 0.5.
Parameter A was calculated using the TFSYG program, the transfer factor (amplification) in voltage Aoi, and was extracted to the file rez1 from the directory c:\maple\bin.win\. The input–output gates were n1–n8 and n5–n8, respectively.
- 2.
Parameter B was calculated using the TFSYG program, the transfer admittance Yoi, and extracted to the file rez1 from the directory c:\maple\bin.win\. The input–output gates were n1–n8 and n5–n8, respectively.
- 3.
Parameter C was calculated using the TFSYG program, the Zoi transfer impedance, and extracted to the rez1 file from the c:\maple\bin.win\ directory. The input–output gates were n1–n8 and n5–n8, respectively.
> restart;Digits:=4;with(linalg):
> read “C:\\Program Files\\Maple 16\\bin.win\\Program_TFSYG\\FTB_m_Zoi_5.r”:
> C_complex:=subs(rez1,1/Zoi);
Parameter C was changed to C_complex to avoid the “many recursive parameters in expression” error.
- 4.
Parameter D was calculated using the TFSYG program, the transfer factor (amplification) in current Boi, and extracted to the rez1 file from the c:\maple\bin.win\ directory. The input–output ports were n1–n8 and n5–n8, respectively.
> restart;Digits:=4; with(linalg):
> read “C:\\Program Files\\Maple 16\\bin.win\\Program_TFSYG\\FTB_m_Boi_5.r”:
> D_complex:=subs(rez1,1/Boi);
Since the relationship is verified
A∗D −
B∗C = 1, the filter in
Figure 6 is reciprocal and symmetric because
A =
D.
The matrix
T_f of the transfer (fundamental) parameters, depending on the frequency, has the structure:
The
Z-matrix of complex transfer impedances, calculated as a function of the fundamental parameters
A,
B,
C, and
D (see
Table 1), has the form:
It is noted that
Z11 =
Z22 and
Z12 = −
Z21, which shows that the two-port circuit (the filter) in
Figure 6 is symmetrical.
According to the relation in
Table 1, the expression of the matrix of complex admittances
as a function of parameters
A,
B,
C, and
D is:
It can be observed that
Y11 = −
Y22 and
Y12 = −
Y21, which shows that the two-port circuit in
Figure 6 is symmetrical.
The hybrid parameter matrix
H can be calculated, according to the relationship (see
Table 1), depending on the fundamental parameters
A,
B,
C, and
D and has the expression:
From relation (22), it is found that H12 = H21.
From relation (23), it is found that F12 = F21. det_F = −1.
The matrix of scattering parameters
S,
, is expressed in terms of the matrix
T by the following expression (see
Table 1):
The frequency variations of the
S parameter moduli and signal transmission efficiencies for the filter in
Figure 8 are presented in
Figure 9: (a) Moduli expressed in [dB]; (b) Moduli expressed in [%/%]; (c) Arguments of the
S parameters; (d) Signal transmission efficiencies from input to output η
21_S21 and from output to input output η
12_S12.
Figure 9, d shows that the variations with frequency of the signal transmission efficiencies from input to output η
21_S21 and from output to input output η
12_S12 are identical [
24].
So, first, the fundamental parameters A, B, C, and D are generated; then, depending on them, the S parameters are calculated; and finally, at any frequency, depending on the S parameters, all the other characteristic parameters of any passive linear two-port circuit can be generated.
The voltage transfer factor (
AFTB_m = 1/
A) is obtained from the equations in the fundamental parameters of passive linear two-port circuits:
For numerical parameter values L1 = 1.0 × 10
−4 H, L2 = 2.0 × 10
−4 H, C1 = 1.0 × 10
−6 F, and C2 = 2.0 × 10
−6 F and m = 0.5 are obtained:
Figure 10 shows the frequency characteristics of the m-type band-pass filter from
Figure 8, as follows: the variation with frequency of the voltage transfer factor modulus (amplification) abs(
AFTB_m) expressed in [dB] in
Figure 10a and expressed in [V/V] in
Figure 10b.
The expression, as a function of frequency
f, of the voltage transfer factor (amplification),
AFTB_m = 1/
A, from the equations in the fundamental parameters of passive linear two-port circuits, is:
To determine the pass and stop bands of the lossless FTB, the inequality is solved:
Solving the inequalities in (30) results in the pass bands relative to the frequency Hz and the stop bands Hz.
The variations with frequency f of the attenuation factor
a and the phase constant
b are shown in
Figure 11a and in
Figure 11b, respectively.
Figure 12a–d present the Bode characteristics of the bandpass filter from
Figure 8, as follows: in
Figure 12a, the Bode diagram; in
Figure 12b, the Nyquist diagram; in
Figure 12c, the representation of the poles and zeros in the complex plane; and in
Figure 12d, the poles and zeros for
AFTB_m.
6. Conclusions
This work presents an automated and unified procedure for generating symbolic and numerical representations of two-port network parameters. Benchmark comparisons with SPICE-level simulations confirm that the symbolic derivations yield accurate transfer functions and S parameters, with deviations below 0.1 dB across the tested frequency range. The method successfully extracts poles, zeros, and sensitivities for multilayer resonant structures and wireless power-transfer models, demonstrating its ability to identify dominant circuit elements and predict frequency shifts caused by parameter variations.
A unified Z/Y/H/F/T/S conversion framework enables streamlined analysis across low- and high-frequency domains, reducing design time and supporting analytical optimization workflows. Although symbolic complexity limits scalability for very large circuits, the approach provides significant advantages for medium-scale networks where insight, transparency, and accuracy are essential.
The paper also introduces efficient procedures for generating parameters of linear and piecewise-linearized nonlinear two-port circuits. These parameters support qualitative analysis and the design of analog circuits and filters. The method accommodates redundant elements and multiport components that can be represented using dipolar elements and controlled sources.
Equations for converting between Z, Y, H, F, T, and S parameters are derived directly from their definitions and basic transmission-line theory, ensuring full generality for complex source and load impedances. The CSAP and TFSYG programs implement these formulations and provide automatic generation of modified nodal equations in symbolic, partially symbolic, or numerical form. They support DC, AC, and operational analysis; computation of poles and zeros; generation of SISO transfer functions; and sensitivity evaluation with respect to any circuit parameter. Sensitivity analysis enables detection of critical components and determination of acceptable parameter variation ranges to maintain required performance.
Circuit descriptions are supplied through SPICE-like netlists, including simplified specification of controlled two-port sources. Additional tools such as MAPLE, MATLAB, and ANSYS assist in symbolic manipulation, numerical evaluation, model order reduction, and graphical visualization of frequency responses and sensitivity characteristics.
The procedures developed for generating
Z,
Y,
T (
A,
B,
C,
D),
H,
F, and
S parameters were implemented in MAPLE and MATLAB. The results obtained using these routines were validated through comparison with the existing literature and simulations [
31,
32,
33,
34].
Future work aims to improve computational scalability, incorporate distributed-element models, and extend the framework to fully automated N-port systems with model-order reduction. Additionally, future developments will focus on creating a corresponding physical prototype to enable the experimental validation of the proposed methodology.