0% found this document useful (0 votes)
67 views9 pages

MATLAB Control Engineering Assignment

This document contains the solutions to three MATLAB exercises from a Control Engineering assignment. The first exercise calculates the closed-loop transfer function and pole-zero map for a multi-loop feedback system. The second exercise verifies that the final value of the output of a step response is 2/5 for a feedback system. The third exercise (a) calculates the closed-loop transfer function, (b) generates a pole-zero map, (c) cancels common poles and zeros using minreal, and (d) explains that canceling common poles and zeros is important for stability and system performance.

Uploaded by

Ther Htet Aung
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
67 views9 pages

MATLAB Control Engineering Assignment

This document contains the solutions to three MATLAB exercises from a Control Engineering assignment. The first exercise calculates the closed-loop transfer function and pole-zero map for a multi-loop feedback system. The second exercise verifies that the final value of the output of a step response is 2/5 for a feedback system. The third exercise (a) calculates the closed-loop transfer function, (b) generates a pole-zero map, (c) cancels common poles and zeros using minreal, and (d) explains that canceling common poles and zeros is important for stability and system performance.

Uploaded by

Ther Htet Aung
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

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.

♦♦♦♦♦

Common questions

Powered by AI

The root locus is a graphical method used to determine the potential locations of the poles of a control system as system parameters vary, typically gain. It plays a crucial role in predicting system stability and identifying parameter ranges that yield stable configurations. If portions of the root locus cross from the left half to the right half of the complex plane, this indicates a shift towards unstable behavior .

The stability of a feedback control system is determined by its poles because poles represent the natural frequencies and decay rates of the system's modes. If any pole of the system is located in the right half of the complex plane, the system exhibits an exponential growth leading to instability. Conversely, if all poles lie in the left half, the system is stable and will eventually settle .

Canceling common poles and zeros is important because it affects system stability and performance. When a zero does not exactly cancel a pole, parts of the root locus can end up in the right half of the complex plane, leading to an unstable response. Using MATLAB's 'minreal' function helps simplify the transfer function and avoid this issue, ensuring the system remains stable and performs optimally .

The 'series' function in MATLAB combines two system models into a single model representing their serial connection. It is used in obtaining closed-loop transfer functions by sequentially connecting various system components, forming a complete representation of the system's signal path before feedback is applied .

MATLAB can be used to determine the closed-loop transfer function of a multi-loop feedback system by employing the 'series' and 'feedback' functions. These functions allow for the composition of interconnected system blocks to obtain the overall transfer function. Input code is used to define each system block and their connections, and the output reflects the entire system's behavior .

Understanding the dynamics represented by the closed-loop transfer function is crucial for control engineers because it encapsulates the system's response to inputs, stability margins, and performance characteristics such as transient response and steady-state error. This understanding allows engineers to design controllers that satisfy desired specifications and ensure robust system performance across operating conditions .

A non-cancelled zero failing to accurately cancel a pole can lead to portions of the root locus being trapped in the right half of the complex plane, making the system unstable. To address this, MATLAB's 'minreal' function can be employed to simplify the transfer function by identifying and cancelling any redundant poles and zeros that do not contribute to system stability or that potentially destabilize the system .

The pole-zero map is significant because it visually represents the locations of poles and zeros in the complex plane, which are crucial for understanding system stability and dynamics. In MATLAB, the 'pzmap' function is used to generate this map. It helps in analyzing system behavior such as stability, transient response, and resonance .

Using MATLAB for system analysis is highly relevant for mechatronics engineering students as it provides a versatile platform for simulating and analyzing complex systems. It enables students to apply theoretical knowledge to practical scenarios, visualize responses such as step outputs and root loci, and understand the implications of system design choices, thus bridging the gap between theory and application .

In MATLAB, the final value of a closed-loop system's unit step response can be verified by using the 'step' function. This function simulates the system's response over time to a unit step input. By analyzing the output provided by the 'step' function, one can check if the final value converges to the expected value, such as 2/5 in the given example .

You might also like