The importance of oxygen availability in two plant-based bioprocesses
Control and Modelling of Bioprocesses Slides adapted from Dr. Katie Third.
-
Upload
beatrix-barnett -
Category
Documents
-
view
219 -
download
3
Transcript of Control and Modelling of Bioprocesses Slides adapted from Dr. Katie Third.
![Page 1: Control and Modelling of Bioprocesses Slides adapted from Dr. Katie Third.](https://reader034.fdocuments.in/reader034/viewer/2022052603/56649f115503460f94c24c1d/html5/thumbnails/1.jpg)
Control and Modellingof Bioprocesses
Slides adapted from Dr. Katie Third
![Page 2: Control and Modelling of Bioprocesses Slides adapted from Dr. Katie Third.](https://reader034.fdocuments.in/reader034/viewer/2022052603/56649f115503460f94c24c1d/html5/thumbnails/2.jpg)
Lecture Outline
• Purpose of Process Control
• Building blocks of process control– The bioreactor (modelling)– Sensors– Actuators– Controllers
• Basic control schemes
• Basic Controller Actions
• Case examples
![Page 3: Control and Modelling of Bioprocesses Slides adapted from Dr. Katie Third.](https://reader034.fdocuments.in/reader034/viewer/2022052603/56649f115503460f94c24c1d/html5/thumbnails/3.jpg)
Process ControlGuidance of the process along a certain path to produce a product that meets predefined quality specifications
The AimTo produce the product of interest at a
minimum of operating costs (ie. Increase the cost/benefit ratio)
![Page 4: Control and Modelling of Bioprocesses Slides adapted from Dr. Katie Third.](https://reader034.fdocuments.in/reader034/viewer/2022052603/56649f115503460f94c24c1d/html5/thumbnails/4.jpg)
Process Control
Involves the use of monitored information to make decisions
that affect the process in a desirable way
On the right path?
Make decision
Process
![Page 5: Control and Modelling of Bioprocesses Slides adapted from Dr. Katie Third.](https://reader034.fdocuments.in/reader034/viewer/2022052603/56649f115503460f94c24c1d/html5/thumbnails/5.jpg)
Reasons for Process Control
• Easier optimisation of the process
• More constant product quality
• Detection of problems and their location at an early stage
• Greater quality assurance
![Page 6: Control and Modelling of Bioprocesses Slides adapted from Dr. Katie Third.](https://reader034.fdocuments.in/reader034/viewer/2022052603/56649f115503460f94c24c1d/html5/thumbnails/6.jpg)
4 Basic Building Blocks of a Controlled Process
1. The plant (bioreactor)
3. Actuators
4. Controllers
2. Sensors
![Page 7: Control and Modelling of Bioprocesses Slides adapted from Dr. Katie Third.](https://reader034.fdocuments.in/reader034/viewer/2022052603/56649f115503460f94c24c1d/html5/thumbnails/7.jpg)
(1) BioreactorBatch process• significant changes of process variables over
time • requires more complex control • requires experience with the process (feed
forward control)
Steady state processes (chemostat)• constant process conditions • more simple process control• feedback control often sufficient
![Page 8: Control and Modelling of Bioprocesses Slides adapted from Dr. Katie Third.](https://reader034.fdocuments.in/reader034/viewer/2022052603/56649f115503460f94c24c1d/html5/thumbnails/8.jpg)
(2) Sensors (Measuring Devices)
• Enable monitoring of the state of the process – e.g. temperature, DO concentration, biomass conc.
• Measurements can be on-line or off-line.
![Page 9: Control and Modelling of Bioprocesses Slides adapted from Dr. Katie Third.](https://reader034.fdocuments.in/reader034/viewer/2022052603/56649f115503460f94c24c1d/html5/thumbnails/9.jpg)
On-line Measurements
• Performed automatically
• Results directly available for control
• Monitored continuously
Off-line Measurements• Require human interface
• Less frequent and usually irregular
• Best suited for checking and calibrating
![Page 10: Control and Modelling of Bioprocesses Slides adapted from Dr. Katie Third.](https://reader034.fdocuments.in/reader034/viewer/2022052603/56649f115503460f94c24c1d/html5/thumbnails/10.jpg)
Types of On-line Measuring Equipment
Physical Measurements– Temperature– Weight – Liquid flow rates– Gaseous flow rates– Liquid level– Pressure inside vessel
10.12 kg
![Page 11: Control and Modelling of Bioprocesses Slides adapted from Dr. Katie Third.](https://reader034.fdocuments.in/reader034/viewer/2022052603/56649f115503460f94c24c1d/html5/thumbnails/11.jpg)
Sensors (continued)
Physico-Chemical Measurements•pH•Oxidation-reduction potential
(ORP, Eh)
•Dissolved oxygen•Conductivity
•Off-gases (CO2, H2, CH4)
•NH4+ (ion-selective electrodes)
![Page 12: Control and Modelling of Bioprocesses Slides adapted from Dr. Katie Third.](https://reader034.fdocuments.in/reader034/viewer/2022052603/56649f115503460f94c24c1d/html5/thumbnails/12.jpg)
Sensors (continued)
Biochemical Measurements
•Respiration rate (OUR, SOUR)
•Volatile fatty acids (VFA’s)
•Flourescence (e.g. NADH)
•Turbidity
![Page 13: Control and Modelling of Bioprocesses Slides adapted from Dr. Katie Third.](https://reader034.fdocuments.in/reader034/viewer/2022052603/56649f115503460f94c24c1d/html5/thumbnails/13.jpg)
Requirements of a good on-line sensor
• Heat and pressure resistant autoclavable
• Mechanically robust• Resistant to bacterial adhesion• Stable over a long period• Fast dynamics in relation to the
measured variable• Linear characteristics easy in-
situ calibration
![Page 14: Control and Modelling of Bioprocesses Slides adapted from Dr. Katie Third.](https://reader034.fdocuments.in/reader034/viewer/2022052603/56649f115503460f94c24c1d/html5/thumbnails/14.jpg)
(3) Actuators
• Devices which make the changes to the process, e.g.
•Aeration pumps•Stirrers•Feed pumps•Chemical dosing pumps•Inoculation ports•Recycle pumps
![Page 15: Control and Modelling of Bioprocesses Slides adapted from Dr. Katie Third.](https://reader034.fdocuments.in/reader034/viewer/2022052603/56649f115503460f94c24c1d/html5/thumbnails/15.jpg)
(4) Controllers
Devices that decide on the appropriate action to be taken to
keep the process running along the desired path
– Computers– “Biocontrollers”
![Page 16: Control and Modelling of Bioprocesses Slides adapted from Dr. Katie Third.](https://reader034.fdocuments.in/reader034/viewer/2022052603/56649f115503460f94c24c1d/html5/thumbnails/16.jpg)
Basic Control Schemes
• Open-Loop Control (Feedforward)
• Closed-Loop Control (Feedback)
– Inferential control
• Combined feedforward and feedback (model-supported control)
![Page 17: Control and Modelling of Bioprocesses Slides adapted from Dr. Katie Third.](https://reader034.fdocuments.in/reader034/viewer/2022052603/56649f115503460f94c24c1d/html5/thumbnails/17.jpg)
Feedforward Control (Open-Loop Control)
• The pattern of the manipulable variable is predetermined, and directly adjusts the actuator
• There is no feedback from the process to the controller
• Requires no measurement of the variable• Often model-based requires reliable
model• Large deviations of the process from the
required path are not corrected for
![Page 18: Control and Modelling of Bioprocesses Slides adapted from Dr. Katie Third.](https://reader034.fdocuments.in/reader034/viewer/2022052603/56649f115503460f94c24c1d/html5/thumbnails/18.jpg)
Feedforward Control (Open-Loop Control)
Feedforward
controller ProcessOutputInput
E.g. In fed-batch cultivation, the pattern of the feed rate profile is used to directly adjust the feed pump
![Page 19: Control and Modelling of Bioprocesses Slides adapted from Dr. Katie Third.](https://reader034.fdocuments.in/reader034/viewer/2022052603/56649f115503460f94c24c1d/html5/thumbnails/19.jpg)
Feedback Control (Closed-Loop Control)
• Conventional and most common type of control scheme … “safest”
• Measurements from the process are used to calculate a suitable control action
• Appropriate when the accuracy requirement is higher
• Deviations between the variable and its setpoint are used to change the process smaller deviations
![Page 20: Control and Modelling of Bioprocesses Slides adapted from Dr. Katie Third.](https://reader034.fdocuments.in/reader034/viewer/2022052603/56649f115503460f94c24c1d/html5/thumbnails/20.jpg)
Feedback Control (Closed-Loop Control)
errorController
ProcessActuator
Measured output
![Page 21: Control and Modelling of Bioprocesses Slides adapted from Dr. Katie Third.](https://reader034.fdocuments.in/reader034/viewer/2022052603/56649f115503460f94c24c1d/html5/thumbnails/21.jpg)
Ideal Feedback Controller
DO mg L-
1
Time
1
2
![Page 22: Control and Modelling of Bioprocesses Slides adapted from Dr. Katie Third.](https://reader034.fdocuments.in/reader034/viewer/2022052603/56649f115503460f94c24c1d/html5/thumbnails/22.jpg)
OvershootingIf the input signal does not immediately affect
the output delayed action typical of on/off controllers
Caused by things such as;• feed pump too large for required
dosage• delay in sensor response
DO mg L-
1
Time
1
2
![Page 23: Control and Modelling of Bioprocesses Slides adapted from Dr. Katie Third.](https://reader034.fdocuments.in/reader034/viewer/2022052603/56649f115503460f94c24c1d/html5/thumbnails/23.jpg)
Combined Feedforward and Feedback Control
• To compensate for small model deviations and unpredicted disturbances
• Feedforward control establishes control according to process model
• Feedback allows for refinement by correcting for deviations
![Page 24: Control and Modelling of Bioprocesses Slides adapted from Dr. Katie Third.](https://reader034.fdocuments.in/reader034/viewer/2022052603/56649f115503460f94c24c1d/html5/thumbnails/24.jpg)
Combined Feedforward and Feedback Control
Feedforward controller
Process
Feedbackcontroller
Set point
![Page 25: Control and Modelling of Bioprocesses Slides adapted from Dr. Katie Third.](https://reader034.fdocuments.in/reader034/viewer/2022052603/56649f115503460f94c24c1d/html5/thumbnails/25.jpg)
Inferential Control
When direct feedback of the variable of interest is not possible, on-line measurements can be used to “infer” the state of the variables (also called State Estimation)
E.g. DO fluctuations SOUR
Time
DO
dcL/dt OUR
![Page 26: Control and Modelling of Bioprocesses Slides adapted from Dr. Katie Third.](https://reader034.fdocuments.in/reader034/viewer/2022052603/56649f115503460f94c24c1d/html5/thumbnails/26.jpg)
State Estimation
• Measurements give indirect information about critical variables in the process (e.g. biomass activity, biomass concentration, substrate concentration etc.)
• Using the on-line measurements to estimate the current state of the biomass state estimators (e.g. SOUR)
• Advantage: enables on-line control of a variable that cannot be measured on-line
• Modelling plays important role
![Page 27: Control and Modelling of Bioprocesses Slides adapted from Dr. Katie Third.](https://reader034.fdocuments.in/reader034/viewer/2022052603/56649f115503460f94c24c1d/html5/thumbnails/27.jpg)
State Estimation
• Also the Control action itself can be recorded and used as an online or offline process analysis tool.
• For example the total duration over which the alkali dosing pump has been switched on, allows to calculate the amount of alkali used to counteract the acid produced in the bioprocess Biological acid production is recorded online.
![Page 28: Control and Modelling of Bioprocesses Slides adapted from Dr. Katie Third.](https://reader034.fdocuments.in/reader034/viewer/2022052603/56649f115503460f94c24c1d/html5/thumbnails/28.jpg)
Car steering analogy of PID controller
Setpoint
Current signal
![Page 29: Control and Modelling of Bioprocesses Slides adapted from Dr. Katie Third.](https://reader034.fdocuments.in/reader034/viewer/2022052603/56649f115503460f94c24c1d/html5/thumbnails/29.jpg)
Basic Controller Decision making
Temp < Setp.? YN
TurnHeater
On
TurnHeater
Off
WaitX
sec
GetNew
Temp.
![Page 30: Control and Modelling of Bioprocesses Slides adapted from Dr. Katie Third.](https://reader034.fdocuments.in/reader034/viewer/2022052603/56649f115503460f94c24c1d/html5/thumbnails/30.jpg)
Basic Controller Actions
• Simplest type – digital on-off switching, e.g. thermostat
• PID control (very common and important)
• Fuzzy logic control, Adaptive Controllers, Self learning systems (not covered in this unit)
![Page 31: Control and Modelling of Bioprocesses Slides adapted from Dr. Katie Third.](https://reader034.fdocuments.in/reader034/viewer/2022052603/56649f115503460f94c24c1d/html5/thumbnails/31.jpg)
On-Off controller
• E.g. stop airflow if DO is higher than setpoint large oscillations of process variable
• can use an acceptable band of values with no control action, e.g. If pH > 8 then run acid pump. If pH<6 then run base pump. no precise control
![Page 32: Control and Modelling of Bioprocesses Slides adapted from Dr. Katie Third.](https://reader034.fdocuments.in/reader034/viewer/2022052603/56649f115503460f94c24c1d/html5/thumbnails/32.jpg)
Proportional Controller
• Multiplies the deviation of the variable from the setpoint with a constant, Kp
• The further away the variable from the setpoint, the stronger the action
Control input = (Process output – Setpoint).Kp Controller
signal signal output
![Page 33: Control and Modelling of Bioprocesses Slides adapted from Dr. Katie Third.](https://reader034.fdocuments.in/reader034/viewer/2022052603/56649f115503460f94c24c1d/html5/thumbnails/33.jpg)
Proportional controller
Setpoint
Car – steering analogy: Check distance from middle of the lane and correct steering in proportion to distance from desired position
![Page 34: Control and Modelling of Bioprocesses Slides adapted from Dr. Katie Third.](https://reader034.fdocuments.in/reader034/viewer/2022052603/56649f115503460f94c24c1d/html5/thumbnails/34.jpg)
Integral controller
Setpoint
Car steering analogy:Look out through the back window and keep track of •how long the car has been out of desired position and •by how much. How long (sec) * how much (m) is the integral (sec*m). The longer the car was positioned away from the setpoint the stronger the signalGood to correct for long term and only slight deviation from setpoint.
![Page 35: Control and Modelling of Bioprocesses Slides adapted from Dr. Katie Third.](https://reader034.fdocuments.in/reader034/viewer/2022052603/56649f115503460f94c24c1d/html5/thumbnails/35.jpg)
Integrating Controllers
• Integration of a curve area under the curve
• Integrated input signal is multiplied by a factor, Ki
![Page 36: Control and Modelling of Bioprocesses Slides adapted from Dr. Katie Third.](https://reader034.fdocuments.in/reader034/viewer/2022052603/56649f115503460f94c24c1d/html5/thumbnails/36.jpg)
Integrating Controllers
• A purely integrating controller is slow and
• Error takes long time to build up
• Action can become too strong overshooting
• Int controller is unaware of current position Generally used combined with P control (looking at current position) – PI control
![Page 37: Control and Modelling of Bioprocesses Slides adapted from Dr. Katie Third.](https://reader034.fdocuments.in/reader034/viewer/2022052603/56649f115503460f94c24c1d/html5/thumbnails/37.jpg)
Differentiating Controller
• Examines the rate of change of the output of the process
• The faster the change, the stronger the action
• The derivative of the output (slope) is multiplied by a constant, Kd
![Page 38: Control and Modelling of Bioprocesses Slides adapted from Dr. Katie Third.](https://reader034.fdocuments.in/reader034/viewer/2022052603/56649f115503460f94c24c1d/html5/thumbnails/38.jpg)
Car steering analogy of Differential controller -
Setpoint
![Page 39: Control and Modelling of Bioprocesses Slides adapted from Dr. Katie Third.](https://reader034.fdocuments.in/reader034/viewer/2022052603/56649f115503460f94c24c1d/html5/thumbnails/39.jpg)
Differentiating Element and PID Controllers
• Differential control is insensitive to slow changes
• If the variable is parallel to the setpoint, no change is made (slope = 0)
• Differential control is very useful when combined with P and I control PID control
![Page 40: Control and Modelling of Bioprocesses Slides adapted from Dr. Katie Third.](https://reader034.fdocuments.in/reader034/viewer/2022052603/56649f115503460f94c24c1d/html5/thumbnails/40.jpg)
Problems with individual PID control elements
Setpoint
P: Alarm: strong left turn neededI: No problem: Past Right and Left errors are about equalD: No problem: Direction is parallel to setpoint
![Page 41: Control and Modelling of Bioprocesses Slides adapted from Dr. Katie Third.](https://reader034.fdocuments.in/reader034/viewer/2022052603/56649f115503460f94c24c1d/html5/thumbnails/41.jpg)
Problems with individual PID control elements
Setpoint
P: No problem: Signal position is on setpointD: Alarm: Direction is wrong. Left turn needed
![Page 42: Control and Modelling of Bioprocesses Slides adapted from Dr. Katie Third.](https://reader034.fdocuments.in/reader034/viewer/2022052603/56649f115503460f94c24c1d/html5/thumbnails/42.jpg)
Conflicting or neutralising advice by PID control elements
Setpoint
P: Alarm: Position too far left. Turn rightD: Alarm: Direction too far towards right. Turn Left. position is on setpoint
![Page 43: Control and Modelling of Bioprocesses Slides adapted from Dr. Katie Third.](https://reader034.fdocuments.in/reader034/viewer/2022052603/56649f115503460f94c24c1d/html5/thumbnails/43.jpg)
Time Analogy of PID Controllers
• P: Present time. Only considers current position. Not aware of current direction and of error history
• I: Past time. Only compiles an error sum of the past. Not aware of current distance of signal from setpoint and of current direction.
• D: Future time. Only considers current direction (trend). Now aware of current distance of signal from setpoint and of error history.
![Page 44: Control and Modelling of Bioprocesses Slides adapted from Dr. Katie Third.](https://reader034.fdocuments.in/reader034/viewer/2022052603/56649f115503460f94c24c1d/html5/thumbnails/44.jpg)
Questions – True of False?
• Differentiating elements are capable of detecting small changes providing they occur rapidly
• Integrating elements always respond rapidly to changes in output signals
• A long delay time in a feedback control system may lead to considerable overshoot
- TRUE
- FALSE
- TRUE
![Page 45: Control and Modelling of Bioprocesses Slides adapted from Dr. Katie Third.](https://reader034.fdocuments.in/reader034/viewer/2022052603/56649f115503460f94c24c1d/html5/thumbnails/45.jpg)
Questions – True of False?
• Time between changes in measured values and control action should always be as short as possible
• A proportional controller once set up to maintain an output of a process at a setpoint will not require any re-adjustment to ensure the output remains constant
• A state estimator allows us to operate on-line control of a variable for which no on-line measurements are available
- FALSE
- Usually FALSE
- TRUE
![Page 46: Control and Modelling of Bioprocesses Slides adapted from Dr. Katie Third.](https://reader034.fdocuments.in/reader034/viewer/2022052603/56649f115503460f94c24c1d/html5/thumbnails/46.jpg)
Content beyond this point is not examinable
![Page 47: Control and Modelling of Bioprocesses Slides adapted from Dr. Katie Third.](https://reader034.fdocuments.in/reader034/viewer/2022052603/56649f115503460f94c24c1d/html5/thumbnails/47.jpg)
Proportional Integral Derivative (PID) Controllers
• Conventional and classical approach of control engineering
• Parameters Kc, I and D can be determined from simple experiments
dt
ddtKtm
t
Dc
01
.1
)(
![Page 48: Control and Modelling of Bioprocesses Slides adapted from Dr. Katie Third.](https://reader034.fdocuments.in/reader034/viewer/2022052603/56649f115503460f94c24c1d/html5/thumbnails/48.jpg)
Determining the PID values
Ta
B A
K=A/B
=gain
DO
mg L-1
TimeActuating signal
Process response
![Page 49: Control and Modelling of Bioprocesses Slides adapted from Dr. Katie Third.](https://reader034.fdocuments.in/reader034/viewer/2022052603/56649f115503460f94c24c1d/html5/thumbnails/49.jpg)
Determining the PID values
• Ziegler/Nicols Procedure
PID ControlKC = (1.2/K) T/a (proportional)
I = 2.0 a (differential)
D = 0.5 a (integral)
dt
ddtKtm
t
Dc
01
.1
)(
![Page 50: Control and Modelling of Bioprocesses Slides adapted from Dr. Katie Third.](https://reader034.fdocuments.in/reader034/viewer/2022052603/56649f115503460f94c24c1d/html5/thumbnails/50.jpg)
Adaptive Controllers (not examinable)
• The state of the biomass changes continuously during the course of a non-steady state bioprocess (the car may turn into a boat)
• Required PID values of controller change
• Adaptive controllers continuously adjust control parameters during the running process
• Requires finding how to “tune” the control values
Experimentation and finding linear relationships between state of biomass and PID values
![Page 51: Control and Modelling of Bioprocesses Slides adapted from Dr. Katie Third.](https://reader034.fdocuments.in/reader034/viewer/2022052603/56649f115503460f94c24c1d/html5/thumbnails/51.jpg)
Adaptive Controllers
• Result in significant improvements to the control
• Tuning of control parameters can be easy when simple “black-box” assumptions can be made
• When simple assumptions are not adequate, process dynamics must be considered in a process model
Model-supported control (or combined feedback and feedforward control
![Page 52: Control and Modelling of Bioprocesses Slides adapted from Dr. Katie Third.](https://reader034.fdocuments.in/reader034/viewer/2022052603/56649f115503460f94c24c1d/html5/thumbnails/52.jpg)
Fuzzy Logic Control
• Useful when concrete knowledge cannot be transformed into mathematical equations
• Based on “fuzzy logic”
e.g. “If … happens, take … action”
• Although very simplified, whole bioprocesses can run effectively on fuzzy logic rules
![Page 53: Control and Modelling of Bioprocesses Slides adapted from Dr. Katie Third.](https://reader034.fdocuments.in/reader034/viewer/2022052603/56649f115503460f94c24c1d/html5/thumbnails/53.jpg)
Learning OutcomesYou should be able to;
– Explain the range of control schemes that exist for controlling a bioprocess
– Understand how the different types of controllers work
– Identify which variables will need controlling in a bioprocess
– Identify useful features of an on-line measuring device
– Recognize applications of process control in the food industry