Next Article in Journal
Energy Management of Microgrids with a Smart Charging Strategy for Electric Vehicles Using an Improved RUN Optimizer
Next Article in Special Issue
Multifunctional Control Technique for Grid-Tied Hybrid Distributed Generation System Taking into Account Power Quality Issues
Previous Article in Journal
Performance Evaluation of LiBr-H2O and LiCl-H2O Working Pairs in Compression-Assisted Double-Effect Absorption Refrigeration Systems for Utilization of Low-Temperature Heat Sources
Previous Article in Special Issue
Nonlinear Loads in Lighting Installations—Problems and Threats
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Identification of Lossy Y-Type Two-Port Circuit Models under Measurement Uncertainties: Closed-Form Solution and Statistical–Perturbative Characterization

1
Dipartimento di Ingegneria dell’Informazione, Università Politecnica delle Marche (uPM), Via Brecce Bianche, I-60131 Ancona, Italy
2
Graduate School of Electronics Engineering, Università Politecnica delle Marche (uPM), Via Brecce Bianche, I-60131 Ancona, Italy
*
Author to whom correspondence should be addressed.
Energies 2023, 16(16), 6037; https://doi.org/10.3390/en16166037
Submission received: 1 July 2023 / Revised: 14 August 2023 / Accepted: 15 August 2023 / Published: 17 August 2023
(This article belongs to the Special Issue Improvements of the Electricity Power System II)

Abstract

:
The present paper treats a black-box estimation of the three independent parameters of a reciprocal lossy two-port network whose terminals are supposed to be accessible to an impedance measurement device. The discussed estimation method is based on the availability of a number of data pairs made of external load admittances paired to equivalent external admittances affected by measurement errors. The proposed method is framed as a squared-estimation-error minimization problem that leads to a system of three nonlinear equations in the three unknown parameters. A key observation is, however, that a core subsystem of two equations may be turned exactly to a linear form and hence may be solved in closed form. The purely real-valued case is treated first since it serves to clarify the optimization problem at hand and the structure of its solution. In the purely real-valued case, a statistical analysis is carried out as well, which affords the evaluation of the effects of the measurement errors. The results of the statistical analysis afford quantifying the dependence of the estimation errors from the number of samples and from the variance of the measurement errors. Subsequently, the full complex-valued case is treated. Results of numerical simulations complement and illustrate the theoretical findings. The obtained numerical results confirm the statistical analysis and that the proposed external identification method is effective.

1. Introduction

Linear two-port and multiport networks have found widespread application in engineering and in applied sciences to model multivariable interaction phenomena. A recent reference on multiport networks and on their energy-exchange properties published on Energies is [1], while a general-purpose textbook that includes multiport elements is [2].
Multiport networks have been used in the modeling of complex mechanical systems [3], in waveguides modeling and calibration [4] as well as in antennas modeling and optimization [5], in modeling bioheat transfers in lungs (in particular during thoracic and open-heart surgery) [6], in the analysis of power delivery in electrical railways systems [7], in modeling low dropout voltage regulators [8] as well as in modeling and analyzing multiple grid-connected voltage source converter systems [9], in the modeling of electrochemical transport processes through biological membranes [10], as well as in the modeling and simulation of acoustic systems [11] even by two-port circuit models derived from the linearized Navier–Stokes equations [12]. In addition, nonlinear multiterminal electronic devices or portions of electronic circuits may be represented, in the small-signal hypothesis, as linear multiport networks.
Most black-box modeling techniques of linear interaction phenomena involve two-port circuits. However, multiport circuit models are of prime importance when a large number of variables are involved in an interaction phenomenon. As a specific application to exemplify the usefulness of multiport identification, consider the electronic chip package/connector de-embedding problem tackled in [13]. The plastic package of an electronic chip embeds a number of highly conductive wires whose function is to connect the internal electronic chip to the external pins. At very high frequencies (in the range of GHz), a number of parasitic effects show up and, in particular, the connecting wires interact to each other electromagnetically in such a way that they may no longer be regarded as simple wires. In [13], the package is modeled as a reciprocal, linear, time-invariant multiport network, which is supposed to be accessible by n internal electrical ports and n external electrical ports. The identification of the circuit model, represented through its 2 n × 2 n admittance matrix, is carried out by measuring the admittance of the external ports by a vector network analyzer. Once identified, the model is used to de-embed the internal chip, namely, to decouple the signals to/from the chip’s pins which become mixed up by the connector. A further example concerns modeling microvascular networks [14], where two-port models are used to compute biohydraulic quantities related to fluid circulation in thin blood vessels. In such an application, hence, neither the modeled phenomenon nor the variables of interest are of electric type.
Two-port networks turn out to be useful tools that afford analyzing the behavior and performance of linear networks that may be accessed by two pairs of terminals. Two-port network models are electrical circuits that embody a mathematical representation of the relationship occurring between the two independent voltages and two independent currents at their terminals. There exist six common types of two-port network models, classified as impedance, admittance, hybrid, and transmission type [15,16].
One of the challenges of using two-port network models is identifying the values of their independent parameters. There exist different methods to accomplish such a task, such as short-circuit, open-circuit, and known-load tests [2]. Each method implies applying known voltages and currents to the terminals and measuring the resulting voltages and currents. The choice of one specific method depends on the feasibility and accuracy of the available measurement devices. In the present research work, we deal specifically with the problem of the external identification of the three independent parameters of a reciprocal, lossy Y-type two-port network. Lossy networks characterize, among others, transmission media that entail some form of energy dissipation, such as energy loss due to nonideal conducting walls [17,18].
A basic assumption behind the present research is that the terminals of the two-port network are accessible to an impedance-measurement analyzer. Through such device, a number of test loads may be subjected to measurement of admittance. Next, such known loads may be connected to one of the ports of the network, and the equivalent admittance at the other port may be measured. In this way, a dataset may be collected, made of external load admittance values paired to equivalent external admittance values.
The collected data pairs are supposed to be affected by measurement errors whose entity depends on the quality of the measurement device and on the competence in the investigation. Whenever the measurement errors affecting the data available to accomplish the identification task are not negligible, the classical identification methods may be severely affected in a negative way. (In dimensions higher than two, such problem is even more severe, as illustrated, for instance, in [1].) In these instances, alternative identification methods may, hence, prove viable. A summary of three methodologies to accomplish identification are summarized in Table 1.
The method utilized to estimate the values of the parameters is based on a squared-estimation-error minimization procedure. Such formulation leads to a system of three nonlinear equations in the three (independent) unknown parameters of the Y-type two-port network model. A subsystem of two equations is then isolated, and it will be shown that such a subsystem may be turned exactly (i.e., without any approximation) to linear by an appropriate ansatz and may hence be solved in closed form.
The first part of the present paper deals with the purely real-valued case that serves to clarify the problem and the found solution. The relative simplicity of the equations pertaining to the purely real case affords a statistical analysis to quantify the effects of the measurement errors on the quality of the solution, under the form of the mean values and the variances of the deviations of the estimates to the actual values, evaluated to lowest order of approximation. In the second part of the paper, the full complex-valued case is treated, although with fewer details compared to the real-valued case since the equations are similar to the ones found for the purely real case.
The present analysis is of methodological value and does not imply any in-lab experimentation. Results of numerical simulations are hence displayed and discussed to complement and illustrate the theoretical findings throughout the paper.

