Next Article in Journal
Influence of Thickness on the Magnetic and Magnetotransport Properties of Epitaxial La0.7Sr0.3MnO3 Films Deposited on STO (0 0 1)
Previous Article in Journal
Preparation and Characterization of Silver-Iron Bimetallic Nanoparticles on Activated Carbon Using Plasma in Liquid Process
Previous Article in Special Issue
Angstrom-Scale Active Width Control of Nano Slits for Variable Plasmonic Cavity
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Generation of Reference Softgauges for Minimum Zone Fitting Algorithms: Case of Aspherical and Freeform Surfaces

1
Laboratoire Commun de Métrologie (LNE-CNAM), 1 Rue Gaston Boissier, 75015 Paris, France
2
Université Paris-Saclay, Université Sorbonne Paris Nord, ENS Paris-Saclay, LURPA, 91190 Gif-sur-Yvette, France
3
Department of Mechanical Engineering, College of Engineering, Prince Sattam bin Abdulaziz University (PSAU), Alkharj 16273, Saudi Arabia
*
Author to whom correspondence should be addressed.
Nanomaterials 2021, 11(12), 3386; https://0-doi-org.brum.beds.ac.uk/10.3390/nano11123386
Submission received: 26 October 2021 / Revised: 3 December 2021 / Accepted: 7 December 2021 / Published: 14 December 2021
(This article belongs to the Special Issue Nano-Optics: Novel Research on Theory and Applications)

Abstract

:
Optical aspherical lenses with high surface quality are increasingly demanded in several applications in medicine, synchrotron, vision, etc. To reach the requested surface quality, most advanced manufacturing processes are used in closed chain with high precision measurement machines. The measured data are analysed with least squares (LS or L2-norm) or minimum zone (MZ) fitting (also Chebyshev fitting or L-norm) algorithms to extract the form error. Performing data fitting according to L-norm is more accurate and challenging than L2-norm, since it directly minimizes peak-to-valley (PV). In parallel, reference softgauges are used to assess the performance of the implemented MZ fitting algorithms, according to the F1 algorithm measurement standard, to guarantee their traceability, accuracy and robustness. Reference softgauges usually incorporate multiple parameters related to manufacturing processes, measurement errors, points distribution, etc., to be as close as possible to the real measured data. In this paper, a unique robust approach based on a non-vertex solution is mathematically formulated and implemented for generating reference softgauges for complex shapes. Afterwards, two implemented MZ fitting algorithms (HTR and EPF) were successfully tested on a number of generated reference pairs. The evaluation of their performance was carried out through two metrics: degree of difficulty and performance measure.

1. Introduction

Conformance assessment of manufactured parts to design tolerance specification is a major activity in the quality control process. Traceable ultra-high precision coordinate measuring machines (CMMs) to the SI metre definition are usually deployed to generate a set of data points lying on the artefact’s surface [1]. The recorded data will be processed in order to infer information about the measured surface. This task becomes difficult when it comes to the measurement of aspherical and freeform surfaces due to their complex geometry. Different factors could greatly affect the machine uncertainty, namely, the work piece, the hardware of the CMMs, the sampling strategy, the fitting algorithms, etc. [1,2,3]. Fitting could be defined as the process of determining parameters of the geometric features that best describe the measured data according to a defined criterion. This geometric element is called “associated feature” [4]. Different criteria could be used, including least squares (LS) (or Gaussian, or L2-norm fitting), minimum zone (MZ) (or minimax, Chebyshev, L-norm fitting) and one-sided measures, such as minimum circumscribed (MC) or maximum inscribed (MI) elements. While the two least criteria are well adapted for circular or cylindrical features, the former ones could be applied for almost all shapes. Least squares criterion, which is more adapted when random measurement errors predominate, originates from maximum likelihood theory [5]. It is the most widely used criterion in industry and most fitting commercial software relies on it. However, in the accept/reject process, LS fitting may not give complete information and may cause the rejection of conforming parts. Therefore, the use of MZ fitting reflects the functional requirements of measured parts. This criterion is appropriate when measuring errors are small compared to manufacturing ones. Moreover, MZ is considered as the default fitting criterion in the ISO geometrical product specification (GPS) [6,7]. Once the MZ value is found, a measure of variability must be set and the part will be accepted if the measure is below design limits. The commonly used measure is the peak-to-valley (PV), which is the difference between maximum and minimum form deviations. Unlike LS fitting methods, the implementation of MZ fitting methods is challenging, since it directly minimizes the peak-to-valley (PV) [8].
For metrology of aspherical and freeform surfaces, a few reference fitting algorithms have recently been developed. Key characteristics of reference fitting algorithms were outlined in [8]. Thus, it is stated that they must:
  • perform well for representative data
  • work sensibly for unrepresentative data and be able to detect extreme cases
  • perform efficiently in poor cases
Despite its importance, performance in terms of execution time is not the first characteristic sought for reference MZ fitting algorithms. However, as reported in [2] the algorithm must be stable and robust. The stability means that the underlying numerical operations are numerically stable. For example, small perturbations in input data must only result in small perturbations in output. Robustness refers to the algorithm ability to handle extreme cases.
To establish the traceability chain for datasets analysis with a small uncertainty (below the nanometre level), the validation of implemented reference MZ fitting algorithms becomes indispensable in order to make sure that the returned values are correct. There exist two methods to assess the correctness of the values returned by MZ fitting algorithms [9,10,11,12], namely type F1 algorithm measurement standard (using reference softgauges pair) and type F2 algorithm measurement standard (using reference algorithm) [11].
For complex geometries, an approach based on type F1 was presented in [13]. However, the proposed method generates reference softgauges with vertex solution only. Meanwhile, non-vertex solution occurs in practice as reported in [1,14].
In this article, the validation of MZ fitting algorithms using reference softgauges is discussed. Section 2 introduces the MZ fitting optimisation problem, and Section 3 investigates the validation procedures. The problem is mathematically formulated in Section 4, while a general approach is given in Section 5 on the generation of reference softgauges based on a non-vertex solution for the case of complex shapes. Numerical validation on two implemented fitting algorithms (exponential penalty function (EPF) and hybrid trust region (HTR)) is carried out in Section 6. Two metrics to determine the degree of difficulty and the performance measure are given in Section 7, so as to assess the performance of MZ fitting algorithms.

