Next Article in Journal
Design of a Bionic Spider Robot with a Two-Degrees-of-Freedom Leg Structure and Body Frame
Previous Article in Journal
Time Series Forecasting of Thermal Systems Dispatch in Legal Amazon Using Machine Learning
Previous Article in Special Issue
Intelligent Framework Design for Quality Control in Industry 4.0
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Region-Based Approach for Machining Time Improvement in Robot Surface Finishing

Faculty of Electrical Engineering and Computer Science, University of Maribor, Koroška cesta 46, 2000 Maribor, Slovenia
*
Authors to whom correspondence should be addressed.
Appl. Sci. 2024, 14(21), 9808; https://doi.org/10.3390/app14219808
Submission received: 20 September 2024 / Revised: 18 October 2024 / Accepted: 25 October 2024 / Published: 27 October 2024

Abstract

:
Traditionally, in robotic surface finishing, the entire workpiece is processed at a uniform speed, predetermined by the operator, which does not account for variations in the machinability across different regions of the workpiece. This conventional approach often leads to inefficiencies, especially given the diverse geometrical characteristics of workpieces that could potentially allow for different machining speeds. Our study introduces a region-based approach, which improves surface finishing machining time by allowing variable speeds and directions tailored to each region’s specific characteristics. This method leverages a task-oriented strategy integrating robot kinematics and workpiece surface geometry, subdivided by the clustering algorithm. Subsequently, methods for optimization algorithms were developed to calculate each region’s optimal machining speeds and directions. The efficacy of this approach was validated through numerical results on two distinct workpieces, demonstrating significant improvements in machining times. The region-based approach yielded up to a 37% reduction in machining time compared to traditional single-direction machining. Further enhancements were achieved by optimizing the workpiece positioning, which, in our case, added up to an additional 16% improvement from the initial position. Validation processes were conducted to ensure the collaborative robot’s joint velocities remained within safe operational limits while executing the region-based surface finishing strategy.

1. Introduction

In the rapidly evolving landscape of modern manufacturing, the transition towards custom-based production and low-volume, high-mix manufacturing has become a significant trend [1]. This shift requires adopting advanced and flexible automation solutions to meet the increasingly diverse and dynamic market needs. Integrating collaborative robots (cobots) into various manufacturing processes is one of the most promising avenues for achieving this flexibility. Unlike traditional industrial robots, cobots are designed to work safely alongside human operators, facilitating a harmonious blend of human ingenuity and robotic precision [2]. However, integrating cobots into machining processes presents several challenges. One of the primary obstacles is the limited motion capability of cobots, which demands careful task planning and optimization, to ensure feasible and efficient operations. In robotics machining applications [3], such as milling, polishing, or hammer peening, where the robot tool is constrained to follow a prescribed path on the workpiece surface, understanding the robot’s kinematics and dynamics is highly important to optimize the robot’s task performance [4].
Repeated action, especially in machine hammer peening (MHP), is necessary to achieve the desired surface treatment and demands continuous, precise movements from the robot, exerting considerable strain on its mechanical components. MHP is an advanced application utilized primarily in manufacturing and toolmaking to improve the metallic components’ surface characteristics. This process can involve using a robotic arm equipped with a pneumatic or electromagnetic hammering tool that impacts the surface of a workpiece frequently [5]. The primary goal of MHP is to enhance the surface’s mechanical properties related to the surface quality, fatigue strength of metal parts, and improved overall durability [6,7]. Existing MHP research primarily explores its impact on workpieces’ mechanical and structural properties [8]. These studies extensively report enhancements such as improved surface hardness and smoothness, increased compressive residual stresses, and beneficial microstructural changes, as shown in recent research by [9], which analyzed the effects on stainless steel and mild steel. The authors in [10] explored the surface integrity of bearing steel, and another study by [11] expanded on integrating laser cladding with MHP for repairing and strengthening surfaces, further highlighting the process’s capability to enhance wear and fatigue resistance. Additionally, research in [12] demonstrates that MHP introduces plastic deformation in the surface, effectively reducing residual tensile stress and enhancing grain refinements. However, these studies typically do not address the optimization of machining time, which is a critical factor given the inherently time-consuming nature of the MHP process due to the very dense machining toolpaths. Standard practice in robotic MHP often involves using classic zig-zag machining patterns [13], which are not specifically optimized for the unique geometrical characteristics of each workpiece and the robot kinematics involved.
Further complications arise when less capable robots are paired with complex workpieces. In such scenarios, the robot may not have the reach or dexterity to access all points on the workpiece to follow the machining path successfully. This is a common challenge in manufacturing, prompting numerous research efforts to optimize the workpiece positioning or the robotic system to enhance the machining process. A placement optimization of the robot—workpiece or vice versa—is performed for several reasons, such as for energy consumption [14], wear reduction [15], cycle time optimization [16], or stiffness reduction [17]. In [18], the optimal workpiece placement is searched by maximizing the achievable linear velocity along the predefined machining toolpath based on the Decomposed Twist Feasibility (DTF) method [19]. The authors in [20] used two multi-objective particle swarm optimization loops, focusing on finding the proper robot base placement and configuration. The first loop minimizes all the robot’s constraints, such as singularities, joint limitations, and collisions. Redundancy data were then fed into the second loop to find the optimal robot base placement, such that all trajectories can be followed by continuous motion. In [21], two genetic algorithms were employed to improve the robot tool’s initial position in the robotic milling. The first algorithm maximized kinematic and dynamic manipulability, and the second minimized total joint torques. Both optimizations were executed along the milling trajectory. A feasible workpiece placement through multiple constraint violation functions, which are applied and minimized incrementally, was researched in [22]. Much research on workpiece positioning was conducted in the milling section, such as in [23], where, based on milling cutting forces and an elastostatic model of the robot, the optimal workpiece position is searched with the help of genetic and interior-point algorithms. Deburring applications are also considered, such as in [24], where the authors used a genetic algorithm to optimize the workpiece’s placement based on the robot’s stiffness.
Due to the geometric complexity of freeform surface machining, tool orientations typically vary dynamically when using a 5-axis machine tool; because of this, clustering is recognized increasingly as a strategic method for optimizing the machining of large workpieces or those with varied surface curvatures. The authors in [25] aimed to improve CNC machining efficiency by optimizing tool orientations and feed directions. The surface was segmented into optimized sub-regions using K-means clustering, ensuring machinability through gouging and collision-free orientations. Similar work was performed in [26], where the workpiece was partitioned based on convex, concave, and saddle surface curvature regions and processed further by the Fuzzy-means clustering algorithm. The complexity of robot machining increases significantly when dealing with workpieces with intricate geometries. Traditional CAD/CAM programs often fall short in these scenarios due to the robots’ physical limitations and the tasks’ complexities. Thus, there is a need for novel approaches that can evaluate and optimize the robot’s kinematic capabilities accurately, ensuring that the machining tasks are performed efficiently. Because of the relatively low stiffness of industrial robots, numerous research efforts have focused on enhancing robot stiffness through optimizing robot posture [27,28]. Here, the authors propose a region-based toolpath generation method for the robotic milling of freeform surfaces to optimize robot stiffness. The method divides a surface into sub-regions with similar robot postures to enhance stiffness, and then generates toolpaths tailored to these regions. The article by [29] developed a robotic belt grinding approach that segments workpieces with complex shapes into regions to simplify the generation of gouge-avoidance toolpaths. It introduced algorithms for both wheel face grinding and wheel edge grinding to analyze and avoid potential gouges, enhancing the robotic grinding process’s efficiency and accuracy. Region-based path planning is also used in achieving proper welding layers on complex workpieces [30] and in [31], where partitioning with the help of clustering was used to machine giant complex sculptures.
None of the existing robotic region-based approaches incorporate robotic kinematic analysis directly with free-form surface geometry in a task-oriented way. A novel approach to robot kinematic analysis incorporating the constraints imposed by the workpiece surface geometry has been developed to address these challenges [32]. The proposed methodology extends the well-known concept of manipulability, which is used traditionally to assess robot motion capabilities. Introducing the workpiece surface constraint into the kinematic analysis provides a more accurate evaluation of the robot’s available velocity capabilities in a reduced-dimensional space. The concept of manipulability, first introduced by Yoshikawa [33], provides a qualitative method for assessing the ease with which a robot can move in its operational workspace. This concept is typically represented by the manipulability ellipsoid, derived from the robot’s velocity kinematics description using the singular value decomposition of the associated Jacobian matrix [34]. However, traditional manipulability indices often suffer from physical inconsistencies due to the mixing of different units of linear and angular velocity [35]. To overcome these limitations, the author’s work [32] introduces a task-oriented approach to robot kinematics, focusing on the surface constraints imposed by the workpiece geometry. The strategy involves the development of a task-specific augmented inverse Jacobian matrix, which incorporates motion constraints derived from the differential surface geometry of the workpiece. This matrix transforms the robot’s task space into a two-dimensional surface tangent plane, effectively avoiding the physical inconsistencies associated with mixed linear and angular velocity units. The resulting manipulability analysis focuses solely on linear velocities, providing a more consistent and meaningful evaluation of the robot’s motion capabilities.
Building on this theoretical framework, our study employs clustering techniques, specifically K-means clustering [36], to segment the workpiece surface into regions with similar kinematic characteristics. Clustering the surface into manageable sections allows for more precise and optimized surface finishing strategies. An optimization algorithm determines the optimal machining directions and maximum feasible speeds for each region, which enables optimal surface finishing path planning concerning the machining time. The practical implications of this approach are demonstrated through numerical experiments involving semi-complex workpiece geometries. These experiments validate the effectiveness of the proposed method in enhancing the robot’s machining time performance, while ensuring task feasibility within the constraints of the cobot’s motion capabilities. By evaluating the robot’s kinematic capabilities accurately and optimizing the machining paths, the proposed method improves the efficiency of the robot machining task significantly. In addition to improving the robot’s machining performance, this approach addresses the critical issue of workpiece positioning. The optimal positioning of the workpiece is crucial for maximizing the robot’s kinematic capabilities and ensuring that the machining tasks are performed efficiently. The proposed method uses an optimization algorithm to determine the best position for the workpiece, considering the robot’s motion constraints and the geometry of the workpiece. This ensures that the robot can perform the machining tasks with maximum efficiency, thus additionally reducing the overall machining time. Reducing machining time is a measure of efficiency and a critical factor in enhancing production throughput and reducing operational costs. Lower machining times translate directly into faster cycle times, allowing for increased output within the same operational hours. This is particularly significant in MHP, where the process is time-consuming and can extend over several hours.
Combining clustering techniques into the kinematic analysis represents a significant advancement in robot machining. The method allows for more detailed and precise kinematic evaluations by dividing the workpiece surface into regions. This segmentation enables the optimization algorithm to tailor the machining strategies to the specific characteristics of each region, ensuring that the robot operates at its maximum capability throughout the entire machining process.
In conclusion, this study presents a comprehensive and innovative approach to robot machining that addresses the key challenges of integrating cobots into complex machining tasks. By incorporating workpiece surface constraints into the kinematic analysis and leveraging clustering techniques and optimization algorithms, the proposed method provides a robust framework for enhancing the performance and efficiency of robot machining. The practical implications of this approach are demonstrated through numerical experiments in the presented case study, validating its effectiveness and highlighting its potential for improving the flexibility and adaptability of modern manufacturing processes. As the industry continues to evolve, such innovative approaches will play a crucial role in meeting the diverse and dynamic demands of the market, paving the way for more efficient and flexible manufacturing systems.
The rest of the paper is organized as follows: Section 2 provides the necessary background information on the surface differential geometry and the theoretical method. Section 3 presents the development of the proposed region-based robot machining method. Section 4 includes the numerical experiments and validation within the case study. Finally, Section 5 discusses the results and concludes the paper.

2. Preliminaries

A free-form surface S in a three-dimensional space can be represented parametrically by the following vector function:
r ( u , v ) = x ( u , v ) , y ( u , v ) , z ( u , v )
where u and v are parameters spanning the surface [37]. The explicit surface is examined, where the z-coordinate is represented as a function of the x- and y-coordinates:
z = f ( x , y )
where f is a real-valued function that is at least twice continuously differentiable. The parametric form is obtained by setting x = u and y = v , where x , y D , D being a connected domain in the xy-plane. The surface can be described by
r = x , y , f ( x , y )
The unit normal vector at any point on the surface, necessary for many applications, including robot machining, is given by
n ^ = r x × r y r x × r y
where vectors r x and r y span the tangent plane to the surface at a given point (x,y) and are used to compute the surface normal.
The first fundamental form, which encapsulates the surface’s metric properties, is defined by the following matrix [37]:
I = E F F G
with the first fundamental form coefficients E = r x r x   ,   F = r x r y ,   G = r y r y .
The second fundamental form, providing information crucial for understanding the surface curvature, is given by
I I = L M M N
The so-called second-form coefficients are derived from the directional derivatives of the normal vector L = r x x n ^ ,   M = r x y n ^ ,   G = r y y n ^ .
The relationship between the joint velocities and the end-effector’s motion in the workspace is represented through the following velocity kinematics equation [34]:
v = J ( θ ) θ ˙
Here, J 6 × n denotes the geometric Jacobian matrix, which transforms the joint velocity vectors θ ˙ into operational velocity twist vector v 6 , encapsulating both the linear v 3 and angular ω 3 velocities:
v = v ω
In robotic machining, especially in configurations where the robot manipulator is an open chain with six degrees of freedom (DOF), i.e., n = 6, kinematic analysis becomes crucial for effective operation. The manipulator’s base is typically stationary, while the end-effector moves freely within the operational space to perform tasks accurately. The inverse kinematics problem must be solved to achieve the desired end-effector velocity. This involves determining the necessary joint velocities θ ˙ from given twist vector v . The solution can be obtained by inverting the following full-rank, non-singular quadratic Jacobian matrix:
θ ˙ = J 1 v
The essence of manipulability in robotics is to understand how effectively a robot can change its position or orientation in space, which is quantified using the Jacobian matrix of the system. The manipulability measure is derived from the following condition:
θ ˙ T θ ˙ 1
which maps the unit sphere in the joint velocity space onto an ellipsoid in the task space, described by
v T ( J J T ) 1 v 1
which is the equation of points on an ellipsoid’s surface within the end-effector velocity space [38].
To analyze and simplify the manipulability condition, the Jacobian matrix J can be decomposed using the singular value decomposition (SVD) into
J = U V T
In this decomposition, U and V are unitary matrices representing the orthonormal bases of the Jacobian column and row space. U = u 1 u m is a unitary matrix with the column vectors that span the m-dimensional robot operational space and present the ellipsoid semi-axis directions, is a diagonal matrix with singular values σ 1 σ 2 σ n representing the semi-axis lengths, and V = v 1 , v n contains the orthonormal basis vectors for the joint velocity space. The end-effector can move at high velocities along the major axis of the ellipsoid, whereas it achieves lower velocities along the minor axis.
In this paper, the inverse Jacobian matrix J 1 is replaced and used in the SVD (12) by the so-called augmented inverse Jacobian matrix J C # of constrained kinematics [32], which incorporates differential characteristics of the workpiece surface:
J C # = J ˜ T S v S v + J ˜ R S ω S v
where J ˜ T and J ˜ R are strong translational and strong rotational Jacobian matrices [39], and S v , S ω are defined by (14) and (15), respectively. Operator ( . ) stands for the Moore–Penrose pseudoinverse of a matrix.
S v = r x r y
S ω = r x r y E G F 2 0 1 1 0 I I
Matrix S v maps a 2D linear velocity vector in the Cartesian plane to a 3D velocity vector in the Cartesian space, whereas S ω maps a 2D linear velocity vector in the Cartesian plane to a 3D angular velocity in the Cartesian space. More detailed derivations and explanations can be found in the article [32].
Matrix J C # (13) is homogeneous in units and rank deficient, i.e., r = r a n k ( J C # ) = 2 , meaning that the constrained manipulability ellipsoid is reduced to an ellipse in the tangent plane of the workpiece surface. It has two non-zero singular values, σ min and σ max , along the corresponding minor and major ellipse semi-axis directions u min and u max , respectively. In Figure 1, the ellipses with their major axes directions are drawn in pink.

