Manuscript Offprint
arXiv:2610.27414Real-Time Disturbance-Aware Koopman Model Predictive Control for Quadrotors in Spatially Varying Winds
Stella Kombo , Masih Haseli , Alejandro A. Stefan-Zavala , Peter I. Renn , Morteza Gharib , and Joel W. Burdick
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 nominal KCF remains fixed while a lightweight residual ensemble learns a low-dimensional disturbance correction from causal state-command-state transitions. The Adaptive DA-KCF model is incorporated into MPC, where disturbance corrections are evaluated along the prediction horizon to optimize position and yaw references sent to the onboard stabilizing controller. Hardware experiments on a nano-quadrotor under uniform wind and a spatially varying wake demonstrate that online adaptation improves multi-step prediction and trajectory tracking as disturbance-induced model mismatch increases, while satisfying real-time control requirements.
I. INTRODUCTION
Autonomous aerial robots are increasingly being considered for inspection, delivery, monitoring and human mobility tasks in densely built environments [1]. Such missions require multi-rotors to operate around buildings, above rooftops, through corridors and other confined structures while maintaining accurate trajectory tracking and satisfying state and actuation constraints. Reliable flight in these settings remains challenging since quadrotors are nonlinear, underactuated systems whose performance can degrade when aerodynamic effects are not adequately represented by the prediction or control model [2], [3]. The challenge is particularly pronounced in urban environments, where interactions between incoming flow and surrounding structures generate spatially varying wakes, vortices, recirculation zones and accelerated flows around building edges [4]. Consequently, the disturbances experienced by the aerial vehicle can vary significantly along a single flight trajectory.
Aerodynamic disturbances have previously been addressed at several levels of aerial-robot modeling and control. Classical approaches mainly rely on feedback to reject external disturbances and modeling errors during flight [5]. Analytic aerodynamic models, such as linear/quadratic rotor-drag terms, augment nominal dynamics with low-order aero-

