Next Article in Journal
Optimization of Process Parameters in Electropolishing of SS 316L Utilizing Taguchi Robust Design
Previous Article in Journal
Stack and Structure: Ultrafast Lasers for Additive Manufacturing of Thin Polymer Films for Medical Applications
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Accuracy Optimization of Robotic Machining Using Grey-Box Modeling and Simulation Planning Assistance

by
Minh Trinh
1,*,
Michael Königs
2,
Lukas Gründel
1,
Marcel Beier
2,
Oliver Petrovic
1 and
Christian Brecher
1
1
Laboratory for Machine Tools and Production Engineering, RWTH Aachen University, 52074 Aachen, Germany
2
Research Association for Programming Languages for Production Facilities, 52062 Aachen, Germany
*
Author to whom correspondence should be addressed.
J. Manuf. Mater. Process. 2025, 9(4), 126; https://doi.org/10.3390/jmmp9040126
Submission received: 27 February 2025 / Revised: 28 March 2025 / Accepted: 31 March 2025 / Published: 11 April 2025
(This article belongs to the Special Issue Recent Progress in Robotic Machining)

Abstract

:
The aim of this paper is to develop an approach to increase the accuracy of industrial robots for machining processes. During machining tasks, process forces displace the end effector of the robot. A simulation of the various process influences is therefore necessary to ensure stable machining during production planning in optimizing the process parameters. Realistic simulations require precise dynamics and stiffness models of the robot. Regarding the dynamics, the frictional component is highly complex and difficult to model. Therefore, this paper follows a grey-box approach to combine the advantages of the state-of-the-art Lund–Grenoble model (white-box) with those of a data-driven one (black-box) in the first part. The resulting grey-box LuGre model proves to be superior to the white- and black-box models. In the second part, a model-based simulation planning assistance tool is developed, which makes use of the grey-box LuGre model. The simulation assistance provides the manufacturing planner with process knowledge using the identified robot and cutting force models. Furthermore, it provides optimization methods such as a switching point analysis. Finally, the assistance tool gives predictions about the machining result and a process evaluation. The third part of the paper shows the evaluation of the simulation assistance on a real machining process and workpiece, showing an increase in accuracy using the tool.

1. Introduction

1.1. Motivation

This paper is aimed at robot-based manufacturing processes with high path speeds and accelerations and simultaneously high demands on the positioning and path accuracy of the industrial robot (IR). Technologies such as high-speed cutting (HSC), laser cutting, or conventional additive manufacturing processes like fused deposition modeling (FDM) have these characteristics. Switching from machine tools, gantry robots, and special machines to conventional IR for the aforementioned tasks increases flexibility, requires lower investment costs, and leads to shorter delivery times, which is particularly advantageous for small and medium-sized businesses (SMEs) with high variance and complex components [1,2,3].
In addition to these advantages, savings in raw material and energy consumption can also be the motivation for implementing robot-assisted machining solutions [4]. As an example of the low energy consumption of IRs, according to Tallal et al., IRs carry out around 50% of the manufacturing processes in automotive production but consume only 1% of the energy in this sector [5]. The use of special-purpose machines also requires a considerable amount of floor space and therefore occupies large hall areas and usually requires significant maintenance and servicing costs [6].

1.2. Problem Description

Current research has so far focused on robot-assisted processes with low feed rates and the compensation of static displacement. Applications such as tape laying and machining processes are widely represented in the research environment. Reference processes have already been successfully investigated and further developed in various scenarios [7,8,9,10,11,12,13,14,15,16]. Due to the advantages mentioned, other tasks such as polishing or laser-induced hardening processes have also been implemented using IRs [17,18].
Solutions to the challenges of the past have also been developed in the industrial environment. For example, the programming of processing paths has been solved by some software and control providers, sometimes using different approaches [19,20]. In addition, IR hardware is also constantly evolving, which underlines the pressure to innovate that prevails in the industry. Consequently, as described in [21,22], robot-based machining processes are already being implemented in industry in isolated cases. The solutions developed to date cannot be transferred to highly dynamic processes (in this paper, dynamic machining processes are defined as tasks with complex movements and process forces due to mechanical workpiece–tool contact, which also require narrow tolerance fields for path accuracy) or can only be transferred in part. In addition, the effects of friction and gear backlash are generally neglected.
The path accuracy of an IR depends on its kinematic structure. Significant deviations of up to 0.5 mm between the target and the actual path have been observed when the robot is required to perform linear movements that are only caused by changes in the direction of the rotation of individual gears [23]. The critical backlash of the individual axes also has an influence on the path accuracy when the path direction of the tool changes. The frequency and position of the critical changes in the direction of rotation during machining can be influenced and are to be considered using planning methods such as computer-aided manufacturing (CAM).
Due to the kinematic structure of articulated robots, switching points can occur even with linear movements due to the rotary axes. The qualitative effect of switching points on the path deviation depends on the acting axis of rotation, i.e., the gear backlash of the installed gearbox. The position of the nominal/actual deviation due to the slack error in a linear movement and the frequency of switching points during the entire machining process depend on the clamping position and the machining direction and therefore the position of the path operations relative to the robot. Upstream consideration in the machining planning regarding a suitable clamping position and direction of the machining paths has the potential to increase process accuracy [24].
The influence of switching points not only affects the path accuracy of linear movements but also leads to path deviations in the case of rectangular outer contours; for example, if the tool must change direction in Cartesian space. At the switching point, individual rotary axes must reverse so that the tool tip deviates from the target position during the approach process. The automated specification of suitable approaches and switching point strategies for corresponding machining operations (e.g., external contours) can lead to quality improvements, as shown in [24].

1.3. Solution Approach

In previous works, a dynamics model has already been derived for the six DOF IR MAX100 by MABI Robotic AG using the recursive Newton–Euler method [25]. The results of the compensation for the first processing tests confirmed a considerable improvement in the final contour and validity of the approach. Furthermore, an approach to directly measuring and evaluating the deformation of robot bodies in the presence of process forces has been developed to identify the stiffness model of the MABI robot [26].
Since [25] did not consider frictional effects, this paper aims to close this gap. Due to the highly complex and nonlinear nature of the friction phenomenon, a grey-box modeling approach is used in the first part of the paper (Section 2). As a result, the benefits of analytical or white-box friction models such as the popular Lund–Grenoble (LuGre) model and of data-driven or black-box methods, such as neural networks (NNs), are combined. The former ensure the physical plausibility of the model while the latter can model highly nonlinear effects.
Next, a model-based assistance tool is developed in Section 3, which is able to integrate the resulting grey-box LuGre model along with the already identified dynamics and stiffness models of the IR. The simulation assistance supports the user in production planning through visualization and process knowledge as well as through automated optimization methods. The assistance tool consists of eight components, which are described in Section 3: toolpath interpolation, inverse kinematic transformation, material removal simulation, cutting force model, structural mechanical robot model, switching point analysis, and process evaluation. Here, a special focus lies on the analysis of switching points and the optimization thereof. Furthermore, the visualization of force curves and displacements enables the identification and elimination of critical path sections.
In Section 4, the final simulation planning assistance is tested on a machining process using the MABI robot(MABI Robotic AG, Veltheim, Switzerland) in an application- and industry-oriented manner. The processing results are examined and evaluated regarding their machining accuracy using standardized quality measurements. The three main parts of the paper are shown in Figure 1.
Since optimizations in work preparation cannot eliminate all the production deficits mentioned, a compensation strategy is also conceptualized in the discussion in Section 5. The compensation uses the developed dynamics, stiffness, and friction models to compensate for the predicted deviations from the target contour. Finally, the paper concludes in Section 6.

2. Grey-Box Friction Modeling for Industrial Robots

This chapter briefly describes the dynamics and stiffness model of the IR, which are used for the model-based simulation planning assistance tool before focusing on current friction modeling. Here, a grey-box model approach is suggested to improve the state-of-the-art friction models.

2.1. Dynamics and Stiffness Modeling

Dynamics is the mathematical description of body movements under the impact of forces and torques as a function of time. A dynamics model of a robot establishes a temporal relationship between the position q , velocity q ˙ , and acceleration q ¨ of the joint (joint variables) and the joint torques τ [27]. An inverse dynamics model of a serial robot calculates the joint torques from given joint variables.
The inverse dynamics model can be attained using two formulations: Newton–Euler or Lagrangian dynamics. The first method applies Newton’s and Euler’s dynamic equations, which lead to the computationally efficient recursive Newton–Euler algorithm (RNEA) to solve direct and inverse dynamics. The second method results from the kinetic and potential energy of the robot. Both approaches lead to the same result [28,29,30].
τ = M q q ¨ + C q , q ˙ + G q + J T q F e x t ,  
The product of the mass matrix and the joint acceleration M q q ¨ represents the part of the torque, which is caused by the acceleration of an axis subjected to mass inertia. C q , q ˙ is a vector containing torques caused by Coriolis and centripetal forces. G ( q ) is the vector including gravitational torques [28]. In addition, forces on the end effector (e.g., machining forces) can be considered by adding a term, which entails the product of the Jacobi matrix of the robot J T ( q ) and the external forces F e x t .
The dynamics model (in combination with a stiffness model) calculates position deviations of the TCP in advance, considering the influences of gravity, dynamics, and external loads. In order to simulate a more precise position deviation, compliance should be integrated into the aforementioned model. The authors of [26] introduced an approach to directly measure and evaluate the deformation of robot bodies in the presence of process forces. The authors used a measurement setup containing multiple Integral Deformation Sensors (IDSs), which provide the change in length due to deformations of the respective body. The measurements are fed to a beam model, which can calculate the body’s 3D Cartesian deflections.
Based on this, Ref. [26] developed an axis-specific simulation model to predict the compliance behavior. It is suitable for analytically calculating the overall compliance on the TCP, taking into account the compliance of the gearbox, the bearings, and the swing arm for any axle configuration. In particular, the compliance of the swing arm is often neglected or only considered.

