Professional Documents
Culture Documents
Process
- The conversion of feed materials to products using chemical and physical operations. In
practice, the term process tends to be used for both the processing equipment. (Seborg,
2004)
- The types of processes: Continuous, Batch, Semi-batch
Continuous - continuous stirred tank reactor, thermal cracking furnace, multi component
distillation column
Batch/Semi Batch - batch digester in a pump mill, plasma etcher in a semiconductor processing,
batch or semi batch reactor
● Manipulated Variable
- The process variables that can be adjusted in order to keep the controllable
variables at or near their set points. Typically, the manipulated variables are flow
rates.
● Disturbance Variable
- Process variables that affect the controlled variables but cannot be manipulated.
Disturbances generally are related to changes in the operating environment of the
process.
A process fluid on the shell side is cooled by cooling water on the tube side. Typically,
the exit temperature of the process fluid is controlled by manipulating the cooling water flow
rate. Variations in the inlet temperatures and the process fluid flow rate affects the heat
exchanger operation. Consequently, these variables and disturbance variables.
● Controlled Variable
- Exit temperature
● Manipulated Variable
- Cooling water flow rate
● Disturbance Variable
- Inlet temperature
- Process fluid flow rate
The control objective is to blend the two inlet streams to produce an outlet stream that has
the desired composition. Stream 1 is a mixture of two chemical species, A and B. We assume
that its mass flow rate 𝑤1 is constant, but the mass fraction of A, 𝑥1 , varies the time. Stream 2
consists of pure A and thus 𝑥2 = 1 the mass flow rate of Stream 2, 𝑤2 , can be manipulated using
a control valve. The mass fraction of A in the exit stream is donated by x and the desired value
(set point) by 𝑥𝑠𝑝 .
Controlled variable x
Manipulated Variable w2
Disturbance Variable x1
Design Question: If the nominal value of 𝑥1 is 𝑥̅1 , what nominal flow rate 𝑤
̅ 2 is required to
produce the desired outlet concentration 𝑥𝑠𝑝 ?
Process Dynamics
Process Control
● The primary objective is to maintain a process at the desired operating conditions safely
and efficiently, while satisfying environmental and product quality requirements.
(Seborg, 2004)
● This refers to the methods that are used to control processes variables when
manufacturing a product.
Process Variables
● A condition of the process fluid (a liquid or gas) that can change the manufacturing
process in some way.
- Pressure
- Flow
- Level
- Temperature
- Density*
- pH*
- Mass*
- Conductivity*
Increase Efficiency
● Some processes need to be maintained at a specific point to maximize efficiency.
● Manufacturers save money by minimizing the resources required to produce the end-
product.
Ensure Safety
● A run-away process, such as an out-of-control nuclear or chemical reaction, may result if
manufacturers do not maintain precise control of all process variables. The consequences
of a run-away process can be catastrophic.
● Precise process control may also be required to ensure safety.
Process Control Terms
Setpoint
- A value for a process variable that is desired to be maintained.
Error
- The difference between the measured variable and the setpoint can be either positive or
negative.
- The objective of any control scheme is to minimize or eliminate error.
Magnitude
- The deviation between the values of the setpoint and the process variables.
Duration
- The length of time that an error condition has existed.
Rate of Change
- The length of time that an error condition has existed.
Offset
- A sustained deviation of the process variable from the setpoint.
Load Disturbance
- An undesired change in one of the factors that can affect the process variable.
Control Algorithm
- The mathematical expression of a control function.
- This can be used to calculate requirements of much more complex control loops.
Manual Control
- Control operations that involve human action to make an adjustment.
Automatic Control
- Control operations in which no human intervention is required
- Automatic valve actuator
Process: The conversion of feed materials to products using chemical and physical
operations. In practice, the term process tends to be used for both the processing operation and
the processing equipment.
Note that this definition applies to three types of common processes: continuous, batch,
and semi-batch. Next, we consider representative processes and briefly summarize key
control issues.
The specification of CVs, MVs, and DVs is a critical step in developing a control
system. The selections should be based on process knowledge, experience, and control
objectives.
The control objective is to blend the two inlet streams to produce an outlet stream that
has the desired composition. Stream 1 is a mixture of two chemical species, A and B. We
assume that its mass flow rate w 1 is constant, but the mass fraction of A, x 1, varies with
time. Stream 2 consists of pure A and thus x 2 = 1. The mass flow rate of Stream 2, w 2, can
be manipulated using a control valve. The mass fraction of A in the exit stream is denoted
by x and the desired value (set point) by xsp. Thus for this control problem, the controlled
variable is x, the manipulated variable is w2, and the disturbance variable is x1.
Next we consider two questions.
Design Question. If the nominal value of x1 is ̅̅̅,
𝑥1 what nominal flow rate ̅̅̅̅
𝑤2 is required
to produce the desired outlet concentration, xsp?
To answer this question, we consider the steady-state material balances: Overall
balance:
0=𝑤
̅̅̅1̅ + ̅̅̅̅
𝑤2 − w
̅
Component A balance:
0=𝑤
̅̅̅1̅ ̅̅̅
𝑥1 + ̅̅̅̅
𝑤2 ̅̅̅
𝑥2 − w
̅ x̅ (1.2)
The overbar over a symbol denotes its nominal steady-state value, for example, the value used
in the process design. According to the process description, x2 = 1 and x̅ = xsp. Solving Eq.
1-1 for w
̅ , substituting these values into Eq. 1-2, and rearranging gives:
̅̅̅1̅
𝑥𝑠𝑝 −𝑥
𝑤2 = 𝑤
̅̅̅̅ ̅̅̅1̅ (1.2)
1− 𝑥𝑠𝑝
Equation 1-3 is the design equation for the blending system. If our assumptions are correct and
if x1 = x̅ then this value of w2 will produce the desired result, x = xsp. But what happens if
conditions change?
Control Question. Suppose that inlet concentration xl varies with time. How can we
ensure that the outlet composition x remains at or near its desired value, xsp?
As a specific example, assume that x 1 increases to a constant value that is larger than
its nominal value, 𝑥
̅̅̅.
1 It is clear that the outlet composition will also Increase due to the increase
in inlet composition.
Consequently, at this new steady state, x > xsp.
Next we consider several strategies for reducing the effects of x 1 disturbances on x.
𝑤2 (𝑡) = ̅̅̅̅
𝑤2 + 𝐾𝑐 [𝑥𝑠𝑝 − 𝑥(𝑡)] (1.4)
where Kc, is a constant called the controller gain. The symbols, w 2(t) and x(t), indicate
that w2 and x change with time. Equation 1-4 is an example of proportional control because
the change in the flow rate, w2(t) —w2, is proportional to the deviation from the set point, x(t).
Consequently, a large deviation from set point produces a large corrective action, while a small
deviation results in a small corrective action. Note that we require K c, to be positive because
w2 must increase when x decreases, and vice versa. However, in other control applications
negative values of Kc are appropriate as discussed in Chapter 8.
A schematic diagram of Method 1 is shown in Fig: 1.4.
The schematic diagram for Method 2 is shown in Fig. 1.5. Because Eq. 1-3 is valid only for
steady-state conditions, it is not clear just how effective Method 2 will be during the transient
conditions that occur after an x1 disturbance.
Method 3. Measure x1 and x, adjust w2. This approach is a combination of Methods 1 and 2.
Method 4. Use a larger tank. If a larger tank is used, fluctuations in x 1 will tend to be damped
out as a result of the larger volume of liquid. However, increasing tank size is an expensive
solution due to the increased capital cost.
In this book, we advocate the philosophy that, for complex processes, a dynamic model of
the process should be developed so that the control system can be properly designed. Of course,
for many simple process control problems controller specification is relatively straightforward and
a detailed analysis or an explicit model is not required. For complex processes, however, a process
model is in-valuable both for control system design and for an improved understanding of the
process. As mentioned earlier, process control should be based on process understanding.
The major steps involved in designing and installing a control system using the model-
based approach are shown in the flow chart of Fig. 1.9. The first step, formulation of the control
objectives, is a critical decision. The formulation is based on the operating objectives for the plants
and the process constraints. For example, in the distillation column control problem, the objective
might be to regulate a key component in the distillate stream, the bottoms stream, or key
components in both streams. An alternative would be to minimize energy consumption (e.g., heat
input to the reboiler) while meet product quality specifications on one or both product streams.
The inequality constraints should inch upper and lower limits on manipulated variables, conditions
that lead to flooding or weeping in the column, and product impurity levels.
After the control objectives have been formulated, a dynamic model of the process is
developed. The mimic model can have a theoretical basis, for example, physical and chemical
principles such as conservation laws and rates of reactions (Chapter 2), or the model can be
developed empirically from experimental data (Chapter 7). If experimental data are available, the
dynamic model should be validated, with the d and the model accuracy characterized. This latter
information is useful for control system design and tuna.
The next step in the control system design is to devise an appropriate control strategy that
will m the control objectives while satisfying proem constraints. As indicated in Fig. 1.9, this
design activity is both an art and a science. Process understanding and the experience and
preferences of the design team are key factors. Computer simulation of the controlled process is
used to screen alternative control strategies and to provide preliminary estimates of appropriate
controller settings.
Finally, the control system hardware and instrumentation are selected, ordered, and
installed in the plant. Then the control system is tuned in the plant using the preliminary estimates
from the design step as a starting point. Controller tuning usually involves trial-and-error
procedures as described in Chapter 12.
SUMMARY
In this chapter we have introduced the basic concepts of process dynamics and process
control. The process dynamics determine how a process responds during transient conditions, such
as plant start-ups and shutdowns, grade changes, and unusual disturbances. Process control enables
the process to be maintained at the desired operating conditions, safely and efficiently, while
satisfying environmental and product quality requirements. Without effective process control, it
would be impossible to operate large-scale industrial plants.
Two physical examples, a continuous blending system and a distillation column, have been
used to introduce basic control concepts, notably, feedback and feedforward control. We also
motivated the need for a systematic approach for the design of control systems for complex
processes. Control system development consists of a number of separate activities that are shown
in Fig. 1.9. In this book we advocate the design philosophy that, for complex processes, a dynamic
model of the process should be developed so that the control system can be properly designed.
A hierarchy of process control activities was presented in Fig. 1.7. Process control plays a
key role in ensuring process safety and protecting personnel, equipment, and the environment.
Controlled variables are maintained near their set points by the application of regulatory control
techniques and advanced control techniques such as multivariable and constraint control. Real-
time optimization can be employed to determine the optimum controller set points for current
operating conditions and constraints. The highest level of the process control hierarchy is
concerned with planning and scheduling operations for the entire plant. The different levels of
process control activity in the hierarchy are related and should be carefully coordinated.
ELEMENTS OF THE
DESIGN OF A
CONTROL SYSTEM
Elements of the Design of a Control System
* PPT
Hierarchy
Process:
1. Measurement and Actuation < 1 second
2. Safety and Environmental/Equipment Protection < 1 second
3a. Regulatory Control seconds – minutes
3b. Multivariable and Constraint Control minutes – hours
4. Real-Time Optimization hours – days
5. Planning and Scheduling days – months
GENERAL REQUIREMENTS
1. SAFETY
• It is imperative that industrial plants operates safely to promote the well-being of
people and equipment within the plant and in the nearby communities.
2. ENVIRONMENTAL REGULATIONS
• Industrial plants must comply with environmental regulations concerning the
discharge of gases, liquids, and solids beyond the plant boundaries.
3. PRODUCTION SPECIFICATIONS AND PRODUCTION RATE
• In order to be profitable, a plant must make products that meet specifications
concerning product quality and production rate
4. ECONOMIC PLANT OPERATION
• It is an economic reality that the plant operation over long periods of time must be
profitable. Thus, the control objectives must be consistent with the economic
objectives.
5. STABLE PLANT OPERATION
• The control system should facilitate smooth, stable plant operation without
excessive oscillation in key process variables.
• DISCRETE TIME CONTROL SYSTEM- there exists one or more discrete time
signals
• MIMO – Multiple Input Multiple Output- more than one input and more than one
output
• CLOSED LOOP CONTROL SYSTEM- output is fed back to the input. So, the
control action is dependent on the desired output
3 MAIN STEPS
1. Select controlled, manipulated, and measured variables.
• For purposes of control system design, it is convenient to classify process
variables as either input variables or output variables
• There are criteria considered in selection (Chapter 10).
One of the devices you use daily is your toaster. The bread’s color has changed based on
the timer setting you chose. Here, the toaster with the bread is an open-loop system that takes an
input, time, and gives an output, bread color.
Considering that don’t know what setting the timer should be at to get your desired bread color.
You can do a couple of experiments.
1. input different timer settings, and wait until your output settles to a value,
2. then mark your findings on this plot.
If you now fit a curve through these points, this represents the model of the toaster with the
bread at steady state. Remember that you want to find the time setting for your desired bread color.
To find this mathematically, let’s equate the input to u and the output to y. In the
experiments, for different values of u, you found the corresponding values of y. So you can write
y as a function of u.
But now you want to do the opposite. Given the desired value of y, you want to calculate
the value of u. In mathematical terms, this corresponds to taking the inverse of the function.
Therefore, to calculate the time you need for your desired bread color, you take the inverse of it.
In this open-loop system, the handle position is the input and water temperature is the
output.
You turn the handle to different positions, and based on this the water temperature changes.
Open-loop control seems to work perfectly. All you need is to do a couple of experiments
and, once you have an idea of the model of your system, you can easily find the input needed to
get a desired output.
But are there any situations where open-loop control may fail? Reconsider the toaster
example.
Through trial and error, you found that setting the timer to three gives you your desired
bread color. But what happens when you use a different type of bread, like a bagel? You may end
up having a burnt bagel because the time settings you found by trial and error were for a slice of
bread.
Mathematical interpretation of this is through experiments you found the function f that
determines the relationship between time and color. But now that you use a different type of bread,
this relationship is not represented by f anymore, but another function, g.
Therefore, if you use the inverse of f, you’re not going to get your desired color, because the input
needed to get the desired output is now calculated by taking the inverse of g.
This shows that open-loop control fails if you have variations in your system.
Now let’s go back to the shower example. You positioned the handle such that little Timmy
gets a nice warm shower, but what happens when someone runs the dishwasher? Water gets
freezing cold. The reason is that when the dishwasher is running, the hot water supply is used up
and therefore less hot water is available for the shower. So, the water temperature drops.
These are variations that you may face, but regardless of these variations, you would still
want to make perfect toast. So what if, instead of toasting the bread based on a timer setting, you
toast it based on its color. “But how?” You might wonder. If you continuously monitor the color
of the bread, you'll know when exactly to turn off the toaster. This is the basic idea behind a
feedback control system.
Let's try this on a slice of bread and a frozen bagel. You turn on the toaster and start
monitoring your bread. When the toast reaches the color you want, you turn off the toaster. Notice
that you didn’t have prior information on how long to toast the bread. Monitoring them allowed
you to tell when they have reached your desired color and when to turn off the toaster.
We will now read your mind. While you are monitoring the bread, you draw a plot in your
mind. On the y-axis you have the bread color that you're watching, and on the x-axis you have the
time.
This is what you want. Then, you start toasting, and this is what you see.
At each time instant, you compute an error between what you see and what you want. If
this error is not zero, you keep toasting. When ‘what you see’ overlaps with ‘what you want,’ the
error becomes zero. Your yummy toast is ready, so you turn off the toaster.
If we now project what you think in your mind onto the closed-loop structure here, we get
the complete feedback loop.
This part represents the comparison you make between ‘what you see’ and ‘what you
want’. You compute the difference between monitored and desired bread color, and this gives you
the error. Then, based on the error, you decide whether to keep the toaster on or turn it off.
Next, we will switch rooms to see another example of feedback control and how it
compensates for unexpected events. After eating your yummy toast, you're ready to take a warm
shower. Similar to the previous example, you have a desired water temperature. By trial and error,
you find the right position for the shower handle. You're planning to use this handle position for
future showers, as well. But what happens when someone runs the dishwasher the next time you’re
taking a shower? In this situation, the hot water is used up, and therefore the shower gets freezing
cold. Let’s go back to the time where the dishwasher isn’t running yet and see how feedback
control can compensate for this unexpected event.
The water temperature is at your desired value; someone runs the dishwasher. Through
your skin you sense that the water temperature drops. The error is now greater than zero. To
compensate, you turn the shower handle towards the hot side and, as the temperature increases to
the desired value, the error gets smaller. And the smaller the error gets, the smaller adjustments
you make to the shower handle. If you now want to fully automate this process, you can use a
thermocouple that measures the water temperature, you can use a thermocouple that measures the
water temperature and then, based on the error, a controller can adjust the shower handle.
To summarize, we’ve seen how feedback control works, how it handles variations in the
system, and how it compensates for unexpected events.
UNDERSTANDING CONTROL SYSTEMS, PART 3: COMPONENTS OF A
FEEDBACK CONTROL SYSTEM
*YT VIDEO
You’re invited to a party and don’t want to miss a minute of it. You want to get there as
fast as possible but without exceeding the speed limit, which is 50 mph. In order to get to the party
as soon as possible, you’ll need to maintain your speed at 50 mph. You may not have noticed it
before but actually you drive your car in closed loop.
Let’s first identify the components of this closed- loop system and then we’ll learn the basic
terminology. When you step on the gas pedal, your car’s speed starts to change. When you step on
the gas pedal, your car’s speed starts to change. You know that you want to be going 50 mph, let’s
show your desired speed on the plot with green. Notice that it remains constant over time. Next,
you look at the speedometer to see at what speed you are. Let’s show the monitored speed on this
plot. Then you compare it to what you want. This is done by finding the difference between the
desired and monitored speed. And it is called the error.
Based on the error you make a decision. In this case, the error is not zero, therefore you
decide to apply more gas to get to your desired speed. And this in turn influences the speed of the
car. The smaller the error gets, the less gas you apply. And once you get to the desired speed, you
keep your foot still on the gas pedal to maintain your speed. Oh, I see, you’ve already started
dreaming. I’m sorry to interrupt but let’s go back to reality.
Now that we identified the components, let’s talk about how they are referred in control
theory. In a feedback control system, the goal is to control the output to a desired value and that
value is referred as desired output.
Other common terms are reference and setpoint. The object whose output you try to
control is called the plant. The output of the plant is measured by the component called the sensor,
and the measured output is then compared to the desired output. The difference between the desired
and measured output is the error.
Based on the computed error, the controller decides on the control action. And it commands
an input, which is then sent to the actuator. The actuator is how the controller influences the plant.
In some situations, you’ll see that the actuator, sensor, and plant dynamics are merged into one
and referred to as the “plant”. This may sound pessimistic but life is far from perfect, sometimes
things may go wrong.
For our example here, it is the road grade. Imagine you’re going uphill. Your speed will
start to drop due to the hill and you will need to press down further on the gas pedal to maintain
your speed. Unexpected environmental changes causing the system output to behave in an
undesired way, such as the road grade in this example, is called “disturbance”. Similarly, a sticky
gas pedal, icy roads, or windy weather act as disturbance on the car.
Another thing that may go wrong is related to measurement. While you’re monitoring the
speed, what if your vision is a little blurry because you forgot your glasses at home? The speed
you’re monitoring becomes noisy and fluctuates between values. This is referred as “noise,” which
is an unwanted signal affecting your measured output value. Driving manually makes you tired?
Cruise control can make your life easier.
Let’s see how this system can be converted to an automatic control system. Now instead
of monitoring the speed manually, you can have a device that provides an electronic measurement
of the speed. Your brain was acting as a controller. Now, the engine control unit becomes the
controller that computes a control action based on the error. The actuator now becomes a
mechanical device that does what your foot used to do. In this case, the actuator is a motor that
moves the gas pedal up and down based on the voltage computed by the controller. Now that you
have the cruise controller fully engaged, enjoy your ride to the party!
LECTURE 3: ELEMENTS OF THE DESIGN OF A CONTROL SYSTEM
*YT VIDEO
✓ alongside with these activities are the time scale from which the activity can be done.
The orifice plate is connected to a sensor that measures the pressure difference of the flow. After
the flow transmitter finishes measuring the flow it will then be passed to the controller. The
controller will then apply the corresponding action before transferring it to the control valve
(actuator), which will give the corresponding action to the control valve (partially open or partially
closed).
• E.g. Boiling of water, Reactor temperature (upper limit to avoid the undesired side reaction
or catalyst degradation and lower limit to ensure that the reactions proceed)
• Upper and lower limit are crucial.
• Continuous Time Control System - all the signals are continuous in time
• Discrete Time Control System - there exists one or more discrete time signals
BASED ON NUMBER OF INPUTS/OUTPUTS
• SISO - Single Input Single Output - have one input and one output
• MIMO - Multiple Input Multiple Output - more than one input and more than one
output
There are also instances of multiple inputs and single output. Can be encountered in cascading
controls.
BASED ON FEEDBACK PATH
Open Loop Control System
- Output is not fed-back to the input. So, the control action is independent of the desired
output.
1. Select controlled, manipulated, and measured variables. For purposes of control system design,
it is convenient to classify process variables as either input variables or output variables. There are
criteria considered in selection (Chapter 10).
2. Choose the control strategy and control structure. Most widely used process control strategy is
multi-loop control. The key design decision for multi-loop control is to determine an appropriate
control structure, that is, to find a suitable pairing of controlled and manipulated variables.
10.1. INTRODUCTION
The development of a control system begins with a critical decision, the formulation of the
control objectives. As indicated in Chapter 1, control objectives are based on
management/financial objectives, process knowledge, and the operational requirements for the
plant. Although the specific control objectives vary from plant to plant, there are a number of
general requirements:
1. Safety. It is imperative that industrial plants operate safely so as to promote the well-
being of people and equipment within the plant and in the nearby communities. Thus,
plant safety is always the most important control objective and is the subject of Section
10.5.
2. Environmental Regulations. Industrial plants must comply with environmental
regulations concerning the discharge of gases, liquids, and solids beyond the plant
boundaries.
3. Product Specifications and Production Rate. In order to be profitable, a plant must
make products that meet specifications concerning product quality and production rate.
4. Economic Plant Operation. It is an economic reality that the plant operation over long
periods of time must be profitable. Thus, the control objectives must be consistent with
the economic objectives. For example, if a plant can sell all its product, then it is
desirable to maximize its production rate. But in a market-limited situation, it might be
more important to increase product quality, improve yields, or reduce manufacturing
costs such as utility costs.
5. Stable Plant Operation. The control system should facilitate smooth, stable plant
operation without excessive oscillation in key process variables. Thus, it is desirable to
have smooth, rapid set-point changes and rapid recovery from plant disturbances such
as changes in feed composition.
A second type of heat integration is shown in Fig. 10.2b for a packed-bed reactor;
the more conventional design is shown in Fig. 10.2a. If the chemical reaction is exothermic,
energy costs can be reduced by using the hot product stream to heat the cold feed in a heat
exchanger. However, this reactor configuration has the same disadvantages as the energy-
integrated distillation system in Fig. 10.1, namely, one less manipulated variable and
unfavorable dynamic interactions. In particular, the feed-effluent heat exchanger
introduces positive feedback and the possibility of a thermal runaway because temperature
fluctuations in the effluent are transmitted to the feed stream. Thus, the rate of reaction and
the heat generation due to the reaction increase. In analogy with the previous distillation
column example, these disadvantages can be reduced by adding a trim heat exchanger (that
has a separate supply of the heating medium) after the feed-effluent heat exchanger. Again,
this modification regains the control degree of freedom that was lost as a result of heat
integration.
Example 10.1:
Two alternative temperature control schemes for a jacketed batch reactor are shown in Fig. 10.3.
Discuss the relative merits of the two strategies from a process operation perspective.
Solution:
The configuration in Fig. 10.3a has the serious disadvantage that the coolant circulation
rate varies, and thus the corresponding time delay for the coolant loop also varies. As Shinskey
(1996) has noted, when the time delay varies with the manipulated variable, a nonlinear oscillation
can develop. H the reactor temperature increases, the controller increases the coolant flow rate,
which reduces the time delay and causes a sharp temperature decrease. On the other hand, when
the reactor temperature is too low, the controller reduces the coolant flow rate, which increases the
time delay and results in a slow response. This nonlinear cycle tends to be repeated.
Shlnskey (1996) points out that this control problem can be solved by making a simple
equipment design change, namely, by adding a recirculation pump as shown in Fig. 10.3b. Now
the recirculation rate and process time delay are kept constant and thus are independent of the flow
rate of fresh cooling water. Consequently, the nonlinear oscillations are eliminated.
By definition, the input variables (or inputs) are physical variables that affect the output
variables. For control system design and analysis, it is convenient to divide the input variables into
manipulated variables that can be adjusted and disturbance variables that are determined by the
external environment. The manipulated variables are typically flow rates. Common disturbance
variables include the feed conditions to a process and the ambient temperature. Typically, input
variables are associated with inlet streams (e.g., feed composition or feed fl.ow rate) or
environmental conditions (e.g., ambient temperature). However, an exit flow rate from a process
can also be an "input variable" (from a control point of view), if the flow rate is a manipulated
variable. For example, this situation occurs when the liquid level in a tank is controlled by adjusting
an exit flow rate.
A general representation of a control problem is shown in Fig. 10.7. In general, it is
desirable to have at least as many manipulated variables as controlled variables. But sometimes
this is not possible and special types of control systems need to be considered (see Chapter 16). It
may not be feasible to control all of the output variables for several reasons (Newell and Lee,
1989):
1. It may not be possible or economical to measure all of the outputs, especially
compositions.
2. There may not be enough manipulated variables (refer to the degrees of freedom
discussion in Section 10.3).
3. Potential control loops may be impractical because of slow dynamics, a low sensitivity
to available manipulated variables, or interactions with other control loops.
In general, controlled variables are measured on-line, and the measurements are used for
feedback control. But it is sometimes possible to control a variable that is not measured on-line by
using a process model (a soft sensor) to estimate its value from other measurements.
By contrast, for the Type 3 alarm system in Fig. 10.13b, the flow switch is self-
actuated and thus does not require a signal from a flow sensor/transmitter.
Type 3 alarms are also used to indicate that an automatic shutdown system has
"tripped." They are widely employed on automobile instrument panels (Connell, 1996).
Type 4 Alarm. An alarm switch with its own sensor. Serves as a backup in case
the regular sensor fails.
Type 5 Alarm. Automatic Shutdown or Start-up System. Important and widely
used systems; described in the next section on Safety Interlock Systems.
It is tempting to specify tight alarm limits for a large number of process variables,
but one should resist this temptation because au excessive number of unnecessary alarms
could result. Furthermore, too many alarms can be as detrimental as too few alarms, for
several reasons. First, frequent "nuisance alarms" tend to make the plant operators less
responsive to important alarms. Second, in an actual emergency, a large number of
unimportant alarms tends to obscure the root cause of the problem. Third, the relationships
between alarms needs to be considered. Thus, the design of an appropriate alarm
management system is a challenging task (Connelly, 1997).
4.1 Introduction
The term automation is used to describe the automatic operation or control of a process. In
modem manufacturing there is an ever-increasing use of automation, e.g. automatically operating
machinery, perhaps in a production line with robots, which can be used to produce components
with virtually no human intervention. Also, in appliances around the home and in the office, there
is an ever-increasing use of automation. Automation involves carrying out operations in the
required sequence and controlling outputs to required values. The following are some of the key
historical points in the development of automation, the first three being concerned with
developments in the organization of manufacturing which permitted the development of automated
production:
1. Modern manufacturing began in England in the 18th century when the use of water wheels
and steam engines meant that it became more efficient to organize work to take place in
factories, rather than it occurring in the home of a multitude of small workshops. The
impetus was thus provided for the development of machinery.
2. The development of powered machinery in the early 1900s meant improved accuracy in
the production of components so that instead of making each individual component to fit a
particular product, components were fabricated in identical batches with an accuracy which
ensured that they could fit any one of a batch of a product. Think of the problem of a nut
and bolt if each nut has to be individually made so that it fitted the bolt and the advantages
that are gained by the accuracy of manufacturing nuts and bolts being high enough for any
of a batch of nuts to fit a bolt.
3. The idea of production lines followed from this with Henry Ford, in 1909, developing them
for the production of motor cars. In such a line, the production process is broken up into a
sequence of set tasks with the potential for automating tasks and so developing an
automated production line.
4. In the 1920s developments occurred in the theoretical principles of control systems and the
use of feedback for exercising control. A particular task of concern was the development
of control systems to steer ships and aircraft automatically.
5. In the 1940s, during the Second World War, developments occurred in the application of
control systems to military tasks, e.g. radar tracking and gun control.
6. The development of the analysis and design of feedback amplifiers, e.g. the paper by Bode
in 1945 on Network Analysis and Feedback Amplifier design, was instrumental in further
developing control system theory.
7. Numerical control was developed in 1952 whereby tool positioning was achieved by a
sequence of instructions provided by a program of punched paper tape, these directing the
motion of the motors driving the axes of the machine tool. There was no feedback of
positional data in these early control systems to indicate whether the tool was in the correct
position, the system being open-loop control.
8. The invention of the transistor in 1948 in the United States led to the development of
integrated circuits, and, in the 1970s, microprocessors and computers which enabled
control systems to be developed which were cheap and able to be used to control a wide
range of processes. As a consequence, automation has spread to common everyday
processes such as the domestic washing machine and the automatic focusing, automatic
exposure, camera.
The automatic control of machines and processes is now a vital part of modem industry.
The benefits of such control systems include greater consistency of product, reduced operating
costs due to improved utilization of plant and materials and a reduction in manpower, and greater
safety for operating personnel.
This chapter is an introduction to the basic idea of a control system and the elements used.
A control system can be thought of as a system which for some particular input or inputs
is used to control its output to some particular value (Figure 4.1(a)), give a particular sequence of
events (Figure 4.1(b)) or give an event if certain conditions are met (Figure 4.1(c)).
As an example of the type of control system described by Figure 4.1(a), a central heating
control system has as its input the temperature required in the house and as its output the house at
that temperature (Figure 4.2). The required temperature is set on the thermostat and the control
system adjusts the heating furnace to produce that temperature.
The control system is used to control a variable to some set value.
As an example of the type of control system described by Figure 4.1(b), clothes washing
machine has as its input a set of instructions as to the sequence of events required to wash the
clothes, e.g. fill the drum with cold water, heat the water to 40''C, tumble the clothes for a period
of time, empty the drum of water, etc. The manufacturers of the machine have arranged a number
of possible sequences which are selected by pressing a button or rotating a dial to select the
appropriate sequence for the type of wash required. Thus, the input is the information determining
the required sequence, and the output is the required sequence of events (Figure 4.3). The control
system is used to control a sequence of events.
Now consider the electric fire heating system with a difference. To obtain the
required temperature, a person stands in the room with a thermometer and switches the 1
kW and 2 kW elements on or off, according to the difference between the actual room
temperature and the required temperature in order to maintain the temperature of the room
at the required temperature. There is a constant comparison of the actual and required
temperatures. In this situation there is feedback, information being fed back from the output
to modify the input to the system. Thus, if a window is opened and there is a sudden cold
blast of air, the feedback signal changes because the room temperature changes and so is
fed back to modify the input to the system. This type of system is called closed-loop. The
input to the heating process depends on the deviation of the actual temperature fed back
from the output of the system from the required temperature initially set, the difference
between them being determined by a comparison element. In this example, the person with
the thermometer is the comparison element. Figure 4.5 illustrates this type of system.
Consider an example of a ball valve in a cistern used to control the height of the
water (Figure 4.6). The set value for the height of the water in the cistern is determined by
the initial setting of the pivot point of the lever and ball float to cut the water off in the
valve. When the water level is below that required, the ball moves to a lower level and so
the lever opens the valve to allow water into the tank. When the level is at the required
level the ball moves the lever to a position which operates the valve to cut off the flow of
water into the cistern. Figure 4.7 shows the system when represented as a block diagram.
In an open-loop control system the output from the system has no effect on the input
signal to the plant or process. The output is determined solely by the initial setting. In a
closed-loop control system the output does have an effect on the input signal, modifying it
to maintain an output signal at the required value.
Open-loop systems have the advantage of being relatively simple and consequently
cheap with generally good reliability. However, they are often inaccurate since there is no
correction for errors in the output which might result from extraneous disturbances. Closed-
loop systems have the advantage of being relatively accurate in matching the actual to the
required values. They are, however, more complex and so more costly with a greater
chance of breakdown as a consequence of the greater number of components.
1. Control element. This determines the action to be taken as a result of the input of
the required value signal to the system.
2. Correction element. This has an input from the controller and gives an output of
some action designed to change the variable being controlled.
3. Process. This is the process of which a variable is being controlled.
There is no changing of the control action to account for any disturbances which change
the output variable.
The input of the required speed value is by means of the setting of the position of
the movable contact of the potentiometer. This determines what voltage is supplied to the
comparison element, i.e. the differential amplifier, as indicative of the required speed of
rotation. The differential amplifier produces an amplified output which is proportional to
the difference between its two inputs. When there is no difference then the output is zero.
The differential amplifier is thus used to both compare and implement the control law. The
resulting control signal is then fed to a motor which adjusts the speed of the rotating shaft
according to the size of the control signal. The speed of the rotating shaft is measured using
a tachogenerator, this being connected to the rotating shaft by means of a pair of bevel
gears. The signal from the tachogenerator gives the feedback signal which is then fed back
to the differential amplifier.
The inputs to the controller are the required position voltage and a voltage giving a
measure of the position of the workpiece, this being provided by a potentiometer being
used as a position sensor. Because a microprocessor is used as the controller, these signals
have to be processed to be digital. The output from the controller is an electrical signal
which depends on the error between the required and actual positions and is used, via a
drive unit, to operate a stepper motor. Input to the stepper motor causes it to rotate its shaft
in steps, so rotating the belt and moving the tool.
The two valves used to control the pressure are solenoid-operated directional-
control valves, generally both valves being combined in a component termed the
modulator. When the driver presses the brake pedal, a piston moves in a master cylinder
and pressurizes the hydraulic fluid. This pressure causes the brake caliper to operate and
the brakes to be applied. The speed of the wheel is monitored by means of a sensor. When
the wheel locks, its speed changes abruptly and so the feedback signal from the sensor
changes. This feedback signal is fed into the controller where it is compared with what
signal might be expected on the basis of data stored in the controller memory. The
controller can then supply output signals which operate the valves and so adjust the
pressure applied to the brake.
When the level of the liquid in the tank is at the required level and the inflow and
outflows are equal, then the controller valves are both closed. If there is a decrease in the
outflow of liquid from the tank, the level rises and so the float rises. This causes point P to
move upwards. When this happens, the valve connected to the air supply opens and the air
pressure in the system increases. This causes a downward movement of the diaphragm in
the flow control valve and hence a downward movement of the valve stem and the valve
plug. This then results in the inflow of liquid into the tank being reduced. The increase in
the air pressure in the controller chamber causes tlie bellows to become compressed and
move that end of the linkage downwards. This eventually closes off the valve so that the
flow control valve is held at the new pressure and hence the new flow rate.
If there is an increase in the outflow of liquid from the tank, the level falls and so
the float falls. This causes point P to move downwards. When this happens, the valve
connected to the vent opens and the air pressure in the system decreases. This causes an
upward movement of the diaphragm in the flow control valve and hence an upward
movement of the valve stem and the valve plug. This then results in the inflow of liquid
into the tank being increased. The bellows react to this new air pressure by moving its end
of the linkage, eventually closing off the exhaust and so holding the air pressure at the new
value and the flow control valve at its new flow rate setting.
4.4.8 Robot gripper
The drive system used to operate the gripper can be electrical, pneumatic or
hydraulic. Pneumatic drives are very widely used for grippers because they are cheap to
install, the system is easily maintained and the air supply is easily linked to the gripper.
Where larger loads are involved, hydraulic drives can be used. Sensors that might be used
for measurement of the forces involved are piezoelectric sensors or strain gauges. Thus,
when strain gauges are stuck to the surface of the gripper and forces applied to a gripper,
the strain gauges will be subject to strain and give a resistance change related to the forces
experienced by the gripper when in contact with the object being picked up.
The robot arm with gripper is also likely to have further control loops to indicate
when it is in the right position to grip an object. Thus, the gripper might have a control loop
to indicate when it is in contact with the object being picked up; the gripper can then be
actuated and the force control system can come into operation to control the grasp. The
sensor used for such a control loop might be a microswitch which is actuated by a lever,
roller or probe coming into contact with the object.
Discrete-time control systems are control systems in which one or more inputs can change
only at discrete instants of time and involve logic control functions.
As a simple illustration of sequential control, consider the automatic kettle. When the kettle
is switched on, the water heats up and continues heating until a sensor indicates that boiling is
occurring. The sensor is just giving an on-off signal. The kettle then automatically switches off.
The heating element of the kettle is not continuously controlled but only given start and stop
signals.
As another example, the filling of a container with water might have a sensor at the bottom
which registers when the container is empty and so gives an input to the controller to switch the
water flow on and a sensor at the top which registers when the container is full and so gives an
input to the controller to switch off the flow of water (Figure 4.27). We have two sensors giving
on-off signals in order to obtain the required sequence of events.
As an illustration of the type of control that might be used with a machine consider the
system for a drill which is required to automatically drill a hole in a workpiece when it is placed
on the work table (Figure 4.28). A switch sensor can be used to detect when the workpiece is on
the work table, such a sensor being an on-off sensor. This then gives an on-input signal to the
controller and it then gives an output signal to actuate a motor to lower the drill head and start
drilling.
When the drill reaches the full extent of its movement in the workpiece, the drill head
triggers another switch sensor. This provides an on input to the controller and it then reverse the
direction of rotation of the drill head motor and the drill retracts.
INTRODUCTION
TO
MODELLING
Theoretical vs. Empirical Process Models
*YT Video
Dynamic Model
• Describes the output response when there is change in one or more inputs.
Q1 Q2
X1 TEE JOINT X2
Q3
X3
Total Mass:
𝑑
(𝑚) = 𝑤1 + 𝑤2 − 𝑤
𝑑𝑡
𝑑 𝑑
(𝜌𝑉) = 𝜌 (𝑉)
𝑑𝑡 𝑑𝑡
𝑑𝑉
𝜌 = 𝑤1 + 𝑤2 − 𝑤
𝑑𝑡
Mass of A:
𝑑
(𝜌𝑉𝑥) = 𝑤1 𝑥1 + 𝑤2 𝑥2 − 𝑤𝑥
𝑑𝑡
𝑑𝑉 𝑑𝑥
𝜌( 𝑥 + 𝑉)
𝑑𝑡 𝑑𝑡
𝑑𝑥 𝑑𝑉
𝜌𝑉 = 𝑤1 𝑥1 + 𝑤2 𝑥2 − 𝑤𝑥 − 𝜌𝑥
𝑑𝑡 𝑑𝑡
𝑑𝑉
𝜌 = 𝑤1 + 𝑤2 − 𝑤
𝑑𝑡
𝑑𝑥 1
𝜌𝑉 = 𝑤1 𝑥1 + 𝑤2 𝑥2 − 𝑤𝑥 − 𝜌𝑥 (𝑤1 + 𝑤2 − 𝑤)
𝑑𝑡 𝜌
𝑑𝑥 1
= [𝑤 (𝑥 − 𝑥) + 𝑤2 (𝑥2 − 𝑥)]
𝑑𝑡 𝜌𝑉 1 1
𝑑𝑉 1
= (𝑤 + 𝑤2 − 𝑤)
𝑑𝑡 𝜌 1
Blending Process: Steady State
*YT Video
𝑤
̅=𝑤 ̅1 + 𝑤 ̅2
̅1 (𝑥̅1 − 𝑥̅ ) + 𝑤
𝑤 ̅ 2 (𝑥̅2 − 𝑥̅ ) = 0
𝑤
̅1 𝑥̅ + 𝑤̅ 2 𝑥̅ = 𝑤̅1 𝑥̅1 + 𝑤 ̅ 2 𝑥̅2
𝑤̅1 𝑥̅1 + 𝑤̅ 2 𝑥̅2
𝑥̅ =
𝑤
̅1 + 𝑤 ̅2
𝑤
̅=𝑤 ̅1 + 𝑤̅ 2 = 1 + 3 = 4 𝑘𝑔⁄𝑠
(1 𝑥 0.1) + (3 𝑥 0)
𝑥̅ = = 0.025
1+3
BLENDING PROCESS
LINEARIZATION EXAMPLE
*YT Video
We are going to consider the blending process, which is a nonlinear process and we are
going to calculate the approximate linear model for that process. We are going to consider the
dynamic equation for mass fraction x leaving the tank making an equation of:
In this case we are going to assume that our density () is constant and inlet mass fraction
(x₁ and x₂) are constant in this example. And now we are going to calculate the linearization of this
nonlinear dynamic equation. For the left hand side we are going to substitute the deviation
variables
Where:
Then simplify
The approximate the right hand side by the first order of series of approximation
Then plug-in the function f and its derivative in this approximate linear model. First we
need to evaluate this function at a steady state value but the function is just the time derivative of
x and in this steady state we can plug in zero and the bar variables on the right hand side.
Then use
This model is a linear approximate model and the approximation would only be good for
small deviations from steady state, small value of our deviation variables that’s because the first
order of series of approximation is going to be accurate for small deviation terms.
Introduction to Degrees of Freedom Analysis
*YT Video
-
Done to find whether we have enough or too much information to solve a particular
problem
DOF = Number of unknowns – number of independent balances – number of other
equations
Where:
# of independent balances = # of species that are present in a particular system (mass or energy)
First Scenario
2x + y = 7
- One equation
- Can’t solve because there are 2 unknowns
- Number of unknown > number of equation
- UNDERSPECIFIED SYSTEM
- DOF > 0
- Without further information we can’t solve all the unknown
Second Scenario
2x + y = 7
x+ 3y = 11
- Two equations
- Number of unknown = number of equations
- There is a zero degree of freedom
- Can solve the system of equation
- SOLVABLE
- DOF = 0
- We have the necessary equations to relate the unknowns that we have
Third Scenario
2x + y = 7
x+ 3y = 11
x+y=4
- Three equations
- Number of unknown < number of equations
- OVERSPECIFIED SYSTEM
- DOF < 0
- Can get answers of unknown but their answers are inconsistent or different
In analyzing engineering problems we are trying to find a system that has zero degree of
freedom and provides enough information so that we can solve for the unknown for the
particular problem.
EXAMPLE # 1
In the first example we have single unit process with two inputs and two outputs. If we
want to calculate the degree of freedom we need to know the number of unknown, number of
independent balances and other equations that we can write.
Unknown = 3
Other equation = 0
DOF = Number of unknowns – number of independent balances – number of other
equations
DOF= 3-3-0
EXAMPLE #2
In the example we have single unit process that has one input and two outputs. Again, if
we want to calculate the degree of freedom we need to know the number of unknown, number of
independent balances and other equations that we can write.
Unknown = 5
DOF= 5-3-2