[ Team LiB ] Previous Section Next Section

1.1 Introduction

Process engineers are often responsible for the operation of chemical processes. As these processes become larger scale and/or more complex, the role of process automation becomes more and more important. The objective of this textbook is to teach process engineers how to design and tune feedback controllers for the automated operation of chemical processes.

A conceptual process block diagram for a chemical process is shown in Figure 1-1. Notice that the inputs are classified as either manipulated or disturbance variables and the outputs are classified as measured or unmeasured in Figure 1-1a. To automate the operation of a process, it is important to use measurements of process outputs or disturbance inputs to make decisions about the proper values of manipulated inputs. This is the purpose of the controller shown in Figure 1-1b; the measurement and control signals are shown as dashed lines. These initial concepts probably seem very vague or abstract to you at this point. Do not worry, because we present a number of examples in this chapter to clarify these ideas.

Figure 1-1. Conceptual process input/output block diagram.

graphics/01fig01.gif

The development of a control strategy consists of formulating or identifying the following.

  1. Control objective(s).

  2. Input variables— classify these as (a) manipulated or (b) disturbance variables; inputs may change continuously, or at discrete intervals of time.

  3. Output variables— classify these as (a) measured or (b) unmeasured variables; measurements may be made continuously or at discrete intervals of time.

  4. Constraints— classify these as (a) hard or (b) soft.

  5. Operating characteristics— classify these as (a) continuous, (b) batch, or (c) semicontinuous (or semibatch).

  6. Safety, environmental, and economic considerations.

  7. Control structure— the controllers can be feedback or feed forward in nature.

Here we discuss each of the steps in formulating a control problem in more detail.

  1. The first step of developing a control strategy is to formulate the control objective(s). A chemical-process operating unit often consists of several unit operations. The control of an operating unit is generally reduced to considering the control of each unit operation separately. Even so, each unit operation may have multiple, sometimes conflicting objectives, so the development of control objectives is not a trivial problem.

  2. Input variables can be classified as manipulated or disturbance variables. A manipulated input is one that can be adjusted by the control system (or process operator). A disturbance input is a variable that affects the process outputs but that cannot be adjusted by the control system. Inputs may change continuously or at discrete intervals of time.

  3. Output variables can be classified as measured or unmeasured variables. Measurements may be made continuously or at discrete intervals of time.

  4. Any process has certain operating constraints, which are classified as hard or soft. An example of a hard constraint is a minimum or maximum flow rate—a valve operates between the extremes of fully closed or fully open. An example of a soft constraint is a product composition—it may be desirable to specify a composition between certain values to sell a product, but it is possible to violate this specification without posing a safety or environmental hazard.

  5. Operating characteristics are usually classified as continuous, batch, or semicontinuous (semibatch). Continuous processes operate for long periods of time under relatively constant operating conditions before being "shut down" for cleaning, catalyst regeneration, and so forth. For example, some processes in the oil-refining industry operate for 18 months between shutdowns. Batch processes are dynamic in nature—that is, they generally operate for a short period of time and the operating conditions may vary quite a bit during that period of time. Example batch processes include beer or wine fermentation, as well as many specialty chemical processes. For a batch reactor, an initial charge is made to the reactor, and conditions (temperature, pressure) are varied to produce a desired product at the end of the batch time. A typical semibatch process may have an initial charge to the reactor, but feed components may be added to the reactor during the course of the batch run.

    Another important consideration is the dominant timescale of a process. For continuous processes this is very often related to the residence time of the vessel. For example, a vessel with a liquid volume of 100 liters and a flow rate of 10 liters/minute would have a residence time of 10 minutes; that is, on the average, an element of fluid is retained in the vessel for 10 minutes.

  6. Safety, environmental, and economic considerations are all very important. In a sense, economics is the ultimate driving force—an unsafe or environmentally hazardous process will ultimately cost more to operate, through fines paid, insurance costs, and so forth. In many industries (petroleum refining, for example), it is important to minimize energy costs while producing products that meet certain specifications. Better process automation and control allows processes to operate closer to "optimum" conditions and to produce products where variability specifications are satisfied.

    The concept of "fail-safe" is always important in the selection of instrumentation. For example, a control valve needs an energy source to move the valve stem and change the flow; most often this is a pneumatic signal (usually 3–15 psig). If the signal is lost, then the valve stem will go to the 3-psig limit. If the valve is air-to-open, then the loss of instrument air will cause the valve to close; this is known as a fail-closed valve. If, on the other hand, a valve is air-to-close, when instrument air is lost the valve will go to its fully open state; this is known as a fail-open valve.

  7. The two standard control types are feed forward and feedback. A feed-forward controller measures the disturbance variable and sends this value to a controller, which adjusts the manipulated variable. A feedback control system measures the output variable, compares that value to the desired output value, and uses this information to adjust the manipulated variable. For the first part of this textbook, we emphasize feedback control of single-input (manipulated) and single-output (measured) systems. Determining the feedback control structure for these systems consists of deciding which manipulated variable will be adjusted to control which measured variable. The desired value of the measured process output is called the setpoint.

A particularly important concept used in control system design is process gain. The process gain is the sensitivity of a process output to a change in the process input. If an increase in a process input leads to an increase in the process output, this is known as a positive gain. If, on the other hand, an increase in the process input leads to a decrease in the process output, this is known as a negative gain. The magnitude of the process gain is also important. For example, a change in power (input) of 0.5 kW to a laboratory-scale heater may lead to a fluid temperature (output) change of 10°C; this is a process gain (change in output/change in input) of 20°C/kW. The same input power change of 0.5 kW to a larger scale heater may only yield an output change of 0.5°C, corresponding to a process gain of 1°C/kW.

Once the control structure is determined, it is important to decide on the control algorithm. The control algorithm uses measured output variable values (along with desired output values) to change the manipulated input variable. A control algorithm has a number of control parameters, which must be "tuned" (adjusted) to have acceptable performance. Often the tuning is done on a simulation model before implementing the control strategy on the actual process. A significant portion of this textbook is on the use of model-based control, that is, controllers that have a model of the process "built in."

This approach is best illustrated by way of example. Since many important concepts, such as control instrumentation diagrams and control block diagrams, are introduced in the next examples, it is important that you study them thoroughly.

Example 1.1: Surge Tank

Surge tanks are often used as intermediate storage for fluid streams being transferred between process units. Consider the process flow diagram shown in Figure 1-2, where a fluid stream from process 1 is fed to the surge tank; the effluent from the surge tank is sent to process 2.

Figure 1-2. Tank level problem.

graphics/01fig02.gif

There are obvious constraints on the height in this tank. If the tank overflows it may create safety and environmental hazards, which may also have economic significance. Let us analyze this system using a step-by-step procedure.

  1. Control objective: The control objective is to maintain the height within certain bounds. If it is too high it will overflow and if it is too low there may be problems with the flow to process 2. Usually, a specific desired height will be selected. This desired height is known as the setpoint.

  2. Input variables: The input variables are the flow from process 1 and the flow to process 2. Notice that an outlet flow rate is considered an input to this problem. The question is which input is manipulated and which is a disturbance? That depends. We discuss this problem further in a moment.

  3. Output variables: The most important output variable is the liquid level. We assume that it is measured.

  4. Constraints: There are a number of constraints in this problem. There is a maximum liquid level; if this is exceeded, the tank will overflow. There are minimum and maximum flow rates through the inlet and outlet valves.

  5. Operating characteristics: We assume that this is a continuous process, that is, that there is a continuous flow in and out of the tank. It would be a semicontinuous process if, for example, there was an inlet flow with no outlet flow (if the tank was simply being filled).

  6. Safety, environmental, and economic considerations: These aspects depend somewhat on the fluid characteristics. If it is a hazardous chemical, then there is a tremendous incentive from safety and environmental considerations to not allow the tank to overflow. Indeed, this is also an economic consideration, since injuries to employees or environmental cleanup costs money. Even if the substance is water, it has likely been treated by an upstream process unit, so losing water owing to overflow will incur an economic penalty.

    Safety considerations play an important role in the specification of control valves (fail-open or fail-closed). For this particular problem, the control-valve specification will depend on which input is manipulated. This is discussed in detail shortly.

  7. Control structure: There are numerous possibilities for control of this system. We discuss first the feedback strategies, then the feed-forward strategies.