2.2. Friction Modeling

The dynamics model given in Equation (1) in the previous section did not include frictional effects. Friction is a complex nonlinear phenomenon and incorporating it into the inverse dynamics model is the subject of the current research. The effect of joint friction on the axis torques is highly significant and cannot be omitted. In addition to analytical or white-box friction models such as the LuGre model, data-driven or black-box models have been researched in the past years. Grey-box models have been introduced recently to combine the advantages of the former approaches.

2.2.1. Analytical and Data-Driven Models

Analytical friction models can be classified into two categories depending on how they consider static friction (minimal friction to set a resting body in motion). Static models only depend on the velocity and are not defined for a velocity of 0 rad/s. They assume that the system behavior is static while the objects are in a macroscopic resting state (gross-sliding regime or GSR). Dynamic models, however, depend on the velocity and the position and are also defined for a velocity of 0 rad/s. In contrast, they assume that even in a resting state, small pre-sliding (transition from static or non-sliding friction to kinetic or sliding) displacement friction is happening [31]. Therefore, dynamic models offer a more realistic representation of the friction behavior. Popular friction models are shortly introduced below: the Coulomb–Viscous, Stribeck, Dahl, and LuGre model.
The well-known Coulomb–Viscous model only depends on the angular velocity and describes the frictional torque τ F using the following equation [32]:
τ F = μ s g n q ˙ + ν q ˙ ,  
with
μ , ν > 0 .  
The sign function s g n returns 1, 0, or −1 depending on whether the input is positive, 0, or negative. The kinetic friction is modeled by the Coulomb parameter μ multiplied by s g n . The viscous friction is modeled by the viscous parameter ν multiplied by the axis velocity q ˙ . This model is very simple and identifying the two parameters is relatively easy. A drawback is the inaccuracies at low speeds [33].
The Stribeck model combines a function for the Stribeck effect with the linear model for viscous friction. The Stribeck effect or negative viscous friction effect describes the nonlinear negative ratio between friction and velocity [33].
τ F = S q ˙ + ν q ˙ ,
with
S = s i g n q ˙ ( f c + f s f c exp q ˙ q ˙ S δ ,
and
f c ,   f s ,   q ˙ S > 0   and   f s > f c .
The parameter δ determines the exponential course of the curve and can be positive or negative. How fast the Stribeck curve converges towards the viscous friction model is described by q ˙ S . The static friction is represented by f s and the Coulomb friction resistance by f c . For many use cases, the Stribeck model is sufficiently accurate, but it has weaknesses when the relative velocity is changing fast. Also, the model is discontinuous around the velocity of 0, which can cause problems when an oscillatory system should be simulated [33].
Dahl also models the friction for the pre-sliding phase or regime (PSR) in comparison to the previous models. It describes static friction as a continuous function, but since there are two possible velocity direction changes, the friction cannot be described by a single curve. The result is a differential equation that depends on the position and the sign of the velocity [34]. The equation describes a hysteresis loop. The Lund–Grenoble model (LuGre) combines the findings of the Dahl model for the PSR with the Stribeck model for the GSR. A nonlinear differential equation was introduced to model the transition from PSR to GSR [35].
τ F = σ 0 z + σ 1 z ˙ + ν q , ˙
with
z ˙ = q ˙ σ 0 q ˙ S q ˙ z ,
and
σ 0 , σ 1 > 0 .
The model views the surfaces on a macroscopic level instead of on a microscopic level. This means that the individual connections between the surfaces are modeled. This is realized via a bristle model where each bristle represents a connection between the surfaces. Since the real contact points of the surfaces are unknown, the bristle model cannot model them as an exact replica, therefore the average deflection is described by the internal state z , the stiffness σ 0 , and the damping σ 1 .
Choosing a particular model depends on many factors such as the characteristics of the robot system and its actuators [36]. For robot arms in free space, motor friction dominates. Models for frictional torques caused by actuators only depend on the velocity of the nth joint and are therefore independent of other joints [37]. The authors of [38] identified and compared different analytical friction models for the first axis of the MABI robot. Here, the LuGre model performed best compared to the Coulomb or Stribeck model. However, its identification process is more complex, since two different trajectories are needed. In order to identify the Stribeck model, a trajectory with different constant velocities is needed. For identifying the dynamic parameters of the LuGre model, which are important for the PSR, a continuous trajectory at very low velocities and accelerations is needed. This is because pre-sliding displacements are only limited to a few degrees of movement. For the parameter identification process, genetic algorithms are used as proposed in the literature [39,40].
Due to the complexity of modeling friction and considering its many influencing factors such as load and temperature [41,42,43,44,45,46,47], many authors have used data-driven models such as NNs [48,49,50]. NNs try to find relationships between the in- and output data of a specific system. They can model complex nonlinearities (given sufficient data) while achieving high accuracies but without explicit knowledge about the physical behavior of the system. For the first axis of the MABI robot, [38] found that a long short-term memory (LSTM) network, a type of NN that uses recurrent connections and memory cells for remembering values or time, achieved similar results to the LuGre model. The LSTM model was trained using gradient descent, a standard optimization algorithm for NN [51]. However, data-driven models can possess millions of parameters compared to analytical ones. They are therefore referred to as black-box models as opposed to white-box models [52].

2.2.2. Grey-Box Models

Mixing white- and black-box models creates grey-box models, which are currently being explored. Other words are structured learning, physics-informed neural networks, or informed learning [52]. Grey-box models combine prior analytical knowledge with data-driven techniques, therefore harnessing the advantages of both approaches. MATLAB’s System Identification Toolbox™ offers a grey-box model estimation function if a system can be represented using ordinary differential or difference equations with unknown parameters [53]. Grey-box models have been developed for various use cases such as automotive engines, shock absorbers, gas bearings, the heat dynamics of buildings, wave loading, and ocean vessels [54,55,56,57,58]. The authors of [59] and [60] developed and evaluated grey-box friction models for a rotating arm and tribometer, respectively. The authors of [61] proposed the grey-box identification of parameters for the rigid body dynamics, friction, and flexibilities of an industrial robot. However, [61] only used a simple Coulomb–Viscous model, while the following authors used a LuGre model.
The authors of [62] combined a fast integral terminal sliding mode control (SMC) with a robust exact differentiator observer and a feedforward NN (FFNN). Their approach was implemented on an IR with five degrees of freedom. The FFNN uses as an input the joint velocity given by the observer, the information about the internal state, and the torque predicted by an optimized LuGre model. The output is a new torque prediction. The calculated torque is then suitable as input for the sliding mode controller. The SMC uses these values to create a control command for the robot [62]. The FFNN tries to model the inaccuracies of the LuGre model (residual learning). This is attempted by using one hidden layer with 10 neurons. As an activating function, the hidden layer has the tangents hyperbolics activation function, and the output layer has a linear activation function [62].
The authors of [63] developed a more complex LuGre model-based NN (MBNN) for a linear motor stage. An MBNN is based on the idea of integrating a NN into a linearized state space model. So, for the LuGre model, a second-order discrete time state space model is supported by three different FFNNs. One FFNN models everything that depends on the internal bristle states and the other two FFNNs model the differential equation of the internal bristle state. By discretizing Equation (5), one FFNN has, as input, the current and prior velocity and the other one has only the current velocity. The NNs are connected to form the LuGre MBNN. One hidden layer with ten neurons and a tangents hyperbolic activation function is used. As a training trajectory, the following velocity trajectory was used to model the motion start region. The LuGre MBNN was able to model the motion start region and the motion reverse region for the linear motor stage. It performs better than a system without friction compensation and can reduce the maximum tracking error by up to 65% [63].
The authors of [64] used a radial basis function NN (RBF NN) as an observer for the internal bristle state and gradient descent for parameter estimation. For the internal bristle state, one single hidden layer with the velocity and position as an input was used. A regressor simultaneously updates the other LuGre parameters. A permanent magnet synchronous AC servo motor with a gear and an inertial load was used on two different trajectories. First, a normal motion case with a sinusoidal trajectory was used, and later, a slow-motion trajectory based on a decreasing sinusoidal trajectory was tested. Besides performing better than the same approach without friction compensation in terms of tracking error, the authors express concerns about the high computation time and suggest simplifying the structure of the NN [64].
The authors of [65] used four RBF NNs to model the dynamics and friction of a two-link planar robot. One RBF NN was used to estimate the sum of the inertia matrix, the centrifugal and Coriolis force vector, and the vector of gravitational torques. The other three RBF NNs deal with the LuGre friction model. The input of the RBF NN is the internal bristle state and the velocity. In the initialization process, the internal state is set to zero, as a trajectory sinusoidal and a quadratic growing velocity curve were chosen. The whole RBF NN-adapted block is connected to a sliding mode controller and tested in a simulation environment only [65].

2.3. Grey-Box LuGre Model

This paper aims to identify a precise friction model for the MABI robot, which can be used in the simulation assistance tool for optimizing the accuracy of the machining process. In previous works, the LuGre model has been identified as the most suitable, followed by an LSTM model. To improve the LuGre model, this paper aims to use a grey-box approach similar to other authors. To reduce the complexity of the identification process, two suggestions are made. First, despite using two different trajectories, one trajectory is created to identify the grey-box LuGre model. Second, instead of using two optimizers, the grey-box LuGre model should be optimized by the gradient descent algorithm only.
To determine the LuGre parameters with gradient descent, the training procedure should be as simple as possible. Therefore, as much prior knowledge as available should be used. This should reduce the complexity of the model as fewer parameters must be optimized and therefore the stability of the system should improve. Prior knowledge refers to the understanding of friction mechanics and phenomena as utilized in the conventional approach. Some unnecessary parameters are, for example, the NN parameters of the structured learning approaches.
This concludes that the approaches of [63,65] are not promising as they use several NNs. This leads to increasing complexity and more parameters that must be determined. The approach of [64] is also inauspicious as it has one big disadvantage. In this approach, the calculated internal state z only depends on the velocity and position and not on the velocity of the prior step. As a reminder, the internal state is described by a differential equation. So, for an exact prediction of z , the prior values of z or the prior velocities must be known.

2.3.1. Methodology and Data Management

In order to simplify the LuGre model using a grey-box approach, the Stribeck function (5) is substituted by a simple FFNN with one hidden layer and ten nodes using a sigmoid activation function. Additionally, to the FFNN, all LuGre parameters are optimized simultaneously using gradient descent with an Adam optimizer while ensuring the constraints given in Equations (3), (6) and (9). The resulting model is shown in Figure 2 and compared to a conventional LuGre model [38] and the residual learning approach in [62]. The residual LuGre model possesses two hidden layers and ten neurons with a Leaky ReLU activation function.
As a training trajectory, the Universal Trajectory (UT) by [38] is suggested, which is designed to simulate the occurring friction behavior during the application-related use of the robot for its possible velocity range. The UT is an Up-Chirp signal multiplied by an exponential function. Therefore, it covers high to medium velocities as well as low ones prevalent in the pre-sliding regime. In addition, the UT of the robot must excite atypical and nonlinear friction behavior, as these friction phenomena are particularly difficult to model and thus provide a good metric for comparison. Since NNs tend to develop a bias for situations they learn more often than other sections, there are no repetitive intervals in the UT.
For a final comparison of the models, a testing trajectory with the same characteristics is chosen while differing from the UT by reasonable modifications such as changing amplitudes [38]. The trajectories are used to generate measurement data on the MABI robot. The data are prepared following [38] and results in the measured joint velocities and friction torques of axis one.

2.3.2. Results

A comparison of the identified dynamic LuGre parameters using the conventional method [38] and the grey-box approach is shown in Table 1. For the latter, the constraints given in Equations (3) and (9) were considered in the gradient descent optimizer. Only parameter ν is similar for both models.
The grey-box LuGre model did not learn all dynamic parameters accurately. However, it shows the highest prediction accuracy compared to the conventional and residual model, as can be seen in Figure 2. The grey-box LuGre model shows the lowest root mean squared error (RMSE) and best R² value, which can be seen in the table to the right. The former is a metric that evaluates the difference between actual and predicted values, which should ideally be 0. The latter is a statistical metric used to evaluate the performance of regression models. The closer the fit is to 100%, the better the model matches the given data [66]. The grey-box model is followed by the residual model according to [62] and the conventional one according to [38].
Figure 3 shows a visual comparison of the predicted frictional torque by the grey-box and residual model. The closer the predicted torque is to the red line, the better the prediction. For high negative torques at τ [ 3.5 , 2 ] N m , the grey-box model outperforms the residual one. For high positive torques at τ [ 2 ,   3.5 ] N m , the behavior is inverted. However, both approaches have difficulty predicting the torques at τ [ 1 ,   1 ] N m .
The results show the superiority of the grey-box LuGre model compared to the conventional and residual one. However, the experiments have only been conducted on the first axis of the MABI robot and only considered velocity-dependent friction. Further works will include load-dependent friction as well as analyze the remaining five axes to develop a complete grey-box LuGre model, which can be used in the model-based simulation approach described in the next chapter.

3. Model-Based Simulation Planning Assistance for Robot Machining

The measurements conducted, along with the models derived from them, form valuable building blocks for improving the machining accuracy of robot-based milling processes. However, to make the effects of the individual factors on the manufacturing outcome assessable, a holistic simulation approach as shown in Figure 4 is required in which the developed models are combined effectively. The primary audience for this approach is the production planning staff, who should be empowered to contribute their expertise to process optimization through a task-oriented presentation of the simulated results.
The material removal simulation operates on a given toolpath, cutting tool, and raw workpiece information. For time-discrete intermediate steps, positions of the currently used cutting tool are obtained by interpolating the toolpath description. The positions are defined in the workpiece coordinate system (WCS) and directly used to align cutting tool models relative to a previously generated volumetric workpiece model. Furthermore, the path positions are transformed in positions and velocities in the axis coordinate systems (ACS) of the robot using an inverse kinematic transformation.
Next, the overlapping volume between the cutting tool and the workpiece models is identified and removed from the latter model. Also, engagement values are derived from the removed volume and given to a force model. In turn, the force model predicts the instantaneous spatially cutting forces. Handed over to a structural mechanical model of the robot, the current deflection of the cutting tool is computed and used to alter the relative cutting tool position of the next discrete simulation step. Receptances of the cutting tool itself were neglected. To account for the position-dependent stiffness of the robot, the structural mechanical model is updated in each simulation step using the previously computed axis positions.
The axis positions are further processed by a friction model. In combination with the axis velocities, these are used to derive a path-dependent tracking error that is also added to the relative cutting tool position of the next simulation step. Once the simulation has finished, the resulting workpiece geometry contains the effects of robot-related tool deflections and friction-related tracking errors.
To also include effects that do not impact the geometry of the virtual workpiece in the current status of the simulation approach, the virtual workpiece surface is furthermore enhanced with additional process information. This is carried out as part of the material removal calculations, where affected areas are enriched with process variables. Within this scope, these include the special cutting forces and the spatial deflection as well as the path tracking error and axis stop or reversal points of each robot axis. The latter are identified through an additional switching point analysis. For quick access to responsible toolpath areas, the time stamp of the current simulation step is also added to the surface. The resulting virtual workpiece then reflects geometrical as well as non-geometrical effects on its surface and serves as the basis for evaluating the planned machining process and deriving suitable optimization measures.
Following the described information flow, all introduced components are described in more detail within the following subchapters. Finally, an assistance system suitable for process evaluations and optimizations is presented.

3.1. Toolpath Interpolation

The task of the tool path interpolation block is to provide discrete intermediate tool positions TCPWCS and tool orientations TOWCS in the WCS for the continuous simulation and display of the advancing machining progress. Traditional simulation approaches rely on an equidistant distribution of these positions to control or standardize the geometric effects of discrete material removal calculations [67,68] or to perform the calculation of tool engagement parameters for subsequent cutting force calculations uniformly [69]. However, a disadvantage of the equidistant distribution is that the dynamic behavior cannot be adequately considered in the simulation.
Since the dynamic behavior is to be included in the simulation process, an interpolation scheme based on velocity settings with continuous acceleration according to [70] is used. The left side of Figure 5 illustrates the resulting dynamic profiles for a linear path segment. The specific velocity control was chosen because it is implemented in modern NC controllers, such as the SIEMENS SINUMERIK 840 D sl of the robot, and therefore closely reflects the step value generation.
The calculation of intermediate points starts with the definition of a velocity profile with predictive speed control [70,71] simply considering global acceleration limits A and D as well as jerk limits J1 and J2, which are derived from the NC control. This extends the programmed feed rates F along paths with feed rates fs or fe at path transitions. Following the calculation schemes provided by [72], intermediate positions TCPWCS and orientations TOWCS can be calculated for any point in time using linear and spherical interpolations and end points of the tool path segments.
TCPWCS and TOWCS are then used within the material removal calculations. To overcome the accuracy issues mentioned in [68], Δt was set according to the interpolation cycle time of the NC controller (2 ms). Challenges due to varying engagements caused by the nonuniform interpolation along the toolpath are handled by the material removal simulation (see Section 3.3). On an Intel i7-11700 at 2.5 GHz, the computation time of a single intermediate position is less than 0.1 ms.

3.2. Inverse Kinematic Transformation

The task of an inverse kinematic block is to transform the given TCPWCS and TOWCS into positions θa,1, , θa,6 and velocities va,1, , va,6 in the ACS of a six-axis industrial robot. To do so, TCPWCS and TOWCS are first transformed to the base coordinate system (BCS) of the robot using a zero-point offset transformation TZP:
T O B C S T C P B C S 0 1 = T Z P   ·   T O W C S T C P W C S 0 1 .  
Subsequently, an algorithm is required that performs the inverse kinematic transformation from the BCS to the ACS. The starting point for such an algorithm builds around kinematic transformation T B C S A C S :
T O B C S T C P B C S 0 1 = T B C S A C S   ·   0 0 0 0 1 0 0 1 .  
T B C S A C S can be derived from joint-specific matrices T i i 1 that perform individual-basis changes from joint i − 1 to joint i:
T r o b o t = T 1 0 ·   T 2 1 ·   T 3 2   ·   T 4 3   ·   T 5 4   ·   T 6 5   ·   T 7 6 = T 6 0 ·   T 7 6 .
The matrices T i i 1 are orthonormal matrices, which can be obtained from Denavit–Hartenberg (DH) parameters i, di, ai, αi) using the equivalent model shown in Figure 6 [73]. With given positions θa,1, θa,2, θa,3, θa,4, θa,5, and θa,6 the matrices T i i 1 can be parametrized to calculate the corresponding cutting tool positions TCPBCS and orientations TOBCS.

