Hostname: page-component-74656f9884-qr5l4 Total loading time: 0 Render date: 2026-11-05T05:58:12.776Z Has data issue: false hasContentIssue false

Observer-based neural networks for flow estimation and control

Published online by Cambridge University Press:  27 April 2026

Tarcísio Costa Déda*
Affiliation:
School of Mechanical Engineering, University of Campinas, R. Mendeleyev 200, Campinas, São Paulo, Brazil
Brener Ramos
Affiliation:
School of Mechanical Engineering, University of Campinas, R. Mendeleyev 200, Campinas, São Paulo, Brazil
William Wolf
Affiliation:
School of Mechanical Engineering, University of Campinas, R. Mendeleyev 200, Campinas, São Paulo, Brazil
Scott T.M. Dawson
Affiliation:
Mechanical, Materials, and Aerospace Engineering Department, Illinois Institute of Technology, 10 W 35th St, Chicago, IL, USA
*
Corresponding author: Tarcísio Costa Déda, tarcisio.deda@gmail.com

Abstract

Neural network observers (NNOs) are proposed for online estimation of fluid flows, addressing a key challenge in flow control: obtaining flow states online from a limited set of sparse and noisy sensor data. For this task, we propose a generalisation of the classical Luenberger observer. In the present framework, the estimation loop is composed of subsystems modelled as neural networks (NNs). By combining flow information from selected probes and a neural network surrogate model (NNSM) of the flow system, we train NNOs capable of fusing information to provide the best estimation of the states, that can in turn be fed back to a neural network controller (NNC). The NNO capabilities are demonstrated for three nonlinear dynamical systems. First, a variation of the Kuramoto–Sivashinsky (KS) equation with control inputs is studied, where variables are sparsely probed. We show that the NNO is able to track states even when probes are contaminated with random noise or with sensors at insufficient sample rates to match the control time step. Then, a confined cylinder flow is investigated, where velocity signals along the cylinder wake are estimated by using a small set of wall pressure sensors. In both the KS and cylinder problems, we show that the estimated states can be used to enable closed-loop control, taking advantage of stabilising NNCs. Finally, we present a legacy dataset of a turbulent boundary layer experiment, where convolutional NNs are employed to implement the models required for the estimation loop. We show that, by combining low-resolution noise-corrupted sensor data with an imperfect NNSM, it is possible to produce more accurate and robust estimates. Our approach presents better robustness to noise when compared with direct reconstructions via super-resolution NNs and predictions from graph NNs and Fourier neural operators.

Information

Type
JFM Papers
Copyright
© The Author(s), 2026. Published by Cambridge University Press
Figure 0

Figure 1. Block diagram representing the discrete Luenberger observer for a linear dynamical system. The plant model is simulated in real time as the real system evolves. The correction signal $\boldsymbol{v}[k]$ is produced to rectify errors due to initial conditions, plant imperfections and unmodelled disturbances.

Figure 1

Figure 2. Block diagram representing a nonlinear generalisation of the discrete Luenberger observer. The colours are chosen to highlight the analogy with the classic approach for linear systems, depicted in figure 1.

Figure 2

Figure 3. Schematic of a single iteration of the observer training loop. The NNSM and output model weights are frozen and only the NNO ones are updated. The hat notation ($\hat {x}$ and $\hat {y}$) indicates estimated signals.

Figure 3

Figure 4. Unrolled observer loop over a finite horizon of length $n_h$, with each NN block representing the complete NNO loop.

Figure 4

Figure 5. Finite-horizon observer training loop with controller (NNC) inclusion.

Figure 5

Figure 6. Training structure with time skips and $\Delta k = 3$. Signal $\boldsymbol{v}[k]$ is propagated for time steps where measurements are absent.

Figure 6

Figure 7. State, sensor and actuation scheme for discretised KS equation. The black dots represent each of the 60 state positions. The sensor locations are highlighted with red circles for the cases with 15 (a) and 3 (b) sensors. The coloured dots show the Gaussian actuation profiles.

Figure 7

Figure 8. Confined cylinder flow domain and computational grid.

Figure 8

Figure 9. Actuation scheme applied to the cylinder flow. Blowing/suction jets in opposition are modulated by a single control input.

Figure 9

Figure 10. Probing set-ups for the confined cylinder flow, featuring (a) 14 and (b) 7 sensor locations. The state vector $\boldsymbol{x}$ consists of horizontal and vertical velocity components at locations indicated by black dots. The measurement vector $\boldsymbol{y}$ consists of pressure measurements taken at locations marked with green dots near the cylinder and channel walls.

Figure 10

Figure 11. Experimental set-up of the slanted cylinder flow. Time-resolved PIV images of a turbulent boundary layer are captured within the cyan window.

Figure 11

