A Deep Inverse-Mapping Model for a Flapping Robotic Wing

Hadar Sharvit, Raz Karl & Tsevi Beatus · 2025

Read A Deep Inverse-Mapping Model for a Flapping Robotic Wing by Hadar Sharvit, Raz Karl & Tsevi Beatus (2025) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2502-09378.txt.

Introduction

Hadar Sharvit, Raz Karl, and Tsevi Beatus taught a neural network to plan a robotic wing's flapping in a 2025 paper. Controlling a flapping wing is an inverse problem: choose the wing motion that produces a desired aerodynamic force. For propellers the input-output map is simple, but flapping flight involves intricate fluid motion, making real-time inversion computationally impractical by classical means. The authors instead learn the inverse map directly from experiment.

Their rig flaps a wing while measuring its aerodynamic force and filming its three-dimensional motion with high-speed cameras, generating the training data. A sequence-to-sequence model, fitted with a novel adaptive-spectrum layer that learns in the frequency domain, then predicts the kinematics needed for a target force. Data-driven inversion could give flapping robots the responsive control fixed-wing craft take for granted.

Catalog record

CREATORHadar Sharvit, Raz Karl & Tsevi Beatus
YEAR2025
COLLECTIONPAPERS
FORMATTXT
FILE SIZE51 KB
VERSION1.0
LICENSEhttp://creativecommons.org/licenses/by/4.0/
RIGHTSCC BY
SOURCEarXiv

Source: https://arxiv.org/abs/2502-09378

Browse the full library · About the Tower of Babel

Full text

The opening of the work, from the library's hosted text:

