# Evaluation of the Calculated Sizes Based on the Neural Network Regression

Authors: Zexiang Zhao; Jianpu Xi; Xinyu Zhao; Guoqing Zhang; Mengjiao Shang
Journal: Mathematical Problems in Engineering
 (2018)

---

## Abstract

The evaluation models of circumference diameter, area diameter, and volume diameter were established based on the cylindrical coordinate measuring method, respectively. Many groups of roundness profiles of cylindrical specimens were extracted, and their pseudo and actual circumference diameters, area diameters, and volume diameters were evaluated according to the established evaluation models and the sampling data of the extracted roundness profiles. The relationship models between the pseudo calculated sizes and the actual calculated sizes were built through a series of training based on the neural network regression. The checked experiments for the training models showed that the evaluation of the calculated sizes can meet their measurement accuracy requirement through the pseudo calculated sizes, which were evaluated based on the roundness profiles by using the cylindricity or roundness measuring instrument.


---

## Body

## 1. Introduction

Besides the global sizes, two-point size, and ball size, the calculated sizes of cylinder are defined in ISO 14405-1, which are circumference diameter, area diameter, and volume diameter [1]. In the standard, there are no measurement methods for the calculated sizes of cylinder. Through analyzing the definition of the calculated sizes of cylinder, the precision cylindrical coordinate measuring machine is an instrument suitable for measurement of these sizes. Owing to the fact that the absolute sizes between the sampling points in the cylinder’s profile and the rotary axis of the worktable should be measured for the realization of precision measurement of the calculated sizes, although ISO 14405-1 was issued by ISO (International Standardization Organization), there have been no suitable products of precision cylindrical coordinate measuring machine (C2M2) at present, and the standard can not be implemented in the real production. On the other hand, the roundness error of cylinder can be measured by using precision cylindricity or roundness measuring instruments [2–6], which can be seen as a like cylindrical coordinate measuring machine (Like-C2M2) in this paper. Owing to that the variations of the sampling points in the extracted roundness profile [7–10] by using Like-C2M2 are the relative radial sizes, the roundness error or cylindricity error can be evaluated based on the pseudo roundness profile, the pseudo radial sizes of which are equal to the sum values of the radial variations of the sampling points and a radius of a virtual ideal cylinder. Besides the evaluation of the roundness and cylindricity errors [11–13], the pseudo calculated sizes can also be obtained based on the pseudo radial sizes above. The actual calculated sizes can be obtained based on the trained neural network regression of the pseudo calculated sizes and the actual calculated sizes. The trained models for the evaluation of the calculated sizes were checked. The checked results showed that this method can satisfy the measuring accuracy requirement of the calculated sizes, which may be one way to solve the measurement problem of the calculated sizes of cylinder for implementing ISO 14405-1 in the manufacturing industry as soon as possible.


## 2. Evaluation Models of the Calculated Sizes of Cylinder

### 2.1. Evaluation Model of the Circumference Diameter

Theith pseudo or actual roundness profile of cylinder is extracted by using Like-C2M2 or C2M2, as shown in Figure 1, where the subscript “X” of ρXij and φXij can be expressed as “p” and “a” for the pseudo and actual roundness profiles, respectively, and ρpij is equal to the sum of the relative variation of thejth sampling point in theith roundness profile extracted by using Like-C2M2 and a radius of a virtual cylinder, while ρaij is the actual radial size of thejth sampling point in theith roundness profile extracted by using C2M2.Figure 1
Theith pseudo or actual roundness profile of cylinder.According to the definition of the circumference diameter in ISO 14405-1, the circumference diameterDXPi of theith roundness profile can be gained as follows:(1)DXPi=PXi2πwhere PXi is the circumference of the ith pseudo or actual roundness profile, as shown in Figure 2, which can be determined as follows:(2)PXi=∑j=1nΔPXijwhere ΔPXij, j=1~n-1, is the distance of thejth sampling pointSij and (j+1)th sampling point Si(j+1) in theith pseudo or actual roundness profile, wheren is the number of the sampling points and ΔPXin is the distance of thenth and 1st sampling points in theith pseudo or actual roundness profile.Figure 2
Schematic of the circumferencePXi and the area AXi of theith roundness profile.The cosine law is used for triangleΔoiSXijSXi(j+1), as shown in Figure 3, where ΔφXij=φXi(j+1)- φXij, and then ΔPXij can be calculated as follows:(3)ΔPXij=ρXij+12+ρXij2-2ρXij+1ρXijcos⁡ΔφXijFigure 3
Schematic of triangleΔoiSXijSXi(j+1).