3. Materials and Methods

3.1. Problem Formulation

In workpiece surface finishing, the robot path with its tool oriented perpendicular to the workpiece surface can be determined arbitrarily for relatively simple surfaces, but for workpieces featuring more curved surfaces, identifying the optimal machining direction becomes more complex. Figure 1 illustrates the directions of the major ellipse semi-axes u max and - u max for points on the workpiece with black arrows, utilizing a collaborative robot arm UR5e and sample workpiece (see Section 3.4). Note that the robot could, theoretically, move with the same capability in both directions. The color map on the surface represents the maximum possible machining speeds σ max in the considered surface points, where the machining speed is low in the blue areas and is high in the red areas. Ideally, path planning would utilize these vectors directly, but since their direction can change considerably from one point to another, this requires the development of an advanced algorithm that carefully considers all the points and integrates them into a continuous path. Therefore, the challenge is creating optimal machining paths based on the ellipse characteristics (see Figure 1), incorporating robot kinematics to complete surface finishing tasks successfully.

3.2. Optimal Machining Path Direction

During the machining of the workpiece, the tooltip must follow a specific path embedded in the workpiece surface. Both position and orientation constrain this toolpath, assuming the tooltip must maintain a perpendicular orientation relative to the curved workpiece surface. In similar articles, the robot surface finishing trajectory is usually predetermined, like in [18], where only the workpiece position is optimized based on the existing toolpath. In our scenario, we take into account the robot-constrained velocity kinematics featured by (13), and simultaneously determine both the optimal robot direction and speed using the modified DTF method [19] to find the machining paths with the maximum feasible end-effector linear speed V max (17) for the workpiece surface point under consideration.
First, for each point P i , the searched two-dimensional Cartesian direction vector u 2 = cos ( φ ) , sin ( φ ) T is mapped to obtain a three-dimensional Cartesian direction vector for machining on a workpiece surface tangent plane:
u T = S v u 2 S v u 2
Then, u T is used to determine the maximum surface-constrained feasible speed at which the robot surface finishing can occur at each point. The concept of the DTF method [19] is utilized here, which yields
V max = 1 J C # u T
where J C # is the constrained inverse Jacobian matrix defined in (13), and u T is the direction vector (16).
To determine the optimal machining direction and speed, the following optimization problem is set:
V max o p t = max u 2 min i = 1 , , N ( V max ( P i ) )
where V max o p t represents the optimal maximum feasible linear speed on the surface at the optimal direction u 2 , and N is the number of the surface points under consideration. Additionally, Equation (18) can be described as
  • Inner optimization procedure with the expression min i = 1 , , N ( V max ( P i ) ) : This step identifies the maximum feasible speed across all points P i   , i = 1 , , N under consideration within a selected surface path. This speed represents the limiting factor for the machining process since the robot cannot exceed this speed in the specified direction.
  • Outer maximization: After computing the maximum feasible speed for each direction, this step searches for the optimal direction u 2 that maximizes the machining speed on the surface patch. Maximizing this value ensures that the robot can achieve the highest feasible speed across the workpiece points in the optimal direction.
The optimal machining directions enable the forming of a velocity vector field (VVF) used for the path planning process.

3.3. Surface Subdivision and Machining Time Estimation

3.3.1. Clustering

As observed in Figure 1, the ellipse data already form distinct areas of similarity, but relying solely on intuition and visual inspection is insufficient. Hence, clustering algorithms such as K-means can be used to subdivide the workpiece into clusters. K-means clustering is a popular unsupervised machine learning algorithm used to partition a dataset into distinct clusters with similar data subsets, where each data point belongs to the cluster with the nearest mean (centroid). The algorithm assigns data points to clusters iteratively, and updates the centroids by calculating the mean of all points within each cluster. This process repeats until the centroids stabilize or a predefined number of iterations is reached [40].
The data are partitioned into clusters using the squared Euclidean distance metric, where K is the number of clusters. The algorithm allows up to an arbitrary number of iterations to converge. Empty clusters are handled by creating a new cluster with a single point, and the algorithm runs several times with different initial centroids to avoid the local minima. The centroids can be initialized using the K-means++ algorithm [41], which ensures better initial placement.
For each surface point P i on the workpiece, a multidimensional feature vector F i (19) is constructed by combining the position vector P i , surface unit normal vector n ^ i , minimal possible speed σ min , i (corresponding to the minor ellipse semi-axis length), and maximal possible speed σ max , i (corresponding to the major ellipse semi-axis length).
F i = P i x   P i y   P i z   n ^ i x   n ^ i y   n ^ i z   σ min , i   σ max , i  
The Z-Score normalization [42] is used as
F ˜ i = F i μ s
F ˜ i represents the normalized clusterization vector F i , while μ and s denote the feature vectors’ mean value and Standard Deviation.

3.3.2. Surface Regionalization and Boundary Definition

In the previous chapter, the K-means algorithm was employed to partition the dataset into clusters, as seen in Figure 2a. These clusters are essentially groups of data points that share similar characteristics, but do not necessarily form coherent spatial boundaries. To interpret the results in a spatial context better, these clusters are processed further to create what will be referred to as regions. A critical step in this process involves defining clear boundaries for these regions to facilitate efficient region-based analysis or machining operations. To achieve this, the alpha shape algorithm [43] was applied, which refines the clusters by generating well-defined boundaries for each region. The algorithm works by constructing a shape, enveloping the set of points with the smallest possible predefined radius α , effectively capturing the concavities of the region, and ignoring outliers or noise. Figure 2b showcases the refined regions after applying the alpha shape algorithm, with each distinct region outlined clearly and separated from others, thus creating separation machining regions, each representing a single continuous space with VVF.

3.3.3. Region Merging

Segmenting machining workpieces into regions can sometimes yield impractical small areas for effective machining. Such regions lead to the generation of numerous short, discontinuous toolpaths, which can compromise the efficiency of the machining process [29]. A systematic approach to merging smaller regions into adjacent, larger ones addresses this issue.
The first step in region merging involves defining and identifying small regions based on a predefined area threshold. Regions whose areas fall below this threshold are flagged for potential merging to enhance the compactness and continuity of the machining paths. Once small regions are identified, their neighboring regions are examined. This involves analyzing the spatial adjacency and connectivity of the regions based on their proximity and shared boundaries.
The small region is merged with each neighboring region, and the impact on the workpiece machining time is calculated. The adjacent region that leads to the most favorable reduction in machining time is chosen as the optimal candidate for merging. The results can be seen in Figure 2c, where the initial number of 13 regions from Figure 2b was lowered to 9.

3.3.4. Single Boundaries

Each region is enveloped individually by its boundaries in Figure 2c, creating double boundaries. While effective for our previous analytical purposes, this configuration can leave unattended gaps that hinder the machining process, leading to unmachined regions on the workpiece. To address this, a single boundary was created between the existing double boundaries. In this approach, the distances between all the boundary points of each pair of adjacent region boundaries are calculated using the Euclidean distance metric.
Let A and B represent matrices of boundary points from two different regions, where A and B are m × n and p × n matrices, respectively. Each row of A and B corresponds to the coordinates of a boundary point in an n-dimensional space. The Euclidian distance between any two points a i from A and b j from B is calculated as follows:
d i j = k = 1 n ( a i k b j k ) 2
where d i j is the distance between the i-th point in A and the j-th point in B, and a i k and b j k are the k-th components of points a i and b j , respectively. Pairs of boundary points whose distances fall below a specified threshold (adjacent regions) are identified as candidates for creating new boundary segments. Then, the midpoints between each pair of closely located boundary points are calculated and sorted based on their spatial coordinates to maintain a logical sequence:
m i j = a i + b j 2
where m i j represents the coordinate-wise average of the points a i and b j . The midpoints m i j are then smoothed using the Savitzky–Golay filter [44] to create a smoother transition between regions, as depicted in Figure 2c.

