CHAPTER 4
4.1 INTRODUCTION
a) Conventional controllers
b) Non-conventional controllers
(a) d-axis
(b) q-axis
Parameters Value
Power 0.5 HP
Voltage 415 V
Current 0.9 A
Frequency 50Hz
Speed 1440 RPM
Stator resistance Rs 6.03
Rotor resistance Rr 6.085
Stator inductance Ls 489.3e-3 H
Rotor inductance Lr 489.3e-3 H
Poles 4
39
(4.1)
(4.2)
(4.3)
(4.4)
Vsd and Vsq, Vrd and Vrq are the direct axes & quadrature axes stator and
rotor voltages. The flux linkages to the currents are given by the
Equation (4.5)
(4.5)
(4.6)
(4.7)
(4.8)
(4.9)
(4.10)
41
(a) D block
(b) Q block
the process (the water valve position) is called the manipulated variable
(MV). The difference between the temperature measurement and the set point
is the error(e) and quantifies whether the water is too hot or too cold and by
how much.
The PID control scheme is named after its three correcting terms,
whose sum constitutes the manipulated variable (MV). The proportional,
integral, and derivative terms are summed to calculate the output of the PID
controller. Defining u (t) as the controller output, the final form of the PID
algorithm is:
(4.11)
Where
e : Error = SP PV
(4.12)
e = G / Kp (4.13)
a PID controller is the sum of the instantaneous error over time and gives the
accumulated offset that should have been corrected previously.
(4.14)
(4.15)
There are several methods for tuning a PID loop. Controller tuning
methods with its advantages and disadvantages are given in Table 4.2.
not the loop can be taken "offline" for tuning, and the response time of the
system. If the system can be taken offline, the best tuning method often
involves subjecting the system to a step change in input, measuring the output
as a function of time, and using this response to determine the control
parameters.
If the system must remain online, one tuning method is to first set
Ki and Kd values to zero. Increase the Kp until the output of the loop
oscillates, then the Kp should be set to approximately half of that value for a
"quarter amplitude decay" type response. Then increase Ki until any offset is
corrected in sufficient time for the process. However, too much Ki will cause
instability. Finally, increase Kd, if required, until the loop is acceptably quick
to reach its reference after a load disturbance. However, too much Kd will
cause excessive response and overshoot.
A fast PID loop tuning usually overshoots slightly to reach the set
point more quickly; however, some systems cannot accept overshoot, in
which case an over-damped closed-loop system is required, which will
52
require a Kp setting significantly less than half that of the KP setting causing
oscillation. The effects of increasing a tuning parameters KP, Kd and Ki is
given in Table 4.3.
Control Type Kp Ki Kd
P 0.50Ku - -
PI 0.45Ku 1.2Kp / Pu -
PID 0.60Ku 2Kp / Pu KpPu / 8
These gains apply to the ideal, parallel form of the PID controller.
When applied to the standard PID form, the integral and derivative time
parameters Ti and Td are only dependent on the oscillation period Pu.
PID controllers, when used alone, can give poor performance when
the PID loop gains must be reduced so that the control system does not
overshoot, oscillate or hunt about the control set point value. They also have
difficulties in the presence of non-linearities, may trade-off regulation versus
response time, do not react to changing process behavior and lag in
responding to large disturbances. Another problem faced with PID controllers
is that they are linear, and in particular symmetric. So, the performance of
PID controllers in non-linear systems (such as HVAC systems) is varies. For
example, in temperature control, a common use case is active heating (via a
heating element) but passive cooling (heating off, but no cooling), so
overshoot can only be corrected slowly it cannot be forced downward. In this
case the PID should be tuned to be over damped, to prevent or reduce
overshoot, though this reduces performance (it increases settling time).
Where
Kp : Proportional gain,
Ki : Integral gain,
55
Kd : Derivative gain
e : Error
will be 0. For the second pulse the counter output will be 1 and so on. Based
on the V/f ratio OSC frequency is changed. The pulse widths of the OSC
pulses are based on the V/f ratio. For example, when the pulse width is
increased for pulse 1, the counter output remains 0 and the switches 1 and 4
will be in the conduction state till the counter output changes to 1. When the
reference speed is increased the V/f ratio is constant (Soni et al 2013). But all
6 pulses widths of OSC will be reduced. So the counter value will be changed
quickly. Due to this the duration of on time of IGBTs are reduced.
T=Ton+Toff (4.19)
F= 1/T (4.20)
The speed reaches the 1800 RPM after 2.5 Sec. PID responses for
various set speeds 1350 RPM, 1440 RPM, 1850 RPM and 2000 RPM under
no load are shown in Figures 4.13, 4.14, 4.15 and 4.16 in chapter 4. PID
responses for the same speeds under 50% loads are shown in Figures 4.17,
4.18, 4.19 and 4.20. PID responses under full load are shown in Figures 4.21,
4.22, 4.23 and 4.24.
60
Figure 4.13 PID response for a set speed of 1350 RPM under no load
Figure 4.14 PID responses for a set speed of 1440 RPM under no load
61
Figure 4.15 PID response for a set speed of 1850 RPM under no load
Figure 4.16 PID responses for a set speed of 2000 RPM under no load
Figure 4.17 PID response for a set speed of 1350 rpm under 50% load
Figure 4.18 PID response for a set speed of 1440 RPM under 50% load
63
Figure 4.19 PID response for a set speed of 1850 RPM under 50% load
Figure 4.20 PID response for a set speed of 2000 RPM under 50% load
64
Figure 4.21 PID response for a set speed of 1350 RPM under full load
Figure 4.22 PID responses for a set speed of 1440 RPM under full load
65
Figure 4.23 PID response for a set speed of 1850 RPM under full load
Figure 4.24 PID response for a set speed of 2000 RPM under full load
Set Speed Actual Speed Peak Speed Over Shoot Steady State
(RPM) (RPM) (RPM) (%) Error (%)
1350 1390 1450 7.4 3
1440 1500 1590 10.4 4.2
1850 1850 1890 2.2 0
2000 2000 2100 5 0
The overshoot and steady state error are more for the set speed of
1440 RPM under 50% load, compared to other set speeds. PID controller
performance is good for the set speed of 2000 RPM, compared to other set
speeds for this load.
67
Set Speed Actual Speed Peak Speed Over Shoot Steady State
(RPM) (RPM) (RPM) (%) Error (%)
1350 1375 1510 11.9 1.9
1440 1450 1620 12.5 0.7
1850 1850 2000 8.1 0
2000 2000 2200 10 0
While comparing other set speeds, the overshoot is more for 1440
RPM and the steady state error is higher for 1350 RPM under full load. The
PID controller response is good for the set speed of 1850 RPM compared to
other set speeds for the same load.
4.6 CONCLUSION