Yu-Ta Chen1, Yen-Sheng Huang2, Chien-Sheng Liu3,4. 1. Department of Mechanical Engineering and Advanced Institute of Manufacturing with High-Tech Innovations, National Chung Cheng University, Chiayi County 62102, Taiwan. d04420006@ccu.edu.tw. 2. Department of Mechanical Engineering and Advanced Institute of Manufacturing with High-Tech Innovations, National Chung Cheng University, Chiayi County 62102, Taiwan. g01420122@ccu.edu.tw. 3. Department of Mechanical Engineering and Advanced Institute of Manufacturing with High-Tech Innovations, National Chung Cheng University, Chiayi County 62102, Taiwan. imecsl@ccu.edu.tw. 4. Graduate Institute of Opto-Mechatronics, National Chung Cheng University, Chiayi County 62102, Taiwan. imecsl@ccu.edu.tw.
Abstract
Automated optical inspection is a very important technique. For this reason, this study proposes an optical non-contact slanting surface measuring system. The essential features of the measurement system are obtained through simulations using the optical design software Zemax. The actual propagation of laser beams within the measurement system is traced by using a homogeneous transformation matrix (HTM), the skew-ray tracing method, and a first-order Taylor series expansion. Additionally, a complete mathematical model that describes the variations in light spots on photoelectric sensors and the corresponding changes in the sample orientation and distance was established. Finally, a laboratory prototype system was constructed on an optical bench to verify experimentally the proposed system. This measurement system can simultaneously detect the slanting angles (x, z) in the x and z directions of the sample and the distance (y) between the biconvex lens and the flat sample surface.
Automated optical inspection is a very important technique. For this reason, this study proposes an optical non-contact slanting surface measuring system. The essential features of the measurement system are obtained through simulations using the optical design software Zemax. The actual propagation of laser beams within the measurement system is traced by using a homogeneous transformation matrix (HTM), the skew-ray tracing method, and a first-order Taylor series expansion. Additionally, a complete mathematical model that describes the variations in light spots on photoelectric sensors and the corresponding changes in the sample orientation and distance was established. Finally, a laboratory prototype system was constructed on an optical bench to verify experimentally the proposed system. This measurement system can simultaneously detect the slanting angles (x, z) in the x and z directions of the sample and the distance (y) between the biconvex lens and the flat sample surface.
Among the measurement methods used in present day production lines, the non-contacting measurement technique is widely applied [1,2]. This technique is mainly divided into two types: image-based measurement and optical measurement. Image-based measurement focuses on image processing of captured images. The biggest limitations of this method are its long system response time and low accuracy. For these reasons, the technique has been gradually replaced in recent years by optical measurement. In the field of optical measurements, the positioning technique is of central importance [3,4]. For the laser positioning measurement technique, our research team has proposed a series of innovative system frameworks and combined them with optical diffusers to suppress the geometrical fluctuations of the laser beam and to achieve long-range and high-accuracy measurements [5,6,7]. Taken together, it is clear that optical measurement systems have the advantages of high measurement speed and accuracy.In recent years, the positioning and slanting of a plane specular sample to be measured or processed has an important requirement in many fields of research and industry [8]. In applications of flat surface measurement techniques, Lee and Chang developed a laser scanning sensor with multiple position-sensitive device (PSD) detectors that can digitize a freeform surface through mathematical calculations using the Lambert model and geometric triangulation measurements [9]. The unique characteristic of this system is the use of multiple PSD detectors to resolve the dead zone of the measured angle and to broaden its range. Shiou developed a detector for distance and slanting angle measurements that can obtain the flat surface distance and slanting angle of the sample after the data are processed by triangulation operations [10]. Hirata and Haraguchi irradiated a sample with an annular laser beam and found that the shape of the laser beam changes with different slanting angles of the sample; by analyzing these changes, information on the slanting angles of the sample could be obtained. Finally, Gao developed a two-dimensional angle probe to measure the flatness of large silicon wafers [11]. Moreover, many methods are available to measure the parameters of slanting flat surfaces. However, to the best of our knowledge, these systems have complicated structures and high manufacturing costs. At present, there is no available measurement system with a simple architecture and straightforward assembly that can simultaneously measure the tilt angle and position information of a flat surface. Therefore, the aim of this study is to propose a fire-new measurement system with a simple architecture, straightforward assembly, and lower manufacturing cost that can simultaneously detect the tilt angle and position information of the sample.
2. Architecture and Measurement Method of Proposed Measurement System
The architecture of the proposed measurement system in this study consists of a He-Ne laser as the light source, two beam splitters (BS) accompanied by two biconvex lenses, and two charge-coupled devices (CCD) that are used as the photoelectric sensors to receive the optical signals. As shown in Figure 1, this design is an adaptation of an auto-focusing technique, namely, the triangulation method. The laser beam is directed off the optical axis by a small distance (s) and is then reflected by BS2 to become incident on the sample through the biconvex lens. The laser beam is then reflected by the sample to pass through the biconvex lens back to BS2 where the beam was split into two beams. One of the split beams goes directly through BS2 and is incident on CCD2. Notably, the laser spots on CCD2 will change as a function of the different sample orientations and distance. The other beam is reflected by beam splitter BS1 and travels through the biconvex lens before proceeding to CCD1. The information of the laser spots on CCD1 will depend not only on the sample surface orientation but also on the change in the distance between the biconvex lens and the sample.
Figure 1
Architecture of proposed measurement system.
When using this proposed measurement system to measure the distance (δ) between the biconvex lens the flat sample surface and the slanting angles in the x and z directions (ω, ω), the shape and center position of the laser beam received by the two CCDs will change as a function of both changes in the distance (δ) and slanting angles (ω, ω). In addition, the received photoelectric signal contains factors that are influenced by the slanting angles (ω, ω) of the sample when the sample distance (δ) resolved by the two CCDs is measured. Therefore, light beam tracing equations must be established via a HTM and skew-ray tracing to discuss the relationship between the sample distance (δ), slanting angles (ω, ω), and the corresponding change in the center position of the laser spot. In this regard, a detailed mathematical derivation will be presented in Section 4.
3. Optical Simulation of Proposed Measurement System
The ray trace function of the commercially available optical simulation software Zemax (Radiant Zemax LLC, Redmond, WA, USA) was used to simulate the actual ray propagation in the proposed measurement system. The Matlab software (The MathWorks, Inc., Natick, MA, USA) was then used to process the images of the laser spot position map, to calculate the location of the spot center, and to plot graphs for the spot position versus sample surface orientation and distance. In doing so, the feasibility of the proposed measurement system is determined and the measurement trend is determined.Figure 2 shows the changes in the laser spots on CCD1 and CCD2 when the sample distance (δy) is within the range of −1 mm~+1 mm and the slanting angles (ω, ω) are within the range of −2°~+2°. The figure indicates that the laser spots on CCD1 and CCD2 show a changing trend when the sample experiences a small change in angle and distance. However, the relationship is not linear, and thus, the sample distance and orientation cannot be determined directly from the simulation results. Therefore, it is necessary to derive a mathematical measurement equation to analyze the relation between the sample distance/orientation and the two CCDs to obtain a quantitative mathematical analysis of the proposed measurement system.
Figure 2
Optical simulation results: (a) changes in laser spots on CCD1 and (b) changes in laser spots on CCD2.
4. Mathematical Modeling of Proposed Measurement System and Derivation of Actual Ray Path
Mathematical modeling is established by using a HTM and the skew-ray tracing method proposed by Lin to model and perform ray tracing for the proposed measurement system architecture in this paper [12,13]. The HTM corresponding to the coordinate frame of each optical boundary relative to a reference coordinate system (xyz)0 is defined sequentially. A mathematical model is proposed to develop a systematic forward and reverse mathematical derivation. Then, a linear equation of the measurement system is obtained by using a first-order Taylor series expansion to evaluate the first-order optical properties of the proposed measurement system.
4.1. Establishing Optical Boundaries for Proposed Measurement System
Based on the modeling steps in the skew-ray tracing method proposed by Lin [12,13], the optical boundaries of the system are first defined. The proposed measurement system contains two parts: ray path Ι, which contains a total of 14 optical boundaries, and ray path ΙΙ, which contains a total of eight optical boundaries, as shown in Figure 3:
Figure 3
Definition of each optical boundary of the proposed measurement system.
The transformation matrices of coordinate frames (xyz) of each optical boundary relative to the reference coordinate frame (xyz)0 are established as Equation (1) using the HTM. The elements in the HTM for each optical boundary are shown in Table 1 and Table 2. The notations C and S denote cosine and sine, respectively. As seen, given are the HTM tables of coordinate (xyz) for each optical boundary relative to the reference coordinate system of ray paths Ι and ΙΙ, respectively, where ω, ω, and δ represent the rotation angle in the x and z directions and the distance (δ) between the biconvex lens and the flat sample surface. The initial position of the laser light source is defined as P = [0 0 − 2 1]T, and its unit vector is defined as = [0 1 0 0]T.
Table 1
Parameters of the optical boundary coordinate transformation matrix for ray path I.
I
I = 1
I = 2
I = 3
I = 4
I = 5
I = 6
I = 7
Type
Convex Spherical
Concave Spherical
Flat Mirror (Sample)
Convex Spherical
Concave Spherical
Flat Refracting
Flat Mirror
Ni
1/1.515
1.515
Reflected
1/1.515
1.515
1/1.515
Ri
24.397
24.397
24.397
24.397
Iix
1
1
1
1
1
1
−1
Iiy
0
0
Sωz
0
0
0
0
Iiz
0
0
0
0
0
0
0
Jix
0
0
−CωxSωz
0
0
0
0
Jiy
1
1
1
1
1
1
−2/2
Jiz
0
0
CωxSωz
0
0
0
2/2
Kix
0
0
SωxSωz
0
0
0
0
Kiy
0
0
SωxCωz
0
0
0
2/2
Kiz
1
1
1
1
1
1
2/2
tix
0
0
0
0
0
0
0
tiy
30.747
−7.915
38.202 + δy
−7.915
30.747
0
−12.7
tiz
0
0
0
0
0
0
0
I
I = 8
I = 9
I = 10
I = 11
I = 12
I = 13
I = 14
Type
Flat Refracting
Flat Refracting
Flat Mirror
Flat Refracting
Convex Spherical
Concave Spherical
CCD1
Ni
1.515
1/1.515
Reflected
1.515
1.515
1/1.515
Ri
0
0
0
0
24.397
24.397
0
Iix
−1
−1
−1
−1
−1
−1
−1
Iiy
0
0
0
0
0
0
0
Iiz
0
0
0
0
0
0
0
Jix
0
0
0
0
0
0
0
Jiy
0
0
2/2
−1
−1
−1
−1
Jiz
−1
−1
−2/2
0
0
0
0
Kix
0
0
0
0
0
0
0
Kiy
−1
−1
−2/2
0
0
0
0
Kiz
0
0
−2/2
1
1
1
1
tix
0
0
0
0
0
0
0
tiy
−12.7
−12.7
−12.7
−25.4
−56.147
−17.485
−63.602
tiz
−12.7
−31.9
−38.1
−44.6
−44.6
−44.6
−44.6
Table 2
Parameters of the optical boundary coordinate transformation matrix for ray path II.
I
I = 1
I = 2
I = 3
I = 4
I = 5
I = 6
I = 15
I = 16
Type
Convex Spherical
Concave Spherical
Flat Mirror (Sample)
Convex Spherical
Concave Spherical
Flat Refracting
Flat Refracting
CCD2
Ni
1/1.515
1.515
Reflected
1/1.515
1.515
1/1.515
1.515
Ri
24.397
24.397
24.397
24.397
Iix
1
1
1
1
1
1
−1
−1
Iiy
0
0
Sωz
0
0
0
0
0
Iiz
0
0
0
0
0
0
0
0
Jix
0
0
−CωxSωz
0
0
0
0
0
Jiy
1
1
1
1
1
1
−1
−1
Jiz
0
0
CωxSωz
0
0
0
0
0
Kix
0
0
SωxSωz
0
0
0
0
0
Kiy
0
0
SωxCωz
0
0
0
0
0
Kiz
1
1
1
1
1
1
1
1
tix
0
0
0
0
0
0
0
0
tiy
30.747
−7.915
38.202
−7.915
30.747
0
−25.4
−49.426
tiz
0
0
0
0
0
0
0
0
4.2. Incident Point and Unit Vector of Incident Laser Ray
To trace the propagation of the laser ray in the proposed measurement system, the initial position of the laser light source is set as = [0 0–2 1]T and its unit vector is set as = [0 1 0 0]T. The laser ray begins at an initial position that is along the unit vector but incident to the proposed measurement system. For the actual ray propagation in the proposed measurement system, the ray incident point on each optical boundary, the unit vectors of the reflected rays [14], and the unit vectors of the refracted rays are shown in Figure 4 and can be obtained from Equations (2) to (8). Equation (2) gives the expressions of the optical boundary and its unit normal vector with parameters αi and βi. Note that the non-negative parameter λ represents the geometrical length from point to . The sign in Equation (3) indicates there may be two possible intersection points of this ray and a complete sphere. Clearly, only one of these points is useful, thus the appropriate sign must be chosen. The spherical coordinates, αi and βi, at the incidence point can be determined from Equation (6). Equations (7) and (8) define the D and E as the parameters in spherical and plane surface boundary situation, respectively.
Figure 4
Definition of incident point and unit vectors of reflected and refracted rays.
The results of these calculations are described in Table 3 and Table 4. Table 3 and Table 4 are the calculated parameters of the ray incident points and ray unit vectors of ray path I and II, respectively.
Table 3
Ray incident points and ray unit vector parameters of ray path I.
I
I = 1
I = 2
I = 3
I = 4
I = 5
I = 6
I = 7
Type
Convex Spherical
Concave Spherical
Flat Mirror (Sample)
Convex Spherical
Concave Spherical
Flat Refracting
Flat Refracting
Ni
1/1.515
1.515
Reflected
1/1.515
1.515
1/1.515
Reflected
ϕi
0
0
0
0
0
0
π/4
nix
Cβ1Cα1
Cβ1Cα1
−CωxSωz
Cβ4Cα4
Cβ5Cα5
0
0
niy
Cβ1Cα1
Cβ1Cα1
CωxCωz
Cβ4Cα4
Cβ5Cα5
1
Sϕ7
niz
Sβ1
Sβ1
Sωx
Sβ4
Sβ5
0
−Cϕ7
ρi
−(d1 + R)
R − (d1 + d2)
0
R − (d1 + d2)
−(d1 + R)
0
0
τi
0
0
0
0
0
0
0
ei
Sphere
Sphere
−(d1 + d2 + d3)
Sphere
Sphere
0
−d7Sϕ7
I
I = 8
I = 9
I = 10
I = 11
I = 12
I = 13
I = 14
Type
Flat Refracting
Flat Refracting
Flat Mirror
Flat Mirror (Sample)
Convex Spherical
Concave Spherical
CCD1
Ni
1.515
1.515
Reflected
1.515
1/1.515
1.515
1/1.515
ϕi
0
0
3π/4
0
0
0
nix
0
0
0
0
Cβ5Cα5
0
1
niy
0
0
Cϕ10
1
Cβ5Cα5
1
0
niz
1
1
Sϕ10
0
Sβ5
0
0
ρi
0
0
0
0
d7S2ϕ10−d8C2ϕ10+d11+d12+R
d7 + d11 + d12 + d13 − R
0
τi
0
1
0
0
d7C2ϕ10+d8S2ϕ10+d10+d9
d8 + d9 + d10
1
ei
−d8
−(d8 + d9)
(d8+d9+d10)Sϕ10−d7Cϕ10
d8C2ϕ10−d11−d7S2ϕ10
Sphere
Sphere
−d7 − d11 − d12 − d13 − d14
Table 4
Ray incident points and ray unit vector parameters of ray path II.
I
I = 1
I = 2
I = 3
I = 4
I = 5
I = 6
I = 15
I = 16
Type
Convex Spherical
Concave Spherical
Flat Mirror (Sample)
Convex Spherical
Concave Spherical
Flat Refracting
Flat Refracting
CCD2
Ni
1/1.515
1.515
Reflected
1/1.515
1.515
1/1.515
1.515
1.515
ϕi
0
0
0
0
0
0
0
0
nix
Cβ1Cα1
Cβ2Cα2
−CωxSωz
Cβ4Cα4
Cβ5Cα5
0
0
0
niy
Cβ1Cα1
Cβ2Cα2
CωxCωz
Cβ4Cα4
Cβ5Cα5
1
1
1
niz
Sβ1
Sβ2
Sωx
Sβ4
Sβ5
0
0
0
ρi
−(d1 + R)
R − (d1 + d2)
0
R − (d1 + d2)
−(d1 + R)
0
0
0
τi
0
0
0
0
0
0
0
0
ei
Sphere
Sphere
− (d1 + d2 + d3)
Sphere
Sphere
0
−d15
−d15 − d16
Incident pointBoundary equationsSpherical surface boundary:Plane surface boundary:For the purpose of tracing the reflected or refracted ray incidents at the boundary surface, one needs the incidence angle θ (0° ≤ θ ≤ 90°), which is determined by the dot product of and the active unit normal vector i . Then the ray unit directional vector can be obtained by the refraction and reflection law of optics, and Equations (7) and (8) show the calculated and simplified result of them. Note that N is the index of refraction or reflection defined by the Snell’s law. More details about the skew-ray tracing method derivation process are given in publications by Lin [14,15].The unit vector of the reflected ray:The unit vector of the refracted ray:Sequentially tracing the ray incident points on each optical boundary gives the coordinates of the spots on the two CCDs. Because ω, ω and δ are generally very small, a first-order Taylor series expanded about ω = ω = δ = 0 can be used to obtain a first-order equation of the proposed system measurement. Then, substituting into the equation the parameters for the actual sensor position and measurement system, such as the system internal unit distance d and the lens surface radius R, the system measurement Equation (9) of the spot coordinates on the two CCDs can be obtained:Equation (10) is the result of a reverse derivation of solving Equation (9). Equation (10) gives a set of linear equations that gives accurate sample slanting angles (ω, ω) and distance (δ) from the spot center locations on the CCDs:
5. Experimental Results and Discussion
Figure 5 shows the actual design of the proposed measurement system on an optical bench.
Figure 5
Photograph of the laboratory-built prototype.
The experimental set-up includes placing the sample on a dual (α-β) axis goniometer that rotates about the α and β axes with a resolution of 0.1°. LabVIEW (National Instruments Co., Mopac Expwy Austin, TX, USA ) is used to control the linear stage (one step of 1 lm, HF-KP053-B series, Chiuan Yan Tech, Changhua, Taiwan) to induce mono-dimensional movements of the sample (i.e., distance (δ)), and a He-Ne Laser is used as the system light source (λ = 632 nm, 2 mW).
5.1. Part 1
The measurement results of the sample distance (δ) and slanting angles (ω, ω) are verified individually. When verifying the measurement results of the distance (δ), the sample is driven by a linear stage along the y-direction with both slanting angles (ω, ω) set to 0°. The measurement range of the distance is −1~+1 mm. When verifying the measurement results of the flat sample slanting angle ω using a dual axis goniometer, the sample distance (δ) is fixed to 0 mm, and the slanting angle ω is set to 0°. The measurement range of the slanting angle is −1°~+1°. The verification method of the measurement results of the flat sample slanting angle ω is similar to that of ω. The verification results are shown in Figure 6. All measurement points in Figure 6 originate from simultaneous images captured by two CCDs. The sampling frequency is one image per second, and 20 images are captured per measured point. Then, the average values of the sample distance (δ) and slanting angles (ω, ω) are calculated using the results of the mathematical derivations in the previous section. It is observed that the measured errors of the slanting angles (ω, ω) and the distance (δ) are 0.009° and 6 µm, respectively. In other words, the measured linearity of the slanting angles (ω, ω) and the distance (δ) is 0.45% and 0.3%, respectively.
Figure 6
Verification of experimental results: (a) distance (δ); (b) slanting angle (ω); and (c) slanting angle (ω).
5.2. Part 2
This part would show the complex measurement results of the sample distance (δ) and slanting angles (ω, ω). However the possible permutations of the sample distance (δ) and slanting angles (ω, ω) multiply towards infinity. This part would verify the measurement results of the distance (δ) under the setting of slanting angles (ω, ω) that are equal to (2°, 2°), (−2°, −2°), (−2°, 2°), (2°, −2°). The purpose of this experiment is to find the limit of the laboratory-built prototype.The maximum measurement range of the distance (δ) is −4~+4 mm and each measured point is 1 mm apart. The sampling frequency is one image per second, and 20 images are captured per measured point. All measurement points in Figure 7 originate from simultaneous images captured by two CCDs. Figure 7 shows the experimental results are very similar to the simulation results on two CCDs.
Figure 7
Verification of the distance (δ) results with the slanting angles (ω, ω): (a) (2°, 2°), (b) (−2°, −2°), (c) (2°, −2°), and (d) (−2°, 2°).
6. System Stability Test
The stability test involves first placing the proposed measurement system in a stable environment for at least 15 min to regulate the temperature of the system. Then, the sample is adjusted to a fixed orientation and distance (e.g., distance δ = 0 mm; slanting angles ω = ω = 0°), and the system is sampled continuously for 6 min. The results of the system stability test are shown in Figure 8. As seen, system stability is achieved within 6 min at a distance and inline angle of 3 μm and 0.01°, respectively. However the measured accuracy of the proposed measurement system is not only influenced by the laser beam instability but also by misalignments, aberrations, CCD sensitivity, etc. and can be enhanced by using high quality laser and close-loop with a feedback signal methods [16,17]. As a result, in the future, these factors will need to be considered and optimized to reduce system errors and improve measured accuracy. Also we will produce modified physics model for real applications in industry and we must overcome some additional challenges. In our plan, we will combine our previous study to improve robustness toward geometrical fluctuations of the laser beam of the proposed measurement system and analyze accuracy influences by the components position error, misalignments, aberrations, quantization errors, vibrations, and laser non-stability effect, etc.
Figure 8
Results of proposed measurement system stability test: (a) distance (δ) and (b) slanting angles (ω, ω).
7. Comparison of Proposed Measurement System and Automatic Collimator
We performed a comparison test using a commercially available automatic collimator (H400-C050, measurement range: ±0.5°, Suruga Seiki Co., Shizuoka, Japan) and the proposed measurement system to measure the slanting angles of the sample (ω, ω). As shown in Figure 9, the sample is placed on a dual axis goniometer that is installed on a linear stage. The proposed measurement system and the commercially available automatic collimator are configured alongside each other to monitor the slanting angles (ω, ω) of the sample on the linear stage simultaneously. The linear stage is driven so that the automatic collimator and the proposed measurement system can simultaneously measure the sample slanting angle information in scanning mode. Figure 10 shows the results of comparing the proposed measurement system and the conventional automatic collimator. Using the dual axis goniometer to set the sample slanting angles as ω = 0.5° and ω = 0°, one measurement is recorded for every 1 mm movement of the linear stage. Each recorded point is the averaged result of 10 separate measurements. The experimental results have shown that the proposed measurement system has excellent performance and its practicability, compared to the conventional automatic collimator.
Figure 9
Set-up of the proposed measurement system and automatic collimator comparison test.
Figure 10
Comparative test results of proposed measurement system and automatic collimator: (a) ω experimental results and (b) ω experimental results.
8. Conclusions
An optical non-contacting measurement system has been successfully developed in this study. This system can measure workpiece samples with a slanting angle and simultaneously measure the sample distance and its orientation. The optical simulation software Zemax has been used to perform a feasibility analysis of this system. Additionally, a model of the proposed measurement system has been established using a HTM. The skew-ray tracing method is employed to trace the actual ray propagation path to obtain the system measurement equations. Finally, a laboratory-built prototype is constructed on an optical bench to verify the performance of the proposed measurement system. The orientation and distance measurement experiments show that the measuring ranges for the angles and distance are ±1° and ±1 mm, respectively, and the measured errors of the angles and the distance are 0.009° and 6 µm, respectively. In other words, the measured linearity of the slanting angles (ω, ω) and the distance (δ) is 0.45% and 0.3%, respectively.