Abstract
A gust wind tunnel designed to generate predictable wind patterns for aerodynamic testing was developed. From the detailed wind speed measurements in the test section, a wind gust model was constructed to characterize the time and positional variation of the wind speed and direction. The wind gust model, verified using hot-wire velocimetry, exhibited an error of less than 1%. The constructed wind gust model enabled the identification of the flight dynamics of objects in free flight, such as flapping insects. The dynamic model of a bumblebee flying in gusty winds was analyzed in a wind tunnel, and the transfer functions for the pitch angle and z-directional velocity in response to gust inputs were identified. Singular value analysis of the identified dynamics revealed that the control gain was adjusted either to decrease gust responses or improve robust stability according to wind conditions.
Keywords
Introduction
Unmanned aerial vehicles (UAVs) have recently been used in a wide range of fields. One such application involves carrying payloads, thereby replacing manned aircraft in certain applications. In particular, micro unmanned aerial vehicles (MAVs) can access confined spaces in which manned aircraft cannot operate. Although there is a strong demand for MAVs to replace manned aircraft in certain operations, designing an MAV that can fly stably under turbulent wind conditions while maintaining control of its posture, all within the constraints of limited payload capacity and size, presents a significant challenge.
In the MAV design process, information based on the biomimetics of small insects enhances the flight performance of MAVs. Insects have performed flight tasks under turbulent wind conditions that humans have yet to accomplish. Therefore, studies on insect flights have been conducted to apply control systems to manmade MAVs.
The aerodynamic characteristics of flapping wings at low Reynolds numbers were modeled in wind tunnel experiments. 1 For flapping insects, the leading-edge vortex generated a large lift force. This effect was confirmed by experiments in which the MAVs were flapped. 1 Structural analyses of insect wings were performed to mimic insect flight mechanisms.2,3 Both flapping insects and flapping MAVs are inherently unstable.4,5 By varying the flap amplitude and offset of the flapping linkage, 6 as well as the stroke plane and wing twist, 7 the control moment required for stabilization was generated. In Ref., 8 an attempt was made to stimulate flight muscles by electrical stimulation to reproduce the flapping motion of insects. Additionally, studies have been conducted on the development of flapping robots that are relatively larger than insects, and wind tunnel tests.9–17 Recent research includes the aerodynamic optimization of flapping wings, 18 analysis of clapping wing mechanisms, 19 and the development of MAVs with cyclorotors inspired by insect flight dynamics.20,21 Therefore, research on the aerodynamics and structure of insect flights has increased.
The dynamics of flying insects under disturbed flow conditions were also investigated. Although high-performance and stable flight has been observed,22–25 it is difficult to study the flight control system directly, which is implemented in the muscle nervous system. The responses of the tethered insects to visual information or wind velocity changes were observed.4,26–28 However, ensuring that tethered insects behave exactly as they do under free-flight conditions in natural environments is difficult.
Despite progress in insect flight control research, neuromuscular system flight strategies under gusty disturbances remain unclear. To analyze the flight dynamics of insects, it is necessary to model their flight in conditions that mimic their natural environment, allowing them to fly freely in turbulent winds. The dynamic model of insects flying under turbulent wind conditions can be identified by analyzing the input and output of the system. The inputs are the wind speed and direction encountered by the insect, and the outputs are the position and attitude of the insect. The time histories of both inputs and outputs must be accurately measured to obtain an insect flight model. However, directly measuring the variable wind conditions encountered by a free-flying object requires installing sensors, recording devices, or wireless modules on the flying object, which is virtually impossible for insect-sized objects. Therefore, a new system is required to measure the wind encountered by free-flying objects without affecting the flow field or altering their dynamics.
Previous turbulent wind tunnels generated isolated gusts with a definite time history29,30 or continuous gusts with a guaranteed statistical value.31–33 However, it is difficult to identify the wind conditions encountered by insects flying freely in existing turbulent wind tunnels, which is necessary for flight dynamics identification.
This study aims to develop a method for analyzing insect dynamics and control using wind tunnels. First, a free-flight wind tunnel was developed to generate repeatable wind disturbances with a definable time-variation history (Section 2). This allowed measurement of the wind speed and direction encountered by a flying object within the test section. For the output acquisition, the motion and posture of a flying object can be obtained using a stereo camera system with a high-speed camera. In addition, free-flight experiments on bumblebees were conducted in a turbulent wind tunnel to model the flight dynamics of bees flying under gusty wind conditions (Section 3). Finally, the control system design strategies of the bumblebees were analyzed.
Development of the wind tunnel with gust generator
A wind tunnel that generates periodic gusts as input signal for the dynamic identification of flying objects was developed. The spatial distribution and time variation of the wind speed were modeled by measuring the wind velocity in the test section, and the accuracy of the constructed model was evaluated.
Gust generator
A gust generator was installed in the suction-type wind tunnel (Figure 1). The test section was 0.2 m wide, 0.2 m high, and 0.54 m long. The gust vane was made from a 2 mm-thick aluminum flat plate that is 0.18 m wide and 0.15 m long. A two-dimensional gust was generated by an oscillating vane around the 0.83 chord length position. The vane was moved by a servomotor (Kondo Kagaku, KRS-5032HV ICS) with commands generated by the Arduino Uno. To precisely identify flying object dynamics in response to gust input, the bandwidth of the gust must be high to excite the dynamic modes and make the responses visible. In this study, the command of the vane angle

