Abstract
Two-link robotic manipulator system with payload at tip is a highly complex and nonlinear system and faces a challenging task to control. Thus, a nonlinear proportional–integral–derivative (PID) controller is implemented in this paper using fuzzy logic where the parameters of the controller are optimized with a new metaheuristic algorithm based on the foraging behavior of the swarm of bees. The performance indices function to minimize the error between the reference signal, and the system’s output is taken as the integral of absolute error (IAE). The implemented controller is compared with the conventional PID controller. From the simulation studies, it is found that the implemented fuzzy PID controller works more efficiently than the PID controller in terms of the trajectory tracking, in the presence of parametric uncertainties as well as disturbance rejection and the noise suppression.
Access provided by Autonomous University of Puebla. Download conference paper PDF
Similar content being viewed by others
Keywords
1 Introduction
Robotic manipulators are mechanized devices to mimic human behavior in order to perform a continuous operation to fulfill various tasks like picking and placing of an object in industries, welding, assembling in automobile industries, handling of radioactive and bio-hazardous materials in nuclear plants, assistance in surgery in medical fields, etc. [1]. Since the dynamics of robotic manipulators is highly complex and nonlinear as well as it is associated with unavoidable structured and unstructured uncertainties like parameter variations, external disturbances, friction, noise, etc., it is a challenging task for researchers to effectively control the end effector of a manipulator to follow a desired trajectory [2]. Since the invention of proportional–integral–derivative (PID) controller in 1910 [3], the PID controller has been extensively used in industries due to its simple structure and effectively controls many real-world problems. In literature, different implementations of PID controller to control robotic manipulators have been cited by the researchers [4, 5]. In recent years, researchers showed that the nonlinearities must be included and modeled to study the system satisfactorily as they are inevitable and intrinsic for the system [6]. Now, researchers have been attracted toward the intelligent process control due to the progress in the area of fuzzy logic control (FLC), neural network (NN) and the genetic algorithm (GA) [7]. In 1965, Zadeh gave the concept of fuzzy logic based on fuzzy sets [8]. Not the requirement of exact mathematical modeling, incorporation of human expertise into the design and dealing with the uncertainties are the features, which make the FLC as an efficient controller to control the highly complex, nonlinear systems under parameter variations as well as external disturbances. Mamdani [9] reported a successful application of FLC in a laboratory scale process. Since then, different structures of the FLC have been developed by the researchers for the linear as well as nonlinear are presented in the literature. An improved fuzzy PI controller was introduced in [10], and it was proved that the tracking performance of the controller is much good as the conventional PI controller. A new hybrid fuzzy PI + conventional D was presented in [11] which was proved to be much robust as compared to a PID controller.
In addition to the implementation of the controller, it is very essential to properly determine the parameters of the FLC to make it more robust, and hence, a vast research has been done in the optimization of the parameters of a controller. As computational intelligence keeps on improving, the intelligent optimization technique has also been used for estimate the parameters of FLC controller. In this paper, a comparative study of the PID controller with fuzzy PID controller is done which is optimized with a highly efficient metaheuristic ant bee colony optimization technique to justify the superiority of fuzzy PID controller over PID controller. The implemented controllers are applied to highly complex and nonlinear two-link manipulator system with payload. The superiority of the fuzzy PID controller is also discussed in the case of parameter variations, disturbance rejection and noise suppression. It was found that the fuzzy PID controller overruled the PID controller in all the cases. This paper has six sections as follows: In the first section, introduction of the paper is given, second section shows the mathematical modeling of the system, third section gives the details of the PID controller, and fourth section explains the fuzzy logic controller design and optimization technique. Fifth section represents the simulation results, and sixth part gives conclusion of the paper.
2 Dynamic Model of the System
In this paper, the two-link robotic manipulator system with payload has been used as shown in Fig. 1. The mathematical model of the system is described in Eq. (1) given below [12].
where \( \theta_{1} \) and \( \theta_{2} \) are the position of the links, \( \tau_{1} \) and \( \tau_{2} \) are the generated torques, and \( f_{r1} \) and \( f_{r2} \) represent dynamic friction. The parameters values are shown below in Table 1 [12].
3 PID Controller
Reference [13] gives the conventional PID controller in time domain as in Eq. (2) given below:
where u(t) is the output of the controller, and e(t) is the instantaneous error signal obtained as the difference between the reference signal and the plant actual output. The three terms \( k_{\text{p}} \), \( k_{\text{I}} \) and \( k_{\text{D}} \) are the proportional gain, integral gain and differential gain parameters of the controller.
4 Design of Fuzzy PID Controller for the Two-Link Manipulator System
In this section, implementation of fuzzy PID (FPID) controller has been described which is used to generate desired torque to effectively deflect the links of the system to move the end effector in a prescribed trajectory. Figure 2 shows the block diagram of the control system for the two-link manipulator system with payload using FPID. It depicts that the fuzzy PID is the combination of fuzzy PI and fuzzy PD controller. The system requires two inputs, i.e., error and rate of change of error. At the output of fuzzy logic controller (FLC), the output is integrated and added again with the output of the FLC to form fuzzy PID controller. KP1, KD1, KPI1 and KPD1 are the parameters of the controller for link 1, and KP2, KD2, KPI2 and KPD2 are the parameters of the controller for link 2 as shown in Fig. 2.
4.1 Design of Fuzzy Logic Controller
Fuzzy logic controller (FLC) performs in three steps. First step is the fuzzification in which the crisp input data is converted into the fuzzy data with the help of membership functions defined in the range (−1, 1). In this work, seven membership functions with triangular shape as shown in Fig. 3 have been used. In the second step, a two-dimensional rule base is formed based on human knowledge using if–then, which is the principal part of a FLC. Table 2 shows the rules formed for the membership functions for the error and the derivative of the error. In addition to this, Mamdani inference mechanism is used which applies min–max composition for implication and aggregation using logical AND-OR operator. At last, in the third step, the fuzzified data is converted into again the crisp data by using the center of gravity method [14].
4.2 Optimization
In 2005, D. Karaboga having inspired by the foraging behavior of the honeybees introduced ant bee colony (ABC) algorithm, which is a swarm intelligence-based optimization algorithm [15]. In this work, the fitness function (fit) has been chosen as the sum of the integral of absolute error (IAE) of the links chosen given by the formula as shown in Eq. (3).
where \( e_{1} \left( t \right) \) is the instantaneous error signal between the reference signal \( r_{1} \left( t \right) \) and the plant’s output \( \theta_{1} \left( t \right) \), and \( e_{2} \left( t \right) \) is the instantaneous error signal between the reference signal \( r_{2} \left( t \right) \) and the plant’s output \( \theta_{2} \left( {t } \right) \) as given in Eqs. (4) and (5).
5 Simulation Results
The parameters of the controller obtained by the ABC algorithm minimize the fitness function (fit). The desired trajectory to be followed is taken as given in Eqs. (6) and (7):
where r1(t) is the desired position for the link 1, and r2(t) is the desired position for the link 2. The settings of the parameters of the ABC for optimization are as follows: no. of population—40, food number—20, limit—100, max. cycle—100, lower bound—1 and upper bound—500. Figure 4 shows the convergence curve for the optimization technique which minimizes the value of the fitness function to follow the desired trajectory by both controllers. It is clear from the figure that the FPID controller acquires less value of the fitness function as compared to the PID controller and hence follows the desired path more effectively and efficiently than the PID. After optimization for trajectory tracking, the obtained parameters for the PID as well as fuzzy PID for both links are given in Table 3, and the overall fitness value of PID is found to be 3.38e−2 while of FPID is 13e−4. It depicts that the FPID controller is more efficient than the PID controller for trajectory tracking. Figure 5 shows the trajectory-tracking curve of the output of the link 1 and link 2.
5.1 Testing Against the Parameters Uncertainties
The PID controller and the fuzzy PID controllers are simulated by varying the parameter values of the system like +5% change in the masses of the links individually, +5% variation in the lengths of the links as well as +5% variation in the payload mass. The obtained IAE values for the links are listed in Table 4. The IAE values show that the FPID controller acquires less value of error as compared to PID even the parameters of the system are varying while the parameters of the controller are kept constant.
5.2 Testing for the Disturbance Rejection and Noise Suppression
For robustness testing of the controller, a disturbance signal as given in Eq. (8) is applied to the controller outputs of both links simultaneously for 2 s, a noise signal as shown in Eq. (9) is accumulated at the output, and the results are shown in Table 5.
6 Conclusion
Aim of the work done in this paper is to study and verify the efficacy and robustness of a nonlinear PID controller using fuzzy logic as well as an appropriate optimization technique to control a highly complex and nonlinear two-link robotic manipulator system. In this paper, it is shown that the FPID is more accurate as the IAE values of the links of the manipulator controlled with FPID are having very much less value as compared to the PID controller. In addition to this, the ant bee colony optimization technique used in this paper proved to give optimum parameters to get better results. Further, in the study of the controller in the presence of parametric uncertainties, disturbance and noise, it is found that the FPID overruled the PID controller by giving lower IAE values. The feasibility of the implemented controller in this work could be checked for more complex nonlinear systems like three-link manipulator systems, etc., in the future.
References
Kumar J, Kumar V, Rana KPS (2019) Fractional-order self-tuned fuzzy PID controller for three-link robotic manipulator system. Neural Comput Appl
Refoufi S, Benmahammed K (2018) Control of a manipulator robot by neuro-fuzzy subsets form approach control optimized by the genetic algorithms. ISA Trans
Ang K, Chong G, Li Y (2005) PID control system analysis design and technology. IEEE Trans Control Syst Technol 13(4):559–576
Ayala HVH, Coelho LDS (2012) Tuning of PID controller based on a multi objective genetic algorithm applied to a robotic manipulator. Expert Syst Appl 39:8968–8974
Li X, Yu W (2011) A systematic tuning method of PID controller for robot manipulators. In: 9th IEEE international conference on control and automation, pp 274–279
Goyal V, Mishra P, Deolia VK (2019) A robust fractional order parallel control structure for flow control using a pneumatic control valve with nonlinear and uncertain dynamics. Arab J Sci Eng 44(3):2597–2611
Goyal V, Mishra P, Shukla A, Deolia VK (2019) A fractional order parallel control structure tuned with meta-heuristic optimization algorithms for enhanced robustness. J Electr Eng 70(1):16–24
Zadeh LA (1973) Outline of a new approach to the analysis of complex systems and decision processes. IEEE Trans Syst Man Cybern 3(1):28–44
Mamdani EH (1977) Applications of fuzzy logic to approximate reasoning using linguistic synthesis. IEEE Trans Comput 26(12):1182–1191
Tang W, Chen G (1994) A robust fuzzy PI controller for a flexible joint robot arm with uncertainties. In: Proceedings FUZZ-IEEE, Orlando, FL, pp 1554–1559
Kumar J, Kumar V, Rana KPS (2018) A fractional order fuzzy PD + I controller for three-link electrically driven rigid robotic manipulator system. J Intell Fuzzy Syst 35(5):5301–5315
Sharma R, Bhasin S, Gaur P, Joshi D (2019) A switching based collaborative fractional order fuzzy logic controllers for robotic manipulators. Appl Math Modell
Agrawal A, Goyal V, Mishra P (2019) Adaptive control of a nonlinear surge tank-level system using neural network-based PID controller. In: Malik H, Srivastava S, Sood Y, Ahmad A (eds) Applications of artificial intelligence techniques in engineering. Advances in intelligent systems and computing, vol 698. Springer, Singapore
Behera L, Kar I (2010) Intelligent systems and control principles and applications. Oxford University Press Inc., Oxford
Gao W, Liu S (2011) A modified artificial bee colony algorithm. Comput Opera Res
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2020 Springer Nature Singapore Pte Ltd.
About this paper
Cite this paper
Agrawal, A., Goyal, V., Mishra, P. (2020). Study of Performance of Ant Bee Colony Optimized Fuzzy PID Controller to Control Two-Link Robotic Manipulator with Payload. In: Goel, N., Hasan, S., Kalaichelvi, V. (eds) Modelling, Simulation and Intelligent Computing. MoSICom 2020. Lecture Notes in Electrical Engineering, vol 659. Springer, Singapore. https://doi.org/10.1007/978-981-15-4775-1_56
Download citation
DOI: https://doi.org/10.1007/978-981-15-4775-1_56
Published:
Publisher Name: Springer, Singapore
Print ISBN: 978-981-15-4774-4
Online ISBN: 978-981-15-4775-1
eBook Packages: Computer ScienceComputer Science (R0)