Docsity

Step Response I-Control Systems-Lab Reports, Exercises of Control Systems

Partial preview of the text

Download Step Response I-Control Systems-Lab Reports and more Exercises Control Systems in PDF only on Docsity!

Lab 5: Introduction to Simulink

Lab Task 1

Find the step response of the following systems, using m file and by simulating in Simulink:

a)

b)

c)

0.2083___

(s + 1.71)

1__

s

25____

s (s + 5 )

_

1 ____

(s + 1 )

25____

(s

2

+ 2s +1)

Lab 5: Introduction to Simulink

%a

syms t s

G=tf(0.2083,[1 1.71]);

H=tf(1,[1 0]);

T=series(G,H)

step(T)

%b

syms t s

G1=tf(25,[1 5 0]);

H1=1;

T1=feedback(G1,H1)

figure, step(T1)

%c

syms t s

G2=tf(1,[1 0]);

H2=tf(1,[1 2 1]);

T2=parallel(G2,H2)

figure, step(T2)

Results:

Transfer function:


s^2 + 1.71 s Transfer function: 25


s^2 + 5 s + 25 Transfer function: s^2 + 3 s + 1


s^3 + 2 s^2 + s

MATLAB Code:

Lab 5: Introduction to Simulink

Part (a) step response in Simulink Part (b) Simulation Part (b) step response in Simulink

Lab 5: Introduction to Simulink

Part (c) Simulation Part (c) Step Response in Simulink