Feedback Control

The measured variable for a feedback control strategy is the tank height. Which input variable is manipulated depends on what is happening in process 1 and process 2. Let us consider two different scenarios.

Scenario 1

Process 2 regulates the flow-rate F2. This could happen, for example, if process 2 is a steam generation system and process 1 is a deionization process. Process 2 varies the flow rate of water (F2) depending on the steam demand. As far as the tank process is concerned, F2 is a "wild" (disturbance) stream because the regulation of F2 is determined by another system. In this case we would use F1 as the manipulated variable; that is, F1 is adjusted to maintain a desired tank height.

The control and instrumentation diagram for a feedback control strategy for scenario 1 is shown in Figure 1-3. Notice that the level transmitter (LT) sends the measured height of liquid in the tank (hm) to the level controller (LC). The LC compares the measured level with the desired level (hsp, the height setpoint) and sends a pressure signal (Pv) to the valve. This valve top pressure moves the valve stem up and down, changing the flow rate through the valve (F1). If the controller is designed properly, the flow rate changes to bring the tank height close to the desired setpoint. In this process and instrumentation diagram we use dashed lines to indicate signals between different pieces of instrumentation.

Figure 1-3. Feedback control strategy 1. The level is measured and the inlet flow rate (valve position) is manipulated.

graphics/01fig03.gif

A simplified block diagram representing this system is shown in Figure 1-4. Each signal and device (or process) is shown on the block diagram. We use a slightly different form for block diagrams when we use transfer function notation for control system analysis in Chapter 5. Note that each block represents a dynamic element. We expect that the valve and LT dynamics will be much faster than the process dynamics. We also see clearly from the block diagram why this is known as a feedback control "loop." The controller "decides" on the valve position, which affects the inlet flow rate (the manipulated input), which affects the level; the outlet flow rate (the disturbance input) also affects the level. The level is measured, and that value is fed back to the controller [which compares the measured level with the desired level (setpoint)].

Figure 1-4. Feedback control schematic (block diagram) for scenario 1. F1 is manipulated and F2 is a disturbance.

graphics/01fig04.gif

Notice that the control valve should be specified as fail-closed or air-to-open, so that the tank will not overflow on loss of instrument air or other valve failure.

Scenario 2

Process 1 regulates flow rate F1. This could happen, for example, if process 1 is producing a chemical compound that must be processed by process 2. Perhaps process 1 is set to produce F1 at a certain rate. F1 is then considered "wild" (a disturbance) by the tank process. In this case we would adjust F2 to maintain the tank height. Notice that the control valve should be specified as fail-open or air-to-close, so that the tank will not overflow on loss of instrument air or other valve failure.

The process and instrumentation diagram for this scenario is shown in Figure 1-5. The only difference between this and the previous instrumentation diagram (Figure 1-3) is that F2 rather than F1 is manipulated.

Figure 1-5. Feedback control strategy 2. Outlet flow rate is manipulated.

graphics/01fig05.gif

The simplified block diagram shown in Figure 1-6 differs from the previous case (Figure 1-4) only because F2 rather than F1 is manipulated. F1 is a disturbance input.

Figure 1-6. Feedback control schematic (block diagram) for scenario 2. F2 is manipulated and F1 is a disturbance.

graphics/01fig06.gif

Feed-Forward Control

