[-0.313 96.7 0;-0.0139 -0.426 0;0 56.7 0);
(0.232; 0.0232;01;
(0011;
(1;
85 (A,B,C,); State space model
M= (B AYR AMAMBI;
rank () 5
Sgiven data
overshoot
10;
25
risetine
error = 2;
settlingtime = 10;
‘Poles are selected using trial and error method
2 = complex (-0.93, 0.62);
Zp = conj (2);
Poles = (-0.191 2 Zp]
SGain Matrix (K)
K = place (A, B, Poles)
New_sys = ss(A-B*K, B, C, D);
T= (-1) / (C * (&-BAK) *-1*B)
Y= ss(A-BAK, BAL, C, D)s
lyr ty x] = step(y)s
sInput
ue -Ktx! + rr;
plot (t/a)
title ("Input vs Time");
xlabel ('Time');
ylabel (‘Elevator deflection’);
SFor 5 degree step input
figure (2)
step(5 * ¥);
xlabel('Time');
ylabel('Pitch Response");
stepinfo(¥)
Poles
=0.1910 + 0.00003 -0.9300 + 0.62003 -0.9300 - 0.6200.
Ke
0.6671 63.2229 1.0425
I
1.0425
struct with fields
RiseTime: 1.9812
tlingTime: 9.8247
SettLingMin: 0.9016PeakTine
4
Input vs Time
3.2
Elevator deflection
np ny
& &
n
R
22
10
Time
16
20
25Step Response
Pitch Response
°
10 15 20 25
Time (seconds)
Proceduré
1 State Space Equation is loaded into MATLAB.
= Controllability is checked.
= Transfer function is created.
= Poles were chosen randomly and corrected using trial and error method
= Gain Matrix (K) is found,
= New state space matrix is created using K.
= Poles are adjusted until we get a desired time-response characteristics.
= New state space with scaled input Is obtained and calculated its response for § degree step input.