1 Introduction. Influencing system dynamics. Stability border and indicator. Discussion of \(\tau \)

The considerations are based on the elementary relations \(\lambda _{i}[{\mathbf{A}}^{-1}]=1/\lambda _{i}[{\mathbf{A}}]\) and \(\sum [\lambda _{i}]=\text{tr}[{\mathbf{A}}]\), i.e., the trace of the system matrix in state space.

The term of holistic controller can be renamed in more detail by Trace of inverse matrix method, i.e., as specified in [3, 5],

$$ \tau \stackrel{\bigtriangleup }{=} - \Sigma _{i} (1/\lambda _{i}[{\mathbf{A}}])=- \text{tr}[{\mathbf{A}}^{-1}] ~. $$
(1)

For the closed-loop control system with the output controller \(\mathbf{K}_{y}\) one has

$$ \text{tr}[(\mathbf{A}+\mathbf{B}{\mathbf{K}}_{y}{\mathbf{C}})^{-1}] + \mu \| {\mathbf{K}}_{y} \|_{F} ~\to ~~\min _{\mathbf{K}}~, $$
(2)

where the controller is utilized to approach a change of the control system dynamics. Executing the first derivative with respect to \(\mathbf{K}\) and \(\mathbf{K}_{y}\), for the state controller and for the output controller, one has, Eq. (17) and Eq. (18), respectively, and

$$\begin{aligned} -\mathbf{B}^{T} (\mathbf{A}+\mathbf{B}{\mathbf{K}})^{-2T} + 2 \mu {\mathbf{K}} =& \mathbf{0} \end{aligned}$$
(3)
$$\begin{aligned} -\mathbf{B}^{T} (\mathbf{A}+\mathbf{B}{\mathbf{K}}_{y}{\mathbf{C}})^{-2T} {\mathbf{C}}^{T} + 2 \mu {\mathbf{K}}_{y} =& \mathbf{0}~. \end{aligned}$$
(4)

Holistic controller yields a proposal for the controller design improving the dynamic performance of the control system as far as stability and oscillation properties are concerned. An increment change in the state controller \(\Delta {\mathbf{K}}= -\alpha {\mathbf{B}}^{T} {\mathbf{A}}^{-2T}\) can be performed.

A norm-oriented \(\tau \)-(root)-locus is developed in what follows where the sum of eigenvalues of the \(\mathbf{A}^{-1}\) matrix (not \(\lambda _{i}[{\mathbf{A}}]\)) are balanced versus the controller norm. A norm-limited output controller and the \(\tau \)-assignment is described as well.

The main idea is to use \(\text{tr}[{\mathbf{A}}^{-1}]\) or \(\text{tr}[(\mathbf{A}+\mathbf{B}{\mathbf{K}})^{-1}]\) as a whole, and not the eigenvalues separate, and its gradient versus \(\mathbf{K}\), corresponding to Eq. (17) or Eq. (18).

For stable systems, small (and positive) values of \(\tau = -\text{tr}[{\mathbf{A}}^{-1}]\) are desired for good dynamics, since then the eigenvalues \(\lambda [{\mathbf{A}}]\) are negative big and far in the left. Combining both intentions leads to Eq. (6) which is equated with zero to obtain the extremum, usually the minimum.

Consider two poles at −8 and \(+0.1\), one of them unstable. The resulting \(\tau \) yields a command to shift to the left in the same way as if the pole were at −0.1. This corresponds to \(\tau \to \min \). Consider the shift result to −0.08, \(\tau \) goes from negative high to a negative bigger value but \(\tau \) continues reducing its size. Crossing the origin then \(\tau \) would jump to positive high, the direction would keep all right.

The question is of interest when \(\tau \) is a correct indicator. In the range of correct indicator, it is a simple scalar number, easily to be expressed with syms parameter for the state-space data. Eigenvalues, on the contrary, are always difficult to derive and to manipulate. Trend towards stability or danger is useful and possible even if it is not precise. Anyhow, in engineering systems in many cases one has to investigate additionally the numerical effort or computer-assisted simulation [2]. Well-established stability criteria are useful for checking stability of a given system. However, modifying to use for design facilities, the task of system stability often requires some additional efforts. A similar situation results in this connection.