3.2.1. Calculating θa,1, θa,2 and θa,3

In the first step, the orientation TOBCS of the cutting tool is determined. Since 2.5D milling processes are addressed, the orientation is fixed and only needs to be specified once. The matrix corresponds to the coordinate system of the end effector and is set up as follows:
T 7 0 = 0 1 0 T C P B C S , x 1 0 0 T C P B C S , y 0 0 1 T C P B C S , z 0 0 0 1 .
The orientation TOBCS can then be derived via
T O B C S = T 7 0 ·   0 0 1 0 .
In the next step, the position P5 of the spherical joint (Figure 6, joint 6) is calculated using a given TOBCS and TCPBCS. According to Figure 6, the distances d7E and d67 are measured and further used for the calculation:
P 5 = T C P B C S T O B C S   · d 7 E + T 7 0 · 0 1 0 0   · d 67 .
According to the top view shown in Figure 7 θa,1 can finally be calculated from the distance proportions from joint 1 to joint 5:
θ a , 1 = a r c t a n 2 P 5 , y , P 5 , x .
Here, arctan2 is used to enable the calculation in all quadrants.
C 1 = P x a 12 ,           C 2 = P 5 , z d 12 ,             C 3 = C 1 2 C 1 2             a n d         C 4 = a 34 2 d 45 2   ,
with
P x = P 5 , x 2 + P 5 , y 2   ,  
the angles
ϕ A = a r c t a n 2   C 1 , C 2             a n d             ϕ B = a r c t a n 2   D 1 , 1 D 1 2 ,  
as well as
ϕ C = a r c t a n 2   D 2 , 1 D 2 2           a n d         ϕ D = a r c t a n 2   d 45 , a 34 ,  
with
D 1 = a 23 2 + C 3 2 C 4 2 2 · a 23 · C 3           a n d           D 2 = a 23 2 + C 4 2 C 3 2 2 · a 23 · C 4 ,
and measured values according to the equivalent model of Figure 6:
θ a , 2 = π 2 ϕ A + ϕ B ,
and
θ a , 3 = π ϕ C + ϕ D .

