1. Introduction
To improve the performance of optical system and reduce the system size, the requirement of surface shape of optical element becomes more and more fastidious, such as the one of freeform surface. Optical freeform surfaces are widely used in head-up displays, lighting optics, aerospace and biomedical imaging [
1,
2,
3]. However, a high accuracy of freeform surface fabrication is still a challenge for ultra-precision freeform surface measurement and machining [
4,
5].
For the machining of freeform optical surface, the slow tool servo (STS) turning based on single point diamond turning is a choice of effectiveness and efficiency [
6]. In slow tool servo turning, the motion of the tool on the Z axis synchronizes with the radial motion of the X axis and the rotation of the machine tool on the C axis. Therefore, the machining of non-rotationally symmetric surfaces can be easily achieved, and in this way can be comparatively efficient [
7,
8]. Many scholars have carried out corresponding researches. Fang et al. [
9] made a review on freeform surface manufacturing and studied the capability of slow tool servo. Vinod Mishra et al. [
10] developed a tool path compensation to reduce the form error of freeform surface. We can see that there have been many other researches on how to improve the surface quality of freeform optics fabricated by STS [
11,
12], and pertinent studies have made this field become a research hotspot.
One crucial key to extending the edge of the field is that it is necessary to obtain precise measurement of freeform surface first as feedback for the next compensation machining [
13,
14]. Due to the geometric complexity of freeform surface, the characterization of surface quality lacks definitive standards and techniques. There are many types of ultra-sophisticated measuring equipment, and notwithstanding freeform surface shape can be measured, the shape error as the compensation feedback cannot be attained directly [
15]. Effective compensation feedback can be obtained only via precise re-mounting of freeform surface. Initially, confirm that the consistency of measurement coordinates with design coordinates. Then the projection of the measured point on the theoretical coordinates after coordinate transfer is calculated. Ultimately by computing the distance of measured surface from the theoretical design surface in theoretical coordinates, the form error as compensation feedback is obtained.
Related studies have explored the matching method of the freeform surface. Cheung et al. [
16] presented an integrated form characterization method based on the five-point pre-fixture, dual cubic B-spline and an iterative precision adjustment algorithm with coordinate transfer to measure the form accuracy of ultra-precision freeform surface. Wang et al. [
17] proposed a fiducial-aided on-machine positioning method to precisely position optical freeform surfaces during the precision manufacturing cycle, by using the developed on-machine measuring devices to get the accurate positions of the fiducials after remounting in the machining coordinate system. Tong et al. [
18] developed a closed-loop FTS system to improve freeform machining accuracy, surface sampling and reconstruction strategies and robust surface filtration algorithms that are adapted to regulate the data flow for both freeform surface characterisation and the optimisation of compensation toolpath from machined error maps. Zhang et al. [
19] proposed a new compensation strategy based on the combination of on-machine and off-machine measurement. These methods intend to realize optimal alignment by moving and rotating coordinates so that the feature points, lines, and surfaces of the measured surface and the designed surface overlap completely. Because the accuracy of these method for characterizing freeform surfaces with form error is not every high, it is difficult for the final surface machined by compensation to reach sub- micron precision [
20,
21].
In this paper, a new method based on the least squares principle and iterative precision adjustment is put forward to obtain surface form error, in the meantime, the compensation method of STS freeform processing was developed to improve the surface quality. By computer simulation, the accuracy and feasibility of the matching method is verified. Also, the freeform surface compensation machining experiment results based on STS suggest that the method is effective for improving surface form accuracy.
2. Modeling and Experimental Procedures
This compensation processing is based on high-precision surface error detection results. We modify the processing program according to compensation algorithm, which was then carried out repeatedly until the form error is within the tolerance. Matlab software was used to simulate and modify the processing program. The challenge here is to obtain form error from measured data of freeform surface for the measured and theoretical surface represented in different coordinate systems. Coordinate offset between the two systems needs to be calculated and the extent of difficulty depends on the degree of freedom of surface, thus it is challenging to match the measured and ideal surface for freeform optics.
As described above, ultra-precision compensation machining is based on high accuracy alignment of the measured and designed surface. The aim of alignment is to make the measured surface as close to the theoretical surface as possible. To achieve the best alignment, a rough adjustment based on tooling and precise alignment by iterative adjustment is adopted.
The detection surface and the theoretical surface are represented in different coordinate systems. There are spatial position deviations in six degrees of freedom, as shown in the
Figure 1. Surface matching is used to make the measuring coordinate system coincide with the theoretical coordinate system. In the actual matching process, it is more suitable to make the measured surface approximates the theoretical to the maximum extent as far as possible.
The first step is to apply the fixture for rough positioning. As showed in
Figure 2, there is a plane as the mark which is parallel to the plane comprised by axis X, axis Z, and measuring and theoretical coordinate systems are all based on the mark. Thus, the theoretical coordinate system and measuring coordinate system are quite alike.
The process of fine matching requires translation and rotation operation of six degrees of freedom, to achieve accurate alignment between the surfaces of the measured and theoretical systems. In the spatial coordinate system, the rotation and translation coordinate transformation corresponds to the rigid body transform. According to the transfer matrix, the point
P(
x,
y,
z) in the measured surface changed to point
P′ (
x′,
y′,
z′) in the theoretical coordinate system, as shown in the Equation (1).
where
tx,
ty and
tz represent the shifts in the x, y and z directions respectively.
R3×3 is the rotation matrix, which is defined as Equation (2):
where
,
and
are the rotation angles along the x, y and z axes respectively. The point
is the closest point of the theoretical surface to the point
, the deviation can be calculated by Equation (3).
The best matching condition is defined as the minimum value of the function, namely, the sum of the distance between each point on the measured surface and the corresponding projection point on the theoretical surface are all in their minimum. Through multi-parameter optimization and based on the least squares principle and iterative precision adjustment, the optimal position parameters can be obtained and then the surface matching is complete. In such cases, the surface form error function is
The evaluation parameters PV and RMS of surface form error were defined as Equations (5) and (6):
where
m is the number of points on the measured surface.
During the process of freeform surface compensation machining, it is necessarily required to judge whether the surface form error meets the requirement. When the form error exceeds the tolerance, the obtained surface form error will be used to compensate the tool cutting path. The flow chart of the compensation process is shown in
Figure 3. It should be noted that form error is regarded as the surface to be removed next in the process of surface matching. The surface error is reversed and superimposed on the initial ideal surface which will act as the new freeform surface to be processed. Because of the existence of random error, it is estimated that there will be repeated fluctuations in error, and the surface form error needs to be compensated several times until it is within the tolerance.
Simulation Study
To evaluate the effectiveness and accuracy of the matching algorithm, theoretical simulation is carried out. An ideal freeform surface is designed as the theoretical surface, and the measured surface was obtained by adjusting the designed surface through six parameters of the coordinate transformation matrix. Then the accuracy of the simulation algorithm was calculated. The simulation flow chart is shown in
Figure 4.
To begin with, transfer the ideal surface in theoretical coordinate system to the measurement surface with coordinate transformation T1. Then match the ideal and measured surface by the proposed algorithm. After surface matching, subtract the theory shape from the measurement in the same coordinate system to get the form error ε, and the coordinate transformation T2 is calculated. As the measured surface is obtained from the theoretical surface through coordinate transformation, the ideal form error ε is zero, and the coordinate transfer matrix T1 and T2 should be the same. Therefore, the value of form error ε and the deviation between T1 and T2 could verify the accuracy of theoretical model and the precision of matching algorithm.
The designed ideal freeform surface is XY polynomial, the surface equation is shown in Equation (7), and the surface parameters are shown in
Table 1. The parameters of coordinate transfer matrix
T (
α,
β,
γ,
tx,
ty,
tz) are varied to obtain the corresponding simulation results. They are divided into 10 groups; the first four groups only perform translation coordinate transformations, the second four groups only perform rotation coordinate transformations, and the last two groups include translation and rotation. The results of simulation are shown in
Table 2, and the form errors are shown in
Figure 5.
As shown in
Figure 5, when the surface is transformed by translation or rotation, the matching error is tiny. However, the matching error is different with different coordinate transfer matrix T1, which represents that different coordinate transformations have different effects on the results of matching model. The simulation error of coordinate rotation is smaller than that of coordinate translation, although they are on the same order of magnitude. Minimum error occurs when there are three directions of coordinate rotation. Although coordinate transformation involves translation and rotation of six degrees of freedom, the matching error is tiny, which verifies the high precision of the matching model.
It can be seen from
Table 2 and
Figure 5 that the freeform surface matching algorithm possesses sub-nanometer accuracy which represents the error from the theoretical model. Compared with the submicron precision of ultraprecision machining, this error is negligible. Thus, the validity of theoretical model is verified. The form error of PV is around 0.2 nm, and the value of RMS is about 0.06 nm. The error varies with six spatial parameters, and rotational transformation error is slightly less than translational transformation error. Moreover,
Table 3 shows the coordinate transfer matrix T
2 that calculated through surface matching. As discussed above, the deviation between matrix T
1 and T
2 is almost close to zero. This error is generated by the calculation algorithm which represents the system error of the proposed method. As the simulation results show, the error fluctuates in sub-nanometer range along with the change of the parameters. Compared with the precision of turning, the error generated by the matching algorithm is negligible, which infers that the matching method is adequately sufficient to get form error of freeform surface, and the accuracy of the method is verified in the sub-nanometer range.
3. Experimental Study
The compensation experiment was carried out to verify the effectiveness of the proposed method, where an optical freeform surface was employed to test the feasibility of the compensation processing. The designed surface is given as Equation (7). The surface was machined by STS based on Precitech Nanoform 700 ultra single point diamond turning machine, and was measured by the newview8200 measurement system from Taylor Hobson Co., Ltd., in UK. The workpiece material is Al, and the tool parameters and machining parameters are shown in the
Table 4.
The freeform surface was measured after the first processing.
Figure 6 shows the machined surface and its form error after the matching process. As shown in
Figure 6b, the form error between the machined surface and the designed surface is relatively small, and the PV and RMS value were 1.4 um and 173 nm respectively. Such precision could not meet the requirements of ultra-precision fabrication, the compensation machining is a necessary process to enhance the form accuracy of the freeform surface. The compensation machining process is as follows. After the surface is measured, take the measurement result as the surface after coordinate transformation of ideal freeform surface. Then the measured surface is matched with the ideal surface by matching algorithm. The form error is derived by the algorithm and taken as the surface to be removed in the next step. The Z axis data of the surface shape error is inverted, and then added to the Z axis data of the ideal freeform surface. It is used as the surface shape to be processed in compensation machining. Then reprogram to generate a new processing program and start compensation machining. The compensation process is designed according to the form error calculated, and the cutting parameters are the same as the first processing, compensation result is shown in
Figure 7a. The form error was reduced to PV value of 560 nm and RMS value of 55 nm. It is obvious that the surface quality was improved effectively.
In addition, there are some factors affecting the performance of compensation processing, such as random errors in the machining process. Only a one-time compensation failed to achieve the desired result, so the second compensation processing was carried out. As shown in
Figure 7b, in the second compensation, PV value is reduced to 352 nm, and RMS value is reduced to 23 nm, the surface quality is further improved. That is the same as the process of polishing. It can be said that the form error compensation is a process of continuous convergence. As a result, it is necessary to carry out compensation machining cyclically until the form error meets the requirement.
The third compensation processing was conducted, and the result is shown in
Figure 8. The PV value is 335 nm and the RMS value is 34 nm. This time the PV didn’t change much, but the RMS increased slightly. As described above, the form error is fluctuant in the process of compensation so this phenomenon is normal in the error convergence process, for the random error such as vibration of the machine or tool wear is likely to affect performance in the submicron accuracy range. In a general perspective, the presented matching method and compensation strategy is effectively to improve the surface quality of freeform surface in high precision.