Skip to content
Robotics.world

Research

Moving Horizon Estimation for Quadrotors: An $\mathcal{L}_1$ Adaptive Optimizer Approach

Quadrotors need an accurate state estimate for their feedback controllers, but onboard computers are limited, and conventional MHE — which re-solves a full optimization problem from scratch at every…

The paper’s first page · arXiv:2609.30777
arXiv
2609.30777
Published
2026-09-25
Authors
Thinh Nguyen, Minkyung Kim, Sandeep Banik, Jinrae Kim, Naira Hovakimyan

In plain words

Quadrotors need an accurate state estimate for their feedback controllers, but onboard computers are limited, and conventional MHE — which re-solves a full optimization problem from scratch at every timestep with an iterative solver — is computationally heavy for small flying platforms.

AI summary

Overview

Research area: Robotics state estimation — specifically moving horizon estimation (MHE) for quadrotor aerial vehicles, combining constrained optimization, time-varying optimization solvers, and ℒ₁ adaptive control theory.

Technical level: Advanced. The paper assumes familiarity with Kalman filtering, quadratic programming, continuous-time optimization dynamics, and linearization of nonlinear dynamics.

Scope (one sentence): The paper formulates linear smoothing MHE for a quadrotor as a dense unconstrained quadratic program and solves it with a time-varying Newton-type solver augmented by the ℒ₁ Adaptive Optimizer, benchmarking the result against the Extended Kalman Filter and a standard OSQP-based MHE in simulation.

What This Paper Is About

Quadrotors need an accurate state estimate for their feedback controllers, but onboard computers are limited, and conventional MHE — which re-solves a full optimization problem from scratch at every timestep with an iterative solver — is computationally heavy for small flying platforms. The authors instead treat the MHE problem as time-varying, so a solver can track the shifting optimum from one timestep to the next instead of re-converging each time, and they add an ℒ₁ Adaptive Optimizer to make that tracking robust when the solver's prediction of how the problem changes is inaccurate (due to sensor noise or imperfect system knowledge). The goal is an estimator that is both cheaper to solve and more accurate than the Extended Kalman Filter and standard MHE under realistic conditions.

Key Contributions

  1. A dense QP formulation of linear smoothing MHE. The authors linearize the nonlinear system around the previous timestep's optimal estimate trajectory, producing a linear time-varying model, and then use a condensing approach: rather than carrying the dynamics as equality constraints, they propagate the dynamics inside the estimation window and substitute them directly into the objective. This yields a smaller but dense unconstrained QP in the decision variable 𝐳 = (δχ_{T−N}ᵀ, {ω_kᵀ})ᵀ ∈ ℝ^{(N+1)n}.

  2. Explicit expressions for the smoothing arrival-cost adjustment. Standard treatments subtract a term quadratic in χ_{T−N} from the objective, which parsers such as CVXPY treat as non-convex and reject. The paper derives the adjustment matrices 𝐇_smooth and 𝐟_smooth so the problem appears as a standard QP supported by common solvers, and notes these terms affect only the upper-left n×n block of 𝐇 and the first n elements of 𝐟. They also give a tuning guideline: for the smoothing formulation, P₀ should be small for large N so that 𝐇 stays positive semi-definite.

  3. A time-varying solver built on a continuous-time Newton baseline plus ℒ₁-AO. The baseline is ż_b(t) = −z(t) − 𝐇⁻¹(t)𝐟(t), which contains no temporal prediction. The ℒ₁ Adaptive Optimizer adds three components — a gradient predictor, a piece-wise constant adaptation law over the sampling period T_s, and a first-order low-pass filter with cutoff ω_c — driven by an uncertain temporal prediction of the gradient constructed by finite differences of 𝐇 and 𝐟 between consecutive timesteps.

  4. A three-scenario quadrotor simulation study comparing EKF, standard MHE (CVXPY + OSQP), and ℒ₁-AO MHE: an uncertainty-free baseline, a poor-initial-guess convergence study over 100 runs, and a multi-frequency process-noise scenario.

