Next Article in Journal
An Artificial Sweating System for Sweat Sensor Testing Applications
Next Article in Special Issue
Visual Closed-Loop Dynamic Model Identification of Parallel Robots Based on Optical CMM Sensor
Previous Article in Journal
Enforcing Optimal ACL Policies Using K-Partite Graph in Hybrid SDN
Previous Article in Special Issue
Optimal Image-Based Guidance of Mobile Manipulators using Direct Visual Servoing
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Picking Robot Visual Servo Control Based on Modified Fuzzy Neural Network Sliding Mode Algorithms

1
School of Electronics and Information, Jiangsu University of Science and Technology, Zhenjiang 212003, China
2
Microrobotics Lab, The University of Sheffield, Sheffield S13JD, UK
3
School of Electrical and Information Engineering, Jiangsu University, Zhenjiang 212003, China
*
Author to whom correspondence should be addressed.
Electronics 2019, 8(6), 605; https://doi.org/10.3390/electronics8060605
Submission received: 23 April 2019 / Revised: 23 May 2019 / Accepted: 24 May 2019 / Published: 29 May 2019
(This article belongs to the Special Issue Visual Servoing in Robotics)

Abstract

:
Through an analysis of the kinematics and dynamics relations between the target positioning of manipulator joint angles of an apple-picking robot, the sliding-mode control (SMC) method is introduced into robot servo control according to the characteristics of servo control. However, the biggest problem of the sliding-mode variable structure control is chattering, and the speed, inertia, acceleration, switching surface, and other factors are also considered when approaching the sliding die surface. Meanwhile, neural network has the characteristics of approaching non-linear function and not depending on the mechanism model of the system. Therefore, the fuzzy neural network control algorithm can effectively solve the chattering problem caused by the variable structure of the sliding mode and improve the dynamic and static performances of the control system. The comparison experiment is carried out through the application of the PID algorithm, the sliding mode control algorithm, and the improved fuzzy neural network sliding mode control algorithm on the picking robot system in the laboratory environment. The result verified that the intelligent algorithm can reduce the complexity of parameter adjustments and improve the control accuracy to a certain extent.

1. Introduction

With the development of science and technology, robot technology has acquired unprecedented achievements. In agriculture, the development of fruit-picking robots has become a hotpot project due to the rising labor costs and the huge output of apples and citrus. The apple-picking robot is an integrated system that integrates environmental perception, dynamic decision-making, and behavior control; motion control is therein the most basic and important link. At present, there are two main kinds of visual servo control for picking robots: one is image-based visual servo control, and the other is a position-based visual servo control system [1]. The picking robot manipulator is a typical non-linear system, because it is composed of multiple joints and has time-varying uncertainty during the picking process. This indicates that traditional control methods would not meet the control requirements. Image feedback-based visual servo control is a real-time feedback control for the manipulator according to the visual acquisition image, and it also shows strong self-adaptability to the change of external environment and system parameters so that it reduces the complexity of manipulator in the control process.
At present, most visual servo control systems based on image feedback adopt traditional control schemes such as adaptive control [2], PID control [3], and sliding model control [4], etc., or intelligent control algorithms [5] such as neural network and fuzzy theory [6], etc. There are some defects in adopting a single control method. Adaptive control is a strategy to deal with structural uncertainties, which provides good performance to a certain extent [7]. PID control has better control performance for the position and joint angle parameters of the manipulator end-effector [8]. Sliding-mode control (SMC) has excellent robustness and good anti-jamming ability to the uncertainties of the system, especially in the control of non-linear systems [9]. Neural network (NN) has the ability to learn and approximate non-linear functions [10]. It is often used to compensate unstructured uncertainties in robot controller modeling. Fuzzy control [11] imitates human reasoning and decision-making processes on the basis of not depending on the precise mathematical model of the controlled object. Fuzzy logic is adopted in robot controllers to achieve good control performance under uncertain conditions. In the reference [12], a robust adaptive control method based on the dynamic structure of the fuzzy wavelet neural network is proposed, which is used to track the trajectory of the robot with uncertainties and disturbances by the adaptive sliding-mode control. Mehta and Ton et al. introduced a continuous terminal sliding mode visual servo controller to adjust the camera to the desired position, but this has many requirements for the camera, and requires the correction of the camera position [13]. In the field of robotic citrus picking, there is a non-linear robust image visual servo controller that can adjust the end effector to the fruit position under the condition of unknown fruit movement, but the speed of the picking process is slow, and is not conducive to agricultural application [14]. The fuzzy neural network (FNN) learning algorithm [15,16] is a superior system identification method that utilizes non-linear control. There is no need to get the prior knowledge about the uncertainty and a sufficient amount of observed data. Efe and Devesh et al. used the novel particle swarm optimization (PSO)–SMC hybrid learning algorithm to train the FNN effectively, but instead of using the visual servo control of picking robots, they realized the flattening and rotation control of the four-rotor configuration for agricultural purposes [17].
A great deal of research has been devoted to these intelligent algorithm scholars, but there are few applications in the field of agricultural picking robots. In this paper, a joint visual servo control algorithm based on an improved sliding mode and kinematics and dynamics equation is presented that appears to have good robustness in a non-linear system. However, sliding-mode control always requires detailed system information and corresponding uncertainty bounds to ensure stability [18]. Even though the stability requirements are met, there will still be problems such as jitter [19]. Therefore, fuzzy and adaptive neural network control algorithms are introduced and combined with sliding-mode control to suppress the sliding-mode jitter problem. However, the traditional neural network model is complex and computationally intensive, with a high probability of over-fitting. To prevent over-fitting, we increased the dropout rate for the dropout layer [20].
According to the characteristics of apple-picking robot motion control, the image-based robot visual servo control method is combined with the improved fuzzy neural network sliding mode control algorithm to make use of the non-linear and non-system-dependent mechanism model of the fuzzy neural network. Combined with sliding mode variable structure control, the sliding mode chattering is eliminated, and the stability of the control system is improved. In this paper, the algorithm is applied for the first time in the field of agricultural fruit-picking robots, which improves the extraction speed of apple-picking robots.
The research aim of this paper is mainly to verify the visual servo control of the sliding-mode control algorithm based on the improved fuzzy neural network through the apple-picking robot. The article is divided into three parts, Firstly, we establish the kinematics and dynamics equations of the picking robot. Secondly, visual positioning is introduced to calculate the position of the target point, and an image-based visual control algorithm is used. Finally, the sliding-mode control algorithm and the improved fuzzy neural network control algorithm are combined to carry out simulation analysis, and the algorithm is verified on the picking robot. It is concluded that the improved fuzzy neural network sliding mode control algorithm can improve the efficiency of the robot arm servo control and has higher stability.

2. Picking Robot Structure and Model Establishment

2.1. Manipulator Structure Design

Since the apple trees are relatively high and the fruits are disperse, the higher degree of freedom of the picking robot manipulator brings not only the kinematics algorithm complexity, but also the waste of joint freedom degree, which is disadvantageous to the practicality of agriculture. This reduces the requirements of the manipulator and minimizes the usage of freedom degrees. So, this paper introduces the self-designed five degrees of freedom (DOF) manipulator, which is shown in Figure 1. Figure 2 is a schematic view of the picking robot manipulator. The manipulator gripping device adopts a curved design in order to reduce the damage of the apple during the process of picking up the apple. Figure 3 shows a wheeled picking robot.
Fruit-picking robots are mainly composed of two parts. The first part is a chassis platform, and the second part is a manipulator. Therein, the five DOF manipulator is a PRRRP joint structure. The first degree of freedom is the lifting platform. Its main function is to lift the whole manipulator. The second degree of freedom is the waist rotation joint of the manipulator. The third degree of freedom is the swing axis of the arm, the fourth degree of freedom is the swing axis of the arm, and the fifth degree of freedom is the rotating axis of the manipulator with the function of adjusting the grasping posture according to the picking requirement.

2.2. Kinematics Equation of Manipulator

The manipulator is a complex system, since it includes various disciplines such as kinematics and dynamics. Kinematics analysis is used to model according to the relationship between the spatial posture and the angle of each joint of the manipulator. The designed structural kinematics parameters of the manipulator are shown in Table 1. In the table, α i is the torsion angle, a i is the length of the connecting rod, θ i is the joint angle, d i is the offset of the connecting rod, σ = 0 is the rotating joint, σ = 1 is the direct acting joint, and d i is the other constant. The use of the D–H rule to determine the coordinate position of the connecting rod is shown in Figure 4.
The homogeneous coordinate transformation matrix is used in the above-mentioned establishment of connecting the rod D–H coordinate system and kinematics mode.
T 1 0 = [ 0 1 0 0 1 0 0 0 0 0 1 d 1 0 0 0 1 ] T 2 1 = [ c o s θ 2 0 s i n θ 2 0.133   c o s θ 2 s i n θ 2 0 c o s θ 2 0.133   s i n θ 2 0 1 0 0 0 0 0 1 ] T 3 2 = [ c o s θ 3 s i n θ 3 0 c o s θ 3 1 c o s θ 3 0 s i n θ 3 0 0 1 0 0 0 0 1 ] T 4 3 = [ c o s θ 4 0 s i n θ 4 0 s i n θ 4 0 c o s θ 4 0 0 1 0 0 0 0 0 1 ] T 5 4 = [ 1 0 0 0 0 1 0 0 0 0 1 d 5 0 0 0 1 ]
Therein, T i i 1 presents the homogeneous matrix of translation and rotation from the i − 1 joint coordinate system to the i joint coordinate system. The total transformation matrix of the end effector relative to the robot coordinate system is:
T 5 0 = T 1 0 T 2 1 T 3 2 T 4 3 T 5 4 = [ n x o x a x p x n y o y a y p y n z o z a z p z 0 0 0 1 ]
The end effector position equation is:
p x = d 5   s i n θ 2 s i n ( θ 3 + θ 4 ) s i n θ 2 c o s θ 3 0.133   s i n θ 2 p y = d 5   c o s θ 2 s i n ( θ 3 + θ 4 ) + c o s θ 2 c o s θ 3 + 0.133   c o s θ 2 p z = d 5   c o s ( θ 3 + θ 4 ) s i n θ 3 + d 1
The end effector posture equation is:
p x = d 5   s i n θ 2 s i n ( θ 3 + θ 4 ) s i n θ 2 c o s θ 3 0.133   s i n θ 2 p y = d 5   c o s θ 2 s i n ( θ 3 + θ 4 ) + c o s θ 2 c o s θ 3 + 0.133   c o s θ 2 p z = d 5   c o s ( θ 3 + θ 4 ) s i n θ 3 + d 1

2.3. Dynamic Model of Manipulator

According to the analysis of manipulator joints [21], the five degrees of freedom of the manipulator are respectively the lifting base, waist rotation axis, arm joint, and wrist rotation. The lifting base only works when the length of the manipulator is insufficient, while the waist rotation and wrist rotation axis are tentatively defined as not playing a key role in the visual recognition and picking process; therefore, the manipulator is simplified as a two-joint manipulator with only a big arm and a small arm. Meanwhile, a dynamic model is established, as shown in Figure 5.
M ( q ) q ¨ + C ( q , q ˙ ) q ˙ + G ( q ) = τ
Herein, q = [ q 1   q 2 ] T , τ = [ τ 1   τ 2 ] T . In the formula, q , q ˙ , q ¨ are respectively the joint angle position, velocity, and acceleration vectors of the manipulator. M ( q ) R n × n is a positive definite mass inertia matrix. C ( q , q ˙ ) R n × n represents the centrifugal force and Coriolis force. G ( q ) R n is gravity vector. τ R n is the control moment input from each part of the joint. τ d R n is the unknown external disturbances. Therein, Formula (1) satisfies the following characteristics:
(1) Positive definite symmetry: For any q matrix, M ( q ) is a positive definite symmetric.
(2) Boundedness: Matrix functions M ( q ) and C ( q , q ˙ ) are uniformly bounded for all q , q ˙ .
(3) Skew symmetry: The matrix function M ( q ) 2 C ( q , q ˙ ) is a skew symmetric matrix, i.e., for any vector α , there is α T ( M ( q ) 2 C ( q , q ˙ ) ) α = 0 .

3. Visual Servo Control

The visual servo control structure can be divided into position-based control and image-based control according to different feedback signals. The feedback signal of position-based control is defined in coordinate form in three-dimensional task space. Its basic principle is to estimate the target in a three-dimensional Cartesian coordinate system by extracting the image features and combining the geometric model of the known target, and then planning the trajectory and calculating the control quantity according to the position comparison between the end effector and the target of the manipulator. For the image-based control, the control quantity is calculated directly from the error signal in the image, and the task is completed by driving the manipulator [22]. In this paper, the image-based control method is used to output control signals after image calculation, and the sliding-mode control parameters are adaptively adjusted by the fuzzy neural network algorithm so as to improve the robustness and stability of the manipulator grasping.

3.1. Visual Target Location

