GB2432683A - A process control element for use as a portion of a process control routine - Google Patents
A process control element for use as a portion of a process control routine Download PDFInfo
- Publication number
- GB2432683A GB2432683A GB0702680A GB0702680A GB2432683A GB 2432683 A GB2432683 A GB 2432683A GB 0702680 A GB0702680 A GB 0702680A GB 0702680 A GB0702680 A GB 0702680A GB 2432683 A GB2432683 A GB 2432683A
- Authority
- GB
- United Kingdom
- Prior art keywords
- control
- auxiliary
- variables
- parameters
- manipulated
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000004886 process control Methods 0.000 title claims abstract description 54
- 238000000034 method Methods 0.000 claims abstract description 229
- 230000008569 process Effects 0.000 claims abstract description 182
- 239000011159 matrix material Substances 0.000 claims abstract description 123
- 238000003860 storage Methods 0.000 claims abstract description 18
- 238000005457 optimization Methods 0.000 claims description 33
- 230000006870 function Effects 0.000 description 135
- 230000004044 response Effects 0.000 description 107
- 230000008859 change Effects 0.000 description 28
- 239000013598 vector Substances 0.000 description 27
- 238000004891 communication Methods 0.000 description 11
- 230000001276 controlling effect Effects 0.000 description 10
- 238000012360 testing method Methods 0.000 description 10
- 238000012545 processing Methods 0.000 description 9
- 238000006243 chemical reaction Methods 0.000 description 8
- 238000011217 control strategy Methods 0.000 description 8
- 230000000694 effects Effects 0.000 description 8
- 238000011112 process operation Methods 0.000 description 8
- 230000000875 corresponding effect Effects 0.000 description 5
- 238000013461 design Methods 0.000 description 5
- 238000005259 measurement Methods 0.000 description 5
- 230000001143 conditioned effect Effects 0.000 description 4
- 230000002596 correlated effect Effects 0.000 description 4
- 238000010586 diagram Methods 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 4
- 230000009471 action Effects 0.000 description 3
- 238000013459 approach Methods 0.000 description 3
- 230000006399 behavior Effects 0.000 description 3
- 230000003750 conditioning effect Effects 0.000 description 3
- 238000004540 process dynamic Methods 0.000 description 3
- 239000002994 raw material Substances 0.000 description 3
- 230000000284 resting effect Effects 0.000 description 3
- 238000007792 addition Methods 0.000 description 2
- 238000004458 analytical method Methods 0.000 description 2
- 238000013528 artificial neural network Methods 0.000 description 2
- 238000004364 calculation method Methods 0.000 description 2
- 230000001419 dependent effect Effects 0.000 description 2
- 230000005284 excitation Effects 0.000 description 2
- 230000006872 improvement Effects 0.000 description 2
- 230000000704 physical effect Effects 0.000 description 2
- 238000010992 reflux Methods 0.000 description 2
- 238000012369 In process control Methods 0.000 description 1
- 230000008094 contradictory effect Effects 0.000 description 1
- 238000012937 correction Methods 0.000 description 1
- 238000010219 correlation analysis Methods 0.000 description 1
- 238000013480 data collection Methods 0.000 description 1
- 238000012217 deletion Methods 0.000 description 1
- 230000037430 deletion Effects 0.000 description 1
- 238000002716 delivery method Methods 0.000 description 1
- 238000010965 in-process control Methods 0.000 description 1
- 238000012905 input function Methods 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000008520 organization Effects 0.000 description 1
- 239000003208 petroleum Substances 0.000 description 1
- 238000010963 scalable process Methods 0.000 description 1
- 238000010187 selection method Methods 0.000 description 1
- 239000000126 substance Substances 0.000 description 1
- 238000012731 temporal analysis Methods 0.000 description 1
- 238000000700 time series analysis Methods 0.000 description 1
- 238000012800 visualization Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B13/00—Adaptive control systems, i.e. systems automatically adjusting themselves to have a performance which is optimum according to some preassigned criterion
- G05B13/02—Adaptive control systems, i.e. systems automatically adjusting themselves to have a performance which is optimum according to some preassigned criterion electric
- G05B13/04—Adaptive control systems, i.e. systems automatically adjusting themselves to have a performance which is optimum according to some preassigned criterion electric involving the use of models or simulators
- G05B13/042—Adaptive control systems, i.e. systems automatically adjusting themselves to have a performance which is optimum according to some preassigned criterion electric involving the use of models or simulators in which a parameter or coefficient is automatically adjusted to optimise the performance
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B11/00—Automatic controllers
- G05B11/01—Automatic controllers electric
- G05B11/32—Automatic controllers electric with inputs from more than one sensing element; with outputs to more than one correcting element
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B13/00—Adaptive control systems, i.e. systems automatically adjusting themselves to have a performance which is optimum according to some preassigned criterion
- G05B13/02—Adaptive control systems, i.e. systems automatically adjusting themselves to have a performance which is optimum according to some preassigned criterion electric
- G05B13/0205—Adaptive control systems, i.e. systems automatically adjusting themselves to have a performance which is optimum according to some preassigned criterion electric not using a model or a simulator of the controlled system
- G05B13/024—Adaptive control systems, i.e. systems automatically adjusting themselves to have a performance which is optimum according to some preassigned criterion electric not using a model or a simulator of the controlled system in which a parameter or coefficient is automatically adjusted to optimise the performance
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B13/00—Adaptive control systems, i.e. systems automatically adjusting themselves to have a performance which is optimum according to some preassigned criterion
- G05B13/02—Adaptive control systems, i.e. systems automatically adjusting themselves to have a performance which is optimum according to some preassigned criterion electric
- G05B13/04—Adaptive control systems, i.e. systems automatically adjusting themselves to have a performance which is optimum according to some preassigned criterion electric involving the use of models or simulators
- G05B13/041—Adaptive control systems, i.e. systems automatically adjusting themselves to have a performance which is optimum according to some preassigned criterion electric involving the use of models or simulators in which a variable is automatically adjusted to optimise the performance
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B13/00—Adaptive control systems, i.e. systems automatically adjusting themselves to have a performance which is optimum according to some preassigned criterion
- G05B13/02—Adaptive control systems, i.e. systems automatically adjusting themselves to have a performance which is optimum according to some preassigned criterion electric
- G05B13/04—Adaptive control systems, i.e. systems automatically adjusting themselves to have a performance which is optimum according to some preassigned criterion electric involving the use of models or simulators
- G05B13/048—Adaptive control systems, i.e. systems automatically adjusting themselves to have a performance which is optimum according to some preassigned criterion electric involving the use of models or simulators using a predictor
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Automation & Control Theory (AREA)
- Health & Medical Sciences (AREA)
- Artificial Intelligence (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Evolutionary Computation (AREA)
- Medical Informatics (AREA)
- Software Systems (AREA)
- Feedback Control In General (AREA)
Abstract
A process control element adapted to be used as a portion of a process control routine implemented on a processor to control a plurality of control and auxiliary parameters of a process using a multiplicity of manipulated parameters. Said element comprising a computer readable medium, a function block to implement a multiple input, multiple output controller routine (MIMO). Said function block comprising an objective function, an optimizer routine, a control matrix and a MIMO control routine. The function block further comprises storage for storing a set of control parameter set points and auxiliary and manipulated parameter limits; storage for a set of control parameter set point limits; storage for a set of priority indications for said control parameters; storage for a set of priority indications for said control parameters; and storage for a set of priority indications for said auxiliary parameters.
Description
<p>INTEGRATED MODEL PREDICTIVE CONTROL AND</p>
<p>OPTIMIZATION WITHIN A PROCESS CONTROL SYSTEM</p>
<p>The application is related to U.S. Patent Application No. 10/310,416, entitled "Configuration and Viewing Display for an Integrated Model Predictive Control and Optimizer Function Block," filed on December 5, 2002, and U.S. Patent Application No. 10/241,350, entitled "Integrated Model Predictive Control and Optimization within a Process Control System," filed on September 11, 2002. These applications are hereby incorporated by reference herein in their entireties for all purposes.</p>
<p>The present invention relates generally to process control systems and, more particularly, to the use of an optimized model predictive controller within a process control system.</p>
<p>:. Process control systems, such as distributed or scalable process control systems like :: those used in chemical, petroleum or other processes, typically include one or more process controllers communicatively coupled to each other, to at least one host or operator * .*.: workstation and to one or more field devices via analog, digital or combined analog/digital **. . . buses. The field devices, which may be, for example valves, valve positloners, switches and transmitters (e.g., temperature, pressure and flow rate sensors), perform functions within the *:*. process such as opening or closing valves and measuring process parameters. The process controller receives signals indicative of process measurements made by the field devices and/or other information pertaining to the field devices, uses this information to implement a control routine and then generates control signals which are sent over the buses to the field devices to control the operation of the process. Information from the field devices and the controller is typically made available to one or more applications executed by the operator workstation to enable an operator to perform any desired function with respect to the process, such as viewing the current state of the process, modifying the operation of the process, etc. Process controllers are typically programmed to execute different algorithms, sub-routines or control loops (which are all control routines) for each of a number of different loops defined for, or contained within a process, such as flow control loops, temperature control loops, pressure control loops, etc. Generally speaking, each such control loop includes one or more input blocks, such as an analog input (Al) function block, a 674422v I ngle-output control block, such as a proportional-integral-derivative (PID) or a fuzzy logic control function block, and a single output block, such as an analog output (AO) function block. These control loops typically perform single-inputlsingle-output control because the control block creates a single control output used to control a single process input, such as a valve position, etc. However, in certain cases, the use of a number of independently operating, single-inputlsingle-output control loops is not very effective because the process variables being controlled are affected by more than a single process input and, in fact, each process input may affect the state of many process outputs. An example of this might occur in, for example, a process having a tank being filled by two input lines, and being emptied by a single output line, each line being controlled by a different valve, and in which the temperature, pressure and throughput of the tank are being controlled to be at or near desired values. As indicated above, the control of the throughput, the temperature and the pressure of the tank may be performed using a separate throughput control loop, a separate temperature control loop and a separate pressure control loop. However, in this situation, the operation of : ... the temperature control loop in changing the setting of one of the input valves to control the *...</p>
<p>... temperature within the tank may cause the pressure within the tank to increase, which, for *:*. example, causes the pressure loop to open the outlet valve to decrease the pressure. This action may then cause the throughput control loop to close one of the input valves, thereby S..</p>
<p>affecting the temperature and causing the temperature control loop to take some other action.</p>
<p>*.* As will be understood in this example, the single-input/single-output control loops cause the *". process outputs (in this case, throughput, temperature and pressure) to behave in an unacceptable manner wherein the outputs oscillate without ever reaching a steady state condition.</p>
<p>Model predictive control (MPC) or other types of advanced control have been used to perform process control in situations in which changes to a particular controlled process variable affects more than one process variable or output. Since the late 1970s, many successful implementations of model predictive control have been reported and MPC has become the primary form of advanced multivariable control in the process industry. Still further, MPC control has been implemented within distributed control systems as distributed control system layered software. U.S. Patent Numbers 4,616,308 and 4,349,869 generally describe MPC controllers that can be used within a process control system.</p>
<p>Generally speaking, MPC is a multiple-input/multiple output control strategy in which the effects of changing each of a number of process inputs on each of a number of process outputs is measured and these measured responses are then used to create a control matrix or a model of the process. The process model or control matrix (which generally defines the steady state operation of the process) is inverted mathematically and is then used in or as a multiple-input/multiple-output controller to control the process outputs based on changes made to the process inputs. In some cases, the process model is represented as a process output response curve (typically a step response curve) for each of the process inputs and these curves may be created based on a series of, for example, pseudo-random step changes delivered to each of the process inputs. These response curves can be used to model the process in known marmers. Model predictive control is known in the art and, as a result, the specifics thereof will not be described herein. However, MPC is described generally in Qin, S. Joe and Thomas A. Badgwell, "An Overview of Industrial Model Predictive Control Technology," AIChE Conference, 1996.</p>
<p>*..::: MPC has been found to be a very effective and useful control technique and has been used in conjunction with process optimization. To optimize a process which uses MPC, an * :* : optimizer minimizes or maximizes one or more process input variables determined by the *.. MPC routine so as to cause the process to run at an optimal point. While this technique is * computationally possible, it is necessary to select the process variables that have, for example, ::::; a significant impact on improving the economic operation of the process (e.g. process * throughput or quality) to optimize the process from an economic standpoint. Operating the process at an optimal point from a financial or economic viewpoint typically requires controlling many process variables in conjunction with one another, not just a single process variable.</p>
<p>Optimizing with the use of quadratic programming techniques or more current techniques like interior point methods has been proposed as a solution to providing dynamic optimization with MPC. With these methods, an optimization solution is determined and the optimizer provides the controller with moves in the controller outputs (i.e., the manipulated variables of the process), taking into account process dynamics, current constraints and optimization objectives. However, this approach has a tremendous computational burden and is not practically feasible at the current technology level.</p>
<p>In most cases when using MPC, the number of manipulated variables available within the process (i.e., the control outputs of the MPC routine) is greater than the number of control variables of the process (i.e., the number of process variables that must be controlled to be at a particular set point). As a result, there are usually more degrees of freedom that are available for optimization and constraint handling. Theoretically, to perform such optimization, values expressed by process variables, constraints, limits and economic factors defining an optimal operation point of the process should be calculated. In many cases, these process variables are constrained variables because they have limits related to physical properties of the process to which they pertain and within which these variables must be kept.</p>
<p>For example, a process variable representing tank level is limited to the maximum and minimum levels of the actual tank physically achievable. An optimizing function may calculate the costs and/or profits associated with each of the constrained or auxiliary variables to operate at a level in which profit is maximized, costs are minimized, etc. Measurements of these auxiliary variables can then be provided as inputs to the MPC routine and treated by the n... MPC routine as control variables having a set point equal to the operational point for the auxiliary variable defined by the optimization routine.</p>
<p>* ,* MPC delivers the best performance often required by the application only for square *.. control, in which the number of control inputs to the process (i.e., the manipulated variables * developed by the control routine) is equal to the number of process variables being controlled : (i.e., the inputs to the controller). In most cases however, the number of auxiliary constraint * variables plus the number of process control variables is greater than the number of manipulated variables. Implementation of MPC for such non-square configurations leads to unacceptably poor performance.</p>
<p>It is believed that others have tried to overcome this problem by dynamically selecting a set of control and constrained variables equal to the number of manipulated variables and generating the controller on-line or during process operation to determine the next moves in the manipulated variables. This technique, however, is computationally expensive because it applies matrix inversion and can not be used in some cases, like MPC implemented as a function block in a process controller. Equally important is that some combinations of inputs and outputs of the generated controller may result in an ill-conditioned controller, which results in unacceptable operation. While conditioning of the controller can be verified and mproved when the controller configuration is set up off-line, this task is an excessive burden for on-line operation and is practically impossible to implement at the controller level.</p>
<p>A process control configuration system is provided for use in creating or viewing an integrated optimization and control block that implements an optimization routine and a multiple-inputlmultiple--output control routine. The configuration system may enable a user to display or configure the optimizer or the control routine. For example, a storage routine may store information pertaining to a plurality of control and auxiliary variables and to a plurality of manipulated variables to be used by the optimization routine and/or the control routine, and a display routine may present a display to a user regarding the information pertaining to the plurality of control and auxiliary variables and to the plurality of manipulated variables.</p>
<p>According to one aspect of the invention we provide a process control configuration system for use in creating or viewing a control block having an integrated optimizer and a multiple-input/multiple-output control routine, comprising a computer readable medium, a **, configuration routine stored on the computer readable medium and adapted to be executed on 0*** a processor, the configuration routine including a storage routine that stores information * *:.: pertaining to a plurality of control and auxiliary variables and to a plurality of manipulated *.** . . . variables used by one or both of the optimizer and the multiple-inputlmultiple-output control routine, the information pertaining to the plurality of control and auxiliary variables and to the plurality of manipulated variables including response information for each of at least some of the control and auxiliary variables, the response information indicative of respective responses of each of the at least some of the control and auxiliary variables to respective manipulated variables and a display routine adapted to present a display to a user regarding one or more of the control, auxiliary and manipulated variables, the display including a subset of the response information, the subset of the response information including response information indicative of responses of each of the at least some of the control and auxiliary variables to at least one of the manipulated variables.</p>
<p>In one embodiment, the storage routine stores response information for each of at least some of the control and auxiliary variables. The response information for a control or auxiliary variable may include information indicative of respective responses of the control or auxiliary variable to respective manipulated variables. The responses may be, for example, step responses, impulse responses, ramp responses, etc. The display routine may display response information to the user. For example, the user may specify a manipulated variable, and the display routine may display responses to the specified manipulated variable of one or more of the control and auxiliary variables.</p>
<p>According to a second aspect of the invention, we provide a process control system for controlling a process, comprising a multiple-input/multiple-output controller adapted to produce, during each operational cycle of the process control system, multiple control outputs configured to control the process based on multiple measured inputs from the process and based on a set of target values provided to the multiple-input/multiple output controller during each operational cycle of the process control system and an optimizer adapted to develop the set of target values for use by the multiple-input/multiple-output controller during each operational cycle of the process control system, wherein the optimizer is a linear or quadratic programming optimizer including an objective function and the optimizer is adapted to minimize or maximize the objective function while keeping a set of control variables within predefined set point limits, a set of auxiliary variables within a set of ::: predefined auxiliary variable limits and a set of manipulated variables within a set of predefined manipulated variable limits and, if no solution exists, to enable at least one of the *:*. set point limits to be violated.</p>
<p>* In yet another aspect, a process control technique for controlling a process having a plurality of manipulated variables and a plurality of control and auxiliary variables includes **: selecting a subset of the control and auxiliary variables to use in performing process control, wherein at least one of selected control and auxiliary variables is selected based on being most responsive to one of the manipulated variables. A control matrix is created using the selected control and auxiliary variables and the manipulated variables, and a controller is generated from the control matrix. Inputs to the controller include the selected control and auxiliary variables, and outputs of the controller include the manipulated variables.</p>
<p>Optimization is performed by selecting a process operating point, the process operating point defined by a set of target values for the selected control and auxiliary variables, to minimize or maximize an objective function. The controller is used to perform a multiple-input/multiple-output control technique to develop a set of manipulated variable values from the target values.</p>
<p>According to a third aspect of the invention, we provide a process control system for controlling a process, comprising a response matrix defining a reaction of each of a set of _ontrol and auxiliary variables to a change in each of a set of manipulated variables, wherein a number of control and auxiliary variables in the set of control and auxiliary variables is equal to a first number, wherein a number of manipulated variables in the set of manipulated variables is equal to a second number, a linear or quadratic optimizer adapted to produce a set of target manipulated variable values, the target manipulated variable values defining an optimal operating point, based on a set of predicted values of control and auxiliary variables of the process and based on a set of current values of manipulated variables of the process, wherein a number of predicted values of control and auxiliary variables in the set of predicted values of control and auxiliary variables is equal to the first number, wherein a number of current values of manipulated variables in the set of current values of manipulated variables is equal to the second number, use a set of predicted control and auxiliary variables, a set of predicted manipulated variables, and the response matrix to produce a set of target values for a predetermined subset of a set of control and auxiliary variables, wherein a number of predicted control of auxiliary variables in the set of predicted control and auxiliary variables : ... is equal to the first number, wherein a number of control and auxiliary variables in the .... predetermined subset of the set of control and auxiliary variables is different than the first * : * number, wherein the linear or quadratic optimizer is adapted to produce the set of target manipulated variable values that maximize or minimize an objective function while keeping each of the control variables at predefined set points and each of the auxiliary variables and * manipulated variables within predefined constraint limits, wherein the optimizer is adapted to : produce the set of target manipulated variable values that maximize or minimize the objective function while keeping each of the control variables within predefined set point limits and each of the auxiliary variables and manipulated variables within constraint limits when a solution that keeps each of the control variables at predefined set points and each of the auxiliary variables and manipulated variables within predefined constraint limits does not exist, wherein the optimizer is adapted to produce the set of target manipulated variable values that maximize or minimize the objective function while keeping each of the auxiliary variables within predefined constraint limits and the manipulated variables within predefined constraint limits while allowing one or more of the control variables to violate predetermined set point limits based on priorities associated with the control variables when a solution that keeps each of the control variables within predefined set point limits and each of the auxiliary variables and manipulated variables within predefined constraint limits does not exist, a multiple-input/multiple-output controller adapted to produce the set of predicted control and auxiliary variables and the set of predicted manipulated variables and combine the set of target values for the predetermined subset of the set of control and auxiliary variables with measured values of the predetermined subset of the set of control and auxiliary variables to produce a set of manipulated control signals to control the manipulated variables of the process, wherein a number of the manipulated control signals in the set of manipulated is equal to the second number.</p>
<p>According to a fourth aspect of the invention, we provide a method of controlling a process having a plurality of manipulated variables and a multiplicity of control and auxiliary variables capable of being effected by changes in the manipulated variables, wherein the plurality of manipulated variables is different in number than the multiplicity of control and auxiliary variables, the method comprising selecting a subset of the multiplicity of control and auxiliary variables to use in performing process control, wherein selecting the subset includes selecting one of the control or auxiliary variables as being most responsive to one of the manipulated variables, creating a control matrix using the selected subset of the multiplicity of the control and auxiliary variables and the plurality of manipulated variables, generating a * controller from the control matrix having the selected subset of the multiplicity of the control :*. and auxiliary variables as inputs and the plurality of manipulated variables as outputs, performing process optimization by selecting a process operating point to minimize or * maximize an objective function dependent on the plurality of manipulated variables and the multiplicity of control and auxiliary variables, said process operating point defined by a set of * target values for the selected subset of the multiplicity control and auxiliary variables, performing a multiple-input/multiple output control technique using a controller generated from the control matrix to develop a set of manipulated variable values from the target values for the selected subset of the multiplicity of control and auxiliary variables and measured values of the selected subset of the multiplicity of control and auxiliary variables and using the developed set of manipulated variable values to control the process.</p>
<p>According to a fifth aspect of the invention, we provide a method of controlling a process having a plurality of manipulated variables and a multiplicity of control and auxiliary variables capable of being effected by changes in the manipulated variables, wherein the plurality of manipulated variables is different in number than the multiplicity of control and auxiliary variables, the method comprising selecting a subset of the multiplicity of control and auxiliary variables to use in performing process control, wherein a number of control and xjljary variables in the subset is less than a number of manipulated variables in the plurality of manipulated variables, creating a control matrix using the selected subset of the multiplicity of the control and auxiliary variables and the plurality of manipulated variables, generating a controller from the control matrix having the selected subset of the multiplicity of the control and auxiliary variables as inputs and the plurality of manipulated variables as outputs, performing process optimization by selecting a process operating point to minimize or maximize an objective function dependent on the plurality of manipulated variables and the multiplicity of control and auxiliary variables, said process operating point defined by a set of target values for the selected subset of the multiplicity control and auxiliary variables, performing a multiple-input/multiple output control technique using a controller generated from the control matrix to develop a set of manipulated variable values from the target values for the selected subset of the multiplicity of control and auxiliary variables and measured values of the selected subset of the multiplicity of control and auxiliary variables and using the developed set of manipulated variable values to control the process.</p>
<p>:: According to a sixth aspect of the invention, we provide a process control element adapted to be used as a portion of a process control routine implemented on a processor to control a plurality of control and auxiliary parameters of a process using a multiplicity of manipulated parameters, the process control element comprising a computer readable medium, a function block stored on the computer readable medium and adapted to be :: : : executed on the processor to implement multiple-input/multiple output control of the process during each control scan period, the function block including, an objective function that defines an optimization criteria based on the plurality of control and auxiliary parameters, wherein the objective function defines an optimization criteria based on a first number of control and auxiliary parameters, an optimizer routine that uses the objective function to produce a set of optimal target values for the control and auxiliary parameters during each control scan period, wherein the optimizer routine includes a linear or quadratic programming routine, a control matrix that relates a predetermined subset of the plurality of control and auxiliary parameters to the multiplicity of manipulated parameters, wherein a number of control and auxiliary parameters in the predetermined subset is equal to the first number, wherein a number of manipulated parameters in the multiplicity of manipulated parameters is equal to the first number and a multiple-input/multiple-output control routine that produces a control signal for each of the multiplicity of manipulated parameters during each control scan riod using the control matrix and the target values for the subset of the plurality of control and auxiliary variables, wherein the control signals are determined to drive the subset of the plurality of control and auxiliary parameters to the optimal target values for the subset of control and auxiliary parameters, wherein the multiple-input/multiple-output control routine includes a model predictive control routine.</p>
<p>According to a seventh aspect of the invention, we provide a process control element adapted to be used as a portion of a process control routine implemented on a processor to control a plurality of control and auxiliary parameters of a process using a multiplicity of manipulated parameters, the process control element comprising a computer readable medium, a function block stored on the computer readable medium and adapted to be executed on the processor to implement multiple-input/multiple output control of the process during each control scan period, the function block including, an objective function that defines an optimization criteria based on the plurality of control and auxiliary parameters, an optimizer routine that uses the objective function to produce a set of optimal target values for the control and auxiliary parameters during each control scan period, a control matrix that relates a predetermined subset of the plurality of control and auxiliary parameters to the * j multiplicity of manipulated parameters and a multiple-input/multiple-output control routine that produces a control signal for each of the multiplicity of manipulated parameters during * each control scan period using the control matrix and the target values for the subset of the plurality of control and auxiliary variables, wherein the control signals are determined to * drive the subset of the plurality of control and auxiliary parameters to the optimal target values for the subset of control and auxiliary parameters, wherein the function block includes a storage for storing a set of control parameter set points and a set of auxiliary and manipulated parameter limits and wherein the optimizer routine is configured to determine the set of optimal target values for the manipulated parameters which result in the control parameters being at the control parameter set points, the auxiliary and manipulated parameters being within the auxiliary and manipulated parameter limits and the objective function being minimized or maximized, wherein the storage also stores a set of control parameter set point limits and the optimizer routine is adapted to produce the set of optimal target values for the manipulated parameters that maximize or minimize the objective function while keeping each of the control parameters within the control parameter set points limits and each of the auxiliary parameters and manipulated parameters within the auxiliary nd manipulated parameter limits when a solution that keeps the control parameters at the control parameter set points and the auxiliary and manipulated parameters within the auxiliary and manipulated parameter limits does not exist, wherein thestorage also stores a set of priority indications for the control parameters and the optimizer routine is adapted to produce the set of target manipulated parameters that maximize or minimize the objective function while keeping each of the control parameters within the control parameter set points limits while allowing one or more of the control parameters to violate the control parameter set point limits based on the priority indications for the control parameters when a solution that keeps each of the control parameters within the control parameter set point limits and each of the auxiliary parameters and manipulated parameters within the auxiliary and manipulated parameter limits does not exist, wherein the storage also stores a set of priority indications for the auxiliary parameters and the optimizer routine is adapted to produce the set of target manipulated parameters that maximize or minimize the objective function while allowing at least one of the auxiliary parameters to violate the auxiliary parameter limits based on the *::::* priority indications for the auxiliary parameters and the control parameters to violate the control parameter set point limits based on the priority indications for the control parameters when a solution that keeps each of the control parameters within the control parameter set point limits and each of the auxiliary parameters and manipulated parameters within the *::.* auxiliary and manipulated parameter limits does not exist.</p>
<p>*..: According to an eighth aspect of the invention, we provide a method of performing control of a process having a first number of control and auxiliary variables controlled by a second number of manipulated variables, the method comprising determining a step response matrix defining a response of each of the control and auxiliary variables to changes in each of the manipulated variables, selecting a subset of the control and auxiliary variables, the subset having the same or less number of control and auxiliary variables as manipulated variables, wherein selecting the subset includes selecting one of the control or auxiliary variables as being best responsive to one of the manipulated variables, creating a square control matrix from the responses within the response matrix for the selected subset of the control and auxiliary variables and the manipulated variables and during each scan of the process, obtaining a measure of each of the selected subset of the control and auxiliary variables, calculating an optimal operating target value for each of the selected subset of the control and auxiliary variables, performing a multiple-inputimultiple-output control routine using the rget values for the each of the selected subset of the control and auxiliary variables, the measures of the selected subset of the control and auxiliary variables and the control matrix to produce a set of manipulated parameter signals and using the manipulated parameter signals to control the process.</p>
<p>The invention will now be described by way of example only with reference to the accompanying drawings, wherein; Fig. 1 is a block diagram of an process control system including a control module having an advanced controller function block that integrate an optimizer with an MPC controller; Fig. 2 is a block diagram of the advanced controller function block of Fig. 1 having an integrated optimizer and MPC controjler; Fig. 3 is a flow chart illustrating a manner of creating and installing the integrated optimizer and MPC controller function block of Fig. 2; *::* Fig. 4 is a flow chart illustrating the operation of the integrated optimizer and MPC *:*. controller of Fig. 2 during on-line process operation; *.:. Fig. 5 is a screen display of a configuration routine illustrating an advanced control * block within a control module that performs process control; Fig. 6 is a screen display of a configuration routine illustrating a dialog box indicating * the properties of the advanced control block of Fig. 5; Fig. 7 is a screen display of a configuration routine illustrating a manner of selecting or specifying inputs to and outputs of an advanced control function block depicted n the display of Fig. 5; Fig. 8 is a screen display provided by a configuration routine that enables a user or operator to select one of a set of objective functions for use creating an advanced control block; Fig. 9 is a screen display of a test screen that may be used to enable a user to perform testing and creation of a process model during the creation of an advanced control block; Fig. 10 is a screen display of a configuration routine illustrating a number of step responses indicating the response of different control and auxiliary variables to a particular manipulated variable; Fig. 11 is a screen display of a configuration routine illustrating a manner of selecting one of the control or auxiliary variables of Fig. 9 as being primarily associated with the manipulated variable; Fig. 12 is a screen display of a configuration routine illustrating a number of step responses indicating the response of the same control or auxiliary variable to different ones of the manipulated variables; Fig. 13 is a screen display of a configuration routine illustrating another manner of selecting control or auxiliary variables to be associated with manipulated variables; Fig. 14 is a screen display of a configuration routine illustrating another manner of selecting control or auxiliary variables to be associated with manipulated variables; Fig. 15 is a screen display illustrating the manner of copying one of the step responses of a model to be copied for use in a different model; I. : Fig. 16 is a screen display illustrating a manner of viewing and changing a step response curve; Fig. 17 is a screen display illustrating a dialog screen which provides information to the operator during operation of the advanced control block; and Fig. 18 is a screen display illustrating a diagnostics screen that may be provided to a .: user or operator to perform diagnostics on an advanced control block.</p>
<p>Referring now to Fig. 1, a process control system 10 includes a process controller 11 communicatively connected to a data historian 12 and to one or more host workstations or computers 13 (which may be any type of personal computers, workstations, etc.), each having a display screen 14. The controller 11 is also connected to field devices 15-22 via inputloutput (I/O) cards 26 and 28. The data historian 12 may be any desired type of data collection unit having any desired type of memory and any desired or known software, hardware or firmware for storing data and may be separate from (as illustrated in Fig. 1) or a part of one of the workstations 13. The controller 11, which may be, by way of example, the DeItaVTM controller sold by Fisher-Rosemount Systems, Inc., is communicatively connected to the host computers 13 and the data historian 12 via, for example, an Ethernet connection or any other desired communication network 29. The communication network 29 may be in the form of a local area network (LAN), a wide area network (WAN), a telecommunications etwork, etc. and may be implemented using hardwired or wireless technology. The controller 11 is communicatively connected to the field devices 15-22 using any desired hardware and software associated with, for example, standard 4-20 ma devices and/or any smart communication protocol such as the FOUNDATION Fieldbus protocol (Fieldbus), the HART protocol, etc. The field devices 15-22 may be any types of devices, such as sensors, valves, transmitters, positioners, etc. while the L/O cards 26 and 28 may be any types of 110 devices conforming to any desired communication or controller protocol. In the embodiment illustrated in Fig. 1, the field devices 15-18 are standard 4-20 ma devices that communicate over analog lines to the I/O card 26 while the field devices 19-22 are smart devices, such as Fieldbus field devices, that communicate over a digital bus to the 110 card 28 using Fieldbus protocol communications. Of course, the field devices 15-22 could conform to any other desired standard(s) or protocols, including any standards or protocols developed in the future.</p>
<p>The controller 11, which may be one of many distributed controllers within the plant having at least one processor therein, implements or oversees one or more process control *:*. routines, which may include control loops, stored therein or otherwise associated therewith.</p>
<p>*.. The controller 11 also communicates with the devices 15-22, the host computers 13 and the * * data historian 12 to control a process in any desired manner. It should be noted that any control routines or elements described herein may have parts thereof implemented or executed by different controllers or other devices if so desired. Likewise, the control routines or elements described herein to be implemented within the process control system 10 may take any form, including software, firmware, hardware, etc. For the purpose of this discussion, a process control element can be any part or portion of a process control system including, for example, a routine, a block or a module stored on any computer readable medium. Control routines, which may be modules or any part of a control procedure such as a subroutine, parts of a subroutine (such as lines of code), etc. may be implemented in any desired software format, such as using ladder logic, sequential function charts, function block diagrams, object oriented programming or any other software programming language or design paradigm. Likewise, the control routines may be hard-coded into, for example, one or more EPROMs, EEPROMs, application specific integrated circuits (ASICs), or any other hardware or firmware elements. Still further, the control routines may be designed using any design tools, including graphical design tools or any other type of ,oftware/hardware/firmware programming or design tools. Thus, the controller II may be configured to implement a control strategy or control routine in any desired manner.</p>
<p>In one embodiment, the controller 11 implements a control strategy using what are commonly referred to as function blocks, wherein each function block is a part or object of an overall control routine and operates in conjunction with other function blocks (via communications called links) to implement process control loops within the process control system 10. Function blocks typically perform one of an input function, such as that associated with a transmitter, a sensor or other process parameter measurement device, a control function, such as that associated with a control routine that performs PID, fuzzy logic, etc. control, or an output function which controls the operation of some device, such as a valve, to perform some physical function within the process control system 10. Of course hybrid and other types of function blocks exist. Function blocks may be stored in and executed by the controller 11, which is typically the case when these function blocks are used n". for, or are associated with standard 4-20 ma devices and some types of smart field devices *** such as HART devices, or may be stored in and implemented by the field devices themselves, which may be the case with Fieldbus devices. While the description of the control system is : provided herein using a function block control strategy which uses an object oriented programming paradigm, the control strategy or control ioops or modules could also be *::: implemented or designed using other conventions, such as ladder logic, sequential function . charts, etc. or using any other desired programming language or paradigm.</p>
<p>As illustrated by the expanded block 30 of Fig. 1, the controller 11 may include a number of single-loop control routines, illustrated as routines 32 and 34, and may implement one or more advanced control loops, illustrated as control loop 36. Each such loop is typically referred to as a control module. The single-loop control routines 32 and 34 are illustrated as performing single loop control using a single-input/single-output fuzzy logic control block and a single-input/single-output PID control block, respectively, connected to appropriate analog input (Al) and analog output (AO) function blocks, which may be associated with process control devices such as valves, with measurement devices such as temperature and pressure transmitters, or with any other device within the process control system 10. The advanced control loop 36 is illustrated as including an advanced control block 38 having inputs communicatively connected to numerous A! function blocks and outputs communicatively connected to numerous AO function blocks, although the inputs and utputs of the advanced control block 38 may be communicatively connected to any other desired function blocks or control elements to receive other types of inputs and to provide other types of control outputs. As will be described further, the advanced control block 38 may be a control block that integrates a model predictive control routine with an optimizer to perform optimized control of the process or a portion of the process. While the advanced control block 38 will be described herein as including a model predictive control (MPC) block, the advanced control block 38 could include any other multiple-input/multiple-output control routine or procedure, such as a neural network modeling or control routine, a multi-variable fuzzy logic control routine, etc. It will be understood that the function blocks illustrated in Fig. 1, including the advanced control block 38, can be executed by the controller 11 or, alternatively, can be located in and executed by any other processing device, such as one of the workstations 13 or even one of the field devices 19-22.</p>
<p>As illustrated in Fig. 1, one of the workstations 13 includes an advanced control block ... generation routine 40 that is used to create, download and implement the advanced control ... block 38. While the advanced control block generation routine 40 may be stored in a memory *:*. within the workstation 13 and executed by a processor therein, this routine (or any part thereof) may additionally or alternatively be stored in and executed by any other device within the process control system 10, if so desired. Generally speaking, the advanced control block generation routine 40 includes a control block creation routine 42 that creates an advanced . . control block as further described herein and that connects this advanced control block into the process control system, a process modeling routine 44 that creates a process model for the process or a portion thereof based on data collected by the advanced control block, a control logic parameter creation routine 46 that creates control logic parameters for the advanced control block from the process model and that stores or downloads these control logic parameters in the advanced control block for use in controlling the process and an optimizer routine 48 that creates an optimizer for use with the advanced control block. It will be understood the routines 42, 44, 46 and 48 can be made up of a series of different routines, such as a first routine that creates an advanced control element having control inputs adapted to receive process outputs and having control outputs adapted to provide control signals to process inputs, a second routine that enables a user to download and communicatively connect the advanced control element within the process control routine (which may be any desired configuration routine), a third routine that uses the advanced control element to provide excitation waveforms to each of the process inputs, a fourth routine that uses the advanced control element to collect data reflecting the response of each of the process outputs to the excitation waveforms, a fifth routine that selects or enables a user to select a set of inputs for the advanced control block, a sixth routine that creates a process model, a seventh routine that develops advanced control logic parameters from the process model, an eighth routine that places the advanced control logic and, if needed, the process model within the advanced control element to enable the advanced control element to control the process and a ninth routine that selects or enables a user to select an optimizer for use in the advanced control block 38.</p>
<p>Fig. 2 illustrates a more detailed block diagram of one embodiment of the advanced control block 38 communicatively coupled to a process 50, it being understood that the advanced control block 38 produces a set of manipulated variables MVs that are provided to other function blocks which, in turn, are connected to control inputs of the process 50. As :... illustrated in Fig. 2, the advanced control block 38 includes an MPC controller block 52, an *.ii..' optimizer 54, a target conversion block 55, a step response model or control matrix 56 and a input processing/filter block 58. The MPC controller 52 may be any standard, square M by M (where M can be any number greater than one) MPC routine or procedure having the same number of inputs as outputs. The MPC controller 52 receives, as inputs, a set of N control *.. and auxiliary variables CV and AV (which are vectors of values) as measured within the *. . process 50, a set of disturbance variables DV which are known or expected changes or disturbances provided to the process 50 at some time in the future and a set of steady state target control and auxiliary variables CV1 and AVT provided from the target conversion block 55. The MPC controller 52 uses these inputs to create the set of M manipulated variables MV (in the form of control signals) and delivers the manipulated variable MV signals to control the process 50.</p>
<p>Still further, the MPC controller 52 calculates and provides a set of predicted steady state control variables CVss and auxiliary variables AVss along with a set of predicted steady state manipulated variables MVss representing the predicted values of the control variables CV, the auxiliary variables AV and the manipulated variables MV, respectively, at the prediction horizon, to the input processing/filter block 58. The input processing/filter block 58 processes the determined predicted steady state values of the control, auxiliary and manipulated variables CV55, AVss and MVss to reduce the effects of noise and unpredicted Jisturbances on these variables. It will be understood that the input processing/filter block 58 may include a low pass filter or any other input processing that reduces the effects of noise, modeling errors and disturbances on these values and provides the filtered control, auxiliary and manipulated variables CVs1, AVss, and MVSSfiI to the optimizer 54.</p>
<p>The optimizer 54 is, in this example, a linear programming (LP) optimizer that uses an objective function (OF) that may be provided from a selection block 62 to perform process optimization. Alternatively, the optimizer 54 could be a quadratic programming optimizer which is an optimizer with a linear model and a quadratic objective function. Generally speaking, the objective function OF will specify costs or profits associated with each of a number of control, auxiliary and manipulated variables and the optimizer 54 sets target values for those variables by maximizing or minimizing the objective function. The selection block 62 may select the objective function OF provided to the optimizer 54 as one of a set of pre-stored objective functions 64 which mathematically represent different manners of defining optimal operation of the process 50. For example, one of the pre-stored objective functions 64 may be configured to maximize the profit of the plant, another one of the objective functions 64 may be configured to minimize the use of a particular raw material that is in short supply while a still further one of the objective functions 64 may be configured to maximize the quality of the product being manufactured within the process 50. Generally speaking, the objective function uses a cost or profit associated with each move of a control, : auxiliary and manipulated variable to determine the most optimal process operating point within the set of acceptable points as defined by the set point values or ranges of the control variables CV and the limits of the auxiliary and manipulated variables AV and MV. Of course, any desired objective function can be used instead or in addition to those described herein including objective functions which optimize each of a number of concerns, such as use of a raw material, profitability, etc. to some degree.</p>
<p>To select one of the objective functions 64, a user or operator may provide an indication of the objective function 64 to be used by selecting that objective function on an operator or user terminal (such as one of the workstations 13 of Fig. 1) which selection is provided via an input 66 to the selection block 62. In response to the input 66, the selection block 62 provides the selected objective function OF to the optimizer 54. Of course, the user or operator can change the objective function being used during operation of the process. If desired, a default objective function may be used in cases in which the user does not provide r select an objective function. One possible default objective function will be discussed in more detail below. While illustrated as being part of the advanced control block 38, the different objective functions may be stored in the operator terminal 13 of Fig. I and one of these objective functions may be provided to the advanced control block 38 during the creation or generation of this block.</p>
<p>In addition to the objective function OF, the optimizer 54 receives, as inputs, a set of control variable set points (which are typically operator specified set points for the control variables CV of the process 50 and may be changed by the operator or other user) and a range and weight or priority associated with each of the control variables CV. The optimizer 54 additionally receives a set of ranges or constraint limits and a set of weights or priorities for the auxiliary variables AV and a set of limits for the manipulated variables MV being used to control the process 50. Generally speaking, the ranges for the auxiliary and manipulated :. variables define the limits (typically based on physical properties of the plant) for the * auxiliary and manipulated variables while the ranges for the control variables provide a range S...</p>
<p>in which the control variables may operate for satisfactory control of the process. The *.: weights for the control and auxiliary variables specify the relative importance of the control variables and the auxiliary variables with respect to one another during the optimization process and may be used, in some circumstances, to enable the optimizer 54 to generate a ::: control target solution if some of the constraints are violated.</p>
<p>* During operation, the optimizer 54 may use a linear programming (LP) technique to perform optimization. As is known, linear programming is a mathematical technique for solving a set of linear equations and inequalities that maximizes or minimizes a certain additional function called the objective function. As discussed above, the objective function may express economic value like cost or profit but may express other objectives instead.</p>
<p>Further, as will be understood, the steady state gain matrix defines the steady state gain for each possible pair of the manipulated variables and the control or auxiliary variables, in other words, the steady state gain matrix defines the steady state gain in each control and auxiliary variable for a unit change in each of the manipulated and disturbance variables. This steady state gain matrix is generally an N by M matrix, where N is the number of control and auxiliary variables and M is the number of manipulated variables used in the optimizer routine. Generally, N can be greater than, equal to, or less than M, with the most common case being that N is greater than M. Using any known or standard LP algorithm or technique, the optimizer 54 iterates to determine the set of target manipulated variables MV1 (as determined from the steady state gain matrix) which maximize or minimize the selected objective function OF while resulting an process operation that meets or falls within the control variable CV set point range limits, the auxiliary variable AV constraint limits and the manipulated variable MV limits. In one embodiment, the optimizer 54 actually determines the change in the manipulated variables and uses the indication of the predicted steady state control variables, auxiliary variables and manipulated variables CV51, AVssni and MV5fiI to determine the changes in the process operation from its current operation, that is, to determine the dynamic operation of the MPC control routine during the process of reaching the target or optimal process operating point.</p>
<p>This dynamic operation is important as it is necessary to assure that none of the constraint limits is violated during the move from the current operating point to the target operating point.</p>
<p>In one embodiment, the LP optimizer 54 may be designed to minimize an objective :... function of the following form: Q pt * A *API + C iMV</p>
<p>S * S S</p>
<p>* ** wherein: **..</p>
<p>Q = total cost/profit :::: P = profit vector associated with the AVs and CVs * C = cost vector associated with MVs A = Gain matrix AMV = vector for calculated change in MVs The profit values are positive numbers and the cost values are negative numbers to indicate their influence on the objective. Using this objective function, the LP optimizer 54 calculates the changes in the manipulated variables MV that minimize the objective function while insuring that the control variables CV remain within a range from their target set point, that the auxiliary variables AV are within their upper and lower constraint limits and that the manipulated variables MV are within their upper and lower limits.</p>
<p>In one optimization procedure that can be used, incremental values of manipulated variables are used at the present time (t) and a sum of increments of manipulated variables are used over the control horizon with incremental values of control and auxiliary variables being determined at the end of prediction horizon, instead of positional current values, as is typical in LP applications. Of course, the LP algorithm may be appropriately modified for this variation. In any event, the LP optimizer 54 may use a steady state model and, as a result, a steady state condition is required for its application. With a prediction horizon as normally used in MPC design, future steady state is guaranteed for a self-regulating process. One possible predicted process steady state equation for an m by n input-output process, with prediction horizon p, control horizon c, expressed in the incremental form is: tCV(t+p)= A*EtIv!V(1+c) wherein: Acv1 CV(t+p)= ** A * * **** S. * * S* * S.</p>
<p>S S...</p>
<p>S</p>
<p>denotes predicted changes in outputs at the end of prediction horizon (t+p), a11... aim A= a1 anm is the process steady state m by n gain matrix, AMV(t+c)= 1tmvm denotes changes in manipulated variables at the end of control horizon (t+c), The vector AI%/IV(t+c) represents the sum of the changes over control horizon made by 1mv,=mv1(t+j) i=1,2,...,m every controller output my, so that: The changes should satisfy limits on both the manipulated variables MV and the control variables CV (here auxiliary variables are treated as control variables): S. * * * S..</p>
<p>* *** Ii/fVmin = A/IJ"rreni + LiAfJ" (t + c) = d%hJ"max</p>
<p>S * * . * .*</p>
<p>S S...</p>
<p>S</p>
<p>::E:; CVm,n In this case, the objective function for maximizing product value and minimizing raw material cost can be defined jointly as: Q = _UCVT *CV(I+ p)+UMVT *MV(t+c) mm wherein: UCVis the cost vector for a unit change in the control variable CV process value; and UMV is the cost vector for a unit change in the manipulated variables MV process value.</p>
<p>Applying the first equation above, the objective function can be expressed in terms of manipulated variables MV as: Q = -UCV7 * A * MV(t +c) + UMJ'T * iMV(t + c) mm To find an optimal solution, the LP algorithm calculates the objective function for an initial vertex in the region defined by this equation and improves the solution every next step until the algorithm determines the vertex with the maximum (or minimum) value of the objective function as an optimal solution. The determined optimal manipulated variable values are applied as the target manipulated variables MVT to be achieved within control horizon.</p>
<p>Generally speaking, running the LP algorithm on the prepared matrix returns three possible results. First, there is a unique solution for the target manipulated variables MVT.</p>
<p>:. Second, the solution is unbounded, which should not happen if each control and auxiliary variable has a high and a low limit. Third, there is no solution, which means the boundaries or constraints on the auxiliary variables are too tight. To handle the third case, the overall .: constraints may be relaxed to obtain a solution. The basic assumption is that limits on * manipulated variables (Hi/Lo limits) can not be changed by optimizer. The same is true for * constraint or limits of the auxiliary variable (1-li/Lo limits). However, the optimizer can . change from driving the control variable CV to the specified set points (CV set point control) * .: to driving the control variables to any of the values within a range from or around the set point (CV range control). In this case, the values of the control variables are allowed to be placed within a range rather than at a specific set point. If there are several auxiliary variables AV violating their constraints, and switching from CV set point control to CV range control does not provide a solution, it is also possible to relax or to ignore the constraints of the auxiliary variables based on the provided weights or priority designations. In one embodiment, a solution could be determined by minimizing the squared error of the auxiliary variables allowing each of them to violate their respective constraint or by abandoning constraints of the auxiliary variables with lowest priority in a sequential manner.</p>
<p>As noted above, the objective function OF may be chosen or set by default by the control block generation program 40. One method of establishing such a default setting is provided below. In particular, while it is desirable to provide the ability to optimize, many situations may only require that set points for the control variables be maintained in a manner that still observes the operating constraints of the auxiliary variables and manipulated variables. For these applications, the block 38 may be configured to operate solely as an MPC function block. To provide this ease of use, a default "Operate" objective function may be automatically created with default costs assigned to the different variables therein along with default auxiliary variable AV weights. These defaults may set all costs for the auxiliary variables AV and the manipulated variables MV equal or provide some other predetermined cost assignment to the auxiliary and manipulated variables AV and MV. When an expert option is selected, then the user may create additional optimization selections and define their associated costs for the different objective functions 64. The expert user will also be allowed to modify the default auxiliary variable and control variable AV and CV weights of the default objective function.</p>
<p>In one embodiment when, for example, economics are not defined for the process configuration, the objective function may be constructed from the MPC configuration :... automatically. In general, the objective function may be constructed using the following .... formula: * S S * S. : CDT =CT+PT*A=[Ci,...,Cj,...,Cm1+[P,aii,>P:as2,...,>P,aim]=[CDi,...,CDj,.
,CDm1 The variables C and p, can be defined from the configuration settings. In particular, assuming that the control variable CV set point can be defined at LL or HL only, the p, value is defined in the following way: p, = -l if set point is defined at LL or minimize was selected; and = I if set point is defined at HL or maximize was selected.</p>..DTD: <p>Assuming no configuration information is entered for the auxiliary variables AV, p, = O for all auxiliary variables AV. Similarly for the manipulated variables MV, the C1 value depends on whether or not the preferred manipulated variable target MV1 is defined. Where the preferred manipulated target MV1 is defined: C = I if MV1 is at the HL (high limit) or maximize was selected, C = -1 if MVT is at the LL (low limit) or minimize was selected, and C = 0 if MVT is not defined.</p>
<p>If desired, the selection of the use of the optimizer 54 in conjunction with the MPC controller 52 may be adjustable to thereby provide a degree of optimization. To perform this function, the change in the manipulated variables MV used by the controller 52 can be altered by applying different weights to the change in the manipulated variables MV determined by the MPC controller 52 and the optimizer 54. Such a weighted combination of the manipulated variables MV is referred to herein as an effective MV (MVeff). The effective MVeff can be determined as: IiMVejpLlMVmpc(ciJS) +z1MV01(I-a) Oa I, where S is arbitrarily or heuristically selected. Typically, S will be greater than one and may be in the range often.</p>
<p>Here, with a=0, the optimizer contributes to the effective output as it was set at the generation. With a1, the controller provides MPC dynamic control only. Of course, the S...</p>
<p>range between 0 and 1 provides different contributions of optimizer and MPC control.</p>
<p>The above described default objective function may be used to establish the operation of the optimizer during different possible operational modes thereof. In particular, when the number of control variables CVs match the number of manipulated variables MVs, the ** expected behavior with the default setting is that the control variable CV set points will be maintained as long as auxiliary variables AVs and the manipulated variables MVs are projected to be within their limits. If it is predicted that an auxiliary variable or a manipulated variable will violate its limit, then the control variable working set points will be changed within their range to prevent these limits from being violated. If, in this case, the optimizer 54 can not find a solution that satisfies auxiliary and manipulated variable limits while maintaining the control variables within their range, then control variables will be maintained within their range while the auxiliary variables are allowed to deviate from their constraint limits. In finding the best solution, those auxiliary variables AVs that are projected to violate a limit will be treated equally and their average limit deviation minimized.</p>
<p>To achieve this behavior, the default cost/profit used by the objective function will automatically be set such that the control variables CV will be assigned a profit of 1 if the range is defined to allow deviation below the set point and a profit of -1 if the range is defined to allow deviation above the set point. The auxiliary variables AVs within limits will be assigned a profit of 0 and the manipulated variables MVs will be assigned a cost of 0.</p>
<p>When the number of control variables CVs is less than number of manipulated variables MVs, then the extra degrees of freedom can be used to address the requirements associated with the configured manipulated variable's MV final resting position. Here, the control variable set points (if any control variables CVs are defined) will be maintained as long as the auxiliary and manipulated variables are projected to be within their limits. The average deviation of the manipulated variables from the configured final resting position will be minimized. If it is predicted that one or more of the auxiliary and manipulated variables will violate its limit, then the control variable working set points will be changed within their ranges to prevent these limits from being violated. Under this condition, if multiple solutions exist, then the one used for the control will minimize the average deviation of the manipulated variables from the configured final resting position.</p>
<p>When the optimizer 54 can not find a solution (i.e., a solution does not exist) that satisfies the auxiliary and manipulated variables limits while maintaining the control variables within their range, then the control variables will be maintained within range while : * the auxiliary variables are allowed to deviate from their constraint limits. In finding the best solution, those auxiliary variables that are projected to violate a limit will be treated equally * and their average limit deviation minimized. To achieve this behavior, the default cost/profit used by objective function will automatically be set so that the control variables will be * assigned a profit of I if the range is defined to allow deviation below the set point and -l if the range is defined to allow deviation above the set point. The auxiliary variables will be assigned a profit of I or -I and the manipulated variables will be assigned a cost of 0.1.</p>
<p>In any event, after operation, the optimizer 54 provides the set of optimal or target manipulated variables MV1 to the target conversion block 55 which uses the steady state gain matrix to determine the target steady state control and auxiliary variables that result from the target manipulated variables MV1. This conversion is computationally straightforward, as the steady state gain matrix defines the interactions between the manipulated variables and the control and auxiliary variables and thereby can be used to uniquely determine the target control and auxiliary variables CV1 and AVT from the defined target (steady state) manipulated variables MVT.</p>
<p>Once determined, at least of a subset of N of the target control and auxiliary variables CVI and AV1 are provided as inputs to the MPC controller 52 which, as noted previously, uses these target values CVT and AVT to determine a new set of steady state manipulated variables (over the control horizon) MV55 which drives the current control and auxiliary variables CV and AV to the target values CV1 and AVT at the end of the prediction horizon.</p>
<p>Of course, as is known, the MPC controller changes the manipulated variables in steps in an attempt to reach the steady state values for these variables MVss which, theoretically, will be the target manipulated variables MVT determined by the optimizer 54. Because the optimizer 54 and MPC controller 52 operate as described above during each process scan, the target values of the manipulated variables MV1 may change from scan to scan and, as a result, the MPC controller may never actually reach any particular one of these sets of target manipulated variables MVr, especially in the presence of noise, unexpected disturbances, changes in the process 50, etc. However, the optimizer 54 is always driving the controller 52 to move the manipulated variables MV towards an optimal solution.</p>
<p>As is known, the MPC controller 52 includes a control prediction process model 70, which may be an N by M+D step response matrix (where N is the number of control variables CV plus the number of auxiliary variables AV, M is the number of manipulated variables MV * and D is the number of disturbance variables DV). The control prediction process model 70 S...</p>
<p>produces on an output 72 a previously calculated prediction for each of the control and *. auxiliary variables CV and AV and a vector summer 74 subtracts these predicted values for the current time from the actual measured values of the control and auxiliary variables CV and AV to produce an error or correction vector on the input 76.</p>
<p>The control prediction process model 70 then uses the N by M+D step response matrix to predict a future control parameter for each of the control variables and auxiliary variables CV and AV over the prediction horizon based on the disturbance and manipulated variables provided to other inputs of the control prediction process model 70. The control prediction process model 70 also provides the predicted steady state values of the control variables and the auxiliary variables CVss and AVss to the input processing/filter block 58.</p>
<p>A control target block 80 determines a control target vector for each of the N target control and auxiliary variables CVT and AVT provided thereto by the target conversion block using a trajectory filter 82 previously established for the block 38. In particular, the trajectory filter provides a unit vector defining the manner in which control and auxiliary variables are to be driven to their target values over time. The control target block 80 uses this unit vector and the target variables CVT and AVT to produce a dynamic control target vector for each of the control and auxiliary variables defining the changes in the target variables CVI and AVT over time period defined by the prediction horizon time. A vector summer 84 then subtracts the future control parameter vector for each of the control and auxiliary variables CV and AV from the dynamic control vectors to define an error vector for each of the control and auxiliary variables CV and AV. The future error vector for each of the control and auxiliary variables CV and AV is then provided to the MPC algorithm which operates to select the manipulated variable MV steps that minimize the, for example, least squared error, over the control horizon for manipulated variables MV and the prediction horizon for control variables and auxiliary variables CV and AV. Of course, the MPC algorithm or controller uses an M by M process model or control matrix developed from relationships between the N control and auxiliary variables input to the MPC controller 52 and the M manipulated variables output by the MPC controller 52.</p>
<p>:... More particularly, the MPC algorithm working with the optimizer has two main objectives. First, the MPC algorithm tries to minimize CV control error with minimal MV moves, within operational constraints and, second, tries to achieve optimal steady state MV * values set up by optimizer and the target CV values calculated directly from the optimal **** steady state MV values. * *</p>
<p>To satisf' these objectives, the original unconstrained MPC algorithm can be * extended to include MV targets into the least square solution. The objective function for this MPC controller is: mm {JJrY [cv(k) -R(k)]112 + DrA'11"(k)II2 + Or [ AMV(k) -]02 MV(k) wherein: CV(k) is the controlled output p-step ahead prediction vector; R(k) is the p-step ahead reference trajectory (set point) vector; iMV(k) is the c- step ahead incremental control moves vector; y y y r = diag{F,. . .,F,} is a penalty matrix on the controlled output error; = ) is a penalty matrix on the control moves; p is the prediction horizon (number of steps); c is the control horizon (number of steps); and is a penalty on error of the sum of controller output moves over control horizon relative to the target optimal change of MV defined by the optimizer. For the simplicity of notation, the objective function is shown for single-inputlsingle-output (SISO) control.</p>
<p>As will be understood, the first two terms are the objective function for the unconstrained MPC controller while the third term sets up an additional condition that makes the sum of the controller output moves equal to the optimal targets. In other words, the first two terms set up objectives for controller dynamic operation while the third term sets up steady state optimization objectives.</p>
<p>It will be noted that the general solution for this controller, similar to that for the unconstrained MPC controller, can be expressed as: * * * ..</p>
<p>M'fV(k) = rnrsu + uTu) surrrrE+1 (k) = KompcEp+i(k) * I * I S * S. *:. wherein: AMV(k) is the change in MPC controller output at the time k; Kompc is the optimized MPC controller gain; Su is the process dynamic matrix built from the step responses of dimension p x c for a SISO model and pn x c*m for a multiple-input/multiple-output MIMO model with m manipulated inputs and n controlled outputs.</p>
<p>For optimized MPC, the dynamic matrix is extended to the size: (p+]) x m for SISO model and (p+m) * x c*m for MIMO model, to accommodate the MV error. E+,(k) is the CV error vector over the prediction horizon and error of the sum of controller output moves over control horizon relative to the target optimal change of MV. The matrix F combines the matrix F3' and F and is a square matrix of dimension (p+l) for a SISO controller and [nv+m)] for the multivariable controller. Superscript Tdenotes a transposed matrix.</p>
<p>It has been determined that, because the optimizer 54 is optimizing based on all of the control and auxiliary variables CV and AV to determine a target set of manipulated variables MVT defining a unique optimal operating point, it does not matter that the MPC controller 52 is only operating using a subset of the control and auxiliary variables CV and AV in its control matrix to actually produce the manipulated variables MV output therefrom because, when the controller 52 drives the selected subset of control and auxiliary variables CV and AV to their associated targets, the others of the complete set of control and auxiliary variables will be at their target values as well. As a result, it has been determined that a square (M by .. M) MPC controller with an M by M control matrix can be used with an optimizer that uses a eI ... rectangular (N by M) process model to perform process optimization. This enables standard MPC control techniques to be used with standard optimization techniques without having to invert a non-square matrix with the attendant approximations and risks associated with such conversion techniques in a controller. * *</p>
<p>In one embodiment, when the MPC controller is squared, i.e., the number of * manipulated variables MV is equal to the number of control variables CV, then the manipulated variable MV target can be effectively achieved by changes in CV values as follows: LCV=A*M,fVT M'IVT -optimal target change of MV LtCV -CV change to achieve optimal MV. CV change is implemented by managing CV set points.</p>
<p>In operation, the optimizer 54 sets up and updates the steady state targets for the MPC unconstrained controller at every scan. Thus, the MPC controller 52 executes the unconstrained algorithm. Because the targets CVT and AVT are set in a manner that accounts for constraints, as long as a feasible solution exists, the controller works within constraint limits. Optimization, therefore, is an integral part of the MPC controller.</p>
<p>Figs. 3 and 4 depict a flow chart 90 illustrating the steps used to perform integrated model predictive control and optimization. The flow chart 90 is generally divided into two sections 90a (Fig. 3) and 90b (Fig. 4) illustrating functions which occur prior to process operation (90a) and functions which occur during process operation (90b), e.g., during every scan of process operation. Prior to process operation, an operator or engineer takes a number of steps to create the advanced control block 38 including an integrated MPC controller and optimizer. In particular, at a block 92, an advanced control template may be selected for use as the advanced control block 38. The template may be stored in and copied from a library within a configuration application on the user interface 13 and may include the general mathematics and logic functions of the MPC controller routine 52 and optimizer 54 without :. the particular MPC, process models and steady state gain or control matrices and the * particular objective function. This advanced control template may be placed in a module :::: having other blocks, such as input and output blocks configured to communicate with devices * within the process 50, as well as other types of function blocks, such as control blocks, including PID, neural network and fuzzy logic control blocks. It will be understood that, in one embodiment, the blocks within a module are each objects within an object oriented programming paradigm having inputs and outputs thereof connected to each other to perform communications between the blocks. During operation, the processor running the module executes each of the blocks in sequence at a different time using the inputs to the blocks to produce the outputs of the blocks which are then provided to the inputs of other blocks as defined by the specified communication links between the blocks.</p>
<p>At a block 94, the operator defines the particular manipulated variables, control variables, constrained variables and disturbance variables to be used in the block 38. If desired, in a configuration program, such as the program 40 of Fig. 1, the user may view the control template, select inputs and outputs to be named and configured, browse using any standard browser within the configuration environment to find the actual inputs and outputs within the control system and select these actual control variables as the input and output control variables for the control template. Fig. 5 illustrates a screen display created by a configuration routine depicting a control module DEB_MPC having a number of interconnected function blocks including a number of Al (analog input) and AO (analog output) function blocks, a number of PID control function blocks and an MPC-PRO function block which is an advanced function block. The tree structure on the left hand side of the display of Fig. 5 illustrates the function blocks within the DEB_MPC module including, for example, Block 1, C4_AI, C4_DGEN, etc. As will be understood, the user can specify the inputs to and the outputs from the MPC-PRO function block by drawing lines between these inputs and outputs and the inputs and outputs of other function blocks. Alternatively, the user may select the MPC-PRO block to obtain access to the properties of the MPC-PRO block. A dialog box, such as that of Fig. 6, may be displayed to enable a user to view the properties of the MPC-PRO block. As *.:: illustrated in Fig. 6, a different tab may be provided for each of the controlled, manipulated, disturbance and constraint (auxiliary) variables to provide organization of these variables :* : which is particularly necessary when numerous variables such as 20 or more of each, are :. associated with the advanced control block 38. Within the tab for a particular type of * variable, a description, low and high limit (constraints) and path name may be provided. In addition, the user or operator can specify what the block is to do in the case of a failed * condition on the variable, such as to take no action, use the simulated value of the variable instead of the measured value or accept a manual input. Still further, the operator can specify whether this variable is to be minimized or maximized to perform optimization and the priority or weight and profit values associated with this variable. These fields must be filled in when the default objective function is not being used. Of course the user may add, move, modify or delete information or variables using the appropriate buttons on the rights side of the dialog box.</p>
<p>The user may specify or change the information for one or more of the variables by selecting the variable. In this case, a dialog box, such as that of Fig. 7 for the REFLUX FLOW manipulated variable, may be presented to the user. The user may change the information within the different boxes thereof and may specify information, such as path name of the variable (i.e., its input or output connection) by browsing. Using the screen of Fig. 7, the user may select an internal browse button or an external browse button to browse within the module or externally to the module in which the MPC-PRO block is located. Of course, if desired, the operator or user could manually provide an address, path name, tag name, etc. defining the connections to and from the inputs and outputs of the advanced control block if so desired.</p>
<p>After selecting the inputs and outputs to the advanced control function block, the user may define the set points associated with the control variables, the ranges or limits associated with the control variables, the auxiliary variables, and the manipulated variables, and the weights associated with each of the control, auxiliary and manipulated variables. Of course, some of this information, such as constraint limits or ranges may already be associated with these variables as these variables are selected or found within the process control system configuration environment. If desired, at a block 96 of Fig. 3, the operator may configure the one or more objective functions to be used within the optimizer by specifying the unit costs and/or profits for each of the manipulated variables, the control variables and the auxiliary :::: variables. Of course, at this point, the operator may select to use the default objective function as described above. Fig. 8 is a screen display provided by a configuration routine that enables a user or operator to select one of a set of objective functions for use creating an :. advanced control block. As will be understood, the user can use the screen display such as * * that provided by Fig. 8 to select of a set of previously stored objective functions, here illustrated as a Standard objective function and Objective Functions 2-5.</p>
<p>After the inputs (control, auxiliary and disturbance variables) are named and tied to the advanced control template and the weights, limits and setpoints are associated therewith, at a block 98 of Fig. 3, the advanced control template is downloaded into a selected controller within the process as a function block to be used for control. The general nature of the control block, and the manner of configuring this control block is described in U.S. Patent No. 6,445,963, entitled "Integrated Advanced Control Blocks in Process Control Systems," which is assigned to the assignee hereof and which is hereby expressly incorporated by reference herein. While this patent describes the nature of creating an MPC controller within a process control system and does not discuss the manner in which an optimizer can be connected to that controller, it will be understood that the general steps taken to connect and configure the controller can be used for the control block 38 described herein with the template including all of the logic elements discussed herein for the control block 38 instead ofjust those described in this patent.</p>
<p>In any event, after the advanced control template is downloaded into the controller, the operator may, at a block 100, select to run a test phase of the control template to generate the step response matrix and the process model to be used within the MPC controller algorithm. As described in the patent identified above, during the test phase, control logic within the advanced control block 38 provides a series of pseudo-random waveforms to the process as the manipulated variables and observes the changes in the control and auxiliary variables (which axe treated by the MPC controller essentially as control variables). If desired, the manipulated and disturbance variables, as well as the control and auxiliary variables may be collected by the historian 12 of Fig. I and the operator may set up the configuration program 40 (Fig. 1) to obtain this data from the historian 12 and to perform trending on this data in any manner to obtain or determine the matrix of step responses, each :. step response identifying the response in time of one of the control or auxiliary variables to a * unit change in one (and only one) of the manipulated and control variables. This unit change is generally a step change, but could be another type of change such as an impulse or ramped : change. On the other hand, if desired, the control block 38 may generate the step response * matrix in response to the data collected when applying the pseudo-random waveforms to the * * process 50 and then provide these waveforms to the operator interface 13 being used by the ::::; operator or user creating and installing the advanced control block 38.</p> <p>Fig. 9 illustrates a screen display that may be provided by the test
routine to provide the operator with plots of the collected and trended data which enable the operator to direct the creation of the step response curves and, therefore, the process model or control matrix used in the MPC controller of the advanced control block, in particular, a plot region 101 plots the data for a number of inputs or outputs or other data (as previously specified by the operator) in response to the test waveforms. A bar graph region 102 provides a bar graph for each of the trended data variables illustrating for each of the variables being trended, the name of the variable, the current value of the variable in bar graph form, a set point where applicable (indicated by a larger triangle above the bar graph), and limits where applicable (indicated by smaller triangles above the bar graph). Other areas of the display illustrate other things about the advanced control block, such as the target and actual mode of the block (104) and the configured time to steady state (106).</p>
<p>Prior to creating a process model for the advanced control block, the operator may graphically specify the data to be used from the trending plots 101. In particular, the operator may specify beginning and ending points 108 and 110 of the plot 102 as the data to be used to create the step response. The data in this area may be shaded a different color, such as green, to visually indicate the selected data. Likewise, the operator may specify areas within this shaded area to be excluded (as being non-representative, an effect of noise or an unwanted disturbance, etc.). This area is illustrated between the lines 112 and 114 and may be shaded, for example, in red to indicate that this data is not to be included in the generation of the step responses. Of course, the user could include or exclude any desired data and may perform these functions for each of a number of trend plots (Fig. 9 illustrates that eight trend plots are available in this case), with the different trend plots being associated with, for example, different manipulated variables, control variables, auxiliary variables, etc. To create a set of step responses, the operator may select the create model button 116 on the screen display of Fig. 9 and the creation routine will use the selected data from the tend :: plots to generate a set of step responses, with each step response indicating the response of one of the control or auxiliary variables to one of the manipulated or disturbance variables.</p>
<p>* * This generation process is well known and will not be described herein in any further detail.</p>
<p>* Referring again to Fig. 3, after the step response matrix (or impulse response matrix, ramp response matrix, etc.) is created, in the case in which the control and auxiliary variables outnumber the manipulated variables, the step response matrix (or impulse response matrix, ramp response matrix, etc.) is used to select the subset of control and auxiliary variables that will be used within the MPC algorithm as the M by M process model or control matrix to be inverted and used within the MPC controller 52. This selection process may be performed manually by the operator or automatically by a routine within, for example, the user interface 13 having access to the step response matrix. Generally speaking, a single one of the control and auxiliary variables will be identified as being the most closely related to a single one of the manipulated variables. Thus, a single and unique (i.e., different) one of the control or auxiliary variables (which are inputs to the process controller) will be associated (e.g., paired) with each of the different manipulated variables (which are the outputs of the process controller) so that that the MPC algorithm can be based on a process model created from an M by M set of step responses.</p>
<p>In one embodiment which uses a heuristic approach in providing pairing, the automatic routine or the operator will select the set of M (where M equals the number of manipulated variables) control and auxiliary variables in an attempt to select the single control or auxiliary variable that has some combination of the largest gain and fastest response time to a unit change in a particular one of the manipulated variables and pair these two variables. Of course, in some cases, a particular control or auxiliary variable may have a large gain and fast response time to multiple manipulated variables. Here, that control or auxiliary variable may be paired with any of the associated manipulated variables and may, in fact, be paired with a manipulated variable that does not produce the largest gain and fastest response time because, in the aggregate, the manipulated variable that causes the lesser gain or slower response time may not effect any other control or auxiliary variable to an acceptable degree. Thus, the pairs of manipulated variables on the one hand and the control or auxiliary variables on the other hand are chosen to, in an overall sense, pair the manipulated variables with the subset of control and auxiliary variables that represent the most responsive control : ... variables to the manipulated variables.</p>
<p>The automatic routine or the operator also may attempt to include control and auxiliary variables CV and AV that are not correlated, not highly correlated, minimally * correlated, etc. Still further, it doesn't matter if all of the control variables are not selected as * one of the subset of M control and auxiliary variables and that, therefore, the MPC controller does not receive all of the control variables as inputs thereto, because the set of control and * auxiliary variable targets are chosen by the optimizer to represent an operating point of the process at which the non-chosen control (as well as the non-chosen auxiliary) variables are at their set point or within their provided range of operation.</p>
<p>Of course, because there may be tens and even hundreds of control and auxiliary variables on the one hand and tens or hundreds of manipulated variables on the other hand, it can be difficult to select the set of control variables and auxiliary variables that have the best response to each of the different manipulated variables, at least from a visualization standpoint. To overcome this problem, the advanced control block generation routine 40 within the operator interface 13 may include or present a set of screen displays to the user or operator to help or enable the operator to make appropriate selections of the control and auxiliary variables that should be used as the subset of control and auxiliary variables to be used in the MPC controller 52 during operation.</p>
<p>Thus, at a block 120 illustrated in Fig. 3, the operator may be presented with a screen in which the operator can view the response of each of the control and auxiliary variables to a particular or selected one of the manipulated variables. Such a screen is illustrated in Fig. 10 depicting the response of each of a number of control and auxiliary (labeled as constraint) variables to a manipulated variable called TOP_DRAW. The operator may scroll through the manipulated variables, one at a time, and view the step responses of each of the control and auxiliary variables to each of the different manipulated variables and, during the process, select the one control or auxiliary variable that is best responsive to that manipulated variable.</p>
<p>Typically, the operator will try to choose the control or manipulated variable that has the best combination of the highest steady state gain and the fastest response time to the manipulated variable. As illustrated in Fig. 11, one of the control and auxiliary variables may be chosen as the most significant for this manipulated variable using a dialog box. If desired, as illustrated in Fig. 11, the selected one of the control and auxiliary variables may be highlighted in a :. different color, such as red, while previously selected ones (i.e., control and auxiliary * variables that have been chosen for other manipulated variables may be highlighted in a different color, such as yellow). In this embodiment, the control routine 40, which of course : stores the previously selected control and auxiliary variables in a memory, may check to assure that the operator does not select the same control or manipulated variable as being associated with two different manipulated variables. If the user or operator selects a control *:*:.* or auxiliary variable that has already been selected for another manipulated variable, the * . routine 40 may present an error message to the user or operator informing the user or operator of the selection of a previously selected control or auxiliary variable. In this manner, the routine 40 prevents the selection of the same control or auxiliary variable for two or more different manipulated variables.</p>
<p>As illustrated in Fig. 12, the operator or user may also select to view the different step responses for each of the different manipulated variables and disturbance variables. Fig. 12 illustrates the step response of the TOP_END_POINT to each of the manipulated and disturbance variables previously specified for the advanced control block being created. Of course, the operator may use the screen of Fig. 12 to select one of the manipulated variables as being associated with the control variable TOP_END_POINT.</p>
<p>The selection procedure described with reference to Figs. 10-12 is based on graphical displays wherein a control or auxiliary variable can be selected as most significant from a display. The operator may additionally or alternatively be presented the information in a different manner, such as in a tabular form, to assist in completing an M by M controller configuration. An example of a display screen for assisting completion of an M by M controller configuration, and that presents information in a tabular form, is illustrated in Fig. 13. In this example, variables available to the control matrix (control CV, auxiliary AV, and manipulated MV), the condition numbers of the matrix configuration, etc. are provided in a tabular form. In a section 204 of the display screen 200, indications of control and auxiliary variables that are not yet part of a control matrix configuration are listed along with response parameters associated with the control and auxiliary variables (e.g., gain, dead time, priority, time constant, etc.) to any of the process manipulated variables. In a section 208, an indication of a current configuration of the MPC controller is displayed. A column 212 provides indications of available manipulated variables, and a column 216 provides indications of output variables (e.g., control or auxiliary) currently included in the MPC control matrix. I. * *</p>
<p>The example display 200 indicates that a square controller with MVs TOP_DRAW, SIDE_DRAW and BOT_REFLUX, and with controller inputs including the control and * . auxiliary variables BOT TEMP. SIDE_END_POINT, TOP END POiNT. If a user selects one of the manipulated variables using an input device such as a mouse, trackball, * * touchscreen, etc., the selected manipulated variable may be highlighted. For instance, in the example display screen 200, the manipulated variable TOP_DRAW is highlighted.</p>
<p>* Additionally, response parameters associated with the available control and auxiliary variables displayed in section 204 and corresponding to the selected manipulated variable are displayed. For instance, in the example display screen 200, gains 220 and dead times 224 corresponding to the manipulated variable TOP_DRAW and associated with the available control and auxiliary variables 228 are displayed.</p>
<p>The display 200 also includes an add button 232a and a remove button 232b to move control or auxiliary (constraint) variables between sections 204 and 208. The figure also shows the condition number of various gain matrix configurations: -Process Matrix: a complete N by M process matrix comprising control and constraint variables along a first axis and the manipulated variables along a second axis; -Current Configuration: The M by M configuration currently selected by operator and displayed in the table MPC Controller Input-Output Configuration'; -Automatic Configuration: The M by M configuration automatically selected by a selection routine in the MPC application.</p>
<p>The display 200 also includes a button 236 for reverting back to a configuration that was determined automatically. Thus, if an operator, after making changes to an automatic configuration, wishes to revert back to the automatic configuration, the operator may select button 236.</p>
<p>Using the information in a display such as the displayed in the display 200 and process knowledge, an operator can build a square matrix in any desired manner.</p>
<p>As will be understood, the display screens of Figs. 10-13 enable the operator to visualize and select the subset of M control and auxiliary variables that will be used as inputs to the MPC control algorithm (block 120 of Fig. 3) which is especially useful when there are numerous ones of these variables. Also, the set of control and constraint variables determined at the block 120 may be selected automatically or electronically based on some pre- *. established criteria or selection routine. In one embodiment, a selection routine may choose :. the input variables to use based on some combination of response parameters (e.g., one or * more of gain, dead time, priority, time constant, etc.) as determined from the step responses (or impulse responses, ramp responses, etc.) for the controlled constrained variables and the * 1 manipulated variables. In another embodiment, a selection routine may utilize some form of time series analysis of the values of the controller input and output parameters. For example, a cross-correlation between the manipulated and the control or auxiliary variables may be used to select the most responsive control or auxiliary variable as a controller input. As another example, a cross-correlation between the control and auxiliary variables may be used to remove co-linear (i.e., correlated) controller inputs from the matrix. A routine may also include any set of heuristics developed from model analysis or process knowledge.</p>
<p>In another embodiment, an automatic selection process may first determine a control matrix by selecting an input/output matrix based on the condition number of the matrix, e.g., by minimizing the condition number to some desired extent, and by then developing a controller configuration from the control matrix.</p>
<p>In this example, for a process gain matrix, A, the condition number of the matrix ATA may be determined to test the matrix controllability. A smaller condition number generally means better controllability while a higher condition number means less controllability and more control steps or larger moves during dynamic control operation. There are no strict criteria for defining an acceptable degree of controllability and, therefore, the condition number can be used as a relative comparison of various potential control matrices and as a test for ill conditioned matrices. As is known, a condition number for an ill conditioned matrix approaches infinity. Mathematically, ill conditioning occurs in the case of co-linear process variables -that is, due to co-linear rows or columns in the control matrix. Thus, a major factor that affects the condition number and controllability is cross-correlation between matrix rows and columns. Careful selection of the input-output variables in the control matrix can reduce conditioning problems. Practically, there should be a concern if the condition number of a control matrix is in the hundreds (e.g., 500) or higher. With such a matrix, controller manipulated variable moves may be highly excessive.</p>
<p>S..::: As discussed above, the control matrix solves the dynamic control problem, while the LP optimizer solves the steady state optimization problem and the control matrix needs to be * a square input-output matrix even though MPC controller block may have an unequal number *.. of MVs and CVs (including AVs). To begin selecting the inputs and output for the control * matrix for use in generating the controller, all the available MVs are typically included or selected as controller outputs. After selecting the outputs (the MVs), the process output * variables (i.e., the CVs and AVs) that are made part of the dynamic control matrix must be selected in such a manner to produce a square control matrix that is not ill conditioned.</p>
<p>One method of automatically or manually selecting the CVs and AVs as inputs within the control matrix will now be discussed, it being understood that other methods may be used as well. This embodiment further enhances robustness of the resulting controller by applying a technique called MV wrap around (or self controlled MVs), and automatically estimating the penalty on move factors for the MVs of the MPC controller.</p>
<p>Step I -CVs are selected until, if possible, the number of CVs equals the number of MVs (i.e., the number of controller outputs). In the case in which there are more CVs than MVs, the CVs may be chosen in any order based on any desired criteria, such as the priority, gain or phase responses, user input, correlation analysis, etc. If the total possible number of CVs is equal to the number of MVs then proceed to Step 4 to test the resulting square control matrix condition number for acceptability. If the number of CVs is less than the number of MVs, AVs may be selected as described in Step 2. If there are no CVs defined, select the AV with maximum gain relative to an MV and go to Step 2.</p>
<p>Step 2 -Calculate one by one, the condition number for every possible AV added to already selected control matrix defined by the previously selected CVs and AVs. As will be understood, the matrix defined by the selected CVs will include a row for each selected CV and AV, defining the steady state gain for that CV or AV to each of the previously selected MVs.</p>
<p>Step 3 -Select the AV detennined in Step 2 that results in the minimum condition number for the resulting matrix and define the matrix as the previous matrix with the addition of the selected AV. If number of MVs now equals the number of selected CVs plus the number of selected AVs (that is, if the matrix is now square) go to Step 4. Otherwise return to Step 2.</p>
<p>Step 4 -Calculate the condition number for the created square control matrix A. If * ... desired, the condition number calculation for the matrix A instead of the matrix A CAC may be used, as the condition numbers for these different matrices are related as the squared root of the other. If the condition number is acceptable, skip steps 5 and 6 and go to step 7.</p>
<p>* Step 5 -Perform a wrap-around procedure for each of the selected MVs and calculate the condition number of the matrix that results from each wrap-around procedure.</p>
<p>* Essentially, a wrap-around procedure may be performed by placing, in turn, a unity response (gain = 1.0; dead time = 0, time constant = 0) for each of the different MVs in place of the removed AV (or CV). The unity response will be unity at one of the positions in the row of the matrix and zero everywhere else. In essence, each of the particular MVs is being used as an input and an output in this case instead of the AV (or CV) to form a well conditioned square control matrix. As an example, for a four by four matrix, the combinations 1000, 0100, 0010, and 0001 will be placed in the row of the removed AV line in the gain matrix, A. Step 6 -After performing a wrap around procedure for each of the MVs, select the combination that results in the minimum condition number. If there is no improvement compared to the condition number obtained in Step 4, keep the original matrix.</p>
<p>Step 7 -At this point, associate every selected CV and selected AV with an MV, by selecting the CV or AV having the best response (maximum gain, fast response time) relative to a specific MV, excluding the MV that is used for controlling itself (i.e., the MV that was wrapped-around). Make sure that each MV is paired with a unique CV (or AV) in case more than one MV has a high gain and fast response relationship with a single CV (or AV) or the other way round for CV (AV) parameters. The wrap around MV is associated with itself.</p>
<p>Once the pairing of all parameters is done, the selection process is complete.</p>
<p>Of course, the control matrix defined by this procedure as well as the resulting condition number may be submitted to the user and the user can accept or reject the defined control matrix for use in generating the controller.</p>
<p>It should be noted that, in the automatic procedure described above, at most only one MV was selected for controlling itself (i.e., wrapped-around) for the purpose of improving controllability. In the manual procedure the number of wrapped-around MVs can be arbitrary. For instance, referring to Fig. 11, "Most Significant" CVs or AVs can be deselected. Referring to Fig. 13, CVs or AVs can be removed using the remove button 232b.</p>
<p>:. In these examples, the MVs selected for controlling themselves are evident by the absence of *. a corresponding output variable selection in the controller configuration. For example, Fig. 14 illustrates the display 200 of Fig. 13, but where the manipulated variables TOP_DRAW : and SIDE_DRAW do not include a corresponding controlled variable CV. Thus, the manipulated variables TOP_DRAW and SIDE_DRAW are wrapped around. The display 200 * of Fig. 13 could be modified to that illustrated in Fig. 14 by first selecting the BOT_TEMP *: and TOP_DRAW pair in the display 200 and then selecting the remove button 232b. Next, the SIDE_END_POINT and SIDE_DRAW pair in the display 200 could be selected and then the remove button 232b could be selected. In the display 200 of Fig. 14, the BOT_TEMP and SIDE_END_POINT variables are then placed in the column 228 of available variables.</p>
<p>Additionally, the condition number of the current configuration illustrated in Fig. 14 is different than the condition number of the automatic configuration.</p>
<p>Also, one can use more MVs as wrap-arounds for control if the number of MVs is greater than the number of total CVs plus AVs. in this way, at the end, a square control matrix is still provided to the controller having each of the MVs as outputs. It will be understood that the process of performing and using wrap-arounds means that the number of CVs and AVs selected for the control matrix can be less than the number of MVs controlled by the controller, with the difference being the number of MVs wrap-around as inputs to the control matrix. Further, this wrap- around procedure can be used in a process that has less CVs plus AVs than MVs.</p>
<p>Of course, the condition number is calculated above using the steady state gains and, therefore, the control matrix defines controllability essentially for steady state. Process dynamics (dead time, lag, etc.) and model uncertainty also have an effect on dynamic controllability and these effects can be taken into account by changing the priority of process variables (e.g., control and auxiliary variables), which may dictate their inclusion in the control matrix due to the effects they have on dynamic control.</p>
<p>It is also possible to use other heuristic procedures intended to improve both steady state and dynamic controllability. Such a procedure would typically have number of heuristic criteria, possibly some that are contradictory, that are applied in several phases to develop a control matrix and, thereby select an appropriate set of controller inputs, that provide some improvements of the control matrix. In one such heuristic procedure, the CVs and the AVs will be grouped by MV based on the highest gain relationship. Then, for each *. MV grouping, the one process output with fastest dynamics and significant gain will be selected. This selection process may consider confidence interval and give preference to CVs over AVs (with all else equal). The process model generation routine will then use the parameter selected from each group during the MPC control generation. Because only one parameter is selected for each MV, the response matrix is square and can be inverted.</p>
<p>*:*. In any event, after choosing the subset of M (or less) control and auxiliary variable inputs to the MPC controller, a block 124 of Fig. 3 generates the process model or controller to be used in the MPC control algorithm 86 of Fig. 2 from the determined square control matrix. As is known, this controller generation step is a computationally intensive procedure.</p>
<p>Primary tuning factors for controller generation are penalty on move (PM) parameters of the controller manipulated variables. Analysis has shown that dead time is a major factor in calculating PM, while gain of course impacts the controller moves. The following experimental formula accounts for both dead time and gain in estimating a PM factor that provides stable and responsive MPC operation for model error of up to 50%: " 6DT 3GDT PM=3I1+ 1+ p p where DT1 is the dead time in MPC scans for an MVi -CVj pair, G1 is gain (no units) for the MVi -CVj pair, and the pairing is the one setup during square controller configuration. The square matrix pairing, therefore, delivers PM values that help satisfy the conflicting controller requirements of performance and robustness.</p>
<p>A block 126 then downloads this MPC process model (inherently including the control matrix) or controller and, if need be, the step responses and the steady state step response gain matrix to the control block 38 and this data is incorporated into the control block 38 for operation. At this time, the control block 38 is ready for on-line operation within the process 50.</p>
<p>If desired, the process step responses may be reconfigured or provided in a manner other than the generation of these step responses. For example, ones of the step responses may be copied from different models and provided into the screens of, for example Figs. 10- 12 to specify the step response of a certain control or auxiliary variable to a manipulated or :. disturbance variable. Fig. 15 illustrates a screen display in which the user may select and . copy one of the step responses of a certain process or model and then drop or paste that same *...</p>
<p>response into a different model and paste that step response into the new model to thereby : enable the user to manually specify a step response model. Of course, as part of this process, : the user may delete one or more of the step response models generated automatically as described above.</p>
<p>Fig. 16 illustrates a screen display in which the user can view more particularly one of the step responses (here for the step response of TOP_END_POINT versus TOP_DRAW).</p>
<p>The parameters for this step response, such as the steady state gain, the response time, the first order time constant and the squared error are illustrated on the display for ease of reference to the user or operator. If desired, the user may view and change the properties of this step response by specifying different parameters, such as a different gain or time constant if so desired. If the user specifies a different gain or other parameter, the step response model can be mathematically regenerated to have this new parameter or set of parameters. This operation is useful when the user knows the parameters of the step response and needs to change the generated step response to match or meet these parameters. Changes to the step response model, will in turn be reflected in the square control matrix pairing and generation as the gain and response dynamics are utilized.</p>
<p>Referring now to Fig. 4, the general steps performed during each operation cycle or scan of the advanced control block 38, as created using the flow chart 90a of Fig. 3, while the process 50 is operating on line are illustrated. At a block 150, the MPC controller 52 (Fig. 2) receivesand processes the measured values of the control and auxiliary variables CV and AV.</p>
<p>In particular, the control prediction process model processes the CV, ÀY and DV measurements or inputs to produce the future control parameter vector, as well as the predicted steady state control and auxiliary variables CVss and AVss.</p>
<p>Next, at a block 152, the input processing/filter block 58 (Fig. 2) processes or filters the predicted control and auxiliary and manipulated variables CVss, AV5 and MV5s developed by the MPC controller 52 and provides these filtered values to the optimizer 54.</p>
<p>At a block 154, the optimizer 54 executes standard LP techniques to determine the set of M manipulated variable targets MVT which maximize or minimize the selected or default objective function while not violating any of the limits of the auxiliary and manipulated : variables and while keeping the control variables at their specified set point or within the *** specified ranges for these variables. Generally speaking, the optimizer 54 will calculate a * target manipulated variable solution MVT by forcing each of the control variables and the auxiliary variables to their limits. As noted above, in many cases, a solution will exist in * * which each of the control variables are at their set point (which may initially be treated as an * , upper limit on the control variable) while each of the auxiliary variables remain within their ::::; respective constraint limits. If this is the case, then the optimizer 54 need only output the * determined manipulated variable targets MVT that produce an optimal result for the objective function.</p>
<p>In some cases, however, due to tight constraints on some or all of the auxiliary or manipulated variables, it may be impossible to find an operating point at which all of the control variables are at their set point and all of the auxiliary variables are within their respective constraint limits because such a solution does not exist. In these cases, as noted above, the optimizer 54 may allow the control variables to relax within their specified set point ranges in an attempt to find an operating point in which the auxiliary variables operate within their respective limits. If no solution exists in this case, then the optimizer may drop one or more of the auxiliary variable constraint limits as a limit within the solution andior may drop the control variable set point range within the solution and, instead, determine the optimal process operating point ignoring the dropped auxiliary variable constraint limits and/or the dropped control variable set point range. Here, the optimizer chooses which auxiliary or control variable to drop based on the respective weights provided for each of the control and auxiliary variables (with, for example, the lowest weight or highest priority being dropped first). The optimizer 54 continues to drop auxiliary or control variables based on their provided weights or priorities until it finds an target manipulated variable MVT solution in which, for the remaining higher priority control or auxiliary variables, all of the set point ranges for the control variables and the limits for the auxiliary variables are met.</p>
<p>Next, at a block 156, the target conversion block 55 (Fig. 2) uses the steady state step response gain matrix to determine the target values of the control and auxiliary variables CVT and AVT from the target values for the manipulated variables MV1 and provides the selected N (where N is equal to or less than M) subset of these values to the MPC controller 52 as target inputs. At a block 158, the MPC controller 52 uses the control matrix or logic derived therefrom to operate as an unconstrained MPC controller as described above to determine the future CV and AV vector for these target values, performs vector subtraction with the future control parameter vector to produce the future error vector. The MPC algorithm operates in a known manner to determine steady state manipulated variable MV5 based on the process * ". model developed from the M by M step responses and provides these MV5 values to the * input processing/filter block 58 (Fig. 2). At a block 160, the MPC algorithm also determines the MV steps to be output to the process 50 and outputs the first of these steps to the process ::::; 50 in any appropriate manner.</p>
<p>During operation, one or more monitoring applications run in, for example, one of the interfaces 13 may subscribe to information from the advanced control block or other function blocks communicatively connected thereto, either directly or through the historian 12, and provide one or more viewing or diagnostics screen to the user or operator for viewing the operational state of the advanced control block. Function block technology features cascade inputs (CAS_IN) and remote cascade inputs (RCAS_IN) as well as corresponding back calculation outputs (BKCAL_OUT and RCAS_OUT) on both control and output function blocks. It is possible, using these connectors, to attach a supervisory optimized MPC control strategy on top of the existing control strategy and this supervised control strategy may be viewed using one or more viewing screens or displays. Likewise, targets for the optimized MPC controller can be modified from a strategy as well, if so desired.</p>
<p>Fig. 17 is an example screen display that may be produced by one or more such viewing applications illustrating an optimizer dialog screen which provides information to the operator pertaining to the operation of the advanced control block during operation thereof.</p>
<p>In particular, the inputs to the process (the manipulated variables MV) and the outputs (the control and auxiliary variables CV and AV) are illustrated separately. For each of these variables, the screen display illustrates the name (descriptor) of the variable, the current value, as measured, a set point if applicable, the target value as calculated by the optimizer, the units and unit values of the variable change and an indication of the current variable values. For the output variables, an indication of whether this variable is one of the selected variables used in the MPC controller, the predicted value of this variable as determined by the MPC controller and the preset priority for this variable is also indicated. This screen enables the operator to view the current operational state of the advanced control block to view the manner in which the advanced control block is performing control. Still further, the user may configure some controlled parameters for remote set point capability so that outside : S.. applications may set operating targets for throughput coordination. * . "p.</p>
<p>Fig. 18 is a screen display that may be generated by a diagnostics application illustrating a diagnostics screen that may be provided to a user or operator to perform diagnostics on an advanced control block. In particular, the diagnostics screen of Fig. 18 * , separately illustrates the control and constraint (auxiliary) variables, the manipulated variables and the disturbance variables. For each, the name or descriptor of the variable is * provided along with (in the first column) an indication of whether an error or alert condition exists for this variable. Such an error or alert may be graphically illustrated using, for example, a green check mark or a red "x" or in any other desired manner. A value and status is also indicated for each of these variables. For the manipulated variables, the value and status of the Back_Cal (back calculated or feedback) variable for these signals is illustrated.</p>
<p>As will be understood, this screen can be used to perform diagnostics on the advanced control block by providing the operator with information necessary to determine problems within the control system. Of course, other types of screens and information can be provided to the operator to enable the operator to view the operation of and to perform diagnostics on the advanced control block and the module in which it is implemented.</p>
<p>While the advanced function block has been illustrated herein as having an optimizer located within the same function block and therefore executed in the same device as the MPC controller, it is also possible to implement the optimizer in a separate device. In particular, the optimizer may be located in a different device, such as in one of the user workstations 13 and communicate with the MPC controller as described in conjunction with Fig. 2 during each execution or scan of the controller to calculate and provide the target manipulated variables (MVT) or the subset of the control and auxiliary variables (CV and AV) determined therefrom to the MPC controller. Of course, a special interface, such as a known OPC interface, may be used to provide the communication interface between the controller and the function block having the MPC controller therein and the workstation or other computer that implements or executes the optimizer. As in the embodiment described with respect to Fig. 2, the optimizer and MPC controller must still communicate with each other during each scan cycle to perform integrated optimized MPC control. However, in this case, other desired types of optimizers may be used, such as known or standard real time optimizers that may already exist within a process control environment. This feature may also be used advantageously if the optimization problem is non-linear and the solution requires non-linear :*. programming techniques.</p>
<p>*:* While the advanced control block and other blocks and routines described herein have been described herein as being used in conjunction with Fieldbus and standard 4-20 ma S:1: devices, they can, of course, be implemented using any other process control communication *..I protocol or programming environment and may be used with any other types of devices, ** function blocks or controllers. Although the advanced control blocks and the associated * * generation and testing routines described herein are preferably implemented in software, they may be implemented in hardware, firmware, etc., and may be executed by any other processor associated with a process control system. Thus, the routine 40 described herein may be implemented in a standard multi-purpose Cpu or on specifically designed hardware or firmware such as, for example, ASICs, if so desired. When implemented in software, the software may be stored in any computer readable memory such as on a magnetic disk, a laser disk, an optical disk, or other storage medium, in a RAM or ROM of a computer or processor, etc. Likewise, this software may be delivered to a user or to a process control system via any known or desired delivery method including, for example, on a computer readable disk or other transportable computer storage mechanism or modulated over a communication channel such as a telephone line, the internet, etc. (which is viewed as being the same as or interchangeable with providing such software via a transportable storage medium).</p>
<p>Thus, while the present invention has been described with reference to specific examples, which are intended to be illustrative only and not to be limiting of the invention, it will be apparent to those of ordinary skill in the art that changes, additions or deletions may be made to the disclosed embodiments without departing from the spirit and scope of the invention.</p>
<p>In the present specification "comprise" means "includes or consists of' and "comprising" means "including or consisting of'.</p>
<p>The features disclosed in the foregoing description, or the following claims, or the accompanying drawings, expressed in their specific forms or in terms of a means for performing the disclosed function, or a method or process for attaining the disclosed result, as appropriate, may, separately, or in any combination of such features, be utilised for realising the invention in diverse forms thereof. S. * S * .*. * . **.S *S * * S S * *.</p>
<p>S S...</p>
<p>S * e * S S * *S S. * * . S * S.</p>
Claims (1)
- <p>CLAIMS</p><p>1. A process control element adapted to be used as a portion of a process control routine implemented on a processor to control a plurality of control and auxiliary parameters of a process using a multiplicity of manipulated parameters, the process control element comprising: a computer readable medium; a function block stored on the computer readable medium and adapted to be executed on the processor to implement multiple-input/multiple output control of the process during each control scan period, the function block including; an objective function that defines an optimization criteria based on the plurality of control and auxiliary parameters; an optimizer routine that uses the objective function to produce a set of optimal target :.: values for the control and auxiliary parameters during each control scan period; S...</p><p>a control matrix that relates a predetermined subset of the plurality of control and auxiliary parameters to the multiplicity of manipulated parameters; and a multiple-input/multiple-output control routine that produces a control signal for each **:.* of the multiplicity of manipulated parameters during each control scan period using the * . control matrix and the target values for the subset of the plurality of control and auxiliary variables, wherein the control signals are determined to drive the subset of the plurality of control and auxiliary parameters to the optimal target values for the subset of control and auxiliary parameters; wherein the function block includes a storage for storing a set of control parameter set points and a set of auxiliary and manipulated parameter limits and wherein the optimizer routine is configured to determine the set of optimal target values for the manipulated parameters which result in the control parameters being at the control parameter set points, the auxiliary and manipulated parameters being within the auxiliary and manipulated parameter limits and the objective function being minimized or maximized; wherein the storage also stores a set of control parameter set point limits and the optimizer routine is adapted to produce the set of optimal target values for the manipulated parameters that maximize or minimize the objective function while keeping each of the control parameters within the control parameter set points limits and each of the auxiliary parameters and manipulated parameters within the auxiliary and manipulated parameter limits when a solution that keeps the control parameters at the control parameter set points and the auxiliary and manipulated parameters within the auxiliary and manipulated parameter limits does not exist; wherein the storage also Stores a set of priority indications for the control parameters and the optimizer routine is adapted to produce the set of target manipulated parameters that maximize or minimize the objective function while keeping each of the control parameters within the control parameter set points limits while allowing one or more of the control parameters to violate the control parameter set point limits based on the priority indications for the control parameters when a solution that keeps each of the control parameters within the control parameter set point limits and each of the auxiliary parameters and manipulated parameters within the auxiliary and manipulated parameter limits does not exist; :::: wherein the storage also stores a set of priority indications for the auxiliary parameters and the optimizer routine is adapted to produce the set of target manipulated parameters that *:*. maximize or minimize the objective function while allowing at least one of the auxiliary *.:. parameters to violate the auxiliary parameter limits based on the priority indications for the * auxiliary parameters and the control parameters to violate the control parameter set point limits based on the priority indications for the control parameters when a solution that keeps * each of the control parameters within the control parameter set point limits and each of the auxiliary parameters and manipulated parameters within the auxiliary and manipulated parameter limits does not exist.</p><p>2. A process control element substantially as described herein andlor as shown in the accompanying drawings.</p><p>3. Any novel feature or novel combination of features described herein and/or in the accompanying drawings.</p>
Applications Claiming Priority (4)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US10/241,350 US7376472B2 (en) | 2002-09-11 | 2002-09-11 | Integrated model predictive control and optimization within a process control system |
US10/310,416 US7330767B2 (en) | 2002-09-11 | 2002-12-05 | Configuration and viewing display for an integrated model predictive control and optimizer function block |
US10/627,362 US7050863B2 (en) | 2002-09-11 | 2003-07-25 | Integrated model predictive control and optimization within a process control system |
GB0609616A GB2429539B (en) | 2002-09-11 | 2003-09-11 | Integrated model predictive control and optimization within a process control system |
Publications (3)
Publication Number | Publication Date |
---|---|
GB0702680D0 GB0702680D0 (en) | 2007-03-21 |
GB2432683A true GB2432683A (en) | 2007-05-30 |
GB2432683B GB2432683B (en) | 2007-10-10 |
Family
ID=29255267
Family Applications (4)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
GB0609616A Expired - Lifetime GB2429539B (en) | 2002-09-11 | 2003-09-11 | Integrated model predictive control and optimization within a process control system |
GB0702680A Expired - Lifetime GB2432683B (en) | 2002-09-11 | 2003-09-11 | Integrated model predictive control and optimization within a process control system |
GB0702678A Expired - Lifetime GB2432682B (en) | 2002-09-11 | 2003-09-11 | Integrated model predictive control and optimization within a process control system |
GB0321249A Expired - Lifetime GB2394312B (en) | 2002-09-11 | 2003-09-11 | Integrated model predictive control and optimization within a process control system |
Family Applications Before (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
GB0609616A Expired - Lifetime GB2429539B (en) | 2002-09-11 | 2003-09-11 | Integrated model predictive control and optimization within a process control system |
Family Applications After (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
GB0702678A Expired - Lifetime GB2432682B (en) | 2002-09-11 | 2003-09-11 | Integrated model predictive control and optimization within a process control system |
GB0321249A Expired - Lifetime GB2394312B (en) | 2002-09-11 | 2003-09-11 | Integrated model predictive control and optimization within a process control system |
Country Status (4)
Country | Link |
---|---|
CN (1) | CN1514318B (en) |
DE (2) | DE10341764B4 (en) |
GB (4) | GB2429539B (en) |
HK (3) | HK1063223A1 (en) |
Families Citing this family (35)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
DE10341762B4 (en) * | 2002-09-11 | 2014-05-15 | Fisher-Rosemount Systems, Inc. | Managing the realizability of constraints and limitations in an optimizer for process control systems |
US7376472B2 (en) | 2002-09-11 | 2008-05-20 | Fisher-Rosemount Systems, Inc. | Integrated model predictive control and optimization within a process control system |
US8005647B2 (en) | 2005-04-08 | 2011-08-23 | Rosemount, Inc. | Method and apparatus for monitoring and performing corrective measures in a process plant using monitoring data with corrective measures data |
US9201420B2 (en) * | 2005-04-08 | 2015-12-01 | Rosemount, Inc. | Method and apparatus for performing a function in a process plant using monitoring data with criticality evaluation data |
DE102005025282A1 (en) * | 2005-06-02 | 2006-12-07 | Bayer Materialscience Ag | Data processing system and method for controlling a plant |
US7451004B2 (en) | 2005-09-30 | 2008-11-11 | Fisher-Rosemount Systems, Inc. | On-line adaptive model predictive control in a process control system |
JP5096359B2 (en) * | 2005-12-05 | 2012-12-12 | フィッシャー−ローズマウント システムズ,インコーポレイテッド | Multi-objective predictive process optimization with simultaneous process simulation |
US8271103B2 (en) | 2007-05-02 | 2012-09-18 | Mks Instruments, Inc. | Automated model building and model updating |
US8301676B2 (en) | 2007-08-23 | 2012-10-30 | Fisher-Rosemount Systems, Inc. | Field device with capability of calculating digital filter coefficients |
US7702401B2 (en) | 2007-09-05 | 2010-04-20 | Fisher-Rosemount Systems, Inc. | System for preserving and displaying process control data associated with an abnormal situation |
US8065251B2 (en) * | 2007-09-28 | 2011-11-22 | Fisher-Rosemount Systems, Inc. | Dynamic management of a process model repository for a process control system |
US8055479B2 (en) | 2007-10-10 | 2011-11-08 | Fisher-Rosemount Systems, Inc. | Simplified algorithm for abnormal situation prevention in load following applications including plugged line diagnostics in a dynamic process |
US8494798B2 (en) | 2008-09-02 | 2013-07-23 | Mks Instruments, Inc. | Automated model building and batch model building for a manufacturing process, process monitoring, and fault detection |
US8155932B2 (en) | 2009-01-08 | 2012-04-10 | Jonas Berggren | Method and apparatus for creating a generalized response model for a sheet forming machine |
US8209048B2 (en) | 2009-01-12 | 2012-06-26 | Abb Automation Gmbh | Method and apparatus for creating a comprehensive response model for a sheet forming machine |
US9069345B2 (en) * | 2009-01-23 | 2015-06-30 | Mks Instruments, Inc. | Controlling a manufacturing process with a multivariate model |
CN105589448A (en) * | 2009-02-02 | 2016-05-18 | 费希尔-罗斯蒙特系统公司 | Model predictive controller with tunable integral component to compensate for model mismatch |
US20100198364A1 (en) * | 2009-02-05 | 2010-08-05 | Shih-Chin Chen | Configurable Multivariable Control System |
US8756039B2 (en) * | 2010-03-02 | 2014-06-17 | Fisher-Rosemount Systems, Inc. | Rapid process model identification and generation |
US8855804B2 (en) | 2010-11-16 | 2014-10-07 | Mks Instruments, Inc. | Controlling a discrete-type manufacturing process with a multivariate model |
US9541471B2 (en) | 2012-04-06 | 2017-01-10 | Mks Instruments, Inc. | Multivariate prediction of a batch manufacturing process |
US9429939B2 (en) | 2012-04-06 | 2016-08-30 | Mks Instruments, Inc. | Multivariate monitoring of a batch manufacturing process |
CN102622528B (en) * | 2012-04-16 | 2015-02-18 | 广东双利电缆有限公司 | Method and system for automatic generation of formula parameters required by manufacture of aluminum alloy rods |
EP2881822A1 (en) * | 2013-12-05 | 2015-06-10 | Bayer Technology Services GmbH | Computer-implemented method and system for automatic monitoring and status detection of entire process stages in a process unit |
EP2884354A1 (en) * | 2013-12-12 | 2015-06-17 | Honeywell spol s.r.o. | Model-based predictive controller with steady-state model adaptation |
CN106133624B (en) * | 2014-03-20 | 2020-06-16 | 费希尔-罗斯蒙特系统公司 | Reducing controller updates in a control loop |
CN104765339B (en) * | 2015-02-10 | 2017-05-10 | 浙江大学 | FCC dynamic control method based on control variable priority |
US10969135B2 (en) * | 2017-07-27 | 2021-04-06 | Johnson Controls Technology Company | Central plant control system with computation reduction based on sensitivity analysis |
US20190286988A1 (en) * | 2018-03-15 | 2019-09-19 | Ants Technology (Hk) Limited | Feature-based selective control of a neural network |
CN108427284A (en) * | 2018-04-09 | 2018-08-21 | 中国石油大学(华东) | A kind of cascaded structure multi-agent system coordinative coherence control method |
EP3938930A4 (en) * | 2019-03-15 | 2023-01-11 | 3M Innovative Properties Company | Determining causal models for controlling environments |
JP7358257B2 (en) * | 2020-01-28 | 2023-10-10 | 住友重機械工業株式会社 | Control program generation device, control program generation method, roll-to-roll conveyance system |
CN113325696B (en) * | 2021-06-01 | 2022-07-19 | 吉林大学 | Single neuron PID and model prediction combined hybrid control method applied to crosslinked cable production equipment |
CN113485109B (en) * | 2021-07-12 | 2022-07-12 | 山东大学 | Converter dynamic cascade control method and system based on variable priority |
US20240085861A1 (en) * | 2022-09-14 | 2024-03-14 | Rockwell Automation Technologies, Inc. | Programmable automation controller based optimization |
Family Cites Families (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US4349869A (en) | 1979-10-01 | 1982-09-14 | Shell Oil Company | Dynamic matrix control method |
US4616308A (en) | 1983-11-15 | 1986-10-07 | Shell Oil Company | Dynamic process control |
US4736316A (en) | 1986-08-06 | 1988-04-05 | Chevron Research Company | Minimum time, optimizing and stabilizing multivariable control method and system using a constraint associated control code |
US5457625A (en) | 1994-04-13 | 1995-10-10 | The M. W. Kellogg Company | Maximizing process production rates using permanent constraints |
US5612866A (en) | 1994-06-24 | 1997-03-18 | Integrated Systems, Inc. | Code generation system to construct an asynchronous real-time controller for a real-time system |
US5574638A (en) * | 1995-04-03 | 1996-11-12 | Lu; Zhuxin J. | Method of optimal scaling of variables in a multivariable predictive controller utilizing range control |
US5682309A (en) * | 1995-04-28 | 1997-10-28 | Exxon Chemical Patents Inc. | Feedback method for controlling non-linear processes |
US5758047A (en) * | 1995-06-14 | 1998-05-26 | Lu; Zhuxin Joseph | Method of process controller optimization in a multivariable predictive controller |
JP3412384B2 (en) | 1996-03-13 | 2003-06-03 | 株式会社日立製作所 | Control model construction support device |
US5930762A (en) | 1996-09-24 | 1999-07-27 | Rco Software Limited | Computer aided risk management in multiple-parameter physical systems |
CN1099060C (en) * | 1999-04-14 | 2003-01-15 | 袁璞 | Universal multi-variable quantity model pre-estimating coordinating control method |
US6330483B1 (en) * | 1999-05-07 | 2001-12-11 | The Boeing Company | Optimal control system |
US6445963B1 (en) * | 1999-10-04 | 2002-09-03 | Fisher Rosemount Systems, Inc. | Integrated advanced control blocks in process control systems |
US6445936B1 (en) * | 1999-11-16 | 2002-09-03 | Agere Systems Guardian Corp. | Low power consumption quick charge for wireless device |
US6721609B1 (en) | 2000-06-14 | 2004-04-13 | Fisher-Rosemount Systems, Inc. | Integrated optimal model predictive control in a process control system |
CN1449511A (en) * | 2000-06-30 | 2003-10-15 | 陶氏化学公司 | Multi-variable matrix process control |
US6772019B2 (en) | 2000-11-16 | 2004-08-03 | Lockheed Martin Corporation | Method and system for multi-parameter choice optimization |
-
2003
- 2003-09-10 DE DE10341764.8A patent/DE10341764B4/en not_active Expired - Lifetime
- 2003-09-10 DE DE10362369.8A patent/DE10362369B3/en not_active Expired - Lifetime
- 2003-09-11 GB GB0609616A patent/GB2429539B/en not_active Expired - Lifetime
- 2003-09-11 GB GB0702680A patent/GB2432683B/en not_active Expired - Lifetime
- 2003-09-11 CN CN03164972.6A patent/CN1514318B/en not_active Expired - Lifetime
- 2003-09-11 GB GB0702678A patent/GB2432682B/en not_active Expired - Lifetime
- 2003-09-11 GB GB0321249A patent/GB2394312B/en not_active Expired - Lifetime
-
2004
- 2004-08-09 HK HK04105928A patent/HK1063223A1/en not_active IP Right Cessation
-
2007
- 2007-09-05 HK HK07109646A patent/HK1102841A1/en not_active IP Right Cessation
- 2007-09-17 HK HK07110110A patent/HK1102842A1/en not_active IP Right Cessation
Also Published As
Publication number | Publication date |
---|---|
DE10341764A1 (en) | 2004-07-15 |
GB0702678D0 (en) | 2007-03-21 |
DE10341764B4 (en) | 2019-01-10 |
GB2432683B (en) | 2007-10-10 |
GB0702680D0 (en) | 2007-03-21 |
GB0609616D0 (en) | 2006-06-21 |
GB2429539B (en) | 2007-06-06 |
GB2394312A (en) | 2004-04-21 |
GB2429539A (en) | 2007-02-28 |
CN1514318A (en) | 2004-07-21 |
GB2432682B (en) | 2007-10-10 |
CN1514318B (en) | 2010-04-28 |
GB0321249D0 (en) | 2003-10-08 |
GB2394312B (en) | 2007-10-03 |
HK1102842A1 (en) | 2007-12-07 |
DE10362369B3 (en) | 2022-09-29 |
HK1063223A1 (en) | 2004-12-17 |
HK1102841A1 (en) | 2007-12-07 |
GB2432682A (en) | 2007-05-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7050863B2 (en) | Integrated model predictive control and optimization within a process control system | |
US7376472B2 (en) | Integrated model predictive control and optimization within a process control system | |
GB2432683A (en) | A process control element for use as a portion of a process control routine | |
US7856281B2 (en) | On-line adaptive model predictive control in a process control system | |
US8055358B2 (en) | Multi-objective predictive process optimization with concurrent process simulation | |
CA2678820C (en) | Two-stage model predictive control technique | |
US7272454B2 (en) | Multiple-input/multiple-output control blocks with non-linear predictive capabilities | |
US6721609B1 (en) | Integrated optimal model predictive control in a process control system | |
JP4079369B2 (en) | Addressing the feasibility of constraints and limits in process control system optimizers | |
GB2430764A (en) | Online adaptive model predictive control in a process control system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
REG | Reference to a national code |
Ref country code: HK Ref legal event code: DE Ref document number: 1102841 Country of ref document: HK |
|
REG | Reference to a national code |
Ref country code: HK Ref legal event code: GR Ref document number: 1102841 Country of ref document: HK |
|
PE20 | Patent expired after termination of 20 years |
Expiry date: 20230910 |