The previous two feedback control strategies were based on measuring the output (tank height) and manipulating an input (the inlet flow rate in scenario 1 and the outlet flow rate in scenario 2). In each case the manipulated variable is changed after a disturbance affects the output. The advantage to a feed-forward control strategy is that a disturbance variable is measured and a manipulated variable is changed before the output is affected. Consider a case where the inlet flow rate can be changed by the upstream process unit and is therefore considered a disturbance variable. If we can measure the inlet flow rate, we can manipulate the outlet flow rate to maintain a constant tank height. This feed-forward control strategy is shown in Figure 1-7, where FM is the flow measurement device and FFC is the feed-forward controller. The corresponding control block diagram is shown in Figure 1-8. F1 is a disturbance input that directly affects the tank height; the value of F1 is measured by the FM device, and the information is used by an FFC to change the manipulated input, F2.

Figure 1-7. Feed-forward control strategy. Inlet flow rate is measured and outlet flow rate is manipulated.

graphics/01fig07.gif

Figure 1-8. Feed-forward control schematic block diagram.

graphics/01fig08.gif

The main disadvantage to this approach is sensitivity to uncertainty. If the inlet flow rate is not perfectly measured or if the outlet flow rate cannot be manipulated perfectly, then the tank height will not be perfectly controlled. With any small disturbance or uncertainty, the tank will eventually overflow or run dry. In practice, FFC is combined with feedback control to account for uncertainty. A feed-forward/feedback strategy is shown in Figure 1-9, and the corresponding block diagram is shown in Figure 1-10. Here, the feed-forward portion allows immediate corrective action to be taken before the disturbance (inlet flow rate) actually affects the output measurement (tank height). The feedback controller adjusts the outlet flow rate to maintain the desired tank height, even with errors in the inlet flow-rate measurement.

Figure 1-9. Feed-forward/feedback control strategy. The inlet flow rate is the measured disturbance, tank height is the measured output, and outlet flow rate is manipulated.

graphics/01fig09.gif

Figure 1-10. Feed-forward/feedback control schematic block diagram.

graphics/01fig10.gif

Discussion of Level Controller Tuning and the Dominant Timescale

Notice that we have not discussed the actual control algorithms; the details of control algorithms and tuning are delayed until Chapter 5. Conceptually, would you prefer to tune level controllers for "fast" or "slow" responses?

When tanks are used as surge vessels it is usually desirable to tune the controllers for a slow return to the setpoint. This is particularly true for scenario 2, where the inlet flow rate is considered a disturbance variable. The outlet flow rate is manipulated but affects another process. In order to not upset the downstream process, we would like to change the outlet flow rate slowly, yet fast enough that the tank does not overflow or go dry.

Related to the controller tuning issue is the importance of the dominant timescale of the process. Consider the case where the maximum tank volume is 200 gallons and the steady-state operating volume is 100 gallons. If the steady-state flow rate is 100 gallons/minute, the "residence time" would be 1 minute. Assume the inlet flow rate is a disturbance and outlet flow rate is manipulated (Figure 1-5). If the feed flow rate increased to 150 gallons/minute and the outlet flow rate did not change, the tank would overflow in 2 minutes. On the other hand, if the same vessel had a steady-state flow rate of 10 gallons/minute and the inlet flow suddenly increased to 15 gallons/minute (with no change in the outlet flow), it would take 20 minutes for the tank to overflow. Clearly, controller tuning and concern about controller failure is different for these two cases.

The first example was fairly easy compared with most control-system synthesis problems in industry. Even for this simple example we found that there were many issues to be considered and a number of decisions (specification of a fail-open or fail-closed valve, etc.) that needed to be made. Often there will be many (and usually conflicting) objectives, many possible manipulated variables, and numerous possible measured variables.

It is helpful to think of common, everyday activities in the context of control, so you will become familiar with the types of control problems that can arise in practice. The following activity is just such an example.

Example 1.2: Taking a Shower