3.2.2. Calculating θa,4, θa,5 and θa,6

The remaining angles θa,4, θa,5, and θa,6 are calculated using the known matrices of the forward transformation. For this purpose, the entries of the transformation matrix T 6 3 are derived from the DH transformation matrices:
  T 6 3 = T 4 3 ·   T 5 4 · T 6 5 .
The transformation   T 6 0   is already given by the target pose. Using this and the angles θa,1, θa,2, and θa,3, the transformation matrix   T 3 0   can be calculated using matrices from kinematic transformation and solving for T 6 3 :
  T 3 0 ·   T 6 3 =   T 6 0         T 6 3 =   T 3 0 1 ·     T 6 0 .      
Since these matrices are also orthogonal, the transposed matrix can be used instead of the inversed matrix. Thus, the equation can be reformulated as follows:
T 6 3 =   T 3 0 T ·     T 6 0 =   T 0 3   ·   T 6 0 .    
The calculated matrix T 6 3 now contains only the angles θa,4, θa,5, and θa,6, as it only describes the transformation from joint 3 to joint 6. When this matrix is with the findings of (24), the three missing angles can then be determined elementwise.

3.2.3. Calculating Axis Velocities va,1, va,2 and va,3

Given the axis angles va,1, …, va,6, and Δt, the angular velocities can be derived from consecutive positions for time steps t − 1 and t:
v a , i , t =   θ a , i , t θ a , i , t 1 Δ t         f o r           i = 1 , , 6 .  

3.3. Material Removal Simulation

The material removal simulation block has two tasks. The first task is to generate a virtual workpiece model, which encapsulates the necessary process information for downstream process evaluations and optimizations. The second task is to provide cutter engagement information to compute process forces using a cutting force model (see Section 3.4). On an Intel i7-11700 at 2.5 GHz, the computation time of an inverse kinematics transformation is less than 0.1 ms.

Generating a Virtual Workpiece Model

To fulfill the first task, the material removal simulation from [75] is used. The workpiece model is represented by a multi-dexel model according to [67] while cutting tools are represented by their macro geometry and modeled via triangular meshes. The macro geometries are obtained from cutting tool parameters of the CAM system and parameters according to ISO 13399 from cutting tool manufacturers [76].
Due to the discrete workpiece representation and the use of triangle meshes for cutting tools, the simulation can parallelize the calculations for material removal and shift them to modern GPU architectures. In total, this enables a calculation of 500–800 simulation steps per second, so that the simulation runs in real time in conjunction with the selected interpolation scheme (Section 3.1).
In every simulation step, the cutting tool model is positioned based on the given tool position TCPWCS and cutting tool orientation TOWCS as well as computed from the previous simulation step. Afterwards, material removal computations are performed. Here, dexels of the workpiece model are pruned, erased, or split into further dexels. An intermediate state of the simulation is shown on the left side of Figure 8. At the same time, newly created ends are assigned with current process information. Both are shown on the right side of Figure 8. After the simulation has finished, the status of the workpiece model is exported as a Virtual Workpiece. Using an RTX 4090 graphics card from the nVidia Corporation, the computation time of a single material removal step is less than 1 ms.
To fulfill the second task, the material removal simulation was extended with cutting-edge descriptions (micro geometry) for each cutting tool as well as cutter engagement maps with chip thickness information. The microgeometry, which means the shape of the cutting edges, was derived from the ISO 13399 parameters published by cutting tool vendors. Using the methodology of [69], mathematical representations for the cutting edges were derived from the given sets of parameters. These representations were then used to generate sets of linear segments with respect to a predefined chordal error. An exemplary result for an inserted cutter is shown on the left-hand side of Figure 9.
To derive local chip thicknesses for each cutting edge, the cutting edges are used to build a map of reachable chip thicknesses for each cutting edge. This is shown on the left-hand side of Figure 10. Between two consecutive simulation steps t − 1 and t, the current positions of the cutting edges are interpolated to create swept volumes, which are then mapped to the surface of the macro geometry of the cutting tool at timestep t, resulting in a Reachable Chip Thickness Map (RCTM) as shown on the right-hand side of Figure 10. The thickness values EM are then compared with the thickness values of the RCTM, resulting in a Chip Thickness Map (CTM) for each cutting edge. The CTM is then sampled.
Afterward, the RTM is subtracted from the EM of timestep t, resulting in a map of the residual material map that is added to the EM of the next timestep t + 1. The whole procedure makes it possible to obtain local chip thickness values for cutting edges in consecutive simulation steps t-1 and t, where the positional distances between TCPWCS,t−1 and TCPWCS,t−1 vary and are different from the programmed tooth feed. The thickness values are then handed to a force model for predicting the cutting forces. Using an RTX 4090 graphics card from the nVidia Corporation, the computation time of 20 engagement computations is less than 1 ms.

3.4. Cutting Force Model

The task of the cutting force model block is the computation of cutting forces, given the linear segments of the cutting edges as well as local chip thicknesses for each point in the edges. The computation used a linear cutting force model from [77], which was parameterized from orthogonal cutting data using [78] for each individual cutting edge geometry:
f i = b   · K i h ,    
with
K i h = k i , c   · h +   k i , e   a n d   i r , a , t ,
and cutting force coefficients ki,c and ki,e.
For force computing, the set of linear segments is subdivided into evenly sized disks (Figure 11, left-hand side). For each disk, an average chip thickness is computed using the given chip thicknesses, and the force model is applied. The resulting axial, radial, and tangential force components fa, fr, and ft are then combined with the local radial, axial, and tangential directional vectors Fr, Fa, and Ft (Figure 11, right-hand side). The resulting vectors are then integrated over all disks, resulting in a force vector in the WCS. Transformed into the robot’s coordinate system, the force vector is then used to compute force-induced cutting tool deflections caused by the robot with a structural mechanical model.

3.5. Structural Mechanical Robot Model

The structural mechanical model is based on the findings of [26] as introduced in Section 2.1 and computes a position-dependent, cartesian robot receptance for given axis positions θa,1, …, θa,6. Combined with additionally provided cutting forces, it further outputs force-induced cutting tool deflections that are added to the tool center point position of the subsequent simulation step. Furthermore, the force-induced tool deflection is sent to the material removal simulation where it is added to the virtually machined surface in the subsequent simulation step.

3.6. Friction Robot Model

