The Use of Deep Learning Model for Effect Analysis of Conventional Friction Power Confinement

. Nonlinear friction could a ﬀ ect the high-precision motion system, resulting in poor tracking accuracy in the end. This is due to the fact that the Lugre friction model ’ s parameter identi ﬁ cation process comprises both static and dynamic parameter identi ﬁ cation. The convolutional neural network (CNN) model is used in this study to create the friction identi ﬁ cation system. We suggest a hybrid methodology that combines the CNN method and the classic least-squares technique. The convolutional layer (CONV), which is de ﬁ ned by a convolutional kernel, analyzes and extracts features from an input image. In terms of accuracy and convergence, the results reveal that the upgraded CNN friction model outperforms the original CNN friction model. You may successfully reduce the in ﬂ uence of friction on your system while improving its performance by applying the feedforward correction.


Introduction
The industrial robot has become an indispensable automation tool in modern human society.Improving its control accuracy has always been a research hotspot at home and abroad.The traditional PID control has been unable to meet the accuracy requirements of the actual work, and the modelbased control method has become the mainstream.The model-based controller needs to take the robot's dynamic parameters as a priori value [1], but the robot is a multivariable and strongly coupled nonlinear system [2].It is difficult to obtain the dynamic model through a mathematical calculation, and the experimental identification method is generally used.In the process of moving, the machine will be disturbed by nonlinear friction [3].This interference is local and has high frequency and huge amplitude, and it has a significant impact on the system's local performance.Due to the randomness of its position, the tracking accuracy of the whole travel range is reduced [4].For this phenomenon, the corresponding friction model is used to identify the relevant parameters of the friction model through the parameter identification method, compensate for the nonlinear friction in the system, reduce the influence of the nonlinear friction in the system on the high-precision motion of the system, and improve the local tracking accuracy [5,6].
The Lugre friction model is a typical friction model for servo systems and can accurately describe the frictional characteristics of the system during motion [7].As the parameter identification of the Lugre friction model involves both static and dynamic parameter identification [8], it is a harmonious combination of static and kinematic characteristics, and the improved genetic algorithm can effectively improve the accuracy of identification by taking into account both static characteristics and dynamic factors and prevent the problem of falling into local optimality instead of global optimality in the process of identification [9][10][11][12].
This study first defines and introduces the Lugre friction model, then moves on to the improved CNN model's implementation approach and the static parameter recognition procedures [13].The method is confirmed by first collecting relevant position and drive force data in a loop system using a cylindrical linear motor based on dSPACE hardware using constant velocity trials, calculating the velocity and friction data values according to the basic physical equations, identifying the friction model using the basic and improved CNN models, and designing a feedforward compensation controller based on the identified friction model to achieve the nonlinear friction compensation [14].
The paper's section-wise paragraph is as follows: The related work is presented in Section 2. Section 3 analyzes the Lugre friction model description and introduction.Section 4 describes the building convolutional neural network models.Section 5 discusses the experimental verifications.Finally, in Section 6, the research work is concluded.

Related Work
Many robot parameter identification methods have been proposed by researchers at home and abroad [15,16].A method for deriving the minimum set of parameters for tandem robots was proposed, which can reduce the number of operations for identification and improve the robustness of the algorithm.In [17], a recursive least-squares method was used to perform parameter operations, which improved the efficiency of the algorithm.[18] proposed a distribution identification method to reduce the complexity of the identification equations.The progress of robot dynamic parameter identification has been aided by intelligent control methods.[19] used an artificial bee colony algorithm, [20][21][22] used a particle swarm algorithm, and [23] used an improved genetic algorithm for identification, all of which achieved good identification results.
In order to improve the kinetic model recognition accuracy of industrial robots, this paper proposes a kinetic model recognition method based on an artificial neural network in combination with machine learning and deep learning algorithms that have emerged in recent years [24,25].

Lugre Friction Model Description and Introduction
In 1995, scholars proposed the Lugre model [14], which is represented by the fact that the contact surfaces of two objects are in microscopic contact through elastic bristles, and when they are displaced by mutual tangential forces, the bristles of the contact surfaces will undergo elastic deformation, generating friction in the process, as shown in Figure 1.
The friction of the servo system can be expressed by the differential equation as where M represents the mass of the load, x represents the displacement of the mass of the load, F represents the driving force of the motor, and F f represents the frictional force.
The frictional force F f can be determined by the following mathematical formula: When the system is in a steady state, at this time, the system dx/dt = a, where a is a constant, i.e., at this time z = 0, then from equation ( 5), we have where the sgn function is a symbolic function, substituting equations ( 5) and (3) into equation ( 4) is the frictional force when the system is in a steady state:

Building Convolutional Neural Network Models
CNN is a type of neural network that may be used to classify images.CNN merely connects the nodes between two adjacent layers and shares the weights, unlike earlier fully connected neural networks.This optimizes the neural network, reduces the model's complexity, and enhances the operation's efficiency greatly.
The convolutional layer (CONV), which is defined by a convolutional kernel, performs feature extraction on the input image.The convolution is expressed as f ðxÞ = wx + b: The convolution kernel is also known as a filter or "field of perception."The convolution kernel is weighted and processed by a weight matrix with the local data of the input image, and the kernel slides over the input data to extract features from the whole image.The convolutional feature map is calculated as where w out is the output feature map size, w in is the input feature map size, F is the convolutional kernel size, and S is the convolutional step size.The pooling layer (POOL), reduces the spatial dimension of the picture, keeps the depth constant, reduces the network connection parameters, optimizes computational efficiency, and prevents overfitting.
The fully connected layer (FC), where the previous layers have been completed with highly abstract information features, is used for classification through the fully connected layer.The last convolutional layer needs to be matrix flattened when connected to the fully connected layer. 2 Computational and Mathematical Methods in Medicine The Softmax layer uses Softmax to classify the linear output.Assuming the original array V, V i is the i th element of the array, then V i of SoftmaxðsÞ i = e i /∑ n j=1 e j .The structural design of the CNN-based neural network for parameter identification of the sassafras model includes 11 hidden layers, 4 convolutional layers, 4 pooling layers, and 3 fully connected layers, and the specific parameters are shown in Table 1.(3) Pooling Layers.Four pooling layers are designed to correspond to 4 convolutional layers, all of size 2 × 2, with depth corresponding to the previous convolutional layer.After pooling, the image data can be reduced in feature dimension and number of parameters to reduce overfitting.
(4) Fully Connected Layers.Three fully connected layers are designed to flatten the convolutional pooled array matrix into a column vector.The final output is a parametric identification classification of the 5 levels of the sassafras model.The fully connected is chosen to reduce overfitting by dropout, L2 regular terms, etc.  (6) Classification Function.Softmax is selected as the classification function, which will classify the input textile photos into five corresponding class categories, so as to achieve the goal of intelligent assessment of textile hairball.

Experimental Verification
In this chapter, we defined the experimental design, identification results, and analysis of results in detail.

Experimental Design.
A 6-degree-of-freedom robotic arm produced by a company is shown in Figure 2. The artificial neural network model presented in Sections 1 and 2 of this paper was built using the deep learning framework    Computational and Mathematical Methods in Medicine Keras, with a dropout regularization layer added to avoid overfitting [26][27][28][29][30].
The more training data provided, the more features of the model are theoretically identified, and the greater generalization capacity the model will have while performing neural network identification.Using the stimulated trajectory design approach described in Section 2, we collected as much actual data from the robotic arm as possible and separated it into three parts: the training set (70%), the validation set (15%), and the test set (10%) (15 percent).Figures 3 and 4 demonstrate how the magnitude of the loss function and the training accuracy were assessed during the training process.It can be seen that as the iterations progress, the loss function of the model gradually decreases close to zero and the accuracy gradually reaches its maximum value, reaching convergence at around the 100 th round, and the accuracy no longer changes.
The use of machine learning and deep learning methods for solving similar nature problems has extensively been studied by the research community [31][32][33].

Identification Results
. The traditional least-squares method paired with the Coulomb viscous friction model was used to identify the same experimental data and From Figure 5, it can be seen that both algorithms have a good following effect on the actual torque.By looking at the local magnification, we can see that the neural network algorithm proposed in this paper has a better fit to the actual torque, especially around the peak, and has a smoother curve for the actual torque, which is more suitable for the controller design.The error curve of joint 1 is shown in Figure 6, which shows that the torque error calculated by the neural network recognition algorithm is smaller than that of the traditional algorithm, with a smaller peak error and a smoother curve.It is worth noting that there are some points in the curve with large jumps in error, mainly around the point where the joint speed of the robot arm is 0. The relative error is calculated with a small denominator, resulting in a larger relative error result, which has no impact on practical use.
As shown in equation ( 8), the matching degree δ for kinetic discrimination can be calculated using the calculated moment τ i and the experimentally measured moment τ: The matching results of the 2 methods are shown in Table 2.As can be seen from Table 1, the matching degree of the neural network model can be improved by more than 5% on average compared to the traditional least-squares model.
In recent years, various optimization algorithms have been increasingly used in the field of robot identification; for example, the artificial bee colony algorithm combined with the nonlinear friction model has achieved good experimental results with an average accuracy of 89%.The average accuracy of the algorithm proposed in this paper is 90.70%, which is slightly better than the artificial swarm algorithm.

Analysis of Results
. When compared to the traditional least-squares identification approach, the accuracy of the identification method described in this study is improved, and the torque fluctuations of the traditional identification model are successfully minimised and smoothed out.The method described in this paper is more suitable for controller design since frequent torque fluctuations can easily damage the controller.The combination of a neural network model and a traditional least-squares model can be used in a practical control system to obtain better results.
Frictional forces in robots are related to several external factors, and modeling and identification of frictional forces have been a major challenge.In recent years, many algorithms (e.g., artificial bee colony algorithms) have been   Computational and Mathematical Methods in Medicine proposed whose recognition accuracy depends on the choice of the friction model, and the friction models of different robots in different working environments are not identical.The method proposed in this paper does not require special modeling of friction, is highly adaptable and portable for robots in different working environments, and ensures high accuracy.Therefore, the method proposed in this paper also has certain advantages over the more recent identification methods currently available.

Conclusions
To address the problem of low accuracy of classic kinetic parameter identification techniques, we present an artificial neural network-based identification method employing the ReLU activation function in combination with the RMSProp algorithm and the dropout method in this research.Experiments are being conducted to see how well they compare to the classic least-squares method.The results show that the proposed method can significantly improve the smoothness of the moment calculation, and the accuracy is improved by more than 5% compared to the traditional method.The algorithm does not require modeling of the system friction and has good adaptability.

Figure 1 :
Figure 1: Lugre friction model object contact surface contact diagram.

( 1 )( 2 )
Input Layer.The input layer collects the image dataset of the quality inspection agency for the identification of the parameters of the sassafras model.The image dataset is preprocessed to remove noise and delete poor-quality data.The image preprocessing is in RGB (100 × 100 × 3) format.The ratio = 0:8 was set to split the training and validation sets, with 80% of the data used for model training and 20% for model validation.Convolutional Layers.The model is designed with 4 convolutional layers, the sizes of which are 5 × 5 × 3, 5 × 5 × 32, 3 × 3 × 64, and 3 × 3 × 128, all with a step size of 1.The first two layers are designed with larger sizes in order to expand the perceptual field in the first stage, extract more image features, and reduce the number of computation layers.The last two layers are smaller in order to increase the depth of the model, reduce the number of computational parameters, and reduce computational complexity.

Figure 5 :
Figure 5: Calculation of the joint moments.

Table 1 :
Structure of neural network for parameter identification based on CNN sassafras model.
6 DOF robot arm Metal robot arm frame 4 x 1501 digital servo 2 x 1501 metal micro servo Arm joints are connected by bearings Stainless steel hexagonal screws

Table 2 :
Matching of joints for identification.