RTII Vorlesung 8 19.04.2016 1 MIMO systems Effects (signals) Causes (signals) ๐ข1 ๐ข2 ๐ข๐ ๐ฅ ∈ โ๐ MIMO system ๐ฆ1 ๐ฆ2 ๐ฆ๐ Most MIMO systems that we analyze are 2 × 2 systems. Almost all are square. 2 c 3 4 5 Definition of MIMO transfer functions Loop gain: ๐ฟ๐ข ๐ = ๐ถ ๐ ⋅ ๐ ๐ Loop gain: ๐ฟ๐ ๐ = ๐ ๐ ⋅ ๐ถ ๐ Return difference: ๐ท๐ ๐ = ๐ผ + ๐ฟ๐ (๐ ) Sensitivity: ๐๐ ๐ = ๐ผ + ๐ฟ๐ ๐ Complementary sensitivity: −1 ๐๐ s = ๐ผ + ๐ฟ๐ ๐ ⋅ ๐ฟ๐ (s) with ๐๐ s + ๐๐ s = ๐ผ ๐×๐ −1 Return difference: ๐ท๐ข ๐ = ๐ผ + ๐ฟ๐ข (๐ ) Sensitivity: ๐๐ข ๐ = ๐ผ + ๐ฟ๐ข ๐ −1 Complementary sensitivity: −1 ๐๐ข s = ๐ผ + ๐ฟ๐ข ๐ ⋅ ๐ฟ๐ข (s) with ๐๐ข s + ๐๐ข s = ๐ผ ๐×๐ 6 ๐ง c 7 Vorlesung 8 Thema Singulärwerte Lernziele ๏ฑ ๏ฑ ๏ฑ Sie können die Pole und Nullstellen eines MIMO Systems berechnen. Sie können die RGA Matrix berechnen (von Hand 2 × 2) und korrekt interpretieren. Sie können die Singulärwerte einer komplexen Matrix berechnen und daraus Eigenschaften der Matrix ablesen. Skript: Kapitel 2 Ablauf Für nächste Woche: Kapitel 3 15’ Recap 15’ Pole und Nullstellen 30’ RGA Matrix 30’ Singulärwertzerlegung Vorlesungsplan 23.02. 01.03. 08.03. 15.03. Lektion Lektion Lektion Lektion SISO Reglersynthese 1 – Loop shaping II 2 – Prüfungsnachbesprechung 3 – Robuste Regelgüte, Prädiktive Regelung 4 – Kaskadierte Regelung, Ball on Wheel (BoW) Reglerimplementation 22.03. 05.04. Lektion 5 – Echter PID, Gain scheduling, Anti-reset windup Lektion 6 – Emulation, z-Operator, Aliasing 12.04 19.04. 26.04. MIMO Systemanalyse Lektion 7 – MIMO Einführung Lektion 8 – Singulärwerte Lektion 9 – Frequenzgang MIMO Reglersynthese 03.05. 10.05. 17.05. 24.05. 31.05. Lektion 10 – Zustandsrückführung (LQR), BoW Lektion 11 – Finite horizon LQR, Model Predictive Control (MPC) Lektion 12 – Zustandsbeobachter Lektion 13 – Ausgangsrückführung (LQG, LTR) Lektion 14 – Fallstudien, Prüfungsvorbereitung 9 Recap: poles and zeros of SISO systems Poles: ๐ ๐ =๐ →∞ ๏ e๐⋅๐ก describes the natural dynamics of the system, i.e., it describes how the system evolves when the input is zero. ๏ e๐⋅๐ก describes the zero dynamics of the system, i.e., when the system is driven by the input to evolve according the e๐⋅๐ก , the output is zero. Zeros: ๐ ๐ =๐ =0 10 Matrix minors Matrix minors are the determinants of all square submatrices that can be formed from ๐(๐ ). Die Minoren sind die Determinanten aller quadratischen Untermatrizen der Matrix ๐(๐ ). ๐= ๐ ๐ ๐ ๐ ๐ ๐ A maximum minor is a minor that is formed using a submatrix with the largest possible dimension. For square matrices ๐(๐ ), obviously, the only maximum minor corresponds to the matrix determinant itself. 11 Poles The poles of ๐(๐ ) are the roots of the least common denominator of all minors of ๐(๐ ). Die Pole von P(s) sind die Nullstellen des kleinsten gemeinsamen Nenners aller Minoren von ๐ ๐ . Example: 12 Zeros The zeros of ๐(๐ ) are the roots of the greatest common divisor of the numerators of the maximum minors of ๐(๐ ) after normalization to have the pole polynomial of ๐(๐ ) as denominators. Die Nullstellen von ๐(๐ ) sind die Nullstellen des grössten gemeinsamen Teilers aller maximalen Minoren, nachdem diese normiert wurden, so dass sie das Polpolynom von ๐(๐ ) als Nenner haben. Example continued: 13 Zero/pole cancellations In MIMO systems, poles and zeros are associated with directions. Zero/pole cancellations only take place when the frequencies and the directions coincide. 14 Relative gain array Heat exchanger System representation SISO vs. MIMO Cross couplings 15 RGA example 16 RGA example ๐21 1 + ๐ถ21 ๐12 − ๐22 ๐ถ21 ๐11 ๐ฆ2 = ⋅ ๐ข1 1 + ๐ถ21 ๐12 17 RGA computation For square matrices, the RGA can be computed by Matlab: RGA = P .* inv(P).’ For general, non-square matrices, the RGA can be computed using the pseudoinverse (careful: the function pinv can not be applied to transfer functions, but only to complex matrices) Matlab: RGA = P .* pinv(P).’ The results is a matrix of transfer functions (or many frequency response matrices), which can be analyzed in a bode diagram. 18 RGA interpretation 1. An input-output paring such that the diagonal elements of the RGA matrix are close to one is preferable since this paring is related with a diagonal dominant plant. 2. Avoid input-output parings which generate diagonal negative elements on the RGA matrix with ๐ = 0. This condition is closely related to systems with lack of integrity; i.e., a system which cannot maintain stability if one of the diagonal closed loops is open. 3. High positive values in the diagonal elements of the RGA matrix indicate difficulty for designing diagonal controllers. Look at SISO control possible iff ๐ ๐บ๐ด(๐ = 0) Diagonal entries positive Bode diagram with |๐ ๐บ๐ด1,1 | and ๐ ๐บ๐ด1,2 RGA similar to identity around crossover frequency ๐๐ 19 RGA example: heat exchanger ๐ = 100 W m2 ⋅K ๐ ๐บ๐ด 0 = 1.0076 −0.0076 ๐ = 10′ 000 −0.0076 1.0076 ๐ ๐บ๐ด 0 = W m2 ⋅K 5.5244 −4.5244 −4.5244 5.5244 20 Additional information • The columns and the rows of ๐ ๐บ๐ด(๐ ) always add up to 1. • The RGA is invariant with respect to scaling, i.e., for any regular diagonal matrices ๐ท๐ the equation ๐ ๐บ๐ด[๐(๐ )] = ๐ ๐บ๐ด[๐ท1 · ๐(๐ ) · ๐ท2 ] holds true. • The RGA of a triangular matrix ๐(๐ ) is the identity matrix. • If the diagonal entries are small, but the off-diagonal entries are similar to 1, SISO control may still be used, but the inputs and outputs need to be paired differently. 21 Singular value decomposition Induced matrix norm ๐ = ๐ ⋅ Σ ⋅ ๐๐ เดฅ๐ ⋅ ๐ ๐ Effective matrix rank 22 Singular value decomposition (SVD) Any matrix ๐ ∈ โ๐×๐ can be written using a singular value decomposition Where ๐ ∈ โ๐×๐ and ๐ ∈ โ๐×๐ are unitary matrices, i.e., and Σ ∈ โ๐×๐ is a matrix with at most min(๐, ๐) nonzero entries on its diagonal. 23 The induced matrix norm The starting point is the linear transformation where we can define an induced norm of the matrix ๐ as the maximum amplification from an input vector ๐ข to output vector ๐ฆ When the norm of the vectors is the Euclidean norm ๐ฅ = ๐ฅ ๐ ⋅ ๐ฅ, then the induced norm is given by where ๐๐ (๐) are the singular values of the matrix ๐. 24 Graphical interpretation ๐๐ ⋅ ๐ = ๐ = ๐ ⋅ Σ ⋅ ๐๐ = −0.55 −0.83 3.94 −1.37 −1.37 1.01 0 −0.93 −0.83 2.12 ⋅ ⋅ 0 0.68 −0.36 0.55 0.36 −0.93 25 Singular values vs. eigenvalues 26 Singular values of complex matrices The generalization to the complex case ๐ ∈ โ๐×๐ is not difficult. First we need to define the Euclidean norm for complex vectors i.e., ๐ฃ = ๐ฃาง ๐ ⋅ ๐ฃ. The induced matrix norm is then defined as 27