Quantile-Based Command-Reserve MPC for Current-Command Gimbal Pointing

Yaokun Lu, Yifan Li, Enmei Wang, Hao Teng, Pengwei Hu, Jianzhong QiaoarXiv 2026 · arXiv

TL;DR

This paper introduces a "tube-inspired" Model Predictive Control (MPC) scheme for high-precision gimbal pointing that uses a single neural network to predict both the expected disturbance and its uncertainty. By learning the quantiles of acceleration residuals, the controller can simultaneously compensate for predictable errors and adaptively reserve "command headroom" to handle remaining uncertainty, significantly improving tracking accuracy on real-world hardware.

What Problem Does This Paper Address?

Gimbals are the unsung heroes of stable imaging and tracking, but getting them to point accurately is surprisingly difficult. They are plagued by "mismatched" disturbances—things like friction, torque ripple, and model inaccuracies that affect acceleration, while the controller can only send current (torque) commands.

Standard Model Predictive Control (MPC) is great at handling constraints, but it often struggles when the internal model doesn't match reality. If the model is too optimistic, the controller might use up all its "command authority" (saturation), leaving no room to react to sudden disturbances. Conversely, being too conservative wastes performance. The authors aim to find the "Goldilocks" zone: a controller that knows exactly how much it doesn't know and reserves just enough command headroom to stay safe.

Methods

The authors propose a Quantile-Based Command-Reserve MPC. The architecture (shown in Figure 1) consists of two main parts:

  1. Quantile Disturbance Predictor: A Gated Recurrent Unit (GRU) neural network processes a history of states and commands. Instead of just predicting a single value, it outputs three quantiles: a median (the most likely disturbance) and outer quantiles (representing the uncertainty bounds). It is trained using a "pinball loss" function to target these specific distribution levels.
  2. Tube-Inspired MPC:
    • The median prediction is used to correct the nominal model, making the "baseline" prediction much more accurate.
  3. The outer quantiles are used to calculate an adaptive "radius" of uncertainty. This radius is then used to "tighten" the input constraints in the MPC optimization. Essentially, if the predictor is uncertain, the MPC is forced to keep more command headroom in reserve.
Figure 1: Conceptual architecture for current-command gimbal pointing. The predictor provides a median and outer quantiles. The adaptive command reserve sets the input margin mj|k. Analytical tube propagation is distinguished from the hardware command-margin implementation in Section 3.3. The disturbance sources shown are physical sources affecting the plant; separate identification of each source is not claimed.

Standard Tube MPC often involves complex set-theoretic math that is hard to run in real-time. This paper simplifies the principle into a "command-reserve" implementation that runs efficiently on embedded hardware without adding extra optimization variables.

Datasets

The study relies on data collected from a custom-built two-axis gimbal platform powered by a Radxa X4 embedded controller (Figure 2).

  • Training/Calibration: The authors used an "archived model-development manifest" consisting of 13 training files (20,243 windows) and 4 calibration files (6,503 windows) to train and tune the GRU.
  • Evaluation: The final performance was validated through 28 closed-loop hardware trials (7 trials for each of the 4 controller configurations tested).
Figure 2: Embedded two-axis current-command gimbal platform. A Radxa X4 controller exchanges commands and measurements over CAN. The inset shows the integrated elevation drive.

Key Insights and Ideas

  • One Model, Two Roles: Using a single GRU to provide both a point correction (median) and a safety margin (radius) is highly efficient. It ensures that the "command reserve" is directly tied to the current operating context (e.g., high-speed vs. low-speed movement).
  • Mismatched Channel Handling: The paper explicitly addresses the fact that disturbances enter at the acceleration level while control happens at the current level. They show that even with this mismatch, learning acceleration residuals is effective for input tightening.
  • Practical "Tube" Implementation: Instead of a mathematically rigorous (but computationally heavy) robust tube, they use a "calibrated residual radius." This empirical approach provides a practical bridge between deep learning uncertainty and classical robust control.

Key Results

The "Proposed" configuration (Median + Adaptive Margin) was compared against three baselines: standard MPC, MPC with only median correction (MPC-P), and MPC with a fixed-radius margin (Fixed Tube-MPC).

  • Accuracy: The proposed method achieved a 2D pointing Root-Mean-Square Error (RMSE) of 3.94 ± 0.10 mrad. This is a 47.4% improvement over standard MPC and a 14.2% improvement over MPC-P.
  • Constraint Handling: While standard MPC and MPC-P frequently hit command limits (saturation), the proposed method had zero command-limit samples in the evaluation windows.
  • Efficiency: The system maintained a nominal 100 Hz control loop on the embedded platform, with MPC solve times typically under 3 ms.
Figure 4: Representative four-configuration hardware comparison under the outer command limits. (a) Two-dimensional pointing error. (b) Azimuth com- mand; markers denote samples at the command boundary. (c) Pointing-error distributions. This comparison includes conditional component comparisons, but does not isolate adaptive versus fixed radii at a shared median correction.

Limitations and Future Work

  • Empirical vs. Theoretical: The authors acknowledge that their hardware implementation uses "calibrated" radii rather than a certified robust tube. While it works well in practice, it doesn't inherit the formal stability guarantees of theoretical Tube MPC.
  • Distribution Shift: The calibration is fixed after training. If the gimbal's hardware degrades or the environment changes drastically, the "90% coverage" of the quantiles might no longer hold.
  • Future Directions: The authors suggest looking into "joint-horizon calibration" (ensuring the uncertainty holds over the entire prediction window, not just the next step) and explicitly modeling uncertainty in the current-response channel itself.

Summary updated

Abstract

This paper studies the constrained line-of-sight pointing control problem of a two-axis current-command gimbal subjected to mismatched mechanical disturbances. Friction, torque ripple, current-response lag, model mismatch, and limited drive commands make accurate pointing more challenging yet interesting. A quantile disturbance predictor is proposed to compensate predictable acceleration residuals and describe their remaining uncertainty, with the aid of learning median and outer quantiles from state, command, and reference histories. A tube-inspired model predictive controller is proposed to reserve command headroom according to prediction uncertainty, with the aid of calibrated radii and stage-dependent input margins. The median improves the nominal prediction, while the radius adapts the command reserve without adding optimization variables. A finite-horizon tube inclusion result is established for a specified linear error model and fixed ancillary policy; its conditions are distinguished from the approximations used in hardware. Native command bounds and a final command limiter keep the sent commands within their prescribed range. On a two-axis embedded platform, four controller configurations are compared in seven repeated trials each. The proposed configuration achieves a two-dimensional pointing root-mean-square error of $3.94 \pm 0.10$ mrad with no command-limit samples in the evaluation windows. Its performance supports the combined use of residual prediction and adaptive command margins in the tested operating condition. Solver times and logged loop overruns are reported separately for the nominal 100 Hz implementation.
BibTeX
@misc{lu2026quantile,
  author = {Yaokun Lu and Yifan Li and Enmei Wang and Hao Teng and Pengwei Hu and Jianzhong Qiao},
  title = {{Quantile-Based Command-Reserve MPC for Current-Command Gimbal Pointing}},
  year = {2026},
  eprint = {2610.34913},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2610.34913},
}
Figure