1. Introduction
In general, traditional computer numerical control (CNC) machine tools in the field of mechanical manufacturing are dedicated to high-accuracy tasks, such as milling, grinding, and drilling, while industrial robots are usually adopted for dull and dirty work scenes to replace human workers. The robots are mainly designed to perform repetitive work with relatively low accuracy, such as transferring, palletizing, and painting [
1,
2,
3]. However, owing to their considerable advantages such as high flexibility, large workspace, and cost-efficiency, industrial robots have attracted increasing attention in the manufacturing industry. With tremendous support from the academic and industrial communities, robots have become viable and competitive candidates in machining applications, especially for large-scale components [
4,
5] which usually exceeds 10 m in size, far beyond the processing range of conventional CNC technology. Moreover, large-scale components are usually produced in a single part or small batch. Hence, the flexible machining system based on industrial robot has also been proposed [
6,
7,
8,
9].
Unfortunately, low stiffness is the main obstacle for industrial machining robots. The stiffness of robots is generally less than 1
, which is only one-fiftieth of CNC machine tools [
10,
11]. Due to low stiffness, the end-effector of the machining robot suffers from static deformation and dynamic vibration in machining applications, and large deformation can seriously deteriorate manufacturing accuracy, which results in poor processing quality. Although the active control method can be used to improve machining accuracy [
12,
13,
14], it undoubtedly increases the complexity of the robotic system in the machining field. Hence, exhausting the robot’s potential to achieve the optimal stiffness design has become a hot issue in recent robotics research. Simultaneously, the initial placement of the workpiece with respect to the machining robot directly affects the robot configuration and stiffness along the processing path [
15,
16]. Therefore, it is of great significance to consider the stiffness of the robot in order to achieve the optimal placement of the machining robot.
The industrial robot’s stiffness is an important index to measure machining performance, and stiffness is directly related to robot posture. In recent decades, many researchers have discussed robot stiffness design and optimization in machining scenes [
17,
18,
19]. Salisbury [
20] proposed a general stiffness model of the mobile robot. On this basis, many researchers have proposed methods of stiffness design and stiffness identification in order to further investigate the stiffness properties of machining robots. Combined with the real industrial environment, Klimchik et al. [
21] established the stiffness identification model of the mobile manipulator, and the result better simulated real working conditions owing to a consideration of the effect of elastic force. Bu et al. [
22] adopted the Cartesian compliance model to depict drilling robot stiffness, and established the relationship between the robot stiffness characteristic and machining quality. In order to predict the deformation of the end-effector under the machining force, similarly, Celikag et al. [
23] presented the Cartesian stiffness optimization method for serial robots, and the result effectively improved the stiffness and avoided chatter for the milling tasks. Considering the deformation for robotic machining tasks, Lin et al. [
24] focused on the spindle configuration strategy affecting the accuracy of the end-effector, and the experimental results validated the effectiveness of the proposed optimized spindle configuration model. Based on mapping between the milling force and deformation, Chen et al. [
25] optimized robot posture and feed orientation of the end-effector to obtain higher contour machining accuracy.
For robotic machining applications, the relative position of robot and workpiece is crucial for accuracy and efficiency, and the issue of how to optimize the base position is still under heated discussion. Based on the established approximate decoupled model, Yu et al. [
26] presented an efficient base position optimization approach for mobile painting manipulators subjected to multiple kinematic constraints, such as singularity avoidance, motion limitation constraints, and posture. Based on the kinematic singularities and physical limits, Ren et al. [
27] proposed an optimization algorithm of the base position of mobile robots, and this method was demonstrated in painting operations to meet work requirements. To obtain the larger effective workspace, Forstenhäusler et al. [
28] developed a novel torus-based approach to determine the optimal robot base location.
In addition to the pure kinematic, extensive investigations of machining mechanical characteristics have been undertaken in robotics. Considering the reduction of joint range, Vosniakos et al. [
29] adopted genetic algorithms to select the optimal initial pose of the mobile robot with respect to the workpiece, and the numerical simulations showed that this method could significantly decrease the joint torques. For the robotic machining tasks, Guo et al. [
30] introduced a performance index to measure robot stiffness for a given posture, and then obtained the most suitable posture and sufficient stiffness by solving the optimization model. According to the robot stiffness model and contour error model, Lin et al. [
31] and Ye et al. [
32] presented a task-dependent workpiece placement optimization approach to acquire higher stiffness and accuracy, and milling experiments showed that this method could reduce machining error by 38.74%. Liao et al. [
10] proposed an optimization algorithm for workpiece setup and robot posture to increase overall milling stiffness, and for the given maximum stiffness value, in the method, the axis cutting deviation was reduced by 25%, showing its great potential in machining applications.
However, most existing studies focus on the robotic machining of small-scale components, while research on large-scale parts with large processed features is comparatively limited. Some research on placement planning for large components focuses mainly on kinematics optimization without the requirement of high accuracy. For the milling of large-scale parts, a large workspace can avoid moving robots frequently and improve production efficiency significantly. Additionally, stiffness, as one of the important causes of mechanical phenomena such as chatter, greatly affects processing accuracy. Namely, a large workspace and sufficient stiffness are both indispensable elements.
In order to address the problems above, in this paper, an efficient placement optimization approach for machining robots was developed. The end-effector was fixed on the workpiece, and the placement space was developed by the forward kinematics of the robot. Then, among the feasible placements, the stiffness of the machining robot was taken as the optimization objective to search for the optimal placement. The proposed planning method can meet the machining requirements of large-scale contour. The main contribution of this study is that feasible workspace and maximum global stiffness can be reached simultaneously in large component flexible manufacturing systems.
The rest of this paper is organized as follows.
Section 2 gives a description of the whole flexible machining system. Based on the DH method, the kinematic model of the machining robot is established in
Section 3. According to the motion constraint,
Section 4 studies the placement space for the robot reaching the center of the processed feature. In order to process all boundaries of the processed part, the boundary-reachable placement is further obtained in
Section 5. Based on the established joint force model, the stiffness-oriented placement point is optimized in
Section 6. Subsequently,
Section 7 presents a calculation case to verify the correctness of the proposed placement planning method by numerical simulation and finite element simulation. Finally, conclusions are given in
Section 8.
2. Stiffness-Oriented Placement Planning Model of Flexible Machining System
The flexible machining system, as shown in
Figure 1, consists of the workpiece, the spindle, and the machining robot. The global coordinate system {G} in the machining system is established, and its origin is fixed at the geometric center of the processed part or the track center of a movement component. The workpiece coordinate system {W} is attached to the processed area. The coordinate origin of {W} is usually the geometric center of the processed feature (such as a hole or plane), and
-axis is perpendicular to the feature plane. The spindle coordinate system {S} coincides with {W}, and the spindle is fixed on the end-effector of the robot. By establishing
, the homogeneous transformation matrix, between {S} and the robot base coordinate system, {R}, the robot base coordinate system {R} can be obtained.
The homogeneous transformation matrix
is derived from the relative position and posture of the processed feature on the component. Additionally, the homogeneous transformation matrix
is established according to the DH parameters of the robot. Then, by using the relationship
, as Equation (1), the position and posture of {R} in {G} is calculated, which is the target of placement planning.
Assuming that the stiffness of the tool handle and the robot foundation remain constant, and ignoring the stiffness of each arm of the robot, the stiffness of the end-effector of the robot only depends on the stiffness of each joint. The end-effector loaded with a static force easily results in the angular displacement of the joint, causing the displacement of the spindle and reducing the machining accuracy. Based on the assumption of small deformation, the displacement of the force acting point can be ignored, namely, the joint angle is constant. Furthermore, taking the rotation joint angles and the stiffness of the end-effector as the design variable and the objective function, respectively, their mapping relationship can be established. By finding the optimal solution of joint rotation angles, we can finally calculate the optimal solution of placement for the machining robot.
4. Center-Reachable Placement Space Meeting Motion Constraints
In this section, the center point of the processed feature is selected to evaluate the reachability performance of the machining robot. The horizontal constraint of the robot base is proposed as firstly based on the rotation angles. Subsequently, to avoid the physical interference between the robot and workpiece, collision-free constraints are derived. Finally, by combining the kinematic model, the robot placement space for the center of the processed feature is obtained.
4.1. The Constraint of the Robot Base Remaining Horizontal
To ensure machining accuracy, the gravity compensation algorithm is introduced into the machining program of the system, and its calculation premise is that the robot base remains horizontal.
The robot placement relies on the 6 rotational DOFs, which correspond with . The robot base remaining horizontal means that 2 DOFs (rotating -axis and rotating -axis) are constrained. Namely, two joint angles of non-parallel axes are calculated with the geometric relationship determined by other joint angles. In this paper, and are the object to calculate, while , and , being the basis of calculation, are arbitrary within their respective ranges.
Based on the given values of and , the position and posture of coordinate system {1} can be obtained according to Equation (8).
As shown in
Figure 2, the necessary condition for the robot base remaining horizontal (i.e.,
-axis and
-axis remaining vertical) is that the coordinate axis
-axis remains horizontal, namely,
-axis and
-axis are horizontal. Thus,
is calculated with the postures of the target coordinate system {2} and coordinate system {1} as shown in
Figure 3.
Since
is a vertical plane, its corresponding normal can be obtained as:
Then
is the dihedral angle between
and
, i.e.,
Furthermore, combined with the value of , the position and posture of coordinate system {3} are calculated.
As shown in
Figure 4, on the premise of
-axis remaining horizontal, the sufficient and necessary condition for the robot base horizontal is that
-axis remains horizontal. Thus, the joint angle
can be calculated.
is the dihedral angle between
and
.
is horizontal, hence
meets:
Based on and obtained from the above analysis, -axis and -axis are horizontal vectors, thereby -axis is perpendicular to the horizontal. -axis and -axis are parallel to -axis, namely, the robot base plane remains horizontal.
4.2. The Constraint of Physical Collision-Free
According to the definition of the parameters,
can reflect the position and posture of each robot arm. For the processed component of the spherical shell, theoretically, the distance from
to
only needs to be longer than the outer diameter of the processed spherical shell. Considering the structural size of robot arms, the safety distance
is introduced. For each arm of the robot,
is the minimum distance from the coordinate origin to the arm surface. Then, for
, the following condition must be satisfied:
For the machining project involved in this paper, the excessive value of
(rotation angle in the negative direction of the robot A1-axis) will lead to a collision between the robot body and the positioning platform, as illustrated in
Figure 5.
Considering the positioning platform,
-axis is in the same direction as
-axis, thus the angle of A1-axis is:
Therefore, by combining the two conditions as Equations (12) and (13), the constraint of physical collision-free can be derived.
4.3. Placement Space of Robot
The set of the vector assembled by robot joint angles meeting the above constraints is named as Center-Reachable Joint Space (CRJS), which is joint space according to the constraints of position and posture. Through the joint coordinates in CRJS, each , coordinate of the robot position in the global coordinate system, is calculated (in Equation (8)) and marked as . Correspondingly, the solution set of is named as Center-Reachable Placement Space (CRPS), which is placement space according to the constraints of position and posture.
5. Boundary-Reachable Placement Space Meeting Reachability Constraints
The above constraints can only meet the reachability of the robot to the feature center. On this basis, the placements also need to meet the reachability of any point on the feature. The intersection line of the envelope surface of CRPS and the parallel plane of the feature is a convex envelope line, so reachability to any point of the feature is equivalent to reachability to the boundary point of the feature.
Considering the feature shown in
Figure 6, any point in CRPS can satisfy the reachability of point
, the geometric center of the processed feature
. Take any point
in CRPS and determine the points
,
,
, and
around
. The following constraint for point
should hold:
According to the geometric relationship of parallelogram
PD1OCD, point
also should match the following condition:
Similarly, points , , and are the same as point .
As point is within CRPS, the robot can meet the reachability from point to point , and the robot can reach point from point in the same posture. Point is the same as point . However, and are opposite to . Therefore, the robot cannot reach points or from point . Namely, position cannot satisfy reachability constraints.
However, points , , , and are all within CRPS. Therefore, the robot can meet the reachability from point to points , , , and , namely, position is an available base placement.
The placement space fulfilling the reachability condition is named as Boundary-Reachable Placement Space (BRPS), which is filtered from CRPS through the above methods. Therefore, the joint space corresponding to BRPS is Boundary-Reachable Joint Space (BRJS). Since CRPS is the result calculated based on some arbitrary values (, , and ), it is surely a non-empty set. For this reason, if BRPS is an empty set, it is attributed to reachability constraints, then recalculation is required after dividing the feature.
7. Calculation Case
In the project involved in this paper, the placement optimization method is used to determine the positions of the robot relative to the processed component, and the KUKA KR500 robot is adopted for the milling process. The diagram of the flexible machining system with the robot processing in different placements is shown in
Figure 7.
By assembling the transport platform at the determined position between the two arch beams of the positioning platform, the robot is fixed at a determined placement. By changing the assembling position of the transport platform, the robot can shift between different latitudes. By rotating the positioning platform on the foundation, the robot can move at a constant latitude and continuously change longitude.
Comprehensive analysis of the above robot placement planning mainly includes the following steps: Firstly, the kinematic model of the machining robot is developed with the parameters of the robot and processed features. In consideration of reachability constraints, the parameters of features may need to be re-imported after dividing the features. Next, the placement spaces (CRPS and BRPS) are determined. Lastly, optimization placement is solved. The robot placement planning flow chart is illustrated in
Figure 8.
7.1. Kinematics Model Parameter Inputting
For the processed large spherical shell component, the processed holes on it have different outer surface radii, shapes, positions, and sizes. The parameters of the selected KUKA robot and a specific rectangle processed hole are given in
Table 1 and
Table 2, respectively.
After the trial calculation, for the feature shown in
Table 2, in the situations of no division and dividing into two parts, BRPSs are both empty sets, while it is a non-empty set in the situation of dividing into three parts in the height direction. The following calculation is based on this condition. These parts are processed separately. The positions and sizes of the parts are given in
Table 3.
7.2. Solution of Placement Space (CRPS and BRPS)
,
and
traverse the value range shown in
Table 2, respectively, according to the given step size.
is a redundant range, thus
only needs to traverse
.
,
and
are calculated through the geometric relationship shown in
Section 4. So far, CRJS is established, and the corresponding CRPS can be solved.
For the three parts of the processed feature in
Table 3, the projection of the envelope of CRPS on
plane and the postures of the robot under certain placements are shown in
Figure 9.
The posture diagram of the robot in
Figure 9 is simulated by the 3-D modeling software Creo according to the corresponding joint angles in CRJS, as below. As shown, the robot postures calculated by the model are the same as the postures simulated by the 3-D modeling software, and both of them can meet the reachability to the center of the processed feature.
Since the procedures to determine BRPS for different parts of the feature are the same, the BRPS of part II in
Table 3 is calculated as a case. BRPS is filtered through the method of
Section 5. The placement spaces (CRPS and BRPS) are shown in
Figure 10. (a) and (b) in
Figure 10 representing the projections in planes
and
, respectively.
7.3. Placement Optimization
According to the experiment by Cvitanic et al. [
33], through the static stiffness model which was developed with decoupled partial pose method, the joint static stiffness values are given as:
Taking feature II in
Table 3 as an example, in the weak stiffness posture of the robot, under the load given in Equation (26), the distribution of static deformation
in BRPS is illustrated in
Figure 11. The workspace of the robot end-effector and processed feature are both symmetrical, so under the condition that their mid-planes coincide, i.e., machining symmetrically, the end-effector has high stiffness. Therefore,
Figure 11 only shows the distribution in the mid-plane
.
In BRPS, in total, the stiffness decreases with the increase in distance in -axis direction. The maximum and minimum values of deformation of the end-effector are 0.921 mm and 0.737 mm, respectively. However, the stiffness may differ significantly with the robot postures even if the placements are approached. Therefore, the distribution is greatly discontinuous. The optimal placement is (8579, 0, −879) and the minimum is 0.737 mm.
7.4. Model Validation
The reachability of the robot end-effector to the boundary of the processed feature can be confirmed by the robot postures in
Figure 10, which proves the correctness of the robot kinematics model. So, the feasibility of placement space can be inferred.
The deformation of the end-effector caused by the stiffness of each arm of the robot is much less than that caused by the joint stiffness. In addition, in the static stiffness identification experiment, deformation of the robot arms is coupled to the deformation of the end-effector, namely, the stiffnesses of the robot arms have been somewhat considered in the results of stiffness identification. Therefore, ignoring the stiffness of the manipulator is a feasibly simplified scheme. On the other hand, the servo system of robot joints involves servo motors and different types of reducers, for which stiffness models are very complex. According to the existing research, it is difficult to achieve accurate modeling of a joint servo system. Joint stiffness is the identification result of the robot in the normal working range, which is represented in the range. The postures of the robot involved in this paper are within the normal working range, so it is a reasonable assumption to regard the joint stiffness as a constant value.
The multi rigid body static model of the robot is established in ANSYS Workbench. Fixed constraints are added to the foundation of the robot, and torsion springs with certain stiffnesses (as Equation (25)) are added to the rotating pairs of each joint. Force (as Equation (26)) is applied to the end-effector. Under the four postures of part II boundary points A, B, C, and D, the calculation results and simulation results of the static deformation of the end-effector in the normal plane are, respectively, shown in
Table 4.
The differentials between calculation results by model and simulation results by the software are in the micro-level. The errors of the model are less than 0.6%.
Thus, the correctness of the calculation model can be validated, and the static deformation of robots in other positions and postures can be calculated through the model, so as to validate the correctness of the optimal solution.