Fig. 1. Drone figure-eight trajectory tracking under aerodynamic disturbance. The fan array seen on the left side of the photo generates a predominantly unidirectional flow (red arrows). The overlaid trajectories illustrate the adaptive (green) and non-adaptive (red) controller responses.
dynamic effects while remaining compatible with real-time control [6]. Data-driven approaches instead learn residual dynamics or full-state transition models from flight data, capturing complex effects that are difficult to model analytically. These learned effects can improve prediction and control for high-performance drone flight [7]–[9]. Although such models can be identified offline and used efficiently online, their accuracy degrades when the vehicle encounters dynamics not represented in the identification data.
A complementary line of work uses measured or predicted spatial flow information to aid wind-aware trajectory planning and penalize paths that enter adverse flow regions [10]. High-fidelity computational fluid dynamics can resolve complex urban flow structures [11], but their computational costs limit direct use in online prediction and high-rate control [12]. Learned flow surrogates provide a tractable alternative for wind-informed planning [13], [14]. However, disturbed regions cannot always be avoided when geometric constraints, mission requirements or unknown wakes force the vehicle to traverse them. When this occurs, unmodeled disturbances can induce persistent mismatch between nominal predictions and the realized vehicle response, degrading tracking and stability. Adaptive, observer-based and learning-based controllers compensate for these effects by estimating disturbances, adapting model parameters or learning residual corrections online [2], [15], [16]. For predictive control, these corrections must also be propagated over the prediction horizon without requiring online retraining of the full dynamics model. This motivates learning a nominal model offline from broad system excitation, while adapting to unmodeled disturbance-induced discrepancies during deployment.
Koopman-based models provide a structured nominal pre-
S. Kombo, M. Haseli, A. A. Stefan-Zavala, P. I. Renn, M. Gharib, and J. W. Burdick are with the Division of Engineering and Applied Science, California Institute of Technology, Pasadena, CA 91125, USA. {skombo, mhaseli, aastefan, prenn, mgharib, jburdick}@caltech.edu dictor that can be learned offline and used efficiently online, making them potentially suitable for disturbance augmentation. By representing nonlinear dynamics through observables in a function space, finite-dimensional approximations can be incorporated into model predictive control [17], [18] and have been applied to quadrotor prediction and trajectory tracking [19], [20]. The Koopman Control Family (KCF) [21] represents nonlinear and state-dependent control systems via a family of linear operators parameterized by the control input. However, existing KCF methods do not explicitly represent disturbances that arise during deployment [22].
Koopman methods have also been extended to disturbance estimation and online adaptation. Disturbance-observer approaches learn disturbance models for online compensation [23], while adaptive Koopman methods update residual or lifted dynamics [24], [25]. For quadrotors, related work either switches among pre-identified Koopman models across operating conditions [26] or augments nominal predictors with residual corrections [27]. These approaches do not formulate online adaptation as a disturbance-dependent extension of an input-dependent KCF. This leaves open how to preserve a pretrained nominal KCF while adapting only to disturbance-induced discrepancies online within real-time predictive control, without retraining the full model.
Contribution: To address this gap, we introduce a disturbance-aware Koopman Control Family (DA-KCF) and apply it to real-time predictive control of multi-rotors. We first identify a nominal KCF from simulation data and calibrate it using hardware data, capturing the coupled vehicle-onboard controller response while keeping the nominal model fixed during deployment. We then adopt a structured separable approximation , where is the nominal reference-dependent KCF and is a disturbance-dependent modification. For real-time deployment, the disturbance-dependent effect is realized through a low-dimensional correction learned online and propagated through the predictive horizon, while the calibrated nominal KCF and onboard stabilization controller remain fixed. We validate the method on a nano-quadrotor under previously unmodeled aerodynamic disturbances. Experiments include figure-eight tracking in uniform fan-array flows and traversal through a spatially varying wake generated by a building-like obstacle. The results demonstrate online adaptation of the predictive dynamics, improved trajectory tracking as disturbance-induced model mismatch increases, and real-time execution within the control deadline.
Notation: N, R, and C denote the natural, real, and complex numbers, respectively. We use and for the Euclidean and Frobenius norms. denotes the identity matrix. For vectors , . For a matrix , denotes the vector obtained by stacking the entries of row-wise. For square matrices , denotes the block-diagonal matrix with blocks . For a finite set , denotes the number of its elements. For a matrix , . For functions and with compatible domains and co-domains, denotes their composition. For , denotes the vector space spanned by its components. denotes the successor state of under a discrete-time dynamical system.
A. Koopman Operator
Consider the discrete-time nonlinear dynamical system
where is the state-transition map. Let be a vector space over of observables that is closed under composition with . The Koopman operator is defined by , such that . Although may be nonlinear, is a linear operator on space [28], [29]. Let be a vector-valued map whose elements span a finite-dimensional subspace . If is invariant under , there exists such that, for all ,
Defining , the dynamics evolve linearly in the lifted coordinates as
B. Koopman Control Family
We briefly review the Koopman Control Family (KCF) framework introduced in [21]. Consider the discrete-time nonlinear control system , where , , and . For each constant input , define by . If is closed under composition with every , the associated KCF is the family of Koopman operators , where . Let be a vector-valued map whose elements span a finite-dimensional common invariant subspace of the KCF. Then there exists a matrix-valued map such that, for all and ,
Thus, the lifted dynamics are linear for fixed u, while may depend nonlinearly on the input . When no informative finite-dimensional common invariant subspace exists, one instead seeks approximations of the form (3); the optimal approximations and sharp accuracy bounds on the function prediction error can be found in [21, Sec. 8] and [30].
III. DISTURBANCE-AWARE KOOPMAN CONTROL FAMILY (DA-KCF)
The KCF framework naturally accommodates multiple input types. Let the composite input be ,
A finite-dimensional invariant subspace does not need to exist. One seeks an approximation , for example using data-driven methods such as Extended Dynamic Mode Decomposition (EDMD) [17].
The input-state separable representation includes lifted linear, bilinear, and switched-linear Koopman models as special cases [21].
where denotes the control and denotes a disturbance. Consider the control system . For each fixed pair , define . If is a finite-dimensional common invariant subspace of the composite-input KCF, there exists a matrix-valued map such that
The lifted dynamics remain linear for each realized pair , while the evolution may depend nonlinearly on both input components. To separate the nominal control-dependent component from the disturbance-dependent effect , we consider the approximation
Ideally, if the disturbance parameter d is directly measurable, could in principle be identified offline from experiments or simulations spanning a range of disturbance conditions. However, in the setting considered here, d is not directly observed. Instead, we realize its effect through a correction learned from observed model mismatch .
IV. SYSTEM MODEL AND PROBLEM FORMULATION
A. Quadrotor and Internal-Controller Dynamics
Many quadrotors, such as the Crazyflie considered here, use an onboard low-level controller to stabilize the vehicle from commanded position and yaw references. We therefore model the quadrotor and its onboard controller as a discrete-time control system, with these commanded references acting as the control in Eq. (4). To define the system state, let the rigid-body and auxiliary states be and , respectively. The augmented state and reference inputs are denoted by
Here, denote inertial-frame position, translational velocity, and body angular velocity; is the body-to-inertial rotation; and and denote motor speeds and battery voltage, respectively. The variables , , and collect internal-controller states and signals, command-target states, and motor PWM signals, respectively. In our implementation, and . The augmented state includes the internal controller memory required for a Markovian reference-to-state representation. Consistent with Sec. III, let denote the nominal dynamics:
During deployment, unmodeled dynamics and aerodynamic disturbances may alter this evolution:
For the quadrotor model considered below, corresponds to the commanded-reference input : we hereafter omit the subscript c.
where denotes the unknown change in the state transition relative to the nominal dynamics. In the lifted representation of Eq. (5), we seek to capture this unknown effect through the disturbance-dependent KCF term .
B. Problem Statement
Quadrotors operating in urban environments may encounter spatially varying aerodynamic disturbances. We seek a predictive KCF model of the form in Eq. (4), approximated by the additive structure in Eq. (5). However, during deployment, the disturbance is not directly measurable .
We must therefore infer the disturbance-induced modification from the transition history . This modification must be learned online from the observed vehicle response and remain computationally tractable for real-time use within the MPC.
V. METHODOLOGY
The proposed pipeline is summarized in Fig. 2. (A) We first identify the nominal KCF using diverse simulation data, reducing the need for extensive hardware data collection. (B) We then calibrate the nominal KCF offline using Low-Rank Adaptation (LoRA) on a smaller hardware dataset to reduce the sim-to-real mismatch while preserving the learned lifting map. (C) During deployment, we provide an additive online adaptation to the calibrated KCF model to account for disturbance. (D) The resulting Adaptive DA-KCF model is used within the MPC for real-time predictive control.
A. Pretraining in Simulation
We identify the nominal reference-to-state predictor by learning a finite-dimensional approximation of the KCF relation in Eq. (3), with denoting the commanded-reference input. Accurate Koopman identification requires sufficiently informative state-reference data [17], which is costly to collect exclusively on hardware for the large augmented state considered here. We therefore pretrain the nominal KCF in simulation. We use a MuJoCo/MJX model based on the Crazyflie Brushless platform [31], [32], augmented with the cascaded position, velocity, attitude, and attitude-rate controllers of the Bitcraze Crazyflie firmware [33]. The simulation dataset contains 250,000 transitions (83.3 min) sampled at 50 Hz, , where indexes trajectories and indexes time within each trajectory.
We parameterize the lifting map in Eq. (3) by and the matrix-valued function by , and learn them jointly from such that . The state-inclusive lift is
where contains the learned observables. We augment the 76 state coordinates with 16 learned
Disturbance d need not have zero-mean stochastic behavior; it may represent persistent or structured effects such as aerodynamic wind disturbances.

