1. Introduction
Machining processes are still widely used because they remain capable of producing workpieces characterized by a great geometric accuracy. However, high-value applications require controlling the quality and the manufacturing signature of the products carefully because they affect their performances in practice [
1,
2]. Achieving this aim is not so easy. Surface roughness is the most industrially used indicator to describe surface quality, but an indicator of surface geometrical deviation, such as flatness and orientation, must be added to it [
3]. In fact, surface integrity involves macro-geometrical deviations (dimensional and geometrical) and micro-geometrical deviations (roughness profile), as well as some physicochemical properties of the machined surface [
4]
At the same time, having a model to foresee the deviations in geometry, the surface quality and the surface morphology of a manufactured part is very useful for production engineers. In fact, they commonly choose the machine and the manufacturing parameters based on their experience by choosing over-simplified approaches. However, another phenomenon is present in many manufacturing processes, defects from previous technological operations that are transferred to the final product, which is known as technological heredity [
5]. It affects product surface quality and its geometrical deviations.
It is possible to draw an uncertainty budget of all the elements that affect the accuracy of the workpiece, i.e., the machine, the process, the auxiliary equipment and the interactions between them, by means of the method outlined by Slocum [
6]. The machine uncertainty is connected with machine construction uncertainty, uncertainty due to the wear of the parts and uncertainty due to the control of each drive unit [
7]. The process uncertainty is due to tool deflection, tool wear, vibration, thermal distortions and burr formation [
8]. An interesting model on process uncertainty was developed in [
9]; it describes the relationship of the flatness of a milled surface with cutting force and tool wear. The same authors [
10] studied the use of different machine learning techniques to predict flatness in face milling operations. Therefore, there is uncertainty originating in workpiece positioning that is related to the contact points between the locators and the workpiece surface, and it is known as localization uncertainty [
11] or datum establishment uncertainty [
12]. The localization uncertainty depends on the deviation of the locators from their nominal position and the form deviation of the surface in contact with the locators. It is needed to find the locator position that reduces it [
13], i.e., it is needed to optimize fixture layout.
Many studies of the literature focused on the influence of the fixture on the part deviation [
14]. The part deviation due to the geometric variation of the part-holder was modelled through the small displacement torsor concept [
15]. The displacement screw vector was used to describe mathematically the localization error [
16]. The localization error of a critical feature was minimized through optimization techniques [
17]. The geometric deviations of the workpiece datum surfaces were combined with the worst-case locator error in machined features [
18]. They take into account the manufacturing deviations of the workpiece datums inside location, profile and angular tolerances. Fixture layout design techniques were used to reduce the localization error of turbine air foils [
19]. A robust approach to fixture layout in prismatic workpieces was resolved through genetic algorithms [
20].
Moreover, the literature presents intensive research on error modeling of machine tools. A quadratic model of the machine volumetric error was presented [
21], in which each axis was considered separately. A Jacobian model was used for machine tool error by dividing the compensable ones from those not compensable [
22]. A comprehensive error analysis method was proposed for a multi-axis machine tool; it evaluates the geometric error propagation through every motion axis and which error parameter has greater influence on the tool position error at the end of the kinematic chain [
23]. A geometric error model based on stream of variation theory [
24] or non-uniform rational B-spline [
25] was proposed for a multi-axis machine too. An experimental approach to evaluate component stiffness in a turning center was developed in [
26]. Some papers of the literature discuss the way to compensate the volumetric error of a machine tool [
27,
28,
29].
This paper presents an innovative model as regards the literature by considering localization and machine uncertainty. Its aim is to present a model to combine the uncertainty of a machined surface with two sources of uncertainty: the localization and the machine ones. The developed model is a kinematic chain of geometrical deviations from the nominal workpiece position and orientation to the new ones due to locator uncertainty and then to these due to workpiece datum surface flatness to which the machine tool volumetric uncertainty is added.
Previous papers presented a statistical model to foresee the position deviation of a hole or a hole pattern dependent on the inaccurate positions of the six locators of the 3-2-1 locating scheme [
30,
31]. Then a further model was developed by putting together the deviations in locator positions with the volumetric uncertainty of the machine tool [
32] or with the form deviation in workpiece datum surfaces [
33].
The aim of the present paper is to show a kinematic model developed for drilling and milling processes. It correlates the locator uncertainty, the form deviation on the part datum surface in contact with the locators and the volumetric uncertainty of the machine tool with the form and/or the orientation of a machined surface during drilling, facing or contouring operations. An alternative experimental approach would have required many tests planned through design of experimental techniques to delineate the surface form and orientation deviation trend as a function of the abovementioned parameters. In this case, an analytical approach was developed to simulate surface geometric deviations from nominal during milling or drilling. The model, that was developed in a Matlab® file, takes into account the deviation of the part reference frame connected with locator uncertainty and datum form deviation to which the volumetric uncertainty of a machine tool was added. This way allows avoiding wasting time, energy and materials for experimental tests to evaluate the parameters influencing machined surfaces.
In
Section 2, the model is theoretically presented and mathematically described. In
Section 3, the model is applied to drilling, facing and contouring processes by considering two different configurations of the locators. The obtained results are deeply discussed.
2. Materials and Methods
The nominal surface obtained through a drilling or a milling process is represented by a set of points that is its skin model. The geometric uncertainty of a drilling or a milling operation refers to the deviation between the location of the points belonging to the actual machined surface and that of the nominal one. The developed model combines this deviation with the inaccuracy of the locator configuration, the workpiece and the machine tool.
The position and orientation of the workpiece reference frame with respect to the machine one is due to the machining fixture that is constituted by reference elements, i.e., the locators. The six-point or 3-2-1 scheme is the most common locator scheme, i.e., six locators identify three mutually orthogonal datum reference planes (i.e., the workpiece reference frame). The tool path is defined with respect to this workpiece reference frame. The workpiece reference frame deviates from nominal because the geometry and the position of the locators are not nominal; this misalignment induces geometrical deviations from nominal of machined features, such as flatness of a milled surface or an orientation uncertainty of a milled surface and drilled hole. It was chosen to investigate these kinds of geometric deviations because they are more influenced by the uncertainty sources that are taken into account. The six locators have eighteen coordinates that define their position, of which only six significantly influence the machining uncertainty, as demonstrated in [
30]. The locators’ coordinates are assumed following a probability density function and the related locator reference frame is defined.
The workpiece to machine is geometrically perfect nominally. However, it is actually obtained through a manufacturing process that leaves on its boundary surfaces a manufacturing signature [
34,
35,
36]. This paper considers a simultaneous autoregressive model of first order SAR(1) to simulate the signature on the planes in contact with the 3-2-1 locators [
37]. The SAR(1) model is suitable to simulate spatially correlated phenomena and deviations in a finite number of points. A set of evenly distributed points was used to simulate the three planes in contact with the six locators. The six points of the three datum planes nearest to the generic set of locators define the workpiece reference frame.
A machine tool is a chain of translational and/or rotational kinematic components. Therefore, the geometric deviations of each component may be modeled by means of a transformation matrix and the machine tool’s resulting uncertainty is obtained by multiplying the transformation matrices in the order of the kinematic chain. The proposed model is kinematic and it is based on the results sought in the kinematics of robots that are validated in the literature [
38].
Three locators on the primary datum, two on the secondary and one on the tertiary determine the workpiece position (see
Figure 1). The coordinates of the i-th locator are represented by
pi(x
i, y
i, z
i). The model’s aim is to estimate the actual coordinates of the points belonging to the machined surface in the workpiece reference frame. It takes as input the dimensions of the workpiece, the nominal locator configuration, the diameter of the cutter and the number and nominal coordinates of the points on the machined surface.
2.1. Locator Deviations
The position of the six locators is completely defined by six of the eighteen coordinates, as demonstrated in [
29]. Each of these six coordinates is assumed to be affected by an uncertainty behaving independently, according to a Gaussian
N(0, σ2) distribution.
The locator reference frame (LRF) is identified by the straight line (i.e., Z’ axis) perpendicular to the plane passing through the actual positions of locators p1, p2 and p3, the straight line (i.e., Y’ axis) that passes through the locators p4 and p5 and is perpendicular to the Z’ axis and the perpendicular line to both Z’ and Y’ axes, that is, the X’ axis, passing from the p6 locator.
The nominal coordinates of the i-th point on the machined surface are
Pi(x
i, y
i, z
i), while their real values
Pi’(x
i’, y
i’, z
i’) are a function of locator probability density functions in the locator reference frame (LRF). It is possible to find the real coordinates
Pi’(x
i’, y
i’, z
i’) by the nominal ones
Pi(x
i, y
i, z
i) through a homogeneous transformation matrix
:
where
R is the rotational matrix which allows passing by the nominal locator reference frame (LRF
n) to the perturbed locator reference frame (LRF) as a function of locator position inaccuracies,
t0 is the vector describing the LRF
n origin position referring to the LRF and
oT is a zero vector [3 × 1]. In detail
2.2. Datum Form Deviations
The form deviation or the manufacturing signature (
d) of the datum surface in contact with the locators was simulated through a spatial autoregressive (SAR) model [
37]:
with
W being a spatial weighting matrix of an observed variable, ρ a spatial autoregressive parameter whose value is 0.9 in order to have a high correlation among the points on the plane,
I the identity matrix and
the white noise.
W is a neighborhood matrix defined based on the triangulation of the points on the plate surface:
with
being the Cartesian distance between the
Pl and the
Pj points of the surface, and
is an indicator variable, which denotes whether points
l and
j are neighbors, that is
Given a set of samples from Equation (10) to represent the three surfaces of the workpiece in contact with the 3-2-1 locators, it is necessary to determine a set of six points, A, B, C, D, E, F at the minimum distance from the p1, p2, p3, p4, p5 and p6 locators.
Then, it is possible to express the coordinates of the points
Pi’(x
i’, y
i’, z
i’) of the machined surface from the locator reference frame (LRF) to the part reference frame (PRF):
with
R’ is the rotational matrix which allows passing by the LRF to PRF, while
ti’ is the vector describing the LRF origin position referring to the PRF and
oT is a zero vector [3x1]. In detail
2.3. Machine Tool Volumetric Uncertainty
The machine tool volumetric uncertainty is described through the position uncertainty Δ
p of the tool tip in the machine tool reference system, and the direction uncertainty Δ
d of the tool axis. It is possible to estimate Δ
p and Δ
d as:
with
δ and
ε the translation and rotation uncertainties along and around the
x,
y and
z axes (e.g.,
εz(x) is the rotational uncertainty around the
z axis due to a translation along the
x axis). They are independently distributed as a Gaussian
or
distribution, respectively. The vector
follows a multivariate Gaussian distribution, with a null expected value and covariance matrix which can be calculated by the formula
, where
Σ is the covariance matrix of d.
Σ is a diagonal 18x18 matrix with the first nine diagonal elements equal to
and the remaining diagonal elements equal to
.
This model was used to simulate the uncertainty in the location and direction of the points belonging to the machined surface due to the machine tool volumetric uncertainty.
2.4. Milled Surface
The coordinates of the i-th point on the milled surface in the part reference frame (PRF) are obtained through the kinematic chain from its coordinates in the nominal locator reference frame (LRF
n) to those in the locator reference frame (LRF) and from the latter to those in the part reference frame (PRF). To the coordinates in the PRF were added the volumetric uncertainty of the machine tool to arrive at the coordinates of the i-th point of the milled top surface in the PRF. Equation (16) becomes:
The mill tool direction in the PRF is given by
with
k being the direction of the mill tool in the machine tool reference frame.
The i-th point
on the milled surface is given by the following relationship:
where
l is the cutting depth.
The flatness was determined by the sum of the distances of the two points more distant from the plane obtained by the method of least squares:
The angle between the top and bottom planes was determined as the opposite angle to the normal of two planes:
2.5. Drilled Surface
From the model detailed in the previous paragraphs, it is possible to define the axis of the drilled hole through Point
P0’’ and vector
k’’:
A point belonging to the axis is
p’’ with
s ∈ R:
Therefore, the distances between the exit and entrance points of the drilled and nominal holes are given by:
with
P0,exit being the nominal coordinates of hole exit point.
3. Results
The model was applied to a plate of 100 mm × 120 mm and a thickness of 60 mm. The locators were placed according to a Gaussian probability density function, centered on the nominal position and characterized by a standard deviation
. The locators’ nominal positions were
p1(95, 70, 0),
p2(12.5, 117.63, 0),
p3(12.5, 22.37, 0),
p4(0, 25, 5),
p5(0, 115, 5),
p6(40, 0, 5) in the first case study, to have the three locators at the bottom surface barycentric, i.e., the barycenter among the locators’ positions is the hole position, and at the maximum distance, i.e., the workpiece surface included inside the three locators is maximum, the two lateral locators at the maximum distance and the sixth locator on the hole axis, as shown in
Figure 2a, and
p1(95, 60, 0),
p2(5, 111.96, 0),
p3(5, 8.04, 0),
p4(0, 5, 5),
p5(0, 115, 5),
p6(95, 0, 5) for the second case study, to have the three locators at the bottom surface at the maximum area, the two lateral locators at the maximum distance and the sixth locator at the maximum distance from the origin, as shown in
Figure 2b. The positioning and rotational uncertainties characterizing the machine tool volumetric uncertainty are equal to
and
, respectively. The SAR model is characterized by a white noise
with σ = 0.01 mm, and a spatial autoregressive parameter ρ = 0.9. The points on the datum surfaces were simulated with a deviation along a direction perpendicular to the datum that was randomly distributed from a uniform probability density function with σ = 0.001 mm. The limits of the simulated uncertainty were taken from a study of the literature on the locating equipment, the machine tools and the geometric dimensioning and tolerancing (GD&T) [
24].
3.1. Face Milling
The plate was milled with a depth of cut of 30 mm in order to remove all the stock through a single pass. An end mill of 20 mm in diameter was used in order to increase the number of control points on the milled surface. The rigidity of the mill was not considered, because the model does not take into account the process uncertainty. The plane to be milled was represented by a set of 3D points, the points were arranged in a grid along the two x–y directions and the distance between two consecutive points was equal to the nominal radius of the cutter along each of the two x–y directions (see
Figure 3a); thus, a matrix of m x n 3D points represented the skin model of the nominal plane (see
Figure 3b). The coordinates of each point belonging to the milled surface in the workpiece reference frame (WRF) were estimated starting from the coordinates in the machine reference frame (MRF) and switching to the locator reference frame (LRF) and then to the workpiece reference frame through the laws of robot kinematics, as shown in
Figure 4. In fact,
Figure 4 shows the geometrical deviation of a milled surface due to the synergic effect of locators, flatness of datum surface and machine tool volumetric uncertainty. Finally, the machine tool uncertainty was added to the coordinates of each point in the WRF to obtain the points on the actual milled surface. The random shape of the milled surface can be observed (green in
Figure 4) due to the random uncertainty of the machine tool.
The least squares method was applied to the coordinates of the points on the actual milled surface to obtain an approximate plane. The flatness was determined by the sum of the distances from the least squares plane of the two points that are the most distant. To evaluate the deviation of the milled surface orientation, the angle between the normals of the top and bottom planes was calculated.
Figure 5 shows the results of numerical simulations obtained for each of the two considered sources of uncertainty and all their combinations (L = locator uncertainty, M = volumetric uncertainty of machine tool, F = datum flatness, L + M = locator + volumetric uncertainty, L + F = locator + datum flatness, F + M = datum flatness + volumetric uncertainty, L + F + M = locator + volumetric uncertainty + datum flatness) regarding mean value and standard deviation. A total of 100,000 runs of Monte Carlo simulation were carried out. The volumetric uncertainty of the machine tool affects only the flatness, because cutting parameters were not taken into account; while the deviations in the positioning of the locators and the geometric deviations of the datum influence the angle. The obtained results are aligned with what really happens. In fact, the flatness indicates the dispersion of the surface points around the least squares plane that has an orientation different from the nominal, and the flatness depends by the volumetric uncertainty of the machine tool, while the least squares plane orientation depends on the locator positions and datum surface deviations. These considerations are the same for cases 1 and 2.
3.2. Contour Milling
The model was applied to a contouring process by removing 30 mm along the
Y-axis, as shown in
Figure 6a, through three passes. The same mill as the previous case was used. At the end, the angle between the planes of the machined shoulder was evaluated as a function of the two considered sources of uncertainties and their combinations (see
Figure 6b). A total of 100,000 simulation runs was considered for each considered condition characterized by one or more sources of uncertainties. The obtained results show that the deviations in locators’ positions and the machine tool uncertainty affect the dispersions of the results around the mean value of 90° (see
Table 1).
In this case, a further positioning of the locators was also taken into account, as shown in
Figure 2b. The results are the same as previously described.
3.3. Drilling
The plate was drilled at the nominal position
and the length of the drill was 60 mm. A drill with a diameter equal to the hole diameter was used. The considered performance indicator was the fraction of conforming parts generated by a specific locator configuration, i.e., the fraction of parts for which both of the following inequalities hold:
where
t is the location tolerance value equal to 0.2 mm.
The conforming fraction was evaluated three times for each experimental condition and for each evaluation, 100,000 workpieces were simulated.
Table 2 reports the numerical results. As shown in
Table 2, the fraction of conforming parts is affected by only one of the two investigated uncertainty sources, i.e., the datum flatness. This is probably due to the small deviations of the six locators and of the machine volumetric uncertainty, which are taken by industrial values anyway. The datum flatness more significantly affects the reduction of conforming parts, since it involves contact between the datum and the locators on peaks or valleys of the datum surface, thus causing a roto-translation of the part. The fraction of conforming parts is significantly reduced when two or three sources of uncertainty act simultaneously, how it should be in reality, and the greater reductions are connected to the presence of the datum flatness inside the interaction. The percentage of the conforming fraction of case 2 appears greater than that in case 1, which is probably due to a more stable configuration of the locators [
39,
40].
4. Conclusions
This work presents a kinematic model to simulate the effect of two sources of uncertainty, the localization and the machine ones, on the geometrical deviation of a surface manufactured by face milling, contouring or drilling processes. The model consists of four steps. The first one evaluates the influence of the deviations in the locator positions on the workpiece reference frame. The second one estimates the deviations in the workpiece reference frame as a function of the form deviations in the workpiece datum surfaces. The third one defines the volumetric uncertainty of the machine tool. Finally, the four steps combine the three deviations. A chain of coordinate transfers from a datum reference system to another is the heart of this work, with the results being evidently right. It overcomes the literature because it considers two uncertainty sources together, such as the locator position deviations, the datum deviations and the volumetric uncertainty of the machine tool, in a simple and effective model.
The proposed kinematic model was applied to a plate that is located through 3-2-1 locators, it had a flatness deviation on its datum surfaces in contact with the locators and the volumetric uncertainty of the used machine tool was known. In this way, it was possible to estimate numerically the geometrical deviations of the milled and drilled surface by saving time, energy and materials because experimental tests have been avoided. In particular, the flatness and orientation deviation from nominal were investigated for a milled surface and the orientation deviation of a drilled hole was analyzed. From the results, it is clear how the proposed model easily allows us to estimate the deviation of a milled or a drilled surface due to the combined effect of two uncertainty sources. The proposed model allows us to take into account geometrical deviations of the part datum surfaces of 0.001 mm, location deviations in the locators of ± 0.03 mm and machine tool positional and rotational uncertainties of and , respectively.
The proposed model is kinematic and it is based on the results sought in the kinematics of robots that are validated in the literature. The idea of the model is simple enough to be evidently right, since it is based on the transfer of coordinates from a datum reference system to another. The innovative ideas are the terms of the uncertainty transfer, i.e., the locator uncertainty, the workpiece datum uncertainty and the machine tool volumetric uncertainty, that are considered together inside a simple and effective model. However, experimental work to set the parameters of each considered contribution to hole or milled plane deviation is matter for further studies.
The time required by the kinematic model to simulate the two sources of uncertainty in milling or drilling was very short (a few seconds) by using a computer with an Intel core i7 950 processor running at 3.07 GHz, with 16 GB of RAM, a mechanical hard drive of 1TB at 5400 rpm and running Windows 7 Professional. The required time is so short that it is compatible with online data processing.
Further elements influencing the geometrical deviations of the manufactured surface, such as those connected with the process uncertainty, may be added in a subsequent development of the model. It is a subject of further research.