1. Introduction
The coordinate measuring technique is widely used in various branches of industry, such as the aerospace and automotive industries, for coordinate measurements of products which are characterised by a regular geometric shape and composed of curvilinear surfaces [
1,
2]. Coordinate measurements of products can be made with the use of various contact and non-contact coordinate measuring systems [
3,
4,
5], which include, for example, coordinate measuring machines, coordinate measuring arms, computed tomography systems, measuring systems based on photogrammetry and CNC machine tools equipped with measuring probes [
4,
6]. Multisensory systems are also very popular. Ren et al. [
7] combined the advantages of contact and non-contact measuring systems to accurately reconstruct 3D surfaces. A comparison of the results of measurements carried out using contact and non-contact measuring systems is presented in [
8]. The selection of a measuring system depends, among other things, on the expected measurement accuracy. The most accurate coordinate measuring systems are coordinate measuring machines (CMMs), which today can be equipped with both contact and non-contact measuring probes. Contact measurements are still often used in industrial practice [
7] and can be carried out in both scanning and single-point probing modes [
5]. Multi-axis scanning of curvilinear surfaces is presented in [
9], and this also includes reporting the algorithm for generating the movement path of a measuring probe. In addition, a comparison of measuring probes enabling single-point probing and scanning modes, taking into account the measurement uncertainty and the time of measurements, is presented in [
10]. Coordinate measurements conducted in a scanning mode are more advantageous than measurements performed in a single-point probing mode, due to the shorter duration of a given measurement task.
This article concerns coordinate measurements carried out by means of coordinate measuring machines cooperating with contact scanning measuring probes, which produce more accurate measurement data than CMMs with non-contact measuring probes [
5]. The effectiveness of contact coordinate measurements depends on the accuracy of the measurements and the duration of a given measurement task. The accuracy of contact coordinate measurements is influenced by a number of factors, including for instance, the environmental conditions prevailing in a measurement laboratory where a coordinate measuring machine is located, the accuracy of the coordinate measuring system and the applied measurement strategy [
11]. Depending on the type of a coordinate measuring system, a measurement strategy may include various elements. For example, in the case of a coordinate measuring machine equipped with a contact measuring probe, the elements of a measurement strategy may include the scanning speed, the number of measurement points and their distribution on the surface of a measured product, the probe radius correction method adopted for calculating corrected measurement points based on the indicated measurement points, the filtration parameters of the measurement results, the methods of calculating associated elements, the ways of mounting a measured product on a CMM and determining a coordinate system of the workpiece under investigation, the settings regarding the removal of outliers and the use of a rotary table [
11,
12,
13]. An overview of the factors determining the final coordinate measurement results is presented in
Figure 1, which also includes examples of the elements that are part of the coordinate measurement strategy. The measurement strategy is one of the factors that have the greatest influence on the contact coordinate measurement results [
13]. Therefore, in order to carry out accurate and fast coordinate measurements on a selected product, it is necessary not only to select the right measuring system, but also to use a measurement strategy appropriately selected for the given measurement task [
14].
A number of research articles have been published concerning the various elements of a measurement strategy; e.g., the distribution of measurement points on the investigated surfaces of a measured object. The location of the measurement points on measured objects is very important when assessing the quality of a product. Scientists have proposed a number of strategies to select the best distribution of measurement points to speed up a measurement process [
15]. However, metrologists still independently decide the distribution of measurement points based on both their experience and intuition [
16]. Li et al. [
1] presented the enhanced maximin distance method, dedicated mainly to non-contact measurements, which is based on normal vectors calculated at measurement points. The method was applied to the selection of measurement points in order to obtain a simpler point cloud. Moroni and Petrò [
14] proposed the model of costs of measurements, which can be used to choose the distance between measurement points. Ren et al. [
2] presented an algorithm for distributing the paths on a curvilinear surface along which a scanning process is conducted. The position of a scanning line is obtained based on an analysis of the complexity of the surface under investigation and the deviation between a substitute surface and its nominal model. Moreover, [
17] presented a method for selecting measurement points for non-contact measurements of curvilinear surfaces. Measurements are conducted along cross-sections calculated between the surface under consideration and a set of planes. Lalehpour et al. [
18] investigated three methods of distributing the measurement points in order to select the best one. The authors of [
19] presented a method for selecting points on a blade. New methods to determine the distribution of measurement points, based on the lengths of curves and the areas of surfaces, were proposed in [
20,
21].
Additionally, Wang et al. [
22] compared selected methods for determining the distribution of points, including a uniform distribution, for three surfaces. Pagani and Scott [
23] presented a strategy for distributing points based on the length of a curve and its complexity, and compared it to other methods. In turn, the article [
24] proposed a method for determining a measurement path in order to carry out measurements on a CNC machine tool. The measurement results were compared to the results of coordinate measurements obtained using a CMM. The method created was based on a CAD model of an analysed object. Mian et al. [
16] analysed various strategies for the distribution of measurement points in the assessment of flatness deviation, and their influence on the time required to obtain the coordinate measurements, in order to determine the efficiency of the algorithms under consideration.
The authors of [
15] proposed a new measurement strategy to improve the efficiency of the evaluation of machining errors through the use of coordinate measuring machines. In the first stage, the measurement results are obtained based on a sparse distribution of measurement points in order to reduce measurement time. Then, by using a neural network, machining errors are obtained that correspond to a dense distribution of measurement points.
Moreover, the authors of [
25,
26] analysed the influence of an adopted measurement strategy on the coordinate measurement results used to determine flatness and cylindricity deviations. They considered the use of different styli and various densities of measurement points. The authors of [
27] also analysed the influence of, among other factors, the diameter of a stylus tip on the results of the measurements of a gauge ring. The article [
27] takes into account other elements of a measurement strategy, such as the scanning speed. The influence of the number of measurement points on coordinate measurement results for free-form surfaces was also analysed in [
28]. The authors of [
28] found that the use of 25 points located along cross-sections of a blade is sufficient, and significantly reduces measurement time. On the other hand, the authors of [
29] proposed a two-stage algorithm for generating a movement path for a measuring probe in the case of five-axis scanning of a product’s surface, which ensures a collision-free measurement. The algorithm was based on image analysis to determine the acceptable area for a stylus. Moreover, a strategy for generating the path of a measuring probe on the basis of an improved ant colony algorithm, which may increase the efficiency of coordinate measuring machines, was presented in [
30].
The strategy used for coordinate measurement may also include various methods of defining the coordinate system of a measured workpiece. The article [
31] presents the influence of errors on the results of the measurement of a gear when determining a coordinate system. The selection of parameters for the filtration of the measurement points is also an element of a measurement strategy. The authors of [
32] presented a method of reducing measurement noise in the case of non-contact measurements of the flat surfaces of products. In the coordinate measuring technique, the probe radius correction process has a significant impact on the coordinate measurement results [
33]. There are many works, e.g., [
34,
35], dealing with the problem of the probe radius correction process.
The elements of the measurement strategy selected also affect the duration of the coordinate measurement process, which is the part of the overall time of a product manufacturing process. In the case of a CMM cooperating with a scanning contact measuring probe, the measurement time can be modified by changing the speed of coordinate measurement carried out in the scanning mode, and by modifying the measurement path. In contrast, during measurements taken in a single-point probing mode, the time of the measurement process mainly depends on the distribution of the points on the surface of the measured product, and the speed of the non-measuring movements of the measuring probe of the CMM. The distribution of the points may result, in turn, from the declared distance between the measurement points. In order to carry out effective coordinate measurements, it is necessary to carefully select a measurement strategy that will ensure both high measurement accuracy and the shortest possible time for coordinate measurement.
Unfortunately, commercial metrology software that cooperates, for example, with coordinate measuring machines, does not enable the verification of the duration of the coordinate measurement process based on the adopted parameters for the product measurements before it starts. This, in turn, makes it much more difficult to choose the right measurement strategy to enable the implementation of effective coordinate measurement. Therefore, it is necessary to supplement the capabilities of commercial metrology software packages that are part of modern coordinate measuring systems. This is made possible by using, for example, parametric programming of coordinate measurements. Parametric programming enables the implementation of mathematical models, on the basis of which, for instance, the results and times of coordinate measurements can be estimated for the commercial inspection software used in industry. An example of metrology software that enables parametric programming is the Calypso software developed by the Carl Zeiss company (Oberkochen, Germany). The parametric method of programming within the Calypso software is possible thanks to its PCM module (parameter coded measurements).
Mathematical models that can be used in metrology software cooperating with, e.g., coordinate measuring machines, can be developed using response surface methodology (RSM). This methodology, among others, has been widely used in the metrology of geometrical quantities, in coordinate measuring techniques and in mechanical engineering [
36,
37]. For example, the authors of [
36] applied RSM to develop mathematical models, on the basis of which it was possible to estimate the quality of virtual machining of curvilinear surfaces of a product, as well as to determine the accuracy and duration of coordinate measurement processes. However, the measurement time was not estimated on the basis of the results of real coordinate measurements. The results, on the basis of which the mathematical models were developed, were obtained by means of computer simulations of manufacturing and measurement processes. Moreover, the measurement time was determined based only on the length of the measurement path. The application of RSM in the case of machining of Ti6Al4V titanium alloy was presented in [
37]. Mathematical models of the temperature in a cutting zone and two components of a cutting force were developed. The input parameters were as follows: cutting speed, depth of cut and feed.
This paper presents the possibility of using RSM to develop a mathematical model of the time needed to undertake contact coordinate measurements to determine the flatness deviation of a selected surface of a product after its machining. Moreover, special attention was paid to the method of implementation of the model in the selected metrological software, to increase the possibility of applying the mathematical model in industrial practice. Thus, the user of a coordinate measuring machine will be able to estimate how the adopted coordinate measurement parameters will translate into the time needed to conduct a given measurement task. The advantage of the model presented is the fact that it was developed on the basis of the results of actual coordinate measurements of a selected product.
The following parts of this article concern, inter alia, descriptions of the experimental investigations performed, the development of the model for determining the coordinate measurement time and the implementation of the model in the Calypso software from the Carl Zeiss company. The article ends with the conclusions drawn on the basis of the results of the experimental research.
3. Results of Experimental Investigations
The experimental studies were carried out using a central composite design according to the data presented in
Table 1. In addition,
Table 1 presents the assumed distances between the measurement paths and the applied scanning speeds, by means of which the various strategies to make the contact measurements needed to calculate the flatness deviation were determined. The extreme values of the input parameters were partly selected based on [
38]. In
Table 1, the first three columns are as follows: StdOrder—non-random order of experimental tests; RunOrder—random order of experimental tests; and PtType—a point type that specifies various combinations of values of input parameters.
The times for the coordinate measurement processes were recorded for each experimental test, and are presented in
Table 2.
The results obtained from the experimental research were used to develop the model for the coordinate measurement time needed to determine a flatness deviation. Analysis of variance (ANOVA) was performed on the basis of the results obtained during the contact coordinate measurements. The statistical analysis of the results of the experimental tests was performed using Minitab software. The proposed model of measurement time
t as a function of the distance between measurement paths
d and the scanning speed
v is presented as Equation (1). A linear + squares model was developed. The coefficient of determination of the created model was equal to 99.42%.
The results of the analysis of variance in relation to individual elements of the coordinate measurement time model are presented in
Table 3, in which the columns DF, Adj SS, Adj MS are the total degrees of freedom, adjusted sums of squares and adjusted mean squares, respectively. Adj SS and Adj MS were used to calculate the
p-Value for a term and the coefficient of determination. In turn, the F-Value was used to calculate the
p-Value, which was used for making a decision regarding the significance of the terms and the model [
39]. It was possible to determine those model components for which the
p-Value is less than the established significance level by means of the results of the analysis of variance. A significance level of 5% was used during the analysis. The significance of the individual components of the coordinate measurement time model was determined based on the analysis of variance. Moreover, the results of the analysis of variance included information on the accuracy of the model in representing the measurement data. The
p-Value parameter in the case of Lack-of-Fit indicates the insignificance of the lack of fit of the considered model. This means that the proposed model (1) can be regarded as sufficiently accurate.
Figure 6 presents a graph showing the importance of the individual components of the coordinate measurement time model. From the presented graph, it can be concluded that all components of the developed regression model were statistically significant.
Figure 7 presents the residual plots. They can be used for reference only. Inferring compliance with the normal distribution requires conducting a residual normality test. The results of the normality test are presented in
Figure 8. The Ryan–Joiner test was applied. On the basis of the results presented in this graph, there are no grounds to reject the hypothesis of a normal distribution of the population from which the analysed sample was sourced. This means that the model is correctly constructed and calculated, and is not biased; i.e., it does not underestimate or overestimate the results.
Figure 9 shows the influence of the two analysed input factors (i.e., the distance between the measurement paths and the scanning speed of the measuring probe) on the output factor (i.e., the time needed to take contact measurements to determine the flatness deviation of the selected measured surface). The coordinate measurement time for the measurement characteristic under consideration decreased with an increase in both the distance between the measurement paths (up to approximately 14 mm) and the value of the measurement velocity. Increasing the distance between measurement paths generates a smaller number of measurement points distributed on the measured surface of the product.
The contour plot of the contact coordinate measurement time model is shown in
Figure 10. It is possible to determine the coordinate measurement time based on the adopted parameters of the measurement strategy. This, in turn, enables proper planning of the coordinate measurement process, taking into account not only the uncertainty of measurements, but also the time of their realisation.
Figure 11 shows the final surface plot of the contact coordinate measurement time model.
However, when planning a strategy for coordinate measurements under industrial conditions, analysis of the graph presented in
Figure 11 may be troublesome for people working in quality control departments and responsible for preparing the measurement program controlling a coordinate measuring machine. Therefore, it is necessary to implement a coordinate measurement time model developed for each measurement task into the selected metrological software, in order to facilitate the estimation of the measurement time. This implementation will help operators of coordinate measuring systems to automatically verify the duration of coordinate measurement processes on the basis of the adopted measurement parameters; for example, the scanning speed in the case of using scanning measuring probes.
5. Conclusions
The results of the experimental studies conducted confirmed that it is possible to estimate the time duration for coordinate measurements on the basis of the adopted measurement strategy. Knowing the duration of a given measurement task before starting actual measurements makes the implementation of effective coordinate measurements of products possible.
The use of response surface methodology enables the production of mathematical models of contact coordinate measurement times, which can be implemented in commercial inspection software packages cooperating with a coordinate measuring machine. The ability to implement the model in commonly applied metrology software makes it possible to use the model under industrial conditions.
The coordinate measurement time model, which represented the measurement data well, was obtained from experimental investigations. The coefficient of determination of the created model was equal to 99.42%. Moreover, the p-Value parameter in the case of Lack-of-Fit was greater than 5%, which indicates the insignificance of the lack of fit of the model (1).
A deficiency of the developed model is in obtaining correct measurement times when the distance between measurement paths is less than approximately 13–14 mm. However, the use of other types of models (e.g., linear), did not lead to obtaining satisfactory results for the Lack-of-Fit parameter.
The proposed coordinate measurement time model is correct for the measurement task that was under consideration in this study. However, it can be used in the case of measurements carried out with any coordinate measuring machine equipped with a scanning measuring probe. In the case of other measurement tasks, the proposed procedure (based on response surface methodology) leading to the determination of the coordinate measurement time model can easily be applied to other measurement characteristics and to products obtained by any manufacturing method (e.g., for measurement of a flatness deviation of a surface with holes). It only requires the use of a different measurement path for the measuring probe and modification of the input parameters.
Further investigations may lead to the development of other mathematical models that include various elements of measurement strategies applied to an inspection process conducted using coordinate measuring systems as input parameters to determine the accuracy of machining of products. For example, the presented methodology can be used in the case of an analysis of geometric deviations of products.