SlideShare a Scribd company logo
1 of 28
Download to read offline
Assignment - Hard-Disk Read/Write Head Controller
This case-study demonstrates MATLAB/SIMULINK's usefulness in classical continuous and digital
control system design.
Fig.1 Hard-Disk Drive Schematic
Using Newton’s law, a simple model for the read/write head has the differential equation
iKK
dt
d
C
dt
d
J i 

2
2
where J = inertia of the head assembly
C = viscous damping coefficient of the bearings
K = return spring constant
Ki = motor torque constant
i = input current
 = angular position of the head
The design specifications are that the settling time of the closed-loop system to an angular position
step command should be less than 0.07 s and the response should be reasonably well damped (peak
overshoot < 40%). Note that this means that there is a non-unique compensator design. The control
effort (current) is not limited.
The values are taken as J= 0.01 kg m2
, C = 0.004 Nm/(rad/s), K = 10 Nm/rad and
Ki = 0.05 Nm/mA.
(a) Investigate the open-loop behaviour of the read-write head. Comment on the dynamic
characteristics.
(b) Investigate whether the system can be stabilised by using the following compensator
structures:
1. Proportional control
2. Proportional-Integral control
3. Phase-lag or phase-lead control
For (2), the controller has the structure,
s
asK
sD
)(
)(2

ο€½ .
For (3), the controller has the structure,
)(
)(
)(3
bs
asK
sD


ο€½ .
It can be configured as a phase-lag or phase-lead controller depending on the values of a and b.
The root-locus design method is useful in assessing the control structures and quick sketches can
identify potential compensator designs.
You may use any other control technique or design method that you are familiar with. Note numerical
values for the compensator gain, pole and zero are not required at this stage.
(c) Having established which control structure is the most useful, design the controller such that
the system settles in about 70 ms with a peak overshoot of less than 40%. Note that the steady-
state error problem is to be solved by placing a suitable scaling gain in series with the angular
position reference input path. Test your controller by constructing a SIMULINK model of the
closed-loop system.
Does your compensator design produce the desired settling-time and peak overshoot figures? If not,
suggest reason(s) as to why this is the case.
(d) The peak overshoot problem can be addressed by adding velocity feedback as an inner control
loop as part of the overall closed-loop system. The controller developed in part (c) is still to be
used without further modification. The modification to the closed-loop system is shown in the
diagram below (note that only the inner loop is shown). Determine the value of the derivative
gain, kd,such that the velocity control loop exhibits a criticallydamped response using the root-
locus. Include a plot that shows the new angular response of the read/write head with this inner
loop included.
2
Assignment – Hard-Disk Read/Write Head Controller
Solution a.
Simple model for the read/write head has the differential equation:
𝐽
𝑑2
πœƒ
𝑑𝑑2
+ 𝐢
π‘‘πœƒ
𝑑𝑑
+ πΎπœƒ = 𝐾𝑖 𝑖 (1)
1. Taking Laplace transform of equation (1):
𝐽[𝑠2
πœƒ(𝑠)] + 𝐢[π‘ πœƒ(𝑠)] + πΎπœƒ(𝑠) = 𝐾𝑖 𝐼(𝑠) (2)
Therefore the transfer function from 𝑖 to πœƒ is given by:
πœƒ(𝑠)
𝐼(𝑠)
= 𝐺(𝑠) =
𝐾𝑖
𝐽𝑠2 + 𝐢𝑠 + 𝐾
(3)
Given that the values of variables of the transfer function are 𝐽 = 0.01 π‘˜π‘” π‘š2
, 𝐢 = 0.004 π‘π‘š/(π‘Ÿπ‘Žπ‘‘/𝑠)
𝐾 = 10 π‘π‘š/π‘Ÿπ‘Žπ‘‘ and 𝐾𝑖 = 0.05 π‘π‘š/π‘šπ΄, the transfer function of the simple model is given by:
𝐺(𝑠) =
0.05
0.01𝑠2 + 0.004𝑠 + 10
(4)
Dividing the numerator and denominator of equation (4) by
1
0.01
gives:
𝐺(𝑠) =
5
𝑠2 + 0.4𝑠 + 1000
(5)
∴ 𝐺(𝑠) =
(
1
200) Γ— 1000
𝑠2 + 0.4𝑠 + 100
∴ 𝐺(𝑠) =
𝐴 Γ— 1000
𝑠2 + 0.4𝑠 + 1000
Where A = arbitrary constant
3
2. Computation of Time Domain Parameters:
a) Damping ratio (ΞΆ) and undamped natural frequency (πœ” 𝑛) is computed as follows by comparing
denominator of the transfer function equation (4) with equation (8) which represents standard form of
second order transfer function.
𝐺(𝑠) =
πœ” 𝑛
2
𝑠2 + 2ΞΆΟ‰n 𝑠 + πœ” 𝑛
2
(8)
Undamped frequency (πœ” 𝑛) is computed as:
πœ” 𝑛
2
= 1000
πœ” 𝑛 = √1000 = 31.622 π‘Ÿπ‘Žπ‘‘/𝑠
Damping ratio is calculated as:
2ΞΆΟ‰n = 0.4
2 Γ— ΞΆ Γ— 31.622 = 0.4
∴ ΢ =
0.4
2 Γ— 31.622
= 6.324 Γ— 10βˆ’3
b) %Overshoot (%𝑀 𝑃) is given by the equation:
%𝑀 𝑝 = 100𝑒
βˆ’
πœ‹ΞΆ
√1βˆ’ΞΆ2
(9)
∴ %𝑀 𝑝 = 100𝑒
βˆ’
πœ‹Γ—6.324Γ—10βˆ’3
√(1βˆ’(6.324Γ—10βˆ’3)2)
∴ %𝑀 𝑝 = 100π‘’βˆ’
0.019869
0.99998
∴ %𝑀 𝑝 = 100π‘’βˆ’0.019872
∴ %𝑀 𝑝 = 98.032%
4
c) Settling time is given by the equation (within 2% after 4 time constants):
𝑇𝑠 =
4
ΞΆΟ‰n
(10)
∴ 𝑇𝑠 =
4
6.324 Γ— 10βˆ’3 Γ— 31.622
= 20𝑠
d) Peak time is given by the formula:
𝑇𝑝 =
πœ‹
πœ” π‘›βˆš1 βˆ’ ΞΆ2
(11)
∴ 𝑇𝑝 =
πœ‹
((31.622) Γ— √(1 βˆ’ (6.324 Γ— 10βˆ’3)2))
∴ 𝑇𝑝 = 0.0993𝑠
e) Steady state error of the open-loop system (𝑒𝑠𝑠):
𝐾 𝑝(π‘ƒπ‘œπ‘ π‘–π‘‘π‘–π‘œπ‘› π‘π‘œπ‘›π‘ π‘‘π‘Žπ‘›π‘‘ π‘’π‘Ÿπ‘Ÿπ‘œπ‘Ÿ) = 𝐿𝑑 𝑠→0 𝐺(𝑠)
∴ 𝐾 𝑝 = 𝐿𝑑 𝑠→0[
5
𝑠2 + 0.4𝑠 + 1000
]
∴ 𝐾 𝑝 = [
5
0 + 0 + 1000
]
∴ 𝐾 𝑝 = 5 Γ— 10βˆ’3
∴ 𝑒𝑠𝑠 =
1
1 + 𝐾 𝑝
=
1
1 + (5 Γ— 10βˆ’3)
= 0.995
5
Hand calculations for the time domain parameters can be further verified by the usage of Matlab. Open-loop
loop behavior of the system to be investigated via the code listed in figure 1.
Figure 1: Code to investigate open-loop behavior
Figure 2 shows the computed results after execution of the code listed in figure 1.
Figure 2: Computed results for open-loop system
6
Figure 3 shows the step response of the open-loop system computed using function step.
Figure 3: Step response of the open-loop system
Figure 4 shows the computed poles and zeros of the open-loop of system.
Figure 4: Poles and Zeros of the OLTF
Hence the Read/Write Head OLTF having complex poles.
7
Figure 5 shows the Root locus of the Read/Write Head of open-loop system.
Figure 5: Root Locus of the open-loop system
From the step response in figure 3, it can be observed that the system oscillates which is quite noticeable.
Main reason is that it have very low damping ratio. The poles have very low damping ratio and are near to
the jw-axis. Also the open-loop system have very high %overshoot (%𝑀 𝑝) and the settling time (𝑑 𝑠).
Therefore compensator is required to be designed such that to increase the damping ratio, reduce 𝑑 𝑠, steady
state error 𝑒𝑠𝑠 and %𝑀 𝑝 and also to pull the poles more towards the left hand side of the s- plane in order
to provide stability.
Solution b.
Sometimes open-loop systems have not be able to provide the output. In order for the output to be
determined by the system, it is very necessary for the systems to have feedback. The feedback also have
the ability to sense when something goes wrong in the system and able to detect it. Hence the
controller/compensator will be placed in series with main Read/Write Head in a closed-loop system with a
unity negative feedback. From the root locus diagram in figure 5, it can be noticed that though the complex
poles are in the left hand side of the s – plane diagram, it is very near to the imaginary axis and is likely to
get unstable. Therefore to provide more stability to the system, three types of compensators will be
investigated and is to be chosen for designing of the controller of the given system as follows:
1. Proportional Control: The proportional controller is placed in series with the Read/Write transfer function
obtained in previous section within a closed loop unity negative feedback shown in figure 6.
8
Figure 6: Closed loop system with Proportional controller
Value for Proportional Controller K is chosen as 4. The system implemented in Matlab listed as code in
figure 7.
Figure 7: Implementation of Proportional controller for Read/Write head
Root locus of the system is shown in figure 8 and the step response of the closed loop system with unity
feedback as shown in figure 9.
9
Figure 8: Root locus of the system after P controller implementation
Figure 9: Step Response for closed loop system with Proportional Controller
As it can be noticed from the root locus figures 5 and figure 8, it have neither pushed away from left hand
side of the s – plane nor pulled towards right hand side of the s - plane. Also, it did not have any effect on
the settling time. It did reduce the no. of oscillations for given period of time and the rise time has increased
from 0.0331s to 0.0512s. The %overshoot is approximately the same as the original Read/Write Head. So
the proportional controller hardly improves the stability or the step response of the system. Sometimes, very
10
high gain of the proportional controller may cause the system to go unstable. Therefore a proportional
controller is not suitable for stabilizing the Read/Write head system.
2. Proportional Integral Control: As the name itself suggest, the output is directly proportional to the
integral of the error signal. Its transfer function is given by the following equation:
𝐷2(𝑠) =
𝐾(𝑠 + π‘Ž)
𝑠
(12)
To know whether or not proportional Integral will allow the system to stabilize, following implementation
as code made in Matlab:
Figure 9: Code to investigate PI compensator
Value for K is same as previously implemented system i.e. K = 4 and value for zero i.e. the β€˜a’ variable is
set to 2.
11
Root locus of the system after implementing PI compensator shown in figure 10.
Figure 10: Root locus of the system to investigate PI compensation
Step response of the closed loop system after implementation of PI compensator shown in figure 11.
Figure 11: Step Response for closed loop system to investigate PI compensation
12
From figure 10, it can be observed from the root locus diagram, it is a marginally stable system, as there is
a pole exactly at the origin. There are complex poles and a zero the LHS of the s – plane.
In the closed loop the system, the PI controller allowed the rise time to drastically increase from 0.0512s to
3.8s which will cause the undamped frequency(πœ” 𝑛) to decrease by sufficient amount, allowing poles to be
on the left hand side of the s – plane and also %Mp dropped to 9.7%. But this implementation has caused
the settling time to increase from 19.5s to 68s thus the steady state error for the PI controller implementation
tends to exist for longer time than the system implemented with only Proportional Controller. But from the
root locus diagram, it is observed that when gain K goes to infinity, it is pulled more towards the right hand
side of the s- plane, hence causing the system to go unstable.
2. Phase lag control: In the phase lag control, the poles and zeros are placed very close to each other. And
it’s combination is pretty close to the origin of the s-plane. Therefore, the root loci of the compensated
system are shifted only slightly from original location. Its’ structure is given by the equation:
𝐷3 =
𝐾(𝑠 + π‘Ž)
(𝑠 + 𝑏)
π‘€β„Žπ‘’π‘Ÿπ‘’ π‘Ž > 𝑏
(13)
Value for K and a are set to be the same as of previous implementation of the controllers. Pole is taken as
1 i.e. b = 1. The code for implementation of phase lag controller with the system shown in figure 12.
Figure 12: Code to investigate Phase lag compensator
13
The root locus of the system after the phase lag controller implementation shown in figure 13 and the step
response of the system in figure 14.
Figure 13: Root locus of the system to investigate compensation by phase lag controller
Figure 14: Step response of the system to investigate compensation by phase lag controller
14
The root locus of the system after phase lag implementation is approximately the same as that of the system
that is implemented with proportional integral controller. The increase in rise time 𝑑 π‘Ÿ is not as much as that
of integral controller. Therefore undamped natural frequency πœ” 𝑛 is higher than integral controller that will
cause the poles to pull more towards the right hand side of the s - plane in comparison with the integral
controller as the root loci tends to go to the right side of s-plane. There has been reduction in the settling
time and hence have less steady state error for phase lag controller implemented system than the
proportional integral controller implemented system. The %Mp has raised due to the decrease in settling
time as a trade off.
3. Phase lead control: The phase lead network contributes a positive angle to the root locus criterion and
tends to shift root locus of a system towards the left hand side of the s-plane. Its structure is exactly the
same as of phase lag controller represented by equation 13 but poles are greater than zeros i.e. a<b. The
code implementation of a phase lead controller shown in figure 15. Compensator gain and pole value are
kept same as that of previously implemented controllers. Zero value is changed to 6 i.e. b = 6.
Figure 15: Code to investigate compensation by phase lead controller
Root locus and step response of the system after phase lead controller implementation shown in figure 16
and 17.
15
Figure 16: Root locus of the system after phase lead controller implementation
Figure 17: Step response of the system after phase lead controller implementation
From root locus diagrams, it is observed that the phase lead controller allows the system to add more
stability than the previous implementation of the controllers. As gain K goes to infinity, the poles goes more
towards the left hand side of the s- plane therefore bring the system more into a stable region. Also
comparing from the step response figures 11, 14 and 17, the rise time (𝑑 π‘Ÿ) is lower than that of the phase
lag and PI controller. Therefore, phase lead controller will have higher undamped natural frequency πœ” 𝑛
16
than phase lag and PI controllers. This will cause to move more further away from the right hand side and
pulled more towards the left hand side of the s-plane thus adding stability to the system.
After investigation from the root locus diagrams, it can be concluded phase lead adds the most stability to
the system in comparison than phase lag, PI and P controllers. Hence phase lead compensator will be chosen
for the design which will be done in the next section of this assignment.
Solution 3.
Given that OLTF 𝐺(𝑠) =
5
𝑠2+0.4𝑠+1,000
%𝑀 𝑝 = 31.3% and 𝑑 𝑠 = 0.046𝑠
1. Find the damping ratio (𝜁) from equation:
%Mp = 100𝑒
βˆ’
πœ‹ 𝜁
√(1βˆ’ 𝜁2) (14)
∴ 31.3 = 100𝑒
βˆ’
πœ‹ 𝜁
√(1βˆ’ 𝜁2)
∴ 0.313 = 𝑒
βˆ’
πœ‹ 𝜁
√(1βˆ’ 𝜁2)
Multiplying the equation by ln on both LHS and RHS:
∴ ln 0.313 = ln 𝑒
βˆ’
πœ‹ 𝜁
√(1βˆ’ 𝜁2)
∴ βˆ’1.1616 = βˆ’
πœ‹πœ
√1 βˆ’ 𝜁2
∴ (1.1616)2
(
πœ‹πœ
√1 βˆ’ 𝜁2
)
2
∴ 1.3492 =
πœ‹2 𝜁2
1βˆ’πœ2
17
∴ 0.1367 Γ— (1 βˆ’ 𝜁2
) = 𝜁2
∴ 0.1367 βˆ’ 0.1367𝜁2
= 𝜁2
∴ 𝜁2
+ 0.1367𝜁2
= 0.1367
∴ 1.1367𝜁2
= 0.1367
∴ 𝜁2
=
0.1367
1.1367
= 0.12026
∴ 𝜁 = √0.12026 = 0.34679
2. Undamped natural frequency (πœ” 𝑛):
πœ” 𝑛 =
4
πœπ‘‘ 𝑠
=
4
0.34679 Γ— 0.046
= 250.7469 π‘Ÿπ‘Žπ‘‘/𝑠
3. Dominant poles:
𝑠 𝑑 = βˆ’πœπœ” 𝑛 Β± π‘—πœ” π‘›βˆš1 βˆ’ 𝜁2
𝑠 𝑑 = βˆ’0.34679 Γ— 250.7469 Β± 𝑗250.7469 Γ— (√(1 βˆ’ 0.346792) )
𝑠 𝑑 = βˆ’0.34679 Γ— 250.7469 Β± 𝑗250.7469 Γ— (√(1 βˆ’ 0.346792) )
𝑠 𝑑 = βˆ’86.9565 Β± 𝑗250.7469 Γ— (0.93794 )
𝑠 𝑑 = βˆ’86.9565 Β± 𝑗235.1855
Note: Diagram and more workings are done in the attached sheet paper in the end of the assignment.
18
4. Angle of departure:
πœƒ 𝑝1 = 180 π‘œ
βˆ’ πœƒ1
β€²
πœƒ 𝑝1 = 180 π‘œ
βˆ’ tanβˆ’1
(
203.5635
86.7565
)
πœƒ 𝑝1 = 113.08 π‘œ
πœƒ 𝑝2 = 180 π‘œ
βˆ’ πœƒ2
β€²
πœƒ 𝑝2 = 180 π‘œ
βˆ’ tanβˆ’1
(
266.8075
86.7565
)
πœƒ 𝑝2 = 108.01 π‘œ
According to the angle criteria:
180 π‘œ
βˆ’ (πœƒ 𝑝1 + πœƒ 𝑝2 + πœƒ 𝑏) + πœƒ π‘Ž = 0
Let πœƒ π‘Ž = 600
πœƒ 𝑏 = 180 π‘œ
βˆ’ 113.08 π‘œ
βˆ’ 108.01 π‘œ
+ 60 π‘œ
πœƒ 𝑏 = 18.91 π‘œ
To find a:
tan πœƒ π‘Ž =
235.1855
π‘₯
∴ π‘₯ =
235.1855
tan 60 π‘œ
= 135.784
∴ π‘Ž = 135.784 + 86.9565 = 222.74
To find b:
tan πœƒ 𝑏 =
235.1855
𝑦
19
𝑦 =
235.1855
tan 18.91 π‘œ
= 686.530
𝑏 = 686.530 + 86.9565 = 773.486
From magnitude criteria:
5𝐾𝑐 𝑙4
𝑙1 𝑙2 𝑙3
= 1
𝑙1 = √(86.75652 + 203.56352) = 221.280
𝑙2 = √(86.75652 + 266.80752) = 280.558
𝑙4 = √(135.7842 + 235.18552) = 271.569
𝑙3 = √(686.5302 + 235.18552) = 725.697
𝐾𝑐 =
𝑙1 𝑙2 𝑙3
5𝑙4
=
221.280 Γ— 280.558 Γ— 725.697
5 Γ— 271.569
𝐾𝑐 = 33,179.46
Compensator or controller transfer function = 𝐺𝑐(𝑠) =
𝐾𝑐(𝑠+π‘Ž)
(𝑠+𝑏)
= 33,179.46 [
𝑠+222.74
𝑠+773.486
]
Manually computed variables of the compensator are then directly used in Matlab for proper phase lead
compensated closed loop system as shown in figure 18.
20
Figure 18: Code listing for the final CLTF
Hence, compensated OLTF of the system is given as:
𝑂𝐿𝑇𝐹 = 𝐺𝑐(𝑠)𝐺(𝑠) =
𝐾𝑐(𝑠 + π‘Ž)
(𝑠 + 𝑏)
[
5
𝑠2 + 0.4𝑠 + 1000
]
∴ 𝑂𝐿𝑇𝐹 = 𝐺𝑐(𝑠)𝐺(𝑠) = 33,179.46 Γ—
(𝑠 + 222.74)
(𝑠 + 773.486)
Γ— [
5
𝑠2 + 0.4𝑠 + 1000
]
∴ 𝐺𝑐(𝑠)𝐺(𝑠) =
165,897𝑠 + 36,952,120
𝑠3 + 773.9𝑠2 + 1,390𝑠 + 773,486
21
Hence CLTF after the compensation of the system as given as (Computed from Matlab directly):
𝐢𝐿𝑇𝐹 =
165,897𝑠 + 36,952,120
𝑠3 + 773.9𝑠2 + 167,200𝑠 + 37,730,000
The root locus of the compensated OLTF is shown in figure 19.
Figure 19: Root locus of compensated system by Phase Lead controller
Time domain parameters computed via Matlab for the closed loop transfer function (CLTF) after the
compensation of the system listed in figure 20.
Figure 20: Computed Time domain parameters of CLTF after compensation
22
The step response of the CLTF after designing followed by implementation of the compensator in the
forward path of the system shown in figure 20.
Figure 21: Step response of the closed loop system after compensation
The designed controller is also tested by modelling it in SIMULINK. Therefore model in SIMULINK is
created for the closed loop compensated system as shown in figure 22.
Figure 22: Simulink model of the compensated closed loop system
Firstly, the step time of the step input has to be changed from 1 to 0.0001s for the system to exhibit transient
response. Simulation for the system is run for 0.07s. The step response of the Simulink model for the
compensated CLTF obtained from scope shown in figure 17.
23
Figure 23: Step response obtained from Simulink model of compensated CLTF
From the step response of the compensated closed loop system both in figure 21(step response obtained via
Matlab) and figure 22(obtained via simulation from Scope), it can be notice there is still steady state error.
In order to reduce steady state error of the CLTF system, suitable scaling gain is to be place in series with
the step input with the angular position reference input. Since step input will be used as input, sum of unity
gain and 𝑒𝑠𝑠 value will be used as suitable gain 𝐾𝑒. Steady state error after compensation of the system is
computed as follows:
Since input will be used as step input, position error constant (𝐾 𝑝) is calculated:
𝐾 𝑝 = 𝐿𝑑 𝑠→0 𝑂𝐿𝑇𝐹
𝐾 𝑝 = 𝐿𝑑 𝑠→0(33,179.46 Γ—
(𝑠 + 222.74)
(𝑠 + 773.486)
Γ— [
5
𝑠2 + 0.4𝑠 + 1000
])
∴ 𝐾 𝑝 = 𝐿𝑑 𝑠→0(33,179.46 Γ—
(0 + 222.74)
(0 + 773.486)
Γ— [
5
0 + 0 + 1000
])
∴ 𝐾 𝑝 = 47.77
∴ 𝑒𝑠𝑠 =
1
1 + 47.77
= 0.0205
Hence value of 𝐾𝑒 computed as:
𝐾𝑒 = 1 + 0.0205 = 1.0205
24
The model of the compensated system after addition of the suitable gain 𝐾𝑒 in series to the angular position
to input path, that allowed to reduce steady state error shown in figure 24 and its step response shown in
figure 25.
Figure 24: Model of the system after reduction of steady state error
Figure 25: Step response of the system after elimination of steady state error
Initial chosen value for settling time of the closed loop system was 𝑑 𝑠 = 0.046𝑠. After completion of
designing the controller, from the results of stepinfo command applied on CLTF, the settling time is
obtained as 𝑑 𝑠 = 0.0429𝑠. There is very small difference between the initial and final settling times. Also
it can be observed from figures 15 and 17, from these step responses the settling time 𝑑 𝑠 is 0.0429s. Hence
approximately desired settling time 𝑑 𝑠 is obtained. The steady error which initially existed in the
compensated closed loop system is also successfully reduced by addition of the suitable gain scale as it can
be observed from the step response in figure 25 by comparing it with step response in figure 23. Steady
state error at 0.05s in figure 23 is approximately 0.021 and in figure 25 it is approximately 0. But the design
did not meet the %overshoot requirement as theoretically chosen %𝑀 𝑝 = 31.3% and the output step
25
response %𝑀 𝑝 = 51.0363%. The %overshoot is high due to the tradeoff made by the controller, preferring
the settling time (𝑑 𝑠) over the %overshoot. Since low settling time 𝑑 𝑠 is required, it will cause the damping
ratio to be less. This will cause %overshoot to be more. It is not easy task to get perfect balance between
these two time domain parameters though numerous designs can be implemented to overcome the %𝑀 𝑝
issue. This problem will be addressed and overcome in the next section of the assignment.
Solution d.
The code implemented to obtain root locus for the new open-loop system as per the given question shown
in figure 26.
Figure 26: Code to generate root locus for new OLTF
The root locus for new open-loop system shown in figure 27.
26
Figure 27: Root locus of new open-loop system
For the velocity control loop to exhibit a critically damped response, since condition for it has to be the
damping ratio is 1, pole = -1 is selected at the root locus diagram in order to obtain the value for derivative
gain 𝐾 𝑑. Hence 𝐾 𝑑 = 198 for velocity control loop to exhibit critically damped response. Simulink model
for the new system that includes velocity control loop that will overcome the peak overshoot issue is shown
in figure 28.
Figure 28: New model of the system where peak overshoot issue is eliminated
The critically damped transient response exhibited by the new system is observed from the graph obtained
27
from scope is shown in figure 29. It is the new angular response of the read/write head with the inner loop
included. It can be noticed from the figure 29, peak overshoot issue is completely nullified.
Figure 29: Critically damped transient response exhibited by the new system.

