29
1 Enhanced Single-Loop Control Strategies 1. Cascade control 2. Time-delay compensation 3. Inferential control 4. Selective and override control 5. Nonlinear control 6. Adaptive control Chapter 16

Ch 16 (1-27-05).pdf

Embed Size (px)

Citation preview

1Enhanced Single-Loop Control Strategies1. Cascade control2. Time-delay compensation3. Inferential control4. Selective and override control5. Nonlinear control6. Adaptive controlChapter 162Example: Cascade ControlChapter 163Chapter 164Chapter 165Cascade Control Distinguishing features:1. Two FB controllers but only a single control valve (or other final control element).2.Output signal of the "master" controller is the set-point for slave" controller.3. Two FB control loops are "nested" with the "slave" (or "secondary") control loop inside the "master" (or "primary") control loop. Terminology:slave vs. mastersecondary vs. primaryinner vs. outerChapter 166Chapter 167121212= hot oil temperature= fuel gas pressure= cold oil temperature (or cold oil flow rate)= supply pressure of gas fuel= measured value of hot oil temperature= measured value of fuel gas temmmYYDDYY1 122perature= set point for = set point for spspY YY Y

Chapter 161 212 2 2 2 1 2 2 1 1(16 5)1P dc v p m c c v p p mG GD G GG G G G GG G GY= + +8Chapter 16Example 16.1Consider the block diagram in Fig. 16.4 with the following transfer functions:( )( )1 21 2 2 15 411 4 1 2 111 0.05 0.23 1v p pm m d dG G Gs s sG G G Gs= = =+ + += = = =+9Chapter 1610Chapter 16Example 16.2Compare the set-point responses for a second-order process with a time delay (min) and without the delay.The transfer function isAssume and time constants in minutes. Use the following PI controllers.For min, while for min the controller gain must be reduced to meet stability requirements( ) ( )( ) 16 18 ( )5 1 3 1speG ss s =+ +1m vG G = =0, =13.02 6.5cK and = =2 =( )11.23, 7.0min.cK = =11Chapter 16( )( )1 1 216 19spE E Y Y Y Y Y = =

'If the process model is perfect and the disturbance is zero, then 2Y Y =

and( )116 20spE' Y Y = For this ideal case the controller responds to the error signal that would occur if not timewere present.Assuming there is not model errorthe inner loop has the effective transfer function( ), GG =

( )( )16 211 * 1cscG PGEG G e = =+ '12For no model error:By contrast, for conventional feedback control=* - sG= G Ge

( )1 11 1 =+ = =+ +cc* sc* sc c* s *spc cGGG G eG Ge G G YYG Ge G GChapter 16( )*16 231 *scsspcG Ge YYG Ge= +13Chapter 1614Chapter 1615Chapter 16Inferential Control Problem: Controlled variable cannot be measured or has large sampling period. Possible solutions:1. Control a related variable (e.g., temperature instead of composition).2. Inferential control: Control is based on an estimate of the controlled variable. The estimate is based on available measurements. Examples: empirical relation, Kalmanfilter Modern term: soft sensor16Inferential Control with Fast and Slow Measured VariablesChapter 1617Selective Control Systems & OverridesFor every controlled variable, it is very desirable that there be at least one manipulated variable.But for some applications, NC> NMwhere:NC =number of controlled variablesNM=number of manipulated variablesChapter 16Solution: Use a selective control system or an override.18Low selector:High selector:Chapter 16Median selector:The output, Z, is the median of an odd number of inputs19 multiple measurements one controller one final control elementChapter 16Example:High Selector Control System 202 measurements, 2 controllers, 1 final control elementChapter 1621Overrides An override is a special case of a selective control system One of the inputs is a numerical value, a limit. Used when it is desirable to limit the value of a signal (e.g., a controller output). Override alternative for the sand/water slurry example?Chapter 1622Chapter 1623Nonlinear Control Strategies Most physical processes are nonlinear to some degree. Some are very nonlinear.Examples: pH, high purity distillation columns, chemical reactionswith large heats of reaction. However, linear control strategies (e.g., PID) can be effective if:1. The nonlinearities are rather mild.or,2. A highly nonlinear process usually operates over a narrow range of conditions. For very nonlinear strategies, a nonlinear control strategy can provide significantly better control. Two general classes of nonlinear control:1.Enhancements of conventional,linear, feedback control 2.Model-based control strategiesReference: Henson & Seborg (Ed.), 1997 book.Chapter 1624Enhancements of Conventional Feedback ControlWe will consider three enhancements of conventional feedback control:1. Nonlinear modifications of PID control2. Nonlinear transformations of input or output variables3. Controller parameter scheduling such as gain scheduling.Nonlinear Modifications of PID Control:0(1 ( ) ) (16-26)c cK K a|e t | = +Chapter 16Kc0and a are constants, and e(t) is the error signal(e = ysp - y). Also called, error squared controller.Question: Why not useExample: level control in surge vessels. One Example: nonlinear controller gain2( )instead of( ) ( ) u e t u | e t | e t ? 25Nonlinear Transformations of Variables Objective: Make the closed-loop system as linear as possible. (Why?) Typical approach: transform an input or an output.Example: logarithmic transformation of a product composition in a high purity distillation column. (cf. McCabe-Thiele diagram)Chapter 16where x*Ddenotes the transformed distillate composition. Related approach: Define u or y to be combinations of several variables, based on physical considerations.Example: Continuous pH neutralizationCVs:pH and liquid level, hMVs:acid and base flow rates, qAand qBConventional approach: single-loop controllers for pH and h.Better approach: control pH by adjusting the ratio, qA/ qB, and control h by adjusting their sum. Thus,u1 =qA/ qBand u2 =qA/ qB1(16-27)1*DDDspxx logx=26Gain Scheduling Objective: Make the closed-loop system as linear as possible. Basic Idea: Adjust the controller gain based on current measurements ofa scheduling variable, e.g.,u, y, or some other variable.Chapter 16 Note: Requires knowledge about how the process gain changes withthismeasured variable.27Chapter 16Examples of Gain Scheduling Example 1. Titration curve for a strong acid-strong base neutralization. Example 2. Once through boilerThe open-loop step response are shown in Fig. 16.18 for twodifferent feedwater flow rates.Fig. 16.18 Open-loop responses. Proposed control strategy: Vary controller setting with w, the fraction of full-scale (100%) flow.(16-30)c c I I D DK wK, / w, / w, = = = Compare with the IMC controller settings for Model H in Table 12.1:12( ) , , ,1 2 22sc I DcKeGs Ks K += = = + =+ ++Model H: 28Chapter 16Adaptive Control A general control strategy for control problems where the process or operating conditions can change significantly and unpredictably.Example: Catalyst decay, equipment fouling Many different types of adaptive control strategies have been proposed. Self-Tuning Control (STC): A very well-known strategy and probably the most widely used adaptive control strategy. Basic idea: STC is a model-based approach. As process conditions change, update the model parameters by using least squares estimation and recent u & y data. Note: For predictable or measurable changes, use gain scheduling instead of adaptive controlReason: Gain scheduling is much easier to implement and less troubleprone.29Chapter 16Block Diagram for Self-Tuning Control