Online High Performance Genetic Algorithm Based Sliding Mode Control for Controllable Pitch Propeller

: During the voyage of a ship, the performance of a controllable pitch propeller (CPP) is severely a ﬀ ected by the changing load demand and ever-present disturbance from ocean waves, which will also result in model uncertainty. In order to improve the performance of the CPP system, an online high-performance genetic algorithm (HPGA)-based sliding mode control (SMC) strategy is proposed. Firstly, the model of the CPP system is obtained according to the manufacturer’s instructions. Then, a chattering-free sliding mode controller (CF-SMC) is designed for the CPP system, after which the parameters in the CF-SMC are optimized with the HPGA method. Finally, the optimized CF-SMC is applied to an experimental setup of a prototype CPP system. In order to validate the e ﬀ ectiveness of the proposed method, it is compared with a proportional-integral-derivative (PID) controller, which is typically applied on real CPP-systems, with results indicating the superiority of the proposed method.


Introduction
During the voyage, the disturbance from the sea is ever-present, and the operation mode (slam start, crash stop, sever turning circles, etc.) changes which will result in varying load and model uncertainty in the CPP system. Due to the extremely harsh environment in the sea, it is difficult to design a controller for the CPP system with satisfying performance. The behavior of the CPP actuating mechanism is greatly related to the angle of the blades. The varying load acting on the blades can result in problems such as high pressures in the actuating system and response delays, which are ultimately responsible for most mechanism failures [1]. Hence, it is important to develop advanced control methods to ensure the safe operation of the CPP system.
The CPP systems have been applied in different areas, including ships, airplanes, helicopters, windmills, and other dynamical systems. In ship applications, they serve the voyage speed and orientation. Due to the lower inertia of blades compared to a whole propeller, the dynamics of the ship are much faster with the CPP system [2]. In aerospace applications, it is well-known that the CPP system is used to adapt the airplane to different thrust levels and air speeds with active blades [3].
In the presence of frequently changing loads, an effective and robust control system must be developed to obtain a precise position control of the blades. A variety of controllers for a CPP system have been proposed in the literature. Applying a fuzzy controller was presented for improving wind energy capture for variable-speed wind turbines [4]. A novel model predictive control was designed to solve the problem of individual pitch control of wind turbines, and by linearizing the nonlinear model for different operation points, control in the full load region was resolved [5]. CPP system optimizations for fast ferries and ships are presented in Reference [6] and Reference [7], and examples for aerospace applications are presented in Reference [8]. The applications for a windmill are presented Stable and precise control of the blade is of great importance for the economical and safe operation of the CPP system. In order to have a satisfying performance of a CPP system, the online HPGA-based sliding mode controller is designed. Firstly, according to the manufacturer's instructions of the main equipment in the CPP system, the model of the CPP system is obtained. Secondly, a smooth sliding mode controller is designed for the CPP system with optimized control parameters by HPGA. Thirdly, through a parameter estimator, HPGA generates optimized control parameters in real-time for a sliding mode controller based on the estimated model. Finally, an online HPGA-based sliding mode controller is obtained for CPP systems.
The rest of this paper is organized as follows. In Section 2, the scale model of the CPP system and its dynamic model are described. In Section 3, the principle of the online HPGA-based sliding mode controller is presented. The effectiveness of the proposed method is validated using numerical simulation and experiments on a scale model in Section 4. The conclusions are given in Section 5.

Description of the CPP System
The actual CPP system and its scale model are shown in Figure 1. The CPP system consists of a hydraulic cylinder, rotating disk (outside), gyrated rotating disk (inside), and spherical universal joints. The motion relationships of each component are shown in Figure 2. There are two kinds of operating modes of the CPP system.  Stable and precise control of the blade is of great importance for the economical and safe operation of the CPP system. In order to have a satisfying performance of a CPP system, the online HPGA-based sliding mode controller is designed. Firstly, according to the manufacturer's instructions of the main equipment in the CPP system, the model of the CPP system is obtained. Secondly, a smooth sliding mode controller is designed for the CPP system with optimized control parameters by HPGA. Thirdly, through a parameter estimator, HPGA generates optimized control parameters in real-time for a sliding mode controller based on the estimated model. Finally, an online HPGA-based sliding mode controller is obtained for CPP systems.
The rest of this paper is organized as follows. In Section 2, the scale model of the CPP system and its dynamic model are described. In Section 3, the principle of the online HPGA-based sliding mode controller is presented. The effectiveness of the proposed method is validated using numerical simulation and experiments on a scale model in Section 4. The conclusions are given in Section 5.

Description of the CPP System
The actual CPP system and its scale model are shown in Figure 1. The CPP system consists of a hydraulic cylinder, rotating disk (outside), gyrated rotating disk (inside), and spherical universal joints. The motion relationships of each component are shown in Figure 2. There are two kinds of operating modes of the CPP system.   1-middle axle; 2-rotating disk; 3-gyrated rotating disk; 4-paddle blade seat; 5-paddle blade; 6-spherical universal joint_1; 7-spherical universal joint_2 The advantages of the controllable pitch propeller can be summarized as follows [33]: 1) The ship can operate in a forward or arbitrary direction with the CPP system, without changing the direction of rotation of the engine. 2) A non-reversible engine can be used for both forward and astern operation of the ship.  The advantages of the controllable pitch propeller can be summarized as follows [33]: (1) The ship can operate in a forward or arbitrary direction with the CPP system, without changing the direction of rotation of the engine. (2) A non-reversible engine can be used for both forward and astern operation of the ship.
(3) Since the pitch of the propeller determines the amount of thrust generated by the propeller, a change in the pitch angle can bring certain changes in the speed of the ship without changing the speed or rpm of the main engine. (4) In the case of astern operation, the efficiency is higher with the CPP system than that with fixed pitch propellers.
The goal of this work is to obtain fast and accurate control of the pitch angle, which is closely associated with the position of the hydraulic cylinder. Figure 3 illustrates the concept of the system, where C indicates the position controller. The output variable in the CPP system is the position of the hydraulic cylinder that needs to be controlled by manipulating the opening of the hydraulic valve. The position feedback of the hydraulic valve is realized by a grating ruler.
Hydraulic cylinder Motor 1 6 7 1-middle axle; 2-rotating disk; 3-gyrated rotating disk; 4-paddle blade seat; 5-paddle blade; 6-spherical universal joint_1; 7-spherical universal joint_2 The advantages of the controllable pitch propeller can be summarized as follows [33]: 1) The ship can operate in a forward or arbitrary direction with the CPP system, without changing the direction of rotation of the engine. 2) A non-reversible engine can be used for both forward and astern operation of the ship.
3) Since the pitch of the propeller determines the amount of thrust generated by the propeller, a change in the pitch angle can bring certain changes in the speed of the ship without changing the speed or rpm of the main engine. 4) In the case of astern operation, the efficiency is higher with the CPP system than that with fixed pitch propellers.
The goal of this work is to obtain fast and accurate control of the pitch angle, which is closely associated with the position of the hydraulic cylinder. Figure 3 illustrates the concept of the system, where C indicates the position controller. The output variable in the CPP system is the position of the hydraulic cylinder that needs to be controlled by manipulating the opening of the hydraulic valve. The position feedback of the hydraulic valve is realized by a grating ruler.

Modeling of the CPP System
According to the block diagram of the CPP control system, the main equipment consists of the servo valve, hydraulic cylinder, grating ruler, and electrohydraulic servo amplifier.
In the scale model of the CPP system, the servo valve is selected as a CSDY-I type jet pipe electrohydraulic servo valve. The rated current of the servo valve is ±8 mA, and the rated pressure is 21 MPa. According to the manufacturer's manual, the model of the servo valve can be expressed as [34]:

