Elsevier

Automatica

Volume 148, February 2023, 110747
Automatica

Dynamic optimization of state-dependent switched systems with free switching sequences

https://doi.org/10.1016/j.automatica.2022.110747Get rights and content

Abstract

Without necessarily assuming that switching sequences are fixed, a dynamic optimization method is proposed for optimal control of state-dependent switched systems. First, a parameterization method is developed to parameterize the switching instants and control vectors to facilitate the calculation of the gradient information, and then the original problem becomes a finite-dimensional mixed discrete–continuous nonlinear program as the switching sequence is discrete and the other variables are continuous. Secondly, the mixed discrete–continuous nonlinear program is transformed into an equivalent problem that contains only continuous variables by relaxing 0 and 1 discrete variables into continuous variables between 0 and 1 and adding proper linear and quadratic constraints. Thirdly, the formulas to compute the gradients of the objective function with respect to all the arguments are derived by solving the variational systems and a two-point boundary value differential algebraic equations (DAEs). Fourthly, an algorithm is proposed to locate a feasible point satisfying the Karush–Kuhn–Tucker (KKT) conditions to a specified tolerance of dynamic optimization of switched systems (DOSS) while guaranteeing feasibility of inequality path constraints, and the finite convergence of the algorithm is proved. Finally, the performance of the algorithm is analyzed via a numerical example.

Introduction

State-dependent switched systems are switched once a modal switching occurs whenever the state of the system reaches a switching surface in the state space. Application domains of state-dependent systems include biomedical engineering (Haenny et al., 1988, Young, 2004), robotics (Egerstedt, 2000, Luca et al., 2012), manufacturing systems (David and Buzacott, 1985, Youssef et al., 2006), and electrical circuit systems (Flieller et al., 1998, Wu et al., 2006). Among all problems studied for state-dependent switched systems, optimal control of such systems is a very important one (Axelsson et al., 2008, Boccadoro et al., 2005, Boccadoro and Wardi, 2005, Feng and Antsaklis, 2015, Liu et al., 2018, Xu and Antsaklis, 2003), and all of these works note that state-dependent switched systems are difficult to handle because the switching times are not the free parameters but depend on the input parameters in a complicated way. In Liu et al. (2018), dynamic optimization of time-delay switched systems with state-dependent switching has been studied, and the gradient-based optimization algorithm to determine the optimal parameter values is developed. The authors of Axelsson et al., 2008, Boccadoro and Wardi, 2005 and Boccadoro et al. (2005) investigated the problem on optimal switching surface design for hybrid dynamical systems. The above-mentioned results are only applicable to autonomous switched systems (i.e. no control input signals) and also require that the switching sequences are pre-fixed. In many practical switched systems, the switching sequences should also be determined optimally. However, besides obtaining optimal switching instants and optimal control, determining the switching sequences of switched systems is a very difficult task (Hante and Falk, 2015, Shaikh and Caines, 2003, Song, 2012, Xu and Antsaklis, 2004, Zhai et al., 2017) due to the fact that the variables determining the switching sequence are discrete, which results that the optimal control of switched systems is a mixed discrete–continuous nonlinear dynamic program. To our best knowledge, there are only few works to optimize the switching sequences (Bengea and DeCarlo, 2005, Feng et al., 2010, Wei et al., 2007, Yu et al., 2013, Zhai et al., 2017). In Bengea and DeCarlo, 2005, Wei et al., 2007, Yu et al., 2013 and Zhai et al. (2017), the mixed discrete–continuous nonlinear program can be embedded into a large family of systems where the switching function takes values in the interval [0,1] as opposed to the discrete set {0,1}, and this essentially transforms the discrete optimal control problem into a smooth problem that can be solved using traditional numerical methods (e.g. sequential quadratic programming). The authors of Feng et al. (2010) proposed an algorithm that combines discrete filled function with descent method to solve the dynamic optimization of switched systems by introducing a metric in the space of switching sequences and then constructing an appropriate discrete filled function. The common features of the above works, however, are that they cannot obtain the optimal switching sequences within a finite number of iterations and only focus on time-dependent switched systems. In addition, the authors in Xu and Antsaklis (2002) noted that the switching sequences should be optimized, but they do not give a specific method to deal with this issue.

Moreover, rigorous satisfaction of inequality path constraints in the optimal control of switched systems is another important issue, since they often reflect the safety and quality limits of a process. Recently, an effective algorithm is proposed in Fu and Zhang (0000) and Zhang and Fu (2021) to solve the optimal control of switched systems with guaranteed satisfaction of inequality path constraints within finite iterations. However, the system under consideration is still limited to a pre-defined switching sequence. Thus, one may wonder whether it is possible to design an algorithm simultaneously optimizes the switching times, control inputs and switching sequences for state-dependent switched systems while guaranteeing the rigorous satisfaction of path constraints within finite iterations? This is the main motivation of this paper.

