Next Article in Journal
Mission Planning for Low Altitude Aerial Drones during Water Sampling
Previous Article in Journal
Design of a UAV for Autonomous RFID-Based Dynamic Inventories Using Stigmergy for Mapless Indoor Environments
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Neural Network Approach to Estimate Transient Aerodynamic Properties of a Flapping Wing System

1
Department of Mechanical Engineering, National Taiwan University, Taipei 10617, Taiwan
2
Department of Mechanical Engineering, National Chung Hsing University, Taichung 40227, Taiwan
3
Department of Mechanical and Aerospace Engineering, Chung Cheng Institute of Technology, National Defense University, Taoyuan 33551, Taiwan
*
Authors to whom correspondence should be addressed.
Drones 2022, 6(8), 210; https://doi.org/10.3390/drones6080210
Submission received: 11 July 2022 / Revised: 1 August 2022 / Accepted: 12 August 2022 / Published: 17 August 2022

Abstract

:
Understanding the causal impacts among various parameters is essential for designing micro aerial vehicles (MAVs). The simulation of computational fluid dynamics (CFD) provides us with a technique to calculate aerodynamic forces precisely. However, even a single result regularly takes considerable computational time. Machine learning, due to the advance in computer hardware, shows another approach that can speed up the analysis process. In this study, we introduce an artificial neural network (ANN) framework to predict the transient aerodynamic forces and the corresponding energy consumption. Instead of considering the whole transient changes of each parameter as inputs, we utilised the technique of Fourier transform to simplify the ANN structure for minimising the computation cost. Furthermore, two typical activation functions, rectified linear unit (ReLU) and sigmoid, were attempted to build the network. The validity of the method was further examined by comparing it with CFD simulation. The result shows that both functions are able to provide highly accurate estimations that can be implemented for model construction under this framework. Consequently, this novel approach makes it possible to reduce the complexity of analysis, study the flapping wing aerodynamics and enable a more efficient way to optimise parameters.

1. Introduction

While a human can fly into the sky with a machine, the mechanism of insect flight remains yet a mystery of sorts. Unlike conventional artificial aircraft, an insect exhibits its fascinating aerial manoeuvrability by repeatedly flapping its wings. This particular mechanism has recently been extensively investigated to develop an improved micro aerial vehicle (MAV). Furthermore, aerodynamics at a small Reynolds number provides a more efficient flight [1], which allows a MAV to cruise at a low speed to execute examination tasks [2]. As MAVs can overcome terrain constraints, they are expected to search for victims in narrow buildings or explore dangerous environments by employing various sensors [3,4]. However, as the flapping wing system is a relatively novel concept compared with other aircraft, its mechanism has not been fully revealed yet. Considerable time is therefore required to examine the impact of various variables.
Among various methods, some studies have reported their findings through biological observations. Ellington [5] claimed that wing paths had no consistent patterns among numerous insects. Wakeling and Ellington [6] displayed exceptional steady-state aerodynamic property of dragonfly wings and utilised it to predict the parasite drag. Josephson and Stevenson [7] measured the oxygen consumption from insects to evaluate the energy efficiency of various flight patterns; Dial et al. [8] also presented the measured power consumption of birds that flew at different speeds by examining the electromyograms (EMGs).
As it is tough to reproduce the same experiment due to the individual differences and the uncontrolled environmental variables, some studies consequently built flapping wing mechanisms to clarify the relationship between various parameters. By utilising a rack-pinion mechanism, T.A. Nguten et al. [9] investigated the effect of parameters such as wing aspect ratio and flapping frequency; Sato et al. [10] built a flapping wing robot and discussed the control strategy of altering the flapping amplitude of wings. Miyoshi et al. [11] found that the asymmetric wingbeat amplitude only affects the pitch and roll moments. These mechanism-based approaches enable us to regenerate the same flying condition readily. Furthermore, by controlling the variables, we can figure out the impact of each parameter on flight performance.
On the other hand, without utilising the technique of particle image velocimetry (PIV), aerodynamic information such as the leading edge vortex (LEV), which produces high transient lift [12], can be directly visualised by computational approaches. From the simulation, we can further obtain precise details such as vorticity to explain the mechanism behind it [13]. Zou et al. [14] and Lai et al. [15] unveiled impacts caused by phase lag and the wing–wing interaction through computational fluid dynamics (CFD) simulation; Johansson and Henningsson [16] compared the effect of the clap mechanism between rigid and flexible wings. This numerical approach allows researchers to simulate how the airflow interacts with various objects without spending extensive time and effort creating experimental environments [17,18,19]. To obtain precise aerodynamic outputs, building a fine mesh of calculation field is necessary. Nevertheless, it takes several days or weeks for a machine to complete the calculation.
With the advances in computer hardware, machine learning shows another approach for modelling. Unlike conventional computation, related mechanisms are not required (e.g., governing equations). Recently, some studies have shown that machine learning methods can be implemented in aerospace science, including flight pattern recognition [20] and aeroelastic estimation [21]. In the study of flapping mechanics, some researchers have tried to adopt this new technique into control systems [22,23,24]. Nevertheless, the application for flapping flight aerodynamic analysis has not yet been fully developed. Two studies [25,26] utilised this method to predict the net forces produced in a single flapping cycle, but the transient analysis has not been completed yet. Therefore, researchers still relied on conventional approaches to obtain details, such as the changes during upstroke and downstroke, to explain the impacts of different flight modes.
In this study, we introduce a neural network approach accompanied by CFD simulation to shorten the considerable computational time of transient analysis. We first collected flapping kinematics by biological observations and utilised them to build a model for CFD simulations. Afterwards, the data were split into training, validation and testing groups. We utilised the first two groups of data to create neural network models and evaluated them with the testing data. As reports [27,28] have shown that wing and body kinematics are the main parameters affecting butterfly flight performance, we considered wing rotation and body oscillation as inputs and utilised them to predict the corresponding changes in aerodynamic forces and power consumption. The effectiveness of the method was examined by comparing it with the results obtained by CFD simulation afterwards.

