Professional Documents
Culture Documents
Mimo 02
Mimo 02
Some instructions
This Part-02 is in four different sessions
Complete the sessions ONLY one at a time..
Please do not try to attempt all four sessions in one sitting
Ideally, you should keep aside an hour and half, to go
through one session…
You may need two hours for every session if you do all hand
calculations while going through the slides….
Once you are through all four sessions….go through a
TextBook and solve the problems for similar cases….
MIMO-02
Part-I
Dealing with MIMO systems
In this session we will learn……
To quantify the interaction between different loops
(m1 ) OR (m2)
Pairing of Variables
Relative Gain….
Relative gain
C
i
M
j M open
loop
gain
ij
C closed
loop
gain
i
M
j C
• M means all the M’s are kept constant except Mj.
C
(
1s
)K
1M
1(
1s
)KM
12
2(
s)
The Kij 's are Steady State gains
C
(
2s
)KM
(
21
1s
)KM
22
2(
s)
C1
K11 When there is no change in m2 i.e. Dm2= 0
M 1 M 2
C1
? When there is no change in C2 i.e. DC2= 0
M 1 C 2
or the second loop in in perfect controlled state
For the mixer case
𝑚1 𝑇 1 +𝑚2 𝑇 2
𝑇 =𝐶 2=
𝑚1 +𝑚2
𝜕 𝐶1 𝜕𝑚 𝑑 ( 𝑤h𝑒𝑛𝑚2=𝑐𝑜𝑛𝑠𝑡𝑎𝑛𝑡)
𝐾 11 = = =
𝜕 𝑚1 𝜕 𝑚1 𝜕 𝑚 1
( 𝑚1+𝑚 2 )=1
𝜕 𝐶1 𝜕𝑚 𝑑
𝐾 12= = =
𝜕 𝑚2 𝜕 𝑚2 𝜕𝑚 2
( 𝑚1 +𝑚2 )=1 ( 𝑤h𝑒𝑛𝑚1=𝑐𝑜𝑛𝑠𝑡𝑎𝑛𝑡 )
Derive the expressions for K21 and K22 before moving on….
For the mixer case
𝜕𝑚 𝜕 𝐶1 𝑑 ( 𝑤h𝑒𝑛𝑚2=𝑐𝑜𝑛𝑠𝑡𝑎𝑛𝑡)
𝐾 11 = = = ( 𝑚1 +𝑚2 )=1
𝜕 𝑚1 𝜕 𝑚1 𝜕 𝑚1
𝜕𝑚 𝜕 𝐶1 𝑑
𝐾 12 = = =
𝜕 𝑚 2 𝜕 𝑚2 𝜕 𝑚2
( 𝑚1 +𝑚2 ) =1 ( 𝑤h𝑒𝑛𝑚1=𝑐𝑜𝑛𝑠𝑡𝑎𝑛𝑡 )
)=
)= -
If the values of T1, T2, m1 and m2, at steady state, are plugged in….
𝐾 11 𝐾 12 1 1
𝐾 21 𝐾 22
= 0.0245 −0.612
For the mixer case
The steady state effect of changes in manipulated variables can be estimated using
[ ]
∆ 𝐶1
∆ 𝑚1 𝑚 2=𝑐𝑜𝑛𝑠𝑎𝑛𝑡
=𝐾 11 When = 0
?????
When = 0
Find the expression for the second case, before going further……
Continued…..
[
∆ 𝑐 1= 𝐾 11 − 𝐾 12
𝐾 21
𝐾 22]∆ 𝑚1
𝜕 𝐶1 ∆ 𝑚 𝐾 11 𝐾 22 − 𝐾 12 𝐾 21
= = When C2 is constant; i.e. No change in C2
𝜕 𝑚 1 ∆𝑚 1 𝐾 22
=
Significance of relative gain
𝜆11 =
[ ∆ 𝐶1
∆ 𝑚1 ] 𝑚 2= 𝑐𝑜𝑛𝑠𝑡𝑎𝑛𝑡
[ ∆ 𝐶1
∆ 𝑚1 ] 𝑐 2= 𝑐𝑜𝑛𝑠𝑡𝑎𝑛𝑡
The numerator indicates effect of m1 on C1 when all other control loops are open
The denominator indicates effect of m1 on C1 when all other control loops are closed
If the value is 1……. the pairing of C1 with m1 is perfect
If the value is 0…
Because you are trying to operate the system with completely unrelated variables..
Find the relative gains of other pairs
= 𝜆12 =
[ ∆ 𝐶1
∆ 𝑚2 ]𝑚 1=𝑐𝑜𝑛𝑠𝑡𝑎𝑛𝑡
[ ∆ 𝐶1
∆ 𝑚2 ] 𝑐 2=𝑐𝑜𝑛𝑠𝑡𝑎𝑛𝑡
𝜆21 =
[ ∆ 𝐶2
∆ 𝑚1 ]𝑚 2=𝑐𝑜𝑛𝑠𝑡𝑎𝑛𝑡
𝜆22 =
[ ∆ 𝐶2
∆ 𝑚2 ]𝑚 1=𝑐𝑜𝑛𝑠𝑡𝑎𝑛𝑡
[ ∆ 𝐶2
∆ 𝑚1 ] 𝑐 1=𝑐𝑜𝑛𝑠𝑡𝑎𝑛𝑡
[ ∆ 𝐶2
∆ 𝑚2 ] 𝑐 1=𝑐𝑜𝑛𝑠𝑡𝑎𝑛𝑡
Find the expressions for three other gains first, before going further……
+ For the relative gain between the first
+ controlled variable (C1) and the
second manipulated variable (m2)
[ ]
∆ 𝐶1
∆ 𝑚2 𝑚 1=𝑐𝑜𝑛𝑠𝑎𝑛𝑡
=𝐾 12 When = 0, i.e. no change in m1
????? When = 0
+ [
∆ 𝑐 1= 𝐾 12 − 𝐾 11
𝐾 22
𝐾 21]∆𝑚 2
Thus
𝜕 𝐶 1 ∆ 𝑚 𝐾 12 𝐾 21 − 𝐾 11 𝐾 22
= =
𝜕 𝑚 2 ∆ 𝑚2 𝐾 21
Continued…..
[ ]
∆ 𝐶1
∆ 𝑚2 𝑚 1=𝑐𝑜𝑛𝑠𝑡𝑎𝑛𝑡
=𝐾 12
[ ]
∆ 𝐶1
∆ 𝑚2 𝑐 2=𝑐𝑜𝑛𝑠𝑡𝑎𝑛𝑡
=
𝐾 12 𝐾 21 − 𝐾 11 𝐾 22
𝐾 21
=
Substituting…
=-
Verify that = 1
= -
Similarly,
Verify that = 1
Verify that = 1
Bristol’s Relative Gain Array (RGA)
Now you can write all Relative Gains in a matrix form
K K
1122 K K
1221
KK
1122 K K
1221 K K
1122K K
1221
K K
1221 K
11K22
K K K K K K K K
1122 1221 1122 1221
Estimate this array of relative gains for the Mixer case….before going further
RGA for the Mixer is
K K
1122 K K
1221
KK
1122 K K
1221 K K
1122K K
1221
K K
1221 K
11K22
K K K K K K K K
1122 1221 1122 1221
0.714 0.286
L=
0.286 0.714
The RGA indicates relative impact of a manipulated variable on a controlled variable when the
second control loop is closed. Higher is the value, better is the response.
Non-Zero values indicates interaction between two loops.
2
.28
1.28
OR OR 0 1
1.
282
.28 L=
even
1 0
λ ij = 1, the open-loop gain and closed-loop gain between yi and mj are identical
- Loop i will not be subject to retaliatory action from other loops when they are closed,
- If any of the g ik elements in the transfer function matrix are nonzero, then the i th loop will
experience some disturbances from control actions taken in the other loops, but they are
not provoked by control actions in the i th loop
Pairing recommendation:
pair yi with mj
INTERPRETING THE RGA ELEMENTS
λ ij = 0, the open-loop gain between yi and mj is zero
Pairing recommendation
: do not pair yi with mj
INTERPRETING THE RGA ELEMENTS
If 0 < λ ij < 1
The loops are definitely interacting, but the retaliatory effect from
the other loops is in the same direction as the main effect of mj on yi
Pairing recommendation
λ ij > 1, the open-loop gain between yi and mj is larger than the closed-loop gain
This could cause loop i to become unstable when other loops are closed
Pairing recommendation
do not pair yi with mj
INTERPRETING THE RGA ELEMENTS
λ ij < 0,
the open-loop and closed-loop gains between yi and mj have opposite signs
Pairing recommendation
do not pair yi with mj
Summary of How to use RGA for pairing
variables
ij 1 Ci should be paired with Mj
K K
1122 K K
1221
KK
1122 K K
1221 K K
1122K K
1221
K K
1221 K
11K22
KK
K K K K K K
1122 1221 1122 1221
m T
M1
0.714 0.286
L=
M2 0.286 0.714
The RGA values indicate that the total flow rate can be paired with water flowrate
while temperature controller should be paired with flow rate of the caustic solution
Example-2
K11 K12
2 1.5
10s 1 s 1
Gp(s)
1.5 2
s 1 10s 1
K21 K22
Find the steady state gains of the system first and the relative gains
K K
1122 K K
1221
KK
1122 K K
1221 K K
1122K K
1221
K K
1221 K
11K22
KK
K K K K K K
1122 1221 1122 1221
Example
22 1.51.5
22
1.5 1.5 22 1.51
.5
1 .51 .5 22
22 1.5 1
.5 221.51.5
2
.281
.28
1.28
2
.28
𝐾=
[ 𝐾 11
𝐾 21
𝐾 12
𝐾 22 ]
Get a matrix R which is transpose of inverse of K
𝑅=[ 𝐾 ¿ ¿−1]𝑇 ¿
𝜆𝑖 , 𝑗 =𝑘𝑖, 𝑗 . 𝑟 𝑖, 𝑗
Find the RGA for the binary distillation column whose transfer
function matrix is given as:
Assignment:
A stirred mixing tank is a multivariable system in which the cold and
hot stream flowrates are to be used in controlling the liquid level and
tank temperature
An approximate transfer function, obtained by linearizing around some
nominal steady-state liquid level hs and temperature Ts was given as
L(s) FH(s)
T(s) FC(s)
Obtain the RGA for this system and use it to recommend which of the
input variables should be used to control the liquid level and the tank
temperature, for different sets (at least 4) of temperatures of hot and cold
streams.
Assignment
( )
𝑦1 𝑔 11 ⋯ 𝑔1 𝑛 𝑚1
… =¿ ⋮ ⋱ ⋮ …
𝑦𝑛 𝑔𝑛1 ⋯ 𝑔𝑛𝑛 𝑚𝑛
Y(s)= G(s)u(s)
Transfer function model: Y(s)= G(s)u(s)
let n individual feedback controllers (with integral action) be designed for each loop
Each of the resulting n feedback control loops is stable when all the other n-1 loops are open
It is necessary and sufficient only for 2 x 2 systems, but sufficient for larger systems
NIEDERLINSKI PAIRING RULE
Any loop pairing is unacceptable if it leads to a control system configuration for which
the Niederlinski index (NI) is negative.
1. Given G(s), obtain steady-state gain matrix K = G(0), obtain the RGA matrix Λ;
Obtain the determinant of K, and the product of the elements on its main diagonal
2. Obtain tentative loop pairing suggestions from the RGA, by pairing on positive
elements which are closest to 1.0
3. Use Niederlinski’s condition to verify the stability status of the control configuration
resulting from 2; if the pairing is unacceptable, select another
4. Variables should be paired in such a way that the resulting pairing corresponds to an NI
closest to 1.0
According to this pairing, estimate the determinant of the steady-state gain matrix, |K|
|K| = -0.148
This pairing will lead to a negative Niederlinski index and an unstable configuration
An alternative pairing
The transfer function matrix of the system can be used for dynamic relative gain
For a proper pairing of controlled variables and manipulated variables, dominant transfer
functions, i.e. with highest gains, must be on the diagonal of the matrix
If you have calculated AR’s at different values of w, then there is an interesting way of
plotting
i.e. for say, G11(s), estimate AR and phase lag for different values of frequency w .. ...
f
AR
AR(w2)
AR(w3)
Now consider off-diagonal elements of the matrix, say in a row. i.e. G12(s)
Estimate AR and f for the non-diagonal element, as function of frequency (w).
On the above curve, draw a circle of radius of AR(w), for each frequency.
If these secondary circles, do not encircle origin, then selected diagonal element of
matrix is dominant
Singular Value Decomposition of the Gain
Matrix
The m x m steady state gain matrix [G] of the form is broken down into the form :
G = U Σ VT
Where:
U is an m x m matrix , the column vectors of which are the unit eigenvectors of the m x m
matrix GGT, GT being the transpose matrix of G.
Σ is an m x m diagonal matrix containing singular values, where the values are arranged
in descending order from the top left most corner to the bottom right corner.
V is an m x m matrix, the column vectors of which are the unit eigenvectors of the m x m
matrix GTG.
Conditional Number (CN)
2
𝜆1 =𝑠 1=
( 𝑏+ 𝑑 ) + √ (𝑏 − 𝑑)2
+ 4 𝑐 2
And
2𝑏 . 𝑑 −𝑐 2
𝜆2 =𝑠 =2
𝑠 21
The condition number (CN) is defined as the ratio of the larger of the
two values to the smaller value:
𝑠1 𝑠2
𝐶𝑁 = If S1 > S2 𝐶𝑁 = If S2 > S1
𝑠2 𝑠1
As a rule of thumb,
a system with a CN number of more than 50 is impossible to
decouple.
Example of mixer
Steady State Gain Matrix
2
𝑏= 𝐾 11 + 𝐾 212 =12 +12=2
( 𝑏+ 𝑑 )+ √ (𝑏 − 𝑑)2 +4 𝑐2
𝜆1 =
2 = 2
= 0.003673
1.414
𝐶𝑁 = =23.33 CN is less than 50, therefore decoupling for this system is feasible
0.0606
Consider the binary distillation column has its sidestream draw-off rate set at a fixed amount,
Find the correct pairing of the controlled variables and manipulated variables, using
RGA and NI, including possibility of decoupling….by CN.
Check if interaction would differ under dynamic conditions using dynamic RGA.