Consider, e.g., a three-dimensional system \(1/[ (a+jb) (a-jb) c ]\). Then, \(\tau \) is \(2a/(a^{2}+b^{2}) +1/c\) and \(2a/b^{2}+1/c\) for \(a\) small. The stability border is \(a=0\), of course. If parameters of the system are changed in such a way that all the poles move towards the imaginary axis, the stability border is yet reached at \(a=0\) and one has \(\tau = 2a/b^{2}+1/c= 1/c\). Smaller values of \(a\) show instability yet. The \(\tau \)-stability border is yet crossed at \(\tau > 1\), \(\tau =0\) is not the stability border. For \(\tau <~1/c\) the system is unstable all along, one eigenvalue is located in the right half-plane.

Trace of inverse matrix method is a good help to move the design activity towards stability increase or decrease. The correct approach has to be decided with additional considerations of physical or engineering domain. Hence, the result can be outlined as \(\text{``extremum''}\{\text{tr}[{\mathbf{A}}^{-1}]\}\) either max or min in a formula.

2 Norm-oriented and stability-oriented \(\tau \)-locus

Use is made of \(\tau =-\text{tr}[{\mathbf{A}}^{-1}]\) for the definitions of \(\tau \stackrel{\bigtriangleup }{=} [\max~\text{or}~\min ] \{-\text{tr}[ \mathbf{A}^{-1}]\}\) as an equality condition. Selection of a weighting parameter \(\mu \) and the \(\tau \)-locus of corresponding eigenvalues yields an opportunity for valuating stability and control effort. Since \(\tau \) is a replacement only, the advantages and disadvantages have to be rigorously investigated. Intending for \(- \Sigma _{i} ~1/\lambda _{i}[{\mathbf{A}}+\mathbf{B}{\mathbf{K}}]~~\to ~\min _{{ \mathbf{K}}}\) including the norm as a condition, one has

$$ -\text{tr}[(\mathbf{A}+\mathbf{B}{\mathbf{K}})^{-1}] + \mu \| {\mathbf{K}}\|_{F}^{2} ~ \to ~\min _{\mathbf{K}}. $$
(5)

Differentiation \(\frac{\partial }{\partial {\mathbf{K}}}\) providing the minimum, using Eq. (13) and (17), yields

$$ {\mathbf{B}}^{T}(\mathbf{A}+\mathbf{B}{\mathbf{K}})^{-2T} + 2 \mu {\mathbf{K}}=0 $$
(6)

for \(\mu \neq 0\).

Analytical solution is only possible for very low order, with respect to commonly having \(\mathbf{A}\) and \(\mathbf{A}^{T}\) in the same relation. With respect to the power −2, solution is only possible in a numerical way.

The parameter \(\mu \) is a factor in the \(\tau \)-locus, balancing the norm of \(\mathbf{K}\) versus \(\tau \) using their gradients. No single eigenvalues are considered.

The \(\tau \)-locus can also be used to represent the closed-loop eigenvalues \(\lambda _{i}[{\mathbf{A}}_{cl}]\), different from \(\lambda _{i}[{\mathbf{A}}_{cl}^{-1}]\). The \(\tau \)-characteristics as displayed in Fig. 1 are very different from the classical root loci. The characteristic starts at small \(\mu \).

Fig. 1.
figure 1

Example 1 numerically solved. Diamonds indicate the eigenvalues of \(\mathbf{A}\) for the initial setup when starting the ten steps

Example 1

Eq. (6) is solved numerically for an unstable system of order \(n=6\), without executing a neglection and with ten \(\Delta \mu \) steps \(\lambda [{\mathbf{A}}(\mathbf{K},\mu )]\). Figure 1 shows the result while increasing \(\mu \) following the arrows, including a subplot norm of \(\mathbf{K}\) versus \(\mu \); or some alternative measure valuating the control effort for the current application.

To develop the example, having selected the initials for \(\mu \), \(\mathbf{K}\), and \(\mathbf{A}\), find \(\Delta {\mathbf{K}}\propto -\mathbf{B}^{T} {\mathbf{A}}^{-2T}/(2\mu )\), augment \(\mathbf{K}\) with \(\Delta {\mathbf{K}}\), get \(\mathbf{A}:=\mathbf{A}+\mathbf{B}{\mathbf{K}}\) and plot \(\lambda [{\mathbf{A}}]\) for illustration, yielding Fig. 1. □

Repeating the derivation leading to the previous section, now for the special case of output state controller, one finds \(\mathbf{K}_{y}= -\mathbf{B}^{T} (\mathbf{A}+\mathbf{B}{\mathbf{K}}_{y}{\mathbf{C}})^{-2T} { \mathbf{C}}^{T}/(2 \mu )\).

3 Chordal projection

The Trace of inverse matrix method yields the controller in closed-loop state space depending on \(\mu \). Chordal projection operates in frequency domain with scalar transfer functions \(G(s)\) and \(K^{-1}(s)\), not bold face, for \(s=j\omega \) in the open loop. The quality is presented by the chordal stability margin \(b_{GK}\) as the infimum versus \(\omega \) of the chordal distance \(\rho [G,K]=\delta [-K^{-1},G]\). The straight distances between the chordal projections are the chordal distances \(\rho (G,K)\) (see Fig. 2). Their minimum is \(b_{GK}\) and provides the optimum \(\mu \).

Fig. 2.
figure 2

Chordal projection on the Riemann sphere (Example 2)

Example 2

In Fig. 2 the straight line distances between \(G\) and \(K\) are the basis for yielding \(b_{GK}\), where \(\min _{\omega } |G^{-1}| = \max _{\omega }|G|=\| G \|_{\infty }\) was used,

$$ b_{GK} = \left [ 1+\| \frac{G(-s)-K(s)}{1+G(s)K(s)} \|_{\infty }^{2} \right ]^{-1/2} ~. $$
(7)

One tries to guarantee \(b_{GK} > r_{G}\), the chordal uncertainty radius [1, 4]. The chordal projection does not provide a design proposal for the controller. But chordal projection is used to improve the design approximation by \(\tau \) in such a way that \(\mu \) is selected observing \(b_{GK}\) and/or satisfying the chordal uncertainty radius. □

4 Further applications

4.1 \(\tau \)-assignment

Interested in assigning a desired \(\Delta \tau _{e}\), from Eqs. (1) and (18) one finds

$$ \Delta \tau _{e}= -\Delta \text{tr} [{\mathbf{A}}^{-1}]= \text{tr}[{\mathbf{A}}^{-2} {\mathbf{B}}~ \Delta {\mathbf{K}}]~. $$
(8)

Example 3

Defining \(\mathbf{A}^{-2}\stackrel{\bigtriangleup }{=}[f_{i,k}]\), \({\mathbf{B}}=(0~~1)^{T}\), a multitude of solutions exists. Choosing the Frobenius norm \(\| \Delta {\mathbf{K}}\|_{F} \stackrel{\bigtriangleup }{=} \| (k_{1},~k_{2}) \|_{F} \to \min \), one has \(k_{1;2}= f_{2;4} \Delta \tau _{e}/(f_{2}^{2}+f_{4}^{2})\), denoted as Example 3. □

4.2 Advantageous diagnosis with uncertainty walk

Useful diagnosis can be obtained by using the \(\tau \)-method. Consider, e.g., a continuous-time system of \(n\)-th order with \(n\) parameters and distinct eigenvalues in the nominal case. Including uncertainties of the parameters at a specific closed cyclic (spherical) boundary, each eigenvalue moves along a closed route when displayed in the complex plane. This route is termed uncertainty walk. The uncertainty walks are different as far as the approximation to the instability border is concerned, or where the best opportunity exists for improving the performance quality.

Example 4

Using the \(\tau \)-method, the \(n\) eigenvalues can be replaced roughly by \(\tau \)-values. The question arises and can be affirmed in many cases, if the \(\tau \)-value can be used to roughly replace the \(n\) uncertainty routes by a single route of the \(\tau \)-value, or if at least a first diagnosis can be stated. In this example, these properties are displayed and illustrated in a 3D-plot (Fig. 3) or in an unwrapped display (Fig. 4). □

Fig. 3.
figure 3

On top: uncertainty walk \(\tau \), middle: complex plane, bottom: the most dangerous \(\lambda _{iW}[{\mathbf{A}}]\) (Example 4)

Fig. 4.
figure 4

Ten steps along the uncertainty walk unwrapped (Example 4)

4.3 Numerical coefficients and pseudo inverse

As a final application, consider a desired change in some dominant eigenvalues in magnitude \(d\), which has to be performed by changes \(\Delta {\mathbf{K}}\) of the state controller \(\mathbf{K}\), see Eq. (9) and Eq. (11).

Using multiple differentiation with respect to \(s\) yields the coefficients of powers of \(s\) to compare the given and desired increments of some dominant eigenvalues with the unknown changes in the controller parameters.

If you were handicapped by numbers of 20 and more, you can start with comparison of replacing powers of \(s\) by any numerical numbers of adequate height. Selecting small changes of eigenvalue increments and controller parameter increments you can use the Taylor expansion of the determinant. In Eq. (16) you simply use more comparisons of coefficients than necessary and you directly obtain the coefficients for the left pseudo-inverse matrix \(\mathbf{M}^{\sharp L}\).

The incremental eigenvalue assignment adaptation is explained with a simple example. This, of course, is classical eigenvalue assignment, only Taylor expansion is unusual. Consider the system, e.g., with closed-loop equation

$$\begin{aligned} &(s+g)[(s+0.1)^{2}+9] - (s+g) \\ &\quad{} \times[(s+0.1 +j3 +0.05+j0.1)(s+0.1-j3 +0.05 -j0.1) +9] ~. \end{aligned}$$
(9)

You want to change the conjugate complex pole pair at e.g. \(-1 \pm j3\), such that it is moved to the left and towards the negative real axis with a quantity \(d=-0.05 \pm j~0.1\). This change increment has to be provided by Eq. (16)

$$\begin{aligned} &(s-f_{1})(s-f_{2})(s-f_{3})-(s-f_{1})(s-f_{2}-d)(s-f_{3}-conj (d) ) \end{aligned}$$
(10)
$$\begin{aligned} & \stackrel{\bigtriangleup }{=}\det (s\mathbf{I}-\mathbf{A}-\mathbf{B}{\mathbf{K}}) - \det (s\mathbf{I}-\mathbf{A}-\mathbf{B}{\mathbf{K}}-\mathbf{B}\Delta {\mathbf{K}}) \end{aligned}$$
(11)
$$\begin{aligned} & \stackrel{\text{(16)}}{=} \underbrace{(\mathbf{col}[(s\mathbf{I}-\mathbf{A}-\mathbf{B}{\mathbf{K}})^{-1} ]^{T} \det (s\mathbf{I}-\mathbf{A}-\mathbf{B}{\mathbf{K}})}_{[aa]} \cdot \underbrace{\mathbf{col}(\mathbf{B}\Delta {\mathbf{K}})}_{[bb]} ~. \end{aligned}$$
(12)

Use is made first by deriving the coefficients of the powers of \(s\) by successive differentiation with respect to \(s\), and second by stating the equations resulting from Eq. (10) equal to Eq. (12). Yielding G1, G2, G3 etc., and MATLAB \(S=solve\)(‘\(G1\)’,  ‘\(G2\)’, ‘\(G3\)’ etc. ‘\(\Delta K1\)’, ‘\(\Delta K2\)’, ‘\(\Delta K3\)’  etc.), the unknowns \(\Delta Ki\) are found. For small \(\Delta {\mathbf{K}}\) the determinant is Taylor expanded in Eq. (16) using the adjoint. The set of equations Eq. (9) until Eq. (12) can be read for matrix variables \(\mathbf{B}\Delta {\mathbf{K}}\) and for vector variable \(\Delta K\).

If the comparison of the factors is performed by replacing \(s\) by numerical values, there should be used more than three numerical values inserted. This is useful for applying pseudo inverse matrix.

In Line 10 substituting \(s\) by a numerical value produces a vector \(\mathbf{r}\in {\mathcal{R}}^{q \times 1}\). In Line 12 the underbraced expression [aa] delivers a row \(\mathbf{m}\in {\mathcal{R}}^{1 \times 3}\) and \(q\) times inserted a matrix \(\mathbf{M}\in {\mathcal{R}}^{q \times 3}\). [bb] delivers a vector \(\mathbf{v}\in {\mathcal{R}}^{3 \times 1}\). Thus we have \(\mathbf{r}=\mathbf{M}{\mathbf{v}}\) which is usually overdetermined with respect to numerical uncertainties. Solving for the given data \(\mathbf{r}\) and \(\mathbf{M}\), one finds the unknown \(\mathbf{v}=(\mathbf{M}^{T}~{\mathbf{M}})^{-1}{\mathbf{M}}^{T} {\mathbf{r}}=\mathbf{M}^{ \sharp L} {\mathbf{r}}\).

5 Conclusion

Changing the set of inverse eigenvalues \(\lambda _{i}[{\mathbf{A}}^{-1}]\) to \(\tau \), the trace of the inverse, is a strong simplification with disadvantages and advantages. The latter is the opportunity of algebraic representation with syms variables, with an indicator for a simple setup. It has been discussed if this change is worth while. The item is how \(\tau \) can substitute the eigenvalues and which advantages and problems arise.

The incremental small step eigenvalue assignment and its determinant Taylor expansion, not only for powers of \(s\) but for numerical values, directly provides coefficients for the pseudo inverse matrix. The \(\tau \)-locus with the parameter \(\mu \) valuates the magnitude of the controller norm for the purpose of direct control system design. Thedesign result is also valuated by the stability margin of the chordal projection method.

In the case of uncertainty walk, the \(\tau \)-method provides a replacement of \(\lambda _{i}\) by \(\tau \).