Multivariable Control Systems
Ali Karimpour Professor Ferdowsi University of Mashhad
Lecture 3
References are appeared in the last slide.
2
Topics to be covered include:
v
Multivariable Connections
v
Multivariable System Representation
v Polynomial Matrix Description & Rosenbrock’s System Matrix
v General Control Problem Formulation
v Matrix Fraction Description (MFD)
v
Multivariable Connections
3
• Cascade (series) interconnection of transfer matrices
• Parallel interconnection of transfer matrices
)
1(s
G G2(s) )
(s
U Y(s)
)
1(s G
)
2(s G )
(s U
+ +
) (s Y
) ( ) ( )
( ) ( ) ( )
(s G2 s G1 s U s G s U s
Y = =
) ( ) ( )
( )) ( )
( ( )
(s G1 s G2 s U s G s U s
Y = + =
) ( ) ( )
(s G2 s G1 s
G = G1(s)G2(s)
Generally
) ( )
( )
(s G1 s G2 s
G = +
4
• Feedback interconnection of transfer matrices
)
1(s
G G2(s)
) (s ) Y
(s
U +
− Y(s) = G2(s)G1(s)
(
U(s)−Y(s))
) ( ) ( )
( ) ( ) ( ))
( ) ( (
)
(s I G2 s G1 s 1G2 s G1 s U s G s U s
Y = + − =
) ( ) ( ))
( ) ( (
)
(s I G2 s G1 s 1G2 s G1 s
G = + −
A useful relation in multivariable is push-through rule
1 2
1 2
2 1 1
2( ) ( )) ( ) ( )( ( ) ( ))
(I +G s G s − G s = G s I +G s G s − Exercise 3-1: Proof the push-through rule
5
MIMO rule: To derive the output of a MIMO system,
Start from the output and write down the blocks as you meet them when moving backward (against the signal flow) towards the input.
(
I − L)
−1(
I + L)
−1If you exit from a feedback loop then include a term
or according to the feedback sign where L is the transfer function around that loop (evaluated against the signal flow starting at the point of exit from the loop).
Parallel branches should be treated independently and their
contributions added together.
6
Example 3-1: Derive the transfer function of the system shown in figure
(
21)
1 22
12
11 P K(I P K) P P
z = + − −
11 P z =
21
1 22
12K(I P K) P P
z = − −
7
Topics to be covered include:
v
Multivariable Connections
v
Multivariable System Representation
v Polynomial Matrix Description & Rosenbrock’s System Matrix
v General Control Problem Formulation
v Matrix Fraction Description (MFD)
8
General form of a polynomial matrix description
System Variables System Inputs
System Outputs
Rosenbrock’s system matrix
9
Example 3-2: A position control system.
=
=
+
− +
) (
) 0 (
1 ) (
) 1 (
0 )
( ) (
2 2
t i t t
y
t t e
i t dt R
L d dt
K d
dt K f d dt
J d
a
a a
a a
b
)
(t
) (t u
dt P d
10
=
=
+
− +
) (
) 0 (
1 ) (
) 1 (
0 )
( ) (
2 2
t i t t
y
t t e
i t dt R
L d dt
K d
dt K f d dt
J d
a
a a
a a
b
)
(t
) (t u
Polynomial matrix description
−
=
−
−
+
− +
) ( 0 0
) (
) (
) (
0 0
1
1
2 0
s Y s
E s I
s R
s L s
K
K fs
Js
a a a
a b
Rosenbrock’s system matrix
11
Rosenbrock’s system matrix
( ( ) ( ) ( ) ( ) ) ( )
)
( s R s P
1s Q s W s U s
Y =
−+
) ( )
( ) ( )
( )
( s R s P
1s Q s W s
G =
−+
Suppose P is nonsingular.
12
System order is the number of independent initial condition that is necessary to describe the system.
System order in Rosenbrock’s system matrix is equal to degree of det(P(s)).
−
=
−
−
+
− +
) ( 0 0
) (
) (
) (
0 0
1
1
2 0
s Y s
E s I
s R
s L s
K
K fs
Js
a a a
a b
For previous example:
System order is 3 and P(s) is 2×2
s KK R
s L fs Js
s
P( ) = ( 2 + )( a + a)+ b
13
Remark2: G(s) is strictly proper if D=0 otherwise it is proper.
= −
−
−
−
) ( 0 )
( ) (
s Y s
U s X D
C
B A
sI Du
Cx y
Bu Ax
x
+
=
+
=
D B
A sI
C s
G( ) = ( − )−1 +
Remark1: (sI-A) is n×n and also system order is n. But generally dimension of P(s) in Rosenbrok’s system matrix is not the same as system order.(See previous example)
14
Example(Two important remarks)
) ( ) 2
( ) ( )
(
) ( )
( ) 1
( 2 3
s U s s
s Y
s U s s
s
− +
=
= +
2 2
3 1
) 1 (
2 2 3
) 1 ) (
( )
( ) ( )
( )
( +
= +
− + +
= +
= −
s s s
s s s
W s
Q s P
s R s
G
Remark1: G(s) is strictly proper but W(s)=2-s !
= −
−
−
− +
) ( 0 )
( ) ( 2
1 ) 1
( 2 3
s Y s
U s s
s
s
−
=
−
−
− +
) ( 0 0 )
( ) (
) ( 2
1 0
) 1 (
0
0 0
1
3 2
s Y s
U s s s
s
s
Remark 2: Another form of Resenbrock’s system matrix.
15
Topics to be covered include:
v
Multivariable Connections
v
Multivariable System Representation
v Polynomial Matrix Description & Rosenbrock’s System Matrix
v General Control Problem Formulation
v Matrix Fraction Description (MFD)
16
𝑤 exogenous inputs: Inputs that are not used to control the system. i.e. references, disturbances, noises
𝑧 exogenous outputs: Outputs that we want to control them and push them to zero.
𝑢 control signals: Signals that produced by controller to control the system.
𝑣 sensed outputs: Signals that used by controller.
Problem description: Derive K(s) such that closed loop system be stable and 𝑧 be as small as possible for bounded 𝑤.
17
closed loop system be stable and 𝑧 be as small as possible for bounded 𝑤.
=
u w P
P
P z P
22 21
12 11
K u =
(
P P K I P K P)
w Nwz = 11 + 12 ( − 22 )−1 21 =
Problem description: Make N stable and as small as possible.
) , (P K F
N = l
18
𝑤 = 𝑟 𝑑 𝑛
𝑧 = 𝑟 − 𝑦
𝑣 = 𝑟 − 𝑦 − 𝑛 𝑢
𝐼 − 𝐺𝑑 𝑠 0 − 𝐺(𝑠)
control problem formulation. 𝑟 𝐾(𝑠) 𝐺(𝑠) 𝑦
𝑛
+ + +
+ +
−
𝑢
𝐼 − 𝐺𝑑 𝑠 − 𝐼 − 𝐺(𝑠) z =
(
P + P K I −P K − P21)
w = Nw1 22
12
11 ( )
𝑧 = 𝐼 − 𝐺𝑑 𝑠 0 − 𝐺 𝑠 𝐾(𝑠) 𝐼 + 𝐺 𝑠 𝐾(𝑠) −1 𝐼 − 𝐺𝑑 𝑠 − 𝐼
𝑟 𝑑 𝑛
𝑧 = 𝐼 + 𝐺 𝑠 𝐾(𝑠) −1 −𝐺𝑑(𝑠) 𝐼 + 𝐺 𝑠 𝐾(𝑠) −1 𝐺 𝑠 𝐾(𝑠) 𝐼 + 𝐺 𝑠 𝐾(𝑠) −1 𝑟 𝑑 𝑛
19
Topics to be covered include:
v
Multivariable Connections
v
Multivariable System Representation
v Polynomial Matrix Description & Rosenbrock’s System Matrix
v General Control Problem Formulation
v Matrix Fraction Description (MFD)
20
function transfer
SISO
a is 6 ) 5
(
Let
2+
= +
s s s
g
( 1 ) ( 2 5 6 ) 1
) ( can write
We g s = s + s + s +
−polynomial polynomial
This is a Right Matrix Fraction Description (RMFD)
( 5 6 ) ( 1 )
) ( write also
can
We g s = s
2+ s +
−1s +
polynomial polynomial
This is a Left Matrix Fraction Description (LMFD)
Remark: Are LMFD and RMFD the same for any system?
21
function transfer
SISO an
is 6 ) 5
(
Let
2+
= +
s s s
g
( 1 ) ( 2 5 6 ) 1
) ( can write
We g s = s + s + s +
−polynomial polynomial
This is a Right Matrix Fraction Description (RMFD)
polynomial polynomial
This is a also a Right Matrix Fraction Description (RMFD)
Remark: Uniqueness of MFD?
( ( 1 )( ) ) ( ( )(
25 6 ) ) 1
) ( write also
can
We g s = s + s + a s + a s + s +
−22
Matrix Fraction Description for Transfer Function Matrix
polynomial matrix
polynomial matrix
Left Matrix Fraction Description (LMFD)
) ) (
( ) 1
(
G N s
s
s = d
G is a pq matrix( ( ) ) ( ) ( ) ( )
) (
G s = d s I
p −1N s = D
L−1s N
Ls
polynomial matrix
polynomial matrix
( ( ) ) ( ) ( )
) ( )
(
G s = N s d s I
q −1= N
Rs D
R−1s
Right Matrix Fraction Description (RMFD)23
Matrix Fraction Description for Transfer Matrix
) ) (
( ) 1
(
G N s
s
s = d
Suppose G is a pq matrix soLeft Matrix Fraction Description (LMFD)
( ( ) ) ( ) ( ) ( )
) (
G s = d s I
p −1N s = D
L−1s N
Ls
( ( ) ) ( ) ( )
) ( )
(
G s = N s d s I
q −1= N
Rs D
R−1s
Right Matrix Fraction Description (RMFD)Degree of denominator matrix is defined as: deg DL(s) = deg det DL(s) = rp
Degree of denominator matrix is defined as: deg DR(s) = deg det DR (s) = rq
24
We can show that the MFD is not unique, because, for any nonsingular m
m matrix we can write G(s) as:(s)
(
( ) ( ) 1)
1( )(
( ) ( ))(
( ) ( ))
1) ( )
(s = N s s s − D− s = N s s D s s −
G R R R R
is said to be a right common factor.
)
(s
When the only right common factors of and is unimodular matrix, then, we say that the RMFD is irreducible.
) (s
NR DR(s)
(NR(s),DR(s))
25
If DL(s) and NL(s) are not irreducible, find irreducible one.
Checking irreducibility(left common factor):
Form:
Do preliminary transformation(on columns) to make right part zero:
1) Add -C2 on C4
− +
−
0 1 1
1
0 1 1
1
s 2) Add -C1 on C3
3) Add C1 on C2 4) Add 0.5(s+2)C3 on C2 5) Change C3 and C2
= −
2 1
0 ) 1
( : is factor
Common Q s
− +
−
0 2 1
1
0 0 1
1 s
−
+2 2 0 1
0 0 0
1
s
−2 0 0
1
0 0 0 1
−2 0 0 1
0 0 0 1
Since Q(s) is unimodular so DL(s) and NL(s) are irreducible.
26
If DL(s) and NL(s) are not
irreducible, find irreducible one.
Checking irreducibility(left common factor):
Form:
Do preliminary transformation(on columns) to make right part zero:
+ +
+
− +
+
= −
= −
2 2
2 ) 2
( ) ( )
( 1
s s
s s s
s s
s s s s
N s D s
G L L
+
− +
+
+
−
= +
2 2
2 ) 2
( )
(
2 2
s s
s s
s s s s
s s s
D s
NL L
1) Add -C2 on C4
− +
+
− +
0 2 2
2
2 0
s s
s
s s
s
s 2) Add C1 on C3
+ +
+
0 2
2 2
0
2 0
s s
s
s s s
3) Add –(s+1)C1 on C2
+
−
+ 2 ( 2) 2 0 0 0 0
s s
s s
s
4) Add 0.5(s+2)C3 on C2
+2 0 2 0 0 0 0
s s
s
Dr. Ali Karimpour Feb 2022
27
If DL(s) and NL(s) are not
irreducible, find irreducible one.
Checking irreducibility (left common factor):
+ +
+
− +
+
= −
= −
2 2
2 ) 2
( ) ( )
( 1
s s
s s s
s s
s s s s
N s D s
G L L
+
− +
+
+
−
= +
2 2
2 ) 2
( )
(
2 2
s s
s s
s s s s
s s s
D s
NL L
1) Add -C2 on C4 2) Add C1 on C3 3) Add –(s+1)C1 on C2 4) Add 0.5(s+2)C3 on C2
+2 0 2 0 0 0 0
s s
s
5) Change C3 and C2
+2 2 0 0 0 0 0
s s
s
= +
s s
s s
Q 2 2
) 0 ( : is factor Common
Why this procedure leads to ….?
28
Let:
By suitable preliminary transformation :
N
L( s ) D
L( s ) → Q ( s ) 0
q p is G s
N s D s
G( ) = L−1( ) L( )
We must show that Q(s) is the greatest left common devisor.
NL(s) DL(s)
U(s) =
Q(s) 0
N
L( s ) D
L( s ) = Q ( s ) 0 U
−1( s )
Since U is unimodular so its inverse is also unimodular thus
=
− =
) ( )
(
) ( )
) ( ( )
(
22 21
12 1 11
s V s
V
s V s
s V V s
U
So we have
) ( )
( )
( )
( )
( )
( s Q s V
11s D s Q s V
12s
N
L=
L=
29
) ( )
( )
( )
( )
( )
( s Q s V
11s D s Q s V
12s
N
L=
L=
Clearly Q(s) is a left common divisor but why greatest common divisor?
) ( )
( )
( )
( )
(s U11 s D s U21 s Q s
NL + L =
Let W(s) is another left common divisor so:
) ( )
( )
( )
( )
( )
( )
( s N s U
11s W s D s U
21s Q s
W
L+
L=
So W(s) is a left common divisor of Q(s), → Q(s) is gcd.
NL(s) DL(s)
U(s) =
Q(s) 0
Now let:
=
) ( )
(
) ( )
) ( (
22 21
12 11
s U s
U
s U s
s U U
30
Theorem 1:
DL(s) and NL(s) are left coprime (irreducible) if and only if there exist two polynomial matrix XL(s) and YL(s) such that followingequation satisfied.
I s
Y s D s
X s
N
L( )
L( ) +
L( )
L( ) =
This equation is called simple Bezout identity.
Example 3-6: Let NL(s)=s+2 and DL(s)=s2+5s+6, are they left coprime?
One cannot derive X(s) and Y(s) s.t. NL(s)X(s)+DL(s)Y(s)=1 Example 3-7: Let NL(s)=s+1 and DL(s)=s2+5s+6, are they left coprime?
Let X(s)=-s-2 and Y(s)=0.5 s.t. N (s)X(s)+D (s)Y(s)=1
Example 3-8: Let N(s)=2s and DL(s)=2s2+10s+2, are they left coprime?
31
Are they coprime?
N
L( s ) D
L( s ) → Q ( s ) 0
q p is G s
N s D
s
G( ) = L−1( ) L( )
Bezout identity:
q p p
p
I s
Y s D s
X s
N
L( )
L( ) +
L( )
L( ) =
N
L( s ) D
L( s ) U ( s ) = Q ( s ) 0
Are they coprime?
→
0 ) ( )
( )
( Q s
s D
s N
R R
q p is G s
D s N s
G( ) = R( ) R−1( )
Bezout identity:
q q q
p
I s
D s Y s
N s
X
R( )
R( ) +
R( )
R( ) =
=
0 ) ( )
( ) ) (
( Q s
s D
s s N
V
R R
NL(s) DL(s)
Ul(S)=
I 0
=
0 )
( ) ) (
( I
s D
s s N
V
R R r
If Q(s) is unimodular
If Q(s) is unimodular
32
Now let P be a proper real-rational matrix. A right-coprime factorization (rcf) of P is a factorization of the form
Similarly, a left-coprime factorization (lcf) of P has the form N
M
P ~ −1 ~
=
where N and M are right-coprime in the set of stable transfer matrices.
−1
= NM P
Coprime Factorizations over Stable Transfer Functions
2 2
1 1
2 3 3
1 2 2
2 2
2 2 1
3 2 3
2 3 1
=
=
+
=
+
=
+
= +
+
y y
dt u d
dt u d
dt d dt
d dt
d
33
Exercise 3-2: Derive Rosenbrock’s system matrix for following system. What is the order of system?
1 1 2
3 1 2 3 1
=
+
−
=
−
= +
y dt u d
dt d dt
d
Exercise 3-3: Derive Rosenbrock’s system matrix for following system. What is the order of system?
34
following system.
b) Check the irreducibility of derived MFD in part “a”
c) Derive an irreducible MFD for the system.
+ +
−+ +
=
2 2 2
) 2 (
2
) 2 (
) 1 ) (
(
s s s
s
s s s
G
Exercise 3-6: Derive an irreducible RMFD for following system.
+
=
2 1 2 0 )
(
s s s s
G
Exercise 3-7: Derive general control problem formulation for following system and derive N.(we need y track r)
𝐺(𝑠) 𝑟 𝐾(𝑠)
𝑑 𝑦
𝑛
+ + +
+ +
−
ℎ(𝑠) 𝑢
35
Web References
• http://karimpor.profcms.um.ac.ir/index.php/courses/9319
• Multivariable Feedback Control, S. Skogestad, I. Postlethwaite, Wiley,2005.
• Multivariable Feedback Design, J M Maciejowski, Wesley,1989.
قیدص یکاخ یلع رتکد ،هریغتم دنچ یاه متسیس یحارط و لیلحت •
مواقم لرتنک •
𝐻∞ گسا ینامز انیرف و یحتف دمحم ،دار یقت اضر دیمح رتکد ،
ییو