More Related Content

What's hot

Tuning of pid
Tuning of pidTuning of pid
Tuning of pidAnkuseth
Β 
PID controller, P, I and D control Comparison PI, PD and PID Controller P, I,...
PID controller, P, I and D control Comparison PI, PD and PID Controller P, I,...PID controller, P, I and D control Comparison PI, PD and PID Controller P, I,...
PID controller, P, I and D control Comparison PI, PD and PID Controller P, I,...Waqas Afzal
Β 
state space representation,State Space Model Controllability and Observabilit...
state space representation,State Space Model Controllability and Observabilit...state space representation,State Space Model Controllability and Observabilit...
state space representation,State Space Model Controllability and Observabilit...Waqas Afzal
Β 
Dcs lec02 - z-transform
Dcs   lec02 - z-transformDcs   lec02 - z-transform
Dcs lec02 - z-transformAmr E. Mohamed
Β 
control engineering revision
control engineering revisioncontrol engineering revision
control engineering revisionragu nath
Β 
Control system stability routh hurwitz criterion
Control system stability routh hurwitz criterionControl system stability routh hurwitz criterion
Control system stability routh hurwitz criterionNilesh Bhaskarrao Bahadure
Β 
Modern Control - Lec 02 - Mathematical Modeling of Systems
Modern Control - Lec 02 - Mathematical Modeling of SystemsModern Control - Lec 02 - Mathematical Modeling of Systems
Modern Control - Lec 02 - Mathematical Modeling of SystemsAmr E. Mohamed
Β 
Time Response Analysis
Time Response AnalysisTime Response Analysis
Time Response AnalysisManthan Kanani
Β 
Modern Control System (BE)
Modern Control System (BE)Modern Control System (BE)
Modern Control System (BE)PRABHAHARAN429
Β 
Time response and analysis kaushal shah
Time response and analysis kaushal shahTime response and analysis kaushal shah
Time response and analysis kaushal shahKaushal Shah
Β 
Signals and systems-2
Signals and systems-2Signals and systems-2
Signals and systems-2sarun soman
Β 
Lecture 19 mathematical modeling of pneumatic and hydraulic systems
Lecture 19   mathematical modeling of pneumatic and hydraulic systemsLecture 19   mathematical modeling of pneumatic and hydraulic systems
Lecture 19 mathematical modeling of pneumatic and hydraulic systemsManipal Institute of Technology
Β 
Oro551 res- unit 1 - extra terrestrial and terrestrial solar radiation
Oro551   res- unit 1 - extra terrestrial and terrestrial solar radiationOro551   res- unit 1 - extra terrestrial and terrestrial solar radiation
Oro551 res- unit 1 - extra terrestrial and terrestrial solar radiationkarthi keyan
Β 
Lti and z transform
Lti and z transformLti and z transform
Lti and z transformpranvendra29
Β 

