Method for correcting values detected by linear scales
11333535 · 2022-05-17
Assignee
Inventors
Cpc classification
G01D18/00
PHYSICS
International classification
G01D18/00
PHYSICS
G01B11/00
PHYSICS
Abstract
Provided is a method for more accurately correcting position coordinates of a point on an object to be imaged, the coordinates being identified based on values detected by linear scales. A visual field is moved to a measurement point defined on a recessed portion formed on a calibration plate, and an image is captured (step S13-1), edges are detected from an image of sides of the recessed portion (step 313-2), an intersection of the edges is calculated (step S13-3), values of the intersection as actually measured by the linear scales are saved (step S13-4), and position coordinates of the point on the object to be imaged as detected by the linear scales are corrected by using a true value and a difference.
Claims
1. A method for correcting values detected by linear scales of an apparatus, the apparatus being configured to identify position coordinates of a point on an object to be imaged based on the values detected by the linear scales, the method comprising: using a calibration plate having recessed portions or projecting portions arranged two-dimensionally, the recessed portions or the projecting portions each having sides intersecting each other; holding, as a true value, position coordinates of an intersection of the sides in a substrate coordinate system defined for the calibration plate; acquiring, as an actually measured value, position coordinates, in the substrate coordinate system, of a reference point defined as an intersection of edges detected from an image of the sides, intersecting each other, of the recessed portions or the projecting portions within a captured image of the calibration plate, the position coordinates being detected by the linear scales; and correcting values of the point, detected by the linear scales, on the object to be imaged using a difference between the actually measured value and the true value as a correction amount.
2. The method for correcting values detected by linear scales according to claim 1, wherein when there is a difference in temperature of the calibration plate between when the true value is acquired and when the actually measured value is acquired, the true value is corrected by an amount of change caused by thermal expansion based on the difference in temperature.
3. The method for correcting values detected by linear scales according to claim 1, wherein when there is misalignment of the apparatus between when the true value is acquired and when the actually measured value is acquired, the true value is corrected by an amount of the misalignment.
4. The method for correcting values detected by linear scales according to claim 1, wherein the calibration plate is made of a square plate and has the recessed portions arranged two-dimensionally, each of the recessed portions being formed by spotfacing into a square shape on a surface of the square plate and having the sides.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1)
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
(11)
(12)
(13)
MODE FOR CARRYING OUT THE INVENTION
First Embodiment
(14) Hereinafter, a visual inspection apparatus 1 according to an embodiment of the present invention will be described in more detail with reference to the drawings.
(15)
(16) The linear scales 8, 9, 10 each include a member to be detected disposed on the frame 7 and the gantry 4 and a detector provided on the gantry 4 and the imaging unit 3, and the detector detects position information on the member to be detected.
(17) In the visual inspection apparatus 1 shown in
(18) With a substrate 11 taken as an example of the inspection target object, a method for obtaining a coordinate value of a point P on the inspection target object will be described.
(19)
(20) According to the embodiment, the position of the point P on the substrate 11 in the substrate coordinate system with the substrate coordinate system origin set as (0,0) is calculated as P=image capture system axis position+detected coordinate in visual field.
(21) A description will be given of how to calculate the image capture system axis position 15 for linear scale correction with reference to
(22) In
y′=y2−(y2−y1)*(x1/w)
x′=x1
(23) where x′ approximates x1 because x′ is nearly equal to x1 when y2−y1 is smaller than w.
(24) Next, a description will be given of how to transform the detected coordinates in the visual field from an image manipulation system to the visual field coordinate system with reference to
(25) Herein, x (pixel) denotes an X coordinate in the image manipulation system, and y (pixel) denotes a Y coordinate in the image manipulation system. Then, x′ (μm) denotes an X coordinate in the machine coordinate system and y′ (μm) denotes a Y coordinate in the machine coordinate system. Further, width (pixel) denotes a width of a visual field image, height (pixel) denotes a height of the visual field image, and a denotes resolution of the camera 2 (for example, 6 μm or 10 μm).
(26) Then, transformation to the visual field coordinate system is made by the following Equation (2): note that Equation (2) is applicable to coordinate transformation only within the visual field, and a distance from the machine coordinate system origin is calculated by both Equation (2) and Equation (1),
x′=(x−width/2)*α
y′={(height−y)−height/2}*α.
(27)
(28) Note that as the material of the calibration plate 20, not only metal such as SUS but also ceramics obtained by molding and sintering ceramic powder may be used. The steep edge at each of the sides 21a, 21b, 21c, 21d of the recessed portion 21 on the front surface of the calibration plate 20 can be formed with high accuracy by cutting a ceramic plate member using a diamond sintered tool or the like. The calibration plate 20 made of ceramic is higher in rigidity, chemical stability, wear resistance and less in deformation due to thermal expansion than SUS. Such a calibration plate 20 suffers neither rust nor deformation due to, for example, scratches or dents, thereby allowing calibration 20 to be made with high accuracy.
(29) Further, when a synthetic resin such as plastic is used as the material of the calibration plate 20, machining accuracy up to about 10 μm can be achieved, thereby allowing the calibration plate 20 that is inexpensive and resistant to damage to be formed.
(30) Next, a description will be given of the flow of inspection made by the visual inspection apparatus 1 with reference to the time chart shown in
(31) First, a controller sends a position command to a servo driver (step S1). The servo driver drives, upon receipt of the position command, a servo motor to move the gantry 4 and the imaging unit 3, and the servo driver sends, upon completion of movement to a predetermined position, a message indicating the completion of movement to the controller (step S2).
(32) Then, the controller reads linear scale values corresponding to the predetermined position from the linear scales 8, 9 10 (step S3).
(33) Next, the controller sends an image-capture command to the imaging unit 3 (step S4). The imaging unit 3 sends, upon completion of image capture, a message indicating completion of exposure to the controller (step S5).
(34) Step S1 to step S5 are repeated until image capture for the entire visual field is completed.
(35) The controller saves the values read from the linear scales 8, 9, 10 to a predetermined area in a storage unit (step S6). This point is the end of the inspection (step S7).
(36) Next, the controller reads a detected coordinate value from an image processor of the imaging unit 3 (step S8). At this time, the image processor of the imaging unit 3 makes a calculation for correction of coordinates in the visual field such that detected coordinates=the image capture system axis position+the detected coordinates in the visual field (step S9).
(37) Next, a description will be given of the flow of calibration using the above-described calibration plate 20.
(38) First, a temperature of the calibration plate 20 is acquired for a process of correcting thermal expansion caused by a change in temperature of the calibration plate 20 (step 311). Details of a subroutine of this process will be described with reference to
(39) Herein, a distance that changes due to thermal expansion is calculated by the following Equation (3):
Thermal expansion change distance (μm)=coefficient of thermal expansion*temperature difference (degree) from temperature when true value is measured*distance from the end origin of the calibration plate 20 (mm)/1000.
(40) For example, it is assumed that the temperature of the calibration plate 20 during this calibration is 22.0 degrees, and the temperature of the calibration plate 20 during measurement of the true value is 24.0 degrees. When the calibration plate 20 is made of SUS304, the coefficient of thermal expansion is 17.3. Assuming that the distance from the end origin of the calibration plate 20 is 450 mm, the value of the thermal expansion change distance as the amount of change caused by thermal expansion is as follows:
17.3*(−2)*450/1000=−15.57 μm.
(41) Note that it is desirable that the temperature change during calibration be within ±0.1 degrees.
(42) Next, the calibration plate 20 is loaded by the conveyor into the visual inspection apparatus 1, that is, to below the camera 2 (step S12).
(43) Next, a process of acquiring an actually measured value of a measurement point is performed (step S13). Details of a subroutine of the process of acquiring an actually measured value of a measurement point will be described with reference to
(44) Along a dashed arrow in
(45) Returning to
(46) Next, misalignment of the calibration plate 20 is corrected (step S15). Details of a subroutine of the process of correcting misalignment of the calibration plate 20 will be described with reference to
(47) First, using measurement points located at the lower left and lower right of the calibration plate 20 (shown by dotted circles in
θ (rad)=arctan{(Y coordinate value of lower right measurement point−Y coordinate value of lower left measurement point)/(X coordinate value of lower right measurement point−X coordinate value of lower right measurement point)}.
(48) First, the true value (X, Y coordinates) of the calibration plate 20 that takes into account a change in temperature between true value measurement and calibration using Equation (3) is corrected by the following Equation (5) (step S15-2):
X′=X cos θ−Y sin θ
Y′=X sin θ+Y cos θ.
(49) Next, an offset is added, based on the coordinate values (X′, Y′) of the lower left measurement point of the calibration plate 20 obtained by Equation (5), to the true value for the substrate coordinate system in accordance with the following Equation (6) (step S15-3):
X″=X′+lower left measurement point of calibration plate (X′)
Y″=Y′+lower left measurement point of calibration plate (Y′).
(50) Returning to
(51)
(52) A description will be given of a specific example of the process of correcting detected coordinates of a measurement target point in step S9 during the visual inspection shown in
(53) With reference to
C(m)_X=(1−m_X)(0+m_Y)C(a)_X+
(0+m_X)(0+m_Y)C(b)_X+
(1−m_X)(1−m_Y)C(c)_X+
(0+m_X)(1−m_Y)C(d)_X
C(m)_Y=(1−m_X)(0+m_Y)C(a)_Y+
(0+m_X)(0+m_Y)C(b)_Y+
(1−m_X)(1−m_Y)C(c)_Y+
(0+m_X)(1−m_Y)C(d)_Y.
(54) As described above, even when the linear scale 8, 9, or 10 becomes relatively inclined or misaligned, the visual inspection apparatus 1 can more accurately correct a value, detected by the linear scales, of a measurement target point on a measurement target object. Since the measurement point is the intersection of the edges detected from the image of the sides 21a to 21c of the recessed portion 21, and the sides of the recessed portion can have an appropriate length, an effect of an error during intersection calculation can be reduced, and the position coordinates of the measurement target point can be corrected more accurately.
(55) Note that, in order to allow a comparison between the configuration requirement of the present invention and the configuration of the embodiment, the configuration requirement of the present invention will be described with the reference numerals used in the drawings.
(56) <First Invention>
(57) A method for correcting values detected by linear scales (8, 9, 10) of an apparatus (1), the apparatus (1) being configured to identify position coordinates of a point on an object to be imaged based on the values detected by the linear scales (8, 9, 10), the method including using a calibration plate (20) having recessed portions (21) or projecting portions arranged two-dimensionally, the recessed portions (21) or the projecting portions each having sides (21a, 21b, 21c, 21d) intersecting each other, holding, as a true value, position coordinates of an intersection of the sides in a substrate coordinate system defined for the calibration plate (20), acquiring, as an actually measured value, position coordinates, in the substrate coordinate system, of a reference point (22) defined as an intersection of edges detected from an image of the sides (21a, 21b, 21c, 21d), intersecting each other, of the recessed portions (21) or the projecting portions within a captured image of the calibration plate (20), the position coordinates being detected by the linear scales (8, 9, 10), and correcting values of the point, detected by the linear scales (8, 9, 10), on the object to be imaged using a difference between the actually measured value and the true value as a correction amount.
DESCRIPTION OF SYMBOLS
(58) 1: visual inspection apparatus 2: camera 8, 9, 10: linear scale 12: substrate coordinate system origin P: point on substrate 20: calibration plate 21: recessed portion 21a, 21b, 21c, 21d: side 22: measurement point