Figure 12. Mean horizontal velocity contour (a), mean horizontal velocity curves (b) and Reynolds stresses (c) along the original window coordinates. Coordinates are presented in boundary layer thickness units.

Figure 12

Figure 13. Snapshots depicting contours of $\phi _v$ along the boundary layer. Each frame is 10 time steps apart from their neighbour. The PIV-sampled image is shown in row (a), where the window used to compose $\boldsymbol{x}$ and the probe locations (green dots) chosen for the problem are highlighted. The vertical green line shows the region where the BCs $\boldsymbol{u}$ are imposed in the model. The $\phi _v$ components of $\boldsymbol{x}$ (states) and $\boldsymbol{y}$ (probed values) are depicted in rows (b) and (c), respectively.

Figure 13

Figure 14. Neural network architecture used for the turbulent boundary layer NNSM. Here ReLU activation is used, except for the output convolution layers, which are linear.

Figure 14

Figure 15. Neural network architecture used for the turbulent boundary layer NN output model. Here ReLU activation is used, except for the output layer, which is linear.

Figure 15

Figure 16. Neural network architecture used for the turbulent boundary layer NNO. Here ReLU activation is used, except for the last fully connected layer, which is linear.

Figure 16

Figure 17. Block diagram representing the nonlinear observer in the closed loop to estimate flow states. The control input can be toggled between open loop and closed loop. The nonlinear plant returns $\boldsymbol{y}[k]$ as a function of $\boldsymbol{u}[k]$ and its internal states.

Figure 17

Figure 18. Results with 15 sensors for state estimation and feedback control of the modified KS equation. Three states are shown comparing the estimated states $\hat {\boldsymbol{x}}$ (thin opaque lines) and the actual states $\boldsymbol{x}$ (thick transparent lines), at specific locations $x_c$. Closed-loop control is first applied at $k=50$, as indicated by the vertical black line.

Figure 18

Figure 19. As in figure 18, but with three sensors.

Figure 19

Figure 20. Results with 15 sensors and white Gaussian noise with $\sigma = 0.03$ for the modified KS equation. Three states are shown at locations $x_c$ where sensors are present for comparing the estimated states $\hat {\boldsymbol{x}}$ (thin opaque lines) and the actual states $\boldsymbol{x}$ (thick transparent lines). The thin transparent lines show the measured signals with noise $y+y_n$.

Figure 20

Figure 21. As in figure 20, but with $\sigma =0.07$.

Figure 21

Figure 22. As in figure 20, but with three sensors.

Figure 22

Table 1. Results for each KS case with measurement noise. The final amplitude is measured as the percentage of the uncontrolled oscillation amplitude.

Figure 23

Figure 23. As in figure 20, but with time-correlated noise with $\beta =0.8$.

Figure 24

Figure 24. Results with 15 sensors and measurements with $\Delta k = 8$ for the modified KS equation. Estimated states $\hat {\boldsymbol{x}}$ (thin opaque lines) and the actual states $\boldsymbol{x}$ (thick transparent lines) are shown. The staircase signal represents the sensor measurements at a lower sampling rate.

Figure 25

Figure 25. As in figure 24, but with $\Delta k = 16$.

Figure 26

Figure 26. Results for state estimation and control of the confined cylinder flow with 14 sensors. State curves are shown with the same colours as the respective coloured point locations. Thin opaque and thick transparent lines show estimated and real states, respectively. Closed-loop control is applied at $k=200$, as indicated by the vertical black lines.

Figure 27

Figure 27. As in figure 26, but with seven sensors.

Figure 28

Figure 28. Vertical velocity $\phi _v$ fields at $k=499$ (last snapshot) for (a) the uncontrolled flow, (b) the controlled flow with 14 sensors, and (c) the controlled flow with 7 sensors.

Figure 29

Figure 29. Contours of $\phi _u'$ from $k=1780$ (leftmost) to $k=1788$ (rightmost), skipping the odd frames. The rows show (a) the original data, (b) the low-resolution sensor data before adding the noise source, (c) the NNSM evolution, (d) the FF model evolution, (e) the direct reconstruction from noisy sensor data, and (f) the NNO estimation using the NNSM and noisy sensor data. These results are also illustrated in more detail in movie 3.

Figure 30

Figure 30. As in figure 29, but for $\phi _v'$.

Figure 31

Figure 31. Comparison between the errors of the flow estimation methods shown in figures 29 and 30. Only data to the left of the vertical dashed line is used for training.

Figure 32

Figure 32. Velocities $\phi _u$ and $\phi _v$ computed at halfway up the PIV window height and at 94 % of the distance between the inflow and the outflow.

Figure 33

Table 2. Time-averaged errors for different methods. The mean error is the average of $\phi _u$ and $\phi _v$ errors over all time steps. The test interval comprises errors starting from $k=1500$. Evaluation time per iteration is also shown. For the NNO, the total inference time for the three involved NNs are shown.

