Next Article in Journal
A Normalized Terzaghi Model and Time-Step FEA for Predicting the Adsorption of a Cylindrical Object in Subsea Salvage
Previous Article in Journal
Aerodynamic Optimization and Mechanism Investigation on Performance Improvements in a Transonic Compressor Cascade
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Improved Prediction Model of the Friction Error of CNC Machine Tools Based on the Long Short Term Memory Method

School of Mechanical Science and Engineering, Huazhong University of Science and Technology, Wuhan 430074, China
*
Author to whom correspondence should be addressed.
Machines 2023, 11(2), 243; https://doi.org/10.3390/machines11020243
Submission received: 17 December 2022 / Revised: 22 January 2023 / Accepted: 1 February 2023 / Published: 7 February 2023
(This article belongs to the Section Advanced Manufacturing)

Abstract

:
Friction is one of important factors that cause contouring errors, and the friction error is difficult to predict because of its nonlinearity. In this paper, a prediction model of the friction error of a servo system is proposed based on the Long Short-Term Memory method (LSTM). Firstly, the transfer function is used to predict the position of the servo system, and then the prediction error of the transfer function is obtained. Secondly, the nonlinear friction error is extracted and predicted by a LSTM network. Finally, the accurate tracking error can be predicted by the proposed combined model. The experimental results show that the proposed model can improve the prediction accuracy of tracking errors dramatically.

1. Introduction

Improving the machining accuracy of five-axis CNC machine tools is of great significance, which has always been one of the hot spots in five-axis CNC machining [1]. In order to improve the contour accuracy, Song et al. [2] added a certain compensation value to the command reference voltage source of each interpolation cycle to compensate the tracking error. Zhang et al. [3] proposed an iterative tracking error precompensation method to improve the tracking accuracy. Friction is an inevitable nonlinear phenomenon in five-axis CNC machine tools [4]. Because of the adverse effects of nonlinear friction, two strategies are commonly used to improve tracking accuracy. One is to build accurate friction models and another is to design advanced observers and controllers, by which the friction can be compensated. Because friction modeling and prediction play a great role in reducing the tracking error of five-axis CNC machine tools. Now many friction prediction methods have been proposed, such as iterative learning [5], parameter tuning [6], and so on.
The typical friction characteristics of lubricated metal surfaces in contact are traditionally described as Stribeck curves. With the increase of speed under partial fluid lubrication, the friction between lubricated metal surfaces decreases, which is called the Stribeck effect. Scientists have proposed many models for this nonlinear effect, including “LuGre model” [7], “Coulomb model” [8], “Tustin model” [9], and so on. Although these three classical models can compensate for the Stribeck effect to a certain extent, they cannot effectively compensate for the adverse effects of viscous friction because they do not contain viscous friction terms. At the same time, based on the LuGre model, the controller proposed by Dai et al. [10] can effectively suppress the force error spike of the low velocity region via the deduced adaptive law and bi-observer, and Xi et al. [11] can estimate the nonlinear friction behavior of machine shafts with a long stroke distance.
Although the dynamic friction model established without considering the static friction term has achieved many successful applications, a good static friction model can reflect about 90% of the real friction [12]. For the friction model, Xu et al. [13] proved that nonlinear friction had a great influence on tracking turntables by studying the Column-Viscous model. Klaus et al. [14] used the controlled magnetic field to overcome the viscous friction. Shi and Zhang [15] proposed a friction correction method to realize the Stribeck effect in dynamic simulations. Pennestrì [16] compared the performance of eight friction models for simulating viscous friction and pre-sliding displacement and concluded that the LuGre model is more suitable for reproducing friction effects.
Because of the characteristics of nonlinear static friction, the modeling process is more complex, and the data-driven modeling method can simplify the modeling process. At present, there are many nonlinear modeling algorithms, such as the genetic algorithm [17], neural network [18], and other nonlinear algorithms [19,20,21]. The neural network has the ability to predict the complex nonlinear relationship between the input and output of the system [22].
The above research fruits model the friction, but the nonlinear friction error, which is defined as the tracking error resulting from the nonlinear friction, cannot be obtained directly.
This paper uses the model-driven method to model the servo system. According to Yin et al. [23], a mathematical theoretical model was established for the motor, transmission mechanism, and position sensor in the servo feed system, and the parameters of the model were obtained by system identification. The transfer function residual, which is the prediction error of the transfer function, can be obtained by the difference between the actual trajectory and the trajectory predicted by the model simulation. The transfer function residual mainly comes from the influence of nonlinear friction, which only occurs in the pre-slip state. Xi et al. [24] regard the separation displacement as the boundary between the pre-slip state and the slip state. However, a scientific method of identifying the separation displacement has not been proposed and M. Yang et al. [25] proposed a two-stage friction model only related to speed, which can easily predict the position of the pre-slip state during the movement of CNC machine tools. Therefore, this paper regards the break velocity as the boundary between the pre slip state and the slip state.
This paper proposes an improved prediction model of friction error based on the Long Short-Term Memory method. Firstly, according to the friction break velocity proposed in [25], the boundary of the pre-sliding state and sliding state is obtained. Secondly, according to the separation boundary obtained by the break speed and the residual error predicted by the servo system model, we separate the nonlinear friction error. Thirdly, the LSTM is used to model the nonlinear friction error, and a prediction model of nonlinear friction errors is obtained. Finally, the combined model of the transfer function and LSTM is used to predict the tracking error accurately.
The rest of this paper is organized as follows. Section 2 deduces the transfer function of the servo system after analyzing the dynamics of the servo system. Section 3 deals with the friction error after analyzing the characteristics of friction, and it builds a LSTM model according to the properties of the nonlinear friction error. Finally, the tracking error is accurately predicted based on the combined model. Section 4 describes the experimental results, and Section 5 gives the conclusion.

2. Model-Based Tracking Error Prediction

In the position control mode, the servo system is composed of three loops, which are the current loop, speed loop, and position loop. When the transfer function of the servo system is derived theoretically, not only the three-loop control, but also the influence of the mechanical transmission structure should be considered. In theory, the more factors considered in the modeling, the more accurate the model is, which also increases the complexity of the modeling. The servo system three-loop control and mechanical transmission structure are analyzed below, and the transfer function is derived.
(1) The current loop
The current loop is the innermost loop of the three-loop control of the servo system. The simplified current loop of a servo system is shown in Figure 1. In the figure the current input to the servo motor is i q , while i q also determines the output torque of the motor T e . In this paper, the electrical characteristics of the current link are ignored, and the current loop is represented by the proportional link with the proportional coefficient of K t . The transfer function of the current loop is:
(2) The speed loop
The speed loop is the middle loop of the three-loop control of the servo system. The control principle of the speed loop is shown in Figure 2. In the figure, T l and T d are the load torque and torque disturbance of a servo system, respectively. J is the effective inertia of a servo system, and B is the equivalent damping coefficient of a servo system.
From Figure 2, the speed loop transfer function can be expressed as:
G s s = G v s · K t J s + B + G v s · K t
Here, G v s is:
G v s = K v 1 + 1 τ s
where K v and τ s are the proportional factor and time constant in speed, respectively.
(3) The position loop
The position loop is the outermost loop of the three-loop control of the servo system. The input of the position loop is the reference position x r , and the output is the actual position x a .
From Figure 3, the transfer function of the position loop can be expressed as:
G s = x a x r = G p s G s s 1 + G p s G s s
In order to improve the tracking control performance, the feedforward control is usually added to the position loop:
From Figure 4, the position loop transfer function with feedforward can be written as:
G s = x a x r = F s G s s + G p s G s s 1 + G p s G s s
(4) Mechanical transmission structure
If the motor, coupling, ball screw, and workbench are regarded as rigid bodies and the nonlinear friction torque is ignored, the motor torque balance formula can be expressed as:
T e = J d ω d t + B ω + T d + T l = J d ω d t + B ω + T f + T n + T l
where ω is the angular speed of a servo system, and T e , T l , T f , and T n are the output torque load torque, nonlinear friction torque disturbance, and other torque disturbances of a servo system. The torque disturbance is the sum of T f and T n . J is the effective inertia of a servo system, and B is the equivalent damping coefficient of a servo system.
Then the control principle of the mechanical transmission structure can be expressed as Figure 5:
By analyzing the three-loop control principle and the mechanical transmission structure of the servo system, the simplified control block diagram of the servo system is obtained.
According to Figure 6, when ignoring T d and Ti, the simplified transfer function for the servo system reference position and the actual position can be expressed as:
G s = x a s x r s = F s G v s K t + G p s G v s K t J s 2 + B + K t G v s s + G p s G v s K t
The friction torque disturbance includes the linear portion B ω and nonlinear portion T f . T f can be obtained by the nonlinear friction force described by:
f f x ˙ = f c + f s f c e x ˙ x ˙ s 2 · sgn x ˙
where f f x ˙ is the frictional force, which is the function of the velocity x ˙ . f c and f s are the minimum levels of column friction and nonlinear friction, respectively. x ˙ s is the lubricant parameters, which is determined by the empirical experiments.
T f is obtained by:
T f = f f x ˙ r
The friction error caused by the linear portion can be predicted as one part of the tracking error by the transfer function [26,27]. Yet, the nonlinear friction error is difficult to predict because of the strong nonlinearity of the friction torque. This paper proposes to use the long short term memory method is model the friction error, which is show in the next section.

3. Prediction of the Nonlinear Friction Error

3.1. Achieving the Nonlinear Friction Error Based on the Transfer Function

Nonlinear friction only occurs when the speed increases from zero or decelerates to zero. As shown in Figure 7, the nonlinear friction modeling should consider three situations:
v 1 = 0 v 2 = 0 v 3 0           v 1 0 v 2 = 0 v 3 = 0 v 1 0 v 2 = 0 v 3 0
where v 1 , v 2   , and v 3 are the instantaneous velocity at three consecutive moments during tool movement.
By the method in [25], the boundary line between the pre-slip state and slip state can be determined by the break velocity v b r e a k :
v b r e a k = 2 a 0 x b r e a k
a 0 is the acceleration when v = 0 . x b r e a k v b r e a k 2 2 a 0 , by identifying v b r e a k 2 and a 0 to obtain the separation displacement. After the separation displacement is calculated, v b r e a k can be calculated. Using v b r e a k and the pre-slip region, the nonlinear friction error can be extracted from the transfer function residual.

3.2. Nonlinear Friction Error Prediction Model Based on the LSTM

3.2.1. Selection of Neural Network Models

The input and output data of the servo system have a strong time correlation, that is, the response at the current time is closely related to the previous input data. The input and output data of the servo system are typical time series data.
Recurrent Neural Network (RNN) is a kind of neural network that studies the input–output relationship of sequence data. Different from other neural networks, RNN not only considers the input at the current time, but also considers the impact of information from the past period on the output at the current time. Specifically, RNN will save the past information and apply it to the calculation output at the current time. Although simple RNN has achieved good results in dealing with the problem of time series, RNN is unable to grasp the nonlinear relationship with a large time span. Therefore, when learning long series, the phenomenon of gradient disappearance—that is, the “long-term dependencies problem” of RNN—appears easily. In order to solve this problem, many scholars have made different improvements based on RNN. The LSTM is a commonly used algorithm that has achieved great success in sequence data prediction.
The network principle of LSTM is shown in Figure 8, and the three different boxes represent the application of the same functions at different time steps. The LSTM introduces three thresholds to control data flow—the forget gate, input gate, and output gate—and records historical information by cell state.
The task of the forget gate is to accept the cell state at the last moment C t 1 , and decide to retain and forget which part of C t 1 , namely, C t 1 multiplied by a forgetting factor f t . The forgetting factor f t is decided by the output from the previous time h t 1 and current input data x t through the σ activation function.
f t = σ W f · h t 1 , x t + b f
The function of the input gate is to determine which new information is stored in the current cell state. The input gate consists of two parts. One part is to use h t 1 and x t through the σ activation function that determines what values need to be updated to get updated information i t . W f is the weight matrix for f t . The other part is to obtain the temporary state at the current time C t ˜ through the tanh activation function. it and C t ˜ can be calculated according to (11) and (12):
i t = σ W i · h t 1 , x t + b i
C t ˜ = tanh W C · h t 1 , x t + b C
Figure 8 shows the process of obtaining C t by using C t 1 at the last moment, f t , updated information i t , and the temporary state at the current time C t ˜ . W i and W C are the weight matrix for i t and C t ˜ .
C t can be calculated by:
C t = f t · C t 1 + i t · C t ˜
The function of the output gate is to determine the output value according to the cell state: apply the output at the last time h t 1 and the current input data x t through the σ activation function to get o t . Combined with the current cell state Ct to get the final output h t through the tanh activation function, o t and h t can be calculated according to (14) and (15).
o t = σ W o · h t 1 , x t + b o
h t = o t · tanh C t
By introducing cell state, forget gate, input gate, and output gate, the LSTM effectively solves the long-term dependencies problem, and it is a very suitable model for long sequence problems. Considering that the input and output of the servo system are typical time series data, the LSTM is selected to predict the servo system transfer function residual.

3.2.2. Design of the LSTM

The input and output data of the LSTM greatly affect the performance of the neural network. If the correlation between the input and output is very low or the input is basically constant, the learning effect of the LSTM will be affected, and the performance of the LSTM will be greatly deteriorated. Therefore, it is necessary to analyze the servo system to select the appropriate input and output.
Because the nonlinear friction error is one of the main factors of the tracking error of the servo system, the nonlinear friction error is taken as the output of the LSTM.
In order to determine the input characteristics of the LSTM, the following analysis is given.
The tracking error of servo system e s is the deviation between the reference position x r t and the actual position x a t . e s is:
e s = x r t x a t
The transfer function between the tracking error e s and the reference position x r t can be expressed as:
e s x r = 1 x a x r
According to the control theory, the Laplace transform is performed. The above transfer function is denoted by Φ e s , and we expand it at s = 0 :
Φ e s = i = 0 1 i ! Φ e i 0 · s i
Similarly, set the Laplace transform of the reference position input x r t as R s and the Laplace transform tracking error e s as E s , so the relationship between and E s is:
E s = Φ e s · R s = i = 0 1 i ! Φ e i 0 · R s s i
Therefore, the actual output x a t of the servo system can be expressed as:
x a t = x r t + e s = x r t + i = 0 1 i ! Φ e i 0 · R i t
A simplified expression of the reference input and the actual output of the servo system can be obtained by expanding (20) and ignoring the high-order infinitesimal:
x a t = x r t + ξ v · x i t + ξ a · x i t
Among them, ξ v = Φ e 1 0 ,   ξ a = Φ e 2 0 / 2 , correspond to the coefficients of velocity and acceleration, respectively.
According to (21), the tracking error of the servo system is mainly affected by velocity and acceleration. The velocity can be obtained by the first derivative of displacement versus time, and the acceleration can be obtained by the second derivative of displacement versus time. Of course, other higher-order derivatives of displacement versus time, such as jerk, will also have an impact on the tracking error of the servo system, but the extent of its impact can be ignored.
Therefore, the velocity and acceleration are taken as the input kinematics characteristics to predict the residual of the transfer function of the servo system.

3.3. Accurate Prediction of the Tracking Error Based on the Combined Model of the Transfer Function and LSTM

