Академический Документы
Профессиональный Документы
Культура Документы
Khalaf S Gaeid
Electrical Engineering Department/Tikrit University
khalafgaeid@tu.edu.iq
gaeidkhalaf@gmail.com
+9647703057076
April 2018
1.Introduction
A controller is a device that generates an output signal based on the input
signal it receives.
The input signal is actually an error signal, which is the difference
between the measured variable and the desired value as can be shown in
feedback control system ( Fig.1).
▪ The controller output signal is sent to the final control element (e.g.
valve, pump, heater, fan) causing it to change.
To avoid these errors and to make the controller more accurate and
practical, we use the advanced and modified version of it known as the
Proportional Integral Controllers (PI) and Proportional Derivative
Controllers (PD).
Integral
An integral term increases action in relation not only to the error but
also the time for which it has persisted. So, if applied force is not
enough to bring the error to zero, this force will be increased as time
passes. A pure "I" controller could bring the error to zero, however, it
would be both slow reacting at the start (because action would be small
at the beginning, needing time to get significant), brutal (the action
increases as long as the error is positive, even if the error has started to
approach zero), and slow to end (when the error switches sides, this for
some time will only reduce the strength of the action from "I", not make
it switch sides as well), prompting overshoot and oscillations (see Fig.4).
Moreover, it could even move the system out of zero error: remembering
that the system had been in error, it could prompt an action when not
needed. An alternative formulation of integral action is to change the
electric current in small persistent steps that are proportional to the
current error. Over time the steps accumulate and add up dependent on
past errors; this is the discrete-time equivalent to integration.
Fig.4. Response of PV to step change of SP vs time, for three values of K i (Kp and K d held
constant)
Derivative
A derivative term does not consider the error (meaning it cannot bring
it to zero: a pure D controller cannot bring the system to its set-point),
but the rate of change of error, trying to bring this rate to zero. It aims at
flattening the error trajectory into a horizontal line, damping the force
applied, and so reduces overshoot (error on the other side because too
great applied force). Applying too much impetus when the error is small
and is reducing will lead to overshoot. After overshooting, if the
controller were to apply a large correction in the opposite direction and
repeatedly overshoot the desired position, the output would oscillate
around the set-point in either a constant, growing, or decaying sinusoid.
If the amplitude of the oscillations increase with time, the system is
unstable. If they decrease, the system is stable. If the oscillations remain
at a constant magnitude, the system is marginally stable. This can be
illustrated in Fig.5.
Fig.5. Response of PV to step change of SP vs time, for three values of K d (Kp and K i held
constant)
5. Mathematical form
The overall control function can be expressed mathematically as in(4)
t
d e (t )
u (t ) k p e (t ) k i e ( )d k d
dt
(4)
0
Electronic analog PID control loops were often found within more
complex electronic systems, for example, the head positioning of a disk
drive, the power conditioning of a power supply, or even the
movement-detection circuit of a modern seismometer. Discrete
electronic analogue controllers have been largely replaced by digital
controllers using microcontrollers or FPGAs, to implement PID
algorithms. However, discrete analog PID controllers are still used in
niche applications requiring high-bandwidth and low-noise
performance, such as laser-diode controllers.
7.Limitations of PID control
Since speed of response, accuracy, and stability are what is needed for
satisfactory response, cascading PD and PI will suffice.
33
Lead/Lag compensation is very similar to PD/PI, or PID control.
Lag and PI compensation are similar and have the same response: to
improve the steady state accuracy of the closed-loop system.
34
12.Conclusions
•Proportional action gives an output signal proportional to the size of
the error. Increasing the proportional feedback gain reduces steady-state
errors, but high gains almost always destabilize the system.
•Integral action gives a signal which magnitude depends on the time the
error has been there. Integral control provides robust reduction in steady-
state errors, but often makes the system less stable.
•Derivative action gives a signal proportional to the change in the Error.
It gives sort of “anticipatory” control .Derivative control usually
increases damping and improves stability, but has almost no effect on the
steady state error
•These three kinds of control combined from the classical PID controller.
• PID can be implemented in Hardware and software.
• The PI controller can be considered as Lag compensator, The PD
controller can be considered as lead compensator and PID same as
Lag-Lead compensator works to improve transient and steady state
region.
12.Conclusions
• The choice of P-D, P-I or P-I-D structure de pends on the type of the
process we intend to control.
• There are few more issues those need to be addressed while using P-I
controller. The most important among them is the anti-windup control.