Abstract
In this work, the problem of hybrid neural network control for a class of switched uncertain nonlinear systems in strict-feedback form is considered. To approximate unknown nonlinear functions, an improved whale optimization algorithm (IWOA)-based hybrid neural network controller is introduced. Based on hybrid neural network approximation ability, a new hybrid neural network controller is constructed via the backstepping technique and the common Lyapunov function (CLF) is used for the stability analysis of the proposed model. The suggested method ensures that all signals in the closed-loop system are semi-global uniform ultimate bounded (SGUUB), and the tracking error converges to a small neighborhood of zero. Finally, the proposed scheme is applied to a ship maneuvering system and a numerical example to verify its effectiveness.
Keywords
Introduction
Switched systems are a type of hybrid system that consists of several subsystems and a switching rule that selects a subsystem to be active for a period of time. In recent years, the control challenges of switched systems have widely attracted more attention because of their important roles in engineering applications like power systems, mobile robots, ducted rocket systems, and so on (Bao et al., 2010; Lee and Jiang, 2008; Liu et al., 2016). Basic problems related to stability of control systems and synthesis of switched linear and nonlinear systems has been discussed by Zhai et al. (2006), Wu and Liu (2017), and Liberzon and Morse (1999).
Stability analysis is well recognized to be the most important factor for nonlinear systems. The stability analysis and control design of switched nonlinear systems have been widely explored using common Lyapunov functions (CLFs) (Vu and Liberzon, 2005) and multiple Lyapunov functions (MLFs) (She and Xue, 2014). It is well accepted that having a CLF for all subsystems can ensure the stability of switched systems with arbitrary switching (Zhu et al., 2020). As a result, the CLF technique has been widely used in the development of controllers and in the stability analysis of switched systems (Aleksandrov et al., 2011; Moulay et al., 2007; Peng and Xu, 2022). Finally, several outstanding results for switched systems with arbitrary switching have been reported (Bali et al., 2022; Fainshil et al., 2009; Zhai et al., 2017).
In the last few years, adaptive stabilization of nonlinear systems has received a lot of attention, and many achievements in the areas of analysis and control of switching systems (Han et al., 2009a; Li and Xiang, 2019; Yang and Yue, 2018). Particularly, researchers have focused their attention on a neural network (NN)-based adaptive control strategy for uncertain nonlinear systems in strict-feedback mode (Chu et al., 2021; Zhou et al., 2018). Zhou et al. (2022a, 2022b, 2022c) focused on the delay intermittent control problem for stochastic system with time-varying multi-weights network and stabilization issue for stochastic complex networks and stochastic coupled systems. An adaptive control technique using the backstepping method and NN is suggested by Lian et al. (2010) for a class of uncertain strict-feedback nonlinear systems. A class of unknown nonlinear dynamical systems were examined by Liu and Tong (2015) using adaptive fuzzy control. Dwell time and average dwell time switching approach for adaptive neural control for switched nonlinear systems was investigated by Han et al. (2009b), Ghazisaeedi and Tavazoei (2021), and Yin et al. (2018).
In real-world problems, switched nonlinear systems inevitably have uncertainties, and there have been some research for dealing with such systems, but most of the controlled nonlinear systems require the uncertainties to satisfy the matching conditions (Kanellakopoulos et al., 1991; Lei and Lin, 2007) for the analysis of global stability. In many situations, however, we are unable to obtain a priori knowledge of system uncertainty, which can only be described by completely unknown functions (Sakhre et al., 2017). The approximation ability of NNs or fuzzy logic systems has been investigated in the literature (Li et al., 2011; Singh and Jain, 2016; Yu et al., 2020; Zhu et al., 2022) to solve the control challenges for switched systems. As a result, a number of major results have been presented for uncertainties existing in nonlinear systems (Qi et al., 2018; Roy and Kar, 2016; Wang et al., 2018, 2019).
The training procedure is one of the difficult aspects in designing NNs. The complex nature of NNs and unknown set of primary parameters like initial weights and learning rate, affects the convergence speed and accuracy of NNs (Singh et al., 2018). To overcome this problem, different bio-inspired and evolutionary methods have been developed in recent years (Aljarah et al., 2018; Angeline et al., 1994; Singh and Jain, 2018). However, in these methods, there are numerous challenges such as local minima, saddle points, and vanishing gradients due to which these methods suffer and hence needs to be improved. To handle these issues, we proposed an improved whale optimization algorithm (IWOA) to assign initial weights to the NN. It is verified that the IWOA-based NN has better training performance, faster convergence rate, and greater prediction ability than standard radial basis function NN (Huang and Xiang, 2016; Li and Wang, 2018; Yoo, 2016).
Inspired by the above discussions, this paper considers the hybrid neural network (HNN) based adaptive tracking control for a class of switched uncertain nonlinear systems in strict-feedback form with external disturbances. The following is a list of the paper’s major aspects:
A HNN control problem for uncertain switched nonlinear systems with bounded external disturbances is proposed.
To approximate the unknown functions, an IWOA-based HNN is developed. The complexity analysis of the proposed controller has also been discussed.
By choosing design parameters suitably, the stability analysis of the proposed controller is determined by the CLF method. It has been shown that all signals in the closed-loop systems remain bounded in the sense of semi-global uniform ultimate boundedness.
Finally, the effectiveness of the proposed controller is verified by a real-world application in ship maneuvering system and a numerical example.
The remaining paper is written out as follows. In section 2, problem formulation and some preliminary work are presented. In Section 3, a systematic design process for HNN controller and the stability analysis for the proposed model are described. Section 4 provides two simulation examples, one of them is the application to the ship maneuvering system to verify the effectiveness of the proposed model. Section 5 concludes the work.
Problem formulation and preliminaries
Consider the following uncertain switched nonlinear system with bounded disturbance
where
Controller objectives and assumptions
The control objective of this paper is to design state feedback controller such that:
All signals in the system under consideration are bounded under arbitrary switching;
The system output
IWOA
The whale optimization algorithm (WOA) is a bio-inspired meta-heuristic algorithm based on the swarm foraging behavior of humpback whales proposed by Mirjalili and Lewis (2016) in 2016. The algorithm has a basic concept, good performance, and only a few adjustment parameters (Chen et al., 2020). Like other heuristic algorithms, WOA also suffers from low accuracy and slow convergence speed of local optimum solutions. To handle this problem, an IWOA (Mafarja and Mirjalili, 2017) has been used with new convergence factor
Encircling operation
where
where
Shrinking operation
where
Hunting operation
where
where
where
Let
Total
Calculate the fitness of each agent and select the best one needs
Updation of parameters requires constant time.
Update the position of
Hence, the total running time comes under whole loop (for which maxiteration is
HNN
In this work, we use an IWOA for training an NN. It provides optimized weights to the NN in order to improve its efficiency. The resulting IWOA-based NN called HNN defined as
where
where
where
which requires
where

Basic diagram of hybrid neural network (HNN).
Hence, the total computational complexity of HNN is
In order to fulfill the control goal, we need to give the following conventional assumptions.
where
where
where
HNN controller design and stability analysis
This section presents an HNN-based adaptive control scheme for system (1) via backstepping method. The systematic backstepping method has
where
where
where
The adaptive law is chosen as
where
The Lyapunov function candidate is chosen as
where
Let us take the following error variable
where
By using equation (25) in equation (24), we have
Now, by using the completion of square, we have
Also,
where
By using equations (28)–(30) in equation (27), we have
where
As
where
Now, by using Young’s inequality, we have
where
Since
Now, by using the adaptive law (21) with
where
where
The CLF candidate is chosen as
where
By using equation (38) in equation (41), we have
where the term
where
The following two inequalities can be obtained by following the approach described in step 1
In addition, as with equation (30), the following statement is correct
where
Also
By using equations (43)–(48) in equation (42), we have
with
Now by using the virtual control law (19), we have the following inequality
Therefore, by using equation (50) in equation (49), we have
where
To approximate
where
Now, by using equation (54) in equation (51), we have
After rearranging equation (55), we have
Since
Now, with the adaptation law (21) in consideration, it is easy to achieve
where
where
The CLF candidate is chosen as
Differentiating
Now, design the real control law
Similar to equation (47) with
As a result, by proceeding in the same manner and employing inequalities (62) and (63) in equation (61), we have
Now after rearranging the terms, we have
where
Now, an HNN
Similarly, we have
By using equation (68) in equation (65), we have
After rearranging the terms, we have
Since
Now, with the adaptation law (21) with
where
where
It is easy to see that
where
Notice that
Therefore, one has
Using equations (75) and (77) in equation (74), we have
where
Furthermore, one has
According to inequality (79), all signals in the closed-loop system are bounded. Furthermore, we have
Hence the proof is completed. The flow diagram of proposed control scheme is shown in Figure 2.

Flow diagram of control scheme.
Simulation results
To prove the effectiveness of proposed model, two examples are shown in this section. In the first example, we consider the numerical example and the another one is the application to the ship maneuvering system. We choose the radial basis function neural network (RBFNN)-based controller, as a reference for contrast.
Performance criteria
In order to analyze the performance of HNN and comparison with RBFNN, we considered following error parameters. For the given
The maximum absolute error (MAE)
The sum of squared error (SSE)
The mean squared error (MSE)
Root mean squared error (RMSE)
Normalized mean squared error (NMSE)
and the best fit rate (BFR)
where
where

Response of tracking performance under HNN and RBFNN.

Response of tracking error

Responses of adaptive laws

Response of virtual control function

Response of controller law

Responses of switching signal.
Table 1 shows the comparison of HNN and RBFNN based on error parameters defined in equations (81)–(86).
Comparison of proposed method based on different assessment error criteria for example 1.

Ship maneuvering system.
where
The following Norrbin nonlinear model can be used to explain the ship maneuvering system
where
where
Let
where
where
when
when
when
Over-parameterization can be a problem if there are too many adaptive parameters. To deal with this problem, let
The virtual control function
The control law
The external disturbances are taken as
The controller parameters are chosen as follows:
Figures 10–15 depict the simulation results for Example 2.

Response of tracking performance under switched speed with HNN and RBFNN.

Response of tracking error

Responses of adaptive law

Response of virtual law

Response of virtual law

Responses of switching signal.
The tracking performance under HNN and RBFNN is shown in Figure 10. The tracking error under HNN and RBFNN is depicted in Figure 11. The trajectory of adaptive law is shown in Figure 12. The trajectory of virtual law
Table 2 shows the comparison of HNN and RBFNN based on error parameters defined in equations (81)–(86).
Comparison of proposed method based on different assessment error criteria for example 2.
From the simulations results, it can be easily seen that both HNN and RBFNN achieved good tracking performances, but the tracking error obtained from HNN is slightly better than RBFNN, which shows the effectiveness of our proposed method. Also, by using the proposed controller, all the closed-loop system signals remain bounded by tuning the parameters suitably. Hence, the simulation results prove the validity of the proposed controller.
Conclusion
In this paper, an HNN controller is presented for a class of switched uncertain nonlinear systems with bounded external disturbance. To approximate unknown functions, an IWOA-based HNN is used. For stability analysis, a CLF is used. The proposed model guarantees that the tracking error converges to the small neighborhood of origin, and all signals in the close-loop system remain bounded under arbitrary switching. In future work, we will focus on the switched system with state delays and interconnected nonlinear systems with time-varying state constraints.
Footnotes
Declaration of conflicting interests
The author(s) declared no potential conflicts of interest with respect to the research, authorship, and/or publication of this article.
Funding
The author(s) disclosed receipt of the following financial support for the research, authorship, and/or publication of this article: This work was supported by MATRICS project grant no. MTR/2021/000478 from the Science and Engineering Research Board (SERB), India.
Data availability statement
Data sharing is not applicable to this article as no new data were created or analyzed in this study.