Combining the transfer function established in Section 3.1 with the LSTM-based nonlinear friction error prediction model established in Section 3.2, the combined model of the servo system can be obtained and the actual position can be accurately predicted, which is shown in Figure 9.
First, the actual position of the servo system output is acquired through the actual operation reference command. The predicted actual position is obtained through the transfer function, and the difference between them is the transfer function residual. Then, the nonlinear friction error is extracted from the transfer function residual. Then, the reference command is differentiated to obtain the velocity and acceleration motion characteristics, which are inputs of the LSTM for training together with the nonlinear friction error. For the new reference command, the actual position is also predicted by the transfer function, the velocity v and acceleration a are obtained by differentiation, then the nonlinear friction error is predicted by the LSTM, and the position predicted by the transfer function is added to the predicted nonlinear friction error to obtain the accurate position prediction.

4. Experimental Results

Figure 10 shows the experimental setup, which is a five-axis machine tool. In the setup, the X-axis servo system is used to verify the proposed prediction method, and it can be verified that other axes have the similar performance. The control system of the machine is driven by a six-axis motion control card by Googol Tech. The software DriverStudio is used to sample the position, velocity, and current information with a sampling period of 1ms. The absolution of its encoder is 10,000 pulse/rev, and the prediction accuracy is expected to be within 10 μm. Figure 11 shows the input reference position and tracking error of a M-serial linear trajectory.
After filtering the sampled data by a low-pass filter, the X-axis transfer function is identified:
G s = 1351 s + 4.952 × 10 5 s 2 + 1109 s + 4.952 × 10 5
By using the transfer function, the tracking error can be predicted, then the transfer function residual is obtained by the method in Section 3, which is shown in Figure 12. Compared with the actual tracking error of M-serial linear trajectory shown in Figure 11, the transfer function method has reduced the maximum prediction error from 40 μ m to 20 μ m .
According to (9), v b r e a k can be obtained as v b r e a k 1.98   mm / s . According to Section 3.1, the nonlinear friction error can be calculated by the transfer function residual, which is the prediction error by the transfer function method. The results are shown in Figure 13.
By using the LSTM, the nonlinear friction error can be predicted. When the predicted nonlinear friction error is added to the tracking error predicted by the transfer function, the tracking error becomes more accurate. By the proposed combination of the transfer function and the LSTM methods, the prediction error of the tracking error is shown in Figure 14. Compared with the prediction error by the transfer function method shown in Figure 12, the proposed method has reduced the maximum prediction error from 20 μm to 3.5 μm. It can be seen that the prediction error of the tracking error can be reduced because the nonlinear friction error can be estimated by the LSTM methods.
In order to verify the proposed method, a curve is used instead of the M-serial linear trajectory. Figure 15 shows the reference position and tracking error of a curve.
The transfer function in (22) is used to predict the tracking error and the transfer function residual by the method in Section 3. The transfer function residual is shown in Figure 16, and the nonlinear friction error is shown in Figure 17. Compared with the actual tracking error of curve trajectory shown in Figure 15, the transfer function method has reduced the maximum prediction error from 44 μ m to 27 μ m .
Similarly, the transfer function residual and nonlinear friction error are the output of the LSTM. According to the predicted results, the former prediction accuracy can reach 20   μ m , and the latter prediction accuracy can reach 4   μ m . The predicted results are shown in Figure 18.
By the proposed combination of the transfer function and the LSTM methods, the prediction error of the tracking error is shown in Figure 18. Compared with the prediction error by the transfer function method shown in Figure 16, the proposed method has reduced the maximum prediction error from 27 μm to 8 μm. It can be seen that the proposed method is still applicable to curve motion, which can not only greatly reduce the tracking error but also has universality.
According to the above experimental results, the nonlinear friction error can be predicted accurately by the LSTM method. After the LSTM deep-learning network predicts the nonlinear friction error, the prediction error of the tracking error is much reduced.

5. Conclusions