2. Nomenclature Summary

The present paper includes several variables and constants. Table 2 summarizes the principal symbols used in the following sections and is meant as a guide for readers throughout the extensive notation used.

3. Problem Formulation for the Real-Valued Case

In the present work, we shall assume that a two-port system is represented by a 2 × 2 impedance matrix Y = Y 11 Y 12 Y 21 Y 22 . Since the working hypotheses are that the system being modeled is lossy, reciprocal, and memoryless, we shall assume that the matrix Y is symmetric, real-valued, and positive definite, namely, that it possesses the structure Y : = x y y z and that the following constraints on the three independent parameters x , y , z R hold:
x > 0 , x z y 2 > 0 ,
which inherently imply that z > 0 as well. A diagram of a two-port is shown in Figure 1.
Upon loading the second port by a resistor of conductance g > 0 , the equivalent conductance h at the first port reads
h = x y 2 z + g .
Notice that h = x z y 2 z + g + x g z + g ; therefore, by definition of the conductance g and by virtue of the constraints (1), it holds that h > 0 , namely, the whole bipole behaves as a passive resistor. Since z + g 0 , the above relationship may be rewritten as the following constraint on the unknown triple ( x , y , z ) :
( h x ) ( z + g ) + y 2 = 0 .
Clearly one single measurement testing is not enough to determine three unknowns, nor would be three tests, because of inherent measurement errors. We shall henceforth admit a number N > 3 of independent tests, which provide a set of pairs ( h k , g k ) , with k = 1 , 2 , , N . Due to measurement errors, none of such pairs exactly meet the relationship (3). The discrepancy of the left-hand side to zero will be denoted as modeling error and defined as
ϵ k ( x , y , z ) : = ( h k x ) ( z + g k ) + y 2 ,
where each g k > 0 and each h k > 0 . As a global model-to-data mismatch figure, we defined the index
J ( x , y , z ) : = 1 2 k = 1 N ϵ k 2 ( x , y , z ) .
Optimal estimation consists in determining the values of the two-port parameters ( x , y , z ) that minimize the quadratic error J and that meet the constrains (1).

4. Closed-Form Solution to the Optimization Problem for the Real-Valued Case

