Deep model predictive flow control with limited sensor data and online learning

Katharina Bieker, Sebastian Peitz, Steven L. Brunton, J. Nathan Kutz, Michael Dellnitz

Abstract

The control of complex systems governed by nonlinear partial differential equations, such as unsteady fluid flows, is a critical challenge across engineering and medicine. High-dimensional, multi-scale dynamics typically make real-time feedback control computationally infeasible. However, these systems often exhibit dominant, low-dimensional patterns. We present a novel deep learning model predictive control (DeepMPC) framework that exploits these low-rank features. By using a recurrent neural network (RNN) to predict only control-relevant quantities rather than the entire fluid state, and incorporating online learning to adapt to incoming sensor data, we achieve robust real-time control. The framework is validated on fluid flow benchmarks of increasing complexity, including chaotic regimes.

Introduction

Controlling fluid dynamics—from the airflow over an aircraft wing to the blood flow through an artificial heart—represents an "engineering grand challenge." These systems are defined by the Navier-Stokes equations, which are notoriously high-dimensional and nonlinear. Traditional Model Predictive Control (MPC) requires solving an optimization problem at every time step, necessitating a model that is both fast and accurate. Standard numerical simulations are too slow for real-time feedback, and while Reduced-Order Models (ROMs) offer speed, they often struggle with the non-stationarity and chaos inherent in complex flows.

The DeepMPC Framework

The proposed DeepMPC framework addresses these limitations by replacing the high-fidelity simulation model with a data-driven surrogate. This surrogate model is specifically designed to predict "observable" quantities—such as lift and drag coefficients—rather than the millions of grid points required for a full state simulation.

The DeepMPC framework: A surrogate RNN model replaces the high-dimensional full model within the control loop to enable real-time optimization.

As shown in the architecture above, the controller uses a surrogate MPC loop where an optimizer queries an RNN-based model. This drastically reduces the computational burden, allowing the system to determine optimal control actions ($u_0$) within the required latency for real-time applications.

Methods: RNN Surrogates and Online Learning

The core of the surrogate model is a deep RNN utilizing an encoder-decoder architecture. To handle the challenge of limited sensor data, the framework employs "delay coordinates" based on Takens’ embedding theory. By processing a history of recent sensor readings and control inputs, the RNN can infer the underlying hidden dynamics of the global system from sparse, local measurements.

Online Adaptation

A standout feature of this framework is its ability to perform online learning. While the RNN is initially trained offline using historical data, it continues to update its weights batch-wise as it receives new sensor data during operation. This allows the model to:

  1. Correct Prediction Errors: Adapt to unforeseen disturbances or model inaccuracies in real-time.
  2. Reduce Data Requirements: A model trained on a small initial dataset (as little as 10% of the total available data) can eventually match the performance of a fully-trained model through online refinement.

Symmetry Exploitation

In chaotic systems, the flow can jump between different metastable states. To improve robustness, the authors "symmetrize" the training data based on the physical layout of the system (e.g., horizontal symmetry in a cylinder wake). This effectively doubles the training set and acts as a physical regularizer, helping the network navigate complex transitions without losing control.

Experimental Validation

The framework was rigorously tested using numerical simulations (OpenFOAM) of two classic fluid dynamics benchmarks: the single cylinder flow and the fluidic pinball.

Flow control benchmarks: (a) single cylinder flow at Re=100 and (b) fluidic pinball setup with three cylinders, showing the complex velocity fields and control inputs.
  1. Single Cylinder Flow (Re=100): This case exhibits periodic vortex shedding. The DeepMPC successfully forced the lift coefficient to follow complex, piecewise constant reference trajectories.
  2. Fluidic Pinball: A more challenging setup involving three cylinders in a triangular arrangement. This was tested across periodic (Re=100), mildly chaotic (Re=140), and fully chaotic (Re=200) regimes. In the Re=140 case, incorporating symmetry into the data assimilation process reduced tracking errors by nearly 50%.

Key Results and Insights

  • Efficiency and Precision: By focusing on control-relevant outputs, the computational cost is slashed by orders of magnitude compared to full-state MPC. In the single-cylinder case, the controller demonstrated high precision in trajectory tracking.
  • Robustness to Chaos: The framework proved capable of managing chaotic regimes (Re=200) where traditional linear models fail. The combination of delay coordinates and RNN memory allows the controller to "see" the state of the system through a temporal window.
  • Reduced Control Cost: Online learning was shown to simultaneously reduce tracking error and the "control cost" (the energy required for actuation) within just a few iterations of operation.

Conclusion and Future Work

DeepMPC provides a scalable path toward real-time control of complex, nonlinear fluid systems using sparse sensor data. By combining the predictive power of RNNs with the adaptive nature of online learning, the framework overcomes the traditional barriers of high dimensionality and computational latency. Future research will focus on the impact of sensor noise in experimental settings and the generalization of these models across varying Reynolds numbers to ensure broader industrial applicability.

Summary updated

BibTeX
@inproceedings{bieker2020deep,
  author = {Katharina Bieker and Sebastian Peitz and Steven L. Brunton and J. Nathan Kutz and Michael Dellnitz},
  title = {{Deep model predictive flow control with limited sensor data and online learning}},
  booktitle = {Theoretical},
  year = {2020},
  doi = {10.1007/s00162-020-00520-4},
}
Figure