1 Introduction

With the quick development of society, there are increasingly complex control problems [1]. Apart from the characteristics of non-linearity [2], being time-varying and showing uncertainty, the problems also have the characteristics of complex structure [3], complex behavior [4] and multi-subsystem integration [5]. Thus, a switched system as a special class of hybrid control system has been widely investigated in various fields [6], since its first introduction by Liberzon and Daniel et al. [7]. A switched system is composed of a set of subsystems and switched strategy, which coordinates the operation of each subsystem [8]. There are some characteristics of the switched system, for instance, even if all subsystems are unstable, an appropriate switched function can ensure system globally asymptotic stability [9]. Assuming subsystems are stable, under the circumstances of the switched control strategy, is strictly consistent, and the system performance is also improved [10]. Similarly, all the subsystems are globally exponential stable, the switched systems are also instable [11]. In a nutshell, in order to solve the existing control problems, a switched nonlinear system has sparked a heated discussion [12].

There are many means to make the nonlinear switched system stable. Based on the common Lyapunov function method, switched systems can be made stable under an arbitrary switched signal [13,14,15,16]. Using the average dwell time method, the locally exponentially stable of the closed-loop system can be guaranteed in [17, 18]. By an adaptive backstepping control method, the input-to-state stability of the system can be obtained [19, 20]. The finite-time practical control problem was developed for nonlinear switched systems subjected to nonlinear input [21]. The control design of cascade switched systems with uncertainties was investigated in [22]. The authors of [23] studied the control and stabilization problem for normal nonlinear switched systems with unknown dynamics. Then, by a fuzzy logical system (FLS) method a radial basis function (RBF) NNs method is used for the analysis of the system; see [24,25,26,27,28,29,30]. Applying FLS to identify the unknown functions, this technique can ensure all switched signals are bounded [26]. A switched system has been widely applied in substation switching, traffic control and electromechanical integration in recent years, which is the driving force for this paper.

Most control schemes are focused on the faultless system, such as the results of [13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30]. As is well known, actuator faults [31,32,33,34,35,36] occur frequently in techniques. When the system encounters actuator failure, it can damage the stability of the system and even crash the system. Therefore, this emphasizes the importance of designing fault-tolerant control in practical applications. Furthermore, by using the approximation ability of FLS in [37], an adaptive controller has been created to deal with the system uncertainty and unknown actuator failure [31]. Thus, as an effective solution, designing appropriate fault-tolerant controllers has been widely used in fault handling. An adaptive fault-tolerant controller was designed for large systems with actuator failures [38]. The developed control scheme can be used to avoid the problem of “explosion of complexity” [35]. Then several output feedback control strategies have been developed for nonlinear switched systems with actuator faults, by using filter observers, adaptive methods and a backstepping technique [39,40,41,42,43]. For instance, an adaptive compensation controller was constructed by utilizing the backstepping technique [39]. An adaptive distributed controller was proposed to ensure the realization of tracking error [41]. However, the fault-tolerant control strategies in [32,33,34,35,36,37,38,39,40,41,42,43] can guarantee system performances in infinite time.

In practice, fault-tolerant control in a finite time can reduce the defect caused by the system faults. As a consequence, when faults occur, the tracking error of the nonlinear system also need to converge to a small domain of the origin in finite time. The practical finite-time stable of nonlinear systems was discussed in [44]. Adopting the sliding-mode control method, the closed-loop system reached a small domain of the sliding surface in finite time [45]. An adaptive controller was designed to ensure the boundedness of the closed-loop system, while ensuring the state of the system was adjusted to the origin in finite time [46]. Considering the time-varying actuator failure in this paper, NNs are used to approximate the unknown function, this adds more difficulty in controller design for the switched systems. Hence, a new type adaptive NNs under time-varying actuator failure should be proposed in finite time.

On the basis of the above analysis and by comparing with existing achievements on adaptive control for nonlinear systems, this paper is committed to cope with the adaptive finite-time tracking control problem of nonlinear systems under time-varying actuator failure. The main contributions of this paper are as follows:

(1) In this paper, unknown actuator failure leads to time-varying control gains, which is more general than those currently known. Besides, unknown functions are approximated by the RBF NNS. (2) All the signals in the closed-loop system are proved to show boundedness under arbitrary switching and designed controllers can guarantee stability of switched nonlinear systems in finite time. (3) The system considered includes strict-feedback switched nonlinear systems (when \(g=1\)), so the system is more comprehensive and universal.

The rest of this paper is organized as follows: Sect. 2 gives the problem formulation and preliminaries. One introduces the RBF NNs and gets the main results in Sect. 3. Section 4 provides an example to illustrate the proposed results, and the conclusion is presented in Sect. 5.

2 Problem formulation and preliminary knowledge

Consider a class of strict-feedback switching nonlinear systems described as

$$\begin{aligned} \textstyle\begin{cases} \dot{x}_{j}=f_{j,\eta (t)}(\bar{x}_{j})+g_{j}(\bar{x}_{j})x_{j+1}, \quad j=1,2,\ldots,n-1,\\ \dot{x}_{n}=f_{n,\eta (t)}(x)+g_{n}(x)u_{\eta (t)},\\ y=x_{1}, \end{cases}\displaystyle \end{aligned}$$
(1)

where \({\bar{x}_{j}=[x_{1}, x_{2},\ldots, x_{j}]}^{T} \in R^{j}\), \(j=1,\ldots, n-1\). \(x=[x_{1}, x_{2},\ldots, x_{n}]^{T}\in R^{n}\) denotes a state vector, \(u_{\eta (t)}\in R\) and \(y \in R\) denote the system input and output, respectively. \(\eta (t):[0,\infty )\rightarrow D=\{1,\ldots, \iota \}\) stands for a piecewise continuous switching signal, ι is the subsystem number, \(\eta (t)=m\) (\(m\in D\)) when the mth subsystem is active, \(f_{j,m}(\bar{x}_{j})\) are unknown smooth nonlinear functions of the mth subsystem, \(g_{j}(\bar{x}_{j})\) are the known smooth nonlinear functions.