3.4. Optimal Workpiece Placement

In robotic machining, the feasibility of the operation can be influenced significantly by the position and orientation of the workpiece relative to the robot base [18]. In the optimization setup, workpiece {W} has its local coordinate system in its center with relation to the robot’s base frame {B}, as illustrated in Figure 3. The pose of the workpiece on the worktable relative to the robot’s base frame {B} can be determined by three variables x , y , γ , which are subject to optimization. Here, x and y represent the offsets of the workpiece in the Cartesian xy-directions from the robot base, while γ denotes the rotation of the workpiece about its z-axis; the z-coordinate is constant, and indicates the fixed distance between the worktable and the robot base.
To evaluate the machining performance suitable for optimization, we introduce the machining time index (MTI) concept, which provides a reference metric that estimates the machining time based on the calculated V max o p t (18) and the density of design points on the workpiece:
τ = i = 1 N d i V max o p t
where τ stands for MTI, d i is the so-called standard distance between points (standard measure), N is the number of surface points under consideration, and V max o p t is the maximum feasible linear speed in the tangent plane attached to the point on the workpiece surface.
The MTI can also be calculated for each region individually by adjusting the surface points and speeds for that region. The total workpiece MTI is then the sum of the regional MTIs, where lower values are better and correlated to shorter machining times.
Again, an optimization algorithm is used to find the optimal workpiece pose based on minimizing the total workpiece MTI (23). The objective function is as follows:
min x , y , γ F ( τ )  
which is subject to the following constraints:
  • Robot joint angles θ i are within limits:
θ i , min θ i θ i , max , i = 1 , n
  • The workpiece must be located within a working area:
x min x x max , y min y y max , γ min γ γ max .
  • All points on the workpiece must be reachable, i.e., the inverse kinematic (IK) solutions must exist for all points.
  • The robot must not be in self-collision, collision with the workpiece, or collision with the movable platform.
  • The workpiece must be on the working table with its full area.

4. Case Study

This section presents a case study to evaluate the effectiveness and applicability of our region-based surface finishing method compared to traditional single-direction finishing. Both methods use the zig-zag (bidirectional) machining strategy [45], which is a commonly used technique in machine hammer peening (MHP) surface finishing. Firstly, the initial velocity vector field (VVF) model was deployed to generate optimal machining paths with maximum feasible speeds. The comparison begins by analyzing machining times for two different workpieces in their initial positions, using both the region-based and traditional fixed-direction approaches. Additionally, we also explored workpiece optimization to highlight any further performance improvements. Lastly, a validation process compared the initial VVF model predictions against the actual machining speeds to validate the accuracy of our path planning method.

4.1. Experimental Setup

Our numerical experimental setup featured the Universal Robots UR5e collaborative robot, known for its adaptability and widespread use in industries requiring precision in low-volume/high-mix production settings. The UR5e has a reach radius of 850 mm and a payload capability of up to 5 kg. Mounted on the robot is an MHP tool with a length of 284.5 mm, used for simulating the robot hammer peening machining task. The full layout of our flexible workstation setup used in the experiments is shown in Figure 3.
The proposed method will be tested on two specific workpieces in the Autodesk Fusion 360 CAM (v.2.0.19994) and RoboDK (v5.6.8) software to compare region-based versus single-direction machining strategies’ machining times. The impact of varying stepover distances was also analyzed, offering insights that could benefit various machining operations. The main goal was to achieve complete machining of the workpiece in the shortest time possible without exceeding the robot’s maximum joint velocities.
The approach and retract speed parameters control the feed rate of the robotic tool during the initial approach to the surface before machining, and the retraction away from the surface after machining, respectively. The transition speed is the feed rate used when moving between different regions of the workpiece, typically occurring at a higher speed to reduce non-cutting time. The stepover speed refers to the rate at which the tool moves horizontally between adjacent passes (stepover), where the speed is usually lowered. For MHP, the recommended machining stepover distance typically ranges from 0.1 to 2 mm [46]. The detailed machining parameters are shown in Table 1.
Within this setup, machining paths were generated for two distinct scenarios to evaluate the effectiveness of our subdivision region-based approach on two workpieces, i.e., Workpiece No. 1 (WP1) and Workpiece No. 2 (WP2). Figure 4 shows four different machining toolpaths:
A.
Arbitrary Single-Directional Machining
Initially, machining paths were created to operate solely along the x- and y-axes, respectively, as seen in Figure 4a–d. This scenario represents a more traditional approach, where the MHP tool moves linearly across the workpiece surface without altering its machining direction based on the surface topology or the underlying robotic kinematics.
B.
Machining with Optimized Directional Methods
  • Single optimal direction machining (Figure 4e,f): The machining direction was determined based on a calculated workpiece MTI, optimizing the toolpath for the most efficient single direction across the entire workpiece.
  • Region-based optimal directional machining (Figure 4g,h): This approach involves creating distinct optimal machining toolpaths for different regions within the workpiece. Each region was machined according to a direction that maximized the region MTI of the corresponding segment of the workpiece and the overall workpiece MTI.

4.2. Region-Based Machining Validation

Maintaining a controlled experimental environment is crucial to assess the impact of machining subdivided surfaces compared to traditional single-direction machining. For this purpose, the position of the workpiece was the same across all the tests. This consistency ensures that any variations in machining time can be attributed directly to the machining method employed, rather than differences in workpiece positioning or orientation. Both workpieces were placed with their centers at [0, −570, −96] (mm) from the robot reference frame and rotated 0 degrees. The workpiece positions were found and fixed manually to provide a stable basis for comparison; here, it must be added that finding the suitable position with trial and error, where the whole workpiece is reachable and the robot is not in self-collision, is difficult and time-consuming.
Determining the optimal number of clusters for the K-means algorithm is an important step in our region-based machining strategy. After extensive testing, setting the number of clusters to 10 (K = 10) provided the best results for both workpieces based on the MTI.
Post-clustering, we identified and targeted smaller regions for potential merging to enhance the machining time index (MTI). Each small region was assessed for merging with adjacent regions, with the decision to merge based on achieving a more favorable MTI again.
After regionalization, MATLAB’s built-in global optimization function, particle swarm optimization (PSO) [33] was used to explore the potential directions comprehensively by maximizing the objective function F ( φ ) = V max o p t , defined to capture the constraints and demands of the machining process. The optimal machining directions enable the forming of a velocity vector field (VVF) used for the path planning process.
Our experimental analysis demonstrates the efficiency of machining methods, particularly highlighting the advantages of a region-based approach over single-direction machining paths. The results for WP1 are in Table 2, where we can see a decrease in machining time from approximately 20–37%, and the results for WP2 are in Table 3, where the decrease ranges from 5 to 33%. Workpieces with regions are shown in Figure 4g,h and are more detailed in Figure 5. Figure 5a represents the 3D regions of WP1 with optimal machining directions; in Figure 5b, a 2D visualization is shown, with added maximum feasible speeds for each region; similar results can be seen for WP2 in Figure 5c,d.
The comprehensive data show that region-based machining outperformed other strategies in reducing machining time, especially as the stepover values decreased. However, the reduction in machining time with smaller stepovers comes with an increase in machining distance. This increase is attributable to the higher density of toolpaths, which requires highly optimized feed rates. By subdividing the workpiece into regions, it is possible to avoid the bottleneck of machining the entire workpiece at the minimal (maximal feasible) speed dictated by the single-direction approach. Instead, each region can be machined at an optimized speed most suitable for its specific characteristics. In robot hammer peening, the oscillating speed of the metal ball on the electromagnetic hammer peening tools can be adjusted [47], allowing for synchronization with the tool’s machining speed. This synchronization ensures that each region is treated appropriately, enhancing the overall quality and efficiency of the machining process.

