Next Article in Journal
Adaptive Disturbance Suppression Method for Servo Systems Based on State Equalizer
Previous Article in Journal
Graph Feature Refinement and Fusion in Transformer for Structural Damage Detection
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Trajectory Analysis of 6-DOF Industrial Robot Manipulators by Using Artificial Neural Networks

by
Mehmet Bahadır Çetinkaya
1,
Kürşat Yildirim
2 and
Şahin Yildirim
1,*
1
Faculty of Engineering, Department of Mechatronics Engineering, University of Erciyes, Kayseri 38039, Turkey
2
Graduate School of Natural and Applied Sciences, University of Erciyes, Kayseri 38039, Turkey
*
Author to whom correspondence should be addressed.
Sensors 2024, 24(13), 4416; https://doi.org/10.3390/s24134416
Submission received: 7 June 2024 / Revised: 4 July 2024 / Accepted: 5 July 2024 / Published: 8 July 2024
(This article belongs to the Section Sensors and Robotics)

Abstract

:
Robot manipulators are robotic systems that are frequently used in automation systems and able to provide increased speed, precision, and efficiency in the industrial applications. Due to their nonlinear and complex nature, it is crucial to optimize the robot manipulator systems in terms of trajectory control. In this study, positioning analyses based on artificial neural networks (ANNs) were performed for robot manipulator systems used in the textile industry, and the optimal ANN model for the high-accuracy positioning was improved. The inverse kinematic analyses of a 6-degree-of-freedom (DOF) industrial denim robot manipulator were carried out via four different learning algorithms, delta-bar-delta (DBD), online back propagation (OBP), quick back propagation (QBP), and random back propagation (RBP), for the proposed neural network predictor. From the results obtained, it was observed that the QBP-based 3-10-6 type ANN structure produced the optimal results in terms of estimation and modeling of trajectory control. In addition, the 3-5-6 type ANN structure was also improved, and its root mean square error (RMSE) and statistical R2 performances were compared with that of the 3-10-6 ANN structure. Consequently, it can be concluded that the proposed neural predictors can successfully be employed in real-time industrial applications for robot manipulator trajectory analysis.

1. Introduction

Industrial robots are capable of performing many different processes and operations accurately and do not need complex supporting elements such as humans need. Robot manipulators are powerful electromechanical systems that provide effective solutions to the recent industrial applications such as picking, placing, packing, painting, and welding. Especially, robot manipulators with multi-DOF are widely used at all stages of production processes such as automation systems due to their ability to perform industrial operations effectively without the need of humans. In addition, significant advantages in terms of occupational health and safety have been provided by switching from the operator-assisted production model to robot manipulator-supported structures in processes involving chemicals and carcinogens.
One of the most important problems encountered in robot manipulator systems is the ability to achieve high-accuracy positioning for even large disturbances such as mechanical friction of the mechanical parts, ambient ventilation, and mechanical strength misalignment. Due to the basic disturbances faced in the production processes, it is crucial to use artificial intelligence-based predictors for trajectory analysis as an inverse kinematic solution. In this study, ANN-based detailed trajectory analyses were carried out to enable the robot manipulator end processor to monitor the full trajectory with the highest accuracy during the denim fabric grinding process. To our best knowledge, for the relevant research area, DBD, OBP, QBP, and RBP-based nonlinear artificial neural network structures were first improved in the literature within the scope of this study.
In order to perform the position control of a robot manipulator, inverse kinematic equations or forward kinematic equations can be used. However, forward kinematic equations require longer calculation times and also complex mathematical analysis such as the Gaussian elimination approach. Due to these important disadvantages of forward kinematic equation-based analysis, inverse kinematic equation-based analysis is frequently preferred. Namely, the equations that were found for solving the inverse kinematic of the 6-DOF robot manipulator can directly be used to drive the robot to a desired position.
In the literature, there are several studies including different application areas of robot manipulator systems. Saad et al. developed an ANN-based adaptive controller for robot manipulator applications in [1]. A geometric algorithm for fixed directional working area calculation in 6-PRRS structured robot manipulators was proposed by Boney and Ryu, and its applications were analyzed [2]. In a study conducted by Bonev et al. [3] on the kinematics of parallel robot manipulators with linear sensors and optimal positioning, a closed-form solution approach was developed. Detailed research on the singularities of 3-DOF parallel robot manipulator mechanisms was carried out by Boney and his research group [4]. Tombul and Sarıtaş presented detailed research that was conducted on inverse kinematic calculations and trajectory planning for a five-axis Edubot robot [5]. On the other hand, Khayati et al. carried out analyses on multi-stage position/force control for friction-constrained robotic systems [6]. Lessard et al. carried out analyses on static balancing optimization by designing position and force controllers for biomedical applications, especially three-dimensional ultrasound imaging [7]. Karahan obtained the robot inertia parameters by performing detailed dynamic model analysis for the Staubli RX-60 robot in his master’s thesis [8]. In another study, Janvier et al. performed detailed performance analyses for medical robotic three-dimensional ultrasound imaging systems [9]. An updated formulation and its related applications improved for a KUKA-type industrial robot manipulator were presented by Bigras et al. [10]. Moreover, Yu et al. proposed a geometric approach for accuracy analysis of 3-DOF planar parallel robots [11]. Furthermore, accuracy analysis of a 3-DOF planar parallel robot structure was performed by Briot and Bonev [12]. On the other hand, parallel kinematic analyses were carried out by Liu et al. on a two-joint robot structure, and then detailed analyses on adaptability, error optimization, and size optimization were realized [13]. Furthermore, accuracy analysis of a 3-DOF planar parallel robot structure was performed by Briot and Bonev [14]. A novel controller structure combining the adaptive neural networks and proportional-integral-derivative (PID) control approach was presented by Perez et al. to optimize the trajectory behavior of robot manipulators [15]. An ANN-based method that was able to adapt to the characteristics of both known and unknown trajectories of 6-DOF robot manipulators was improved by Tang et al. [16]. Pham and Wang improved a robust radial basis function neural network (RBFANN)-based adaptive control approach to optimize the joint position control and trajectory tracking control of robot manipulators [17]. An inverse dynamic model estimation approach based on ANNs was proposed by Moldovan et al. in study [18] to optimize the trajectory performance of a 6-DOF robot manipulator. Mahajan et al. improved an ANN-based structure to optimize the trajectory tracking of a 2-DOF robotic arm by using the inverse kinematics equations [19]. Moreover, Son et al. proposed an adaptive ANN model that was strengthened by differential evolution algorithm in order to optimize the non-linear dynamics of a 5-DOF robot manipulator [20]. An ANN-based control process with an optimal number of hidden nodes and less computation was proposed by Liu et al. to overcome the system uncertainties and track the trajectory of the robot manipulator with high accuracy [21]. Şeker et al. introduced a convolutional neural network (CNN)-based long short-term memory (LSTM) model to obtain a high-precision performance especially in the prediction of lever-up actions and tested its performance on a real UR10 robot [22]. A radial basis ANN structure including a fuzzy sliding mode was improved by Wang et al. in [23] to obtain an optimized trajectory control. Truong et al. proposed a novel adaptive tracking ANN with a deadzone robust compensator for industrial robot manipulators to achieve the high-precision position tracking performance [24]. In addition, a Lyapunov function-based control scheme and a RBFANN structure was proposed by Yang et al. to optimize the trajectory tracking process of a robot manipulator [25]. Nubert et al. presented a robust approach that combined the model predictive control algorithm and neural networks to provide safe and fast tracking on robot manipulators [26]. On the other hand, Elsisi et al. proposed an ANN-based modified adaptive tuning algorithm in order to track the trajectories of robot manipulator arms with high accuracy [27]. Song et al. constructed a 6-DOF robot experimental platform and then optimized its entire trajectory planning framework via a radial basis function neural network [28]. In another study, Liu et al. proposed a neural network-based mechanical adaptive control method to optimize the motion characteristics of a robot manipulator [29]. A novel approach about the kinematic and singularity analyses was proposed by Shi et al. for a 7-DOF redundant manipulator with three consecutive parallel axes [30]. A multi-objective design mechanism was introduced by Kouritem et al. to determine the optimal material type and optimal physical dimensions of the robot arm to withstand loads at vulnerable locations using stress analysis [31]. A hybrid approach consisting of back propagation neural network and genetic algorithms was improved in [32] by Qie et al. in order to plan and optimize the trajectory of a redundant robot manipulator. Lu et al. proposed a novel approach consisting of inverse kinematics and neural networks to provide inverse kinematic solutions with high accuracy [33]. Bao et al. improved an adaptive trajectory tracking control scheme that included both a radial basis function neural network structure and a computed torque control (CTC) method to optimize robot manipulator systems [34]. In work [35], Shi et al. introduced a learning control framework that was able to provide an optimal dynamic tracking behavior for robot manipulators. Finally, Xu et al. improved a novel hybrid neural network-based learning control method to obtain an accurate approach for trajectory tracking of complex robot manipulators [36].
This article presents the following contributions to the literature.
  • The nonlinear artificial neural network structures of DBD, OBP, QBP, and RBP were improved and then presented to the literature as effective inverse kinematic analysis approaches.
  • The simulation results obtained for both 3-10-6 and 3-5-6 type ANN structures provided a detailed database for multi-DOF robot manipulator manufacturers and researchers, especially in the textile sector.

2. Materials and Methods

In this study, detailed trajectory planning and analysis of a real-time 6-DOF industrial robot manipulator system were realized by using DBD, OBP, QBP, and RBP-based improved ANN network structures. The properties of the analyzed industrial robot manipulator system and the structure of the improved ANN networks can be explained in detail as follows.

2.1. Industrial Robot Manipulators

One of the most important stages in the production of jeans trousers is the chemical spraying process. In the classical human-based chemical spraying process, which is shown in Figure 1, undesirable effects such as health problems and color tone differences may occur.
In order to overcome the undesirable effects of the human-based spraying process, industrial robot manipulators can be preferred. In this study, first, kinematic analyses of a Universal Robots UR5e model 6-DOF robot manipulator for chemical spraying were performed according to [37], and then ANN-based trajectory optimization was carried out. The structure and rotation axes of the 6-DOF industrial robot analyzed in this study are shown in Figure 2. As seen from the figure, the 6-DOF industrial robot structure analyzed in this study had six joint angles of θ 1 , θ 2 , θ 3 , θ 4 , θ 5 , and θ 6 . The robot manipulator analyzed in this study also consisted of three types of rotations including pitch, yaw, and roll angles, which corresponded to the orientations of the end effector. In order to construct the orientation process of the end effector, a coordinate system was attached to the body of the manipulator via RoboAnalyzer v8.0.1(R) software, and then orientation was optimized by using the same software. After the orientation process was constructed, the accuracy and robustness of the proposed approach were tested in terms of inverse kinematic.
The initial position of the robot manipulator’s end effector was determined as a local area on the denim jean. The initial position information was defined via RoboAnalyzer v8.0.1(R) software as including the kinematics of the 6-DOF robot manipulator. These randomly produced position data were used as input variations of the proposed ANN predictors. In addition, the final position information was also determined depending on the initial positions.
The technical properties and parameters of the industrial robot manipulator analyzed and designed within the scope of this study are shown in Table 1 [38]. As understood from the table, the 6-DOF industrial robot structure analyzed in this study was capable of contributing significantly to production speed and precision. In addition, the fact that the robot manipulator had ( ± 360 ° ) rotation angle in all its joints meant that the points it could reach in the working space were at the maximum level. In addition, since the operating noise level was too low, even if many robots were used in a production line, noise-related disturbances would not occur, and the total system performance would not negatively be affected.
The Denavit–Hartenberg (D-H) parameters representing the kinematic parameters of the robot manipulator are shown in Table 2 below [38]. Each joint of the robot manipulator had the feature of a rotary joint, and structurally, there was no joint misalignment or second adjacent axis angle. Therefore, it was obvious that this structure would provide an important advantage, especially in exact positioning.
The industrial robot manipulator structure designed in this study consisted of in total six joints, including the body, shoulder, elbow, and wrist joints, as seen in Figure 3.

2.2. Artificial Neural Networks

ANNs are nonlinear mapping systems with a structure based on the principles observed in biological nervous systems. A basic ANN structure consists of an input layer ( x i ), weights ( w k i , w k j ), an activation level ( ϕ j ), and an output layer ( y j ) as represented in Figure 4.
In this network structure, the input vector is updated via a Gaussian activation function that performs a nonlinear transformation and is defined in Equation (1).
ϕ j = exp [ ( x i g c σ ) 2 ]
where x i is the input vector; g c is the center of the j th Gaussian function; σ > 0 is the spread constant parameter; and finally, x i g c defines the Euclidean distance between the two relevent vectors. Afterward, in the second level, each output of the network can be calculated via a linear transformation as defined in Equation (2).
y j = j = 1 N w k j .   ϕ j
where N is the number of hidden layers and w k j are the weight values between the hidden and output neurons.
In this study, analyses were carried out by using an ANN network structure including two hidden layers. For rotation angle analysis of each joint of the robotic manipulator system, ANN network structures including 3 input layer cells, in total 10 hidden layer cells, and 6 output layer cells were improved (the 3-10-6 ANN network structure). The spread constant parameter directly affected the approximating performance of the ANN network structure. In order to find the most appropriate value, the simulations based on test data (30% of the experimental data) were performed for 0.1 step sizes in the range (0, 1] in line with the problem structure, and the optimal value of σ that produced the minimum root mean squared error (RMSE) was obtained as 0.1.
In order to determine the optimum ANN network structure, the performances of the delta-bar-delta (DBD), online back propagation (OBP), quick back propagation (QBP), and random back propagation (RBP) were analysed.
DBD learning algorithm is an adaptive method in which each weight has its own learning rate. The learning rates are updated based on the change in the sign of the gradient on consecutive iterations. If the sign of the gradient does not change, the step size will be increased linearly. In contrast, if the gradient sign changes, the learning rate will be decreased exponentially. In some cases, DBD seems to learn much faster than non-adaptive methods. In the DBD learning algorithm, the learning rates are updated by using Equation (3):
Δ w i j ( t + 1 ) = { K , i f     δ ( t 1 )   δ ( t ) > 0 ϕ η ( t ) , i f     δ ( t 1 )   δ ( t ) < 0 0 , e l s e
where K and ϕ are the positive constants; η is the learning rate; and finally, δ ( t ) = E ( t ) w j i ( t ) , in which E ( t ) represents the instantaneous sum of the squared errors. In the DBD learning algorithm, the value of the η parameter was taken as 0.1.
BP is the most widely used training algorithm for ANNs. The weights of the network were set as represented in Equation (4).
Δ w i j ( t ) = η E ( t ) w i j ( t )       +     α   Δ w i j ( t 1 )
where η is the learning rate, E ( t ) represents the instantaneous sum of the squared errors, and α determines the momentum term. In the simulations, the values of the η and α parameters were taken as 0.1 and 0, respectively. On the other hand, in the OBP learning algorithm, unlike the BP algorithm, the weight values were updated after the model was presented to the ANN. The OBP algorithm with a randomly selected input layout order makes the learning process stochastic and is preferred in most cases.
QBP is an improved version of BP that uses the hyperbolic tangent function instead of the sigmoid function. In other words, in QBP, all the hidden layer neurons and all the output layer neurons use the hyperbolic tangent function while training the network. The weights of the network are updated by using Equation (5) at each iteration:
Δ w ( t ) = s ( t ) s ( t 1 ) s ( t )           Δ w ( t 1 ) η s ( t )
where s ( t ) = E ( t ) w ( t )   , in which E ( t ) represents the instantaneous sum of the squared errors and η represents the learning rate, which was defined as 0.1.
RBP is an adaptive learning rate method where weight updates are based on the sign of the local gradients, not their magnitudes. In RBP, each weight has its own step size or update value, which varies with time according to Equation (6):
Δ w i j ( t + 1 ) = { η + Δ w i j ( t 1 ) , i f       E ( t 1 ) w i j ( t 1 )   E ( t ) w i j ( t ) > 0   η Δ w i j ( t 1 ) , i f       E ( t 1 ) w i j ( t 1 )   E ( t ) w i j ( t ) < 0 Δ w i j ( t 1 ) , e l s e
where η defines the learning rate with the rule of 0 < η < 1 < η + and E ( t ) can be defined as the instantaneous sum of the squared errors.
The structure of the ANN-based analysis carried out to determine and optimize the six joint angles of a specifically determined trajectory for a robot manipulator is given as a block diagram in Figure 5. As seen from the figure, the learning process was optimized by using the RMSE values that were the difference between the actual angular values and the angular values produced by the ANN. The expression of the RMSE can be defined as given in Equation (7):
R M S E = 1 N i = 1 M I ( Y A c t u a l Y A N N ) 2
where MI defines the maximum number of iterations, and N is the number of data that is equal to maximum number of the test data set.

3. Simulation Results

In the simulations carried out, the ANN structure consisting of 3 input cells (position of the end function—X, Y, Z), 10 hidden layer cells, and 6 output layer cells (joint angles— θ 1 , θ 2 , θ 3 , θ 4 , θ 5 , and θ 6 ) was formed. Furthermore, randomly selected 70% of the entire data set was used for the training of the ANN, and the remaining 30% of the data were used for test phase. In all the simulations the iteration number was taken as 1,000,000.
In Figure 6, Figure 7, Figure 8, Figure 9, Figure 10 and Figure 11, DBD learning algorithm-based simulations results are presented. As seen from Figure 6, which represents the modeling performance for θ 1 , the DBD algorithm was able to predict the theoretical data with high accuracy. Although there were instantaneous angular changes at the fifth and ninth seconds, the DBD could follow these changes successfully.
Figure 7 shows the DBD-based prediction results for θ 2 . Since it was used as the shoulder angle, it was seen that there were significant prediction errors in the intervals of the 2nd and 4th seconds, the 6th and 8th seconds, and similarly the 14th and 16th seconds. Namely, DBD-based estimation seemed a bit insufficient in predicting instantaneous changes in the time intervals mentioned. This situation showed that an unexpected position difference would occur in serial chemical application between the fabric where the chemical would be sprayed and the ideal position.
The DBD-based prediction results of θ 3 , which performed the elbow function in the human structure, are demonstrated in Figure 8. Since the shoulder angle appearing after the angular change was used as the next period angle at the same time, instantaneous changes in the time intervals of the first and second seconds and also the fourth and sixth seconds were observed. It could be concluded that significant spray errors would be observed, especially in the time interval of the fourth and sixth seconds, in serial chemical applications. On the other hand, despite the errors that occurred during instantaneous angular changes, the prediction performance seemed successful outside of these two time intervals.
The θ 4 joint angle corresponded to the rotation angle of the robot gripper. When the DBD-based prediction results were analyzed, it could be emphasized that the theoretical data could be predicted with high accuracy even in the intervals of the 4th and 6th seconds and the 8th and 10th seconds at which instantaneous angular changes appeared.
Especially the fifth joint angle had an important role in positioning structure and rotation angle, and even small prediction errors for θ 5 were not acceptable. First, instantaneous angular changes occurred in the intervals of the 4th and 5th seconds and similarly in the 10th and 12th seconds, as seen in Figure 10. As a result of these instantaneous angular changes, it was seen that deviations with too small magnitudes were occurring in the DBD-based prediction results. When the prediction performance was evaluated in a general manner, it could be expressed that DBD could successfully predict the theoretical data for θ 5 .
Figure 11 shows the prediction results obtained for θ 6 , which was the last rotation angle of the robot manipulator. It was seen that small prediction errors were almost non-existent for the sixth joint angle. The reason of this could be expressed as no instantaneous angular changes were occurring during the entire time interval.
The analysis results obtained for the OBP learning algorithm are given in Figure 12, Figure 13, Figure 14, Figure 15, Figure 16 and Figure 17. The prediction performance for the θ 1 joint angle is presented in Figure 12. From the figure, it is seen that OBP was able to produce superior prediction results for the first joint angle, which was the body rotation angular of the robot manipulator. In other words, no instantaneous angular changes were occurring, and the OBP-based results converged to the theoretical results with high accuracy during the entire time interval.
In Figure 13, the prediction performance of the OBP learning algorithm is shown for the θ 2 joint angle, which corresponded to the shoulder angle. It was seen that there were significant prediction errors in the time intervals of the 2nd and 4th seconds, the 6th and 8th seconds, and the 11th and 16th seconds due to the instantaneous angular changes. These angular differences would cause the chemical spraying process to be carried out with incorrect angle values.
Figure 14 demonstrates the OBP-based prediction results obtained for θ 3 , which was the third joint angle of the robot manipulator. Since the shoulder angle obtained after the angular change was used as the next period angle at the same time, it was observed that significant deviations from the theoretical data appeared in the time intervals of the 1st and 2nd seconds, the 4th and 6th seconds, and also the 11th and 16th seconds. As a result, it could be emphasized that the prediction performance for the third joint angle seemed insufficient when the OBP learning algorithm was used. In contrast, OBP was able to provide better prediction performances outside of the time intervals that included instantaneous angular changes.
In Figure 15, the simulation results produced by OBP in the prediction of the θ 4 joint angle are presented. From the results, it could be expressed that the rotation angle of the robot gripper could successfully be predicted with high accuracy via the OBP learning algorithm. However, although instantaneous angular changes had no significant effect, it was seen that prediction errors were occurring between the theoretical and ANN approach at certain rates in the time intervals of the 4th and 6th seconds and the 14th and 16th seconds.
The θ 5 joint angle was extremely important for the positioning of the end effector used in the chemical spray system. Due to its critical role in optimizing the positioning structure of the entire system, even small prediction errors were not acceptable for this angle as mentioned before. As seen from the prediction results given in Figure 16, deviations with too small magnitudes occurred especially in the time intervals of the 3rd and 6th seconds and the 10th and 13th seconds.
As seen from Figure 17, which represents the OBP-based prediction results obtained for θ 6 , an excellent prediction performance could be provided. The limited number of instantaneous position changes in the theoretical data ensured an effective prediction process during the entire time interval.
The prediction performance of the QBP learning algorithm in terms of the joint angles is represented in Figure 18, Figure 19, Figure 20, Figure 21, Figure 22 and Figure 23. Figure 18 proves that QBP was able to provide an excellent prediction performance for θ 1 during the entire time interval, including instantaneous angular changes.
QBP-based prediction results for the robot manipulator shoulder angle θ 2 are shown in Figure 19. As can be seen from the figure, there were significant prediction errors especially in the time intervals of the 2nd and 4th seconds, the 6th and 8th seconds, and the 14th and 16th seconds due to the effects of instantaneous angular changes. In other words, the prediction results for θ 2 should not be used directly in serial chemical applications.
Figure 20 demonstrates the QBP-based prediction results for the θ 3 joint angle, which simulated the elbow function of humans. Due to the instantaneous angular changes in the time intervals of the 1st and 2nd seconds, the 4th and 6th seconds, and the 11th and 14th seconds, the theoretical data could not be predicted successfully. As a result, it could be emphasized that the prediction for the third joint angle was not very effective, and the performance of the QBP seemed insufficient at the relevant time intervals.
In Figure 21, the QBP prediction results obtained for the θ 4 joint angle are given. In general, it could be said that the QBP could successfully converge to the theoretical data except the time intervals of the 4th and 6th seconds and the 14th and 16th seconds. On the other hand, it could also be stated that the deviations from the theoretical data were occurring with too small magnitudes in the relevant time intervals.
Due to its importance as mentioned before, the prediction of the θ 5 joint angle with high accuracy was crucial. Figure 22 represents the prediction performance of the QBP learning algorithm. Due to the effect of instantaneous angular changes, it was seen that prediction errors with small magnitudes were occurring between the theoretical data and the QBP approach in the time intervals of the 4th and 6th seconds and the 10th and 12th seconds. When the prediction performance was evaluated in a general manner, it could be expressed that QBP could successfully predict the theoretical data for θ 5 .
When the proposed QBP-based approach was applied to the prediction of the sixth joint angle, it was seen that θ 6 could successfully be predicted. As seen from Figure 23, QBP was able to produce a prediction performance that almost overlapped with the theoretical data during the entire time interval. The reason for this situation may be expressed as the lack of instantaneous angular changes or their occurrence with too small magnitudes.
Figure 24, Figure 25, Figure 26, Figure 27, Figure 28 and Figure 29 represent the analysis results obtained by using the RBP learning algorithm. As seen from Figure 24, which shows the modeling performance for θ 1 , RBP was able to predict the theoretical data with high accuracy. Although there were instantaneous angular changes at the fourth and sixth seconds, the RBP could also converge to these changes successfully.
Figure 25 demonstrates the RBP-based prediction results for θ 2 . As seen from the figure, the deviations with high amplitudes from the theoretical data were occurring during the entire time interval. θ 2 corresponded to the shoulder angle of the robot manipulator, and it was seen that the prediction performance of the RBP in terms of θ 2 decreased significantly as a result of the instantaneous angular changes. In other words, it would be inevitable that the lack of high prediction performance for the second joint angle would cause significant errors in chemical applications in the production process.
In Figure 26, the prediction results obtained for θ 3 by using the RBP-based ANN are shown. As in the prediction process of the second joint angle, the RBP produced worse prediction results during the entire time interval and also could not converge to the theoretical data of the θ 3 joint angle enough. Namely, the basic RBP learning algorithm seemed insufficient in predicting the theoretical data of the third joint angle.
In predicting the θ 4 joint angle, the RBP learning algorithm could not provide a completely adequate performance as shown in Figure 27. Especially, deviations having high magnitudes from the theoretical data were occurring in the time intervals of the 1st and 2nd seconds, the 11th and 13th seconds, and the 15th and 16th seconds due to the instantaneous angular changes. In addition, deviations having small magnitudes were also observed in the time intervals of the 4th and 7th seconds and the 8th and 11th seconds.
The RBP-based prediction performance for the θ 5 joint angle is shown in Figure 28. Due to the effects of instantaneous angular changes, it was seen that prediction errors were occurring at unacceptable rates between the theoretical and RBP approaches in the time intervals of the 3rd and 7th seconds and the 9th and 16th seconds.
The prediction results obtained for θ 6 are shown in Figure 29. From the figure, it can be seen that the RBP learning algorithm was able to provide an effective prediction performance during the entire time interval except the 11th and 14th seconds. It can also be concluded that the lack of instantaneous angular changes or their occurrence with too small magnitudes resulted in an effective prediction performance.
In order to present a more detailed analysis, in addition to the 3-10-6 ANN network structure including 10 nonlinear cells in the hidden layer, the performance of the 3-5-6 network structure, which included five nonlinear cells in its hidden layer, was also analyzed. The performances of the network structures were compared in terms of RMSE and statistical R2 metrics. The results obtained for RMSE are presented in Table 3. From the results, it was seen that that the network structure including five nonlinear cells in its hidden layer could provide a faster learning effect. However, it was also seen that as the number of nonlinear cells in the hidden layer decreased, the error performance and therefore the prediction performance decreased. When the results were evaluated in general, it could be expressed that the QBP produced the best prediction results for the 3-10-6 network structure, while the DBD produced the best prediction results for 3-5-6 network structure.
The statistical performances of the improved ANN network structures are another important performance metric. In this study, the R2 statistical analysis approach was applied to test the reliability and stability of the obtained results. In Equation (8) given for R2,
R 2 = 1   ( i d e a l i i d e ^ a l i ) 2 ( i d e a l i i d e ˜ a l i ) 2
i d e a l i can be defined as the ideal values of the joint angles; i d e ^ a l i represents the joint angle values obtained from the regression equation, and finally, i d e ˜ a l i is the mean value of the ideal joint angles. The value of the R2 parameter changed in the interval of [0, 1]. The R2 values close to 1 proved the effectiveness of the model. From Table 4, which represents the statistical performances of each algorithm, it can be concluded that all the learning algorithms were able to provide statistically superior performance. In other words, each learning algorithm exhibited stable behavior by converging to approximately the same results at each run.

4. Conclusions

In this study, ANN-based positioning analyses were carried out to predict the joint angles of a 6-DOF industrial robot manipulator system for trajectory analysis. DBD, OBP, QBP, and RBP learning algorithm-based ANN network structures were improved and then applied for the prediction of six joint angles with high accuracy. The applicability of ANNs in multi-DOF robot manipulator trajectory prediction was demonstrated, and the superiority of ANN-based approaches in trajectory prediction was proved.
In addition to the 3-10-6 type ANN structure, the 3-5-6 type ANN structure was also improved and applied to the prediction trajectory analysis. The simulation results obtained for the 3-10-6 type ANN structure represented that all learning algorithms could successfully predict the θ 1 , θ 4 , θ 5 , and θ 6 joint angles with high accuracy. When the prediction results obtained for these joint angles were examined, it was seen that instantaneous deviations were occurring only at certain time intervals and with low magnitudes. On the other hand, the prediction performances of the algorithms for θ 2 and θ 3 seemed too weak due to the instantaneous deviations with high magnitudes that occurred during the entire time interval.
In order to present a detailed performance comparison between the 3-10-6 and 3-5-6 type ANN structures, the RMSE and the reached statistical R2 values were also compared. The mean and maximum RMSE values reached by the algorithms represented that QBP produced the best results for the 3-10-6 ANN structure, and DBD produced the best results for the 3-5-6 ANN structure. When the results were evaluated in terms of the RMSE performance, it could be expressed that RBP produced the worst results among the four learning algorithms. The R2 values reached by the algorithms showed that each learning algorithm was able to produce similar statistical performances, but the reliability and stability of the DBD-based ANN structure seemed a bit better when compared with other learning algorithms.
Consequently, it can be stated that the ANN-based approaches proposed in this study can be used effectively even in the optimal trajectory analysis of real-time robot manipulators operating under large disturbances.
In future studies, deep learning-based controllers will be improved to optimize the trajectory of multi-DOF robot manipulators. Especially, it will be aimed to construct deep learning-based models for the robot manipulators having more than 6 DOF.

Author Contributions

Conceptualization, M.B.Ç., K.Y., and Ş.Y.; methodology, M.B.Ç., K.Y., and Ş.Y.; software, M.B.Ç., K.Y., and Ş.Y.; validation, K.Y.; formal analysis, M.B.Ç., K.Y., and Ş.Y.; investigation, M.B.Ç., K.Y., and Ş.Y.; writing—original draft preparation, K.Y.; writing—review and editing, M.B.Ç. and Ş.Y. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Data are contained within the article.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Saad, M.; Dessaint, L.A.; Bigras, P.; Al Haddad, K. Adaptive versus neural adaptive control: Application to robotics. Int. J. Adapt. Control Signal Process. 1994, 8, 223–236. [Google Scholar] [CrossRef]
  2. Bonev, I.A.; Ryu, J. A geometrical method for computing the constant-orientation workspace of 6-PRRS parallel manipulators. Mech. Mach. Theory 2001, 36, 1–13. [Google Scholar] [CrossRef]
  3. Bonev, I.A.; Ryu, J.; Kim, S.G.; Lee, S.K. A closed-form solution to the direct kinematics of nearly general parallel manipulators with optimally located three linear extra sensors. IEEE Trans. Robot. Autom. 2001, 17, 148–156. [Google Scholar] [CrossRef]
  4. Bonev, I.A.; Zlatanov, D.; Gosselin, C.M. Singularity analysis of 3-DOF planar parallel mechanisms via screw theory. ASME J. Mech. Des. 2003, 125, 573–581. [Google Scholar] [CrossRef]
  5. Tonbul, T.S.; Sarıtaş, M. Beş eksenli bir edubot robot kolunda ters kinematik hesaplamalar ve yörünge planlaması. Gazi Üniverditesi Mühendislik Mimar. Fakültesi Derg. 2003, 18, 145–167. [Google Scholar]
  6. Khayati, K.; Bigras, P.; Dessaint, L.A. A multi-stage position/force control for constrained robotic systems with friction: Joint-space decomposition, linearization and multi-objective observer/controller synthesis using lmi formalism. IEEE Trans. Ind. Electron. 2006, 53, 1698–1712. [Google Scholar] [CrossRef]
  7. Lessard, S.; Bigras, P.; Bonev, I.A. A new medical parallel robot and its static balancing optimization. J. Med. Devices 2007, 1, 272–278. [Google Scholar] [CrossRef]
  8. Karahan, O. S60 Robotunun Dinamik Modelinin Çıkarılması. Master’s Thesis, University of Kocaeli, İzmit, Turkey, 2007. [Google Scholar]
  9. Janvier, M.A.; Durant, L.G.; Roy Cardinal, M.H.; Renaud, I.; Chayer, B.; Bigras, P.; Guise, J.; Soulez, G.; Cloutier, G. Performance evaluation of a medical robotic 3D-ultrasound imaging system. Med. Image Anal. J. 2007, 12, 275–290. [Google Scholar] [CrossRef] [PubMed]
  10. Bigras, P.; Lambert, M.; Perron, C. New optimal formulation for an industrial robot force controller. Int. J. Robot. Autom. 2008, 23, 199–208. [Google Scholar] [CrossRef]
  11. Yu, A.; Bonev, I.A.; Zsombor-Murray, P. Geometric approach to the accuracy analysis of a class of 3-DOF planar parallel robots. Mech. Mach. Theory 2008, 43, 364–375. [Google Scholar] [CrossRef]
  12. Briot, S.; Bonev, I.A. A new fully decoupled 3-DOF translational parallel robot for pick-and-place applications. J. Mech. Robot. 2008, 1, 021001. [Google Scholar] [CrossRef]
  13. Liu, X.J.; Bonev, I.A. Orientation capability, error analysis and dimension optimization of two articulated tool heads with parallel kinematics. J. Manuf. Sci. Eng. 2008, 130, 1–25. [Google Scholar] [CrossRef]
  14. Briot, S.; Bonev, I.A. Accuracy analysis of 3-DOF planar parallel robots. Mech. Mach. Theory 2008, 43, 445–458. [Google Scholar] [CrossRef]
  15. Perez, J.; Perez, J.P.; Soto, R.; Flores, A.; Rodriguez, F.; Meza, J.L. Trajectory tracking error using PID control law for two-link robot manipulator via adaptive neural networks. Procedia Technol. 2012, 3, 139–146. [Google Scholar]
  16. Tang, S.H.; Ang, C.K.; Ariffin, M.K.A.; Mashohor, S.B. Predicting the motion of a robot manipulator with unknown trajectories based on an artificial neural network. Int. J. Adv. Robot. Syst. 2014, 11, 176. [Google Scholar] [CrossRef]
  17. Pham, C.V.; Wang, Y.N. Robust adaptive trajectory tracking sliding mode control based on neural networks for cleaning and detecting robot manipulators. J. Intell. Robot. Syst. 2015, 79, 101–114. [Google Scholar] [CrossRef]
  18. Moldovan, L.; Grif, H.È.; Gligor, A. ANN based inverse dynamic model of the 6-PGK parallel robot manipulator. Int. J. Comput. Commun. Control 2016, 11, 90–104. [Google Scholar] [CrossRef]
  19. Mahajan, A.; Singh, H.P.; Sukavanam, N. An unsupervised learning based neural network approach for a robotic manipulator. Int. J. Inf. Technol. 2017, 9, 1–6. [Google Scholar] [CrossRef]
  20. Son, N.N.; Anh, H.P.H.; Chau, T.D. Adaptive neural model optimized by modified differential evolution for identifying 5-DOF robot manipulator dynamic system. Soft Comput. 2018, 22, 979–988. [Google Scholar] [CrossRef]
  21. Liu, C.; Zhao, Z.; Wen, G. Adaptive neural network control with optimal number of hidden nodes for trajectory tracking of robot manipulators. Neurocomputing 2019, 350, 136–145. [Google Scholar] [CrossRef]
  22. Şeker, M.Y.; Tekden, A.E.; Uğur, E. Deep effect trajectory prediction in robot manipulation. Robot. Auton. Syst. 2019, 119, 173–184. [Google Scholar] [CrossRef]
  23. Wang, F.; Chao, Z.Q.; Huang, L.B.; Li, H.Y.; Zhang, C.Q. Trajectory tracking control of robot manipulator based on RBF neural network and fuzzy sliding mode. Clust. Comput. 2019, 22, 5799–5809. [Google Scholar] [CrossRef]
  24. Truong, L.V.; Huang, S.D.; Yen, V.T.; Cuong, P.V. Adaptive trajectory neural network tracking control for industrial robot manipulators with deadzone robust compensator. Int. J. Control Autom. Syst. 2020, 18, 2423–2434. [Google Scholar] [CrossRef]
  25. Yang, C.; Huang, D.; He, W.; Cheng, L. Neural control of robot manipulators with trajectory tracking constraints and input saturation. IEEE Trans. Neural Netw. Learn. Syst. 2020, 32, 4231–4242. [Google Scholar] [CrossRef] [PubMed]
  26. Nubert, J.; Köhler, J.; Berenz, V.; Allgöwer, F.; Trimpe, S. Safe and fast tracking on a robot manipulator: Robust MPC and neural network control. IEEE Robot. Autom. Lett. 2020, 5, 3050–3057. [Google Scholar] [CrossRef]
  27. Elsisi, M.; Mahmoud, K.; Lehtonen, M.; Darwish, M.M.F. An improved neural network algorithm to efficiently track various trajectories of robot manipulator arms. IEEE Access 2021, 9, 11911–11920. [Google Scholar] [CrossRef]
  28. Song, Q.; Li, S.; Bai, Q.; Yang, J.; Zhang, A.; Zhang, X.; Zhe, L. Trajectory planning of robot manipulator based on RBF neural network. Entropy 2021, 23, 1207. [Google Scholar] [CrossRef] [PubMed]
  29. Liu, A.; Zhao, H.; Song, T.; Liu, Z.; Wang, H.; Sun, D. Adaptive control of manipulator based on neural network. Neural Comput. Appl. 2021, 33, 4077–4085. [Google Scholar] [CrossRef]
  30. Shi, X.; Guo, Y.; Chen, X.; Chen, Z.; Yang, Z. Kinematics and singularity analysis of a 7-DOF redundant manipulator. Sensors 2021, 21, 7257. [Google Scholar] [CrossRef] [PubMed]
  31. Kouritem, S.A.; Abouheaf, M.I.; Nahas, N.; Hassan, M. A multi-objective optimization design of industrial robot arms. Alex. Eng. J. 2022, 61, 12847–12867. [Google Scholar] [CrossRef]
  32. Qie, X.; Kang, C.; Zong, G.; Chen, S. Trajectory planning and simulation study of redundant robotic arm for upper limb rehabilitation based on back propagation neural network and genetic algorithm. Sensors 2022, 22, 4071. [Google Scholar] [CrossRef] [PubMed]
  33. Lu, J.; Zou, T.; Jiang, X. A neural network based approach to inverse kinematics problem for general six-axis robots. Sensors 2022, 22, 8909. [Google Scholar] [CrossRef] [PubMed]
  34. Bao, D.; Liang, X.; Ge, S.S.; Hou, B. Adaptive neural trajectory tracking control for n-DOF robotic manipulators with state constraints. IEEE Trans. Ind. Inform. 2023, 19, 8039–8048. [Google Scholar] [CrossRef]
  35. Shi, Q.; Li, C.; He, R.; Zhu, X.; Duan, X. Fixed-time recurrent NN learning control of uncertain robotic manipulators with time-varying constraints: Experimental verification. Sensors 2023, 23, 5614. [Google Scholar] [CrossRef]
  36. Xu, S.; Wu, Z. Adaptive learning control of robot manipulators via incremental hybrid neural network. Neurocomputing 2024, 568, 127045. [Google Scholar] [CrossRef]
  37. Craig, J.J. Introduction to Robotics: Mechanics and Control, 3rd ed.; Pearson: Hoboken, NJ, USA, 2005; pp. 101–135. [Google Scholar]
  38. Universal Robots. Available online: https://www.universal-robots.com/tr/urunler/ur5-robot/ (accessed on 30 May 2024).
Figure 1. Classical human-based chemical spraying process on denim textile.
Figure 1. Classical human-based chemical spraying process on denim textile.
Sensors 24 04416 g001
Figure 2. Representation of the proposed 6-DOF industrial robot and its rotation axes.
Figure 2. Representation of the proposed 6-DOF industrial robot and its rotation axes.
Sensors 24 04416 g002
Figure 3. Robot manipulator and each joint axes sets.
Figure 3. Robot manipulator and each joint axes sets.
Sensors 24 04416 g003
Figure 4. The proposed artificial neural network representation.
Figure 4. The proposed artificial neural network representation.
Sensors 24 04416 g004
Figure 5. ANN-based modeling of a robot manipulator.
Figure 5. ANN-based modeling of a robot manipulator.
Sensors 24 04416 g005
Figure 6. DBD learning algorithm-based prediction results for the first joint angle.
Figure 6. DBD learning algorithm-based prediction results for the first joint angle.
Sensors 24 04416 g006
Figure 7. DBD learning algorithm-based prediction results for the second joint angle.
Figure 7. DBD learning algorithm-based prediction results for the second joint angle.
Sensors 24 04416 g007
Figure 8. DBD learning algorithm-based prediction results for the third joint angle.
Figure 8. DBD learning algorithm-based prediction results for the third joint angle.
Sensors 24 04416 g008
Figure 9. DBD learning algorithm-based prediction results for the fourth joint angle.
Figure 9. DBD learning algorithm-based prediction results for the fourth joint angle.
Sensors 24 04416 g009
Figure 10. DBD learning algorithm-based prediction results for the fifth joint angle.
Figure 10. DBD learning algorithm-based prediction results for the fifth joint angle.
Sensors 24 04416 g010
Figure 11. DBD learning algorithm-based prediction results for the sixth joint angle.
Figure 11. DBD learning algorithm-based prediction results for the sixth joint angle.
Sensors 24 04416 g011
Figure 12. OBP learning algorithm-based prediction results for the first joint angle.
Figure 12. OBP learning algorithm-based prediction results for the first joint angle.
Sensors 24 04416 g012
Figure 13. OBP learning algorithm-based prediction results for the second joint angle.
Figure 13. OBP learning algorithm-based prediction results for the second joint angle.
Sensors 24 04416 g013
Figure 14. OBP learning algorithm-based prediction results for the third joint angle.
Figure 14. OBP learning algorithm-based prediction results for the third joint angle.
Sensors 24 04416 g014
Figure 15. OBP learning algorithm-based prediction results for the fourth joint angle.
Figure 15. OBP learning algorithm-based prediction results for the fourth joint angle.
Sensors 24 04416 g015
Figure 16. OBP learning algorithm-based prediction results for the fifth joint angle.
Figure 16. OBP learning algorithm-based prediction results for the fifth joint angle.
Sensors 24 04416 g016
Figure 17. OBP learning algorithm-based prediction results for the sixth joint angle.
Figure 17. OBP learning algorithm-based prediction results for the sixth joint angle.
Sensors 24 04416 g017
Figure 18. QBP learning algorithm-based prediction results for the first joint angle.
Figure 18. QBP learning algorithm-based prediction results for the first joint angle.
Sensors 24 04416 g018
Figure 19. QBP learning algorithm-based prediction results for the second joint angle.
Figure 19. QBP learning algorithm-based prediction results for the second joint angle.
Sensors 24 04416 g019
Figure 20. QBP learning algorithm-based prediction results for the third joint angle.
Figure 20. QBP learning algorithm-based prediction results for the third joint angle.
Sensors 24 04416 g020
Figure 21. QBP learning algorithm-based prediction results for the fourth joint angle.
Figure 21. QBP learning algorithm-based prediction results for the fourth joint angle.
Sensors 24 04416 g021
Figure 22. QBP learning algorithm-based prediction results for the fifth joint angle.
Figure 22. QBP learning algorithm-based prediction results for the fifth joint angle.
Sensors 24 04416 g022
Figure 23. QBP learning algorithm-based prediction results for the sixth joint angle.
Figure 23. QBP learning algorithm-based prediction results for the sixth joint angle.
Sensors 24 04416 g023
Figure 24. RBP learning algorithm-based prediction results for the first joint angle.
Figure 24. RBP learning algorithm-based prediction results for the first joint angle.
Sensors 24 04416 g024
Figure 25. RBP learning algorithm-based prediction results for the second joint angle.
Figure 25. RBP learning algorithm-based prediction results for the second joint angle.
Sensors 24 04416 g025
Figure 26. RBP learning algorithm-based prediction results for the third joint angle.
Figure 26. RBP learning algorithm-based prediction results for the third joint angle.
Sensors 24 04416 g026
Figure 27. RBP learning algorithm-based prediction results for the fourth joint angle.
Figure 27. RBP learning algorithm-based prediction results for the fourth joint angle.
Sensors 24 04416 g027
Figure 28. RBP learning algorithm-based prediction results for the fifth joint angle.
Figure 28. RBP learning algorithm-based prediction results for the fifth joint angle.
Sensors 24 04416 g028
Figure 29. RBP learning algorithm-based prediction results for the sixth joint angle.
Figure 29. RBP learning algorithm-based prediction results for the sixth joint angle.
Sensors 24 04416 g029
Table 1. The technical properties of the Universal Robots UR5e model 6-DOF robot manipulator.
Table 1. The technical properties of the Universal Robots UR5e model 6-DOF robot manipulator.
Weight18.4 kg
Payload capacity5 kg
Reachability distance850 mm
Max-Min rotation angles +/− 360° at all joints
Angular velocityJoints—maximum 180° per second
Vehicle—about 1 m per second
Repeatability+/− 0.1 mm
Volume diameterØ 149 mm
Number of joints6 rotational joints
Control box size475 mm × 423 mm × 268 mm (W × H × D)
I/O ports18 digital inputs, 18 digital outputs, 4 analog inputs, 2 analog outputs
I/O power supply24V-2A in control box and 12V/24V-600 mA in vehicle
CommunicationTCP/IP—Modbus TCP
ProgrammingPolyscope graphical user interface on 12-inch touch screen
NoiseLow noise levels
IP classificationIP54
Power consumption 200 W
MaterialsAluminum, PP plastic
Working temperatures0–50 °C
Power source100–240 V (AC), 50–60 Hz
Table 2. D-H parameters of the Universal Robots UR5e model 6-DOF robot manipulator.
Table 2. D-H parameters of the Universal Robots UR5e model 6-DOF robot manipulator.
Number of JointTwo Link Twist Axes AngleLink LengthLink OffsetJoint AngleJoint Variable
iαi−1ai−1diΘidi or Θi
10L10Θ1Θ1
20L20Θ2Θ2
30L30Θ3Θ3
40L40Θ4Θ4
50L50Θ5Θ5
60L60Θ6Θ6
Table 3. Performance comparison of the used ANN network structures.
Table 3. Performance comparison of the used ANN network structures.
Learning AlgorithmANN Network StructureMean RMSE
(Training)
Maximum RMSE
(Training)
Mean RMSE
(Test)
Maximum RMSE
(Test)
DBD3-10-60.4273281.208200.4185761.20820
OBP3-10-60.4858621.206000.5077291.20600
QBP3-10-60.3731761.190470.3740581.19047
RBP3-10-61.2100402.868771.2670801.27537
DBD3-5-60.7263051.604020.7348761.34779
OBP3-5-60.8261761.732260.8043281.73226
QBP3-5-60.8786701.986180.9116341.98618
RBP3-5-61.3858302.721131.5237902.72113
Table 4. R2 values obtained for each learning algorithm.
Table 4. R2 values obtained for each learning algorithm.
Learning AlgorithmANN Network Structure R 2
θ 1 θ 2 θ 3 θ 4 θ 5 θ 6
DBD3-10-60.999970.999380.997730.999320.999960.99996
OBP3-10-60.999960.998700.993100.999530.999950.99990
QBP3-10-60.999000.998700.993100.999530.999950.99990
RBP3-10-60.999000.989520.987090.994260.999340.99910
DBD3-5-60.999570.997340.993490.998530.999460.99985
OBP3-5-60.999500.998030.993550.998240.999330.99933
QBP3-5-60.999930.996020.994490.995950.999940.99995
RBP3-5-60.999220.976550.966930.993600.999150.99854
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Çetinkaya, M.B.; Yildirim, K.; Yildirim, Ş. Trajectory Analysis of 6-DOF Industrial Robot Manipulators by Using Artificial Neural Networks. Sensors 2024, 24, 4416. https://doi.org/10.3390/s24134416

AMA Style

Çetinkaya MB, Yildirim K, Yildirim Ş. Trajectory Analysis of 6-DOF Industrial Robot Manipulators by Using Artificial Neural Networks. Sensors. 2024; 24(13):4416. https://doi.org/10.3390/s24134416

Chicago/Turabian Style

Çetinkaya, Mehmet Bahadır, Kürşat Yildirim, and Şahin Yildirim. 2024. "Trajectory Analysis of 6-DOF Industrial Robot Manipulators by Using Artificial Neural Networks" Sensors 24, no. 13: 4416. https://doi.org/10.3390/s24134416

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