One supposes \(u_{\eta (t)}\) has encounter actuator faults. And the actuator failure model is described as follows:

$$\begin{aligned} u_{m}=\rho _{m}(t,t_{\rho })a_{m}+u_{b}(t,t_{b}), \end{aligned}$$
(2)

where \(\rho _{m}(t,t_{\rho })\in [0,1]\) stands for an actuation effectiveness, \(a_{m}\) represents the actual input signal of the mth subsystem, \(u_{b}(t,t_{b})\) denotes an uncontrollable time-varying additive actuation fault, \(t_{\rho }\) reveals a time instant at which the loss of actuation effectiveness fault occurs, and \(t_{b}\) shows the moment when there is the additive actuation fault.

Remark 1

The scheme of control and stabilization was presented for nonlinear switched systems without the time-varying actuation fault [22, 23]. In research on existing finite-time control for switched nonlinear systems in [30, 47], it was supposed that time-invariance or \(u_{m}=a_{m}\) was founded on healthy actuation. Nonetheless, unknown actuator failure causes the control gain time-varying in application, and the actuation element may encounter failure or faults, which let us consider both effectiveness and the additive actuation fault simultaneously.

Thence, compared with the methods in [22, 23, 30, 47], in the above paper, efficiency loss and additional actuator failure cannot occur simultaneously, the developed fault model (2) can remedy this weakness. It means that two kinds of faults may occur at the same time, expanding the range of application.

Next, some definitions and lemmas which are essential in our subsequent development are given.

Definition 1

([48])

For the nonlinear system \(\dot{\wp }=f({\wp , b})\), if for all \(\wp (t_{0})=\wp _{0}\), there exist \(a>0\) and \(T(a, \wp _{0})<\infty \), such that \(\Vert \wp (t) \Vert < a\), for all \(t\geq t_{0}+T\), then the solution is semi-global practical finite-time stable (SGPFS), where ℘, b are the state vector and input vector, respectively.

Lemma 1

([49])

Suppose \(V(x)\)is a \(C^{1}\)smooth positive-definite function (defined on \(U\subset R^{n}\)) and \(\dot{V}(x)+\lambda V^{\alpha }(x)\)is a negative semi-definite function on \(U\subset R^{n}\)for \(\alpha \in (0, 1)\)and \(\lambda \in R^{+}\), then there exists an area \(U_{0}\subset R^{n}\)such that any \(V(x)\)which starts from \(U_{0}\subset R^{n}\)can reach \(V(x)\equiv 0\)in finite time. Moreover, if \(T_{\mathrm{reach}}\)is the time needed to reach \(V(x)\equiv 0\), then

$$\begin{aligned} T_{\mathrm{reach}}\leq \frac{V^{1-\alpha }(x_{0})}{\lambda (1-\alpha )}, \end{aligned}$$

where \(V(x_{0})\)is the initial value of \(V(x)\).

Lemma 2

([29])

Consider the nonlinear system \(\dot{\wp }=f(\wp ,u)\), for smooth positive-definite function \(V(\wp )\), suppose that there exist scalars \(\lambda >0\), \(0<\alpha <1\), and \(0<\eta <\infty \)such that

$$\begin{aligned} \dot{V}(\wp )\leq -\lambda V^{\alpha }(\wp )+\eta , \end{aligned}$$

therefore, the nonlinear system \(\dot{\wp }=f(\wp ,u)\)is SGPFS.

Lemma 3

([50])

For \(\forall (x,y)\in R^{2}\), the Young inequality is \(xy\leqslant \frac{a ^{p}}{p} \Vert x \Vert ^{p}+\frac{1}{qa^{q}} \Vert y \Vert ^{q}\), where \(a>0\), \(p>1\), \(q>1\), and \((p- 1)(q - 1)= 1\).

Assumption 1

Unknown time-varying functions \(\rho _{m}(t,t_{\rho })\), \(u_{b}(t, t_{b})\) are bounded. That is, there exist some positive constants \(\rho _{ \min }\) and \(u_{m}\) such that \(\rho _{\min }<\rho _{m}(t, t_{\rho })<1\) and \(\vert u_{b}(t, t_{b}) \vert \leqslant \bar{u}_{b}\).

Assumption 2

\(y_{d}\) and its first nth-order time derivatives \(y_{d}^{(i)}\) (\(i=1,\ldots, n\)) are smooth and bounded.

Remark 2

As Assumption 1 claimed, the control gain \(\rho _{m}(t, t_{\rho })\) and uncontrollable additive actuation fault \(u_{b}(t, t _{b})\) are assumed to be unknown, which makes the previous finite-time stability criterion unavailable. For the subsequent stability analysis, one has Assumption 2, which is used in tracking control of nonlinear systems (see [31, 40]).

3 RBF NNs and the main results

Under the following design, the RBF NNs will be utilized to approximate the unknown function \(f(\varpi )\). The basis function \(S_{i}(\varpi )\) are the Gaussian functions with the form

$$\begin{aligned} S_{i}(\varpi )=\exp \biggl[-\frac{(\varpi -\jmath _{i})^{T}(\varpi - \jmath _{i})}{\ell _{i}^{2}} \biggr], \quad i=1,2,\ldots, \kappa , \end{aligned}$$

where \(\jmath _{i}=[\jmath _{i1}, \jmath _{i2},\ldots, \jmath _{i\kappa }]^{T}\) and \(\ell _{i}\) are the centers and the widths of NNs, respectively, \(\kappa >1\) is the NNs node number.

As mentioned in [27], for the continuous nonlinear function \(f(\varpi )\) defined on any compact set \(\varOmega _{\varpi }\subset R^{n}\), there exist NNs \(H^{*T}S(\varpi )\) and arbitrary \(\varepsilon >0\), such that

$$\begin{aligned} \sup_{\varpi \in \varOmega _{\varpi }} \bigl\vert H^{*T}S(\varpi )-f(\varpi ) \bigr\vert \leq \varepsilon , \end{aligned}$$

where \(\varpi \in R^{n}\), \(H^{*}\in R^{\kappa }\) are the input variable and the ideal constant weight vector, respectively. And the smooth basis vector of RBF NNs is \(S(\varpi )\), where \(S(\varpi )=[S_{1}(\varpi ),\ldots, S_{\kappa }(\varpi )]^{T}\).

On account of the universal approximation theory of RBF NNs, for an unknown function \(f(\varpi )\), it can be approximated as

$$\begin{aligned} f(\varpi )=H^{*T}S(\varpi )+\varepsilon (\varpi ), \end{aligned}$$

where \(\varepsilon (\varpi )\) is named the approximation error, and is supposed to be bounded by ε̄, thus \(\varepsilon ( \varpi )\leq \bar{\varepsilon }\) with \(\bar{\varepsilon }>0\), for all \(\varpi \in \varOmega _{\varpi }\).

For the system (1), our aim is to design an adaptive controller in finite time. Next, one defines \(P_{i}= \Vert H_{i}^{*} \Vert ^{2}\), \(i=1, 2,\ldots, n\), where \(H_{i}^{*}\) is the weight vector of NNs. Let \(P_{i}\) be estimated as \(\hat{P_{i}}\), the estimation error be expressed by \(\widetilde{P_{i}}=P_{i}-\hat{P_{i}}\). Then we have the common coordinate transformation

$$\begin{aligned} \textstyle\begin{cases} \xi _{1}=x_{1}-y_{d},\\ \xi _{j}=x_{j}-\alpha _{j-1}, \quad j=2,\ldots, n, \end{cases}\displaystyle \end{aligned}$$
(3)

where \(y_{d}\), \(\alpha _{j-1}\) express the reference signal and virtual controller to be designed later, respectively.

Step 1: For the system (1) and \(\xi _{1}=x_{1}-y _{d}\), the differential of \(\xi _{1}\) is

$$\begin{aligned} \dot{\xi _{1}} &=g_{1}(\bar{x}_{1})x_{2}+f_{1, \eta }( \bar{x}_{1})+ \varepsilon _{1,\eta }^{*}- \dot{y_{d}} \\ &=g_{1}(\bar{x}_{1})x_{2}+H_{1,\eta }^{*T}S_{1}(z_{1})+ \varepsilon _{1,\eta }^{*}-\dot{y_{d}}, \end{aligned}$$
(4)

where \(S_{1}(z_{1})\), \(z_{1}=x_{1}\) are the RBF and input vector of NNs, respectively, \(\varepsilon _{1,\eta }^{*}\) is the approximate error.

Then, by the Lyapunov function and Lemma 3, one gets

$$\begin{aligned}& V_{1} =\frac{1}{2}\xi _{1}^{2}+ \frac{1}{2}\tilde{P}_{1}^{2}, \\ & \xi _{1}H_{1,\eta (t)}^{*T}S_{1}(z_{1}) \leq \frac{1}{2}+\frac{1}{2} \xi _{1}^{2}P_{1}S_{1}^{T}(z_{1})S_{1}(z_{1}), \\ & \xi _{1}\varepsilon _{1,\eta }^{*} \leq \frac{1}{2}\xi _{1}^{2}+ \frac{1}{2}\bar{ \varepsilon }_{1}^{2}. \end{aligned}$$

From the above analysis, the first-order derivative of \(V_{1}\) is

$$\begin{aligned} \dot{V}_{1} &=\xi _{1}\bigl(g_{1}( \bar{x}_{1})x_{2}+H_{1,\eta }^{*T}S_{1}(z _{1})+\varepsilon _{1,\eta }^{*}-\dot{y_{d}} \bigr)-\tilde{P}_{1} \dot{\hat{P}}_{1} \\ &\leq \xi _{1}\biggl(g_{1}(\bar{x}_{1})\xi _{2}+g_{1}(\bar{x}_{1})\alpha _{1}+ \frac{1}{2}\xi _{1}P_{1}S_{1}^{T}(z_{1})S_{1}(z_{1})+ \frac{1}{2}\xi _{1}-\dot{y}_{d}\biggr) \\ & \quad {} +\frac{1}{2}+\frac{1}{2}\bar{\varepsilon }_{1}^{2}-\tilde{P}_{1} \dot{\hat{P}}_{1}. \end{aligned}$$
(5)

We design the virtual controller \(\alpha _{1}\) and adaptive law \(\dot{\hat{P}}_{1}\) as

$$\begin{aligned}& \alpha _{1}= \frac{1}{g_{1}(\bar{x}_{1})}\biggl[- \frac{1}{2}(1+\beta _{1})\xi _{1}+\dot{y}_{d}- \vert \xi _{1} \vert ^{c}-\frac{1}{2}\xi _{1}\hat{P}_{1}S_{1}^{T}(z _{1})S_{1}(z_{1})\biggr], \end{aligned}$$
(6)
$$\begin{aligned}& \dot{\hat{P}}_{1}= \frac{1}{2}\xi _{1}^{2}S_{1}^{T}(z_{1})S_{1}(z_{1})- \gamma _{1}\hat{P}_{1}, \end{aligned}$$
(7)

where \(\beta _{1}>0\) is a constant.

Then (5) can be rewritten as

$$\begin{aligned} \dot{V}_{1}\leq g_{1}(\bar{x}_{1})\xi _{1}\xi _{2}-\frac{1}{2}\beta _{1} \xi _{1}^{2}+\gamma _{1}\tilde{P}_{1} \hat{P}_{1}+\frac{1}{2}\bar{\varepsilon }_{1}+ \frac{1}{2}. \end{aligned}$$

