Académique Documents
Professionnel Documents
Culture Documents
Date Received
Office use only
KEEP A COPY
Please be sure to make a copy of your work. If you have submitted assessment work electronically make sure you
have a backup copy.
PLAGIARISM
Plagiarism is the presentation of the work of another without acknowledgement. Students may use a limited amount
of information and ideas expressed by others but this use must be identified by appropriate referencing.
CONSEQUENCES OF PLAGIARISM
Plagiarism is misconduct as defined under the Student Conduct By-Laws. The penalties associated with plagiarism
are designed to impose sanctions on offenders that reflect the seriousness of the University’s commitment to
academic integrity.
I declare that all material in this assessment is my own work except where there is a clear acknowledgement
and reference to the work of others. I have read the University’s Academic and Scientific Misconduct Policy
and understand its implications.*
* By submitting this assignment and cover sheet electronically, in whatever form you are deemed to have
made the declaration set out above.
Signed Sundeep Mathews Date: 01/10/12
Page 1
Control systems 2015
Table of contents
Lab # Description:
Lab 1 Modeling of a Dc Servo Motor
1.1 Description
1.2 block diagram
1.3 sinusoidal response
1.4 bode plot
1.5 transfer function
1.6 conclusion
3.1 Overview
3.2 Block diagram
3.3 Finding Error
Page 2
Control systems 2015
3.9 Finding Pole
3.10 Finding Kp
3.11 Matlab File
Lab 4 Lead Compensator Design
4.1 Description
Page 3
Control systems 2015
Laboratory # 1
1.1 description:
This laboratory is providing us the basic approach, functionalities gives us basic idea to
recognize the components of servo motors. It also gives the logical way of signal lowing and
processing through the control system. Lab view Is using to get the graphical approach and
Tachometer Position
Page 4
Control systems 2015
Page 5
Control systems 2015
1. graph
2. FFT
360
𝜃= = 57.14𝑜
40.99 − 34.69
𝑃ℎ𝑎𝑠𝑒 = −93.70𝑜
MATLAB is used to to done this job. We have already attached the matlab code for
Magnitude = 3.86
Phase = -99.84
Page 6
Control systems 2015
The following table shows the comparison by using frequencies to calculate amplitude.
Amplitude difference:
Page 7
Control systems 2015
Phase difference:
Page 8
Control systems 2015
with different calculus method and hand written calculation to get the vectors of magnitude
and phase.
K= 3.75
Τ=0.11
3.75
G( s)
s (0.11s 1)
Page 9
Control systems 2015
1.6 conclusion:
we have observed from Fig 1.3 that accuracy of method#2 is much more reliable than method#1.
Graphical method can also be more improved by taking average peak points value.
Page 10
Control systems 2015
Laboratory # 2
Lab Description:
In this laboratory we will investigate proportional position feedback control of electric servo
motors. We have used the open loop transfer function of the servo motor that we found in Lab 1.
From this lab we will develop a systematic approach for the addition of proportional feedback
loop to the system. From this feedback loop we will compare the output position signal and the
reference position signal and then make a error signal from which we will adjust the output
signal to match with the reference signal .
2.2)Value Of Kp
We have tuned the position feedback so that the overshoot is approximately 16%.
We recorded the gain kp of the position feedback at which this occurs.
K p = 2.95
Page 11
Control systems 2015
Step respose
1
position
0.5
1
position
0.5
-0.5
4.5 5 5.5 6 6.5
time
Page 12
Control systems 2015
The top graph shows the step response of the system with brake and the bottom graph
shows the step response of the system without brake. From these two graphs we can see that
the system with brake doesn’t have any overshoot and the system without brake have an
overshoot. Because the brakes provide friction, which limits the motor speed and thus it
prevents the system from having an overshoot.
Overshoot(s) 0.14 0
From the above table we can see that without the brake, the step response takes longer
time to settle down.The response without brake will have a higher spin speed thus longer
settling time.
Page 13
Control systems 2015
This procedure involves using FFT (Fast Fourier Transform) to locate the magnitude and
phase as it is done in lab 1.
Page 14
Control systems 2015
1
Magnitude comparison
10
0
10
-1
10
-2
10
-1 0 1 2
10 10 10 10
phase comparison
0
-50
-100
-150
-200
-1 0 1 2
10 10 10 10
From the above figure 2.2 we can see that the estimated model does not match with the data
points at high frequency . This happens when the frequency gets higher, the effect of interference
also gets higher and the system becomes less stable.
Page 15
Control systems 2015
2.7)Root Locus Plot
Root Locus
5
0.86 0.76 0.64 0.5 0.34 0.16
4
0.94
3
2
Imaginary Axis (seconds-1)
0.985
1
9 8 7 6 5 4 3 2 1
0
-1
0.985
-2
-3
0.94
-4
0.86 0.76 0.64 0.5 0.34 0.16
-5
-9 -8 -7 -6 -5 -4 -3 -2 -1 0 1
Real Axis (seconds -1)
From the above plot we found the location of the pole at -4.3500 + 7.530i. We also can found
the particular position feedback gain with the desired pole location by using the rlocfind
function. We found that the KP is to be 2.385. So the error percentage of the measured KP and
Page 16
Control systems 2015
calculated KP is 20%. This error percentage is negligible if we consider the drift and friction.
Root Locus
25
25
0.23 0.16 0.115 0.08 0.05 0.025
20
20
0.36 15
15
10
10
Imaginary Axis (seconds-1)
0.6
5
5
-5
5
0.6
-10
10
-15 0.36 15
-20
20
0.23 0.16 0.115 0.08 0.05 0.025
-25
-6 -5 -4 -3 -2 -1 250 1
Real Axis (seconds -1)
Page 17
Control systems 2015
2.7) Bode Plot
Bode Diagram
20
Magnitude (dB) 0
-20
-40
-60
-80
0
-45
Phase (deg)
-90
-135
-180
-1 0 1 2 3
10 10 10 10 10
Frequency (rad/s)
The above two graphs demonstrates the comparison of the bode diagram of the two transfer
function. The experimentally determined transformer function is represented by the green line
and the theoretically gained transfer function is represented by the blue line. From these two
graphs we can see that these two transfer functions are almost same. In the high frequency zone a
small variation happens.
Conclusion:
In this lab the theoratical and measured results are alomost same.
Page 18
Control systems 2015
Page 19
Control systems 2015
Laboratory # 3
3 .0 Overview
The aim of this labratory is to investigate how the proportional position feedback control of
electric servo motors is influenced by the velocity feedback .
e Kp G(s)
Kv Kt
here ,
Page 20
Control systems 2015
Page 21
Control systems 2015
From those 2 figure we can get Ytacho , Ypos which we need to get Gtacho
Ytacho = 1.02v
(0.03+10.14)
Ypos = = 4.78 v
4.26−2.14
𝒀𝒕𝒂𝒄𝒉𝒐 1.02
Gtacho(s) = = 4.78 = 0.21
𝒀𝒑𝒐𝒔
Page 22
Control systems 2015
G(s)
Kv Kt
Kv = 2
Kt = 0.22
𝟑.𝟕𝟓
Gopen (s) = 𝟎.𝟏𝟏𝐬𝟐 +𝟐.𝟔𝟓𝐬
Page 23
Control systems 2015
Page 24
Control systems 2015
𝜁ʆ
0.16 = 𝜋 ×
√1−𝜁ʆ2
ʆ2 = 0.25
so ʆ = 0.5
3.9 Finding Kp
𝐾𝑝 ×𝐺𝑠
open loop transfer function = 1+ 𝐺 ×𝑆×𝐾
𝑠 𝑡𝑎𝑐ℎ𝑜 ×𝐾𝑣
𝐾𝑝 ×𝐺𝑠
magnitude:|1+ 𝐺 ×𝑆×𝐾 |=1
𝑠 𝑡𝑎𝑐ℎ𝑜 ×𝐾𝑣
|(0.11×((−12.3+22.2𝑖)2 +2.65×(−12.35+22.2𝑖))
Kp = = 17.78
3.75
Experimental kp = 14
Page 25
Control systems 2015
𝟏𝟕.𝟕𝟖−𝟏𝟒
The error percentage = = 𝟐𝟕%
𝟏𝟒
The error is quite high because we have taken approximate value with manual
calculation for Ytacho and Ypos . Also noise in the system makes the error huge .
Page 26
Control systems 2015
Laboratory # 4
4.1 Description:
In this laboratory we design a lead compensator within a required phase margin with then help of
frequency response method. We also have to calculate the variable to get a step signal from 0 to
1 by using Labview software.
Assuming that
𝛼× Kc = K =10
3.75
G( s)
s (0.11s 1)
𝑆+1/𝑇
G c(s) = Kc 𝑆+1/𝛼𝑇
𝛼 = attenuation factor.
𝑇𝑆+1
= 𝛼× Kc 𝛼𝑇𝑆+1
𝑇𝑆+1
Gc(s) = K𝛼𝑇𝑆+1
lim
KV sG ( s )Gc(s)
s0
Page 27
Control systems 2015
Therefore,
lim 10 * 3.75
KV 37.5
s 0 0.11s 1
3.75 37.5
G1 ( s ) KG( s) 10
s (0.11s 1) 0.11s 2 s
Page 28
Control systems 2015
Fig4.1 bode plot
(60-27)= 33 we can add an additional 5 degree to 12 degree to the phase-lead angle required
α=0.17.
[1 sin( 45 )]
180
[1 sin( 45 )]
180
wn=27.5 rad/s
1
wm
T
1
Zeros = T
11.1
1
Poles = 65.3
T
K
KC 58.8
1 K
s sK C C
G( s) K C T T 58.8s 652.68
1 1 s 65.3
s s
T T
Page 29
Control systems 2015
After getting values of a, b and c in the Labview program the step signal can be generated
between 0 and 1.
Page 30
Control systems 2015
Page 31
Control systems 2015
4.6 Simulated Step Response
The below fig4.4 shows us the simulated response of the system. It can be seen that the measured
step response of lead compensator ha become unstable
4.7 Conclusion:
We have learned the step by step procedure to design a lead compensator but in this lab we
gained a practical understanding of designing a lead compensator.
Page 32
Control systems 2015
Laboratory no. 5
servo-motor.
The required value of gain at which the system is critically stable can be
5.2Calculation:
The value of the critical period Pcr has been found by matlab using the
Page 33
Control systems 2015
0.1
0.08
0.06
0.04
0.02
-0.02
-0.04
-0.06
-0.08
-0.1
0 5 10 15 20 25 30
Figure 5.1
Page 34
Control systems 2015
For P:
P= Kp= 0.5×Kcr=0.5×10=5
For PI:
P= Kp= 0.45K×cr=0.451×0=4.5
Ti=Pcr÷ 1.2=0.18÷1.2=0.15
I= Kp÷(Ti×10) = 4.5÷(0.15×10) = 3
For PID:
P = Kp =0.6×Kcr = 0.61×0= 6
Page 35
Control systems 2015
Controller P I D
P 5 0 0
PI 4.5 3 0
The values found for the different controllers are put into Labview and
from the table above the data is collected for the three controllers for
Page 36
Control systems 2015
For each controller step response has been saved and inserted into
MATLAB.
For P: the figure 5.2 given below shows the step response with P
controller
Page 37
Control systems 2015
Figure 5.2
For PI:
The figure 5.3 given below shows the step response with PI controller
Page 38
Control systems 2015
Page 39
Control systems 2015
Figure 5.3
For PID: the figure 5.4 given below shows the step response with PID
controller
Page 40
Control systems 2015
Page 41
Control systems 2015
Figure 5.4
5.5 Simulation:
For P:
1+ Gc G(s) =0 ,Gc=5
3.75
G(s) =
(1+0.11𝑠)𝑠
3.75
1+5∗ =0
1 + 0.11𝑠
18.75
1+ =0
𝑠(1 + 0.11𝑠)
Transfer function,
Page 42
Control systems 2015
0.11𝑠 2 +𝑠+18.75
Tf =
𝑠(1+0.11𝑠)
Step Response
1.4
1.2
0.8
Amplitude
0.6
0.4
0.2
0
0 0.5 1 1.5 2 2.5 3
Time (seconds)
Figure 5.5
For PI:
Page 43
Control systems 2015
3.75
G(s) =
1+0.115𝑠
0.675s + 4.5
Gc =
0.15s
112.5 + 16.875𝑠
1+ =0
1 + 0.11𝑠
(s+6.57)(s+148.66)
Transfer function, Tf =
s(1+0.11s)
The graph for the step response for PI controller is given below:
Page 44
Control systems 2015
Figure 5.6
For PID:
1+ Gc G(s) =0
3.75
G(s) =
1+0.115𝑠
0.135𝑠 2 + 6s + 66.675
Gc =
s
Page 45
Control systems 2015
Transfer function,
0.62𝑠 2 +23.5𝑠+250.01
Tf =
s(1+0.11s)
The graph for the step response for PID controller is given below:
Page 46
Control systems 2015
Figure 5.7
Page 47