Process controls: Difference between revisions
No edit summary |
Kathleenzhou (talk | contribs) No edit summary |
||
(57 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<br> | <br> | ||
Author: Samson Fong <sup> [2015] </sup> | Author: Samson Fong <sup> [2015] </sup> and Kathleen Zhou <sup> [2016] </sup> | ||
Stewards: Jian Gong and Fengqi You | Stewards: Jian Gong and Fengqi You | ||
Line 12: | Line 12: | ||
==Introduction== | ==Introduction== | ||
Process control is an important part in maintaining the output of a system within a desired range by manipulating various inputs. The objective of process control is to model a system’s behavior when a certain perturbation is made. This may be an artificial perturbation or system noise or drift. Practically, process control is used to maintain the desired output (flowrates, temperature, compositions, and other properties) | [[File:Water_clock.jpg|thumb|right|'''Figure 1''' Depiction of early water clock|150x200px]] | ||
Process control is an important part in maintaining the output of a system within a desired range by manipulating various inputs. The objective of process control is to model a system’s behavior when a certain perturbation is made. This may be an artificial perturbation or system noise or drift. Practically, process control is used to maintain the desired output (flowrates, temperature, compositions, and other properties) In addition, process control is very important to ensuring the safety of the workers and the community in which the plant is a part of. Controlling the process at a certain operating conditions (including temperature and pressure) will prevent the system from reaching dangerous levels that may cause a run-away reaction or other hazards that may harm those around the plant (Towler et al.,2012). | |||
This article addresses the theoretical background of process control rather than the mechanical instruments (such as valves, controllers, etc) used for the control. | This article addresses the theoretical background of process control rather than the mechanical instruments (such as valves, controllers, etc) used for the control. | ||
Line 18: | Line 20: | ||
==Brief History== | ==Brief History== | ||
Automatic control systems dated as far back as the ancient Greeks around 300 BC when a Greek mathematician Ctesibius invented a water clock | Automatic control systems dated as far back as the ancient Greeks around 300 BC when a Greek mathematician Ctesibius invented a water clock. However, formal mathematical formulations of control theory began by James Clerk Maxwell in his paper On governors in the Proceedings of Royal Society (1867-1868) (Maxwell 1867). The paper focused primarily on the steam engine. | ||
Since Maxwell’s paper, the field has developed substantially and applied in a variety of fields. For instance, the Wright brothers had to develop dynamic control to sustain manned flight | Since Maxwell’s paper, the field has developed substantially and applied in a variety of fields. For instance, the Wright brothers had to develop dynamic control to sustain manned flight (Wright). Control theory also played an important role in stabilizing ships and even in space travel. | ||
Line 27: | Line 29: | ||
The first step to designing or analyzing a process control scheme is to determine the various inputs and outputs. There are three broad categories for any given system: inputs, outputs, and constants or parameters. Inputs are any factors that change with time that affect the system’s output. The output refers to the desired controlled variable. Consider this as the objective of the model. Finally, the constants or parameters are simply any variables that stay constant with respect to time that do not impact the output’s dynamics. | The first step to designing or analyzing a process control scheme is to determine the various inputs and outputs. There are three broad categories for any given system: inputs, outputs, and constants or parameters. Inputs are any factors that change with time that affect the system’s output. The output refers to the desired controlled variable. Consider this as the objective of the model. Finally, the constants or parameters are simply any variables that stay constant with respect to time that do not impact the output’s dynamics. | ||
Inputs can further be separated into disturbance inputs and manipulated inputs. Manipulated variables refer to the quantities that are directly adjusted to control the system. Disturbance variables refer to the quantities that affect the control variable that cannot be controlled. One useful method in determining disturbance variable is to identify the manipulated variables and outputs. All other variables (not constants) are generally disturbance input variables | Inputs can further be separated into disturbance inputs and manipulated inputs. Manipulated variables refer to the quantities that are directly adjusted to control the system. Disturbance variables refer to the quantities that affect the control variable that cannot be controlled. One useful method in determining disturbance variable is to identify the manipulated variables and outputs. All other variables (not constants) are generally disturbance input variables (Seborg et al.,2011). | ||
==Feedback control== | ==Feedback control== | ||
Feedback control refers to a system where the controlled variable is measured while the manipulated variable is changed. Due to the delayed nature of the control scheme, a disadvantage is that the system is almost always wrong before any corrective measures are taken. However, since the output is measured directly, an accurate depiction of the output is known at all times | Feedback control refers to a system where the controlled variable is measured while the manipulated variable is changed. Due to the delayed nature of the control scheme, a disadvantage is that the system is almost always wrong before any corrective measures are taken. However, since the output is measured directly, an accurate depiction of the output is known at all times (Seborg et al.,2011). | ||
===Case Study 1=== | ===Case Study 1=== | ||
[[File:Feedback Control1.png|thumb|center|'''Figure | [[File:Feedback Control1.png|thumb|center|'''Figure 2''' Feedback Control Scheme (1)|450x500px]] | ||
The scheme above is intuitively a feedback control scheme. The level indicator will impart the information to the controller, and the controller will make the decision to whether to increase flow rate or decrease flow rate by adjusting the valve. The controller makes the decision according to the transfer function that it is calibrated with. Most practically, as the level indicator reads too high a level, the controller will open the valve in order to increase flow rate. | The scheme above is intuitively a feedback control scheme. The level indicator will impart the information to the controller, and the controller will make the decision to whether to increase flow rate or decrease flow rate by adjusting the valve. The controller makes the decision according to the transfer function that it is calibrated with. Most practically, as the level indicator reads too high a level, the controller will open the valve in order to increase flow rate. | ||
Line 43: | Line 45: | ||
===Case Study 2=== | ===Case Study 2=== | ||
[[File:Feedback Control2.png|thumb|center|'''Figure | [[File:Feedback Control2.png|thumb|center|'''Figure 3''' Feedback Control Scheme (2)|450x500px]] | ||
The scheme above is less intuitive. Since the valve is fixing the flow into the tank rather than out of the tank, it is common to misclassify this scheme as feedforward. However, careful consideration of variables show that the valve makes the flow into the tank the manipulated variable while the flow out simply becomes the disturbance variable. Similar to the first scheme, the controlled variable (the level) is still being measured. As a result, this is still a feedback control by definition. Note, that the position of the variables in the physical setup has little bearing on the classification (hence analysis) of the system. | The scheme above is less intuitive. Since the valve is fixing the flow into the tank rather than out of the tank, it is common to misclassify this scheme as feedforward. However, careful consideration of variables show that the valve makes the flow into the tank the manipulated variable while the flow out simply becomes the disturbance variable. Similar to the first scheme, the controlled variable (the level) is still being measured. As a result, this is still a feedback control by definition. Note, that the position of the variables in the physical setup has little bearing on the classification (hence analysis) of the system. | ||
===Alternative depiction=== | |||
[[File:FeedbackControlLoop.png|thumb|center|'''Figure 4''' Feedback Control Block-flow Diagram (Taken from Wikipedia) |450x500px]] | |||
This is an alternative depiction of a generic feedback control. In this diagram, information is treated equally as material flow where as previously, some diagrams distinguish the two by using dotted lines for information flow and solid lines for material flow. The main idea of this diagram is not to show the physical system, but the way the controller is interacting with the different elements. | |||
This is useful in determining the transfer functions of the controller since the diagram depicts not only the different pieces of information that are flowing (from the controller C to the plant P which flows to the sensor F) but also the order in which they come in. In addition, two adjacent boxes are equivalent to multiplying the two transfer functions. As a result, a simple rearrangement will yield a transfer function that is representation of the system. | |||
===Quantitative Discussion of Feedback Control=== | |||
Below are different schemes for feedback controller that decides how much of the valve is opened (in the previous examples) or how much to respond to the current pertubation. As one can see from the alternative depiction, feedback control is considered a closed-loop system as the information makes closed loop. | |||
====Proportional Control==== | |||
:<math> p(t) = p_s + K_c e(t) </math> | |||
p(t) refers to the controller's output while :<math> p_s </math> refers to the steady state value of the controller. :<math> K_c </math> refers to the controller gain, and e(t) is the error function. This type of controller simply responds proportionally with the error signal (which is the deviation from the setpoint). The greater the error, the greater the response. Mathematically, this first order function has no bounds, but in reality, it would reach a saturation point on both ends of the error. | |||
While this controller would respond immediately to the error, this type of controller is susceptible to a steady-state error (or offset) following a sustained disturbance (Seborg et al.,2011). | |||
====Integral Control==== | |||
:<math> p(t) = p_s + \frac{1}{\tau} \int\limits_{0}^{t} e(t)\text{d}t </math> | |||
:<math> \tau </math> refers to the reset time. This type of controller is primarily a response to the inherent deficiency of proportional control as this would fix the offset error. However, used by itself, the controller does not take action until the error has accumulated since the controller only responds to the total summation of the error (the integral). Consequently, this is often used in conjunction with proportional control. In addition, integral controls, even when used in conjunction with proportional control, are very susceptible to oscillations (Seborg et al.,2011). | |||
====Derivative Control==== | |||
:<math> p(t) = p_s + \tau_D \frac{\text{d}}{\text{d}t}e(t) </math> | |||
This control scheme attempts to anticipate the disturbance by considering the derivative of the error. This type of anticipatory action makes a physical implementation difficult and a filter term is needed to make this controller feasible. In addition, this anticipatory scheme is also very susceptible to system noise. If the system changes slightly over a short period of term, the derivative term will be large, causing a large response. As a result, many industrial usages use a combination of all three schemes, known as a PID controller (Seborg et al.,2011). | |||
====PID Controller==== | |||
:<math> p(t) = p_s + K_c \left [ e(t) + \frac{1}{\tau} \int\limits_{0}^{t} e(t)\text{d}t + \tau_D \frac{\text{d}}{\text{d}t}e(t) \right ]</math> | |||
This scheme is a combination of the previous three schemes. This scheme employs all the advantages of the three schemes. However, it also inherits the disadvantages. Most notably, the problem with derivative controllers where it would respond rapidly to a noisy system. As a result, each controller is often tuned specifically to the system on hand by tuning each parameter or by adding terms to the control algorithm (Rivera et al., 1986) | |||
==Feedforward control== | ==Feedforward control== | ||
Feedforward control refers to a system where the disturbance variable is measured and the controlled variable is not measured. The reason is feedforward control is a predictive control scheme where only an input is measured, and the control system will predict the appropriate control scheme to ensure the desired output occurs | Feedforward control refers to a system where the disturbance variable is measured and the controlled variable is not measured. The reason is feedforward control is a predictive control scheme where only an input is measured, and the control system will predict the appropriate control scheme to ensure the desired output occurs (Seborg et al., 2011). | ||
===Case Study=== | ===Case Study=== | ||
[[File:Feedforward Control.png|thumb|center|'''Figure | [[File:Feedforward Control.png|thumb|center|'''Figure 5''' Feedforward Control Scheme (1)|450x500px]] | ||
This scheme share many similarities with the second feedback scheme. It also has the flow into the tank as the manipulated variable while the flow out is the disturbance variable. However, this scheme does not show that the level is being measured. Since the controlled variable is not measured, it is classified as a feedforward scheme. | This scheme share many similarities with the second feedback scheme. It also has the flow into the tank as the manipulated variable while the flow out is the disturbance variable. However, this scheme does not show that the level is being measured. Since the controlled variable is not measured, it is classified as a feedforward scheme. | ||
Line 61: | Line 97: | ||
Ideally, a perfect feedforward control will be able preemptively adapt to any disturbances to the system and correct any disturbance quickly. However, any imperfection whether in the model or the mechanical implementation would lead to undetected behavior in the output. | Ideally, a perfect feedforward control will be able preemptively adapt to any disturbances to the system and correct any disturbance quickly. However, any imperfection whether in the model or the mechanical implementation would lead to undetected behavior in the output. | ||
In most industrial applications, feedforward control is usually not used by itself. However, it is often used in conjunction with feedback control in order to correct the main disadvantage of the feed forward control. | In most industrial applications, feedforward control is usually not used by itself. However, it is often used in conjunction with feedback control in order to correct the main disadvantage of the feed forward control (Towler et al.,2012). | ||
==Formulating a Control Strategy== | |||
===Considerations=== | |||
There are a number of considerations that should be taken into account when formulating a control strategy. These include <sup> [4] </sup>: | |||
#Specify control objectives - For example, maintaining a process variable at a setpoint | |||
#Identify input variables in the system | |||
#Identify output variables in the system | |||
#Identify any constraints for the system | |||
#*Constraints should also be classified as “hard” or “soft.” Hard constraints are those that cannot be violated without significant issues, such as #environment, health, and safety concerns. Soft constraints are those that ideally would not be violated, but would not result in an extreme issue, #such as maintaining product purity. | |||
#Specify operating mode as batch or continuous | |||
#Identify safety, environmental, or economic needs | |||
===Case Study=== | |||
Let us examine the following case of a mixer combining two streams, one of pure water and one of pure compound A: | |||
[[File:Mixer.PNG]] | |||
#Specify control objectives - Maintain h at set point h<sub>sp</sub>, maintain c<sub>3A</sub> at set point c<sub>3-sp</sub> | |||
#Identify input variables in the system - F<sub>1</sub>,F<sub>2</sub>, and F<sub>3</sub> are input variables (variables that impact the process) | |||
#Identify output variables in the system - h and c<sub>3A</sub>are output variables (a variable that is measured which we desire to control) | |||
#Identify any constraints for the system | |||
#*Hard constraint: h < h<sub>UL</sub> where h<sub>UL</sub> describes an upper limit for the liquid level in the tank before it overflows | |||
#*Soft constraint: c<sub>3A</sub> < c<sub>USL</sub>, where c<sub>USL</sub> represents the upper specification limit for the concentration that can be shipped to the customer | |||
#Specify operating mode - In this case, this is a continuous, not batch, operation | |||
#Identify safety, environmental, or economic needs | |||
#*Safety: The valve controlling F<sub>2</sub> should fail open such that in case of a power outage, the tank drains rather than overflows | |||
==Instrumentation== | |||
Accurate, reliable measurement systems are key to good process control. | |||
===Sensors, Transmitters, and Transducers=== | |||
Sensors are devices that measure process variables and produce a physical response. Transmitters then converts the signal from the sensors to one that can be utilized in controllers.It should be noted, however, that the terms sensors, transmitters, and sensor-transmitter can be used interchangeably, and often are in process control literature. Transducers are instruments that convert instrumentation signal between forms <sup> [4] </sup>. | |||
===Selection Criteria for Sensors=== | |||
There are many considerations when choosing a sensor. These include <sup> [5] </sup>: | |||
#Measurement range (span) - The typical range of a process variable must be within the measurement range of the instrument | |||
#Performance - Accuracy is generally considered the most important performance metric, however, this may differ in some processes | |||
#Reliability - Repeatability across a span of time is indicative of long-term reliability | |||
#Materials of construction - The instrument must be able to withstand process conditions, including temperature and pressure, and be compatible with any contacting fluids | |||
#Prior use- Familiarity of operating personnel with the equipment leads to an easier transition | |||
#Potential for loss of primary containment- This consideration is key for preventing exposure of hazardous materials to operators and preventing environmental contamination | |||
#Invasivity - Insertion of a probe has potential to cause fouling, which should be taken into account during selection. | |||
===Sensors By Measured Variable === | |||
The following is a nonexhaustive list of instruments used to measure certain variables. | |||
[[File: DPCell.PNG|300px|thumb|right|A differential pressure cell, which can be used for absolute pressure, differential pressure, level, and interface level determination <sup> [8] </sup>]] | |||
{| class="wikitable" style="text-align: center; | |||
|+ Process Variables and Instrumentation <sup>[4][5]</sup> | |||
|- | |||
! Measured Variable | |||
! Common Instruments | |||
! Alternatives | |||
|- | |||
| |Pressure (gauge) || Differential Pressure Cell || | |||
|- | |||
| Pressure Difference || Differential Pressure Cell || | |||
|- | |||
| Temperature || Thermocouple || Resistance Temperature Detectors (RTD), filled systems, pyrometers | |||
|- | |||
| Volumetric Flow || Orifice meter, Venturi meter || Turbine flowmeter | |||
|- | |||
| Mass Flow || Coriolis meter || Thermal mass meter, radiation-based gauges | |||
|- | |||
| Level || Differential Pressure Cell, Capacitance probe || | |||
|- | |||
| Interface Level || Differential Pressure Cell || | |||
|- | |||
| pH || Glass electrode || | |||
|- | |||
| Composition || Chromatograph || Spectrophotometer, spectrometer (mass, UV, IR) | |||
|} | |||
[[File: Thermocouple.PNG|350px|thumb|left|A thermocouple, which can be used as a sensor for temperature<sup> [9] </sup>]] | |||
[[File: CoriolisMeter.PNG|300px|thumb|right|A Coriolis meter, which can be used as a sensor for mass flow <sup> [11] </sup>]] | |||
[[File: VenturiMeter.PNG|300px|thumb|center|A Venturi meter, which can be used as a sensor for volumetric flow rate<sup> [10] </sup>]] | |||
===Signal Transmission=== | |||
One does not have to worry about the distance between the electronic controller and the instruments, as regardless of distance, the transmission time is for all practical purposes instantaneous. | |||
There are two types of signal transmission. The first are analog signals, in which an electronic signal is sent, where the magnitude of the signal corresponds to magnitude of the represented variable. These tend to be in the form of current rather than voltage, since voltage changes with wire resistance, which is affected by wire length and temperature. For current signals, the current varies between 4 mA and 20 mA, with 4 mA corresponding to 0% of full scale and 20 mA representing 100% full scale, with a linear relationship between the percentage of signal and the current. For example, in a fail-closed valve, a 4 mA signal would keep the valve completely shut, a 10 mA signal would keep the valve halfway open, and a 20 mA signal would open it fully. For very short distances, voltage signals can be used. If voltage is used, the standard signal range is 0 - 5 V, with 0 V corresponding to 0% of full scale, 5 V corresponding to 100% of full scale, and any voltage in between proportionally corresponding to a percent of signal. | |||
As an alternative to analog signals, there are pneumatic pressure signals, which is compressed air transmitted through tubing. The tubing tends to be 0.25-0.375 inches in diameter. The standard signal range is 3 - 15 psi, with 3 psi representing 0% of scale and 15 psi representing 100% of scale. Like current and voltage signals, the amount of pressure is proportional to the percent of signal. Pneumatic signals are commonly used in industry as they help mitigate risk of fire or explosion <sup> [7] </sup>. | |||
==Process Safety and Process Control== | |||
One way of looking at process safety is a “layers of protection” model.<sup> [4] </sup> Ideally, any issues or deviations from the norm are handled at the lowest layer possible for safe operation of the process. These layers are described here in the [https://processdesign.mccormick.northwestern.edu/index.php/Process_safety#Layers_of_Plant_Safety Process Safety page]. The role controls play in process safety is of particular note. | |||
[[File: KZ_SafetyLayers.PNG|400px|thumb|right|Layers of process safety pictured <sup> [4] </sup>]] | |||
===Process Interlocks=== | |||
Interlocks prevent operators from departing from the set procedure. These interlocks may be pneumatic, electric, mechanical, or programmed. For example, interlocks prevent operators from entering values higher or lower than a set, reasonable value. For example, interlocks may prevent an operator for entering a value for reactor temperature beyond the capabilities of the associated heating unit or beyond safe operating limits for the reactor. <sup> [4] </sup> | |||
====Alarms and Safety Trips==== | |||
Alarms are intended to alert operators to deviations in process conditions that have the potential to severely impact product quality or safety. Alarms can create audio or visual cues to alert the operator to the situation. Alternatively, sometimes, alarm systems are programmed as automatic trip systems that do not need operator input, especially in situations where lack of response from the operator could lead to serious issues. An automatic trip system is composed of a sensor, some link that transfers the signal from the sensor to an actuator, and an actuator to perform the desired action.<sup> [4] </sup> | |||
[[File: AlarmBlockDiagram.PNG|400px|thumb|right|General block diagram for alarm systems, depicting the branching between activating annunciators (alerts to operators) and final control elements (directly changing components of the process) <sup> [4] </sup>]] | |||
====Safety Instrument System (SIS)==== | |||
SIS is initiated when a critical process variable exceeds allowable limits to try to get the process back to a safe condition. The SIS involves extreme action such as starting or stopping a pump or completely shutting down a process unit. Because such actions may have a significant negative impact on the process equipment and/or the product quality, the SIS is used as a last resort for safety. In order for the SIS to effectively serve as a back up to BPCS, it must be able to function independently of the BPCS. Thus, it is recommended that the SIS have separate sensors and actuators. This is essential in a case such as a power outage, which would take out the BPCS entirely. Because the SIS involves more drastic measures, there tends to be redundant instrumentation to prevent an errant signal from kicking in the SIS.<sup> [4] </sup> | |||
==References== | ==References== | ||
1. Encyclopaedia Britannica. Greek physicist and inventor, the first great figure of the ancient engineering tradition of Alexandria, Egypt | |||
2. Maxwell, J.C. On Governors. Proceedings of the Royal Society of London; 1867. | |||
3. Rivera, DE. , Morari M , Skogestad S. Internal model control: PID controller design. ACS Publications. | |||
4. Seborg DE, Edgar TF, Mellichamp DA, Doyle FJ. Process Dynamics and Control. 3rd Edition. Wiley; 2011. | |||
5. Towler GP, Sinnott R. Chemical Engineering Design: Principles, Practice and Economics of Plant and Process Design. 3rd Edition. Elsevier; 2012. | |||
6. Wright, Wilbur. Flying Machine patent. US Patent 821,393 | |||
7. Instrumentation Basics: 4-20 mA and 3-15 psi Control Signals. Learning Instrumentation and Controls Engineering Web Site. http://www.instrumentationtoolbox.com/2011/01/instrumentation-basics-control-signals.html#axzz40cpPcnm6. Accessed February 16, 2016. | |||
8. Differential Pressure Transmitters. Vega Controls Web Site. http://www.vegacontrols.co.uk/product_details.asp?productID=312&fixedRangeID=11. Accessed February 21, 2016. | |||
9. Rugged Pipe Plug Thermocouple Probe with 1/4 or 1/8NPT Fitting. Omega Web Site. http://www.omega.com/pptst/TC-NPT.html. Accessed February 21, 2016. | |||
10. Venturi Meter. Chegg Web Site. http://www.chegg.com/homework-help/questions-and-answers/venturi-meter-used-measure-flow-speed-fluid-pipe-meter-connected-two-sections-pipe-fig-14--q1236560. Accessed February 21, 2016. | |||
11. The Basics of Flow Measurement with Coriolis Meters. The Current Flow Solutions Web Site. http://www.micromotionblog.com/the-basics-of-flow-measurement-with-coriolis-meters-part-2/. Accessed February 15, 2016. |
Latest revision as of 23:14, 21 February 2016
Author: Samson Fong [2015] and Kathleen Zhou [2016]
Stewards: Jian Gong and Fengqi You
Introduction
Process control is an important part in maintaining the output of a system within a desired range by manipulating various inputs. The objective of process control is to model a system’s behavior when a certain perturbation is made. This may be an artificial perturbation or system noise or drift. Practically, process control is used to maintain the desired output (flowrates, temperature, compositions, and other properties) In addition, process control is very important to ensuring the safety of the workers and the community in which the plant is a part of. Controlling the process at a certain operating conditions (including temperature and pressure) will prevent the system from reaching dangerous levels that may cause a run-away reaction or other hazards that may harm those around the plant (Towler et al.,2012).
This article addresses the theoretical background of process control rather than the mechanical instruments (such as valves, controllers, etc) used for the control.
Brief History
Automatic control systems dated as far back as the ancient Greeks around 300 BC when a Greek mathematician Ctesibius invented a water clock. However, formal mathematical formulations of control theory began by James Clerk Maxwell in his paper On governors in the Proceedings of Royal Society (1867-1868) (Maxwell 1867). The paper focused primarily on the steam engine.
Since Maxwell’s paper, the field has developed substantially and applied in a variety of fields. For instance, the Wright brothers had to develop dynamic control to sustain manned flight (Wright). Control theory also played an important role in stabilizing ships and even in space travel.
Defining inputs and outputs
The first step to designing or analyzing a process control scheme is to determine the various inputs and outputs. There are three broad categories for any given system: inputs, outputs, and constants or parameters. Inputs are any factors that change with time that affect the system’s output. The output refers to the desired controlled variable. Consider this as the objective of the model. Finally, the constants or parameters are simply any variables that stay constant with respect to time that do not impact the output’s dynamics.
Inputs can further be separated into disturbance inputs and manipulated inputs. Manipulated variables refer to the quantities that are directly adjusted to control the system. Disturbance variables refer to the quantities that affect the control variable that cannot be controlled. One useful method in determining disturbance variable is to identify the manipulated variables and outputs. All other variables (not constants) are generally disturbance input variables (Seborg et al.,2011).
Feedback control
Feedback control refers to a system where the controlled variable is measured while the manipulated variable is changed. Due to the delayed nature of the control scheme, a disadvantage is that the system is almost always wrong before any corrective measures are taken. However, since the output is measured directly, an accurate depiction of the output is known at all times (Seborg et al.,2011).
Case Study 1
The scheme above is intuitively a feedback control scheme. The level indicator will impart the information to the controller, and the controller will make the decision to whether to increase flow rate or decrease flow rate by adjusting the valve. The controller makes the decision according to the transfer function that it is calibrated with. Most practically, as the level indicator reads too high a level, the controller will open the valve in order to increase flow rate.
In this case, the disturbance input is the input flow into the surge tank, and the manipulated input is the flow rate out of the tank. Since the manipulated variable is what is being changed (via the valve), this is by definition a feedback control. Since the level of the fluid in the tank is being measured by the level indicator, it is the controlled variable.
Case Study 2
The scheme above is less intuitive. Since the valve is fixing the flow into the tank rather than out of the tank, it is common to misclassify this scheme as feedforward. However, careful consideration of variables show that the valve makes the flow into the tank the manipulated variable while the flow out simply becomes the disturbance variable. Similar to the first scheme, the controlled variable (the level) is still being measured. As a result, this is still a feedback control by definition. Note, that the position of the variables in the physical setup has little bearing on the classification (hence analysis) of the system.
Alternative depiction
This is an alternative depiction of a generic feedback control. In this diagram, information is treated equally as material flow where as previously, some diagrams distinguish the two by using dotted lines for information flow and solid lines for material flow. The main idea of this diagram is not to show the physical system, but the way the controller is interacting with the different elements.
This is useful in determining the transfer functions of the controller since the diagram depicts not only the different pieces of information that are flowing (from the controller C to the plant P which flows to the sensor F) but also the order in which they come in. In addition, two adjacent boxes are equivalent to multiplying the two transfer functions. As a result, a simple rearrangement will yield a transfer function that is representation of the system.
Quantitative Discussion of Feedback Control
Below are different schemes for feedback controller that decides how much of the valve is opened (in the previous examples) or how much to respond to the current pertubation. As one can see from the alternative depiction, feedback control is considered a closed-loop system as the information makes closed loop.
Proportional Control
p(t) refers to the controller's output while : refers to the steady state value of the controller. : refers to the controller gain, and e(t) is the error function. This type of controller simply responds proportionally with the error signal (which is the deviation from the setpoint). The greater the error, the greater the response. Mathematically, this first order function has no bounds, but in reality, it would reach a saturation point on both ends of the error.
While this controller would respond immediately to the error, this type of controller is susceptible to a steady-state error (or offset) following a sustained disturbance (Seborg et al.,2011).
Integral Control
- refers to the reset time. This type of controller is primarily a response to the inherent deficiency of proportional control as this would fix the offset error. However, used by itself, the controller does not take action until the error has accumulated since the controller only responds to the total summation of the error (the integral). Consequently, this is often used in conjunction with proportional control. In addition, integral controls, even when used in conjunction with proportional control, are very susceptible to oscillations (Seborg et al.,2011).
Derivative Control
This control scheme attempts to anticipate the disturbance by considering the derivative of the error. This type of anticipatory action makes a physical implementation difficult and a filter term is needed to make this controller feasible. In addition, this anticipatory scheme is also very susceptible to system noise. If the system changes slightly over a short period of term, the derivative term will be large, causing a large response. As a result, many industrial usages use a combination of all three schemes, known as a PID controller (Seborg et al.,2011).
PID Controller
This scheme is a combination of the previous three schemes. This scheme employs all the advantages of the three schemes. However, it also inherits the disadvantages. Most notably, the problem with derivative controllers where it would respond rapidly to a noisy system. As a result, each controller is often tuned specifically to the system on hand by tuning each parameter or by adding terms to the control algorithm (Rivera et al., 1986)
Feedforward control
Feedforward control refers to a system where the disturbance variable is measured and the controlled variable is not measured. The reason is feedforward control is a predictive control scheme where only an input is measured, and the control system will predict the appropriate control scheme to ensure the desired output occurs (Seborg et al., 2011).
Case Study
This scheme share many similarities with the second feedback scheme. It also has the flow into the tank as the manipulated variable while the flow out is the disturbance variable. However, this scheme does not show that the level is being measured. Since the controlled variable is not measured, it is classified as a feedforward scheme.
Industrial Usage
Ideally, a perfect feedforward control will be able preemptively adapt to any disturbances to the system and correct any disturbance quickly. However, any imperfection whether in the model or the mechanical implementation would lead to undetected behavior in the output.
In most industrial applications, feedforward control is usually not used by itself. However, it is often used in conjunction with feedback control in order to correct the main disadvantage of the feed forward control (Towler et al.,2012).
Formulating a Control Strategy
Considerations
There are a number of considerations that should be taken into account when formulating a control strategy. These include [4] :
- Specify control objectives - For example, maintaining a process variable at a setpoint
- Identify input variables in the system
- Identify output variables in the system
- Identify any constraints for the system
- Constraints should also be classified as “hard” or “soft.” Hard constraints are those that cannot be violated without significant issues, such as #environment, health, and safety concerns. Soft constraints are those that ideally would not be violated, but would not result in an extreme issue, #such as maintaining product purity.
- Specify operating mode as batch or continuous
- Identify safety, environmental, or economic needs
Case Study
Let us examine the following case of a mixer combining two streams, one of pure water and one of pure compound A:
- Specify control objectives - Maintain h at set point hsp, maintain c3A at set point c3-sp
- Identify input variables in the system - F1,F2, and F3 are input variables (variables that impact the process)
- Identify output variables in the system - h and c3Aare output variables (a variable that is measured which we desire to control)
- Identify any constraints for the system
- Hard constraint: h < hUL where hUL describes an upper limit for the liquid level in the tank before it overflows
- Soft constraint: c3A < cUSL, where cUSL represents the upper specification limit for the concentration that can be shipped to the customer
- Specify operating mode - In this case, this is a continuous, not batch, operation
- Identify safety, environmental, or economic needs
- Safety: The valve controlling F2 should fail open such that in case of a power outage, the tank drains rather than overflows
Instrumentation
Accurate, reliable measurement systems are key to good process control.
Sensors, Transmitters, and Transducers
Sensors are devices that measure process variables and produce a physical response. Transmitters then converts the signal from the sensors to one that can be utilized in controllers.It should be noted, however, that the terms sensors, transmitters, and sensor-transmitter can be used interchangeably, and often are in process control literature. Transducers are instruments that convert instrumentation signal between forms [4] .
Selection Criteria for Sensors
There are many considerations when choosing a sensor. These include [5] :
- Measurement range (span) - The typical range of a process variable must be within the measurement range of the instrument
- Performance - Accuracy is generally considered the most important performance metric, however, this may differ in some processes
- Reliability - Repeatability across a span of time is indicative of long-term reliability
- Materials of construction - The instrument must be able to withstand process conditions, including temperature and pressure, and be compatible with any contacting fluids
- Prior use- Familiarity of operating personnel with the equipment leads to an easier transition
- Potential for loss of primary containment- This consideration is key for preventing exposure of hazardous materials to operators and preventing environmental contamination
- Invasivity - Insertion of a probe has potential to cause fouling, which should be taken into account during selection.
Sensors By Measured Variable
The following is a nonexhaustive list of instruments used to measure certain variables.
Measured Variable | Common Instruments | Alternatives |
---|---|---|
Pressure (gauge) | Differential Pressure Cell | |
Pressure Difference | Differential Pressure Cell | |
Temperature | Thermocouple | Resistance Temperature Detectors (RTD), filled systems, pyrometers |
Volumetric Flow | Orifice meter, Venturi meter | Turbine flowmeter |
Mass Flow | Coriolis meter | Thermal mass meter, radiation-based gauges |
Level | Differential Pressure Cell, Capacitance probe | |
Interface Level | Differential Pressure Cell | |
pH | Glass electrode | |
Composition | Chromatograph | Spectrophotometer, spectrometer (mass, UV, IR) |
Signal Transmission
One does not have to worry about the distance between the electronic controller and the instruments, as regardless of distance, the transmission time is for all practical purposes instantaneous.
There are two types of signal transmission. The first are analog signals, in which an electronic signal is sent, where the magnitude of the signal corresponds to magnitude of the represented variable. These tend to be in the form of current rather than voltage, since voltage changes with wire resistance, which is affected by wire length and temperature. For current signals, the current varies between 4 mA and 20 mA, with 4 mA corresponding to 0% of full scale and 20 mA representing 100% full scale, with a linear relationship between the percentage of signal and the current. For example, in a fail-closed valve, a 4 mA signal would keep the valve completely shut, a 10 mA signal would keep the valve halfway open, and a 20 mA signal would open it fully. For very short distances, voltage signals can be used. If voltage is used, the standard signal range is 0 - 5 V, with 0 V corresponding to 0% of full scale, 5 V corresponding to 100% of full scale, and any voltage in between proportionally corresponding to a percent of signal.
As an alternative to analog signals, there are pneumatic pressure signals, which is compressed air transmitted through tubing. The tubing tends to be 0.25-0.375 inches in diameter. The standard signal range is 3 - 15 psi, with 3 psi representing 0% of scale and 15 psi representing 100% of scale. Like current and voltage signals, the amount of pressure is proportional to the percent of signal. Pneumatic signals are commonly used in industry as they help mitigate risk of fire or explosion [7] .
Process Safety and Process Control
One way of looking at process safety is a “layers of protection” model. [4] Ideally, any issues or deviations from the norm are handled at the lowest layer possible for safe operation of the process. These layers are described here in the Process Safety page. The role controls play in process safety is of particular note.
Process Interlocks
Interlocks prevent operators from departing from the set procedure. These interlocks may be pneumatic, electric, mechanical, or programmed. For example, interlocks prevent operators from entering values higher or lower than a set, reasonable value. For example, interlocks may prevent an operator for entering a value for reactor temperature beyond the capabilities of the associated heating unit or beyond safe operating limits for the reactor. [4]
Alarms and Safety Trips
Alarms are intended to alert operators to deviations in process conditions that have the potential to severely impact product quality or safety. Alarms can create audio or visual cues to alert the operator to the situation. Alternatively, sometimes, alarm systems are programmed as automatic trip systems that do not need operator input, especially in situations where lack of response from the operator could lead to serious issues. An automatic trip system is composed of a sensor, some link that transfers the signal from the sensor to an actuator, and an actuator to perform the desired action. [4]
Safety Instrument System (SIS)
SIS is initiated when a critical process variable exceeds allowable limits to try to get the process back to a safe condition. The SIS involves extreme action such as starting or stopping a pump or completely shutting down a process unit. Because such actions may have a significant negative impact on the process equipment and/or the product quality, the SIS is used as a last resort for safety. In order for the SIS to effectively serve as a back up to BPCS, it must be able to function independently of the BPCS. Thus, it is recommended that the SIS have separate sensors and actuators. This is essential in a case such as a power outage, which would take out the BPCS entirely. Because the SIS involves more drastic measures, there tends to be redundant instrumentation to prevent an errant signal from kicking in the SIS. [4]
References
1. Encyclopaedia Britannica. Greek physicist and inventor, the first great figure of the ancient engineering tradition of Alexandria, Egypt
2. Maxwell, J.C. On Governors. Proceedings of the Royal Society of London; 1867.
3. Rivera, DE. , Morari M , Skogestad S. Internal model control: PID controller design. ACS Publications.
4. Seborg DE, Edgar TF, Mellichamp DA, Doyle FJ. Process Dynamics and Control. 3rd Edition. Wiley; 2011.
5. Towler GP, Sinnott R. Chemical Engineering Design: Principles, Practice and Economics of Plant and Process Design. 3rd Edition. Elsevier; 2012.
6. Wright, Wilbur. Flying Machine patent. US Patent 821,393
7. Instrumentation Basics: 4-20 mA and 3-15 psi Control Signals. Learning Instrumentation and Controls Engineering Web Site. http://www.instrumentationtoolbox.com/2011/01/instrumentation-basics-control-signals.html#axzz40cpPcnm6. Accessed February 16, 2016.
8. Differential Pressure Transmitters. Vega Controls Web Site. http://www.vegacontrols.co.uk/product_details.asp?productID=312&fixedRangeID=11. Accessed February 21, 2016.
9. Rugged Pipe Plug Thermocouple Probe with 1/4 or 1/8NPT Fitting. Omega Web Site. http://www.omega.com/pptst/TC-NPT.html. Accessed February 21, 2016.
10. Venturi Meter. Chegg Web Site. http://www.chegg.com/homework-help/questions-and-answers/venturi-meter-used-measure-flow-speed-fluid-pipe-meter-connected-two-sections-pipe-fig-14--q1236560. Accessed February 21, 2016.
11. The Basics of Flow Measurement with Coriolis Meters. The Current Flow Solutions Web Site. http://www.micromotionblog.com/the-basics-of-flow-measurement-with-coriolis-meters-part-2/. Accessed February 15, 2016.