### 2.2. Evaluation Model of the Area Diameter

According to the definition of the area diameter in ISO 14405-1, the area diameterDXAi of theith pseudo or actual roundness profile can be obtained as follows:(4)DXAi=2AXiπwhere AXi is the area of theith pseudo or actual roundness profile, which can be determined as follows:(5)AXi=∑j=1nΔAXijwhere ΔAXij is the area of triangle ΔoiSXijSXi(j+1) shown in Figure 3, which can be calculated as follows:(6)ΔAXij=12ρXijρXij+1sin⁡ΔφXij


### 2.3. Evaluation Model of the Volume Diameter

According to the definition of the volume diameter in ISO 14405-1, the volume diameterDXV of cylinder can be calculated as follows:(7)DXV=2VXπLwhere VX is the pseudo and actual volume of cylinder with the measured lengthL, which is the distance of thenth roundness profile and the 1st roundness profile alongz-axis, as shown in Figure 4.Figure 4
Schematic of the calculationΔVXi of cylinder.According to (5), AXi,i=1~n, can be calculated for all pseudo or actual roundness profiles, and VX can be obtained as follows:(8)VX=∑i=1m-1ΔVXiwhere ΔVXi is the pseudo or actual volume between theith roundness profile and the (i+1)th roundness profile and the distance of both roundness profiles alongz-axis is Δz, which is equal toL/(m-1), wherem is the number of the roundness profiles of the measured cylinder. ΔVXi can be obtained as follows:(9)ΔVXi=AXi+AXi+1×Δz2


## 2.1. Evaluation Model of the Circumference Diameter

Theith pseudo or actual roundness profile of cylinder is extracted by using Like-C2M2 or C2M2, as shown in Figure 1, where the subscript “X” of ρXij and φXij can be expressed as “p” and “a” for the pseudo and actual roundness profiles, respectively, and ρpij is equal to the sum of the relative variation of thejth sampling point in theith roundness profile extracted by using Like-C2M2 and a radius of a virtual cylinder, while ρaij is the actual radial size of thejth sampling point in theith roundness profile extracted by using C2M2.Figure 1
Theith pseudo or actual roundness profile of cylinder.According to the definition of the circumference diameter in ISO 14405-1, the circumference diameterDXPi of theith roundness profile can be gained as follows:(1)DXPi=PXi2πwhere PXi is the circumference of the ith pseudo or actual roundness profile, as shown in Figure 2, which can be determined as follows:(2)PXi=∑j=1nΔPXijwhere ΔPXij, j=1~n-1, is the distance of thejth sampling pointSij and (j+1)th sampling point Si(j+1) in theith pseudo or actual roundness profile, wheren is the number of the sampling points and ΔPXin is the distance of thenth and 1st sampling points in theith pseudo or actual roundness profile.Figure 2
Schematic of the circumferencePXi and the area AXi of theith roundness profile.The cosine law is used for triangleΔoiSXijSXi(j+1), as shown in Figure 3, where ΔφXij=φXi(j+1)- φXij, and then ΔPXij can be calculated as follows:(3)ΔPXij=ρXij+12+ρXij2-2ρXij+1ρXijcos⁡ΔφXijFigure 3
Schematic of triangleΔoiSXijSXi(j+1).


## 2.2. Evaluation Model of the Area Diameter

According to the definition of the area diameter in ISO 14405-1, the area diameterDXAi of theith pseudo or actual roundness profile can be obtained as follows:(4)DXAi=2AXiπwhere AXi is the area of theith pseudo or actual roundness profile, which can be determined as follows:(5)AXi=∑j=1nΔAXijwhere ΔAXij is the area of triangle ΔoiSXijSXi(j+1) shown in Figure 3, which can be calculated as follows:(6)ΔAXij=12ρXijρXij+1sin⁡ΔφXij


## 2.3. Evaluation Model of the Volume Diameter

According to the definition of the volume diameter in ISO 14405-1, the volume diameterDXV of cylinder can be calculated as follows:(7)DXV=2VXπLwhere VX is the pseudo and actual volume of cylinder with the measured lengthL, which is the distance of thenth roundness profile and the 1st roundness profile alongz-axis, as shown in Figure 4.Figure 4
Schematic of the calculationΔVXi of cylinder.According to (5), AXi,i=1~n, can be calculated for all pseudo or actual roundness profiles, and VX can be obtained as follows:(8)VX=∑i=1m-1ΔVXiwhere ΔVXi is the pseudo or actual volume between theith roundness profile and the (i+1)th roundness profile and the distance of both roundness profiles alongz-axis is Δz, which is equal toL/(m-1), wherem is the number of the roundness profiles of the measured cylinder. ΔVXi can be obtained as follows:(9)ΔVXi=AXi+AXi+1×Δz2


## 3. The Neural Network Regression of the Pseudo Calculated Sizes and the Actual Calculated Sizes

AlthoughρXij is used as the basis of evaluation of the form errors and the calculated sizes of cylinder based on the roundness profile extraction strategy, its meaning is different. For the measurement of ρpij in the evaluation of the form errors, it is unnecessary that ρpij should be the actual distance from the sampling point to the rotary axis of the worktable, which may be equal to the sum of δij and Dvt/2, which is half of the nominal size of the measured cylinder or a radius of a virtual cylinder, while δij is the relative radial variation of thejth sampling point in theith roundness profile with high precision, which is usually measured by using Like-C2M2, such as the cylindricity measuring instrument and the roundness measuring instrument. For the measurement of ρaij in the evaluation of the calculated sizes, it is necessary that ρaij should be the actual distance from the sampling point to the rotary axis of the worktable, which is usually measured by using the C2M2.For the establishment of the relationship between the pseudo calculated sizes and the actual calculated sizes, the nonlinear regression based on the neural network with three levels was used, which include an input level, a hidden level, and an output level, as shown in Figure5.Figure 5
Schematic of the neural network regression with three levels.For the circumference diameter, the area diameter, and the volume diameter, input level mainly consists of one node, that is, the difference between their respective pseudo diameter and the diameterDvt of a virtual cylinder, there are many nodes in hidden level, which can be determined by a series of the model training, and the output level has one node, in which the trained diameters in Figure 5 can be gained.For the neural networks in Matlab, “trainlm”, “trainbr”, and “trainscg” functions are often selected. The former two functions are based on Levenberg-Marquardt optimization, while the third function is based on the scaled conjugate gradient method. The three training functions’ algorithms can be seen in [14, 15].


## 4. Experiments and Results

### 4.1. Experiment Design

For the circumference diameter or the area diameter, 835 roundness profiles of 49 ground cylindrical workpieces with a nominal size ofϕ40mm were extracted by using a global size measuring instrument, developed by Zhongyuan University of Technology. For verifying the feasibility of evaluating the calculated sizes based on the trained models of the neural network regression between the pseudo calculated sizes and the actual calculated sizes, the diameter Dvt of the virtual cylinder was selected as 20mm, 24mm, 28mm, 32mm, 36mm, 40mm, 44mm, 48mm, 52mm, 56mm, and 60mm, respectively, the purpose of which is to check out the influence of the different virtual diameters Dvt on the evaluation results of the calculated sizes based on the trained models of the neural network regression.For the neural network in Figure5, the training parameters were set as follows: the maximum epochs were 1000, the train, validation, and test ratios were 0.7, 0.15, and 0.15, respectively, the maximum number of the fail epochs was 6, the train goal was 1.0e-12, and the “trainlm” and “trainbr” training functions were used for the evaluation models of the circumference diameter and the area diameter, while three training functions above were used for the evaluation models of the volume cylinder. For the hidden level’s nodes from 3 to 15, the neural network nonlinear regression of circumference diameter, area diameter, and volume diameter were carried out for 100 times, respectively, and the neural network optimal nonlinear regression models of the circumscribed diameter, the area diameter, and the volume diameter were selected based on the MSE (Mean Square Error) values of output values and target values for simplification, respectively.


### 4.2. Experiment Results

