Learning-based Moving Horizon Estimation through Differentiable Convex Optimization Layers

Simon Muntwiler, Kim P. Wabersich, Melanie N. Zeilinger
9/8/2021
eess.SY

Official code: IntelligentControlSystems/mhe-layers (13 stars, Jupyter Notebook, MIT, last commit 2022-06-01).

Abstract

To control a dynamical system it is essential to obtain an accurate estimate of the current system state based on uncertain sensor measurements and existing system knowledge. An optimization-based moving horizon estimation (MHE) approach uses a dynamical model of the system, and further allows for integration of physical constraints on system states and uncertainties, to obtain a trajectory of state estimates.

Show full abstract

In this work, we address the problem of state estimation in the case of constrained linear systems with parametric uncertainty. The proposed approach makes use of differentiable convex optimization layers to formulate an MHE state estimator for systems with uncertain parameters. This formulation allows us to obtain the gradient of a squared and regularized output error, based on sensor measurements and state estimates, with respect to the current belief of the unknown system parameters. The parameters within the MHE problem can then be updated online using stochastic gradient descent (SGD) to improve the performance of the MHE. In a numerical example of estimating temperatures of a group of manufacturing machines, we show the performance of tuning the unknown system parameters and the benefits of integrating physical state constraints in the MHE formulation.

View on arXivView PDF

Code Implementations(1)

MIT

Code of the numerical example in "Learning-based Moving Horizon Estimation through Differentiable Convex Optimization Layers".

132Jupyter Notebook, PythonApr 4, 20224 years agoMIT

Similar Papers

Cite this paper

@article{muntwiler2021learningbased,
  title  = {Learning-based Moving Horizon Estimation through Differentiable Convex Optimization Layers},
  author = {Simon Muntwiler and Kim P. Wabersich and Melanie N. Zeilinger},
  year   = {2021},
  eprint = {2109.03962},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2109.03962}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2109.03962.svg)](https://codeofpaper.com/paper/2109.03962)

Discussion