Question
on Matlab please!!!!
Problem 1- (a) Design a controller for a plant with transfer function, G(s)-(+ to obtain (i) estep(00)s 0, (ii) T12%) < 1 s,
0 0
Add a comment Improve this question Transcribed image text
Answer #1

+19 C0on equation 2 Juka 2 overshot-o Too = keseea7L3.ql2(Tokig 12 eon bhda 2.55

,:Icon = 10-25 coo = -1.995± 6.414

Matlab Code:

s = tf('s')
sys = tf([1],[1 10 9]);
opts = timeoptions;
opts.Grid = 'on';
subplot(1,2,1)
stepplot(sys,opts)
[A,B,C,D] = tf2ss([1],[1 10 9]) %Convert to state space model
poles=[-4.4+2.374j,-4.4-2.374j];
K1=acker(A,B,poles) %To find controller gains

%Closed loop system with controller
I = eye(2)
Ac = A-(B*K1)
Bc = B
Cc = C
Dc = D
[num1 den1]=ss2tf(Ac,Bc,Cc,Dc)
G = tf (num1, den1)
opts = timeoptions;
opts.Grid = 'on';
subplot(1,2,2)
stepplot(G,opts)

%Modified controller system design with Ts<0.9 as assumed in part 'a'
poles = [-7.995+6.414j, -7.995-6.414j]
K2=acker(Ac,Bc,poles)
Am = Ac-(B*K2)
Bm = Bc
Cm = Cc
Dm = Dc
[num2 den2]=ss2tf(Am,Bm,Cm,Dm)
M = tf (num2, den2)

File Edit Text Go Cell Tools Debug Desktop Window Help Stack Base ▼ Figure 1 File Edit View Insert Tools Desktop Window Help

Add a comment
Know the answer?
Add Answer to:
on Matlab please!!!! Problem 1- (a) Design a controller for a plant with transfer function, G(s)-(+ to obtain (i) estep(00)s 0, (ii) T12%) < 1 s, and (iii) an-5 rad/s (4 points). (b) Plot the u...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT