Download as pdf or txt
Download as pdf or txt
You are on page 1of 11

MatLab

Linear model system


Transfer function (open,closed)

Prepared : Neramitr C.

1
MATLAB, Linear model system

• Transfer function
• Open loop system
• Closed loop system

2
MATLAB, Linear model system

Open loop system

3
MATLAB, Linear model system

Closed loop system

4
MATLAB, Linear model system

tf_actuator = tf(0.1,[0.5 2])


s = tf('s')
tf_engine = 1/(0.02*s+0.2)
tf_system = tf_engine*tf_actuator

tf_controller = 1/s

tf_openloop = tf_system * tf_controller

tf_closedloop_K_1 = feedback(tf_openloop,1)
step(tf_closedloop_K_1)

rlocus(tf_openloop)
tf_controller= 5/s
tf_openloop = tf_system * tf_controller
tf_closedloop_K_5 = feedback(tf_openloop,1)

5
MATLAB, Linear model system

Step response
6
MATLAB, Linear model system

7
MATLAB, Linear model system

8
MATLAB, Linear model system

9
MATLAB, Linear model system

Step response
10
References

11

You might also like