2. Data Collection

2.1. Biological Experiment

To record the flapping motion, we utilised the blue tiger butterfly (Tirumala septentrionis) as a reference (Figure 1a). Before the measurement, objects were frozen at −7 °C for 24 h. The morphological parameters were then measured ( N = 4 ), including mass, body length and wing area, span and mean chord (see Table 1). Afterwards, we calculated the aspect ratio A R of a single wing with the equation:
A R = S c ¯ ,
in which S and c ¯ represent the wingspan and mean chord, respectively. These parameters were considered a reference to build a simulation model later.
To capture the details of a butterfly’s body action, we utilised two high-speed cameras (Phantom v7.3 and v310, Vision Research, Wayne, NJ, USA). Both cameras were operated at 1000 frames per second with a resolution of 1024 × 1024 and placed outside a transparent chamber (size: 1 m × 0.35 m × 0.35 m) in which a butterfly could fly inside freely. As these cameras were placed orthogonally, we defined the direction from the chamber to the two cameras as y- and z-axis (see Figure 1b); the synchronised photographed films were examined to determine the angles between various body parts. To attract a butterfly to fly forward, we placed a light source on one side of the chamber. As the study focused on the flapping motion of forwarding flight, we abandoned the data for which the butterfly flew with turning. On counting the number of frames, we deduced the wingbeat frequency to be around 11.020 ± 1.076 Hz ( N = 15 ).
To obtain the flapping kinetic equations, we utilised the coordinates measured from the experiments to rebuild them. Figure 2a shows the heading direction b was determined by the body from B 0 to B 1 . The angle between the x-axis and b was defined as the body pitching angle θ . Still, the vector w 1 was determined by the root W 0 and the wingtip W 1 ; the sweeping angle η was obtained by calculating the complementary angle of the angle between w 1 and b . Additionally, the wing plane was constructed with w 1 and w 2 (the direction pointing from W 0 to W 2 , with W 2 located on the trailing edge of the hindwing). Lastly, the wing rotation angle α was computed from the normal vector of the wing w N (i.e., the direction of w 2 × w 1 ) and r × b ; the angle between the latter and the negative z-axis was defined as its flapping angle, where r represents the axis of rotation. These parameters were utilised to describe the flapping flight behaviour of a butterfly.
Figure 2b shows the variation of the four angles in a flapping period measured from the experiments ( N = 15 ) with 95% confidence intervals (shaded areas). These curves were recognised as input parameters for subsequent simulation afterwards.

2.2. Computational Fluid Dynamics Simulation

To deduce the aerodynamic interactions that were hard to observe directly, we chose CFD simulation to generate highly accurate datasets. The obtained morphological parameters and kinematic equations were further utilised to build a butterfly model and regenerate the flight behaviour through a commercial solver (Fluent, Ansys, Canonsburg, PA, USA). The SIMPLEC algorithm was applied to resolve pressure and velocity fields [29]. To reduce the computational cost, we simulated the flow field under a relative condition frame. Therefore, the butterfly was flying at the centre of a sphere (see Figure 3a). The butterfly would thus encounter an incoming airflow with a virtual acceleration a created by its flight. To avoid inaccurate outcomes affected by the wall effect, the diameter of the spherical flow domain was set to 20 S (around 900 mm). As the Reynolds number of a natural flying butterfly is around 10 3 10 4 [30], the medium was considered an incompressible Newtonian laminar airflow, with a density of ρ = 1.23 kg/m 3 and viscosity of μ = 1.79 × 10 5 Pa·s. Furthermore, we utilised the following governing equations for computation:
· u = 0
ρ D u D t = p + μ 2 u + ρ ( g + a )
in which u, t, p and g represent the velocity, time, pressure and gravity, respectively. The entire domain was split into two for giving different boundary conditions [29,31,32]. The front of the butterfly was considered to be the velocity inlet with an incoming flux accompanied by a. As a result, the stream fluctuated with the flight at each time step. The rear sphere was the pressure outlet. These conditions were defined as:
u = a x ^ x ˙ a y ^ y ˙
p = ρ g y ,
in which a x ^ and a y ^ indicate the unit vector along the x- and y-axis, respectively.
The grid size of the butterfly’s surface was 0.5 mm with a no-split condition (the air had zero velocity relative to the boundary), whereas its surroundings were set to 1 mm. This setting can enhance the precision of the simulation results [31,33]. We also utilised the lift force to do the grid convergence test. The result converged as the number of grids increased. Figure 3b illustrates the comparison among three different settings: the coarse grid (blue solid line, 7 million), the medium grid (red dashed line, 8 million) and the fine grid (amber dotted line, 12 million). From the result, we found that the maximum value difference between the coarse and fine settings was about 0.5% merely. Considering the balance between accuracy and computational cost, we hence selected the medium setting for the following computation.
We also chose the method of dynamic mesh (smoothing and remeshing) to prevent a negative mesh volume [34]. A flapping cycle was divided into 250 calculation time steps. The simulation outputs were the horizontal force F h , vertical force F v , normal force acting on a single wing F w and power consumption P at the 10th flapping cycle (stable flight). All these values were nondimensionalised by the following equation:
F h F v F w P = 1 1 2 ρ V 2 ( 2 S c ¯ ) f h * f v * f w * p * / V ,
in which the wingtip velocity V = 4 ϕ f S ; f h * , f v * , f w * and p * were the corresponding untransformed forces and power. The Reynolds number of the simulation result was 6130, which was close to the experimental result of 6050.
As the study focused on the influence caused by amplitudes of body oscillation and wing rotation, we altered the simulated conditions of body pitching angle and wing rotation angle by multiplying them with scalers b and w. In total, 25 flapping data were collected (see Figure 4).

3. Artificial Neural Network

An artificial neural network (ANN) is constructed by several connected computing cells (artificial neurons) inspired by the human brain as shown in Figure 5. The output y of the cell n can be calculated by the following equation:
y n = σ ( i = 1 m w n i x n i + b n ) ,
in which x n 1 , x n 2 , . . . , x n m are the input signals; w n 1 , w n 2 , ... , w n m are the respective weights; b n is the bias; and σ is the activation function (transfer function) [35]. The inputs were the scalers b and w. To increased the training performance, we normalised the values in the interval of [ 0 , 1 ] [36]. On the other hand, instead of predicting 250 time steps for each aerodynamic property, we simplified it by fitting each parameter by a Fourier series:
F ( t ) = A 0 + n = 1 m A n cos 2 π n f t + B n sin 2 π n f t ,
where m is the order of the Fourier series. When choosing m = 5 to fit the data, each aerodynamic property could be described by a vector formed by 11 parameters. We hence considered these 44 parameters (four aerodynamic properties, F h , F v , F w and P) as the output of an ANN model. As the number of outputs was shrunk from 1000 to 44, we could consider utilising a smaller number of hidden cells for the following calculation. The training process hence can be curtailed at the same time.
Figure 6 shows two common activation functions utilised for neural networks. Recently, Rectified Linear Unit (ReLU) has been chosen as the activation function in various applications [37]. The function is defined by the formula:
R e L U ( x ) = 0 if x < 0 , x otherwise .
Although the vanishing gradients problem is a critical issue when training an ANN, ReLU has a constant gradient of 1 when the input is greater than 0. Therefore, it is widely applied to ANNs. However, previous flapping wing studies chose the sigmoid function to estimate the mean values of aerodynamic coefficients [25,38]. The function can be described by:
S i g m o i d ( x ) = 1 1 + e x .
As the s-shaped output of the sigmoid varies continuously in the interval of [ 0 , 1 ] , the activation values hence do not disappear. Because we aimed to predict transient aerodynamic statuses rather than their mean values, we need to evaluate which function can provide precise estimations. We consequently constructed two models based on these functions and compared the results afterwards.
To train the model, we utilised Adam optimiser [39], an advanced backpropagation method [40], with the loss function of mean square error (MSE) to minimise the error. Although many studies [41,42,43,44,45] had proposed their rules of thumb to select the number of hidden units, the main idea is to improve the prediction accuracy and minimise errors. Therefore, we randomly picked up 80% of the data to train two types of models through a various number of hidden units iteratively. Among these datasets, 80% (i.e., 64% of the entire data) were utilised for tuning weights and bias; 20% (i.e., 16% of the entire data) were for validation. Considering the balance between accuracy and computational time, we have examined the loss when the number of hidden neurons was between 20 to 40. To avoid the setting merely benefiting specific cases, each training was repeated 30 iterations with the same settings but different training data selections. Figure 4 shows one of the random states that we have utilised. The learning rate and the epoch size were set to 0.001 and 60,000.
Figure 7 depicts the mean convergent curves of each case during the training process. From the testing result, we found that though the training loss of ReLU model kept decreasing when epoch size was greater than 10,000, the validation loss of it remained around 10 3 . We further found that as the number of hidden units was 40, which had the smallest loss, its validation loss was 8.28 × 10 4 and 8.05 × 10 4 when epoch sizes reached 30,000 and 60,000. As the difference between these two values was less than 3%, we considered the 40 hidden neurons and 30,000 epochs to be an adequate setup. On the other hand, the training and validation loss of sigmoid model plots reveal that a larger number of hidden neurons did not promise a smaller loss. When the number of hidden units was 30, the validation loss difference between epochs 50,000 and 60,000 was less than 3% (epoch 50,000: 8.12 × 10 6 , epoch 60,000: 7.93 × 10 6 ). Consequently, we considered the number of hidden units and epochs to be 30 and 50,000, respectively.
It was unsure if the accuracy of the ReLU activation function was sufficient to predict the four aerodynamic properties, though the validation loss of the sigmoid-based model was even lower. We hence utilised both models for the following analysis. To avoid overfitting, the unused 20% of the data were assigned as testing datasets. As all the data generated by the CFD simulation were from the same system, the model that fits one group should fit the other as well. Because these cases were not utilised for previous training, they were considered to be unseen data for the following model evaluation. If the number of datasets is sufficient, we can utilise a large number of cases to evaluate our models. However, it is not easy to collect hundreds of results as it generally takes about 4 to 7 days to complete a single simulation. To deal with a limited amount of data, k-fold cross validation was implemented for obtaining a reliable evaluation [46]. To implement this method, the database needs to be randomly split into k groups first so that we can evaluate a model k times. In each iteration, we only utilise k 1 groups to train our network. As there is one group that does not join the training process, it can be utilised for testing. Therefore, this can be utilised to protect our models from overfitting as the model will be examined by k different combinations. To keep 20% of the entire data for testing, we chose k to be 5 in this study (see Figure 8).

4. Results and Discussion

4.1. Model Comparison

As the outputs of our models were coefficients of the four aerodynamic parameters, we converted the signal back by utilising Equation (8). The prediction can hence be compared with the original curves by calculating the coefficients of determination R 2 . The mean and standard deviation (SD) of the two models are given in Table 2. We first checked if the overtraining occurred on our model. Since the training and testing R 2 values are all close to 1, the models encountered neither underfitting nor overfitting problems. Although the MSE loss of the sigmoid-based model was smaller than the other one, as they both have mean values greater than 0.99, the differences were not obvious. However, the SD values of the ReLU-based model were slightly higher. The result implies that the sigmoid activation function generally provided higher precise estimations.
As it is difficult to understand the difference between the two models by just viewing the R 2 values, we picked up a case from the testing group, which had a maximum R t e s t 2 value difference of 0.005, for comparison. Figure 9 presents the output aerodynamic properties as the b and w were assigned to 1 and 0, respectively. By comparing these curves, we can find that the red dashed line (sigmoid) almost overlaps with the black solid line (CFD simulation). On the other hand, the blue dashed line (ReLU) is slightly off in the peaks. By way of illustration, the blue dashed line shifted marginally to the right at T = 0.3 in the F h -T plot. Nevertheless, the trends of four aerodynamic properties can still be identified.

4.2. Aerodynamic Performance

While the traditional CFD simulation takes several days to complete a single computation, these two ANN models take less than a second merely. Due to the high R 2 , both methods achieve elevated estimation accuracy and can be implemented to accelerate the analysis process. The networks hence can be utilised to investigate the interactions between body oscillation and wing rotation behaviours. Owing to the limited payload, a MAV cannot carry a battery of substantial volume. Consequently, how to efficiently generate lift is a critical issue. We can hence utilise this neural network approach to optimise the flapping motion, such as searching the efficient flying kinematics.
In our study, the mean lift efficiency E ¯ v can be defined by:
E ¯ v = F ¯ v P ¯ ,
where F ¯ v and P ¯ are the mean values of F v and P in a single flapping period, respectively. We could hence obtain a quick result by utilising the ANN method. Figure 10 depicts the corresponding F ¯ v and E ¯ v when b and w are in the interval of [0, 2]. Because the two models presented similar outcomes, we only display the sigmoid-based calculation in Figure 10. The result illustrates that the maximum F ¯ v appears at b , w = 2 , 2 . Nevertheless, the lift efficiency can still be improved by reducing w to 1.2. To verify if it fits the actual circumstance, we ran the simulation and compared the results (see Figure 11). The MSEs of F v and P were 5.19 × 10 4 and 8.35 × 10 4 , respectively. Considering the high R 2 and low MSE values, we believe this neural network approach can provide precise estimations which can be utilised for studying the flapping wing system.
Although it is still challenging to provide details such as flow fields with the current framework, we can utilise it to make a quick analysis and perform full CFD simulations of specific cases to clarify abnormal phenomena. This technique hence will be a great advantage when dealing with a complex system. Moreover, as we verified that the network could successfully estimate transient aerodynamic properties, we can extend the framework to include more complicated flapping motions as inputs in the future.

5. Conclusions

In this study, we introduce a novel neural network approach to speed up the transient analysis of flight mechanics. For evaluation, we analysed the butterfly’s flapping motions by CFD simulation and trained the model with these datasets. To simplify the model, we further utilised Fourier transform to reduce the number of neural cells. Through a series of tests, we found that both ReLU- and sigmoid-based models can accurately predict these coefficients, which can be utilised to obtain the original transient results. This enables us to rapidly estimate the corresponding aerodynamic properties with the given inputs.
The series of work conducted in this study aims to reduce the computational time cost. As the complex structure of flapping motion aerodynamics is non-linear, conventional approaches take excessive effort to analyse the unsteady system. With the aid of neural networks, we do not need to stick to CFD simulation for each case but can still obtain precise results without spending plenty of time. The technique reported here sheds new light on the development of flapping wing systems. This is a great advantage when a large amount of computing is required and provides us with a more efficient way to discuss the interactions among various parameters. Prior to this study, it was difficult to verify that the selected parameters were optimal. The technique introduced in the study makes it possible. We believe the framework will provide an efficient way to delve deeper into the flight mechanism and design a more efficient MAV.