2. Data Fitting

LS or MZ fitting are considered as an optimisation problem. Given a set of N data points, { P i } 1 i N , let f ( X ^ , s ) = 0 is the generic equation describing the shape of the measured surface where X ^ is the space vector ( X ^ = ( x ^ , y ^ , z ^ ) in Cartesian coordinates) and s denotes the shape parameters. For each point   P i , one could associate its orthogonal projection on the nominal surface denoted by Q i . d i = P i Q i , where . is the Euclidean norm, which defines the orthogonal distance between the measured data points P i and the nominal surface, known as form deviation (Figure 1).
The objective function to minimize for LS (resp. MZ) is given in (1) (resp. (2)). x = ( m ,   s ) n could be either the set of intrinsic shape parameters s , the motion parameters m : rotation and translation applied to { P i } , or both.
m i n x i = 1 N ( P i Q i ) 2  
m i n x m a x 1 i N P i Q i
The formulations (1) and (2) represent different mathematical properties. Those problems were extensively studied for simple geometries and a number of techniques were developed, as reported in [15,16,17,18]. Existing methods like variants of the Gauss–Newton [8] could be applied to solve the smooth least squares objective function. The objective function in the second MZ problem (2) is not differentiable; thus, a number of differentiable optimization techniques cannot be applied. Numerous MZ fitting methods were suggested for the case of straightness, flatness, roundness and cylindricity tolerances [19,20,21]; however, rare methods were proposed for the MZ fitting of complex shapes. Nevertheless, some attempts were made in [22,23,24], where techniques such as smoothing functions, primal-dual interior point methods or differential evolution algorithms were adapted to aspherical shapes.

3. Validation of MZ Fitting Algorithms

The need for fitting algorithm validation in metrology was initiated and supported in [3,12]. The aim is to ensure that MZ fitting algorithms return correct values. One methodology to assess the results returned by metrology algorithms is to use a reference pair. This methodology known as “Type F1 algorithm measurement standards” is defined in ISO 5436-2 2012 [11]. Even if this Type F1 standard is common in surface texture domain, its concept could be extended to MZ fitting algorithms. Type F1 standards could be considered as a numerical representation of the measured part to which we associate a reference measure and value known with a given uncertainty. For the evaluation, reference softgauges are inputted to the metrology algorithm under test, the returned value is compared to the reference measure, and then a decision could be made as to whether the metrology algorithm is accepted or rejected (Figure 2).
A second methodology to evaluate metrology algorithms is based on the use of reference algorithms defined in ISO 5436-2 2012 as “Type F2 algorithm measurement standards” [11]. There are traceable metrology algorithms against which the tested algorithm will be compared. A common set of data points is submitted to both metrology algorithms (reference algorithm and algorithm under test) and the two results are then compared in order to take an accept/reject decision (Figure 3). Reference algorithms do not exist for a wide range of applications in metrology. Their development is not always straightforward, especially for applications such as MZ fitting.
For MZ fitting, Forbes et al. [1] developed a method for the generation of reference softgauges with vertex solution. Similarly to LS fitting, the Karush–Kuhn–Tucker (KKT) optimality conditions for the MZ fitting problem are indispensable and the data points are generated such as to meet the number of conditions reported by Boyd et al. [25]. A set of points are selected on the nominal shape, such that the linear independence constraint qualification (LICQ) of the problem holds [26]. Then, equations resulting from KKT conditions are solved in order to determine the Lagrangian multiplier [25]. If the resulting Lagrange multipliers are not positive (dual feasibility does not hold), a new set of data points are chosen and the procedure is repeated. Once the dual feasibility condition is satisfied, the contacting points are constructed and additional random points are generated on the surface. A flowchart describing the proposed approach is illustrated in Figure 4.

4. Mathematical Formulation of the Reference Softgauges Generation for MZ Fitting