The friction model computes a path tracking error based on given axis positions θa,1, …, θa,6 and axis velocities va,1, …, va,6. The tracking error is then added to the tool center point position of the subsequent simulation step. Furthermore, the tracking error is sent to the material removal simulation where it is added to the virtually machined surface in the subsequent simulation step. Friction is a highly complex phenomenon that is difficult to model and depends on many factors such as velocity and load, but its effects on the tracking error are crucial. Therefore, an accurate model is necessary. A suitable candidate is the grey-box LuGre model, as described in Section 2.2, which outperformed the other friction models. Since it has only been evaluated for the first axis of the robot and velocity-dependent friction, the model should be extended to include all axes as well as load-dependent friction and integrated into the simulation approach.

3.7. Switching Point Analysis

The task of the switching point analysis is to provide process indicators when an axis of the industrial robot stops or switches its direction. To do so, the time series of axis velocities are evaluated for time steps with zero velocity or sign changes. One or multiple occurrences are binary encoded by the joint number in an integer value that is handed over to the material removal simulation. Here, it is added to the virtually machined surface in the subsequent simulation step. Otherwise, a zero integer is handed over [79].

3.8. Assistance System for Process Evaluation

Based on a generated virtual workpiece, the assistance system in Figure 12 was developed. The virtual workpiece is visualized in a 3D environment and can be evaluated by an experienced CAM planner. To support the evaluation, the assigned process information can be visualized on the workpiece model’s surface using a variable color scale. In Figure 12, this is shown for force-induced deflections as well as cutting forces and axis switching points.
Furthermore, it is possible to select workpiece surface areas manually or use definable point clouds to gather a set of assigned timestamps. This provides the prerequisites for effective process optimizations.

4. Evaluation of the Simulation Planning Assistance

The effectiveness of the overall approach was validated by manufacturing the component shown in Figure 13.
The results are shown in Figure 14. As it turns out, the least force-induced positional deviation can be achieved with pose 1 (20 µm) and pose 2 (25 µm). Pose 3 leads to medium deviations (35 µm) while the highest deviation appears in pose 4 (25 µm).
In total, 23 test criteria were measured for each part according to the three manufacturing features circle, square, and slope defined by ISO 10791-7 [ISO]. z M denotes the height of a feature, Ø is the diameter, and O is the roundness of the circle feature, respectively. is the length and − is the straightness of a linear feature, respectively. Finally, is the angle between two straight lines. The bold values in Table 2 are within the tolerance bounds. As can be seen, this is only true for a few values. When comparing the deviations of the four poses, it is observable that poses 1 and 2 perform better than poses 3 and 4, with minor exceptions. This confirms the predictions made by the simulation tool.

5. Discussion

Despite the optimal design of the robot-specific production parameters, it makes sense to use control technology and in-process compensation to increase production quality. Preliminary investigations at the Laboratory for Machine Tools and Production Engineering and other research institutes have shown that online compensation strategies can significantly improve the machining results [79]. Furthermore, the focus should lie on the compensation of disturbances in path accuracy due to process-independent variables such as friction, gear backlash, and stick-slip effects. Therefore, it is necessary to develop a control technology concept to reduce the aforementioned effects.
A model-based pre-control of the joint torques can be selected as the approach. Based on the developed model and the possibility of calculating acting joint torques because of the process and machine properties, compensatory torque curves can be calculated for the respective machine axes. In the current literature, there are various approaches and strategies for eliminating the effects that cannot be compensated for in conventional axis control with the aid of feedforward control. A control engineering approach should be developed with the developed model that can be integrated into a robot controller due to the required computing times and computing capacities. An approach to the control compensation of process-independent influencing variables on the path accuracy of an industrial robot should be aimed for.
Despite extensive planning assistance, not all machining errors can be compensated for with optimized path planning. The process forces may lead to a strong displacement of the TCP and effects such as switching points and gears with backlash cannot be eliminated without additional compensation in the process. An approach to a compensation strategy using offset correction values calculated offline is described in [80]. The simulated deviations from the previously defined CAM modules can be written directly into a table readable by the controller via an interface for each IPO cycle and queried by the controller during operation. In addition, the effects that are not compensated for by an offset correction (e.g., switching points and gears with backlash) can be reduced by torque pre-control.
For broad application, a standardized concept must be developed that can be applied to several control architectures. In addition, the desired objectives favor user-friendliness, as the compensation information is already formed from the CAM functionalities and can subsequently be further used by the user.

6. Conclusions

In this paper, an approach was developed to increase the accuracy of industrial robots in highly dynamic machining processes. The machining task and the associated manufacturing program or robot paths are of decisive importance. In addition, process forces can occur that displace the robot’s end effector. The simulation of and compensation for the various process influences are therefore necessary to ensure stable machining by optimizing the process parameters during production planning and processing. In previous works, the dynamics and stiffness models of the MABI MAX 100 robot were identified.
In the first part of the paper, a grey-box LuGre model was developed to combine the advantages of analytical and data-driven approaches and to model the missing frictional effects of the robot. The model outperformed white- and black-box models by achieving the lowest RMSE and best R² values, respectively. Since the model has only been developed for the first axis of the MABI robot and velocity-dependent friction, further works will focus on including the other axes as well as load-dependent friction in order to develop a complete grey-box friction model.
In the second part of the paper, a holistic model-based simulation planning assistance tool was developed and validated that uses the aforementioned models as input. This tool focused on identifying and optimizing critical robot paths and switching points. During the development of the solution approach, special attention lay on the transferability to the heterogeneous industrial control landscape. The simulation assistance was validated on a machining process and succeeded in increasing the process accuracy. In addition to the evaluation of a compensation strategy, the authors suggest the integration of a pose-dependent stiffness model of the robot. Further works will focus on integrating and evaluating the complete grey-box friction model in the simulation tool and experimental validation of the expected accuracy optimization for robotic machining processes.

Author Contributions

Conceptualization, M.T., M.K. and L.G.; methodology, M.T., L.G. and M.K.; software, M.K.; validation, M.T. and M.K.; formal analysis, M.T.; investigation, M.T. and M.K.; resources, M.T. and M.K.; data curation, M.T.; writing—original draft preparation, M.T., M.K. and L.G.; writing—review and editing, M.T., M.K., L.G., M.B. and O.P.; visualization, M.T., L.G. and M.K; supervision, L.G., O.P. and C.B.; project administration, M.T., M.K. and L.G.; funding acquisition, M.K., L.G. and O.P. All authors have read and agreed to the published version of the manuscript.

Funding

This research was conducted within the project RoSiKo (AIF/IGF 21926N), which was funded via the Alliance for Industry and Research (AiF) within the program for the Promotion of Joint Industrial Research (IGF) by the Federal Ministry of Economics and Climate Protection (BMWK) based on a resolution of the German Bundestag.

Data Availability Statement

Data will be made available upon reasonable request. The following supporting information can be downloaded at: https://www.forschungsvereinigung-programmiersprachen.de/de/projekte/rosiko, accessed on 27 February 2025.

Conflicts of Interest

The authors declare no conflicts of interest. The funders had no role in the design of the study; in the collection, analyses, or interpretation of data; in the writing of the manuscript; or in the decision to publish the results.

