You are on page 1of 10

MANDALAY TECHNOLOGICAL UNIVERSITY

DEPARTMENT OF MECHATRONICS ENGINEERING

CONTROL ENGINEERING
(McE – 42077)

MATLAB
Assignment – II

Mg Ther Htet Aung


IV-BE MC-26
Exercise 1: Effect of damping ratio ζ on performance measures. For a single-loop
second order feedback system given below

Find the step response of the system for values of ωn = 1 and ζ = 0.1, 0.4, 0.7, 1.0
and 2.0. Plot all the results in the same figure window and fill the table.

Solution:

Input Code:
Output
For ζ = 0.1, For ζ = 0.4,

For ζ = 0.7, For ζ = 1.0,


For ζ = 2.0,

For ζ = 0.1, 0.4, 0.7, 1.0, 2.0,


Step responses of the system

Rise Time, Peak Time, Percent Overshoot, Settling Time and Steady State Value

ζ Rise Time Peak Time % Overshoot Settling Steady State


Time Value
0.1 0.8160 3.1574 72.9248 40 1
0.4 1.4640 3.4278 25.3827 10 1
0.7 2.1120 4.3991 4.5988 5.7143 1
1.0 2.7600 ∞ 0.0000 4 1
2.0 4.9200 0.0000 - -88.4205 - 2 1
1.8138i 46.7098i

Exercise 2: Effect of natural frequency ωn on performance measures. For a single-


loop second order feedback system given below

Find the step response of the system for values of ωn = 1, 3, 5, 7, 9 and ζ = 0.1. Plot
all the results in the same figure window and fill the table.
Solution

Input Code:
Output

For ωn = 1, For ωn = 3,

For ωn = 5, For ωn = 7,

For ωn = 9,

For ωn = 1, 3, 5, 7, 9,
Step responses of the System

Rise Time, Peak Time, Percent Overshoot, Settling Time and Steady State Value

ωn Rise Time Peak Time % Overshoot Settling Steady


Time State Value
1 0.8160 3.1574 72.9248 40.0000 1
3 0.2720 1.0525 72.9248 13.3333 1
5 0.1632 0.6315 72.9248 8.0000 1
7 0.1166 0.4511 72.9248 5.7143 1
9 0.0907 0.3508 72.9248 4.4444 1
Exercise 3: Write discussion about the performance of second order system of
exercises (2) and (3).

Solution

With the step input applied to the system, we obtain for which the transient
output is where 0 <ζ< 1. The transient response of the system changes for different
values of damping ratio, ζ. Standard performance measures for a second order
feedback system are defined in terms of step response of a system. Where, the
response of the second order system is shown below.

Rise Time:
Tr1, measures the time from 10% to 90% of the response to the step input.

Peak Time:
The time for a system to respond to a step input and rise to peak response.

Overshoot:
The amount by which the system output response proceeds beyond the desired
response.

Settling Time: The time required for the system’s output to settle within a certain
percentage of the input amplitude (which is usually taken as 2%).

If ζ < 0,
• 2 positive real-part roots. (unstable)
If 0 < ζ < 1,
• 2 negative real-part roots. (underdamped)
• Oscillatory response.
• No steady-state error.
If ζ > 1,
• 2 equal negative real roots. (Critically damped)
• Mono-incremental response.
• Oscillatory response.
• No steady-state error.
If ζ = 1,
• 2 distinct negative real roots. (overdamped)
• Mono-incremental response.
• Slower than critically damped.
• Oscillatory response.
• No steady-state error.
If ζ = 0,
• 2 complex conjugate roots. (undamped)

A distinct advantage of the feedback control system is the ability to adjust the
transient and steady-state response.

♦♦♦♦♦

You might also like