Hostname: page-component-6898cfcb55-kwdml Total loading time: 0 Render date: 2026-11-11T09:56:25.393Z Has data issue: false hasContentIssue false

Robust flow control and optimal sensor placement using deep reinforcement learning

Published online by Cambridge University Press:  26 February 2021

Romain Paris*
Affiliation:
DAAA, ONERA, Université Paris Saclay, 92190 Meudon, France
Samir Beneddine
Affiliation:
DAAA, ONERA, Université Paris Saclay, 92190 Meudon, France
Julien Dandois
Affiliation:
DAAA, ONERA, Université Paris Saclay, 92190 Meudon, France
*
†Email address for correspondence: romain.paris@onera.fr

Abstract

This paper focuses on finding a closed-loop strategy to reduce the drag of a cylinder in laminar flow conditions. Deep reinforcement learning algorithms have been implemented to discover efficient control schemes, using two synthetic jets located on the cylinder's poles as actuators and pressure sensors in the wake of the cylinder as feedback observation. The present work focuses on the efficiency and robustness of the identified control strategy and introduces a novel algorithm (S-PPO-CMA) to optimise the sensor layout. An energy-efficient control strategy reducing drag by $18.4\,\%$ at a Reynolds number of $120$ is obtained. This control policy is shown to be robust both to a Reynolds-number variation in the range $[100;216]$ and to measurement noise, for signal-to-noise ratios as low as $0.2$ with negligible impact on performance. Along with a systematic study on sensor number and location, the proposed sparsity-seeking algorithm has achieved a successful optimisation to a reduced five-sensor layout while keeping state-of-the-art performance. These results further highlight the interesting possibilities of reinforcement learning for active flow control and pave the way to efficient, robust and practical implementations of these control techniques in experimental or industrial systems.

Information

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

Figure 1.Flow domain geometry. (a) Full domain, not at true scale. The far field boundary condition is a characteristic-based inflow/outflow boundary condition modelling free-stream flow. (b) Boundary conditions on the cylinder.

Figure 1

Figure 2.Instantaneous vorticity flow field with action $a_t=-0.15$ at $Re=120$. White circles represent the sensor locations. The coloured triangle in the cylinder depicts the action, its height and colour representing its amplitude. The dashed diamond shape marks off maximum actions (both positive and negative).

Figure 2

Figure 3.(a) Evolution of the time-averaged drag coefficient of the baseline flow (blue) and the base flow (orange) with the Reynolds number. The blue shaded area indicates the variation range of the drag coefficient $C_x$. (b) Evolution of the Strouhal number of the vortex shedding with the Reynolds number.

Figure 3

Figure 4.Reinforcement learning feedback loop.

Figure 4

Figure 5.PPO-CMA. The actor $\pi$ receives observations $s_t$ from the environment and outputs $\mu$ and $\sigma$, which are used to sample action $a_t$. The critic $V$ estimates the value $V_t$ of the observed state $s_t$. During the update phase, $V_t$ is used to update the actor and the critic is updated using supervised learning on the effective state values $R_t=\sum _{\tau =t}^{\infty }\gamma ^\tau r_\tau$ (observed returns).

Figure 5

Figure 6.S-PPO-CMA. Actions are sampled using either the reference actor $\pi ^*$ or the sparse actor $\pi _s$ via a Bernoulli choice $\mathcal {B}(1,p)$. Then $\pi _s$ is updated via learning on $\sigma _s$ using values from $V^*$ and by supervised learning on $\mu _s$ using $\mu ^*$ values. The parameters of the SGL are also updated during this phase.

Figure 6