The minimum values of RMSE (Root Mean Square Error) of the output values and their target values of the circumference diameters and the area diameters for the above values ofDvt under two training functions were shown in Figure 6, and the minimum values of RMSE of the output values and their target values of the volume diameters for the above values of Dvt under three training functions were shown in Figure 7. The minimum value of RMSE refers to the minimum value among the 1300 RMSE values obtained under 1300 training times from 3 to 15 hidden level’s nodes for each Dvt. The hidden nodes obtaining the minimum RMSE values under the diameters Dvt of the virtual cylinders can be seen in Table 1.Table 1
Hidden nodes obtaining the minimum MSE values.
Calculated sizes Training function D v t/mm 20 24 28 32 36 40 44 48 52 56 60 Hidden nodes  Circumference diameter trainlm 6 10 4 7 8 13 14 4 14 11 9 trainbr 12 7 14 9 6 7 7 13 11 11 7  Area diameter trainlm 7 12 7 14 13 15 7 13 4 4 11 trainbr 7 13 6 7 7 7 15 8 7 7 10  Volume diameter trainlm 7 7 4 4 4 6 6 6 6 4 4 trainbr 12 12 12 12 12 12 3 12 12 12 9Figure 6
Minimum RMSE of the circumference diameters and the area diameters.
(a)
Minimum RMSE between the trained and actual circumference diameters (b)
Minimum RMSE between the trained and actual area diametersFigure 7
Minimum RMSE of the volume diameters.
(a)
Minimum RMSE of the volume diameter based on the “trainlm” function (b)
Minimum RMSE of the volume diameter based on the “trainbr” function (c)
Minimum RMSE of the volume diameter based on the “trainscg” functionFrom Figures6 and 7 and Table 1, we can get the following conclusions: All the minimum RMSE values between the outputs of the trained models by using two training functions for the circumference and area diameters and three training functions for the volume diameters are able to meet their measuring accuracy requirement for all the virtual cylinders with the diameters from 20mm to 60mm, but for the calculated sizes, their evaluation results of the models trained by using the “trainbr” function are superior to the other two functions. The nodes of hidden levels of the three training functions for three kinds of calculated sizes have no explicit relationships with the diameters Dvt of the virtual cylinders.For further checking the feasibility estimating the calculated sizes by using the trained models above, the 260 roundness profiles of 14 cylinders with a nominal size of 25mm were adopted. For the corresponding relationship toDvt in Table 1, a series of the checked virtual cylinders with diameters Dvtc from 12.5mm to 37.5mm, where the difference between two adjacent checked virtual cylinders is 2.5mm, 260 pseudo circumference diameters, 260 pseudo area diameters, and 14 pseudo volume diameters for each 260 and their corresponding actual calculated sizes with a nominal sizes of 25mm were evaluated based on (1), (4), and (7).Their corresponding circumference diameters, area diameters, and volume diameters were evaluated based on the trained models used in Figures7 and 8 for all checked virtual cylinders, and their corresponding RMES values between the outputs (the calculated sizes evaluated by trained models) and the actual calculated sizes (targets) for the checked virtual cylinders were obtained, as shown in Figure 8 for the circumference and area diameters and in Figure 9 for the volume diameters.Figure 8
RMSE of the circumference diameters and the area diameters of the checked cylinders.
(a)
RMSE of the circumference diameters by using the models in Figure6(a) (b)
RMSE of the area diameters by using the models in Figure6(b)Figure 9
RMSE of the volume diameters of the checked cylinders.
(a)
RMSE of the volume diameters evaluated by using the models in Figure7(a) (b)
RMSE of the volume diameters evaluated by using the models in Figure7(b) (c)
RMSE of the volume diameters evaluated by using the models in Figure7(c)From Figure8(a), we can know that the RMSE values obtained based on the trained models by using “trainlm” and “trainbr” functions and the diameters Dvtc of all the checked virtual cylinders can meet the measuring accuracy requirements of the circumference diameters, and from Figure 8(b), we can know that the RMSE values obtained based on the trained models by using “trainbr” function and the diameters Dvtc of all the checked virtual cylinders can meet the measuring accuracy requirements of the area diameters, and except for the checked virtual cylinder with a diameter Dvtc of 15mm, the RMSE values obtained based on the trained models by using “trainlm” function and the diameters Dvtc of all the other checked virtual cylinders can meet the measuring accuracy requirements of the area diameters. From Figure 9, we can know that the RMES values obtained based on the trained models by using “trainbr” functions and the diameters Dvtc of all the checked virtual cylinders can meet the measuring accuracy requirements of the volume diameters.In conclusion, for three kinds of calculated sizes, their evaluation based on the neural network regression models trained by using “trainbr” function is feasible and has higher evaluation accuracy.


