Abstract

On-line measuring device of cylindricity error is designed based on two-point method error separation technique (EST), which can separate spindle rotation error from measuring error. According to the principle of measuring device, the mathematical model of the minimum zone method for cylindricity error evaluating is established. Optimized parameters of objective function decrease to four from six by assuming that is equal to zero and is equal to one. Initial values of optimized parameters are obtained from least square method and final values are acquired by the genetic algorithm. The ideal axis of cylinder is fitted in MATLAB. Compared to the error results of the least square method, the minimum circumscribed cylinder method, and the maximum inscribed cylinder method, the error result of the minimum zone method conforms to the theory of error evaluation. The results indicate that the method can meet the requirement of engine cylinder bore cylindricity error measuring and evaluating.

1. Introduction

The performance and quality of the engine are affected directly by the cylindricity error of the cylinder bore. How to accurately assess the cylindricity error has always been the focus of many researches. Murthy (1982) proposed the orthogonal polynomial method to evaluate the cylindricity error, which projects the measurement data of the cylindrical surface onto a plane, and the minimum zone solution is obtained by the method of calculating the flatness [1]. Carr and Ferreira (1995) studied the theory that the minimum zone problem can be converted into a series of linear programming problems [2]. Tian et al. (1999) put forward a method of minimum zone of cylindricity error based on computational geometry theory, the accurate location of minimum zone center is got by using the property of the convex hull of a set of nodes in a plane about Voronoi diagram, and then we will know the precise value of the cylindricity error [3]. Bei (2008) developed a precise model to evaluate the cylindricity error by adopting genetic algorithm [4].

The least square method is the most common method because it has the advantages of the mature theory, the specific mathematical formula, and easiness of implementation. When the ideal axis of cylinder is gaining, all the measuring points participate in the calculating procedure, which will lead to a large error. However, it is not suitable while error evaluating results are controversial. The minimum zone method is the only method that conforms to the definition of the cylindrical error in the national standard, and its results are used as the basis for the determination. The minimum zone method for evaluating cylindricity error is finding two coaxial cylindrical surfaces that can fully contain the actual cylinder bore cylindrical surface and make the radius difference minimize. This study, which focuses on the minimum zone method, posits a new method to evaluate the cylindricity error by genetic algorithm. The on-line measuring device of the cylindricity error is designed to achieve the coordinate data and the mathematical model is established according to the principle of the measuring device. Optimal parameters of ideal axis are obtained by genetic algorithm. The error result is compared to the results of three other methods, and it indicates the minimum zone method, which adopted genetic algorithm, can reduce the error evaluation result effectively.

2. Materials and Methods

The structure of the system for error measuring and evaluating consists of measuring device, data acquisition, error evaluating, motor control, and computer control system. Figure 1 shows the structure of the system.

2.1. Cylindricity Error Measuring Device

The on-line measuring device of the cylindricity error is mainly composed of cylinder blocks, a conveyor, a positioning platform, two sensors, a baffle, a screw lifting platform, four stepper motors, and four test rods [5], as shown in Figure 2. The measured cylinder blocks move forward under the action of the conveyor. When sensor 1 detects a measured cylinder block, the baffle is stretched out, and when sensor 2 detects this measured cylinder block, the positioning platform (shown in Figure 3) is lifted up 5 mm in order to separate the measured cylinder block from the conveyor. Test rods that are driven by stepper motors move into the cylinder bore under the function of the screw lifting platform. Sensors on the measuring head read the data of different measuring points automatically and they are stored into the txt file for further processing. While the measuring process is finished, test rods depart from the measured cylinder bore and the positioning platform drops down 5 mm, so as to make the measured cylinder block touch the conveyor again. The next cylinder block measuring process will go on.

The multiprobe method can restrain the random error of the measurement system, which makes it possible to measure the workpiece without high precision rotation axis [6]. It is more suitable for on-line measuring and it plays a very important role in the measuring process for the large workpiece that cannot move. The two-point method of the error separation technique is adopted in this study, which performs at the aspect that one test rod has three layers and every two sensors that are arranged on each layer are separated by 180 degrees (opposite each other), as shown in Figure 4.

The equation of two-point method is as follows:where and   are the measuring error of sensors, is the roundness error, and is the spindle rotation error. The roundness error can be separated from the measuring error, and its value is as follows:this will decrease the measuring error effectively and contribute to reduce the cylindricity error.

2.2. Mathematical Model

The evaluating process of the cylindricity error is the process of finding the ideal axis, also the process of approaching the ideal axis. When the approaching position and direction are different, the radius difference is not the same. The minimum value of the radius difference can be regarded as the cylindricity error, and the corresponding axis is the ideal axis. Figure 5 shows the minimum zone method of the cylindricity error.

The space rectangular coordinate system OXYZ is established by taking the rotary center of the test rod as the origin [7], and measured sections are selected equidistantly along the axis of the cylinder bore and measured points are selected equiangularly. The coordinate of the measuring point can be expressed aswhere is the quantity of measured sections, is the quantity of measured points on every measured section, is the real radius of the measured points to the axis, and is the corresponding angle. If the ideal axis and a end face of the cylinder cross at the point and the direction ratio of the ideal axis is , then the measured points can be written as follows:so the equation of the ideal axis can be defined as [8] and the distance from the measuring points to the ideal axis can be expressed as

As long as the optimal parameters’ values about ,  ,  ,  ,  , and   are obtained, the equation of ideal axis is certain, and the cylindricity error is calculated. However, it is difficult to optimize since the formula is nonlinear [9]. In order to calculate conveniently, it is necessary to make some assumption: ,  ; this will make optimal parameters reduce to four from six. The formula can simplify as and the objective function of cylindricity error can be defined aswhen the four optimal parameters are got, the cylindricity error can also be solved from formula (8).

2.3. Error Evaluation
2.3.1. Least Square Method for Initial Values

In order to reduce the optimization time, the least square method is used to obtain the initial values of four optimization parameters [10]. Equation (5) can also be written as follows:According to the principle of least square method that is given asthe objective function of least square method can be defined asThe initial values of parameters ,  ,  ,  and   can be calculated by the following formulas:The iteration will begin from the initial values, and then the genetic algorithm will be used to obtain the final values.

2.3.2. Genetic Algorithm for Final Values

The genetic algorithm is a global and random search algorithm proposed by the American Professor J. Holland. Compared to the traditional optimization algorithms, it has the advantages of global search and can deal with nonlinear optimization [11]. So it is more suitable to be used to optimize the parameters of the objective function of the minimum zone method.

The main steps of the genetic algorithm are encoding, generating the initial population, selecting fitness function, searching, and outputting optimal parameters [12]. The process is showed in Figure 6.

Each parameter represents a gene and a chromosome is a solution. The expression is a chromosome composed of four parameters.

Fitness evaluation is the criterion of guiding the searching direction of the genetic algorithm, and only the fitness function is needed in the searching process. How to select an appropriate fitness function to evaluate the performance of the population is the key of the genetic algorithm. The fitness function is usually converted from the objective function [13]. In this study, the reciprocal of the objective function of the cylindricity error is chosen to be the fitness function, and the formula is given as

The genetic searching mainly includes selection, crossover, mutation, and migration. Its purpose is to choose a better individual according to the principle of survival of the fittest. The best individual is the parameters’ values.

The roulette wheel is taken as the selection operator, and the probability of the individual that is chosen to enter the next generation is given as

The crossover operator plays an important role in the searching process. Its specific operation is setting a cross-point randomly and exchanging the components of the two individuals, which will generate two new individuals. Two new individuals will be used for the next iteration. The crossover probability usually varies from 0.6 to 0.8.

The mutation will generate new individuals by changing the gene on the chromosome. The fitness value of the new individual will be compared with the value of the original individual, and the mutation will continue until the latest individual is found and the mutation probability varies from 0.01 to 0.1.

In order to solve the problem of local optimal solution, the transfer operator is introduced into the genetic algorithm. Some best individuals are migrated to other subgroups. When fitness reaches the expected value or the generation reaches maximum, the algorithm will be ended [14].

3. Results and Discussion

The cylinder block is tested by the on-line measuring device of the cylindricity error, and the rectangular coordinates data that is converted by the measuring coordinate data is showed in Tables 1, 2, and 3.

In order to get the intuitive result, let us fit the measuring points in MATLAB, as shown in Figure 7.

Program the m-file of the fitness function, and enter the gatool in the command window of MATLAB; a genetic algorithm optimization toolbox will pop up. Set parameters as follows.

The population size is 20, the selection operator is the roulette wheel, the crossover operator is the single-point crossover, the crossover probability is 0.8, the mutation probability is 0.1, the migration interval is 20, the migration probability is 0.2, and the number of the iteration is 100.

The iteration is terminated after 52 generations and the optimal parameters of ,  ,  ,  and   are obtained by the minimum zone method and the final parameters’ values are ,  ,  ,  and . The equation of the ideal axis (5) is expressed as follows:The ideal axis is obtained, as shown in Figure 8.

We can get the 3D cylinder of the measuring data, and it shows the different roundness from the different position in Figure 9. Figure 10 is one of the sections, and the roundness error can be obtained from this section.

The cylindricity error evaluation system (shown in Figure 11) is finished in the MFC of VC++ 6.0, and the final error value can be calculated as 0.008 mm in this system.

In order to verify the accuracy of the algorithm, the least square method, the minimum circumscribed cylinder method, and the maximum inscribed cylinder method are adopted to compare the results of the minimum zone method. Table 4 shows their results.

We can get the message that the result of minimum zone method is minimum, and it can meet the requirement of cylindricity error evaluating for engine cylinder block.

4. Conclusion

In this paper, an effective measuring device of cylindricity error has been designed. The two-point method error separation technique adopted on the test rods can reduce spindle rotary error. The mathematical model for cylindricity error evaluating is constructed according to the principle of measuring device and the optimized parameters of ideal axis are reduced to four from six. The initial value is got by least square method and final value is achieved by genetic algorithm. The ideal axis is fitting in MATLAB and the error evaluated value of minimum zone method is compared to the value of least square method, which shows that the method can achieve a better result for cylindricity error measuring and evaluating.

In future study, it is necessary to comprehensively analyze the factors, which affect the final accuracy of cylindricity error measuring and evaluating. Further research on error evaluating will be discussed in the future.

Competing Interests

The authors declare that there are no competing interests regarding the publication of this paper.

Acknowledgments

The authors acknowledge the National Engineering Research Center of Seafood. This work was supported by the Public Science and Technology Research Funds Projects of Ocean (no. 201505029).