Figure 7.SGL. Received observation $s_i$ is either passed on to the actor $\pi _s$ if $p_i=1$, combined with its substitute value $\bar {s}_i$ if $p_i\in \,]0;1[$, or replaced by $\bar {s}_i$ if $p_i=0$. Here $p_i$ is sampled using a ‘gating’ function $f$ parametrised by $\alpha _i$, which is updated during the second phase of the S-PPO-CMA method.

Figure 7

Figure 8.Standard learning process. Each $C_x$ value is averaged over the whole epoch, including the transient from developed vortex shedding to controlled flow. This explains the discrepancy with pure performance values on $C_x$ later introduced. The orange curve is a 20-epoch moving average of $C_x$ values. The average reward (green dots, reward $r_t$ averaged over the current epoch) shows a quasi-monotonic growth that saturates from epoch $200$ onwards.

Figure 8

Figure 9.Performance of the active flow control strategy. (a) Evolution of the instantaneous drag coefficient $C_x$. (b) Evolution of both action and lift coefficient $C_l$.

Figure 9

Table 1.Drag reduction and performance comparison. Action types: ‘Blowing’, blowing/suction on cylinder poles; ‘Translation’, vertical translation of the cylinder; ‘MHD’, magnetohydrodynamic forcing; ‘Rotation’, rotation of the cylinder. Bold items are the best performances at each Reynolds number. $^{a\,}$Power-saving ratio. $^{b\,}$These cases are slightly different since walls parallel to the flow are added.

Figure 10

Figure 10.Evolution of power expenditure throughout control. The drag power is the power necessary to withstand drag forces; the actuation power represents the power $P_{act}$ spent on action implementation. The power gain measures the instantaneous total power expenditure saved as a fraction of the averaged uncontrolled drag power.

Figure 11

Figure 11.Comparison of uncontrolled (a–d) and controlled (e–h) flows in the transient phase of the control strategy.

Figure 12

Figure 12.Evolution of $C_x$ and of the length of the instantaneous recirculation bubble throughout time.

Figure 13

Figure 13.Comparison of the base flow and the controlled flow recirculation bubbles once the flow is stabilised.

Figure 14

Figure 14.(a) Spectra of the lift coefficient $C_l$ and of the action during the second control phase. (b) Evolution of the optimal gain of the base-flow resolvent operator with the external forcing Strouhal number at $Re=120$.

Figure 15

Figure 15.Robustness to a Reynolds-number variation. The best case (among 10 test cases) trained at $Re=120$ is tested at different Reynolds numbers (red curve). Its performance is compared to the best control policy (among 10 test cases) specifically trained at the test Reynolds number (green curve). Shaded areas represent the standard deviation of the controlled drag coefficient $C_x$.

Figure 16

Figure 16.Robustness to Gaussian noise on observations. Each curve represents the mean (solid line) or the best (dashed line) performance in drag coefficient of a 20 test-case batch trained with noise levels from $\sigma =0$ to $\sigma =0.1$ and evaluated on noise levels ranging from $\sigma =0$ to $\sigma =1$.

Figure 17

Figure 17.Robustness to Gaussian noise on observations for a policy trained without noise ($\sigma =0$). (a) Evolution of $C_x$ throughout time, for different noise levels. (b) Noisy pressure signal $s_0$ located in $(1,0.5)$. (c) Corresponding action taken by the actor.

Figure 18

Table 2.Noise robustness comparison.

Figure 19

Figure 18.Ten-case batch-averaged learning curves for five different sensor layouts (as shown in the key at top right). Shaded areas represent the standard deviation of the corresponding plotted quantities. Each $C_x$ value is averaged over the whole epoch, including the transient from developed vortex shedding to controlled flow. This explains the discrepancy with pure performance values on $C_x$ introduced earlier.

Figure 20

Figure 19.Ten-case batch-averaged learning curves for a further five different sensor layouts (as shown in the key at top right). Shaded areas represent the standard deviation of the corresponding plotted quantities. Each $C_x$ value is averaged over the whole epoch, including the transient from developed vortex shedding to controlled flow. This explains the discrepancy with pure performance values on $C_x$ introduced earlier.

Figure 21

Figure 20.Evolution of both drag reduction and optimised sensor layout with the number of sensors. Layout thumbnails $l_1$ to $l_9$ are rotated $90^\circ$ clockwise.

Figure 22

Figure 21.Comparison of the sensor locations with the first three POD modes of a natural transient from base flow to fully developed vortex shedding.

Figure 23

Figure 22.Performance comparison for different optimised sensor layouts.

Figure 24

Figure 23.Evolution of the drag coefficient for periodic (sinusoidal) action with various amplitudes and Strouhal numbers. Shaded areas represent the standard deviation of the drag coefficient. These values are averaged over 10 randomly initialised test cases.

Figure 25

Algorithm 1PPO algorithm.

Figure 26

Algorithm 2PPO-CMA algorithm.

Figure 27

Table 3.Additional numerical parameters.