By Lemma 3, one knows

$$\begin{aligned} \gamma _{1}\tilde{P}_{1}\hat{P}_{1}\leqslant - \frac{\gamma _{1}}{2} \tilde{P}_{1}^{2}+\frac{\gamma _{1}}{2}P_{1}^{2}, \end{aligned}$$

then \(\dot{V}_{1}\) can be further expressed as

$$\begin{aligned} \dot{V}_{1}\leq -\frac{\beta _{1}}{2}\xi _{1}^{2}-\frac{\gamma _{1}}{2} \tilde{P}_{1}^{2}+g_{1}( \bar{x}_{1})\xi _{1}\xi _{2}+ \frac{\gamma _{1}}{2}P_{1}^{2} +\frac{1}{2}\bar{\varepsilon }_{1}+ \frac{1}{2}. \end{aligned}$$
(8)

Step j (\(j=2,\ldots,n-1\)). Based on \(\xi _{j}=x_{j}-\alpha _{j-1}\), one gets

$$\begin{aligned} \dot{\xi }_{j} &=g_{j}(\bar{x}_{j})x_{j+1}+f_{j,\eta (t)}( \bar{x}_{j})- \dot{\alpha }_{j-1} \\ &=g_{j}(\bar{x}_{j})x_{j+1}+H_{j,\eta (t)}^{*T}S_{j}(z_{j})+ \varepsilon _{j,\eta }^{*}-\dot{\alpha }_{j-1}, \end{aligned}$$
(9)

where \(z_{j}=[x_{1},\ldots,x_{j}]^{T}\) is the input vector of NNs, and

$$\begin{aligned} \dot{\alpha }_{j-1}={} &\sum_{i=1}^{j-1} \bigl[(\partial \alpha _{j-1})/\partial \alpha _{j} \bigr](f_{i,\eta }+g_{i}x_{i+1})+\sum _{i=0}^{j-1}\bigl[\bigl(\partial y _{d}^{(i)} \bigr)\bigr]y_{d}^{(i+1)} \\ &{}+\sum_{i=1}^{j-1}\bigl[(\partial \alpha _{j-1})/\partial \hat{P}_{i}\bigr] \dot{\hat{P}}_{i}. \end{aligned}$$

Applying Lemma 3 again, one has

$$\begin{aligned}& V_{j} =V_{j-1}+\frac{1}{2}\xi _{j}^{2}+ \frac{1}{2}\tilde{P}_{j}^{2}, \\ & \xi _{j}H_{j,\eta }^{*T}S_{j}(z_{j}) \leq \frac{1}{2}+\frac{1}{2}\xi _{j}^{2}P_{j}S_{j}^{T}(z_{j})S_{j}(z_{j}), \\ & \xi _{j}\varepsilon _{j,\eta }^{*} \leq \frac{1}{2}\xi _{j}^{2}+ \frac{1}{2}\bar{ \varepsilon }_{j}^{2}. \end{aligned}$$

Adopting a similar procedure to Step 1, the time derivative of \(V_{j}\) is

$$\begin{aligned} \dot{V}_{j}&= \dot{V}_{j-1}+\xi _{j} \bigl(g_{j}(\bar{x}_{j})x_{j+1}+H_{j, \eta }^{*T}S_{j}(z_{j})+ \varepsilon _{j,\eta }^{*}-\dot{\alpha }_{j-1}\bigr)- \tilde{P}_{j}\dot{\hat{P}}_{j} \\ &\leq -\sum_{i=1}^{j-1}\frac{\beta _{i}}{2}\xi _{i}^{2}-\sum_{i=1}^{j-1} \frac{ \gamma _{i}}{2}\tilde{P}_{i}^{2}+\sum _{i=1}^{j-1}\frac{\gamma _{i}}{2}P _{i}^{2} +\xi _{j}\biggl(g_{j}(\bar{x}_{j})\xi _{j+1}+g_{j}(\bar{x}_{j})\alpha _{j} \\ &\quad{} +\frac{1}{2}\xi _{j}P_{j}S_{j}^{T}(z_{j})S_{j}(z_{j})+ \frac{1}{2}\xi _{j}-\dot{\alpha }_{j-1}+\xi _{j-1}\biggr)+\frac{j}{2}+\sum_{i=1}^{j} \frac{1}{2}\bar{\varepsilon }_{j}^{2}- \tilde{P}_{j}\dot{\hat{P}}_{j}. \end{aligned}$$
(10)

The virtual controller and the adaptive law are designed thus:

$$\begin{aligned}& \alpha _{j}= \frac{1}{g_{j}(\bar{x}_{j})}\biggl(- \frac{1}{2}(1+\beta _{j})\xi _{j}+\dot{\alpha }_{j-1}-\xi _{j-1}-{ \vert \xi _{j} \vert }^{c} - \frac{1}{2}\xi _{j}\hat{P}_{j}S_{j}^{T}(z_{j})S_{j}(z_{j}) \biggr), \end{aligned}$$
(11)
$$\begin{aligned}& \dot{\hat{P}}_{j}= \frac{1}{2}\xi _{j}^{2}S_{j}^{T}(z_{j})S_{j}(z_{j})- \gamma _{j}\hat{P}_{j}. \end{aligned}$$
(12)

Consider the following fact:

$$\begin{aligned} \gamma _{j}\tilde{P}_{j}\hat{P}_{j} &=- \frac{\gamma _{j}}{2}\tilde{P} _{j}^{2}-\frac{\gamma _{j}}{2} \hat{P}^{2}+\frac{\gamma _{j}}{2}P_{1} ^{2} \leq - \frac{\gamma _{j}}{2}\tilde{P}_{j}^{2}+\frac{\gamma _{j}}{2}P _{1}^{2}. \end{aligned}$$

Then (10) can be replaced by

$$\begin{aligned} &\dot{V}_{j}\leq -\sum_{i=1}^{j} \frac{\beta _{i}}{2}\xi _{i}^{2}-\sum _{i=1}^{j}\frac{\gamma _{i}}{2}\tilde{P}_{i}^{2}+ \xi _{j}\xi _{j+1}+ \frac{j}{2} +\sum _{i=1}^{j}\frac{\gamma _{i}}{2}P_{i}^{2}+ \sum_{i=1} ^{j}\frac{1}{2}\bar{ \varepsilon }_{i}^{2}. \end{aligned}$$
(13)

Step n: By Lemma 3, one obtains

$$\begin{aligned}& V_{n} =V_{n-1}+\frac{1}{2}\xi _{n}^{2}+ \frac{1}{2}\tilde{P}_{n}^{2}+ \sum _{b=1}^{\iota }\tilde{u}_{b}^{2}, \\& \xi _{n}H_{n,\eta }^{*T}S_{n}(z_{n}) \leq \frac{1}{2}+\frac{1}{2}\xi _{n}^{2}P_{n}S_{n}^{T}(z_{n})S_{n}(z_{n}), \\& \xi _{n}\varepsilon _{n,\eta }^{*} \leq \frac{1}{2}\xi _{n}^{2}+ \frac{1}{2}\bar{ \varepsilon }_{n}^{2}. \end{aligned}$$

By (13), one knows

$$\begin{aligned} &\dot{V}_{n-1}\leq -\sum_{i=1}^{n-1} \frac{\beta _{i}}{2}\xi _{i}^{2}- \sum _{i=1}^{n-1}\frac{\gamma _{i}}{2}\tilde{P}_{i}^{2}+ \frac{n-1}{2}+ \xi _{n-1}\xi _{n} +\sum _{i=1}^{n-1}\frac{\gamma _{i}}{2}P_{i}^{2}+ \sum_{i=1}^{n-1}\frac{1}{2}\bar{ \varepsilon }_{i}^{2}. \end{aligned}$$
(14)

Performing in the same way as in Step j, from the above analysis, the time derivative of \(V_{n}\) is

$$\begin{aligned} \dot{V}_{n}&= \dot{V}_{n-1}+\xi _{n} \bigl(g_{n}(x)\rho _{\eta }(t,t_{\rho })a _{\eta }+g_{n}(x)u_{b}(t,t_{b})+H_{n,\eta }^{*T}S_{n}(z_{n})+ \varepsilon _{n,\eta }^{*} \\ &\quad{} -\dot{\alpha }_{n-1}\bigr)-\tilde{P}_{n}\dot{ \hat{P}}_{n}-\sum_{b=1}^{ \iota } \tilde{u}_{b}\dot{\hat{u}}_{b} \\ &\leq -\sum_{i=1}^{n-1}\frac{\beta _{i}}{2}\xi _{i}^{2}-\sum_{i=1}^{n-1} \frac{ \gamma _{i}}{2}\tilde{P}_{i}^{2}+ \sum _{i=1}^{n-1}\frac{\gamma _{i}}{2}P _{i}^{2}+ \xi _{n}\biggl(g_{n}(x)\rho _{\eta }(t,t_{\rho })a_{\eta } \\ &\quad{} +g_{n}(x)u_{b}(t,t_{b})+ \frac{1}{2}\xi _{n}P_{n}S_{n}^{T}(z_{n})S _{n}(z_{n})+\frac{1}{2}\xi _{n}-\dot{\alpha }_{n-1}+\xi _{n-1}\biggr) \\ &\quad{} -\tilde{P}_{n}\dot{\hat{P}}_{n}-\sum _{b=1}^{\iota }\tilde{u}_{b} \dot{ \hat{u}}_{b}+\frac{n}{2}+\sum_{i=1}^{n} \frac{1}{2}\bar{\varepsilon }_{i}^{2}. \end{aligned}$$
(15)

The actual fault-tolerant controller and adaptive laws are developed as

$$\begin{aligned}& \begin{aligned}[b] a_{m}={}&\frac{1}{g_{n}(x)\rho _{m}(t,t_{\rho })}\biggl(- \frac{1}{2}(1+\beta _{n})\xi _{n}+\dot{\alpha }_{n-1}-\xi _{n-1}-\frac{1}{2}\xi _{n}\hat{P} _{n}S_{n}^{T}(z_{n})S_{n}(z_{n}) -\hat{u}_{b}\biggr), \end{aligned} \end{aligned}$$
(16)
$$\begin{aligned}& \dot{\hat{P}}_{n}= -\gamma _{n} \hat{P}_{n}+\frac{1}{2}\xi _{n}^{2}S_{n} ^{T}(z_{n})S_{n}(z_{n}), \end{aligned}$$
(17)
$$\begin{aligned}& \dot{\hat{u}}_{b}= -\lambda _{b} \hat{u}_{b}+\xi _{n}. \end{aligned}$$
(18)

Then, by putting (16)–(18) into (15), one has

$$\begin{aligned} \dot{V}_{n}&\leq -\sum_{i=1}^{n-1} \frac{\beta _{i}}{2}\xi _{i}^{2}- \sum _{i=1}^{n-1}\frac{\gamma _{i}}{2}\tilde{P}_{i}^{2}+ \sum_{i=1}^{n-1}\frac{ \gamma _{i}}{2}P_{i}^{2} +\xi _{n}(u_{b}-\bar{u}_{b})-\frac{1}{2} \beta _{n}\xi _{n}^{2}+\gamma _{n} \tilde{P}_{n}\hat{P}_{n} \\ &\quad{} +\sum_{b=1}^{\iota }\lambda _{b}\tilde{u}_{b}\hat{u}_{b}+\frac{n}{2}+ \sum_{i=1}^{n}\frac{1}{2}\bar{ \varepsilon }_{i}^{2}. \end{aligned}$$
(19)

From (19) and Lemma 3, one obtains

$$\begin{aligned}& \gamma _{n}\tilde{P}_{n}\hat{P}_{n} \leqslant - \frac{\gamma _{n}}{2} \tilde{P}_{n}+\frac{\gamma _{n}}{2}P_{n}^{2}, \\ & \sum_{b=1}^{\iota }\lambda _{b} \tilde{u}_{b}\hat{u}_{b} \leq \sum _{b=1} ^{\iota }\frac{\lambda _{b}}{2}\bigl(- \tilde{u}_{b}^{2}+\bar{u}_{b}^{2}\bigr), \\ & \xi _{n}u_{b} \leqslant \frac{1}{2}\xi _{n}^{2}+\frac{1}{2}\bar{u}_{b}. \end{aligned}$$

Then one gets

$$\begin{aligned} \dot{V}_{n}&\leqslant -\sum_{i=1}^{n-1} \frac{\beta _{i}}{2}\xi _{i}^{2}- \frac{1}{2}({\beta _{n}}-1)\xi _{n}^{2} -\sum _{i=1}^{n} \frac{\gamma _{i}}{2}\tilde{P}_{i}^{2} -\sum_{b=1}^{\iota }\frac{ \lambda _{b}}{2} \tilde{u}_{b}^{2}+\sum_{i=1}^{n} \frac{\gamma _{i}}{2}P _{i}^{2}+\frac{n}{2} \\ &\quad{} +\sum_{i=1}^{n}\frac{1}{2} \bar{\varepsilon }_{i}^{2}+\sum_{b=1}^{ \iota } \frac{\lambda _{b}}{2}\bar{u}_{b}^{2}+\frac{1}{2} \bar{u}_{b} ^{2}. \end{aligned}$$
(20)

Hitherto, one gets the following theorem to summarize the main result of this paper.

Theorem 1

For the switched nonlinear strict-feedback system (1) affected by actuator failure (2), RBF NNs are developed to approximate the nonlinear system, the designed virtual controllers (11), the subsystems controllers (16), and the adaptive laws (17), it is guaranteed that all the signals in a closed-loop system are bounded and SGPFS, i.e., the outputycan track the given signal \(y_{d}\)in finite-time.

Proof

Consider Lyapunov function as follows:

$$\begin{aligned} \dot{V}=V_{n}=\sum_{i=1}^{n} \frac{1}{2}\xi _{i}^{2}+\sum _{i=1}^{n} \frac{1}{2}\tilde{P}_{n}^{2}+ \sum_{b=1}^{\iota }\tilde{u}_{b}^{2}. \end{aligned}$$
(21)

Together with (20), if \(\beta _{n}>1\), then

$$\begin{aligned} \dot{V}\leqslant -aV+d, \end{aligned}$$
(22)

where

$$\begin{aligned}& \begin{gathered} a=\min \{\beta _{i}, \beta _{n}-1, \gamma _{j}, \lambda _{b}, i=1,\ldots,n-1, j=1,\ldots,n, b\in \iota \}, \\ d=\sum_{i=1}^{n}\frac{\gamma _{i}}{2}P_{i}^{2}+ \frac{n}{2}+\sum_{i=1} ^{n} \frac{1}{2}\bar{\varepsilon }_{i}^{2} +\sum _{b=1}^{\iota }\frac{ \lambda _{b}}{2}\bar{u}_{b}^{2}+ \frac{1}{2}\bar{u}_{b}^{2}. \end{gathered} \end{aligned}$$

For (22), the integral of inequality from 0 to t, the following inequality can be obtained:

$$\begin{aligned} V(t)\leqslant e^{-at}V(0)+\frac{d}{a}. \end{aligned}$$
(23)

From (21) and (23), one has \(\xi _{i}\), \(\tilde{P}_{i}\), \(i=1,\ldots, n\) and \(\tilde{u}_{b}\), \(b\in \iota \) are bounded for initial conditions. Moreover, based on \(\tilde{P}_{i}=P _{i}-\hat{P}_{i}\), thus \(\hat{P}_{i}\) is bounded because of the boundedness of \(P_{i}\). Similarly, \(\hat{u}_{b}\) is also bounded. Therefore, all the signals in the closed-loop system are bounded under arbitrary switching signals.

Next, denote \(\vert \tilde{P}_{i} \vert \leqslant P_{iM}\) and \(\vert \tilde{u}_{b} \vert \leqslant u_{bM}\).

Step 1: In this section, from the Lyapunov function

$$\begin{aligned} V_{\xi 1}=\frac{1}{2}\xi _{1}^{2}. \end{aligned}$$
(24)

By (6), one has

$$\begin{aligned} \dot{V}_{\xi 1}&\leqslant -\frac{1}{2}\beta _{1}\xi _{1}^{2}+ \frac{1}{2}\xi _{1}^{2} \tilde{P}_{1}H_{1}^{T}(z_{1})H_{1}(z_{1})- \xi _{1} \vert \xi _{1} \vert ^{c} +\xi _{1}\xi _{2}+\frac{1}{2}+\frac{1}{2}\bar{ \varepsilon }_{1} \\ &\leqslant -\frac{1}{2}(\beta _{1}-P_{1M})\xi _{1}^{2}- \vert \xi _{1} \vert ^{c+1}+ \xi _{1}\xi _{2}+\frac{1}{2}+\frac{1}{2}\bar{ \varepsilon }_{1}. \end{aligned}$$
(25)

Step j (\(j=2,\ldots,n-1\)). We use the Lyapunov function

$$\begin{aligned} V_{\xi j}=V_{\xi ,j-1}+\frac{1}{2}\xi _{j}^{2}. \end{aligned}$$
(26)

By (11), the first-order derivative of \(V_{\xi j}\) is

$$\begin{aligned} \dot{V}_{\xi j}&\leqslant -\sum_{i=1}^{j-1} \frac{1}{2}(\beta _{i}-P _{iM})\xi _{i}^{2}- \sum_{i=1}^{j-1} \vert \xi _{i} \vert ^{(c+1)}-\frac{1}{2}\beta _{j}\xi _{j}^{2} +\frac{1}{2}\xi _{j}^{2} \tilde{P}_{j}H_{j}^{T}(z_{j})H _{j}(z_{j}) \\ &\quad{} -\xi _{j} \vert \xi _{j} \vert ^{c}+ \xi _{j}\xi _{j+1}+\frac{j}{2}+\sum _{i=1}^{j} \frac{1}{2}\bar{\varepsilon }_{i}^{2} \\ &\leqslant -\sum_{i=1}^{j} \frac{1}{2}(\beta _{i}-P_{iM})\xi _{i}^{2}- \sum_{i=1}^{j} \vert \xi _{i} \vert ^{(c+1)}+\xi _{j}\xi _{j+1} +\frac{j}{2}+ \sum_{i=1}^{j}\frac{1}{2}\bar{ \varepsilon }_{i}^{2}. \end{aligned}$$
(27)

Step n: The Lyapunov function is as follows:

$$\begin{aligned} V_{\xi n}=V_{\xi ,n-1}+\frac{1}{2}\xi _{n}^{2}, \end{aligned}$$
(28)

by Lemma 3, one knows

$$\begin{aligned} \xi _{n} u_{b} &\leq \frac{1}{2}\xi _{n}^{2}+\frac{1}{2}\bar{u}_{b}^{2}, \xi _{n} \tilde{u}_{b}\leq \frac{1}{2}\xi _{n}^{2}+\frac{1}{2}u_{bM} ^{2}. \end{aligned}$$

Substitute (16) into the derivative of \(V_{\xi n}\), and define \(\beta _{i}>P_{iM}\), \(i=1,\ldots,n-1\), \(\beta _{n}>P_{nM}+2\), then

$$\begin{aligned} \dot{V}_{\xi n} &\leq -\sum_{i=1}^{n-1} \frac{1}{2}(\beta _{i}-P_{iM})\xi _{i}^{2}- \sum_{i=1}^{n-1} \vert \xi _{i} \vert ^{c+1}-\frac{1}{2}\beta _{n}\xi _{n} ^{2} +\frac{1}{2}\xi _{n}^{2} \tilde{P}_{n}H_{n}^{T}(z_{n})H_{n}(z_{n}) \\ & \quad {}-\xi _{n} \vert \xi _{n} \vert ^{c}+\xi _{n}(u_{b}-\bar{u}_{b}+ \tilde{u}_{b}) \\ &\leq -\sum_{i=1}^{n-1}\frac{1}{2}( \beta _{i}-P_{iM})\xi _{i}^{2}- \sum _{i=1}^{n} \vert \xi _{i} \vert ^{c+1}+\frac{1}{2}\bar{u}_{b}^{2}+ \frac{1}{2}u _{b M}^{2} \\ & \quad {}-\frac{1}{2}(\beta _{n}-P_{nM}-2)\xi _{n}^{2} \\ &\leq -\sum_{i=1}^{n} \vert \xi _{i} \vert ^{c+1}+\frac{1}{2}\bar{u}_{b}^{2}+ \frac{1}{2}u_{b M}^{2} \\ &\leq -V_{\xi _{n}}^{\bar{c}}+\bar{d}, \end{aligned}$$
(29)

where \(\bar{c}=[(c+1)/2]\), \(\bar{d}=\frac{1}{2}\bar{u}_{b}^{2}+ \frac{1}{2}u_{bM}^{2}\).

Thus choosing the following common Lyapunov function:

$$\begin{aligned} V_{\xi }=V_{\xi _{n}}=\sum_{i=1}^{n} \frac{1}{2}\xi _{i}^{2}, \end{aligned}$$
(30)

from the above analysis procedure, one obtains

$$\begin{aligned} \dot{V}_{\xi } \leqslant -V_{\xi }^{\bar{c}}+\bar{d}, \end{aligned}$$
(31)

by Lemma 2, \(\xi _{i}\) (\(i=1,\ldots, n\)) are SGPFS, i.e., the output tracks the reference signal and \(y(t)\) tracks the given signal to a small compact set in finite time.

Then by Lemma 1, the convergence time satisfies

$$\begin{aligned} T_{\mathrm{reach}}\leqslant \frac{V_{\xi }^{1-\bar{c}}(0)}{\nu _{0}(1-\bar{c})}, \quad \nu \in (0,1], \end{aligned}$$

where \(V_{\xi }(0)\) is the initial value of \(V_{\xi }\).

This completes the proof. □

Remark 3

The actuator faults which contain both the loss of effectiveness and the additive faults can be written as \(u_{m}=\rho _{m}(t,t_{\rho })a_{m}+u _{b}(t,t_{b})\), the parameters \(\rho _{m}(t, t_{\rho })\), \(u_{b}(t,t_{b})\) are time-varying. In order to ensure the stability of the closed-loop systems, one chooses the parameters satisfying \(\beta _{n}>1\), \(0< c<1\). The tracking error can converge in finite time, we claim, the parameters are chosen as \(\beta _{i}>P_{iM}\), \(i=1,\ldots,n-1\) and \(\beta _{n}>P_{nM}+2\), where the other parameters are chosen to be positive.

4 Numerical example

A continuous stirred tank reactor (CSTR) with two modes feed stream in [51] is the example to verify our results, which is modeled as a switched nonlinear system,

$$\begin{aligned} \textstyle\begin{cases} \dot{x}_{1}= g_{1}(\bar{x}_{1})x_{2}+f_{1,\eta }(\bar{x}_{1}),\\ \dot{x}_{2}= g_{2}(\bar{x}_{2})u+f_{1,\eta }(\bar{x}_{2}), \\ y=x_{1}, \end{cases}\displaystyle \end{aligned}$$
(32)

where \(f_{1, 1}=f_{2, 1}=(5/6)x_{2}-x_{2}\), \(f_{1, 2}=-0.02x_{1}-(5/6)x _{2}\), \(f_{2, 2}=-0.01x_{1}-(5/6)x_{2}\), \(g_{1}(\bar{x}_{1})=g_{1}( \bar{x}_{2})=1\), \(\eta ={1,2}\). One chooses the reference signal \(y_{d}\) as

$$\begin{aligned} y_{d}=0.25\sin (2t), \end{aligned}$$

and the actuator fault \(u_{m}\) as

$$\begin{aligned} u_{m}= \textstyle\begin{cases} a_{m}, & t< 10,\\ \rho _{m}(t,t_{\rho })a_{m}+u_{b}(t,t_{b}), & t\geq 10, \end{cases}\displaystyle \end{aligned}$$

where \(m=\{1, 2\}\), \(\rho _{1}=0.4+0.1\exp (-0.2t)\), \(\rho _{2}=0.6+0.1\sin (-t)\), \(u_{b}(t,t_{b})=0.5\sin (t)\), and \(a_{1}\), \(a_{2}\) represent the input signal.

From Theorem 1, the virtual controller, actual controllers and the adaptive laws are given as

$$\begin{aligned}& \alpha _{1}= -\frac{1}{2}(1+\beta _{1})\xi _{1}+\dot{y}_{d}- \vert \xi _{1} \vert ^{c}- \frac{1}{2}\xi _{1}\hat{P}_{1}H_{1}^{T}(z_{1})H_{1}(z_{1}), \\ & a_{m}= \frac{1}{\rho _{m}}\biggl[-\frac{1}{2}(1+\beta _{2})\xi _{2}+ \dot{\alpha }_{1}- \vert \xi _{2} \vert ^{c}-\xi _{1}-\hat{u}_{b}(t,t_{b})- \frac{1}{2}\xi _{2}\hat{P}_{2}S_{2}^{T}(z_{2})S_{2}(z_{2}) \biggr], \\ & \dot{\hat{P}}_{1}= -\gamma _{1}\hat{P}_{1}+ \frac{1}{2}\xi _{1}^{2}H _{1}^{T}(z_{1})H_{1}(z_{1}), \\ & \dot{\hat{P}}_{2}= -\gamma _{2}\hat{P}_{2}+ \frac{1}{2}\xi _{2}^{2}H _{2}^{T}(z_{2})H_{2}(z_{2}), \\ & \dot{\hat{u}}_{b}(t,t_{b})= -\lambda \hat{u}_{b}(t,t_{b})+ \xi _{2}, \end{aligned}$$

where \(\xi _{1}=x_{1}-y_{d}\), \(\xi _{2}=x_{2}-\alpha _{1}\), \(\beta _{1}=1.25\), \(\beta _{2}=3.75\), \(c=0.45\), \(\gamma _{1}=0.3\), \(\gamma _{2}=0.6\), \(\lambda =0.2\).

Further, \(z_{1}=x_{1}\), \(z_{2}=[x_{1}, x_{2}]^{T}\) are input vectors of RBF NNs. The centers \(\jmath _{1}\), \(\jmath _{2}\) are spaced on \([-2, 2]\) simultaneously, the widths are defined as \(\ell _{1}=\ell _{2}=2\), the initial values of the system states are \(x_{1}(0)=0.01\), \(x _{2}(0)=0.2\), respectively, and \(\hat{\xi }_{1}(0)=0.01\), \(\hat{\xi } _{2}(0)=0.02\), \(\hat{u}_{1}(0)=\hat{u}_{2}(0)=0.04\) denote the initial values of the actuator fault.

By the above analysis, Fig. 1 expresses the arbitrarily chosen switching signal. From Fig. 2, a good tracking performance is obtained. The subsystem controllers \(u_{1}\), \(u_{2}\) are given in Figs. 3 and 5. Figures 4 and 6 correspond to the adaptive law. From the above figures, it is shown that all the signals in the closed-loop system are bounded. Then, in order to illustrate the effectiveness of our method, with the other parameters unchanged, we verify whether the system has good tracking performance when the reference signal is selected as \(y_{d}=0.1(\sin (1.5t)+\sin (t))\). From Fig. 7, one can see the tracking performance is nice. Thus our method is effective.

Figure 1
figure 1

Switching signal

Figure 2
figure 2

Tracking performance of example

Figure 3
figure 3

Responses control input \(u_{1}\) of example

Figure 4
figure 4

Responses of the adaptive laws \(\hat{P} _{1}\) of example

Figure 5
figure 5

Responses of control input \(u_{2}\) of example

Figure 6
figure 6

Responses of the adaptive laws \(\hat{P} _{2}\) of Example

Figure 7
figure 7

Another compared tracking performance of example

5 Conclusion

This paper deals with the problem of adaptive finite-time stability for a class of strict-feedback switched nonlinear systems. One takes the backstepping technique and the RBF NNs method, an adaptive finite-time control strategy is formed. In this paper, the actuator failure model is time-varying, and the control scheme can ensure system performances SGPFS in finite-time. Although some progresses have been made in this article, the established adaptive control result is based on a backstepping method. Recently, we notice that there are many other approaches to obtain a controller for nonlinear switched systems, such as stated in [22, 23]; an adaptive control algorithm or a robust sliding-mode control strategy is also an effective tool to model the nonlinearities. In future, we will also make more efforts to obtain something unique in using RBF NNs, such as nonlinear system with time-varying state constraints.