Development of a GA-Fuzzy-Immune PID Controller with Incomplete Derivation for Robot Dexterous Hand

In order to improve the performance of robot dexterous hand, a controller based on GA-fuzzy-immune PID was designed. The control system of a robot dexterous hand and mathematical model of an index finger were presented. Moreover, immune mechanism was applied to the controller design and an improved approach through integration of GA and fuzzy inference was proposed to realize parameters' optimization. Finally, a simulation example was provided and the designed controller was proved ideal.


Introduction
In the past few years, massive research is committed to study the anthropomorphic robot hands with dexterous manipulation abilities. As an important tool to improve the intelligence and manipulation levels of robots, multi-DOF and multisensory robot dexterous hand has become one of the most promising researches in robot field [1,2]. The robot dexterous hand could distinguish objects with different materials and shapes and snatch them successfully through the control system. Therefore, the robustness and control accuracy of a control system would play an important role in evaluating the performance of a robot dexterous hand [3].
Nowadays, robot dexterous hands have been used in many fields such as industry field, agriculture field, service field, and medical rehabilitation field. However, most of them have some common disadvantages such as slow response, poor flexibility, weak anti-interference ability, and poor controllability [4,5]. To the best of our knowledge, the problem of robust and intelligent control for a robot dexterous hand has almost not been dealt with. Based on our past researches on robot dexterous hands and control methods, this paper tries to tackle this problem.
Bearing the above observation in mind, a GA-fuzzyimmune PID (genetic algorithm-fuzzy-immune proportionintegration-differentiation) controller with incomplete derivation for robot dexterous hand is developed and the rest of this paper is organized as follows. In Section 2, some related works are outlined based on the literatures. The control system of a robot dexterous hand and mathematical model of an index finger are presented in Section 3. In Section 4, the GA-fuzzy-immune PID controller is designed and some improvements are proposed. Section 5 provides a simulation example to verify the feasibility and efficiency of proposed controller. Our conclusions and future works are summarized in Section 6. 2 The Scientific World Journal microelectronics technology, and advanced control theory, robot dexterous hand has entered a new period. Jafarov et al. [7] took both sliding and stability issues into account to present an augmented sliding surface design for robot hand. In [8], a new variable structure PID controller design approach was considered for the tracking stabilization of robot motion. Atia [9] designed a new nonlinear PID sliding mode controller for set-point control of robot hand, which ensured that the error tended to zero asymptotically if there was no disturbance applied to the robot dynamics. Chen et al. [10] presented two types of adaptive control program combining conventional computed-torque control and different fuzzy compensators for the robust tracking control of robotic manipulators with structured and unstructured uncertainties. In [11], a model-free recurrent fuzzy neural network (RFNN) control system for robot hand was proposed to approximate the ideal backstepping control law, which was further proved stable by the Lyapunov stability analysis. By combining feedback linearization with Lyapunov's second method and genetic algorithm, Hassanzadeh et al. [12] designed a robust controller with performance tuning for robot hand, and the stability and robust performance of proposed controller were verified through a four-bar linkage robot simulation. In [13], two fault-tolerant control strategies for robot hand were implemented based on output-feedback ∞ controller and experimental results illustrated that the improvements were feasible and efficient.

PID Control Methods.
As one of the earliest control strategies, PID control has been developed to deal with more complex control problems due to the advantages of simple description, high dependability, strong robustness, and so forth. Han [14] proposed a nonlinear PID controller with the capability of auto-disturbance-rejection control and combination of differentiator and extended state observer, and transition process overcame the disturbance effectively and improved the control performance. Besides, Su et al. [15] applied the method of Han proposed for controlling of manipulator successfully. Gundes and Ozguler [16] investigated the problem of closed-loop stabilization using PID controller for MIMO plants to show the existence of stabilizing PID controllers for MIMO plants. Alvarez-Ramirez et al. [17] addressed the position regulation problem of robot manipulators under control input constraints and experiment results showed that the saturated linear PID control was semiglobally asymptotically stable. Oliveira et al. [18] used Hermite-Biehler theorem to establish results on the design of PID controllers for a class of time delay systems. Ziegler and Nichols [19] proposed the most well-known Ziegler and Nichols tuning formula for PID parameter tuning. Chen and Huang [20] presented a method for regulating PID parameters on line automatically with neural net algorithm. Neurofuzzy controller and genetic-fuzzy controller for second-order control systems were presented to improve the performance of conventional PID and fuzzy controller [21][22][23]. Genetic-fuzzy controller was applied in the drum boiler simulated dynamics to improve the control speed and precision [24]. Moreover, further improvements for neurofuzzy controller and genetic-fuzzy controller were carried out by genetic-neurofuzzy arithmetic [25][26][27]. Kim et al. [28] achieved automatic tuning of PID parameters through integration of taking ∞ as performance index and particle swarm optimization algorithm. Juang and Lu [29] proposed power-system load-frequency control by fuzzy-PI controller and simulations on a multiarea interconnected power system with different kinds of perturbations were performed to verify the performance of the proposed approach. Lu et al. [30] proposed an evolutionary fuzzy lead-lag control approach for coordinated control of flexible AC transmission system devices in a multimachine power system. Tang et al. [31] put forward a new method integrated with genetic algorithm and fuzzy distance to tune parameters. Zheng et al. [32] applied linear matrix inequalities (LMIs) in PID controller and a numerical example validated the stability of the closed-loop systems, 2 or ∞ performance specifications, or maximum output control requirement, respectively.

Fuzzy Immunity Feedback Control
Methods. Back to 1986, Farmer et al. [33] suggested a dynamic model of an immune system based on immune network theory firstly and discussed the links between an immune system and other artificial intelligence methods. Xin et al. [34] designed a fuzzyimmune-PD-type control algorithm for trajectory tracking based on dynamics nonlinearities of robot manipulator, and experimental results showed that the control scheme had better tracking precision, stronger robustness, and superior control performance to conventional PD controller. Lei and Ren-hou [35] proposed a fuzzy immune algorithm to design a classification system, and the results of comparison with other classification schemes demonstrated the effectiveness of the proposed immune algorithm. Wang et al. [36] designed a fuzzy-immune-PID control system based on a mutative scale chaos optimization method to avoid a mass of tuning parameters work in the progress of design. An immune-fuzzy sliding mode controller (FISMC) was presented not only eliminating the synchronous reluctance motor system uncertainty but also overcoming the drawback of sign function and sat function [37]. Chang et al. [38] presented an effective procedure based on fuzzy logic and immune algorithm for the placement and sizing of shunt capacitor banks in a distorted power network. Kuo et al. [39] proposed an artificial immune system (AIS) based on fuzzy neural network (FNN) to avoid falling into the local optimum and improve the learning capability.

Discussion.
However, although many approaches for robot dexterous hand have been proposed in above literatures, they have some common disadvantages summarized as follows. Firstly, some proposed controllers for self-adaption robot dexterous hand need to calculate the inverse of Jacobian matrix, but it is difficult to obtain and would consume much time. Secondly, due to the frictional disturbances at joints and external disturbance of payload, it is difficult to design a faster response, less overshoot, and satisfactory robust stability control system. Thirdly, the performance of some methods is actually related to specific weights, which is difficult to obtain. Finally, because of inherent deficiencies of some methods, it is easy to produce premature convergence. In order to solve the above problems, a PID position controller based on immunity feedback control theory, fuzzy inference, and improved genetic algorithm is designed. A simulation example is provided and experiment results show that the proposed controller can achieve shorter adjust time, better rapidity, and higher steady-state precision than traditional PID position controller.

Robot Dexterous Hand Control System.
A dexterous hand (named after ABS-I) has been developed in our laboratory, which is made by the reinforced acrylonitrile butadiene styrene copolymers (ABS) in a 3D printer. It is composed of DC servo motors, cup-type planetary gear reducers, sensors, IE2-400 encoders, complicated programmable logic device (CPLD), and digital signal processor (DSP) unit. Figure 1 shows the control circuit board of robot dexterous hand and the index finger.
The hierarchical control strategy adopted by the dexterous hand control system takes perfect purpose in practice. Feedback data glove or personal computer as the upper microcomputer communicates with bottom-level block through serial communication interface (SCI). The top-level block is responsible for the signal processing of upper microcomputer and the communicating with bottom-level block. The bottom-level block consists of DSP-CPLD servo controller, SCI circuit, motor driver, and so forth, and it is responsible for the signal processing of torque sensors, position sensors, and magnetoelectric encoders. Moreover, it is responsible for controlling the pulses and directing signals to drive servo motors. The dexterous hand control system can be shown as in Figure 2.

Mathematical Model for the Index Finger.
Taking the single multijoint finger as an example, the equation of DC servo drive motor on armature loop [40] can be introduced as follows: where is the armature control voltage, is the armature resistance, is the instantaneous current in coil, is the armature inductance, is the back electromotive force produced by coil, = / , is the motor angle, and is the voltage feedback coefficient. Based on torque equations [41] of DC servo motor, the torque equation of single multijoint finger can be expressed as follows: where is drive torque of motor, is the motor moment coefficient, is the equivalent moment of inertia of motor, is the viscosity damp coefficient of motor, is the load torque, =̈+̇, is the equivalent moment of inertia of the finger, is the viscosity damp coefficient of the finger, and is the distal phalanx. Among them, the relationship between and is expressed as = , where is the general transmission ratio. In the synthesis, ignoring reducer clearance and transmission error of mechanism, the position transfer function of control voltage and distal phalanx angle can be expressed as follows: where = ( + )/ , = [ ( + ) + ( + )]/ , and = ( + )/ + . In the single multijoint finger system, the Faulhaber 1319006SR DC servo motor has some important parameters; that is, = 2.22 × 10 −4 mNm/rpm, = 4.19 mNm/A, = 8.26 Ω, = 130 H, and = 0.40 gcm 2 . The speed control system consists of a gearbox and one-grade bevel gear, and the gearbox ratio is 415 : 1 and the bevel gears ratio is 2 : 1. Moreover, by using coupling four-bar linkage mechanism, the three phalanxes' transmission ratio is kept exactly 1 : 1 : 1 over the whole movement range. The hand material is ABS; is set to 1 gcm 2 and is set to where Δ ( ) = ( )− ( −1), is the proportional gain, is the integral time constant, is the derivative time constant, = / , = / , ( ) is the systematic deviation between reference input and system output, is the sampling period, and ( ) is the control signal.
In general, differential signal can be used to improve the system dynamic characteristics, which is likely to cause the problem of high frequency interference to the control system. Using low pass filter in control algorithm can bring significant improvements in system performance and its transfer function is where is a filter coefficient. The transfer function of PID controller with incomplete derivation can be expressed as follows: In the discrete-time domain, differential equation of PID controller with incomplete derivation can be written as follows: Then, differentiation element can be expressed as follows: Thus, we can obtain the differential equation of differentiation element as follows: As a kind of control system, biological immune system has very strong robustness and self-adapted ability even when encountering strong disturbances and uncertain conditions. For invasion by a foreign antigen, it can produce corresponding antibodies to resist the antigen. A series of biological reactions could be carried out after combining antigens with antibodies and it eliminates antigen under the function of phagocyte or special enzymes. The immune system consists of lymphocyte and antibody. The lymphocyte consists of B cell produced from marrow and T cell produced from thymus. T cell includes assistant T cell and restrained T cell . When cell obtains signal from the antigen, it would transmit the information to and , and then B cell produces corresponding antibodies to resist the antigen with the stimulation by and . The immunity feedback control mechanism is shown in Figure 3.
According to immunity feedback control mechanism, all of the received simulations of B cell can be obtained: where ( ) is the th generation output of cell which receives antigen presenting cell activation, ( ) is the th generation restrain action on B cell by cell, ( ) is the th generation antigen amount, 1 is enhancing factor of cell, 2 is inhibitory factor of cell, and = 2 / 1 . ( * ) is a nonlinear function, which describes the immunity result that B-cell antibody and antigen act on each other and relate with the amount of B cell.
In this paper, we try to apply body's immune mechanism to the ABS-I position controller to overcome the weakness of traditional PID controller. For a PID controller, we assume that position error ( ) on the th sampling period represents ( ); the position controller output ( ) on the th sampling period represents ( ). Therefore, Δ ( ) = Δ ( ).
In the synthesis, the immune PID controller with incomplete derivation can be obtained: where ( = 1, 2, 3) is used to improve the response time and ( = 1, 2, 3) can enhance the stability of control system. Therefore, the method for setting the parameters reasonably plays an important role in the improved PID controller with higher precision, faster response, and better robustness.

Parameters Optimization through Fuzzy Theory and
Genetic Algorithm. The performance of improved PID controller largely depends on ( = 1, 2, 3), ( = 1, 2, 3), and ( * ). As can be seen from the above formulas, namely, (15), (16), (17), and (18), because of the nonlinear characteristics of function ( * ), a fuzzy inference algorithm is used to optimize the function ( * ). Because of the difficulty to obtain ( = 1, 2, 3) and ( = 1, 2, 3) based on analysis method, an improved genetic algorithm is proposed to solve this problem. The framework of GA-fuzzy-immune PID position controller with incomplete derivation can be built up as shown in Figure 4.
According to the immune feedback mechanism of biological systems [42], four stages in the autoimmune reaction can be summarized as follows.
In the initial stage, the antigen amount is higher and the antibody amount is expected to increase quickly, so the cell should be suppressed to produce. After a period of immunization, the restrained action on cell would decrease; in other words, the antibody should not increase continually. When most of antigens have been eliminated, should increase quickly to restrain B cell and the production of antibody. Finally, when all of the antigens have been In the controller, two inputs of ( ) and Δ ( ) fuzzy subsets are all selected as {NB, NS, PS, PB}, and the output of ( * ) fuzzy subset is all selected as {NB, NM, NS, ZO, PS, PM, PB}, where NB stands for negative big, NM stands for negative middle, NS stands for negative small, ZO stands for zero, PS stands for positive small, PM stands for positive middle, and PB stands for positive big. According to the above immunologic processes, 16 fuzzy rules are proposed to compute the nonlinear function ( * ), as shown in Table 1. The fuzzy discourse domain of is defined as {−10, −3, +3, +10}, the fuzzy discourse domain of Δ is defined as {−1, −0.3, +0.3, +1}, and the fuzzy discourse domain of ( * ) is defined as {−2, −1.2, −0.6, 0, +0.6, +1.2, +2}.
As a frequently used membership function, Gaussian membership function has the feature of good smoothness and can express the concept of fuzzy language more exactly; thus, it is applied for the proposed controller. Figure 5 shows the membership functions for , Figure 6 shows the membership functions for Δ , and Figure 7 shows the membership functions for ( * ).
The immune PID parameters ( = 1, 2, 3) and ( = 1, 2, 3) are tuned and optimized by an improved genetic algorithm. Traditional genetic algorithm in solving the problem, especially the complex problems, is easily trapped in the local optimum and appeared premature convergence. To settle this question, some improvements of traditional genetic algorithm are presented. The overall process can be described as follows.
Step 1 (coding). As a general coding method for GA, binary coding is used widely due to the simple processes of coding and decoding and easy operation of crossover and mutation. However, for a multivariable optimization problem, the string of binary gene is too long to result in lower search efficiency. In order to solve this problem, float-point genes are used in the optimization model. With this strategy, the number of variables is not limited; coding and decoding are not needed. Furthermore, the precision and efficiency can be increased and the calculation speed is high. A mixed coding program is presented in the improved GA. During the initial stage, binary coding is adopted to quickly search for the area with    Step 2 (generating initial population). According to experience, six empirical coefficients ( 1 , 2 , 3 , 1 , 2 and 3 ) are determined and initial population can be generated around the coefficients. By this generating method, the searching space is reduced and the operating rate is increased.
Step 3 (selecting fitness function). In an evolution search process, an appropriate fitness function plays an important role in parameter optimization. In order to obtain satisfactory The Scientific World Journal dynamic characteristics of the transition process, the integral of time multiplied absolute value of error (ITAE) is also provided as a comprehensive performance index, and the square of control input is introduced to prevent the control energy from growing too big. The comprehensive performance index function [43] can be calculated as follows: where 1 , 2 , 3 , and 4 are weights and 4 ≫ 1 , ( ) is the system error, ( ) is the output of controller, and is the rising time. To avoid overshoot, the introduction of punitive function is essential in the function. Then, the fitness function can be defined as follows: where is a constant and can be set equal to 1 in this paper, is a small positive number to prevent from becoming equal to zero, and = 10 −10 .
Step 4 (selection). Selection is a very important step in the criteria of "survival of the fittest" that means selecting the superior individual and eliminating the inferior one from a population. For genetic algorithm, an individual is selected as a parent according to its fitness. In rank-based selection algorithm, all individuals of every generation are ranked in order of increasing fitness value. The survival probability of the th individual is prob( ) = (1 − ) −1 , where ∈ (0, 1) is evolutionary pressure.
Step 5 (crossover and mutation). Because of its strong global search capability, crossover operator of GA can be regarded as the main operator, and due to its local search capability, mutation operator can be regarded as an auxiliary operator. Self-adaptive crossover and mutation operators are proposed in this paper; in other words, crossover probabilities and mutation probabilities are automatically adjusted with the addition of evolutionary generations. In the initial stage, a larger and a smaller can effectively accelerate convergence velocity of iteration; however, in the later stage, a smaller and a larger would avoid local optimal solution. The formulas of and are given as follows: where is the generation number of heredity, = 1 ∼ , is the maximum generation number, (1) is the crossover probability of first generation, and (1) is the mutation probability of first generation.
According to these operators, the and of best individuals are not equal to zero, where ∈ (0.5, (1)) and ∈ ( (1), 0.1), so the performance of excellent individual would not be in a circle due to the and being too small or equal to zero. To protect excellent individuals of each generation, the elitist strategy was applied in GA to improve the convergence and optimization results; thus, the best individual would be copied directly into next generation.

A Simulation Example
In order to verify the performance of proposed GA-fuzzyimmune PID controller, a simulation example is provided in this section and the parameters are illustrated as follows. 1 = 0.04, 2 = 0.001, 3 = 2, and 4 = 500. The population size is set to 50, is set to 100, (1) is set to 0.9, (1) is set to 0.01, is set to 9, and sampling time is set to 1 ms.
The input of robot dexterous hand system is a unit step signal and the simulation time is 1 s. The unit step responses of this system are shown in Figure 8. The first curve is response obtained with fuzzy inference, the second curve is response obtained with immune algorithm, the third curve is response obtained with fuzzy-immune inference (F-I), the fourth curve is response obtained with real-coded GA, and the fifth curve is response obtained through integration of improved genetic algorithm and fuzzy-immune inference (GA-F-I).
Compared with other four methods, the overshoot based on GA-F-I PID controller with incomplete derivation is decreased from 36.30% to 0. The settling time is reduced from 0.592 s to 0.362 s. The rising time is reduced from 0.393 s to 0.226 s. Although the rising time is not the best, the nonovershoot and shortest settling time can be achieved by the proposed PID controller.

Conclusions and Future Works
In this paper, a GA-fuzzy-immune PID controller was designed to improve the performance of robot dexterous hand. The control system of a robot dexterous hand and mathematical model of an index finger were presented. In order to improve the characteristics of proposed controller, immune mechanism, genetic algorithm, and fuzzy inference were applied. Finally, a simulation experiment was carried out and the results showed that the designed controller was ideal.
In future studies, the authors plan to investigate multifinger coordination control system. Furthermore, more intelligent control algorithms for multifinger coordination control system are worth further study for the authors.