### 4.3. Results Analysis

For further analyzing the results above, we took the neural network regression curves of the calculated sizes of the virtual cylinder with the diameterDvt of 36mm and the checked virtual cylinder with the diameter Dvtc of 22.5mm as an example of evaluating the calculated sizes using the neural network regression models trained by using “tainbr” function. For 835 roundness profiles of 49 cylinders with a nominal size of 40mm, Figures 10(a), 10(c), and 10(e) are the regression curves between the outputs and their corresponding targets, where the outputs are the calculated sizes obtained based on the trained models and the pseudo calculated sizes of the virtual cylinder with the diameter Dvt of 36mm, and the targets are their corresponding actual calculated sizes. Figures 10(b), 10(d), and 10(f) are the distribution histograms of the errors between the outputs and their corresponding targets.Figure 10
Regression curves and histograms of the trained calculated sizes based on the virtual cylinder with a diametersDvt of 36mm and the “tainbr” function.
(a)
Regression curve forDP (b)
Errors histogram forDP (c)
Regression curve forDA (d)
Errors histogram forDA (e)
Regression curve forDV (f)
Errors histogram forDVFor the 260 roundness of 14 cylinders with a nominal size of 25mm, Figures11(a), 11(c), and 11(e) are the regression curves between the outputs and their corresponding targets, where the outputs are the calculated sizes obtained based on the same trained models above and the pseudo calculated sizes of the virtual cylinder with the diameter Dvt of 22.5mm, and the targets are their corresponding actual calculated sizes. Figures 11(b), 11(d), and 11(f) are the distribution histograms of the errors between the outputs and their corresponding targets.Figure 11
Regression curves and histograms of the trained calculated sizes based on the virtual cylinder with a diametersDvt of 22.5mm and the “tainbr” function.
(a)
Regression curve forDP (b)
Errors histogram forDP (c)
Regression curve forDA (d)
Errors histogram forDA (e)
Regression curve forDV (f)
Errors histogram forDVFrom Figure10, the regressions between the targets and the outputs have good linearity, and their errors are very small for 835 roundness profiles of 49 cylinders, which have very high evaluation accuracy. Comparing the regressions and errors in Figures 10 and 11, owing to the fact that the outputs in Figure 10 were obtained by using the neural network regression models based on their roundness profiles and the outputs in Figure 11 were obtained by using the neural network regression models in Figure 10, the regression linearity in Figure 10 is higher than those of their corresponding regressions in Figure 11, and the absolute values of the errors in Figure 10 are less than those of the corresponding errors in Figure 11. Even so, except for one error’s absolute value of the volume diameter in Figure 11 which is greater than 0.1μm, the absolute values of all the other errors in Figure 11 are far less than 0.1μm. Therefore, the evaluation of the calculated sizes based on the trained neural network regression models and the pseudo calculated sizes is feasible and has higher evaluation accuracy.


## 4.1. Experiment Design

For the circumference diameter or the area diameter, 835 roundness profiles of 49 ground cylindrical workpieces with a nominal size ofϕ40mm were extracted by using a global size measuring instrument, developed by Zhongyuan University of Technology. For verifying the feasibility of evaluating the calculated sizes based on the trained models of the neural network regression between the pseudo calculated sizes and the actual calculated sizes, the diameter Dvt of the virtual cylinder was selected as 20mm, 24mm, 28mm, 32mm, 36mm, 40mm, 44mm, 48mm, 52mm, 56mm, and 60mm, respectively, the purpose of which is to check out the influence of the different virtual diameters Dvt on the evaluation results of the calculated sizes based on the trained models of the neural network regression.For the neural network in Figure5, the training parameters were set as follows: the maximum epochs were 1000, the train, validation, and test ratios were 0.7, 0.15, and 0.15, respectively, the maximum number of the fail epochs was 6, the train goal was 1.0e-12, and the “trainlm” and “trainbr” training functions were used for the evaluation models of the circumference diameter and the area diameter, while three training functions above were used for the evaluation models of the volume cylinder. For the hidden level’s nodes from 3 to 15, the neural network nonlinear regression of circumference diameter, area diameter, and volume diameter were carried out for 100 times, respectively, and the neural network optimal nonlinear regression models of the circumscribed diameter, the area diameter, and the volume diameter were selected based on the MSE (Mean Square Error) values of output values and target values for simplification, respectively.


