Skip to content
Robotics.world

Research

Real-Time Disturbance-Aware Koopman Model Predictive Control for Quadrotors in Spatially Varying Winds

Quadrotors flying near buildings encounter wakes, vortices, and recirculation zones that a model identified offline does not capture, so predictions drift from reality and tracking degrades.

The paper’s first page · arXiv:2610.27414
arXiv
2610.27414 · Preprint · not peer-reviewed
Published
2026-10-20 · revised · 2026-10-21
Authors
Stella Kombo, Masih Haseli, Alejandro A. Stefan-Zavala, Peter I. Renn, Morteza Gharib, Joel W. Burdick

In plain words

Quadrotors flying near buildings encounter wakes, vortices, and recirculation zones that a model identified offline does not capture, so predictions drift from reality and tracking degrades. The authors want a controller that keeps the good nominal model it already learned, but quickly corrects only the part that wind breaks, fast enough to run in the control loop.

AI summary

Overview

Research area: Robotics — data-driven modeling and model predictive control (MPC) for aerial vehicles operating in aerodynamic disturbances.

Technical level: Advanced. The paper assumes familiarity with Koopman operator theory, model predictive control, and quadrotor dynamics.

Scope (one sentence): The paper proposes a disturbance-aware Koopman Control Family model that keeps an offline-identified nominal predictor fixed while learning a lightweight online correction for unmodeled wind effects, and embeds it in a real-time MPC for a nano-quadrotor flying in uniform wind and a spatially varying wake.

What This Paper Is About

Quadrotors flying near buildings encounter wakes, vortices, and recirculation zones that a model identified offline does not capture, so predictions drift from reality and tracking degrades. The authors want a controller that keeps the good nominal model it already learned, but quickly corrects only the part that wind breaks, fast enough to run in the control loop. They test this on a physical Crazyflie 2.1 Brushless flying figure-eights and lateral sweeps through fan-generated wind and an obstacle-induced wake.

Key Contributions

  1. A disturbance-aware Koopman Control Family (DA-KCF) formulation. The composite-input operator is approximated as separable, A(u_c, d) ≈ A_c(u_c) + A_d(d), which cleanly separates nominal control effects from disturbance effects. Because the disturbance d is not measurable in flight, its effect is realized instead through a correction learned from observed state–command–state transitions.
  2. A three-stage pipeline that keeps the nominal model frozen. A nominal KCF is pretrained on simulation data, calibrated to hardware with Low-Rank Adaptation (LoRA) on four layers of the operator while the lifting map stays fixed, and then frozen; only a small residual ensemble is learned online during deployment.
  3. Horizon-propagated online adaptation inside MPC. The learned residual correction is re-evaluated at every step along the prediction horizon (not held constant), so the optimizer plans with the disturbance correction active throughout the horizon.
  4. Hardware validation under two distinct disturbance types. Experiments on a nano-quadrotor in uniform fan-array flow (0, 3.75, and 5.00 m/s) and in a spatially varying wake behind a building-like obstacle at a 2.50 m/s free-stream condition, with a controlled ablation in which nominal and adaptive controllers differ only in the prediction model.

Main Findings

  • Adaptation helps little when the nominal model is already good. Under no wind, Nominal KCF-MPC and Adaptive DA-KCF-MPC achieved mean three-dimensional position RMSE of 3.66 cm and 3.59 cm respectively, a 1.9% difference.
  • The adaptive advantage grows with disturbance strength. Relative to Nominal KCF-MPC, Adaptive DA-KCF-MPC reduced position RMSE by 18.0% at 3.75 m/s and by 21.2% at 5.00 m/s. Absolute values were 7.70 cm versus 9.39 cm at 3.75 m/s, and 9.95 cm versus 12.63 cm at 5.00 m/s (mean ± one sample standard deviation across 4 repeated trials).
  • Disturbance erodes the frozen nominal model's edge over PID. The nominal controller's advantage over PID fell from 35.8% under no wind to only 4.0% at 5.00 m/s (12.63 cm versus 13.15 cm for PID). The adaptive controller stayed 28.2% and 24.3% below PID at 3.75 and 5.00 m/s respectively.
  • Online learning works while the vehicle is flying. In a sustained hover under 5.00 m/s flow, residual learning, validation, and model updates all ran in closed loop. Wind onset caused a pronounced x-position deviation and a persistent offset, but the error did not grow progressively and all three position coordinates stayed regulated.
  • The learner captures a repeatable correction, not noise. The observed x-velocity prediction mismatch developed a persistent negative component with large sample-to-sample variation after wind onset; the deployed correction Γ_k,x became nonzero with a consistent sign and stayed bounded, without reproducing the high-frequency fluctuations.
  • The correction transfers to a spatially varying disturbance. In the obstacle wake, the paper states that after exposure to the full ±0.5 m lateral range the validated adaptive model reduced the wake-specific aggregate multi-horizon velocity error, but the numerical values are cut off in the provided content and are therefore not reported here.

Methodology in Plain English