Author Contributions

B.L. and Y.-J.L. conceptualised the research. Y.-J.L. and Y.-H.L. designed and performed the experiments. B.L. and C.-H.T. analysed the data. B.L. wrote the paper. J.-T.Y. administered the project and reviewed the paper. All authors have read and agreed to the published version of the manuscript.

Funding

The Taiwan Ministry of Science and Technology, grant number MOST 111-2221-E-002-123-MY3, funded this research. National Taiwan University partially supported this work under a project with contract NTU-CC-110L891401.

Conflicts of Interest

The authors declare no potential conflicts of interest with respect to the research, authorship and/or publication of this article.

Nomenclature

aVirtual acceleration
A R Aspect ratio
bScaler of the body pitching angle
c ¯ Mean chord
E v ¯ Mean lift efficiency
fFrequency
F h Nondimensionalised horizontal force
f h * Horizontal force
F v Nondimensionalised vertical force
f v * Vertical force
F w Nondimensionalised normal force acting on a single wing
f w * Normal force acting on a single wing
gGravity
kConsecutive fold number
PNondimensionalised power consumption
pAir pressure
p * Power consumption
R 2 Coefficient of determination
SWingspan
TNormalised time
tTime
uAirflow velocity
VWingtip velocity
wScaler of the wing rotation angle
α Rotation angle
η Sweeping angle
θ Body pitching angle
μ Air viscosity
ρ Air density
σ Activation function
ϕ Flapping angle

References

  1. Fenelon, M.A.; Furukawa, T. Design of an active flapping wing mechanism and a micro aerial vehicle using a rotary actuator. Mech. Mach. Theory 2010, 45, 137–146. [Google Scholar] [CrossRef]
  2. Perez-Sanchez, V.; Gomez-Tamm, A.E.; Savastano, E.; Arrue, B.C.; Ollero, A. Bio-Inspired Morphing Tail for Flapping-Wings Aerial Robots Using Macro Fiber Composites. Appl. Sci. 2021, 11, 2930. [Google Scholar] [CrossRef]
  3. Rossi, M.; Brunelli, D.; Adami, A.; Lorenzelli, L.; Menna, F.; Remondino, F. Gas-drone: Portable gas sensing system on UAVs for gas leakage localization. In Proceedings of the IEEE SENSORS, Valencia, Spain, 2–5 November 2014; pp. 1431–1434. [Google Scholar] [CrossRef]
  4. Lan, B.; Kanzaki, R.; Ando, N. Dropping Counter: A Detection Algorithm for Identifying Odour-Evoked Responses from Noisy Electroantennograms Measured by a Flying Robot. Sensors 2019, 19, 4574. [Google Scholar] [CrossRef] [PubMed]
  5. Ellington, C.P. The aerodynamics of hovering insect flight. IV. Aerodynamic mechanisms. Philos. Trans. R. Soc. London. Biol. Sci. 1984, 305, 79–113. [Google Scholar] [CrossRef]
  6. Wakeling, J.; Ellington, C. Dragonfly flight. I. Gliding flight and steady-state aerodynamic forces. J. Exp. Biol. 1997, 200, 543–556. [Google Scholar] [CrossRef]
  7. Josephson, R.K.; Stevenson, R.D. The efficiency of a flight muscle from the locust Schistocerca americana. J. Physiol. 1991, 442, 413–429. [Google Scholar] [CrossRef]
  8. Dial, K.P.; Biewener, A.A.; Tobalske, B.W.; Warrick, D.R. Mechanical power output of bird flight. Nature 1997, 390, 67–70. [Google Scholar] [CrossRef]
  9. Nguyen, T.A.; Vu Phan, H.; Au, T.K.L.; Park, H.C. Experimental study on thrust and power of flapping-wing system based on rack-pinion mechanism. Bioinspiration Biomimetics 2016, 11, 1–16. [Google Scholar] [CrossRef]
  10. Sato, T.; Fujimura, A.; Takesue, N. Three-DoF Flapping-Wing Robot with Variable-Amplitude Link Mechanism. J. Robot. Mechatronics 2019, 31, 894–904. [Google Scholar] [CrossRef]
  11. Miyoshi, T.; Nishimura, T.; Shimizu, T. Handling parameters for rotational moment generation with four-wing flapping. J. Aero Aqua-Bio-Mech. 2018, 7, 1–8. [Google Scholar] [CrossRef]
  12. Eldredge, J.D.; Jones, A.R. Leading-Edge Vortices: Mechanics and Modeling. Annu. Rev. Fluid Mech. 2019, 51, 75–104. [Google Scholar] [CrossRef]
  13. Lua, K.B.; Lee, Y.J.; Lim, T.T.; Yeo, K.S. Wing–Wake Interaction of Three-Dimensional Flapping Wings. AIAA J. 2017, 55, 729–739. [Google Scholar] [CrossRef]
  14. Zou, P.Y.; Lai, Y.H.; Yang, J.T. Effects of phase lag on the hovering flight of damselfly and dragonfly. Phys. Rev. E 2019, 100, 063102. [Google Scholar] [CrossRef] [PubMed]
  15. Lai, Y.H.; Ma, J.F.; Yang, J.T. Flight Maneuver of a Damselfly with Phase Modulation of the Wings. Integr. Comp. Biol. 2021, 61, 20–36. [Google Scholar] [CrossRef]
  16. Johansson, L.C.; Henningsson, P. Butterflies fly using efficient propulsive clap mechanism owing to flexible wings: Butterflies fly using efficient propulsive clap mechanism owing to flexible wings. J. R. Soc. Interface 2021, 18, 20200854. [Google Scholar] [CrossRef] [PubMed]
  17. He, Y.; Bayly, A.E.; Hassanpour, A. Coupling CFD-DEM with dynamic meshing: A new approach for fluid-structure interaction in particle-fluid flows. Powder Technol. 2018, 325, 620–631. [Google Scholar] [CrossRef]
  18. Fernandez-Gamiz, U.; Gomez-Mármol, M.; Chacón-Rebollo, T. Computational Modeling of Gurney Flaps and Microtabs by POD Method. Energies 2018, 11, 2091. [Google Scholar] [CrossRef]
  19. Cravero, C.; Marsano, D. Computational Investigation of the Aerodynamics of a Wheel Installed on a Race Car with a Multi-Element Front Wing. Fluids 2022, 7, 182. [Google Scholar] [CrossRef]
  20. Bagherzadeh, S.A. Nonlinear aircraft system identification using artificial neural networks enhanced by empirical mode decomposition. Aerosp. Sci. Technol. 2018, 75, 155–171. [Google Scholar] [CrossRef]
  21. Torregrosa, A.J.; García-Cuevas, L.M.; Quintero, P.; Cremades, A. On the application of artificial neural network for the development of a nonlinear aeroelastic model. Aerosp. Sci. Technol. 2021, 115, 106845. [Google Scholar] [CrossRef]
  22. Clawson, T.S.; Ferrari, S.; Fuller, S.B.; Wood, R.J. Spiking neural network (SNN) control of a flapping insect-scale robot. In Proceedings of the 2016 IEEE 55th Conference on Decision and Control (CDC), Las Vegas, NV, USA, 12–14 December 2016; pp. 3381–3388. [Google Scholar] [CrossRef]
  23. He, W.; Yan, Z.; Sun, C.; Chen, Y. Adaptive Neural Network Control of a Flapping Wing Micro Aerial Vehicle with Disturbance Observer. IEEE Trans. Cybern. 2017, 47, 3452–3465. [Google Scholar] [CrossRef] [PubMed]
  24. Goedhart, M.; Van Kampen, E.J.; Armanini, S.F.; de Visser, C.C.; Chu, Q.P. Machine Learning for Flapping Wing Flight Control. In Proceedings of the 2018 AIAA Information Systems-AIAA Infotech, Kissimmee, FL, USA, 8–12 January 2018; American Institute of Aeronautics and Astronautics: Reston, VA, USA, 2018. Number 209989. [Google Scholar] [CrossRef]
  25. Kurtulus, D.F. Ability to forecast unsteady aerodynamic forces of flapping airfoils by artificial neural network. Neural Comput. Appl. 2009, 18, 359–368. [Google Scholar] [CrossRef]
  26. Nguyen, A.T.; Tran, N.D.; Vu, T.T.; Pham, T.D.; Vu, Q.T.; Han, J.H. A Neural-network-based Approach to Study the Energy-optimal Hovering Wing Kinematics of a Bionic Hawkmoth Model. J. Bionic Eng. 2019, 16, 904–915. [Google Scholar] [CrossRef]
  27. Huang, H.; Sun, M. Forward flight of a model butterfly: Simulation by equations of motion coupled with the Navier-Stokes equations. Acta Mech. Sin. 2012, 28, 1590–1601. [Google Scholar] [CrossRef]
  28. Zhang, Y.; Wang, X.; Wang, S.; Huang, W.; Weng, Q. Kinematic and Aerodynamic Investigation of the Butterfly in Forward Free Flight for the Butterfly-Inspired Flapping Wing Air Vehicle. Appl. Sci. 2021, 11, 2620. [Google Scholar] [CrossRef]
  29. Lin, Y.J.; Chang, S.K.; Lai, Y.H.; Yang, J.T. Beneficial wake-capture effect for forward propulsion with a restrained wing-pitch motion of a butterfly. R. Soc. Open Sci. 2021, 8, 202172. [Google Scholar] [CrossRef]
  30. Senda, K.; Obara, T.; Kitamura, M.; Nishikata, T.; Hirai, N.; Iima, M.; Yokoyama, N. Modeling and emergence of flapping flight of butterfly based on experimental measurements. Robot. Auton. Syst. 2012, 60, 670–678. [Google Scholar] [CrossRef]
  31. Chang, S.K.; Lai, Y.H.; Lin, Y.J.; Yang, J.T. Enhanced lift and thrust via the translational motion between the thorax-Abdomen node and the center of mass of a butterfly with a constructive abdominal oscillation. Phys. Rev. E 2020, 102, 62407. [Google Scholar] [CrossRef]
  32. Lai, Y.H.; Chang, S.K.; Lan, B.; Hsu, K.L.; Yang, J.T. Optimal thrust efficiency for a tandem wing in forward flight using varied hindwing kinematics of a damselfly. Phys. Fluids 2022, 34, 061909. [Google Scholar] [CrossRef]
  33. Lai, Y.H.; Lin, Y.J.; Chang, S.K.; Yang, J.T. Effect of wing–wing interaction coupled with morphology and kinematic features of damselflies. Bioinspiration Biomimetics 2021, 16, 016017. [Google Scholar] [CrossRef]
  34. Suhaimi, S.; Shuib, S.; Yusoff, H.; Kadarman, A.H. Aerodynamic Performance of a Flapping Wing Inspired by Bats. Appl. Mech. Mater. 2020, 899, 42–49. [Google Scholar] [CrossRef]
  35. Zhang, Z. Artificial Neural Network. In Multivariate Time Series Analysis in Climate and Environmental Research; Springer International Publishing: Cham, Switzerland, 2018; pp. 1–35. [Google Scholar] [CrossRef]
  36. Sola, J.; Sevilla, J. Importance of input data normalization for the application of neural networks to complex industrial problems. IEEE Trans. Nucl. Sci. 1997, 44, 1464–1468. [Google Scholar] [CrossRef]
  37. Daubechies, I.; DeVore, R.; Foucart, S.; Hanin, B.; Petrova, G. Nonlinear Approximation and (Deep) ReLU Networks. Constr. Approx. 2019, 55, 127–172. [Google Scholar] [CrossRef]
  38. Thirumalainambi, R.; Bardina, J. Training data requirement for a neural network to predict aerodynamic coefficients. In Proceedings of the Independent Component Analyses. Wavelets, and Neural Networks, SPIE, Orlando, FL, USA, 21 April 2003; Volume 5102, p. 92. [Google Scholar] [CrossRef]
  39. Kingma, D.P.; Ba, J. Adam: A Method for Stochastic Optimization. In Proceedings of the 3rd International Conference on Learning Representations, ICLR 2015, San Diego, CA, USA, 7–9 May 2015; Available online: https://arxiv.org/abs/1412.6980 (accessed on 10 July 2022).
  40. Goh, A. Back-propagation neural networks for modeling complex systems. Artif. Intell. Eng. 1995, 9, 143–151. [Google Scholar] [CrossRef]
  41. Hornik, K. Approximation capabilities of multilayer feedforward networks. Neural Netw. 1991, 4, 251–257. [Google Scholar] [CrossRef]
  42. Boger, Z.; Guterman, H. Knowledge extraction from artificial neural network models. In Proceedings of the 1997 IEEE International Conference on Systems, Man, and Cybernetics. Computational Cybernetics and Simulation, Orlando, FL, USA, 12–15 October 1997; Volume 4, pp. 3030–3035. [Google Scholar] [CrossRef]
  43. Wang, S.C. Artificial Neural Network. In Interdisciplinary Computing in Java Programming; Springer: Boston, MA, USA, 2003; Volume 725, pp. 81–100. [Google Scholar] [CrossRef]
  44. Xu, S.; Chen, L. A novel approach for determining the optimal number of hidden layer neurons for FNN’s and its application in data mining. In Proceedings of the 5th International Conference on Information Technology and Applications, ICITA 2008, Cairns, QLD, Australia, 23–26 June 2008; Number ICITA. pp. 683–686. [Google Scholar]
  45. Sheela, K.G.; Deepa, S.N. Review on Methods to Fix Number of Hidden Neurons in Neural Networks. Math. Probl. Eng. 2013, 2013, 425740. [Google Scholar] [CrossRef]
  46. Cawley, G.C.; Talbot, N.L. Preventing over-fitting during model selection via bayesian regularisation of the hyper-parameters. J. Mach. Learn. Res. 2007, 8, 841–861. [Google Scholar]
Figure 1. Experimental setup. (a) Photograph of a blue tiger butterfly (T. septentrionis). (b) Measurement method. Two synchronised high-speed cameras were mounted onto a transparent chamber orthogonally along the y- and z-axis. By utilising the photographed images, a butterfly’s position could be determined.
Figure 1. Experimental setup. (a) Photograph of a blue tiger butterfly (T. septentrionis). (b) Measurement method. Two synchronised high-speed cameras were mounted onto a transparent chamber orthogonally along the y- and z-axis. By utilising the photographed images, a butterfly’s position could be determined.
Drones 06 00210 g001
Figure 2. Angle parameters of a flying butterfly. (a) Definitions of angles. From the coordinates of each feature’s points, body pitching angle θ , sweeping angle η , rotation angle α and flapping angle ϕ were obtained. (b) Angles measured from the experiments ( N = 15 ). The solid lines indicate four feature angles; the surrounding shaded areas represent the 95% confidence intervals. The abscissa axis denotes the normalised time in a flapping period; the blue area (from T = 0 to 0.6) indicates the downstroke phase, and the rest (from T = 0.6 to 1) is upstroke.
Figure 2. Angle parameters of a flying butterfly. (a) Definitions of angles. From the coordinates of each feature’s points, body pitching angle θ , sweeping angle η , rotation angle α and flapping angle ϕ were obtained. (b) Angles measured from the experiments ( N = 15 ). The solid lines indicate four feature angles; the surrounding shaded areas represent the 95% confidence intervals. The abscissa axis denotes the normalised time in a flapping period; the blue area (from T = 0 to 0.6) indicates the downstroke phase, and the rest (from T = 0.6 to 1) is upstroke.
Drones 06 00210 g002
Figure 3. Conditions of the simulation. (a) Boundary conditions (inlet: velocity, outlet: pressure). (b) Grid convergence test.
Figure 3. Conditions of the simulation. (a) Boundary conditions (inlet: velocity, outlet: pressure). (b) Grid convergence test.
Drones 06 00210 g003
Figure 4. Generated datasets. The data were randomly separated into training (64%, blue markers, N = 16 ), validation (16%, red markers, N = 4 ) and testing (20%, amber markers, N = 5 ) groups. The testing data were merely utilised for evaluation and did not participate in the training processes.
Figure 4. Generated datasets. The data were randomly separated into training (64%, blue markers, N = 16 ), validation (16%, red markers, N = 4 ) and testing (20%, amber markers, N = 5 ) groups. The testing data were merely utilised for evaluation and did not participate in the training processes.
Drones 06 00210 g004
Figure 5. Structure of an ANN model. The inputs were b and w, and the outputs were Fourier coefficients of F h , F v , F w and P.
Figure 5. Structure of an ANN model. The inputs were b and w, and the outputs were Fourier coefficients of F h , F v , F w and P.
Drones 06 00210 g005
Figure 6. Two types of activation functions.
Figure 6. Two types of activation functions.
Drones 06 00210 g006
Figure 7. Loss, the MSE of the 44 output parameters, of ReLU- (a) and sigmoid- (b) based ANN training processes.
Figure 7. Loss, the MSE of the 44 output parameters, of ReLU- (a) and sigmoid- (b) based ANN training processes.
Drones 06 00210 g007
Figure 8. k-Fold cross validation ( k = 5 ).
Figure 8. k-Fold cross validation ( k = 5 ).
Drones 06 00210 g008
Figure 9. Validation of the two models in comparison with the CFD simulation. The black solid lines were calculated by CFD simulation; the blue and red dashed lines were obtained from the ReLU- and sigmoid-based ANNs, respectively.
Figure 9. Validation of the two models in comparison with the CFD simulation. The black solid lines were calculated by CFD simulation; the blue and red dashed lines were obtained from the ReLU- and sigmoid-based ANNs, respectively.
Drones 06 00210 g009
Figure 10. Net vertical force F ¯ v and corresponding efficiency E ¯ v in a single flapping period.
Figure 10. Net vertical force F ¯ v and corresponding efficiency E ¯ v in a single flapping period.
Drones 06 00210 g010
Figure 11. Optimal aerodynamics obtained by the ANN in comparison with CFD simulated result.
Figure 11. Optimal aerodynamics obtained by the ANN in comparison with CFD simulated result.
Drones 06 00210 g011
Table 1. Measured ( N = 4 ) and simulation model’s morphological parameters of the butterfly.
Table 1. Measured ( N = 4 ) and simulation model’s morphological parameters of the butterfly.
ParametersMeasurementSimulation
Mass (mg) 379.93 ± 72.99 350
Wing Area (mm 2 ) 923.67 ± 42.55 925
Wingspan (mm) 46.00 ± 1.23 46.04
Mean Chord (mm) 20.07 ± 0.39 20.11
Aspect Ratio 2.29 ± 0.02 2.29
Table 2. Statistics of the ReLU- and sigmoid-based models (mean ± SD).
Table 2. Statistics of the ReLU- and sigmoid-based models (mean ± SD).
ParametersReLUSigmoid
R Train 2 R Test 2 R Train 2 R Test 2
F h 0.995 ± 0.018 0.989 ± 0.025 0.999 ± 0.003 0.998 ± 0.005
F v 0.998 ± 0.007 0.995 ± 0.012 0.999 ± 0.003 0.999 ± 0.003
F w 0.999 ± 0.004 0.997 ± 0.006 0.999 ± 0.002 0.999 ± 0.002
P 0.996 ± 0.016 0.989 ± 0.034 0.999 ± 0.003 0.997 ± 0.009
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Lan, B.; Lin, Y.-J.; Lai, Y.-H.; Tang, C.-H.; Yang, J.-T. A Neural Network Approach to Estimate Transient Aerodynamic Properties of a Flapping Wing System. Drones 2022, 6, 210. https://doi.org/10.3390/drones6080210

AMA Style

Lan B, Lin Y-J, Lai Y-H, Tang C-H, Yang J-T. A Neural Network Approach to Estimate Transient Aerodynamic Properties of a Flapping Wing System. Drones. 2022; 6(8):210. https://doi.org/10.3390/drones6080210

Chicago/Turabian Style

Lan, Bluest, You-Jun Lin, Yu-Hsiang Lai, Chia-Hung Tang, and Jing-Tang Yang. 2022. "A Neural Network Approach to Estimate Transient Aerodynamic Properties of a Flapping Wing System" Drones 6, no. 8: 210. https://doi.org/10.3390/drones6080210

APA Style

Lan, B., Lin, Y. -J., Lai, Y. -H., Tang, C. -H., & Yang, J. -T. (2022). A Neural Network Approach to Estimate Transient Aerodynamic Properties of a Flapping Wing System. Drones, 6(8), 210. https://doi.org/10.3390/drones6080210

Article Metrics

Back to TopTop