Modeling of the CPP System
According to the block diagram of the CPP control system, the main equipment consists of the servo valve, hydraulic cylinder, grating ruler, and electrohydraulic servo amplifier.
In the scale model of the CPP system, the servo valve is selected as a CSDY-I type jet pipe electro-hydraulic servo valve. The rated current of the servo valve is ±8 mA, and the rated pressure is 21 MPa. According to the manufacturer's manual, the model of the servo valve can be expressed as [34]: where K is the gain of valve flow with the unit of L/(min·mA). w n represents the natural frequency with the unit of Hz (w n is usually selected as the frequency where the valve phase lags 90 • ). ζ denotes the damping ratio, and it is a dimensionless parameter. The frequency response of the servo valve is shown in Figure 4, from where we can obtain the values: w n = 85 Hz and ζ = 0.8.
where K is the gain of valve flow with the unit of L/(min·mA). n w represents the natural frequency with the unit of Hz ( n w is usually selected as the frequency where the valve phase lags 90°).  denotes the damping ratio, and it is a dimensionless parameter. The frequency response of the servo valve is shown in Figure 4, from where we can obtain the values:  The gain of valve flow can be obtained as [34]: The gain of valve flow can be obtained as [34]: where Q L and Q N are load flow and rated flow with unit of L/min; I e denotes the rated current with unit of mA; P S , P L , P T and P N are supply pressure, pressure drop on load, return pressure, and rated pressure of the oil with units of MPa, respectively. The servo valve has many nonlinearities, such as switch saturations, hysteresis, and attracted property. In this paper, the switch saturations are not considered in the modeling part. They are taken into account in the validation part: a saturation limit is added considering the rated current of the servo valve in the simulation part; and the controller output is set between −8 mA to +8 mA to keep the servo valve working safely in the experiment part. Regarding the hysteresis and attracted property, they are treated as the parameter's uncertainties in the model. As the chattering-free sliding mode control has the superiority in dealing with the parameter uncertainty of the system, the control system can still stay stable without taking these nonlinearities into account.
The hydraulic cylinder selected in the CPP system is a double-outlet symmetrical hydraulic cylinder. Excluding leakage, when the piston is moving, the amount of oil entering and exiting is the same. The speed of the piston in both directions is equal, and the characteristics are symmetrical. The parameters of the hydraulic cylinder are shown in Table 1.  The continuous equation for hydraulic cylinder flow can be summarized as [35]: The following differential equation can be derived from (3): The force balance equation between the load and hydraulic cylinder can be computed as: According to Equation (4) and Equation (5) the model of hydraulic cylinder can be obtained as: Similar to the servo valve, the nonlinearities in the hydraulic cylinder are treated as parameter uncertainties in this paper.
In the CPP system, the SGC grating ruler is applied as a position sensor. Since the output of the grating ruler is a pulse signal, after the processing of the microprocessor, the position feedback is simplified to a proportional element. The electrohydraulic servo amplifier is also treated as a proportional element, and they can be expressed as: where K a is the gain for the electrohydraulic servo amplifier and K f denotes the gain for the grating ruler. K a and K f are both dimensionless. Through analyzing the dominant poles of the CPP system and taking into account Equation (1), Equation (6), and Equation (7), the model can be obtained as: where α 1 , α 2 , α 3 and β are the constant coefficients; ∆α 1 , ∆α 2 , ∆α 3 and ∆β represent the total model uncertainties.

Online HPGA Based Sliding Mode Controller
Sliding mode control has the property of guaranteeing finite-time convergence. The parameters existing in the s-surface are only required to meet the Hurwitz condition. In order to have a better performance of the sliding mode controller on the CPP system, an online HPGA is applied to optimize the parameters in the s-surface. The proposed control structure for the CPP system is illustrated in Figure 5. There are four parts in the control system, and the CPP system has been introduced in Section 2. During the operation of the system, the load disturbance will lead to parameter perturbation. Hence, the parameters' estimator is used to estimate the parameters in the model, which is applied in the online HPGA for optimizing the control parameters in CF-SMC. In the parameters' estimator, a least squares estimation is applied. Because the least squares estimation has been introduced in many studies, this paper focuses on the online HPGA and CF-SMC, and they are introduced as follows. optimize the parameters in the s-surface. The proposed control structure for the CPP system is illustrated in Figure 5. There are four parts in the control system, and the CPP system has been introduced in Section 2. During the operation of the system, the load disturbance will lead to parameter perturbation. Hence, the parameters' estimator is used to estimate the parameters in the model, which is applied in the online HPGA for optimizing the control parameters in CF-SMC. In the parameters' estimator, a least squares estimation is applied. Because the least squares estimation has been introduced in many studies, this paper focuses on the online HPGA and CF-SMC, and they are introduced as follows.

Online High Performance Genetic Algorithm
In the online HPGA method, the only parameter required is the "population size", and the only operator is the bacterial conjugation operator. Thus, the fewer parameters and easier operator makes the online HPGA much more capable of achieving real-time optimization than the traditional GA.
The bacterial conjugation operator in the HPGA can be divided into two steps, including horizontal gene transfer and competition. In the process of horizontal gene transfer, there are two parent chromosomes. The chromosome with better fitness is the donor, and another one is the recipient. Through horizontal gene transfer, a new chromosome can be obtained. After comparing the recipient and the new chromosome, the chromosome with the worse fitness will get mutated. Then, the better one of the mutated chromosome and non-mutated chromosome will be the result of the bacterial conjugation operation.
In the process of horizontal gene transfer, a string of genes in the recipient chromosome will be replaced by another one from the donor chromosome in the same location. Then a new chromosome will be generated. In this process, there are two parameters that need to be determined: the length of the replaced genes and the starting point where the genes should be replaced.

