Girish Mahajan (Editor)

Moving horizon estimation

Updated on
Edit
Like
Comment
Share on FacebookTweet on TwitterShare on LinkedInShare on Reddit
Moving horizon estimation

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 like the Kalman filter, MHE requires an iterative approach that relies on linear programming or nonlinear programming solvers to find a solution.

Contents

MHE reduces to the Kalman filter under certain simplifying conditions. A critical evaluation of the extended Kalman filter and MHE found improved performance of MHE with the only cost of improvement being the increased computational expense. 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.

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: [ t T , t ] . Specifically, an online or on-the-fly calculation is used to explore state trajectories that find (via the solution of Euler–Lagrange equations) a objective-minimizing strategy until time t . 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 MHE is also 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.

    The optimization estimation function is given by:

    J = i = 1 N w y ( x i y i ) 2 + i = 1 N w x ^ ( x i x i ^ ) 2 + i = 1 N w p i Δ p i 2

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

    With:

    x i = i -th model predicted variable (e.g. predicted temperature)

    y i = i -th measured variable (e.g. measured temperature)

    p i = i -th estimated parameter (e.g. heat transfer coefficient)

    w y = weighting coefficient reflecting the relative importance of measured values y i

    w x i ^ = weighting coefficient reflecting the relative importance of prior model predictions x i ^

    w p i = weighting coefficient penalizing relative big changes in p i

    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

  • MATLAB, Python, and Simulink source code for MHE: Python, MATLAB, and Simulink CSTR Example
  • Monitoring of industrial process fouling
  • Oil and gas industry
  • Polymer manufacture
  • Unmanned aerial systems
  • References

    Moving horizon estimation Wikipedia