원시데이터 수집 시스템
선정목록으로

Learning-based adaption of robotic friction models

관련 산업용 섬유 · (9) 타이어코드

기본 정보

저자
  1. Philipp Scholl — Ludwig-Maximilians-Universität München, Geschwister-Scholl-Platz 1, Munich, 80539, Bavaria, Germany
  2. Maged Iskandar — German Aerospace Center (DLR), Münchener Straße 20, Weßling, 82234, Bavaria, Germany
  3. Sebastian Wolf — German Aerospace Center (DLR), Münchener Straße 20, Weßling, 82234, Bavaria, Germany
  4. Jinoh Lee — German Aerospace Center (DLR), Münchener Straße 20, Weßling, 82234, Bavaria, Germany|||Mechanical Engineering Department, KAIST, 291 Daehak-ro, Daejeon, 34141, Yuseong-gu, Republic of Korea
  5. Aras Bacho — Ludwig-Maximilians-Universität München, Geschwister-Scholl-Platz 1, Munich, 80539, Bavaria, Germany
  6. Alexander Dietrich — German Aerospace Center (DLR), Münchener Straße 20, Weßling, 82234, Bavaria, Germany
  7. Alin Albu‐Schäffer — German Aerospace Center (DLR), Münchener Straße 20, Weßling, 82234, Bavaria, Germany|||Technical University of Munich, Arcisstraße 21, Munich, 80333, Bavaria, Germany
  8. Gitta Kutyniok — Ludwig-Maximilians-Universität München, Geschwister-Scholl-Platz 1, Munich, 80539, Bavaria, Germany|||Munich Center for Machine Learning (MCML), Germany
DOI
10.1016/j.rcim.2024.102780
저널
Robotics and Computer-Integrated Manufacturing
발행년도
2024
발행기관
Elsevier BV
피인용수
12
라이선스
cc-by-nc
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1016/j.rcim.2024.102780
토픽
Gear and Bearing Dynamics Analysis
OpenAlex ID
W4396541267

평가 내용

관련도
관련
사업분야
산업용 섬유 · (9) 타이어코드
부 분야
–
R&D 측면
–
확신도
–
근거 용어
–
판단 근거
임베딩 유사도 기반 평가로 '산업용 섬유 > 타이어코드' 분야에 선정된 논문입니다.
R&D 활용 포인트
–
평가 입력
–

초록

In the Fourth Industrial Revolution, wherein artificial intelligence and the automation of machines occupy a central role, the deployment of robots is indispensable. However, the manufacturing process using robots, especially in collaboration with humans, is highly intricate. In particular, modeling the friction torque in robotic joints is a longstanding problem due to the lack of a good mathematical description. This motivates the usage of data-driven methods in recent works. However, model-based and data-driven models often exhibit limitations in their ability to generalize beyond the specific dynamics they were trained on, as we demonstrate in this paper. To address this challenge, we introduce a novel approach based on residual learning, which aims to adapt an existing friction model to new dynamics using as little data as possible. We validate our approach by training a base neural network on a symmetric friction data set to learn an accurate relation between the velocity and the friction torque. Subsequently, to adapt to more complex asymmetric settings, we train a second network on a small dataset, focusing on predicting the residual of the initial network’s output. By combining the output of both networks in a suitable manner, our proposed estimator outperforms the conventional model-based approach, an extended LuGre model, and the base neural network significantly. Furthermore, we evaluate our method on trajectories involving external loads and still observe a substantial improvement, approximately 60%–70%, over the conventional approach. Our method does not rely on data with external load during training, eliminating the need for external torque sensors. This demonstrates the generalization capability of our approach, even with a small amount of data – less than a minute – enabling adaptation to diverse scenarios based on prior knowledge about friction in different settings. • Residual learning for generalized friction torque modeling. • Significant performance improvement on new dynamics. • Generalization with minimal data by building upon previous models.

본문 59,845자

