A Deep Inverse-Mapping Model for a Flapping Robotic Wing
Hadar Sharvit, Raz Karl, Tsevi Beatus
TL;DR
This work tackles the challenging problem of inverse mapping in flapping-wing aerodynamics by learning the wing motions required to achieve targeted aerodynamic forces. The authors develop a Seq2Seq neural architecture augmented with an Adaptive Spectrum Layer (ASL) to perform representation learning in the Fourier domain, capturing both amplitude and phase information. Evaluated on a custom measured dataset and an open-source viscous-fluid dataset, the proposed Seq2Seq+ASL model achieves up to ~11% superior MAE performance over state-of-the-art baselines, while delivering orders-of-magnitude faster inference suitable for onboard control. The approach demonstrates practical potential for real-time, data-driven control of complex dynamic systems and can extend to biomimetic robotics and biomedical devices.
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 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.
