arXiv:2610.24125cs.ROOct 2026

Manuscript Offprint

arXiv:2610.24125

Switch-Time-Aware Hybrid Model Predictive Control Using the Hybrid Minimum Principle

Valentin Gaucher, Wenlong Zhang

Valentin Gaucher and Wenlong Zhang

Abstract—This article presents a time-aware hybrid model predictive control (MPC) framework that simultaneously optimizes the objective with respect to both continuous control inputs and event switching times. Rather than relying on a fixed time grid, the switching instant is lifted into the decision vector and treated as an explicit optimization variable. The resulting transcription is a smooth nonlinear program whose Karush–Kuhn–Tucker (KKT) conditions are consistent with the Hybrid Minimum Principle (HMP) event-time stationarity condition, so first-order hybrid sensitivities are recovered implicitly through the KKT system rather than by evaluating saltation matrices. Each MPC step solves a single sparse Quadratic Program (QP), jointly optimizing control inputs and impact timing in real time. On a bouncing mass landing on an oscillating platform, the method attaches in half the time of fixed-grid saltation MPC, reduces cumulative control effort by 30%, and removes the post-impact rebounds, at a 15% increase in per-cycle solve time. It matches the cumulative effort of offline time-aware solvers to within 4% while running at 2.4 ms per cycle against 281 ms for a complementarity-based formulation of the same problem, of which a 10.6×10.6\times reduction is attributable to the transcription alone at a fixed solver.

I. INTRODUCTION

In this paper, we address Model Predictive Control (MPC) for hybrid systems subject to state-dependent, instantaneous resets within the prediction horizon. In these systems, the event time is a critical decision variable coupled with the continuous states and inputs [1]. A primary challenge in real-time execution is handling state-dependent resets. Standard fixed-step Jacobians neglect the sensitivity of the state trajectory to the exact switching time, yielding suboptimal mode-switching decisions [2], [3]. The proposed approach in this paper converts the implicit dependence of switching time on the state trajectory into an explicit optimization variable, allowing standard nonlinear programming (NLP) solvers to handle hybrid sensitivity information without differentiating through discontinuities.

While rigorous frameworks address this complexity, they are often computationally demanding for real-time applications. Mixed-Integer QP (MIQP) [4], [5] uses binary variables to optimize timings, Mathematical Programs with Complementarity Constraints (MPCC) [6] optimize across transitions, and move finite-element meshes [7] precisely align switching surfaces. Despite robust embedded solvers for these formulations [5], they rely on combinatorial searches or large-scale formulations that can be prohibitive in real time, while standard real-time MPC instead fixes the switching time or ignores first-order timing sensitivities. This gap calls for a formulation that achieves the timing precision of MPCC or variable-step methods while preserving the speed of fixed-step Sequential Quadratic Programming (SQP) solvers.

Related Work. The theoretical conditions for optimality in hybrid systems are well-established. Sussmann [8] and Caines [9] extended the Pontryagin Maximum Principle to hybrid systems, deriving conditions that optimize both continuous controls and discrete switching times. Dmitruk and Kaganovich [10] unified these under the Hybrid Minimum Principle (HMP). While mathematically powerful, the HMP is traditionally a continuous-time, open-loop theory. Enforcing these optimal conditions inside a discrete-time, receding-horizon feedback loop remains challenging.

Numerical transcriptions bridge the gap between continuous theory and discrete solvers. Ross and Fahroo [11] demonstrated that for smooth systems, KKT stationarity conditions and their multipliers in pseudospectral methods converge to Pontryagin costates. Indirect methods, such as the recent work by Hu et al. [12], solve HMP conditions directly via successive approximation, but are designed for open-loop trajectory generation rather than closed-loop control.

To incorporate switching effects into gradient-based controllers, one must differentiate through the discrete transition. This is achieved via the saltation matrix, which corrects the sensitivity analysis across a transversal guard. Formalized by Aizerman et al. [13] and further developed in foundational works [14], [15], Kong et al. [2] recently showed the practical utility of these matrices for robotics. However, standard discrete-time implementations typically treat the switching time as a passive consequence of the forward rollout, rather than an active decision variable.

Contributions. This paper presents HMP-MPC, a framework that incorporates Hybrid Minimum Principle (HMP) consistency within an SQP-based Real-Time Iteration (RTI) scheme. The idea is lifting the switching instant as an explicit decision variable, transforming the nonsmooth dependence of the dynamics on event timing into a smooth NLP with algebraic constraints. This enables standard gradient-based solvers to optimize impact timing directly. The contributions are: (i) Lifting the switching time as an intra-step decision variable, localizing temporal adjustments to each event interval while preserving the O(N)\mathcal{O}(N) sparse block-

This work is supported by National Science Foundation under Grant No. 2331781.

The authors are with School of Manufacturing Systems and Networks, Ira A. Fulton Schools of Engineering, Arizona State University, Mesa, AZ, 85212, USA. Email: {vgaucher, wenlong.zhang}@asu.edu.

tridiagonal structure. (ii) A smooth NLP transcription of hybrid transitions using algebraic equality constraints, yielding a C1C^{1} representation suitable for SQP-based optimization. (iii) Implicit recovery of first-order hybrid sensitivities through the KKT system, yielding conditions consistent with the HMP time-stationarity relation.

References (25)