Documente Academic
Documente Profesional
Documente Cultură
ROBOTICS
LECTURE#10
PID CONTROLLER
Manual
With manual, all regulation tasks
Control
will have to be done manually.
For example: To keep constant the
temperature of water discharged
from an industrial gas-fired
heater, an operator will have to
watch a temperature gauge and
adjust a fuel gas valve
accordingly
If the water temperature
becomes too high for some
reason, the operator has to close
the gas valve a bitjust enough
to bring the temperature back to
the desired value.
If the water becomes too cold,
he has to open the gas valve.
Life with PID Controller
Through PID controller Set Point
feature, operator can set the
desired temperature ranges.
The Controllers Output (CO) sets
the position of the control valve.
When everything is functional,
PID controller compares the PV to
its SP and calculates the
difference b/w the two signals as
an Error (E).
Based on the Error and PID
controllers tuning constants,
controller takes an appropriate
action that opens the control
valve to the right position for
keeping the temperature at the
set point.
If the temperature rise above its
set point, controller will reduce
the valve position and vice versa.
PID CONTROLLER BASICS
Not optimal, based on good properties of Three modes.
In a PID loop, the correction that's added is calculated from the
error in three ways
1. To cancel out the present error (proportional mode)
2. Average out past errors (Integral mode)
3. Anticipate the future a bit from the slope of the error(s)
over time (Derivative mode).
PID Equation
In PID control algorithm equation each of the three parts
of the equation are given a K constant.
However, PID controllers having the Integral and
Derivative constants are represented as
correction proportional to
error
Proportional-only Controller
Proportional controllers are simple to understand and easy to
tune.
The controller output is simply the output of the proportional
control mode, plus a bias.
The bias is needed so that the controller can maintain an output
(say at 50%) while there is no error (set point = process variable).
Table 1. Relationship
between Kc and PB
Response Versus PB, Proportional
Control Only
Proportional Gains
Consider an example of a
Proportional controller with
different Proportional Gains.
As the gain is increased the
system time response is faster
, but system starts to
oscillates.
Comments: Clearly, it is not
possible to achieve low steady
state error and good transient
response using only
proportional control.
As the gain is increased, the
response becomes faster, but
it has a lower phase margin.
To remove the steady-state
error and have better
response, integral and/or
derivative terms must be
included in the controller.
Proportional Control-
The Limitations
P-controller usually has steady-state errors unless the
control gain is large.
As the control gain becomes larger, issues arise with the
stability of the feedback loop.
For instance, reducing the rise time implies a high proportional
gain, and reducing overshoot and oscillations implies a small
proportional gain. This is not possible to achieve in all systems.
process output of
proportional control
Proportional control------Solution
The way to eliminate these
steady-state errors is by
adding an integral action.
The integral term in the
equation drives the error to
zero.
Higher Integral constant (1 /
Tt) drives the error to zero
sooner but also invites Response shows the reduction of
overshoots and oscillations
oscillations and instability.
compared to the picture before
Watch out a sample process adding the integral action.
output diagram when
integral control is added.
Proportional-only Controller
Dilemma
The use of proportional control alone
has a large drawback of offset.
Offset is a sustained error that
cannot be eliminated by proportional
control alone.
For example: lets consider controlling
the water level in the tank with a
proportional-only controller.
As long as the flow out of the tank
remains constant, the level will
remain at its set point.
But, if the operator should increase
the flow out of the tank, the tank
level will begin to decrease due to
the imbalance between inflow and
outflow.
While the tank level decreases, the
error increases and our proportional
controller increases the controller
output proportional to this error. Level control, with operator causing
a disturbance
Proportional-only Controller
Dilemma
Consequently, the valve controlling the flow into
the tank opens wider and more water flows into
the tank.
As the level continues to decrease, the valve
continues to open until it gets to a point where
the inflow again matches the outflow.
At this point the tank level (and error) will remain
constant. Because the error remains constant our
P-controller will keep its output constant and the
control valve will hold its position.
The system now remains at balance, but the tank
level remains below its set point. This residual
sustained error is called Offset.