Manuscript Offprint
arXiv:2610.24125Switch-Time-Aware Hybrid Model Predictive Control Using the Hybrid Minimum Principle
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 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 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 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.
A. Notation
Let denote the set of real numbers, the set of nonnegative real numbers, and the set of natural numbers. Given a continuously differentiable function , denotes its gradient with respect to . The space of -times continuously differentiable functions is denoted .
Trajectories are parameterized by a hybrid time domain , where denotes the continuous flow time and denotes the discrete jump counter. A hybrid time domain is defined as a finite union of intervals:
where . For a generic time-dependent state trajectory , we define the left limit (pre-jump state) at the transition instant as , and the right limit (post-jump state) as . The same definitions apply to the control input, denoted , , and .
B. Hybrid Optimal Control Problem
We consider a nonlinear, controlled hybrid system defined by the tuple . The continuous state space is , the control input space is , and is a finite set of discrete modes. The system dynamics are partitioned into continuous flows and discrete jumps:
(2)
The continuous evolution is governed by the vector field operating within the flow set . Discrete transitions occur when the trajectory intersects the jump set , defined as the zero-level set of a guard function . When , a transition is triggered and the state is instantaneously updated via the reset map .
Assumption 1 (Transversality and Regularity): The state trajectory strictly crosses the jump set G and does not graze it. Specifically, the transversality condition holds for all interior events at the switching instant :
Furthermore, the control set U is convex and compact, and the Linear Independence Constraint Qualification [16] holds for all optimization constraints.
We formulate a continuous-time optimal control problem for over a fixed discrete horizon , which fixes the number of physical jumps in the prediction window, with the free terminal time. The objective is to minimize:
(4)
where represents the continuous flow cost, represents the discrete transition cost incurred at the jump, and is the terminal cost. Since is only evaluated at , we will use for the rest of the derivations. Similarly we use and .
C. The Hybrid Minimum Principle (HMP)
The HMP provides the necessary conditions for optimality for the defined hybrid system [9]. Let denote the continuous costate (adjoint) vector. The Hamiltonian in mode is defined as .
At a switching instant , intersection with the jump set induces a discrete discontinuity governed by a Lagrange multiplier associated with the active guard constraint :
where and . Equation (5b) encodes the event-time stationarity condition.
D. First-Order Sensitivities and the Saltation Matrix
The first-order sensitivity of the post-jump state with respect to the pre-jump state is mathematically captured by the saltation matrix [2], providing the first order mapping . It captures how a perturbation in the pre-impact state shifts both the impact time and the post-impact trajectory, and is expressed as:
where and . All derivatives of and are evaluated at unless otherwise specified. The denominator represents the total time derivative of the guard , which is non-zero by the transversality condition (3).
III. SWITCH-TIME-AWARE TRANSCRIPTION
Standard fixed-grid MPC treats impact timing as an uncontrollable consequence of the state trajectory. By lifting the switching time into the decision vector, our formulation allows the controller to optimize the trade-off between continuous control effort and the event timing (Fig. 2a). We introduce the event-localized discretization, formulate the discrete optimal control problem, and prove that its KKT conditions recover the first-order sensitivities of the HMP.
A. Event-Localized Discretization
To solve the optimal control problem numerically, we discretize the hybrid time domain. While general adaptive time-mesh refinement algorithms have been proposed to improve discretization accuracy in continuous-time MPC [17], we use an event-localized scheme. The derivation uses a first-order Forward Euler scheme to expose the analytical equivalence between the KKT conditions and the continuous time HMP.
We partition the horizon into a discrete grid indexed by with uniform steps . We restrict the formulation to at most one discrete transition per interval. The switching time is parameterized by a continuous intra-step fraction , defining the switching instant as (see Fig. 1). Therefore, allows the optimizer to ‘slide’ the impact within the time step, rather than accepting the discretization error imposed by a fixed grid, and decouples event timing from state propagation so that timing is adjusted without implicitly differentiating through the guard (the guard constraint enforces consistency). The strict interior constraint enforces the transversality condition of Assumption 1 numerically.

Fig. 1: State-space representation of the event-localized discretization.
The pre-event arc of length evolves the state strictly to the guard surface:
If the guard condition is met , the state undergoes the discrete transition to mode . The post-event arc of length then propagates the state to the subsequent discrete node:
The proposed transcription constitutes a first-order consistent discretization of the hybrid optimal control problem (4) under the forward Euler scheme (Fig. 1 & 2a).
B. Optimal Control Problem Formulation
Let denote the set of discrete grid intervals during which a physical jump occurs.
Using the decision vector where each transition interval contributes an intra-step fraction and a split input pair while non-transition intervals retain a single input . We minimize the objective function (the sum of the continuous flow costs and discrete jump costs) over the prediction horizon:
(9)
where denotes the active discrete mode at interval , and
is the two-arc continuous flow cost at transition interval . Each product is the left-endpoint rectangle approximation of in (4), consistent with the Forward Euler. The minimization is subject to the discrete forward-Euler dynamic constraints (7a) and (7b), the algebraic guard condition , the reset map , and the compact state-input bounds , .
For ease of notation during this event-localized analysis, we drop the interval subscript on the discrete modes and denote the pre-event mode as , and the post-event mode as . We construct the discrete Lagrangian for a generic interval containing a transition. Assigning the dual variables , , and , the Lagrangian is defined as:
The pre and post event inputs and are treated as independent decision variables, each subject to the same compact bound U, with no continuity or hybrid constraints imposed across the jump.
C. Recovery of Hybrid Sensitivities
In this subsection, we will use the following notations. The event-local Hamiltonians and , as well as the post-arc flow Hamiltonian . All derivatives of , , and are evaluated at unless otherwise specified.
Theorem 1. Consider the optimal control problem defined by (9) with dynamics (7a)–(7b) under Assumption 1. Let , , , , and be continuously differentiable. Any Karush-Kuhn-Tucker (KKT) point of this problem satisfies a discrete adjoint jump and event-time stationarity condition:
constituting a first-order consistent discretization of the generalized HMP conditions.
Proof. We analyze the KKT conditions of the discrete Lagrangian (11). For the costate jump condition, setting yields

(a) Lifted formulation (blue) localizes the reset within at , while the fixed-grid approach (red) defers it to the grid node , accumulating a timing error over subsequent steps.

(b) Zoom at the guard intersection. The lifted formulation places on the guard at , with the discrete optimum lying from the continuous-time HMP optimum .
Fig. 2: Event-localized transcription: the lifted formulation applies the reset at the intra-step instant , whereas the fixed-grid approach defers it to the node .
which coincides with the HMP adjoint jump and recovers (12a). Similarly, computing the condition gives
Event-time stationarity. Setting isolates the sensitivity to the event time. Since is independent from due to the lifted parametrization, is treated as an independent decision variable constrained by (7a), giving . The jump cost explicitly depends on . Applying the chain rule yields . Dividing the stationarity condition by yields:
From (14) and the Hamiltonian definition, . Therefore, substituting and applying the chain rule to both and allows (15) to be reformulated as (12b) and matching the HMP condition to first order:
This completes the proof.
The term depends on the local truncation error of the integration scheme and remains bounded under standard Lipschitz assumptions on , and . In the limit the KKT system formally recovers the continuous-time HMP conditions. Fig. 2b illustrates this geometrically and Fig. 4 numerically.
Corollary 1. Under the conditions of Theorem 1, eliminating the event-time Lagrange multiplier from the KKT system yields the costate update:
where is the standard saltation matrix (6), is the total time derivative of the cost along the pre-event vector field, and .
Proof. (For clarity of exposition, we take . The fully generalized result for discontinuous flow costs is given in Remark 1). Solving the stationarity condition (16) for requires expanding the Hamiltonians and . Substituting the adjoint jump (13) into and equating to (16) gives:
(18)
By Assumption 1, the transversality condition ensures at the interior event, guaranteeing remains bounded. Substituting Eq. (18) into the adjoint jump condition (13) yields:
(19)
Recognizing the saltation matrix multiplying , we obtain (17), completing the proof.
This corollary shows that our formulation performs the saltation correction through the KKT multipliers, recovering the same sensitivity that explicit saltation methods compute directly.
Remark 1. If the flow cost is discontinuous across the jump , the event-time stationarity condition captures this variation . Following identical steps without canceling and yields the fully generalized update:
Remark 2. The remainder in (12b) originates from the approximation in (14), which reflects the local truncation error of the Forward Euler scheme. For any -th order consistent integrator, this approximation tightens to , and the remainder in Theorem 1 and Corollary 1 improves accordingly. Furthermore, the guard and reset constraints are evaluated at the boundary
and are decoupled from the integration scheme, so the formulation is directly compatible with higher-order methods.
IV. REAL-TIME ITERATION FOR THE LIFTED HYBRID NLP
A. The Linear-Quadratic Subproblem
We embed the lifted hybrid NLP within a real-time iteration (RTI) scheme [18], solving one structured QP per control cycle. The nonlinear problem is linearized around a nominal trajectory from the previous solver iteration, denoted by . We formulate a sparse QP to compute the optimal perturbation vector .
To define the affine dynamic constraints of the QP, let and denote the Jacobians of the continuous vector field in mode . The pre-event arc dynamics (7a) are linearized as:
where is the state transition matrix, is the input matrix, and represents the temporal sensitivity of the state trajectory to the expansion of the pre-event flow duration. Similarly, denoting the complementary post-event time fraction as , the post-event arc (7b) is linearized as:
where , , and represents the sensitivity to the corresponding contraction of the post-event flow duration. No division by or occurs, as , (14) reduces to and the only degeneracy is the loss of authority of ( ), regularized by the input penalty in (25). Thus we enforce , .
The guard manifold is linearized to enforce geometric consistency at the impact boundary:
The temporal coefficient uses rather than by construction. Substituting (21) in (23) makes the total coefficient of equal to . The reduced guard sensitivity is therefore the full time derivative, while the split form (23) keeps the flow contribution inside and so avoids double-counting . The reset map is subsequently linearized as:
The resulting subproblem minimizes the second-order Gauss-Newton approximation of the Lagrangian subject to the affine constraints:
where H is the block-diagonal approximate Hessian and q is the gradient of the objective (9).
B. Smoothness and Implicit HMP Sensitivity
Applying SQP algorithms directly to the implicitly nonsmooth solution maps of standard hybrid integrators violates the Lipschitz continuity requirements for KKT optimality [19, Ch. 2]. Standard implementations recover these sensitivities by explicitly computing the saltation matrix [3], whose entries scales as and so degrade as transversality (Eq. (3)) weakens.
The proposed formulation avoids explicit saltation evaluation by transcribing the hybrid dynamics into a set of smooth algebraic constraints, yielding a NLP representation. This shifts the nonsmooth dependence on event timing into explicit equality constraints, so that standard constraint qualifications hold and SQP iterations remain well-defined [16], [20].
The key mechanism is that event-time optimality is enforced through the dual variables of the KKT system. Let
denote the gradient of the objective (9) with respect to , evaluated at the nominal trajectory. The stationarity condition of the QP subproblem yields:
The solver enforces (27) by adjusting , and the guard and reset duals therefore encode the balance conditions that govern hybrid optimality. Dividing (27) by recovers (16), so by Theorem 1 the KKT system is consistent with the HMP without evaluating . No division by is required to assemble the subproblem (21)-(24). Under Assumption 1 both formulations are well posed and is bounded by Corollary 1.
C. Algorithm and Complexity
Algorithm 1 summarizes the proposed real-time execution loop. Given the current state , the algorithm uses a shifted warm-start of the primal-dual variables from the previous iteration.
Algorithm 1 Time-Aware Hybrid MPC
1: Input: Initial state , nominal , duals 2: Initialize: Shift forward, re-detect , warm-start. 3: for do 4: Evaluate Jacobians , and sensitivities , . 5: Construct affine dynamics constraints (21), (22). 6: if transition occurs in interval then 7: Evaluate , , , at boundary. 8: Construct affine jump constraints (23), (24). 9: end if 10: end for 11: Assemble sparse QP (25) evaluating H and q. 12: Solve QP for primal step and updated duals . 13: Update: 14: Output: Apply control to the system.
The proposed formulation preserves the computational complexity of standard fixed-grid MPC [20]. Traditional time-aware formulations, such as MPCCs [6] or global time-scaling methods [7], introduce temporal variables that couple across the entire prediction horizon, creating dense borders in the KKT matrix that destroy sparsity. By defining as a local, intra-step variable, temporal adjustments are isolated to the -th interval. The resulting KKT matrix retains its block-tridiagonal structure, permitting the use of efficient sparse linear solvers like OSQP [21].
Line 2 of Algorithm 1 re-detects K from Eq. (8) by rolling out the shifted nominal inputs and flagging the intervals in which g changes sign. In each such interval, linear interpolation of g between the two nodes initializes the fraction:
Because is confined to its own interval, an event that drifts past a grid node drives to a bound. The transition block is then moved to the adjacent interval, with reused as its warm start. The decision vector is permanently sized for blocks, so the sparsity pattern never changes and the solver is never re-set up.
At most one transition per interval is admitted. If the rollout detects two crossings in one interval, that interval reverts to a fixed-grid saltation step [3]. Thus the QP stays feasible and its structure is unchanged, and only intra-step timing optimality is lost, on that interval alone. Handling several genuine intra-step transitions, as in multi-contact locomotion, requires multiple per interval and remains future work.
As with RTI schemes generally, solving one QP per cycle give up the guarantees of a converged SQP, and we provide no closed-loop stability certificate. Nominal stability conditions for RTI-MPC are available under contraction and shift-initialization assumptions [22]. Extending them to the lifted hybrid setting, where K may change between cycles, remains open.
V. SIMULATION RESULTS
Simulation Setup: Using hybrid system benchmarks [3], [4], [7], we simulate a 3D controlled bouncing mass interacting with a moving platform. The system state is defined as , representing the 3D position and velocity. The continuous-time dynamics are given by the vector field , where is the control input ( ) and is the gravity vector.
An impact occurs when the system intersects the guard function . Following standard rigid-body impact models [15], the normal velocity reflects relative to the platform with a restitution coefficient , and the tangential friction . The jump map resets the state to:
The optimization minimizes a quadratic continuous flow cost over the prediction horizon . Because the impact does not incur an instantaneous energy penalty, the discrete jump cost is set to zero ( ). This instantiates (9) with:
where Q, R, and are positive definite weight matrices, and any interval containing a jump evaluates the split continuous cost accordingly. The mass is declared attached once it stays within 1 cm of the surface for 0.3 s.
The platform follows , and rad/s, and all controllers use dt = 0.05 s and N = 20. We compare four formulations, summarized in Table I.
Saltation MPC [3] is a fixed-step sparse QP (using OSQP [21]) that propagates sensitivities via the saltation matrix but commits the reset to a grid node. Time-aware (TA) MPCC [6] is a complementarity-constrained NLP solved by IPOPT [23] through CasADi [24]. Contact MIQP [4] is a big-M mixed-logical-dynamical transcription with one binary per interval selecting whether an impact occurs, solved by branch and bound (Bonmin [25]).
HMP-MPC (ours) implemented as a sparse QP using OSQP. To separate the effect of the transcription from that of the solver, we additionally solve the same lifted formulation as a general NLP with IPOPT.
Tracking Performance Results: All four controllers reach the platform, but they differ in how directly they get there (Fig. 3). The fixed-grid saltation MPC cannot place the reset inside a step, so it consistently mistimes the impact: its one-step prediction error across an impact-containing interval averages 7.9 cm, against 0.7 cm for the lifted transcription. Because that error is larger than the attachment band itself, the baseline overshoots, rebounds, and requires 6 impacts and 6.35 s to attach. HMP-MPC anticipates the impact instant, approaches with near-zero relative velocity, and attaches in 3.20 s using 4 impacts. The two offline-quality formulations attach soonest (2.10 s for TA MPCC, 2.05 s for the MIQP), as expected of methods that solve the nonlinear or combinatorial problem to (near) optimality. The relevant comparison is what that costs, discussed next.
Discretization Consistency: Theorem 1 bounds the gap between the discrete KKT system and the continuous-time HMP by , but at the fixed step used here ( s) that remainder does not vanish. Fig. 4 evaluates the residual of (16) at the converged solution over . The residual decays with an empirical slope of 1.21, consistent with the first-order bound, while the QP stationarity residual remains at solver tolerance throughout, confirming that the decay reflects discretization error rather than solver accuracy. At s the residual is , small relative to the cost scale, indicating that the attach-time gap against the offline solvers in Table I stems from the single-QP RTI approximation rather than from truncation error. This gives a direct criterion for selecting , as it may be reduced until

(a) Tracking performance of the four studied methods.

(b) Per-cycle solve time against .

(c) Control Effort of 4 methods.
Fig. 3: Closed-loop landing on a moving platform comparison on the four studied methods.
TABLE I: Closed-loop performance and per-cycle cost (N = 20, h = 0.05 s). Solve times are measured on identical sampled linearization points, so solvers visiting different closed-loop states remain comparable. The MIQP is capped at 30 s per solve.
| Method / solver | Attach (s) | Impacts | Cum. effort | Solve time (ms) | Worst (ms) | Rel. cost |
|---|---|---|---|---|---|---|
| Saltation MPC (OSQP) | 6.35 | 6 | 15.2 | 2.26 | 0.9× | |
| HMP-MPC (OSQP) | 3.20 | 4 | 10.7 | 2.72 | 1.0× | |
| HMP-MPC (IPOPT) | 3.25 | 4 | 11.4 | 35.3 | 11× | |
| Time-aware MPCC (IPOPT) | 2.10 | 2 | 10.3 | 554 | 116× | |
| Contact MIQP (Bonmin) | 2.05 | 5 | 10.6 | 30400 | 9383× |
the residual falls below the accuracy demanded by the task, subject to the linear growth of solve time in (Fig. 3b).

Fig. 4: Stationarity residual of Eq. (16) against step size . The QP stationarity residual stays at solver tolerance.
Energy and Computational Analysis: Because the formulation enforces event-time stationarity, the controller aligns impact timing with the optimality conditions. By optimizing the intra-step timing, HMP-MPC eliminates the unmodeled rebounds that dominate the fixed-grid trajectory and drives the active control effort to zero once attached. Against the only other real-time-capable formulation, this yields a 30% reduction in cumulative effort (10.7 vs 15.2) and a third fewer impacts, for a 15% increase in solve time (Fig 3c).
The cost of each formulation is separated in Table I. Comparing the two IPOPT rows isolates the transcription, the lifted formulation is cheaper than the complementarity expansion at the same solver. Comparing the two HMP-MPC rows isolates the solver, and a further , obtained because the lifted transcription remains a convex QP with linear constraints and can therefore be handed to a first-order sparse QP solver, which the complementarity constraints prevent. Together these give the end-to-end speedup over TA MPCC. The MIQP returns the best mode sequence found and lands well, but at 22.8 s per cycle, some the proposed method and three orders of magnitude beyond the sampling period. Fig. 3b shows the formulations computational cost scaling in .
Sensitivity to Contact Restitution: We sweep the plant's true restitution over [0, 0.95] with 40 randomized initial conditions per value, and run the sweep twice. Once giving each controller the true value (exact), once holding it at the nominal (mismatched). The first isolates the difficulty of the task, the second adds the cost of an inaccurate contact model. No parameters are returned.
Below every method captures in all trials, since an impact that dissipates more energy than modeled reaches the attachment condition sooner. Thus values under are not reported in Table.II.
The exact columns show that what fails on a bouncy
TABLE II: Capture rate (%) over 40 randomized initial conditions per cell. Exact gives each controller the plant's true restitution . Mismatched holds its model at the nominal , and is the cost of that mismatch.
| Saltation MPC | HMP-MPC | |||||
|---|---|---|---|---|---|---|
| exact | mism. | Δ | exact | mism. | Δ | |
| 0.60 | 100 | 100 | 0 | 100 | 100 | 0 |
| 0.75 | 95 | 95 | 0 | 100 | 100 | 0 |
| 0.85 | 65 | 62 | -3 | 100 | 98 | -2 |
| 0.95 | 68 | 42 | -26 | 98 | 95 | -3 |
surface is timing, not modeling. Both controllers know the contact physics exactly, yet the fixed-grid baseline misses roughly a third of its landings at while HMP-MPC captures 98–100%. A larger e amplifies any error in the predicted impact instant, because the post-impact trajectory diverges faster from the mistimed one. That error is the event localization of the fixed grid, and removing it is exactly what lifting does.
The columns show that the two formulations also absorb model error differently. HMP-MPC stays within the confidence interval at every , whereas the baseline loses 26 points at 0.95. Minimizing over brings the mass to contact at near-zero relative velocity, and since , the model error enters only in proportion to . Arriving slowly attenuates the restitution error rather than leaving the controller to reject it afterwards.
VI. CONCLUSION AND FUTURE WORK
This paper presented time-aware Hybrid Model Predictive Control (HMP-MPC). Rather than evaluating the saltation matrices numerically, the formulation embeds HMP time-stationarity conditions directly into the NLP and captures first-order hybrid sensitivities through the KKT system. Validated on a dynamic landing task, HMP-MPC optimizes the rebound timing, reducing post-impact control effort and attach times relative to fixed-grid saltation MPC without the computational burden of MPCC.
The validation is limited to a single impact per horizon on a low-dimensional benchmark. Extending HMP-MPC to multi-contact/higher-dimensional regimes with several intrastep transitions, is the subject of ongoing work. We will also extend the controller design to handle parametric uncertainties such as unknown restitution coefficients, and validate real-time feasibility on physical hardware.
REFERENCES
[1] B. Altin, P. Ojaghi, and R. G. Sanfelice, “A model predictive control framework for hybrid dynamical systems,” IFAC-PapersOnLine, vol. 51, no. 20, pp. 128–133, 2018.
[2] N. J. Kong, J. J. Payne, J. Zhu, and A. M. Johnson, “Saltation matrices: The essential tool for linearizing hybrid dynamical systems,” Proc. IEEE, vol. 112, no. 6, pp. 585–608, 2024.
[3] N. J. Kong, C. Li, G. Council, and A. M. Johnson, “Hybrid iLQR model predictive control for contact-implicit stabilization on legged robots,” IEEE Trans. on Rob., vol. 39, no. 6, pp. 4712–4727, 2023.
[4] I. Nodozi and R. G. Sanfelice, “A mixed-integer approach to solve hybrid model predictive control problems,” in Proc. IEEE CDC, 2022.
[5] A. Bemporad and V. V. Naik, “A numerically robust mixed-integer quadratic programming solver for embedded hybrid model predictive control,” IFAC-PapersOnLine, vol. 51, no. 20, pp. 412–417, 2018.
[6] B. T. Baumrucker and L. T. Biegler, “Mpec strategies for optimization of a class of hybrid dynamic systems,” J. Process Control, vol. 19, no. 8, pp. 1248–1256, 2009.
[7] S. R. Kazi, K. Wang, and L. Biegler, “On optimal control of hybrid dynamical systems using complementarity constraints,” J. Process Control, vol. 153, p. 103492, 2025.
[8] H. J. Sussmann, “A maximum principle for hybrid optimal control problems,” in Proc. IEEE CDC, 1999, pp. 425–430.
[9] A. Pakniyat and P. Caines, “The minimum principle of hybrid optimal control theory,” Math. Control Signals Syst., vol. 36, pp. 1–50, 11 2023.
[10] A. V. Dmitruk and A. M. Kaganovich, “The hybrid maximum principle is a consequence of pontryagin maximum principle,” Syst. Control Lett., vol. 57, no. 11, pp. 964–970, 2008.
[11] I. M. Ross and F. Fahroo, “Discrete verification of necessary conditions for switched nonlinear optimal control systems,” in Proc. American Control Conf. IEEE, 2004, pp. 2750–2755.
[12] W. Hu, J. Long, Y. Zang, W. E, and J. Han, “Solving optimal control problems of rigid-body dynamics with collisions using the hybrid minimum principle,” Commun. Nonlinear Sci. Numer. Simul., vol. 143, p. 108603, 2025.
[13] M. Aizerman and F. Gantmakher, “On the stability of periodic motions,” J. Appl. Math. Mech., vol. 22, no. 6, pp. 1065–1078, 1958.
[14] A. F. Filippov, Differential Equations with Discontinuous Righthand Sides. Springer, 1988.
[15] R. I. Leine and D. H. Van Campen, “Discontinuous fold bifurcations in mechanical systems,” Syst. Anal. Model. Simul., vol. 43, no. 9, pp. 1169–1190, 2003.
[16] R. Henrion, “On constraint qualifications,” J. Optim. Theory Appl., vol. 72, no. 1, pp. 187–197, 1992.
[17] L. T. Paiva and F. A. Fontes, “A sufficient condition for stability of sampled-data model predictive control using adaptive time-mesh refinement,” IFAC-PapersOnLine, vol. 51, no. 20, pp. 104–109, 2018.
[18] M. Diehl, H. G. Bock, and J. P. Schlöder, “A real-time iteration scheme for nonlinear optimization in optimal feedback control,” SIAM J. Control Optim., vol. 43, no. 5, pp. 1714–1736, 2005.
[19] A. L. Dontchev and R. T. Rockafellar, Implicit Functions and Solution Mappings: A View from Variational Analysis, ser. Springer Monogr. Math. Springer, 2009.
[20] J. Nocedal and S. J. Wright, Numerical Optimization, 2nd ed., ser. Springer Series in Operations Research and Financial Engineering. New York, NY: Springer, 2006.
[21] B. Stellato, G. Banjac, P. Goulart, A. Bemporad, and S. Boyd, “OSQP: an operator splitting solver for quadratic programs,” Math. Program. Comput., vol. 12, no. 4, pp. 637–672, 2020.
[22] M. Diehl, R. Findeisen, F. Allgöwer, H. G. Bock, and J. P. Schlöder, “Nominal stability of real-time iteration scheme for nonlinear model predictive control,” IEE Proc. Control Theory Appl., vol. 152, no. 3, pp. 296–308, 2005.
[23] A. Wächter and L. T. Biegler, “On the implementation of an interior-point filter line-search algorithm for large-scale nonlinear programming,” Math. Program., vol. 106, no. 1, pp. 25–57, 2006.
[24] J. A. E. Andersson, J. Gillis, G. Horn, J. B. Rawlings, and M. Diehl, “CasADi – A software framework for nonlinear optimization and optimal control,” Math. Program. Comput., vol. 11, no. 1, pp. 1–36, 2019.
[25] P. Bonami et al., “An algorithmic framework for convex mixed integer nonlinear programs,” Discrete Optim., vol. 5, no. 2, pp. 186–204, 2008.