A Deep Inverse-Mapping Model for a Flapping Robotic Wing Hadar Sharvit, Raz Karl & Tsevi Beatus Abstract In systems control, the dynamics of a system are governed by modulating its inputs to achieve a desired outcome. For example, to control the thrust of a quad-copter propeller the controller modulates its rotation rate, relying on a straightforward mapping between the input rotation rate and the resulting thrust. This mapping can be inverted to determine the rotation rate needed to generate a desired thrust. However, in complex systems, such as flapping-wing robots where intricate fluid motions are involved, mapping inputs (wing kinematics) to outcomes (aerodynamic forces) is nontrivial and inverting this mapping for real-time control is computationally impractical. Here, we report a machine-learning solution 1 1 1 Framework, models, and data are publicly available on github.com/Hadar933/AdaptiveSpectrumLayer for the inverse mapping of a flapping-wing system based on data from an experimental system we have developed. Our model learns the input wing motion required to generate a desired aerodynamic force outcome. We used a sequence-to-sequence model tailored for time-series data and augmented it with a novel adaptive-spectrum layer that implements representation learning in the frequency domain. To train our model, we developed a flapping wing system that simultaneously measures the wing’s aerodynamic force and its 3D motion using high-speed cameras. We demonstrate the performance of our system on an additional open-source dataset of a flapping wing in a different flow regime. Results show superior performance compared with more complex state-of-the-art transformer-based models, with 11% improvement on the test datasets median loss . Moreover, our model shows superior inference time, making it practical for onboard robotic control. Our open-source data and framework may improve modeling and real-time control of systems governed by complex dynamics, from biomimetic robots to biomedical devices. 1 Introduction In machine learning frameworks that model causal relationships, e.g. , for prediction, causes are typically mapped to their effects. This forward mapping serves a wide range of applications, for example, predicting the motion of a mechanical system based on the forces acting on it ( Dearden & Demiris, 2005 ) , or in weather forecasting ( Yu et al., 2024 ) , in which data on previous atmospheric conditions are used to forecast future weather. In other cases, though, rather than predicting a system’s response to a set of conditions or inputs, it is required to control the system by modulating its inputs to achieve a desired outcome. Hence, systems control would benefit from an inverse mapping, which flips the causal relationship by mapping the desired outcome to the input that would have led to this outcome. Such inverse mapping would enable the design of a controller that applies these inferred inputs to achieve desired behaviors. If the relationship between causes and their effects can be readily inverted, then an inverse-mapping control approach is useful and simple to implement. For example, in many robotic systems, a desired mechanical motion (outcome) can be directly mapped to the forces and torques that can generate it (cause) ( Nguyen-Tuong & Peters, 2011 ) . Figure 1: Forward vs. inverse mapping of a physical system. (a) In forward mapping, a model f_{\mathrm{fwd}}(t) predicts system outcomes based on the tracked system dynamics, e.g. . Given the history of the wing motion, predicting the current lift force generated by the wing. (b) In inverse mapping, a model f_{\mathrm{inv}}(t) takes in future/desired system outcomes to infer the inputs that generate them. For the wing, using the future lift force to predict what wing motion created this force. (c) A diagram of a wing driven by a motor, with force and camera sensors. (d) Experimental setup: sample images from the two fast cameras, showing the wing and its markers. (e) The 3D position of the wing in motion. The yellow triangle represents the triangulation of the three markers and colored lines indicate the markers’ trajectories. Two black arrows show the cameras’ viewpoint. Here, in contrast, we address the case where the forward mapping between inputs and outcomes is nontrivial and difficult to calculate and invert. Examples of such systems include the mapping between pacemaker signals and a desired heart activity Simantirakis et al. (2009) , and the mapping from injected insulin dosage to the resulting blood glucose level in a specific patient ( Thomas & Heinemann, 2022 ) . An additional noteworthy class of such systems is systems involving complex fluid motion, such as a flapping wing of an insect or a flapping-wing micro-air-vehicle (FW-MAV) ( Dickinson et al., 1999 ; Sane & Dickinson, 2002 ; Tu et al., 2020 ; Bayiz & Cheng, 2021b ; Keennon et al., 2012 ; Ma et al., 2013 ; Jafferis et al., 2019 ; Karásek et al., 2018 ; Coleman et al., 2015 ; Nguyen & Chan, 2018 ) , illustrated in Fig. 1 and Supplementary Movie 1. The fluid dynamics in these systems are highly nonlinear and complex ( Sane, 2003 ; Ellington et al., 1996 ) : the wing induces intricate vortex structures that determine the aerodynamic forces; during flapping the wing interacts with its own, previously generated, flow field, which introduces complex time dependencies; and, finally, flapping wings often deform due to their elasticity and interaction with the flow, which then effects back on the flow itself, and so on, resulting in a complex fluid-structure interaction ( Shyy et al., 2010 ; Nakata & Liu, 2012 ; Miller & Peskin, 2009 ; Young et al., 2009 ) . Therefore, the forward mapping from wing motion (cause) to the aerodynamic force (outcome) often requires either using a mechanical, scaled-up flapping-wing analog ( Dickinson et al., 1999 ; Bayiz & Cheng, 2021b ; Whitney & Wood, 2010 ; Ellington et al., 1996 ; Muijres et al., 2014 ; Hsu et al., 2019 ; Melis et al., 2024 ) , or numerical solution of the Navier-Stokes flow equation, which is highly computationally intensive and impractical for online system control. Quasi-steady-state approximations of the aerodynamic force are available and relatively simple to invert ( Dickinson et al., 1999 ; Sane & Dickinson, 2002 ; Whitney & Wood, 2010 ; Nakata et al., 2015 ) , however, they might become less accurate on sub-wingbeat resolution and are, hence, typically used for evaluating wingbeat-averaged forces ( Bomphrey et al., 2017 ; Dickinson et al., 1999 ; Brunton et al., 2013 ) . Current FW-MAV designs circumvent the complexity of fluid dynamics by using a set of single-axis linear controllers based on insect-inspired control heuristics with manually-tuned parameters ( Keennon et al., 2012 ; Ma et al., 2013 ; Coleman et al., 2015 ; Karásek et al., 2018 ; Nguyen & Chan, 2018 ; Jafferis et al., 2019 ; Tu et al., 2020 ) . Although this simplified approach has made stable flight and maneuvers possible, it might be sub-optimal in allowing these vehicles to exploit their full performance envelope and achieve the remarkable agility and robustness of flying insects and hummingbirds. The aerodynamics of a flapping wing is, therefore, an appealing and practical test-bed for modeling the inverse mapping of a complex system. In this work, we address this complex inverse-mapping problem using deep-learning tools. To the best of our knowledge, there has been limited exploration of

Read the complete text