MCE 4603 Lab 4 - Open and Closed Loop System
MCE 4603 Lab 4 - Open and Closed Loop System
CRN
1|Page
Dr. Ismail Ladipo (2019)
MCE4063 - Control System
Objective:
The objective of this exercise is to study system stability using Routh-Hurwitz Approach.
List of Resources
• Matlab
• Experience Controls Mobile Application
A transfer function of a linear time-invariant (LTI) system can be entered into MATLAB using the
command tf(num,den) where num and den are row vectors containing, respectively, the
coefficients of the numerator and denominator polynomials of the transfer function. For example, the
transfer function:
3s + 1
G(s) =
s + 3s + 2
2
2|Page
Dr. Ismail Ladipo (2019)
MCE4063 - Control System
can be entered into MATLAB by typing the following on the command line:
num = [3 1];
den = [1 3 2];
G = tf(num,den)
Transfer function:
3 s + 1
-------------
s^2 + 3 s + 2
Example: Evaluate the transfer function of the feedback system shown in the figure above using
MATLAB where G1(s) = 4, G2(s) = 1/(s+2) and H(s) = 5s.
This produces the following output on the command window (check this result):
Transfer function:
4
--------
21 s + 2
3|Page
Dr. Ismail Ladipo (2019)
MCE4063 - Control System
LAB ASSIGNMENT
1. Write down the transfer function Y(s)/R(s) of the following block diagram. [3 marks]
Solution:
We know that the formula of closed loop transfer function
𝑌(𝑠) 𝐺′(𝑠)
= [𝑖𝑛 𝑐𝑎𝑠𝑒 𝑜𝑓 − 𝑣𝑒 𝑓𝑒𝑒𝑑𝑏𝑎𝑐𝑘]
𝑅(𝑠) 1 + 𝐺′(𝑠)𝐻(𝑠)
Where 𝐺 ′ (𝑠) = 𝑓𝑜𝑟𝑤𝑎𝑟𝑑 𝑝𝑎𝑡ℎ 𝑔𝑎𝑖𝑛 𝑎𝑛𝑑 𝐻(𝑠) = 𝑓𝑒𝑒𝑑𝑏𝑎𝑐𝑘 𝑔𝑎𝑖𝑛
So,
Here the transfer function Y(s)/R(s) of the given block diagram is
𝑌(𝑠) 𝐾𝐺(𝑠)
=
𝑅(𝑠) 1 + 𝐾𝐺(𝑠)
4|Page
a) For G(s) = 1/(s + 10) and K = 10, determine the closed loop transfer function with MATLAB.
[2 marks]
Solution:
2. Find the closed loop transfer function for the following diagram.
Solution:
𝑌 (𝑠 ) 𝐺 (𝑠 )
=
𝑅(𝑠) 1 + 𝐺(𝑠)𝐻(𝑠)
[5 marks]
Solution: