Académique Documents
Professionnel Documents
Culture Documents
(BKF4791)
2014/2015 Semester I
Title of Experiment
Group of Member
NAME
ID
KE 11004
KA11103
KA11138
KA11032
KA11050
Group No.
: 04
Section
: 05
Marks
Received by;
ABSTRACT
The first purpose of this experiment is to demonstrate the properties of first and second order
systems for different input values while the next purpose is to illustrate the dynamic response
of first and second order systems to different input signals. For the first order system, the
system gain Kp (numerator coefficient) was set to 10, 40, 10, 10, 20 and 30 pairing with the
system time constant P (denominator coefficient) which was set to 10, 10, 20, 5, 10 and 20
accordingly. Next, the step time was set to 10.0 and the step function from 0.0 to 1.0
constantly throughout the experiment. Then, the simulation was started to see the response
curve. While for the second order system, the procedure is almost same but the value for Kp
was different and also the value for A and B must be change before starting each simulations.
If the system is under damped, the overshoot, decay ratio, rise time, settling time and the
period of oscillation will be calculated. For first order, the increase in Kp values when P was
kept constant resulting the decrease in time but the output values increased. As for when the
P was set decreasing and Kp was set constant, the time and output values also decreased. As
for second order, underdamped system was obtained only when the value of Kp , A and B
were 10, 18 and 2 respectively.
2.0 METHODOLOGY
2.1 First Order System
To start the first order system, on the First and Second Order Systems button from the
Main Menu was click and then the First Order System button was selected. The two
windows will be display; the first is the system window and the second is the
input/output window.
First, the system gain Kp (numerator coefficient) and the system time constant P
(denominator coefficient) both to 10.0 was set by clicking once on the first order
system block. The step time to 10.0 was set, initial value of the step function to 0.0 and
the final value of the step function to 1.0 by clicking once on the step function block.
Click OK after you have done.
To start the simulation, Start button was selected from the Simulation menu. The new
steady state value and the length of time it takes for the output to reach the new steady
state (sec) were recorded. The Pointer button to take several points along the response
curve was used in our analysis.
Now the value of Kp was increased to 40.0 and step 3 was repeated. The response differ
from the response in step 3 was recorded.
Kp value was set back to 10.0 and the value of P was increased to 20.0. The simulation
was repeated. This response differ from the response in step 3 was recorded.
Now the value of the Kp was maintain at 10.0 and the value of P was decreased to 5.0.
The simulation was repeated. The new steady state value and the length of time it takes
for the output to reach the new steady state (sec) were recorded.
For syestem identification problem, From the Main Menu, the System Identification
Problem 1 button was selected. A step input was used; the simulation was run to
generate output data that can be used to determine the system gain (Kp) and the system
time constant (P). Remember to use the Pointer button and to take several points along
the response curve in your analysis of the system output.
The system gain (Kp) was set to 10.0 (numerator coefficient), the value of A to 40.0 and
the value of B to 14.0 (denominator coefficient) by clicking Second Order System
block and the initial value of the Step Function was set to 0.0 and the final value of the
Step Function to 1.0 by clicking once on the Step Function block.
To start the simulation, Start from the Simulation menu was selected. The system was
recorded and analyze whether the system is overdamped, underdamped or critically
damped. The overshoot, decay ratio, rise time, settling time and the period of oscillation
was recorded if the systems are underdamped.
The value of A was changed to 18 and the value of B also changed to 2. The simulation
was repeated. The system was recorded and analyze whether the system is
overdamped, underdamped or critically damped. The overshoot, decay ratio, rise time,
settling time and the period of oscillation was recorded if the systems are
underdamped.
The value of A was changed to 42.25 and the value of B also changed to 13. The
simulation was repeated. The system was recorded and analyze whether the system is
overdamped, underdamped or critically damped. The overshoot, decay ratio, rise time,
settling time and the period of oscillation was recorded if the systems are
underdamped.
Now the value of the Kp was increased to 50.0 and the value of A and B was increased
to 60.0 and 15.0. The simulation was repeated. The new steady state value and the length
of time it takes for the output to reach the new steady state (sec) were recorded.
For syestem identification problem, close the two windows by clicking the left mouse
button on the upper left hand box of both windows and selecting Close. From the First
and Second Order Systems Menu, the System Identification Problem 2 button was
selected. After that, by using a step input, run the simulation to generate data that
can be used to determine the system gain (Kp), the system time constant (P) and the
damping coefficient ().
RESULTS
Part A
No.
1
2
3
4
5
6
p
10
10
20
5
10
20
Kp
10
40
10
10
20
30
Time
54.6169
51.996
114.093
27.5
62.715
118.125
Output
9.9831
39.653
9.9831
9.939
19.9178
30.0982
Part B
No
Kp
10
40
14
10
18
10
42.25
13
20
42.25
13
50
60
15
Type
Over
damped
Under
damped
Critically
damped
Critically
damped
Under
damped
Overshoot
Decay
Ratio
Rise
Time
Settling
time
Period
0.4711
0.2131
17.608 s
70.296 s
27.419s
DISCUSSION
Problem identification problem for first order system
FROM RESULT:
Input Profile
16
Step time = 10
14
Magnitude (-)
12
Initial value = 0
10
Final value = 15
8
6
4
2
0
20
40
60
80
100
Time (sec)
120
140
160
180
200
120
140
160
180
200
Output Profile
5
Magnitude (-)
20
40
60
80
100
Time (sec)
3.2156 0
15 0
= .
=
5
= 3.2156 0
= .
0.2144
3.2156
+1
() =
() =
+ 1
.
. +
MATLAB software is used to conduct this experiment. When the First order system
in the MATLAB is used, the system output is determined by manipulating the inputs which
are system gain, KP and the time constant, . The changing in the output by observing the
graph is detected by manipulating the system inputs. When the system reaches the steady-
state is the new system output. When taking the value at steady state, the value taken is
ensure at initial value where the system become steady and not the value behind it as the time
where the system start to reach steady state need to be detect. As the value is taken by human,
the value will be slightly deviate and not shown automatically by the software and hence it
may deviate from the actual data.
To avoid this problem average value, in order to obtain the exact value as possible,
the pointer is point several times at the graph shown to obtain the average value. The changes
can be calculated manually by using first order transfer function standard form.
() =
Then Laplace it to be,
=
()
+ 1
y(t) = A (1 - )
Compare the result for output from the MATLAB and changes from manually
calculated, if the value is nearly 0.1, the value is confirm correct.
Other than that, For the System Identification Problem 1, the slope is needed to be
calculated from the value that been used in the system input and system output.
On the other hand, the system of Second order system, is totally different from the
first order although we are manipulating the same inputs which are system gain, and the
time constant, . This is because the second order system is influence by the damping
coefficient . The large value of yield a sluggish response and small value of yield a fast
response. The characterisation or types of response and roots of characteristic equation or
Characterisation/ Types of
Roots of Characteristic
Coefficient
Response
<1
Under-damped
=1
Critically damped
>1
Over-damped
Complex conjugates
Input Profile
Magnitude (-)
15
10
FROM RESULT:
Initial value = 0
Final value = 15
0
10
20
30
40
50
Time (sec)
60
70
80
90
100
60
70
80
90
100
Output Profile
2500
Magnitude (-)
2000
1500
1000
500
10
20
30
40
50
Time (sec)
= 14.968
21.99 14.968
14.968
, = .
=
= 15 0
=
[ln(OS)]2
, = 2
+ [ln(OS)]2
, OS = Overshoot
[ln 0.4691]2
2 + [ln 0.4691]2
= .
= respond time
1 2
=
P
2
1 0.23422
=
(30.486)
2
= .
Kp
15
6.7275
0.2342
Derivation of second order transfer function for this system
Standard form: () =
2 2 + 2s + 1
() =
() =
2 2 + 2s + 1
15
(6.7275)2 2 + 2(0.2342)(6.7275)s + 1
() =
. + . +
Region 1
<1
Region 2
=1
Region 3
>1
Complex conjugate
poles
Underdamped
2.
Region 1
Region 2
Region 3
3. As the damping coefficient is increase, it will decrease the speed of response and vice
versa.
4. Based on those three region, the shortest response time with overshoot is the region that
has the smaller damping coefficient which is <1. The sluggish response time is the one that
has the larger damping coefficient which is >1. The region with =1 has the fastest response
without overshoot.
5. The different responses help engineers to identify the type control that need to fit into the
system and performance of the system. The responses fall into Region II is the ideal control
where the control reach steady-state without overshoot. The responses fall into Region I is
the most common responses face by engineer. The control overshoot a few times to be able
to reach steady state. The responses fall into Region III does not overshoot but has the
slowest responses among the three. The control reaches steady state in a long period of time.
With different responses, engineers can determine the best control for a process because some
process cannot have overshoot in their process such as, dosing of bleaching agent into food
products. Overdosing can bring health hazards to consumers, therefore responses fall in
Region II and Region I is more preferable.
10
11