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

ChE 420 Assignment 5 (using SIMULINK in MATLAB)

Simulate the following problems and obtain the responses using SIMULINK
Problem 1.
Obtain the open loop response of a first order system with G p ( s ) =

Kp

s + 1

where Kp = 1 and = 1

min for the following inputs and compare them with the corresponding inputs (using mux and
scope blocks):
(a) unit step change
(b) unit ramp input (i.e. t)
(c) sine input (i.e. sin(t))

Problem 2.
Obtain
G p ( s) =

the

open
Kp

loop

2 s 2 + 2s + 1

response

of

the

following

second

order

systems

with

for unit step input:

a) KP = 1, = 5, = 1.5
b) KP = 1, = 5, = 1
c) KP = 1, = 5, = 0.1
Make a single model file that can simulate all the above three cases and that can show all
responses in a single scope block.
Problem 3.
Obtain the closed loop response for a unit step change in the load for the following regulatory
10
5
problem where, G p ( s ) =
; G Load ( s ) =
; Gm ( s ) = 1; Gv ( s ) = 1 with
s 1
s 1
a) Use only P control. Try Kc = 0.5, 1.0, 1.5. See what happens as Kc is increased.
b) Use PI control.
i) Set Kc = 0.5 and I = 0.05
ii) Set Kc = 0.5 and I = 0.25,
iii) Set Kc = 0.5 and I = 0.5
c) Use PID control. Set Kc = 0.5, I = 0.5, D = 0.3
Note: In the PID controller of Simulink you have to specify the integral mode gain (Kc/I) and
the derivative mode gain (KcD) instead of the integral time and derivative time contants.

You might also like