References

  1. Denkena, B.; Möhring, H.-C.; Harms, A.; Vogeler, S.; Noske, H. Können teure Werkzeugmaschinen auf längere Sicht günstiger sein? Wt Werkstattstech. Online 2005, 95, 519–523. [Google Scholar] [CrossRef]
  2. Bejlegaard, M.; Brunoe, T.D.; Bossen, J.; Andersen, A.-L.; Nielsen, K. Reconfigurable Manufacturing Potential in Small and Medium Enterprises with Low Volume and High Variety. Procedia CIRP 2016, 51, 32–37. [Google Scholar] [CrossRef]
  3. Ozturk, E. The Rise of Robots in Machining. Available online: https://ifr.org/post/the-rise-of-robots-in-machining (accessed on 17 March 2023).
  4. Schmidt, J. Zerspaner überwinden die “Hemmschwelle” Roboter. MaschinenMarkt 2016, 39, 32–35. [Google Scholar]
  5. Javied, T.; Rackow, T.; Stankalla, R.; Sterk, C.; Franke, J. A Study on Electric Energy Consumption of Manufacturing Companies in the German Industry with the Focus on Electric Drives. Procedia CIRP 2016, 41, 318–322. [Google Scholar] [CrossRef]
  6. Brecher, C.; Weck, M. Werkzeugmaschinen, Fertigungssysteme, 9th ed.; Springer Vieweg: Berlin, Germany, 2019. [Google Scholar]
  7. Abele, E.; Weigold, M.; Rothenbücher, S. Modeling and Identification of an Industrial Robot for Machining Applications. CIRP Ann. 2007, 56, 387–390. [Google Scholar] [CrossRef]
  8. Rösch, O. Steigerung der Arbeitsgenauigkeit bei der Fräsbearbeitung Metallischer Werkstoffe mit Industrierobotern. Ph.D. Thesis, Faculty of Mechanical Engineering, Technical University, Munich, Germany, 2014. [Google Scholar]
  9. Weigold, M. Kompensation der Werkzeugabdrängung bei der Spanenden Bearbeitung mit Industrierobotern; Technical University: Darmstadt, Germany, 2008. [Google Scholar]
  10. Bauer, J. Methoden der Offline-Bahnkorrektur für die Spanende Bearbeitung mit Industrierobotern; Technical University: Darmstadt, Germany, 2011; Available online: https://www.ptw.tu-darmstadt.de/media/fachgebietptw/dokumente_3/wissenssammlung_ptw/jahresberichte_2/2011_Jahresbericht_web.pdf (accessed on 17 March 2023).
  11. Roesch, O. Model-Based On-Line Compensation of Path Deviations for Milling Robots. Adv. Mater. Res. 2013, 769, 255–262. [Google Scholar] [CrossRef]
  12. Roesch, O.; Zaeh, M.F. Fuzzy controller for the compensation of path deviations during robotic milling operations. In Proceedings of the 2014 IEEE International Conference on Mechatronics and Automation, Tianjin, China, 3–6 August 2014; pp. 192–197. [Google Scholar]
  13. Klimchik, A.; Bondarenko, D.; Pashkevich, A.; Briot, S.; Furet, B. Compensation of Tool Deflection in Robotic-Based Milling. In Proceedings of the 9th International Conference on Informatics in Control, Automation and Robotics, Rome, Italy, 28–31 July 2012. [Google Scholar]
  14. Klimchik, A.; Bondarenko, D.; Pashkevich, A.; Briot, S.; Furet, B. Compliance Error Compensation in Robotic-Based Milling. In Informatics in Control, Automation and Robotics; Springer: Berlin/Heidelberg, Germany, 2014; Volume 283, pp. 197–216. [Google Scholar] [CrossRef]
  15. Klimchik, A.; Wu, Y.; Caro, S.; Furet, B.; Pashkevich, A. Accuracy Improvement of Robot-Based Milling Using an Enhanced Manipulator Model. In Advances on Theory and Practice of Robots and Manipulators. Mechanisms and Machine Science; Springer: Berlin/Heidelberg, Germany, 2014; Volume 22, pp. 73–81. [Google Scholar] [CrossRef]
  16. Santos, D.B.P.; Maia, L.H.A.; Martins, P.S.; Ba, E.C.T.; Vieira, V.F.; Shigaki, Y.; Fernandes, G.H.N.; Santos, S.C. Dynamic and dimensional evaluation of robot applications in the drilling process in Al–Mg-Si 6351 T6 aluminum alloy. Int. J. Adv. Manuf. Technol. 2025, 136, 3709–3733. [Google Scholar] [CrossRef]
  17. Ackermann, F.; Weid, M. Die Freiform-Rebellen. DDS Das Mag. Möbel Ausbau 2014, 4, 82–85. [Google Scholar]
  18. mw. Kollege Roboter entgratet zuverlässig: Hochwertige, komplexe Bauteile vollautomatisch entgraten und polieren. Industrieanzeiger 2016, 50. Available online: https://industrieanzeiger.industrie.de/technik/fertigung/kollege-roboter-entgratet-zuverlaessig/ (accessed on 17 March 2023).
  19. Bay, A. KUKA.CNC—A Direct Approach. Auto Tech Rev. 2012, 1, 54–55. [Google Scholar] [CrossRef]
  20. Saund, B.; DeVlieg, R. High Accuracy Articulated Robots with CNC Control Systems. SAE Int. J. Aerosp. 2013, 6, 780–784. [Google Scholar] [CrossRef]
  21. Brecher, C.; Lienenlüke, L.; Obdenbusch, M. Spanende Bearbeitung mit Industrierobotern: Modellbasierte Planungsassistenz für die roboterbasierte Bearbeitung. Wt Werkstattstech. Online 2017, 159, 346–351. [Google Scholar] [CrossRef]
  22. Möller, C.; Schmidt, H.C.; Koch, P.; Böhlmann, C.; Kothe, S.-M.; Wollnack, J.; Hintze, W. Machining of large scaled CFRP-Parts with mobile CNC-based robotic system in aerospace industry. Procedia Manuf. 2017, 14, 17–29. [Google Scholar] [CrossRef]
  23. AiF Arbeitsgemeinschaft Industrieller Forschungsvereinigungen, e.V. Hochproduktive Roboterkooperation zur Spanenden Vorbearbeitung von Großbauteilen (HORuS). Z. Wirtsch. Fabr. 2016, 111, 511–522. [Google Scholar]
  24. Lienenlüke, L.; Storms, S.; Brecher, C. Predicting Path Inaccuracies in Robot-based Machining Operations Using Inverse Kinematics. IFAC-PapersOnLine 2020, 52, 1785–1790. [Google Scholar] [CrossRef]
  25. Lienenlüke, L.; Gründel, L.; Storms, S.; Brecher, C. Model-based Process Planning for Milling Operations Using Industrial Robots. In Proceedings of the 3rd International Conference on Control and Robotics Engineering, Nagoya, Japan, 20–23 April 2018; Suh, I.H., Ed.; IEEE: Piscataway, NJ, USA, 2018; pp. 37–44. [Google Scholar]
  26. Gründel, L.; Schäfer, J.; Storms, S.; Brecher, C. Measurement Setup and Modeling Approach for the Deformation of Robot Bodies During Machining. In Production at the Leading Edge of Technology; Liewald, M., Verl, A., Bauernhansl, T., Möhring, H.-C., Eds.; Springer International Publishing: Cham, Switzerland, 2023; pp. 324–334. [Google Scholar]
  27. Siciliano, B.; Khatib, O. Springer Handbook of Robotics; Springer: Berlin/Heidelberg, Germany, 2008. [Google Scholar]
  28. Lynch, K.; Park, F.C. Modern Robotics: Mechanics, Planning, and Control; Cambridge University Press: Cambridge, UK, 2017. [Google Scholar]
  29. Featherstone, R. Rigid Body Dynamics Algorithms; Springer: New York, NY, USA, 2008. [Google Scholar]
  30. Luh, J.; Walker, M.W.; Paul, R. Newton–Euler Formulation of Manipulator Dynamics for computer control. In Information Control Problems in Manufacturing Technology 1979; Elsevier: Amsterdam, The Netherlands, 1980; pp. 165–172. [Google Scholar]
  31. Piatkowski, T. Dahl and LuGre dynamic friction models—The analysis of selected properties. Mech. Mach. Theory 2014, 73, 91–100. [Google Scholar] [CrossRef]
  32. Kelly, R.; Llamas, J.; Campa, R. A measurement procedure for viscous and coulomb friction. IEEE Trans. Instrum. Meas. 2000, 49, 857–861. [Google Scholar] [CrossRef]
  33. Ruderman, M. Zur Modellierung und Kompensation Dynamischer Reibung in Aktuatorsystemen. Ph.D. Thesis, Technische Universität Dortmund, Dortmund, Germany, 2012. [Google Scholar]
  34. Dahl, P.R. A Solid Friction Model; Defense Technical Information Center: Fort Belvoir, VA, USA, 1968. [Google Scholar]
  35. Canudas de Wit, C.; Olsson, H.; Astrom, K.J.; Lischinsky, P. A new model for control of systems with friction. IEEE Trans. Automat. Contr. 1995, 40, 419–425. [Google Scholar] [CrossRef]
  36. Bona, B.; Indri, M. Friction Compensation in Robotics: An Overview. In Proceedings of the 44th IEEE Conference on Decision and Control, Seville, Spain, 12–15 December 2005; pp. 4360–4367. [Google Scholar]
  37. Lutter, M.; Listmann, K.; Peters, J. Deep Lagrangian Networks for end-to-end learning of energy-based control for under-actuated systems. arXiv 2019, arXiv:1907.04489. [Google Scholar]
  38. Trinh, M.; Schwiedernoch, R.; Gründel, L.; Storms, S.; Brecher, C. Friction Modeling for Structured Learning of Robot Dynamics. In Production at the Leading Edge of Technology; Liewald, M., Verl, A., Bauernhansl, T., Möhring, H.-C., Eds.; Springer International Publishing: Cham, Switzerland, 2023; pp. 396–406. [Google Scholar]
  39. Liang, T.; Qiang, C.; Yurong, N.; Suhua, Y.; Guofa, S. Adaptive control of mechanical servo system with glowworm swarm friction identification. In Proceedings of the IEEE 34th Chinese Control Conference (CCC), Hangzhou, China, 28–30 July 2015; pp. 3132–3138. [Google Scholar]
  40. Liu, D. Parameter Identification for Lugre Friction Model using Genetic Algorithms. In Proceedings of the IEEE 2006 International Conference on Machine Learning and Cybernetics, Dalian, China, 13–16 August 2006; pp. 3419–3422. [Google Scholar]
  41. Mesmer, P.; Riedel, P.; Lechler, A.; Verl, A. Investigation and Compensation of Hysteresis in Robot Joints with Cycloidal Drives. In Annals of Scientific Society for Assembly, Handling and Industrial Robotics 2022; Schüppstuhl, T., Tracht, K., Fleischer, J., Eds.; Springer International Publishing: Cham, Switzerland, 2023; pp. 177–187. [Google Scholar]
  42. Trinh, M.; Pellenz, Y.; Gruendel, L.; Petrovic, O.; Becher, C. Modeling of Load-dependent Friction in Robot Joints Using Long Short-term Memory Networks. In Proceedings of the ISR Europe 2023 56th International Symposium on Robotics, Stuttgart, Germany, 26–27 September 2023. [Google Scholar]
  43. Trinh, M.; Yadav, R.; Schwiedernoch, R.; Gründel, L.; Petrovic, O.; Brecher, C. Modeling of Temperature-Dependent Joint Friction in Industrial Robots Using Neural Networks. In Proceedings of the 2023 Seventh IEEE International Conference on Robotic Computing (IRC), Laguna Hills, CA, USA, 11–13 December 2023; pp. 206–213. [Google Scholar]
  44. Trinh, M.; Faggian, G.; Bottin, M.; Rosati, G.; Petrovic, O.; Brecher, C. Velocity- and Load-dependent Joint Friction Identification for a 6-DOF Industrial Robot. In Proceedings of the 2024 IEEE 18th International Conference on Advanced Motion Control (AMC), Kyoto, Japan, 28 February–1 March 2024; pp. 1–6. [Google Scholar]
  45. Indri, M.; Lazzero, I.; Antoniazza, A.; Bottero, A.M. Friction modeling and identification for industrial manipulators. In Proceedings of the 2013 IEEE 18th Conference on Emerging Technologies & Factory Automation (ETFA), Cagliari, Italy, 10–13 September 2013; pp. 1–8. [Google Scholar]
  46. Carlson, F.B.; Robertsson, A.; Johansson, R. Modeling and identification of position and temperature dependent friction phenomena without temperature sensing. In Proceedings of the 2015 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS), Hamburg, Germany, 28 September–3 October 2015; pp. 3045–3051. [Google Scholar]
  47. Pagani, R.; Legnani, G.; Incerti, G.; Gheza, M. Evaluation and Modeling of the Friction in Robotic Joints Considering Thermal Effects. J. Mech. Robot. 2020, 12, 21108. [Google Scholar] [CrossRef]
  48. Selmic, R.R.; Lewis, F.L. Neural-network approximation of piecewise continuous functions: Application to friction compensation. IEEE Trans. Neural Netw. 2002, 13, 745–751. [Google Scholar] [CrossRef]
  49. Ruan, W.; Dong, Q.; Zhang, X.; Li, Z. Friction Compensation Control of Electromechanical Actuator Based on Neural Network Adaptive Sliding Mode. Sensors 2021, 21, 1508. [Google Scholar] [CrossRef] [PubMed]
  50. Hirose, N.; Tajima, R. Modeling of rolling friction by recurrent neural network using LSTM. In Proceedings of the 2017 IEEE International Conference on Robotics and Automation (ICRA), Singapore, 29 May–3 June 2017; pp. 6471–6478. [Google Scholar]
  51. Goodfellow, I.; Bengio, Y.; Courville, A. Deep Learning; The MIT Press: Cambridge, MA, USA, 2016. [Google Scholar]
  52. Geist, A.R.; Trimpe, S. Structured learning of rigid-body dynamics: A survey and unified view from a robotics perspective. GAMM-Mitteilungen 2021, 44, e202100009. [Google Scholar] [CrossRef]
  53. The MathWorks Inc. System Identification Toolbox (R2024b); The MathWorks Inc.: Natick, MA, USA, 2024. [Google Scholar]
  54. Liberati, M.; Beghi, A.; Mezzalira, S.; Peron, S. Grey-box modelling of a motorcycle shock absorber. In Proceedings of the 2004 43rd IEEE Conference on Decision and Control (CDC) (IEEE Cat. No.04CH37601), Atlantis, Bahamas, 14–17 December 2004; Volume 1, pp. 755–760. [Google Scholar]
  55. Theisen, L.R.S.; Pierart, F.G.; Niemann, H.; Santos, I.F.; Blanke, M. Experimental Grey Box Model Identification and Control of an Active Gas Bearing. In Vibration Engineering and Technology of Machinery; Sinha, J.K., Ed.; Springer International Publishing: Cham, Switzerland, 2015; pp. 963–976. [Google Scholar]
  56. Thilker, C.A.; Bacher, P.; Bergsteinsson, H.G.; Junker, R.G.; Cali, D.; Madsen, H. Non-linear grey-box modelling for heat dynamics of buildings. Energy Build. 2021, 252, 111457. [Google Scholar] [CrossRef]
  57. Pitchforth, D.J.; Rogers, T.J.; Tygesen, U.T.; Cross, E.J. Grey-box models for wave loading prediction. Mech. Syst. Signal Process. 2021, 159, 107741. [Google Scholar] [CrossRef]
  58. Leifsson, L.Þ.; Sævarsdóttir, H.; Sigurðsson, S.Þ.; Vésteinsson, A. Grey-box modeling of an ocean vessel for operational optimization. Simul. Model. Pract. Theory 2008, 16, 923–932. [Google Scholar] [CrossRef]
  59. Hensen, R.H.A.; Angelis, G.Z.; van de Molengraft, M.J.G.; de Jager, A.G.; Kok, J.J. Grey-box modeling of friction: An experimental case-study. In Proceedings of the IEEE 1999 European Control Conference (ECC), Karlsruhe, Germany, 31 August–3 September 1999; pp. 3148–3153. [Google Scholar]
  60. Worden, K.; Wong, C.X.; Parlitz, U.; Hornstein, A.; Engster, D.; Tjahjowidodo, T.; Hornstein, A.; Engster, D.; Tjahjowidodo, T.; Al-Bender, F.; et al. Identification of pre-sliding and sliding friction dynamics: Grey box and black-box models. Mech. Syst. Signal Process. 2007, 21, 514–534. [Google Scholar] [CrossRef]
  61. Wernholt, E.; Gunnarsson, S. Nonlinear Grey-Box Identification of Industrial Robots Containing Flexibilities. IFAC Proc. Vol. 2005, 38, 356–361. [Google Scholar] [CrossRef]
  62. Ali, K.; Ullah, S.; Mehmood, A.; Mostafa, H.; Marey, M.; Iqbal, J. Adaptive FIT-SMC Approach for an Anthropomorphic Manipulator with Robust Exact Differentiator and Neural Network-Based Friction Compensation. IEEE Access 2022, 10, 3378–3389. [Google Scholar] [CrossRef]
  63. Lee, A.-C.; Horng, R.-H.; Lin, L.-R. LuGre Model-Based Neural Network Friction Compensator in a Linear Motor Stage. Int. J. Precis. Eng. Manuf. 2006, 7, 18–24. [Google Scholar]
  64. Hu, J.; Wang, Y.; Liu, L.; Xie, Z. High-accuracy robust adaptive motion control of a torque-controlled motor servo system with friction compensation based on neural network. Proc. Inst. Mech. Eng. Part C J. Mech. Eng. Sci. 2019, 233, 2318–2328. [Google Scholar] [CrossRef]
  65. Wu, Z. Adaptive block compensation trajectory tracking control based on LuGre friction model. Int. J. Adv. Robot. Syst. 2019, 16, 1729881419873212. [Google Scholar] [CrossRef]
  66. Botchkarev, A. A New Typology Design of Performance Metrics to Measure Errors in Machine Learning Regression Algorithms. Interdiscip. J. Inf. Knowl. Manag. 2019, 14, 45–76. [Google Scholar] [CrossRef]
  67. Benouamer, M.O.; Michelucci, D. Bridging the gap between CSG and Brep via a triple ray representation. In Proceedings of the fourth ACM Symposium on Solid Modeling and Applications—SMA ‘97, Atlanta, GA, USA, 14–16 May 1997; Hoffmann, C., Bronsvoort, W., Allen, G., Pratt, M., Rosen, D., Eds.; ACM Press: New York, NY, USA, 1997; pp. 68–79. [Google Scholar]
  68. Drysdale, R.L.; Jerard, R.B.; Schaudt, B.; Hauck, K. Discrete simulation of NC machining. Algorithmica 1989, 4, 33–60. [Google Scholar] [CrossRef]
  69. Engin, S.; Altintas, Y. Mechanics and dynamics of general milling cutters. Int. J. Mach. Tools Manuf. 2001, 41, 2213–2231. [Google Scholar] [CrossRef]
  70. Brecher, C.; Weck, M. Werkzeugmaschinen Fertigungssysteme 3; Springer: Berlin/Heidelberg, Germany, 2021. [Google Scholar]
  71. Suh, S.-H.; Kang, S.K.; Chung, D.-H.; Stroud, I. Theory and Design of CNC Systems; Springer: London, UK, 2008. [Google Scholar]
  72. Erkorkmaz, K.; Altintas, Y. High speed CNC system design. Part I: Jerk limited trajectory generation and quintic spline interpolation. Int. J. Mach. Tools Manuf. 2001, 41, 1323–1345. [Google Scholar] [CrossRef]
  73. Raghavan, M.; Roth, B. Inverse Kinematics of the General 6R Manipulator and Related Linkages. J. Mech. Des. 1993, 115, 502–508. [Google Scholar] [CrossRef]
  74. Lee, C.; Ziegler, M. Geometric Approach in Solving Inverse Kinematics of PUMA Robots. IEEE Trans. Aerosp. Electron. Syst. 1984, AES-20, 695–706. [Google Scholar] [CrossRef]
  75. Königs, M.; Brecher, C. Process-parallel virtual quality evaluation for metal cutting in series production. Procedia Manuf. 2018, 26, 1087–1093. [Google Scholar] [CrossRef]
  76. ISO 10791-7; Test Conditions for Machining Centers—Part 7: Accuracy of Finished Test Pieces. ISO: Geneva, Switzerland, 2014.
  77. Altintas, Y. Manufacturing Automation; Cambridge University Press: Cambridge, UK, 2012. [Google Scholar]
  78. Budak, E.; Altintas¸, Y.; Armarego, E.J.A. Prediction of Milling Force Coefficients from Orthogonal Cutting Data. J. Manuf. Sci. Eng. 1996, 118, 216–224. [Google Scholar] [CrossRef]
  79. Lienenlüke, L. Model-Based Planning-Integrated and Control-Related Compensation of Disturbance Variables in Robot-Supported Machining Processes. Ph.D. Dissertation, RWTH Aachen University, Aachen, Germany, 2020. [Google Scholar]
  80. Brecher, C.; Lienenlüke, L.; Storms, S. Steigerung der Prozessfähigkeit roboterbasierter Bearbeitungsprozesse. Z. Wirtsch. Fabr. 2019, 114, 426–430. [Google Scholar] [CrossRef]