Online High Performance Genetic Algorithm
In the online HPGA method, the only parameter required is the "population size", and the only operator is the bacterial conjugation operator. Thus, the fewer parameters and easier operator makes the online HPGA much more capable of achieving real-time optimization than the traditional GA.
The bacterial conjugation operator in the HPGA can be divided into two steps, including horizontal gene transfer and competition. In the process of horizontal gene transfer, there are two parent chromosomes. The chromosome with better fitness is the donor, and another one is the recipient. Through horizontal gene transfer, a new chromosome can be obtained. After comparing the recipient and the new chromosome, the chromosome with the worse fitness will get mutated. Then, the better one of the mutated chromosome and non-mutated chromosome will be the result of the bacterial conjugation operation.
In the process of horizontal gene transfer, a string of genes in the recipient chromosome will be replaced by another one from the donor chromosome in the same location. Then a new chromosome will be generated. In this process, there are two parameters that need to be determined: the length of the replaced genes and the starting point where the genes should be replaced.
The length of the genes can be calculated according to: where Fitness(CH Donor ) denotes the fitness of the donor chromosome; Fitness(CH Recipient ) represents the fitness of recipient; Fitness Best is the best fitness obtained; Fitness Worst denotes the worst fitness obtained. The starting point is selected at a random point in the chromosome. If the replacement process has reached the end of the chromosome before the ending of the replacement, the replacement process will resume from the beginning of the chromosome.
In the process of competition, the new chromosome from bacterial conjugation operation will compete with the recipient chromosome. Then mutation operation will be performed on the chromosome with lower fitness, where the mutated chromosome will be obtained. The chromosome with better fitness will be called the non-mutated chromosome. In this process, the only parameter to be determined is the mutation rate.
The mutation rate P m can be calculated as: where the N SGBC denotes the number of the same genes between the new chromosome and recipient chromosome; L CH denotes the length of the chromosome. After comparing the mutated chromosome and the non-mutated chromosome, the chromosome with better fitness will replace the recipient chromosome and become a new chromosome in the population.
The online HPGA method is illustrated in Algorithm 1. The advantages of the online HPGA can be summarized as follows: (1) In the process of horizontal gene transfer, the crossing length is calculated based on the fitness of the donor and recipient chromosome, which makes this operator a self-adaptive one. (2) In the traditional genetic algorithm, the crossover probability and mutation probability are all required to be determined with experienced knowledge. Also, improper initialization of the parameters will result in stagnation. In the online HPGA method, where there are much fewer parameters, and so it does not require a lot of special skill or expertise. (3) The online HPGA is simpler and less complex compared with the traditional GA, and thus it is easy to use to perform this optimization method in practical engineering applications.

Chattering-Free Sliding Mode Control Online High Performance Genetic Algorithm
In order to eliminate the effects of model uncertainty on the control performance, the sliding mode control is selected for its superiority in dealing with uncertainty in the CPP system.
Due to the chattering phenomenon existing in the sliding mode control, it is difficult to apply the traditional SMC to the process system. In this paper, a smooth sliding mode control is designed.
The system in Equation (8) is considered, and the states equations for the CPP system can be described as: where x = [x 1 , x 2 , x 3 ] are the system states, and in our case, x 1 is chosen as the tracking error; u denotes the controller output; y is the system output; f (x) and b(x) are both smooth functions; d(x,t) represents the external disturbances and parameters uncertainties; c(x) is the output matrix. The extended state equations of Equation (11) are displayed as: The manifold of a terminal SMC can be chosen as [25]: where c i and α i (i = 1, 2, 3, 4) are constants. c i are selected to make sure p 4 + c 4 p 3 + c 3 p 2 + c 2 p + c 1 belongs to Hurwitz polynomial. α i can be selected as follows [32]: where α n+1 = 1, α n = α, α ∈ (1 − ε, 1), ε ∈ (0, 1).

Assumption 1.
The disturbance term in the system of Equation (11) satisfies the following conditions. ..
where h d and k d are constants.
Since the dominant disturbances are the ocean waves, which have smooth movement, this assumption is true under normal circumstances for the CPP system.
Hence, the control strategy can be designed as follows. . ..
where η is a positive constant. h T and T should meet the following condition. In Equation (16), the u eq denotes the equivalent control item, which is used to keep s(x(t))= 0, if s(x(0))= 0; u x denotes the nonlinear control item, which includes the sign function to keep the system states close to zero.
Proof. The Lyapunov function, in this case, is selected as: According to Equation (16) and Equation (17), the manifold of the SMC can be written as: By taking Equation (18) into Equation (24).
According to Equation (18), the explicit expressions for . u x (t) and u x (t) can be obtained. .
By setting . u x (0) = 0 and u x (0) = 0 as the initial state, the value of c 1 and c 2 can be obtained as: When the initial time is set to zero: According to Equation (22) and Equation (26), the following inequality can be obtained: Then we can conclude: . (31) which means that the manifold of Equation (13) can converge to the sliding surface in a finite-time. And then the system states reach zero along s = 0.

Online HPGA Based Sliding Mode Control for the CPP System
The procedure of the online HPGA based sliding mode control can be summarized as follows.
Step 1: Initialize the population size m and the number of the generation n; Step 2: Create the first generation for vector c within its search domain; Step 3: i = 0, i = i + 1; Step 4: Train the individual in the population, and evaluate their fitness with the fitness function shown as: where t s t u denote the steady time and rise time respectively; w 1 , w 2 , w 3 denote the weights; Step 5: Obtain the values of CH Best , CH Worst , Fitness(CH Best ) and Fitness(CH Worst ); Step 6: j = 0, j = j + 1; Step 7: Perform bacterial conjugation operation on each chromosome; Step 8: If j > m, the bacterial conjugation has been performed on all the chromosomes and go to Step 9, otherwise go back to Step 6; Step 9: If i > n, the optimization is terminated and go to Step 10, otherwise go back to Step 3; Step 10: According to the above procedure, the chromosome with the best fitness is obtained, which corresponds to the optimization parameters.

Validation of the Online HPGA Based Sliding Mode Control Strategy
In this section, the online HPGA-based sliding mode control is applied to the CPP system. Based on the system model described in Equation (8), a numerical simulation using Matlab is performed to validate the effectiveness of the proposed method. The method is also verified on the scale model of the CPP system, and the results indicate that the proposed method performed properly.

Numerical Simulation
In order to verify the effectiveness of the proposed method, PID controller is designed for contrast. The PID parameters are tuned according to Zigeler-Nichols oscillation method. The parameters in Equation (8) and the PID controller are shown in Table 2. Table 2. Parameters in the model and PID controller.

Parameter
Value Parameter Value In the process of online HPGA, the number of initial samples is selected as m = 30, and the number of generations is selected as n = 100. According to Equation (14), α i (i = 1, 2, . . . , 4) in Equation (13) Figure 6. The optimal process of performance index J.
The CPP system is a typical angle-following system. Hence, sine signal tracking performance is compared between the proposed method and the traditional PID controller. In Figure 7, a sine signal input of 0.01 m is given to the CPP system. The blade angle is characterized by the position of the grating ruler. The lagging angle and maximum error are listed in Table 3. As it is observed, both control strategies result in an acceptable performance of the CCP system in the tracking of the desired sine signal. of grating ruler(m) Figure 6. The optimal process of performance index J.
It is worth to note that the initialization of the model parameters is not critical, as the sliding mode control is insensitive to the inaccuracy of model parameters. As time goes on, the parameter estimator will rectify the parameters for the HPGA algorithm.
The CPP system is a typical angle-following system. Hence, sine signal tracking performance is compared between the proposed method and the traditional PID controller. In Figure 7, a sine signal input of 0.01 m is given to the CPP system. The blade angle is characterized by the position of the grating ruler. The lagging angle and maximum error are listed in Table 3. As it is observed, both control strategies result in an acceptable performance of the CCP system in the tracking of the desired sine signal.  During the voyage of a ship, the load fluctuation and the operation condition variations will result in model uncertainty. Hence, the sine signal tracking test based on the model with uncertainty is performed. In the simulation, a 20% load change was introduced into the system, and the uncertainties imposed in the model are listed as follows: According to Table 4 and Figure 8, the CPP system still has a good sine signal tracking performance by applying the online HPGA based sliding mode controller, whereas the PID controller no longer performs well with the model uncertainties.  During the voyage of a ship, the load fluctuation and the operation condition variations will result in model uncertainty. Hence, the sine signal tracking test based on the model with uncertainty is performed. In the simulation, a 20% load change was introduced into the system, and the uncertainties imposed in the model are listed as follows: According to Table 4 and Figure 8, the CPP system still has a good sine signal tracking performance by applying the online HPGA based sliding mode controller, whereas the PID controller no longer performs well with the model uncertainties.

Numerical Simulation Experiment on the Scale Model of the CPP System
The real system structure is shown in Figure 9. Experiments about the tracking of the sine signal and step signal were performed on the scale model. The monitor is designed based on Labview, and

Numerical Simulation Experiment on the Scale Model of the CPP System
The real system structure is shown in Figure 9. Experiments about the tracking of the sine signal and step signal were performed on the scale model. The monitor is designed based on Labview, and the controller hardware circuit is mainly based on STM 32. The scheme of the scale model system is shown in Figure 10.
The results of the tracking of the desired position are shown in Figures 11 and 12. In Figure 11, a step signal at 20 mm is given to the CPP system. It can be observed that the setting time is 0.4 s, and the overshoot is 5% without steady error. In Figure 12, a sine signal is given to the CPP system. The amplitude and frequency are 10 mm and 2 Hz, respectively. According to the result from Figure 12, the CPP system performed well in the tracking of desired sine signal and the lagging angle is 15.3 • . Thus, we can conclude that the effectiveness of online HPGA-based sliding mode control is validated on the actual CPP system.

Control Strategy
Lagging

Numerical Simulation Experiment on the Scale Model of the CPP System
The real system structure is shown in Figure 9. Experiments about the tracking of the sine signal and step signal were performed on the scale model. The monitor is designed based on Labview, and the controller hardware circuit is mainly based on STM 32. The scheme of the scale model system is shown in Figure 10.    a step signal at 20 mm is given to the CPP system. It can be observed that the setting time is 0.4 s, and the overshoot is 5% without steady error. In Figure 12, a sine signal is given to the CPP system. The amplitude and frequency are 10 mm and 2 Hz, respectively. According to the result from Figure 12, the CPP system performed well in the tracking of desired sine signal and the lagging angle is 15.3°. Thus, we can conclude that the effectiveness of online HPGA-based sliding mode control is validated on the actual CPP system.

Conclusions
Stable and fast control of the CPP system is of great importance for the safe operation of the ship. In this paper, a chattering-free sliding mode control strategy optimized with online HPGA is proposed. In the presence of model uncertainties, the CPP system obtained desired regulation and tracking performance with the proposed method. The HPGA needs fewer parameters and shorter time for optimization than the traditional GA, which makes it possible to be applied in online optimization. The chattering-free sliding mode control can overcome the chattering phenomenon which appeared in the traditional sliding mode control and generates a smooth control output, which is important for the actuator. According to the simulation results from the numerical simulation and the scale model experiments, the online HPGA-based sliding mode control can lead to satisfactory performance for the CPP system.   a step signal at 20 mm is given to the CPP system. It can be observed that the setting time is 0.4 s, and the overshoot is 5% without steady error. In Figure 12, a sine signal is given to the CPP system. The amplitude and frequency are 10 mm and 2 Hz, respectively. According to the result from Figure 12, the CPP system performed well in the tracking of desired sine signal and the lagging angle is 15.3°. Thus, we can conclude that the effectiveness of online HPGA-based sliding mode control is validated on the actual CPP system.

Conclusions
Stable and fast control of the CPP system is of great importance for the safe operation of the ship. In this paper, a chattering-free sliding mode control strategy optimized with online HPGA is proposed. In the presence of model uncertainties, the CPP system obtained desired regulation and tracking performance with the proposed method. The HPGA needs fewer parameters and shorter time for optimization than the traditional GA, which makes it possible to be applied in online optimization. The chattering-free sliding mode control can overcome the chattering phenomenon which appeared in the traditional sliding mode control and generates a smooth control output, which is important for the actuator. According to the simulation results from the numerical simulation and the scale model experiments, the online HPGA-based sliding mode control can lead to satisfactory performance for the CPP system.

Conclusions
Stable and fast control of the CPP system is of great importance for the safe operation of the ship. In this paper, a chattering-free sliding mode control strategy optimized with online HPGA is proposed. In the presence of model uncertainties, the CPP system obtained desired regulation and tracking performance with the proposed method. The HPGA needs fewer parameters and shorter time for optimization than the traditional GA, which makes it possible to be applied in online optimization. The chattering-free sliding mode control can overcome the chattering phenomenon which appeared in the traditional sliding mode control and generates a smooth control output, which is important for the actuator. According to the simulation results from the numerical simulation and the scale model experiments, the online HPGA-based sliding mode control can lead to satisfactory performance for the CPP system.