## 4.2. Experiment Results

The minimum values of RMSE (Root Mean Square Error) of the output values and their target values of the circumference diameters and the area diameters for the above values ofDvt under two training functions were shown in Figure 6, and the minimum values of RMSE of the output values and their target values of the volume diameters for the above values of Dvt under three training functions were shown in Figure 7. The minimum value of RMSE refers to the minimum value among the 1300 RMSE values obtained under 1300 training times from 3 to 15 hidden level’s nodes for each Dvt. The hidden nodes obtaining the minimum RMSE values under the diameters Dvt of the virtual cylinders can be seen in Table 1.Table 1
Hidden nodes obtaining the minimum MSE values.
Calculated sizes Training function D v t/mm 20 24 28 32 36 40 44 48 52 56 60 Hidden nodes  Circumference diameter trainlm 6 10 4 7 8 13 14 4 14 11 9 trainbr 12 7 14 9 6 7 7 13 11 11 7  Area diameter trainlm 7 12 7 14 13 15 7 13 4 4 11 trainbr 7 13 6 7 7 7 15 8 7 7 10  Volume diameter trainlm 7 7 4 4 4 6 6 6 6 4 4 trainbr 12 12 12 12 12 12 3 12 12 12 9Figure 6
Minimum RMSE of the circumference diameters and the area diameters.
(a)
Minimum RMSE between the trained and actual circumference diameters (b)
Minimum RMSE between the trained and actual area diametersFigure 7
Minimum RMSE of the volume diameters.
(a)
Minimum RMSE of the volume diameter based on the “trainlm” function (b)
Minimum RMSE of the volume diameter based on the “trainbr” function (c)
Minimum RMSE of the volume diameter based on the “trainscg” functionFrom Figures6 and 7 and Table 1, we can get the following conclusions: All the minimum RMSE values between the outputs of the trained models by using two training functions for the circumference and area diameters and three training functions for the volume diameters are able to meet their measuring accuracy requirement for all the virtual cylinders with the diameters from 20mm to 60mm, but for the calculated sizes, their evaluation results of the models trained by using the “trainbr” function are superior to the other two functions. The nodes of hidden levels of the three training functions for three kinds of calculated sizes have no explicit relationships with the diameters Dvt of the virtual cylinders.For further checking the feasibility estimating the calculated sizes by using the trained models above, the 260 roundness profiles of 14 cylinders with a nominal size of 25mm were adopted. For the corresponding relationship toDvt in Table 1, a series of the checked virtual cylinders with diameters Dvtc from 12.5mm to 37.5mm, where the difference between two adjacent checked virtual cylinders is 2.5mm, 260 pseudo circumference diameters, 260 pseudo area diameters, and 14 pseudo volume diameters for each 260 and their corresponding actual calculated sizes with a nominal sizes of 25mm were evaluated based on (1), (4), and (7).Their corresponding circumference diameters, area diameters, and volume diameters were evaluated based on the trained models used in Figures7 and 8 for all checked virtual cylinders, and their corresponding RMES values between the outputs (the calculated sizes evaluated by trained models) and the actual calculated sizes (targets) for the checked virtual cylinders were obtained, as shown in Figure 8 for the circumference and area diameters and in Figure 9 for the volume diameters.Figure 8
RMSE of the circumference diameters and the area diameters of the checked cylinders.
(a)
RMSE of the circumference diameters by using the models in Figure6(a) (b)
RMSE of the area diameters by using the models in Figure6(b)Figure 9
RMSE of the volume diameters of the checked cylinders.
(a)
RMSE of the volume diameters evaluated by using the models in Figure7(a) (b)
RMSE of the volume diameters evaluated by using the models in Figure7(b) (c)
RMSE of the volume diameters evaluated by using the models in Figure7(c)From Figure8(a), we can know that the RMSE values obtained based on the trained models by using “trainlm” and “trainbr” functions and the diameters Dvtc of all the checked virtual cylinders can meet the measuring accuracy requirements of the circumference diameters, and from Figure 8(b), we can know that the RMSE values obtained based on the trained models by using “trainbr” function and the diameters Dvtc of all the checked virtual cylinders can meet the measuring accuracy requirements of the area diameters, and except for the checked virtual cylinder with a diameter Dvtc of 15mm, the RMSE values obtained based on the trained models by using “trainlm” function and the diameters Dvtc of all the other checked virtual cylinders can meet the measuring accuracy requirements of the area diameters. From Figure 9, we can know that the RMES values obtained based on the trained models by using “trainbr” functions and the diameters Dvtc of all the checked virtual cylinders can meet the measuring accuracy requirements of the volume diameters.In conclusion, for three kinds of calculated sizes, their evaluation based on the neural network regression models trained by using “trainbr” function is feasible and has higher evaluation accuracy.