Main Findings

  • Uncertainty-free conditions: all estimators are essentially equivalent. Over a 30-second simulation with 3001 data points, the EKF's root mean squared error was 0.0989, while both standard MHE and ℒ₁-AO MHE were 0.0985. The authors state that with perfect knowledge of every parameter and operating condition, EKF and MHE can give equivalent performance, and the choice of solver neither improves nor degrades MHE accuracy.

  • Poor initial guess: ℒ₁-AO MHE converges fastest. Over 100 five-second simulations with the initialization error normalized to ‖x₀ − x̄₀‖ = 10 on a hovering quadrotor, mean RMSE was 0.8604 for EKF, 0.7633 for standard MHE, and 0.6432 for ℒ₁-AO MHE. This corresponds to 25.2% improvement over EKF and 15.7% over standard MHE.

  • Convergence ordering and a shared transient. Both smoothing MHE variants converged faster than the EKF, with ℒ₁-AO MHE fastest and EKF slowest. All estimators showed a common transient at 0.2 second where error means rise before settling, and ℒ₁-AO MHE had the lowest mean throughout.

  • Unknown multi-frequency process noise: qualitative advantage only. The third scenario injects process noise with amplitude 1.0 in the linear acceleration channels, each built from three sinusoidal components at distinct frequencies and phases, while the quadrotor tracks the circular trajectory. The abstract and introduction state that the ℒ₁-AO-augmented approach achieves higher estimation accuracy under challenging conditions than both the EKF and standard MHE, and solves the MHE problem more efficiently than the baseline time-invariant solver. The specific numerical error values and solver timing figures for this scenario are not present in the supplied text, which is truncated mid-equation.

  • Design parameters are tuned empirically. 𝐀_s is chosen to give stable, sufficiently fast decay of the prediction error, and ω_c trades adaptation speed against robustness; the paper does not report a systematic tuning study. Horizon was N = 10 in all reported scenarios.

  • Solver settings differ between scenarios. 𝐀_s = −10² I_{12(N+1)} with ω_c = 150 in the uncertainty-free case, but 𝐀_s = −10⁻¹ I_{12(N+1)} with ω_c = 150 in the poor-initial-guess case, suggesting the adaptation gain must be retuned per operating condition.

Methodology in Plain English

Step 1 — Set up the estimation problem. The estimator keeps a sliding window of the last N timesteps. Within that window it asks: which sequence of states and process-noise values best explains the measurements I just received, while also staying close to my previous best guess at the window's start (the "arrival cost")? The paper uses smoothing MHE, meaning the arrival cost uses the most recent estimate from time T−1 rather than the estimate the filter held back at time T−N. This matters because a smoothing formulation avoids periodic error spikes that the filtering version shows when the initial guess is bad, and it converges faster.

Step 2 — Handle the overlapping data properly. Consecutive MHE problems share measurements, so naively re-solving causes oscillation and steady-state error. The authors derive a correction term and write it out explicitly as matrices, so the whole thing stays a plain QP that ordinary convex solvers accept.

Step 3 — Linearize around the last solution. Because the quadrotor dynamics are nonlinear, they linearize around the trajectory of optimal estimates from the previous timestep, giving a linear time-varying model. Then they eliminate the state variables entirely by rolling the dynamics forward inside the window — the "condensing" trick — leaving an unconstrained QP whose only unknowns are the initial window state deviation and the process-noise sequence. That is much smaller than carrying equality constraints.

Step 4 — Solve it as a moving target, not a fresh problem. The key idea: as measurements arrive, the QP's matrix 𝐇 and vector 𝐟 drift continuously. Instead of restarting an iterative solver each timestep, they write down a differential equation whose solution chases the optimum. The baseline version is a continuous-time Newton step. On top of that they add a predictor that estimates how the optimum is about to move (using finite differences of 𝐇 and 𝐟), and an adaptive correction that learns the predictor's error online and filters it. That correction is what keeps the solver stable when the prediction is wrong — which it will be, because the real system and its noise are not known exactly.

Step 5 — Test in simulation. All scenarios use a quadrotor with mass 1 kg, gravity 9.81 m·s⁻², inertia diag(5×10⁻³, 5×10⁻³, 9×10⁻³) kg·m², measurement noise standard deviation 10⁻¹ on every channel (v ~ N(0, 10⁻²)), Euler integration at T_s = 10⁻² s, and an LQR controller tracking an aggressive circular trajectory bounded by ‖q‖∞ ≤ 3 m·s⁻¹, ‖Θ‖∞ ≤ 85°, and ‖Ω‖∞ ≤ 20 rad·s⁻¹. Everything runs in Python on a laptop with an AMD Ryzen 7 4800U. Accuracy is scored by RMSE accumulated over all timesteps.

Why This Matters

Research impact. The paper connects two normally separate literatures — MHE from constrained estimation and ℒ₁ adaptive theory from robust control — and shows that the solver can be a first-class design choice in MHE, not just the estimator formulation. It also gives a practical recipe for expressing smoothing MHE as a solver-friendly QP, which removes a real implementation obstacle (parsers rejecting subtracted quadratic terms).

  • Small drones and indoor aerial robots, where the compute budget is tight but state constraints and nonlinearity still matter.
  • GPS-denied or degraded navigation, where process noise is unmodeled and multi-frequency, exactly the regime the third simulation targets.
  • Aggressive flight control, since the estimator was tested while tracking a circular trajectory with large attitude and angular-rate excursions.
  • Any embedded MHE deployment — the "solve it as time-varying rather than repeatedly" argument applies to process control, automotive state estimation, and battery/sensor fusion as much as to quadrotors.

Industry relevance. The framing is explicitly hardware-motivated: the authors argue that iterative solvers are fine on powerful processors but problematic on small aerial platforms. A solver that tracks the optimum with roughly one iteration per timestep is directly relevant to flight-controller-class hardware, where per-timestep worst-case compute — not average accuracy alone — determines whether an estimator ships.

Caveat worth flagging. All evidence here is simulation on a single quadrotor model with a single laptop-class processor; the paper as supplied reports no hardware flight experiments and no measured per-timestep timing numbers.

Future Directions

  • Hardware validation. Every result is simulation, run in Python on an AMD Ryzen 7 4800U. Onboard flight tests would test the real-time claim, which is currently supported only by iteration-count reasoning rather than reported solve times.
  • Quantifying the computational win. The abstract promises greater efficiency than the time-invariant baseline, but the supplied text gives no per-timestep solve-time, iteration-count, or wall-clock comparison against OSQP. Reporting these is the natural next step.
  • Principled tuning of 𝐀_s and ω_c. The two adaptation parameters were tuned empirically and take very different values across scenarios (−10² versus −10⁻¹ for 𝐀_s, both with ω_c = 150). A systematic study, or an adaptive rule for setting them, would make deployment far easier.
  • Stability and robustness guarantees. Assumption 1 requires 𝐇(t) to be uniformly positive definite, and for smoothing MHE the paper only offers the heuristic that P₀ should be small for large N. Formal conditions linking Q, R, P₀, and N to that assumption — and to ℒ₁-AO's transient guarantees — remain open.
  • Scaling the formulation. The condensed QP is unconstrained and dense, with decision dimension (N+1)n. How the approach behaves for longer horizons, higher-dimensional models, or with state and input constraints added back in is not addressed in the supplied content.

Target Audience

Graduate students and researchers in robotics, estimation, and optimization who already know Kalman filtering and quadratic programming and want to understand how time-varying solvers and adaptive augmentation can be applied to MHE. It is also useful for practitioners implementing MHE on compute-constrained embedded platforms — particularly drone autopilot and flight-control engineers — who need a solver-friendly QP formulation and a clear picture of where MHE actually beats an EKF (poor initialization, unmodeled process noise) and where it does not (perfectly known, noise-free conditions). Readers looking for hardware results or detailed timing benchmarks will not find them here.

Authors’ abstract

Moving Horizon Estimation (MHE) is a state estimation method based on finite-horizon optimization that can offer higher accuracy at the cost of increased computation compared to Kalman filter-based approaches. We present a linear smoothing MHE formulation as a dense Quadratic Program (QP), and a solver consisting of a continuous-time Newton's method augmented with the $\mathcal{L}_1$ Adaptive Optimizer ($\mathcal{L}_1$-AO). While MHE is inherently time-varying, conventional…

The full abstract on arXiv
Read the original paper

Related papers