Figure 34

Figure 33. Errors before and after the contamination of the inlet BCs signals with white noise.

Figure 35

Figure 34. Contours of $\phi _u'$ (coloured) for $k=590$, $600$ and $610$ with respective squared differences (grey scale). The rows show the (a) original data, (b) the FF model evolution, (c) the NNSM evolution, (d) the NNO estimation with BCs. Noisy BCs are imposed in (b), (c) and (d), while row (e) shows the NNO estimation without BCs.

Figure 36

Figure 35. As in figure 34, but for $\phi _v'$.

Figure 37

Table 3. Time-averaged errors for different methods with noisy or absent BCs. The mean error (test) is computed only for snapshots starting from $k=1500$.

Figure 38

Table 4. Number of time steps and training horizon length for the KS and cylinder cases.

Figure 39

Figure 36. The NNC training schematic. A recurrent model is built for training only. Only the NNC weights are updated to bring the propagated states $\boldsymbol{x}_1$, $\boldsymbol{x}_2$, $\ldots$, $\boldsymbol{x}_{n_h}$ closer to the equilibrium point.

Figure 40

Table 5. Details of the NNC and NNSM used for the KS and cylinder flow cases.

Figure 41

Figure 37. Schematic of the NNSM where the red (blue) nodes are related to weights penalised by the L2 (L1) regularisation. A ReLU function is employed in the nodes with a white mark, while a linear function is used for the other nodes.

Figure 42

Table 6. Hyperparameters of the NN output model and NNO.

Figure 43

Table 7. Hyperparameters of the turbulent boundary layer NNSM.

Figure 44

Table 8. Hyperparameters of the turbulent boundary layer output model.

Figure 45

Table 9. Hyperparameters of the turbulent boundary layer NNO.

Figure 46

Table 10. Time-averaged error metrics across different methods.

Figure 47

Table 11. Time-averaged error metrics across different methods for $k\gt 1500$, outside the training interval. For more details, see movie 5, provided as supplementary material.

Figure 48

Figure 38. Error curves along time for each case.

Figure 49

Figure 39. Estimated flow comparisons. Contours depict $\phi _u'$ (a) and $\phi _v'$ (b). The mesh utilised for the GNN is shown in the top left corner plots, where points are always selected at the original pixel positions to avoid interpolation.

Figure 50

Figure 40. Closed-loop poles for the linear controller (a) and observer (b).

Figure 51

Figure 41. Time evolution of the states for the linearised KS equation. The thicker transparent lines show the actual states, while the thinner ones show the estimated ones used for control feedback. After 50 time steps of exponential growth, the controller is turned on to bring states back to equilibrium.

Figure 52

Table 12. Comparison of parameters that differ between the previous and current configurations.

Figure 53

Figure 42. Time evolution of the states for the nonlinear KS equation with real states feedback (observer bypassed). After 50 time steps of uncontrolled evolution, the linear controller is turned on to bring states back to equilibrium.

Figure 54

Figure 43. Time evolution of the states for the nonlinear KS equation with feedback of linearly estimated states. After 50 time steps of uncontrolled evolution, the controller is turned on, but fails to bring states back to equilibrium.

Figure 55

Figure 44. Time evolution of the states for the nonlinear KS equation in the NNC+NNO loop. After 50 time steps of open-loop sweep, the controller is turned on to bring states back to equilibrium.

Figure 56

Figure 45. Time evolution of the states for the nonlinear KS equation. Thicker transparent lines show actual states, while thinner lines show those estimated by the EKF.

Figure 57

Figure 46. Time evolution of the states for the nonlinear KS equation with imperfect modelling. Thicker transparent lines show actual states, while thinner lines show those estimated by the EKF.

Figure 58

Figure 47. Time evolution of the states for the nonlinear KS equation with imperfect modelling. Thicker transparent lines show actual states, while thinner lines show those estimated by the NNO.

Supplementary material: File

Déda et al. supplementary movie 1

Time response of KS cases.
Download Déda et al. supplementary movie 1(File)
File 19.9 MB
Supplementary material: File

Déda et al. supplementary movie 2

Closed-loop control response of the cylinder flow with different sensor configurations.
Download Déda et al. supplementary movie 2(File)
File 16.3 MB
Supplementary material: File

Déda et al. supplementary movie 3

Boundary layer estimation via different methods.
Download Déda et al. supplementary movie 3(File)
File 53.3 MB
Supplementary material: File

Déda et al. supplementary movie 4

Boundary layer estimation with noisy or lacking boundary conditions.
Download Déda et al. supplementary movie 4(File)
File 44.5 MB
Supplementary material: File

Déda et al. supplementary movie 5

Boundary layer estimation via graph neural networks, Fourier neural operators and neural network observers.
Download Déda et al. supplementary movie 5(File)
File 39 MB