## 4.3. Results Analysis

For further analyzing the results above, we took the neural network regression curves of the calculated sizes of the virtual cylinder with the diameterDvt of 36mm and the checked virtual cylinder with the diameter Dvtc of 22.5mm as an example of evaluating the calculated sizes using the neural network regression models trained by using “tainbr” function. For 835 roundness profiles of 49 cylinders with a nominal size of 40mm, Figures 10(a), 10(c), and 10(e) are the regression curves between the outputs and their corresponding targets, where the outputs are the calculated sizes obtained based on the trained models and the pseudo calculated sizes of the virtual cylinder with the diameter Dvt of 36mm, and the targets are their corresponding actual calculated sizes. Figures 10(b), 10(d), and 10(f) are the distribution histograms of the errors between the outputs and their corresponding targets.Figure 10
Regression curves and histograms of the trained calculated sizes based on the virtual cylinder with a diametersDvt of 36mm and the “tainbr” function.
(a)
Regression curve forDP (b)
Errors histogram forDP (c)
Regression curve forDA (d)
Errors histogram forDA (e)
Regression curve forDV (f)
Errors histogram forDVFor the 260 roundness of 14 cylinders with a nominal size of 25mm, Figures11(a), 11(c), and 11(e) are the regression curves between the outputs and their corresponding targets, where the outputs are the calculated sizes obtained based on the same trained models above and the pseudo calculated sizes of the virtual cylinder with the diameter Dvt of 22.5mm, and the targets are their corresponding actual calculated sizes. Figures 11(b), 11(d), and 11(f) are the distribution histograms of the errors between the outputs and their corresponding targets.Figure 11
Regression curves and histograms of the trained calculated sizes based on the virtual cylinder with a diametersDvt of 22.5mm and the “tainbr” function.
(a)
Regression curve forDP (b)
Errors histogram forDP (c)
Regression curve forDA (d)
Errors histogram forDA (e)
Regression curve forDV (f)
Errors histogram forDVFrom Figure10, the regressions between the targets and the outputs have good linearity, and their errors are very small for 835 roundness profiles of 49 cylinders, which have very high evaluation accuracy. Comparing the regressions and errors in Figures 10 and 11, owing to the fact that the outputs in Figure 10 were obtained by using the neural network regression models based on their roundness profiles and the outputs in Figure 11 were obtained by using the neural network regression models in Figure 10, the regression linearity in Figure 10 is higher than those of their corresponding regressions in Figure 11, and the absolute values of the errors in Figure 10 are less than those of the corresponding errors in Figure 11. Even so, except for one error’s absolute value of the volume diameter in Figure 11 which is greater than 0.1μm, the absolute values of all the other errors in Figure 11 are far less than 0.1μm. Therefore, the evaluation of the calculated sizes based on the trained neural network regression models and the pseudo calculated sizes is feasible and has higher evaluation accuracy.


## 5. Conclusions

Based on the cylindrical coordinate measuring principle, the evaluation models of calculated sizes, such as circumference diameter, area diameter, and volume diameter, were established, by which the pseudo calculated sizes of the virtual cylinders and the checked virtual cylinders and their corresponding actual sizes of the actual cylinders were evaluated. The regression models between the pseudo calculated sizes of the virtual cylinder and their corresponding actual calculated sizes were obtained through a series of neural network training, which were checked by using the calculated sizes of the checked virtual cylinders and their actual corresponding cylinders. The trained and checked experiments for the trained models showed that the neural network regression models trained by using “trainbr” function were better than those trained by using “trainlm” and “trainscg” functions, and the errors between the calculated sizes obtained based on the models trained by using “trainbr” function and the actual calculated sizes were less than 0.1μm, which indicated the evaluation method of the calculated sizes based on the neural network regression models is feasible and has higher measuring accuracy.



---

*Source: 4078456-2018-10-02.xml*