본문 펼치기
## LEARNING-BASED ADAPTION OF ROBOTIC FRICTION MODELS Philipp Scholl Ludwig-Maximilians-Universität München Munich Germany ``` scholl@math.lmu.de ``` Maged Iskandar German Aerospace Center Weßling Germany Sebastian Wolf German Aerospace Center Weßling Germany Alexander Dietrich German Aerospace Center Weßling Germany Jinoh Lee German Aerospace Center Weßling Germany Aras Bacho Ludwig-Maximilians-Universität München Munich Germany Alin Albu-Schäffer German Aerospace Center Weßling Germany Gitta Kutyniok Ludwig-Maximilians-Universität München Munich Center for Machine Learning (MCML) Munich Germany ABSTRACT In the Fourth Industrial Revolution, wherein artificial intelligence and the automation of machines occupy a central role, the deployment of robots is indispensable. However, the manufacturing process using robots, especially in collaboration with humans, is highly intricate. In particular, modeling the friction torque in robotic joints is a longstanding problem due to the lack of a good mathematical description. This motivates the usage of data-driven methods in recent works. However, model-based and data-driven models often exhibit limitations in their ability to generalize beyond the specific dynamics they were trained on, as we demonstrate in this paper. To address this challenge, we introduce a novel approach based on residual learning, which aims to adapt an existing friction model to new dynamics using as little data as possible. We validate our approach by training a base neural network on a symmetric friction data set to learn an accurate relation between the velocity and the friction torque. Subsequently, to adapt to more complex asymmetric settings, we train a second network on a small dataset, focusing on predicting the residual of the initial network’s output. By combining the output of both networks in a suitable manner, our proposed estimator outperforms the conventional model-based approach, an extended LuGre model, and the base neural network significantly. Furthermore, we evaluate our method on trajectories involving external loads and still observe a substantial improvement, approximately 60-70%, over the conventional approach. Our method does not rely on data with external load during training, eliminating the need for external torque sensors. This demonstrates the generalization capability of our approach, even with a small amount of data—less than a minute—enabling adaptation to diverse scenarios based on prior knowledge about friction in different settings. _K_ eywords robotics _·_ friction _·_ data-driven modeling _·_ neural networks _·_ transfer learning _·_ torque estimation 1 Introduction In the context of advancing human-robot collaboration in manufacturing (Ajoudani et al., 2018; Kim et al., 2021; Angleraud et al., 2024; Liu et al., 2024), where physical interaction between humans and robots is becoming increasingly important, the accurate estimation of interaction forces is critical for ensuring safety (Aivaliotis et al., 2019; Cherubini Learning-based adaption of robotic friction models <u>Table 1:</u> <u>Overview of data-driven approaches to model the friction and their application.</u> <u>Approach</u> <u>Application goal</u> <u>Method</u> Fully connected NN with Selmic and Lewis (2002) Friction estimation <u>discontinuous activation functions</u> Hybrid of a parametric Ciliz and Tomizuka (2004); Kemal Cılız and Tomizuka (2007) Motion control <u>model and NN</u> Combination of Huang and Tan (2012) Motion control <u>two NNs</u> Fully connected NN with Guo et al. (2019) Motion control <u>discontinuous activation functions</u> Long Short-Term Memory Hirose and Tajima (2017) Friction estimation <u>(LSTM) network</u> NN initialized using Tu et al. (2019) Friction estimation <u>Genetic Programming (GP)</u> External torque Liu et al. (2021) NN with sigmoid activation <u>estimation</u> et al., 2016; Iskandar et al., 2023). Achieving this often involves the precise estimation of external forces, which can be accomplished by mounting force-torque sensors on the robot’s end-effector. Unfortunately, many industrial robots do not have these sensors due to their high cost (Hägele et al., 2016). This situation emphasizes the need for a reliable, cost-effective, and sensorless method for estimating external torque, which, in turn, necessitates the development of an accurate friction model. A precise model of friction (Kermani et al., 2007) has the potential to enhance the functionality of robotic systems in multiple aspects. It plays a crucial role in achieving energy-efficient computations, enhancing the precision of dynamic simulations, improving control performance at the joint level (Dietrich et al., 2021; Xie et al., 2023; Ke et al., 2023; P. Aivaliotis and Makris, 2023), or detecting slip (Reinecke et al., 2014). To mitigate the undesirable effects of friction, a model-based friction compensation approach is commonly integrated into the control system. This approach finds widespread applications across multiple domains, including joint-level control (Iskandar et al.; 2022), safe human-robot interaction (De Santis et al., 2008; Dietrich and Ott, 2019; Vogel et al., 2020; Iskandar et al., 2021), and the enhancement of external torque estimation precision during interactions with the environment. Furthermore, friction is an important factor in the degradation curves of the components of a robot, thus, a precise friction estimation also improves the predictive maintenance (Aivaliotis et al., 2021a;b). However, modeling the friction is highly complicated since it depends on a multitude of factors limiting the applicability of model-based approaches (Rizos and Fassois, 2005; Linderoth et al., 2013; Khan et al., 2017; Hao et al., 2015; Bittencourt and Gunnarsson, 2012; Bittencourt and Axelsson, 2013). 1.1 Related work The success of neural networks (NN) in the last decade (Krizhevsky et al., 2012; Silver et al., 2016; Fawzi et al., 2022; Jumper et al., 2021) inspired engineers to explore their application in modeling complex dynamics, including friction. An overview of data-driven approaches for friction modeling is given in Table 1. Selmic and Lewis (2002), for example, developed neural network models for friction that utilized specialized architectures with discontinuous activation functions. This design aimed to enhance the fitting of the observed friction data, ultimately reducing the number of required neurons, training time, and data. Another common approach is to use a hybrid method consisting of a simple parametric model and a complicated neural network. Ciliz and Tomizuka (2004); Kemal Cılız and Tomizuka (2007) showed that this approach improves over both, a single parametric model and a single neural network, since it combines the flexibility of a neural network with the known dynamics captured by the simple parametric model, thus, introducing an inductive bias in the architecture. Recent research has aimed to leverage the structure of dynamics and learn multiple models to complement each other. Huang and Tan (2012), for instance, trained two neural networks specifically for modeling friction. Guo et al. (2019) took this a step further by learning additional, individual neural networks for the inertia matrix, the Coriolis torque, and the gravitational torque, which were subsequently combined into a single neural network. They also adapted discontinuous activation functions for friction torque. Most of the work, however, does not capture the hysteresis effect of friction, as they lack a dependence on the history. To model this, Hirose and Tajima (2017) applied a Long Short-Term Memory (LSTM) network, a type of recurrent neural network (RNN) that can naturally process sequences by maintaining a hidden state. Another approach was taken by Tu et al. (2019), who used genetic algorithms (GA) to compute suitable initializations for the neural network weights. For human-robot interaction, it is crucial to be able to 2 Learning-based adaption of robotic friction models estimate the external torque of robot joints, which was the goal of Liu et al. (2021) by approximating the friction using neural networks. 1.2 Our contributions The application of data-driven approaches to model friction in robotic joints is not a novel concept. However, previous approaches have exhibited limitations in their generality due to the absence of important components within the data. Specifically, these approaches lack the incorporation of different velocities, the reversal of directions, simultaneous movement of joints, and continuously varying loads. These conditions significantly influence the performance of data-driven approaches, as evidenced in Section 4.1. The results demonstrate that a network, that may outperform traditional model-based approaches on a dataset lacking some of these effects, ultimately fails when subjected to more complex data. Furthermore, dynamics also change due to wear, varying temperature and humidity, and other external factors. To address these challenges, we propose a novel strategy to adopt existing methods to unknown dynamics while requiring as little data as possible—only one movement in our case. To achieve this we train a neural network on the residual of a base estimator on new dynamics for which the base estimator fails, to be able to use the knowledge learned by the base estimator while improving its performance for the new dynamics. The key contributions of this paper are as follows: 1. Adaption of a base model to new friction dynamics: To tackle the challenge of adapting existing friction models to new dynamics with as little data as possible, we propose to learn the residuals using a neural network. 2. Comprehensive evaluation: We evaluate our approach using a data-driven base model of friction and compare it against a conventional model-based approach, an extended LuGre model. We show that our approach then only requires data from a single point-to-point movement that includes a velocity reversal to be able to adapt the prediction of the friction torque and outperform the conventional approach and the base network for different velocities, while reversing the directions, moving the joints simultaneously, and continuously varying the external loads. 3. Integration into torque estimation framework: To demonstrate the practical applicability of our adapted friction model, we integrate it into a torque estimation framework. By estimating the external torque applied to an object more precisely than the base network and the traditional approach, our approach enhances the overall precision and efficiency of robotic systems. We validate the accuracy of our torque estimation using external torque sensors, thereby ensuring the reliability of our proposed methodology. The successful adaption of existing friction models and their integration into the torque estimation framework holds promise for numerous applications in the field of robotics. This approach can potentially advance dynamic simulations, friction compensation techniques, and external torque estimation methodologies, enabling the development of more capable and adaptable robotic systems across various domains. By being able to adapt existing models to new dynamics, this approach leverages the wealth of existing knowledge and models, making it a powerful tool for addressing complex and dynamic scenarios in robotics. 2 Methods The goal of this paper is to introduce a novel approach to adapt existing methods to new dynamics using as little data as possible. This is desirable for several reasons, including time and cost savings, prioritizing data quality over quantity, resource limitations, and reduced complexity. In Section 2.1, we start with the introduction of the conventional model-based approach we use as a baseline for comparison throughout our experiments. Afterward, in Section 2.2, we describe the neural network-based approach we will use as our base model. In Section 2.3, we introduce our novel technique to adapt the neural network-based approach to unknown friction dynamics. In the following, we describe the robot dynamics and our assumptions during the training of the different approaches to isolate the friction effect. Consider the robot dynamics of the form _M_ ( _q_ )¨ _q_ + _C_ ( _q,_ _q_ ˙) ˙ _q_ + _τg_ ( _q_ ) = _τm_ + _τf_ + _τext,_ (1) where _q_ is the joint position vector, _q_ ˙ and _q_ ¨ are the joint velocity and acceleration vectors, respectively, and _M_ ( _q_ ) is the positive definite inertia matrix. The Coriolis and centrifugal matrix is denoted by _C_ ( _q,_ _q_ ˙), the gravitational torque by _τg_ ( _q_ ), and the friction torque by _τf_ . Furthermore, the terms _τm_ and _τext_ describe the motor joint torque and external joint torque, respectively. 3 Learning-based adaption of robotic friction models To predict the external torque using the estimation of the friction torque, we rewrite the dynamics equation as _τext_ = _M_ ( _q_ )¨ _q_ + _C_ ( _q,_ _q_ ˙) ˙ _q_ + _τg_ ( _q_ ) _−_ _τf_ _−_ _τm._ (2) We assume full knowledge of the robot dynamic terms ( _M_ ( _q_ ) _, C_ ( _q,_ _q_ ˙) _, τg_ ( _q_ )), whereas _τf_ is unknown. The motor torque in this case is directly measured as _τm_ . If no load is applied ( _τext_ = 0), the motor torque follows from the robot dynamics (assumed to be known) and the friction torque as _τm_ = _M_ ( _q_ )¨ _q_ + _C_ ( _q,_ _q_ ˙) ˙ _q_ + _τg_ ( _q_ ) _−_ _τf_ _._ (3) In the special case where we assume constant, single-joint velocities or constant, low velocities (¨ _q_ = 0 _, C_ ( _q,_ _q_ ˙) ˙ _q_ _≈_ 0), the quadratic terms of individual joints can be ignored, while it is assured that the coupling terms are zero. As a result, the equation simplifies to _τm_ = _τg_ ( _q_ ) _−_ _τf_ _._ (4) All the assumptions above will only be made during training to relate the motor torque to the friction effect as shown in Equation 4. 2.1 Model-based approach The friction torque _τf_ can be mathematically described by incorporating several fundamental characteristics that define friction in the sliding regime, including static friction, Coulomb friction, viscous friction, and the Stribeck effect (Armstrong-Helouvry, 2012). In the pure sliding regime, the static friction behavior _τ_ f,s can be represented by arbitrary functions, but a common model takes the form: _τ_ f,s( ˙ _q_ ) = _g_ ( ˙ _q_ ) + _s_ ( ˙ _q_ ) (5) _._ _g_ ( ˙ _q_ ) = _sign_ ( ˙ _q_ ) - _F_ c + ( _F_ s _−_ _F_ c) _e_ <sup>_−|_</sup> <sup>˙</sup> <sup>_q/v_</sup> <sup>s</sup> <sup>_|δ_</sup> <sup>s</sup> <sup>�</sup> The term _s_ ( ˙ _q_ ) expresses the velocity-strengthening function that is well known as viscous friction. Typically, it is linearly proportional to the joint velocity _q_ ˙ as _s_ ( ˙ _q_ ) = _Fv_ ˙ _q_, with the constant coefficient _Fv_ . The velocity-strengthening friction effect could in the general case include a nonlinear form as shown in (Iskandar and Wolf, 2019). The function _g_ ( ˙ _q_ ) describes the velocity-weakening behavior of the static friction. Also, _g_ ( ˙ _q_ ) is alternatively called the Stribeck curve, because it captures the Stribeck effect, where _F_ c is Coulomb friction, _F_ s is static or stiction friction, _vs_ is Stribeck velocity, and _δ_ s is the exponent parameter of the Stribeck-nonlinearity. The friction of the Harmonic-Drive (HD) gear-based robotic joint is known to be highly dependent on the temperature, which can be incorporated in the static and dynamic friction models (Wolf and Iskandar, 2018; Iskandar and Wolf, 2019). Generally, the joint torque varies during the robot operation as it is configuration-dependent. This variation is reflected as a load effect in the joint friction torque, which can be included in Equation equation 5 and results in _τ_ f _,_ s( ˙ _q, τ_ l) = _g_ ( ˙ _q, τ_ l) + _s_ ( ˙ _q, τ_ l) _,_ (6) where _τ_ f _,_ s( ˙ _q, τ_ l) denotes the static friction torque as a function of velocity _q_ ˙ and load _τ_ l, which is mainly gravitational torque in our case, for more details refer to (Iskandar and Wolf, 2019). As the friction phenomenon by nature is nonlinear and continuous at zero velocity crossing, it is unpractical to use the static friction model which is discontinuous at velocity reversal. Therefore, the dynamic friction effect can be expressed as _τ_ f _,_ d( ˙ _q, τ_ l) = _f_ ( _z,_ _q, τ_ ˙ l) _,_ (7) where _τ_ f _,_ d is the dynamic friction torque and _z_ is the internal friction state with its dynamics _<u>dz</u>_ _dt_ <sup>=</sup> <sup>_q_</sup> <sup>˙</sup> <sup>_−_</sup> <sup>_σ_</sup> <sup>0</sup> _<u>|q</u>_ <u>˙</u> _<u>|</u>_ _g_ ( ˙ _q, τ_ l) <sup>_z._</sup> (8) Equation equation 8 can be rewritten as _τ_ f _,_ d = _σ_ 0 _z_ + _σ_ 1 ˙ _z_ + _s_ ( ˙ _q, τ_ l) _._ (9) The pre-sliding parameters are the bristle stiffness _σ_ 0 and the micro-damping coefficient _σ_ 1, for more details see (Canudas de Wit et al., 1995; Johanastrom and Canudas-De-Wit, 2008). Equation equation 9 represents a smooth and continuous expression that can describe the friction dynamically and extends the LuGre model (Canudas de Wit et al., 1995) to incorporate load dependency, which is considered in this work as the conventional model-based approach. While the bristles-based dynamic friction models show high accuracy in capturing the physical friction effects of the robotic joints, the difficulty of estimating and adapting their parameters remains. This limits the usage of such models in many scenarios and proves a strong motivation for data-driven approaches. 4 Learning-based adaption of robotic friction models 2.2 Neural network based approach As our base model, we propose a data-driven model utilizing a neural network to learn the friction torque as a function of the gravity torque and its velocity. In our methodology, the focus lies on learning an unknown target function _f_ : _X_ _→_ _Y_ through the observation of input-output pairs _{_ ( _xi, yi_ ) _}_ <sup>_n_</sup> _i_ =1 <sup>_⊂_</sup> <sup>_X_</sup> <sup>_× Y_</sup> <sup>with</sup> <sup>_f_</sup> <sup>(</sup> <sup>_xi_</sup> <sup>)</sup> <sup>_≈_</sup> <sup>_yi_</sup> <sup>, where</sup> <sup>_X_</sup> <sup>denotes</sup> the input space and _Y_ represents the output space. It is assumed, with some simplification, that the data points _xi_ are sampled from a sequence of independently and identically distributed (iid) random variables, governed by a common probability density function _µ_, which is supported on _X_, i.e. _xi_ _∼_ _µ_ for all _i_ = 1 _, . . ., n_ and _µ_ ( _X_ ) = 1. Furthermore, it is acknowledged that the observed output _yi_ may potentially be corrupted by noise, thus introducing a degree of uncertainty. Our task now is to find a parameterized mapping _fθ_ : _X_ _×_ Θ _→_ _Y_ (in our case, a neural network) that approximates the desired function _f_, where Θ represents a finite-dimensional parameter space. This is achieved by identifying a suitable cost function _C_ : _X_ _× X_ _→_ R, which quantifies the discrepancy between the predicted outputs of _fθ_ and the true outputs, and minimizing the generalization error or risk, i.e., E _X∼µ_ [ _C_ ( _f, fθ_ )] over all _θ_ _∈_ Θ. The generalization error E reflects the expected value of this cost function over the entire input space _X_, capturing the network’s ability to generalize well to unseen data. By minimizing the generalization error, we strive to find the optimal set of parameters _θ_ _∈_ Θ that minimizes the discrepancy between _fθ_ and the true function _f_, with the hope that _f_ _≈_ _fθ_ . However, since, in general, we do not have access to the underlying probability measure _µ_ and solely have a finite number of observations of input-output pairs _{_ ( _xi, yi_ ) _}_ <sup>_n_</sup> _i_ =1 <sup>_⊂_</sup> <sup>_X ×_</sup> <sup>_Y_</sup> <sup>, we instead minimize the empirical risk or training</sup> error given by _L_ ( _θ_ ) = _n_ _i_ =1 _C_ ( _yi, fθ_ ( _xi_ )) over all _θ_ _∈_ Θ. An introduction to statistical learning theory can be found in Vapnik (2000). Hidden Hidden Input Output Figure 1: The architecture of the base neural network: Fully connected neural network with 2 hidden layers, each consisting of 30 neurons (for space reasons, we only show five neurons here). In the framework of learning the torque friction, we choose a neural network as our parametric map denoted by _NN_ ( _·, θ_ ), and the cost function is the squared difference of its inputs, i.e., the loss _L_ is the mean squared error. A neural network is a function _NN_ = _f_ 1 _◦_ _f_ 2 _◦· · · ◦_ _fl_ given by a composition of functions _fi_ (the layers) _fi_ ( _x_ ; _θi_ ) = _σ_ ( _Wix_ + _bi_ ) (10) where _θi_ = ( _Wi, bi_ ) are the parameters, _σ_ : R _→_ R is the so-called activation function, and _l_ _∈_ N is the number of layers of the neural network. Figure 1 shows the architecture of a two-hidden layer neural network which will be used for learning the torque friction. 5 Learning-based adaption of robotic friction models The idea in this paper is to train a neural network to model the friction torque by following equation 4. For this, we set _fθ_ = _NNbase_ ( _·_ ; _θ_ ) : _X_ _→_ _Y_ with _X_ = R <sup>2</sup> and _Y_ = R, thereby allowing the neural network to depend on the gravitational torque _τg_ ( _q_ ( _ti_ )) and the velocity _q_ ˙( _ti_ ) at a given time step _ti_ . As mentioned before, we then train the neural network by minimizing the mean squared error, i.e., the loss function is given by _Lbase_ ( _θ_ ) = _n_ _i_ =0 ( _NNbase_ ( _τg_ ( _q_ ( _ti_ )) _,_ _q_ ˙( _ti_ ); _θ_ ) _−_ ( _τm_ ( _ti_ ) _−_ _τg_ ( _q_ ( _ti_ )))) <sup>2</sup> _._ (11) _NNbase_ is a neural network with 2 hidden layers, each consisting of 30 neurons, as shown in Figure 1, which we will refer to as the base model in the following. As the activation function, we use the following exponential linear unit (ELU) function, given by, _f_ ( _x_ ) = - _x,_ _x >_ 0 _e_ <sup>_x_</sup> _−_ 1 _,_ _x ≤_ 0 (12) which is a smoothed version of the rectified linear unit (ReLU) function. 2.3 Adaption to new dynamics Since most models of friction are best for the dynamics they are built and trained for, it is helpful if existing models can be easily extended to new situations without the need for big data sets to retrain the models completely. For that reason, we propose to build upon the existing models to not waste the previously acquired knowledge and train an additional neural network _NNadd_ on the residuals of the old model on the new data. Therefore, we minimize the following loss: _g_ <sup>_add_</sup> ( _q_ ( _ti_ )) _,_ _q_ ˙ <sup>_add_</sup> ( _ti_ )) (13) _Ladd_ ( _ϕ_ ) = _n_ _i_ =0 - _NNadd_ ( _τg_ <sup>_add_</sup> _g_ <sup>_add_</sup> ( _q_ ( _ti_ )) _, sign_ ( ˙ _q_ <sup>_add_</sup> ( _ti_ )); _ϕ_ ) + _τfbase_ ( _τg_ <sup>_add_</sup> _m_ <sup>_add_</sup> <sup>(</sup> <sup>_ti_</sup> <sup>)</sup> <sup>_−_</sup> <sup>_τ add_</sup> _g_ �2 _._ _−_ ( _τm_ <sup>_add_</sup> <sup>_add_</sup> _g_ ( _q_ ( _ti_ ))) We allow the network _NNadd_ to depend on the gravity torque and the sign of the velocity; _ϕ_ denotes the parameters of _NNadd_ we want to optimize and _τfbase_ is the base model. In general, any base model works for _τfbase_, however, in this study, we utilize _NNbase_ as our base model, i.e., we set _τfbase_ = _NNbase_ . It is important to note that we only use the sign of the velocity as input for _NNadd_, rather than the full velocity. This choice is motivated by our objective to minimize the amount of data required for training. In our case, we will only use data from one movement with one velocity in both directions, which is insufficient to fully capture the complete velocity dependence. Nevertheless, this is not a problem because the base model, _NNbase_, already accounts for the velocity dependence. Note further that using the sign of the velocity fits to the discontinuity of the friction at zero velocity. The new predictor for the small friction data set with varying load and directions is then _τfpred_ ( _q,_ _q_ ˙) = _τfbase_ ( _q,_ _q_ ˙; _θ_ <sup>_∗_</sup> ) + _NNadd_ ( _q, sign_ ( ˙ _q_ ); _ϕ_ <sup>_∗_</sup> ) _,_ (14) where _ϕ_ <sup>_∗_</sup> denotes the parameters of the additional model, found when minimizing _Ladd_ ( _ϕ_ ). 3 Data sets Since the goal of this work is to adapt an existing approach to a set with different dynamics, we utilize two different data sets. Both data sets are collected to best capture the physical behavior of the friction torque. The experimental measurements are acquired from each robot joint separately at different constant velocities. In this study, the torquecontrolled DLR-KUKA LWR-IV+ robot is used as a reference platform. The full experimental setup is illustrated in Figure 2. This work aims to model the friction effects mainly resulting from the gear (HD), however, the used robot is also equipped with link-side torque sensors, which are used for validation only. The data is collected in two main subsets to best describe the friction effect and eliminate other unmodeled dynamics. 6 Learning-based adaption of robotic friction models Figure 2: The experimental setup: the robot is equipped with physical torque sensors in each joint output for the reference signals, while the measured motor current is used in the proposed method. (a) Velocity (b) Motor torque Figure 3: Velocity and motor torque of the collected friction dataset for Joint 2. For each data set we collect the position and velocity of the joints and the gravitational torque and applied motor current. The motor current _Im_ is used to compute the motor torque _τm_ = _KtIm_, where _Kt_ is the motor torque constant taken from the manufacturer’s data sheet. The gravitational torques in the robot joints are obtained through a model-based approach using recursive Newton-Euler formulation which relies on the robot’s mechanical design information, e.g., the mass and center of mass of each link, for which we rely on an accurate CAD model. Notably, the load variation effect also appears in the no-load data as a result of gravitational torque in the robot joints. This can be seen from the measured data in Figure 6b and 6c in Section 3.2 as the friction torque varies even when the velocities are constant. The temperature effect is minimized by applying warm-up phases before each data collection routine. In this way, the temperature is assumed to be constant during operation. 3.1 Base data set The base data set aims to capture the static friction behavior; therefore, the robot joints were excited to follow single-joint constant velocities. Thus, equation 4 holds and can be used to compute the friction. We will refer to this data set as the collected friction data set. Intensive experimental measurements have been carried out to cover the entire operational velocity and position ranges of the individual joints; the velocity and motor torque of Joint 2 can be seen in Figure 3. In this way, the static friction is characterized in a fine resolution and separated from other effects as shown in Figure 4. 7 Learning-based adaption of robotic friction models (a) Joint 2 (b) Joint 4 Figure 4: The measured friction torque-velocity behavior for Joint 2 and Joint 4 of the DLR-KUKA LWR-IV+ robot for the base data set. 3.2 Extended data set The extended data set is collected dynamically by applying different velocities sequentially while different external loads are attached to the robot end-effector and the joints are moved simultaneously. We refer to this data set as the small data set with varying loads and directions. The velocity and motor torque for this dataset without external torque are displayed in Figure 5. Additionally, the motor current _Im_ that corresponds to each joint motion is collected, which is linearly proportional to the motor torque as _τm_ = _KtIm_, where _Kt_ is the motor torque constant. Ideally, at a constant velocity and known gravity torque (see Equation 4), the motor torque purely corresponds to the friction torque. The gravitational torques in the robot joints are obtained through a model-based approach which relies on the robot’s mechanical design information, e.g., the mass and center of mass of each link. This assumes that the mass and center of mass of the robot links are perfectly known. The load variation effect also appears in the no-load data as a result of gravitational torque in the robot joints. This can be seen from the measured data in Figure 8 in Section 4.1 as the friction torque varies even when the velocities are constant. The temperature effect is minimized by applying warm-up phases before each data collection routine. In this way, the temperature is assumed to be constant during operation. (a) Velocity (b) Motor torque Figure 5: Velocity and motor torque of the small dataset with varying directions and without external load for Joint 2. The behavior of friction torque in robotic joints varies across the four quadrants, as defined in Figure 6a, due to changes in the interaction between velocity and gravitational torque (Abayebas et al., 2021): In the first and third quadrants, they have the same sign, while they have different signs in the second and fourth. The difference between the two datasets investigated in this paper can be visualized by examining the quadrants during one movement from each dataset, as shown in Figure 6. It is evident that the base dataset features entirely symmetric quadrants, whereas the additional dataset demonstrates a highly asymmetric trajectory across the quadrants. 8 Learning-based adaption of robotic friction models (a) The four quadrants of friction force. (b) Collected friction data set. (c) Simultaneous motion data set. Figure 6: Four quadrants of friction force: The different grey tones show the different quadrants the friction is going through. The friction stays in each quadrant for the exact same time in the collected friction data set, but the times vary strongly for the simultaneous motion data set. 4 Experimental results In this section, we present the results of the numerical experiments. In Subsection 4.1, we show the results of _NNbase_ on both the symmetric and asymmetric datasets and compare the performance to the conventional approach. These experiments reveal that the neural network-based approach performs similarly to the conventional approach and both struggle with the asymmetric data set. Consequently, in Subsection 4.2, we demonstrate the improvements achieved by adapting _NNbase_ using _NNadd_ . 4.1 Prediction of the base model The base network _NNbase_ is trained on a subset of the collected friction data set using the Adam optimizer (Kingma and Ba, 2015) with a learning rate of 0.01 for 50,000 training steps. Since for each velocity, the joint moves exactly once in both directions, the data contains more measurements in the low-velocity regime than in the high-velocity regime. As a consequence, the loss function tends to prioritize the low-velocity region, resulting in high precision for low velocities and low precision for high velocities. To address this, we downsample the data, ensuring an equal number of data points for each velocity, as depicted in Figure 3. Besides balancing the precision across velocity ranges, this downsampling also significantly improves runtime, particularly in the low-velocity regime where many data points are very similar. Figure 7 displays the behavior of the loss function _Lbase_ on both the training and validation data during the training of _NNbase_ for Joint 2 and 4, illustrating that the model effectively converges robustly to a local minimum and can be expected to generalize well, since the validation loss is close to the training loss. To assess the performance of the base neural network _NNbase_ trained on the collected friction data set, Figure 8 presents the comparison between its prediction and the measurements. The network demonstrates its capability to accurately approximate the friction torque, showcasing its effectiveness. In the next step, we explore whether the data-driven model _NNbase_ learned a meaningful relationship between velocity and friction. To investigate this, we evaluate the model on a grid spanning from _−_ 0 _._ 7 to 9 Learning-based adaption of robotic friction models (a) Joint 2 (b) Joint 4 Figure 7: The training and validation loss _Lbase_ for Joint 2 and Joint 4 for _NNbase_ . (a) Friction Joint 2 (b) Friction Joint 4 (c) Velocity Joint 2 (d) Velocity Joint 4 Figure 8: Figures (a) and (b) show the true friction torque of the collected friction data for Joints 2 and 4, respectively, which was withheld during the training and validation phase, and the estimate of the neural network. The mean absolute error was 0 _._ 79 _Nm_ and 0 _._ 60 _Nm_, respectively. Figures (c) and (d) show the velocity for Joints 2 and 4, respectively. 0 _._ 7 _rad/s_ for the velocity and from _−_ 43 to 43 _Nm_ for the gravitational torque for Joint 2 ( _−_ 13 to 13 _Nm_ for Joint 4). Figure 9 visualizes this evaluation as both a heatmap and a 3D plot, while Figure 10 presents the averaged results over the gravitational torque. These plots clearly demonstrate that the base neural network has learned a physically meaningful friction model, suggesting strong potential for generalization, as further supported by the results in Figure 8. As the neural network effectively captured the dynamics of friction for the base data set, the next step is to assess its performance on the extended data set. Figures 11 and 12 reveal that the base network _NNbase_ outperforms the conventional method, but it performs significantly worse than it did for the collected friction data set. In Figures 11 (e) and (f), as well as Figures 12 (e) and (f), the friction estimates are utilized to predict the external torque, illustrating the prediction error introduced through the error in friction modeling. 10 Learning-based adaption of robotic friction models (a) Heatmap Joint 2 (b) Heatmap Joint 4 (c) 3-dimensional plot Joint 2 (d) 3-dimensional plot Joint 4 Figure 9: Dependence of the friction on the velocity and the position as captured by the base model _NNbase_ for Joint 2 and 4. (a) Joint 2 (b) Joint 4 Figure 10: Dependence of the friction on the velocity as modeled by the base model _NNbase_ . 11 Learning-based adaption of robotic friction models (a) Friction Joint 2 (b) Friction Joint 4 (c) Velocity Joint 2 (d) Velocity Joint 4 (e) External torque Joint 2 (f) External torque Joint 4 Figure 11: Performance of the neural network versus the model-based approach on the small data set with asymmetric load. In (a) and (b) the friction is estimated for Joint 2 and 4. On Joint 2, the neural network achieved an average error of 2 _._ 40 _Nm_, while the conventional approach had an average error of 2 _._ 68 _Nm_ . On Joint 4, the neural network achieved an average error of 1 _._ 91 _Nm_, while the conventional approach had an average error of 2 _._ 45 _Nm_ . (c) and (d) show the velocities of the respective joints. In (e) and (f) the friction estimates are used to estimate the external torque, which is shown after denoising. 12 Learning-based adaption of robotic friction models (a) Friction Joint 2 (b) Friction Joint 4 (c) Velocity Joint 2 (d) Velocity Joint 4 (e) External torque Joint 2 (f) External torque Joint 4 Figure 12: Performance of the base model _NNbase_ versus the model-based approach on the small data set with symmetric load. In (a) and (b) the friction is estimated for Joint 2 and 4. On Joint 2, the base model achieved an average error of 2 _._ 51 _Nm_, while the conventional approach had an average error of 2 _._ 89 _Nm_ . On Joint 4 the base model achieved an average error of 2 _._ 48 _Nm_, while the conventional approach had an average error of 3 _._ 1 _Nm_ . (c) and (d) show the velocities of the respective joints. In (e) and (f) the friction estimates are used to estimate the external torque, which is shown after denoising. 13 Learning-based adaption of robotic friction models 4.2 Prediction of the adapted model To improve the prediction of _NNbase_ on the extended data set, we train the additive network _NNadd_ as described in Section 2.3 by minimizing _Ladd_ in Equation equation 13. Specifically, we provide only one velocity from the small data set without external load as training data. This does not lead to overfitting, since _NNadd_ depends solely on the gravitational torque and the sign of the velocity. The benefit of using only data without external load during training is that this does not require any external torque sensor. The architecture of the additional model _NNadd_ mirrors that of the base model, however, it only uses one hidden layer. The training process is also the same, but _NNadd_ is trained for only 200 epochs. Figure 13 displays the training and validation loss during training, showcasing robust minimization across epochs, but a slight difference in training and validation loss. (a) Joint 2 (b) Joint 4 Figure 13: The training and validation loss _Ladd_ for Joints 2 and 4 for _NNadd_ . Figure 14 demonstrates the accuracy of the friction modeling achieved by the adapted approach, as described in Section 2.3, in comparison to _NNbase_ and the conventional approach, even though only one velocity was observed during the additional training period (43s). Furthermore, Figures 15 and 16 reveal that this extension of the original neural network has a minimal impact on the velocity dependence, particularly preserving the underlying relationship that would be lost through the retraining of any network components. The combined approach not only exhibits a significant improvement for the small data set with varying directions when no external load is applied but also when asymmetric and symmetric external loads are present, as demonstrated in Figure 17 (a) and (b) and Figure 18 (a) and (b), respectively. By leveraging the accurate prediction of the adapted method for the friction torque we can estimate the external torque via the robot dynamics. Contrary to the prediction using only _NNbase_ in Figure 11 (e) and (f) and Figure 12 (e) and (f), this estimate strongly outperforms the conventional approach, see Figure 17 (e) and (f) and Figure 18 (e) and (f) for the asymmetric and symmetric load cases, respectively. 14 Learning-based adaption of robotic friction models (a) Friction Joint 2 (b) Friction Joint 4 (c) Velocity Joint 2 (d) Velocity Joint 4 Figure 14: Performance of the combined network _NNbase_ + _NNadd_ versus the model-based approach on the small data set without external load. In (a) and (b) the friction is estimated for Joint 2 and 4. On Joint 2, the combined neural network achieved an average error (on the test data) of 0 _._ 48 _Nm_, while the conventional approach had an average error of 2 _._ 62 _Nm_ . On Joint 4, the neural network achieved an average error of 0 _._ 66 _Nm_, while the conventional approach had an average error of 2 _._ 33 _Nm_ . (c) and (d) show the velocities of the respective joints. (a) Joint 2 (b) Joint 4 Figure 15: Dependence of the friction on the velocity as modelled by the combined neural network _NNbase_ + _NNadd_ versus as modelled by the base neural network. 15 Learning-based adaption of robotic friction models (a) Heatmap Joint 2 (b) Heatmap Joint 4 (c) 3 dimensional plot Joint 2 (d) 3 dimensional plot Joint 4 Figure 16: Dependence of the friction on the velocity and the position as captured by the combined neural network _NNbase_ + _NNadd_ for Joint 2 and 4. 16 Learning-based adaption of robotic friction models (a) Friction Joint 2 (b) Friction Joint 4 (c) Velocity Joint 2 (d) Velocity Joint 4 (e) External torque Joint 2 (f) External torque Joint 4 Figure 17: Performance of the combined neural network _NNbase_ + _NNadd_ versus the model-based approach on the asymmetric load data. In (a) and (b) the friction is estimated for Joint 2 and 4. On Joint 2, the combined neural network achieved an average error of 0 _._ 87 _Nm_, while the conventional approach had an average error of 2 _._ 66 _Nm_ . On Joint 4, the neural network achieved an average error of 0 _._ 70 _Nm_, while the conventional approach had an average error of 2 _._ 45 _Nm_ . (c) and (d) show the velocities of the respective joints. In (e) and (f) the friction estimates are used to estimate the external torque, which is shown after denoising. 17 Learning-based adaption of robotic friction models (a) Friction Joint 2 (b) Friction Joint 4 (c) Velocity Joint 2 (d) Velocity Joint 4 (e) External torque Joint 2 (f) External torque Joint 4 Figure 18: Performance of the combined neural network _NNbase_ + _NNadd_ versus the model-based approach on the symmetric load data. In (a) and (b) the friction is estimated for Joint 2 and 4. On Joint 2, the combined neural network achieved an average error of 0 _._ 80 _Nm_, while the conventional approach had an average error of 2 _._ 88 _Nm_ . On Joint 4, the neural network achieved an average error of 0 _._ 86 _Nm_, while the conventional approach had an average error of 3 _._ 09 _Nm_ . (c) and (d) show the velocities of the respective joints. In (e) and (f) the friction estimates are used to estimate the external torque, which is shown after denoising. 18 Learning-based adaption of robotic friction models 4.3 Comparisons with other data-driven methods To the best of our knowledge, this is the first work focusing on the adaptation of existing friction estimation models. Therefore, we primarily compared the base method with the adapted method, which is method-agnostic and can be applied to other methods presented in the literature. To ensure clarity, we concentrated in Sections 4.1 and 4.2 on classical methods (vanilla neural network and LuGre model), highlighting the benefits of residual learning. However, a comparative analysis with other data-driven approaches, as outlined in the literature review in Section 1.1, is of significant interest. To accomplish this, we re-implemented the methods proposed by Selmic and Lewis (2002) and by Ciliz and Tomizuka (2004); Kemal Cılız and Tomizuka (2007). Selmic and Lewis (2002) introduced a fully connected neural network with discontinuous activation functions to model the discontinuity of friction at zero velocity. For this purpose they applied the standard Sigmoid functions _σ_ ( _x_ ) = 1+1 _e_ <sup>_−x_</sup> <sup>and additionally the Sigmoid jump approximation functions</sup> _ϕk_ ( _x_ ) = �0 _,_ for _x <_ 0 _,_ (15) (1 _−_ _e_ <sup>_−x_</sup> ) <sup>_k_</sup> _,_ for _x ≥_ 0 _._ An extensive hyperparameter search, similar to the one performed for _NNbase_, showed that the network works best with 1 hidden layer comprising 30 neurons. Among these neurons, 20 used the standard Sigmoid as the activation function, while the remaining neurons applied the Sigmoid jump approximation function, with _k_ varying from 1 to 10 for each neuron, as proposed by Selmic and Lewis Selmic and Lewis (2002). The network was optimized using ADAM with a learning rate of 0.01 over 50,000 steps. Ciliz and Tomizuka (2004); Kemal Cılız and Tomizuka (2007) combine a neural network with a parametric approach to incorporate the flexibility of data-driven approaches with common knowledge about friction by modelling the friction torque _τf_ as _τ_ ˆ _f_ ( ˙ _q, τq_ ) = _NN_ ( ˙ _q, τq_ ) + _β_ 10 _._ 5(1 + _sign_ ( ˙ _q_ ) + _β_ 20 _._ 5(1 _−_ _sign_ ( ˙ _q_ ) (16) named _neural network with adaptive coulomb friction (NNACM)_ . Here, _β_ 1 and _β_ 2 denote learnable parameters.We extended the original NNACM model to allow the neural network to depend on the gravitational torque, as shown in equation 16, to ensure a fair comparison with the other approaches presented in this work. Through an extensive hyperparameter search, we determined that using one hidden layer with 50 neurons yielded optimal results. The network was optimized using ADAM with a learning rate of 0.01 over 50,000 steps. The results of both methods on the extended data set with asymmetric and symmetric loads can be observed in Table 2. It is evident from the table that both approaches perform slightly better than the extended LuGre model and the base neural network. However, the combined neural network proposed to learn the new dynamics still outperformed them by a margin, suggesting that these approaches also struggled with the new dynamics. Table 2: Comparisons between the base methods from Section 2.1 and 2.2 and the adapted approach from Section 2.3 with the approaches from Selmic and Lewis (2002) and Ciliz and Tomizuka (2004); Kemal Cılız and Tomizuka (2007) on joint 2. Error with the Error with the Method <u>asymmetric load</u> <u>symmetric load</u> Conventional model Error with the Method <u>asymmetric load</u> 2.68Nm 2.89Nm <u>(ext.</u> <u>LuGre)</u> _<u>NNbase</u>_ <u>2.40Nm</u> <u>2.51Nm</u> <u>Selmic and Lewis (2002)</u> <u>2.17Nm</u> <u>2.37Nm</u> Ciliz and Tomizuka (2004) 2.33Nm 2.42Nm <u>Kemal Cılız and Tomizuka (2007)</u> <u>NNbase</u> <u>+</u> <u>NNadd</u> <u>0.87Nm</u> <u>0.80Nm</u> 5 Summary and Conclusion Due to the lack of a precise mathematical description of friction torque in robotic joints, model-based approaches struggle to capture its behavior accurately. This, in turn, hinders robot control in various situations, especially when dealing with new movements or environments. To address this challenge, we proposed an approach that adapts existing friction models to new dynamics using a minimal amount of data, which enhances efficiency, prioritizes data quality over quantity, and addresses resource limitations. 19 Learning-based adaption of robotic friction models Our method leverages neural networks to learn the residuals of a base model on new dynamics, significantly improving model accuracy with as little as 43 seconds of additional data. Importantly, our approach does not require specific domain knowledge and eliminates the need for external torque sensors, reducing the overall cost of robotic systems. Although this paper primarily demonstrates the use of a neural network as the base model, Equation equation 13 permits the adaptation of any base model, thus enabling the incorporation of specialized data-driven or model-based techniques. Our method has been thoroughly tested with highly detailed data encompassing diverse velocities, loads, and movement directions, and its predictions have been validated using torque sensors. However, neural networks’ black-box nature and occasional difficulties in generalizing to out-of-distribution data remain challenges. Addressing these issues while retaining the advantages of data-driven friction torque learning will be important areas for future research. Besides this, we consider the incorporation of the adaption approach proposed in this work into an online learning procedure as a valuable future direction. Acknowledgements P. Scholl and G. Kutyniok acknowledge support by LMUexcellent, funded by the Federal Ministry of Education and Research (BMBF) and the Free State of Bavaria under the Excellence Strategy of the Federal Government and the Länder as well as by the Hightech Agenda Bavaria. Furthermore, G. Kutyniok was supported in part by the DAAD programme Konrad Zuse Schools of Excellence in Artificial Intelligence, sponsored by the Federal Ministry of Education and Research. G. Kutyniok also acknowledges support from the Munich Center for Machine Learning (MCML) as well as the German Research Foundation under Grants DFG-SPP-2298, KU 1446/31-1 and KU 1446/32-1 and under Grant DFG-SFB/TR 109 and Project C09. M. Iskandar, A. Dietrich, and J. Lee were supported by MOTIE/KEIT under Grants 20014485 and 37520014398. References M. Abayebas, F. Yumbla, J.-S. Yi, W. Lee, J. Park, and H. Moon. Passivity guaranteed dynamic friction model with temperature and load correction: Modeling and compensation for collaborative industrial robot. _IEEE Access_, PP: 1–1, 04 2021. doi: 10.1109/ACCESS.2021.3076308. P. Aivaliotis, S. Aivaliotis, C. Gkournelos, K. Kokkalis, G. Michalos, and S. Makris. Power and force limiting on industrial robots for human-robot collaboration. _Robotics and Computer-Integrated Manufacturing_, 59:346–360, 2019. ISSN 0736-5845. doi: https://doi.org/10.1016/j.rcim.2019.05.001. P. Aivaliotis, Z. Arkouli, K. Georgoulias, and S. Makris. Degradation curves integration in physics-based models: Towards the predictive maintenance of industrial robots. _Robotics and Computer-Integrated Manufacturing_, 71: 102177, 2021a. ISSN 0736-5845. doi: https://doi.org/10.1016/j.rcim.2021.102177. P. Aivaliotis, Z. Arkouli, D. Kaliakatsos-Georgopoulos, and S. Makris. Prediction assessment methodology for maintenance applications in manufacturing. _Procedia_ _CIRP_, 104:1494–1499, 2021b. ISSN 2212-8271. doi: https://doi.org/10.1016/j.procir.2021.11.252. 54th CIRP CMS 2021 - Towards Digitalized Manufacturing 4.0. A. Ajoudani, A. M. Zanchettin, S. Ivaldi, A. Albu-Schäffer, K. Kosuge, and O. Khatib. Progress and prospects of the human–robot collaboration. _Autonomous Robots_, 42:957–975, 2018. A. Angleraud, A. Ekrekli, K. Samarawickrama, G. Sharma, and R. Pieters. Sensor-based human–robot collaboration for industrial tasks. _Robotics and Computer-Integrated Manufacturing_, 86:102663, 2024. ISSN 0736-5845. doi: https://doi.org/10.1016/j.rcim.2023.102663. B. Armstrong-Helouvry. _Control of machines with friction_, volume 128. Springer Science & Business Media, 2012. A. C. Bittencourt and P. Axelsson. Modeling and experiment design for identification of wear in a robot joint under load and temperature uncertainties based on friction data. _IEEE/ASME transactions on mechatronics_, 19(5):1694–1706, 2013. A. C. Bittencourt and S. Gunnarsson. Static friction in a robot joint—modeling and identification of load and temperature effects. 2012. C. Canudas de Wit, H. Olsson, K. Astrom, and P. Lischinsky. A new model for control of systems with friction. _IEEE_ _Transactions on Automatic Control_, 40(3):419–425, 1995. doi: 10.1109/9.376053. 20 Learning-based adaption of robotic friction models A. Cherubini, R. Passama, A. Crosnier, A. Lasnier, and P. Fraisse. Collaborative manufacturing with physical human–robot interaction. _Robotics and Computer-Integrated Manufacturing_, 40:1–13, 2016. ISSN 0736-5845. doi: https://doi.org/10.1016/j.rcim.2015.12.007. M. Ciliz and M. Tomizuka. Neural network based friction compensation in motion control. _Electronics Letters_, 40:752 - 753, 07 2004. doi: 10.1049/el:20040500. A. De Santis, B. Siciliano, A. De Luca, and A. Bicchi. An atlas of physical human–robot interaction. _Mechanism and_ _Machine Theory_, 43(3):253–270, 2008. A. Dietrich and C. Ott. Hierarchical impedance-based tracking control of kinematically redundant robots. _IEEE_ _Transactions on Robotics_, 36(1):204–221, 2019. A. Dietrich, X. Wu, K. Bussmann, M. Harder, M. Iskandar, J. Englsberger, C. Ott, and A. Albu-Schäffer. Practical consequences of inertia shaping for interaction and tracking in robot control. _Control Engineering Practice_, 114: 104875, 2021. A. Fawzi, M. Balog, A. Huang, T. Hubert, B. Romera-Paredes, M. Barekatain, A. Novikov, F. Ruiz, J. Schrittwieser, G. Swirszcz, D. Silver, D. Hassabis, and P. Kohli. Discovering faster matrix multiplication algorithms with reinforcement learning. _Nature_, 610:47–53, 10 2022. doi: 10.1038/s41586-022-05172-4. K. Guo, Y. Pan, and H. Yu. Composite learning robot control with friction compensation: A neural network-based approach. _IEEE Transactions on Industrial Electronics_, 66(10):7841–7851, 2019. doi: 10.1109/TIE.2018.2886763. M. Hägele, K. Nilsson, J. N. Pires, and R. Bischoff. _Industrial Robotics_, pages 1385–1422. Springer International Publishing, Cham, 2016. ISBN 978-3-319-32552-1. doi: https://doi.org/10.1007/978-3-319-32552-1_54. R. Hao, J. Wang, J. Zhao, and S. Wang. Observer-based robust control of 6-dof parallel electrical manipulator with fast friction estimation. _IEEE Transactions on Automation Science and Engineering_, 13(3):1399–1408, 2015. N. Hirose and R. Tajima. Modeling of rolling friction by recurrent neural network using lstm. In _2017 IEEE International_ _Conference on Robotics and Automation (ICRA)_, pages 6471–6478, 2017. doi: 10.1109/ICRA.2017.7989764. S. Huang and K. K. Tan. Intelligent friction modeling and compensation using neural network approximations. _IEEE_ _Transactions on Industrial Electronics_, 59(8):3342–3349, 2012. doi: 10.1109/TIE.2011.2160509. M. Iskandar and S. Wolf. Dynamic friction model with thermal and load dependency: modeling, compensation, and external force estimation. In _2019 International Conference on Robotics and Automation (ICRA)_, pages 7367–7373. IEEE, 2019. M. Iskandar, C. Ott, O. Eiberger, M. Keppler, A. Albu-Schäffer, and A. Dietrich. Joint-level control of the dlr lightweight robot sara. In _2020 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS)_, pages 8903–8910. IEEE. M. Iskandar, O. Eiberger, A. Albu-Schäffer, A. De Luca, and A. Dietrich. Collision detection, identification, and localization on the dlr sara robot with sensing redundancy. In _2021 IEEE International Conference on Robotics and_ _Automation (ICRA)_, pages 3111–3117. IEEE, 2021. M. Iskandar, C. van Ommeren, X. Wu, A. Albu-Schäffer, and A. Dietrich. Model predictive control applied to different time-scale dynamics of flexible joint robots. _IEEE Robotics and Automation Letters_, 8(2):672–679, 2022. M. Iskandar, C. Ott, A. Albu-Schäffer, B. Siciliano, and A. Dietrich. Hybrid force-impedance control for fast end-effector motions. _IEEE Robotics and Automation Letters_, 2023. K. Johanastrom and C. Canudas-De-Wit. Revisiting the lugre friction model. _IEEE Control systems magazine_, 28(6): 101–114, 2008. J. M. Jumper, R. Evans, A. Pritzel, T. Green, M. Figurnov, O. Ronneberger, K. Tunyasuvunakool, R. Bates, A. Zídek, A. Potapenko, A. Bridgland, C. Meyer, S. A. A. Kohl, A. Ballard, A. Cowie, B. Romera-Paredes, S. Nikolov, R. Jain, J. Adler, T. Back, S. Petersen, D. A. Reiman, E. Clancy, M. Zielinski, M. Steinegger, M. Pacholska, T. Berghammer, S. Bodenstein, D. Silver, O. Vinyals, A. W. Senior, K. Kavukcuoglu, P. Kohli, and D. Hassabis. Highly accurate protein structure prediction with alphafold. _Nature_, 596:583 – 589, 2021. 21 Learning-based adaption of robotic friction models X. Ke, Y. Yu, K. Li, T. Wang, B. Zhong, Z. Wang, L. Kong, J. Guo, L. Huang, M. Idir, C. Liu, and C. Wang. Review on robot-assisted polishing: Status and future trends. _Robotics and Computer-Integrated Manufacturing_, 80:102482, 2023. ISSN 0736-5845. doi: https://doi.org/10.1016/j.rcim.2022.102482. M. Kemal Cılız and M. Tomizuka. Friction modelling and compensation for motion control using hybrid neural network models. _Engineering Applications of Artificial Intelligence_, 20(7):898–911, 2007. ISSN 0952-1976. doi: https://doi.org/10.1016/j.engappai.2006.12.007. M. R. Kermani, R. V. Patel, and M. Moallem. Friction identification and compensation in robotic manipulators. _IEEE_ _Transactions on Instrumentation and Measurement_, 56(6):2346–2353, 2007. Z. A. Khan, V. Chacko, and H. Nazir. A review of friction models in interacting joints for durability design. _Friction_, 5: 1–22, 2017. W. Kim, L. Peternel, M. Lorenzini, J. Babiˇc, and A. Ajoudani. A human-robot collaboration framework for improving ergonomics during dexterous operation of power tools. _Robotics_ _and_ _Computer-Integrated_ _Manufacturing_, 68: 102084, 2021. D. P. Kingma and J. Ba. Adam: A method for stochastic optimization. In Y. Bengio and Y. LeCun, editors, _3rd_ _International Conference on Learning Representations, ICLR 2015, San Diego, CA, USA, May 7-9, 2015, Conference_ _Track Proceedings_, 2015. A. Krizhevsky, I. Sutskever, and G. E. Hinton. Imagenet classification with deep convolutional neural networks. In F. Pereira, C. Burges, L. Bottou, and K. Weinberger, editors, _Advances in Neural Information Processing Systems_, volume 25. Curran Associates, Inc., 2012. M. Linderoth, A. Stolt, A. Robertsson, and R. Johansson. Robotic force estimation using motor torques and modeling of low velocity friction disturbances. In _2013 IEEE/RSJ International Conference on Intelligent Robots and Systems_, pages 3550–3556, 2013. doi: 10.1109/IROS.2013.6696862. B. Liu, P. Rocco, A. M. Zanchettin, F. Zhao, G. Jiang, and X. Mei. A real-time hierarchical control method for safe human–robot coexistence. _Robotics and Computer-Integrated Manufacturing_, 86:102666, 2024. ISSN 0736-5845. doi: https://doi.org/10.1016/j.rcim.2023.102666. S. Liu, L. Wang, and X. V. Wang. Sensorless force estimation for industrial robots using disturbance observer and neural learning of friction approximation. _Robotics and Computer-Integrated Manufacturing_, 71:102168, 2021. ISSN 0736-5845. doi: https://doi.org/10.1016/j.rcim.2021.102168. D. K.-G. P. Aivaliotis and S. Makris. Physics-based modelling of robot’s gearbox including non-linear phenomena. _International Journal of Computer Integrated Manufacturing_, 36(12):1864–1875, 2023. doi: 10.1080/0951192X. 2022.2162594. URL `[https://doi.org/10.1080/0951192X.2022.2162594](https://doi.org/10.1080/0951192X.2022.2162594)` . J. Reinecke, A. Dietrich, F. Schmidt, and M. Chalon. Experimental comparison of slip detection strategies by tactile sensing with the biotac® on the dlr hand arm system. In _2014 IEEE international Conference on Robotics and_ _Automation (ICRA)_, pages 2742–2748. IEEE, 2014. D. D. Rizos and S. D. Fassois. Friction identification based upon the lugre and maxwell slip models. _IFAC Proceedings_ _Volumes_, 38(1):548–553, 2005. ISSN 1474-6670. doi: https://doi.org/10.3182/20050703-6-CZ-1902.00092. 16th IFAC World Congress. R. Selmic and F. Lewis. Neural-network approximation of piecewise continuous functions: application to friction compensation. _IEEE Transactions on Neural Networks_, 13(3):745–751, 2002. doi: 10.1109/TNN.2002.1000141. D. Silver, A. Huang, C. Maddison, A. Guez, L. Sifre, G. Driessche, J. Schrittwieser, I. Antonoglou, V. Panneershelvam, M. Lanctot, S. Dieleman, D. Grewe, J. Nham, N. Kalchbrenner, I. Sutskever, T. Lillicrap, M. Leach, K. Kavukcuoglu, T. Graepel, and D. Hassabis. Mastering the game of go with deep neural networks and tree search. _Nature_, 529: 484–489, 01 2016. doi: 10.1038/nature16961. X. Tu, Y. Zhou, P. Zhao, and X. Cheng. Modeling the static friction in a robot joint by genetically optimized bp neural network. _Journal of Intelligent & Robotic Systems_, 94:29–41, 2019. V. Vapnik. _The Nature of Statistical Learning Theory_ . Springer: New York, 2000. 22 Learning-based adaption of robotic friction models J. Vogel, D. Leidner, A. Hagengruber, M. Panzirsch, B. Bauml, M. Denninger, U. Hillenbrand, L. Suchenwirth, P. Schmaus, M. Sewtz, et al. An ecosystem for heterogeneous robotic assistants in caregiving: Core functionalities and use cases. _IEEE Robotics & Automation Magazine_, 28(3):12–28, 2020. S. Wolf and M. Iskandar. Extending a dynamic friction model with nonlinear viscous and thermal dependency for a motor and harmonic drive gear. In _2018 IEEE International Conference on Robotics and Automation (ICRA)_, pages 783–790. IEEE, 2018. F. Xie, Z. Chong, X.-J. Liu, H. Zhao, and J. Wang. Precise and smooth contact force control for a hybrid mobile robot used in polishing. _Robotics and Computer-Integrated Manufacturing_, 83:102573, 2023. ISSN 0736-5845. doi: https://doi.org/10.1016/j.rcim.2023.102573. 23

섹션 본문 78문단 · 36,368자

(제목 없음)

1In the Fourth Industrial Revolution, wherein artificial intelligence and the automation of machines occupy a central role, the deployment of robots is indispensable.However, the manufacturing process using robots, especially in collaboration with humans, is highly intricate.In particular, modeling the friction torque in robotic joints is a longstanding problem due to the lack of a good mathematical description.This motivates the usage of data-driven methods in recent works.However, model-based and data-driven models often exhibit limitations in their ability to generalize beyond the specific dynamics they were trained on, as we demonstrate in this paper.To address this challenge, we introduce a novel approach based on residual learning, which aims to adapt an existing friction model to new dynamics using as little data as possible.We validate our approach by training a base neural network on a symmetric friction data set to learn an accurate relation between the velocity and the friction torque.Subsequently, to adapt to more complex asymmetric settings, we train a second network on a small dataset, focusing on predicting the residual of the initial network's output.By combining the output of both networks in a suitable manner, our proposed estimator outperforms the conventional model-based approach, an extended LuGre model, and the base neural network significantly.Furthermore, we evaluate our method on trajectories involving external loads and still observe a substantial improvement, approximately 60-70%, over the conventional approach.Our method does not rely on data with external load during training, eliminating the need for external torque sensors.This demonstrates the generalization capability of our approach, even with a small amount of data-less than a minute-enabling adaptation to diverse scenarios based on prior knowledge about friction in different settings.

Introduction

2In the context of advancing human-robot collaboration in manufacturing (Ajoudani et al., 2018;Kim et al., 2021;Angleraud et al., 2024;Liu et al., 2024), where physical interaction between humans and robots is becoming increasingly important, the accurate estimation of interaction forces is critical for ensuring safety (Aivaliotis et al., 2019;Cherubini arXiv:2310.16688v2 [cs.RO]

May 2025

3Table 1: Overview of data-driven approaches to model the friction and their application.

Approach

4Application goal Method Selmic and Lewis (2002) Friction estimation Fully connected NN with discontinuous activation functions Ciliz and Tomizuka (2004); Kemal Cılız and Tomizuka (2007) Motion control Hybrid of a parametric model and NN Huang and Tan (2012) Motion control Combination of two NNs Guo et al. (2019) Motion control Fully connected NN with discontinuous activation functions Hirose and Tajima (2017) Friction estimation Long Short-Term Memory (LSTM) network Tu et al. (2019) Friction estimation NN initialized using Genetic Programming (GP) Liu et al. (2021) External torque estimation NN with sigmoid activation et al., 2016;Iskandar et al., 2023).Achieving this often involves the precise estimation of external forces, which can be accomplished by mounting force-torque sensors on the robot's end-effector.Unfortunately, many industrial robots do not have these sensors due to their high cost (Hägele et al., 2016).This situation emphasizes the need for a reliable, cost-effective, and sensorless method for estimating external torque, which, in turn, necessitates the development of an accurate friction model.

