CA2874269C - Model predictive controller and method with correction parameter to compensate for time lag - Google Patents
Model predictive controller and method with correction parameter to compensate for time lag Download PDFInfo
- Publication number
- CA2874269C CA2874269C CA2874269A CA2874269A CA2874269C CA 2874269 C CA2874269 C CA 2874269C CA 2874269 A CA2874269 A CA 2874269A CA 2874269 A CA2874269 A CA 2874269A CA 2874269 C CA2874269 C CA 2874269C
- Authority
- CA
- Canada
- Prior art keywords
- plant
- correction parameter
- control
- controller
- prediction model
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 70
- 238000012937 correction Methods 0.000 title claims abstract description 45
- 238000005457 optimization Methods 0.000 claims description 10
- 238000005070 sampling Methods 0.000 claims description 10
- 239000012530 fluid Substances 0.000 claims description 3
- 238000004590 computer program Methods 0.000 claims 1
- 238000013461 design Methods 0.000 abstract description 9
- 241000196324 Embryophyta Species 0.000 description 67
- 238000004422 calculation algorithm Methods 0.000 description 36
- 238000004088 simulation Methods 0.000 description 22
- 230000004044 response Effects 0.000 description 21
- 239000000243 solution Substances 0.000 description 12
- 238000009472 formulation Methods 0.000 description 10
- 230000006872 improvement Effects 0.000 description 10
- 239000011159 matrix material Substances 0.000 description 10
- 239000000203 mixture Substances 0.000 description 10
- 238000013459 approach Methods 0.000 description 8
- 230000000694 effects Effects 0.000 description 7
- 238000002474 experimental method Methods 0.000 description 7
- 230000006870 function Effects 0.000 description 7
- 230000008569 process Effects 0.000 description 7
- 238000010586 diagram Methods 0.000 description 6
- 230000001276 controlling effect Effects 0.000 description 5
- 238000005516 engineering process Methods 0.000 description 5
- 238000004886 process control Methods 0.000 description 5
- 238000011160 research Methods 0.000 description 5
- 238000011156 evaluation Methods 0.000 description 4
- 238000001746 injection moulding Methods 0.000 description 4
- 238000012986 modification Methods 0.000 description 4
- 230000004048 modification Effects 0.000 description 4
- 238000012360 testing method Methods 0.000 description 4
- 238000007792 addition Methods 0.000 description 3
- 238000010923 batch production Methods 0.000 description 3
- 230000006399 behavior Effects 0.000 description 3
- 230000008859 change Effects 0.000 description 3
- 238000011161 development Methods 0.000 description 3
- 230000018109 developmental process Effects 0.000 description 3
- 238000004519 manufacturing process Methods 0.000 description 3
- 230000010355 oscillation Effects 0.000 description 3
- 238000003860 storage Methods 0.000 description 3
- 238000012546 transfer Methods 0.000 description 3
- QQZIBDNUYKXGPF-KWNHIAGJSA-N [(2r)-2-[[(z)-heptadec-10-enyl]carbamoyloxy]-3-hexadecanoyloxypropyl] 2-(trimethylazaniumyl)ethyl phosphate Chemical compound CCCCCCCCCCCCCCCC(=O)OC[C@H](COP([O-])(=O)OCC[N+](C)(C)C)OC(=O)NCCCCCCCCC\C=C/CCCCCC QQZIBDNUYKXGPF-KWNHIAGJSA-N 0.000 description 2
- 230000003044 adaptive effect Effects 0.000 description 2
- 230000000875 corresponding effect Effects 0.000 description 2
- 238000011835 investigation Methods 0.000 description 2
- 230000009467 reduction Effects 0.000 description 2
- RZVHIXYEVGDQDX-UHFFFAOYSA-N 9,10-anthraquinone Chemical compound C1=CC=C2C(=O)C3=CC=CC=C3C(=O)C2=C1 RZVHIXYEVGDQDX-UHFFFAOYSA-N 0.000 description 1
- 235000002756 Erythrina berteroana Nutrition 0.000 description 1
- 244000088811 Erythrina rubrinervia Species 0.000 description 1
- 235000002753 Erythrina rubrinervia Nutrition 0.000 description 1
- 241000282320 Panthera leo Species 0.000 description 1
- 238000004458 analytical method Methods 0.000 description 1
- 238000013528 artificial neural network Methods 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 230000001143 conditioned effect Effects 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 238000010924 continuous production Methods 0.000 description 1
- 238000002716 delivery method Methods 0.000 description 1
- 238000009795 derivation Methods 0.000 description 1
- 238000005265 energy consumption Methods 0.000 description 1
- 230000002349 favourable effect Effects 0.000 description 1
- 230000004927 fusion Effects 0.000 description 1
- 230000007774 longterm Effects 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 239000004033 plastic Substances 0.000 description 1
- 229920000642 polymer Polymers 0.000 description 1
- 230000001373 regressive effect Effects 0.000 description 1
- 230000003252 repetitive effect Effects 0.000 description 1
- 238000012552 review Methods 0.000 description 1
- 238000000638 solvent extraction Methods 0.000 description 1
- 230000001629 suppression Effects 0.000 description 1
- 229920001169 thermoplastic Polymers 0.000 description 1
- 239000004416 thermosoftening plastic Substances 0.000 description 1
- 230000001052 transient effect Effects 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
- G05B17/00—Systems involving the use of models or simulators of said systems
- G05B17/02—Systems involving the use of models or simulators of said systems electric
-
- 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 new MPC controller design and method that may be applied to various different types of model predictive control (MPC) controllers and methods for use in any desired or appropriate controller setting, such as for plants, and can be imposed on conventional predictive control schemes to provide tighter control when tracking complex setpoint trajectories. The method introduces a correction parameter .eta. independent of plant gain, evaluated online at each control timestep to drive the plant output to its reference more accurately than the original schemes. In a linear system, the correction parameter converges to a constant when optimized (evaluated on-line). The new MPC controller and method can also be applied on a nonlinear system. In a non-linear system, where the time constant is non-linear, the correction parameter will be variable.
Description
MODEL PREDICTIVE CONTROLLER AND METHOD WITH
CORRECTION PARAMETER TO COMPENSATE FOR TIME LAG
TECHNICAL FIELD
This application relates to process control performed in, for example, an industrial process plant, and, more particularly, relates to an improved model predictive controller and method that uses a correction parameter to compensate for time lag.
DESCRIPTION OF BACKGROUND TECHNOLOGY
Research on Model-based Predictive Control (MPC) associated with theoretical work and practical applications has flourished over the past 30 years. A broad body of literature and a number of survey papers attest to this fact (Lee. 2011; Qin &
13adgwell, 2003). MPC algorithms display a number of desirable features that enable them to be robust. They can perform in the presence of nonlinearities and modeling errors and can handle constraints and multi-variable plants (Diehl, Amrit, & Rawlings, 2011;
Runzi &
Low, 2009). As the field of MPC is an ongoing area of research, recent developments on new MPC algorithms include M-Shifted, extended predictive control, fast MPC, and latent variable MPC (Abu-Ayyad & Dubay, 2006; Dubay, Kember, Lakshminarayan, &
Pramuiati, 2006; Jesus & MacGregor, 2005). This in combination with advancements in the computer industry have allowed the MPC algorithm to extend to applications requiring small sampling times (Bolognani, Peretti, & Zigliotto, 2009; Diehl et al., 2011).
Early application of MPC algorithms to the process industry were generally subjected to relatively simple reference or setpoint trajectories. In standard applications the reference often settles at a fixed setpoint such as a temperature, a fluid level, or a speed in the case of motor speed control. The MPC methodology has been recently introduced to applications that include the field of robotics and Unmanned Aerial Vehicles (UAV) (Gregor & Skrjanc, 2007; Kim &. Shim, 2003; Ren & Beard, 2004). Other current applications of MPC schemes include flexible manipulators (Hassan, Dubity. Li, &
Wang, 2007) and plastic injection molding (Dubay; Pramujati, Han, &
Strohmaier, 2007). In these cases the desired reference trajectories can be more complex.
Standard MPC algorithms exhibit difficulty when tracking complex profiles (Golshan, MacGregor, Bruwer, & Mhaskar, 2010).
Little work has been done in terms of complex reference tracking with MPC
control: It is becoming increasingly important for advanced control schemes to be able to track more complex reference trajectories for more efficient control (Ali, Yu, &
Hauser, 2001;
Mayne, Rawlings, Rao, & Scokaert, 2000). From an industrial perspective, tighter trajectory tracking can lead to better part quality and energy consumption.
Latent variable MPC is one algorithm that has been recently designed in order to optimize trajectory tracking performance (Jesus & MacGregor, 2005). The latent variable scheme has successfully been applied to batch processes (Golshan et al., 2010; Lauri, Rossiter, Sanchisa, & Martineza, 2010). The method is an effective solution to the complex trajectory tracking problem but cannot be readily adapted to common or conventional forms of MPC.
The tracking offset apparent when tracking complex reference trajectories is identified
CORRECTION PARAMETER TO COMPENSATE FOR TIME LAG
TECHNICAL FIELD
This application relates to process control performed in, for example, an industrial process plant, and, more particularly, relates to an improved model predictive controller and method that uses a correction parameter to compensate for time lag.
DESCRIPTION OF BACKGROUND TECHNOLOGY
Research on Model-based Predictive Control (MPC) associated with theoretical work and practical applications has flourished over the past 30 years. A broad body of literature and a number of survey papers attest to this fact (Lee. 2011; Qin &
13adgwell, 2003). MPC algorithms display a number of desirable features that enable them to be robust. They can perform in the presence of nonlinearities and modeling errors and can handle constraints and multi-variable plants (Diehl, Amrit, & Rawlings, 2011;
Runzi &
Low, 2009). As the field of MPC is an ongoing area of research, recent developments on new MPC algorithms include M-Shifted, extended predictive control, fast MPC, and latent variable MPC (Abu-Ayyad & Dubay, 2006; Dubay, Kember, Lakshminarayan, &
Pramuiati, 2006; Jesus & MacGregor, 2005). This in combination with advancements in the computer industry have allowed the MPC algorithm to extend to applications requiring small sampling times (Bolognani, Peretti, & Zigliotto, 2009; Diehl et al., 2011).
Early application of MPC algorithms to the process industry were generally subjected to relatively simple reference or setpoint trajectories. In standard applications the reference often settles at a fixed setpoint such as a temperature, a fluid level, or a speed in the case of motor speed control. The MPC methodology has been recently introduced to applications that include the field of robotics and Unmanned Aerial Vehicles (UAV) (Gregor & Skrjanc, 2007; Kim &. Shim, 2003; Ren & Beard, 2004). Other current applications of MPC schemes include flexible manipulators (Hassan, Dubity. Li, &
Wang, 2007) and plastic injection molding (Dubay; Pramujati, Han, &
Strohmaier, 2007). In these cases the desired reference trajectories can be more complex.
Standard MPC algorithms exhibit difficulty when tracking complex profiles (Golshan, MacGregor, Bruwer, & Mhaskar, 2010).
Little work has been done in terms of complex reference tracking with MPC
control: It is becoming increasingly important for advanced control schemes to be able to track more complex reference trajectories for more efficient control (Ali, Yu, &
Hauser, 2001;
Mayne, Rawlings, Rao, & Scokaert, 2000). From an industrial perspective, tighter trajectory tracking can lead to better part quality and energy consumption.
Latent variable MPC is one algorithm that has been recently designed in order to optimize trajectory tracking performance (Jesus & MacGregor, 2005). The latent variable scheme has successfully been applied to batch processes (Golshan et al., 2010; Lauri, Rossiter, Sanchisa, & Martineza, 2010). The method is an effective solution to the complex trajectory tracking problem but cannot be readily adapted to common or conventional forms of MPC.
The tracking offset apparent when tracking complex reference trajectories is identified
2 as a result of the open loop system time constants that are not accounted for in controller prediction formulations. Different methods to correct steady state offset due to disturbance or model mismatch have been developed ( Magni & Scattolini, 2005;
Rawlings & Mayne, 2009). These methods have been designed for constant reference trajectory tracking and do not eliminate the offset tracking that exists when tracking slopes. Evidence of the complex trajectory tracking offset problem can be seen in Yang and Gao (2000), Dubay et al. (2007), Dalamagkidis, Valavanis, and Piegl (2011), and Li, Su, Shao-Hsien Liu, and Chen (2012).
BRIEF DESCRIPTION OF THE DRAWINGS
FIG. 1 is a block diagram representation of a typical prior art MPC controller and control method;
FIG. 2 are graphs depicting control performance in the face of offset due to disturbances and complex reference trajectories;
FIG. 3 is an enlarged view of portions of the graphs of FIG. 2;
FIG. 4 are graphs of prediction adjustment using a prior art MPC method;
FIG. 5. is a graph comparing reference trajectories to response trajectories adjusted using a correction parameter according to a certain embodiment of the present invention;
FIG. 6 is block diagram representation of an MPC controller and control method according to an embodiment of the present invention;
FIG. 7 is a graph of response dynamics;
Rawlings & Mayne, 2009). These methods have been designed for constant reference trajectory tracking and do not eliminate the offset tracking that exists when tracking slopes. Evidence of the complex trajectory tracking offset problem can be seen in Yang and Gao (2000), Dubay et al. (2007), Dalamagkidis, Valavanis, and Piegl (2011), and Li, Su, Shao-Hsien Liu, and Chen (2012).
BRIEF DESCRIPTION OF THE DRAWINGS
FIG. 1 is a block diagram representation of a typical prior art MPC controller and control method;
FIG. 2 are graphs depicting control performance in the face of offset due to disturbances and complex reference trajectories;
FIG. 3 is an enlarged view of portions of the graphs of FIG. 2;
FIG. 4 are graphs of prediction adjustment using a prior art MPC method;
FIG. 5. is a graph comparing reference trajectories to response trajectories adjusted using a correction parameter according to a certain embodiment of the present invention;
FIG. 6 is block diagram representation of an MPC controller and control method according to an embodiment of the present invention;
FIG. 7 is a graph of response dynamics;
3 FIG. 8 is a graph of response dynamics;
FIG. 9 is a graph of error dynamics;
FIG. 10 is a graph of optimal values of sigma;
FIGS. 11-20 are graphs of control performance improvement according to embodiments of the present invention;
FIG. 21 is an experimental setup in which an MPC controller and method according to an embodiment of the present invention is implemented for control of a DC
motor;
FIGS. 22-25 are graphs of results of the implementation of FIG. 21, and FIG. 26 is a block diagram representation of an MPC controller and control method according to an embodiment of the present invention DETAILED DESCRIPTION
Generally speaking, a new MPC controller design and method is discussed herein that may be applied to various different types of model predictive control (MPC) controllers and methods for use in any desired or appropriate controller setting, such as for plants.
As used herein, "plants" includes plants, processes and systems. However, this new MPC
controller enhancement and method is particularly useful in control systems used to track complex profiles in plants, such as in industrial process plants, such as manufacturing plants, and can also be used for control in the automation industry, such as for robotics, UAV, injection molding and "smart technologies" where setpoints may be continuously updated by efficiency algorithms instead of operators. The new MPC controller enhancement and method is described herein as being implemented as an addition to
FIG. 9 is a graph of error dynamics;
FIG. 10 is a graph of optimal values of sigma;
FIGS. 11-20 are graphs of control performance improvement according to embodiments of the present invention;
FIG. 21 is an experimental setup in which an MPC controller and method according to an embodiment of the present invention is implemented for control of a DC
motor;
FIGS. 22-25 are graphs of results of the implementation of FIG. 21, and FIG. 26 is a block diagram representation of an MPC controller and control method according to an embodiment of the present invention DETAILED DESCRIPTION
Generally speaking, a new MPC controller design and method is discussed herein that may be applied to various different types of model predictive control (MPC) controllers and methods for use in any desired or appropriate controller setting, such as for plants.
As used herein, "plants" includes plants, processes and systems. However, this new MPC
controller enhancement and method is particularly useful in control systems used to track complex profiles in plants, such as in industrial process plants, such as manufacturing plants, and can also be used for control in the automation industry, such as for robotics, UAV, injection molding and "smart technologies" where setpoints may be continuously updated by efficiency algorithms instead of operators. The new MPC controller enhancement and method is described herein as being implemented as an addition to
4 conventional MPC algorithms that improve complex trajectory tracking performance at low computation cost. Simulations are provided herein on a practical plant with improved control performance as compared to the standard MPC schemes.
The new MPC controller enhancement design and method could also be implemented .. in other types of control environments including, for example, as a part of a centralized control system, or as part of a stand-alone control system, etc.
The new MPC controller design and methods described herein can be imposed on conventional predictive control schemes to provide tighter control when tracking complex setpoint trajectories. The method introduces a correction parameter n, independent of plant gain, evaluated online at each control timestep to drive the plant output to its reference more accurately than the original schemes. The new MPC
controller and method can be applied to various systems that possess deadtime, higher order and multivariable characteristics with improved closed loop control.
This is evidenced by significant reductions of mean square errors when using rj. In a linear system, the correction parameter converges to a constant when optimized (evaluated on-line). The new MPC controller and method can also be applied on a nonlinear system.
The algorithm was tested in simulation and on a practical setup, with reduced tracking error. In a non-linear system, where the time constant is non-linear, the correction parameter will be variable.
In one embodiment, the present invention relates to a computer-implemented method for correcting a prediction model output in a Model Predictive Controller for controlling a plant including measuring the difference between the prediction model output and a
The new MPC controller enhancement design and method could also be implemented .. in other types of control environments including, for example, as a part of a centralized control system, or as part of a stand-alone control system, etc.
The new MPC controller design and methods described herein can be imposed on conventional predictive control schemes to provide tighter control when tracking complex setpoint trajectories. The method introduces a correction parameter n, independent of plant gain, evaluated online at each control timestep to drive the plant output to its reference more accurately than the original schemes. The new MPC
controller and method can be applied to various systems that possess deadtime, higher order and multivariable characteristics with improved closed loop control.
This is evidenced by significant reductions of mean square errors when using rj. In a linear system, the correction parameter converges to a constant when optimized (evaluated on-line). The new MPC controller and method can also be applied on a nonlinear system.
The algorithm was tested in simulation and on a practical setup, with reduced tracking error. In a non-linear system, where the time constant is non-linear, the correction parameter will be variable.
In one embodiment, the present invention relates to a computer-implemented method for correcting a prediction model output in a Model Predictive Controller for controlling a plant including measuring the difference between the prediction model output and a
5 reference; calculating a correction parameter based on the measured difference; and applying the correction parameter to the prediction model output to adjust the prediction model output for time lag. In certain embodiments, the steps of measuring the difference and applying the correction are carried out on-line. In certain further embodiments, the reference is a reference trajectory and the plant being controlled has a trajectory profile where the reference trajectory is varying with respect to time. In certain further embodiments, the method further includes providing the adjusted prediction model output to an optimizer of the Model Predictive Controller. In certain further embodiments, the step of calculating the correction parameter further includes applying an optimization method to calculate the correction parameter. In certain further embodiments, the method further includes calculating an offset error based on the slope of the reference trajectory and using the offset error to calculate the correction parameter. In certain further embodiments, the method further includes repeating the measuring, calculating and applying steps at one or more additional sampling instances. In certain further embodiments, the method further includes In another embodiment, the present invention relates to a computer-implemented method for correcting a reference in a Model Predictive Controller for controlling a plant including measuring the difference between a prediction model output and the reference;
calculating a correction parameter based on the measured difference; and applying the correction parameter to the reference to adjust the reference for time lag. In certain further embodiments, the steps of measuring the difference and applying the correction are carried out on-line. In certain further embodiments, the reference is a reference trajectory and the plant being controlled has a trajectory profile where the reference trajectory is varying with respect to time. In certain further embodiments, the method
calculating a correction parameter based on the measured difference; and applying the correction parameter to the reference to adjust the reference for time lag. In certain further embodiments, the steps of measuring the difference and applying the correction are carried out on-line. In certain further embodiments, the reference is a reference trajectory and the plant being controlled has a trajectory profile where the reference trajectory is varying with respect to time. In certain further embodiments, the method
6 further includes providing the adjusted reference to an optimizer of the Model Predictive Controller. In certain further embodiments, the step of calculating the correction parameter further includes applying an optimization method to calculate the correction parameter. In certain further embodiments, the method further includes calculating an offset error based on the slope of the reference trajectory and using the offset error to calculate the correction parameter. In certain further embodiments, the method further includes repeating the measuring, calculating and applying steps at one or more additional sampling instances.
In another embodiment, the present invention relates to a Model Predictive Controller for controlling a plant including a controller unit that uses Model Predictive Control to generate a prediction model; measures the difference between the prediction model and a reference; calculates a correction parameter based on the measured difference;
and applies the correction parameter to the prediction model output to adjust the prediction model output for time lag. In certain embodiments, the controller unit measures the .. difference and applies the correction on-line. In certain further embodiments, the reference is a reference trajectory and the plant being controlled has a trajectory profile where the reference trajectory is varying with respect to time. In certain further embodiments, the controller further comprises an optimizer and provides the adjusted prediction model output to the optimizer.
In another embodiment, the present invention relates to a Model Predictive Controller for controlling a plant including a controller unit that uses Model Predictive Control to generate a prediction model; measures the difference between the prediction model and a reference; calculates a correction parameter based on the measured difference;
arid applies the correction parameter to the reference to adjust the reference for time lag. In certain embodiments, the controller unit measures the difference and applies the correction on-line.
Model predictive control
In another embodiment, the present invention relates to a Model Predictive Controller for controlling a plant including a controller unit that uses Model Predictive Control to generate a prediction model; measures the difference between the prediction model and a reference; calculates a correction parameter based on the measured difference;
and applies the correction parameter to the prediction model output to adjust the prediction model output for time lag. In certain embodiments, the controller unit measures the .. difference and applies the correction on-line. In certain further embodiments, the reference is a reference trajectory and the plant being controlled has a trajectory profile where the reference trajectory is varying with respect to time. In certain further embodiments, the controller further comprises an optimizer and provides the adjusted prediction model output to the optimizer.
In another embodiment, the present invention relates to a Model Predictive Controller for controlling a plant including a controller unit that uses Model Predictive Control to generate a prediction model; measures the difference between the prediction model and a reference; calculates a correction parameter based on the measured difference;
arid applies the correction parameter to the reference to adjust the reference for time lag. In certain embodiments, the controller unit measures the difference and applies the correction on-line.
Model predictive control
7 Fig. 1 is a block diagram representation of a conventional general MPC
algorithm in an MPC
controller 2. In general, MPC algorithms are composed of three main components: a model 4 of the controlled plant 5, an optimizer 6 that evaluates control actions using an objective function combined with an optimization strategy, and a prediction 8 coming out of the model 4 that computes the future dynamic behavior of the plant output 9 or controlled variable.
The objective of MPC is to minimize the difference of the desired reference trajectory r(t+j) and the predicted state of the plant f(t+j) for the duration of the prediction horizon N. The plant model and an optimization algorithm are used to construct the prediction of the plant behavior ST
and an evaluation of future control actions, u. In the next section, key theoretical derivations of DMC and GPC algorithms will be presented for completeness and clarity.
Dynamic matrix control DMC algorithms use a dynamic matrix P which represents the model of the controlled variable y. The formulation of P requires only a normalized step response or impulse response of the controlled variable. The dynamic matrix P for a single input single output (SISO) plant has dimensions N x nil and is structured with an open loop test array p of length N:
algorithm in an MPC
controller 2. In general, MPC algorithms are composed of three main components: a model 4 of the controlled plant 5, an optimizer 6 that evaluates control actions using an objective function combined with an optimization strategy, and a prediction 8 coming out of the model 4 that computes the future dynamic behavior of the plant output 9 or controlled variable.
The objective of MPC is to minimize the difference of the desired reference trajectory r(t+j) and the predicted state of the plant f(t+j) for the duration of the prediction horizon N. The plant model and an optimization algorithm are used to construct the prediction of the plant behavior ST
and an evaluation of future control actions, u. In the next section, key theoretical derivations of DMC and GPC algorithms will be presented for completeness and clarity.
Dynamic matrix control DMC algorithms use a dynamic matrix P which represents the model of the controlled variable y. The formulation of P requires only a normalized step response or impulse response of the controlled variable. The dynamic matrix P for a single input single output (SISO) plant has dimensions N x nil and is structured with an open loop test array p of length N:
8 Date Recue/Date Received 2021-08-02 /j 0 0 \
P2 Pi -= 0 P = . (1) PN P(N-1) P(N-11) The parameter, nõ, is the control horizon and represents the current and future control actions. The length of the optimized control sequence u is The cost function ./, which comprises future errors is = 1 Li? (r +MO- r(t i)?
i=
nu -h .1.(j)[Au(t +j- 1)12 (2) The symbol It indicates the value of the variable evaluated at time instant t with other parameters in the similar sense. Least 'squares optimization can be used to minimize J
= resulting in the change in control effort Au:
Au= (PTP+A1)-1Pre (3) where e is the predicted error and is determined by (r-5)) with r being a vector of length N
with all elements equal to rii . The variable), is a move suppression constant that is added to the diagonal of the PT P matrix term to improve its condition number (Abu-Ayytul &
Dubay, 2006).
The multivariable DMC is presented to encompass the applicability of DMC to the multiple input multiple output (MIMO) case. This extension requires the construction of Pm:
P2 Pi -= 0 P = . (1) PN P(N-1) P(N-11) The parameter, nõ, is the control horizon and represents the current and future control actions. The length of the optimized control sequence u is The cost function ./, which comprises future errors is = 1 Li? (r +MO- r(t i)?
i=
nu -h .1.(j)[Au(t +j- 1)12 (2) The symbol It indicates the value of the variable evaluated at time instant t with other parameters in the similar sense. Least 'squares optimization can be used to minimize J
= resulting in the change in control effort Au:
Au= (PTP+A1)-1Pre (3) where e is the predicted error and is determined by (r-5)) with r being a vector of length N
with all elements equal to rii . The variable), is a move suppression constant that is added to the diagonal of the PT P matrix term to improve its condition number (Abu-Ayytul &
Dubay, 2006).
The multivariable DMC is presented to encompass the applicability of DMC to the multiple input multiple output (MIMO) case. This extension requires the construction of Pm:
9 Pnti Pito +1 == =Pi \
Prn+1,1 Prn+li+1 '" Prn+1,L
¨ (4) PAI,L
where each element of Pm is a matrix of dimension Nxnu representing the open loop dynamics of mul output due to the Ph input. The matrix Pm therefore represents the M
controlled variables and their corresponding effects due to L manipulated variables. Each of the G m;k matrices is constructed analogous to P as in the SISO plant, using step or impulse response data or otherwise.
Generalized predictive control The GPC model formulation uses a controlled auto regressive with integrated moving average (CARIMA) model to formulate its predictions. It is necessary to use Diophantine recursion to formulate these predictions. The recursion is also used to obtain parameters necessary for the evaluation of u.
The CARIMA model used in the SISO GPC algorithm is described by Eq. (5) ( Clark, Mohtadi, & Tuffs, 1987):
A(z I )y(t) = B(z(- I i)u(t¨ I ) + C(z )4.(() (5) 1.1 A(z-1) and B(2-1) are polynomial coefficients that together describe the dynamics of the plant being modeled and controlled. A backward shift operator z -lis imposed to indicate previous sampling instants. The motor setup used to demonstrate this research has a manipulated variable expressed as a voltage input u. The controlled variable y(t) reacts to u in the form of an angular speed. The CARIMA model relates y(t) to u. The C(z1) polynomial is truncated to a value of 1 when it is associated with disturbances to the controller in the general form of white noise. Disturbances are represented by at) in the CARIMA model and 4=1- z-/. Therefore, the GPC CARIMA model can be rewritten as A(z1)y(t)=B(Z1)U(t1)+ç (6) When considering a MIMO form of the CARIMA model A(z-i) and B(z-i) are polynomial matrices constructed from a transfer matrix T(z-i) and the term C
is an identity matrix I:
A(z- 1) = inxn +A1Z-1-}-A2Z-2-1- ===+Anoz' (7a) B(z-1) =Bo +Biz-1+132z-2+¨+Bn,z-"b (7b) (7c) The CARIMA model matrices are used with Diophantine recursion to solve the model matrices for the evaluation of the prediction in GPC algorithms. The necessary terms for this evaluation are F, G and Gf for the SISO GPC algorithm and F, G and Gp in the case of the MIMO =GPC algorithm (Clark et al., 1987).
The cost function for GPC is (I. ¨ r(t+J)12 J=Ni /10)[All(t -1)]2 (8) =1 where Ni and N2 are the minimum and maximum costing horizons. Similar to DMC, Eq.
(8) can be solved using least squares optimization to obtain Au, the control moves to the DC motor:
Au = (Git +)ir' GT(r ¨ f) (9) The G matrix and f term are obtained from the Diophantine recursion.
The predicted response 31 in the GPC algorithm is evaluated at every sampling instant as a combination of the free and forced response Gu+Rz )y(t) +Gf(z -1)Au(t -1) (1 0) The MIMO GPC is analogous to the SISO GPC algorithm where the long term prediction is expressed as Gi(z-1)Au(t +j-1)+ Cip(z- l)Au(t ¨ 1) F(z -1)y(t), j=N1 ... N2 (11) So that if = F(z. l)y(t)+G(- z u(t ¨ 1) JP (12) At every sampling instant the optimal Au is evaluated using the matrices obtained from the Diophantine recursion and the prediction in both cases using Eq. (9).
Correction Parameter In certain embodiments, the new MPC controller designs and methods suggested here are to be considered for reference profiles that are continuous and complex. The correction parameter i is developed as a solution to the complex trajectory tracking problem for MPC algorithms where disturbance and modeling errors have been addressed. The following discussion uses a DMC algorithm and standard Laplace first order plant models. Simulations and experiments are conducted in the next section using DMC and GPC approaches to demonstrate the versatility of the 1-MPC solution.
/i-MPC for sloped trajectory offset Predictive controllers are increasingly being used to track profiles such as ramps, sinusoids and other complex profiles. Current MPC formulation results in a steady error observed in tracking sloped trajectories. The offset that is being discussed here is identified as resulting from prediction formulation and plant time constants.
Therefore, traditional disturbance rejection and modeling error compensating methods are not appropriate. Figs. 2 and 3 show the performances of three MPC approaches given a known disturbance, they are a standard MPC algorithm, a disturbance based MPC
algorithm and an introduced 1-MPC method with the disturbance rejection feature.
Figs. 2 and 3 demonstrate that even when a disturbance is known and accounted for there still exists an offset when using standard MPC methods to track ramp reference trajectories. The MPC algorithm used in the simulation is DMC which accounts for modeling errors by adding the difference of the first element of .9 and the measured plant response. One of the reasons that the offset still exists is because the optimization of the controller at each time instant is evaluated over the prediction horizon with a constant future setpoint value. This standard approach is not appropriate for time varying reference profiles. It is important to note that future reference trajectory may not always be known and it is desirable to have a tracking solution that is independent of future knowledge of the reference trajectory. In order to achieve this and reduce the offset error, the standard formulation of .i3 needs to be altered in current MPC algorithms.
To do so the following assumptions are made.
Assumption 1. In order to adjust the prediction obtained by the MPC algorithm the reference trajectory slope will increase from instant (t) to instant (t +1) by the same amount as it did from instant (t -1) to time instant (t). That is that 4 is constant from (t -1) until (t +1):
rit (13) tit+, .rit¨rit_/ (14) Assumption 2. Based on the performance of traditional MPC schemes, the corresponding offset error is proportional to the slope of the reference trajectory.
Given the above assumptions, an initial adjustment to j3 is made as Sr'c=4-1-t (15) In support of the above assumptions the modification in Eq. (15) is applied to the standard DMC algorithms and is simulated here. Fig. 4 shows the small improvement that makes for three different constant sloped setpoint profiles. For convenience of presentation, the control actions are excluded from the remainder of simulation figures.
The simulation in Fig. 4 shows that the adjustment to j3 reduces the offset error e(t) proportional to the trajectory slope. The difference in e(t) that this initial adjustment makes is small but important because it is a factor in the complete q-MPC
solution.
Next, the effects of are considered. The removal of the offset is not achieved by C-because standard prediction formulations are not designed to track sloped trajectories and therefore do not properly capture the effects of the system time constant.
This is so since the time constant of the system prevents immediate response during the prediction made at each timestep and is magnified for sloped setpoint trajectories.
Compensating for this in combination with the adjustment provides the basis of the ri solution.
When the transient properties of the controlled plant are constant, then multiplying 6 by a compensating amount related to z 'will eliminate the offset. This amount is ri and the complete solution is expressed as an adjustment to the prediction. Note that the absolute value of ri is used because ri is a scalar:
Siglt =--91r+fritgr (16) The ri prediction form 53 n replaces the standard approach where ri has the form of an integral gain. In doing so the steady state offset is eliminated in a fashion similar to that of a PID controller but without the direct relationship to plant parameters that a PID
would require. The results of implementing the prediction adjustment are shown in Fig. 5.
A block diagram representation of an ri-MPC controller and method according to an embodiment of the present invention is shown in Fig. 6. In this embodiment the adjustment is applied to the prediction so that the optimizer reduces the error over the prediction horizon where the error is:
e(t) = r(t) ¨ 9,1(0 Where 5/(t) + adjustment Note, this configuration can be modified so that the adjustment is applied to the reference. Fig. 6 illustrates a manner in which a correction parameter for time lag can be applied to a conventional MPC controller without knowledge of the process model thereby increasing the performance of the MPC controller, particularly when used to track complex trajectories. In particular, the MPC controller of Fig. 6 is similar to that of Fig. 1 with like elements having the same reference numerals. However, an adjustment
Prn+1,1 Prn+li+1 '" Prn+1,L
¨ (4) PAI,L
where each element of Pm is a matrix of dimension Nxnu representing the open loop dynamics of mul output due to the Ph input. The matrix Pm therefore represents the M
controlled variables and their corresponding effects due to L manipulated variables. Each of the G m;k matrices is constructed analogous to P as in the SISO plant, using step or impulse response data or otherwise.
Generalized predictive control The GPC model formulation uses a controlled auto regressive with integrated moving average (CARIMA) model to formulate its predictions. It is necessary to use Diophantine recursion to formulate these predictions. The recursion is also used to obtain parameters necessary for the evaluation of u.
The CARIMA model used in the SISO GPC algorithm is described by Eq. (5) ( Clark, Mohtadi, & Tuffs, 1987):
A(z I )y(t) = B(z(- I i)u(t¨ I ) + C(z )4.(() (5) 1.1 A(z-1) and B(2-1) are polynomial coefficients that together describe the dynamics of the plant being modeled and controlled. A backward shift operator z -lis imposed to indicate previous sampling instants. The motor setup used to demonstrate this research has a manipulated variable expressed as a voltage input u. The controlled variable y(t) reacts to u in the form of an angular speed. The CARIMA model relates y(t) to u. The C(z1) polynomial is truncated to a value of 1 when it is associated with disturbances to the controller in the general form of white noise. Disturbances are represented by at) in the CARIMA model and 4=1- z-/. Therefore, the GPC CARIMA model can be rewritten as A(z1)y(t)=B(Z1)U(t1)+ç (6) When considering a MIMO form of the CARIMA model A(z-i) and B(z-i) are polynomial matrices constructed from a transfer matrix T(z-i) and the term C
is an identity matrix I:
A(z- 1) = inxn +A1Z-1-}-A2Z-2-1- ===+Anoz' (7a) B(z-1) =Bo +Biz-1+132z-2+¨+Bn,z-"b (7b) (7c) The CARIMA model matrices are used with Diophantine recursion to solve the model matrices for the evaluation of the prediction in GPC algorithms. The necessary terms for this evaluation are F, G and Gf for the SISO GPC algorithm and F, G and Gp in the case of the MIMO =GPC algorithm (Clark et al., 1987).
The cost function for GPC is (I. ¨ r(t+J)12 J=Ni /10)[All(t -1)]2 (8) =1 where Ni and N2 are the minimum and maximum costing horizons. Similar to DMC, Eq.
(8) can be solved using least squares optimization to obtain Au, the control moves to the DC motor:
Au = (Git +)ir' GT(r ¨ f) (9) The G matrix and f term are obtained from the Diophantine recursion.
The predicted response 31 in the GPC algorithm is evaluated at every sampling instant as a combination of the free and forced response Gu+Rz )y(t) +Gf(z -1)Au(t -1) (1 0) The MIMO GPC is analogous to the SISO GPC algorithm where the long term prediction is expressed as Gi(z-1)Au(t +j-1)+ Cip(z- l)Au(t ¨ 1) F(z -1)y(t), j=N1 ... N2 (11) So that if = F(z. l)y(t)+G(- z u(t ¨ 1) JP (12) At every sampling instant the optimal Au is evaluated using the matrices obtained from the Diophantine recursion and the prediction in both cases using Eq. (9).
Correction Parameter In certain embodiments, the new MPC controller designs and methods suggested here are to be considered for reference profiles that are continuous and complex. The correction parameter i is developed as a solution to the complex trajectory tracking problem for MPC algorithms where disturbance and modeling errors have been addressed. The following discussion uses a DMC algorithm and standard Laplace first order plant models. Simulations and experiments are conducted in the next section using DMC and GPC approaches to demonstrate the versatility of the 1-MPC solution.
/i-MPC for sloped trajectory offset Predictive controllers are increasingly being used to track profiles such as ramps, sinusoids and other complex profiles. Current MPC formulation results in a steady error observed in tracking sloped trajectories. The offset that is being discussed here is identified as resulting from prediction formulation and plant time constants.
Therefore, traditional disturbance rejection and modeling error compensating methods are not appropriate. Figs. 2 and 3 show the performances of three MPC approaches given a known disturbance, they are a standard MPC algorithm, a disturbance based MPC
algorithm and an introduced 1-MPC method with the disturbance rejection feature.
Figs. 2 and 3 demonstrate that even when a disturbance is known and accounted for there still exists an offset when using standard MPC methods to track ramp reference trajectories. The MPC algorithm used in the simulation is DMC which accounts for modeling errors by adding the difference of the first element of .9 and the measured plant response. One of the reasons that the offset still exists is because the optimization of the controller at each time instant is evaluated over the prediction horizon with a constant future setpoint value. This standard approach is not appropriate for time varying reference profiles. It is important to note that future reference trajectory may not always be known and it is desirable to have a tracking solution that is independent of future knowledge of the reference trajectory. In order to achieve this and reduce the offset error, the standard formulation of .i3 needs to be altered in current MPC algorithms.
To do so the following assumptions are made.
Assumption 1. In order to adjust the prediction obtained by the MPC algorithm the reference trajectory slope will increase from instant (t) to instant (t +1) by the same amount as it did from instant (t -1) to time instant (t). That is that 4 is constant from (t -1) until (t +1):
rit (13) tit+, .rit¨rit_/ (14) Assumption 2. Based on the performance of traditional MPC schemes, the corresponding offset error is proportional to the slope of the reference trajectory.
Given the above assumptions, an initial adjustment to j3 is made as Sr'c=4-1-t (15) In support of the above assumptions the modification in Eq. (15) is applied to the standard DMC algorithms and is simulated here. Fig. 4 shows the small improvement that makes for three different constant sloped setpoint profiles. For convenience of presentation, the control actions are excluded from the remainder of simulation figures.
The simulation in Fig. 4 shows that the adjustment to j3 reduces the offset error e(t) proportional to the trajectory slope. The difference in e(t) that this initial adjustment makes is small but important because it is a factor in the complete q-MPC
solution.
Next, the effects of are considered. The removal of the offset is not achieved by C-because standard prediction formulations are not designed to track sloped trajectories and therefore do not properly capture the effects of the system time constant.
This is so since the time constant of the system prevents immediate response during the prediction made at each timestep and is magnified for sloped setpoint trajectories.
Compensating for this in combination with the adjustment provides the basis of the ri solution.
When the transient properties of the controlled plant are constant, then multiplying 6 by a compensating amount related to z 'will eliminate the offset. This amount is ri and the complete solution is expressed as an adjustment to the prediction. Note that the absolute value of ri is used because ri is a scalar:
Siglt =--91r+fritgr (16) The ri prediction form 53 n replaces the standard approach where ri has the form of an integral gain. In doing so the steady state offset is eliminated in a fashion similar to that of a PID controller but without the direct relationship to plant parameters that a PID
would require. The results of implementing the prediction adjustment are shown in Fig. 5.
A block diagram representation of an ri-MPC controller and method according to an embodiment of the present invention is shown in Fig. 6. In this embodiment the adjustment is applied to the prediction so that the optimizer reduces the error over the prediction horizon where the error is:
e(t) = r(t) ¨ 9,1(0 Where 5/(t) + adjustment Note, this configuration can be modified so that the adjustment is applied to the reference. Fig. 6 illustrates a manner in which a correction parameter for time lag can be applied to a conventional MPC controller without knowledge of the process model thereby increasing the performance of the MPC controller, particularly when used to track complex trajectories. In particular, the MPC controller of Fig. 6 is similar to that of Fig. 1 with like elements having the same reference numerals. However, an adjustment
10 (correction parameter) is provided to adjust for time lag and add this component to the prediction 12 output by the MPC control algorithm. This allows the optimizer to optimize for time lag.
A block diagram representation of an ri-MPC controller and method according to another embodiment of the present invention is shown in Fig. 26. The MPC controller of Fig. 26 is similar to that of Fig. 6 with like elements having the same reference numerals.
However, the adjustment 10 (correction parameter) is added to the reference trajectory 14. This allows the optimizer to optimize for time lag.In this embodiment the adjustment is applied to the reference trajectory as opposed to the prediction as in the embodiment of Fig.6. The optimizer reduces the error over the prediction horizon where the error is:
e(t) 7-,1(t) ¨ 9(0 Where r(t) = 7-(t) + adjustment Selection and tuning of ti For generality it is suggested that the value of rl be calculated on-line with Eq. (17) given the condition that the error, et = 0 when using the correct value of ri to track slopes.
Therefore, the value of 77 can be obtained using the previous value error as (17) The value of 77 at t=-0 is qt and for the purpose of this study will be selected as zero. The ri solution is calculated on-line and is adjusted at every time instant.
Therefore, this method can be extended to non-linear controllers. The formulation of Eq. (17) can result in aggressive control move compensation. To solve this a weighting factor o is used to condition the rate of change of 77:
= 11t -1+ cer-i (18) Figs. 7, 8 and 9 present dynamics of a close loop MPC control when a is varied and plant parameters along with sloped reference trajectory remain constant. If a is too large then ri forces excessive compensation in the calculation of the control actions resulting in oscillations in the response as seen in Fig. 7. The aggressive estimation of ri is to blame for the poor control performance. The evolution of q for different values of a is shown in Fig. 8.
On the other hand if the value of a is too small, then ri slowly converges to its optimal value.
In this case the offset error is slowly reduced as seen in Fig. 9. If a = 0 then there will be no change in 11 and if rb =0 then the control performance is that of a standard MPC where the offset error is not accounted for. The thick line in Figs. 7, 8 and 9 emphasizes the desired dynamics that can be obtained with proper selection of a.
Values of Ili > 0 will have an effect on the dynamics of the response and can be conditioned with proper selection of G. The best value for a will differ for slope trajectories because steeper reference trajectories will allow more aggressive growth of i without introducing overshoot into the response. In order to achieve the best control performance while using i7-MPC to track sloped trajectories the reference trajectory slope and gi along with controller parameters that affect closed loop time constant characteristics will need to be considered. Basic optimization techniques were used to conduct a preliminary investigation on how the best value of sigma is affected by some plant parameters. The results while varying sampling time, dt and T, are shown for a slope of 1 in Fig. 10. These preliminary results show large dependencies of a on plant properties.
Date Recue/Date Received 2021-08-02 In the above explanation of ri-MPC examples are shown using constant slope trajectories. The TI-MPC solution can easily be extended to continuous complex reference trajectories by approximating those trajectories as a series of slopes. From assumption one, the slope approximation is made on-line over three sampling instants. The results of such approximations are favorable and are shown in the Simulations and Experimental results sections, herein.
The formulation of the ti introduces excessive growth during deadtime. To prevent this and for convenience a simple scheme is used to limit the increase of j. The value of 17 is evaluated Ail ilt ¨lit- (19) and )7 is bounded to a maximum value. This process was used for the electric motor speed control and simulation examples presented in the Simulations and Results sections.
Simulations The following is a description of the four plants used to conduct simulations using standard control schemes and schemes that include Important r1-MPC design parameters can be found in Table 1.
Table 1 Important parameters for controller tuning.
Plant q-DMC q-GPC
dt dt Simulation Plant 1 0.01 0.02 0.5 0.02 Simulation Plant 2 40 5 4 5 Simulation Plant 3 2/2a 0.02 2/5a 0.02 Simulation Plant 4 0.3 0.1 0.9 0.1 a Output MI/Output M2.
Plant models The results presented below are simulations obtained in order to demonstrate the functionality of using i. Four different types of plants are simulated to test n. They are:
1. Linear first order 2. First order plus deadtime 3. Multi variable second order 4. First order non-linear Plant 1 is an elementary first order plant represented by the transfer function:
Y(s) 10 (20) Li(s)¨ 0.5s+ 1 Plant 2 is described by Shridhar and Cooper (1997):
e-50s (21) GP(s) ¨(150s + 1X25s+1) This plant was chosen to challenge Ti solution because it displays significant deadtime.
Plant 3 is a coupled mass¨spring system and is an example of ri extended to MIMO
plants. This plant was also chosen to challenge i solution as it is a higher order lightly damped system. The plant dynamics are described in Chen,Lin and Chen (2008):
0.58 Gii(s)=s2+0.84s+1.21 (22a) 1.03 (22b) s2+0.915+1.69 0.68 G21(5) = s2 + 0.83s+1.42 (22c) 0.88 G22(s)----52+0.86s+1.43 (22d) where Gil represents the effects of forces applied to mass 1 on the response of mass 1, G12 represents the effects of forces applied to mass 2 on the response of mass 1, G21 represents the effects of forces applied to mass 1 on the response of mass 2 and G22 represents the effects of forces applied to mass 2 on the response of mass 2.
To investigate the potential of using lion nonlinear plants, plant 4 is a system with deadtime having nonlinear behavior (Abu- Ayyad & Dubay, 2010):
=
y(t) =Yr-2*(Yr +2.5) (23) 2 +Ur A unit step response of Eq. (23) is used to create the P matrix equation (1) and the CARIMA model equation (6) for the design of the linear simulated DMC and GPC
controllers:
Y(s) 4.32e¨"' (24) U(s) ¨ 0.43s+ 1 Plant 4 in Eq. (23) is used in order to demonstrate the potential of using tj methodology to control nonlinear plants while the standard MPC linear structure remains intact Eq.
(23).
Results The following are simulated controlled responses of the above four plants.
Plant I
Fig. 11 shows the closed-loop response to tracking a complex trajectory approximated as a series of slopes. The results presented in Table 2 show a comparison of mean =
squared error, MSE for the 11 approach (termed -DMC) and the standard DMC.
Table 2 MPC and q-MPC MSE results for plant 1.
= Trajectory MSE, DMC MSE, q-DMC MSE, GPC MSE,I-GPC
0.3291 03291 0.0809 0.0809 20.0406 3.8710 0.1646 0.0261 4.0777 0.2513 0.0327 0.0018 513.9559 63.4394 3.6982 0.4661 618.8692 3.4243 6.7357 0.1641 The above simulation tests using ri conducted for DMC were repeated using GPC
in = Fig. 12. The comparison of MSE for GPC and ri-GPC was conducted and is presented in Table 1.
The results in Figs. 11 and 12 demonstrate the control performance improvement that ii makes over both standard algorithms, when tracking complex reference profiles for Plant 1. This is also evident in the reduction of MSE values as in Table I.
=
Plant 2 The results of the simulations shown in Figs. 13 and 14 clearly present the improvement of using ri on the MPC controllers.
In these simulations 11 handles the large deadtime attribute of Plant 2. Note that the approach here demonstrates the use of an unconstrained 11 with an appropriate constant value of o. Further improvement can be achieved using a calculated varying value of G.
The. key point however is that the offset error is significantly reduced over larger time scales.
Plant 3 The third simulated plant is a MIMO plant that is second order and lightly damped.
.. The n method can be extended to each output prediction of the MIMO plant.
In Figs. 15 and 16 n is not constrained and as a result of the higher order dynamics, relatively high oscillations are obtained. Comparatively, the offset error is significantly reduced.
When n is constrained the overshoot is suppressed and the oscillation decay faster for good sctpoint tracking. The simulated results of the constrained n simulations are illustrated in Figs. 17 and 18 with improved closed-loop responses over the standard MPC control algorithms.
Plant 4 The nonlinear Plant 4 simulation results are shown in Figs. 19 and 20.
Overall, both traditional controllers demonstrated improved control performance using n. A key point is that the i based GPC showed the best tracking since the structure of GPC provides better prediction and consequently improved control. It should be noted that this simulation demonstrates the effectiveness of n to a nonlinear plant:
the controllers are formulated using the linear transfer function equation (24) while simulated y is obtained from the nonlinear model equation (23).
Experimental Results Experiments were conducted on a motor/tachogenerator set-up depicted in Fig.
21 in which the new MPC controller technique described herein may be implemented in the process controller implemented in the CPU.
In the conducted experiment, dt=0.02 s and a -= 0:05 for the n-DMC and n-GPC
controllers. The results of DMC and n-DMC control performance of the electric motor are shown in Figs. 22 and 23.
The MSE recorded during the experiments was reduced by an approximate factor of 8 using the n-DNIC algorithm. GPC and i1-GPC were subjected to the same reference trajectories as in the above test. The CARIMA model for both GPC controllers was altered for these experiments to demonstrate how the n-GPC controller can compensate for model mismatch. The model mismatch was created by modifying A(z -1) polynomial.
Similarly, a control performance improvement was observed as shown in Fig. 24 demonstrating that model mismatch can be effectively handled by the approach.
The result when removing the model mismatch is shown in Figs. 24 and 25.
While the improvement in both plots is not easily perceived, the MSE recorded during the experiments was reduced by an approximate factor of 3 using the ri-GPC
algorithm.
Although the invention has been described with reference to the specific exemplary embodiments intended to instruct and illustrate the invention, the disclosed MPC
controller and technique is not limited to those embodiments. Various modifications, improvements and additions may be implemented by those with skill in the art, and such modifications, improvements, and additions will not depart from the scope of the invention.
Also, those skilled in the art will understand that the partitioning of individual components of the MPC controller blocks and controller units as described herein is discretionary to those responsible for controller implementation and operation. It will be understood that all of these functions can be implemented in any desired manner on any desired device(s). Moreover, while the MPC controller technique described herein is preferably implemented in software, it or any portions thereof may be implemented in hardware, firmware, etc., and may be implemented by any other processor associated with a process control system. Thus, the elements described herein may be implemented in a standard multi-purpose CPU or on specifically designed hardware or firmware such as an application-specific integrated circuit (ASIC) or other hard-wired device as desired.
When implemented in software, the software routine may be stored in any computer readable memory such as on a magnetic disk, a laser disk (such as a CD, a DVD, etc.), a flash drive or other storage medium, in a RAM or ROM of a computer or processor, in any database, etc. Likewise, this software may be delivered to a user or a plant such as a process plant via any known or desired delivery method including, for example, on a computer readable disk, a smart card memory, a flash drive, or other transportable computer storage mechanism or over a communication channel such as a telephone line, the internet, etc. (which are viewed as being the same as or interchangeable with providing such software via a transportable storage medium).
Moreover, the claims provided herein are properly construed to embrace all = 10 modifications, variations and improvements that fall within the true spirit and scope of the invention, as well as substantial equivalents thereof. Accordingly, other embodiments of the invention, although not described with particularly herein, are none-the-less comprehended within the scope of the invention.
= 15 References Abu-Ayyad, M., & Dubay, R. (2006). SISO extended predictive control ¨
formulation and the basic algorithm. ISA Transactions, 45,9-20.
Abu-Ayyad, M., & Dubay, R. (2010). Improving the performance of generalized predictive control for nonlinear processes. Industrial & Engineering Chemistry Research, 49(10), 4809-4816.
All, J., Yu, J., & Hauser, J. (2001). Unconstrained receding-horizon control of nonlinear systems. IEEE Transactions on Automatic Controls, 46(5), 776-783.
Bolognani, S., Peretti, L., & Zigliotto, M. (2009). Design and implementation of model predictive control for electrical motor drives. IEEE Transactions on Industrial Electronics, 56(6), 1925-1936.
Chen, C.-H., Lin, C.-M., & Chen, T.-Y (2008). Intelligent adaptive control for MIMO
uncertain nonlinear systems. Expert Systems with Applications, 35(3), 865-877.
Clark, D., Mohtadi, C., & Tuffs, P. S. (1987). Generalized predictive control ¨ part 1.
The basic algorithm. Automatica, 23(2), 137-148.
Dalamagkidis, K., Valavanis, K. P., & Piegl, L. A. (2011). Nonlinear model predictive control with neural network optimization for autonomous autorotation of small unmanned helicopters. IEEE Transactions on Control System Technology, 19, 818-831.
Diehl, M., Amrit, R., & Rawlings, J. B. (2011). A Lyapunov function for economic optimizing model predictive control. IEEE Transactions on Automatic Control, 56, 703-707.
Dubay, R., Kember, G., Lakshminarayan, C., & Pramujati, B. (2006). Development of characteristic equations and robust stability analysis for SISO move suppressed and shifted DMC. ISA Transactions, 45, 21-33.
=
Dubay, R., Pramujati, B., Han, J., & Strohmaier, F. (2007). An investigation on the application of predictive control for controlling screw position and velocity on an injection molding machine. Polymer Engineering and Science, 47, 390-399.
Golshan, M., MacGregor, J. F., Bruwer, M.-J., & Mhaskar, P. (2010). Latent variable Model Predictive Control (LV-MPC) for trajectory tracking in batch processes.
Journal of Process Control, 20, 538-550.
Gregor, K., & Skrjanc, I. (2007). Tracking-error model-based predictive control for mobile robots in real time. Robotics and Autonomous Systems, 55, 460-469.
Hassan, M., Dubay, R., Li, C., & Wang, R. (2007). Active vibration control of flexible one-link manipulator using a multivariable predictive controller.
Mechatronics, 17, 311-323.
Jesus, F.-C., & MacGregor, J. F. (2005). Latent variable MPC for trajectory tracking in batch processes. Journal of Process Control, 15, 621-663.
Kim, H. J., & Shim, D. H. (2003). A flight control system for aerial robots:
Algorithms and experiments. Control Engineering Practice, 11, 1389-1400.
Lauri, D., Rossiter, J. A., Sanchisa, J., & Martineza, M. (2010). Data-driven latent-variable model-based predictive control for continuous processes. Journal of Process Control, 20, 1207-1219.
Lee, J. H. (2011). Model predictive control: Review of the three decades of develop-ment. International Journal of Control, Automation, and Systems, 9, 415-424.
Li, T.-H. S., Su, Y.-T., Shao-Hsien Liu, J.-J. H., & Chen, C.-C. (2012).
Dynamic balance control for biped robot walking using sensor fusion, Kalman filter, and fuzzy logic. IEEE
Transactions on Industrial Electronics, 59, 4394.
Magni, L., & Scattolini, R. (2005). On the solution of the tracking problem for nonlinear systems with MPC. International Journal of Systems Science, 36, 477-484.
Mayne, D., Rawlings, J., Rao, C., & Scokaert, P. (2000). Constrained model predictive control: Stability and optimality. Automatica, 36, 789-814.
Qin, S. J., & Badgwell, T. A. (2003). A survey of industrial model predictive control technology. Control Engineering Practice, 2, 733-764.
Rawlings, J. B., & Mayne, D. Q. (2009). Model predictive control: Theory and design.
Madison, WI: Nob Hill Publishing.
Ren, W., & Beard, R. W. (2004). Trajectory tracking for unmanned air vehicles with velocity and heading rate constraints. IEEE Transactions on Control Systems Technology, 12, 706-716.
Runzi, C., & Low, K.-S. (2009). A repetitive model predictive control approach for precision tracking of a linear motion system. IEEE Transactions on Industrial Electronics, 56, 1955-1961.
Shridhar, R., & Cooper, D. J. (1997). A tuning strategy for unconstrained SISO
model predictive control. Industrial & Engineering Chemistry Research, 36, 729-746.
Yang, Y., & Gao, F. (2000). Adaptive control of the filling velocity of thermoplastics injection molding. Control Engineering Practice, 8, 1285-1296.
A block diagram representation of an ri-MPC controller and method according to another embodiment of the present invention is shown in Fig. 26. The MPC controller of Fig. 26 is similar to that of Fig. 6 with like elements having the same reference numerals.
However, the adjustment 10 (correction parameter) is added to the reference trajectory 14. This allows the optimizer to optimize for time lag.In this embodiment the adjustment is applied to the reference trajectory as opposed to the prediction as in the embodiment of Fig.6. The optimizer reduces the error over the prediction horizon where the error is:
e(t) 7-,1(t) ¨ 9(0 Where r(t) = 7-(t) + adjustment Selection and tuning of ti For generality it is suggested that the value of rl be calculated on-line with Eq. (17) given the condition that the error, et = 0 when using the correct value of ri to track slopes.
Therefore, the value of 77 can be obtained using the previous value error as (17) The value of 77 at t=-0 is qt and for the purpose of this study will be selected as zero. The ri solution is calculated on-line and is adjusted at every time instant.
Therefore, this method can be extended to non-linear controllers. The formulation of Eq. (17) can result in aggressive control move compensation. To solve this a weighting factor o is used to condition the rate of change of 77:
= 11t -1+ cer-i (18) Figs. 7, 8 and 9 present dynamics of a close loop MPC control when a is varied and plant parameters along with sloped reference trajectory remain constant. If a is too large then ri forces excessive compensation in the calculation of the control actions resulting in oscillations in the response as seen in Fig. 7. The aggressive estimation of ri is to blame for the poor control performance. The evolution of q for different values of a is shown in Fig. 8.
On the other hand if the value of a is too small, then ri slowly converges to its optimal value.
In this case the offset error is slowly reduced as seen in Fig. 9. If a = 0 then there will be no change in 11 and if rb =0 then the control performance is that of a standard MPC where the offset error is not accounted for. The thick line in Figs. 7, 8 and 9 emphasizes the desired dynamics that can be obtained with proper selection of a.
Values of Ili > 0 will have an effect on the dynamics of the response and can be conditioned with proper selection of G. The best value for a will differ for slope trajectories because steeper reference trajectories will allow more aggressive growth of i without introducing overshoot into the response. In order to achieve the best control performance while using i7-MPC to track sloped trajectories the reference trajectory slope and gi along with controller parameters that affect closed loop time constant characteristics will need to be considered. Basic optimization techniques were used to conduct a preliminary investigation on how the best value of sigma is affected by some plant parameters. The results while varying sampling time, dt and T, are shown for a slope of 1 in Fig. 10. These preliminary results show large dependencies of a on plant properties.
Date Recue/Date Received 2021-08-02 In the above explanation of ri-MPC examples are shown using constant slope trajectories. The TI-MPC solution can easily be extended to continuous complex reference trajectories by approximating those trajectories as a series of slopes. From assumption one, the slope approximation is made on-line over three sampling instants. The results of such approximations are favorable and are shown in the Simulations and Experimental results sections, herein.
The formulation of the ti introduces excessive growth during deadtime. To prevent this and for convenience a simple scheme is used to limit the increase of j. The value of 17 is evaluated Ail ilt ¨lit- (19) and )7 is bounded to a maximum value. This process was used for the electric motor speed control and simulation examples presented in the Simulations and Results sections.
Simulations The following is a description of the four plants used to conduct simulations using standard control schemes and schemes that include Important r1-MPC design parameters can be found in Table 1.
Table 1 Important parameters for controller tuning.
Plant q-DMC q-GPC
dt dt Simulation Plant 1 0.01 0.02 0.5 0.02 Simulation Plant 2 40 5 4 5 Simulation Plant 3 2/2a 0.02 2/5a 0.02 Simulation Plant 4 0.3 0.1 0.9 0.1 a Output MI/Output M2.
Plant models The results presented below are simulations obtained in order to demonstrate the functionality of using i. Four different types of plants are simulated to test n. They are:
1. Linear first order 2. First order plus deadtime 3. Multi variable second order 4. First order non-linear Plant 1 is an elementary first order plant represented by the transfer function:
Y(s) 10 (20) Li(s)¨ 0.5s+ 1 Plant 2 is described by Shridhar and Cooper (1997):
e-50s (21) GP(s) ¨(150s + 1X25s+1) This plant was chosen to challenge Ti solution because it displays significant deadtime.
Plant 3 is a coupled mass¨spring system and is an example of ri extended to MIMO
plants. This plant was also chosen to challenge i solution as it is a higher order lightly damped system. The plant dynamics are described in Chen,Lin and Chen (2008):
0.58 Gii(s)=s2+0.84s+1.21 (22a) 1.03 (22b) s2+0.915+1.69 0.68 G21(5) = s2 + 0.83s+1.42 (22c) 0.88 G22(s)----52+0.86s+1.43 (22d) where Gil represents the effects of forces applied to mass 1 on the response of mass 1, G12 represents the effects of forces applied to mass 2 on the response of mass 1, G21 represents the effects of forces applied to mass 1 on the response of mass 2 and G22 represents the effects of forces applied to mass 2 on the response of mass 2.
To investigate the potential of using lion nonlinear plants, plant 4 is a system with deadtime having nonlinear behavior (Abu- Ayyad & Dubay, 2010):
=
y(t) =Yr-2*(Yr +2.5) (23) 2 +Ur A unit step response of Eq. (23) is used to create the P matrix equation (1) and the CARIMA model equation (6) for the design of the linear simulated DMC and GPC
controllers:
Y(s) 4.32e¨"' (24) U(s) ¨ 0.43s+ 1 Plant 4 in Eq. (23) is used in order to demonstrate the potential of using tj methodology to control nonlinear plants while the standard MPC linear structure remains intact Eq.
(23).
Results The following are simulated controlled responses of the above four plants.
Plant I
Fig. 11 shows the closed-loop response to tracking a complex trajectory approximated as a series of slopes. The results presented in Table 2 show a comparison of mean =
squared error, MSE for the 11 approach (termed -DMC) and the standard DMC.
Table 2 MPC and q-MPC MSE results for plant 1.
= Trajectory MSE, DMC MSE, q-DMC MSE, GPC MSE,I-GPC
0.3291 03291 0.0809 0.0809 20.0406 3.8710 0.1646 0.0261 4.0777 0.2513 0.0327 0.0018 513.9559 63.4394 3.6982 0.4661 618.8692 3.4243 6.7357 0.1641 The above simulation tests using ri conducted for DMC were repeated using GPC
in = Fig. 12. The comparison of MSE for GPC and ri-GPC was conducted and is presented in Table 1.
The results in Figs. 11 and 12 demonstrate the control performance improvement that ii makes over both standard algorithms, when tracking complex reference profiles for Plant 1. This is also evident in the reduction of MSE values as in Table I.
=
Plant 2 The results of the simulations shown in Figs. 13 and 14 clearly present the improvement of using ri on the MPC controllers.
In these simulations 11 handles the large deadtime attribute of Plant 2. Note that the approach here demonstrates the use of an unconstrained 11 with an appropriate constant value of o. Further improvement can be achieved using a calculated varying value of G.
The. key point however is that the offset error is significantly reduced over larger time scales.
Plant 3 The third simulated plant is a MIMO plant that is second order and lightly damped.
.. The n method can be extended to each output prediction of the MIMO plant.
In Figs. 15 and 16 n is not constrained and as a result of the higher order dynamics, relatively high oscillations are obtained. Comparatively, the offset error is significantly reduced.
When n is constrained the overshoot is suppressed and the oscillation decay faster for good sctpoint tracking. The simulated results of the constrained n simulations are illustrated in Figs. 17 and 18 with improved closed-loop responses over the standard MPC control algorithms.
Plant 4 The nonlinear Plant 4 simulation results are shown in Figs. 19 and 20.
Overall, both traditional controllers demonstrated improved control performance using n. A key point is that the i based GPC showed the best tracking since the structure of GPC provides better prediction and consequently improved control. It should be noted that this simulation demonstrates the effectiveness of n to a nonlinear plant:
the controllers are formulated using the linear transfer function equation (24) while simulated y is obtained from the nonlinear model equation (23).
Experimental Results Experiments were conducted on a motor/tachogenerator set-up depicted in Fig.
21 in which the new MPC controller technique described herein may be implemented in the process controller implemented in the CPU.
In the conducted experiment, dt=0.02 s and a -= 0:05 for the n-DMC and n-GPC
controllers. The results of DMC and n-DMC control performance of the electric motor are shown in Figs. 22 and 23.
The MSE recorded during the experiments was reduced by an approximate factor of 8 using the n-DNIC algorithm. GPC and i1-GPC were subjected to the same reference trajectories as in the above test. The CARIMA model for both GPC controllers was altered for these experiments to demonstrate how the n-GPC controller can compensate for model mismatch. The model mismatch was created by modifying A(z -1) polynomial.
Similarly, a control performance improvement was observed as shown in Fig. 24 demonstrating that model mismatch can be effectively handled by the approach.
The result when removing the model mismatch is shown in Figs. 24 and 25.
While the improvement in both plots is not easily perceived, the MSE recorded during the experiments was reduced by an approximate factor of 3 using the ri-GPC
algorithm.
Although the invention has been described with reference to the specific exemplary embodiments intended to instruct and illustrate the invention, the disclosed MPC
controller and technique is not limited to those embodiments. Various modifications, improvements and additions may be implemented by those with skill in the art, and such modifications, improvements, and additions will not depart from the scope of the invention.
Also, those skilled in the art will understand that the partitioning of individual components of the MPC controller blocks and controller units as described herein is discretionary to those responsible for controller implementation and operation. It will be understood that all of these functions can be implemented in any desired manner on any desired device(s). Moreover, while the MPC controller technique described herein is preferably implemented in software, it or any portions thereof may be implemented in hardware, firmware, etc., and may be implemented by any other processor associated with a process control system. Thus, the elements described herein may be implemented in a standard multi-purpose CPU or on specifically designed hardware or firmware such as an application-specific integrated circuit (ASIC) or other hard-wired device as desired.
When implemented in software, the software routine may be stored in any computer readable memory such as on a magnetic disk, a laser disk (such as a CD, a DVD, etc.), a flash drive or other storage medium, in a RAM or ROM of a computer or processor, in any database, etc. Likewise, this software may be delivered to a user or a plant such as a process plant via any known or desired delivery method including, for example, on a computer readable disk, a smart card memory, a flash drive, or other transportable computer storage mechanism or over a communication channel such as a telephone line, the internet, etc. (which are viewed as being the same as or interchangeable with providing such software via a transportable storage medium).
Moreover, the claims provided herein are properly construed to embrace all = 10 modifications, variations and improvements that fall within the true spirit and scope of the invention, as well as substantial equivalents thereof. Accordingly, other embodiments of the invention, although not described with particularly herein, are none-the-less comprehended within the scope of the invention.
= 15 References Abu-Ayyad, M., & Dubay, R. (2006). SISO extended predictive control ¨
formulation and the basic algorithm. ISA Transactions, 45,9-20.
Abu-Ayyad, M., & Dubay, R. (2010). Improving the performance of generalized predictive control for nonlinear processes. Industrial & Engineering Chemistry Research, 49(10), 4809-4816.
All, J., Yu, J., & Hauser, J. (2001). Unconstrained receding-horizon control of nonlinear systems. IEEE Transactions on Automatic Controls, 46(5), 776-783.
Bolognani, S., Peretti, L., & Zigliotto, M. (2009). Design and implementation of model predictive control for electrical motor drives. IEEE Transactions on Industrial Electronics, 56(6), 1925-1936.
Chen, C.-H., Lin, C.-M., & Chen, T.-Y (2008). Intelligent adaptive control for MIMO
uncertain nonlinear systems. Expert Systems with Applications, 35(3), 865-877.
Clark, D., Mohtadi, C., & Tuffs, P. S. (1987). Generalized predictive control ¨ part 1.
The basic algorithm. Automatica, 23(2), 137-148.
Dalamagkidis, K., Valavanis, K. P., & Piegl, L. A. (2011). Nonlinear model predictive control with neural network optimization for autonomous autorotation of small unmanned helicopters. IEEE Transactions on Control System Technology, 19, 818-831.
Diehl, M., Amrit, R., & Rawlings, J. B. (2011). A Lyapunov function for economic optimizing model predictive control. IEEE Transactions on Automatic Control, 56, 703-707.
Dubay, R., Kember, G., Lakshminarayan, C., & Pramujati, B. (2006). Development of characteristic equations and robust stability analysis for SISO move suppressed and shifted DMC. ISA Transactions, 45, 21-33.
=
Dubay, R., Pramujati, B., Han, J., & Strohmaier, F. (2007). An investigation on the application of predictive control for controlling screw position and velocity on an injection molding machine. Polymer Engineering and Science, 47, 390-399.
Golshan, M., MacGregor, J. F., Bruwer, M.-J., & Mhaskar, P. (2010). Latent variable Model Predictive Control (LV-MPC) for trajectory tracking in batch processes.
Journal of Process Control, 20, 538-550.
Gregor, K., & Skrjanc, I. (2007). Tracking-error model-based predictive control for mobile robots in real time. Robotics and Autonomous Systems, 55, 460-469.
Hassan, M., Dubay, R., Li, C., & Wang, R. (2007). Active vibration control of flexible one-link manipulator using a multivariable predictive controller.
Mechatronics, 17, 311-323.
Jesus, F.-C., & MacGregor, J. F. (2005). Latent variable MPC for trajectory tracking in batch processes. Journal of Process Control, 15, 621-663.
Kim, H. J., & Shim, D. H. (2003). A flight control system for aerial robots:
Algorithms and experiments. Control Engineering Practice, 11, 1389-1400.
Lauri, D., Rossiter, J. A., Sanchisa, J., & Martineza, M. (2010). Data-driven latent-variable model-based predictive control for continuous processes. Journal of Process Control, 20, 1207-1219.
Lee, J. H. (2011). Model predictive control: Review of the three decades of develop-ment. International Journal of Control, Automation, and Systems, 9, 415-424.
Li, T.-H. S., Su, Y.-T., Shao-Hsien Liu, J.-J. H., & Chen, C.-C. (2012).
Dynamic balance control for biped robot walking using sensor fusion, Kalman filter, and fuzzy logic. IEEE
Transactions on Industrial Electronics, 59, 4394.
Magni, L., & Scattolini, R. (2005). On the solution of the tracking problem for nonlinear systems with MPC. International Journal of Systems Science, 36, 477-484.
Mayne, D., Rawlings, J., Rao, C., & Scokaert, P. (2000). Constrained model predictive control: Stability and optimality. Automatica, 36, 789-814.
Qin, S. J., & Badgwell, T. A. (2003). A survey of industrial model predictive control technology. Control Engineering Practice, 2, 733-764.
Rawlings, J. B., & Mayne, D. Q. (2009). Model predictive control: Theory and design.
Madison, WI: Nob Hill Publishing.
Ren, W., & Beard, R. W. (2004). Trajectory tracking for unmanned air vehicles with velocity and heading rate constraints. IEEE Transactions on Control Systems Technology, 12, 706-716.
Runzi, C., & Low, K.-S. (2009). A repetitive model predictive control approach for precision tracking of a linear motion system. IEEE Transactions on Industrial Electronics, 56, 1955-1961.
Shridhar, R., & Cooper, D. J. (1997). A tuning strategy for unconstrained SISO
model predictive control. Industrial & Engineering Chemistry Research, 36, 729-746.
Yang, Y., & Gao, F. (2000). Adaptive control of the filling velocity of thermoplastics injection molding. Control Engineering Practice, 8, 1285-1296.
Claims (20)
1. A method for controlling the functioning of a plant comprising:
acquiring plant output data from a sensor measuring a physical output of the plant;
inputting the plant output data into a computer system comprising a central processing unit and model predictive controller, measuring, using the computer system, the difference between a prediction model output of the model predictive controller and a reference;
calculating, using the computer system, a correction parameter based on the measured difference;
applying, using the computer system, the correction parameter to the prediction model output to adjust the prediction model output for plant time constant;
using the adjusted prediction model output to adjust a physical input to the plant to control the functioning of the plant.
acquiring plant output data from a sensor measuring a physical output of the plant;
inputting the plant output data into a computer system comprising a central processing unit and model predictive controller, measuring, using the computer system, the difference between a prediction model output of the model predictive controller and a reference;
calculating, using the computer system, a correction parameter based on the measured difference;
applying, using the computer system, the correction parameter to the prediction model output to adjust the prediction model output for plant time constant;
using the adjusted prediction model output to adjust a physical input to the plant to control the functioning of the plant.
2. The method of claim 1, including wherein the steps of measuring the difference and applying the correction are carried out on-line.
3. The method of claim 1 or 2, wherein the reference is a reference trajectory and the plant being controlled has a trajectory profile where the reference trajectory is varying with respect to time.
4. The method of any one of claims 1 to 3, further comprising providing the adjusted prediction model output to an optimizer of the model predictive controller.
5. The method of claim 3, wherein the step of calculating the correction parameter further including applying an optimization method to calculate the correction parameter.
6. The method of claim 5, further including calculating an offset error based on the slope of the reference trajectory and using the offset error to calculate the correction parameter.
7. The method of any one of claims 1 to 6, further including repeating the measuring, calculating, applying and adjusting steps at one or more additional sampling instances.
8. The method of any one of claims 1 to 7, wherein the reference is a value representing a measurable physical state of the plant.
9. The method of claim 8, wherein the physical state of the plant is selected from the group consisting of temperature, fluid level, and speed.
10. The method of any one of claims 1 to 9, wherein further comprising providing the adjusted prediction model output to an actuator for adjusting the physical input to the plant to control the functioning of the plant.
11. A system for controlling the functioning of a plant comprising:
a sensor for acquiring plant output data by measuring a physical output of the plant; the sensor connect to a controller unit to provide the plant output data to the controller unit, the controller unit comprising a computer processor and memory communicatively coupled to the processor which stores a computer program which, when executed by the processor, performs a method for controlling the plant, the method comprising:
using Model Predictive Control to generate a prediction model;
measuring the difference between the prediction model and a reference;
calculating a correction parameter based on the measured difference;
applying the correction parameter to the prediction model output to adjust the prediction model output for plant time constant; and an actuator for adjusting a physical input to the plant to control the functioning of the plant using the adjusted prediction model output.
a sensor for acquiring plant output data by measuring a physical output of the plant; the sensor connect to a controller unit to provide the plant output data to the controller unit, the controller unit comprising a computer processor and memory communicatively coupled to the processor which stores a computer program which, when executed by the processor, performs a method for controlling the plant, the method comprising:
using Model Predictive Control to generate a prediction model;
measuring the difference between the prediction model and a reference;
calculating a correction parameter based on the measured difference;
applying the correction parameter to the prediction model output to adjust the prediction model output for plant time constant; and an actuator for adjusting a physical input to the plant to control the functioning of the plant using the adjusted prediction model output.
12. The system of claim 11, wherein the controller unit measures the difference and applies the correction on-line.
13. The system of claim 11 or 12, wherein the reference is a reference trajectory and the plant being controlled has a trajectory profile where the reference trajectory is varying with respect to time.
14. The system of any one of claims 11 to 13, wherein the controller further comprises an optimizer and provides the adjusted prediction model output to the optimizer.
15. The system of any one of claims 11 to 14, wherein in place of the controller applying the correction to the model output, the controller applies the correction to the reference.
16. The system of any one of claims 11 to 15, wherein the method for controlling the plant further comprises calculating an offset error based on the slope of the reference trajectory and using the offset error to calculate the correction parameter.
17. The system of any one of claims 11 to 16, wherein the method for controlling the plant further comprises repeating the measuring, calculating, and applying steps, and repeating the adjusting step, at one or more additional sampling instances.
18. The system of any one of claims 11 to 17, wherein the reference is a value representing a measurable physical state of the plant.
19. The system of claim 18, wherein the physical state of the plant is selected from the group consisting of temperature, fluid level, and speed.
20. The system of any one of claims 11 to 19, wherein the plant comprises an actuator connected to the sensor whereby the physical input is adjusted via the actuator to control the functioning of the plant.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CA2874269A CA2874269C (en) | 2014-12-11 | 2014-12-11 | Model predictive controller and method with correction parameter to compensate for time lag |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CA2874269A CA2874269C (en) | 2014-12-11 | 2014-12-11 | Model predictive controller and method with correction parameter to compensate for time lag |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CA2874269A1 CA2874269A1 (en) | 2016-06-11 |
| CA2874269C true CA2874269C (en) | 2023-11-07 |
Family
ID=56101834
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CA2874269A Active CA2874269C (en) | 2014-12-11 | 2014-12-11 | Model predictive controller and method with correction parameter to compensate for time lag |
Country Status (1)
| Country | Link |
|---|---|
| CA (1) | CA2874269C (en) |
Families Citing this family (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN107846045B (en) * | 2017-11-28 | 2023-06-02 | 国网甘肃省电力公司电力科学研究院 | Control method for tracking wind-solar planned output of battery energy storage system |
| WO2020061675A1 (en) * | 2018-09-28 | 2020-04-02 | University Of New Brunswick | Stateless discrete predictive controller |
| CA3169829A1 (en) * | 2020-02-27 | 2021-09-02 | Meaghan Charest-Finn | Model predictive control systems and methods |
| CN114217528A (en) * | 2021-12-03 | 2022-03-22 | 海澜智云科技有限公司 | An industrial intelligent model predictive control research and development system |
| CN116048013B (en) * | 2022-11-22 | 2025-07-29 | 杭州司南智能技术有限公司 | Nonlinear prediction function control method for polyolefin process |
-
2014
- 2014-12-11 CA CA2874269A patent/CA2874269C/en active Active
Also Published As
| Publication number | Publication date |
|---|---|
| CA2874269A1 (en) | 2016-06-11 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US10386796B2 (en) | Model predictive controller and method with correction parameter to compensate for time lag | |
| Wilson et al. | Non-linear model predictive control schemes with application on a 2 link vertical robot manipulator | |
| Han et al. | Finite-time sliding surface constrained control for a robot manipulator with an unknown deadzone and disturbance | |
| Dumont et al. | Concepts, methods and techniques in adaptive control | |
| CA2874269C (en) | Model predictive controller and method with correction parameter to compensate for time lag | |
| US9292010B2 (en) | Online integration of model-based optimization and model-less control | |
| EP3193219B1 (en) | Optimization based controller tuning systems and methods | |
| Anavatti et al. | Progress in adaptive control systems: past, present, and future | |
| WO2009051891A1 (en) | Extended active disturbance rejection controller | |
| Maeda et al. | Improvement of adaptive property by adaptive deadbeat feedforward compensation without convex optimization | |
| Roy et al. | PID controller tuning for the first-order-plus-dead-time process model via Hermite-Biehler theorem | |
| Nobar et al. | Guided Bayesian optimization: Data-efficient controller tuning with digital twin | |
| Nebeluk et al. | Predictive tracking of an object by a pan–tilt camera of a robot | |
| Faroni et al. | Fast MPC with staircase parametrization of the inputs: Continuous input blocking | |
| Desaraju et al. | Fast nonlinear model predictive control via partial enumeration | |
| Charest et al. | Mpc enhancement for tracking of complex profiles—the basic technique | |
| Zad et al. | Adaptive control of self-balancing two-wheeled robot system based on online model estimation | |
| Nahri et al. | Mitigating the Time Delay and Parameter Perturbation by a Predictive Extended State Observer-based Active Disturbance Rejection Control | |
| Meindl et al. | Iterative Model Learning and Dual Iterative Learning Control: A Unified Framework for Data-Driven Iterative Learning Control | |
| de Souza et al. | Comparison among experimental PID auto tuning methods for a self-balancing robot | |
| Wache et al. | Sensitivity-based iterative state-feedback tuning for MIMO systems | |
| Hayat | Model-free robust-adaptive controller design and identification for robot manipulators | |
| SOMEFUN | DESIGN OF TWO DEGREE-OF-FREEDOM (2DOF)–PID TUNING ALGORITHMS FOR THE DIFFERENTIAL DRIVE MOBILE ROBOT USING A SINGULAR SPECIFICATION OF SETTLING-TIME | |
| Eilola | FEEDBACK CONTROL OF A TWO-TANK SYSTEM | |
| Trojaola et al. | Iterative learning control for a hydraulic cushion |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| EEER | Examination request |
Effective date: 20191211 |
|
| EEER | Examination request |
Effective date: 20191211 |
|
| EEER | Examination request |
Effective date: 20191211 |
|
| EEER | Examination request |
Effective date: 20191211 |
|
| EEER | Examination request |
Effective date: 20191211 |
|
| EEER | Examination request |
Effective date: 20191211 |
|
| EEER | Examination request |
Effective date: 20191211 |
|
| EEER | Examination request |
Effective date: 20191211 |
|
| EEER | Examination request |
Effective date: 20191211 |
|
| EEER | Examination request |
Effective date: 20191211 |
|
| EEER | Examination request |
Effective date: 20191211 |