Improving the machining accuracy of five-axis CNC machine tools is of great significance, and friction is one of important factors that cause contouring error. Yet, the friction error is difficult to predict because of its nonlinearity. To improve the prediction accuracy of tracking errors, a prediction model of the friction error based on the LSTM is proposed. First, in the position control mode, the transfer function of the servo system is derived and used to predict the tracking error, and then the residual of the transfer function can be calculated. Second, according to the characteristics of nonlinear friction, the nonlinear friction error is separated from the transfer function residual. Finally, the LSTM is used to train the nonlinear friction error to obtain the prediction model of the nonlinear friction error. By combining the nonlinear friction error prediction model and the transfer function, the tracking error of the servo system can be predicted accurately. The experimental results show that the transfer function method will generate a prediction error of about 20   μ m to predict the M-serial linear trajectory, and the combined model of the LSTM and the transfer function can reduce the prediction error to 3.5   μ m . The same result can be obtained by predicting the tracking error of a curve.

Author Contributions

Conceptualization, T.W. and D.Z.; methodology, D.Z.; software, T.W. and D.Z.; validation, T.W. and D.Z.; formal analysis, T.W. and D.Z.; investigation, T.W. and D.Z.; resources, D.Z.; data curation, T.W.; writing—original draft preparation, T.W. and D.Z.; writing—review and editing, T.W. and D.Z.; visualization, T.W. and D.Z.; supervision, D.Z.; project administration, D.Z.; funding acquisition, D.Z. All authors have read and agreed to the published version of the manuscript.

Funding

The paper is supported by the National Natural Science Foundation of China (No. 51775215).

Data Availability Statement

Not applicable.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Hu, Q.; Chen, Y.; Yang, J. On-line contour error estimation and control for corner smoothed five-axis tool paths. Int. J. Mech. Sci. 2019, 171, 105377. [Google Scholar] [CrossRef]
  2. Song, D.-N.; Ma, J.-W.; Jia, Z.-Y.; Qin, F.-Z.; Zhao, X.-X. Synergistic real-time compensation of tracking and contouring errors for precise parametric curved contour following systems. J. Mech. Eng. Sci. 2018, 232, 3367–3383. [Google Scholar] [CrossRef]
  3. Zhang, D.; Chen, Y.; Chen, Y. Iterative pre-compensation scheme of tracking error for contouring error reduction. Int. J. Adv. Manuf. Technol. 2016, 87, 3279–3288. [Google Scholar] [CrossRef]
  4. Ruderman, M. Tracking control of motor drives using feedforward friction observer. IEEE Trans. Ind. Electron. 2014, 61, 3727–3735. [Google Scholar] [CrossRef]
  5. Chen, W.; Tomizuka, M. Dual-stage iterative learning control for MIMO mismatched system with application to robots with joint elasticity. IEEE Trans. Control Syst. Technol. 2014, 22, 1350–1361. [Google Scholar]
  6. Naso, D.; Cupertino, F.; Turchiano, B. NPID and adaptive approximation control of motion systems with friction. Control Syst. Technol. IEEE Trans. 2012, 20, 214–222. [Google Scholar] [CrossRef]
  7. Marques, F.; Woliński, Ł.; Wojtyra, M.; Flores, P.; Lankarani, H.M. An investigation of a novel LuGre-based friction force model. Mech. Mach. Theory 2021, 166, 104493. [Google Scholar] [CrossRef]
  8. Kikuuwe, R.; Takesue, N.; Sano, A.; Mochiyama, H.; Fujimoto, H. Fixed-step friction simulation: From classical coulomb model to modern continuous models. IEEE/RSJ Int. Conf. Intell. Robot. Syst. 2005, 1, 1009–1016. [Google Scholar]
  9. Tustin, A. The effects of backlash and of speed-dependent friction on the stability of closed-cycle control systems. J. Inst. Electr. Eng. 1947, 94, 143–151. [Google Scholar] [CrossRef]
  10. Dai, K.; Zhu, Z.; Shen, G.; Tang, Y.; Li, X.; Wang, W.; Wang, Q. Adaptive force tracking control of electrohydraulic systems with low load using the modified LuGre friction model. Control Eng. Pract. 2022, 125, 105213. [Google Scholar] [CrossRef]
  11. Xi, T.; Fujita, T.; Kehne, S.; Ikeda, R.; Fey, M.; Brecher, C. An extended LuGre model for estimating nonlinear frictions in feed drive systems of machine tools. Procedia CIRP 2022, 107, 452–457. [Google Scholar] [CrossRef]
  12. Armstrong-Hélouvry, B. Control of machines with friction. J. Tribol. 1992, 28, 1285–1287. [Google Scholar]
  13. Xu, J.; Li, Z.; Tang, H.; Zheng, W.; Yuan, X. Significant influence of nonlinear friction torque on motion performance of tracking turntables. Tribol. Int. 2019, 136, 148–154. [Google Scholar]
  14. Klaus, Z.; Igor, Z.; Victor, L. Mathematical model of a linear motor controlled by a periodic magnetic field considering dry and viscous friction. Appl. Math. Model. 2021, 89, 1155–1162. [Google Scholar]
  15. Shi, C.; Zhang, Z. Modification of friction for straightforward implementation of friction law. Multibody Syst. Dyn. 2019, 48, 239–257. [Google Scholar]
  16. Pennestri, P. Review and comparison of dry friction force models. Nonlinear Dyn. 2016, 83, 1785–1801. [Google Scholar] [CrossRef]
  17. Li, X.; Mabu, S.; Zhou, H.; Shimada, K.; Hirasawa, K. Genetic Network Programming with Estimation of Distribution Algorithms for class association rule mining in traffic prediction. J. Adv. Comput. Intell. Intell. Inform. 2010, 14, 1–8. [Google Scholar] [CrossRef]
  18. Li, X.; Mabu, S.; Zhou, H.; Shimada, K.; Hirasawa, K. Contour error modeling and compensation of CNC machining based on deep learning and reinforcement learning. Int. J. Adv. Manuf. Technol. 2022, 118, 551–570. [Google Scholar]
  19. Takacs, A.; Kovacs, L.; Rudas, I.J.; Precup, R.-E.; Haidegger, T. Models for force control in telesurgical robot systems. Acta Polytech. Hung. 2015, 12, 95–114. [Google Scholar]
  20. Shahriar, N.; Gerardo, W.F.; Seyedmeysam, K. Fuzzy logic inference-based pavement friction management and real-time slippery warning systems: A proof of concept study. Accid. Anal. Prev. 2016, 90, 41–49. [Google Scholar]
  21. Yao, J.; Deng, W. Active disturbance rejection adaptive control of uncertain nonlinear systems theory and application. Nonlinear Dyn. 2017, 89, 1611–1624. [Google Scholar] [CrossRef]
  22. Shang, D.; Li, X.; Yin, M.; Li, F. Dynamic modeling and control for dual-flexible servo system considering two-dimensional deformation based on neural network compensation. Mech. Mach. Theory 2022, 175, 104954. [Google Scholar] [CrossRef]
  23. Yin, H.; Wei, Y.; Zhang, Y.; Jing, P.; Cai, D.; Liu, X. Identification of control parameters of the permanent magnetic synchronous generator using least square method. Energy Rep. 2022, 8, 1538–1545. [Google Scholar] [CrossRef]
  24. Xi, X.-C.; Poo, A.N.; Hong, G.S. Tracking error-based static friction compensation for a bi-axial CNC machine. Precis. Eng. 2010, 34, 480–488. [Google Scholar] [CrossRef]
  25. Yang, M.; Yang, J.; Ding, H. A two-stage friction model and its application in tracking error pre-compensation of CNC machine tools. Precis. Eng. 2018, 58, 426–436. [Google Scholar] [CrossRef]
  26. Zhang, D.; Chen, H.; Wang, Z.; Zhao, H.; Ding, H. Variable-parameter-model-based iterative pre-compensation method of the tracking error. Mech. Syst. Signal Process. 2021, 156, 107687. [Google Scholar] [CrossRef]
  27. Zhang, D.; Wang, Z.; Tomizuka, M. Neural-Network-based iterative learning control for multiple tasks. IEEE Trans. Neural Netw. Learn. Syst. 2021, 32, 4178–4190. [Google Scholar] [CrossRef]
Figure 1. Simplified current loop of a servo system.
Figure 1. Simplified current loop of a servo system.
Machines 11 00243 g001
Figure 2. Speed loop of a servo system.
Figure 2. Speed loop of a servo system.
Machines 11 00243 g002
Figure 3. Servo system position loop.
Figure 3. Servo system position loop.
Machines 11 00243 g003
Figure 4. Block diagram of position control with feedforward.
Figure 4. Block diagram of position control with feedforward.
Machines 11 00243 g004
Figure 5. Control block diagram of mechanical transmission structure of servo system.
Figure 5. Control block diagram of mechanical transmission structure of servo system.
Machines 11 00243 g005
Figure 6. Simplified servo system control block diagram.
Figure 6. Simplified servo system control block diagram.
Machines 11 00243 g006
Figure 7. Three situations (ac) of the nonlinear static friction.
Figure 7. Three situations (ac) of the nonlinear static friction.
Machines 11 00243 g007
Figure 8. LSTM schematic diagram.
Figure 8. LSTM schematic diagram.
Machines 11 00243 g008
Figure 9. Combined model of the transfer function and LSTM.
Figure 9. Combined model of the transfer function and LSTM.
Machines 11 00243 g009
Figure 10. Five-axis CNC machine tools.
Figure 10. Five-axis CNC machine tools.
Machines 11 00243 g010
Figure 11. The tracking error of a M-serial linear trajectory. (a) Reference Position, (b) Tracking Error.
Figure 11. The tracking error of a M-serial linear trajectory. (a) Reference Position, (b) Tracking Error.
Machines 11 00243 g011
Figure 12. Prediction error of a M-serial linear trajectory by the transfer function method.
Figure 12. Prediction error of a M-serial linear trajectory by the transfer function method.
Machines 11 00243 g012
Figure 13. Nonlinear friction error of a M-serial linear trajectory.
Figure 13. Nonlinear friction error of a M-serial linear trajectory.
Machines 11 00243 g013
Figure 14. Prediction error of the tracking error of the M-serial linear trajectory.
Figure 14. Prediction error of the tracking error of the M-serial linear trajectory.
Machines 11 00243 g014
Figure 15. The reference position and tracking error of a curve. (a) Reference Position, (b) Tracking Error.
Figure 15. The reference position and tracking error of a curve. (a) Reference Position, (b) Tracking Error.
Machines 11 00243 g015
Figure 16. Prediction error of a curve trajectory by the transfer function method.
Figure 16. Prediction error of a curve trajectory by the transfer function method.
Machines 11 00243 g016
Figure 17. Nonlinear friction error.
Figure 17. Nonlinear friction error.
Machines 11 00243 g017
Figure 18. Prediction error of the tracking error of a curve.
Figure 18. Prediction error of the tracking error of a curve.
Machines 11 00243 g018
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

Wang, T.; Zhang, D. Improved Prediction Model of the Friction Error of CNC Machine Tools Based on the Long Short Term Memory Method. Machines 2023, 11, 243. https://doi.org/10.3390/machines11020243

AMA Style

Wang T, Zhang D. Improved Prediction Model of the Friction Error of CNC Machine Tools Based on the Long Short Term Memory Method. Machines. 2023; 11(2):243. https://doi.org/10.3390/machines11020243

Chicago/Turabian Style

Wang, Tao, and Dailin Zhang. 2023. "Improved Prediction Model of the Friction Error of CNC Machine Tools Based on the Long Short Term Memory Method" Machines 11, no. 2: 243. https://doi.org/10.3390/machines11020243

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