Professional Documents
Culture Documents
From The Whole System Detailed Block Diagram
From The Whole System Detailed Block Diagram
(dw/dt) = 0.05 ia – 2w
If = x1 ia = x2 w = x3 Vf = u
x1
y=0 0 1 x 2 +0 u
x3
Open Loop Vs. Closed-Loop System
The closed loop steady state error is equal to (1-steady state response)
1- 0.3817 =0.6183
Response rise time 0.64 sec with overshoot 2.1%
From the whole system detailed block diagram, the resultant open loop transfer function is
5
∗50∗0.25
s+10 62.5
G ( s )= 2 = 3 2
s + 7 s+ 10.125 s +17 s +80.125 s +101.25
x˙1 0 1 0 x1 0
x˙2= 0 0 1 x 2+0 u
˙
x 3 −101.25 −80.125 −17 x 3 1
x1
y=62.5 0 0 x 2 + 0u
x3
0 0 1
B=0 AB = 1 A B = −17
2
1 −17 208.875
Hence
0 0 1
0 1 −17
1 −17 208.875
det(CM) = -1.
Since det(CM) not equal zero, it is full rank (non-singular), that is, rank 3, which equals the
system order n = 3. We conclude that the system is controllable.
(-zπ/√(1-z^2 ))=ln(0.1)
(zπ/√(1-z^2 ))=2.3026
(5.302/π2)=z2/(1-z2))
0.5372-0.5372z2=z2
z=0.5912
Wd=6.77√(1-0.59122)= 5.46
S1= -4+j5.46 S2=-4-j5.46
Lim TF = 0.98
62.5
=0.98
( 4+ j 5.46 ) ( 4− j 5.46 ) (− p 3)
P3 = -62.5/44.9 = - 1.392
The desired closed-loop characteristic equation from the design requirement
s^3 + 9.392 s^2 + 56.95 s + 63.77
0 0 0
BK = 0 0 0
k 1 k2 k 3
0 1 0
[ A−BK ] = 0 0 1
−(101.25+k 1) −(80.125+k 2) −(17+ k 3)
s −1 0
SI −[ A−BK ] = 0 s −1
(101.25+ k 1) (80.125+ k 2) s+(17+k 3)
det ( SI − [ A−BK ] ) =¿
17 + k3 = 9.392 , k3 = - 7.608
LQR Control Method
The objective is to find u such that we minimize the cost function
clc
close all
clear all
A = [0 1 0;0 0 1; -101.25 -80.125 -17];
B = [0;0;1];
Q = eye(3);
R = 1;
K = lqr(A,B,Q,R)
Ans
K = [0.0049 0.0480 0.0322]
0
BKe= 0
Ke
010 0
001 0
S −1 0 0
0 S −1 0
s^3 + 9.392 s^2 + 56.95 s + 63.77 is the old characteristic equation and
another pole will be added should be at least five times more than the
dominant pole (assume (s+24))
And hence
s^4 + 33.39 s^3 + 282.4 s^2 + 1431 s + 1530
62.5ke = 1530 , ke =24.48
17 + k3 = 33.39 , k3 = 16.39
Modeling & System Control Using SIMSCAPE