Abstract

Freeform optics are defined as nonrotational symmetric optical surfaces in the manufacturing industry. Freeform optics are extensively applied to many areas in order to improve system performance. Fast tool servo (FTS) assisting single-point diamond turning technology has high application prospects in freeform optics machining. This paper discusses the interpolation algorithm for tool path generation of FTS through the application of a radial basis function (RBF) algorithm. For this purpose, a positive definite RBF with compact support was employed as the interpolant. The existence is mathematically proven. Numerical simulations were performed to compare the performances of the RBF algorithm and commonly used algorithms for satisfying the requirements of existence, smoothness, and accuracy. Machining experiments were also conducted to validate the applicability of the algorithm. The simulation results showed that the RBF interpolation algorithm outperformed other algorithms in terms of smoothness. The RBF algorithm also provided the highest interpolation accuracy. Furthermore, the RBF interpolation algorithm exhibited the highest accuracy for error distribution, with large errors distributed mainly in transition areas. The machining results were also in general agreement with the simulation results although obvious practical errors were observed. Overall, RBF interpolation can provide higher accuracy and better smoothness in the tool path generation of FTS.

1. Introduction

Freeform optics are extensively applied in various areas, such as aerospace, energy, and life science, to improve system performance and reduce overall system complexity and system weight [1, 2]. Duerr et al. used freeform optics to realize superior imaging performance for applications with high aspect ratio [3] and also used freeform optics to perform static and dynamic laser beam shaping systems [4]. Freeform optics are widely used to shape light according to a desired target distribution given target uniformity when light emitting diodes are routinely used for general and specialized lighting tasks such as automotive headlights, streetlights, luminaires, and medical illuminators [5]. Helmet-mounted displays (HMDs) employ three freeform mirrors to provide an image source for generating information images that are optically presented to the user’s eyes, allowing pilots to focus only on data displayed on the goggles and freeing them from complex instrumentation operations [6]. Optical freeform surfaces can achieve good optical performance, but it is difficult to fabricate freeform optics with high quality and high efficiency due to the complexity of surfaces and high requirements of profile accuracy and roughness. Thus, ultraprecision machining is always employed to fabricate freeform surfaces.

Freeform optics can be fabricated using various techniques such as micromilling, raster-cutting or fly cutting, profile and form grinding, and fast tool servo (FTS) [7]. FTS assisting single-point diamond turning has very good application prospects in freeform optics for improving machining accuracy, surface roughness, and machining speed. FTS can be used to machine brittle materials, such as silicon and germanium. Thus, many researchers employ FTS to fabricate specially designed freeform surfaces. Kim fabricated freeform surfaces that are frequently demanded for the construction of optical imaging systems using FTS [8]. Schieiding machined micro-optical lens-arrays on a steep curved substrated by use of a voice coil FTS [9]. Tian et al. used ultraprecision diamond turning machining technology based on an FTS system to realize 3D surface generation of a rear-view mirror, which is a typical optical freeform surface [10]. Li et al. fabricated a rectangular freeform surface on germanium using FTS, satisfying designing targets of the freeform surface [11].

A typical machine configuration for FTS machining is shown in Figure 1. The FTS is mounted on the Z axis carriage as an auxiliary axis (Z′) [12]. In FTS machining, the cutting tool is mounted on an auxiliary axis (Z′), which is optimized to perform sinewave type oscillations as the C axis rotates while the X and Z axes produce linear feed [13].

With the maturity of FTS equipment, many kinds of commercial FTS with various strokes and bandwidths have already been designed to fabricate different kinds of freeform optics [1416]. In recent years, the study of FTS has been focused on machining methods and techniques instead of hardware [1719].

The procedure of tool path generation of FTS can be described as follows [20]:(1)Tool compensation: cutting tool compensation should be calculated because surfaces have mutative curvature and different cutting points exist between the tool and workpiece [21]. As a result, the original cutter contact point will change into cutter location point. Then, the data used to describe freeform optics will change from gridded data into scattered data.(2)Regeneration of freeform surfaces: the scattered data should be interpolated into gridded data to guarantee the online interpolation speed and avoid frequent reciprocation of the X, C, and Z axes.(3)Surface decomposition: the original freeform surfaces can be decomposed into two parts—a rotational symmetric surface (generated by the X, C, and Z axes) and a fully freeform surface (generated by the X, C, and Z′ axes). Surface decomposition can reinforce the machine’s ability to generate larger sagittal height of freeform surfaces.(4)Online interpolation of cutting points: the cutting points are calculated online based on the interpolation algorithm. Then, the movements of FTS can be obtained based on the current position of the C and X axes.

Based on the procedure of FTS machining, it can be concluded that the interpolation algorithm is very important. An algorithm with high accuracy and calculation speed is required. However, the existing algorithms are not sufficient in speed and accuracy. This study focused on the tool path generation technique of FTS. An interpolation algorithm with higher accuracy in the tool path generation technique was investigated to improve the machining profile accuracy of FTS.

The interpolation algorithm in the tool path generation of FTS affects the machining accuracy of freeform optics. The interpolation algorithm totally decides the accuracy of the described surface in the computer, controlling the motion of the four axes. The requirements of interpolation in tool path generation of FTS are as follows. Firstly, the interpolation algorithm should have the ability to obtain a determined solution at any point on the surface (existence). Secondly, the interpolation function should be second-order continuous to guarantee smoothness of surface (smoothness). Finally, interpolation errors should be below the sub-nanometer scale in the Z-axis (accuracy).

Hu et al. used the four-point mean value interpolator for FTS diamond turning to improve the surface accuracy of the freeform surface and meet the real-time requirement compared with nonuniform rational B-splines (NURBS) [22]. However, neither the accuracy nor the smoothness requirement could be fulfilled. Li and Zhou both used Hermite interpolators to regenerate the surface [11, 23]. However, all points on the surface could not achieve a determined solution due to the characteristics of the Hermite interpolant. Nie used an optimized Shepard interpolator for the tool path generation of FTS [24]. However, large amounts of surface data are required to satisfy accuracy requirements, and distortion also occurs in the regenerated surface. Different kinds of interpolation algorithms are applied to realize regeneration of the freeform surface in the tool path generation of FTS. However, the requirements of the FTS interpolation algorithm have not been fulfilled.

In this study, radial basis function (RBF) interpolation was applied as the interpolation algorithm in the tool path generation of FTS to process freeform optics. RBF interpolation was adopted because it can satisfy the three requirements of FTS. Firstly, it has the advantage of high accuracy, improving machining accuracy. Secondly, it has the advantage of fast convergence, which facilitates the acquisition of a determinate solution at any point on the surface. Thirdly, most RBFs are second-order differentials, ensuring high smoothness of the surface approximated by RBF interpolation. The better smoothness further ensures better surface roughness.

2. Optimized Radial Basis Function Interpolation

2.1. Interpolation Model

The interpolation algorithm for the tool path generation of FTS should be classified in the multivariate scattered data interpolation problem. The problem of interpolation for FTS can be described as follows: a set of 3D data { = [xj, yj, zj} j=1, 2, …, n can be obtained based on equations of the freeform surface to be processed. Here, we define { = [xj, yj]} j=1, 2, …, n as sampling points and {zj} j=1,2, …, n as sagittal height. A function is desired with centers at the sampling points that interpolates the sagittal height {zj}. Thus, is such that

Furthermore, the problem can be described into a general mathematical problem, which can be described as follows: λj is a linear function in C (R2); for the given points fj ∈ R, j = 1, 2, …, n, a function is desired to satisfy the following equation:

In this equation, is the interpolant of the interpolation algorithm.

2.2. Radial Basis Function Interpolation

The RBF is a simple multivariate function. RBF interpolation is more attractive than methods that require complex preprocessing because the structure of RBF is simple. RBF can be simply represented by a computer. Thus, RBF interpolation is commonly used in signal processing, photogrammetry, digital terrain modeling, and so on [25, 26]. RBF interpolation for scattered data can be described as follows.

An RBF , which is a mapping from R+ to R, is given. For scattered data {xj, yj, zj} j=1,2, …, n ∈ R2R, a function is desired. The function should satisfy

Equation (3) is the interpolation function. {aj} j=1, 2, 3, …, n are pending coefficients, which are calculated through {xj, yj, zj} j=1, 2, 3, …, n. Then, satisfying interpolation results will be obtained after a proper RBF is selected.

RBFs are widely studied. Gaussian interpolant, Kriging interpolant, multiquadric interpolant, and inverse multiquadric are favorable RBFs. A positive definite RBF with compact support is constructed using convolution to satisfy the requirements of FTS:where ri, j  = |xi − xj| + |yi  −  yj|. The real-time requirement should be fulfilled by employing a controller with hardware multiplier considering the multiplication in equation (4). Obviously, equation (4) is a second-order differential function, through which the smoothness of interpolated surfaces can be fulfilled.

2.3. RBF Interpolation for Tool Path Generation of FTS

The cutter location points (CLPs) or the machining points in the machine controller are all scattered data, which cannot be described by gridded data. In the FTS interpolation, a localized interpolation is adopted considering the realization of the interpolation algorithm in the controller. For the current machining point , we use RBF interpolation to neighbor n points (generally n = 4, 8, 10) to obtain the z value. Then, FTS is driven to generate the movement of z. A freeform surface will be generated after all the machining points are interpolated. Interpolation to the chosen n neighbor points means that the current machining point and its neighbor points can be described by a function (2).

In this paper, RBF interpolation to n neighbor points for the current machining point uses the positive definite RBF with compact support as the interpolant (4). The pending coefficients in equation (3) can be calculated via the following linear system:where . Equation (5) is solvable if is a positive definite matrix.

Then, an interpolation function for the current machining point can be obtained as follows:where is a positive definite matrix as long as . In our interpolation situation, will be satisfied because the original data do not contain repeated points. Thus, problem (2) has a solution for any interpolation point [27]. In this manner, the existence requirement of FTS is satisfied by the RBF interpolation algorithm. Thus, the RBF interpolation algorithm can be employed in the tool path generation of FTS to regenerate surfaces.

3. Experiments of Radial Basis Function Interpolation

3.1. Simulation Experiments

Simulation experiments were carried out to verify that the RBF interpolation algorithm has the advantage of high accuracy and good smoothness. Three interpolation algorithms commonly used in the industrial area (Hermite interpolation algorithm, four-point mean interpolation algorithm, and Shepard interpolation algorithm) were employed to compare the performance of different algorithms.

3.2. Conditions of Simulation Experiments

Simulation experiments are performed in MATLAB software. The simulated workpiece is a lens array, which is a typical workpiece for evaluating the performance of FTS (Figure 2). The lens array characteristics and the simulation parameters are described in Table 1.

3.3. Comparison of Smoothness

In the experiments of smoothness, the original data quantity is 4800. The original data describe freeform surfaces to be processed. The interval between two points on the surface is 0.125 mm. Although the intensity of data in this experiment is rarely used in actual fabrication, it can clearly show the smoothness of the four surfaces generated by different interpolation algorithms. Then, analysis can be performed based on the simulation results. The four surfaces obtained using the four different algorithms are shown in Figure 3.

Curves of integral smoothness variation versus data amount are shown in Figure 4. The simulation experiment results of the four interpolation algorithms show the following. (1) The RBF interpolation algorithm performs the best in terms of smoothness, followed by the Shepard interpolation algorithm. The four-point mean interpolation algorithm performs the worst. (2) The surface generated by the Hermite interpolation algorithm has good smoothness, but some points on the surface cannot be calculated due to the characteristic of the Lagrange interpolation function. This is because in multidimensional interpolation, any interpolation basis function cannot satisfy the HARR condition. Thus, some interpolation basis functions (such as Lagrange and Bernstein), which perform well in dimensional interpolation, will not provide interpolated solutions at all points. Most time solutions of most points can be calculated, but the solutions may not be stable [28]. Points without calculated value are shown in Figure 3 as blank areas. (3) The four-point mean algorithm is very simple, but its smoothness is the worst. Figure 3 shows obvious steps on the surface generated by the four-point mean algorithm. (4) The Shepard interpolation algorithm performs well in terms of smoothness, but distortions occurred at peaks of each small mirror (Figure 3). The distortion of small mirrors are caused by the duck egg effect of the Shepard interpolation algorithm [29]. The distortion may affect the performance of freeform optics. Moreover, small steps can be observed in its interpolation figure. Thus, according to the simulation results, the RBF interpolation algorithm satisfies the requirements of FTS with best results and is thus a more suitable option for tool path generation of FTS.

3.4. Comparison of Profile Accuracy

In order to compare the actual interpolation accuracy of the four algorithms, original scattered data with different densities were simulated. In the simulation experiments, the mean errors of the interpolated surface were adopted to evaluate profile accuracy, which is described as follows:where is the interpolation value and is the actual value calculated according to the formula of the designed freeform surfaces. Then, simulation results of profile accuracy were obtained, as shown in Table 2. Figure 5 shows the interpolation accuracy variation versus data densities.

The simulation experiment showed the following. (1) The interpolation accuracy decreased with increasing data amount for the Shepard interpolation algorithm, Hermite interpolation algorithm, and RBF interpolation algorithm. However, the interpolation accuracy of four-point mean algorithm does not obey this law, and its accuracy is lowest among four interpolation algorithms. (2) The RBF interpolation showed the highest interpolation accuracy. Furthermore, with increasing data amount, errors of the RBF interpolation decreased at a faster rate than the other two algorithms (Hermite interpolation algorithm and four-point mean interpolation algorithm). (3) The interpolation accuracy was achieved at the nano level, fulfilling the accuracy requirement of ultraprecision machining. Considering machine accuracy, intervals between two points ranging from 0.01 mm to 0.02 mm are recommended for the RBF interpolation algorithm. Intervals between two points are recommended to be smaller than 0.01 mm for the Shepard algorithm.

3.5. Error Distribution of Four Algorithms

Freeform optics processed by FTS should achieve a specific function. Thus, error distribution is an important factor to judge whether a specific interpolation algorithm is suitable. The designed function will be severely affected if interpolation errors are mainly distributed at functional areas of freeform optics. Error distributions of the four algorithms were simulated in our experiment. Intervals between two neighbor points were 0.04 mm in the original scattered data, which is recommended as a preferable interval by engineers and researchers [9]. The error distributions of the four algorithms are shown in Figure 6.

The error distribution simulation results show that errors are distributed on the whole surface for the four algorithms. Large errors are mainly distributed at the edges of each small lens in the Shepard and especially the RBF interpolation algorithms. Large errors of the four-point mean and Hermite interpolation algorithms are mainly distributed in each small lens. Errors of these two algorithms have the same changing trend with the sagittal height, i.e., the higher the sagittal height, the larger the errors. Generally, transition areas of freeform optics (edges in our experiments) need not be processed for high accuracy because most mechanical processing techniques, especially FTS technique, will smoothen transition areas to avoid resonance in the linear axis. After the smoothening, the accuracy of the original surface is reduced. Based on the simulation experiment of error distribution, the RBF interpolation algorithm exhibited the highest accuracy, with large errors distributed mainly in transition areas. Thus, according to simulation results and practical processing requirements, RBF interpolation will provide better performance.

According to the simulation experiments, it can be concluded that RBF performs the best in satisfying FTS requirements of existence, smoothness, and accuracy.

3.6. Machining Experiment

Machining experiments were carried out on a commercial ultraprecision lathe (UPL250), configured with an FTS (NFTS6000) as the Z′ axis. In order to compare the accuracy of the four interpolation algorithms, the same parameters of the workpiece were adopted, as shown in Table 1. Machining parameters are described in Table 3. The number of original scattered data was 9370, and intervals between two points were 0.04 mm.

Considering that accurate measurement of freeform optics is still an unresolved issue, each small lens on the processed workpiece was measured with the Taylor Hobson profiler in our experiment. In the machining experiment, the edges of the lenselets will be preprocessed by a new smoothing algorithm proposed by us, and thus the edges of the lenselet will not affect the machining and measuring results. Average measurement results of all small lenses on each workpiece are shown in Table 4, and the measurement results of a small lens at the same spot on each workpiece are shown in Figure 7.

Based on actual processing experiment, it can be concluded that (1) the profile accuracy of the freeform optics processed by FTS can be improved by improving interpolation accuracy; different profile accuracies will be obtained based on various interpolation algorithms; (2) the RBF interpolation algorithm can provide the highest accuracy; (3) the Shepard and Hermite interpolation algorithms provide good profile accuracy, but the error value increases with increasing scallop height; and (4) the four-point mean interpolation algorithm has the lowest profile accuracy. Nevertheless, considering practical processing applications, it can be used in applications with low accuracy requirement for its simplicity.

The machining experiment results agree with simulation results. Considering other systematic errors (errors of fabrication of the three axis, errors of displacements, errors of heat, and so on), it is not surprising that the actual machining errors are larger than the simulation value.

4. Conclusions

This paper discusses interpolation algorithms in the tool path generation of FTS assisting diamond turning for freeform optics. Mathematical equations were built for interpolation of original data, and a positive definite RBF with compact support was employed to interpolate scattered data. Simulation and machining experiments were carried out to validate the performance of the proposed algorithm. The algorithm was found to excel in accuracy, smoothness, and error distribution in simulation experiments. Moreover, the machining results showed that the RBF interpolation algorithm can provide higher accuracy than the other three algorithms. Intervals between two cutting points should be under 0.02 mm in order to achieve nanolevel accuracy of interpolation. Overall, the RBF interpolation algorithm can provide higher accuracy, better smoothness, and more rational error distribution. Therefore, RBF should be employed as the interpolator for the regeneration of the surface in the tool path generation of FTS.

Data Availability

Readers can access the data underlying the findings of the study by accessing the following link: https://pan.baidu.com/s/1SsluxhUW3_hSFTvx_23zGA, with the extracting code of Niey.

Conflicts of Interest

The authors declare that there are no conflicts of interest regarding the publication of this paper.

Acknowledgments

This study was supported by the Tianjin Application Foundation and Advanced Technology Research Program (the Youth Fund Project) under grant no. 19JCQNJC04200, the Tianjin Higher Education Science and Technology Development Fund Project under grant no. 2017KJ102, the National Natural Science Foundation of China (NSFC) under grant no. 51905378, the Tianjin Science and Technology Planning Project under grant nos. 20JCQNJC00360 and 20YDTPJC00450, the Scientific Research Foundation of Tianjin University of Technology and Education under grant no. KYQD1901, and the Open Fund of Tianjin Aerospace Intelligent Equipment Technology Key Laboratory under grant no. TJYHZN2019KT001.