Figure 1. Grey-box friction modeling for industrial robots.
Figure 1. Grey-box friction modeling for industrial robots.
Jmmp 09 00126 g001
Figure 2. Grey-box LuGre model with velocity q ˙ as the input, one hidden layer with ten nodes, and friction torque τ F as the output. Green nodes indicate parameters optimized with gradient descent.
Figure 2. Grey-box LuGre model with velocity q ˙ as the input, one hidden layer with ten nodes, and friction torque τ F as the output. Green nodes indicate parameters optimized with gradient descent.
Jmmp 09 00126 g002
Figure 3. Model-based simulation planning assistance for robot machining.
Figure 3. Model-based simulation planning assistance for robot machining.
Jmmp 09 00126 g003
Figure 4. At the heart of the approach is a workpiece-centered material removal simulation, which produces a virtual workpiece based on the planning outputs of a CAM system. Thereby, the virtual workpiece is assigned with necessary process information for downstream process evaluations and optimizations.
Figure 4. At the heart of the approach is a workpiece-centered material removal simulation, which produces a virtual workpiece based on the planning outputs of a CAM system. Thereby, the virtual workpiece is assigned with necessary process information for downstream process evaluations and optimizations.
Jmmp 09 00126 g004
Figure 5. Apparently, uniform temporal sampling results in varying distributions of intermediate positions along the tool path, which inversely correlate with the current velocity.
Figure 5. Apparently, uniform temporal sampling results in varying distributions of intermediate positions along the tool path, which inversely correlate with the current velocity.
Jmmp 09 00126 g005
Figure 6. Using this preparatory work, an analytical approach can be used to derive the algorithm for the inverse kinematic transformation. The algorithm is based on the decoupling approach described in [74] and takes advantage of the fact that the rotational axis joints of the last three joints of the robot, here a MABI MAX-100, intersect at a single point (Figure 6). Using this, the kinematics of the entire robot can be divided, resulting in more simplified calculations. The first three joints with positions θa,1, θa,2, and θa,3 in ACS are used to determine the position TCPBCS of the cutting tool, while the last three joints with positions θa,4, θa,5, and θa,6 in ACS define the TOBCS at the TCPBCS. Remark: the additional 7th joint described the offset from joint 6 to the TCPBCS and is static for a single cutting tool due to the addressed 2.5 milling processes.
Figure 6. Using this preparatory work, an analytical approach can be used to derive the algorithm for the inverse kinematic transformation. The algorithm is based on the decoupling approach described in [74] and takes advantage of the fact that the rotational axis joints of the last three joints of the robot, here a MABI MAX-100, intersect at a single point (Figure 6). Using this, the kinematics of the entire robot can be divided, resulting in more simplified calculations. The first three joints with positions θa,1, θa,2, and θa,3 in ACS are used to determine the position TCPBCS of the cutting tool, while the last three joints with positions θa,4, θa,5, and θa,6 in ACS define the TOBCS at the TCPBCS. Remark: the additional 7th joint described the offset from joint 6 to the TCPBCS and is static for a single cutting tool due to the addressed 2.5 milling processes.
Jmmp 09 00126 g006
Figure 7. Furthermore, the side view of Figure 7 reveals that θa,2 and θa,3 can be obtained from the distances.
Figure 7. Furthermore, the side view of Figure 7 reveals that θa,2 and θa,3 can be obtained from the distances.
Jmmp 09 00126 g007
Figure 8. Cutter engagement information.
Figure 8. Cutter engagement information.
Jmmp 09 00126 g008
Figure 9. The triangle mesh of the macro geometry is unwrapped and projected onto a rectangular plane. The corresponding transformation is then used to project the removed material volume, represented by a set of pruned or erased dexels, onto the engagement maps in each simulation step. The hit areas of the EM are then assigned with the local chip thicknesses.
Figure 9. The triangle mesh of the macro geometry is unwrapped and projected onto a rectangular plane. The corresponding transformation is then used to project the removed material volume, represented by a set of pruned or erased dexels, onto the engagement maps in each simulation step. The hit areas of the EM are then assigned with the local chip thicknesses.
Jmmp 09 00126 g009
Figure 10. In this paper, a sampling rate of n = 20 was chosen, resulting in an engagement sampling of 10 kHz.
Figure 10. In this paper, a sampling rate of n = 20 was chosen, resulting in an engagement sampling of 10 kHz.
Jmmp 09 00126 g010
Figure 11. Structural mechanical robot model.
Figure 11. Structural mechanical robot model.
Jmmp 09 00126 g011
Figure 12. Evaluation of the simulation planning assistance.
Figure 12. Evaluation of the simulation planning assistance.
Jmmp 09 00126 g012
Figure 13. According to ISO 10791-7, made from an aluminum block with dimensions 320 mm × 320 mm × 62 mm [76]. The workpiece was virtually machined using four different poses to find the pose that minimizes the positional errors on the workpiece’s surface. The poses are shown on the right-hand side along with the machining operations, used cutting tool, and technology parameters.
Figure 13. According to ISO 10791-7, made from an aluminum block with dimensions 320 mm × 320 mm × 62 mm [76]. The workpiece was virtually machined using four different poses to find the pose that minimizes the positional errors on the workpiece’s surface. The poses are shown on the right-hand side along with the machining operations, used cutting tool, and technology parameters.
Jmmp 09 00126 g013
Figure 14. The four parts were measured using a bridge-type coordinate measuring machine by ZEISS(Carl Zeiss AG, Oberkochen, Germany) and the software ZEISS Calypso 6.6.
Figure 14. The four parts were measured using a bridge-type coordinate measuring machine by ZEISS(Carl Zeiss AG, Oberkochen, Germany) and the software ZEISS Calypso 6.6.
Jmmp 09 00126 g014
Table 1. Comparison of identified dynamic LuGre parameters for axis 1 by conventional and grey-box models.
Table 1. Comparison of identified dynamic LuGre parameters for axis 1 by conventional and grey-box models.
Parameter/LuGre ModelConventionalGrey-Box
σ 0   N m / ° 294.14404.792
    σ 1   N m s / ° 3.2630.1594
