Hostname: page-component-74656f9884-npj9w Total loading time: 0 Render date: 2026-11-10T04:21:00.717Z Has data issue: false hasContentIssue false

Stabilization of the fluidic pinball with gradient-enriched machine learning control

Published online by Cambridge University Press:  29 April 2021

Guy Y. Cornejo Maceda
Affiliation:
CNRS, Laboratoire Interdisciplinaire des Sciences du Numérique, Université Paris-Saclay, 91400 Orsay, France
Yiqing Li
Affiliation:
Center for Turbulence Control, Harbin Institute of Technology (Shenzhen), Room 312, Building C, University Town, Xili, Shenzhen 518058, People's Republic of China
François Lusseyran
Affiliation:
CNRS, Laboratoire Interdisciplinaire des Sciences du Numérique, Université Paris-Saclay, 91400 Orsay, France
Marek Morzyński
Affiliation:
Department of Virtual Engineering, Poznań University of Technology, Jana Pawla II 24, PL 60-965 Poznań, Poland
Bernd R. Noack*
Affiliation:
Center for Turbulence Control, Harbin Institute of Technology (Shenzhen), Room 312, Building C, University Town, Xili, Shenzhen 518058, People's Republic of China Institut für Strömungsmechanik und Technische Akustik (ISTA), Technische Universität Berlin, Müller-Breslau-Straße 8, D-10623 Berlin, Germany
*
†Email address for correspondence: bernd.noack@hit.edu.cn

Abstract

We stabilize the flow past a cluster of three rotating cylinders – the fluidic pinball – with automated gradient-enriched machine learning algorithms. The control laws command the rotation speed of each cylinder in an open- and closed-loop manner. These laws are optimized with respect to the average distance from the target steady solution in three successively richer search spaces. First, stabilization is pursued with steady symmetric forcing. Second, we allow for asymmetric steady forcing. And third, we determine an optimal feedback controller employing nine velocity probes downstream. As expected, the control performance increases with every generalization of the search space. Surprisingly, both open- and closed-loop optimal controllers include an asymmetric forcing, which surpasses symmetric forcing. Intriguingly, the best performance is achieved by a combination of phasor control and asymmetric steady forcing. We hypothesize that asymmetric forcing is typical for pitchfork bifurcated dynamics of nominally symmetric configurations. Key enablers are automated machine learning algorithms augmented with gradient search: explorative gradient method for the open-loop parameter optimization and a gradient-enriched machine learning control (gMLC) for the feedback optimization. Gradient-enriched machine learning control learns the control law significantly faster thanpreviously employed genetic programming control. The gMLC source code is freely available online.

Information

Type
JFM Papers
Creative Commons
Creative Common License - CCCreative Common License - BY
This is an Open Access article, distributed under the terms of the Creative Commons Attribution licence (http://creativecommons.org/licenses/by/4.0/), which permits unrestricted re-use, distribution, and reproduction in any medium, provided the original work is properly cited.
Copyright
© The Author(s), 2021. Published by Cambridge University Press
Figure 0

Figure 1. Vorticity fields for the unforced fluidic pinball at $Re_D=100$. Blue (red) regions bounded by dashed lines represent negative (positive) vorticity. Darker regions indicate higher values of vorticity magnitude. (a) Symmetric steady solution, (b) unforced flow at $t=400$.

Figure 1

Figure 2. Characteristics of the unforced natural flow starting from the steady solution ($t=0$). The transient spans until $t \approx 400$. (a) Time evolution of the lift coefficient $C_L$, (b) phase portrait, (c) time evolution of the instantaneous cost function $j_a$ and (d) power spectral density (PSD) showing the natural frequency $f_0=0.116$ and its first harmonic. The phase portrait is computed during the post-transient regime $t \in [900,1400]$ and the PSD is computed over the last 1000 convective time units, $t \in [400,1400]$.

Figure 2

Figure 3. Vorticity fields of the unforced flow. (a)–(f) Time evolution of the vorticity field in the last period of the simulation, (i) the objective symmetric steady solution and (j) the mean field of the unforced flow. The colour code is the same as figure 1. Here $T_0$ is the natural period associated to the natural frequency $f_0$. The mean field has been computed by averaging the flow over 100 periods.

Figure 3

Algorithm 1 Explorative Gradient Method

Figure 4

Algorithm 2 Gradient-enriched MLC

Figure 5

Figure 4. Schematic of the gMLC algorithm (b) and distribution of individuals in the search space (a). First (1), Monte Carlo initialization performs a first coarse exploration of the search space. Second (2), further exploration is performed thanks to genetic programming. Individuals are selected in the whole dataset and combined thanks to genetic operators to generate new individuals (blue dots). Then the database is augmented with the new individuals. Third (3), exploitation focuses on a subspace (represented in yellow) of finite dimension where downhill simplex iterations builds new individuals by linear combination (yellow dots). A matrix representation is computed for the downhill subplex individuals thanks to LGP, allowing the downhill subplex individuals to be included in the database.

Figure 6

Figure 5. Summary of the EGM (left column) and gMLC (right column). The level plots are a schematic representation of the control landscape. Darker regions depict poor performances and light regions depict good performances. Three minima are shown, two on the top left and the global one on the top right. The map represents an affine space (of finite dimension) for EGM and a Hilbert function space for gMLC. The initialization step is depicted with black diamonds for EGM and black dots for gMLC. The individuals generated thanks to an exploration phase are represented by blue dots. Exploration is carried out with LHS for EGM and evolution with genetic operators (crossover and mutation) for gMLC. The individuals generated thanks to an exploitation phase are represented in yellow. For EGM, downhill simplex steps are carried out. The associated level plot depicts one iteration of downhill simplex: the reflected individual (yellow triangle) and the expanded individual (reversed yellow triangle), the star is the centroid of the two best black diamonds. For gMLC, the simplex steps are carried out in a subspace (downhill subplex) of finite dimension. The associated level plot depicts two distinct simplex steps: first, a reflection step (yellow triangle) with the two best black dots and the best blue dot; then a contraction step (yellow diamond) with the same black dots and the newly evaluated yellow triangle. The stars are the centroids for each step. This process is repeated until the stopping criterion is reached. In this figure only one iteration of the loop is depicted. The reconstruction phase is not depicted for the sake of clarity.

Figure 7

Figure 6. Parametric study for symmetric steady forcing. The velocity of the bottom cylinder is $b_2=-b_3$. The normalized distance to the steady solution $J_a/J_0$ (a) and the actuation power $J_b$ (b) are plotted as a function of $b_2$. The bifurcation diagram (c) comprises all local maximum and minimum lift values. The vertical red dashed line corresponds to $b_2=0$ and separates the base bleeding and the boat tailing configurations. The global minimum of $J_a/J_0$ is reached at $b_2=-0.375$, as indicated by a vertical blue dashed line.

Figure 8

Figure 7. Characteristics of the best base bleeding solution. (a) Time evolution of the lift coefficient $C_L$, (b) phase portrait, (c) time evolution of instantaneous cost function $j_a$ and (d) PSD showing a broad spectral peak at $f_1=0.132$. The control starts at $t=400$. The unforced phase is depicted in blue and the forced one in red. The phase portrait is computed over $t \in [900,1400]$ and the PSD is computed on the forced regime $t \in [400,1400]$.

Figure 9

Figure 8. Vorticity fields of the best base bleeding solution. (a–f) Time evolution of the vorticity field throughout the last period of the 1400 convective time units, (i) the objective symmetric steady solution and (j) the mean field of the forced flow. The colour code is the same as figure 1. Here $T_1$ is the period associated to the main frequency $f_1$ of the forced flow. The mean field has been computed by averaging 100 periods.

Figure 10

Figure 9. Contour map of $J_a/J_0$ at the optimal plane $b_3=b^{EGM}=-0.156$ found with EGM (a) and at different levels of $b_1$: $b_1=0$, $b_1=1$, $b_1=2$ (b). The colour code denotes white for $J_a/J_0=1$, blue for better performances and red for worse performances. The planes are shown with $75\,\%$ transparency. The four initial conditions $[1,0,0]^\intercal$, $[1.2,0,0]^\intercal$, $[1,0.4,0]^\intercal$ and $[0,0,0.4]^\intercal$ are represented by black diamonds. Blue dots are the control laws built with the exploration phases and yellow dots are the individuals built with the exploitation phases. All the individuals have been projected on the plane $b_3=-0.156$. The arrows, on plane $b_1=0$, depict the base bleeding/boat tailing diagonal studied in § 4.1. A parametric study shows that the minimum is close to $[b_1,b_2,b_3]^\intercal =[1,0,0]^\intercal$ whose cost is $J_a/J_0$=0.93.

Figure 11

Figure 10. Evolution of $b_1$, $b_2$ and $b_3$ (a) for each new simplex step indicated by the scattered squares and $J_a/J_0$ (b) according to the number of evaluations $i$ for the EGM optimization process. The red line on (b) shows the evolution of the best cost. The colour code of the dots on (b) is the same as figure 9. The best control law is $[b_1^{EGM},b_2^{EGM},b_3^{EGM}]^\intercal = [1.11207,-0.20025,-0.15588]^\intercal$ with $J_a/J_0=0.28$.

Figure 12

Figure 11. Characteristics of the best steady actuation found by EGM. (a) Time evolution of the lift coefficient $C_L$, (b) phase portrait, (c) time evolution of instantaneous cost function $j_a$ and (d) PSD showing the only frequency $f_2=0.140$ of the forced flow. The control starts at $t=400$. The unforced phase is depicted in blue and the forced one in red. The phase portrait and the PSD are computed over $t \in [900,1400]$ the post-transient regime.

Figure 13

Figure 12. Vorticity fields of the best steady actuation found with EGM. (a–f) Time evolution of the vorticity field throughout the last period of the 1400 convective time units, (i) the objective symmetric steady solution and (j) the mean field of the forced flow. The colour code is the same as figure 1. Here $T_2$ is the period associated to the frequency $f_2$ of the forced flow. The mean field has been computed by averaging over 100 periods.

Figure 14

Table 1. Summary of sensor information.

Figure 15

Table 2. Gradient-enriched MLC parameters for the fluidic pinball.

Figure 16

Figure 13. Distribution of the costs during the gMLC optimization process. Each dot represents the cost $J_a/J_0$ of one individual. The colour of the dots represents how the individuals have been generated. Black dots denote the individuals which are randomly generated (Monte Carlo). Blue dots refer to individuals which are generated from a genetic operator (exploration). And yellow dots correspond to individuals arising from the subplex method (exploitation). The individuals from the Monte Carlo step and the exploration phase have been sorted following their costs. The red line shows the evolution of the best cost. The vertical axis is in log scale.

Figure 17

Figure 14. Characteristics of the flow controlled by the best feedback control law found with gMLC. (a) Time evolution of the lift coefficient $C_L$, (b) phase portrait, (c) time evolution of instantaneous cost function $j_a$ and (d) PSD showing the frequency $f_3=0.144$ of the forced flow, one of its harmonics and two low-power frequencies $f_4=0.016$ and $f_5=0.160$. The control starts at $t=400$. The unforced phase is depicted in blue and the forced one in red. The phase portrait and the PSD are computed over $t \in [900,1400]$, during the post-transient regime.

Figure 18

Table 3. Summary of the 14 control laws composing $\boldsymbol {K}^{gMLC}$ described in (4.3). For each control law, we present $b_1$, $b_2$, $b_3$, the associated weight and the reduced cost $J_a/J_0$. The three best control laws are $\#11$, $\#13$ and $\#14$.

Figure 19

Table 4. Summary of control law information. The frequencies and peak-to-peak amplitude have been computed on the post-transient regime.

Figure 20

Figure 15. Vorticity fields of the best feedback control found with gMLC. (a–f) Time evolution of the vorticity field throughout the last period of the 1400 convective time units, (i) the objective symmetric steady solution and (j) the mean field of the forced flow. The colour code is the same as figure 1. Here $T_3$ is the period associated to the frequency $f_3$. The mean field has been computed by averaging 100 periods.

Figure 21

Figure 16. Time series of the actuation command $\boldsymbol {b}=[b_1,b_2,b_3]^\intercal$ and the instantaneous cost $j_a$ for the best feedback control law found with gMLC (a) and (b) for the flow controlled by a steady control law whose values are the averaged gMLC control during the post-transient regime.

Figure 22

Figure 17. Summary of the performances for the best solutions of each search space. The first column describes the search space. The second column contains the respective dimension of the studied search space. The method and number of evaluations needed to arrive at the presented solution are listed in the third and fourth column, respectively. The fifth column shows the relative distance to the symmetric steady solution $J_a/J_0$ (in blue) and the actuation power $J_b$ (in yellow). For the gMLC feedback control optimization, the best control law studied has been found after 800 evaluations but the cost $J_a/J_0$ was already under 0.26 after 250 individuals. The fifth row corresponds to the solution found with standard MLC after 1000 evaluations as elaborated in Appendix A. The last row shows the results for a periodic forcing optimization performed with EGM, see Appendix B.

Figure 23

Figure 18. Summary of the optimized stabilization solutions obtained for each search space. The Venn diagram (left) depicts the hierarchy of the control law spaces. The corresponding optimal solutions are presented along with their performances, control laws (centre) and mean fields (right). The mean field of the statistically asymmetric unforced flow is depicted in the top row and the symmetric target solution in the bottom row.

Figure 24

Figure 19. Distribution of the costs during the MLC optimization process. Each dot represents the cost $J_a/J_0$ of one individual. The colour of the dots represent how the individuals have been generated. Black dots for the individuals randomly generated by a Monte Carlo process (individuals $i=1,\ldots ,100$), blue dots for the individuals generated from a genetic operator (individuals $i=101,\ldots ,1000$). For each generation, the individuals have been sorted according to their cost. The red line shows the evolution of the best cost for the MLC optimization process. The green curve corresponds to the gMLC optimization process. The vertical axis is in log scale.

Figure 25

Figure 20. Contour plot for $J_a/J_0$ (a) and $J_b$ (b) as a function of the amplitude $B$ and the normalized frequency $F/f_0$. For (a), blue (red) regions denote good (bad) performances while white regions correspond to costs that are equivalent to the natural flow. For (b), the colour code describes the actuation energy. The symbols represent the individuals tested with EGM: black diamonds for the initial conditions, blue solid circles for exploration phases and yellow solid circles for the exploitation phases. For the legend, refer to figure 9.

Figure 26

Figure 21. Evolution of (a) the amplitude $B$ and the normalized frequency $F/f_0$ and (b) the reduced cost $J_a/J_0$ as a function of the number of evaluations $i$, for the EGM optimization process. The red line in (b) shows the evolution of the best cost. The evaluation time is 250 convective time units.

Figure 27

Figure 22. Characteristics of the best periodic forcing found with EGM. (a) Time evolution of the lift coefficient $C_L$, (b) phase portrait, (c) time evolution of instantaneous cost function $j_a$ and (d) PSD showing the main frequency $f_6=0.398$ of the forced flow and six harmonics. The control starts at $t=400$. The unforced phase is depicted in blue and the forced one in red. The phase portrait and the PSD are computed over $t \in [900,1400]$, during the post-transient regime.

Figure 28

Figure 23. Vorticity fields of the best periodic forcing found with EGM. (a–f) Time evolution of the vorticity field throughout the last period of the 1400 convective time units, (i) the objective symmetric steady solution and (j) the mean field of the forced flow. The colour code is the same as figure 1. Here $T_6$ is the period associated to the frequency $f_6$. The mean field is computed by averaging 200 periods.