Abstract
In this paper, a general type-2 fuzzy logic controller (GT2FLC), which is optimized by the particle swarm optimization (PSO) algorithm, is applied to a power-line inspection (PLI) robot. The information fusion is used to design the GT2FLC to avoid the rule explosion. The proposed controller has the ability to deal with uncertainties when the PLI robot works on the insulated access cable. In order to compare the performance of the proposed controller with that of other controllers, the type-1 fuzzy logic controller (T1FLC) and the interval type-2 fuzzy logic controller (IT2FLC) are both optimized by the PSO to adjust the PLI robot. To show the ability of different controllers to deal with uncertainties, external disturbances and parameter perturbations are added to the PLI robot. According to simulations, the performance of the proposed controller is better than that of other controllers, and the proposed controller has better ability to deal with uncertainties.
Keywords
Introduction
For a long time, the inspection of power-line depends on the manpower. It is not only dangerous but also inefficient. To solve this problem, the PLI robot is presented to replace the manpower completely, which has the advantages of low energy consumption, light weight and is more efficient than the manpower. Because of its advantages, it has attracted a lot of attention from the academic circles [1–6]. Whereas, the PLI robot is a typical underactuated nonlinear system, which has two degrees of freedom and only a single actuation, so the control of the PLI robot is more difficult than the fully actuated systems [7–9]. Furthermore, the PLI robot can be disturbed by some uncertainties, such as the wind and vibration of the power line, so the designed controller needs to have the ability of dealing with uncertainties.
There are many methods which are presented to control the underactuated system [10–14]. The adaptive gain-scheduled backstepping scheme was proposed in [1], which is dependent on the model of the PLI robot linearized at a nominal equilibrium point. The GT2FLC is a model-free controller which does not depend on the precise mathematical model of the controlled object. In addition, it has the strong ability of dealing with uncertainties. In recent years, the study of GT2FLC has received a lot of attention in applications and theory [15–21]. The GT2FLC is proposed on the foundation of the T1FLC by Zadeh in 1975, which has potentials to outperform the T1FLC in a highly uncertain environment. However, The GT2FLC has high complexities because of its three-dimensional structure of the general type-2 fuzzy set (GT2FS). To avoid the huge amount of the computation of the GT2FLC, the interval type-2 fuzzy logic controller (IT2FLC) as a special type of GT2FLC has been presented in previous study. The IT2FLC sacrifices certain performance to get easier calculations [22]. The IT2FLC is applied in various fields because of its simple calculation [23–29]. With the intensive study of the GT2FLC, Liu introduces the sets operation and type-reduction based on the α - plane representation theorem, which simplify the computation of GT2FLC greatly [18]. Based on the α - plane representation theorem, which converts the computation of GT2FSs into the computation of IT2FSs. For a GT2FLC, multiple inputs and only a single output will cause the problem of rules explosion. To avoid the problem of rules explosion of T1FLCs, the information fusion was proposed in [30]. In this paper, the information fusion method is extended to the GT2FLC design of the PLI robot.
The three dimensional membership function (MF) of GT2FSs is the significant part in the GT2FLC. The variations of parameters of the MF will have a great effect on the performance of the GT2FLC. Generally, the choice of the MF depends on the experience, practice and data of experiment. In order to obtain better performance, the parameters of the MF need to be tuned with some optimization algorithms [31–36]. The PSO algorithm, as an evolutionary algorithm proposed by J. Kennedy and R.C. Eberhart in 1995, has been studied for decades by many scholars [37–41]. The PSO is used to seek the global optimal values of parameters in the multiple parameters system. Because of its advantages of high precision and fast convergence, it is used in the optimization of fuzzy logic system. However, the numerous studies are based on the T1FLC and IT2FLC. The MF of the GT2FLC has extra mathematical dimension. How to optimize the GT2FLC and applying it to the PLI robot is an urgent problem to be solved.
In this paper, the GT2FLC is optimized by the PSO and is applied to the PLI robot. The main contributions of this paper are as follow: 1) For the balance adjusting of the PLI robot with uncertainties, we design a GT2FLC. To avoid the rule explosion, the information fusion technology is applied in the process of designing the GT2FLC. 2) Using PSO algorithm, parameters of MFs in the GT2FLC are optimized, which makes the GT2FLC get better performance. 3) Comparing the GT2FLC with the IT2FLC and T1FLC, the superiority of the GT2FLC to adjust the balance of the uncertain PLI robot is verified.
The rest of the paper can be divided into the following sections. Preliminaries are introduced in section 2. Section 3 presents the optimization design of the GT2FLC for the uncertain PLI robot. Section 4 provides numerical simulations to verify the effectiveness of the proposed GT2FLC. The last section draws the conclusion.
Preliminaries
General type-2 fuzzy set
The MF of GT2FS

MF of GT2FS.
where x is the primary variable and u is the secondary variable;
The vertical-slice representation of a GT2FS
To simplify for calculation of GT2FS, Liu presents the α - plane representation theorem in [18]. The α - cut of the T1FS

MF of IT2FS.
In general, a GT2FLC contains five components, named as the fuzzifier, interference engine, rulebase, type-reducer and defuzzifier, shown in Fig. 3. The inputs and outputs of GT2FLC are the crisp number. The fuzzifier, as an important link to realize fuzzy control, is the process of converting the crisp input into the corresponding fuzzy language variable value by the MF. Generally, the LMF and UMF can be selected as gaussian, triangle and trapezoid commonly; the secondary MF can be selected as triangle or trapezoid.

Schematic diagram of GT2FLC.
The rulebase, as the heart of the GT2FLC, has the N if-then rules, which are described by:
In the end, the final output can be obtained by the defuzzifier. The expression of centroid defuzzification is as follows:
In this paper, the PSO is used to optimize the parameters of MFs in the GT2FLC. The PSO is a simplified model, which is inspired by the predation of the bird swarm. During the running time of the PSO algorithm, each particle can be seen as a bird and all the particles constitute a swarm. The optimal solution can be seen as the food what the bird swarm want to seek. Each particle has two information, named as weights and velocities. The weight and velocity of the individual particle can be changed based on the information of all the swarm. For the each iteration, the variables of weights and velocities for the ith particle can be computed by [38]:
The flow diagram of the PSO algorithm is shown in Fig. 4. Before the beginning of the PSO algorithm, all the parameters need to be selected. The updating of weights and velocities is depended on Eq.(18). The fitness values, as the quality measure, are obtained by the cost function. The updating of gbest and pbest i is depended on the fitness value. In generally, the stopping criterion is the number of iteration or the fitness value meeting the expectations.

The flow diagram of the PSO algorithm.
Mathematical model of the PLI robot
This section is referenced from [1]. The model of the PLI robot is shown in Fig. 5. When the PLI robot works on the insulated access cable, it should adjust the self-balance mechanism to maintain the tilt angle balance. The PLI robot as a typical underactuated system, has two freedom degrees, which are adjusted by rotating the counter-weight box.

The model of the PLI robot.
The motion equations for the motion balance adjusting of the PLI robot are obtained by the Euler-Lagrange [42]:
value of parameters for the PLI robot
In the end, substituting Eq. (21) and Eq. (24) into Eq. (19), the dynamic equations of motion balance adjusting for the PLI robot are obtained, which can be expressed by:
where u1 is an external disturbance; u2 is the torque acting on the active joint which produces the θ2. To study the balance adjustment progress of the PLI robot, the u1 is assumed to be zero. Define the state variable vector
The PLI robot is controlled by a GT2FLC which is optimized by the PSO algorithm. The overall control diagram for the PLI robot is shown in Fig. 6. The whole control flow can be divided into two parts. The first part is the closed-loop control for the PLI robot. The outputs of the PLI robot are four states, which can be selected as the feedback inputs to the GT2FLC. The increase of inputs of the GT2FLC will cause an increase in the rule number of GT2FLC exponentially, which make the design of the GT2FLC very complicated. In order to avoid the rule explosion of fuzzy system, the four states are fused to two states by the fusion function [30]:

Overall control diagram for the PLI robot.
Another part is about that the antecedent of GT2FLC is optimized by the PSO algorithm. In this paper, the fuzzy domain can be divided into seven GT2FSs, named as negative big (NB), negative medium (NM), negative small (NS), zero (ZO), positive small (PS), positive medium (PM), positive big (PB), which mean the degree of deviation from the desired position. For example, the NB means that the deviation is big in the opposite direction. The LMFs and UMFs are triangle and the secondary MFs are symmetrical trapezoid. the UMF and LMF of GT2FS can be determined by a vector xMF and the secondary MF is determined by an element γ. Let
The entire process of optimization is off-line calculation. The parameters c1, c2 and ω of the PSO are selected as 2.03, 2.03 and 0.9, respectively. The range of velocity v
i
is [-0.1, 0.1]. The number of iterations and the size of population are selected as 200 and 70, respectively. The cost function is expressed by:
Core code of the PSO
In this section, the GT2FLC for the uncertain PLI robot is designed, whose antecedents are optimized by the PSO algorithm. Fig. 7 and Fig. 8 show the initial LMF and UMF for the two inputs of GT2FLC, and γ is selected as 1. For convenience of calculation, we choose the product t-norm as the operation of the general type-2 fuzzy interference engine. The rulebase are zero-order Takagi-Sugeno fuzzy model as shown in Table II. With the optimization of the PSO algorithm, the optimal LMF and UMF are obtained, which are shown in Fig. 9 and Fig. 10. And γ is 0.55.

The UMF and LMF for

The UMF and LMF for

The UMF and LMF for

The UMF and LMF for
rulebase of the GT2FLC
First, we consider the performance of GT2FLC for the PLI robot without uncertainties. Assume that the initial state is θ1 = 0.3 rad and other states are equal to 0 rad. The desired balance position is selected as θd = 0 rad. The responses of the PLI robot controlled by GT2FLC with the optimization and without the optimization are shown in Fig. 11 and Fig. 12. In order to demonstrate the effectiveness of GT2FLC, the corresponding responses of T1FLC and IT2FLC are also depicted in Figs.11 and 12. All controllers can make the θ1 keep at the desired balanced position without the steady state error. The proposed GT2FLC and the IT2FLC with the PSO algorithm have a smaller overshoot than other controllers.

responses of θ1 and

responses of θ2 and
To further show the ability the GT2FLC with optimization in dealing with uncertainties, the external disturbance on the u2 and parameter perturbation of m2 are added to the PLI robot, meanwhile, the responses of the PLI robot with the GT2FLC are compared with those of the IT2FLC and T1FLC. Fig. 13 and Fig. 14 show the responses of three controllers when the external disturbance is d = 4 × sin(5 × t) N. After the external disturbance of sinusoidal signal is added, all responses of controllers swing on the 0 rad. However, the swing amplitude of the proposed GT2FLC is minimal.

responses of θ1 and

responses of θ2 and
Fig. 15 and Fig. 16 show the responses of the controllers when the external disturbance is d = 30 N where this disturbance is added from 5s to 7s. The external disturbance makes the responses shake significantly. The response of the proposed controller returning the balance is the fastest in three controllers.

responses of θ1 and

responses of θ2 and
The responses are shown in Fig. 17 and Fig. 18 when the perturbation occurs to the mass of the counter-weight box m2 after 5s, where the uncertainty in m2 is Δm2 = 9. The responses of the PLI robot with the T1FLC has obvious static error. The IT2FLC and GT2FLC have the ability of dealing with mass perturbation. To study the robustness of proposed controllers, the value of Δm2 is increased. When Δm2 = 10, the responses of the PLI robot with the IT2FLC has static error. When Δm2 = 15, the responses of the PLI robot with the GT2FLC has static error, which are shown in Fig. 19 and Fig. 20. Overall, the GT2FLC has more robustness than the T1FLC and IT2FLC.

responses of θ1 and

responses of θ2 and

responses of θ1 and

responses of θ2 and
To evaluate the performance of all controllers clearly, we use the following performance indexes: the integral of square error (ISE), the integral of the absolute value of the error (IAE) and the integral of the time multiplied by the absolute value of the error (ITAE), which can be expressed as:
Table III, IV and V list the ISE, IAE and ITAE for all controllers. It can be seen that the GT2FLC has better performance of than T1FLC and IT2FLC in dealing with uncertainties.
Evaluation index with external disturbance d = 4 × sin(5 × t) N
Evaluation index with external disturbance d = 30 N
Evaluation index with parameter perturbation Δm2 = 9
In this paper, a GT2FLC is designed for the balance adjusting of the PLI robot which is a typical underactuated nonlinear system. The information fusion is used in the design of the GT2FLC to solve the problem of ¡¯rule explosion¡¯. The antecedents of the proposed GT2FLC are optimized by the PSO algorithm. To show the ability of the proposed GT2FLC in dealing with uncertainties, the external disturbance and parameter perturbation are added to the PLI robot. The simulation results illustrate that the proposed GT2FLC has better performance than T1FLC and IT2FLC in dealing with uncertainties. The MF is the key factor to determine performances of the GT2FLC. The MF of the GT2FLC has three dimensions structure, which makes the GT2FLC has more potentials to obtain better results compared to the T1FLC and IT2FLC.
Footnotes
Acknowledgments
This work is supported by the National Key R&D Program of China (2018YFB1307401), the National Natural Science Foundation of China (61703291) and the Natural Science Foundation of Zhejiang Province (LQ19F030003)