ν   N m s       0.04730.0379
Table 2. Comparison of workpiece accuracy for four poses according to ISO 10791-7 [76]. Deviation values in bold adhere to the tolerance bounds. The colors dark green to red indicate the best to worst values when comparing the four poses regardless of tolerance bounds.
Table 2. Comparison of workpiece accuracy for four poses according to ISO 10791-7 [76]. Deviation values in bold adhere to the tolerance bounds. The colors dark green to red indicate the best to worst values when comparing the four poses regardless of tolerance bounds.
Nominal (mm)ToleranceDeviation (mm)
CirclePose 1Pose 2Pose 3Pose 4
z M Z60.020−0.1017−0.0673−0.0848−0.0557
Ø∅2180.0200.23420.24640.30991.1677
O∅2180.0200.54920.58440.55960.8639
Square
z M Z60.0200.0142−0.00410.0186−0.0245
2 × 2200.0200.25200.36110.80891.6140
4 × 2200.0150.00950.01250.03980.0144
30°, 60°0.0200.14510.2661−0.26880.1252
Slope
z M Z60.0200.00450.01610.01540.0633
3200.0150.01380.01950.0268−0.3193
0.0200.1354−0.3675−0.22260.0430
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Trinh, M.; Königs, M.; Gründel, L.; Beier, M.; Petrovic, O.; Brecher, C. Accuracy Optimization of Robotic Machining Using Grey-Box Modeling and Simulation Planning Assistance. J. Manuf. Mater. Process. 2025, 9, 126. https://doi.org/10.3390/jmmp9040126

AMA Style

Trinh M, Königs M, Gründel L, Beier M, Petrovic O, Brecher C. Accuracy Optimization of Robotic Machining Using Grey-Box Modeling and Simulation Planning Assistance. Journal of Manufacturing and Materials Processing. 2025; 9(4):126. https://doi.org/10.3390/jmmp9040126

Chicago/Turabian Style

Trinh, Minh, Michael Königs, Lukas Gründel, Marcel Beier, Oliver Petrovic, and Christian Brecher. 2025. "Accuracy Optimization of Robotic Machining Using Grey-Box Modeling and Simulation Planning Assistance" Journal of Manufacturing and Materials Processing 9, no. 4: 126. https://doi.org/10.3390/jmmp9040126

APA Style

Trinh, M., Königs, M., Gründel, L., Beier, M., Petrovic, O., & Brecher, C. (2025). Accuracy Optimization of Robotic Machining Using Grey-Box Modeling and Simulation Planning Assistance. Journal of Manufacturing and Materials Processing, 9(4), 126. https://doi.org/10.3390/jmmp9040126

Article Metrics

Back to TopTop