A common multivariable control problem that we face every day is taking a shower. A simplified process schematic is shown in Figure 1-11. We analyze this process step by step.

  1. Control objectives: Control objectives when taking a shower include the following:

    1. to become clean

    2. to be comfortable (correct temperature and water velocity as it contacts the body)

    3. to "look good" (clean hair, etc.)

    4. to become refreshed

    To simplify our analysis, for the rest of the problem we discuss how we can satisfy the second objective (to maintain water temperature and flow rate at comfortable values). Similar analysis can be performed for the other objectives.

  2. Input variables: The manipulated input variables are hot-water and cold-water valve positions. Some showers can also vary the velocity by adjustment of the shower head. Another input is body position—you can move into and out of the shower stream. Disturbance inputs include a drop in water pressure (say, owing to a toilet flushing) and changes in hot water temperature owing to "using up the hot water from the heater."

  3. Output variables: The "measured" output variables are the temperature and flow rate (or velocity) of the mixed stream as it contacts your body.

  4. Constraints: There are minimum and maximum valve positions (and therefore flow rates) on both streams. The maximum mixed temperature is equal to the hot water temperature and the minimum mixed temperature is equal to the cold water temperature. The previous constraints were hard constraints—they cannot be physically violated. An example of a soft constraint is the mixed-stream water temperature—you do not want it to be above a certain value because you may get scalded. This is a soft constraint because it can physically happen, although you do not want it to happen.

  5. Operating characteristics: This process is continuous while you are taking a shower but is most likely viewed as a batch process, since it is a small part of your day. It could easily be called a semicontinuous (semibatch) process.

  6. Safety, environmental, and economic considerations: Too high of a temperature can scald you—this is certainly a safety consideration. Economically, if your showers are too long, more energy is consumed to heat the water, costing money. Environmentally (and economically), more water consumption means that more water and wastewater must be treated. An economic objective might be to minimize the shower time. However, if the shower time is too short, or not frequent enough, your clothes will become dirty and must be washed more often—increasing your clothes-cleaning bill.

  7. Control structure: This is a multivariable control problem because adjusting either valve affects both temperature and flow rate. Control manipulations must be "coordinated," that is, if the hot-water flow rate is increased to increase the temperature, the cold-water flow rate must be decreased to maintain the same total flow rate. The measurement signals are continuous, but the manipulated variable changes are likely to be discrete (unless your hands are continuously varying the valve positions).

    Feedback control: As the body feels the temperature changing, adjustments to one or both valves is made. As the body senses a flow rate or velocity change, one or both valves are adjusted.

    Feed-forward control: If you hear the toilet flush, you move your body out of the stream to avoid the higher temperature that you anticipate. Notice that you are making a manipulated variable change (moving your body) before the effect of an output (temperature or flow rate) change is actually detected.

Figure 1-11. Process schematic for taking a shower.

graphics/01fig11.gif

Some showers may have a relatively large time delay (or dead time) between when a manipulated variable change is made and when the actual output change is measured. This could happen, for example, if there was a large pipe run between the mixing point and the shower head (this would be considered an input time delay). Another type of time delay is measurement dead time, for example if your body takes a while to detect a change in the temperature of the stream contacting your body.

Notice that the control strategy used has more manipulated variables (two valve positions and body movement) than measured outputs (total mixed-stream flow rate and temperature).

In the shower example, the individual taking the shower served as the controller. The measurements and manipulations for this example are somewhat qualitative (you do not know the exact temperature or flow rate, for example). Most of the rest of the textbook consists of quantitative controller design procedures, that is, a mathematical model of the process is used to develop the control algorithm.

This chapter has covered the important first step of control system development—identifying seven basic steps in analyzing a process control problem. We have used simple examples with which you are familiar. As you learn about more chemical and environmental processes, you should get in the habit of thinking about them from a process systems point of view, just as you have with these simple systems.

    [ Team LiB ] Previous Section Next Section