Based on Figure 5, MZ fitting is formulated as a nonlinear programming (3).
m i n x , e   e such that : e d i ( x ) e   i { 1 , , N }
where e 0 is the form error, N the number of measured points and   d i = P i Q i .
The problem (3) could be formulated in the standard form given in (4).
m i n y   f ( y ) subject to C i ( y ) = { C i + ( y ) 0 C i ( y ) 0 i   { 1 ,   , N }
where y = ( e , x ) n + 1 , C i + ( y ) = e d i ( x ) , C i ( y ) = e + d i ( x ) and f ( y ) = e .
Let y * be a local minimum of the problem (4). Hence,   y * could be feasible when it satisfies the condition C i ( y * ) 0 ,   i   { 1 ,   , N } .
At a feasible point y * ,
{ C i ( y * ) = 0       i t h   c o n s t r a i n t   i s   a c t i v e     C j ( y * ) > 0       j t h   c o n s t r a i n t   i s   i n a c t i v e
An active constraint could be interpreted as a point belonging to the measured data for which the distance to the reference surface is equal to the form error (“a contacting point to the enclosing envelope”) as illustrated in Figure 5. Whereas, this distance is lower than the form error for inactive constraint.

4.1. Vertex vs. Non-Vertex Solution

A solution y * is said to be vertex if the number of active constraints is greater or equal to   n + 1 ( n is the number of unknowns parameters). If the number of active constraints is strictly less than n + 1 ,   y * is said to be a non-vertex solution. By definition, a constraint C ( y ) 0 is active at y * only if C ( y * ) = 0 .
For canonical surfaces, the MZ fitting is almost formulated as a linear programming [26] and the solution could be at some vertex of the feasible domain (Figure 6). For complex surfaces, the solution could be either at some vertex of the feasible domain, or at a face or an edge (non-vertex solution (Figure 7)).
If at P * there can be no binding feasible descent direction (Figure 5), then P * solves the equality constrained sub-problem in (6).
m i n y   f ( y ) subject   to   C i ( y ) = 0 ,     i   ϵ   I *
where I * is the set of active constraint.
Therefore, P * is considered as a local solution of the equality constrained problem (6), in particular when there exist Lagrangian multipliers λ * for which ( P * , λ * ) is a stationary point of the Lagrangian L ( x , λ ) defined in (7).
L ( x , λ ) = f ( x ) Σ i I * λ i C i ( x )          
Considering the first order derivative of Lagrangian L ( x , λ ) , both λ * and P * should satisfy the KKT Equation (8).
{ x f ( P * ) = i I * λ i * x C i ( P * ) C i ( P * ) = 0 ,         i I *

4.2. Optimality Conditions

If the number p (belongs to I * ) of active constraints is less than n (number of unknowns parameters), let Z = z ( a ) be the n × ( n p ) orthogonal complement to C * the matrix of gradients a C i ,   i I * , so that Z t C * = 0 . Hence, the second order optimality conditions are required.
  • The necessary conditions for P * to be a local minimiser are:
     feasibility: C i ( p i * ) 0   i { 1 ,   , N }
     first order: if I * is the set of active constraints at p * , there exist a Lagrangian multiplier λ * for which:
    { x f ( P * ) = i I * λ i * x C i ( P * ) λ i * 0 ;   i I *  
     second order: if p < n , the matrix Z ( P * ) t W ( P * , λ * ) Z ( P * ) is positive semi-definite ( W is the Hessian matrix of the Lagrangian (7)).
  • The sufficient conditions for P * to be a local minimizer under constraint qualification are:
     feasibility: C i ( P * ) 0   i { 1 ,   , N }
     first order: if I * is the set of active constraints at P * , there exist a Lagrange multiplier λ * for which:
    { x f ( P * ) = i I * λ i * x C i ( P * ) λ i * > 0 ;   i I *  
     Second order: if p < n , the matrix Z ( P * ) t W ( P * , λ * ) Z ( P * ) is positive definite.

4.3. Reference Softgauges Generation for Complex Surfaces: Aspherical Shapes

A method to generate reference softgauges is introduced for the case of complex surfaces when motion parameters are sought. Since the aspherical lenses are rotationally symmetric surfaces, only five motion parameters are unknown   x = { T X ,   T Y , T Z ,   θ X ,   θ Y } (translations in X, Y and Z directions as well as rotations around X- and Y-axis), then a non-vertex solution consists of, at most, five contacting points (active constraints). The proposed algorithm includes 7 steps as follows:
Step 1: five points { Q i * } i = 1 , .. , 5 are randomly selected on the nominal aspherical surface (Figure 5). These points represent the orthogonal projections of the contacting points { P i * = ( x i * ,   y i * ,   z i * ) } i = 1 , .. , 5 onto the nominal shape.
Step 2: an index α i { 0 , 1 } is associated to each point in { Q i * } i = 1 , .. , 5 . A point with α i = 1 represents the orthogonal projection of a contacting point assigned to the lower surface   ( 𝒮 ) , i.e., for which d i ( Q i * ,   P i * ) = e . Those with α i = 0 are assigned to the upper   ( 𝒮 + ) i.e., for which d i ( Q i * ,   P i * ) = e ( e is the desired form error).
Step 3: verify that the gradient vectors of distances with respect to motion parameters d i ( Q i * ,   P i * ) are linearly independent. Otherwise, go to step 1. The gradient vectors are calculated using equations given from (11) to (15).
d i T X = ( 1 ) α i   n i , X
d i T Y = ( 1 ) α i   n i , Y
d i T Z = ( 1 ) α i n i , Z
d i θ X = ( 1 ) α i ( Q i * × n i ) . e X
d i θ Y = ( 1 ) α i ( Q i * × n i ) . e Y
where n i = ( n i , X ,   n i , Y ,   n i , Z ) is the normal vector to the nominal shape at the point { Q i * } i = 1 , .. , 5 , a × b defines the cross product of the two vectors a and b . e X (resp. e Y ) is the unit vector with respect to the X-axis (resp. Y-axis).
Step 4: determine Lagrangian multipliers λ * = ( λ 1 * , , λ 5 * ) by solving the quadratic programming given in (16).
m i n λ | | G λ b | |   s t .   λ 0
where G is a 6 × 5 matrix, such that G = ( g 1 ,   , g 5 ) , g i T = ( ( 1 ) α i d i T , 1 ) and b T = ( 0 , 0 , 0 , 0 , 0 , 1 ) . If | | G λ b | | > ϵ , where ϵ is a predefined parameter, go to step 1. This step represents the resolution of the equation resulting from KKT conditions of the problem given in (3) cited in [14].
Step 5: determine a nonzero null space vector p such that G T p = 0 .
Step 6: verify that p b T H p b > 0 where p b is the vector composed of the first five elements of p and H is the Hessian of the Lagrangian given in (17).
H = i = 1 5 ( 1 ) α i   λ i * 2 d i
If this condition is not satisfied, then go to step 1. Otherwise, calculate contacting points coordinates by setting P i * = Q i * + ( 1 ) α i e n i   ( i = 6 , .. , N ) .
Step 7: generate additional random points { P i } i = 6 , .. , N such that P i = Q i + θ i n i with { θ i } i = 6 , , N is a set of randomly selected numbers in the domain [ e ,   e ] .
It is worth mentioning that the proposed robust reference softgauges algorithm could work on all complex surfaces, as the only required knowledge is the normal vector with respect to the X-, Y- and Z-axis. Furthermore, the developed approach could be applied to continuous nominal shape described by a mathematical model or to discrete high accurate measured dataset.

5. Hybrid Trust Region vs. Exponential Penalty Function for Minimax Fitting

5.1. Hybrid Trust Region (HTR) Algorithm

The hybrid trust region algorithm consists of performing either the trust region step, line search step or curve search step, according to the specific situation faced at each iteration [8,27,28]. It enables one to avoid having to solve the trust region problem many times. Each iteration relies on obtaining a trust region trial step d k by solving the following quadratic problem (QP) given in (18).
m i n ( d ϵ n + 1 ) 1 2 < d , B k d > + z = M k ( d , z ) ,   S . t < f i ( x k , d ) > z ϕ ( x k ) f i ( x k ) ,     i = 1 , , m                         d k Δ k
B k is ( n × n ) symmetric definite matrix, Δ k is user-defined coefficient of the domain of the trust region, z is a parameter that depends on the first derivative of φ , meanwhile < . , . > is the dot product. The trust region domain is defined using MZ instead of LS; thus, QP becomes easily solved. The QP in (18) always has a solution, since (0,0) lies inside the feasible domain. This QP could be solved using adapted methods, such as interior point method [25]. If the resulting trust region trial step d k could not be accepted, a corrected step d k + d ˜ k is determined by solving the QP in (19).
{ min ( d ˜ ϵ n + 1 ) 1 2 < d k + d ˜ , B k ( d k + d ˜ ) > + z ˜ = M k ˜ ( d ˜ , z ˜ ) , S . t < f i ( x k , d ˜ ) > z ˜ ϕ ( x k + d k ) f i ( x k + d k ) ,     i = 1 , , m d k + d ˜ = Δ k
If the corrected d k + d ˜ k is not accepted in the trust region scheme, then a line search or curve search along d k is performed when d k is a descent direction r k > 0 . If ( r k 0 ) , a step length is sought by performing a curve search that verifies (20).
{ ϕ ( x k + t k d k + t k 2 d ˜ k ) ϕ ( x k ) α t k < d k , B k d k > α   [ 0 , 1 2 ]
d k is the solution of (18) and d ˜ k is the solution of (19). In this case, d k d ˜ k ,     d ˜ k should be taken to be 0. Additional details are discussed in [8,28] and the following flowchart (Figure 8) illustrates how the HTR algorithm performs.

5.2. Exponential Penalty Function (EPF) Algorithm

Exponential penalty function is a technique that aims at approximating the non-smooth objective function in the MZ fitting by a parameterized smooth function. The resulting smooth function is optimized using Newton-based methods [23,27,29]. Let (21) be the approximation function, { d i ( x ) } are the set of distances between the measured data and the reference surface.
m i n x Φ M Z = m a x 1 i N d i ( x )
Let F p be the continuously differentiable approximation function and ( p > 0 ) the smoothing parameter, as in (22). One can demonstrate the inequality given in (23).
F p = 1 p L o g ( i = 1 N exp ( p d i ( x ) ) )
x n ,     F ( x ) F p ( x ) F ( x ) + L o g N p
When the value of p goes to infinity, F p converges to F . For a given value of the smoothing parameter p , minimisation of F p is carried out through derivative-based methods. Once the optimum of F p is found, p is multiplied by a user-defined coefficient, and a new approximation function is formulated. This process is repeated until the resulting approximation function F p becomes sufficiently close to the original objective function F .

5.3. Numerical Validation on Aspherical Shapes and Discussion

The developed method for reference softgauges generation based on a non-vertex solution is applied for the case of aspherical shapes. An asphere could be defined as a rotationally symmetric surface with a radius of curvature that varies gradually from the centre of the lens (Figure 9). Optical aspherical surfaces are very popular in the domain of optical design regarding their superiority over classical spherical lenses, as well as advancements made in manufacturing techniques [30]. Several formulations could be employed for the description of asphere; however, the most widely used is the one given in ISO 10110-12:2007 [30] called monomial formulation, given in (24). This formulation depends on the sag of the surface parallel to the radial symmetric axis z , radius r , radius of curvature R , conic constant κ and monomial coefficients a 2 m + 4 .
z ( r ) = r 2 R ( 1 + 1 ( 1 + κ ) r 2 R 2 ) + m = 0 M a 2 m + 4   r 2 m + 4
Three configurations are selected, as given in Table 1. For each configuration, a dataset with predefined number of points N = { 10 , 404 ,   50 , 024 ,   100 , 489 } and M Z r e f = 10 4   mm are generated to evaluate the performance of the two implemented MZ fitting algorithms (HTR and EPF).
The corresponding PV values respectively P V E P F (or MZEPF) and P V H T R (or MZHTR), as well as execution time, respectively T E P F and T H T R , are compared with respect to the methodology presented in Figure 10. Initial data is rotated by angle π/20 around X-axis and π/15 around Y-axis, as well as translated by 1   mm in X-axis, 1   mm in Y-axis and 1   mm in Z-axis. Both HTR and EPF algorithms were implemented on a computer based on Intel Core i7/x64 platform with 16 GB of RAM and a 2.30 GHz processor.
Nine reference aspherical softgauges were generated and Figure 11 and Figure 12 illustrate only one generated softgauges with five contacting points. Each generated softgauge was submitted to both HTR and EPF fitting algorithms, and Table 2, Table 3 and Table 4 summarize the returned results of MZ-MZref and the execution time for configurations I, II and III.
According to Table 2, Table 3 and Table 4, it seems that HTR and EPF fitting algorithms return quite similar results of MZ, accurate at the sub-nanometre level, with a noticeable upper hand of HTR when the execution time is regarded. This is due to EPF approximation of the non-smooth objective function in the MZ fitting by one parametrized smooth function. Then, the applied Newton method requires the computation of the Hessian matrix, which is proportional to the number of points in the softgauges. Moreover, the accuracy of the obtained descent direction is not always guaranteed. Hence, corrections must be brought to the Hessian matrix whenever needed.
Regarding the HTR algorithm, the matrix B k is chosen to be symmetric positive definite while setting up the QP, through Powell modification BFGS (Broyden–Fletcher–Goldfarb–Shanno) formula. Therefore, there is no need to compute the second order derivation terms, which considerably reduces the execution time.

6. Difficulty Degree and Performance Measure

Measuring an algorithm quality could be established by setting a framework, including: (1) the preconditions for quality measurement, (2) the analysis strategy of the meaningfulness of quality measures, as well as (3) the interpretation and use of the measured values [31].
The degree of difficulty was discussed by Cox and Harris in [32]. It aims at defining a quantity associated to each dataset that indicates at which level the generated reference softgauges challenge the algorithm under test. Thus, the methodology of testing metrology MZ fitting algorithms consists of generating datasets with increasing difficulty number. The output of the algorithm under test is assessed using a performance measure on each set. Therefore, the degree of difficulty could be sought as the difficulty to converge to a global optimum. Usually, the selected feature could help in predicting the difficulty of the MZ fitting problem. It regroups: (1) the nature of the solution, (2) the number of points affecting tremendously both execution time as well as the accuracy, (3) the initial position of the measured data compared to the final position.
The suggested degree of difficulty denoted by λ is given in (25).
λ = β 1 V + β 2 N N 0 + β 3 Θ Θ 0
where β 1 , β 2 and β 3 are user-defined parameters, such that: i = 1 3 β i = 1 , V is a binary variable that indicates whether the set of data is vertex or non-vertex, N is the number of the data points in the set and N 0 is the maximum number of points that could be handled by the algorithm under test. Θ is the measure of the initial position. Θ 0 is the estimation of the maximum initial alignment, calculated by taking the norm of the vector of maximum permissible translation and rotation.
The performance measure For MZ fitting could be considered as the difference between the minimum zone value returned by the algorithm under test and the reference value. When execution time is involved, the performance measure could combine both result accuracy and execution time. In addition, the heuristic/deterministic aspect of the algorithm under test should be considered, because deterministic algorithms are more appreciated for metrology software. The latter requirement could be assembled in a sample of performance measure denoted η given in (26).
η = α 1 f 1 ( E , λ ) + α 2 f 2 ( T , λ ) + α 3 f 3 ( Δ , λ )
where   α 1 , α 2 and α 3 are user-defined parameters, such that: i = 1 3 α i = 1 . The expression of the functions f 1 , f 2   and f 3 are given in (27)–(29), respectively.
f 1 ( E , λ ) = { E 0 ( λ ) E ,   i f   E > E 0 ( λ ) 1       ,   otherwise
f 2 ( T , λ ) = { T 0 ( λ ) T ,   i f   T > T 0 ( λ ) 1       ,   otherwise
f 3 ( Δ , λ ) = { 0       ,   if   heuristic 1       ,   if   deterministic
E 0 and T 0 are the recommended error and execution time of each value of the number of difficulty, while T and E are the actual execution time and the MZ value.
Figure 13 illustrates the performance of a given MZ fitting algorithm under test, as well as the acceptance domain for reference algorithms and operating ones. Since an algorithm of reference and an operating one do not have the same operational requirements, these two types of algorithms present two different characteristics in the degree of difficulty and performance measure domain.

7. Analysis of the Results and Discussion

With the aim of defining the weights associated to the samples of performance measure and the degree of difficulty, a survey was conducted involving 45 engineers and researchers from industrial and academic fields, NMIs (National Metrology Institutes) and others.
The survey is based on questions regarding how important it is that an algorithm gives accurate results, runs in short time and returns deterministic or heuristic results. Then, the weights α 1 , α 2 and α 3 were estimated based on the survey’s answers (Table 5).
EPF is considered as an operating algorithm and the determination of β 1 ,   β 2 and β 3 is given as follow: β 1 = 0.5 , β 2 = 0.5 and β 3 = 0   (since the coarse fitting has taken place before proceeding to fine fitting). The recommended execution time and the form error were determined through L 2 - fitting (LS).
The function that determines the accepted limits could be formulated as a convex combination of the form t b + ( 1 t ) a , where a is the performance measure of the algorithm under test for the first set, b = a ϵ , ϵ is the user-defined coefficient and t [ 0 , 1 ] .
The obtained performance measure results are presented in Figure 14. Therefore, HTR is as stable as an algorithm of reference could be. This is due to its accurate M Z H T R values and the execution time that was not affected by the number of points in the dataset. EPF is unstable with an increased degree of difficulty, as it is sensitive to the number of points in the dataset.
Nevertheless, vertex or non-vertex solution cannot be the only concern when constructing reference softgauges for MZ fitting. There are still some requirements needed before proceeding to softgauges generation; in particular, the scope and characteristics of the algorithm under test must be clearly identified. Then the abilities claimed by the algorithm should be determined so that task-specific data points are generated and the algorithm to test is not “disfavoured”.
These characteristics may include:
  • Uniqueness of the solution: generated reference softgauges must have a unique associated reference solution [33]. For fitting problems, reference softgauges with two different “substitute geometry” will be problematic, especially if these geometries will be taken as datum. These situations must be avoided when generating reference softgauges.
  • Number of points: the number of points contained in the reference softgauges must not exceed the maximum number of points that could be handled by the algorithm.
  • Initial alignment: initial position of measured data highly affects the performance of MZ fitting algorithms. Some algorithms could only perform if the input data are close to the solution position.
  • Error-free: validation of metrology MZ fitting algorithms must be performed in the perfect operator approximation. This means that measuring errors (or errors from any origin) must not be embedded in constructed data. Adding measuring errors to the reference softgauges might induce some difficulties, since we cannot tell whether inaccuracy results from measurement or processing.
  • Stability: a small perturbation in the designed data must not affect the reference value of the measurand. The analysis of an MZ fitting algorithm stability was related to the values of Lagrangian multipliers [11,34].
  • Uncertainty: it should be associated to reference softgauges. Considering the data coordinates ( x i * ,   y i * , z i * ) and targeted form error e t expressed in double precision as well as the LICQ and dual feasibility conditions satisfied, the actual value of form error e is given in (30).
e = ( x i x i * ) 2 + ( y i y i * ) 2 + ( z i z i * ) 2
with x i = x i * + e t n i , X , y i = y i * + e t n i , Y and z i = z i * + e t n i , Z
Uncertainties of x i * ,   y i *   and   z i * and e t depend on the accuracy of the machine architecture, while uncertainties of x i ,   y i ,   z i , n i , X , n i , Y and n i , z could also be calculated analytically using propagation rules. Thus, the uncertainty of the actual form error e denoted by u ( e ) could be estimated.

8. Conclusions

In this paper, the generation of reference softgauges dedicated to the assessment of MZ fitting algorithms of complex shapes is provided. The developed robust approach is based on satisfying KKT first and second order optimality conditions before inferring reference softgauges with non-vertex solutions. It could be applied to continuous nominal shape described by a mathematical model or to discrete high accurate measured dataset.
The implemented approach based on a non-vertex solution was adopted and investigated for the case of aspherical shapes. Nine reference softgauges were generated with predefined number of points and M Z r e f = 10 4   mm . The reference softgauges were submitted to two implemented MZ fitting algorithms (HTR and EPF). Results show the conformance of the returned values of M Z H T R and M Z E P F with the reference measurand ones M Z r e f . However, the performance of the HTR fitting algorithm in terms of execution time is noticeable in comparison to the EPF one.
Two metrics were introduced to define the performance measure in the function of the degree of difficulty to measure the performance of an MZ fitting algorithm. As these two metrics contains some arbitrary variables, a survey based on a number of industrial and academic professionals has allowed us to determine these weights. An application on HTR and EPF fitting algorithms was carried out such as to measure their performances. The given results reveal that EPF performs poorly when the number of points is higher, especially when the execution time is taken into consideration.
Requirements of the generated reference softgauges were also discussed in this article. In fact, generated softgauges must be aligned with characteristics of the MZ fitting algorithm under test. Data points’ extraction, number of points, stability of the solution, etc. must be taken into account when generating softgauges. Most of the considered requirements need further research. Therefore, future work will mainly cover original methods for assessing the stability of generated softgauges, in particular for the case of complex shapes.

Author Contributions

Conceptualization, A.C.; Y.A.; A.V.; C.M.-S.; N.A.; B.A.; M.L.B. and H.N.; methodology, A.C.; Y.A.; A.V.; C.M.-S.; N.A.; B.A.; M.L.B. and H.N.; software, A.C. and Y.A.; validation, A.C. and Y.A.; formal analysis, A.C.; Y.A.; A.V.; C.M.-S.; N.A.; B.A.; M.L.B. and H.N.; investigation, A.C.; Y.A.; A.V.; C.M.-S.; N.A.; B.A.; M.L.B. and H.N.; resources, A.C.; Y.A.; A.V.; C.M.-S.; N.A.; B.A.; M.L.B. and H.N.; data curation, A.C. and Y.A.; writing—original draft preparation, A.C.; Y.A. and H.N.; writing—review and editing, A.C.; Y.A.; A.V.; C.M.-S.; N.A.; B.A.; M.L.B. and H.N.; visualization, A.C.; Y.A.; A.V.; C.M.-S.; N.A.; B.A.; M.L.B. and H.N.; supervision, N.A.; B.A.; M.L.B. and H.N.; project administration, B.A.; M.L.B. and H.N.; funding acquisition, B.A.; M.L.B. and H.N. All authors have read and agreed to the published version of the manuscript.

Funding

Deputyship for Research & Innovation, Ministry of Education in Saudi Arabia, project number 369.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The data presented in this study are available on request from the corresponding author.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Forbes, A.B.; Minh, H.D. Form Assessment in Coordinate Metrology; Springer: Singapore, 2011; pp. 69–90. [Google Scholar]
  2. Anthony, G.T.; Bittner, B.; Butler, B.P.; Cox, M.G.; Drieschner, R.; Elligsen, R.; Forbes, A.B.; Gross, H.; Hannaby, S.A.; Harris, P.M.; et al. Chebyshev Reference Software for the Evaluation of Coordinate Measuring Machine Data, October 1993, Report/Guide (Technical Report); Commission of the European Communities: Brussels, Belgium, 1993. [Google Scholar]
  3. Cheung, C.; Ren, M.; Kong, L.; Whitehouse, D. Modelling and analysis of uncertainty in the form characterization of ultra-precision freeform surfaces on coordinate measuring machines. CIRP Ann. 2014, 63, 481–484. [Google Scholar] [CrossRef]
  4. Hopp, T.; Levenson, M. Performance-Measures for Geometric Fitting in the NIST Algorithm Testing and Evaluation Program for Coordinate Measurement Systems. J. Res. Natl. Inst. Stand. Technol. 1995, 100, 563–574. [Google Scholar] [CrossRef] [PubMed]
  5. Monahan, J.F. Numerical Methods of Statistics; Cambridge University Press: Cambridge, UK, 2001. [Google Scholar]
  6. Hutzschenreuter, D.; Härtig, F.; Wendt, K.; Lunze, U.; Löwe, H. Online Validation of Chebyshev Geometric Element Algorithms Using the TraCIM-System. J. Mech. Eng. Autom. 2015, 5, 94–111. [Google Scholar]
  7. Al-Subaihi, I.; Watson, G.A. The Use of the l1 and l∞ Norms in Fitting Parametric Curves and Surfaces to Data. Appl. Numer. Anal. Comput. Math. 2004, 1, 363–376. [Google Scholar] [CrossRef]
  8. Arezki, Y.; Nouira, H.; Anwer, N.; Mehdi-Souzani, C. A novel hybrid trust region minimax fitting algorithm for accurate dimensional metrology of aspherical shapes. Measurement 2018, 127, 134–140. [Google Scholar] [CrossRef]
  9. Bui, S.H.; Vorburger, T.V. Surface metrology algorithm testing system. Precis. Eng. 2007, 31, 218–225. [Google Scholar] [CrossRef]
  10. Linares, J.; Goch, G.; Forbes, A.; Sprauel, J.; Clément, A.; Haertig, F.; Gao, W. Modelling and traceability for computationally-intensive precision engineering and metrology. CIRP Ann. 2018, 67, 815–838. [Google Scholar] [CrossRef]
  11. ISO. ISO 5436-2:2012—Geometrical Product Specifications (GPS) Surface Texture: Profile Method; Measurement Standards—Part 2: Software Measurement Standards; ISO: Geneva, Switzerland, 2012. [Google Scholar]
  12. Forbes, A.B.; Minh, H.D. Generation of numerical artefacts for geometric form and tolerance assessment. Int. J. Metrol. Qual. Eng. 2012, 3, 145–150. [Google Scholar] [CrossRef]
  13. Arezki, Y.; Mehdi-Souzani, C.; Anwer, N.; Nouira, H. Reference data simulation for L∞ fitting of aspheres. Procedia CIRP 2018, 75, 331–336. [Google Scholar] [CrossRef]
  14. Murthy, T.; Rao, S.; Peters, J. A Simple Approach for Evaluation of Cylindrical Surfaces. CIRP Ann. 1981, 30, 441–444. [Google Scholar] [CrossRef]
  15. Shunmugam, M. Comparison of linear and normal deviations of forms of engineering surfaces. Precis. Eng. 1987, 9, 96–102. [Google Scholar] [CrossRef]
  16. Murthy, T.S.R. A comparison of different algorithms for cylindricity evaluation. Int. J. Mach. Tool Des. Res. 1982, 22, 283–292. [Google Scholar] [CrossRef]
  17. Nouira, H.; Bourdet, P. Evaluation of roundness error using a new method based on a small displacement screw. Meas. Sci. Technol. 2014, 25, 044012. [Google Scholar] [CrossRef] [Green Version]
  18. El-Hayek, N.; Nouira, H.; Anwer, N.; Gibaru, O.; Damak, M. A new method for aspherical surface fitting with large-volume datasets. Precis. Eng. 2014, 38, 935–947. [Google Scholar] [CrossRef] [Green Version]
  19. Gosavi, A.; Cudney, E. Form Errors in Precision Metrology: A Survey of Measurement Techniques. Qual. Eng. 2012, 24, 369–380. [Google Scholar] [CrossRef]
  20. Murthy, T.; Abdin, S. Minimum zone evaluation of surfaces. Int. J. Mach. Tool Des. Res. 1980, 20, 123–136. [Google Scholar] [CrossRef]
  21. Shunmugam, M.S. New approach for evaluating form errors of engineering surfaces. Comput. Aided Des. 1987, 19, 368–374. [Google Scholar] [CrossRef]
  22. Zhang, X.; Jiang, X.; Scott, P.J. A minimax fitting algorithm for ultra-precision aspheric surfaces. J. Phys. Conf. Ser. 2011, 311, 012031. [Google Scholar] [CrossRef] [Green Version]
  23. Zhang, X.; Zhang, H.; He, X.; Xu, M.; Jiang, X. Chebyshev fitting of complex surfaces for precision metrology. Measurements 2013, 46, 3720–3724. [Google Scholar] [CrossRef]
  24. Zhang, X.; Jiang, X.; Forbes, A.B.; Minh, H.D.; Scott, P.J. Evaluating the form errors of spheres, cylinders and cones using the primal–dual interior point method. Proc. Inst. Mech. Eng. Part B J. Eng. Manuf. 2013, 227, 720–725. [Google Scholar] [CrossRef]
  25. Boyd, S.; Vandenberghe, L. Convex Optimization; Cambridge University Press: Cambridge, UK, 2004; ISBN 9780521833783. [Google Scholar]
  26. Nocedal, J.; Wright, S. Numerical Optimization; Springer Science & Business Media: Berlin/Heidelberg, Germany, 2000. [Google Scholar]
  27. Arezki, Y.; Zhang, X.; Mehdi-Souzani, C.; Anwer, N.; Nouira, H. Investigation of minimum zone assessment methods for aspheric shapes. Precis. Eng. 2018, 52, 300–307. [Google Scholar] [CrossRef]
  28. Wang, F.W.A.C.; Wang, C. A New Trust-Region Algorithm for Finite Minimax Problem. J. Comput. Math. 2012, 30, 262–278. [Google Scholar] [CrossRef]
  29. Jørgensen, M. Software quality measurement. Adv. Eng. Softw. 1999, 30, 907–912. [Google Scholar] [CrossRef] [Green Version]
  30. ISO. ISO 10110-12:2007—Optics and Photonics—Preparation of Drawings for Optical Elements and Systems—Part 12: Aspheric Surfaces; ISO: Geneva, Switzerland, 2007. [Google Scholar]
  31. Butler, B.; Cox, M.; Forbes, A.; Hannaby, S.; Harris, P. A methodology for testing classes of approximation and optimization software. In Quality of Numerical Software; Springer: Boston, MA, USA; pp. 138–151.
  32. Cox, M.; Harris, P. Design and use of reference data sets for testing scientific software. Anal. Chim. Acta 1999, 380, 339–351. [Google Scholar] [CrossRef] [Green Version]
  33. Bertsekas, D.P. Nonlinear Programming. Athena Sci. 1995, 48, 334. [Google Scholar]
  34. Xiao, Y.; Yu, B. A truncated aggregate smoothing Newton method for minimax problems. Appl. Math. Comput. 2010, 216, 1868–1879. [Google Scholar] [CrossRef]
Figure 1. Definition of the form errors (or deviation errors).
Figure 1. Definition of the form errors (or deviation errors).
Nanomaterials 11 03386 g001
Figure 2. Illustration of the type F1 algorithm measurement standard.
Figure 2. Illustration of the type F1 algorithm measurement standard.
Nanomaterials 11 03386 g002
Figure 3. Illustration of the type F2 algorithm measurement standard.
Figure 3. Illustration of the type F2 algorithm measurement standard.
Nanomaterials 11 03386 g003
Figure 4. Flowchart describing the generation of reference softgauges for MZ fitting.
Figure 4. Flowchart describing the generation of reference softgauges for MZ fitting.
Nanomaterials 11 03386 g004
Figure 5. Illustration of five contacting points to the enclosing envelope. Three located on the upper bound and two on the lower bound.
Figure 5. Illustration of five contacting points to the enclosing envelope. Three located on the upper bound and two on the lower bound.
Nanomaterials 11 03386 g005
Figure 6. Representation of the vertex solution for the case of a linear programming involving the two variables X1 and X2.
Figure 6. Representation of the vertex solution for the case of a linear programming involving the two variables X1 and X2.
Nanomaterials 11 03386 g006
Figure 7. Representation of the non-vertex solution for the case of a nonlinear programming involving the two variables X1 and X2.
Figure 7. Representation of the non-vertex solution for the case of a nonlinear programming involving the two variables X1 and X2.
Nanomaterials 11 03386 g007
Figure 8. Flowchart of the hybrid trust region (HTR) algorithm.
Figure 8. Flowchart of the hybrid trust region (HTR) algorithm.
Nanomaterials 11 03386 g008
Figure 9. Description of aspherical shapes.
Figure 9. Description of aspherical shapes.
Nanomaterials 11 03386 g009
Figure 10. Comparison methodology (LM algorithm: Levenberg–Marquardt algorithm).
Figure 10. Comparison methodology (LM algorithm: Levenberg–Marquardt algorithm).
Nanomaterials 11 03386 g010
Figure 11. One generated reference softgauges with a non-vertex solution (five contacting points).
Figure 11. One generated reference softgauges with a non-vertex solution (five contacting points).
Nanomaterials 11 03386 g011
Figure 12. Illustration of the five contacting points (red and blue). Red indicates contacting points for which the form error is equal to e. Blue indicates form error equals to −e.
Figure 12. Illustration of the five contacting points (red and blue). Red indicates contacting points for which the form error is equal to e. Blue indicates form error equals to −e.
Nanomaterials 11 03386 g012
Figure 13. Performance measure vs. of degree of difficulty for a given algorithm under test.
Figure 13. Performance measure vs. of degree of difficulty for a given algorithm under test.
Nanomaterials 11 03386 g013
Figure 14. EPF vs. HTR performance in blue and red (respectively). In black: the fitted line defines the accepted limits of the performance measure.
Figure 14. EPF vs. HTR performance in blue and red (respectively). In black: the fitted line defines the accepted limits of the performance measure.
Nanomaterials 11 03386 g014
Table 1. Nominal values of the aspheric shapes parameters.
Table 1. Nominal values of the aspheric shapes parameters.
ConfigurationR (mm)ka4 (mm−3) a 6   ( m m 5 ) a 8   ( m m 7 ) a 10   ( m m 9 )
I19.79−0.9 1.5 × 10 17 7.55 × 10 18 3.77 × 10 18 1.88 × 10 19
II8.88−0.8 1.9 × 10 12 9.72 × 10 13 4.86 × 10 13 2.43 × 10 13
III4.14−0.9 4.1 × 10 12 2.08 × 10 12 1.04 × 10 12 5.21 × 10 13
Table 2. Values of MZ-MZref and execution time (s) for HTR and EPF (configuration I).
Table 2. Values of MZ-MZref and execution time (s) for HTR and EPF (configuration I).
N M Z H T R M Z R e f   ( m m ) M Z E P F M Z R e f   ( m m ) T H T R   ( s ) T E P F   ( s )
10,4041.78 × 10−164.51 × 10−1612.161.91
50,0241.71 × 10−164.78 × 10−1624.5135.71
100,4891.64 × 10−164.92 × 10−1641.51226.96
Table 3. Values of MZ-MZref and execution time (s) for HTR and EPF (configuration II).
Table 3. Values of MZ-MZref and execution time (s) for HTR and EPF (configuration II).
N M Z H T R M Z R e f ( m m ) M Z E P F M Z R e f   ( m m ) T H T R   ( s ) T E P F   ( s )
10,4041.41 × 10−153.08 × 10−154.2736.50
50,0243.78 × 10−164.78 × 10−1610.78157.71
100,4896.73 ×1 0−156.78 × 10−1520.52255.06
Table 4. Values of MZ-MZref and execution time (s) for HTR and EPF (configuration III).
Table 4. Values of MZ-MZref and execution time (s) for HTR and EPF (configuration III).
N M Z H T R M Z R e f   ( m m ) M Z E P F M Z R e f   ( m m ) T H T R   ( s ) T E P F   ( s )
10,4041.15 × 10−162.14 × 10−1535.88200.16
50,0244.78 × 10−161.78 × 10−1642.35240.45
100,4899.86 × 10−151.05 × 10−1450.03274.75
Table 5. Estimation of the weights based on the survey answers.
Table 5. Estimation of the weights based on the survey answers.
Associated Weights
Reference algorithmOperating algorithm
α 1 0.410.4
α 2 0.240.28
α 3 0.350.32
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Chiboub, A.; Arezki, Y.; Vissiere, A.; Mehdi-Souzani, C.; Anwer, N.; Alzahrani, B.; Bouazizi, M.L.; Nouira, H. Generation of Reference Softgauges for Minimum Zone Fitting Algorithms: Case of Aspherical and Freeform Surfaces. Nanomaterials 2021, 11, 3386. https://0-doi-org.brum.beds.ac.uk/10.3390/nano11123386

AMA Style

Chiboub A, Arezki Y, Vissiere A, Mehdi-Souzani C, Anwer N, Alzahrani B, Bouazizi ML, Nouira H. Generation of Reference Softgauges for Minimum Zone Fitting Algorithms: Case of Aspherical and Freeform Surfaces. Nanomaterials. 2021; 11(12):3386. https://0-doi-org.brum.beds.ac.uk/10.3390/nano11123386

Chicago/Turabian Style

Chiboub, Amine, Yassir Arezki, Alain Vissiere, Charyar Mehdi-Souzani, Nabil Anwer, Bandar Alzahrani, Mohamed Lamjed Bouazizi, and Hichem Nouira. 2021. "Generation of Reference Softgauges for Minimum Zone Fitting Algorithms: Case of Aspherical and Freeform Surfaces" Nanomaterials 11, no. 12: 3386. https://0-doi-org.brum.beds.ac.uk/10.3390/nano11123386

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop