[Paper Review] Continuous Optimization for Control of Hybrid Systems with Hysteresis via Time-Freezing
This paper introduces a time-freezing reformulation that transforms hybrid systems with hysteresis into piecewise smooth systems (PSS), enabling high-accuracy optimal control via continuous nonlinear programming (NLP) without integer variables. By introducing auxiliary dynamics and a clock state, the method converts state jumps into smooth dynamics, allowing the use of the FESD method for accurate solution of time-optimal control problems, outperforming mixed-integer approaches in accuracy and robustness.
This article regards numerical optimal control of a class of hybrid systems with hysteresis using solely techniques from nonlinear optimization, without any integer variables. Hysteresis is a rate independent memory effect which often results in severe nonsmoothness in the dynamics. These systems are not simply Piecewise Smooth Systems (PSS); they are a more complicated form of hybrid systems. We introduce a time-freezing reformulation which transforms these systems into a PSS. From the theoretical side, this reformulation opens the door to study systems with hysteresis via the rich tools developed for Filippov systems. From the practical side, it enables the use of the recently developed Finite Elements with Switch Detection [Nurkanovic et al., 2022], which makes high accuracy numerical optimal control of hybrid systems with hysteresis possible. We provide a time optimal control problem example and compare our approach to mixed-integer formulations from the literature.
Motivation & Objective
- Address the challenge of numerically solving optimal control problems (OCPs) for hybrid systems with hysteresis, which exhibit severe nonsmoothness due to rate-independent memory effects.
- Overcome the limitations of mixed-integer optimal programming (MIOP) approaches, which become computationally intractable for nonlinear or time-optimal problems with precise switching times.
- Enable the use of advanced continuous optimization techniques—specifically the FESD method—on systems with hysteresis by reformulating them as PSS.
- Provide a constructive, theoretically grounded method to transform hysteresis dynamics into a PSS via time-freezing, ensuring solution equivalence.
- Demonstrate the superiority of the continuous optimization approach over mixed-integer formulations in accuracy, convergence robustness, and computational efficiency for time-optimal control.
Proposed method
- Propose a time-freezing reformulation that treats the hysteresis state w(t) as a continuous differential state, introducing auxiliary dynamics and a clock state to model state jumps.
- Introduce a clock state that freezes during auxiliary system evolution, allowing reconstruction of the original discontinuous solution from the continuous time-freezing system.
- Construct auxiliary ODEs that evolve in regions forbidden to the original system, with endpoints satisfying the state jump law, ensuring solution equivalence.
- Use the FESD (Finite Elements with Switch Detection) method for high-order, high-accuracy discretization of the resulting PSS, enabling accurate solution of nonsmooth OCPs.
- Formulate the OCP as a Mathematical Program with Complementarity Constraints (MPCC), which is solved via NLP solvers like IPOPT, avoiding mixed-integer programming.
- Implement the method in the open-source NOSNOC software package, integrating CasADi and IPOPT for efficient solution of the discretized MPCC.
Experimental results
Research questions
- RQ1Can hybrid systems with hysteresis be reformulated as piecewise smooth systems (PSS) without introducing integer variables?
- RQ2Does the time-freezing reformulation preserve solution equivalence between the original hysteresis system and the transformed PSS?
- RQ3Can high-accuracy optimal control of hybrid systems with hysteresis be achieved using only continuous nonlinear programming (NLP) techniques?
- RQ4How does the performance of the continuous FESD-based approach compare to traditional mixed-integer optimal programming (MIOP) formulations in terms of accuracy and convergence?
- RQ5Can the time-freezing method enable robust and accurate solution of time-optimal control problems with complex hysteresis dynamics?
Key findings
- The time-freezing reformulation successfully transforms a class of hybrid systems with hysteresis into a PSS, enabling the application of advanced continuous optimal control methods.
- The FESD method applied to the time-freezing PSS achieves a terminal constraint violation of 9.49×10⁻², significantly lower than the 7.88×10¹ achieved by both Gurobi and Bonmin.
- NOSNOC (using IPOPT) solved the OCP in 8.87 seconds with a final time Tf = 10.26, outperforming Bonmin (1481.58 s) and Gurobi (5.31 s) in solution accuracy despite being slightly slower than Gurobi.
- The continuous NLP-based approach via FESD is more robust than the mixed-integer approach, as IPOPT (used in NOSNOC) failed to converge in some discretization variations where Gurobi succeeded.
- The method enables high-accuracy solution of time-optimal control problems with hysteresis, as demonstrated by the smooth, intuitive control profile in Fig. 4, where the turbocharger is used optimally to minimize time.
- The solution equivalence between the original hysteresis system and the time-freezing PSS is rigorously proven, establishing theoretical soundness for the reformulation.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.