Data-Based Moving Horizon Estimation for Linear Discrete-Time Systems

Tobias M. Wolff, Victor G. Lopez, Matthias A. Müller

TL;DR

This paper introduces a purely data-driven Moving Horizon Estimation (MHE) scheme for linear discrete-time systems that completely bypasses the traditional system identification step. By leveraging Willems' fundamental lemma and a set of offline, noise-free state measurements, the method estimates physically meaningful states directly from noisy online input/output data, and comes with a rigorous mathematical proof of robust global exponential stability (RGES).

What Problem Does This Paper Address?

State estimation is a fundamental task in control engineering and monitoring. Moving Horizon Estimation (MHE) is a powerful optimization-based approach for this, particularly because it can easily handle constraints on system states. However, standard MHE requires a mathematical model of the system. Obtaining this model via system identification often introduces errors, such as unmodeled dynamics or parameter inaccuracies.

Recently, researchers have used Willems' fundamental lemma—which states that a single persistently exciting data trajectory spans all possible trajectories of a linear system—to design controllers directly from data. But applying this to estimation is tricky. If an estimator relies solely on input/output data, the internal states can only be estimated up to an unknown similarity transformation. This means the estimated states lose their physical meaning, rendering them useless for monitoring applications where engineers need to know actual physical quantities (like temperature or position). This paper tackles the challenge of building a direct data-driven MHE that still outputs physically meaningful states.

Methods

The authors propose a two-phase data-based MHE scheme:

  1. Offline Phase: The system is excited with a persistently exciting input sequence, and a noise-free dataset of inputs, outputs, and actual system states is collected. (This assumes access to a high-fidelity lab setup where states can be temporarily measured).
  2. Online Phase: The system is deployed, states are no longer measurable, and output measurements are corrupted by noise.

Instead of using a traditional state-space model ($x_{t+1} = Ax_t + Bu_t$), the MHE solves an optimization problem over a moving time window (horizon $L$). The constraints of this optimization problem use a Hankel matrix built from the offline data. Because of Willems' fundamental lemma, any valid trajectory of the system can be expressed as a linear combination of the offline data (via a coefficient vector $\alpha$).

The MHE minimizes a quadratic cost function that balances two things: the prior estimate of the state at the start of the horizon, and the fitting error between the measured noisy online outputs and the outputs predicted by the data-driven representation.

Datasets

Not discussed in the paper in the context of standard public benchmarks. The authors evaluated their method using a simulated 2D linear time-invariant discrete-time (LTI-DT) system taken from a 1999 paper by Kwon et al. The offline data consisted of a randomly generated input sequence (sampled from a uniform distribution) of length $N=30$ and its corresponding outputs and states.

Key Insights and Ideas

  • Anchoring Physical Meaning: By incorporating offline state measurements directly into the Hankel matrix constraint, the data-driven estimator forces the estimated online states to share the exact same physical realization as the offline data. This elegantly solves the "unknown similarity transformation" problem typical in subspace identification.
  • Rigorous Stability Guarantees: The core theoretical contribution is proving Robust Global Exponential Stability (RGES) for this data-based MHE. As long as the underlying system is detectable and the cost functions are quadratic, the estimation error is bounded and decays exponentially.
  • No Regularization Needed: Unlike some recent data-driven Model Predictive Control (MPC) schemes that require a regularization term for the data-combination vector $\alpha$ to prevent noise amplification, this MHE formulation doesn't need it. This is because the offline data is assumed to be strictly noise-free.

Key Results

  • Theoretical: The paper successfully establishes Theorem 2, proving that the data-based MHE is RGES. The estimation error is mathematically shown to be bounded proportionally to the magnitude of the online measurement noise.
  • Simulation: In the 2D numerical example, the data-based MHE successfully tracked the true states even when online measurements were corrupted by Gaussian noise.
  • Tuning Trade-offs: The authors demonstrated that increasing the penalty weight on the output fitting error ($R$) causes the estimator to trust the noisy online measurements more. Consequently, the state estimates exhibit higher variance, perfectly aligning with expected MHE behavior.

Limitations and Future Work

The authors acknowledge a few notable limitations and directions for future research:

  • Noise-Free Offline Data Assumption: The scheme relies heavily on the assumption that the offline collected data (inputs, outputs, and states) is completely noise-free. Measuring all states without noise is a highly restrictive assumption in many real-world scenarios. Future work will focus on how bounded noise in the offline data impacts the estimator's stability and accuracy.
  • Conservative Error Bounds: The mathematical bounds derived in the stability proof scale poorly (conservatively) as the horizon length $L$ increases. This is a known quirk in MHE stability proofs, and the authors suggest exploring alternative proof techniques (like Lyapunov-like analysis) to tighten these bounds.
  • Direct vs. Indirect Comparison: The authors note that a detailed performance comparison between this direct data-based MHE and an indirect approach (where data is first used to identify a model, which is then plugged into a standard MHE) is an important next step.

Summary updated

BibTeX
@inproceedings{wolff2022data,
  author = {Tobias M. Wolff and Victor G. Lopez and Matthias A. Müller},
  title = {{Data-Based Moving Horizon Estimation for Linear Discrete-Time Systems}},
  booktitle = {ECC},
  year = {2022},
  url = {https://openreview.net/forum?id=FFAcFggMwv},
}
Figure