Fig. 2. Overview of the proposed disturbance-aware KCF pipeline: nominal KCF identification in simulation, sim-to-real fine-tuning and online disturbance adaptation for predictive control.
observables, selected empirically. Additional observables beyond 16 provided no clear prediction improvement while increasing operator size. Thus, and .
For clarity, we omit the trajectory index q below. Starting from measured state , the model predicts steps without replacing intermediate predictions with measured states:
(10)
For a batch B of trajectory starting indices, we minimize
(11)
The first term penalizes one-step prediction error and the second penalizes error over the remaining horizon. The weight sets the relative importance of the multi-step term. A curriculum strategy [34] progressively increases the prediction horizon to during training. The simulation-identified model, with , serves as the nominal KCF for hardware fine-tuning.
B. Sim-to-Real Fine-Tuning
The simulation-based KCF is calibrated using hardware data containing 86,025 transitions (28.7 min of flight time) sampled at 50 Hz. Low-rank adaptation (LoRA) [35], [36] is applied to four layers of while keeping the lifting map fixed. For each adapted layer , , where , and are trainable rank-r factors, and . Thus, only the low-rank updates are learned from hardware. The updates minimize prediction error in at selected prediction horizons while limiting changes to the simulation-based model:
where controls the relative change penalty and ensures numerical stability. After fine-tuning, the resulting operator gives the nominal predictor
The calibrated KCF is then frozen and used in the next step for online adaptation and MPC.
C. Online Disturbance Adaptation
The disturbance-dependent operator introduced in Eq. (5) acts on the full lifted dynamics of the closed-loop quadrotor system. Due to computational limits, we cannot adapt this full operator online. Instead, we restrict the adaptation to the drone’s velocity coordinates . To implement this restriction, we define the correction in the form , where
and is the adaptation function. Here are the arguments of the adaptation function and denotes the parameters updated online during adaptation . We model the adaptation function, , using an ensemble of residual networks, as
This is a structured modeling choice: aerodynamic forces directly affect the acceleration and therefore the velocity evolution. Furthermore, velocity is explicitly represented in the modeled state.
In implementation, the residual learner maintains a 250-sample (5 s) FIFO buffer of past transitions for online adaptation, with 200 samples used for training and the remaining 50 for validation.
The Adaptive DA-KCF predictor is therefore
To express the corrected predictor in Eq. (16) in the matrix-valued DA-KCF form of Eq. (5), introduce the homogeneous coordinate . Then
where
Thus, Eq. (17) provides an online approximation of the DA-KCF in Eq. (4) under the additive structure of Eq. (5). The nominal calibrated predictor (13) remains fixed, while provides the history-adapted disturbance-dependent correction.
D. Control: Adaptive Model Predictive Control (MPC)
We embed the DA-KCF model from Eq. (16) in a receding-horizon controller that optimizes the position and yaw references sent to the onboard controller. At time , the measured state and the desired tracking reference over the prediction horizon are given. The optimizer selects the future commanded-reference sequence . For each predicted step, define the tracking error vector
where , , and are obtained from the predicted state and is the yaw error. Let denote the tracking-weight matrix, with and . The MPC minimizes tracking error, mission reference, and command slew:
s.t.
(18)
Here, is the mission reference and with . The matrices weight reference deviation and slew, respectively. The residual-network parameters remain fixed at each MPC solve. Using the learned residual map defined in Eq. (15), the correction at horizon step can be defined as:
where is the predicted state at horizon step . The disturbance correction is recomputed from the predicted state and commanded reference at each step in the MPC horizon. After solving Eq. (18), only the first optimized reference is applied to the controller and the problem is re-solved at the next control step using the new measured state.
VI. EXPERIMENTS
To evaluate the Adaptive DA-KCF-MPC framework, we conduct experiments on a physical nano-quadrotor Crazyflie under nominal and aerodynamically disturbed conditions.
A. Experimental Setup and Implementation
Hardware experiments are performed in an OptiTrack motion-capture arena using a Crazyflie 2.1 Brushless quadrotor. Pose measurements are streamed at approximately 100 Hz, while DA-KCF-MPC runs off-board at 50 Hz and sends optimized position and yaw references through Crazyswarm2 [37] to the stock onboard cascaded PID controller . Aerodynamic disturbances are generated using the Real Weather Wind Tunnel fan array (see Fig. 1).
We evaluate the proposed method under three hardware test scenarios. In all experiments, the fan array generates airflow along the inertial x-axis. First, uniform-flow trajectory-tracking experiments compare PID, Nominal KCF-MPC and Adaptive DA-KCF-MPC while the vehicle tracks the same figure-eight trajectory in the x-z plane at constant yaw under 0, 3.75, and 5.00 m/s flow. Second, a sustained-hover experiment under 5.00 m/s flow evaluates online adaptation during closed-loop operation, including residual learning, candidate validation, and model deployment while the vehicle maintains a fixed hover reference. Third, a spatially varying wake experiment places a building-like obstacle between the fan array and the vehicle under a 2.50 m/s free-stream condition. The obstacle modifies the incoming x-directed flow, and the vehicle follows a m lateral trajectory along the y axis through the resulting wake to evaluate adaptation as the disturbance varies with position.
For the trajectory-tracking experiments, the nominal and adaptive controllers form a controlled ablation: they use identical sensing, calibrated nominal dynamics, MPC objective, constraints, reference commands, and differ only in the prediction model used in Eq. (18). This isolates the effect of online disturbance adaptation on model prediction and closed-loop tracking. Tracking performance is quantified using the three-dimensional position error and trajectory position RMSE. Aggregate results are reported as mean one sample standard deviation across repeated trials, with representative trajectories shown separately.
B. Results and Discussion
We first evaluate whether online disturbance adaptation improves closed-loop trajectory tracking as model mismatch increases. Fig. 3 compares figure-eight paths for PID, Nominal KCF-MPC and Adaptive DA-KCF-MPC under increasing uniform flow, while Table I reports aggregate performance across repeated trials. Under no wind, Nominal KCF-MPC and Adaptive DA-KCF-MPC achieve comparable
The residual network uses 23 selected physical-state features from and the 4 commanded-reference inputs, yielding a 27-dimensional input.
Experiments run on an off-board computer with an NVIDIA RTX 4080 Laptop GPU and Intel 14900KF CPU. MPC uses double-precision JAX-compiled L-BFGS-B.

Fig. 3. Experimental figure-eight trajectories under increasing aerodynamic disturbance. Columns correspond to PID, Nominal KCF-MPC, and Adaptive DA-KCF-MPC, while rows correspond to fan-array flow speeds of , , and . Trajectories are shown in the projection relative to the center of the desired trajectory. The dashed black curve denotes the desired path, while the measured trajectory is colored by the instantaneous three-dimensional position-tracking error [mm]. Each panel shows a representative experimental trial. Aggregate performance over repeated trials is reported in Table I.
TABLE I. Three-dimensional position-tracking RMSE [cm] under increasing wind speed [m/s]. Nominal and Adaptive denote Nominal KCF-MPC and Adaptive DA-KCF-MPC, respectively. Values report mean ± one sample standard deviation across 4 repeated trials.
| Wind | PID | Nominal | Adaptive |
|---|---|---|---|
| 0 | 5.70 ± 0.19 | 3.66 ± 0.18 | 3.59 ± 0.05 |
| 3.75 | 10.72 ± 0.08 | 9.39 ± 0.05 | 7.70 ± 0.33 |
| 5.00 | 13.15 ± 2.03 | 12.63 ± 0.27 | 9.95 ± 0.41 |

Fig. 4. Online adaptation during sustained wind hover. The orange dashed line marks disturbance onset, the dark-purple line the first adaptation trigger, and the light-purple lines subsequent candidate-update cycles. Dashed black lines denote the commanded hover position.
tracking performance, with mean three-dimensional position RMSE of 3.66 and , respectively. The difference indicates that online adaptation induces minimal change when the nominal predictor is already adequate. As the disturbance increases, the adaptive advantage becomes substantially larger. Relative to Nominal KCF-MPC, Adaptive DA-KCF-MPC reduces position RMSE by at 3.75 m/s and by 21.2% at 5.00 m/s. At the same time, the advantage of the frozen nominal controller over PID decreases from 35.8% under no wind to only 4.0% at 5.00 m/s, indicating that increasing disturbance erodes the benefit of the calibrated nominal model. Adaptive DA-KCF-MPC retains substantially lower tracking error under disturbance, with RMSE 28.2% and 24.3% below PID at 3.75 and 5.00 m/s, respectively. These results show that the proposed adaptation has little effect when nominal dynamics remain representative, but increasingly improves tracking as disturbance-induced model mismatch grows.
The sustained-hover experiment examines whether online adaptation can occur during closed-loop operation while the vehicle remains regulated under a persistent disturbance. Under 5.00 m/s flow, wind onset produces a pronounced x position deviation, followed by a persistent offset (Fig. 4). Despite repeated online training, the position error does not exhibit progressive growth, and the vehicle continues to regulate all three position coordinates throughout the experiment. The persistent x-offset therefore reflects a sustained disturbance-induced tracking bias rather than loss of closed-loop control. This result demonstrates that residual learning, validation, and model updates can be carried out online while the vehicle remains actively controlled.
Fig. 5 provides a model-level view of the same adaptation process. Here, denotes the component of the observed one-step velocity prediction mismatch, computed as the measured next-step velocity minus the corresponding prediction from the frozen nominal KCF in Eq. (13). Following disturbance onset, develops a persistent negative component together with substantial sample-to-sample variation. Prior to deployment, the learned correction remains zero. Once the first validated residual model is deployed, becomes nonzero with a sign consistent

Fig. 5. Online residual adaptation during sustained 5.0 m/s wind hover. The light-blue trace shows the x-component of the observed one-step velocity prediction mismatch , the black trace its causal 1 s trailing mean, and the dark-blue trace the learned x-component of the ensemble correction . Vertical lines indicate wind onset (orange), the first online training attempt (purple), and deployment of the first validated residual model (green). Time is referenced to wind onset.
with the persistent prediction mismatch and remains bounded thereafter. The learned correction does not reproduce the observed residual's high-frequency fluctuations, indicating that the online learner extracts a repeatable disturbance-induced correction rather than tracking prediction noise.
Finally, we evaluate whether the proposed adaptation extends from approximately uniform flow to a spatially varying disturbance field. A building-like obstacle is placed between the fan array and the vehicle under a 2.50 m/s freestream condition, causing the incoming x-directed airflow to form a nonuniform downstream wake. The vehicle follows a smooth m lateral trajectory along the y-axis over 16 s, thereby encountering position-dependent disturbance conditions. This setting is more challenging than uniform flow because the disturbance experienced by the vehicle varies with position and therefore cannot, in general, be represented by a single constant correction over the trajectory. As progressively more of the wake is encountered, successive residual models are learned and validated online. After exposure to the full lateral range, including both positive and negative y-directions, the validated adaptive model reduces the wake-specific aggregate multi-horizon velocity prediction RMSE by 12.9% relative to the frozen nominal predictor. Across four repeated hardware trials, Adaptive DA-KCF-MPC reduces y-axis tracking RMSE from 11.55 cm with PID to 7.94 cm, a 31.3% reduction. Three-dimensional position RMSE similarly decreases from 14.38 to 11.03 cm, a 23.3% reduction (Fig. 6). Together, the prediction and tracking improvements indicate that the learned correction captures repeatable, position-dependent effects of the wake rather than merely compensating for a constant wind bias.
To determine whether the observed tracking improvements are accompanied by improved model prediction, Tables II and III compare the simulation-identified KCF, the hardware-calibrated KCF and the adaptive DA-KCF using identical measured initial states and recorded reference sequences. At the step prediction horizon used by the MPC, hardware data calibration through LoRA reduces position and velocity RMSE by 26.3% and 61.5%, respectively, compared to the identified model from purely simulation data. Online adaptation further reduces these errors by 7.6% and 21.0% relative to the LoRA-calibrated predictor. Thus, the final adaptive model achieves the lowest position and velocity prediction error at the full MPC horizon. The shorter-horizon results are less uniform. For position prediction, calibration and adaptation incur small degradations at relative to the simulation-identified model, but substantially reduce error at the full 25-step MPC horizon. Velocity prediction improves after adaptation at and 5, degrades modestly relative to the calibrated model at , and improves again at . Thus, the Adaptive DA-KCF model does not uniformly outperform the nominal KCF at every intermediate step; its principal benefit emerges over the full prediction horizon used for control. The resulting Adaptive DA-KCF-MPC controller also satisfies the 50 Hz real-time requirement. Across 7,458 MPC updates during the 5.0 m/s hover experiment, the median, 95th-percentile, and maximum solve times were 10.84, 11.52, and 14.44 ms,

Fig. 6. Adaptive DA-KCF-MPC flight through a spatially varying wake generated by an obstacle representative of an urban building under a 2.5 m/s free-stream condition. Top: representative snapshots at s as the vehicle follows the m, 16 s lateral trajectory along the y-axis through different regions of the wake. Bottom: lateral tracking error for representative PID and Adaptive DA-KCF-MPC trials. Aggregate tracking performance is evaluated over 4 repeated trials per controller.
TABLE II. Multi-step position prediction RMSE [mm] on held-out disturbed hardware sequences using identical measured initial states and recorded reference commands.
| Horizon | Sim. KCF | Cal. KCF | Adap. DA-KCF |
|---|---|---|---|
| 1 | 2.48 | 2.83 | 2.83 |
| 5 | 10.58 | 12.31 | 12.43 |
| 10 | 22.59 | 24.28 | 24.82 |
| 25 | 120.58 | 88.83 | 82.09 |
TABLE III. Multi-step velocity prediction RMSE [mm/s] on held-out disturbed hardware sequences using identical measured initial states and recorded reference commands.
| Horizon | Sim. KCF | Cal. KCF | Adap. DA-KCF |
|---|---|---|---|
| 1 | 9.42 | 6.89 | 4.97 |
| 5 | 46.18 | 27.04 | 21.46 |
| 10 | 102.57 | 40.08 | 45.64 |
| 25 | 486.23 | 186.96 | 147.79 |
respectively, all below the 20 ms control period. Online adaptation executes asynchronously from MPC and therefore does not block the control loop. The median end-to-end adaptation duration was 6.74 s, with median residual-optimization and validation times of 4.93 and 1.77 s, respectively; the maximum observed total adaptation duration was 8.43 s.
Collectively, these hardware results demonstrate that the calibrated KCF provides accurate nominal reference-to-state prediction, while online adaptation becomes increasingly beneficial as disturbance-induced model mismatch grows. The adaptive correction improves prediction over the control-relevant horizon, translates this improvement into lower trajectory-tracking error under both uniform and spatially varying disturbances and operates without violating the deployed real-time control requirement. Representative hardware trials and online adaptation behavior are provided in the accompanying supplementary video.
VII. Conclusion and Future Work
This work presented the first real-time demonstration of an online disturbance-aware Koopman Control Family (DA-KCF). The proposed framework learns a reference-dependent nominal KCF in simulation, calibrates it using hardware data and learns a low-dimensional disturbance correction online while keeping the nominal model fixed. Hardware experiments demonstrate improved multi-step prediction and trajectory tracking while satisfying the 50 Hz real-time control requirement. Future work will investigate richer matrix-valued disturbance operators beyond the structured velocity correction, multidirectional and faster-varying disturbances, and higher-performance onboard computation for more expressive online adaptation.
REFERENCES
[1] J. Saunders, S. Saeedi, and W. Li, “Autonomous aerial robotics for package delivery: A technical review,” Journal of Field Robotics, vol. 41, no. 1, pp. 3–49, 2024.
[2] M. O'Connell, G. Shi, X. Shi, K. Azizzadenesheli, A. Anandkumar, Y. Yue, and S.-J. Chung, "Neural-Fly enables rapid learning for agile flight in strong winds," Science Robotics, vol. 7, no. 66, 2022.
[3] B. J. Emran and H. Najjaran, “A review of quadrotor: An underactuated mechanical system,” Annual Reviews in Control, vol. 46, pp. 165–180, 2018.
[4] P. Abichandani, D. Lobo, G. Ford, D. Bucci, and M. Kam, “Wind measurement and simulation techniques in multi-rotor small unmanned aerial vehicles,” IEEE Access, vol. 8, pp. 54910–54927, 2020.
[5] D. Mellinger and V. Kumar, “Minimum snap trajectory generation and control for quadrotors,” in 2011 IEEE International Conference on Robotics and Automation, 2011, pp. 2520–2525.
[6] M. Faessler, A. Franchi, and D. Scaramuzza, “Differential flatness of quadrotor dynamics subject to rotor drag for accurate tracking of high-speed trajectories,” IEEE Robotics and Automation Letters, vol. 3, no. 2, pp. 620–626, 2018.
[7] L. Bauersfeld, E. Kaufmann, P. Foehn, S. Sun, and D. Scaramuzza, "NeuroBEM: Hybrid aerodynamic quadrotor model," in Proceedings of Robotics: Science and Systems XVII, 2021.
[8] G. Torrente, E. Kaufmann, P. Foehn, and D. Scaramuzza, “Data-driven MPC for quadrotors,” IEEE Robotics and Automation Letters, vol. 6, no. 2, pp. 3769–3776, 2021.
[9] K. Y. Chee, T. Z. Jiahao, and M. A. Hsieh, “KNODE-MPC: A knowledge-based data-driven predictive control framework for aerial robots,” IEEE Robotics and Automation Letters, vol. 7, no. 2, pp. 2819–2826, 2022.
[10] J. Ware and N. Roy, “An analysis of wind field estimation and exploitation for quadrotor flight in the urban canopy layer,” in IEEE Int. Conf. Robotics and Automation, 2016, pp. 1507–1514.
[11] D. Galway, J. Etele, and G. Fusina, “Development and implementation of an urban wind field database for aircraft flight simulation,” J. Wind Eng. and Indust. Aero., vol. 103, pp. 73–85, 2012.
[12] ___,“Modeling of urban wind field effects on unmanned rotorcraft flight,” Journal of Aircraft, vol. 48, no. 5, pp. 1613–1620, 2011.
[13] A. Stefan-Zavala, I. Scherl, I. Mandralis, S. L. Brunton, and M. Gharib, "Data-driven modelling for on-demand flow prescription in fan-array wind tunnels," Flow, vol. 6, p. E3, 2026.
[14] P. I. Renn, A. A. Stefan-Zavala, J. Humml, S. Talukder, A. Al-Mazrouei, K. Aji, D. Mishra, E. Panizio, J. Simonjan, Y. Yue, and M. Gharib, “Wind-informed rapid flight-planning in complex urban topologies via machine learning and experimental validation,” arXiv preprint arXiv:2608.10309, 2026.
[15] D. Hanover, P. Foehn, S. Sun, E. Kaufmann, and D. Scaramuzza, "Performance, precision, and payloads: Adaptive nonlinear MPC for quadrotors," IEEE Robotics and Automation Letters, vol. 7, no. 2, pp. 690–697, 2022.
[16] J. R. S. Benevides, M. A. D. Paiva, P. V. G. Simplicio, R. S. Inoue, and M. H. Terra, “Disturbance observer-based robust control of a quadrotor subject to parametric uncertainties and wind disturbance,” IEEE Access, vol. 10, pp. 7554–7565, 2022.
[17] M. O. Williams, I. G. Kevrekidis, and C. W. Rowley, “A data-driven approximation of the Koopman operator: Extending dynamic mode decomposition,” Journal of Nonlinear Science, vol. 25, no. 6, pp. 1307–1346, 2015.
[18] M. Korda and I. Mezić, “Linear predictors for nonlinear dynamical systems: Koopman operator meets model predictive control,” Automatica, vol. 93, pp. 149–160, 2018.
[19] C. Folkestad, S. X. Wei, and J. W. Burdick, “KoopNet: Joint learning of Koopman bilinear models and function dictionaries with application to quadrotor trajectory tracking,” in 2022 International Conference on Robotics and Automation (ICRA), 2022, pp. 1344–1350.
[20] S. M. Rajkumar, C. Yang, Y. Gu, S. Cheng, N. Hovakimyan, and D. Goswami, “Real-time linear MPC for quadrotors on SE(3): An analytical Koopman-based realization,” IEEE Robotics and Automation Letters, vol. 10, no. 12, pp. 13018–13025, 2025.
[21] M. Haseli and J. Cortés, “Modeling nonlinear control systems via Koopman Control Family: Universal forms and subspace invariance proximity,” Automatica, vol. 185, p. 112722, 2026.
[22] M. Haseli, I. Mezić, and J. Cortés, “Koopman operator extensions for control: Bridging infinite input sequences and operator families,” in IEEE Conf. Decision and Control, 2025, pp. 1741–1746.
[23] J. Jia, W. Zhang, K. Guo, J. Wang, X. Yu, Y. Shi, and L. Guo, "EVOLVER: Online learning and prediction of disturbances for robot control," IEEE Transactions on Robotics, vol. 40, pp. 382–402, 2024.
[24] R. Singh, C. K. Sah, and J. Keshavan, “Adaptive Koopman embedding for robust control of nonlinear dynamical systems,” The International Journal of Robotics Research, vol. 44, no. 13, pp. 2235–2261, 2025.
[25] H. Zhou and V. Tzoumas, “No-regret model predictive control with online learning of Koopman operators,” in 2025 American Control Conference (ACC), 2025, pp. 1064–1070.
[26] Y. Oh, M. H. Lee, and J. Moon, “Koopman-based control system for quadrotors in noisy environments,” IEEE Access, vol. 12, pp. 71 675–71 684, 2024.
[27] E. Todde, S. Martini, A. Rizzo, and K. P. Valavanis, “Residual Koopman-based model predictive control of quadrotors,” in Int. Conf. Unmanned Aircraft Systems, 2026, pp. 50–56.
[28] B. O. Koopman, “Hamiltonian systems and transformation in Hilbert space,” Proceedings of the National Academy of Sciences of the United States of America, vol. 17, no. 5, pp. 315–318, 1931.
[29] I. Mezić, “Spectral properties of dynamical systems, model reduction and decompositions,” Nonlinear Dynamics, vol. 41, no. 1–3, pp. 309–325, 2005.
[30] M. Haseli, J. Cortés, and J. W. Burdick, “Control forward-backward consistency: Quantifying the accuracy of Koopman Control Family models,” in Proc. IEEE Conf. Decision and Controls, 2026.
[31] A. Gräfe, C. Scherer, W. Hönig, and S. Trimpe, “How to model your Crazyflie Brushless,” in 2026 IEEE International Conference on Robotics and Automation (ICRA), 2026.
[32] Data-Science-in-Mechanical-Engineering, "CrazyflieBrushJAX: A MuJoCo/MJX simulator for the Crazyflie Brushless,"
GitHub repository, 2026. [Online]. Available: https://github.com/Data-Science-in-Mechanical-Engineering/CrazyflieBrushJAX
[33] Bitcraze AB, “Crazyflie Firmware,” GitHub repository, 2026. [Online]. Available: https://github.com/bitcraze/crazyflie-firmware
[34] Y. Bengio, J. Louradour, R. Collobert, and J. Weston, “Curriculum learning,” in Proc. Int. Conf. Machine Learning, 2009, pp. 41–48.
[35] E. J. Hu, Y. Shen, P. Wallis, Z. Allen-Zhu, Y. Li, S. Wang, L. Wang, and W. Chen, “LoRA: Low-rank adaptation of large language models,” in International Conference on Learning Representations, 2022.
[36] Z. Han, C. Gao, J. Liu, J. Zhang, and S. Q. Zhang, “Parameter-efficient fine-tuning for large models: A comprehensive survey,” Transactions on Machine Learning Research, 2024.
[37] J. A. Preiss, W. Hönig, G. S. Sukhatme, and N. Ayanian, “Crazyswarm: A large nano-quadcopter swarm,” in 2017 IEEE International Conference on Robotics and Automation (ICRA), 2017, pp. 3299–3304.