Wind tunnel with gust generator.
Let
Wind speed distribution
The target dynamics of this study were based on those of insect flies. The bandwidth of the gust input should be determined based on the frequency of the bee flight to be analyzed. The bee response to gust input may contain high-frequency dynamics at the flapping frequency, which is above 100 Hz. However, it is difficult to vibrate and measure the attitude of the bee at this frequency. Therefore, the vibration frequency and amplitude of the vane were determined through preliminary flight tests to ensure that the generated wind field could effectively excite and capture the relevant bee dynamics. Table 1 lists the determined vane oscillation parameters. The oscillation of the vane had four frequencies: 0.1, 0.7, 1.3, and 1.8 Hz. The time histories of these commands are presented in Figure 2. The time histories corresponding to these control commands over a 5 s interval were repeated cyclically, as illustrated in Figure 2.

Single time history of the vane angle command.
Parameter values of the vane command history.
The gust distribution and time history were measured to construct the wind gust models. The X-type probe of a hot-wire anemometer (KANOMAX, Smart CTA Model 7250) was inserted at the measurement point on the grid to simultaneously measure the wind velocity in the X- and Z-directions. (Figure 3). The time histories of wind velocity were measured at 910 grid points: five in the X-axis direction, 14 in the Y-axis direction, and 13 in the Z-axis direction. The mainstream velocity was set to 1.5 m/s. This was lower than the flying speed of the bees, and the bees could fly upwind in the test section. This speed was optimized through trial and error to ensure that sufficient flight data could be captured.

Equipment and layout for wind speed measurements. (a) X-type hot-wire anemometer probe used for wind speed measurements within the test section. (b) Measuring points in the test section.
The ensemble averages of measured wind speed are calculated as follows:
Figure 4 shows the ensemble averages of the measured wind speeds at

Measured wind speed history at y = 0 mm during vane oscillation. (a) z = -50 mm. (b) z = 0 mm. (c) z = 50 mm.
The similarity of the wind profiles was evaluated by cross-correlation along the flow direction on the longitudinal plane of the wind tunnel center (
The cross-correlation of the wind speed at x = 0 (the most upwind measuring position) to x = 50, 100, 150, and 200 mm (the downwind measuring positions of the same z-axis value) was analyzed. The maximum cross-correlation values and lag times at the maximum cross-correlation are shown in Figure 5. The lag time increased gradually as the flow moved downwind. This indicates that the wind profiles shifted downwind while maintaining the wind profile. However, the flow at the same height as the vane,

Cross-correlation of wind speed to the most upwind profile (x = 0 mm).
Wind gust model
The analysis of the measured wind histories demonstrated the reproducibility of the wind profile. Wind speed has a strong correlation with the surrounding position. The wind speed model was constructed by interpolating the wind speed at the vertices of the rectangle containing the modeling point (Figure 6, Eqs. (7)).

Grid point configuration used for wind speed modeling.
The smallest rectangle was suitable for precise modeling. When the smallest rectangle could be constructed from the measured points,
The modeling error is evaluated as follows:

Distribution of wind speed modeling errors on the xy plane. (a) Error of vx. (b) Error of vz.

Averaged modeling error of the x-y plane.
Figure 9 shows the measured and modeled wind speeds at (x,y,z) = (100, 0,0) and (100,0,-62.5). The position z = 0 was behind the vane. At z = -62.5, the measured wind speed histories are smooth compared to the ones behind the vane. The modeled wind speeds were in good agreement with the measured wind speeds. However, the measured wind speeds behind the vane oscillated at higher frequencies and did not agree with the modeled wind speeds.

Comparison of modeled wind speeds and measured sample values. (a) vx (x,y,z) = (100, 0, −62.5). (b) vz (x,y,z) = (100, 0, −62.5). (c) vx (x,y,z) = (100, 0, 0). (d) vz (x,y,z) = (100, 0, 0).
Modeling errors were analyzed in the frequency region. The modeling error of the wind speed is defined as follows:
The power spectral densities (PSD) of the measured wind speeds and modeling errors were analyzed (Figures 10 and 11). The PSD of the wind speed at (x,y,z) = (100, 0, 0) when the vane was stationary at an angle of 0° was also plotted for comparison (Figure 12). The

PSD of the measured wind speed. (a) vx (x,y,z) = (100, 0, −62.5). (b) vz (x,y,z) = (100, 0, −62.5). (c) vx (x,y,z) = (100, 0, 0). (d) vz (x,y,z) = (100, 0, 0).

PSD of the modeling error of wind speed. (a) vx error (x,y,z) = (100, 0, −62.5). (b) vz error (x,y,z) = (100, 0, −62.5). (c) vx error (x,y,z) = (100, 0, 0). (d) vz error (x,y,z) = (100, 0, 0).

PSD of the measured wind speed (static vane). (a) vx (x,y,z) = (100, 0, 0). (b) vz (x,y,z) = (100, 0, 0).
Flight dynamics analysis of bumblebees using the wind tunnel
The oscillating wind histories in the test section were modeled, which can be applied to the dynamic identification of flying objects in a wind tunnel. Free-flight tests of bumblebees in gusts were conducted, and flight dynamics were identified and analyzed based on the captured videos.
Setup and position capture method
Figure 13 shows the experimental apparatus. Flight tests of bumblebees were conducted in the wind tunnel test section where wind modeling was performed. The sidewalls and ceiling were made of transparent plates. Flying bumblebees were filmed using two high-speed cameras (DITECT, HAS-D73), and their position and attitude were analyzed using motion capture software (DITECT, DIPP-MotionV). The frame rate was 500 fps, and the pixel count was 1280 × 1028.

Experimental apparatus used for flight testing of bumblebee.
Flight experiments
The vane was moved by repeating the same 5 s history (Figure 2). A bumblebee is released into the test section of the wind tunnel and flies freely in the generated gust. The bumblebees used in the experiments were sourced from a commercial breeder (Agri Top Kuromaru Cube; Agrisect Inc., Ibaraki, Japan). Numerous flights were observed to crash owing to large changes in attitude caused by gusts. Figure 14 shows an example of a filmed flight. Figure 14(a) shows a stable flight in which the bumblebee flies forward without significant changes in attitude, while its attitude and position are affected by the gust. Figure 14(b) shows the bumblebee crashing to the ground on its back owing to a large pitch-up attitude caused by the gust. The gust encountered by bumblebees varies depending on their position and time of flight. These observations indicate that the flight control laws employed by bumblebees may not be sufficient to achieve a stable flight. Strategies for designing flight control laws for bumblebees were analyzed by identifying and analyzing stable flight dynamics. Two continuous stable flight datasets were obtained for the same bee (Flights 1 and 2). Flight 1 precedes Flight 2. Figure 15 shows the measured histories of the position and attitude. From the measured flight data, a dataset suitable for the precise identification of flight dynamics was extracted. In particular, the flight in the area with a modeling error of gust wind speed was smaller than almost 1% (Figures 7 and 8). From the extracted position history and gust wind model, Eq. (7), gust input histories along the ground-fixed axis were calculated. Figure 16 shows the gust input history of the bees. To eliminate the gust at high frequencies, a low-pass filter with a cutoff frequency of 50 Hz was applied to the measured data before the identification process.

Typical bumblebee flights under gusty wind conditions. (a) Stable flight in gust wind. (b) Unstable flight in gust wind.

Position and attitude of flying bumblebee in gust wind . (a) Position (Flight 1). (b) Position (Flight 2). (c) Attitude (Flight 1). (d) Attitude (Flight 2).

Gust input to the flying bumblebee. (a) Flight 1. (b) Flight 2.
Model identification
The observed attitude and position histories shown in Figure 15 are those of a successful flight, which is accomplished by the bee's flight control system that compensates for the gust response. This successful gust response history was modeled using a mathematical equation. The resulting model included bee-specific aerodynamics and feedback structure dynamics consisting of sensing, computation, and actuators. The precise modeling of a bee's flight requires a high-order linear or nonlinear model and a wide bandwidth for the disturbance input. However, the constructed disturbance wind tunnel generated a limited input frequency, enabling precise wind velocity modeling. Therefore, the dynamics of the bee for the bandwidth of the input disturbance are modeled with a low-order system.
The pitch angle and z-directional speed responses
Here, s denotes complex variable, and the coefficients of the rational polynomials are unknown parameters determined by optimization calculations.
Figure 17 shows the power spectral density of the gust input. The generated gust contained frequency components up to 10 Hz. Therefore, the analysis of the flight dynamics of bees is reliable at this frequency. The deflection from the mean value was provided, and the second-order model was identified. Figure 18 shows the measured pitch angle and z-directional speed (downward positive) and the calculated outputs from the identified model. The measured values were offset such that the average value was zero. The response of Flight 1 was modeled with good accuracy. In Flight 2, the response at the same frequency as that in Flight 1 was modeled with good accuracy. However, it is not possible to model high-frequency oscillations.

PSD of the gust input to flying bumblebee. (a) Flight 1. (b) Flight 2.

Measured responses and model output of flying bumblebee in gust wind. (a) Flight 1. (b) Flight 2.
The preciseness of the identified model is evaluated by output error as follows:
Identification errors in the gust response model.
Analysis of control strategy
The identified model should represent the response resulting from tuning the control system for certain purposes. In the design of control systems for artificial objects, the loop-shaping method
36
is often used to suppress the disturbance response. Because the identified model has two inputs, the frequency responses of the largest singular value of

Frequency responses of disturbance responses gust response model of bumblebee. (a) Flight 1 (Pitch angle output). (b) Flight 2 (Pitch angle output). (c) Flight 1 (
Conclusions
A turbulent wind tunnel was developed to identify the motion of free-flying objects. Oscillating vanes were installed upstream of the test section to measure the wind velocity distribution in the test section and its temporal variations. The wind velocity distribution in the wind tunnel was modeled using the measured data to obtain the wind speed and direction encountered by the flying object from the position and time of the object. Except for the downstream of the vanes, the modeling error for wind speed was less than 1%. A flight test of a free-flying bumblebee in a continuous gust was conducted, and the gust response transfer function of the bee was identified based on the measured position and attitude and the established wind distribution model. It was found that, depending on the flight, the bee adapts by selecting a large feedback gain that suppresses the gust response or a small gain that improves robust stability. The inference for the bee control system design strategy was based on the identified models of the two flights. Further experiments with various disturbances may reveal more detailed adaptation policies and learning processes among bees. The developed experimental setup can also be extended to investigate the dynamics of MAVs under turbulent conditions. Moreover, the bee dynamics model, derived through multiple unstable flight attempts, can inform adaptive flight control strategies in MAVs to improve their robustness against wind disturbances.
Footnotes
Funding
The authors disclosed receipt of the following financial support for the research, authorship, and/or publication of this article: This work was supported by JSPS KAKENHI (grant number 23K17320).
Declaration of conflicting interests
The authors declared no potential conflicts of interest with respect to the research, authorship, and/or publication of this article.
