Receding horizon based adaptive control having means for minimizing operating costs

Abstract: An adaptive and predictive controller has self tuning capabilities, the receding horizon window and sample interval being determined by the tuning mechanism automatically, based on the relationship between the controlled and manipulated variables. The interval and window may be set by the user as well. Constraints on the manipulated and controlled variables at the end of the horizon window are accommodated automatically. In addition to providing servo regulatory control the controller simultaneously minimises operating costs.

Description: This invention relates to systems having automatic feedback capabilities wherein the controller provides controls over inputs (manipulated variables) to adjust a process or an environment, and wherein outputs (controlled variables) from that controlled environment or process provide inputs to the controller. More specifically this patent provides a description of the controller features which allow the controller to operate in a predictive manner on a multiplicity of variables with the ability to perform nonlinear cost minimization. BACKGROUND OF THE INVENTION Fundamental to the performance of any control algorithm, is its servo-regulatory ability. That is, changes in the set-point should be tracked quickly and smoothly and the controlled variable should be kept at or near its set-point despite unmeasured disturbances affecting the process. In addition the controller should maintain stability and acceptable control performance in the face of structural and/or parametric uncertainty. In certain applications the cost of providing effective control is also a significant factor. While most multivariable control laws utilize some form of cost minimization, the costs typically reflect control movement rather than actual costs. The invention described in this patent teaches a scheme that is based on minimizing costs while still providing effective control. The nonlinear cost functions used in defining the control sequence can be stated to reflect either actual operating costs (dollars) or auxiliary costs (efficiency, quality, etc). Cost minimization is predicated on the assumption that there are more manipulated variables than controlled variables. Thus it is up to the controller to allocate the correct blend of the manipulated variables such that both control and cost objectives are met. The control scheme described herein was designed specifically to address these basic criteria. A predictive control law provides the fundamental structure for the new controller. The adaptive controller utilizes a receding horizon formulation. The receding horizon formulation can be used for multivariable control with or without cost minimization. It can also be used for robust univariate servo-regulatory control. Predictive control in and of itself is by no means new. Indeed predictive control is the central theme behind the benchmark works of Cutler and Ramaker in their Dynamic Matrix Control (DMC) algorithm (Cutler, C.R., and B.L. Ramaker, "Dynamic Matrix Control - A Computer Control Algorithm," Joint Automatic Controls Concerence Proceedings , San Francisco (1980)) and Richalet et. al. in their Model Algorithmic Control (MAC) algorithm (Richalet, J.A., A. Rault, J. D. Testud, and J. Papon,, "Model Predictive Heuristic Control: Application to Industrial Processes," Automatica 14 , 413 ( 1978)). Much of the current control work reported in the literature today is based in some degree on these approaches. Horizon based prediction and control has also been described and implemented in the past (Tung, L.S., "Sequential Predictive Control Of Industrial Processes," Proc. ACC , San Francisco (1983); Ydstie, B. E., L. S. Kershenbaum, and R. W. H. Sargent, "Theory and Application of an Extended Horizon Controller," AlChE J., 31 , 771 (1985); and Lee, K.S., and W.K. Lee, "Extended Discrete Time Multivariable Adaptive Control Using Long Term Predictor," Int. J. Control, 38 , 495 (1983)). The unique aspects of the new control law described herein are that it combines the attractive features of DMC and horizon control and eliminates the inherent disadvantages of the original formulations. In DMC there is no direct mechanism to tune the controller. In addition the size of the matrix to be inverted at each control update is specified by the number of input terms used in the prediction. These deficiencies which cause considerable practical difficulties in implementing a controller based on such strategies can be eliminated by using a horizon formulation. Unfortunately, previously known horizon based techniques do not eliminate the impracticalities since the number of terms that need to be estimated by the identifier depend on the horizon window. For many uses this can be computationally too burdensome to be acceptable. In the new formulation, a horizon based technique is utilized where the prediction is accomplished using an auto-regressive moving average (ARMA ) model in a recursive fashion. In addition, the controller using the new control law described herein allows for the direct imposition of constraints on both process and control outputs at the end of the horizon window. Use of optimization strategies in plant operation is also not a new concept. Many optimization techniques are global strategies that determine appropriate allocation levels among competing resources. Typically the global approaches do not take into account transient performance at the regulatory level. In a recent patent (4,873,649) Grald and MacArthur teach an on-line method for control of vapor compression space conditioning equipment such that COP (coefficient of performance) is optimized. The optimization technique however does not deal directly with transient response and hence satisfactory servo-regulatory performance can not be insured. Morshedi et al (Morshedi, A. M., C. R. Cutler, and T. A. Skrovanek, "Optimal Solution of Dynamic Matrix Control with Quadratic Programming Techniques (QDMC)," Proc. ISA , Part 1, 40 (1985)) describe a pseudo-static approach for incorporating cost into the control design. In their formulation the manipulated variables in question are assigned pseudo set-points which are determined by solving a static linear optimization subproblem for the final value of the inputs. The nominal inputs are then treated as controlled variables with their set-points given by the computed values of the steady state inputs. The conventional control strategy is then augmented to reflect this additional information. US Patent Specification No. 4634946 describes an arrangement for predictive control of a dynamic system by determining outputs at the prediction horizon interval. SUMMARY OF THE INVENTION The present invention provides a controller as set out in claim1 The present invention also provides a method as set out in claim 9 Thus, with the advent of controllers having computer resources integrally built in (or microcomputer-based controllers), more sophisticated control functionality such as it taught in this patent is possible by utilizing the memory and processing capability that accompanies the micro-computer to implement a control program. The present invention may provide a new and improved efficient robust adaptive control with the ability to control a plurality of process outputs such that operating efficiency is maximized or operating costs are minimized. Equipped with or connected to sensor means, microcomputer means, memory means, and actuator means, the microcomputer-based controller can measure the desired process output variables. From these measurements and user inputs the controller can automatically determine the appropriate identification and control sample rate as well as the horizon window, estimate and continuously update a dynamic model of the process being controlled, predict the future effect of current and past inputs on process outputs over the horizon window, determine the appropriate sequence of control- moves to insure that all process outputs attain their user specified set-point by the end of the horizon window, impose user specified constraints on manipulated and controlled variables, determine the control moves which result in minimum cost or maximum efficiency without compromising servo-regulatory control, and output these efficient control moves as signals to the actuators. In the controller described in the instant patent, a technique for coupling dynamic nonlinear cost minimization with uncompromised servo-regulatory response is accomplished for the first time. While cost minimization is a desirable option of the controller, robust servo-regulatory performance is still the fundamental objective. To this end one simple form of the controller uses a multivariable feedforward/feedback algorithm. Feedforward compensation offers the potential for improved control performance since it allows the controller to react before a measurable disturbance has a chance to affect the response of the plant. In addition, as will be decribed later, it provides the mechanism for coupling the cost minimization to the desired servo-regulatory repsonse. To be effective, the controller requires an internal model that relates all controller outputs and measurable disturbances to all process outputs. (The process outputs are the outputs of the plant as indicated by sensing means located proximate thereto.) The parameters to this internal mode are determined on-line by measuring the system response to the controller outputs over time, and provide the adaptive ability of the controller. Evaluation of the unknown model coefficients for each process output is accomplished by a recursive least squares (RLS) estimate. Other standard techniques may be used to accomplish this model identification and are well known. While techniques for model identification are well known, insufficient excitation or inappropriate sample rate selection will render the identification inaccurate. The invention described in this patent teaches a method for automatically determining the correct control and identification sample rate. In addition, a technique is given for automatically selecting the horizon window and for adjusting the control algorithm when excitation is insufficient for accurate model identification. An exemplary use of the controller taught herein would be to employ it in conjunction with a variable speed vapor compression heat pump to maintain a comfort level set by the occupants of a building. In this exemplary use, the occupants (user) would specify the set-point (comfort level) and the controller would adjust the compressor speed, blower speed and evaporator superheat to maintain comfort at the desired set-point while insuring maximally efficient operation. Since this strategy results in optimal control, it is apparent that in steady state operation any other choice of compressor speed, blower speed and evaporator superheat will result in either increased energy consumption or reduced comfort. Previous attempts at incorporating optimization into regulatory control have failed to recognize that static or pseudostatic techniques do not correctly deal with transient operation due to set-point or load changes. A state-of-the-art configuration of the control system according to the present invention provides a process control means having a microcomputer with a real-time clock, memory and floating point processing. It will have a data input means through which the user can specify desired set-points and constraints, overriding the horizon determined by the tuner and selecting perturbation step(s) for initial identification if desired, and mode selection (auto, manual, tune). The system will likely have multiple sensors for measuring all parameters necessary for control purposes although in some instances only one sensor will be needed. There should be at least as many sensor outputs as controlled variables. The system also needs to be able to provide manipulated variable (also called control output) signals to an actuator or actuators. In the preferred embodiment, the adaptive receding horizon control program is in the controller's memory; however, it is possible to implement the scheme in hardware. The controller provides fundamental robust servo-regulatory control based on multiple sensory data. The controller calculates the control and identification sample rate and to synthesize a dynamic process model, and predicts future effects of control moves on process outputs. The controller also employs optimization to minimize operating cost without compromising servo-regulatory behavior. The above and other objects, features and advantages of the invention will become more apparent from the ensuing detailed description taken in conjunction with the accompanying drawings and appended claims. BRIEF DESCRIPTION OF THE DRAWINGS Fig. 1 is a block diagram of the preferred embodiment of the control system showing interactive channels between elements. Fig. 2 is a graph used to show the concept used by the tuner to evaluate critical process response parameters for use in determining sample rate and horizon window. Fig. 3 is a graph of the performance of the tuner with 50% full scale noise. Figs. 4a and 4b are graphs of a response variable and a manipulated variable, respectively, illustrating the hueristics used for control adaptation during process upsets. Fig. 5 is a graph of two response trajectories, illustrating the horizon concept for a SISO process for use in deriving the fundamental control law. Figs. 6a and 6b are graphs of the response variable and the manipulated variable, respectively, showing typical receding horizon performance for a highly underdamped SISO (Single Input, Single Output) process. Fig. 7 is a graph of a steady state cost surface for a particular process. Figs. 8a and 8b are graphs of the response and manipulated output variables, respectively, showing the servo-performance of the controller for set point response without cost minimization. Figs. 9a and 9b are graphs of the same variables used in Figs. 8a and 8b, respectively, and show the servo-performance of the controller for set point response with cost minimization taught by this patent. Figs. 10a and 10b are graphs of the response and manipulated output variables, respectively, showing the servo-performance of the controller for set point response with steady state cost minimization. Figs. 11a and 11b are graphs showing cost performance of the controller corresponding to the servo-performance illustrated in Figs. 8a through 10b. Paired Figs. 12a and 12b, and 13a and 13b are graphs of the response and manipulated output variables, respectively, in each pair, showing controller performance for various set point and load disturbances. Figs. 14a and 14b are graphs showing cost performance of the controller corresponding to the servo-regulatory performance illustrated in Figs. 12a through 13b. DESCRIPTION OF THE PREFERRED EMBODIMENT A preferred embodiment of the control system of the invention will now be described with reference to Fig. 1. As shown in Fig. 1, the controller is composed of several interacting components. The overall block diagram of the dynamic system 10 comprises both the controller (which has components 23, 24, 25, 26, and 28 and works with the inputs from interface unit (sometimes called a sequencer 27))and the environment (identified as plant 20) for which the controller is responsible. The plant 20 may be exposed to unmeasured disturbances represented here by disturbance 21, which may affect the plant 20 but which is only measurable by its influence on the plant output(s) 22. At least one and probably a multiplicity of sensors are provided that measure and report on the plant 20 (but are not shown). These sensors monitor and report on the output(s) 22 from plant 20. For example, to reference the heat pump mentioned in the Summary of the Invention, the sensors may measure the humidity, temperature, et cetera. As illustrated in Fig. 1, the outputs of these sensors are shown as line 22. These output(s) provide input to and affect the tuner 23, the identifier 24, the predictor 25, the control law 26 and indirectly the optimizer 28. Analog to Digital (A/D) and Digital to Analog (D/A) conversion boxes are shown at locations 1 and 2 to indicate appropriate placement. However, if the entire controller, or parts thereof are implemented in analog components whether different placement or removal would be indicated, as will be apparent to one of ordinary skill in this art. Data input means are provided for establishing a link between the user and interface unit 27. User input data is accomplished via user manipulation of this interface 27. The user may change the horizon window, define cost functions or, to cite a simplistic single variable example, change the set-point. Various forms of interface devices may be used without deviation from this invention. Components 23, 24, 25, 26, and 28 provide the fundamental features of the controller. These elements can be configured in either software or firmware as desired by the builder of the controller. A brief description of the functionality of each component follows.. Outputs from the sensing elements at plant 20 and outputs from the interface unit 27 are either converted to, or already are in digital form. These signals are supplied to a microcomputer device in the controller which may be a single processor performing variety of the component functions over time, as directed by programming control, as will be understood by one of ordinary skill. Tuner 23 is responsive to said sensing element output(s) and interface 27 output as well as to the outputs of control law calculator 26 and identifier calculator 24. The tuner is activated upon start-up, i.e., when the controller is commissioned. In the manual mode (a mode in which the manipulated variables are held fixed as set directly by the user), the tuner forces a step change to each of the controller outputs 29. Said tuner monitors the process response and based on the time history of the process response, selects the appropriate control and identification sample rate as well as the horizon window, and makes these parameters available as outputs. After the appropriate sample rate and horizon have been determined, the tuner invokes identifier calculator 24 which is responsive to sensor outputs 22 and the outputs of the control law calculator and said tuner calculator. The invocation is done in the preferred embodiment by having the tuner repeatedly send data as it is developed by the tuner. Data recorded by tuner calculator during the open loop step is then used to drive said identifier. The output of said identifier calculator is the dynamic process model. As discussed in the Summary of the Invention, any number of modeling techniques could be employed. Once identification is complete, the model is then made available to predictor calculator 25 and said control calculator 26. The manual mode is then terminated and automatic control commences. At this point, the identifier remains active continually monitoring the process response. Said tuner is also used to monitor the process in normal automatic (also called closed loop) operation. If the control performance degrades, said tuner will adjust the control parameters in a heuristic fashion based on frequency response data. If control performance is unacceptable, said tuner will recommission itself as described above. The optimizer calculation means 28 is responsive to said control and predictor calculation means. Said optimizer 28 continuously searches for alternate control sequences that result in a lower cost of operation. Within each time step said optimizer uses both 25 and 26 to determine the control moves that result in minimum cost yet offer uncompromised servo-regulatory control performance. The control sequence is determined by said control law calculator 26 based on said predictor calculator 25. Said predictor 25 is responsive to the tuner, the control calculator, and uses the discrete time model obtained from the identifier to determine the nominal output trajectory that would occur if no future changes are made to the input. The output of the predictor calculator is the nominal output trajectory which is based on current and past recorded data. The control calculator is responsive to; interface 27, prediction calculator, tuner, identifier calculator, and optimizer calculator for affecting the calculation of the values for each of the manipulated variables. The control variable command signals may be converted to analog outputs by a D/A converter where the equipment requires analog input. In the discussion below, a more detailed description of the tuner, the control law calculator, the predictor calculator, and the optimizer will be given. THE TUNER As described previously, the primary function of the tuner is to select the appropriate control and identification sample rate and the horizon window. These parameters can be directly determined from the open-loop response characteristics of the process. The selection is based on settling time for overdamped open-loop processes and on rise time and period of oscillation for underdamped open-loop processes. For overdamped systems the sample rate is determined by recording the settling time and dividing this number by five times the minimum number of terms in the predictive model. For underdamped systems the sample rate is determined by recording the time to reach the second inflection point and dividing this number by five times the minimum number of terms in the predictive model. For open-loop-unstable processes, the sample rate is determined by recording the time taken to exceed a predefined range limit (set by the user). This number is then divided by twice the minimum number of terms in the predictive model to determine the sample rate. The default horizon is set to fifteen times the sample rate. While other numbers could be used, experience shows these to be most reliable. The following is a detailed description of the method used for determining an appropriate horizon overdamped systems. The basic concept is to apply a step in the process input and observe the process output in order to determine the maximum slope, the time at which it occurs, the magnitude of the output at that time, and ultimately the settling time of the response. Establishing reliable time/slope data with no a priori process knowledge in spite of noise-corrupted data is the primary contribution of the tuner. Although for overdamped systems the settling time is itself sufficient to determine the window and sample rates for the preferred implementation, the approach can also be used to fit a second order model with delay to the observed data. Numerical techniques relating the transport delay, gain and time constants to the time/slope information are well known and will not be discused here. Fig. 2 illustrates graphically the concept used by the tuner. The tuner assumes the value of the output will start at zero and makes sure the output value changes in the positive direction when the step in the input occurs. Based on the direction of the control input step and the direction of control (reverse- or direct-acting), the expected direction of movement of the output is determined. If a negative change is expected, the output is multiplied by -1. This output value, which starts at zero and changes in the positive direction, is what is referred to as "the output" in the remaining of the description of the tuner. To reduce the effect of noise, the output is averaged over a number of samples. The number of samples used depends on the response of the system and is determined differently in various stages of the analysis. A running sum of the output is kept, and when established criteria (described in the following paragraphs) are met, this sum is divided by the number of samples included in the summation to yield the average output value for that time period. The goal is to average over as many steps as possible to allow the algorithm to function accurately in the presence of large noise levels, without letting the average continue right through the significant changes in the output. The averaged output value is referred to as "y", and the slope of y with respect time as "dy". The time, referred to as "t", associated each y value is the time at the middle of the range of samples averaged. The slope associated with a given y and t is calculated as the average of the slopes from y to the previous y and from y to the next y. The tuner begins by looting for the point at which the slope begins to decrease (the inflection point). When the inflection point is found, a parabola of dy as a function of t is fit to the first point at which the slope decreases and the two which precede it. The slope and time of the inflection point are determined by finding the maximum dy of the parabola and the associated time. The y value at the inflection point is obtained by interpolation. These values are saved as t1, y1, and dy1. In the presence of noise, false inflection points may be found (when the slope in the noise decreases), but these are detected and handled in the later phases of the analysis. The length of time over which to average for this initial stage of the analysis is limited by two criteria. When one average is calculated, a y limit and a t limit are set and when either one of these limits is exceeded, the next average is calculated. The time limit is set to the twice the previous time limit, with an initial time limit of one time step. The y limit is set to 1.4 times the largest non-averaged y value occurring since the beginning of the run. The y limit is the most important because it is the one which determines the appropriate spacing of the averages through the significant changes in the output. By the time the output reacts to the step input, the t limit can grow to be large through to miss the entire change in the output, but the y limit (which gets set to 1.4 times the noise) forces the averaging to occur frequently enough to provide several data points through the area of the inflection point. If, instead of 1.4, a smaller value were used the allowable noise to signal ratio of the system would be reduced, since the averages would be calculated more frequently and the effect of the noise would be reduced less. If a much larger value were used, the y limit would be set above the line-out value of the output before the inflection point was found meaning it would be missed completely. In the next phase of the analysis, the tuner will determine whether it has found a false inflection point. It will look for the point where the slope decreases to less than 80% of the slope at the inflection point. If, during this phase, the slope either increases twice in a row or becomes greater than the slope at the inflection point, the inflection point is considered to be false and the tuner reverts back to the initial phase and looks for another decrease in slope. In this phase and in later phases, the y limit is abandoned and a time limit equal to the total time spanned by the three averages around the inflection point is used. When a slope less than 80% is found, the t, y, and dy values are saved as t2, y2, and dy2 . (The 80% figure has yielded good results, but a similar number could be employed.) In the third phase of the analysis, the tuner is just looking to make sure it was not just an artifact of the noise that created an apparent inflection point. The time limit for the averages is set equal to t2 minus t1 (the time to get from maximum slope to 80% slope). If the slope increases or goes negative in either of the next two averages, the inflection point is considered false and again the tuner reverts back to the initial phase and looks for another decrease in slope. Beyond this phase there are no more check for false inflection points, but one could include more if desired. In the final phase of the analysis, the tuner determines the settling time. The time limit used is the same as in the previous phase. There are three criteria, any one of which is considered to constitute line-out( also known as reaching approximate steady state): (1) if the absolute value of the slope is less than 5 % of dy1 (the slope at the inflection point) three times in a row; (2) if the value of y decreases and remains lower than it's largest value for three averages in a row; or (3) after ten averages are calculated in this phase. Fig. 3 shows a process reaction curve contaminated with noise. The actual process has a transport delay of 200 seconds, a unity gain and two time constants of 150 and 160 seconds. The tuner was able to determine settling time, and the maximum slope and the time at which it occurred with sufficient accuracy to identify the process time constants, gain and transport delay with a maximum error of 10 %. The tuner also acts as a heuristic supervisor which monitors the controller output (manipulated variable, also line 29 of Fig. 1) and the measured process output (process variable, also line 22 of Fig. 1) for symptoms of system instability during automatic control mode. Upon detection of unacceptable system stability, the tuner, acting as heuristic supervisor, applies a set of recovery rules to stabilize the system. The heuristic supervisor's corrective actions may include changing the identified process model or altering the horizon window to recover from the observed instability. In the preferred embodiment the heuristic supervisor is limited to one model change per system upset (set-point change or system disturbance) but can alter the horizon window any number of times. If a model change has been necessary to stabilize the system, the heuristic supervisor switches the controller into manual control mode and forces a complete system re-tune as described previously. The heuristic supervisor monitors the process variable at all times during automatic control mode whereas the manipulated variable is monitored only after a window is computed directly from observed system dynamics. The formulation of this manipulated variable observation window is discussed below. The process variable parameters identified by the heuristic supervisor during a system upset are shown in Figs. 4a and 4b. These are the peak amplitudes, α 1 and α 2 , the dimensionless amplitude decay ratio, d, the period of oscillation, p, and the closed loop settling time, T s . The amplitude decay ratio is defined as: d =a 2 /a 1 and the period of oscillation as: p = Ta 2 - Ta 1 The heuristic supervisor continues to monitor the process variable with respect to the set-point change until the process variable satisfies a one percent settling criteria (as indicated in Fig. 4a). When this settling criteria is satisfied, the closed loop settling time is computed as: T s = T 2 - T 1 In cases where the oscillations persist and continue to break the servo-deviation threshold, the heuristic supervisor detects each new peak and computes a new decay ratio and period of oscillation, respectively. The settling time cannot be computed because the settling criteria has not been satisfied. In cases where the settling criteria is satisfied, the heuristic supervisor begins monitoring the process variable with respect to system disturbances, looking for the process variable to break the regulatory deviation threshold. If this threshold is broken, the heuristic supervisor notes the break time as T 1 and begins recording peak amplitudes and their respective time of occurrence. Once successive peaks are observed, the heuristic supervisor computes a decay ratio and period of oscillation, respectively. If the process variable satisfies the two percent settling criteria, T 2 is determined and the closed loop settling time can be computed This observation procedure of the process variable continues indefinitely as long as the system remains in automatic control mode. The process variable's period of oscillation, p, is used to define the sliding manipulated variable observation window, w , as: w = p over which the heuristic supervisor monitors the manipulated variable, recording peak amplitudes and their time of occurrence. This definition relates the window to the closed loop system dynamics. The window is recalculated each time a new period of oscillation is computed for the process variable. Referring now to Fig. 4b, respective manipulated variable amplitude peaks, α 3 and α 4 , are identified and an associated period of oscillation, q , is computed as: q = Ta 4 - Ta 3 Because it is not accurately known to what value the manipulated variable would dampen under steady-state conditions, a manipulated variable decay ratio and settling time are not definable. Instead, a peak-to-peak amplitude difference, b, is computed as: b = a 3 - a 4 This observation procedure of the manipulated variable continues indefinitely as long as the system remains in automatic control mode. The need for recovery is determined by examining the process variable amplitude a 1 . If the magnitude of a 1 is greater than three percent of full scale, it is assumed that a system upset has occurred. Upon finding a 2 , the decay ratio and period of oscillation are computed. If the decay ratio d ≤ 0.15 no corrective action is taken. If, however, d > 0.15, a nominal period of oscillation, p c , is calculated as: p c = m dt where m is the horizon window and dt is the controller sample time. If the condition, p is greater than (1.5/60) p c , the model generated by the identifier has underestimated the true system dynamics. As a result, the predictor exhibits too much phase lag and corrective action must be taken. In this case, a temporary model is generated numerically using time constants and gain defined as: τ 1 = (0.88/60) p τ 2 = (0.20/60) p G = current model gain and a new horizon window is calculated as: m = m d + (5/60) p , where m d is the design horizon window determined by the tuner. This will provide a more accurate model of the plant and reduce the control action. As a result, the closed loop system becomes more stable. If, p is less than or equal to (1.5/60) p c , then the model generated by the identifier is considered adequate and a new model is not computed. However, the horizon window is adjusted according to: m = m d + (7.5/60) p c to limit control action, thus dampening system response and stabilizing the closed loop system. In the special case where the amplitude damping ratio is found to be in the range of 0.9 ≤ d ≤ 1.1 , a new horizon window is computed and the process variable is further observed for oscillations. If the oscillations persist, a new damping ratio and period of oscillation are computed and compared with those previously computed. If the damping ratios are of like value and the period of oscillation has increased, the horizon window is returned to its design value, m d . This is considered an indication of actuator hysterias whose effect cannot be removed from the system response. If the damping ratio is found to be greater than 1.1 , the horizon window is extended to be m = 2 m d . If oscillations in the process variable still exist, then the controller is switched into manual control mode and a re-tune is executed after the process variable reaches steady state. Note that all constants incorporated in the tuner are based on experience, other values could also be used. CONTROL AND PREDICTION CALCULATORS Fundamental servo-regulatory control is provided by calculations based on a finite horizon. The length of the control sequence for each manipulated variable is given by the horizon window. The receding horizon form utilizes only the first element in this sequence at each control step. The discrete-time finite horizon strategy for a SISO process is depicted graphically in Fig. 5. The parameter m is the desired number of control moves necessary to bring the process to set point. If m is the only parameter stipulated, then the process will be free to take on any value after m control moves. To reduce this possibility, the output can be constrained to remain at the set point for l additional control moves. This however does not guarantee that the process will remain at the set point, since it is entirely possible to satisfy these criteria at discrete points in time and still have intersample oscillations. To circumvent this problem, the controller allows constraints to be imposed on the control moves during the last n intervals. The relative positions of m , l , and n are shown in Fig. 5, where r defines the set-point input by the user. The control algorithm to accomplish this is described below. Functionally the control calculator is composed of two distinct parts. The first is a model-based predictor, whose function is to predict the nominal process output trajectory that would occur if no future chances are made to the controller output ( y n ). A model-based corrector forms the second part of the controller, whose function is to specify the future changes in the controller output that will be necessary to achieve the desired output trajectory ( y c ). The process being controlled is represented mathematically by the following incremental model in discrete time form: A( z -1 )δ y k = B( z -1 )δ u k + C( z -1 )δ w k + δξ k where the symbols z -1 and δ are the backward shift operator (i.e. y k z -1 = y k -1 ) and the difference operator (i.e. δ y k = y k - y k -1 ) respectively. The y , u , w , and ζ vectors at time k are composed of ny process outputs, nu controller outputs, nw measurable disturbances, and ny measurement noise elements respectively. The i th element of the diagonal A matrix and the j th element of the B and C matrices corresponding to the i th process output are given by: a i ( z -1 ) = 1 + a i 1 z -1 + ··· + a i n i z - n i b ij ( z -1 ) = b ij 1 z -1 + b ij 2 z -2 + ··· + b ij m j z -m j c ij ( z -1 ) = c ij 0 + c ij 1 z - 1 + ··· + c ij l j z l j where n ( i ) is the denominator order of the i th output, m ( j ) is the numerator order of the j th input corresponding to the i th output, and l ( j ) is the numerator order of the j th measurable disturbance corresponding to the i th output. With these definitions the prediction model for the i th output becomes: δ y i kp = Ψ i T k  i k -1 where Ψ i T k = [-δ y i k -1 ···-δ y i k - n ( i ) ; δ u 1 k -1 ···δ u 1 k-m 1 ; ··· ; δ u nu k -1 ···δ u nu k-m nu ; δ w 1 k ···δ w 1 k-l 1 ; δ w 2 k ···δ w 2 k-l 2 ; ··· ; δ w nw k ···δ w nw k-l nw ] and  i k -1 =[ â i 1 ··· â i n i ; b i, 1 1 ··· b i, 1 m 1 ; ··· ; b i,nu 1 ··· b i,nu m nu ; c i, 1 0 ··· c i, 1 l 1 ; c i, 2 0 ··· c i, 2 l 2 ; ··· ; c i,nw 0 ··· c i,nw l nw ] T Due to the nature of sampled data systems, the general form of the model given above allows for the possibility that a measured disturbance at time k can already have an effect on the output at time k. This is the reason for the c 0 term in the model. If this is not the case then c 0 will simply be zero. Evaluation of the unknown model coefficients for each process output is accomplished by a recursive least squares (RLS) estimate. To generate the nominal process trajectory, the predictor calculation means uses Equation (2) in a recursive fashion. The y n trajectory for each output is given at k + 1 and beyond by specifying that the inputs at k and beyond are equal to the inputs at k -1. This implies that δ u j / k = u j / k - u j / k -1 = 0, δ u j / k +1 = u j / k +1 - u j / k = 0, etc.. In addition the disturbances at k +1 and beyond are taken to be equal to the measured value at k. This implies that δ w j / k +1 = w j / k +1 - w j / k = 0, etc. Therefore the projection of the i th output at the first step is given by: δ y i k +1 = - a i 1 δ y i k ···- a n i δ y i k-n i +1 + b i ,1 1 0 + b i ,1 2 δ u 1 k -1 + b i ,1 3 δ u 1 k -2 ··· + b i ,1 m 1 δ u 1 k - m 1 +1 . . . + b i , nu 1 0 + b i , nu 2 δ u nu k -1 + b i , nu 3 δ u nu k -2 ··· + b i , nu m nu δ u nu k - m nu +1 + c i ,1 0 0 + c i ,1 1 δ w 1 k + c i ,1 2 δ w 1 k -1 ··· + c i ,1 l 1 δ w 1 k-l 1 +1 . . . + c i , nw 0 0 + c i , nw 1 δ w nw k + c i , nw 2 δ w 1 k -1 ··· + c i , nw l nw δ w nw k-l nw +1 y n k +1 = y n k + δ y i k +1 at the next step the projection is given by: δ y i k +2 = - a i 1 δ y i k +1 ···- a n i δ y i k-n i +2 + b i ,1 1 0 + b i ,1 2 0+ b i ,1 3 δ u 1 k -1 ··· + b i ,1 m 1 δ u 1 k - m 1 +2 . . . + b i , nu 1 0 + b i , nu 2 0+ b i , nu 3 δ u nu k -1 ··· + b i , nu m nu δ u nu k - m nu +2 + c i ,1 0 0 + c i ,1 1 0+ c i ,1 2 δ w 1 k ··· + c i ,1 l 1 δ w 1 k-l 1 +2 . . . + c i , nw 0 0 + c i , nw 1 0+ c i ,nw 2 δ w 1 k ··· + c i , nw l nw δ w nw k-l nw +2 y n k +2 = y n k +1 + δ y i k +2 The procedure is repeated until the projection for the horizon window is complete (from k+ 1 through k+m+l ) . Feedback necessary to react to persistent unmeasured disturbances is accomplished by setting the term y n / k in Equation(4) to the measured value of the process output at the current time. Initialization for all but the k th terms is accomplished by back-shifting each of the stored incremental variables starting with the oldest value (i.e. δ y k-n +1 = δ y k-n +2 etc.). The k th value of δ y is set to the difference between the measured value of y at the current and previous control steps. This formulation allows the controller to react to set-point and load changes in a similar fashion. To formulate the control law, it is necessary to define the functional relationship between the correction sequence, Δy k+m to Δy k+m+l , and the control sequence, Δu k to Δu k+m+l -l , for each output and input. To accomplish this a unit response model is utilized This model has the form: Δ y i n = f i ,1 n Δ u 1 0 + f i ,2 n Δ u 2 0 ··· f i,j n Δ u j 0 ··· f i,nu n Δ u nu 0 where superscripts refer to the i th and j th process output and input respectively and Δ y n is equal to the change in the process output at sample time n relative to y at the beginning of the step change in u, f n is equal to the n th unit response factor, and Δ u j / 0 is equal to the change in u j . Hence, the f i ' s are simply the discrete values of the process output taken from the unit response curve. These values are given from the impulse response coefficients which can be determined directly from the internal ARMA model. Equation (5) can be used in a repeated fashion at each control interval to obtain the desired functional relationship between the Δ y 's and the Δ u 's. The relationship is given by: FΔ u = Δ y where: Δ y = [Δ y 1 k + m ···Δ y 1 k+m+l ; Δ y 2 k + m ···Δ y 2 k+m+l ; ··· ;Δy ny k + m ···Δy ny k+m+l ] T Δ u = [Δ u 1 k +1 ···Δ u 1 k+m+l -1 ; Δ u 2 k +1 ···Δ u 2 k+m+l -1 ; ··· ;Δ u nu k +1 ···Δ u nu k+m+l -1 ] T and Each of the F submatrices are given in terms of the unit response factors used in Equation (5). These submatrices are given by: It is also necessary to define the relationship between the prescribed and actual values of Δu. Referring back to Fig. 5, it can be seen that the last n elements of the control sequence are prescribed. Therefore, the general relation can be written as: NΔ u = β where ; The diagonal submatrices are of the form: and β = [β 1 1 ··· β 1 n 1 ; β 2 1 ···β 2 n 2 ; ··· ; β nu 1 ···β nu n nu ] T Two constraint relations are required for the control law formulation. Since the constraints are imposed only at the end of the horizon, the maximum length of the constraint vector is l +1. The constraints on the process outputs are given in terms of the error vector which is defined as the difference between the set point and the corrected process output. Since the corrected process output is equal to the nominal output plus the Δ y correction defined by Equation (6), the error vector at m and beyond is given by: e = e n - F Δu where e n is the difference between the set point and the nominal process output It is also convenient to cast the constraints on the controller outputs in a similar error form. Here, the error vector, µ , can be thought of as the discrepancy between the prescribed, β, and actual, NΔ u , values of the controller output. Thus the controller constraint equation becomes: µ = β- NΔ u With these definitions, the control law is obtained by solving the following problem: Minimize: J = Δ u T Δ u Subject to: e = 0 µ = 0 This problem is solved by adjoining both vector constraints to the cost function J by means of two sets of Lagrangian multipliers. The resulting Hamiltonian is defined by the expression: H = J+ λ T e + ϕ T µ The necessary conditions for the minimization of the Hamiltonian are: ∂H ∂λ =0 ; ∂H ∂ϕ =0 ; ∂H ∂Δ u =0 Using Equations (8) and (9), the derivatives in the first two necessary conditions become: ∂(J+λ T e + ϕ T µ) ∂λ = e n -FΔ u ∂(J+λ T e + ϕ T µ) ∂ϕ =η-NΔ u Imposing the first two necessary conditions insures that the constraints will be satisfied. Since it is required that the constraints be equal to zero, the value of Δu that minimizes the Hamiltonian will be the same value of Δ u that minimizes the cost function J. If the explicit dependence of the Hamiltonian on Δ u is accounted for, then the derivative in the final necessary condition becomes: ∂H ∂Δ u = ∂Δ u T Δ u ∂Δ u + ∂λ T ( e n - FΔ u ) ∂Δ u + ∂ϕ T (η-NΔ u ) ∂Δ u The first term on the right hand side of the above expression can be written as: ∂Δ u T Δ u ∂Δ u =2Δ u In the second term the nominal error is a constant thus: ∂λ T ( e n - FΔ u ) ∂Δ u = ∂λ T FΔ u ∂Δ u =- ∂(F T λ) T Δ u ∂Δ u =-F T λ Similarly for the last term: ∂ϕ T (η - NΔ u ) ∂Δ u =- ∂(N T ϕ) T Δ u ∂Δ u =-N T ϕ Therefore, to minimize J subject to the constraints, the following expressions must be satisfied: 2Δ u - F T λ - N T ϕ = 0 e n - FΔ u = 0 η - NΔ u = 0 Equations (11) through (13) can be solved simultaneously to obtain the the two Lagrangian multipliers and the optimal control vector. The solution for the control vector is: Δ u = G e n - b where: Typical servo performance of the receding horizon algorithm is illustrated in Figs. 6a and 6b for a SISO process. A third order underdamped system is assumed (the gain, time constant, damping ratio, and undamped natural frequency are 1.5, .2, .10, and 2 respectively). The open loop characteristics of this process can be seen by the dotted line. For closed loop response the horizon has been defined by selecting m=3, 1=2 and β=0. Performance is illustrated for n =2 (control movement is constrained to zero during the last two intervals of the horizon) and for n= 0 (no controller constraints). Dead beat response is exhibited for n =2. The process is brought exactly to rest after m control moves and there is zero overshoot. Without control constraints, true dead beat performance is not attainable. With n= 0 it takes slightly longer to eliminate the error than the desired m, and there is small amount of overshoot (approximately 1.8 percent). OPTIMIZER CALCULATOR It is necessary to specify the time history of each manipulated variable such that each controlled variable has the desired response and such that the costs associated with the control trajectories are minimized. For this class of problem it is assumed that there are more manipulated than controlled variables. Unfortunately, the form of the the control law defined by Equation (14) does not directly support excess manipulated variables nor does it accommodate nonlinear minimization. To deal with this problem the extra or 'free' manipulated variables are determined by solving an on-line auxiliary cost minimization problem. The control law is used as a constraint in this auxiliary problem to insure proper servo-regulatory response. To establish the coupling between the cost problem and the control problem, the free variables are treated as pseudo measurable disturbances and the feedforward capabilities of the controller are invoked. Feedforward compensation is a natural result of the prediction model given by Equation (2). The future effect of a pseudo measurable disturbance over the horizon is automatically accounted for in the computation of y n given by Equation (4). Thus, pseudo measurable disturbances appear implicitly in e n and are dealt with directly in the calculation of Δ u given by Equation (14). This implies that for a given value of the free variables, the manipulated variables will be adjusted appropriately to insure that the linear constrained optimization problem used to define Equation (14) is satisfied. To evaluate the free variables it is assumed that the total operating cost is given by the general function : c = f ( u, w* ) where w * is the vector of free inputs that are treated as pseudo-measurable disturbances. The auxiliary optimization problem is stated as follows: Minimize: c = f ( u, w* ) Subject to: Δ u - (G e n - b) = 0 Since locally, e n is a function of w *, Δ u and u are as well. Therefore the free variables can be determined from the following necessary conditions: ∂ c ∂ w * =0 Δ u - (G e n - b ) = 0 Solution of Equations (16) and (17) implies that servo-regulatory performance is not compromised in spite of the minimization. For general cost functions, a closed form solution is not possible. Hence, an iterative technique is employed. The solution strategy used in the preferred embodiment utilizes a multi-dimensional second order gradient search defined by the following iterative relationship: w * i +1 = w * i -J -1 r In Equation (18) the residual vector r , and the Jacobian matrix J , are defined as: r j = ∂ c ∂ w * j J j,k = ∂ r j ∂ w * k These derivatives are evaluated numerically in the process of the search. The subscript i refers to the iteration within the control interval and the subscripts j and k refer to specific elements of the vector of free inputs w . For quadratic cost functions the optimization problem is linear, thus Equation (18) will yield a direct solution and no iterations are required. To further explain the cost minimization calculation a description relative to the exemplary heat pump application cited previously will be given. In the heat pump application there are three manipulated variables; compressor speed, blower speed and superheat setting and one controlled variable, comfort. Therefore there are two free variables. For discussion purposes it will be assumed that the blower speed and superheat setting are the free variables. If no optimization were to be preformed then these variables would be held constant and the controller will simply adjust compressor speed to insure that comfort tracks the set-point as the load or set-point is varied. Now if costs are to be minimized the optimizer will determine the optimum blend of all three manipulated variables. To accomplish this it will first guess a new value for blower speed. It will use the internal model to predict the effect that this change will have on the comfort. It will then use the receding horizon control computation to determine the compressor speed necessary to insure that the comfort level tracks the set-point. Next it will make the same type of guess and calculation for the superheat setting. When these computations are complete it will determine the cost of operation over the horizon window for this set of minipulated variables. The costs are determined either by user supplied cost functions (as given for example by Equation (20)) or by recorded efficiency or cost data if it is available. The optimizer then repeats the procedure with another guess. Form these two guess (on each of the free variables) the optimizer calculates the appropriate derivatives numerically, as described above, and uses the search defined by Equation (18) to determine the values of the manipulated variables that result in cost minimized performance. These values are then converted to output signals to affect the desired response. The process is repeated at each control step. An example of typical performance of this controller is shown in Figs. 8 through 14. The process to be controlled has the following form: y = H( s ) u The output and input vectors respectively are given by: y = [ y 1 , y 2 ] T u = [ u 1 , u 2 , u 3 , u 4 ] T The control law specifies u 1 through u 4 , with the last two inputs defined as the free variables (i.e. u 3 = w 1 and u 4 = w 2 ). The free variables are treated as pseudo-measurable disturbances and are determined as described previously by utilizing the feedforward capability of the controller. To determine the cost optimal control sequence it is necessary to assign a cost of operation to each manipulated variable. The solution strategy is independent of the form of this cost function. The cost function used to demonstrate the performance of the new controller for the j th controller output is given by a third order polynomial of the form: The controller output u at any time k during the horizon window is given by: where u 0 is the current value of the manipulated variable. Since the control law utilizes a finite horizon, a penalty term is imposed at the end of the window to insure that in the limit the free variables take on their optimal steady state values. The final values are computed based on the internal model used by the predictor. Servo performance will first be demonstrated for the case where both set-points are simultaneously changed from zero to one. The steady state cost surface for this example as a function of the free variables is shown in Fig. 7 for y 1 = y 2 =1. The well defined minimum cost is located at w 1 =1.92 and w 2 =.07. Since the cost functions are heavily weighted in favor of the free variables (i.e. u 3 and u 4 are inexpensive relative to u 1 and u 2 ), the cost minimization strategy will discourage the use of u 1 and u 2 . The tuner and identifier are first used to establish a valid model as described previously. Once this is accomplished automatic control commences and the set-points are changed. Response of the system to the set-point change without cost minimization is illustrated in Figs. 8a and 8b. While servo performance is as desired, considerable control effort is necessary as seen in the curves of Fig. 8b. This effort consumes expensive u 1 and u 2 resources. Since w 1 and w 2 are zero for this strategy, even at steady state unnecessary resources are consumed This steady state consumption of unnecessary resources can be alleviated by setting w 1 and w 2 to their optimal values. Unfortunately the steady state values of the free inputs are not necessarily the correct values to use during transient response. That is, the steady state cost map does not generally apply as the states of the system evolve. The new cost minimization strategy taught here deals directly with this problem. Servo performance of the cost minimization strategy is shown in Figs. 9a and 9b in terms of both manipulated and controlled variables. The conditions stated for the previous figure apply here as well. Output response is virtually identical to the non-optimized case. The fundamental difference is the control specification. The most obvious change is the significant reduction in control effort at the onset of the transient. Inspection shows that most of the work is done by the relatively inexpensive u 3 . Clearly, the steady state values of the free inputs are not appropriate, nor are they desirable during the transient. The free variables do, however, attain their optimal steady state values as equilibrium is approached. Response for the case with steady state optimization is shown in Figs. 10a and 10b. Here the steady state optimal values for u 3 and u 4 are used from the onset of the transient. Although servo performance is the same as that given in the two previous figures, this approach uses considerably more of the expensive resources. Cost performance associated with the previous three figures is presented in Figs. 11a and 11b. Fig. 11a shows the costs at each control interval. Fig. 11b shows the integrated incremental costs. The highly desirable performance of the new control design is self evident. The effect of the judicious choice of control movement during the transient is clear. While a large reduction in operating costs relative to the base strategy is expected (since the base case uses expensive resources), the substantial reduction relative to the steady state optimal case represents a significant contribution of the new controller. Both optimization schemes approach the optimal steady state solution, however the dynamic scheme does so faster. As equilibrium is approached, the optimal solution offers a persistent cost reduction that is significant relative to the base case. In the next figures, control and cost performance will be demonstrated for the case where there are both set-point changes and unmeasurable load disturbances. At t=1 the first and second set points are changed from zero to 0.5 and 1.0 respectively. At t=10 an unmeasurable disturbance with an initial amplitude of one and oscillatory characteristics is injected into the system. Servo-regulatory performance for the base case is depicted in Figs. 12a and 12b. Servo response is seen to be very good. Regulatory behavior is adequate in spite of the magnitude and oscillatory nature of the disturbance. The control action is substantial and equilibrium conditions require a large value for the expensive resource (in this case u 1 ). Figs. 13a and 13b show that the servo-regulatory performance of the cost minimization strategy is virtually the same as that of the basic controller without minimization. A significant reduction in control movement is exhibited during the set point and load change transients. Most of the control movement during the transients is accomplished via the free variables. The steady optimal values of the free inputs before and after the disturbance are w 1 =-.46, w 2 =1.19 and w 1 =-1.30, w 2 =1.21 respectively. With the minimization strategy, these equilibrium conditions are rapidly obtained. Cost performance for this final case is illustrated in Figs. 14a and 14b. While the comments made relative to Figs. 11 a and 11b apply here as well, the magnitude of the costs are substantially different. Since the incremental costs for the base case are off scale for the majority of the period, they have not been displayed. The striking differences between the two cases shown serve to demonstrate that the steady state optimal values for the free variables can be totally inappropriate for dynamic operation. The cost minimization strategy rapidly approaches the optimal steady state solution both before and after the load disturbance. Conversely, by simply specifying the optimal values of the free variables, the slow modes of the system are unduly excited and the minimum cost steady state solution is approached very slowly. SUMMARY A summary of the features of the invention is as follows: The basis for the invention is a robust receding horizon technique of unique form which allows input and output constraints to be easily assigned at the end of the horizon window. The controller requires no manual tuning. Closed loop speed of response or desired closed loop settling time can be directly specified by adjusting the horizon window. Feedforward and feedback compensation are natural elements of the controller which is capable of manipulating a plurality of variables. The predictive nature of the controller can accommodate complex system dynamics and interaction and provides the mechanism for dynamic on-line nonlinear cost minimization via the feedforward model. The tuner and identifier operate to insure that appropriate model and control parameters are always available to the predictor calculation means, control calculation means and optimization calculation means.

Claims: A controller for controlling the manipulated variable inputs to a plant, said controller comprising means to receive user input, means to provide output signals to effect control moves at the prediction horizon interval, means to establish a model identification based on manipulated variable inputs and controlled variable outputs from the plant, said controller characterised by: a tuner (23) for establishing a control sample rate and for establishing the first m increments of a horizon window which has a total of m+1 increments in dependence on the open loop system response and a control law calculator means (25, 26) having a recursive model based predictor to predict the nominal control variable output trajectory that would occur without changes to the manipulated variables, said predictor deriving its model from the identified model, and having a model based corrector, also based on the same identified model, to specify the changes required of the manipulated variable outputs to satisfy the following criteria: a) the errors between the controlled variables and their respective setpoints become zero after m control moves b) the errors between the controlled variables and their respective setpoints are zero for 1 additional control moves c) the change in the manipulated variables during the last n control moves of the m+1 horizon take on prescribed beta values which are determined by said control law calculator to be those values necessary to smooth the change in manipulated variables after m control moves and reduce the steady state controlled variable errors said specified manipulated variable changes of the control law calculator being used to determine the output signals for the actuators. A controller according to Claim 1 characterised in that said controller further comprises: optimizer calculator means (28) for providing manipulated variable sequences that result in optimal cost performance without compromising servo-regulatory performance having: access means for using the control law calculator (25) such that the predictor can be used to predict the effect on the plant as would be measured by the outputs of any hypothetical change made in any manipulated variable, calculator means for determining the optimal set of manipulated variable changes during the horizon window based on the predicted effects of the changes over the horizon window. A controller according to Claim 1 or 2 characterised in that the tuner (23) further comprises a heuristic supervisor which receives plant output information and manipulated variable information and compares this information on an ongoing basis to detect system instability, and when detected, effects modification of the horizon window to remove the instability. A controller according to Claim 3 characterised in that the determination of instability will provide for one of three alternative actions on the part of the tuner (23): (a) change the horizon window, (b) change the identified model, (c) initiate a retune. A controller according to any preceding Claim characterised in that the horizon window established by the tuner (23) is based on the inflection point as well as the line-out of the plant output. A controller according to any of Claims 2 to 5 characterised in that said optomizer calculator means (28) establishes an optimal cost value set for the free manipulated variables at the current time increment by iteratively finding the costs for a range of values of the free manipulated variables and selecting the lowest cost subset using the feedforward capability of the control law. A controller according to any preceding Claim characterised in that the user input includes specification of the horizon window by specifying one or both of the lengths of m and 1, the set point, the manipulated variable values in the manual control mode, the control mode (automatic, manual, tune), and the cost function. A controller according to Claim 6 or 7 characterised in that the interative cost finding function is repeated for each increment within the horizon window and the optimization process is repeated at each control step. A method of controlling the manipulated variable inputs to a plant, wherein said method includes receiving using input and providing output signals to effect control moves to establish a model identification based on the manipulated variable inputs and the controlled variable outputs from the plant, said method characterised by: establishing a control sample rate and the first m increments of a horizon window which has a total of m+1 increments in dependence on the open loop system response and predicting the nominal control variable output trajectory that would occur without changes to the manipulated variable, said predicting step incorporating deriving its model from the identified model, and specifying the changes required of the manipulated variable outputs to satisfy the following criteria: a) the errors between the controlled variablese and their respective setpoints become zero after m control moves b) the errors between the controlled variables and their respective setpoints are zero for 1 additional control moves c) the change in the manipulated variables during the last n control moves of a the m+1 horizon takes on prescribed beta values which are determined by said control law calculator to be those values necessary to smooth the change in manipulated variables after m control moves and reduce the steady state controlled variable errors said specified manipulated variable changes of the control law calculator being used to determine the output signals for the actuators. A method according to Claim 9, characterised by providing manipulated variable sequences that results in optimal cost performance without compromising servo-regulatory performance including the steps of: predicting the effect on the plant as would be measured by the outputs of any hypothetical change made in any manipulated variable, determining the optimal set of manipulated variable changes during the horizon window based on the predicted effects of the changes over the horizon window. A method according to Claim 9 or 10, characterised by receiving plant output information and manipulated variable information and comparing this information on an ongoing basis to detect system instability, and when detected effecting modification of the horizon window to remove the instability. A method according to Claim 11, characterised by the determination of instability providing for one of three alternative actions: a) change the horizon window, b) change the identified model, c) initiate a retune. A method according to any of Claims 9 to 12 characterised in that the horizon window as established is based on the inflection point as well as the line-out of the plant output. A method according to any of Claims 9 to 13 characterised by establishing an optimal cost value set for the free manipulated variables at the current time increment by iteratively finding the costs for a range of values of the free manipulated variables and selecting the lowest cost subset using the feedforward capability of the control law. A method according to any of Claims 9 to 14 characterised in that the user input includes specification of the horizon window by specifying one or both of the lengths of m and 1, the set point, the manipulated variable values in the manual control mode, the control mode (automatic, manual, tune), and the cost function. A method according to any of Claims 9 to 15 characterised in that the iterative cost finding function is repeated for each increment within the horizon window and the optimization process is repeated at each control step.

Inventors: FOSLIEN WENDY K, MACARTHUR J WARD, WAHLSTEDT DAVID A, WOESSNER MICHAEL A, FOSLIEN, WENDY K., MACARTHUR, J. WARD, WAHLSTEDT, DAVID A., WOESSNER, MICHAEL A.
Applicants: HONEYWELL INC, HONEYWELL INC.
Application year: 1991
Main classification: G05B13
IPC codes: G05B13