Moving horizon estimation

From HandWiki

Moving horizon estimation (MHE) is an optimization approach that uses a series of measurements observed over time, containing noise (random variations) and other inaccuracies, and produces estimates of unknown variables or parameters. Unlike deterministic approaches, MHE requires an iterative approach that relies on linear programming or nonlinear programming solvers to find a solution.[1] MHE reduces to the Kalman filter under certain simplifying conditions.[2] A critical evaluation of the extended Kalman filter and the MHE found that the MHE improved performance at the cost of increased computational expense.[3] Because of the computational expense, MHE has generally been applied to systems where there are greater computational resources and moderate to slow system dynamics. However, in the literature there are some methods to accelerate this method.[4][5]

Overview

The application of MHE is generally to estimate measured or unmeasured states of dynamical systems. Initial conditions and parameters within a model are adjusted by MHE to align measured and predicted values. MHE is based on a finite horizon optimization of a process model and measurements. At time t the current process state is sampled and a minimizing strategy is computed (via a numerical minimization algorithm) for a relatively short time horizon in the past: [math]\displaystyle{ [t-T,t] }[/math]. Specifically, an online or on-the-fly calculation is used to explore state trajectories that find (via the solution of Euler–Lagrange equations) an objective-minimizing strategy until time [math]\displaystyle{ t }[/math]. Only the last step of the estimation strategy is used, then the process state is sampled again and the calculations are repeated starting from the time-shifted states, yielding a new state path and predicted parameters. The estimation horizon keeps being shifted forward and for this reason the technique is called moving horizon estimation. Although this approach is not optimal, in practice it has given very good results when compared with the Kalman filter and other estimation strategies.

Principles of MHE

Moving horizon estimation (MHE) is a multivariable estimation algorithm that uses:

  • an internal dynamic model of the process
  • a history of past measurements and
  • an optimization cost function J over the estimation horizon,

to calculate the optimum states and parameters.

Moving horizon estimation scheme [4]

The optimization estimation function is given by:

[math]\displaystyle{ J=\sum_{i=1}^N w_{y} (x_i-y_i)^2 + \sum_{i=1}^N w_{\hat{x}} (x_i-\hat{x}_i)^2 + \sum_{i=1}^N w_{p_i} {\Delta p_i}^2 }[/math]

without violating state or parameter constraints (low/high limits)

With:

[math]\displaystyle{ x_i }[/math] = i -th model predicted variable (e.g. predicted temperature)

[math]\displaystyle{ y_i }[/math] = i -th measured variable (e.g. measured temperature)

[math]\displaystyle{ p_i }[/math] = i -th estimated parameter (e.g. heat transfer coefficient)

[math]\displaystyle{ w_{y} }[/math] = weighting coefficient reflecting the relative importance of measured values [math]\displaystyle{ y_i }[/math]

[math]\displaystyle{ w_{\hat{x}_i} }[/math] = weighting coefficient reflecting the relative importance of prior model predictions [math]\displaystyle{ \hat{x}_i }[/math]

[math]\displaystyle{ w_{p_i} }[/math] = weighting coefficient penalizing relative big changes in [math]\displaystyle{ p_i }[/math]

Moving horizon estimation uses a sliding time window. At each sampling time the window moves one step forward. It estimates the states in the window by analyzing the measured output sequence and uses the last estimated state out of the window, as the prior knowledge.

Applications

See also

References

  1. J.D. Hedengren; R. Asgharzadeh Shishavan; K.M. Powell; T.F. Edgar (2014). "Nonlinear modeling, estimation and predictive control in APMonitor". Computers & Chemical Engineering 70 (5): 133–148. doi:10.1016/j.compchemeng.2014.04.013. https://scholarsarchive.byu.edu/facpub/1667. 
  2. Rao, C.V.; Rawlings, J.B.; Maynes, D.Q (2003). "Constrained State Estimation for Nonlinear Discrete-Time Systems: Stability and Moving Horizon Approximations". IEEE Transactions on Automatic Control 48 (2): 246–258. doi:10.1109/tac.2002.808470. 
  3. Haseltine, E.J.; Rawlings, J.B. (2005). "Critical Evaluation of Extended Kalman Filtering and Moving-Horizon Estimation". Ind. Eng. Chem. Res. 44 (8): 2451–2460. doi:10.1021/ie034308l. http://pubs.acs.org/cgi-bin/abstract.cgi/iecred/2005/44/i08/abs/ie034308l.html. 
  4. 4.0 4.1 Hashemian, N.; Armaou, A. (2015). "Fast Moving Horizon Estimation of nonlinear processes via Carleman linearization". 2015 American Control Conference (ACC). pp. 3379–3385. doi:10.1109/ACC.2015.7171854. ISBN 978-1-4799-8684-2. 
  5. Hashemian, N.; Armaou, A. (2016). "Simulation, model-reduction and state estimation of a two-component coagulation process". AIChE Journal 62 (5): 1557–1567. doi:10.1002/aic.15146. 
  6. Spivey, B.; Hedengren, J. D.; Edgar, T. F. (2010). "Constrained Nonlinear Estimation for Industrial Process Fouling". Industrial & Engineering Chemistry Research 49 (17): 7824–7831. doi:10.1021/ie9018116. 
  7. Hedengren, J.D. (2012). Advanced Process Monitoring. Springer’s International Series in Operations Research and Management Science. http://prism.groups.et.byu.net/uploads/Members/hedengren_apm2012.pdf. Retrieved 2012-09-18. 
  8. Ramlal, J. (2007). "Moving Horizon Estimation for an Industrial Gas Phase Polymerization Reactor". IFAC Symposium on Nonlinear Control Systems Design (NOLCOS). Archived from the original on 2009-09-20. https://web.archive.org/web/20090920070424/http://apmonitor.com/Documents/mhe.pdf. 
  9. Sun, L. (2013). "Optimal Trajectory Generation using Model Predictive Control for Aerially Towed Cable Systems". Journal of Guidance, Control, and Dynamics 37 (2): 525. doi:10.2514/1.60820. Bibcode2014JGCD...37..525S. http://apm.byu.edu/prism/uploads/Members/sun_2013.pdf. 
  10. Sun, L. (2015). "Parameter Estimation for Towed Cable Systems Using Moving Horizon Estimation". IEEE Transactions on Aerospace and Electronic Systems 51 (2): 1432–1446. doi:10.1109/TAES.2014.130642. Bibcode2015ITAES..51.1432S. http://apm.byu.edu/prism/uploads/Members/SunCastagnoHedengren14.pdf. 

Further reading

  • Rawlings, James B. (2009). Model Predictive Control: Theory and Design. Mathematics in Science and Engineering. Madison, WI: Nob Hill Publishing, LLC. pp. 576. ISBN 978-0-9759377-0-9. 

External links