Exeperiment 5 Group 10
Exeperiment 5 Group 10
net/publication/346082574
CITATIONS READS
0 1,499
2 authors:
All content following this page was uploaded by Juan Antonio Burgos Coronado on 22 November 2020.
Experiment 5
Laboratory Report
Group 10
(SoSe2020)
Laborpraktikum Regelungstechnik Experiment Script Experiment 5
1. Introduction:
DC-Servo motor is widely used because it comes in many shapes and sizes, so that its
application is quite easy and flexible, and high reliabilities and low cost. Speed and position
control are required in industrial applications, robot manipulators and home appliances.
Because of accurate and efficient tuning of parameters for PID controller, it has become
particularly important for the Process industries, it is simple structure, good stability, and high
reliability. DC-servo motors are used in feedback-controlled devices (control systems) like 3D
printers, computer disk drives, aircraft flight control systems, automatic steering control, etc.
In this experiment, two controllers for position-control of a DC-servo motor plant (Figure 1)
are to be designed. The first step to designing a controller is derivation of a mathematical
description of the controlled system, followed by parameter identification. Figure 1 shows the
electrical and mechanical components of the plant. A combination of these two parts will
describe the behaviour of the plant in a continuous time form.
2
Laborpraktikum Regelungstechnik Experiment Script Experiment 5
Where, 𝐽𝑒𝑞 = 𝐽1 + 𝜂𝑔 𝐽𝑚 𝐾𝑔 2 is the total load inertia reflected at the motor shaft. Substituting
𝐾0 = 𝜂𝑔 𝜂𝑚 𝐾𝑡 𝐾𝑔 , K1 = Beq R m + ηg ηm K m K t K g 2 and 𝐾2 = 𝐽𝑒𝑞 𝑅𝑚 further simplifies of the
equation (1) to
θ(s) K0
= K S2+K (2)
V (s)
m 2 S 1
Name Value
𝐊𝐠 70
𝐊𝐭 0.0077
𝐊𝐦 0.0077
𝛈𝐠 0.9
𝛈𝒎 0.69
𝐁𝐞𝐪 0.004
𝐉𝐞𝐪 0.0020842
𝐑𝐦 2.6
3
Laborpraktikum Regelungstechnik Experiment Script Experiment 5
Vm = K p (θd − θ) − K v θ∙ (3)
where θd is the desired position, K P and K v are controller gains. Equation (2) can be written
as,
Vm = θd K p − θK p − K v θ∙
θ(s)(K2 S2 +K1 S)
= K p θd (s) − (K p + K v S)θ(s) (5)
K0
[K 2 S 2 + K v K 0 + K1 )S + K p K 0 ]θ(s) = K p K 0 θd (s)
θ(s) KpK0
=
θd (s) K 2 S 2 + (K v K 0 + K1 )S + K p K 0
θ(s) K p K 0 /𝐾2
= 2
θd (s) S + ((K v K 0 + K1 )/K 2 )S + (K p K 0 )/K 2
θ(s) KP KA
G(s) = = S2 + ( K (6)
θd (s) B + KA Kv ) S+ KP KA
K0 K1
Where, K A = and K B =
K2 K2
3.1.3 The closed loop transfer function has the following general form,
ωn 2
G(s) = (7)
s2 +2ζωn s+ωn 2
4
Laborpraktikum Regelungstechnik Experiment Script Experiment 5
Jx = K B + K A K V = 91.5524 + 160.5983 K v
1 1
Jx
ζ= = 7.2245 K p −2 + 12.6727 K v K p −2
2ωn
3.1.4 The affect for changing Kp and K v to system’s natural frequency and damping ratio is
listed in Table 2.
Table 1: changing Kp and Kv affect the system’s natural frequency and damping ratio.
K1 +Kv sKp
2ζωn = (9)
K2
ωn 2 K 2
Kp =
K0
2ξωn K 2 − K1
Kv =
K0
The given equation for Peak time and Maximum overshoot is,
π
Tp =
ωn √1 − ζ2
π
ωn = = 55.7476
Tp √1 − ζ2
−ζπ
√1−ζ 2
φ= e
5
Laborpraktikum Regelungstechnik Experiment Script Experiment 5
ln|φ|
ζ= = 0.7797
√ln2 |φ| + π2
ωn 2 K 2
Kp = = 𝟓𝟎. 𝟑𝟗𝟓𝟑
K0
2ξωn K 2 − K1
Kv = = 𝟎. 𝟖𝟑𝟖𝟔
K0
6
Laborpraktikum Regelungstechnik Experiment Script Experiment 5
7
Laborpraktikum Regelungstechnik Experiment Script Experiment 5
3.1.8
Percentage overshoot: For a step input, the percentage overshoot (PO) is the maximum value
minus the step value divided by the step value. In the case of the unit step, the overshoot is just
the maximum value of the step response minus one.
Mathematically,
−ζπ
√1−ζ2
φ=e × 100 = 2.00049391
Where ζ is the damping ratio. The percentage overshoot can be explained by transient
characteristics of a second order servo system.
8
Laborpraktikum Regelungstechnik Experiment Script Experiment 5
3.1.9
Measured Over shoot 𝛗 = 2.00049
The above value of φ is approximately equal to the required value of φ =2%. So, it matches the
requirement.
The response of the system was according the calculations, with an exceedingly small deviation
due to environmental conditions and approximation in calculations. The output response of the
system is slightly different from expected.
Measured Peak time Tp = 89 ms
The above value of Tp is approximately equal to the required value of Tp =90 ms. So, it matches
the requirement and the slight difference in the value is due to the following reasons:
- The effect of damping due to inductance is neglected which may introduce non-linearity into
the system dynamics.
- Input power to the motor is less as the supply voltage provided by the controller as output
voltage is less.
- Also, by reducing the voltage supplied to the motor, back emf decreases thereby decreasing
speed of the motor and hence increasing Tp.
3.1.10:
The saturation block of the control output makes the response slower. There is a specific
amount of voltage needs to be provided to the system to work correctly in expected (calculated)
period of time. Here the voltage is limited (saturated) because of which the system does not
receive enough voltage to reach desired angle in the expected time.
4.2.1 The matlab script to calculate q0, q1, q2, p1 and p2 is demonstrate in APENDIX II.
4.2.2 The simulation of a Standard Digital Controller Design is shown in Figure 2.
9
Laborpraktikum Regelungstechnik Experiment Script Experiment 5
4.2.3 In theory Dead beat controller brings the system’s response to the desired steady state
value after a prefixed number of sample steps. The number of samples should depend on the
order and on the length of a possible existing dead time of the controlled system. Since the
error after two steps became zero, the control signal after the same time also became zero.
4.2.4 In theory dead beat controller avoids overshoot and guarantee 0 error after prefix number
of samples in our case too. Our system is of second order and thus it need 2 times the sample.
As seen from the graph, the system reaches zero error after 2msec. The sample time described
for the system was 150 msec.
4.2.5 Figure 6 shows the Controller parameters of the dead-beat controller with different
sample times and their corresponding controller parameters.
10
Laborpraktikum Regelungstechnik Experiment Script Experiment 5
11
Laborpraktikum Regelungstechnik Experiment Script Experiment 5
12
Laborpraktikum Regelungstechnik Experiment Script Experiment 5
13
Laborpraktikum Regelungstechnik Experiment Script Experiment 5
Figure 12: Saturated and unsaturated output of the implemented Dead-beat controller.
14
Laborpraktikum Regelungstechnik Experiment Script Experiment 5
Appendix I
MATLAB Script for Overshoot, Peak time, Rise time, Settling time calculation:
%Plotting function
Plot(1) = plot(t,g,'r');
xlabel('time (sec)');
ylabel('Amplitude');
xlim([0 0.3]);
15
Laborpraktikum Regelungstechnik Experiment Script Experiment 5
ylim([-.5 1.2]);
title('Step Response');
grid on;
hold on;
tuTime = i;
Tu=t(tuTime);
16
Laborpraktikum Regelungstechnik Experiment Script Experiment 5
Appendix II
T = 0.6;
b = 1.754168;
a = 35.21246;
c = exp(-a*T);
b1 = b*T + (b*c)/a - b/a;
b2 = b/a - b*c*T - (b*c)/a;
a1 = -1 - c;
a2 = c;
q0 = 1/(b1 + b2);
q1 = q0 * a1;
q2 = q0 * a2;
p1 = q0 * b1;
p2 = q0 * b2;
17