What's hot (20)

Tuning of pid
Tuning of pidTuning of pid
Tuning of pid
Β 
PID controller, P, I and D control Comparison PI, PD and PID Controller P, I,...
PID controller, P, I and D control Comparison PI, PD and PID Controller P, I,...PID controller, P, I and D control Comparison PI, PD and PID Controller P, I,...
PID controller, P, I and D control Comparison PI, PD and PID Controller P, I,...
Β 
state space representation,State Space Model Controllability and Observabilit...
state space representation,State Space Model Controllability and Observabilit...state space representation,State Space Model Controllability and Observabilit...
state space representation,State Space Model Controllability and Observabilit...
Β 
Dcs lec02 - z-transform
Dcs   lec02 - z-transformDcs   lec02 - z-transform
Dcs lec02 - z-transform
Β 
pid controller
 pid controller pid controller
pid controller
Β 
control engineering revision
control engineering revisioncontrol engineering revision
control engineering revision
Β 
Control system stability routh hurwitz criterion
Control system stability routh hurwitz criterionControl system stability routh hurwitz criterion
Control system stability routh hurwitz criterion
Β 
Modern Control - Lec 02 - Mathematical Modeling of Systems
Modern Control - Lec 02 - Mathematical Modeling of SystemsModern Control - Lec 02 - Mathematical Modeling of Systems
Modern Control - Lec 02 - Mathematical Modeling of Systems
Β 
Time Response Analysis
Time Response AnalysisTime Response Analysis
Time Response Analysis
Β 
Modern Control System (BE)
Modern Control System (BE)Modern Control System (BE)
Modern Control System (BE)
Β 
GAUSS ELIMINATION METHOD
 GAUSS ELIMINATION METHOD GAUSS ELIMINATION METHOD
GAUSS ELIMINATION METHOD
Β 
Time response and analysis kaushal shah
Time response and analysis kaushal shahTime response and analysis kaushal shah
Time response and analysis kaushal shah
Β 
Signals and systems-2
Signals and systems-2Signals and systems-2
Signals and systems-2
Β 
Kalman Filter
 Kalman Filter    Kalman Filter
Kalman Filter
Β 
Iv unit-rule rule base
Iv unit-rule rule baseIv unit-rule rule base
Iv unit-rule rule base
Β 
Lecture 19 mathematical modeling of pneumatic and hydraulic systems
Lecture 19   mathematical modeling of pneumatic and hydraulic systemsLecture 19   mathematical modeling of pneumatic and hydraulic systems
Lecture 19 mathematical modeling of pneumatic and hydraulic systems
Β 
Matlab ppt
Matlab pptMatlab ppt
Matlab ppt
Β 
Oro551 res- unit 1 - extra terrestrial and terrestrial solar radiation
Oro551   res- unit 1 - extra terrestrial and terrestrial solar radiationOro551   res- unit 1 - extra terrestrial and terrestrial solar radiation
Oro551 res- unit 1 - extra terrestrial and terrestrial solar radiation
Β 
Lti and z transform
Lti and z transformLti and z transform
Lti and z transform
Β 
Solar thermal system
Solar thermal systemSolar thermal system
Solar thermal system
Β 

Similar to Linear Control Hard-Disk Read/Write Controller Assignment

Modeling, simulation and control of a robotic arm
Modeling, simulation and control of a robotic armModeling, simulation and control of a robotic arm
Modeling, simulation and control of a robotic armcesarportilla8
Β 
Raymond.Brunkow-Project-EEL-3657-Sp15
Raymond.Brunkow-Project-EEL-3657-Sp15Raymond.Brunkow-Project-EEL-3657-Sp15
Raymond.Brunkow-Project-EEL-3657-Sp15Raymond Brunkow
Β 
Lead-lag controller
Lead-lag controllerLead-lag controller
Lead-lag controllerChiramathe Nami
Β 
Project Presentation
Project PresentationProject Presentation
Project PresentationTabish Fawad
Β 
Time response of first order systems and second order systems
Time response of first order systems and second order systemsTime response of first order systems and second order systems
Time response of first order systems and second order systemsNANDHAKUMARA10
Β 
Optimal and pid controller for controlling camera’s position in unmanned aeri...
Optimal and pid controller for controlling camera’s position in unmanned aeri...Optimal and pid controller for controlling camera’s position in unmanned aeri...
Optimal and pid controller for controlling camera’s position in unmanned aeri...Zac Darcy
Β 
DC Motor Modelling & Design Fullstate Feedback Controller
DC Motor Modelling & Design Fullstate Feedback Controller DC Motor Modelling & Design Fullstate Feedback Controller
DC Motor Modelling & Design Fullstate Feedback Controller Idabagus Mahartana
Β 
179529572-ROOT-LOCUS-Control-system-Design-ppt.ppt
179529572-ROOT-LOCUS-Control-system-Design-ppt.ppt179529572-ROOT-LOCUS-Control-system-Design-ppt.ppt
179529572-ROOT-LOCUS-Control-system-Design-ppt.pptTaraGonzales5
Β 
PID Tuning using Ziegler Nicholas - MATLAB Approach
PID Tuning using Ziegler Nicholas - MATLAB ApproachPID Tuning using Ziegler Nicholas - MATLAB Approach
PID Tuning using Ziegler Nicholas - MATLAB ApproachWaleed El-Badry
Β 
Ece 415 control systems, fall 2021 computer project 1
Ece 415 control systems, fall 2021 computer project  1 Ece 415 control systems, fall 2021 computer project  1
Ece 415 control systems, fall 2021 computer project 1 ronak56
Β 
PID controller using rapid control prototyping techniques
PID controller using rapid control prototyping techniquesPID controller using rapid control prototyping techniques
PID controller using rapid control prototyping techniquesIJECEIAES
Β 
Optimal and Pid Controller for Controlling Camera's Position InUnmanned Aeria...
Optimal and Pid Controller for Controlling Camera's Position InUnmanned Aeria...Optimal and Pid Controller for Controlling Camera's Position InUnmanned Aeria...
Optimal and Pid Controller for Controlling Camera's Position InUnmanned Aeria...Zac Darcy
Β 
Design and Implementation of Sliding Mode Controller using Coefficient Diagra...
Design and Implementation of Sliding Mode Controller using Coefficient Diagra...Design and Implementation of Sliding Mode Controller using Coefficient Diagra...
Design and Implementation of Sliding Mode Controller using Coefficient Diagra...IOSR Journals
Β 
Comprehensive Approach Towards Modelling and Simulation of Single Area Power...
Comprehensive Approach Towards Modelling and Simulation of  Single Area Power...Comprehensive Approach Towards Modelling and Simulation of  Single Area Power...
Comprehensive Approach Towards Modelling and Simulation of Single Area Power...IRJET Journal
Β 

Similar to Linear Control Hard-Disk Read/Write Controller Assignment (20)

Modeling, simulation and control of a robotic arm
Modeling, simulation and control of a robotic armModeling, simulation and control of a robotic arm
Modeling, simulation and control of a robotic arm
Β 
Raymond.Brunkow-Project-EEL-3657-Sp15
Raymond.Brunkow-Project-EEL-3657-Sp15Raymond.Brunkow-Project-EEL-3657-Sp15
Raymond.Brunkow-Project-EEL-3657-Sp15
Β 
Chapter 10-pid-1
Chapter 10-pid-1Chapter 10-pid-1
Chapter 10-pid-1
Β 
Lead-lag controller
Lead-lag controllerLead-lag controller
Lead-lag controller
Β 
Project Presentation
Project PresentationProject Presentation
Project Presentation
Β 
Chapter10
Chapter10Chapter10
Chapter10
Β 
Time response of first order systems and second order systems
Time response of first order systems and second order systemsTime response of first order systems and second order systems
Time response of first order systems and second order systems
Β 
Optimal and pid controller for controlling camera’s position in unmanned aeri...
Optimal and pid controller for controlling camera’s position in unmanned aeri...Optimal and pid controller for controlling camera’s position in unmanned aeri...
Optimal and pid controller for controlling camera’s position in unmanned aeri...
Β 
DC Motor Modelling & Design Fullstate Feedback Controller
DC Motor Modelling & Design Fullstate Feedback Controller DC Motor Modelling & Design Fullstate Feedback Controller
DC Motor Modelling & Design Fullstate Feedback Controller
Β 
179529572-ROOT-LOCUS-Control-system-Design-ppt.ppt
179529572-ROOT-LOCUS-Control-system-Design-ppt.ppt179529572-ROOT-LOCUS-Control-system-Design-ppt.ppt
179529572-ROOT-LOCUS-Control-system-Design-ppt.ppt
Β 
PID Tuning using Ziegler Nicholas - MATLAB Approach
PID Tuning using Ziegler Nicholas - MATLAB ApproachPID Tuning using Ziegler Nicholas - MATLAB Approach
PID Tuning using Ziegler Nicholas - MATLAB Approach
Β 
Ece 415 control systems, fall 2021 computer project 1
Ece 415 control systems, fall 2021 computer project  1 Ece 415 control systems, fall 2021 computer project  1
Ece 415 control systems, fall 2021 computer project 1
Β 
Tuning of PID, SVFB and LQ Controllers Using Genetic Algorithms
Tuning of PID, SVFB and LQ Controllers Using Genetic AlgorithmsTuning of PID, SVFB and LQ Controllers Using Genetic Algorithms
Tuning of PID, SVFB and LQ Controllers Using Genetic Algorithms
Β 
PID controller using rapid control prototyping techniques
PID controller using rapid control prototyping techniquesPID controller using rapid control prototyping techniques
PID controller using rapid control prototyping techniques
Β 
Optimal and Pid Controller for Controlling Camera's Position InUnmanned Aeria...
Optimal and Pid Controller for Controlling Camera's Position InUnmanned Aeria...Optimal and Pid Controller for Controlling Camera's Position InUnmanned Aeria...
Optimal and Pid Controller for Controlling Camera's Position InUnmanned Aeria...
Β 
493 297
493 297493 297
493 297
Β 
G010525868
G010525868G010525868
G010525868
Β 
air craft Pitch
air craft Pitchair craft Pitch
air craft Pitch
Β 
Design and Implementation of Sliding Mode Controller using Coefficient Diagra...
Design and Implementation of Sliding Mode Controller using Coefficient Diagra...Design and Implementation of Sliding Mode Controller using Coefficient Diagra...
Design and Implementation of Sliding Mode Controller using Coefficient Diagra...
Β 
Comprehensive Approach Towards Modelling and Simulation of Single Area Power...
Comprehensive Approach Towards Modelling and Simulation of  Single Area Power...Comprehensive Approach Towards Modelling and Simulation of  Single Area Power...
Comprehensive Approach Towards Modelling and Simulation of Single Area Power...
Β 

More from Isham Rashik

Text Preprocessing - 1
Text Preprocessing - 1Text Preprocessing - 1
Text Preprocessing - 1Isham Rashik
Β 
9608 Computer Science Cambridge International AS level Pre-Release May June p...
9608 Computer Science Cambridge International AS level Pre-Release May June p...9608 Computer Science Cambridge International AS level Pre-Release May June p...
9608 Computer Science Cambridge International AS level Pre-Release May June p...Isham Rashik
Β 
Fundamentals of Cryptography - Caesar Cipher - Python
Fundamentals of Cryptography - Caesar Cipher - Python Fundamentals of Cryptography - Caesar Cipher - Python
Fundamentals of Cryptography - Caesar Cipher - Python Isham Rashik
Β 
Python 3.x Dictionaries and Sets Cheatsheet
Python 3.x Dictionaries and Sets CheatsheetPython 3.x Dictionaries and Sets Cheatsheet
Python 3.x Dictionaries and Sets CheatsheetIsham Rashik
Β 
HackerRank Repeated String Problem
HackerRank Repeated String ProblemHackerRank Repeated String Problem
HackerRank Repeated String ProblemIsham Rashik
Β 
Operations Management - BSB INC - Case Study
Operations Management - BSB INC - Case StudyOperations Management - BSB INC - Case Study
Operations Management - BSB INC - Case StudyIsham Rashik
Β 
Corporate Finance - Disney Sea Park Project
Corporate Finance - Disney Sea Park ProjectCorporate Finance - Disney Sea Park Project
Corporate Finance - Disney Sea Park ProjectIsham Rashik
Β 
Questionnaire - Why women entrepreneurs are happier than men?
Questionnaire - Why women entrepreneurs are happier than men?Questionnaire - Why women entrepreneurs are happier than men?
Questionnaire - Why women entrepreneurs are happier than men?Isham Rashik
Β 
Human Resource Management - Different Interview Techniques
Human Resource Management - Different Interview TechniquesHuman Resource Management - Different Interview Techniques
Human Resource Management - Different Interview TechniquesIsham Rashik
Β 
Python 3.x File Object Manipulation Cheatsheet
Python 3.x File Object Manipulation CheatsheetPython 3.x File Object Manipulation Cheatsheet
Python 3.x File Object Manipulation CheatsheetIsham Rashik
Β 
Android Application Development - Level 3
Android Application Development - Level 3Android Application Development - Level 3
Android Application Development - Level 3Isham Rashik
Β 
Android Application Development - Level 2
Android Application Development - Level 2Android Application Development - Level 2
Android Application Development - Level 2Isham Rashik
Β 
Android Application Development - Level 1
Android Application Development - Level 1Android Application Development - Level 1
Android Application Development - Level 1Isham Rashik
Β 
Managerial Skills Presentation - Elon Musk
Managerial Skills Presentation - Elon MuskManagerial Skills Presentation - Elon Musk
Managerial Skills Presentation - Elon MuskIsham Rashik
Β 
Operations Management - Business Process Reengineering - Example
Operations Management - Business Process Reengineering - ExampleOperations Management - Business Process Reengineering - Example
Operations Management - Business Process Reengineering - ExampleIsham Rashik
Β 
Lighting Design - Theory and Calculations
Lighting Design - Theory and CalculationsLighting Design - Theory and Calculations
Lighting Design - Theory and CalculationsIsham Rashik
Β 
Transformers and Induction Motors
Transformers and Induction MotorsTransformers and Induction Motors
Transformers and Induction MotorsIsham Rashik
Β 
Three phase balanced load circuits and synchronous generators
Three phase balanced load circuits and synchronous generatorsThree phase balanced load circuits and synchronous generators
Three phase balanced load circuits and synchronous generatorsIsham Rashik
Β 
Circuit Breakers for Low Voltage Applications
Circuit Breakers for Low Voltage ApplicationsCircuit Breakers for Low Voltage Applications
Circuit Breakers for Low Voltage ApplicationsIsham Rashik
Β 
Linux Commands - Cheat Sheet
Linux Commands - Cheat Sheet Linux Commands - Cheat Sheet
Linux Commands - Cheat Sheet Isham Rashik
Β 

More from Isham Rashik (20)

Text Preprocessing - 1
Text Preprocessing - 1Text Preprocessing - 1
Text Preprocessing - 1
Β 
9608 Computer Science Cambridge International AS level Pre-Release May June p...
9608 Computer Science Cambridge International AS level Pre-Release May June p...9608 Computer Science Cambridge International AS level Pre-Release May June p...
9608 Computer Science Cambridge International AS level Pre-Release May June p...
Β 
Fundamentals of Cryptography - Caesar Cipher - Python
Fundamentals of Cryptography - Caesar Cipher - Python Fundamentals of Cryptography - Caesar Cipher - Python
Fundamentals of Cryptography - Caesar Cipher - Python
Β 
Python 3.x Dictionaries and Sets Cheatsheet
Python 3.x Dictionaries and Sets CheatsheetPython 3.x Dictionaries and Sets Cheatsheet
Python 3.x Dictionaries and Sets Cheatsheet
Β 
HackerRank Repeated String Problem
HackerRank Repeated String ProblemHackerRank Repeated String Problem
HackerRank Repeated String Problem
Β 
Operations Management - BSB INC - Case Study
Operations Management - BSB INC - Case StudyOperations Management - BSB INC - Case Study
Operations Management - BSB INC - Case Study
Β 
Corporate Finance - Disney Sea Park Project
Corporate Finance - Disney Sea Park ProjectCorporate Finance - Disney Sea Park Project
Corporate Finance - Disney Sea Park Project
Β 
Questionnaire - Why women entrepreneurs are happier than men?
Questionnaire - Why women entrepreneurs are happier than men?Questionnaire - Why women entrepreneurs are happier than men?
Questionnaire - Why women entrepreneurs are happier than men?
Β 
Human Resource Management - Different Interview Techniques
Human Resource Management - Different Interview TechniquesHuman Resource Management - Different Interview Techniques
Human Resource Management - Different Interview Techniques
Β 
Python 3.x File Object Manipulation Cheatsheet
Python 3.x File Object Manipulation CheatsheetPython 3.x File Object Manipulation Cheatsheet
Python 3.x File Object Manipulation Cheatsheet
Β 
Android Application Development - Level 3
Android Application Development - Level 3Android Application Development - Level 3
Android Application Development - Level 3
Β 
Android Application Development - Level 2
Android Application Development - Level 2Android Application Development - Level 2
Android Application Development - Level 2
Β 
Android Application Development - Level 1
Android Application Development - Level 1Android Application Development - Level 1
Android Application Development - Level 1
Β 
Managerial Skills Presentation - Elon Musk
Managerial Skills Presentation - Elon MuskManagerial Skills Presentation - Elon Musk
Managerial Skills Presentation - Elon Musk
Β 
Operations Management - Business Process Reengineering - Example
Operations Management - Business Process Reengineering - ExampleOperations Management - Business Process Reengineering - Example
Operations Management - Business Process Reengineering - Example
Β 
Lighting Design - Theory and Calculations
Lighting Design - Theory and CalculationsLighting Design - Theory and Calculations
Lighting Design - Theory and Calculations
Β 
Transformers and Induction Motors
Transformers and Induction MotorsTransformers and Induction Motors
Transformers and Induction Motors
Β 
Three phase balanced load circuits and synchronous generators
Three phase balanced load circuits and synchronous generatorsThree phase balanced load circuits and synchronous generators
Three phase balanced load circuits and synchronous generators
Β 
Circuit Breakers for Low Voltage Applications
Circuit Breakers for Low Voltage ApplicationsCircuit Breakers for Low Voltage Applications
Circuit Breakers for Low Voltage Applications
Β 
Linux Commands - Cheat Sheet
Linux Commands - Cheat Sheet Linux Commands - Cheat Sheet
Linux Commands - Cheat Sheet
Β 

Recently uploaded

High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escortsranjana rawat
Β 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSKurinjimalarL3
Β 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSSIVASHANKAR N
Β 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxAsutosh Ranjan
Β 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
Β 
IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024Mark Billinghurst
Β 
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...ZTE
Β 
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).pptssuser5c9d4b1
Β 
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)Suman Mia
Β 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
Β 
Analog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog ConverterAnalog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog ConverterAbhinavSharma374939
Β 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxupamatechverse
Β 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxupamatechverse
Β 
Model Call Girl in Narela Delhi reach out to us at πŸ”8264348440πŸ”
Model Call Girl in Narela Delhi reach out to us at πŸ”8264348440πŸ”Model Call Girl in Narela Delhi reach out to us at πŸ”8264348440πŸ”
Model Call Girl in Narela Delhi reach out to us at πŸ”8264348440πŸ”soniya singh
Β 
Biology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptxBiology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptxDeepakSakkari2
Β 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escortsranjana rawat
Β 
Study on Air-Water & Water-Water Heat Exchange in a Finned ο»ΏTube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned ο»ΏTube ExchangerStudy on Air-Water & Water-Water Heat Exchange in a Finned ο»ΏTube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned ο»ΏTube ExchangerAnamika Sarkar
Β 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile servicerehmti665
Β 
High Profile Call Girls Nashik Megha 7001305949 Independent Escort Service Na...
High Profile Call Girls Nashik Megha 7001305949 Independent Escort Service Na...High Profile Call Girls Nashik Megha 7001305949 Independent Escort Service Na...
High Profile Call Girls Nashik Megha 7001305949 Independent Escort Service Na...Call Girls in Nagpur High Profile
Β 

Recently uploaded (20)

High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
Β 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
Β 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
Β 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptx
Β 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Β 
IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024
Β 
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
Β 
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
Β 
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
Β 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Β 
Analog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog ConverterAnalog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog Converter
Β 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptx
Β 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptx
Β 
Model Call Girl in Narela Delhi reach out to us at πŸ”8264348440πŸ”
Model Call Girl in Narela Delhi reach out to us at πŸ”8264348440πŸ”Model Call Girl in Narela Delhi reach out to us at πŸ”8264348440πŸ”
Model Call Girl in Narela Delhi reach out to us at πŸ”8264348440πŸ”
Β 
Biology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptxBiology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptx
Β 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
Β 
Study on Air-Water & Water-Water Heat Exchange in a Finned ο»ΏTube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned ο»ΏTube ExchangerStudy on Air-Water & Water-Water Heat Exchange in a Finned ο»ΏTube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned ο»ΏTube Exchanger
Β 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Β 
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
Β 
High Profile Call Girls Nashik Megha 7001305949 Independent Escort Service Na...
High Profile Call Girls Nashik Megha 7001305949 Independent Escort Service Na...High Profile Call Girls Nashik Megha 7001305949 Independent Escort Service Na...
High Profile Call Girls Nashik Megha 7001305949 Independent Escort Service Na...
Β 

