LAB7 Ese 359
LAB7 Ese 359
- -
ENGINEERING PROBLEM (DP) - -
- -
ENGINEERING ACTIVITIES (NA) - -
POOR FAIR GOOD EXCELLENT
CRITERIA SUB-ATTRIBUTE SCORE WEIGHT MARKS
1 2 3 4
Complete Complete
Output Response Complete output
Incomplete output output response output
Ability to obtain output response but x 0.5
response but with major response
response with minor error
error without error
Output
Output Validation Complete Complete
Complete output
Ability to perform data Incomplete output output validation output
validation but x 0.25
validation based on the validation but with major validation
with minor error
measured result error without error
NURHAFFIZAH HASSAN
Pensyarah
Pengajian Kejuruteraan
Elektrik Kolej Pengajian
Kejuruteraan
Universiti Teknologi MARA (UiTM) Kampus Dungun
ELECTRICAL ENGINEERING STUDIES
COLLEGE OF ENGINEERING
UNIVERSITI TEKNOLOGI MARA
CONTROL SYSTEM
(ESE 359)
MODULE 7
CO2 Construct the transfer function of control systems to analyze transient response
performance and system’s stability by using modern engineering tools. (P5)
PO5 Apply appropriate techniques, resources, and modern engineering and IT tools to well-
defined engineering problems, with an awareness of the limitations.
OUTCOMES
EQUIPMENT
1. Computer
2. Software MATLAB
THEORY
Frequency response methods are among the most useful techniques available for system
analysis and design. One can design a control system by frequency response methods without
developing a transfer function. One of the best methods of verifying a simulation is to obtain a
frequency response of the simulation by in putting sinusoids and comparing this response with
the calculated frequency response of the transfer function of the system being simulated.
The frequency response of a system is defined as the steady state response of the system to
a sinusoidal input signal. The sinusoid is a unique input signal and the resulting output signal
for a linear system as well as signals throughout the system, is sinusoidal in the steady state.
It differs from the input waveform only in amplitude and phase.
As shown in Figure 1, if sinusoid is applied as input to a linear system the output under steady
is usually referred to as the magnitude (magnitude ratio, amplitude ratio, or gain) and the shift
of phase of the output wave relative to the input wave is termed the phase. The magnitude
and phase depend on the system and the forcing frequency but not on the magnitude of the
input sinusoid for a linear system.
M (
o ω)
G(jω) = ; Magnitude frequency response
Mi (ω)
∠G(jω) = φ(ω) = φo (ω) φi (ω) ; Phase frequency response
The frequency response information can be used to draw Bode diagrams plots and they can
be used to ascertain the stability of the system and also used to design controllers for systems.
Bode Diagram
As shown in Figure 2, Bode diagram consists of two graphs. In simple terms these are plot of
frequency gain and phase (on y-axis) against frequency (on x-axis). More precisely:
• A plot of the phase angle G( j ) vs log10 where phase is usually measure in degrees
(not radians).
3. Measure all the parameters using Matlab code ‘margin()’. It calculates the minimum
gain margin, GM, phase margin, PM, and associated frequencies ωgco and ωpco of
open-loop models.
[Gm,Pm,Wgco,Wpco] = margin(X)
Gm =
2.8000
Pm =
29.0851
Wgco =
6.3246
Wpco =
3.5333
4. State the stability of the system.
5. Repeat step no. 1 to no. 4 for the open-loop transfer function below. Plot the bode plot
and obtain the minimum gain margin, GM, phase margin, PM, and associated
frequencies ωgco and ωpco for K value 1, 10 and 100. Attach the output response and
output reading in Table 1.
100K
RESULT
4.6188
ωgco
0.3892
ωpco
15.9288
1 GM
81.6498
PM
STABLE
Stability
4.6188
ωgco
3.2614
ωpco
10 GM 1.5929
PM 24.7516
STABLE
Stability
4.6188
ωgco
10.1566
ωpco
0.1593
100 GM
-94.2341
PM
Stability UNSTABLE
OUTPUT VALIDATION
1. Observe and compare the stability of the system when K = 1, 10 and 100.
When GM and PM are both positive, the stability is stable for example when the K = 1 and
10. But when K = 100 the PM is negative, so the stability is unstable.