4.3. Workpiece Position Optimization

As discussed in earlier sections, the positioning of the workpiece can affect robotic surface machining, leading to the use of an optimization algorithm to determine the optimal workpiece position. Also, given the numerous constraints, finding a workpiece position manually that satisfies all the constraints through trial and error proved challenging. The PSO algorithm was utilized to minimize the optimization problem described in (24), enhancing the robot’s operational efficiency under the optimization constraints shown in Table 4. Additional workpiece placements were also analyzed to validate the proposed objective function’s effectiveness, confirming our optimization approach’s robustness and practical applicability.
Figure 6 shows the different placements of the two workpieces in the working area. Figure 6a represents the placements for WP1, where green is the optimal position found by the optimization algorithm and orange is the initial middle position as in Section 4.2, whereas blue and violet are randomly picked poses; the same goes for WP2 in Figure 6b. Actual positions in the form x m m ; y m m ; γ ° are presented in Table 5.
A machining time comparison was made for region-based machining paths, with a stepover of 1 mm for all positions; the results are shown in Table 5. As we can see, the best results were observed in the optimal position identified by the PSO, where the machining time improved by approximately 4% for WP1 and 16% for WP2 compared to the second-best initial positions, which correlates with the calculated workpiece MTIs. This modest improvement can be attributed to the relative proximity of all the tested positions; the random positions were near a global minimum. This suggests that the minor improvements are because no other random position, significantly further from the global minimum, could be found manually, confirming our challenges and limitations of manual positional adjustments. The final region-based subdivision resulted in the optimal positions, which are shown in Figure 7.

4.4. Path Speed Validation

4.4.1. Path Point—Wise Design Speed Validation

Our methodology for calculating the maximum feasible robot surface machining speed V max (17) in the optimal direction was developed in the surface tangent plane. Note that, in this approach, the V max was calculated for all surface points, essentially creating a velocity vector field (VVF), as seen in the left columns of Figure 8 and Figure 9. The surface machining paths seen in the right columns of Figure 8 and Figure 9 were created based on these directions. The maximum feasible speeds for those machining paths were calculated by the DTF method [19], which computes the robot’s maximum feasible linear speed between consecutive points along the machining path:
V max p a t h = 1 J ˜ T u ^ T p a t h + h 1 J ˜ R u ^ R p a t h
where u ^ T p a t h and u ^ R p a t h are linear and angular directions along the path, and h = V / Ω is a task-dependent velocity ratio factor that reflects the synchronization between the translational and rotational motion, calculated as the ratio of the linear velocity to the angular velocity.
In this validation process, we wanted to test if the actual machining paths and their maximum feasible speeds corresponded to the initial design calculations. In Figure 8, there is a comparison for WP1 in the X-direction (Figure 8a,b), Y-direction (Figure 8c,d), optimal direction (Figure 8e,f), and region-based directions (Figure 8g,h). This applies similarly to WP2, which is depicted in Figure 9, where the X-direction is shown in Figure 9a,b, the Y-direction in Figure 9c,d, the optimal direction in Figure 9e,f, and region-based directions in Figure 9g,h.
The mapping from the model-based VFF to the actual machining path can result in deviations in the maximum feasible speeds. These deviations arise due to the disparity in the density of model points and generated path points and their different positions. However, the speed deviation should converge to zero with a higher point density. In Figure 8 and Figure 9, the dark gray crosses indicate maximum feasible speeds in mm/s. At the same time, the colormap represents the full range of speeds across the surface, where red means lower speed and blue means higher speed. Despite minor deviations, the validation results generally demonstrated a good alignment, confirming the method’s ability to predict the optimal directions and speeds accurately before the path creation phase. It should be noted that the figures have been modified for enhanced visual clarity. The actual tests were conducted on model workpiece surfaces with 2500 design points, while the surface finishing paths were generated with a 2 mm stepover, resulting in approximately 22,000–24,000 points, depending on the specific case. Both workpieces were positioned optimally within their respective regions.
All the results for feasible speeds are summarized in Table 6, where it is evident that the maximum deviation was approximately 4% or less. This confirms the robustness of our method further, as these deviations remained minimal and within acceptable limits, demonstrating that the method performed well, even in scenarios involving region-specific optimization.

4.4.2. Region-Based Design Speed Validation

To validate the practicality of our region-based design path speed method combined with optimal workpiece placement, we also analyzed the infinity norm of the joint velocities representing the maximum value of the joint velocity vector at each step of all the generated trajectories. The primary objective was to confirm that the robot’s movements adhered to the calculated machining speeds and that these velocities remained within the limits of the UR5e robot, specifically not exceeding its maximum joint speed limit θ ˙ max of 3.14 rad/s across the four workpiece placements. Regions in the initial position for both workpieces can be seen in Figure 5, and regions in the optimal positions can be seen in Figure 7.
The analysis revealed that the actual joint speeds in certain regions exceeded the maximum allowable limit slightly, as seen in Figure 10, for all workpiece placements. Still, the machining time was the lowest in the optimum position, confirmed in Table 5, which aligns with our previous observation regarding maximum feasible machining speeds. This finding indicates that, while the robot operated close to its kinematic threshold to achieve the highest possible linear velocities per our optimization, it occasionally surpassed the safety margins. This is because the VVF is designed in the tangent planes attached to the surface design points, whereas the maximum speeds on the path are calculated on the path point-to-point principle. Given these discrepancies and the minor overages in joint speeds, we recommend setting the surface finishing speeds at, e.g., 10% lower than those calculated by our method for future implementations in practice. However, here, we should consider that the safety margin depends on the density of the surface points considered within the design phase and the density of the generated path points. This adjustment will ensure that machining operations remain safely within the robot’s mechanical capabilities, mitigating the risk of exceeding joint speed limits and enhancing the overall feasibility of the machining process.

5. Discussion and Conclusions

This study delves into robot kinematics’ capabilities and velocity performance in machining workpieces with semi-complex surface geometries. We initiated our analysis using an augmented robot Jacobian kinematics matrix incorporating workpiece surface constraints, facilitating a well-known manipulability analysis. Building on this fundamental analysis, a task-constrained method for calculating surface path directions represented by VVF was developed, which enables generating speed-optimal machining paths and implemented it into region-based machining, which enhanced the efficiency of the machining process.
While existing studies on robotic hammer peening have primarily focused on the mechanical and structural enhancements of workpieces’ surfaces, our research introduces a novel approach by emphasizing the optimization of machining time—a critical factor often overlooked in traditional methodologies. Our study demonstrates that region-based machining strategies enhanced efficiency over traditional single-direction machining significantly, reducing the machining time from 5% to 37%, depending on the stepover distance. Notably, the greatest improvements were observed as the stepover distance decreased, indicating that region-based strategies become increasingly effective with denser toolpaths. This suggests that the benefits of a region-based approach might not justify the implementation complexity for applications with larger stepovers. In particular, while machining times for workpiece WP2 showed only modest improvements of about 5% at the largest stepover distance, this can be attributed to the increased number of regions that required more frequent transitions between machining zones. However, as the stepover distance decreased, the machining times for WP2 tended to converge with those of WP1, highlighting the potential for significant efficiency gains in more finely detailed machining tasks.
Further enhancements were realized through optimal workpiece positioning, which improved machining times by an additional 4–16%. Although these gains may appear modest, the primary challenge with using lower-capability collaborative robots lies not just in optimizing the position for efficiency, but in finding any feasible position where successful machining can occur. In conclusion, our validation analysis discovered slight discrepancies in machining and robot joint speeds between the model-based design calculations and machining paths, which may have occurred due to low surface model point density, leading us to recommend reducing the surface finishing speeds at a certain margin to ensure safe operation within the robot’s kinematical limits.
Looking ahead, our research will focus on refining the region-based machining approach by integrating a compactness index into the clustering algorithm. This enhancement aims to create more compact machining regions, minimizing transitions between them, to reduce machining times further and improve operational efficiency. Optimizing the order in which these regions are machined could also streamline the process by reducing non-productive tool movements between regions. Beyond these improvements, the next step also involves applying these optimized strategies to robots in real-world manufacturing settings, allowing for a practical validation and further refinement of the proposed method.

Author Contributions

The presented work was carried out with significant contributions of both authors. T.P.: conceptualization, methodology, software, validation, and writing—original draft preparation; A.H.: methodology, software, writing—review and editing, and supervision. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the Slovenian Research Agency (ARRS) under a Grant for the Research Program P2–0028.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Data are contained within the article.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Gan, Z.L.; Musa, S.N.; Yap, H.J. A Review of the High-Mix, Low-Volume Manufacturing Industry. Appl. Sci. 2023, 13, 1687. [Google Scholar] [CrossRef]
  2. Magrini, E.; Ferraguti, F.; Ronga, A.J.; Pini, F.; De Luca, A.; Leali, F. Human-robot coexistence and interaction in open industrial cells. Robot. Comput. Integr. Manuf. 2020, 61, 101846. [Google Scholar] [CrossRef]
  3. Makulavičius, M.; Petkevičius, S.; Rožėnė, J.; Dzedzickis, A.; Bučinskas, V. Industrial Robots in Mechanical Machining: Perspectives and Limitations. Robotics 2023, 12, 160. [Google Scholar] [CrossRef]
  4. Verl, A.; Valente, A.; Melkote, S.; Brecher, C.; Ozturk, E.; Tunc, L.T. Robots in machining. CIRP Ann. 2019, 68, 799–822. [Google Scholar] [CrossRef]
  5. Bleicher, F.; Lechner, C.; Habersohn, C.; Kozeschnik, E.; Adjassoho, B.; Kaminski, H. Mechanism of surface modification using machine hammer peening technology. CIRP Ann. 2012, 61, 375–378. [Google Scholar] [CrossRef]
  6. Schulze, V.; Bleicher, F.; Groche, P.; Guo, Y.B.; Pyun, Y.S. Surface modification by machine hammer peening and burnishing. CIRP Ann. 2016, 65, 809–832. [Google Scholar] [CrossRef]
  7. Hagen, L.; Baumann, J.; Heidelmann, M.; Biermann, D.; Tillmann, W. Machine Hammer Peening and Its Effect on the Surface Integrity of Arc-Sprayed WC-W2C-FeCMnSi Coatings. Coatings 2023, 13, 1563. [Google Scholar] [CrossRef]
  8. Chan, W.L.; Cheng, H.K.F. Hammer peening technology—The past, present, and future. Int. J. Adv. Manuf. Technol. 2022, 118, 683–701. [Google Scholar] [CrossRef]
  9. Liu, H.; Tan, C.K.I.; Cheng, W.S.; Lim, G.W.; Tan, D.C.; Lee, C.J.; Cheng, J.J.; Cheng, H.K.F.; Lee, L.C. Effects of Robotic Hammer Peening on Structural Properties of Ni-Based Single-Crystal Superalloy: Dislocation Slip Traces and Crystallographic Reorientations. Metall. Mater. Trans. A 2020, 51, 3180–3193. [Google Scholar] [CrossRef]
  10. Mannens, R.; Uhlmann, L.; Lambers, F.; Feuerhack, A.; Bergs, T. Surface Integrity of AISI 52100 Bearing Steel after Robot-Based Machine Hammer Peening. J. Manuf. Mater. Process. 2020, 4, 61. [Google Scholar] [CrossRef]
  11. Liu, H.; Tan, C.K.I.; Dong, X.; Meng, T.L.; Cao, J.; Wei, Y. Laser-cladding and robotic hammer peening of stainless steel 431 on low alloy steel 4140 for surface enhancement and corrosion protections. J. Adhes. Sci. Technol. 2022, 36, 2313–2327. [Google Scholar] [CrossRef]
  12. Meng, T.L.; Wang, T.F.; Lin, M.; Ng, Y.; Tan, X.Y.; Teo, S.L.; Tan, C.K.I.; Lim, R.; Liu, H. Grinding- and robotic hammer peening-induced modifications in the near-surface regions of laser-cladded Inconel 718 coatings. Surf. Coat. Technol. 2024, 489, 131130. [Google Scholar] [CrossRef]
  13. KUKA. Surface Processing with a KR QUANTEC and KUKA.CNC. Available online: https://www.kuka.com/en-de/industries/solutions-database/2016/07/solution-robotics-sematek (accessed on 14 May 2024).
  14. Zhang, M.; Yan, J. A data-driven method for optimizing the energy consumption of industrial robots. J. Clean. Prod. 2021, 285, 124862. [Google Scholar] [CrossRef]
  15. Kot, T.; Bobovský, Z.; Vysocký, A.; Krys, V.; Šafařík, J.; Ružarovský, R. Method for Robot Manipulator Joint Wear Reduction by Finding the Optimal Robot Placement in a Robotic Cell. Appl. Sci. 2021, 11, 5398. [Google Scholar] [CrossRef]
  16. Baizid, K.; Chellali, R.; Yousnadj, A.; Meddahi, A.; Bentaleb, T. Genetic Algorithms based method for time optimization in robotized site. In Proceedings of the 2010 IEEE/RSJ International Conference on Intelligent Robots and Systems, Taipei, Taiwan, 18–22 October 2010. [Google Scholar]
  17. Ye, C.; Yang, J.; Zhao, H.; Ding, H. Task-dependent workpiece placement optimization for minimizing contour errors induced by the low posture-dependent stiffness of robotic milling. Int. J. Mech. Sci. 2021, 205, 106601. [Google Scholar] [CrossRef]
  18. Stradovnik, S.; Hace, A. Workpiece Placement Optimization for Robot Machining Based on the Evaluation of Feasible Kinematic Directional Capabilities. Appl. Sci. 2024, 14, 1531. [Google Scholar] [CrossRef]
  19. Stradovnik, S.; Hace, A. Task-Oriented Evaluation of the Feasible Kinematic Directional Capabilities for Robot Machining. Sensors 2022, 22, 4267. [Google Scholar] [CrossRef]
  20. Doan, N.C.N.; Lin, W. Optimal robot placement with consideration of redundancy problem for wrist-partitioned 6R articulated robots. Robot. Comput. Integr. Manuf. 2017, 48, 233–242. [Google Scholar] [CrossRef]
  21. Vosniakos, G.-C.; Matsas, E. Improving feasibility of robotic milling through robot placement optimisation. Robot. Comput. Integr. Manuf. 2010, 26, 517–525. [Google Scholar] [CrossRef]
  22. Malhan, R.K.; Kabir, A.M.; Shah, B.; Gupta, S.K. Identifying Feasible Workpiece Placement with Respect to Redundant Manipulator for Complex Manufacturing Tasks. In Proceedings of the 2019 International Conference on Robotics and Automation (ICRA), Montreal, QC, Canada, 20–24 May 2019. [Google Scholar]
  23. Dumas, C.; Caro, S.; Garnier, S.; Furet, B. Workpiece Placement Optimization of Six-Revolute Industrial Serial Robots for Machining Operations. In Proceedings of the ASME 2012 11th Biennial Conference on Engineering Systems Design and Analysis, Nantes, France, 2–4 July 2012. [Google Scholar]
  24. Gotlih, J.; Brezocnik, M.; Karner, T. Stiffness-Based Cell Setup Optimization for Robotic Deburring with a Rotary Table. Appl. Sci. 2021, 11, 8213. [Google Scholar] [CrossRef]
  25. Liu, X.; Li, Y.; Li, Q. A region-based 3 + 2-axis machining toolpath generation method for freeform surface. Int. J. Adv. Manuf. Technol. 2018, 97, 1149–1163. [Google Scholar] [CrossRef]
  26. Liu, H.; Zhang, E.; Sun, R.; Gao, W.; Fu, Z. Free-Form Surface Partitioning and Simulation Verification Based on Surface Curvature. Micromachines 2022, 13, 2163. [Google Scholar] [CrossRef]
  27. Liao, Z.; Wang, Q.-H.; Xie, H.; Li, J.-R.; Zhou, X.; Hua, P. Optimization of Robot Posture and Workpiece Setup in Robotic Milling With Stiffness Threshold. IEEE/ASME Trans. Mechatron. 2022, 27, 582–593. [Google Scholar] [CrossRef]
  28. Liao, Z.-Y.; Li, J.-R.; Xie, H.-L.; Wang, Q.-H.; Zhou, X.-F. Region-based toolpath generation for robotic milling of freeform surfaces with stiffness optimization. Robot. Comput. Integr. Manuf. 2020, 64, 101953. [Google Scholar] [CrossRef]
  29. Xie, H.-L.; Li, J.-R.; Liao, Z.-Y.; Wang, Q.-H.; Zhou, X.-F. A robotic belt grinding approach based on easy-to-grind region partitioning. J. Manuf. Process. 2020, 56, 830–844. [Google Scholar] [CrossRef]
  30. Hu, Z.; Hua, L.; Qin, X.; Ni, M.; Liu, Z.; Liang, C. Region-based path planning method with all horizontal welding position for robotic curved layer wire and arc additive manufacturing. Robot. Comput. Integr. Manuf. 2022, 74, 102286. [Google Scholar] [CrossRef]
  31. Yin, F.-C. A Partitioning Grinding Method for Complex-Shaped Stone Based on Surface Machining Complexity. Arab. J. Sci. Eng. 2022, 47, 8297–8314. [Google Scholar] [CrossRef]
  32. Hace, A. Toward Optimal Robot Machining Considering the Workpiece Surface Geometry in a Task-Oriented Approach. Mathematics 2024, 12, 257. [Google Scholar] [CrossRef]
  33. Yoshikawa, T. Dynamic manipulability of robot manipulators. In Proceedings of the 1985 IEEE International Conference on Robotics and Automation, St. Louis, MO, USA, 25–28 March 1985. [Google Scholar]
  34. Siciliano, B.; Sciavicco, L.; Villani, L.; Oriolo, G. Robotics; Advanced Textbooks in Control and Signal Processing; Springer: Berlin/Heidelberg, Germany, 2009. [Google Scholar] [CrossRef]
  35. Cardou, P.; Bouchard, S.; Gosselin, C. Kinematic-Sensitivity Indices for Dimensionally Nonhomogeneous Jacobian Matrices. IEEE Trans. Robot. 2010, 26, 166–173. [Google Scholar] [CrossRef]
  36. Lloyd, S. Least squares quantization in PCM. IEEE Trans. Inf. Theory 1982, 28, 129–137. [Google Scholar] [CrossRef]
  37. Kobayashi, S. Differential Geometry of Curves and Surfaces; Springer: Singapore, 2019. [Google Scholar] [CrossRef]
  38. Lynch, K.M.; Park, F.C. Modern Robotics: Mechanics, Planning, and Control; Cambridge University Press: Cambridge, MA, USA, 2017. [Google Scholar]
  39. Yoshikawa, T. Translational and rotational manipulability of robotic manipulators. In Proceedings of the IECON ‘91: 1991 International Conference on Industrial Electronics, Control and Instrumentation, Kobe, Japan, 28 October–1 November 1991. [Google Scholar]
  40. MacQueen, J. Some methods for classification and analysis of multivariate observations. In Proceedings of the Fifth Berkeley Symposium on Mathematical Statistics and Probability; University of California Press: Berkeley, CA, USA, 1967. [Google Scholar]
  41. Arthur, D.; Vassilvitskii, S. k-means++: The advantages of careful seeding. In Proceedings of the Eighteenth Annual ACM-SIAM Symposium on Discrete Algorithms, New Orleans, LA, USA, 7–9 January 2007; pp. 1027–1035. [Google Scholar]
  42. Han, J.; Kamber, M.; Pei, J. Data Mining: Concepts and Techniques; Morgan Kaufmann Publishers Inc.: Berlington, MA, USA, 2011. [Google Scholar]
  43. Edelsbrunner, H.; Kirkpatrick, D.; Seidel, R. On the shape of a set of points in the plane. IEEE Trans. Inf. Theory 1983, 29, 551–559. [Google Scholar] [CrossRef]
  44. Schafer, R. What Is a Savitzky-Golay Filter? [Lecture Notes]. IEEE Signal Process. Mag. 2011, 28, 111–117. [Google Scholar] [CrossRef]
  45. K, B.S.; Patel, D.; Dodiya, H. A brief review on feed rate optimization and different type of toolpath use in pocket machining. Int. J. Tech. Innov. Mod. Eng. Sci. (IJTIMES) 2019, 5, 1103–1110. [Google Scholar]
  46. Liu, H.; Ivan Tan, C.K.; Wei, Y.; Lim, G.W.; Cheng, W.S.; Maharjan, N. Robotic hammer peening-induced martensite in austenitic steels: Spatial distributions of plastic deformation and phase transformation. Procedia CIRP 2020, 87, 297–301. [Google Scholar] [CrossRef]
  47. Krall, S.; Christoph, L.; Michael, N.; Bleicher, F. Robot based machine hammer peening using an electromagnetic driven hammering device. In Proceedings of the 26th DAAAM International Symposium, Zadar, Croatia, 18–25 October 2015. [Google Scholar] [CrossRef]