Linear Control Hard-Disk Read/Write Controller Assignment

  • 1. Assignment - Hard-Disk Read/Write Head Controller This case-study demonstrates MATLAB/SIMULINK's usefulness in classical continuous and digital control system design. Fig.1 Hard-Disk Drive Schematic Using Newton’s law, a simple model for the read/write head has the differential equation iKK dt d C dt d J i   2 2 where J = inertia of the head assembly C = viscous damping coefficient of the bearings K = return spring constant Ki = motor torque constant i = input current  = angular position of the head The design specifications are that the settling time of the closed-loop system to an angular position step command should be less than 0.07 s and the response should be reasonably well damped (peak overshoot < 40%). Note that this means that there is a non-unique compensator design. The control effort (current) is not limited. The values are taken as J= 0.01 kg m2 , C = 0.004 Nm/(rad/s), K = 10 Nm/rad and Ki = 0.05 Nm/mA. (a) Investigate the open-loop behaviour of the read-write head. Comment on the dynamic characteristics. (b) Investigate whether the system can be stabilised by using the following compensator structures: 1. Proportional control 2. Proportional-Integral control 3. Phase-lag or phase-lead control
  • 2. For (2), the controller has the structure, s asK sD )( )(2  ο€½ . For (3), the controller has the structure, )( )( )(3 bs asK sD   ο€½ . It can be configured as a phase-lag or phase-lead controller depending on the values of a and b. The root-locus design method is useful in assessing the control structures and quick sketches can identify potential compensator designs. You may use any other control technique or design method that you are familiar with. Note numerical values for the compensator gain, pole and zero are not required at this stage. (c) Having established which control structure is the most useful, design the controller such that the system settles in about 70 ms with a peak overshoot of less than 40%. Note that the steady- state error problem is to be solved by placing a suitable scaling gain in series with the angular position reference input path. Test your controller by constructing a SIMULINK model of the closed-loop system. Does your compensator design produce the desired settling-time and peak overshoot figures? If not, suggest reason(s) as to why this is the case. (d) The peak overshoot problem can be addressed by adding velocity feedback as an inner control loop as part of the overall closed-loop system. The controller developed in part (c) is still to be used without further modification. The modification to the closed-loop system is shown in the diagram below (note that only the inner loop is shown). Determine the value of the derivative gain, kd,such that the velocity control loop exhibits a criticallydamped response using the root- locus. Include a plot that shows the new angular response of the read/write head with this inner loop included.
  • 3. 2 Assignment – Hard-Disk Read/Write Head Controller Solution a. Simple model for the read/write head has the differential equation: 𝐽 𝑑2 πœƒ 𝑑𝑑2 + 𝐢 π‘‘πœƒ 𝑑𝑑 + πΎπœƒ = 𝐾𝑖 𝑖 (1) 1. Taking Laplace transform of equation (1): 𝐽[𝑠2 πœƒ(𝑠)] + 𝐢[π‘ πœƒ(𝑠)] + πΎπœƒ(𝑠) = 𝐾𝑖 𝐼(𝑠) (2) Therefore the transfer function from 𝑖 to πœƒ is given by: πœƒ(𝑠) 𝐼(𝑠) = 𝐺(𝑠) = 𝐾𝑖 𝐽𝑠2 + 𝐢𝑠 + 𝐾 (3) Given that the values of variables of the transfer function are 𝐽 = 0.01 π‘˜π‘” π‘š2 , 𝐢 = 0.004 π‘π‘š/(π‘Ÿπ‘Žπ‘‘/𝑠) 𝐾 = 10 π‘π‘š/π‘Ÿπ‘Žπ‘‘ and 𝐾𝑖 = 0.05 π‘π‘š/π‘šπ΄, the transfer function of the simple model is given by: 𝐺(𝑠) = 0.05 0.01𝑠2 + 0.004𝑠 + 10 (4) Dividing the numerator and denominator of equation (4) by 1 0.01 gives: 𝐺(𝑠) = 5 𝑠2 + 0.4𝑠 + 1000 (5) ∴ 𝐺(𝑠) = ( 1 200) Γ— 1000 𝑠2 + 0.4𝑠 + 100 ∴ 𝐺(𝑠) = 𝐴 Γ— 1000 𝑠2 + 0.4𝑠 + 1000 Where A = arbitrary constant
  • 4. 3 2. Computation of Time Domain Parameters: a) Damping ratio (ΞΆ) and undamped natural frequency (πœ” 𝑛) is computed as follows by comparing denominator of the transfer function equation (4) with equation (8) which represents standard form of second order transfer function. 𝐺(𝑠) = πœ” 𝑛 2 𝑠2 + 2ΞΆΟ‰n 𝑠 + πœ” 𝑛 2 (8) Undamped frequency (πœ” 𝑛) is computed as: πœ” 𝑛 2 = 1000 πœ” 𝑛 = √1000 = 31.622 π‘Ÿπ‘Žπ‘‘/𝑠 Damping ratio is calculated as: 2ΞΆΟ‰n = 0.4 2 Γ— ΞΆ Γ— 31.622 = 0.4 ∴ ΞΆ = 0.4 2 Γ— 31.622 = 6.324 Γ— 10βˆ’3 b) %Overshoot (%𝑀 𝑃) is given by the equation: %𝑀 𝑝 = 100𝑒 βˆ’ πœ‹ΞΆ √1βˆ’ΞΆ2 (9) ∴ %𝑀 𝑝 = 100𝑒 βˆ’ πœ‹Γ—6.324Γ—10βˆ’3 √(1βˆ’(6.324Γ—10βˆ’3)2) ∴ %𝑀 𝑝 = 100π‘’βˆ’ 0.019869 0.99998 ∴ %𝑀 𝑝 = 100π‘’βˆ’0.019872 ∴ %𝑀 𝑝 = 98.032%
  • 5. 4 c) Settling time is given by the equation (within 2% after 4 time constants): 𝑇𝑠 = 4 ΞΆΟ‰n (10) ∴ 𝑇𝑠 = 4 6.324 Γ— 10βˆ’3 Γ— 31.622 = 20𝑠 d) Peak time is given by the formula: 𝑇𝑝 = πœ‹ πœ” π‘›βˆš1 βˆ’ ΞΆ2 (11) ∴ 𝑇𝑝 = πœ‹ ((31.622) Γ— √(1 βˆ’ (6.324 Γ— 10βˆ’3)2)) ∴ 𝑇𝑝 = 0.0993𝑠 e) Steady state error of the open-loop system (𝑒𝑠𝑠): 𝐾 𝑝(π‘ƒπ‘œπ‘ π‘–π‘‘π‘–π‘œπ‘› π‘π‘œπ‘›π‘ π‘‘π‘Žπ‘›π‘‘ π‘’π‘Ÿπ‘Ÿπ‘œπ‘Ÿ) = 𝐿𝑑 𝑠→0 𝐺(𝑠) ∴ 𝐾 𝑝 = 𝐿𝑑 𝑠→0[ 5 𝑠2 + 0.4𝑠 + 1000 ] ∴ 𝐾 𝑝 = [ 5 0 + 0 + 1000 ] ∴ 𝐾 𝑝 = 5 Γ— 10βˆ’3 ∴ 𝑒𝑠𝑠 = 1 1 + 𝐾 𝑝 = 1 1 + (5 Γ— 10βˆ’3) = 0.995
  • 6. 5 Hand calculations for the time domain parameters can be further verified by the usage of Matlab. Open-loop loop behavior of the system to be investigated via the code listed in figure 1. Figure 1: Code to investigate open-loop behavior Figure 2 shows the computed results after execution of the code listed in figure 1. Figure 2: Computed results for open-loop system
  • 7. 6 Figure 3 shows the step response of the open-loop system computed using function step. Figure 3: Step response of the open-loop system Figure 4 shows the computed poles and zeros of the open-loop of system. Figure 4: Poles and Zeros of the OLTF Hence the Read/Write Head OLTF having complex poles.
  • 8. 7 Figure 5 shows the Root locus of the Read/Write Head of open-loop system. Figure 5: Root Locus of the open-loop system From the step response in figure 3, it can be observed that the system oscillates which is quite noticeable. Main reason is that it have very low damping ratio. The poles have very low damping ratio and are near to the jw-axis. Also the open-loop system have very high %overshoot (%𝑀 𝑝) and the settling time (𝑑 𝑠). Therefore compensator is required to be designed such that to increase the damping ratio, reduce 𝑑 𝑠, steady state error 𝑒𝑠𝑠 and %𝑀 𝑝 and also to pull the poles more towards the left hand side of the s- plane in order to provide stability. Solution b. Sometimes open-loop systems have not be able to provide the output. In order for the output to be determined by the system, it is very necessary for the systems to have feedback. The feedback also have the ability to sense when something goes wrong in the system and able to detect it. Hence the controller/compensator will be placed in series with main Read/Write Head in a closed-loop system with a unity negative feedback. From the root locus diagram in figure 5, it can be noticed that though the complex poles are in the left hand side of the s – plane diagram, it is very near to the imaginary axis and is likely to get unstable. Therefore to provide more stability to the system, three types of compensators will be investigated and is to be chosen for designing of the controller of the given system as follows: 1. Proportional Control: The proportional controller is placed in series with the Read/Write transfer function obtained in previous section within a closed loop unity negative feedback shown in figure 6.
  • 9. 8 Figure 6: Closed loop system with Proportional controller Value for Proportional Controller K is chosen as 4. The system implemented in Matlab listed as code in figure 7. Figure 7: Implementation of Proportional controller for Read/Write head Root locus of the system is shown in figure 8 and the step response of the closed loop system with unity feedback as shown in figure 9.
  • 10. 9 Figure 8: Root locus of the system after P controller implementation Figure 9: Step Response for closed loop system with Proportional Controller As it can be noticed from the root locus figures 5 and figure 8, it have neither pushed away from left hand side of the s – plane nor pulled towards right hand side of the s - plane. Also, it did not have any effect on the settling time. It did reduce the no. of oscillations for given period of time and the rise time has increased from 0.0331s to 0.0512s. The %overshoot is approximately the same as the original Read/Write Head. So the proportional controller hardly improves the stability or the step response of the system. Sometimes, very
  • 11. 10 high gain of the proportional controller may cause the system to go unstable. Therefore a proportional controller is not suitable for stabilizing the Read/Write head system. 2. Proportional Integral Control: As the name itself suggest, the output is directly proportional to the integral of the error signal. Its transfer function is given by the following equation: 𝐷2(𝑠) = 𝐾(𝑠 + π‘Ž) 𝑠 (12) To know whether or not proportional Integral will allow the system to stabilize, following implementation as code made in Matlab: Figure 9: Code to investigate PI compensator Value for K is same as previously implemented system i.e. K = 4 and value for zero i.e. the β€˜a’ variable is set to 2.
  • 12. 11 Root locus of the system after implementing PI compensator shown in figure 10. Figure 10: Root locus of the system to investigate PI compensation Step response of the closed loop system after implementation of PI compensator shown in figure 11. Figure 11: Step Response for closed loop system to investigate PI compensation
  • 13. 12 From figure 10, it can be observed from the root locus diagram, it is a marginally stable system, as there is a pole exactly at the origin. There are complex poles and a zero the LHS of the s – plane. In the closed loop the system, the PI controller allowed the rise time to drastically increase from 0.0512s to 3.8s which will cause the undamped frequency(πœ” 𝑛) to decrease by sufficient amount, allowing poles to be on the left hand side of the s – plane and also %Mp dropped to 9.7%. But this implementation has caused the settling time to increase from 19.5s to 68s thus the steady state error for the PI controller implementation tends to exist for longer time than the system implemented with only Proportional Controller. But from the root locus diagram, it is observed that when gain K goes to infinity, it is pulled more towards the right hand side of the s- plane, hence causing the system to go unstable. 2. Phase lag control: In the phase lag control, the poles and zeros are placed very close to each other. And it’s combination is pretty close to the origin of the s-plane. Therefore, the root loci of the compensated system are shifted only slightly from original location. Its’ structure is given by the equation: 𝐷3 = 𝐾(𝑠 + π‘Ž) (𝑠 + 𝑏) π‘€β„Žπ‘’π‘Ÿπ‘’ π‘Ž > 𝑏 (13) Value for K and a are set to be the same as of previous implementation of the controllers. Pole is taken as 1 i.e. b = 1. The code for implementation of phase lag controller with the system shown in figure 12. Figure 12: Code to investigate Phase lag compensator
  • 14. 13 The root locus of the system after the phase lag controller implementation shown in figure 13 and the step response of the system in figure 14. Figure 13: Root locus of the system to investigate compensation by phase lag controller Figure 14: Step response of the system to investigate compensation by phase lag controller
  • 15. 14 The root locus of the system after phase lag implementation is approximately the same as that of the system that is implemented with proportional integral controller. The increase in rise time 𝑑 π‘Ÿ is not as much as that of integral controller. Therefore undamped natural frequency πœ” 𝑛 is higher than integral controller that will cause the poles to pull more towards the right hand side of the s - plane in comparison with the integral controller as the root loci tends to go to the right side of s-plane. There has been reduction in the settling time and hence have less steady state error for phase lag controller implemented system than the proportional integral controller implemented system. The %Mp has raised due to the decrease in settling time as a trade off. 3. Phase lead control: The phase lead network contributes a positive angle to the root locus criterion and tends to shift root locus of a system towards the left hand side of the s-plane. Its structure is exactly the same as of phase lag controller represented by equation 13 but poles are greater than zeros i.e. a<b. The code implementation of a phase lead controller shown in figure 15. Compensator gain and pole value are kept same as that of previously implemented controllers. Zero value is changed to 6 i.e. b = 6. Figure 15: Code to investigate compensation by phase lead controller Root locus and step response of the system after phase lead controller implementation shown in figure 16 and 17.
  • 16. 15 Figure 16: Root locus of the system after phase lead controller implementation Figure 17: Step response of the system after phase lead controller implementation From root locus diagrams, it is observed that the phase lead controller allows the system to add more stability than the previous implementation of the controllers. As gain K goes to infinity, the poles goes more towards the left hand side of the s- plane therefore bring the system more into a stable region. Also comparing from the step response figures 11, 14 and 17, the rise time (𝑑 π‘Ÿ) is lower than that of the phase lag and PI controller. Therefore, phase lead controller will have higher undamped natural frequency πœ” 𝑛
  • 17. 16 than phase lag and PI controllers. This will cause to move more further away from the right hand side and pulled more towards the left hand side of the s-plane thus adding stability to the system. After investigation from the root locus diagrams, it can be concluded phase lead adds the most stability to the system in comparison than phase lag, PI and P controllers. Hence phase lead compensator will be chosen for the design which will be done in the next section of this assignment. Solution 3. Given that OLTF 𝐺(𝑠) = 5 𝑠2+0.4𝑠+1,000 %𝑀 𝑝 = 31.3% and 𝑑 𝑠 = 0.046𝑠 1. Find the damping ratio (𝜁) from equation: %Mp = 100𝑒 βˆ’ πœ‹ 𝜁 √(1βˆ’ 𝜁2) (14) ∴ 31.3 = 100𝑒 βˆ’ πœ‹ 𝜁 √(1βˆ’ 𝜁2) ∴ 0.313 = 𝑒 βˆ’ πœ‹ 𝜁 √(1βˆ’ 𝜁2) Multiplying the equation by ln on both LHS and RHS: ∴ ln 0.313 = ln 𝑒 βˆ’ πœ‹ 𝜁 √(1βˆ’ 𝜁2) ∴ βˆ’1.1616 = βˆ’ πœ‹πœ √1 βˆ’ 𝜁2 ∴ (1.1616)2 ( πœ‹πœ √1 βˆ’ 𝜁2 ) 2 ∴ 1.3492 = πœ‹2 𝜁2 1βˆ’πœ2
  • 18. 17 ∴ 0.1367 Γ— (1 βˆ’ 𝜁2 ) = 𝜁2 ∴ 0.1367 βˆ’ 0.1367𝜁2 = 𝜁2 ∴ 𝜁2 + 0.1367𝜁2 = 0.1367 ∴ 1.1367𝜁2 = 0.1367 ∴ 𝜁2 = 0.1367 1.1367 = 0.12026 ∴ 𝜁 = √0.12026 = 0.34679 2. Undamped natural frequency (πœ” 𝑛): πœ” 𝑛 = 4 πœπ‘‘ 𝑠 = 4 0.34679 Γ— 0.046 = 250.7469 π‘Ÿπ‘Žπ‘‘/𝑠 3. Dominant poles: 𝑠 𝑑 = βˆ’πœπœ” 𝑛 Β± π‘—πœ” π‘›βˆš1 βˆ’ 𝜁2 𝑠 𝑑 = βˆ’0.34679 Γ— 250.7469 Β± 𝑗250.7469 Γ— (√(1 βˆ’ 0.346792) ) 𝑠 𝑑 = βˆ’0.34679 Γ— 250.7469 Β± 𝑗250.7469 Γ— (√(1 βˆ’ 0.346792) ) 𝑠 𝑑 = βˆ’86.9565 Β± 𝑗250.7469 Γ— (0.93794 ) 𝑠 𝑑 = βˆ’86.9565 Β± 𝑗235.1855 Note: Diagram and more workings are done in the attached sheet paper in the end of the assignment.
  • 19. 18 4. Angle of departure: πœƒ 𝑝1 = 180 π‘œ βˆ’ πœƒ1 β€² πœƒ 𝑝1 = 180 π‘œ βˆ’ tanβˆ’1 ( 203.5635 86.7565 ) πœƒ 𝑝1 = 113.08 π‘œ πœƒ 𝑝2 = 180 π‘œ βˆ’ πœƒ2 β€² πœƒ 𝑝2 = 180 π‘œ βˆ’ tanβˆ’1 ( 266.8075 86.7565 ) πœƒ 𝑝2 = 108.01 π‘œ According to the angle criteria: 180 π‘œ βˆ’ (πœƒ 𝑝1 + πœƒ 𝑝2 + πœƒ 𝑏) + πœƒ π‘Ž = 0 Let πœƒ π‘Ž = 600 πœƒ 𝑏 = 180 π‘œ βˆ’ 113.08 π‘œ βˆ’ 108.01 π‘œ + 60 π‘œ πœƒ 𝑏 = 18.91 π‘œ To find a: tan πœƒ π‘Ž = 235.1855 π‘₯ ∴ π‘₯ = 235.1855 tan 60 π‘œ = 135.784 ∴ π‘Ž = 135.784 + 86.9565 = 222.74 To find b: tan πœƒ 𝑏 = 235.1855 𝑦
  • 20. 19 𝑦 = 235.1855 tan 18.91 π‘œ = 686.530 𝑏 = 686.530 + 86.9565 = 773.486 From magnitude criteria: 5𝐾𝑐 𝑙4 𝑙1 𝑙2 𝑙3 = 1 𝑙1 = √(86.75652 + 203.56352) = 221.280 𝑙2 = √(86.75652 + 266.80752) = 280.558 𝑙4 = √(135.7842 + 235.18552) = 271.569 𝑙3 = √(686.5302 + 235.18552) = 725.697 𝐾𝑐 = 𝑙1 𝑙2 𝑙3 5𝑙4 = 221.280 Γ— 280.558 Γ— 725.697 5 Γ— 271.569 𝐾𝑐 = 33,179.46 Compensator or controller transfer function = 𝐺𝑐(𝑠) = 𝐾𝑐(𝑠+π‘Ž) (𝑠+𝑏) = 33,179.46 [ 𝑠+222.74 𝑠+773.486 ] Manually computed variables of the compensator are then directly used in Matlab for proper phase lead compensated closed loop system as shown in figure 18.
  • 21. 20 Figure 18: Code listing for the final CLTF Hence, compensated OLTF of the system is given as: 𝑂𝐿𝑇𝐹 = 𝐺𝑐(𝑠)𝐺(𝑠) = 𝐾𝑐(𝑠 + π‘Ž) (𝑠 + 𝑏) [ 5 𝑠2 + 0.4𝑠 + 1000 ] ∴ 𝑂𝐿𝑇𝐹 = 𝐺𝑐(𝑠)𝐺(𝑠) = 33,179.46 Γ— (𝑠 + 222.74) (𝑠 + 773.486) Γ— [ 5 𝑠2 + 0.4𝑠 + 1000 ] ∴ 𝐺𝑐(𝑠)𝐺(𝑠) = 165,897𝑠 + 36,952,120 𝑠3 + 773.9𝑠2 + 1,390𝑠 + 773,486
  • 22. 21 Hence CLTF after the compensation of the system as given as (Computed from Matlab directly): 𝐢𝐿𝑇𝐹 = 165,897𝑠 + 36,952,120 𝑠3 + 773.9𝑠2 + 167,200𝑠 + 37,730,000 The root locus of the compensated OLTF is shown in figure 19. Figure 19: Root locus of compensated system by Phase Lead controller Time domain parameters computed via Matlab for the closed loop transfer function (CLTF) after the compensation of the system listed in figure 20. Figure 20: Computed Time domain parameters of CLTF after compensation
  • 23. 22 The step response of the CLTF after designing followed by implementation of the compensator in the forward path of the system shown in figure 20. Figure 21: Step response of the closed loop system after compensation The designed controller is also tested by modelling it in SIMULINK. Therefore model in SIMULINK is created for the closed loop compensated system as shown in figure 22. Figure 22: Simulink model of the compensated closed loop system Firstly, the step time of the step input has to be changed from 1 to 0.0001s for the system to exhibit transient response. Simulation for the system is run for 0.07s. The step response of the Simulink model for the compensated CLTF obtained from scope shown in figure 17.
  • 24. 23 Figure 23: Step response obtained from Simulink model of compensated CLTF From the step response of the compensated closed loop system both in figure 21(step response obtained via Matlab) and figure 22(obtained via simulation from Scope), it can be notice there is still steady state error. In order to reduce steady state error of the CLTF system, suitable scaling gain is to be place in series with the step input with the angular position reference input. Since step input will be used as input, sum of unity gain and 𝑒𝑠𝑠 value will be used as suitable gain 𝐾𝑒. Steady state error after compensation of the system is computed as follows: Since input will be used as step input, position error constant (𝐾 𝑝) is calculated: 𝐾 𝑝 = 𝐿𝑑 𝑠→0 𝑂𝐿𝑇𝐹 𝐾 𝑝 = 𝐿𝑑 𝑠→0(33,179.46 Γ— (𝑠 + 222.74) (𝑠 + 773.486) Γ— [ 5 𝑠2 + 0.4𝑠 + 1000 ]) ∴ 𝐾 𝑝 = 𝐿𝑑 𝑠→0(33,179.46 Γ— (0 + 222.74) (0 + 773.486) Γ— [ 5 0 + 0 + 1000 ]) ∴ 𝐾 𝑝 = 47.77 ∴ 𝑒𝑠𝑠 = 1 1 + 47.77 = 0.0205 Hence value of 𝐾𝑒 computed as: 𝐾𝑒 = 1 + 0.0205 = 1.0205
  • 25. 24 The model of the compensated system after addition of the suitable gain 𝐾𝑒 in series to the angular position to input path, that allowed to reduce steady state error shown in figure 24 and its step response shown in figure 25. Figure 24: Model of the system after reduction of steady state error Figure 25: Step response of the system after elimination of steady state error Initial chosen value for settling time of the closed loop system was 𝑑 𝑠 = 0.046𝑠. After completion of designing the controller, from the results of stepinfo command applied on CLTF, the settling time is obtained as 𝑑 𝑠 = 0.0429𝑠. There is very small difference between the initial and final settling times. Also it can be observed from figures 15 and 17, from these step responses the settling time 𝑑 𝑠 is 0.0429s. Hence approximately desired settling time 𝑑 𝑠 is obtained. The steady error which initially existed in the compensated closed loop system is also successfully reduced by addition of the suitable gain scale as it can be observed from the step response in figure 25 by comparing it with step response in figure 23. Steady state error at 0.05s in figure 23 is approximately 0.021 and in figure 25 it is approximately 0. But the design did not meet the %overshoot requirement as theoretically chosen %𝑀 𝑝 = 31.3% and the output step
  • 26. 25 response %𝑀 𝑝 = 51.0363%. The %overshoot is high due to the tradeoff made by the controller, preferring the settling time (𝑑 𝑠) over the %overshoot. Since low settling time 𝑑 𝑠 is required, it will cause the damping ratio to be less. This will cause %overshoot to be more. It is not easy task to get perfect balance between these two time domain parameters though numerous designs can be implemented to overcome the %𝑀 𝑝 issue. This problem will be addressed and overcome in the next section of the assignment. Solution d. The code implemented to obtain root locus for the new open-loop system as per the given question shown in figure 26. Figure 26: Code to generate root locus for new OLTF The root locus for new open-loop system shown in figure 27.
  • 27. 26 Figure 27: Root locus of new open-loop system For the velocity control loop to exhibit a critically damped response, since condition for it has to be the damping ratio is 1, pole = -1 is selected at the root locus diagram in order to obtain the value for derivative gain 𝐾 𝑑. Hence 𝐾 𝑑 = 198 for velocity control loop to exhibit critically damped response. Simulink model for the new system that includes velocity control loop that will overcome the peak overshoot issue is shown in figure 28. Figure 28: New model of the system where peak overshoot issue is eliminated The critically damped transient response exhibited by the new system is observed from the graph obtained
  • 28. 27 from scope is shown in figure 29. It is the new angular response of the read/write head with the inner loop included. It can be noticed from the figure 29, peak overshoot issue is completely nullified. Figure 29: Critically damped transient response exhibited by the new system.