According to the visual servo control system working process of fruit picking robots, the relationship between the position information of the robot and its joints should be determined first. The mapping relationship between the image plane coordinates and the three-dimensional coordinates in the real space can be established by the perspective model of the small hole so that the coordinate position of the target can be calculated [23]. Due to the vision camera adopted in this paper being the target localization of the monocular robot, its camera is installed at the end of the manipulator. According to the principle of the optical imaging of the camera, the model of monocular vision localization is established as shown in Figure 6, in which the mapping relation of two-dimensional image coordinates and coordinates in three-dimensional space is established by the transformed geometric coordinates.
Here, we assume that the target fruit coordinate in the coordinate system of the manipulator is ( X a , Y a , Z a ) and its coordinate in the camera coordinate system is ( X c , Y c , Z c ). The relationship between the 3D coordinates ( X c , Y c , Z c ) of the target in the camera coordinate system and its two-dimensional (2D) coordinates ( X 1 , Y 1 ) on the camera imaging plane is obtained.
{ X 1 = X c f Z c Y 1 = Y c f Z c
In the formula, f is the camera focal length. The coordinate transformation formula between the camera coordinate system and manipulator coordinate system can be obtained by the geometric analytic method shown in Figure 2.
{ X = L 2 2 + L 3 2 2 L 2 L 3 cos ( π θ 3 ) ( L 2 sin θ 2 + L 3 sin ( θ 2 + θ 3 ) ) 2 1 + tan 2 θ 1 Y = X tan θ 1 Z = L 1 + L 2 sin θ 2 + L 3 sin ( θ 2 + θ 3 )
In the formula, L 1 —Waist length
  • L 2 —Big arm length
  • L 3 —Small arm length
  • θ 1 —one DOF joint angle of manipulator
  • θ 2 —two DOF joint angle of manipulator
  • θ 3 —three DOF joint angle of manipulator
From Formula (3), the relationship between the target fruit coordinate in the manipulator coordinate system ( X a , Y a , Z a ), and the fruit coordinate in the camera coordinate system ( X c , Y c , Z c ) can be obtained:
{ X c = X a X Y c = Y a Y Z c = Z a Z
The relationship between the robot angle change of each joint and the plane coordinate change of the target fruit imaging is obtained.

3.2. Visual Servo Control

Since the fruit picking robot works in unknown and uncertain environments and the visual servo control system has the characteristics of time-varying, strong coupling, and non-linearity, therefore, the visual servo control system based on images is used due to its advantages regarding insensitivity to errors. The structure of the image-based visual servo system is shown in Figure 7.
In this system, the picking robot captures the target image with a camera installed by eye-in-hand mode, and the position information of the target fruit is obtained by an image processing system. The angle of each joint of the robot can be obtained by coordinate transformation. In order to improve the motion performance of the manipulator, a visual servo algorithm based on fuzzy neural network adaptive sliding mode control is adopted to overcome the uncertainty of the system so as to improve the robustness of the servo control of the manipulator.

4. Complex Fuzzy Neural Network Sliding Mode Control

4.1. Model Design of Sliding Mode Algorithms

Sliding-mode [24] variable structure control mainly uses a high-speed control rate under non-linear conditions. It can reach the predetermined sliding mode control track in a short time and move along the track according to the variable dynamic control system. The sliding mode control scheme is shown in Figure 8.
First, we set the ideal angle instruction to q d ( t ) , and track the error of the sliding-mode controller:
e ( t ) = q ( t ) q d ( t )
Then, we design the sliding surface as:
s ( t ) = e ¨ + Λ 1 e ˙ + Λ 2 e
Therein, Λ = d i a g ( λ i 1 , λ i 2 , , λ i n ) , λ i j > 0 , i = 1 , 2 , j = 1 , 2 , , n .
Then, we set the Lyapunov function to:
V = 1 2 s T M s
Therefore:
V ˙ = 1 2 s ˙ T M s + 1 2 s T M ˙ s + 1 2 s T M s ˙
Bring the characteristics of the manipulator dynamics equation into the formula:
V ˙ = s T M s ˙ + s T C s ˙ = s T ( M ( q q d + Λ 1 e ¨ + Λ 2 e ˙ ) + C ( e ¨ + Λ 1 e ˙ + Λ 2 e ) )
According to:
τ ˙ + Λ τ = Λ U S M C
Find:
V ˙ = s T ( H + Λ U S M C )
Therein:
H = M ( Λ 1 e ¨ + Λ 2 e ˙ q d ) + C ( Λ 1 e ˙ + Λ 2 e q d ) ( M ˙ + Λ M ) q ¨ ( C ˙ + Λ C ) q ˙ ( G ˙ + Λ G )
Then, we design the SMC system as:
U S M C = Λ 1 ( H + η s g n ( s ) )
Find:
V ˙ = η s T s g n ( s ) = η || s || 0
According to the LaSalle invariant set theorem, when t , s 0 , then q ˜ 0 , q ˜ ˙ 0 .

4.2. Sliding-Mode Control Based on Complex Fuzzy Neural Network

The fuzzy neural network is a kind of special neural network that is a hybrid intelligent system formed by the combination of neural network and fuzzy logic. It combines the two kinds of techniques by combining the human-like reasoning of fuzzy systems with the learning and connection structure of neural networks [25,26]. In a nutshell, the fuzzy neural network (FNN) assigns a conventional neural network to fuzzy input signals and fuzzy weights. Its function is to use the fuzzy neural network structure to implement fuzzy logic reasoning.
In order to improve the control accuracy of the two-joint manipulator, a fuzzy neural network control algorithm, the fuzzy neural network (FNN) is constructed to optimize the conventional sliding mode control because of the chattering phenomenon in the conventional sliding-mode control [27,28,29,30]. The system consists of an input layer, an adaptive fuzzy rule layer, a rule layer, and an output layer. The structure of the system is shown in Figure 9. The input is a sliding surface, and the output is a control quantity. The following is the main flow chart of the FNN algorithm:
Step 1: Input the layer data initialization of the fuzzy neural network, and transfer the sliding-mode vector variable s i ( i = 1 , 2 , , n ) to the next layer.
Step 2: The nodes in each layer represent the membership functions of the members, which use Gauss function as an input:
μ i j ( s i ) = e x p [ ( s i x i j ) 2 ( σ i j ) 2 ] ,   ( i = 1 , 2 , , n ;   j = 1 , 2 , , m )
In the formula, n represents the number of input variables, and m is the number of member functions. x i j and σ i j represent the j level node of the i input from s i to the Gauss function.
Step 3: The rule layer represents the fuzzy reasoning mechanism of the neural network, and the data results are obtained by multiplying the input signals of the layer. The formula is as follows:
g k = i = 1 n ω j i k μ i j ( s i )
Herein, g k represents the Kth output of the rule layer.
Step 4: The fourth layer is the output layer, in which each node represents an output variable. It integrates the output into the sum of all the input signals. The execution output of this layer deblurring is as follows:
y 0 = k = 1 N y ω k 0 g k
By adding FNN online cyclic training, inheriting the traditional sliding mode control system, and relaxing the requirement of system information, the SMC jitter problem can be eliminated. However, the traditional neural network training method mentioned above makes the learning speed of the algorithm slow and may fall into local minimum problem, etc. Therefore, a dropout layer is added on this basis to prevent over-fitting by randomly hiding layer nodes. The improved fuzzy neural network is expressed in vector form:
y = U N F N N ( e , x , σ , W , l , p ) = W g
In the formula, W is the weight matrix of the hidden layer and the output layer. e is the tracking error vector and the input vector of the system. l represents the fuzzy rules. p represents the dropout layer parameters of Bernoulli distribution.
Therefore, the equivalent control law of the optimal output estimation sliding surface is obtained.
U S M C = U N N * ( e , x * , σ * , W * , l * , p * ) + ε = W * g * + ε
Herein, ε represents the error vectors of the network. W * , x * , σ * , l * , p * are the optimal parameters of network. Then, the sliding mode control law of the improved fuzzy neural network can be expressed as:
U ( t ) = U ^ N N ( e , x ^ , σ ^ , W ^ , l ^ , p ^ ) + U r
Herein, U ^ N N is the improved fuzzy neural network controller, which is used to estimate the sliding mode control law. U r is an additional value of robustness, which ensures that the system would be on the sliding surface when t 0 . x ^ , σ ^ , W ^ , l ^ , p ^ represent the neural network parameter estimation.
U ˜ = U S M C U = W * g * + ε W ^ g ^ U r = W ˜ g * + W ^ g ˜ + ε U r
In the formula, W ˜ = W * W ^ , g ˜ = g * g ^ , g ˜ can be expressed by Taylor expansion due to g being a non-linear activation function.
g ˜ = g x x ˜ e + g σ σ ˜ e + o m
Herein, x ˜ = x * x ^ , σ ˜ = σ * σ ^ can be expressed as:
g * = g ^ + g x x ˜ e + g σ σ ˜ e + o m
Bringing Formula (22) into Formula (20), then we find:
U ˜ = W * g * + ε W ^ g ^ U r = W * ( g ^ + g x x ˜ e + g σ σ ˜ e + o m ) + ε W ^ g ^ U r = ( W * W ^ ) g ^ + ( W ˜ + W ^ ) g x x ˜ e + ( W ˜ + W ^ ) g σ σ ˜ e + ε U r + W * o m = W ˜ g ^ + W ^ g x x ˜ e + W ^ g σ σ ˜ e U r + P
Herein: P = W ˜ g x x ˜ e + W ˜ g σ σ ˜ e + W * o m + ε , || P || < r , r is a minimal positive number.

4.3. Stability Analysis

Next, we improve the fuzzy neural network sliding mode control algorithm according to the dynamics and kinematics equation of the manipulator to make the manipulator reach the prescribed sliding surface in the closed-loop control of the visual servo system, and reduce and eliminate the chattering problem of sliding-mode control, so as to ensure the long-term stability of the system.
Set:
W ^ = η 1 ( g ^ S T ) T
x ^ = η 2 ( e S T W ^ g x ) T
σ ^ = η 3 ( e S T W ^ g σ ) T
U r = τ 0 s g n ( S ) i = 1 n S i 2
Define the Lyapunov function as:
V = 1 2 S T S + 1 2 η 1 t r ( W ˜ W ˜ T ) + 1 2 η 2 t r ( x ˜ x ˜ T ) + 1 2 η 3 t r ( σ ˜ σ ˜ T )
Find the derivation:
V ˙ = 1 2 S T S ˙ 1 η 1 tr ( W ˜ W ˜ T ) 1 η 2 tr ( x ˜ x ˜ T ) 1 η 3 tr ( σ ˜ σ ˜ T )
Since S ˙ = U ˜ , we introduce Formulas (6)–(15) and (6)–(17) and find:
V ˙ = S T [ W ˜ g ^ + W ^ g x x ˜ e + W ^ g σ σ ˜ e U r + P ] 1 η 1 tr ( W ˜ W ˜ T ) 1 η 2 tr ( x ˜ x ˜ T ) 1 η 3 tr ( σ ˜ σ ˜ T ) = tr ( W ˜ ( g ^ S T 1 η 1 W ˜ T ) ) + tr ( e S T W ^ g x 1 η 2 x ˜ T ) + tr ( e S T W ^ g σ 1 η 3 σ ˜ T ) + S T ( U r + P )
According to Formulas (24), (27) and (30), we transform V ˙ to:
V ˙ = S T ( U r + P ) || S T || × || U r + P || = α || S T || 0
Herein, α is a positive, sliding-mode control system based on the improved fuzzy neural network, and is asymptotically stable according to the Lyapunov stability principle. When t , s 0 .

5. Simulation Analysis and Experiment

The adaptive sliding-mode controller is simulated by matlab. The AC servo motor is used in the robot joint. The corresponding parameters are set according to the physical parameters of the picking robot arm as shown in Table 2.
H = [ α + 2 ε cos ( q 2 ) + 2 η sin ( q 2 ) β + ε cos ( q 2 ) + η sin ( q 2 ) β + ε cos ( q 2 ) + η sin ( q 2 ) β ]
C = [ ( 2 ε sin ( q 2 ) + 2 η cos ( q 2 ) ) q 2 ˙ ( ε sin ( q 2 ) + η cos ( q 2 ) ) q 2 ˙ ( ε sin ( q 2 ) η cos ( q 2 ) ) q 1 ˙ 0 ]
G = [ ε e 2 cos ( q 1 + q 2 ) + η e 2 sin ( q 1 + q 2 ) + ( α β + e 1 ) e 1 cos q 1 ε e 2 cos ( q 1 + q 2 ) + η e 2 sin ( q 1 + q 2 ) ]
Herein, α , β , η , ε is constant. α = I 1 + m 1 l c 1 2 + I e + m e l c e 2 + m e l 1 2 , β = I 1 + m e l c e 2 , ε = m e l 1 l c e c o s ( δ e ) , η = m e l 1 l c e s i n ( δ e ) . Take a = [ α β ε η ] T , a ^ is an estimation of a , set a ˜ = a ^ a , and a is constant, so a ˜ ˙ a ^ ˙ .
Set the angle instruction of joint 2 as q d 1 = s i n ( 2 π t ) , q d 2 = s i n ( 2 π t ) , q ˙ d 1 and q ˙ d 2 are respectively the angular velocities of joints 1 and 2. Take Λ = [ 15 0 0 15 ] , Λ 1 = [ 5 0 0 5 ] , Λ 2 = [ 50 0 0 50 ] , K d = [ 100 0 0 100 ] . Set the gain of the adaptive fuzzy neural network to η 1 = 20 ; η 2 = 5 ; η 3 = 2 .
Firstly, the tracking curves of angular position and velocity of joints 1 and 2 are obtained by using sliding mode control without adding the fuzzy neural network algorithm, as shown in Figure 10, Figure 11 and Figure 12.
From Figure 10, it can be seen that the angular position switching motion of common SMC joints without the fuzzy neural network is continuous and smooth. From Figure 12, it can be seen that joint 2 is more likely to be disturbed due to the need to deal with the conductive force from joint 1, so the output buffeting is relatively large.
The simulation results of a manipulator system with an improved fuzzy neural network sliding-mode control algorithm are shown in Figure 13, Figure 14 and Figure 15. From Figure 15, it can be seen that compared with the traditional SMC scheme, the proposed fuzzy neural network sliding-mode control algorithm effectively eliminates the control chattering phenomenon. Meanwhile, the angular velocity tracking of joint 1 and joint 2 is more robust. It realizes high-precision control without detailed system information, and embodies the superiority of the improved fuzzy neural sliding-mode control algorithm.
In order to further verify the effectiveness of the sliding-mode algorithm of the fuzzy neural network system, the self-developed picking robot system is shown in Figure 16. The control system of the manipulator that is used in the experiment is an industrial computer with an Intel processor. The motion control system of the manipulator is connected with the host computer through serial communication, and the C control code generated by Matlab is imported into the control system.
The control instruction is generated according to the results of image recognition, so we process the control instructions by the sliding-mode algorithm of the fuzzy neural network and dynamic joint angle, output the dynamic joint angle, and bring into the kinematics equations related to the manipulator and output manipulator motor control instruction so as to control the manipulator gripper to reach the target position. Intensive experiments are performed on the apple-picking robot using the conventional PID algorithm, the sliding-mode control algorithm, and the improved fuzzy neural network sliding mode control on the robot arm servo control in the same experimental environment. Comparing the above three different algorithms on the picking-robot system on the grab speed and the grab accuracy, Table 3 is the data comparison using different algorithms.
Through the comparison of experimental data, it can be known that the conventional PID algorithm captures a long time, while the sliding mode control algorithm can effectively reduce the grab time, but there is a lower catch success rate, and the improved fuzzy neural network algorithm is adopted. The sliding mode control algorithm not only improves the grabbing efficiency, but also greatly improves the success rate of the capture. It is shown in the result of the visual servo motion of the manipulator that the fruit-picking robot based on the improved fuzzy neural network sliding-mode algorithm has good stability and robustness. Figure 14 shows that the fruit-picking robot completes the visual servo control process of the manipulator using an improved algorithm.

6. Conclusions

In this paper, based on the self-developed apple-picking robot, the kinematics and dynamics equations of the robot are established. The image-based visual servo control method is adopted to control the manipulator in order to improve the grasping accuracy in the picking process. Then, the joint control performance of the control system has been improved by the adaptive fuzzy neural network sliding-mode control algorithm. Finally, the superiority of the algorithm is verified by simulation and experiment. The results show that the method improves the shortcomings of the common sliding mode control for the training control jitter in the actual robotic arm visual servo system to a certain extent, and improves the stability of the servo control.
Due to the low stability of the mechanical design of the current picking robot end effector, the existing mechanical structure of the picking robot will be improved in future work, and continue to verify the superiority of the current algorithm on the basis of the new terminal actuator, and complete the picking experiment in the real environment of the apple-picking robot.

Author Contributions

W.C. conceived and designed the experiments; W.C. performed the experiments; T.X. contributed reagents/materials/analyzed the data; T.X. and J.L. contributed reagents/materials/analysis tools; T.X. and M.W. wrote the paper; D.Z. analyzed the data.

Funding

This research is supported by the “Six talent peaks” high-level talents projection Jiangsu Province (2016-GDZB-021), Postgraduate Research & Practice Innovation Program of Jiangsu Province (KYCX18_2332), Project funded by China Postdoctoral Science Foundation (2016M601691), Industrial Foresight Project of Zhenjiang City (GY2018018).

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Dong, G.; Zhu, Z.H. Position-based visual servo control of autonomous robotic manipulators. Acta Astronaut. 2015, 115, 291–302. [Google Scholar] [CrossRef]
  2. Zhang, D.; Wei, B. A review on model reference adaptive control of robotic manipulators. Ann. Rev. Control 2017, 43, 188–198. [Google Scholar] [CrossRef]
  3. Ganapathy, S.R.; Elumalai, V.K.; Karuppusamy, S. Uniform ultimate bounded robust model reference adaptive PID control scheme for visual servoing. J. Frankl. Inst. 2017, 354, 1741–1758. [Google Scholar] [CrossRef]
  4. Ma, Z.; Sun, G. Dual terminal sliding mode control design for rigid robotic manipulator. J. Frankl. Inst. 2018, 355, 9127–9149. [Google Scholar] [CrossRef]
  5. Li, X.; Cheah, C.C. Adaptive neural network control of robot based on a unified objective bound. IEEE Trans. Control Syst. Technol. 2013, 22, 1032–1043. [Google Scholar]
  6. Krishna, S.; Vasu, S. Fuzzy PID based adaptive control on industrial robot. J. Mater. Today 2018, 5, 13055–13060. [Google Scholar] [CrossRef]
  7. Namvar, M.; Aghili, F. Adaptive force-motion control of coordinated robots interacting with geometrically unknown environments. IEEE Trans. Robot. 2005, 21, 678–694. [Google Scholar] [CrossRef]
  8. Zhao, Q.B.; Zhao, D.; Ji, W. Design of Visual Servo Control System for Picking Robot. J. Agric. Mach. 2009, 40, 152–156. [Google Scholar]
  9. Cui, N.; Wang, B.; Mao, N. A Sliding Mode Control Method for Manipulator Terminal. Aerosp. Control 2018, 173, 34–40. [Google Scholar]
  10. Haykin, S. Neural Networks—A Comprehensive Foundation; Prentice Hall: Upper Saddle River, NJ, USA, 1998; pp. 71–80. [Google Scholar]
  11. Ali, A.A.; Lateef, R.A.R.; Saeed, M.W. Intelligent tuning of vibration mitigation process for single link manipulator using fuzzy logic. Eng. Sci. Technol. 2017, 20, 1233–1241. [Google Scholar] [CrossRef]
  12. Yen, V.T.; Wang, Y.N.; Cuong, P.V. Robust adaptive sliding mode control for industrial robot manipulator using fuzzy wavelet neural networks. Int. J. Control Autom. Syst. 2017, 15, 2930–2941. [Google Scholar] [CrossRef]
  13. Mehta, S.S.; Ton, C.; Rysz, M.; Kan, Z.; Doucette, E.A.; Curtis, J.W. New Approach to Visual Servo Control using Terminal Constraints. J. Frankl. Inst. 2019, in press. [Google Scholar] [CrossRef]
  14. Mehta, S.S.; MacKunis, W.; Burks, T.F. Nonlinear Robust Visual Servo Control for Robotic Citrus Harvesting. IFAC Proc. Vol. 2014, 47, 8110–8115. [Google Scholar] [CrossRef] [Green Version]
  15. He, W.; Dong, Y. Adaptive Fuzzy Neural Network Control for a Constrained Robot Using Impedance Learning. IEEE Trans. Neural Netw. Learn. Syst. 2018, 29, 1174–1186. [Google Scholar] [CrossRef] [PubMed]
  16. Er, M.J.; Gao, Y. Robust adaptive control of robot manipulators using generalized fuzzy neural networks. IEEE Trans. Ind. Electron. 2003, 50, 620–628. [Google Scholar]
  17. Camci, E.; Kripalani, D.R.; Ma, L. An aerial robot for rice farm quality inspection with type-2 fuzzy neural networks tuned by particle swarm optimization-sliding mode control hybrid algorithm. Swarm Evol. Comput. 2018, 41, 1–8. [Google Scholar] [CrossRef] [Green Version]
  18. Adhikary, N.; Mahanta, C. Sliding mode control of position commanded robot manipulators. Control Eng. Pract. 2018, 81, 183–198. [Google Scholar] [CrossRef]
  19. Salgado, I.; Chairez, I. Adaptive unknown input estimation by sliding modes and differential neural network observer. IEEE Trans. Neural Netw. Learn. Syst. 2017, 29, 3499–3509. [Google Scholar]
  20. Srivastava, N.; Hinton, G.; Krizhevsky, A.; Sutskever, I.; Salakhutdinov, R. Dropout: A simple way to prevent neural networks from overfitting. J. Mach. Learn. Res. 2014, 15, 1929–1958. [Google Scholar]
  21. Wei, C.; Hao, L.; Yang, T.; Liu, J. Trajectory Optimization of Electrostatic Spray Painting Robots on Curved Surface. Coatings 2017, 7, 155. [Google Scholar] [Green Version]
  22. Judith, M.; Frese, U.; Thomas, R. Grab a mug—Object detection and grasp motion planning with the Nao robot. In Proceedings of the IEEE-RAS International Conference on Humanoid Robots, Atlanta, GA, USA, 15–17 October 2013. [Google Scholar]
  23. Yang, M.Y.; Ge, Y.Z. Robot visual servo control based on BP neural network. Comput. Appl. 2017, 37 (Suppl. 2), 279–282, 297. [Google Scholar]
  24. Liu, J.K. MATLAB Simulation of Sliding Mode Variable Structure Control, 3rd ed.; Tsinghua University Press: Beijing, China, 2012; pp. 179–190. [Google Scholar]
  25. Hsieh, J.G.; Jeng, J.H.; Lin, Y.L.; Kuo, Y.S. Single index fuzzy neural networks using locally weighted polynomial regression. Fuzzy Sets Syst. 2019, 368, 82–100. [Google Scholar] [CrossRef]
  26. De Campos Souza, P.V.; Torres, L.C.B.; Guimaraes, A.J. Data density-based clustering for regularized fuzzy neural networks based on nullneurons and robust activation function. In Soft Computing; Springer: Berlin/Heidelberg, Germany, 2019. [Google Scholar]
  27. Chen, W.; Wang, X.; Liu, H.; Tang, Y.; Liu, J. Optimized Combination of Spray Painting Trajectory on 3D Entities. Electronics 2019, 8, 74. [Google Scholar] [CrossRef]
  28. Mehta, S.S.; Mackunis, W.; Burks, T.F. Robust Visual Servo Control in The Presence of Fruit Motion for Robotic Citrus Harvesting. Comput. Electron. Agric. 2016, 123, 362–375. [Google Scholar] [CrossRef]
  29. Wai, R.J.; Muthusamy, R. Fuzzy-neural-network Inherited Sliding-mode Control for Robot Manipulator including Actuator Dynamics. IEEE Trans. Neural Netw. Learn. Syst. 2013, 24, 274–287. [Google Scholar] [PubMed]
  30. Xiao, Z.; Li, T.; Li, Z. A novel single fuzzy approximation based adaptive control for a class of uncertain strict-feedback discrete-time nonlinear systems. Neurocomputing 2015, 167, 179–186. [Google Scholar] [CrossRef]
Figure 1. Manipulator structural drawing of picking robot (1: picking robot platform; 2: platform; 3: robot base; 4: lift platform; 5: servo motor; 6: robot lumbar; 7: lumbar rotating shaft; 8: main arm joint; 9: main arm; 10: small arm joint; 11: small arm; 12: rotating shaft; 13: grasp hand installation seat).
Figure 1. Manipulator structural drawing of picking robot (1: picking robot platform; 2: platform; 3: robot base; 4: lift platform; 5: servo motor; 6: robot lumbar; 7: lumbar rotating shaft; 8: main arm joint; 9: main arm; 10: small arm joint; 11: small arm; 12: rotating shaft; 13: grasp hand installation seat).
Electronics 08 00605 g001
Figure 2. Schematic diagram of picking robot manipulator.
Figure 2. Schematic diagram of picking robot manipulator.
Electronics 08 00605 g002
Figure 3. Picking robot physical map.
Figure 3. Picking robot physical map.
Electronics 08 00605 g003
Figure 4. Manipulator D–H model.
Figure 4. Manipulator D–H model.
Electronics 08 00605 g004
Figure 5. Simplified schematic diagram of two-joint manipulator.
Figure 5. Simplified schematic diagram of two-joint manipulator.
Electronics 08 00605 g005
Figure 6. Visual model of camera imaging.
Figure 6. Visual model of camera imaging.
Electronics 08 00605 g006
Figure 7. Image-based visual servo system structure.
Figure 7. Image-based visual servo system structure.
Electronics 08 00605 g007
Figure 8. Structural diagram of the sliding-mode control (SMC) controller.
Figure 8. Structural diagram of the sliding-mode control (SMC) controller.
Electronics 08 00605 g008
Figure 9. Structure of fuzzy neural network system.
Figure 9. Structure of fuzzy neural network system.
Electronics 08 00605 g009
Figure 10. Angle tracking of joints 1 and 2.
Figure 10. Angle tracking of joints 1 and 2.
Electronics 08 00605 g010
Figure 11. Angular velocity tracking of joints 1 and 2.
Figure 11. Angular velocity tracking of joints 1 and 2.
Electronics 08 00605 g011
Figure 12. Joint 1 and 2 control inputs without neural network sliding mode.
Figure 12. Joint 1 and 2 control inputs without neural network sliding mode.
Electronics 08 00605 g012
Figure 13. Position tracking of joints 1 and 2.
Figure 13. Position tracking of joints 1 and 2.
Electronics 08 00605 g013
Figure 14. Angular velocity tracking of joints 1 and 2.
Figure 14. Angular velocity tracking of joints 1 and 2.
Electronics 08 00605 g014
Figure 15. Control input of joints 1 and 2 after adopting the intelligent control scheme.
Figure 15. Control input of joints 1 and 2 after adopting the intelligent control scheme.
Electronics 08 00605 g015
Figure 16. (a) Representing the movement process of the robot arm of apple-picking robot; (b) Representing that the picking machine recognizes the target and controls the robot arm to grasp the target through the algorithm presented in this paper.
Figure 16. (a) Representing the movement process of the robot arm of apple-picking robot; (b) Representing that the picking machine recognizes the target and controls the robot arm to grasp the target through the algorithm presented in this paper.
Electronics 08 00605 g016
Table 1. Kinematic parameters of manipulators.
Table 1. Kinematic parameters of manipulators.
Joints i α i /(°) a i /(°) θ i /(°) d i /(°)σVariable Range
10090 d 1 1 d 1 (0.63 to 1.3)
2−900.133 θ 2 00 θ 2 (−180° to 180°)
301 θ 3 00 θ 3 (–142° to −36°)
4−900 θ 4 00 θ 4 (−180° to 180°)
500 θ 5 00 θ 5 (0° to 360°)
Table 2. Structure parameters of picking robot.
Table 2. Structure parameters of picking robot.
m 1 10.8 kg l c e 0.42 m
l 1 0.58 m I e 0.4 kg
l c 1 0.29 m δ e 0
I 1 0.9 kg e 1 –0.58
m e 8.2 kg e 2 9.81
Table 3. Experimental results.
Table 3. Experimental results.
AlgorithmSuccess RateStarting Position to the End of the Crawl Time(s)
Conventional PID algorithm88.2%15.8
Sliding mode control algorithm74.0%13.0
improved fuzzy neural network sliding mode control algorithm91.2%13.8

Share and Cite

MDPI and ACS Style

Chen, W.; Xu, T.; Liu, J.; Wang, M.; Zhao, D. Picking Robot Visual Servo Control Based on Modified Fuzzy Neural Network Sliding Mode Algorithms. Electronics 2019, 8, 605. https://doi.org/10.3390/electronics8060605

AMA Style

Chen W, Xu T, Liu J, Wang M, Zhao D. Picking Robot Visual Servo Control Based on Modified Fuzzy Neural Network Sliding Mode Algorithms. Electronics. 2019; 8(6):605. https://doi.org/10.3390/electronics8060605

Chicago/Turabian Style

Chen, Wei, Tongqing Xu, Junjie Liu, Mo Wang, and Dean Zhao. 2019. "Picking Robot Visual Servo Control Based on Modified Fuzzy Neural Network Sliding Mode Algorithms" Electronics 8, no. 6: 605. https://doi.org/10.3390/electronics8060605

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop