Figures
Abstract
Unsteady atmospheric disturbances significantly compromise the flight stability of ornithopters, necessitating advanced turbulence-mitigation strategies. Drawing inspiration from the kestrel’s covert feathers, this study presents the modeling, control synthesis, and performance evaluation of a kestrel-inspired ornithopter equipped with an active covert-feather-based Gust Mitigation System (GMS). A reduced-order multibody bond-graph model (BGM) is derived from the full flapping-wing dynamics, capturing the coupled aero-elastic interaction between the main body, rigid wings, propulsion system, and feather actuation mechanism. Stability analysis reveals the presence of unstable internal dynamics, motivating the design of an H₂ optimal controller to ensure robust stability and fast disturbance rejection. The controller’s performance is evaluated against a Linear Quadratic Regulator (LQR) under vertical gust inputs ranging from 0 m/s to 20 m/s using MATLAB/Simulink simulations. Quantitative results indicate that the H₂-augmented GMS installed ornithopter reduces gust-induced forces by up to 32% and achieving faster state convergence within 1.1 seconds. The simulation results exhibit close agreement with previously reported findings, validating the fidelity of the proposed model and control framework. This work represents the first complete kestrel-inspired ornithopter integrating a bio-inspired GMS with H₂ optimal control, offering a validated and scalable foundation for next-generation adaptive ornithopters capable of maintaining stability in unsteady atmospheric environments.
Citation: Abbasi SH, Saudagar AKJ, Abbasi N (2026) H2 controller design for a kestrel-inspired ornithopter operating in extreme weather. PLoS One 21(2): e0342245. https://doi.org/10.1371/journal.pone.0342245
Editor: Zeashan Hameed Khan, King Fahd University of Petroleum & Minerals, SAUDI ARABIA
Received: September 25, 2025; Accepted: January 16, 2026; Published: February 12, 2026
Copyright: © 2026 Abbasi et al. This is an open access article distributed under the terms of the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited.
Data Availability: All relevant data are within the manuscript and its Supporting information files.
Funding: This work was supported and funded by the Deanship of Scientific Research at Imam Mohammad Ibn Saud Islamic University (IMSIU) (grant number IMSIU-DDRSP2603).
Competing interests: The authors have declared that no competing interests exist.
1. Introduction
Small unmanned aerial vehicles (UAVs) face their greatest operational challenge when flying close to the earth’s surface, where the atmospheric boundary layer (ABL) produces strong turbulence and unpredictable gusts. These rapid fluctuations can destabilize flight by disturbing velocity, attitude, and control responses [1]. Addressing these vulnerabilities requires equipping UAVs and ornithopters with active gust mitigation strategies, supported by bio-inspired closed-loop control, to ensure stable and reliable flight in turbulent environments [2].
A wide range of traditional approaches for handling external disturbances in ornithopters have been explored in previous studies. The authors in [3] examined advances in reactive inertial sensors and reported significant time delays and slow response when using a single sensor for flight control in gusty conditions. Their findings highlight the necessity of employing multi-sensor systems for effective attitude control. In a subsequent study [4], the authors demonstrated that conventional reactive attitude sensors exhibit slow response times for attitude control in turbulent environments. To address these delays, they developed novel biologically inspired sensors capable of providing phase-advanced disturbance information, thereby enhancing actuator response time and improving stability during severe weathers.
A passive stabilization method using a cylindrically shaped aerodynamic device was presented in [5] to enhance the resilience of flapping-wing micro-aerial vehicles (FMAVs) without the need for sensors or feedback control. The device generated uniform corrective moments, enabling recovery from pitch and roll disturbances of up to ±40° and –75°, respectively, as well as vertical displacements of nearly 160 mm within one second. Compared with conventional cross-arm dampers, this approach extended passive hover duration from 1–2 seconds to over 15 seconds. Furthermore, tests under light gust conditions (up to 2.6 km/h) confirmed its effectiveness as a lightweight inspired disturbance rejection solution. Another investigation highlights the use of vortex generators to alleviate wing loads during high-speed flight, aiming to prevent wing-tip stall and reduce aerodynamic forces during turbulence and gust events [6].
Several other designs have been made to improve UAV avionics to attain higher performance in the turbulent airflows. Ratti et al. [7] presented the possibility of equipping UAVs with avionics that can achieve stabilization performance similar to large sized aircrafts. A Micro Architecture and Control (MARC) avionics design is developed with substantial improvements in sensory delays, weight reduction and power consumption to cater for the size constraints of UAVs. However, all these conventional gust alleviation strategies have primarily been evaluated for fixed-wing aircraft or traditional UAVs, and their applicability to ornithopters remains largely unexamined.
In the past ten years, biomimetics has advanced swiftly to tackle engineering challenges. Numerous biologically motivated designs have also been proposed to address turbulence [8]. Authors in [9] introduced bio-inspired flow sensors modeled after birds’ primary and secondary feathers for fixed-wing UAVs, demonstrating their effectiveness in mitigating gust effects. These artificial feathers were mounted on both the upper and lower wing surfaces, functioning simultaneously as sensors and actuators. The implemented design showed notable gust alleviation in the prototype fixed-wing UAV whereas its implementation for ornithopters remains an open area.
In addition to active gust alleviation design techniques several researches have also been done till date to stabilize UAVs using linear and non-linear control strategies [10–12]. Yu et al. [13] in their recent study address the problem of recovery flight in flapping-wing micro-aerial vehicles (FWMAVs) subjected to extreme attitudes caused by aggressive maneuvers and wind disturbances. The authors propose a reinforcement learning (RL)-based controller that enables the vehicle to regain stable flight while minimizing angular acceleration. To ensure sustained stability after recovery, a hybrid control strategy is introduced by combining the RL controller with a proportional-derivative (PD) controller. Simulation results demonstrate the effectiveness of both the RL and hybrid approaches in managing recovery and stabilization under challenging flight conditions, with future work aimed at real-world implementation.
Geder et al. [14] developed a six-degree-of-freedom (6-DOF) model of a flapping-wing UAV (FUAV) that incorporated the dynamics of the main body, wings, sensors, and shape-memory-alloy-based actuators. Sensory feedback control algorithms were designed and implemented in simulation, where the four control modules adjusted the wing stroke amplitude, stroke plane angle, and mean position. An extended Kalman filter was employed to enhance attitude estimation and stabilize the FUAV. Furthermore, PD and proportional integral derivative (PID) controllers were used to track desired responses in hovering, forward flight, and turning maneuvers. The simulated results demonstrated satisfactory performance across all flight modes.
A recent study [15] introduces a multi-level optimization model predictive control framework to balance computational load and control accuracy in FWMAVs. Using a quasi-steady aerodynamic model to estimate forces and moments, the method combines traditional model predictive controller (MPC) for path tracking with an added layer to fine-tune kinematics. The proposed controller outperforms proportional integral derivative (PID) and standard MPC by offering better tracking and quicker response under gusty conditions. Simulations show robust performance, though higher gusts still cause tracking deviations, highlighting the need for further stability research.
Coleman and Benedict [16] designed a bioinspired robotic hummingbird featuring a dual-wing configuration optimized for stable hovering. Pitch stabilization was achieved using a proportional derivative (PD) controller, with gain tuning focused on minimizing oscillations and ensuring prompt recovery. The system was evaluated under gust-like disturbances, showing fast stabilization and minimal positional drift. Although PID feedback was considered, it played a limited role in performance evaluation. The results highlight the effectiveness of lightweight, nature-inspired control for gust disturbance rejection.
Bluman et al. [17] demonstrated the effectiveness of sliding mode control (SMC) for a bumblebee model hovering in the pitch plane under severe uncertainties, including gusts, wing damage, and non-equilibrium initial conditions. The control inputs included flapping amplitude (vertical force), stroke plane angle (horizontal force), and flapping offset angle (pitch moment). In all scenarios, the controller achieved the desired response in under 1 s (within three flapping cycles). Key SMC features discussed included finite-time convergence, asymptotic state stability, and reduced control chattering via integrated switching. Although no method overwhelmingly dominated, classical SMC provided faster input computation, quicker gust rejection, and slightly smoother cycle-to-cycle control behavior.
Zheng et al. [18] introduced a tailless flapping-wing robot featuring three independently actuated wing pairs and bio-inspired elastic passive legs, enabling both aerial and ground mobility. A cascaded PID control loop with a Special Euclidean group in three dimensions (SE (3)) based geometric tracking controller was implemented for stable hovering and precise trajectory tracking. Although yaw control was underactuated, the system-maintained stability and maneuverability. While not specifically tested under strong gusts, the design demonstrated robustness to small disturbances.
Existing control strategies have proven effective primarily for handling mild disturbances and low-speed winds, but they struggle to manage stronger gusts effectively. This is largely because most approaches attempt gust mitigation in isolation, without incorporating active aerodynamic design elements to support control performance. Study in [19] also observed this limitation, noting that single-controller schemes are inadequate for flapping-wing drones operating in dynamic and highly nonlinear environments. They recommend integrating active structural features such as feather-like mechanisms, or employing a multi-layered control framework with parallel modules to achieve more robust gust rejection.
This challenge has prompted a shift in focus toward natural flyers, whose evolved strategies may hold the key to effective gust handling. Extensive studies on kestrels have shown that they often switch to intermittent flight patterns when encountering gusty winds and turbulent atmospheric conditions. During these non-flapping phases, kestrels typically either glide or loiter in the air. It is in these moments that the covert feathers become active, deploying automatically to mitigate the adverse effects of turbulence and gusts. This behavior is illustrated in Fig 1 [20].
Covert feathers deflect in response to vertical gusts.
Inspired by avian covert feathers, authors in [21] proposed a biomimetic gust alleviation system (GAS) for the wing of a flapping-wing UAV. This system incorporates feathers seamlessly integrated into the UAV’s wing structure. The GMS is selectively activated under turbulent conditions to dissipate incoming gusts, while remaining fixed during calm weather to preserve the wing’s aerodynamic profile. Later work [22] presents a robust controller design for a wing equipped with GAS, successfully stabilizing its dynamics. These approaches provide several flight benefits, notably improved stability in adverse weather environments. However, these works are confined to a single wing equipped with GAS and their applicability to a complete UAV needs to be studied.
Authors in [23,24] showed that the feather-equipped ornithopter is dynamically unstable and necessitates an active controller design to achieve stable and robust flight during turbulence and gusts. In this study, we build upon these findings and present a novel design of controller for a complete ornithopter integrated with a kestrel-inspired covert feather-based GMS on both wings.
In the context of this study, gusty conditions refer to vertical atmospheric disturbances that disrupt the periodic aerodynamic loading on the flapping wings. For lightweight flapping-wing UAVs such as the Festo Flapping Bird, wind fluctuations exceeding 3 m/s are generally considered gusts that can significantly affect flight stability. Based on available experimental data and prior literature, vertical gust amplitudes up to 20 m/s represent strong yet physically realistic outdoor conditions for ornithopters of comparable scale [25]. Accordingly, this vertical gust speed range has been adopted in the present simulations to assess the controller’s robustness under severe but practical disturbances. Evaluation under more lateral and longitudinal extreme gusts (> 20 m/s) is reserved for future extensions of this research.
The control approach is adopted in this work due to its capability to minimize the total energy of gust-induced disturbances transmitted to the ornithopter states and outputs. Compared with Model Predictive Control (MPC), which requires iterative optimization at every time step, and
control, which tends to yield conservative performance by prioritizing worst-case robustness, the
framework provides a balanced trade-off between computational efficiency and disturbance-attenuation accuracy. In contrast to reinforcement-learning approaches that demand large datasets and heavy onboard computation, the
formulation ensures predictable stability and lower implementation cost. Overall, these properties make
especially suitable for real-time implementation on low-power ornithopters, where rapid adaptation to gusts is essential for stable flight. Finally, the key contributions of this work include:
- We develop a reduced-order longitudinal bond-graph model of a complete flapping-wing ornithopter equipped with a kestrel-inspired covert-feather based Gust Mitigation System (GMS) on both wings, capturing the coupled aero-elastic interactions needed for control synthesis.
- We formulate and implement an
controller specifically tailored for vertical gusts up to 20 m/s, minimizing disturbance-to-output energy and ensuring robust stabilization of the inherently unstable internal dynamics; performance is benchmarked against an LQR baseline under identical disturbance scenarios.
- We provide quantitative validation of the
-augmented GMS, including step and sinusoidal-gust evaluations, demonstrating up to 32% reduction in gust-induced effects and fast, well-damped convergence, thereby establishing a validated, bio-inspired control framework for resilient ornithopter flight in unsteady atmospheres.
Collectively, this represents, to the best of our knowledge, the first complete kestrel-inspired ornithopter that integrates an active covert-feather GMS with control, bridging bio-inspired aerodynamics and modern optimal control for practical gust mitigation.
The remainder of the paper is organized as follows: Section 2 describes the architecture of the complete ornithopter equipped with the GMS and details the formulation of its reduced-order longitudinal bond graph model. Section 3 presents control oriented reduced order model of the GMS installed ornithopter while the stability analysis is covered in section 4. Section 5 outlines the design of the controller for gust mitigating ornithopter. Section 6 discusses the simulation results, and section 7 concludes the paper.
2. System architecture and modeling
The Festo Flapping Bird [26] is selected as the baseline ornithopter for this study. The proposed ornithopter is composed of subsystems namely the main body, motors, the flapping mechanism, rigid wings and GMS. The GMS incorporates a total of 8 electromechanical (EM) covert feathers and is installed in each ornithopter wing. Each EM covert feather includes a flap, mechanical linkage, voice coil actuator, bio-inspired controller, spring, and a piezoelectric transducer (PZT). The configuration of the EM feathers is illustrated in Fig 2. The flap rotates under a vertical gust and transfers motion through the spring and mechanical link to the PZT. The PZT generates a voltage proportional to the gust and sends it to the bio-mimetic controller, which computes the control input. This current drive the voice coil actuator, whose shaft applies force back on the flap via the linkage to create the required deflection. Thus, the gust transpires with minimal interaction on the wing.
Bond graphs offer a powerful, domain-independent graphical approach for modeling the dynamic behavior and energy exchange in physical systems. In contrast to conventional methods that are typically confined to a single domain, bond graphs provide a unified framework capable of representing systems across mechanical, electrical, hydraulic, thermal, and other energy domains. This modeling technique is particularly well-suited for complex, multi-domain systems like ornithopters, where coordinated behavior among mechanical structures, actuators, and aerodynamic forces must be accurately captured. Moreover, bond graphs naturally lend themselves to generating state-space representations, facilitating seamless integration with control design and simulation processes [27].
Given the multi-domain nature of the proposed ornithopter, bond graph modelling is employed in this study to derive its mathematical representation. 20-SIM simulation software is used for development of BGM. The ornithopter is composed of subsystems namely the main body, propulsion system (motors and flapping mechanism), rigid wings and GMS.
2.1. Rigid body
The ornithopter’s body is presented as 6-DOF rigid structure which can complete both translational & rotational motions. The investigation of rigid body’s motion generates equations appended below derived from the Euler’s equations [27]. The state matrix contains generalized momentum px, py, pz, pjx, pjy, and pjz at every inertia element.
where are the derivatives of linear momenta,
are the derivatives of angular momenta, Fx, Fy, Fz are forces acting along the body-axes, τx, τy, τz are torques about the body-axes, m,
are linear and rotational inertias and
are angular-velocity components about the body-axes.
2.2. Propulsion system
The propulsion system comprises batteries, motors and a slider-crank mechanism. The two DC motors are driven by batteries and are comprised of an armature having resistance and inductance and an electro-mechanical coupling. The ornithopter’s flapping movement is achieved by slider-crank mechanism actuated by DC motors. The reciprocating motion is received and transmitted through a crank shaft which helps achieve transformation of rotational motion in to a reciprocating motion and also vice-versa [28].
2.3. GMS equipped wings
Wings’ dynamics are demonstrated as a rigid beam in transverse motion having a pivoted end. The wing’s perpendicular displacement at the end point is obtained by:
where l is wing span, y is displacement and θ is flapping angle. The effort-flow relationship can be given as [29]:
where τ is torque, F is force and Vy is vertical velocity.
The wings of ornithopter are equipped with kestrel-inspired feather-based GMS. Model of a single EM covert feather is developed using the component diagram of EM feather given in Fig 1 and this is further utilized to form the BGM of a GMS comprising 8 EM feathers.The mathematical equations for a single EM feather, derived from the BGM depicted in Fig 3, are presented in Equations (10) to (17).
Bond graph model of the proposed ornithopter is composed of bond graph models of subsystems namely the main body, motors, the flapping mechanism, rigid wings and GMS.
The state variables in Equations (10) to (17) consist of p1, p2, p3 which represent the generalized momentum associated with the inertial elements, and q1, q2, q3, q4 which denote the generalized displacements corresponding to the compliance elements. I is mass of feather flap, Sf is gust velocity on flap, IC is voice coil actuator compliance and stiffness, R is resistance between amplifier and PZT, I1 is mass of stack, C1 is PZT spring stiffness, C2 is PZT equivalent capacitance, TF1 is electromechanical coupling ratio, C is stiffness of spring, TF is transformer ratio of mechanical linkage.
2.4. Multibody model of a complete ornithopter
The model of complete ornithopter is established by connecting the BGM of sub-systems via appropriate junctions and is depicted in Fig 3. For detailed component level development of a complete ornithopter model further reading of author’s previous work is suggested [23,24]. Parameters of the complete bond graph model are provided in the Supporting Information (S1–S6 Tables). The state vector comprises the momenta of the I-elements and the generalized displacements of the C-elements. Linearization about the hover trim condition yields a 132-state model which captures the complete 6-DOF rigid-body dynamics of the ornithopter installed with GMS in both wings. Since the focus of this study is on flight control synthesis, the analysis is restricted to the longitudinal plane. In this way, only the forward velocity, vertical velocity, pitch angle, and pitch rate are retained, while the lateral directional states are excluded. The resulting subsystem provides a direct pathway to the conventional four-state longitudinal model, which is presented in the next section.
The model is trimmed about a hover equilibrium condition, representing the most dynamically sensitive regime of the ornithopter. Extensive studies on kestrels show that these birds often shift to intermittent flight; gliding or loitering, when encountering gusty or turbulent air, relying on covert-feather modulation to maintain stability as explained in Fig 1. Hover therefore provides a biologically realistic and conservative basis for control synthesis: if stability can be achieved under this condition, it can be extended to near-forward flight with minor gain adaptation. The linearization was performed about the following nominal hover parameters: forward velocity of 0 m/s, vertical velocity of 0 m/s, pitch angle of 2.5°, and pitch-rate of 0 rad/s. The covert feather displacements at trim were taken as 0 m, with zero net aerodynamic load on each feather module and zero control input. These values correspond to the static equilibrium achieved by the bond-graph model under no-gust conditions.
In this research, the scope is limited to vertical gust excitation, which primarily influences the lift dynamics of the ornithopter. The comprehensive modeling of a GMS-equipped ornithopter that incorporates all aerodynamic and structural interactions is highly complex; therefore, several simplifying assumptions are introduced to maintain model tractability. Following the approach of recent studies [30,31], a range of secondary aerodynamic effects, such as wing-wake interaction, rotational inertia, circular rotation, rotational lift, leading-edge vortex generation, thrust, drag, viscous friction, and added mass are neglected. These effects have relatively minor influence within the moderate Reynolds number regime considered here and can be incorporated in future, higher-fidelity models. The present reduced-order bond-graph model thus captures the dominant dynamics responsible for gust structure coupling and provides a practical foundation for control-law design and performance evaluation.
3. Control oriented model
For the purpose of controller design, the reduced four-state longitudinal model of the GMS-equipped ornithopter is employed. This representation, obtained at the hover trim condition, captures the dominant forward and vertical velocity dynamics together with the pitch motion, making it well suited for stability analysis and control synthesis. The model is formulated in a linear time-invariant (LTI) state-space form and serves as the basis for the subsequent controller design. The state vector
, control vector
and the output vector
are as follows:
x = [u w θ q]T, u = [φo αm αo]T, y = [u w θ]T. The detail of these vectors is given in Table 1. Here, the flapping stroke offset biases thrust and primarily affects the forward dynamics, the pitch angle magnitude
governs lift and hence the vertical dynamics, and the pitch angle offset
influences the pitching moment of the GMS-equipped ornithopter. The resulting LTI system can be represented in state space form as: -
4. System stability study
Stability analysis of the reduced-order system is presented in this section. The poles of the open loop system are located at: −5.98, −12.81, 5.26 ± 10.35j. The presence of a conjugate pair of poles in right-half-plane as shown in Fig 4 indicates that the system is inherently unstable. Fig 5 illustrates the unstable state response of the open-loop system which shows diverging state response and instability in the system. Moreover, the open-loop step response of the multi-input multi-output (MIMO) ornithopter, shown in Fig 6, again highlights the strong instability and severe cross-coupling between states, with large unbounded excursions in response to step commands, thereby confirming the need for designing a stabilizing controller to ensure attitude stability under gust disturbances. In the open-loop dynamics, instability primarily originates from the pitch subsystem (θ, q) as the coupling between the angular displacement and pitch rate introduces positive feedback in the moment equation. The heave state w remains marginally stable but amplifies oscillations when coupled with the pitching motion. In contrast, the forward velocity u exhibits fast, well-damped behavior and is not a major source of instability.
Open loop pole zero plot of the ornithopter shows that multiple poles are in right half plan and therefore depicts unstable internal dynamics of the ornithopter.
Open loop states response of the ornithopter is diverging and therefore depicts unstable internal dynamics of the ornithopter.
Open loop step response of the MIMO ornithopter system is diverging and therefore depicts unstable internal dynamics of the ornithopter.
5. H2 controller design
In this section, we develop the GMS-equipped ornithopter controller based on optimal control principles, specifically employing the H2 control approach. The closed-loop H2 configuration is shown in Fig 7. The H2 control framework is an optimal design methodology that improves system performance by minimizing the overall energy of the closed-loop response to disturbances and noise [32]. By minimizing the H2 norm of the closed-loop transfer function, the controller effectively reduces the energy of the system response to gust disturbances, thereby enhancing stability and efficiency in turbulent airflows. We choose H2 control in this study because it is particularly suitable for gust mitigation as it directly minimizes the influence of energy-like gust inputs on the UAV dynamics, ensuring efficient attenuation of gust-induced oscillations without excessive control effort.
H₂ control block diagram showing ornithopter plant G regulated by controller K in feedback loop.
In Fig 7, G represents the plant, K denotes the controller, y is the measurement signal, w represents the disturbance, u is the control input, and z is the vector comprising all regulated signals. The H2 controller is designed to minimize the H2 norm [33]. The design process begins by formulating the transfer function, expressed as follows: -
There are certain assumptions that are required to be met before further development of the H2 controller [34]. These assumptions are appended below: -
- (A,Bu) is stabilizable and (Cm,A) is detectable.
has full column rank for all
has full column rank for all
Meeting the above assumptions will guarantee the development of H2 controller properly. The general solution of H2 controller comprises two Hamiltonian matrices that are given in equation (20) and (21) [35].
Once the above two Hamiltonian matrices are successfully calculated, then we need to compute the values of and
utilizing the equations (22) and (23).
Finally, the controller gain is calculated as [35]: -
In summary, unlike LQR which minimizes a deterministic quadratic cost on state and control effort, and H∞ control, which minimizes the worst-case disturbance gain, the H₂ controller minimizes the average energy of the disturbance-to-error transfer function, resulting in smoother transient behavior under atmospheric gusts.
6. Results and discussions
The developed GMS-installed ornithopter model and its controller are simulated and analyzed in this section. An controller is synthesized to minimize the closed-loop energy from disturbance inputs to performance outputs, thereby achieving optimal tracking and disturbance rejection.
controller’s design parameters used in this study are provided in the Supporting Information (S7 Table). The resulting controller is of order 13; after applying minimal realization using mineral in MATLAB, two high-frequency pole–zero cancellations are eliminated, yielding an effective 11th order controller. Combined with the 4th order GMS-installed ornithopter plant, the overall closed-loop system is of order 15. The closed-loop poles of the system are listed in Table 2, with the dominant poles located at approximately −5.26 ± 10.35i, governing the primary oscillatory dynamics of the ornithopter. Additional real poles near −4.07, −4.35, and −5.62 contribute to stable damping, while faster poles at −22.04 and −24.98 ± 35.63i ensure robustness and rapid decay of higher-frequency modes. Overall, all poles are present in left half plan and therefore depict that the
controller has successfully stabilized the unstable ornithopter as shown in Fig 8.
All poles are present in left half plan and therefore depict that the H2 controller has successfully stabilized the unstable ornithopter.
All simulations were conducted in MATLAB R2023a using the Control System and Robust Control Toolboxes. The continuous-time state-space models were numerically integrated with a fixed time step of 1 ms (Δt = 0.001 s) over a 5 s simulation horizon. The lsim solver (zero-order hold discretization of input signals) was employed for both LQR and H₂ closed-loop responses to ensure consistent time resolution and accurate transient capture. Figure generation and quantitative metrics (rise time, settling time, and overshoot) were computed directly from the simulated trajectories using custom functions.
To further evaluate the multivariable performance of the designed controller, unit step commands were applied individually to each of the three reference channels, and the corresponding closed-loop outputs were recorded. The resulting multi-input multi-output (MIMO) step response, shown in Fig 9, highlights both the direct tracking behavior along the diagonal channels and the cross-coupling effects in the off-diagonal responses. All three commanded states: forward velocity
, vertical velocity
, and pitch angle
exhibit stable convergence to their respective references with settling times under 1.5 s, while the cross-coupled outputs remain small and well-damped. This confirms that the
controller not only stabilizes the unstable ornithopter dynamics but also ensures effective decoupling between the longitudinal states, thereby validating its suitability for multivariable trajectory tracking.
MIMO step responses under H₂ control show stable tracking of u, w, and θ with settling times <1.5 s and minimal cross-coupling.
The closed-loop tracking performance of the ornithopter’s controller subjected to 20 m/s step gust is evaluated for three reference command scenarios:
only step: a forward velocity step of 0.20 m/s,
and
only step: a vertical velocity step of 0.25 m/s,
and
- Simultaneous
step: a combined forward velocity step of 0.20 m/s, a vertical velocity step of 0.25 m/s and
For each case, the system states , and the control inputs
are recorded over a 5 s simulation horizon. The resulting state trajectories for these reference inputs are shown in Figs 10–12, demonstrating the controller’s ability to achieve accurate tracking with minimal overshoot while maintaining stability.
Step response for forward velocity command (u-only) under H₂ control showing accurate tracking with settling times <1.3 s, and negligible impact on w, θ, and q.
Step response for vertical velocity command (w-only) under H₂ control showing smooth tracking with settling times <1.4 s, negligible cross-coupling and well-damped θ and q oscillations.
Simultaneous step responses for u and w under H₂ control showing accurate multi-input tracking with settling<1.4 s, negligible overshoot and well-damped θ and q dynamics.
Fig 10 shows that for the u-only step reference r = [0.20 0 0]T the controller achieves smooth and accurate tracking with negligible overshoot and a settling time of approximately 1.3 s. The forward velocity u converges rapidly to the commanded value, while the vertical velocity w remains close to zero, exhibiting only a small transient dip during the initial acceleration. The pitch angle θ and pitch rate q show well-damped oscillations of the order of 10−3 rad and 10−3 rad/s, respectively, which vanish within 1.1 s. These results confirm the controller’s ability to precisely track forward-speed commands while preserving stability in the remaining states.
Fig 11 shows that for the w-only step reference r = [0 0.25 0]T, the controller successfully tracks the vertical velocity command with negligible overshoot and a settling time of approximately less than 1.4 s across the channels. The commanded w response rises smoothly to the target value, while the forward velocity u stays close to zero, exhibiting only a transient fluctuation of the order of 10−3 m/s. The pitch angle θ and pitch rate q display small, well-damped oscillations with peak magnitudes of about −0.07 rad and −0.27 rad/s, respectively, which decay rapidly without destabilizing the system. These results demonstrate that the controller maintains decoupled and stable performance during vertical velocity tracking.
For the simultaneous step commands r = [0.20 0.25 0]⊤, shown in Fig 12, the controller achieves accurate multi-input tracking with negligible overshoot and settling times of less than 1.4 s. Both the forward velocity u and vertical velocity w follow their respective references closely, without noticeable steady-state error. The pitch angle θ and pitch rate q exhibit modest oscillations, with peak amplitudes of about −0.06 rad and 0.26 rad/s, which decay quickly. These results confirm that the
controller is effective in simultaneously regulating forward and vertical velocity commands, while maintaining stable and well-damped longitudinal dynamics of the GMS-equipped ornithopter.
The control input trajectories corresponding to the u-only step reference r = [0.20 0 0]T are shown in Fig 13. The dominant actuation is provided by the middle channel , which rises smoothly to a steady value of about 0.07 rad within the first second and remains constant thereafter. The outer channels
and
contribute minimally, exhibiting only small transient activity near the start before settling close to zero. The smooth profiles and absence of overshoot across all three channels confirm efficient control allocation with negligible coupling effects when tracking the forward velocity command.
Control inputs for u-only step showing dominant αₘ actuation (≈ 0.07 rad) with minimal φₒ and αₒ activity, confirming efficient control allocation.
Fig 14 presents the control input profiles for the w-only step reference r = [0 0.25 0]T. In this case, the steady-state actuation is primarily provided by , which settles at approximately −0.038 rad, supported by a smaller contribution from
at about −0.01 rad. The
input remains near zero in steady state, showing only a small transient peak of 0.002 rad during the initial maneuver. Compared with the u-only case, the relatively higher activity in
and
highlights how the controller reallocates actuation authority depending on the commanded channel.
Fig 15 shows the control input evolution for the simultaneous u–w step reference r = [0.20 0.25 0]⊤. Here, all three control channels contribute to meeting the combined tracking demand. The middle channel again dominates, settling at about 0.07 rad, while
and
provide compensatory actions with steady-state values of approximately −0.01 rad and −0.038 rad, respectively. Both
and
exhibit small oscillations during the first 0.5 s before settling, reflecting the coordinated control effort required for multi-axis regulation. These results demonstrate that the
controller ensures smooth and well-coordinated actuation across all channels, with efficient distribution of control effort tailored to the commanded motion.
Fig 16 illustrates the closed loop longitudinal state responses of the GMS-equipped ornithopter under a vertical sinusoidal gust disturbance of amplitude 10 and frequency 1 Hz, while tracking the step reference r = [0.20 0.25 0]T. The controller maintains accurate regulation of the commanded forward velocity u and vertical velocity w, with only minor oscillatory deviations introduced by the periodic gust. The pitch angle θ and pitch rate q exhibit well-damped oscillations at the gust frequency, but remain bounded and quickly converge around their equilibrium values. These results confirm that the
controller achieves stable reference tracking performance while effectively attenuating the influence of sustained sinusoidal gust inputs. Fig 17 presents the control input trajectories corresponding to the same sinusoidal gust scenario. The smooth and bounded control effort across all channels highlights the efficient distribution of actuation by the
controller, ensuring robustness against continuous gust excitation without excessive input demand.
Fig 18 shows the GMS-installed ornithopter closed loop responses to a simultaneous step command r = [0.20 0.25 0]⊤ under the influence of a step gust disturbance of 20 m/s. Comparison of LQR augmented ornithopter vs augmented ornithopter shows that both controllers achieve effective regulation despite the strong disturbance. Quantitative step metrics show that the
design achieves markedly improved transient performance in the primary tracking channels: for forward velocity
, the rise time improves by 38% and the settling time by 33% compared to LQR; for vertical velocity
, the rise time improves by 21% with identical settling; and for pitch angle
, the settling time is reduced by more than 50%. These gains are achieved with zero overshoot across all three channels. The trade-off is observed in the pitch rate
, where the
controller produces a slightly higher peak (0.604 rad/s vs. 0.506 rad/s) and comparable settling of approximately 1 s. Overall, the
augmented GMS-equipped ornithopter achieves fast and smooth convergence of the commanded states under severe gust excitation, while maintaining robustness and stability. The closed-loop dynamic state responses in Fig 18 show that all internal states settle within 1.1 s, consistent with the experimental findings reported in [15] where settling time is less than 1.5 s in all simulation scenarios. These results confirm that the designed
controller effectively attenuates gust-induced transients through the actuation of the EM feathers, ensuring stable and convergent state trajectories for the GMS-installed ornithopter. The quantitative comparison of LQR vs
is presented in Table 3. LQR controller’s design parameters used in this study are provided in the Supporting Information (S8 Table).
Closed-loop responses under 20 m/s step gust show that H₂ control improves rise and settling times in u, w, and θ compared to LQR, with zero overshoot and stable convergence within ~1.1 s which is consistent with the experimental findings reported in [15].
Fig 19 shows the tracking error responses for under LQR and
control. The
controller consistently drives errors to zero more quickly, achieving up to 50% faster settling in
. Even in the pitch rate
, where LQR exhibits a slightly smaller peak error, the
controller damps the oscillations effectively and ensures overall convergence. These results underline the superior error dynamics of
in gust-disturbed tracking, confirming its advantage over LQR in both speed and robustness. The control input profiles in Fig 20 show that the
controller achieves faster transients but at the cost of higher initial control effort compared to the LQR controller. All three actuator inputs settle within about 1 s under
control, whereas LQR requires approximately 1.3–1.5 s to stabilize. This indicates that the
design attains quicker gust rejection and improved responsiveness, albeit with slightly increased control activity.
Tracking error responses for u, w, θ, and q under LQR and H₂ control, showing faster error decay and improved robustness with H₂.
Comparison of control input responses showing that the H₂ controller settles faster but demands higher initial control effort than the LQR controller.
The displacement in vertical direction of the ornithopter having no GMS and the ornithopter having GMS augmented with designed controller subjected to vertical step gust of 20 m/s is demonstrated in Fig 21. The quantitative values of this comparison are provided in the Supporting Information (S9 Table). The simulation enunciates successful alleviation of gust up to 32% due to actuation of covert feathers along with activation of designed controller as the ornithopter with GMS has a vertical displacement of 6.39 m compared to 9.4 m vertical displacement of ornithopter without GMS. This successfully certifies the efficiency of the proposed design of an ornithopter comprising covert feathers inspired active GMS augmented with
controller in tackling gusts.
Vertical displacement of ornithopter under 20 m/s step gust showing 32% reduction with GMS and H₂ control actuation, confirming effective gust alleviation by the proposed design.
7. Conclusion and future work
This study demonstrated that integrating a kestrel-inspired covert feather–based gust mitigation system (GMS) with an controller enabled stable and resilient flight of a complete ornithopter under turbulent conditions. Using a reduced-order bond-graph model derived from the full flapping-wing dynamics, the controller effectively regulated the longitudinal states and suppressed gust-induced transients by up to 32% compared with the LQR counterpart. Quantitative evaluation showed that all internal states settled within 1.1 s under a 20 m/s gust disturbance, consistent with previously reported experimental results where settling times remained below 1.5 s. These findings confirmed that the integration of bio-inspired aerodynamic mechanisms with optimal
control significantly enhanced the robustness and disturbance rejection capability of flapping-wing ornithopters in unsteady flow environments.
The present study is based on a linearized reduced-order model and simplified quasi-steady aerodynamics, which, although effective for control synthesis, do not fully capture the nonlinear unsteady effects encountered in real flapping flight. Future work will address these limitations through higher-fidelity aerodynamic modeling, hardware-in-the-loop and real-time control testing, and experimental validation using a GMS-equipped ornithopter prototype. Additional efforts will also investigate adaptive and learning-based control strategies, as well as energy-consumption and actuator-saturation analyses, to further enhance the practical robustness and efficiency of gust-mitigating ornithopters.
Supporting information
S1 Table. Parameters Values of Bond Graph Model of Main body.
These parameter values are vital and used for formulation of the bond graph model of main body of the ornithopter in the Fig 3.
https://doi.org/10.1371/journal.pone.0342245.s001
(DOCX)
S2 Table. Parameters Values of Bond Graph Model of Motors.
These parameter values are vital and used for formulation of the bond graph model of all motors of the ornithopter in the Fig 3.
https://doi.org/10.1371/journal.pone.0342245.s002
(DOCX)
S3 Table. Parameters Values of Bond Graph Model of Flapping Mechanism.
These parameter values are vital and used for formulation of the bond graph model of flapping mechanism of the ornithopter in the Fig 3.
https://doi.org/10.1371/journal.pone.0342245.s003
(DOCX)
S4 Table. Parameters Values of Bond Graph Model of Rigid Wing.
These parameter values are vital and used for formulation of the bond graph model of rigid wing of the ornithopter in the Fig 3.
https://doi.org/10.1371/journal.pone.0342245.s004
(DOCX)
S5 Table. Parameters Values of Bond Graph Model of Gust Mitigation System.
These parameter values are vital and used for formulation of the bond graph model of gust mitigation system of the ornithopter in the Fig 3.
https://doi.org/10.1371/journal.pone.0342245.s005
(DOCX)
S6 Table. Parameters Values of Bond Graph Model of Gears, Springs and Mechanical Linkages.
These parameter values are vital and used for formulation of the bond graph model of gears, springs and mechanical linkages of the ornithopter in the Fig 3.
https://doi.org/10.1371/journal.pone.0342245.s006
(DOCX)
S7 Table. H2 Controller Design Parameters.
The H2 design parameters used in the research employs mixed-sensitivity weights W1(s) to shape tracking performance and W2(s) to limit control activity, targeting smooth responses with settling times below 1.6 s. These are used in obtaining Figs 8–20.
https://doi.org/10.1371/journal.pone.0342245.s007
(DOCX)
S8 Table. LQR Controller Design Parameters.
The LQR design parameters used in the research provide a balanced trade-off between state regulation and actuator usage while achieving stable control. These are used in obtaining Figs 8–20.
https://doi.org/10.1371/journal.pone.0342245.s008
(DOCX)
S9 Table. Gust mitigation system (GMS) installed ornithopter vertical displacement at 20 m/s.
These are the quantitative values of the vertical displacement of ornithopter with and without GMS subjected to 20 m/s gust that are used to produce the Fig 21.
https://doi.org/10.1371/journal.pone.0342245.s009
(DOCX)
References
- 1. Mohamed A, Massey K, Watkins S, Clothier R. The attitude control of fixed-wing MAVS in turbulent environments. Progress in Aerospace Sciences. 2014;66:37–48.
- 2. Tang D, Shi W, Liu D, Yang Y, Zhu L, Xu L. Quantitative analysis of the morphing wing mechanism of raptors: Bionic design of Falco Peregrinus wing skeleton. PLoS One. 2024;19(4):e0299982. pmid:38564602
- 3. Mohamed A, Clothier R, Watkins S, Sabatini R, Abdulrahim M. Fixed-wing MAV attitude stability in atmospheric turbulence, part 1: Suitability of conventional sensors. Progress in Aerospace Sciences. 2014;70:69–82.
- 4. Mohamed A, Watkins S, Clothier R, Abdulrahim M, Massey K, Sabatini R. Fixed-wing MAV attitude stability in atmospheric turbulence—Part 2: Investigating biologically-inspired sensors. Progress in Aerospace Sciences. 2014;71:1–13.
- 5. Lu X, Wu Y, Chen J, Chen Y, Wu X, Xiao D. An Insect-Scale Flapping-Wing Micro Aerial Vehicle Inspired by Tumblers Capable of Uncontrolled Self-Stabilizing Flying. Research (Wash D C). 2025;8:0787. pmid:40746823
- 6. De Rosa D, De Michele C, Catalano P. Impact of micro vortex generators on aerodynamic performance. In: Proc AIAA SciTech Forum; 2025 Jan 6–10; Orlando, FL, USA. Reston (VA): AIAA; 2025. Paper AIAA 2025-1069.
- 7. Ratti J, Jung-Ho M, Vachtsevanos G. Towards low-power, low-profile avionics architecture and control for micro aerial vehicles. In: Proceedings of the IEEE Aerospace Conference. 2011 Mar 5–12.
- 8. Cai W-H, Zhan J-M, Luo Y-Y. A study on the hydrodynamic performance of manta ray biomimetic glider under unconstrained six-DOF motion. PLoS One. 2020;15(11):e0241677. pmid:33170874
- 9. Blower CJ, Wickenheiser AM. The development of a closed-loop flight controller for localized flow control and gust alleviation using biomimetic feathers on aircraft wings. In: Proc ASME Conf Smart Mater Adaptive Struct Intell Syst (SMASIS); 2011. Paper SMASIS2011–5109.
- 10. Abbasi SH, Waqar K, Mahmood A, Imran M. Flight control design of a flapping wing UAV flying in gusts inspired from covert feathers of birds. J Micro-Bio Robot. 2023;19(1–2):47–57.
- 11. Wu C, Xiao Y, Zhao J, Mou J, Cui F, Liu W. A Multi-Modal Tailless Flapping-Wing Robot Capable of Flying, Crawling, Self-Righting and Horizontal Take-Off. IEEE Robot Autom Lett. 2024;9(5):4734–41.
- 12. Madebo NW. Hybrid adaptive PID control strategy for UAVs using combined neural networks and fuzzy logic. PLoS One. 2025;20(8):e0331036. pmid:40880437
- 13. Yu Y, Lu Q, Zhang B. Reinforcement learning based recovery flight control for flapping-wing micro-aerial vehicles under extreme attitudes. International Journal of Advanced Robotic Systems. 2025;22(1).
- 14. Geder J, Ramamurti R, Sandberg W, Flynn A. Modeling and control design for a flapping-wing nano air vehicle. In: Proceedings of the AIAA Guidance, Navigation, and Control Conference. Toronto, Ontario, Canada: 2010. p. 2–5.
- 15. Zheng H, Chen W, Xie F. Control Simulation of Flapping-Wing Micro Aerial Vehicle Based on Multi-Level Optimization Model Predictive Control. IEEE Access. 2024;12:40700–9.
- 16. Coleman D, Benedict M. Methods for stabilizing the longitudinal dynamics of a biomimetic robotic hummingbird in hovering flight. International Journal of Micro Air Vehicles. 2025;17.
- 17. Bluman JE, Kang C-K, Shtessel Y. Control of a Flapping-Wing Micro Air Vehicle: Sliding-Mode Approach. Journal of Guidance, Control, and Dynamics. 2018;41(5):1223–6.
- 18. Zheng Z, Xu X, Wang J, Chen Y, Huang J, Wu R, et al. Tailless Flapping-Wing Robot With Bio-Inspired Elastic Passive Legs for Multi-Modal Locomotion. IEEE Robot Autom Lett. 2025;10(8):7971–8.
- 19. Fang X, Wen Y, Gao Z, Gao K, Luo Q, Peng H, et al. Review of the Flight Control Method of a Bird-like Flapping-Wing Air Vehicle. Micromachines (Basel). 2023;14(8):1547. pmid:37630083
- 20. Bechert DW, Bruse M, Hage W, Meyer R. Biological surfaces and their technological application—Laboratory and flight experiments on drag reduction and separation control. In: Proc 28th AIAA Fluid Dyn Conf; 1997. Paper AIAA-1997-1960.
- 21. Abbasi SH, Saudagar AKJ, Nouman A. Bioinspired gust alleviation system for flapping-wing UAV: bond graph modeling, observer design and LQR–$$\:{\varvec{H}}_{\varvec{\infty\:}}$$ control. J Braz Soc Mech Sci Eng. 2025;48(1).
- 22. Abbasi SH, Shamsan ZA, Abbasi N. Robust H∞ Control Synthesis of a Biomimetic Flapping Wing UAV Operating in Gusty Environment. IEEE Access. 2025;13:98990–9002.
- 23. Abbasi SH, Mahmood A, Khaliq A. Multi-body bond graph modeling and simulation of a bio-inspired gust mitigating flapping wing UAV. Songklanakarin J Sci Technol. 2022;44(5):1238–47.
- 24. Abbasi SH, Mahmood A, Khaliq A, Imran M. Reduced order modeling and simulation of a bio-inspired gust mitigating flapping wing UAV. Int J Intell Robot Appl. 2022;6(4):587–601.
- 25. Watkins S, Milbank J, Loxton BJ, Melbourne WH. Atmospheric Winds and Their Implications for Microair Vehicles. AIAA Journal. 2006;44(11):2591–600.
- 26. Send W, et al. Artificial hinged-wing bird with active torsion and partially linear kinematics. In: Proc 28th Int Congr Aeronaut Sci (ICAS); 2012.
- 27.
Karnopp DC, Margolis DL, Rosenberg RC. System dynamics: modeling and simulation of mechatronic systems. 4th ed. Canada: Wiley; 2000.
- 28. Jahanbin Z, Selk Ghafari A, Ebrahimi A, Meghdari A. Multi-body simulation of a flapping-wing robot using an efficient dynamical model. J Braz Soc Mech Sci Eng. 2015;38(1):133–49.
- 29. Ma D, Song B, Gao S, Xue D, Xuan J. Designing efficient bird-like flapping-wing aerial vehicles: insights from aviation perspective. Bioinspir Biomim. 2024;19(6):10.1088/1748-3190/ad88c4. pmid:39423849
- 30. Rafee Nekoo S, Rashad R, De Wagter C, Fuller SB, Croon G de, Stramigioli S, et al. A review on flapping-wing robots: Recent progress and challenges. The International Journal of Robotics Research. 2025;44(14):2305–39.
- 31. Gupta D, Sane SP, Arakeri JH. Generating controlled gust perturbations using vortex rings. PLoS One. 2024;19(7):e0305084. pmid:38976706
- 32. Doyle JC, Glover K, Khargonekar PP, Francis BA. State-space solutions to standard H/sub 2/ and H/sub infinity / control problems. IEEE Trans Automat Contr. 1989;34(8):831–47.
- 33. Baldivieso-Monasterios PR, Masero E. Coalitional Control: Clustering Based on the H2 Norm. IEEE Control Syst Lett. 2025;9:1538–43.
- 34.
Zhou K, Doyle JC. Essentials of robust control. Englewood Cliffs (NJ): Prentice Hall; 1998. p. 26–290.
- 35. Zhang C, Zhang J. H2 performance of continuous time periodically time varying controllers. Systems & Control Letters. 1997;32(4):209–21.