0% found this document useful (0 votes)
8 views

MCE 4603 Lab 4 - Open and Closed Loop System

work of education

Uploaded by

Aman
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
8 views

MCE 4603 Lab 4 - Open and Closed Loop System

work of education

Uploaded by

Aman
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

Dr.

Ismail Ladipo (2019)


MCE4063 - Control System

Faculty of Engineering Technology and Science


Academic Year 2020 – 2021
Semester ☒ Fall ☐ Spring ☐ Summer
Course Code - Name MCE 4603 – Control System
Program Mechanical Engineering Technology
Instructor Name Dr. Ismail Ladipo
Lab Instructor Mohamed Alrawedeh
Lab Title Lab 4: Open and Closed Loop system using Matlab
Date 22/09/2020

Students HCT ID Student Names

CRN

For Evaluator’s Use Only:


Object of Evaluation Part A Part B Part C Performance Total
Evaluation
Max. Marks 20 40 30 10 100
Obtained

Approved by: Date:

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)

The output on the MATLAB command window would be:

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.

Solution: Type the following in the MATLAB command line:

G1 = tf([0 4],[0 1]);


G2 = tf([0 1],[1 2]);
H = tf([5 0],[0 1]);
SYS = feedback(G1*G2,H)

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 + 𝐺(𝑠)𝐻(𝑠)

Lab 3: Control Systems


a) For G(s) = 8/(s2 + 7s + 10) and H(s) = s+2, determine the closed loop transfer
function with MATLAB.

[5 marks]

Solution:

Lab 3: Control Systems

You might also like