A dynamic optimization method is proposed for state- dependent switched systems with free switching sequences to locate a feasible point, which satisfies the KKT conditions to a specified tolerance within a finite number of iterations. First, the control vector parameterization (CVP) technique and the switching times parameterization (STP) method are used to reduce the infinite-dimensional optimal control problem to finite- dimensional mixed discrete–continuous nonlinear program. Then, the mixed discrete–continuous nonlinear program is transformed into an equivalent a continuous nonlinear dynamic program by relaxing 0 and 1 discrete variables into continuous variables between 0 and 1 and adding proper linear and quadratic constraints (Wang, Teo, & Lee, 1996). By solving the variational systems and the boundary value DAEs, the gradients of objective function w.r.t. all decision variables are derived. With these gradient information, an algorithm is proposed based on iteratively approximating the dynamic optimization of state-dependent path-constrained switched systems by restricting the right-hand side of the path constraints and enforcing the path constraints at finitely many time points. Finally, it is proven that the algorithm terminates within a finite number of iterations.

The main contributions can be summarized as follows. (1) A dynamic optimization method is proposed to solve the optimal control for state-dependent path-constrained switched systems with free switching sequences. (2) This paper provides the accurate gradient values of the cost function with respect to switching instants for state-dependent switched systems. (3) The switching instants, the control input, and the switching sequences are optimized at the same iteration, which greatly reduces the number of nonlinear programs compared to the two-level optimization algorithm (Fu and Zhang, 0000, Xu and Antsaklis, 2000, Xu and Antsaklis, 2004) and thus saves computational time. (4) It is mathematically proven that the designed algorithm for the optimal control of state-dependent path-constrained switched systems converges within finite iterations.

The rest of the article is structured as follows. In Section 2, the switched system and its optimal control problem are stated. In Section 3, the mixed discrete–continuous nonlinear program is transformed into a continuous dynamic optimization problem. In Section 4, the gradients for the objective function w.r.t. all arguments are derived. With the gradient formulas, in Section 5, the algorithm to locate a feasible approximate KKT point of dynamic optimization of switched systems with guaranteed satisfaction of path constraints is designed, and moreover, a proof of finite convergence of the algorithm is presented. In Section 6, the property of guaranteed satisfaction of path constraints for dynamic optimization of switched systems is illustrated and the effect of tuning parameters in the algorithm using a numerical simulation example is analyzed. Conclusions and an outlook on future work are given in Section 7.

Section snippets

Problem formulation

This paper concentrates on the study of state-dependent switched systems. Such switched systems include the following subsystems ẋ(t)=fvi(x(t),u(t)),t[ti1,ti),i=1,2,,N,x(t0)=x0, where viV{1,2,,M} is the index set and u(t)R is the control input; x(t)Rn is the state; fvi:R×RnRn are real vector functions.

Here, the switching times are not independent decision variables, but are instead governed by a set of state-dependent switching conditions. More specifically, if the following formula qv

Parameterization and transformation

In this section, the switching instants are first parameterized. Then, the mixed discrete–continuous nonlinear program is transformed into an equivalent problem that contains only continuous variables by relaxing 0 and 1 discrete variables into continuous variables between 0 and 1 and adding proper linear and quadratic constraints. The proof for the equivalence between the transformed problem and the original problem is followed.

Gradients analysis

In this section, the required gradients formulae for the objective function w.r.t decision variables u,ξi, and z for (P. 3.1) are derived.

For (P. 3.2), the similar method as in Wang et al. (1996) is applied to deal with the equality constraint Q(zi,j)=0, where the selection of parameters μ can be referred to Li and Chou (1994), and the corresponding objective function can then be rewritten as minξ,u,zJˆ(ξ,u,z)=Ψ̃(x(N,u,z))+i=1Ni1iL̃i(x(τ),u,z)dt+μi=jNQ(zi,j)=Ψˆ(x(N),z)+i=1Ni1iL̃i(x(τ),u,z

Dynamic optimization of state-dependent path-constrained switched systems

The main objective of this section is to propose an algorithm which adopts the dynamic optimization method in Fu, Faust, Chachuat, and Mitsos (2015) to state-dependent path-constrained switched systems to locate a feasible point satisfying the KKT conditions of (P. 3.2) to a specified tolerance within a finite number of iterations.

Dynamic optimization of switched systems (DOSS) with path constraints is considered as follows minξ,u,zJˆ(ξ,u,z)=Ψˆ(x(N),t)+i=0N1ii+1L̃i(x(τ),u,z)dts.t.dx(τ)dτ=f̃vi

Numerical studies

In this section, the effectiveness of Algorithm 1 is illustrated by using a numeral example. The implementation is carried out in MATLAB Version 9.5.0.944444(R2018b,win64) on an Intel(R) Core(TM)i5-8265U CPU @1.60 GHz 1.80 GHz with 8 GB of RAM (see Fig. 10).

Consider the state-dependent switched nonlinear system with a path constraint as follows

Subsystem 1: ẋ1=0.5x1(t)3x2u(t)ẋ2=x1(t)2x2(t)u(t)

Subsystem 2: ẋ1=0.5x1(t)2x2(t)u(t)ẋ2=x1(t)2.2x2(t)u(t) with the initial condition x0=(0,2).

Conclusions and future work

A novel dynamic optimization method is proposed to locate the optimal switching sequences, optimal switching instants, and optimal control input for dynamic optimization of state-dependent switched systems with guaranteed feasibility of path constraint, a distinguishing feature compared to the existing methods in the literature. The algorithm is proved to converge to a feasible point that satisfies the KKT conditions to a specified tolerance within a finite number of iterations.

Direct

Jun Fu received the Ph.D. degree in mechanical engineering from Concordia University, Montreal, QC, Canada, in 2009. He was a Postdoctoral Researcher with the Department of Mechanical Engineering, Massachusetts Institute of Technology, Cambridge, MA, USA, from 2010 to 2014. He is a Full Professor with Northeastern University, Shenyang, China. His current research is on dynamic optimization and switched systems and their applications. Dr. Fu received the 2018 Young Scientist Award in Science

References (47)

  • BoccadoroM. et al.

    Optimal control of switching surfaces in hybrid dynamical systems

    Discrete Event Dynamic Systems

    (2005)
  • BranickyM.S. et al.
  • DavidD. et al.

    Modeling a class of state-dependent routing in flexible manufacturing systems

    Annals of Operations Research

    (1985)
  • EgerstedtM.
  • EgerstedtM. et al.

    Transition-time optimization for switched-mode dynamical systems

    IEEE Transactions on Automatic Control

    (2006)
  • FengZ. et al.

    Optimal control of hybrid switched systems: A brief survey

    Discrete Event Dynamic Systems

    (2015)
  • FengZ.G. et al.

    A discrete filled function method for the optimal control of switched systems in discrete time

    Optimal Control Applications & Methods

    (2010)
  • FloudasC.A. et al.

    The adaptive convexification algorithm: a feasible point method for semi-infinite programming

    SIAM Journal on Optimization

    (2007)
  • FloudasC.A. et al.

    The adaptive convexification algorithm: a feasible point method for semi-infinite programming

    SIAM Journal on Optimization

    (2008)
  • Fu, J., & Zhang, C. 0000. Optimal control of path-constrained switched systems with guaranteed feasibility, IEEE...
  • GonzalezH. et al.

    Computable optimal control of switched systems with constraints

  • HaennyP.E. et al.

    State dependent activity in monkey visual cortex

    Experimental Brain Research

    (1988)
  • Hante et al.

    Relaxation methods for hyperbolic PDE mixed-integer optimal control problems

    Optimal Control Applications & Methods

    (2015)
  • Cited by (0)

    Jun Fu received the Ph.D. degree in mechanical engineering from Concordia University, Montreal, QC, Canada, in 2009. He was a Postdoctoral Researcher with the Department of Mechanical Engineering, Massachusetts Institute of Technology, Cambridge, MA, USA, from 2010 to 2014. He is a Full Professor with Northeastern University, Shenyang, China. His current research is on dynamic optimization and switched systems and their applications. Dr. Fu received the 2018 Young Scientist Award in Science issued by the Ministry of Education of China (the first awardee in Chinese Control Community). He is currently an Associate Editor of Control Engineering Practice, the IEEE Transactions on Industrial Informatics, and the IEEE Transactions on Neural Networks and Learning Systems.

    Huan Li received the B.S. degree in mathematics and applied mathematics from Liaoning Normal University, Dalian, China, in 2015, and the M.S. degree in applied mathematics from Bohai University, Jinzhou, China, in 2018. She is currently working towards the Ph.D. degree in control theory and control engineering at the State Key Laboratory of Synthetical Automation for Process Industries, Northeastern University, Shenyang, China. Her research interest includes switched systems, and dynamic optimization.

    This work was supported in part by the National Natural Science Foundation of China under Grants 61825301 and National Key Research and Development Program of China under Grant 2018AAA0101603. The material in this paper was not presented at any conference.This paper was recommended for publication in revised form by Associate Editor Kok Lay Teo under the direction of Editor Ian R Petersen.

    View full text