Course Introduction: - Klms
Course Introduction: - Klms
Process Control
Advanced Control Processwide and
Feedback System Design / System Plantwide Control
Analysis • Feed-forward • Basic Loops
• Stability • Cascade, etc. • Production Control
• PID Controller Design • Model-based Control • Optimization
Lecture 1
Introduction to Process Control
CBE341
©Professor Jay H. Lee
KAIST
Process Design vs. Operation
• Design
– Flowsheet synthesis
– Detailed design of unit operations
• Operate
– Most processes are meant to be at steady state,
but in reality, very much dynamic
– Control: maintain the operation at intended
steady state(s) despite disturbances
– Optimize: Determine economically favorable
operating condition (it can change!) and drive
the process there.
Basic Principles of Process Operation
• Operate safely.
• Meet the product quality specifications.
• Meet the required production rate (or maximize).
• Minimize operating costs (energy, raw materials)
Examples of Continuous Processes
Chapter 1
Examples of Batch Processes
start end
Chapter11
Chapter
Example: Refinery Fractionator
• Light→Heavy
– Less Naptha than before → Reduce its production rate
or lower the product quality spec’s or both.
– The operating condition (e.g., temperatures) needs to be
adjusted accordingly.
Economic Benefits of Control
octane
rating
higher
Economic Benefits of Control
Ensuring plant safety
Bhopal Disaster
The Bhopal disaster was an industrial disaster
that took place at a Union Carbide pesticide
plant in the Indian city of Bhopal, Madhya
Pradesh. At midnight on 3 December 1984,
methyl isocyanate (MIC) gas was accidentally
released from the plant, exposing more than
500,000 people to MIC and other chemicals.
The first official immediate death toll was
2,259. The government of Madhya Pradesh has
confirmed a total of 3,787 deaths related to the
gas release.[6] Others estimate 8,000-10,000
died within 72 hours and 25,000 have since
died from gas-related diseases. 40,000 more
were permanently disabled, maimed, or
rendered subject to numerous grave illnesses;
521,000 exposed in all.[7][8][9] As of 2010 no
one has yet been prosecuted for the disaster.
“The Bhopal disaster was the result of a combination
of legal, technological, organizational, and human
errors. The immediate cause of the chemical reaction
was the seepage of water (500 liters)into the MIC
storage tank. The results of this reaction were
exacerbated by the failure of containment and
safety measures and by a complete absence of
community information and emergency procedures.
The long term effects were made worse by the
absence of systems to care for and compensate the
victims. Furthermore, safety standards and
maintenance procedures at the plant had been
deteriorating and ignored for months.”
TED Case Studies
Some of the Found Defects
•Gauges measuring temperature and pressure in the various
parts of the unit, including the crucial MIC storage tanks, were
so notoriously unreliable that workers ignored early signs of
trouble (Weir, pp.41-42).
•The refrigeration unit for keeping MIC at low temperatures
(and therefore less likely to undergo overheating and expansion
should a contaminant enter the tank) had been shut off for some
time (Weir, pp.41-42).
•The gas scrubber, designed to neutralize any escaping MIC,
had been shut off for maintenance. Even had it been operative,
post-disaster inquiries revealed, the maximum pressure it could
handle was only one-quarter that which was actually reached in
the accident (Weir, pp.41-42).
•Etc. Etc. Etc.
What’s Process Control?
• Measure and monitor the process variables.
• Adjust the process’s (dynamic) degrees-of-
freedom (e.g., valve positions, pump speeds)
– To maintain the relevant variables within acceptable
ranges or close to their desired values (“setpoints”)
– To move the process to a new operating condition fast
but smoothly without violating constraints (as in startup,
shutdowns, and grade transitions)
• Read Textbook Examples:
– Cruise Control
– Blending Process
– Distillation Column
Example of Process Control
Blood pressure regulation
Brief history
Application of Control Theories
• Chemical Processes
• Mechanical Systems
– Robots, Cars, etc.
• Military Applications
– Fighters, Satellites, Space Structures, Reconnaissance
Vehicles
• Biomedical Systems
• Electronic Circuits
• Power Plants
• Supply Chain
measured glucose
Basic Questions to Ask
• What is the end goal? E.g., What are the variables
to be controlled (CVs)?
• What are the obstacles? E.g., What are the
disturbances (DVs) or other changes?
• What are the degrees of freedom I have to achieve
the end goal? E.g., What are the manipulated
variables (MVs)?
• What information will I have? E.g., What are the
measured variables (MSVs)? Can you measure the
CVs? How well and fast?
Loop Control
Process Control
Plantwide Control
Example: Crude Oil Furnace
Main CV
DVs
MVs
Manual Control
Perfect end-result (no “offset”) but adjustment takes place only after
the temperature is affected significantly.
Feedforward Control
Slave
Master
•Best configuration
•Responds fast to disturbances in the fuel pressure as well as feed
•No offset.
Why (When) Do We Need Process
Control?
• Imperfect process design
– Incorrect parameter values
– Unmodelled phenomena
• Disturbances
– Feed condition, utility supply pressure / temperature, catalyst
activity, heat transfer efficiency, etc.
• Changes in the operating condition
– Feed switch
– Grade transitions (as in polymer plants)
– Production rate change
– Real-time optimization (RTP) for economic improvement
• Efficient startup, shutdowns
– Distillation columns, Reactors
Servo vs. Regulatory Control
Control Hardware Elements
0.2
AR (cm/s/N)
uncontrolled
0.1 w/ active
mass damper
0
0.20 0.21 0.22 0.23 0.24 0.25
frequency (Hz)
Continued
Active mass damper is turned on
mass position here!
PI
+ +
motor DVFB mass displacement
velocity
ref
tower velocity
structure displacement
tower
Response of bridge
tower with wind
disturbance.
Feedback can also destabilize!
Even the negative feedback.
Feedback Control
Perfect end-result (no “offset”) but adjustment takes place only after
the temperature is affected significantly.
More Terminologies
• Deadtime
• SISO (Single-Input/Single Output) vs. MIMO
(Multiple-Input/Multiple Output) process
• Continuous vs. Batch / Semibatch Process
• Open-Loop Stable vs. Open-Loop Unstable
Process
• Feedback Error = Setpoint – Measured CV Value
• Offset = Steady-State Error
• Valve or Transmitter Saturation
• Valve Deadband
Types of Control Algorithm
• On-Off Control
• Proportional Control
p (t ) = p + kc (rm (t ) − ym (t )) ⇒ p ' (t ) = kc e(t )
gain
• Proportional-Integral Control
1
t
p (t ) = p + kc e(t ) + ∫ e(t*)dt *
τI 0
Integral time or reset time
• Proportional-Integral-Derivative (PID) Control
1
t
de
p (t ) = p + kc e(t ) + ∫ e(t*)dt * +τ D
τI 0 dt
Derivative time constant
• Model-Based Control
Commonly Found Control Loops
• Flow Loops
– Orifice meter, Proportional Control
• Level Loops
– Differential Pressure Sensor, Proportional Control
• Pressure Loops
– Pressure Sensor, P or PI Control
• Temperature Loops
– Theromocouple or RTD, PID Control
• Composition Loops
– Gas Chromatograph, Spectrophotometer, Statistical
Process Control
Responsibilities of Control Engineers
analog digital
Distributed Control System
(DCS)
• Many local control units (handling 1000s of loops)
connected with each other and other workstations /
mainframes through network. Operator display
In the control room
Various I/O
readings are
floating around
Each unit is equipped
with ID tags.
w/ many I/O channels
Typical Control Room
Typical Operator Display
Touch the screen to
get the reading on
any specification
location.
(Re)-configure controllers
directly from the screen.
Computer Integrated Process Management
Advanced
Process Control
(APC)
What we study in
this class mostly.
Example: Liquid Receiver Level Control
dt
dh dy
Ac = ( Fi − Fi ) − ( F − F ) ⇒ Ac
ss ss
= d −u
dt dt
where y = h − h ss , d = Fi − Fi ss , and u = F − F ss
•Feedback Controller
F = F ss + K (h − h ss ) ⇒ u = Ky
Plot y vs. t for
Assume constant disturbance d=ζ different K values
dy ζ Ky η =ζ − Ky ζ K
= −
→ y (t ) = 1 − exp − t
dt Ac Ac K Ac
Response Under P-Control
(for Strategy 1)
Mathematical Analysis: Strategy 3
A Feedforward Control Strategy:
dy
F = Fi ⇒ Ac =0
dt
dy
F = Fi + δ ⇒ Ac = −δ ⇒ y = ??
dt
Difficulties for Control
• Process nonlinearity
– We use linear controllers in most cases.
• Model errors
• Delays (process + measurement)
• Instrumentation problems: Imperfect
measurements, imprecise actuators, inaccurate
transmissions
• Complex process structure (with multiple inputs
and outputs)
Multiple Control Loops