Figure 1. The velocity manipulability ellipses on the workpiece surface with maximum speed colormap and major axis directions. The blue color means low achievable speed, and the red color means high achievable speed, whereas the black arrows depict the axis directions: (a) perspective view, (b) top view.
Figure 1. The velocity manipulability ellipses on the workpiece surface with maximum speed colormap and major axis directions. The blue color means low achievable speed, and the red color means high achievable speed, whereas the black arrows depict the axis directions: (a) perspective view, (b) top view.
Applsci 14 09808 g001
Figure 2. Regionalization process: (a) initial K-means clustering, (b) regions with created boundaries, (c) merged regions, and (d) final surface finishing regions with smoothed single boundaries. The arrows represent the optimal machining directions or VVF directions.
Figure 2. Regionalization process: (a) initial K-means clustering, (b) regions with created boundaries, (c) merged regions, and (d) final surface finishing regions with smoothed single boundaries. The arrows represent the optimal machining directions or VVF directions.
Applsci 14 09808 g002
Figure 3. Flexible workstation with a collaborative robot UR5e, workpiece, and MHP tool.
Figure 3. Flexible workstation with a collaborative robot UR5e, workpiece, and MHP tool.
Applsci 14 09808 g003
Figure 4. Comparison of different machining toolpaths for two different workpieces, WP1 (left column) and WP2 (right column), in their initial positions: (a,b) X-direction, (c,d) Y-direction, (e,f) single optimal direction, (g,h) region-based optimal directions.
Figure 4. Comparison of different machining toolpaths for two different workpieces, WP1 (left column) and WP2 (right column), in their initial positions: (a,b) X-direction, (c,d) Y-direction, (e,f) single optimal direction, (g,h) region-based optimal directions.
Applsci 14 09808 g004
Figure 5. Region-based workpiece subdivision results with optimal machining directions for the initial workpiece position: perspective view for WP1 (a) and WP2 (c), top view for WP1 (b) and WP2 (d) with the maximum feasible speeds and VVF for each region.
Figure 5. Region-based workpiece subdivision results with optimal machining directions for the initial workpiece position: perspective view for WP1 (a) and WP2 (c), top view for WP1 (b) and WP2 (d) with the maximum feasible speeds and VVF for each region.
Applsci 14 09808 g005
Figure 6. Different workpiece positions for WP1 (a) and WP2 (b).
Figure 6. Different workpiece positions for WP1 (a) and WP2 (b).
Applsci 14 09808 g006
Figure 7. Final region-based machining directions in the optimal workpiece position: a perspective view for WP1 (a) and WP2 (c), and top view with maximum region-wise feasible speeds in mm/s for WP1 (b) and WP2 (d).
Figure 7. Final region-based machining directions in the optimal workpiece position: a perspective view for WP1 (a) and WP2 (c), and top view with maximum region-wise feasible speeds in mm/s for WP1 (b) and WP2 (d).
Applsci 14 09808 g007
Figure 8. Speed colormap comparison between the initial VVF model and the actual generated toolpath with marked critical points for multiple WP1 scenarios: (a) VVF model in X-direction, (b) toolpath in X-direction, (c) VVF model in Y-direction, (d) toolpath in Y-direction, (e) VVF model in the optimal direction, (f) toolpath in the optimal direction, (g) VVF model in the region-based optimal directions, (h) the region-based optimal toolpath.
Figure 8. Speed colormap comparison between the initial VVF model and the actual generated toolpath with marked critical points for multiple WP1 scenarios: (a) VVF model in X-direction, (b) toolpath in X-direction, (c) VVF model in Y-direction, (d) toolpath in Y-direction, (e) VVF model in the optimal direction, (f) toolpath in the optimal direction, (g) VVF model in the region-based optimal directions, (h) the region-based optimal toolpath.
Applsci 14 09808 g008aApplsci 14 09808 g008b
Figure 9. Colormap comparison between the initial VFF model and the actual generated path with marked critical points for multiple WP2 scenarios: (a) VVF model in X-direction, (b) toolpath in X-direction, (c) VVF model in Y-direction, (d) toolpath in Y-direction, (e) VVF model in the optimal direction, (f) toolpath in the optimal direction, (g) VVF model in the region-based optimal directions, (h) the region-based optimal toolpath.
Figure 9. Colormap comparison between the initial VFF model and the actual generated path with marked critical points for multiple WP2 scenarios: (a) VVF model in X-direction, (b) toolpath in X-direction, (c) VVF model in Y-direction, (d) toolpath in Y-direction, (e) VVF model in the optimal direction, (f) toolpath in the optimal direction, (g) VVF model in the region-based optimal directions, (h) the region-based optimal toolpath.
Applsci 14 09808 g009aApplsci 14 09808 g009b
Figure 10. Joint velocity infinity norm representation for four different placements and two different workpieces: (a) WP1, (b) WP2.
Figure 10. Joint velocity infinity norm representation for four different placements and two different workpieces: (a) WP1, (b) WP2.
Applsci 14 09808 g010
Table 1. Machining parameters.
Table 1. Machining parameters.
Approach speed [mm/s]500
Retract speed [mm/s]500
Transition speed [mm/s]500
Stepover speed [mm/s]20
Stepover [mm]0.1–2
Table 2. Machining results for WP1 in the initial position with different machining strategies. The improvement (%) is between regions and a single optimal machining path.
Table 2. Machining results for WP1 in the initial position with different machining strategies. The improvement (%) is between regions and a single optimal machining path.
X-DirectionY-DirectionSingle OptimalRegionsImpr. %
MTI [s]114.46151.89113.5966.82
Max. feasible speed [mm/s]87.3665.8388.03R3: 340.3
Stepover 2 mm
Machining time [min:s]4:325:534:303:3520.4
Stepover 1 mm
Machining time [min:s]8:3911:208:256:0627.5
Stepover 0.5 mm
Machining time [min:s]16:5222:1516:1610:5832.6
Stepover 0.1 mm
Machining time [h:min:s]1:22:381:49:311:18:5949:1837.6
Table 3. Machining results for WP2 in the initial position with different machining strategies. The improvement (%) is between regions and a single optimal machining path.
Table 3. Machining results for WP2 in the initial position with different machining strategies. The improvement (%) is between regions and a single optimal machining path.
X-DirectionY-DirectionSingle OptimalRegionsImpr. %
MTI [s]68.31106.8965.0242
Max. feasible speed [mm/s]146.3793.55153.8R11: 568.8
Stepover 2 mm
Machining time [min:s]3:114:093:072:575.3
Stepover 1 mm
Machining time [min:s]5:127:514:594:329
Stepover 0.5 mm
Machining time [min:s]9:5315:159:287:2821.1
Stepover 0.1 mm
Machining time [h:min:s]47:401:14:2445:3130:1233.7
Table 4. Optimization constraints.
Table 4. Optimization constraints.
Optimization ConstraintValue
UR5e robot joint limits 360 ° θ i 360 ° ,   i = 1 , , 6
Working area 350   mm x 350   mm 300   mm y 700   mm
Workpiece rotation 180 ° γ 180 °
Table 5. Comparison of minimal (maximum feasible speeds) and machining times for different region-based workpiece positions x m m ; y m m ; γ ° .
Table 5. Comparison of minimal (maximum feasible speeds) and machining times for different region-based workpiece positions x m m ; y m m ; γ ° .
Ran. Pos. 1Ran. Pos. 2Initial Pos.Optimal Pos.Impr. %
Workpiece 1
Position [mm; mm; °]−200; −525.2; 30125.1; −540.5; 147.50; −570; 0−17.4; −564.6; 223.1
MTI [s]69.0471.2466.8260.98
Machining time [min:s]6:196:286:065:514.1
Workpiece 2
Position [mm; mm; °]55.4; −566.3; 153.5−165.6; −566.3; 153.50; −570; 0−104.9; −407.9, 301.8
MTI [s]48.1843.4542.0634.81
Machining time [min:s]4:414:354:323:4716.5
Table 6. Validation results for maximum feasible speeds in mm/s between the initial design VVF model and machining toolpath for multiple machining cases.
Table 6. Validation results for maximum feasible speeds in mm/s between the initial design VVF model and machining toolpath for multiple machining cases.
Path DirectionsVVF ModelMachining ToolpathDifference (%)
Workpiece 1
X-direction82.381.90.5
Y-direction72.271.21.3
Optimal direction93.390.23.4
Region-based directionsR1: 179.1, R2:213.4, R3: 120, R4: 292.2, R5: 203.6, R6: 91.6, R7: 104.5, R8: 228.4, R9: 155.7R1: 172.5, R2: 211.1, R3: 117.1, R4: 281, R5: 202.4, R6: 89.6, R7: 101.9, R8: 224, R9: 150R1: 3.8, R2: 1.1, R3: 2.4, R4: 3.9, R5: 0.6, R6: 2.2, R7: 2.5, R8: 1.9, R9: 3.7
Workpiece 2
X-direction124.61231.3
Y-direction115.3113.11.9
Optimal direction155.1151.42.4
Region-based directionsR1: 233.1, R2: 271.2, R3: 276.1, R4: 262.6, R5: 327.4, R6: 240.4, R7: 454, R8: 415.3 R9: 345, R10: 591.6, R11: 216R1: 227.4, R2: 264.5, R3: 264.9, R4: 261.2, R5: 319.4, R6: 234.8, R7: 443.8, R8: 404.1, R9: 339.3, R10: 583.4, R11: 209.1R1: 2.5, R2: 2.5, R3: 4.1, R4: 0.5, R5: 2.5, R6: 2.4, R7: 2.3, R8: 2.7, R9: 1.7, R10: 1.4, R11: 3.2
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

Pušnik, T.; Hace, A. Region-Based Approach for Machining Time Improvement in Robot Surface Finishing. Appl. Sci. 2024, 14, 9808. https://doi.org/10.3390/app14219808

AMA Style

Pušnik T, Hace A. Region-Based Approach for Machining Time Improvement in Robot Surface Finishing. Applied Sciences. 2024; 14(21):9808. https://doi.org/10.3390/app14219808

Chicago/Turabian Style

Pušnik, Tomaž, and Aleš Hace. 2024. "Region-Based Approach for Machining Time Improvement in Robot Surface Finishing" Applied Sciences 14, no. 21: 9808. https://doi.org/10.3390/app14219808

APA Style

Pušnik, T., & Hace, A. (2024). Region-Based Approach for Machining Time Improvement in Robot Surface Finishing. Applied Sciences, 14(21), 9808. https://doi.org/10.3390/app14219808

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop