Question

-2IH yes, what is K ? 2. (25pts)Given a continuous control system in the following Sgure, the plant G)ad s( +2) the controlle

0 0
Add a comment Improve this question Transcribed image text
Answer #1

a) The Matlab code is given by

clear all
clc
s=tf('s');
G=4/(s*(s+2))
C=((417*s)/10 + 183897/1000)/(s + 92/5)
figure(1)
bode(G)
figure(2)
bode(C)
figure(3)
bode(G*C)

The command window will show

G =

      4
---------
s^2 + 2 s

Continuous-time transfer function.


C =

417 s + 1839
------------
   10 s + 184

Continuous-time transfer function.

Bode plot for plant G(s) is

Bode Diagram 20 0-20 -60 -90 )-135 -180 10 10 10 10 Frequency (rad/s)

Bode plot for controller C(s)

Bode Diagram 35 30 25 20- 40 O 30 20 10 10 10 10 10 10 Frequency (rad/s)

Bode plot for compensated plant C(s)*G(s)

Bode Diagram 50 0 -50 -100 -90 F 8-1 35 -180 10° 2 3 10 10 10 10 Frequency (rad/s)

b) The Matlab code is given by

clc
clear all
close all
syms s T z
c=41.7*(s+4.41)/(s+18.4);
subs(41.7*(s+4.41)/(s+18.4),s,(2*(z - 1))/(T*(z + 1))) %Bilinear
subs(41.7*(s+4.41)/(s+18.4),s,(z-1)/T) %Eular
subs(41.7*(s+4.41)/(s+18.4),s,((2/T)*(z-1))/(z+1))%Tustin

Command window will show the following answers

Bilenear C(s)=

((417*(2*z - 2))/(10*T*(z + 1)) + 183897/1000)/((2*z - 2)/(T*(z + 1)) + 92/5)

Eular C(s)=

((417*(z - 1))/(10*T) + 183897/1000)/((z - 1)/T + 92/5)

Tustin C(s)=

((417*(z - 1))/(5*T*(z + 1)) + 183897/1000)/((2*(z - 1))/(T*(z + 1)) + 92/5)

Again the same is done

2 굳-! as)-41구(s+4.41) 5 5 + 18 14 be nud to replace s wn uoith in meet la bん rt 군 41 (2+1) /83,877

imi larly tb Eulan て Ce) 4172+ 183. 847 て S- 2 (Z ) 183.397 5T (2+1) ( 군

Add a comment
Know the answer?
Add Answer to:
-2IH yes, what is K ? 2. (25pts)Given a continuous control system in the following Sgure, the pla...
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