5A precise model of friction (Kermani et al., 2007) has the potential to enhance the functionality of robotic systems in multiple aspects.It plays a crucial role in achieving energy-efficient computations, enhancing the precision of dynamic simulations, improving control performance at the joint level (Dietrich et al., 2021;Xie et al., 2023;Ke et al., 2023; P. Aivaliotis and Makris, 2023), or detecting slip (Reinecke et al., 2014).To mitigate the undesirable effects of friction, a model-based friction compensation approach is commonly integrated into the control system.This approach finds widespread applications across multiple domains, including joint-level control (Iskandar et al.;2022), safe human-robot interaction (De Santis et al., 2008;Dietrich and Ott, 2019;Vogel et al., 2020;Iskandar et al., 2021), and the enhancement of external torque estimation precision during interactions with the environment.Furthermore, friction is an important factor in the degradation curves of the components of a robot, thus, a precise friction estimation also improves the predictive maintenance (Aivaliotis et al., 2021a;b).However, modeling the friction is highly complicated since it depends on a multitude of factors limiting the applicability of model-based approaches (Rizos and Fassois, 2005;Linderoth et al., 2013;Khan et al., 2017;Hao et al., 2015;Bittencourt and Gunnarsson, 2012;Bittencourt and Axelsson, 2013).

