You are on page 1of 9

MANDALAY TECHNOLOGICAL UNIVERSITY

DEPARTMENT OF MECHATRONICS ENGINEERING

CONTROL ENGINEERING
(McE-42077)

MATLAB
Assignment – I

Mg Ther Htet Aung


IV-BE MC-26
Exercise 1: For the following multi-loop feedback system, get closed loop
transfer function and the corresponding pole-zero map of the system.

Solution:

Input Code:
Output:
Closed-loop transfer function
Exercise 2: Consider the feedback system depicted in the figure below
(a) Compute the closed-loop transfer function using the ‘series’ and ‘feedback’
functions
(b) Obtain the closed-loop system unit step response with the ‘step’ function
and verify that final value of the output is 2/5.

Solution:

Input Code:
Output

Closed-loop transfer function

The final value of the output is 2/5.


Exercise 3: Consider the feedback control system given in figure, where
s +1 1
G(s) = and H ( s ) =
s+2 s +1

(a) Using an MATLAB m-file script, determine the closed-loop transfer function.
(b) Obtain the pole-zero map using the MATLAB command 'pzmap' function.
Where are the closed-loop system poles and zeros?
(c) Are there are any pole-zero cancellations? If so, use the MATLAB command
'minreal' function to cancel common poles and zeros in the closed-loop transfer
function.
(d) Why is it important to cancel common poles and zeros in the transfer
function?

Solution:

Input Code:
Output

(a) Closed-loop transfer function

(b) Pole-Zero Map


(c) Cancellation of common poles and zeros
Input Code

(d)
The values of the poles and zeros of a system determine whether the system is
stable how well the system performs. Besides, when the added zero does not
exactly cancel the pole, a part of the root locus will be trapped in the right half
plane. This causes the closed-loop response to be unstable.

♦♦♦♦♦

You might also like