Professional Documents
Culture Documents
Pico Controller
Debasish Mukhopadhyay
Current temperature
Control
Device
Setpoint
¾Temperature
Command
¾ Flow
Position ¾ Speed
to valve ¾ Weight
¾ Level
¾ Pressure
Liquid
Steam ¾PH
Valve
Steam ¾Conductivity
Inlet
Heating
Steam Coil
Return
Temperature
Sensor
CONTROLLED
VARIABLE
SET
POINT
OPEN (ON)
CLOSED (OFF)
TIME
Process
Three Types Of Processes
P
1. Self Regulating- Process that reaches a new
The steady-state when it is driven by a steady change
Feedback in input.
Sensor S O Output
Loop 2. Imbalanced or Integrating Process- Liquid level in
a tank
C
3. Open Loop or Unstable process- Exothermic
ReactorÆexponential change
Control
•Close Loop
Instead of changing the output, the setpoint is changed with the PID in Auto mode. The
system behaviors are observed. Some people do this as a fine tuning after doing the Open
Loop tuning. Parameters obtained, KU (Ultimate Gain) & TU (Ultimate Period) are used to
find gain values.
The choice of tuning method depends on the person’s experience and the knowledge of
the process.
• Sensing Element
The components used to measure the process variable. A simple thermocouple is a good example
of a temperature sensor
• Transmitter
Sensors having a sensor and a transmitter both. Flow, Level, Pressure and Temperature
measurement devices are referred to as Transmitters.
• Transducer
Device that has a sensor, some additional circuitry to “polish” the signal (scaling, compensation,
etc), and a transmitter. A pressure transducer can measure pressure, perform some polishing of
the measurement, and transmit a signal on a wire or cable. Transducers are normally mounted
remotely from the conditioning device. An example is a Weight Transmitter connected to remote
Load Cells
Thermocouples
Thermistors
Infrared sensors
RTD’s
• The contribution of Ziegler and Nichols tuning methods were developed during
1940s
• We will not be concerned about determining settings within 1% (Accuracy
Ballpark)
• Modern controllers perform the same functions as those built around 1940
1. PV – Known as Process Variable. Actual measured value which we are trying to control.
Pressure, Temperature, Flow, % Opening etc.
1. Error / Offset - The difference between (Set Point and Process Variable) where we are and
where we want to be.
Measured as SP ~ PV
3. Δt - Knowledge of ‘when’ the PV was observed
Independent
CV = Kp.E% + ΣKi.Δt.E% + Kd (d/dt) E% + S-S Bias. Mostly Bias is ignored.
Dependent
CV = Kp [E% + Σ(1/Ti)Δt.E% + Td(d/dt)E%] + S-S-Bias
Dependent type is a easier operation
The Ki and Kd parameters relate only to dynamics of the process, and the Kp
(proportional gain) relates to the gain of the process.
SP - PV (default)
Calculate the Error as Set Point - Process Variable
‘Reverse Acting Loop’
PV - SP
Calculate the Error as Process Variable – Set Point
‘Direct Acting Loop’
Disturbances
Controller Output
Final
Algorithm Control
Set Point Σ (Control Law) Element
Process
Process
Measurement
Controller
Set Point Error / CONTROLLER Output
Σ
Offset
PV increases
Controller
Set Point Error / CONTROLLER Output
Σ
Offset
Increase in PV
Causes
Decrease in Controller Output
Let the control output be proportional to the difference between ‘Desired’ and ‘Actual’
Output = Kp x Error (Bias is ignored)
Output / Error = Kp (Laplace Transform or Transfer Function)
Kp is dimensionless
Gain =2.0
allows some manual compensation for the
offset or error. Manual reset in a
Gain = 0.5
50 proportional – only controller changes the
fixed relationship between error and
controller output.
Error as % of scale
Error
0 t
Output
Kp = 2.0
Kp = 1.0
Kp = 0.5
0% t
SP oF 80
Offset
OFFSET
Temperature Record of Process With Proportional Control for Two Bottling Machines
Output
Desired
SP oF
80
0
Temperature Record of Process With Proportional Control for One Bottling Machine
Copyright © 2005 Rockwell Automation, Inc. All rights reserved.
Limitation Of Proportional Function
• Adds or subtracts to the control output when the process value shows a
sustained deviation from setpoint
Error
0 t
Δt
PV
SP
Output
100%
0% t
• Note that Integral needs “time” over which it accumulates. If the Proportional gain
is increased it will effect the overall that the Integral has to react because P is
making error smaller on average therefore increasing the amount of time it takes to
accumulate the same amount of I.
Error
0 t
Output
‘I’
100%
‘P’
0% t
O
u
t
p
u
t
0%
T0 TIME T1
• Senses the rate of change of the input signal and causes output to
increase or decrease anticipating possible overshoot or undershoot
D = K d x (Error(now) - Error(before)) / Δt
Error
0 t
Output
‘P’
100%
‘D’
0% t
Error E
E
E E
ΔError
Out
Out Out Out
Decel
Accel Decel Accel
0 t
Δt
Output Temperature
Integral
Proportional Derivative
Time Æ
• How fast or how far the process is going to respond to the controller output. Restoring stability
with confidence is important
• How much change will you allow In the process and in the controller output ?
• Who is going to adjust controller settings ? How knowledgeable the person is to avoid
confusion or crisis?
• Who is going to switch between Auto and Manual modes and change the setpoint ?
• Knowledge of the safety interlocks and other process related safeties are very important
• Time during and after tuning are important. Process behavioral changes must be closely
monitored and altered accordingly if required.
• Recording of existing settings and controller outputs are important. Especially, when you have
to return to these existing settings. Trending of the parameters should be monitored for
efficient process controls.
MINIMIZE OVERSHOOT
Critically Damped
Preferred for some applications. However, cannot eliminate deviation as fast as controller
with quarter -decay
If the controller is tuned to give a quick response to a load upset (one quarter- decay ratio), it may be too
oscillatory when there is a setpoint change
Ki= Kp / Ti Kd = Kp * Td
Ki and Kd are calculated from the period. In other words, if the dynamics of the
process changes, using the standard algorithm (Kp affects all terms), Ki and Kd
are changed. If the gain of the process changes, only Kp is changed.
K p = [ CV / PV] * Tp / Td = 1/K * Tp / Td
Where, Tp= Process time constant; Td = Dead Time; K= Process Gain
Cement Plant
Pre - Calcination Tower, Kiln and Kiln Feed