Related work

6The success of neural networks (NN) in the last decade (Krizhevsky et al., 2012;Silver et al., 2016;Fawzi et al., 2022;Jumper et al., 2021) inspired engineers to explore their application in modeling complex dynamics, including friction.An overview of data-driven approaches for friction modeling is given in Table 1.Selmic and Lewis (2002), for example, developed neural network models for friction that utilized specialized architectures with discontinuous activation functions.This design aimed to enhance the fitting of the observed friction data, ultimately reducing the number of required neurons, training time, and data.Another common approach is to use a hybrid method consisting of a simple parametric model and a complicated neural network.Ciliz and Tomizuka (2004); Kemal Cılız and Tomizuka (2007) showed that this approach improves over both, a single parametric model and a single neural network, since it combines the flexibility of a neural network with the known dynamics captured by the simple parametric model, thus, introducing an inductive bias in the architecture.

7Recent research has aimed to leverage the structure of dynamics and learn multiple models to complement each other.Huang and Tan (2012), for instance, trained two neural networks specifically for modeling friction.Guo et al. (2019) took this a step further by learning additional, individual neural networks for the inertia matrix, the Coriolis torque, and the gravitational torque, which were subsequently combined into a single neural network.They also adapted discontinuous activation functions for friction torque.Most of the work, however, does not capture the hysteresis effect of friction, as they lack a dependence on the history.To model this, Hirose and Tajima (2017) applied a Long Short-Term Memory (LSTM) network, a type of recurrent neural network (RNN) that can naturally process sequences by maintaining a hidden state.Another approach was taken by Tu et al. (2019), who used genetic algorithms (GA) to compute suitable initializations for the neural network weights.For human-robot interaction, it is crucial to be able to estimate the external torque of robot joints, which was the goal of Liu et al. (2021) by approximating the friction using neural networks.

Our contributions

8The application of data-driven approaches to model friction in robotic joints is not a novel concept.However, previous approaches have exhibited limitations in their generality due to the absence of important components within the data.Specifically, these approaches lack the incorporation of different velocities, the reversal of directions, simultaneous movement of joints, and continuously varying loads.These conditions significantly influence the performance of data-driven approaches, as evidenced in Section 4.1.The results demonstrate that a network, that may outperform traditional model-based approaches on a dataset lacking some of these effects, ultimately fails when subjected to more complex data.Furthermore, dynamics also change due to wear, varying temperature and humidity, and other external factors.

9To address these challenges, we propose a novel strategy to adopt existing methods to unknown dynamics while requiring as little data as possible-only one movement in our case.To achieve this we train a neural network on the residual of a base estimator on new dynamics for which the base estimator fails, to be able to use the knowledge learned by the base estimator while improving its performance for the new dynamics.The key contributions of this paper are as follows:

101. Adaption of a base model to new friction dynamics: To tackle the challenge of adapting existing friction models to new dynamics with as little data as possible, we propose to learn the residuals using a neural network.2. Comprehensive evaluation: We evaluate our approach using a data-driven base model of friction and compare it against a conventional model-based approach, an extended LuGre model.We show that our approach then only requires data from a single point-to-point movement that includes a velocity reversal to be able to adapt the prediction of the friction torque and outperform the conventional approach and the base network for different velocities, while reversing the directions, moving the joints simultaneously, and continuously varying the external loads.3. Integration into torque estimation framework: To demonstrate the practical applicability of our adapted friction model, we integrate it into a torque estimation framework.By estimating the external torque applied to an object more precisely than the base network and the traditional approach, our approach enhances the overall precision and efficiency of robotic systems.We validate the accuracy of our torque estimation using external torque sensors, thereby ensuring the reliability of our proposed methodology.

11The successful adaption of existing friction models and their integration into the torque estimation framework holds promise for numerous applications in the field of robotics.This approach can potentially advance dynamic simulations, friction compensation techniques, and external torque estimation methodologies, enabling the development of more capable and adaptable robotic systems across various domains.By being able to adapt existing models to new dynamics, this approach leverages the wealth of existing knowledge and models, making it a powerful tool for addressing complex and dynamic scenarios in robotics.

Methods

12The goal of this paper is to introduce a novel approach to adapt existing methods to new dynamics using as little data as possible.This is desirable for several reasons, including time and cost savings, prioritizing data quality over quantity, resource limitations, and reduced complexity.In Section 2.1, we start with the introduction of the conventional model-based approach we use as a baseline for comparison throughout our experiments.Afterward, in Section 2.2, we describe the neural network-based approach we will use as our base model.In Section 2.3, we introduce our novel technique to adapt the neural network-based approach to unknown friction dynamics.

13In the following, we describe the robot dynamics and our assumptions during the training of the different approaches to isolate the friction effect.Consider the robot dynamics of the form

14where q is the joint position vector, q and q are the joint velocity and acceleration vectors, respectively, and M (q) is the positive definite inertia matrix.The Coriolis and centrifugal matrix is denoted by C(q, q), the gravitational torque by τ g (q), and the friction torque by τ f .Furthermore, the terms τ m and τ ext describe the motor joint torque and external joint torque, respectively.

15To predict the external torque using the estimation of the friction torque, we rewrite the dynamics equation as τ ext = M (q)q + C(q, q) q + τ g (q) − τ f − τ m .

16(2)

17We assume full knowledge of the robot dynamic terms (M (q), C(q, q), τ g (q)), whereas τ f is unknown.The motor torque in this case is directly measured as τ m .If no load is applied (τ ext = 0), the motor torque follows from the robot dynamics (assumed to be known) and the friction torque as τ m = M (q)q + C(q, q) q + τ g (q) − τ f .

18(3)

19In the special case where we assume constant, single-joint velocities or constant, low velocities (q = 0, C(q, q) q ≈ 0), the quadratic terms of individual joints can be ignored, while it is assured that the coupling terms are zero.As a result, the equation simplifies to

20All the assumptions above will only be made during training to relate the motor torque to the friction effect as shown in Equation 4.

Model-based approach

21The friction torque τ f can be mathematically described by incorporating several fundamental characteristics that define friction in the sliding regime, including static friction, Coulomb friction, viscous friction, and the Stribeck effect (Armstrong-Helouvry, 2012).In the pure sliding regime, the static friction behavior τ f,s can be represented by arbitrary functions, but a common model takes the form:

22The term s( q) expresses the velocity-strengthening function that is well known as viscous friction.Typically, it is linearly proportional to the joint velocity q as s( q) = F v q, with the constant coefficient F v .The velocity-strengthening friction effect could in the general case include a nonlinear form as shown in (Iskandar and Wolf, 2019).The function g( q) describes the velocity-weakening behavior of the static friction.Also, g( q) is alternatively called the Stribeck curve, because it captures the Stribeck effect, where F c is Coulomb friction, F s is static or stiction friction, v s is Stribeck velocity, and δ s is the exponent parameter of the Stribeck-nonlinearity.The friction of the Harmonic-Drive (HD) gear-based robotic joint is known to be highly dependent on the temperature, which can be incorporated in the static and dynamic friction models (Wolf and Iskandar, 2018;Iskandar and Wolf, 2019).Generally, the joint torque varies during the robot operation as it is configuration-dependent.This variation is reflected as a load effect in the joint friction torque, which can be included in Equation equation 5 and results in τ f,s ( q, τ l ) = g( q, τ l ) + s( q, τ l ) , (6) where τ f,s ( q, τ l ) denotes the static friction torque as a function of velocity q and load τ l , which is mainly gravitational torque in our case, for more details refer to (Iskandar and Wolf, 2019).As the friction phenomenon by nature is nonlinear and continuous at zero velocity crossing, it is unpractical to use the static friction model which is discontinuous at velocity reversal.Therefore, the dynamic friction effect can be expressed as

23where τ f,d is the dynamic friction torque and z is the internal friction state with its dynamics

24Equation equation 8 can be rewritten as

25(9) The pre-sliding parameters are the bristle stiffness σ 0 and the micro-damping coefficient σ 1 , for more details see (Canudas de Wit et al., 1995;Johanastrom and Canudas-De-Wit, 2008).

26Equation equation 9 represents a smooth and continuous expression that can describe the friction dynamically and extends the LuGre model (Canudas de Wit et al., 1995) to incorporate load dependency, which is considered in this work as the conventional model-based approach.While the bristles-based dynamic friction models show high accuracy in capturing the physical friction effects of the robotic joints, the difficulty of estimating and adapting their parameters remains.This limits the usage of such models in many scenarios and proves a strong motivation for data-driven approaches.

Neural network based approach

27As our base model, we propose a data-driven model utilizing a neural network to learn the friction torque as a function of the gravity torque and its velocity.In our methodology, the focus lies on learning an unknown target function f : X → Y through the observation of input-output pairs {(x i , y i )} n i=1 ⊂ X × Y with f (x i ) ≈ y i , where X denotes the input space and Y represents the output space.It is assumed, with some simplification, that the data points x i are sampled from a sequence of independently and identically distributed (iid) random variables, governed by a common probability density function µ, which is supported on X, i.e. x i ∼ µ for all i = 1, . . ., n and µ(X) = 1.Furthermore, it is acknowledged that the observed output y i may potentially be corrupted by noise, thus introducing a degree of uncertainty.

28Our task now is to find a parameterized mapping f θ : X × Θ → Y (in our case, a neural network) that approximates the desired function f , where Θ represents a finite-dimensional parameter space.This is achieved by identifying a suitable cost function C : X × X → R, which quantifies the discrepancy between the predicted outputs of f θ and the true outputs, and minimizing the generalization error or risk, i.e.,

29over all θ ∈ Θ.The generalization error E reflects the expected value of this cost function over the entire input space X, capturing the network's ability to generalize well to unseen data.By minimizing the generalization error, we strive to find the optimal set of parameters θ ∈ Θ that minimizes the discrepancy between f θ and the true function f , with the hope that f ≈ f θ .

30However, since, in general, we do not have access to the underlying probability measure µ and solely have a finite number of observations of input-output pairs {(x i , y i )} n i=1 ⊂ X × Y , we instead minimize the empirical risk or training error given by

31over all θ ∈ Θ.An introduction to statistical learning theory can be found in Vapnik (2000).

Input Hidden Hidden

32Output Figure 1: The architecture of the base neural network: Fully connected neural network with 2 hidden layers, each consisting of 30 neurons (for space reasons, we only show five neurons here).

33In the framework of learning the torque friction, we choose a neural network as our parametric map denoted by N N (•, θ), and the cost function is the squared difference of its inputs, i.e., the loss L is the mean squared error.A neural network is a function

34given by a composition of functions f i (the layers)

35where θ i = (W i , b i ) are the parameters, σ : R → R is the so-called activation function, and l ∈ N is the number of layers of the neural network.Figure 1 shows the architecture of a two-hidden layer neural network which will be used for learning the torque friction.

36The idea in this paper is to train a neural network to model the friction torque by following equation 4. For this, we set f θ = N N base (•; θ) : X → Y with X = R 2 and Y = R, thereby allowing the neural network to depend on the gravitational torque τ g (q(t i )) and the velocity q(t i ) at a given time step t i .

37As mentioned before, we then train the neural network by minimizing the mean squared error, i.e., the loss function is given by

38N N base is a neural network with 2 hidden layers, each consisting of 30 neurons, as shown in Figure 1, which we will refer to as the base model in the following.As the activation function, we use the following exponential linear unit (ELU) function, given by,

39which is a smoothed version of the rectified linear unit (ReLU) function.

Adaption to new dynamics

40Since most models of friction are best for the dynamics they are built and trained for, it is helpful if existing models can be easily extended to new situations without the need for big data sets to retrain the models completely.For that reason, we propose to build upon the existing models to not waste the previously acquired knowledge and train an additional neural network N N add on the residuals of the old model on the new data.Therefore, we minimize the following loss:

41We allow the network N N add to depend on the gravity torque and the sign of the velocity; ϕ denotes the parameters of N N add we want to optimize and τ f base is the base model.In general, any base model works for τ f base , however, in this study, we utilize N N base as our base model, i.e., we set τ f base = N N base .

42It is important to note that we only use the sign of the velocity as input for N N add , rather than the full velocity.This choice is motivated by our objective to minimize the amount of data required for training.In our case, we will only use data from one movement with one velocity in both directions, which is insufficient to fully capture the complete velocity dependence.Nevertheless, this is not a problem because the base model, N N base , already accounts for the velocity dependence.Note further that using the sign of the velocity fits to the discontinuity of the friction at zero velocity.

43The new predictor for the small friction data set with varying load and directions is then

44where ϕ * denotes the parameters of the additional model, found when minimizing L add (ϕ).

Data sets

45Since the goal of this work is to adapt an existing approach to a set with different dynamics, we utilize two different data sets.Both data sets are collected to best capture the physical behavior of the friction torque.The experimental measurements are acquired from each robot joint separately at different constant velocities.In this study, the torquecontrolled DLR-KUKA LWR-IV+ robot is used as a reference platform.The full experimental setup is illustrated in Figure 2.

46This work aims to model the friction effects mainly resulting from the gear (HD), however, the used robot is also equipped with link-side torque sensors, which are used for validation only.The data is collected in two main subsets to best describe the friction effect and eliminate other unmodeled dynamics.For each data set we collect the position and velocity of the joints and the gravitational torque and applied motor current.The motor current I m is used to compute the motor torque τ m = K t I m , where K t is the motor torque constant taken from the manufacturer's data sheet.The gravitational torques in the robot joints are obtained through a model-based approach using recursive Newton-Euler formulation which relies on the robot's mechanical design information, e.g., the mass and center of mass of each link, for which we rely on an accurate CAD model.

47Notably, the load variation effect also appears in the no-load data as a result of gravitational torque in the robot joints.This can be seen from the measured data in Figure 6b and 6c in Section 3.2 as the friction torque varies even when the velocities are constant.The temperature effect is minimized by applying warm-up phases before each data collection routine.In this way, the temperature is assumed to be constant during operation.

Base data set

48The base data set aims to capture the static friction behavior; therefore, the robot joints were excited to follow single-joint constant velocities.Thus, equation 4 holds and can be used to compute the friction.We will refer to this data set as the collected friction data set.Intensive experimental measurements have been carried out to cover the entire operational velocity and position ranges of the individual joints; the velocity and motor torque of Joint 2 can be seen in Figure 3.In this way, the static friction is characterized in a fine resolution and separated from other effects as shown in Figure 4.

Extended data set

49The extended data set is collected dynamically by applying different velocities sequentially while different external loads are attached to the robot end-effector and the joints are moved simultaneously.We refer to this data set as the small data set with varying loads and directions.The velocity and motor torque for this dataset without external torque are displayed in Figure 5. Additionally, the motor current I m that corresponds to each joint motion is collected, which is linearly proportional to the motor torque as τ m = K t I m , where K t is the motor torque constant.Ideally, at a constant velocity and known gravity torque (see Equation 4), the motor torque purely corresponds to the friction torque.The gravitational torques in the robot joints are obtained through a model-based approach which relies on the robot's mechanical design information, e.g., the mass and center of mass of each link.This assumes that the mass and center of mass of the robot links are perfectly known.The load variation effect also appears in the no-load data as a result of gravitational torque in the robot joints.This can be seen from the measured data in Figure 8 in Section 4.1 as the friction torque varies even when the velocities are constant.The temperature effect is minimized by applying warm-up phases before each data collection routine.In this way, the temperature is assumed to be constant during operation.The behavior of friction torque in robotic joints varies across the four quadrants, as defined in Figure 6a, due to changes in the interaction between velocity and gravitational torque (Abayebas et al., 2021): In the first and third quadrants, they have the same sign, while they have different signs in the second and fourth.The difference between the two datasets investigated in this paper can be visualized by examining the quadrants during one movement from each dataset, as shown in Figure 6.It is evident that the base dataset features entirely symmetric quadrants, whereas the additional dataset demonstrates a highly asymmetric trajectory across the quadrants.

Experimental results

50In this section, we present the results of the numerical experiments.In Subsection 4.1, we show the results of N N base on both the symmetric and asymmetric datasets and compare the performance to the conventional approach.These experiments reveal that the neural network-based approach performs similarly to the conventional approach and both struggle with the asymmetric data set.Consequently, in Subsection 4.2, we demonstrate the improvements achieved by adapting N N base using N N add .

Prediction of the base model

51The base network N N base is trained on a subset of the collected friction data set using the Adam optimizer (Kingma and Ba, 2015) with a learning rate of 0.01 for 50,000 training steps.Since for each velocity, the joint moves exactly once in both directions, the data contains more measurements in the low-velocity regime than in the high-velocity regime.As a consequence, the loss function tends to prioritize the low-velocity region, resulting in high precision for low velocities and low precision for high velocities.To address this, we downsample the data, ensuring an equal number of data points for each velocity, as depicted in Figure 3.Besides balancing the precision across velocity ranges, this downsampling also significantly improves runtime, particularly in the low-velocity regime where many data points are very similar.

52Figure 7 displays the behavior of the loss function L base on both the training and validation data during the training of N N base for Joint 2 and 4, illustrating that the model effectively converges robustly to a local minimum and can be expected to generalize well, since the validation loss is close to the training loss.To assess the performance of the base neural network N N base trained on the collected friction data set, Figure 8 presents the comparison between its prediction and the measurements.The network demonstrates its capability to accurately approximate the friction torque, showcasing its effectiveness.In the next step, we explore whether the data-driven model N N base learned a meaningful relationship between velocity and friction.To investigate this, we evaluate the model on a grid spanning from −0.7 to Figure 9 visualizes this evaluation as both a heatmap and a 3D plot, while Figure 10 presents the averaged results over the gravitational torque.These plots clearly demonstrate that the base neural network has learned a physically meaningful friction model, suggesting strong potential for generalization, as further supported by the results in Figure 8.

53As the neural network effectively captured the dynamics of friction for the base data set, the next step is to assess its performance on the extended data set.Figures 11 and 12 reveal that the base network N N base outperforms the conventional method, but it performs significantly worse than it did for the collected friction data set.In Figures 11 (e) and (f), as well as Figures 12 (e) and (f), the friction estimates are utilized to predict the external torque, illustrating the prediction error introduced through the error in friction modeling.Figure 14 demonstrates the accuracy of the friction modeling achieved by the adapted approach, as described in Section 2.3, in comparison to N N base and the conventional approach, even though only one velocity was observed during the additional training period (43s).Furthermore, Figures 15 and 16 reveal that this extension of the original neural network has a minimal impact on the velocity dependence, particularly preserving the underlying relationship that would be lost through the retraining of any network components.

54The combined approach not only exhibits a significant improvement for the small data set with varying directions when no external load is applied but also when asymmetric and symmetric external loads are present, as demonstrated in Figure 17

Comparisons with other data-driven methods

55To the best of our knowledge, this is the first work focusing on the adaptation of existing friction estimation models.Therefore, we primarily compared the base method with the adapted method, which is method-agnostic and can be applied to other methods presented in the literature.To ensure clarity, we concentrated in Sections 4.1 and 4.2 on classical methods (vanilla neural network and LuGre model), highlighting the benefits of residual learning.

56However, a comparative analysis with other data-driven approaches, as outlined in the literature review in Section 1.1, is of significant interest.To accomplish this, we re-implemented the methods proposed by Selmic and Lewis (2002) and by Ciliz and Tomizuka (2004); Kemal Cılız and Tomizuka (2007).Selmic and Lewis (2002) introduced a fully connected neural network with discontinuous activation functions to model the discontinuity of friction at zero velocity.For this purpose they applied the standard Sigmoid functions σ(x) = 1 1+e −x and additionally the Sigmoid jump approximation functions

57An extensive hyperparameter search, similar to the one performed for N N base , showed that the network works best with 1 hidden layer comprising 30 neurons.Among these neurons, 20 used the standard Sigmoid as the activation function, while the remaining neurons applied the Sigmoid jump approximation function, with k varying from 1 to 10 for each neuron, as proposed by Selmic and Lewis Selmic and Lewis (2002).The network was optimized using ADAM with a learning rate of 0.01 over 50,000 steps.Ciliz and Tomizuka (2004); Kemal Cılız and Tomizuka (2007) combine a neural network with a parametric approach to incorporate the flexibility of data-driven approaches with common knowledge about friction by modelling the friction torque τ f as τf ( q, τ q ) = N N ( q, τ q ) + β 1 0.5(1 + sign( q) + β 2 0.5(1 − sign( q) (16) named neural network with adaptive coulomb friction (NNACM).Here, β 1 and β 2 denote learnable parameters.We extended the original NNACM model to allow the neural network to depend on the gravitational torque, as shown in equation 16, to ensure a fair comparison with the other approaches presented in this work.Through an extensive hyperparameter search, we determined that using one hidden layer with 50 neurons yielded optimal results.The network was optimized using ADAM with a learning rate of 0.01 over 50,000 steps.

58The results of both methods on the extended data set with asymmetric and symmetric loads can be observed in Table 2.It is evident from the table that both approaches perform slightly better than the extended LuGre model and the base neural network.However, the combined neural network proposed to learn the new dynamics still outperformed them by a margin, suggesting that these approaches also struggled with the new dynamics.

59Table 2: Comparisons between the base methods from Section 2.1 and 2.2 and the adapted approach from Section 2.3 with the approaches from Selmic and Lewis (2002) and Ciliz and Tomizuka (2004); Kemal Cılız and Tomizuka (2007) on joint 2.

Method

60Error with the asymmetric load Error with the symmetric load Conventional model (ext.LuGre) 2.68Nm 2.89Nm

61N N base 2.40Nm 2.51Nm Selmic and Lewis (2002) 2.17Nm 2.37Nm Ciliz and Tomizuka (2004) Kemal Cılız and Tomizuka (2007) 2.33Nm 2.42Nm

62NN base + NN add 0.87Nm 0.80Nm

Summary and Conclusion

63Due to the lack of a precise mathematical description of friction torque in robotic joints, model-based approaches struggle to capture its behavior accurately.This, in turn, hinders robot control in various situations, especially when dealing with new movements or environments.To address this challenge, we proposed an approach that adapts existing friction models to new dynamics using a minimal amount of data, which enhances efficiency, prioritizes data quality over quantity, and addresses resource limitations.

64Our method leverages neural networks to learn the residuals of a base model on new dynamics, significantly improving model accuracy with as little as 43 seconds of additional data.Importantly, our approach does not require specific domain knowledge and eliminates the need for external torque sensors, reducing the overall cost of robotic systems.Although this paper primarily demonstrates the use of a neural network as the base model, Equation equation 13 permits the adaptation of any base model, thus enabling the incorporation of specialized data-driven or model-based techniques.

65Our method has been thoroughly tested with highly detailed data encompassing diverse velocities, loads, and movement directions, and its predictions have been validated using torque sensors.

66However, neural networks' black-box nature and occasional difficulties in generalizing to out-of-distribution data remain challenges.Addressing these issues while retaining the advantages of data-driven friction torque learning will be important areas for future research.Besides this, we consider the incorporation of the adaption approach proposed in this work into an online learning procedure as a valuable future direction.

Figure 2 :

67Figure 2: The experimental setup: the robot is equipped with physical torque sensors in each joint output for the reference signals, while the measured motor current is used in the proposed method.

Figure 3 :

68Figure 3: Velocity and motor torque of the collected friction dataset for Joint 2.

Figure 4 :

69Figure 4: The measured friction torque-velocity behavior for Joint 2 and Joint 4 of the DLR-KUKA LWR-IV+ robot for the base data set.

Figure 5 :

70Figure 5: Velocity and motor torque of the small dataset with varying directions and without external load for Joint 2.

71(a) The four quadrants of friction force.(b) Collected friction data set.(c)Simultaneous motion data set.

Figure 6 :

72Figure 6: Four quadrants of friction force: The different grey tones show the different quadrants the friction is going through.The friction stays in each quadrant for the exact same time in the collected friction data set, but the times vary strongly for the simultaneous motion data set.

Figure 7 :Figure 8 :

73Figure 7: The training and validation loss L base for Joint 2 and Joint 4 for N N base .

Figure 9 :Figure 11 :Figure 12 :

74Figure 9: Dependence of the friction on the velocity and the position as captured by the base model N N base for Joint 2 and 4.

Figure 13 :

75Figure 13: The training and validation loss L add for Joints 2 and 4 for N N add .

76(a) and (b) and Figure18(a) and (b), respectively.By leveraging the accurate prediction of the adapted method for the friction torque we can estimate the external torque via the robot dynamics.Contrary to the prediction using only N N base in Figure11(e) and (f) and Figure12(e) and (f), this estimate strongly outperforms the conventional approach, see Figure17(e) and (f) and Figure18(e) and (f) for the asymmetric and symmetric load cases, respectively.

Figure 14 :

77Figure 14: Performance of the combined network N N base + N N add versus the model-based approach on the small data set without external load.In (a) and (b) the friction is estimated for Joint 2 and 4. On Joint 2, the combined neural network achieved an average error (on the test data) of 0.48N m, while the conventional approach had an average error of 2.62N m.On Joint 4, the neural network achieved an average error of 0.66N m, while the conventional approach had an average error of 2.33N m.(c) and (d) show the velocities of the respective joints.

Figure 15 :Figure 16 :Figure 17 :Figure 18 :

78Figure 15: Dependence of the friction on the velocity as modelled by the combined neural network N N base + N N add versus as modelled by the base neural network.

참고문헌 45건

  1. FRICTION IDENTIFICATION BASED UPON THE LUGRE AND MAXWELL SLIP MODELS IFAC Proceedings Volumes · Elsevier BV · 2005 10.3182/20050703-6-cz-1902.00092
  2. Modeling and Experiment Design for Identification of Wear in a Robot Joint Under Load and Temperature Uncertainties Based on Friction Data IEEE/ASME Transactions on Mechatronics · Institute of Electrical and Electronics Engineers · 2014 10.1109/tmech.2013.2293001
  3. 2013 IEEE International Conference on Robotics and Automation 2013 10.1109/icra19839.2013
  4. Intelligent Friction Modeling and Compensation Using Neural Network Approximations IEEE Transactions on Industrial Electronics · Institute of Electrical and Electronics Engineers · 2011 10.1109/tie.2011.2160509
  5. An atlas of physical human–robot interaction Mechanism and Machine Theory · Elsevier BV · 2007 10.1016/j.mechmachtheory.2007.03.003
  6. Friction modelling and compensation for motion control using hybrid neural network models Engineering Applications of Artificial Intelligence · Elsevier BV · 2007 10.1016/j.engappai.2006.12.007
  7. Neural network based friction compensation in motion control Electronics Letters · Institution of Engineering and Technology · 2004 10.1049/el:20040500
  8. Control of Machines with Friction Journal of Tribology · ASM International · 1992 10.1115/1.2920929
  9. Static Friction in a Robot Joint—Modeling and Identification of Load and Temperature Effects Journal of Dynamic Systems Measurement and Control · ASM International · 2012 10.1115/1.4006589
  10. Neural-network approximation of piecewise continuous functions: application to friction compensation IEEE Transactions on Neural Networks · Institute of Electrical and Electronics Engineers · 2002 101109tnn20021000141
  11. Revisiting the LuGre friction model IEEE Control Systems · Institute of Electrical and Electronics Engineers · 2008 10.1109/mcs.2008.929425
  12. Friction Identification and Compensation in Robotic Manipulators IEEE Transactions on Instrumentation and Measurement · Institute of Electrical and Electronics Engineers · 2007 10.1109/tim.2007.907957
  13. A new model for control of systems with friction IEEE Transactions on Automatic Control · Institute of Electrical and Electronics Engineers · 1995 10.1109/9.376053
  14. Collaborative manufacturing with physical human–robot interaction Robotics and Computer-Integrated Manufacturing · Elsevier BV · 2016 10.1016/j.rcim.2015.12.007
  15. Mastering the game of Go with deep neural networks and tree search Nature · Nature Portfolio · 2016 10.1038/nature16961
  16. Observer-Based Robust Control of 6-DOF Parallel Electrical Manipulator With Fast Friction Estimation IEEE Transactions on Automation Science and Engineering · Institute of Electrical and Electronics Engineers · 2015 10.1109/tase.2015.2427743
  17. A review of friction models in interacting joints for durability design Friction · Springer Nature · 2017 10.1007/s40544-017-0143-0
  18. IEEE International Conference On Robotics And Automation 2001 10.1109/robot.2001.932732
  19. Advances in Neural Information Processing Systems 25 MIT Press eBooks · MIT Press · 2012
  20. Progress and prospects of the human–robot collaboration Autonomous Robots · Springer Science+Business Media · 2017 10.1007/s10514-017-9677-2
  21. Modeling the Static Friction in a Robot Joint by Genetically Optimized BP Neural Network Journal of Intelligent & Robotic Systems · Springer Science+Business Media · 2018 10.1007/s10846-018-0796-6
  22. Composite Learning Robot Control With Friction Compensation: A Neural Network-Based Approach IEEE Transactions on Industrial Electronics · Institute of Electrical and Electronics Engineers · 2018 10.1109/tie.2018.2886763
  23. Power and force limiting on industrial robots for human-robot collaboration Robotics and Computer-Integrated Manufacturing · Elsevier BV · 2019 10.1016/j.rcim.2019.05.001
  24. Hierarchical Impedance-Based Tracking Control of Kinematically Redundant Robots IEEE Transactions on Robotics · Institute of Electrical and Electronics Engineers · 2019 10.1109/tro.2019.2945876
  25. A Human-Robot Collaboration Framework for Improving Ergonomics During Dexterous Operation of Power Tools Robotics and Computer-Integrated Manufacturing · Elsevier BV · 2020 10.1016/j.rcim.2020.102084
  26. An Ecosystem for Heterogeneous Robotic Assistants in Caregiving: Core Functionalities and Use Cases IEEE Robotics & Automation Magazine · Institute of Electrical and Electronics Engineers · 2020 10.1109/mra.2020.3032142
  27. Joint-Level Control of the DLR Lightweight Robot SARA 2021 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS) · 2020 10.1109/iros45743.2020.9340700
  28. Sensorless force estimation for industrial robots using disturbance observer and neural learning of friction approximation Robotics and Computer-Integrated Manufacturing · Elsevier BV · 2021 10.1016/j.rcim.2021.102168
  29. Passivity Guaranteed Dynamic Friction Model With Temperature and Load Correction: Modeling and Compensation for Collaborative Industrial Robot IEEE Access · Institute of Electrical and Electronics Engineers · 2021 10.1109/access.2021.3076308
  30. Degradation curves integration in physics-based models: Towards the predictive maintenance of industrial robots Robotics and Computer-Integrated Manufacturing · Elsevier BV · 2021 10.1016/j.rcim.2021.102177
  31. Practical consequences of inertia shaping for interaction and tracking in robot control Control Engineering Practice · Elsevier BV · 2021 10.1016/j.conengprac.2021.104875
  32. Highly accurate protein structure prediction with AlphaFold Nature · Nature Portfolio · 2021 10.1038/s41586-021-03819-2
  33. Prediction assessment methodology for maintenance applications in manufacturing Procedia CIRP · Elsevier BV · 2021 10.1016/j.procir.2021.11.252
  34. The Nature of Statistical Learning Theory 2000 10.1007/978-1-4757-3264-1
  35. Industrial Robotics Springer handbooks · Springer International Publishing · 2016 10.1007/978-3-319-32552-1_54
  36. Discovering faster matrix multiplication algorithms with reinforcement learning Nature · Nature Portfolio · 2022 10.1038/s41586-022-05172-4
  37. Review on robot-assisted polishing: Status and future trends Robotics and Computer-Integrated Manufacturing · Elsevier BV · 2022 10.1016/j.rcim.2022.102482
  38. Model Predictive Control Applied to Different Time-Scale Dynamics of Flexible Joint Robots IEEE Robotics and Automation Letters · Institute of Electrical and Electronics Engineers · 2022 10.1109/lra.2022.3229226
  39. Physics-based modelling of robot’s gearbox including non-linear phenomena International Journal of Computer Integrated Manufacturing · Taylor & Francis · 2023 10.1080/0951192x.2022.2162594
  40. Precise and smooth contact force control for a hybrid mobile robot used in polishing Robotics and Computer-Integrated Manufacturing · Elsevier BV · 2023 10.1016/j.rcim.2023.102573
  41. 2014 IEEE/RSJ International Conference on Intelligent Robots and Systems 2021 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS) · 2014 10.1109/iros20755.2014
  42. Hybrid Force-Impedance Control for Fast End-Effector Motions IEEE Robotics and Automation Letters · Institute of Electrical and Electronics Engineers · 2023 10.1109/lra.2023.3270036
  43. Sensor-based human–robot collaboration for industrial tasks Robotics and Computer-Integrated Manufacturing · Elsevier BV · 2023 10.1016/j.rcim.2023.102663
  44. A real-time hierarchical control method for safe human–robot coexistence Robotics and Computer-Integrated Manufacturing · Elsevier BV · 2023 10.1016/j.rcim.2023.102666
  45. International Conference on Robotics and Automation HAL (Le Centre pour la Communication Scientifique Directe) · Le Centre pour la Communication Scientifique Directe · 2009