The team split the problem into what can be learned before flight and what must be learned during flight.

First, they built a nominal predictor from simulation. Because the drone's onboard PID controller is part of the system being modeled, they included the controller's internal states in the model state — 76 state variables in total (position, velocity, rotation matrix, angular velocity, motor speeds, battery voltage, 40 internal-controller states, 9 command-target states, and 4 motor PWM signals) with 4 commanded-reference inputs (position and yaw). They trained a Koopman Control Family model on 250,000 transitions (83.3 min) from a MuJoCo/MJX Crazyflie Brushless simulation with the stock Bitcraze cascaded controller, at 50 Hz. The lifting map stacks the 76 raw states with 16 learned observables, giving a 92-dimensional lifted state and a 92×92 operator. Training penalized one-step error plus multi-step error over a horizon that grew during a curriculum.

Second, they adapted to hardware without disturbing what simulation taught. Using 86,025 real transitions (28.7 min of flight) at 50 Hz, they applied LoRA to four layers of the operator only, with a regularization term penalizing relative change, and kept the lifting map frozen.

Third, they handled wind online. Since the full 92×92 operator is too big to adapt in real time, the correction is injected only into the three velocity coordinates via a fixed selection matrix. The correction itself comes from an ensemble of 3 small residual networks taking a 27-dimensional input — 23 selected physical-state features plus the 4 commanded inputs — trained from a 250-sample (5 s) FIFO buffer, with 200 samples for training and 50 for validation. The nominal calibrated operator remains fixed throughout; the disturbance term is the only thing that changes.

Fourth, this model goes into MPC. At 50 Hz, an off-board solver optimized position and yaw references over the prediction horizon, penalizing tracking error, deviation from the mission reference, and command slew, then sent only the first optimized reference to the onboard controller. The residual is re-evaluated from predicted states at each horizon step. Experiments ran in an OptiTrack arena with pose at roughly 100 Hz, references sent via Crazyswarm2, using double-precision JAX-compiled L-BFGS-B on an NVIDIA RTX 4080 Laptop GPU and Intel 14900KF CPU, with wind from a Real Weather Wind Tunnel fan array.

Why This Matters

Research impact. The paper shows a clean way to combine a strong offline model with minimal online learning in a predictive controller: rather than retraining the full dynamics model or switching among pre-identified models, it preserves the pretrained operator and adds a low-dimensional, structured correction. The separable A(u,d) ≈ A_c(u) + A_d(d) formulation gives a principled way to think about unmeasured disturbances within the Koopman Control Family, and the finding that adaptation matters most precisely when nominal accuracy degrades is a useful empirical result for the adaptive-control community.

Real-world applications:

  • Package delivery and inspection drones operating between and around buildings, where wakes and recirculation zones change along a single trajectory.
  • Infrastructure monitoring near rooftops, bridges, and confined corridors where geometric constraints prevent avoiding adverse flow regions.
  • Search-and-rescue or survey flights in gusty urban terrain where a wind field cannot be measured in advance.
  • Any multirotor platform whose low-level controller is a black box the user cannot retune, since the method models the vehicle-plus-controller pair as a unit.

Industry relevance. The method runs within the control deadline on a laptop-class machine and requires only a modest amount of flight data (28.7 min) for calibration, which lowers the barrier to deploying adaptive MPC on commercial drones. Keeping the nominal model fixed also means the safety-relevant baseline behavior is preserved, with only a bounded velocity-level correction added on top.

Future Directions

  • Quantifying the wake experiment fully. The paper's spatially varying wake results are the most demanding test case; extending the analysis to more obstacle geometries and stronger free streams would clarify where a single low-dimensional velocity correction stops being sufficient.
  • Removing the velocity-only restriction. Adaptation is deliberately confined to the three velocity coordinates for computational reasons; whether richer correction subspaces remain real-time is an open question.
  • Making the disturbance observable rather than inferred. The authors note that if d were directly measurable, A_d(d) could be identified offline; combining onboard flow sensing with the learned residual is a natural next step.
  • Closing the persistent hover offset. Under sustained 5.00 m/s flow the vehicle retained a steady x-position bias, which the authors attribute to a sustained disturbance-induced tracking bias rather than loss of control; integral action or a bias-augmented model could address it.

Target Audience

Graduate students and researchers in robotics and control working on Koopman operator methods, data-driven MPC, or aerial vehicle dynamics; practitioners building wind-aware or disturbance-robust flight controllers; and engineers interested in sim-to-real transfer strategies that combine large-scale simulation pretraining with small hardware calibration sets.

Authors’ abstract

Reliable quadrotor flight in disturbed environments requires predictive models that remain accurate as unmodeled aerodynamic effects change during deployment. We introduce a disturbance-aware Koopman Control Family (DA-KCF) framework that preserves an offline-identified nominal model while learning only a disturbance-induced correction online. A reference-dependent KCF is first learned from simulation data and calibrated using limited hardware data. During deployment, the…

The full abstract on arXiv
Read the original paper

Related papers