The first fundamental observation is that the pairwise modeling error appears as a polynomial in the three variables x, y, and z. As a consequence, the global mismatch figure J also takes the form of a polynomial in such three variables. In fact, it takes the expression
J = 1 2 ( N x 2 z 2 + 2 D x 2 z + C x 2 2 N x y 2 z 2 D x y 2 2 E x z 2 4 B x z 2 A x + N y 4 + 2 E y 2 z + 2 B y 2 + G z 2 + 2 F z + H ) ,
where we introduce the following constants that depend only on the dataset { ( h 1 , g 1 ) , ( h 2 , g 2 ) , ( h 3 , g 3 ) , , ( h N , g N ) } :
A : = k h k g k 2 , B : = k h k g k , C : = k g k 2 , D : = k g k , E : = k h k , F : = k h k 2 g k , G : = k h k 2 , H : = k h k 2 g k 2 .
It is interesting to underline that the constants D and E appear to be scaled versions of the sample mean value of the datasets g k and h k , respectively, and the constants C and G appear as scaled versions of the variances of the two sets, while the constant B appears as a correlation coefficient between the data sequences (up to scaling and shifting). Such observations will become useful in evaluating the positive definiteness of the Hessian matrix associated with the error function J.
It is also useful to highlight that, since any value g k > 0 and h k > 0 , any coefficient in the list (7) is also strictly positive. Such observation will turn out to be worthy in the evaluation of the shape of the feasible region.
In order to determine the critical points of the global error, it is necessary to compute the partial derivatives of the function J with respect to its three variables and to set them to zero. In order to confirm that such critical points correspond to minima of the criterion function, it will also be necessary to compute the Hessian matrix of the mismatch function J and to make sure that it is positive definite. The sought partial derivatives read
J x = ( A + 2 B z C x + D y 2 + E z 2 N x z 2 + N y 2 z 2 D x z ) ,
J y = 2 y ( N y 2 + B + E z D x N x z ) ,
J z = G z + N x 2 z + F 2 B x 2 E x z + E y 2 + D x 2 N x y 2 .
Some observations are worth highlighting. The first observation is that one trivial solution arising by setting the partial derivative J y to zero would be y = 0 ; we shall, however, rule out such a solution that would imply the absence of interaction between the two ports, hence making the problem essentially unworthy examining. A second observation is that the variable y appears always at the power of two; such observation leads to the conclusion that, within the present framework, it is impossible to determine the right sign of the parameter y and, hence, that this method always produces two possible solutions, namely, ( x , y , z ) and ( x , y , z ) .
A third observation of interest is that from the equation N y 2 + B + E z D x N x z = 0 , arising from the relation (9), we may directly express the unknown y in terms of the unknowns ( x , z ) as
y 2 = 1 N ( D x + N x z B E z ) .
By replacing such a result back into the first equation of the system, (8), and into the third Equation (10), we may simplify the identification problem to a two-variable optimization problem. But there is more to that, since the resulting system of equations turns out to be linear and may hence be solved in closed form. In fact, the equations J x = 0 and J z = 0 lead to the linear system
N C D 2 D E N B D E N B N G E 2 M : =   x z t : = = N A D B B E N F d : = ,
where we have defined the two-variable 2 × 1 unknown array t, the 2 × 2 system matrix M, and the 2 × 1 coefficients array d. Notice that the matrix M results to be symmetric.
The solution of the linear system (12) reads t = M 1 d , where the inverse of the coefficient matrix M takes the form
M 1 = 1 D N G E 2 N B D E N B D E N C D 2 ,
with D : = det ( M ) = N 2 B E D G D 2 C E 2 + N C G N B 2 . Henceforth, the solution in closed form reads
t = N D A G N A E 2 + B 2 E B D G B F N + D E F A B N A D E B 2 D + B C E C F N + D 2 F .
The Hessian matrix of the global modeling error J with respect to the variables ( x , z ) reads M N , hence the solution to the above linear system of equations represents a minimum of the global error only if the matrix M is positive definite. Positive definiteness of such Hessian matrix holds only if
N C D 2 > 0 , ( N C D 2 ) ( N G E 2 ) ( D E N B ) 2 > 0 .
We will verify that such constraints are, in fact, always met. The first constraint, N C > D 2 , may be recast explicitly as N k g k 2 > k g k 2 . Upon defining
μ g : = 1 N k g k , σ g 2 : = 1 N k ( g k μ g ) 2 ,
simple calculations show that N C D 2 = N 2 σ g 2 > 0 . Analogously, upon defining
μ h : = 1 N k h k , σ h 2 : = 1 N k ( h k μ h ) 2 , R h g : = 1 N k ( h k μ h ) ( g k μ g ) ,
the last one being a correlation coefficient, it turns out that N G E 2 = N 2 σ h 2 and that ( D E N B ) 2 = N 4 R g h 2 ; therefore,
( N C D 2 ) ( N G E 2 ) ( D E N B ) 2 = N 4 ( σ g 2 σ h 2 R g h 2 ) .
Since the value of the correlation coefficient R g h / ( σ g σ h ) is strictly less than 1, the second constraint is unconditionally met as well.
Notice that the positive definiteness of the matrix M N implies the invertibility of the matrix M which, in turn, implies that linear system of Equation (12) certainly admits a solution.
Figure 2 shows the result of a numerical test. In this test, the actual values of the parameters are Y 11 = 3 Ω 1 , Y 12 = 1 Ω 1 , and Y 22 = 0.8 Ω 1 , and the values of g are drawn randomly from a uniform distribution in [ 0 , 5 ] Ω 1 . The measurement error is herewith assumed to be a random noise with normal distribution. Namely, we shall assume that each true value g k is affected by an additive normal measurement error, such that the value that is effectively collected is g k + v k , with v k N ( 0 , Σ 2 ) and that each true value h k is affected by an additive normal measurement error, such that the collected value is h k + w k , where w k N ( 0 , Σ 2 ) . The quantity Σ 2 > 0 denotes the variance of the zero-mean measurement error.
The achieved minimal squared error is J min 0.00546 Ω 4 .
We further notice that the definiteness constraint x z y 2 > 0 may be rewritten in terms of the variables ( x , z ) only, through the relationship (11), as
B + E z D x > 0 .
Such inequality, together with the further definiteness constraint x > 0 , individuates the feasible set of acceptable solutions situated in the upper-right quadrant of the plane R 2 , as shown in Figure 3. The feasible region is characterized by the axes intercepts x ¯ : = B D > 0 and z ¯ : = B E < 0 (since B , D , E > 0 , as recalled at the beginning of the present section). We shall remark that, in particular, whenever the actual value of z is approximately zero (yet being positive), the feasible solution for x is approximately x ¯ .
The proposed external identification approach, resulting from the above mathematical developments, is summarized by the flowchart displayed in Figure 4.

5. Special Case of the Parameter Y 11 Known in the Real-Valued Case

A special measurement setting may be exploited to obtain an approximation of the parameter Y 11 of the two-port. In the following, we make a number of assumptions to formalize such a special case:
  • The second port of the two-port network may be closed by a short-circuit, which corresponds to assuming g = ; notice that this is an assumption that does not necessarily correspond to a real-world case since, at high frequency, a short-circuit is not necessarily so.
  • The equivalent conductance h, in this particular measurement setting, may be measured with negligible measurement error; even this assumption will, most likely, appear just as a case study.
Under the above assumptions, the fundamental relationship (2) returns h x , namely, the value of the variable x may be measured directly and hence is to be considered, in principle, as known.
Now, before presenting the resulting closed-form expression of the variable z, it pays to define a reduced error function that is obtained by plugging the relation (11) into the error function (6) to obtain
J ¯ ( x , z ) : = 1 2 N [ ( N G E 2 ) z 2 + ( N C D 2 ) x 2 + 2 ( D E N B ) x z + 2 ( D B N A ) x + N H B 2 ] .
If the value of the parameter x is known, the reduced error function is a function of the variable z only, whose optimal value is obtained by setting 0 = d J ¯ d z x = known , which gives
Y ^ 22 = B E N F + ( B N D E ) x N G E 2 .
Aside, we deem it quite interesting the observation that the sharpness of the paraboloid described by the function J ¯ ( x , z ) along both axes is determined by the two coefficients N G E 2 and N C D 2 that are proportional to the sample variance of the data subsets { h 1 , h 2 , , h N } and { g 1 , g 2 , , g N } .
Moreover, we notice that if the physical system that is being modeled by a two-port network allows swapping of the first port with the second port, namely, the first port may be loaded on a known load and the second port is accessible for conductance measurement, then the above considerations may be repeated with the assumption that the parameter Y 22 be known. In this way, both parameters Y 11 and Y 22 may be measured directly and the remaining parameter Y 12 , the transfer admittance, may be estimated through a series of further measurements.

6. Statistical Analysis for the Real-Valued Case

The present analysis is based on the assumption that the measurements g k are the realizations of a random variable g and that the measurements h k are the realizations of a random variable h. We may then define a new error-type random variable
ϵ = ( h x ) ( g + z ) + y 2 .
On the basis of such assumption, we shall be able to estimate a number of statistical characteristics of the modeling error ε and of the deviations of the parameters estimations to their actual values.

6.1. Statistical Analysis of the Modeling Error ϵ

It is instrumental to estimate the average value and the variance of the error variable ϵ .
With regard to the average value, it holds that
ϵ = h g + h z g x x z + y 2 ,
where we make use of the statistical expectation operator · .
The actual average values may be estimated through the relevant coefficients (7) normalized by the integer N, namely, to first order
ϵ B + E z D x N + y 2 x z .
We already showed in Section 4 that the quantity B + E z D x equals N ( x z y 2 ) when the triple ( x , y , z ) is the one estimated by the devised optimization algorithm; therefore, it holds that ϵ = 0 .
Likewise, the variance of the error-type random variable may be approximated, to first order, as
ϵ 2 ϵ 2 2 J N .
Figure 5 shows the probabilistic distributions of the random variables g, h, and ϵ and correspond to the numerical test whose results were illustrated in Figure 2, except that, to obtain a meaningful statistical result, an enlarged dataset of 10,000 samples was generated.
It is immediately visible how the statistical distribution of the random variable ϵ is centered at 0 within a good approximation range, as predicted.

6.2. Statistical Analysis of the Perturbations of the System (12)

In order to evaluate the effect of the measurement errors on the estimation of the parameters of the two-port, we shall perform a perturbation analysis on the system (12) written in short as M t = d and we shall further conduct a statistical analysis on the perturbations.
The seven coefficients A, B, C, D, E, F, and G that enter the linear system M t = d depend entirely on the dataset { ( h 1 , g 1 ) , ( h 2 , g 2 ) , , ( h N , g N ) } . Whenever the dataset is affected by measurement noise, such seven coefficients are subjected to deviations that may be assumed to be small enough to legitimate a low-order perturbation analysis.
In order to perform a perturbation analysis, we shall assume that the matrix M changes to M + Δ M and that the vector d changes to d + Δ d . Accordingly, the solution t deviates to t + Δ t . For first order, we hence obtain that ( Δ M ) t + M Δ t = Δ d ; therefore,
Δ t = M 1 Δ d M 1 ( Δ M ) t ,
where the deviations of the coefficient vector d and of the coefficient matrix M take the expressions
Δ d = N Δ A D Δ B B Δ D B Δ E + E Δ B N Δ F , Δ M = N Δ C 2 D Δ D D Δ E + E Δ D N Δ B D Δ E + E Δ D N Δ B N Δ G 2 E Δ E .
Notice that the matrix deviation Δ M is symmetric. We remark that, in the above and following expressions of the present section, the coefficients A, B, C, D, E, F, G, and the matrix M, as well as the arrays t and d, refer to the errorless case, namely, to the case that the measurements of the conductances g k and h k are unaffected by measurement errors. The measurement errors are accounted for by the random variables v k and w k already introduced at the end of Section 4.
We shall make the following reasonable assumptions on the zero-mean Gaussian measurement errors of standard deviation Σ :
  • The sequence k v k of random variables is uncorrelated, namely, v k v j = δ k j Σ 2 , where δ denotes the Kronecker’s delta;
  • The sequence k w k is uncorrelated, namely, w k w j = δ k j Σ 2 ;
  • The two sequences k v k and k w k are statistically independent, hence v k w j = 0 , since they were supposed to be zero-mean.
Notice that both random errors are assumed to have the same variance because both measurements are supposed to be taken through the same measurement device.
On the basis of such assumption, it is possible to evaluate the deviation of each coefficient from its errorless value. With regard to the calculations about the deviation Δ A of the coefficient A, we have that A + Δ A = k ( h k + w k ) ( g k + v k ) 2 from which, by expanding the multiplications, we may obtain the expression of the deviation Δ A , and likewise for the remaining deviations. The obtained results are summarized as follows:
Δ A = 2 k h k g k v k + k h k v k 2 + k g k 2 w k + 2 k g k v k w k + k v k 2 w k , Δ B = k h k v k + k g k w k + k v k w k , Δ C = 2 k g k v k + k v k 2 , Δ D = k v k , Δ E = k w k , Δ F = k h k 2 v k + 2 k h k g k w k + 2 k h k w k v k + k g k w k 2 + k w k 2 v k , Δ G = 2 k h k w k + k w k 2 .
Applying the statistical expectation operator · to both sides of the above expressions yields, at the lowest degree of approximation,
Δ A = E Σ 2 , Δ B = Δ D = Δ E = 0 , Δ C = Δ G = N Σ 2 , Δ F = D Σ 2 ,
thanks to the assumption on the measurement errors being statistically independent and zero-mean.
From the above results and from the relationships in (27), it turns out that the average deviation in the array d and in the matrix M take the expressions
Δ d = N Σ 2 E D , Δ M = N 2 Σ 2 I 2 .
Through these quantities, it is possible to evaluate the average mismatch in the solution array that reads
Δ t = M 1 Δ d M 1 Δ M t .
The closed-form expressions of the average deviations of the single parameters, to the lowest degree of approximation, may hence be computed as
Δ x Δ z = M 1 E N x D N z N Σ 2 .
Notice that, although the matrix M is certainly positive definite, as shown in Section 4, it might happen to be close to singularity, in which case the inverse M 1 might amplify the deviation in the parameters. The larger the norm M 1 , the larger the amplification of the deviations.
Notice that the average deviation Δ t only depends on the coefficients B , C , D , E , G . A further observation is that, although it is not surprising that the average deviations Δ x and Δ z depend linearly on the actual values x and z (given that a first-order analysis is being carried out), it is interesting to notice that the deviation Δ x only depends on the value of x, while the deviation Δ z only depends on the value of z.
Along with the mean value of the mismatch in the estimation of the parameters x and z, the covariance matrix of such mismatch may be computed, which is defined as
C t : = ( Δ t Δ t ) ( Δ t Δ t ) = ( Δ t ) ( Δ t ) Δ t Δ t .
While the mean value of the mismatch fixes a reference for the estimation errors, the covariance quantifies the extent of the deviation around such reference.
The value of the entries of the covariance matrix C t may be evaluated in closed form provided some assumptions and simplifications are made. In particular, besides the assumptions on their statistical distributions and mutual uncorrelation, we shall also ignore all terms in the expressions that are proportional to a power of the measurement errors’ standard deviation, Σ p , with p > 2 . For instance, we notice from the expression (32) that Δ t Δ t Σ 4 ; therefore, we shall neglect such a term in the computation of the entries of the matrix C t . As a consequence, we only need to evaluate the 2 × 2 (symmetric) matrix ( Δ t ) ( Δ t ) .
From the expression (26), we obtain that the uncentered component of the sought covariance matrix takes the expression
( Δ t ) ( Δ t ) = M 1 ( ( Δ d ) ( Δ d ) ( Δ d ) t ( Δ M ) ( Δ M ) t ( Δ d ) + ( Δ M ) t t ( Δ M ) ) M 1 ,
to come to which we make use repeatedly of the property of the matrix M (and hence of the matrix Δ M ) to be symmetric. In order to facilitate the evaluation of the above expression, it pays to define a vector of coefficient deviations as
q : = Δ A Δ B Δ C Δ D Δ E Δ F Δ G .
Then, the vector-valued quantities Δ d and ( Δ M ) t may be expressed as
Δ d = U q , ( Δ M ) t = K q ,
where we have introduced the following two matrices that help link the deviations in the coefficients A, B, C, , G to the deviations Δ d and ( Δ M ) t :
U : = N D 0 B 0 0 0 0 E 0 0 B N 0 , K : = 0 N z N x E z 2 D x D z 0 0 0 N x 0 E x D x 2 E z 0 N z .
Consequently, the expression (34) may be recast more conveniently through the relation
( Δ t ) ( Δ t ) = M 1 ( U Q U U Q K K Q U + K Q K ) M 1 ,
where we use the 7 × 7 inner covariance matrix Q : = q q , to be evaluated, which describes the dispersion of the random variables A, B, , G around their errorless values.
The covariance matrix Q includes the auto- and cross-correlation values of all coefficient variations due to measurement errors. In the following, we shall present a detailed derivation of the expression of one of them and then, directly, the results of such calculations about every entry of the matrix Q (a total of 28 independent values). As we shall see, every entry of the covariance matrix Q is proportional to Σ 2 , where the proportionality coefficients are combinations of the quantities A, B, C, , G plus some ad hoc new coefficients to be defined that depend on higher-order powers of the measurement errors and of their products (which may be read as sorts of higher-order correlation expressions).
We start by examining the detailed derivation of the expression of ( Δ B ) 2 . By definition, it holds that
( Δ B ) 2 = ( k h k v k + k g k w k + k v k w k ) ( k + j h j v j + j g j w j + j v j w j ) = k j g k g j w k w j + k j g k h j w k v j + k j g k w k v j w j + k j h k g j v k w j + k j h k h j v k v j + k j h k v k v j w j + k j g j v k w k w j + k j h j v k w k v j + k j v k v j w k w j = k j g k g j δ k j Σ 2 + k j g k h j · 0 + k j g k δ k j Σ 2 · 0 + k j h k g j · 0 + k j h k h j δ k j Σ 2 + k j h k · 0 + k j g j δ k j Σ 2 · 0 + k j h j δ k j Σ 2 · 0 + k j δ k j Σ 4 = ( k g k 2 ) Σ 2 + ( k h k 2 ) Σ 2 + O ( Σ 4 ) .
In the above equations chain, we make use repeatedly of the statistical properties of the involved random variables as, for instance, the property that w k v j w j = v j w k w j = 0 · δ j k Σ 2 = 0 . Also, O denotes a Landau symbol. In addition, we may notice that the sum k g k 2 coincides with the coefficient C and the quantity k h k 2 coincides with the coefficient G, as defined in (7).
Gathered together, the seven coefficients in the first row of the matrix Q read, up to higher-order terms in the variance Σ 2 :
( Δ A ) 2 = ( 4 H + V ) Σ 2 , ( Δ A ) ( Δ B ) = ( 2 F + L ) Σ 2 , ( Δ A ) ( Δ C ) = 4 A Σ 2 ( Δ A ) ( Δ D ) = 2 D Σ 2 , ( Δ A ) ( Δ E ) = C Σ 2 , ( Δ A ) ( Δ F ) = 2 ( R + S ) Σ 2 , ( Δ A ) ( Δ G ) = 2 A Σ 2 ,
where we made use of the following additional coefficients:
V : = k g k 4 , L : = k g k 3 , R : = k h k 3 g k , S : = k h k g k 3 .
The six independent coefficients in the second row of the matrix Q, up to higher-order terms in the variance Σ 2 , take the expressions
( Δ B ) 2 = ( C + G ) Σ 2 , ( Δ B ) ( Δ C ) = 2 B Σ 2 ( Δ B ) ( Δ D ) = E Σ 2 , ( Δ B ) ( Δ E ) = D Σ 2 , ( Δ B ) ( Δ F ) = ( 2 A + P ) Σ 2 , ( Δ B ) ( Δ G ) = 2 B Σ 2 ,
where we made use of the additional coefficient P : = k h k 3 .
The five independent coefficients in the third row of the matrix Q, up to higher-order terms in the variance Σ 2 , read
( Δ C ) 2 = 4 C Σ 2 ( Δ C ) ( Δ D ) = 2 D Σ 2 , ( Δ C ) ( Δ E ) = 0 , ( Δ C ) ( Δ F ) = 2 F Σ 2 , ( Δ C ) ( Δ G ) = 0 .
Continuing with the evaluation of the entries of the matrix Q, the four independent coefficients in its fourth row read, up to higher-order terms in the variance Σ 2 :
( Δ D ) 2 = N Σ 2 , ( Δ D ) ( Δ E ) = 0 , ( Δ D ) ( Δ F ) = G Σ 2 , ( Δ D ) ( Δ G ) = 0 .
Likewise, up to higher-order terms in the variance Σ 2 , the three independent coefficients in the fifth row of the covariance matrix Q read
( Δ E ) 2 = N Σ 2 , ( Δ E ) ( Δ F ) = 2 B Σ 2 , ( Δ E ) ( Δ G ) = 2 E Σ 2 .
The last three independent coefficients from the sixth and seventh rows of the matrix Q are expressed, up to higher-order terms in the variance Σ 2 , as follows:
( Δ F ) 2 = ( 4 H + W ) Σ 2 , ( Δ F ) ( Δ G ) = 4 F Σ 2 , ( Δ G ) 2 = 4 G Σ 2 ,
where we have defined the further coefficient W : = k h k 4 .
By chaining the above relations and operating the indicated matrix calculations, the sought-after covariance matrix may be obtained. Although such covariance matrix is of size 2 × 2 , its entries are too complicated to be expressed in closed form. Nevertheless, we observe that such covariance matrix may be broken down as
C t = σ x 2 σ z 2 ,
where the cross-covariance terms are neglected. We should perhaps remark that, due to the limited number N of samples and of the simplifications performed, the numerically estimated covariance matrix C t might result as only positive semidefinite. The quantities σ x 2 and σ z 2 represent the variances of the deviations of the two parameters of the admittance matrix Y (on the main diagonal).
On the basis of the estimated average deviations and of their variances, the statistical estimations of the actual (errorless) values of the parameters x and z may be presented as
x ^ = x + Δ x ± σ x , z ^ = z + Δ z ± σ z ,
where the confidence intervals are assumed to be as large as [ σ x , σ x ] and [ σ z , σ z ] .
As a safety-check test, the external identification method summarized in the flowchart of Figure 4 was applied to a dataset composed of N = 10 randomly generated data-pairs with Σ = 0 Ω 1 , namely, when no measurement errors are present. The actual admittance matrix was taken as Y = 3 1.5 1.5 1 Ω 1 . The estimation algorithm returns the two possible solutions Y ^ = 3 ± 1.5 ± 1.5 1 Ω 1 and the statistical estimation returns x ^ = 3.00000 ± 0.00000 Ω 1 and z ^ = 1.00000 ± 0.00000 Ω 1 , with C t = 0 Ω 2 .
As a numerical example, on the basis of the simulation conditions described at the end of Section 4, the average estimation error reads
Δ t 0.00324 0.02644 Ω 1
and the inner covariance matrix reads
Q 0.59597 0.10457 0.14207 0.02006 0.01281 0.42734 0.07104 0.10457 0.02194 0.02006 0.00341 0.00366 0.09561 0.02006 0.14207 0.02006 0.05123 0.00731 0.00000 0.05512 0.00000 0.02006 0.00341 0.00731 0.00128 0.00000 0.00914 0.00000 0.01281 0.00366 0.00000 0.00000 0.00128 0.02006 0.00682 0.42734 0.09561 0.05512 0.00914 0.02006 0.46054 0.11023 0.07104 0.02006 0.00000 0.00000 0.00682 0.11023 0.03654 ,
which leads to the covariance of the deviation of the solutions
C t 0.00010 0.00239 Ω 2 .
The results predicted by the statistical analysis are, hence,
Y ^ 11 = 2.99676 ± 0.00996 Ω 1 , Y ^ 22 = 0.77356 ± 0.04885 Ω 1 ,
that, in fact, agree with the results presented in Figure 2.

7. Covering of the Complex-Valued Case

In the most general case, which also covers the frequency-domain representation of a two-port network, the involved quantities (i.e., the known loads and the parameters of the two-port circuit model) are complex-valued. Since the two-port network is supposed to be reciprocal and lossy, its admittance matrix reads
Y : = Y 11 Y 12 Y 12 Y 22 ,
with Y 11 , Y 12 , and Y 22 being three complex-valued parameters and the constraint { Y } > 0 must hold, which means that the conductive component of the admittance matrix must be positive definite (besides being symmetric). The susceptive component of the matrix Y just needs to be symmetric without any further constraints.
In order to estimate the unknown values of the three complex-valued parameters Y 11 , Y 12 , and Y 22 , in the same spirit of the real-valued case, N independent tests are supposed to have been conducted by loading the second port with a series of known impedances of admittance Y 𝓁 , k , and by collecting as many equivalent admittance values Y b , k . Such values are related by
Y b , k Y 11 Y 12 2 Y 22 + Y 𝓁 , k .
The approximation is due, once again, to unknown measurement errors. The pairwise estimation error may be defined, in this case, as
E k : = ( Y b , k Y 11 ) ( Y 22 + Y 𝓁 , k ) + Y 12 2
on the basis of which a global squared estimation error may be defined as
J : = 1 2 k | E k | 2 ,
where the notation | · | denotes the modulus of a complex number. The best estimation of the three coefficients arises from the minimization of the global squared estimation error.
In the present complex-domain instance, the minimization of the criterion J may still be achieved by setting its “derivative” to zero, as long as a notion of derivative with respect to a complex-valued variable is defined properly. We define the derivative (or “gradient” or “del operator”) J with respect to one of its arguments Y a b as (see, e.g., [19])
Y a b J : = J { Y a b } + i J { Y a b } ,
where i denotes the imaginary unit. Calculations lead to the following expressions of the complex derivatives
Y 11 J = k Y 𝓁 , k * E k Y 22 * k E k , Y 12 J = 2 Y 12 * k E k , Y 22 J = k Y b , k E k Y 11 k E k ,
to be set to zero, where the superscript * denotes complex conjugation. As for the real-valued case, we shall discard the trivial solution Y 12 = 0 that would imply a null transfer admittance; hence, the second equation would be k E k = 0 . This condition, however, implies that the second sum on the right-hand side of the first and of the third relations are identically zero. Therefore, the system of equations to solve reads
k Y 𝓁 , k * E k = 0 , k E k = 0 , k Y b , k E k = 0 .
Interestingly, such expressions appear as sums of errors—weighted by data—set to zero.
Upon plugging-in the expression of the error E k = Y b , k Y 𝓁 , k + Y b , k Y 22 Y 𝓁 , k Y 11 + Y 12 2 Y 11 Y 22 , we obtain the following system of polynomial equations:
A + B Y 22 C Y 11 + D * ( Y 12 2 Y 11 Y 22 ) = 0 , F + G Y 22 D Y 11 + N ( Y 12 2 Y 11 Y 22 ) = 0 , H + K Y 22 B * Y 11 + G * ( Y 12 2 Y 11 Y 22 ) = 0 ,
where the constant coefficients of the systems are defined as
A : = k | Y 𝓁 , k | 2 Y b , k , B : = k Y 𝓁 , k * Y b , k , C : = k | Y 𝓁 , k | 2 , D : = k Y 𝓁 , k , F : = k Y b , k Y 𝓁 , k , G : = k Y b , k , H : = k | Y b , k | 2 Y 𝓁 , k , K : = k | Y b , k | 2 .
The system (60) appears as a set of three nonlinear equations, which may, however, be rendered in linear form. In fact, from the second equation, one may infer that
Y 12 2 = Y 11 Y 22 + 1 N ( D Y 11 G Y 22 F ) ;
henceforth, the first and third equations in (60) may be rewritten as the linear system
N C | D | 2 G D * N B N B * D G * | G | 2 N K M : =   Y 11 Y 22 t : = = N A F D * N H F G * d : = .
The solution to such system of equations may be written again as t = M 1 d , to determine the optimal values of the parameters Y 11 and Y 22 . In addition, the relationship
Y 12 = ± Y 11 Y 22 + 1 N ( D Y 11 G Y 22 F ) ,
involving complex-valued square-rooting, may be used to determine two (indistinguishable, in fact) optimal values of the parameter Y 12 .
As a numerical result, taking as actual value of the admittance matrix
Y = 3.0 + 0.2 i 1.0 + 2.0 i 1.0 + 2.0 i 0.8 + 1.0 i Ω 1
and setting a value for the standard deviation of the measurement error Σ = 10 2 Ω 1 , the optimal values obtained through the optimization-based estimation method are
Y ^ 3.0012 + 0.2176 i 0.9821 2.0057 i 0.9821 2.0057 i 0.8127 + 0.9846 i Ω 1 ,
which is, of course, in excellent agreement with the actual value (notice the sign flip in the off-diagonal entries). Figure 6 shows the statistical distribution of the real and imaginary part of the dataset enlarged to 10 , 000 samples to obtain a meaningful representation (since the samples are generated randomly by a computer code, the number N of samples may be inflated at will).

8. Conclusions

The problem of the estimation of the three independent parameters of a reciprocal, lossy Y-type two-port network was dealt with, under the assumption that its terminals are accessible to an impedance-measurement analyzer. A number of test loads are first subjected to measurement of admittance; next, such loads are connected to one of the ports of the network, and the equivalent admittance seen from the other port is collected.
The data pairs collected during the execution of such procedure are affected by measurement errors; therefore, the optimal parameter estimation method utilized is based on a squared-estimation-error minimization. Such formulation leads to a system of three nonlinear equations in the three unknown parameters of the Y-type two-port network model. A subsystem of two equations is then isolated, which may be turned exactly to linear, and may be solved in closed form.
The first part of the paper dealt with the purely real-valued case that served to clarify the problem and its solution. The purely real-valued case also affords a statistical analysis that enables an analytic, as well as a numerical, evaluation of the effects of the measurement errors on the quality of the solution. Such statistical analysis yields, as a result, the mean values and the variances of the deviations of the estimates to the actual values. The full complex-valued case was treated in the second part of the paper with fewer details since the equations are similar to the ones found for the purely-real case.
The results of some numerical experiments, both for the real-valued and for the complex-valued cases, were displayed and discussed to complement and illustrate the theoretical findings.
The present research work constitutes the first step in the external characterization by multiport networks on the basis of a black-box modeling procedure. The full case of a 2 n -terminal network will be investigated in forthcoming research endeavors.

Author Contributions

Conceptualization, S.F.; methodology, S.F. and C.C.; software, S.F. and C.C.; formal analysis, S.F.; writing—original draft preparation, S.F.; writing—review and editing, S.F. and C.C. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Data Availability Statement

This research is not based on any specific dataset.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Fiori, S.; Wang, J. External identification of a reciprocal lossy multiport circuit under measurement uncertainties by Riemannian gradient descent. Energies 2023, 16, 2585. [Google Scholar] [CrossRef]
  2. Smith, K.C.A.; Alley, R.E. Electrical Circuits: An Introduction; Electronics Texts for Engineers and Scientists; Cambridge University Press: Cambridge, MA, USA, 1992. [Google Scholar] [CrossRef]
  3. Alazard, D.; Perez-Gonzalez, J.A.; Loquen, T.; Cumer, C. Two-input two-output port model for mechanical systems. In Proceedings of the Scitech 2015—53rd AIAA Aerospace Sciences Meeting, Kissimmee, FL, USA, 5–9 January 2015. [Google Scholar]
  4. Farina, M.; Morini, A.; Rozzi, T. A calibration approach for the segmentation and analysis of microwave circuits. IEEE Trans. Microw. Theory Technol. 2007, 55, 2124–2134. [Google Scholar] [CrossRef]
  5. Aberle, J. Two-port representation of an antenna with application to non-foster matching networks. IEEE Trans. Antennas Propag. 2008, 56, 1218–1222. [Google Scholar] [CrossRef]
  6. Duhé, J.F.; Victor, S.; Melchior, P.; Abdelmounen, Y.; Roubertie, F. Two-port network modeling for bio-heat transfers in lungs. IFAC-PapersOnLine 2021, 54, 169–174. [Google Scholar] [CrossRef]
  7. Lee, H.; Lee, C.; Jang, G.; Kwon, S.H. Harmonic analysis of the Korean high-speed railway using the eight-port representation model. IEEE Trans. Power Deliv. 2006, 21, 979–986. [Google Scholar] [CrossRef]
  8. Zaman, M.; Mustafa, M.; Hussain, A. Black-box modeling of low dropout voltage regulator based on two-port network parameter identification. In Proceedings of the 2015 IEEE 11th International Colloquium on Signal Processing & Its Applications (CSPA), Kuala Lumpur, Malaysia, 6–8 June 2015; pp. 78–83. [Google Scholar]
  9. Chou, S.F.; Wang, X.; Blaabjerg, F. Extensions to two-port network modeling method and analysis of multiple-VSC-based systems. In Proceedings of the 2019 20th Workshop on Control and Modeling for Power Electronics (COMPEL), Toronto, ON, Canada, 17–20 June 2019; pp. 1–8. [Google Scholar]
  10. Mikulecky, D. A network thermodynamic two-port element to represent the coupled flow of salt and current. Improved alternative for the equivalent circuit. Biophys. J. 1979, 25, 323–340. [Google Scholar] [CrossRef] [PubMed]
  11. Mimani, A.; Munjal, M. Acoustical analysis of a general network of multi-port elements—An impedance matrix approach. Int. J. Acoust. Vib. 2012, 17, 23–46. [Google Scholar]
  12. Veijola, T. A two-port model for wave propagation along a long circular microchannel. Microfluid. Nanofluid. 2007, 3, 359–368. [Google Scholar] [CrossRef]
  13. Ballicchia, M.; Farina, M.; Morini, A.; Turchetti, C.; Orcioni, S. A methodology for RF modeling of packages with external pin measurements. Int. J. Microw.-Comput.-Aided Eng. 2014, 24, 623–634. [Google Scholar] [CrossRef]
  14. Frasch, H.; Kresh, J.; Noordergraaf, A. Two-port analysis of microcirculation: An extension of windkessel. Am. J. Physiol. 1996, 270, 376–385. [Google Scholar] [CrossRef] [PubMed]
  15. Svoboda, J.A.; Dorf, R.C. Introduction to Electric Circuits, 9th ed.; Wiley: Hoboken, NJ, USA, 2013. [Google Scholar]
  16. Izadian, A. Two-Port Networks. In Fundamentals of Modern Electric Circuit Analysis and Filter Synthesis: A Transfer Function Approach; Springer International Publishing: Cham, Switzerland, 2023; pp. 609–669. [Google Scholar] [CrossRef]
  17. Hernández-Escobar, A.; Abdo-Sánchez, E.; Mateos-Ruiz, P.; Esteban, J.; María Martín-Guerrero, T.; Camacho-Peñalosa, C. An Equivalent-Circuit Topology for Lossy Non-Symmetric Reciprocal Two-Ports. IEEE J. Microwaves 2021, 1, 810–820. [Google Scholar] [CrossRef]
  18. Zappelli, L. Equivalent Circuits of Lossy Two-Port Waveguide Devices. IEEE Trans. Microw. Theory Tech. 2019, 67, 4095–4106. [Google Scholar] [CrossRef]
  19. Fiori, S. Extended Hebbian learning for blind separation of complex-valued sources. IEEE Trans. Circuits Syst. II Analog. Digit. Signal Process. 2003, 50, 195–202. [Google Scholar] [CrossRef]
Figure 1. Two-port network diagram. The symbol Y denotes the type of representation; the marks 1 and 2 denote the port number. The diagram also shows the port-1 and port-2 voltage–current pairs.
Figure 1. Two-port network diagram. The symbol Y denotes the type of representation; the marks 1 and 2 denote the port number. The diagram also shows the port-1 and port-2 voltage–current pairs.
Energies 16 06037 g001
Figure 2. Result of a numerical test in the real-valued estimation case. The estimated/actual relation refers to the function h ( g ) : = x y 2 g + z with ( x , y , z ) set to the estimated values in the first case and to the actual values in the second case. Notice that the red line and the blue line are hardly distinguishable because they are almost perfectly superimposed, which testifies that the developed estimation method provides a result hardly distinguishable, in practice, from the actual values of the sought parameters.
Figure 2. Result of a numerical test in the real-valued estimation case. The estimated/actual relation refers to the function h ( g ) : = x y 2 g + z with ( x , y , z ) set to the estimated values in the first case and to the actual values in the second case. Notice that the red line and the blue line are hardly distinguishable because they are almost perfectly superimposed, which testifies that the developed estimation method provides a result hardly distinguishable, in practice, from the actual values of the sought parameters.
Energies 16 06037 g002
Figure 3. Shape of the feasible region in the xz plane in gray color.
Figure 3. Shape of the feasible region in the xz plane in gray color.
Energies 16 06037 g003
Figure 4. Flowchart summary of the proposed external identification approach.
Figure 4. Flowchart summary of the proposed external identification approach.
Energies 16 06037 g004
Figure 5. Statistics pertaining to the numerical test of Figure 2 on an enlarged dataset.
Figure 5. Statistics pertaining to the numerical test of Figure 2 on an enlarged dataset.
Energies 16 06037 g005
Figure 6. Statistics pertaining to the numerical test on the complex-valued estimation case.
Figure 6. Statistics pertaining to the numerical test on the complex-valued estimation case.
Energies 16 06037 g006
Table 1. Advantages and drawbacks of three categories of external identification methods.
Table 1. Advantages and drawbacks of three categories of external identification methods.
MethodAdvantagesDrawbacks
Classical [2]Requires a minimal number of measurements; requires minimal computational efforts.Assumes errorless measurements and presents a lack of resiliency to measurement errors.
Iterative [1]Deals with measurement errors by an iterative least-squared error approach.Requires a larger number of measurements (from dozens to hundreds, depending on the size of the multiport network) which may be effected through an inexpensive instrumentation; requires a powerful computation platform.
Nonclassical, closed form (proposed)Deals with measurement errors through a least-squares-error approach; does not requires a powerful computation platform.Requires a larger number of measurements which may be effected through an inexpensive instrumentation.
Table 2. List of the principal symbols used within this manuscript and their description.
Table 2. List of the principal symbols used within this manuscript and their description.
SymbolsDescription
x , y , z Independent parameters of the two-port network to be identified.
( h k , g k ) Dataset pair to conduct identification.
NNumber of dataset pairs.
ϵ k , E k , J Specific and global modeling error.
A , B , C , D , E , F , G , H , K Correlations between data entries to be used in the resolvent system and in the statistical analysis.
M , d Coefficient matrix and vector of the resolvent system.
tEstimated closed-form solution.
Σ 2 Variance of the measurement error.
Δ t , C t Mean and variance of estimation mismatch.
V , L , R , S , P , W Higher-order correlations between data entries to be used in the statistical analysis.
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Fiori, S.; Cisse, C. Identification of Lossy Y-Type Two-Port Circuit Models under Measurement Uncertainties: Closed-Form Solution and Statistical–Perturbative Characterization. Energies 2023, 16, 6037. https://doi.org/10.3390/en16166037

AMA Style

Fiori S, Cisse C. Identification of Lossy Y-Type Two-Port Circuit Models under Measurement Uncertainties: Closed-Form Solution and Statistical–Perturbative Characterization. Energies. 2023; 16(16):6037. https://doi.org/10.3390/en16166037

Chicago/Turabian Style

Fiori, Simone, and Cheikh Cisse. 2023. "Identification of Lossy Y-Type Two-Port Circuit Models under Measurement Uncertainties: Closed-Form Solution and Statistical–Perturbative Characterization" Energies 16, no. 16: 6037. https://doi.org/10.3390/en16166037

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop