Next Article in Journal
A Blockchain-Based OCF Firmware Update for IoT Devices
Previous Article in Journal
Numerical and Experimental Studies of the ŁK Type Shaped Charge
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Systematic Error Compensation Strategy Based on an Optimized Recurrent Neural Network for Collaborative Robot Dynamics

1
Guangzhou Institute of Advanced Technology, Chinese Academy of Science, Guangzhou 511458, China
2
School of Mechanical Engineering and Electronic Information, China University of Geosciences, Wuhan 430074, China
3
Department of Robot Engineering, ERICA Campus, Hanyang University, Gyeonggi-do 426-791, Korea
*
Author to whom correspondence should be addressed.
Appl. Sci. 2020, 10(19), 6743; https://doi.org/10.3390/app10196743
Submission received: 10 August 2020 / Revised: 18 September 2020 / Accepted: 22 September 2020 / Published: 26 September 2020
(This article belongs to the Section Robotics and Automation)

Abstract

:

Featured Application

This research is mainly related to the simulation and control of the collaborative robot. It helps to build a more precise simulation model, design the advanced control algorithm, and achieve human-robot collaborative application with higher accuracy and more safely.

Abstract

Robot dynamics and its parameter identification are of great significance to the realization of optimal control and human–machine interaction. The objective of this research is to address the shortcomings of establishing and identifying the self-developed six-degree-of-freedom (6-DoF) collaborative robot dynamics, which leads to a large error in the predicted torque of the proposed robot. A long short-term memory (LSTM) in an optimized recurrent neural network (RNN) is proposed to compensate the dynamic model of the proposed 6-DoF collaborative robot based on the consideration of gravity, Coriolis force, inertial force, and friction force. The analysis and experimental findings provide promising results. The compensated collaborative robot dynamic model based on LSTM in an optimized RNN displays a good prediction on the actual torque, and the root-mean-square (RMS) error between predicted and actual torques are reduced by 61.8% to 78.9% compared to the traditional dynamic model. Results of the experimental applications demonstrate the validity of the proposed systematic error compensation strategy.

1. Introduction

An accurate robot dynamic model can be used as the basis for building simulation models, verifying advanced control algorithms, and performing in-depth analysis of control systems [1]. With the rising requirements of dynamic performance and the concept of collaborative robots, conventional model-free control methods, such as the proportion integral differential (PID) control, not only exhibit low trajectory tracking accuracy and poor anti-disturbance capabilities, but also present difficulty in implementing human–robot interaction tasks, such as collision detection and compliance control [2].
For dynamic models of multi-axis serial chain robots, gravity, Coriolis force, inertial force and friction are generally considered. However, the reducer flexibility, inertia force of motor rotors, etc. are rarely taken into consideration. In addition, a precise dynamic model of the robot manipulator relies heavily on an accurate friction model [3]. Accurate friction models cause some error between the calculated torque and the actual torque, which hinders the good realization of collision detection, lead-through programming, and compliance control. Many researchers have proposed different error compensation policies [4,5]. Machine learning methods, such as back propagation (BP) neural network [6] and radial basis function (RBF) network [7,8], are also used to fix or compensate errors. C Li et al. [9] present a novel dynamic modeling method by using a recurrent neural network (RNN) with an incomplete state system variables observation. The RNN family are also used for robotic manipulator model learning tasks [10] and approximating robot dynamical models [11,12]. However, studies with many kinds of complex characteristics combined are limited.
As for parameter identification, there is the disassembly measurement calculation method [13], the disassembly experiment measurement method [14], the non-disassembly experiment measurement method [15], and theoretical identification [16], etc. The disassembly method cannot, or has difficulty in, calculating the characteristics of robot joints [17]. The inertial tensor matrix obtained by the theoretical identification method may not necessarily be positive or definite under any form or situation. It is impossible to exist in practice, and its control is unstable [18].
To this end, an optimized RNN is proposed to compensate the error of the collaborative robot dynamic model, and the pipeline is as follows. First, the dynamic equations are established, and then the non-disassembly experimental measurement combined with the least square method is used to identify the parameters. Next, in order to tackle unmodeled characteristics or the inaccurate modeling of collaborative robots, an optimized RNN is put forward. With this method, the errors of the dynamic model are reduced, and accuracy of torque prediction is improved. In the final experiment, a motor current is used to evaluate the joint torque instead of mounting expensive and inconvenient torque sensors to fulfill the verification of the compensation method.
This paper is organized as follows: Section 2 presents the dynamic model of the self-developed six-degree-of-freedom (6-DOF) collaborative robot; Section 3 shows the excitation trajectory generation; Section 4 presents the error compensation by an optimized recurrent neural network; Section 5 shows the results of the experiment using a self-developed 6-DOF collaborative robot; Section 6 concludes the paper.

2. Dynamic Model of Collaborative Robot

The 3D model and Denavit-Hartenberg (D-H) diagram of the proposed collaborative robot are presented in Figure 1 and Figure 2, respectively. Note that the 2nd, 3rd, and 4th joint of the collaborative robot are parallel to each other, which proves the existence of a closed-form solution for inverse kinematics. Considering gravity, Coriolis force, inertial force and friction, the dynamic equation is derived by the Euler–Lagrangian method, and the driving torques of robot joint can be expressed as:
τ = M ( q )   q ¨   +   H ( q , q ˙ ) + G ( q ) + τ f
where q , q ˙ and q ¨ are the joint position vector, joint velocity vector and the joint acceleration vector, respectively; M(q) is the inertial matrix of the manipulator;   H ( q , q ˙ ) is the centrifugal force and Coriolis force matrix; G(q) is the gravity matrix; τ f is the friction force vector.
The friction mainly caused by the joint reducer and bearing is not negligible [18], which leads to a relatively large error in the calculated torque, especially when the velocity changes its direction; that is, near the zero-point of speed. Therefore, the Stribeck friction model is introduced, and the equation is simplified as below:
τ f = D q ˙ + μ   sgn ( q ˙ )
where D is the viscous friction coefficient vector and μ is the Coulomb friction coefficient.
According to Equations (1) and (2), Equation (3) can be obtained:
τ = M ( q )   q ¨ + H ( q , q ˙ ) + G ( q ) + D q ˙ + μ sgn ( q ˙ )
Equation (1) can be written in the following linear form:
τ r = Φ ( q , q ˙ , q ¨ ) θ + τ f
where Φ ( q , q ˙ , q ¨ ) is the observation matrix, which is only related to the joint position, velocity, acceleration, and the structure of the robot. θ is the basic inertial parameter vector, including mass, centroid and moment of inertia.
Due to the structure and installation of the collaborative robot, some elements in θ are redundant to the dynamic model and do not contribute to the joint torque when the collaborative robot is working, and so cannot be identified through experiment. Additionally, some elements are linearly related, and cannot be identified individually. Therefore, the parameters must be reorganized in order to obtain a minimum set of identification parameters, also known as the minimum inertial parameter set. Equation (3) should therefore be rewritten as:
τ r = Φ ( q , q ˙ , q ¨ ) θ r + τ f
where τ r is the reconstructed observation matrix, θ r is the minimum inertia parameter set vector.
Regarding the accuracy of the dynamic model and the compensation method for collaborative robots, the root-mean-square (RMS) error of the predicted torque (calculated torque) relative to the actual measured torque is used in order to evaluate this. Smaller RMS errors mean better dynamic models and compensation methods, otherwise they need to be improved.

3. Excitation Trajectory Generation

The measurement method of the non-disassembly experiment needs to drive the robot to obtain the required data. Considering the calculation accuracy and the experimental feasibility, the collaborative robot trajectory, especially the excitation trajectory, must fulfill various conditions, such as maximum moving range, speed, and the acceleration of each joint.
A six-axis robot has a highly complex dynamics calculation, and thus needs to be simplified. The identification of the dynamic parameters for each joint can be done individually, that is, when identifying the dynamic parameters of the last three joints, the other three joints can be locked. As a result, the difficulty of identification is greatly reduced and more targeted. The analysis, calculation, and experimental procedure of the first three joints is the same as the last three joints and can be done separately. Limited to this research process, this paper only focuses upon the dynamic parameters of the typical last three joints of the collaborative robot.
In the experiment, the first five terms of the Fourier series, namely Formula (6), are used as the excitation trajectory. Because it is a periodic function, it is convenient to repeat this experiment as many times as needed.
q i ( t ) = q i , 0 + k 5 ( a i , k sin ( k ω f t ) + b i , k cos ( k ω f t ) )
where q i ( t ) is the ith joint trajectory function of time t, ω f is the fundamental frequency, q i , 0 is a constant offset. Each trajectory contains 11 parameters, namely q i , 0 , a i , k , b i , k , and ω f = 1 (i = 1, 2, 3, 4, 5).
The quality of the excitation trajectory is closely related to the ability of the observation matrix to suppress noise and morbidity, which directly affects the accuracy of the identification parameters. Here, the objective function is defined as the condition number of the observation matrix W:
J = Cond ( W )
where Cond ( W ) = σ max ( W ) / σ min ( W ) , σ m a x ( W ) and σ m i n ( W ) are the maximum and minimum singular value of W, respectively.
The smaller the value of the objective function, the lower the sensitivity of the identification parameters to the measurement error is, and the higher the accuracy of parameters identification achieved by the experiment can be. Meanwhile, it is also necessary to consider the limitations of the actual robot performance. If the moving range, velocity, acceleration, and the status of start and stop points are taken as constraints, the optimization problem of the excitation trajectory can be described as:
{ min ( J ) q m i n | q i ( t ) | q m a x i , t ( a ) q ˙ m i n | q ˙ l ( t ) | q ˙ m a x i , t ( b ) q ¨ m i n | q ˙ l ( t ) | q ¨ m a x i , t ( c ) q i ( t 0 ) = q i ( t M ) = 0 i , t ( d ) q ˙ l ( t 0 ) = q ˙ l ( t M ) = 0 i , t ( e ) q ¨ l ( t 0 ) = q ¨ l ( t M ) = 0 i , t ( f )
where q m i n , q ˙ m i n , q ¨ m i n , q m a x , q ˙ m a x , q ¨ m a x are the boundary values of angle, speed and acceleration of each joint, respectively. t 0 , t M are the start and end times of each period, respectively. Since the excitation trajectories are Fourier series, both periodicity and continuity are ensured, and the constraints at the end time t M can also be omitted from the actual optimization calculation.
Equation (8) is a nonlinear, multi-constrained optimization problem, which can be optimized using NSGA and other target optimization algorithms [19]. The optimized excitation trajectory is shown in Figure 3. As evident in Figure 3, the shift of the 4th, the 5th, and the 6th joint smoothly change with time. The start and end points of the curves are all zero, and the amplitude is relatively large, but does not exceed the limitation. This optimized trajectory will be used for the experiments in Section 5.
When it comes to the test set, a different excitation trajectory can be generated by adding a new constraint based on Equation (6). To apply a new constraint q i ( t = 3.8 ) = 0 , the test set trajectory is shown in Figure 4.
As detailed in Figure 4, the curve of the test set data is smooth and continuous, and there is enough difference compared to the training set shown in Figure 3. The generalization ability of the network can be tested while making full use of the collaborative robot performance. The zero-point set at t = 3.8 s can be used to check the zero-point error during the experiment, and could help to monitor the working state of the collaborative robot.
In the subsequent experiment stage, the robot will follow the trajectory presented in Figure 3 and Figure 4. When the robot is moving, a controller collects the actual position, velocity, and acceleration. These data generate the training set F t r and the test set F t e . Each of the data sets contain calculated torque (predicted torque), actual torque, and the actual position of every joint at each moment. The predicted torque is calculated using Equation (5).

4. Error Compensation by RNN

RNN is a set of neural networks used to process sequence data, and the long short-term memory (LSTM) unit network is used to solve the problems of long-term dependency and gradient explosion/disappearance in the early-time RNN. LSTM has made great progress in the preservation of historical information and in the prediction of future information [20]. This study will further explore the application of LSTM in collaborative robot dynamics.
The kinematic and dynamic data of collaborative robots represent continuous series in time. Some errors, such as the memory effect of friction and the time-varying characteristics of motor parameters caused by temperature changing, are very suitable to be compensated by LSTM networks. In this study, LSTM cell units with cell state and gate structure are used to achieve a better compensation effect.
The detail of an LSTM cell unit is shown in Figure 5, which adds a cell state vector C and related gate structure. It can better solve the problem of gradient explosion and gradient disappearance in ordinary RNN cells by controlling forgetting and memory. The forward calculation process is:
{ f t = σ ( W f · [ h t 1 , x t ] + b f ) i t = σ ( W i · [ h t 1 , x t ] + b i ) C ˜ t = tanh ( W C · [ h t 1 , x t ] + b C ) C t = f t C t 1 + i t C ˜ t o t = σ ( W o [ h t 1 , x t ] + b o ) h t = o t tanh ( C t )
The training method of an LSTM network is Back Propagation Through Time (BPTT), which is similar to BP algorithm, including the steps of forward calculation, reverse calculation, computing gradient, and updating parameters.
There are many types of gradient-based optimization algorithms. In this paper, the Adaptive Momentum Estimation (Adam) algorithm is adopted [21]. This algorithm is an effective gradient-based stochastic optimization method, which can calculate adaptive learning rates for different parameters, and takes up less storage resources. Compared with other stochastic optimization methods, the Adam algorithm performs better in most practical applications [22].
A pipeline of LSTM network-based collaborative robot dynamic compensation is depicted in Figure 6. As detailed in Figure 6, this pipeline includes LSTM network, data set generation, and network training methods. The input and output layers of the LSTM network are fully connected networks, and the hidden layer consists of LSTM cell units. The main steps are:
(1)
Collect raw data (position, velocity, acceleration, torque);
(2)
Raw data are used by the dynamic model to predict the torque, i.e., the uncompensated predicted torque;
(3)
The original data of both training set and test set are normalized, including uncompensated predicted torque, actual torque and actual position;
(4)
The training set feeds into the fully connected input layer;
(5)
Iterative calculation in the hidden layer;
(6)
Output layer gives the predicted torque after LSTM compensation, i.e., the compensated predicted torque;
(7)
The loss is RMS error of the compensated predicted torque relative to the actual measured torque;
(8)
Optimize the network parameters by Adam optimizer;
(9)
Apply the updated weight;
(10)
The test set calculates the compensated predicted torque through the network and evaluates the compensation effect.
The LSTM network is implemented based on Tensorflow 1.15.0, an open source machine learning platform. According to experience and actual conditions, hyper-parameters of the network are listed in Table 1.
The input vector includes calculated torque, actual torque and the actual position of the 4th, 5th, and 6th joint at each moment. The output vector includes the predicted moments of the next moment of the 4th, 5th, and 6th joint. The cell size of the network is selected according to the amount of system characteristics and data. The loss function is the RMS error of the predicted torque relative to the actual torque at each moment, namely:
Loss = 1 N i = 1 N ( τ ^ ( i ) τ i ) 2
where N is the number of samples in the data set, namely the number of sampling points for the continuous movement of the robot; τ ^ ( i ) is the predicted torque value; τ ( i ) is the actual torque.

5. Experimental Procedures

Experimental analyses have been carried out with a self-developed 6-DOF collaborative robot under actual testing conditions. Figure 7 reveals the prototype of the proposed collaborative robot, and some of the key parts are compared in Figure 8. As evident in Figure 7 and Figure 8, the collaborative robot joints are mainly composed of a harmonic drive, a frameless motor, and a motor driver. The robot controller is Softlink(R) iDEABOX Pro and the motor driver is Elmo(R) Twitter, which both support EtherCAT to allow high speed low latency communication with each other.
Only the typical 4th, 5th, and 6th joint of the collaborative robot are tested and analyzed in this experiment. Since the last three linkages are light and short, gravity and inertia are relatively small. Accordingly, the unmodeled or inaccurately modeled factors such as friction and inertia of the motor rotor will lead to greater relative errors. Therefore, the proposed error compensation technology provides great practical application value.
Servo drivers are set to the cyclic synchronous position mode. Servo drivers and the robot controller are communicated through EtherCAT, and the controller sends serial points of the excitation trajectories in Figure 3 and Figure 4 to the driver at a fixed frequency of 100 Hz, in order to ensure continuous and smooth movement. While the robot is moving, the controller also communicates with the driver to collect data such as position, velocity and current. Note that only the dynamics of the last three joints are studied, and the position commands of the 1st joint to the 3rd joint are always kept at zero.
Because the control method does not affect the intrinsic characteristics of the robot, the control algorithm adopted in this experiment is the common three-loop structure for servo motor. The three loops include the current loop, the velocity loop and the position loop from inner layer to outer layer, respectively. All three control loops are PID controller with feedforward signals. The overall control scheme with EtherCAT index indicator of each motor is shown in Figure 9.
The data are collected by driving the collaborative robot moving as the excitation trajectory. The training set F t r and the test set F t e are obtained from the excitation trajectory, and are presented in Figure 3 and Figure 4, respectively.
The excitation trajectory above and the experimental data are used as the training data for LSTM network. RMS errors of the theoretically calculated torque and the actual torque are used as the loss function. As the LSTM network training epoch increases, the loss gradually decreases, as shown in Figure 10.
Figure 11 presents the actual motor current of axis 4, 5 and 6, and to avoid unexpected noise, the raw data are processed by Kalman filter. Figure 12 and Figure 13 compare the actual torque, predicted torque, and error of axis 5 before and after compensation under the excitation trajectory of the test set, respectively. RMS errors of the predicted torque relative to the actual torque before and after the compensation of each joint are listed in Table 2. As can be seen from the figures and table, compared to the uncompensated model, the RMS errors of the predicted torque via theoretical calculation and the actual torque of the 4th to the 6th joints are reduced by 66.5%, 78.9% and 61.8%, respectively. Experimental procedures show promising results, in that the errors of the dynamic model after LSTM network compensation displays a significant decrease in torque prediction compared with the uncompensated model.

6. Conclusions

The proposed self-developed 6-DOF collaborative robot in this paper is provided with a light structure, small inertia force, and gravity. However, the unmodeled or inaccurately modeled factors, such as friction force and rotor inertia force, could result in the modeling inaccuracy of a traditional dynamic model, and a large error in the calculation of predicted torque relying on the general dynamic equation. In order to solve the error compensation of the dynamic model of the proposed collaborative robot, a systematic error compensation method based on an optimized LSTM network in an optimized RNN is used to compensate the error of the predicted torque relative to the actual torque.
Experimental results show that the RMS errors of predicted torque relative to actual torque of the 4th, 5th, and 6th joints have decreased by 66.5% to 78.9% compared with the uncompensated model, and thus the effect is remarkable. Therefore, it is suggested that the proposed error compensation technology based on LSTM network is feasible and effective, and provides a good foundation for future dynamic control research.

Author Contributions

Conceptualization, G.Z.; Data curation, Z.X., G.Y. and H.W.; Formal analysis, Z.X., Z.H. and H.W.; Funding acquisition, G.Z. and C.H.; Project administration, G.Z.; Resources, W.Y.; Software, Z.X., J.L. and J.W.; Supervision, G.Z.; Validation, H.W.; Writing—original draft, Z.X.; Writing—review and editing, G.Z. and Z.X. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded in part by the National Key Research and Development Project of China, grant number 2017YFE0123900, 2018YFA0902903, the National Natural Science Foundation of China, grant number 62073092, the China Postdoctoral Science Foundation, grant number 2019M662848, the Natural Science Foundation of Guangdong Province, grant number 2018A030310046, the Basic Research Program of Guangzhou City of China, grant number 202002030320.

Acknowledgments

The authors would like to express their thanks to the Guangzhou Institute of Advanced Technology, Chinese Academy of Sciences for helping them with the experimental characterization.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Xiang, W.; Yan, S. Dynamic analysis of space robot manipulator considering clearance joint and parameter uncertainty: Modeling, analysis and quantification. Acta Astronaut. 2020, 169, 158–169. [Google Scholar] [CrossRef]
  2. Norouzzadeh, S.; Lorenz, T.; Hirche, S. Towards safe physical human-robot interaction: An online optimal control scheme. In Proceedings of the 21st IEEE International Symposium on Robot, and Human Interactive Communication, Paris, France, 9–13 September 2012; pp. 503–508. [Google Scholar]
  3. Simoni, L.; Beschi, M.; Legnani, G.; Visioli, A. On the Inclusion of Temperature in the Friction Model of Industrial Robots. IFAC Pap. 2017, 50, 3482–3487. [Google Scholar] [CrossRef]
  4. Morante, S.; Víctores, J.; Martinez, S.; Balaguer, C. Sensorless friction and gravity compensation. In Proceedings of the IEEE-RAS International Conference on Humanoid Robots, Madrid, Spain, 18–20 November 2014; p. 265. [Google Scholar]
  5. Ossadnik, D.; Guadarrama-Olvera, J.; Dean-Leon, E.; Cheng, G. Adaptive Friction Compensation for Humanoid Robots without Joint-Torque Sensors. In Proceedings of the IEEE-RAS 18th International Conference on Humanoid Robots (Humanoids), Beijing, China, 6–9 November 2018; pp. 980–985. [Google Scholar]
  6. Vitiello, V.; Tornambe, A. Adaptive compensation of modeled friction using a RBF neural network approximation. In Proceedings of the 46th IEEE Conference on Decision and Control, New Orleans, LA, USA, 12–14 December 2007; pp. 4699–4704. [Google Scholar]
  7. Qiu, L.; Zhao, Y.; Zhang, Y. Adaptive friction identification and compensation based on RBF neural network for the linear inverted pendulum. In Proceedings of the 2011 International Conference on Electronic & Mechanical Engineering and Information Technology, Harbin, China, 12–14 August 2011; pp. 385–388. [Google Scholar]
  8. Yu, W.; Heredia, J.A. PD control of robot with RBF networks compensation. In Proceedings of the IEEE-INNS-ENNS International Joint Conference on Neural Networks, Como, Italy, 27 July 2000; pp. 329–334. [Google Scholar]
  9. Li, C.; Zhao, F.; Tao, T.; Mei, X. Dynamic modeling of robot based on neural network with incomplete state observations. In Proceedings of the IEEE International Conference on Robotics and Biomimetics, Macau, China, 5–8 December 2017; pp. 2320–2324. [Google Scholar]
  10. Mukhopadhyay, R.; Chaki, R.; Sutradhar, A.; Chattopadhyay, P. Model Learning for Robotic Manipulators using Recurrent Neural Networks. In Proceedings of the TENCON IEEE Region, 10 Conference, Kochi, India, 17–20 October 2019; pp. 2251–2256. [Google Scholar]
  11. Chen, S.; Wen, J.T. Neural-Learning Trajectory Tracking Control of Flexible-Joint Robot Manipulators with Unknown Dynamics. In Proceedings of the IEEE/RSJ International Conference on Intelligent Robots and Systems, Macau, China, 4–8 November 2019; pp. 128–135. [Google Scholar]
  12. Dyda, A.A.; Oskin, D.A.; Artemiev, A.V. Robot dynamics identification via neural network. In Proceedings of the IEEE 8th International Conference on Intelligent Data Acquisition and Advanced Computing Systems: Technology and Applications (IDAACS), Warsaw, Poland, 24–26 September 2015; pp. 918–923. [Google Scholar]
  13. Armstrong, B.; Khatib, O.; Burdick, J. The explicit dynamic model and inertial parameters of the PUMA 560 arm. In Proceedings of the 1986 IEEE International Conference on Robotics and Automation, San Francisco, CA, USA, 7–10 April 1986; pp. 510–518. [Google Scholar]
  14. Olsen, M.M.; Petersen, H.G. A new method for estimating parameters of a dynamic robot model. IEEE Trans. Robot. Autom. 2001, 17, 95–100. [Google Scholar] [CrossRef]
  15. Khalil, W.; Guegan, S. Inverse and direct dynamic modeling of Gough-Stewart robots. IEEE Trans. Robot. 2009, 20, 754–761. [Google Scholar] [CrossRef] [Green Version]
  16. Khalil, W.; Restrepo, P.P. An efficient algorithm for the calculation of the filtered dynamic model of robots. In Proceedings of the IEEE International Conference on Robotics and Automation, Minneapolis, MN, USA, 22–28 April 1996; pp. 323–328. [Google Scholar]
  17. Yoshida, K.; Khalil, W. Verification of the Positive Definiteness of the Inertial Matrix of Manipulators Using Base Inertial Parameters. Int. J. Robot. Res. 2000, 19, 498. [Google Scholar] [CrossRef]
  18. Swevers, J.; Naumer, B.; Pieters, S. An Experimental Robot Load Identification Method for Industrial Application. Int. J. Robot. Res. 2002, 21, 701. [Google Scholar] [CrossRef]
  19. Deb, K.; Jain, H. An Evolutionary Many-Objective Optimization Algorithm Using Reference-Point-Based Nondominated Sorting Approach, Part I: Solving Problems with Box Constraints. IEEE Trans. Evol. Comput. 2014, 18, 577–601. [Google Scholar] [CrossRef]
  20. Hochreiter, S.; Schmidhuber, J. Long Short-Term Memory. Neural Comput. 1997, 9, 1735–1780. [Google Scholar] [CrossRef] [PubMed]
  21. Kingma, D.P.; Ba, J. Adam: A method for stochastic optimization. In Proceedings of the International Conference for Learning Representations, San Diego, CA, USA, 7–9 May 2015. [Google Scholar]
  22. Reddi, S.; Kale, S.; Kumar, S. On the Convergence of Adam and Beyond. In Proceedings of the International Conference on Learning Representations, NewYork, NY, USA, 30 April–3 May 2018. [Google Scholar]
Figure 1. 3D model of the collaborative robot.
Figure 1. 3D model of the collaborative robot.
Applsci 10 06743 g001
Figure 2. D-H structure of the collaborative robot.
Figure 2. D-H structure of the collaborative robot.
Applsci 10 06743 g002
Figure 3. Excitation trajectory for parameter identification. (a)–(c) are the position, velocity, and acceleration of excitation trajectory for parameter identification, respectively.
Figure 3. Excitation trajectory for parameter identification. (a)–(c) are the position, velocity, and acceleration of excitation trajectory for parameter identification, respectively.
Applsci 10 06743 g003
Figure 4. Excitation trajectory of test set. (a)–(c) are the position, velocity, and acceleration of excitation trajectory of test set, respectively.
Figure 4. Excitation trajectory of test set. (a)–(c) are the position, velocity, and acceleration of excitation trajectory of test set, respectively.
Applsci 10 06743 g004
Figure 5. Long short-term memory (LSTM) cell of hidden layer.
Figure 5. Long short-term memory (LSTM) cell of hidden layer.
Applsci 10 06743 g005
Figure 6. Pipeline of LSTM based robot dynamic compensation.
Figure 6. Pipeline of LSTM based robot dynamic compensation.
Applsci 10 06743 g006
Figure 7. A prototype of six-degree-of-freedom (6-DOF) collaborative robot.
Figure 7. A prototype of six-degree-of-freedom (6-DOF) collaborative robot.
Applsci 10 06743 g007
Figure 8. Some key parts of the proposed collaborative robot, (a)–(c) are the main controller, motor driver and frameless motor of the robot.
Figure 8. Some key parts of the proposed collaborative robot, (a)–(c) are the main controller, motor driver and frameless motor of the robot.
Applsci 10 06743 g008
Figure 9. Overall control scheme of each motor.
Figure 9. Overall control scheme of each motor.
Applsci 10 06743 g009
Figure 10. Epochs vs. root-mean-square (RMS) loss.
Figure 10. Epochs vs. root-mean-square (RMS) loss.
Applsci 10 06743 g010
Figure 11. Actual motor current of axis 4, 5 and 6.
Figure 11. Actual motor current of axis 4, 5 and 6.
Applsci 10 06743 g011
Figure 12. Computed torque (uncompensated), actual and error torques of axis 5.
Figure 12. Computed torque (uncompensated), actual and error torques of axis 5.
Applsci 10 06743 g012
Figure 13. Calculated torque with LSTM compensation, actual torque, and errors of axis 5.
Figure 13. Calculated torque with LSTM compensation, actual torque, and errors of axis 5.
Applsci 10 06743 g013
Table 1. Hyper-Parameters of LSTM Network.
Table 1. Hyper-Parameters of LSTM Network.
ParametersValue
Time step100
Batch size50
Input size9
Output size3
Cell size64
Total Layer3
Learning rate0.05
Table 2. RMS Error of Calculated Torque between Real Value.
Table 2. RMS Error of Calculated Torque between Real Value.
JointUncompensated/N·mCompensated/N·m
43.611.21
54.841.02
66.102.33

Share and Cite

MDPI and ACS Style

Zhang, G.; Xu, Z.; Hou, Z.; Yang, W.; Liang, J.; Yang, G.; Wang, J.; Wang, H.; Han, C. A Systematic Error Compensation Strategy Based on an Optimized Recurrent Neural Network for Collaborative Robot Dynamics. Appl. Sci. 2020, 10, 6743. https://doi.org/10.3390/app10196743

AMA Style

Zhang G, Xu Z, Hou Z, Yang W, Liang J, Yang G, Wang J, Wang H, Han C. A Systematic Error Compensation Strategy Based on an Optimized Recurrent Neural Network for Collaborative Robot Dynamics. Applied Sciences. 2020; 10(19):6743. https://doi.org/10.3390/app10196743

Chicago/Turabian Style

Zhang, Gong, Zheng Xu, Zhicheng Hou, Wenlin Yang, Jimin Liang, Gen Yang, Jian Wang, Huoming Wang, and Changsoo Han. 2020. "A Systematic Error Compensation Strategy Based on an Optimized Recurrent Neural Network for Collaborative Robot Dynamics" Applied Sciences 10, no. 19: 6743. https://doi.org/10.3390/app10196743

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