Calibration method for measurement apparatus measuring three-dimensional geometry, measurement system, and program

The method uses multiple imaging units to capture images of a calibration jig from various directions, addressing calibration challenges for large or complex objects by specifying rotation and translation matrices, ensuring precise three-dimensional shape measurements.

JP2024116737APending Publication Date: 2024-08-28MITUTOYO CORP
View PDF 9 Cites 0 Cited by

Patent Information

Application Number
JP2023022521
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-02-16
Publication Date
2024-08-28

AI Technical Summary

Technical Problem

Existing measuring devices face challenges in calibrating three-dimensional shapes of large or complex objects due to difficulties in imaging the same calibration jig from multiple angles, environmental fluctuations, and dimensional deviations, making precise calibration difficult.

Method used

A method involving multiple imaging units that capture images of a calibration jig from different directions, including movements and rotations, to specify rotation and translation matrices for coordinate transformation, allowing for precise calibration of the measuring device.

Benefits of technology

Enables easy and accurate calibration of measuring devices for large or complex objects by aligning coordinate positions and distances across multiple imaging units, ensuring precise three-dimensional shape measurements.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024116737000001_ABST
    Figure 2024116737000001_ABST
Patent Text Reader

Abstract

To easily calibrate a measurement apparatus that measures a three-dimensional geometry of a large measurement target.SOLUTION: A calibration method includes: a first imaging step of imaging a calibration jig; a second imaging step of imaging the calibration jig after moving the calibration jig in a predetermined first direction; a third imaging step of imaging the calibration jig after moving the calibration jig in a predetermined second direction; a fourth imaging step of imaging the calibration jig; a fifth imaging step of imaging the calibration jig after rotating the calibration jig about an axis oriented in a predetermined third direction; a sixth imaging step of imaging the calibration jig after rotating the calibration jig about an axis oriented in a fourth direction; and a step of identifying calibration parameters used for calibration of the measurement apparatus.SELECTED DRAWING: Figure 4
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a calibration method, a measurement system, and a program for a measurement device that measures a three-dimensional shape. [Background technology]

[0002] There is known a measuring device that includes multiple imaging devices and that measures the three-dimensional shape of a measurement object in a non-contact manner based on the results of imaging the measurement object from multiple directions (see, for example, Patent Document 1). In such a measuring device, the multiple imaging devices image the same calibration jig, or the multiple imaging devices image a calibration jig of known dimensions, thereby calibrating the device. [Prior art documents] [Patent documents]

[0003] [Patent Document 1] Special Publication No. 2019-507885 [Non-patent literature]

[0004] [Non-Patent Document 1] Toru Tamaki, "Pose Estimation and Rotation Matrix", IEICE Technical Report, Institute of Electronics, Information and Communication Engineers, 2009, SIP2009-48, SIS2009-23, pp.59-64 Summary of the Invention [Problem to be solved by the invention]

[0005] However, in the case of a measuring device for measuring the three-dimensional shape of a large measurement object or a measuring device for measuring the three-dimensional shape of a complex measurement object, it is difficult for the multiple imaging devices to image the same calibration jig because multiple imaging devices are arranged at various positions. In addition, it is possible to use a large calibration jig or a calibration jig with a complex shape according to the size of the measurement object, but it is relatively difficult to measure the precise dimensions of such a calibration jig. Even if the dimensions of such a calibration jig can be measured, the dimensions may fluctuate due to environmental changes, or may be subject to impacts, causing dimensional deviations, making it difficult to easily calibrate the measuring device.

[0006] The present invention has been made in consideration of these points, and has an object to easily calibrate a measuring device that measures the three-dimensional shape of a large measurement target. [Means for solving the problem]

[0007] In a first aspect of the present invention, there is provided a calibration method for calibrating a measuring device for measuring a three-dimensional shape of a measurement object by using a calibration jig, the method comprising: a first imaging step of imaging a first measured element among a plurality of measured elements having a predetermined shape and held by the calibration jig, the first measured element being imaged by a first imaging step, and imaging a second measured element different from the first measured element by a second imaging step different from the first imaging step; and after the first imaging step, moving the calibration jig in a predetermined first direction, and then imaging the first measured element by the first imaging step. a second imaging step of imaging the first measured element with the second imaging unit and imaging the second measured element with the second imaging unit; a third imaging step of, after the second imaging step, moving the calibration jig in a predetermined second direction different from the first direction, and then imaging the first measured element with the first imaging unit and imaging the second measured element with the second imaging unit; a fourth imaging step of imaging the first measured element with the first imaging unit and imaging the second measured element with the second imaging unit; and a fourth imaging step of, after the fourth imaging step, rotating the calibration jig about an axis in a predetermined third direction, and then imaging the first measured element with the first imaging unit. a fifth imaging step of imaging the first element under measurement with the first imaging unit and imaging the second element under measurement with the second imaging unit; a sixth imaging step of, after the fifth imaging step, rotating the calibration jig about an axis in a predetermined fourth direction different from the third direction, imaging the first element under measurement with the first imaging unit and imaging the second element under measurement with the second imaging unit; a step of specifying a second coordinate position indicating the position of the second measured element in a second coordinate based on a field of view of the second imaging unit; a step of specifying a first rotation matrix for rotating and transforming the first coordinates and a second rotation matrix for rotating and transforming the second coordinates such that a direction in which the first coordinate position moves and a direction in which the second coordinate position moves coincide before and after movement of the calibration jig in the first direction and the second direction; and a step of specifying a first rotation matrix for rotating and transforming the second coordinates such that a distance between the first measured element and the second measured element coincides before and after rotation of the calibration jig.and determining a first translation vector for translating the first coordinate and a second translation vector for translating the second coordinate.

[0008] The method may further include a step of converting the first coordinate position into a calibration coordinate by rotating the first coordinate position by the first rotation matrix and translating the first translation vector, and a step of converting the second coordinate position into the calibration coordinate by rotating the second coordinate position by the second rotation matrix and translating the second translation vector.

[0009] The first direction and the second direction may be perpendicular to each other. The third direction and the fourth direction may be perpendicular to each other.

[0010] The step of identifying the first rotation matrix and the second rotation matrix may include the steps of: generating a first centroid matrix X based on a matrix indicating the first coordinate position, a matrix indicating the first coordinate position after the calibration jig is moved in the first direction, and a matrix indicating the first coordinate position after the calibration jig is moved in the second direction; generating a second centroid matrix Y based on a matrix indicating the second coordinate position, a matrix indicating the second coordinate position after the calibration jig is moved in the first direction, and a matrix indicating the second coordinate position after the calibration jig is moved in the second direction; and identifying the first rotation matrix and the second rotation matrix by pair-wise aligning coordinate positions indicated by each element of the first centroid matrix X and coordinate positions indicated by each element of the second centroid matrix Y.

[0011] In the step of generating the first centroid matrix, a matrix x indicating the first coordinate position of the i-th first element under test is 1i The matrix X1=[x 11 ,x 1N ], and a matrix indicating the first coordinate position after the calibration jig is moved in the first direction is defined as element x 2i The matrix X2=[x 21 ,x 2N], and a matrix indicating the first coordinate position after the calibration jig is moved in the second direction is defined as element x 3i The matrix X3=[x 31 ,x 3N ] is generated, the centers of gravity of the generated matrices X1, X2, and X3 are calculated, a matrix having the calculated three centers of gravity x1, x2, and x3 as elements is generated as the first center of gravity matrix X=[x1, x2, x3], and in the step of generating the second center of gravity matrix, a matrix indicating the second coordinate position is generated as element y 1i The matrix Y1=[y 11 ,···,y 1M ], and a matrix indicating the second coordinate position after the calibration jig is moved in the first direction is defined as element y 2i The matrix Y2=[y 21 ,···,y 2M ], and a matrix indicating the second coordinate position after the calibration jig is moved in the second direction is defined as element y 3i The matrix Y3=[y 31 ,···,y 3M ], calculate the centers of gravity of the generated matrices Y1, Y2, and Y3, and generate a matrix having the calculated three centers of gravity y1, y2, and y3 as elements as the second center of gravity matrix Y=[y1, y2, y3].

[0012] The step of identifying the first translation vector and the second translation vector includes: 1i The matrix X1=[x 11 ,x 1N ], and a matrix indicating the first coordinate position after rotating the calibration jig around the third direction as an axis is defined as element x 4i Matrix X4=[x 41 ,x 4N ], and a matrix indicating the first coordinate position after rotating the calibration jig around the fourth direction as an axis is defined as element x 5i Matrix X5=[x 51 ,x 5N], and generating a first calibration matrix, a second calibration matrix, and a third calibration matrix by rotating the generated matrices X1, X4, and X5 by the first rotation matrix, respectively; and 1i The matrix Y1=[y 11 ,···,y 1M ], and a matrix indicating the second coordinate position after rotating the calibration jig around the third direction as an axis is defined as element y 4i The matrix Y4=[y 41 ,···,y 4M ], and a matrix indicating the second coordinate position after rotating the calibration jig around the fourth direction as an axis is defined as element y 5i The matrix y5=[y 51 ,···,y 5M and generating a fourth calibration matrix, a fifth calibration matrix, and a sixth calibration matrix by rotating the generated matrices Y1, Y4, and Y5 by the first rotation matrix, respectively, to generate a fourth calibration matrix, a fifth calibration matrix, and a sixth calibration matrix; and identifying the first translation vector and the second translation vector such that a first distance from a coordinate position where the first translation vector is added to the first calibration matrix to a coordinate position where the second translation vector is added to the fourth calibration matrix, a second distance from the coordinate position where the first translation vector is added to the second calibration matrix to a coordinate position where the second translation vector is added to the fifth calibration matrix, and a third distance from the coordinate position where the first translation vector is added to the third calibration matrix to a coordinate position where the second translation vector is added to the sixth calibration matrix are consistent.

[0013] Before calibrating the measuring device using the calibration jig, the method may further include the steps of: imaging a reference jig having a plurality of reference measuring elements whose dimensions and / or positional relationships are known and which is smaller than the calibration jig with the first imaging unit, and calibrating the first coordinate indicating the coordinate position in the field of view of the first imaging unit based on the imaging result of the first imaging unit; and imaging the reference jig with the second imaging unit, and calibrating the second coordinate indicating the coordinate position in the field of view of the second imaging unit based on the imaging result of the second imaging unit.

[0014] In a second aspect of the present invention, there is provided a calibration method for calibrating a measuring device for measuring a three-dimensional shape of a measurement object by using a calibration jig, the method comprising: a first imaging step of imaging a first measured element of a plurality of measured elements having a predetermined shape and held by the calibration jig, and imaging a second measured element different from the first measured element by a second imaging step different from the first imaging step; a second imaging step of moving the calibration jig in a predetermined first direction after the first imaging step, and imaging the first measured element by the first imaging step and imaging the second measured element by the second imaging step; and a second imaging step of moving the calibration jig in a predetermined second direction different from the first direction after the second imaging step, and imaging the first measured element by the first imaging step. a third imaging step of imaging the first element under measurement with the first imaging unit and imaging the second element under measurement with the second imaging unit; a fourth imaging step of imaging the first element under measurement with the first imaging unit and imaging the second element under measurement with the second imaging unit; a fifth imaging step of, after the fourth imaging step, rotating the calibration jig about an axis of a predetermined third direction, and then imaging the first element under measurement with the first imaging unit and imaging the second element under measurement with the second imaging unit; a sixth imaging step of, after the fifth imaging step, rotating the calibration jig about an axis of a predetermined fourth direction different from the third direction, and then imaging the first element under measurement with the first imaging unit and imaging the second element under measurement with the second imaging unit; and a step of calibrating the measurement apparatus based on the imaging results of the first imaging unit and the second imaging unit.

[0015] In a third aspect of the present invention, there is provided a measurement system comprising the measuring device which measures a three-dimensional shape of the object to be measured, and the calibration jig which has a measured element of a predetermined shape and is used to calibrate the measuring device, wherein the calibration jig has the first measured element and the second measured element of a predetermined shape, and the measuring device comprises a moving unit for moving the object to be measured, a light source for irradiating the object to be measured with light, a plurality of imaging units which respectively image a plurality of different areas of the object to be measured, and a control unit which controls the moving unit and the imaging units to measure the three-dimensional shape of the object to be measured based on the imaging results of the plurality of imaging units, and the control unit moves the calibration jig while causing the first measured element and the second measured element to be imaged by the plurality of imaging units before and after the movement of the calibration jig, thereby performing the calibration method of the first or second aspect, thereby calibrating the measuring device.

[0016] In a fourth aspect of the present invention, there is provided a program which, when executed by a computer, causes the computer to execute the calibration method of the first or second aspect. Effect of the Invention

[0017] The present invention provides an advantage in that it is possible to easily calibrate a measuring device that measures the three-dimensional shape of a large measurement target. [Brief description of the drawings]

[0018] [Figure 1] 1 shows an example of the configuration of a measurement system S according to this embodiment. [Diagram 2] An example is shown in which a calibration jig 30 is mounted on the measurement device 10 according to the present embodiment. [Diagram 3] 2 shows an example of the configuration of a control unit 140 according to the present embodiment. [Figure 4] 1 shows an example of an operation flow of the measurement device 10 according to the present embodiment. [Diagram 5] 1 shows a first example of the coordinate position of the device under test 31 identified by the measuring section 243 according to the present embodiment. [Figure 6]13 shows a second example of the coordinate position of the device under test 31 identified by the measuring section 243 according to the present embodiment. [Figure 7] 13 shows an example of an operation flow of the control unit 240 according to the present embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0019] <Example of measurement system S configuration> 1 shows an example of the configuration of a measurement system S according to this embodiment. The measurement system S includes a measurement device 10 and a calibration jig 30.

[0020] The measuring device 10 irradiates light from multiple directions onto a measurement object W (hereinafter also referred to as workpiece W) arranged in a three-dimensional space, and receives the reflected light to measure the three-dimensional shape of the measurement object W. The measuring device 10 also irradiates light from multiple directions onto a calibration jig 30 arranged in a three-dimensional space, and receives the reflected light to identify calibration parameters used for its own calibration. The measuring device 10 includes a stage 110, a moving section 120, an optical unit 130, and a control unit 140.

[0021] The stage 110 carries a measurement target W. When the measurement system S calibrates the measurement device 10, the stage 110 carries a calibration jig 30. The stage 110 is configured to be movable in a plurality of predetermined directions. In this embodiment, an example will be described in which the stage 110 is configured to be movable in a first direction and a second direction different from the first direction. The first direction and the second direction are, for example, perpendicular to each other.

[0022] For example, the stage 110 has a function of an XY stage that is movable in the X and Y directions on an XY plane. In this case, the first direction is the X or Y direction, and the second direction is the Y or X direction.

[0023] Moreover, the stage 110 is configured to be rotatable around a plurality of predetermined directions as axes. In this embodiment, an example will be described in which the stage 110 is configured to be rotatable around a third direction and a fourth direction different from the third direction as axes. The third direction and the fourth direction are, for example, perpendicular to each other. Here, the first direction and the third direction may be the same, and the second direction and the fourth direction may be the same.

[0024] For example, the stage 110 has a function of a rotation stage that can rotate about an axis in the X direction and a function of a rotation stage that can rotate about an axis in the Y direction. In this case, the third direction is the X direction or the Y direction, and the fourth direction is the Y direction or the X direction. Note that the measuring device 10 only needs to be configured to be able to move the calibration jig 30, and instead of the stage 110, a movable arm or the like that can move the calibration jig 30 while fixing it may be provided.

[0025] The moving unit 120 moves the stage 110. In other words, when the stage 110 has a measurement target W mounted thereon, the moving unit 120 moves the measurement target W. Furthermore, when the stage 110 has a calibration jig 30 mounted thereon, the moving unit 120 moves the calibration jig 30. The moving unit 120 has an actuator such as a motor, and moves the stage 110 in a first direction or a second direction. Furthermore, the moving unit 120 rotates the stage 110 around an axis in the third direction. Similarly, the moving unit 120 rotates the stage 110 around an axis in the fourth direction.

[0026] The optical unit 130 has a light source 131 and an imaging section 132. The light source 131 irradiates light onto the measurement object W. The light source 131 has at least one of a halogen lamp, an LED, a laser, or the like. The light source 131 is, for example, a projector that irradiates light of a predetermined pattern. The light irradiated from the light source 131 is reflected by the measurement object W. The imaging section 132 receives the reflected light from the measurement object W and images the measurement object W. The imaging section 132 has a camera capable of capturing still images, videos, and the like. The imaging section 132 may have multiple cameras.

[0027] The optical units 130 are provided at different positions in the measurement device 10. In other words, the light sources 131 irradiate different regions of the measurement target W with light, and the imaging units 132 image different regions of the measurement target W, respectively. The imaging units 132 of the optical units 130 image different parts of the measurement target W, for example. In this case, it is desirable that the optical units 130 are arranged so that the overall configuration of the measurement target W can be grasped by combining the imaging results of the imaging units 132. In this embodiment, for the sake of simplicity, an example in which two optical units 130 are arranged will be described, but the present invention is not limited to this. Three or more optical units 130 may be arranged.

[0028] The control unit 140 controls the moving section 120 and the optical unit 130. When the stage 110 is carrying the measurement object W, the control unit 140 acquires an imaging result of the measurement object W by the imaging section 132 from the optical unit 130, and measures the three-dimensional shape of the measurement object W based on the acquired imaging result. When the stage 110 is carrying the calibration jig 30, the control unit 140 acquires an imaging result of the calibration jig 30 by the imaging section 132 from the optical unit 130, and identifies calibration parameters to be used for calibrating the measuring device 10 based on the acquired imaging result. The control unit 140 will be described later.

[0029] The calibration jig 30 has a plurality of elements to be measured 31 of a predetermined shape, and is a jig for calibrating the measuring device 10. It is desirable that the calibration jig 30 is provided with a plurality of elements to be measured 31 so that the plurality of elements to be measured 31 are within the field of view of the imaging section 132 of one optical unit 130 when the calibration jig 30 is mounted on the stage 110.

[0030] Fig. 2 shows an example in which the measuring device 10 according to this embodiment is equipped with the calibration jig 30. Fig. 2 shows an example in which a first measured element 31a is included in a field of view 133a of a first imaging section 132a of a first optical unit 130a, and a second measured element 31b is included in a field of view 133b of a second imaging section 132b of a second optical unit 130b.

[0031] In this embodiment, an example has been shown in which different elements 31 are included in the field of view 133a of the first imaging section 132a and the field of view 133b of the second imaging section 132b, but the present invention is not limited to this. For example, a part or all of the first element 31a may be included in the field of view 133a of the first imaging section 132a, and a part or all of the first element 31a may be included in the field of view 133b of the second imaging section 132b.

[0032] Each optical unit 130 can image the measured element 31 in the field of view by irradiating the calibration jig 30 with light from the light source 131 and capturing an image with the imaging section 132. Then, the control unit 140 acquires the image capturing result from the imaging section 132 and measures the three-dimensional shape of the measured element 31. The measured element 31 has a predetermined size and a predetermined shape. The measured element 31 may be formed with predetermined dimensions. Furthermore, the measured elements 31 may each have a different shape, mark, color, etc. In this embodiment, an example will be described in which the measured element 31 has a spherical shape, and the control unit 140 measures the center position of the sphere.

[0033] Here, the dimensions and positional relationship of the multiple elements under measurement 31 provided on the calibration jig 30 may be known in advance. In this case, the control unit 140 can calibrate the measuring apparatus 10 by comparing the known dimensions and positional relationship of the elements under measurement 31 with the measurement results of the three-dimensional shape of the elements under measurement 31. For example, the control unit 140 specifies, as calibration parameters, coefficients or the like to be multiplied with the measurement results of the three-dimensional shape of the elements under measurement 31 so that the measurement results of the three-dimensional shape of the elements under measurement 31 match the dimensions and positional relationship of the elements under measurement 31.

[0034] However, in the case of a measuring device 10 for measuring a large measurement target, the calibration jig 30 also becomes large, which can make it difficult to measure precise dimensions. Also, in the case of a measuring device 10 for measuring a complex measurement target, the shape, arrangement, etc. of the calibration jig 30 becomes complex, which can make it difficult to measure precise dimensions.

[0035] On the other hand, even if the dimensions of such a calibration jig 30 can be measured, the dimensions may fluctuate due to environmental changes, or may be subject to impacts, causing dimensional deviations, making it difficult to easily calibrate the measuring device 10. Therefore, the measuring system S according to this embodiment makes it possible to calibrate the measuring device 10 even when using a calibration jig 30 in which the dimensions and positional relationship of multiple elements to be measured 31 are unknown. The control unit 140 of such a measuring device 10 will be described next.

[0036] <Configuration example of control unit 140> 3 shows an example of the configuration of the control unit 140 according to this embodiment. The control unit 140 is, for example, a computer. The control unit 140 includes a communication unit 210, a storage unit 220, a display unit 230, and a control unit 240.

[0037] The communication unit 210 communicates with the moving unit 120 and the optical unit 130. The communication unit 210 transmits, for example, a control signal for moving the measurement target W or the calibration jig 30 to the moving unit 120. The communication unit 210 may also transmit a control signal for controlling the light source 131 and the imaging unit 132 to the optical unit 130. The communication unit 210 may receive an imaging result of the imaging unit 132 from the optical unit 130.

[0038] The communication unit 210 communicates via a dedicated connection line, a communication network, etc. The communication unit 210 may function as an interface for connecting to a communication network such as an Internet line, a wireless LAN, or a mobile phone network.

[0039] The storage unit 220 is a storage medium including, for example, a read only memory (ROM) and a random access memory (RAM). The storage unit 220 may also include a large-capacity storage device such as a hard disk drive (HDD) and / or a solid state drive (SSD). For example, when a computer functions as the control unit 140, the storage unit 220 may store information such as an operating system (OS) that causes the computer to function, and programs. The storage unit 220 may also store various information including data referenced when a program is executed.

[0040] The storage unit 220 may also store intermediate data, calculation results, thresholds, reference values, parameters, etc. that are generated (or used) by the control unit 140 during the operation process. The storage unit 220 may also supply the stored data to a request source in response to a request from each section in the control unit 140.

[0041] Display unit 230 displays information related to the measurement by measurement device 10. Display unit 230 displays information such as measurement conditions, measurement items, and measurement results. Display unit 230 may also display the communication state of control unit 140, the OS, the execution state of applications, and the like. Display unit 230 is, for example, a liquid crystal display or the like, a monitor, or the like.

[0042] The control unit 240 controls each unit of the measuring device 10. For example, the control unit 240 transmits and receives various information via the communication unit 210. The control unit 240 is, for example, a CPU (Central Processing Unit). The control unit 240 controls the moving unit 120 and the imaging unit 132 to measure the three-dimensional shape of the measurement target W based on the imaging results of the multiple imaging units 132.

[0043] The control unit 240 has a signal output unit 241, an acquisition unit 242, a measurement unit 243, a rotation matrix identification unit 244, and a translation vector identification unit 245. In other words, the CPU executes a program stored in the storage unit 220 to function as the control unit 240 having the signal output unit 241, the acquisition unit 242, the measurement unit 243, the rotation matrix identification unit 244, and the translation vector identification unit 245.

[0044] The signal output unit 241 outputs a control signal for controlling each unit of the measurement device 10 to the communication unit 210. The signal output unit 241 outputs, for example, a control signal for controlling the light source 131 and the imaging unit 132 of the optical unit 130. As an example, the signal output unit 241 outputs a control signal for causing the light source 131 of the one optical unit 130 to emit light in a predetermined pattern, and a control signal for causing the imaging unit 132 of the one optical unit 130 to capture an image. As a result, the communication unit 210 transmits the control signal to the one optical unit 130, and the one optical unit 130 captures an image of a subject (for example, the measured element 31) in the field of view.

[0045] Furthermore, the signal output unit 241 outputs a control signal for driving the moving unit 120. The signal output unit 241 may output a control signal for displaying information or the like on the display unit 230. The signal output unit 241 may generate a control signal corresponding to an operation purpose, or may output a control signal of a predetermined signal pattern. The signal pattern of the control signal may be stored in the storage unit 220.

[0046] The acquisition section 242 acquires data of an image captured by the imaging section 132 of the optical unit 130 as an imaging result. The acquisition section 242 may store the acquired imaging result of the imaging section 132 in the storage section 220. The acquisition section 242 may also acquire information on the current position of the stage 110.

[0047] The measuring unit 243 measures the three-dimensional shape of the measurement object W or the calibration jig 30 based on the imaging results of the imaging unit 132 acquired by the acquiring unit 242. The measuring unit 243 measures, for example, the length of a predetermined portion of the measurement object W, the dimensions of a predetermined shape, etc. By using the imaging results of the multiple imaging units 132, the measuring unit 243 can also measure the length and shape of a predetermined portion of the measurement object W that cannot fit within the field of view of one imaging unit 132. The operation of the measuring unit 243 to measure the three-dimensional shape of the measurement object W from the imaging results of the multiple imaging units 132 is known, so a detailed description will be omitted here.

[0048] The rotation matrix identifying unit 244 identifies a rotation matrix used for calibrating the measurement device 10. The translation vector identifying unit 245 identifies a translation vector used for calibrating the measurement device 10. The operations of the rotation matrix identifying unit 244 and the translation vector identifying unit 245 will be described next.

[0049] <An example of an operation flow of the measuring device 10> Fig. 4 shows an example of an operation flow of the measurement device 10 according to this embodiment. The measurement device 10 executes the operations from S51 to S66 shown in Fig. 4 to identify calibration parameters used for its own calibration. Although the measurement device 10 is configured to include multiple optical units 130, this operation flow will be simplified and an operation example using the first optical unit 130a and the second optical unit 130b will be described.

[0050] First, the measuring device 10 calibrates each optical unit 130 before calibrating the measuring device 10 using the calibration jig 30. In this case, the measuring device 10 calibrates each optical unit 130 using a reference jig that is smaller in size than the calibration jig 30. The size of the reference jig is, for example, large enough to fit within the field of view of the imaging section 132 included in one optical unit 130.

[0051] The reference jig has a plurality of reference measurement elements whose dimensions and / or positional relationship are known. As an example, the reference measurement elements have substantially the same shape as the measured element 31. Alternatively, the reference jig may have a shape whose dimensions are known. Such a small reference jig is a commonly used jig whose dimensions change little over time and is easy to handle. Calibration of each optical unit 130 using such a reference jig is known, so the calibration operation will be briefly described here.

[0052] First, a reference jig is mounted on stage 110 of measuring device 10 (S51). A plurality of reference jigs may be mounted on stage 110, or alternatively, a single reference jig may be mounted. When a plurality of reference jigs are mounted on stage 110, it is desirable to arrange the plurality of reference jigs so that they are within the field of view of each of optical units 130. Then, control unit 240 performs calibration for each optical unit 130 (S52).

[0053] For example, the control unit 240 captures an image of the reference jig with the first imaging unit 132a of the first optical unit 130a, and calibrates a first coordinate indicating a coordinate position in the field of view 133a of the first imaging unit 132a based on the imaging result of the first imaging unit 132a. Then, the control unit 240 specifies a first coefficient by which to multiply the measurement result of the three-dimensional shape of the reference measuring element of the reference jig so that the measurement result of the three-dimensional shape of the reference measuring element coincides with the known dimensions and positional relationship of the reference measuring element.

[0054] Next, the control unit 240 captures an image of the reference jig with the second imaging unit 132b of the second optical unit 130b, and calibrates second coordinates indicating a coordinate position in the field of view 133b of the second imaging unit 132b based on the imaging result of the second imaging unit 132b. Note that when one reference jig is mounted on the stage 110, for example, when the calibration of the first optical unit 130a is completed, the control unit 240 moves the stage 110 so that the reference jig is included in the field of view of the second optical unit 130b to be calibrated next, and then starts the calibration of the second optical unit 130b.

[0055] The control unit 240, similar to the calibration of the first optical unit 130a, specifies a second coefficient by which to multiply the measurement result of the three-dimensional shape of the reference measurement element based on the imaging result of the second imaging unit 132b so that the measurement result of the three-dimensional shape of the reference measurement element based on the imaging result of the second imaging unit 132b matches the known dimensions and positional relationship of the reference measurement element. As described above, the control unit 240 calibrates each of the multiple optical units 130. The control unit 240 may store the specified coefficient in the storage unit 220.

[0056] Next, the stage 110 of the measuring device 10 mounts the calibration jig 30 (S53). Next, the control unit 240 captures an image of the calibration jig 30 placed at the first reference position (S54). The first reference position is a predetermined position, such as the initial position of the stage 110. For example, it is desirable that the positional relationship between the calibration jig 30, the multiple optical units 130, and the first reference position is determined in advance so that multiple elements to be measured 31 of the calibration jig 30 fall within the fields of view 133 of the multiple imaging units 132 when the calibration jig 30 is placed at the first reference position.

[0057] The control unit 240, for example, moves the stage 110 to place the calibration jig 30 at a first reference position. Then, the control unit 240 turns on the light sources 131 of the multiple optical units 130 and then images the calibration jig 30 with the imaging unit 132. As a result, at the first reference position, among the multiple measured elements 31 included in the calibration jig 30, the first imaging unit 132a images the first measured element 31a, and the second imaging unit 132b, which is different from the first measured element 31a, images the second measured element 31b, which is different from the first imaging unit 132a.

[0058] Next, the control unit 240 moves the calibration jig 30 in a predetermined first direction from the first reference position (S55). The control unit 240 moves, for example, the stage 110 in the first direction by a predetermined distance. Note that it is desirable for the control unit 240 to move the stage 110 in the first direction within a range in which a plurality of elements to be measured 31 of the calibration jig 30 are included in the fields of view of the plurality of imaging units 132.

[0059] Then, the control unit 240 images the calibration jig 30 using the multiple optical units 130 (S56). The control unit 240 turns on the light sources 131 of the multiple optical units 130 and then images the calibration jig 30 with the imaging unit 132. As a result, the first imaging unit 132a images the first measured element 31a that has moved in the first direction, and the second imaging unit 132b images the second measured element 31b that has moved in the first direction.

[0060] Next, the control unit 240 moves the calibration jig 30 from the first reference position in a predetermined second direction different from the first direction (S57). For example, the control unit 240 returns the stage 110 to the first reference position and then moves it a predetermined distance in the second direction. Alternatively, the control unit 240 may move the stage 110 a predetermined distance in the second direction and then return it in the direction opposite to the first direction by the distance moved in S55.

[0061] Alternatively, the control unit 240 may move the stage 110 a predetermined distance in the second direction and subtract the distance moved in S55 from the measurement result. It is desirable that the control unit 240 moves the stage 110 in the second direction within a range in which a plurality of elements to be measured 31 of the calibration jig 30 are included in the fields of view of the plurality of imaging units 132.

[0062] Then, the control unit 240 captures an image of the calibration jig 30 using the multiple optical units 130 (S58). The control unit 240 captures an image of the calibration jig 30 by the same operation as in S56. As a result, the first imaging unit 132a captures an image of the first measured element 31a that has moved in the second direction, and the second imaging unit 132b captures an image of the second measured element 31b that has moved in the second direction.

[0063] Next, the control unit 240 captures an image of the calibration jig 30 placed at the second reference position (S59). The second reference position is a predetermined position, for example, an initial position of the stage 110. The second reference position is a position where, like the first reference position, a plurality of elements to be measured 31 of the calibration jig 30 fall within the fields of view 133 of the imaging units 132 when the calibration jig 30 is placed at the second reference position.

[0064] For example, the control unit 240 moves the stage 110 to the second reference position, and then captures an image of the calibration jig 30 with the imaging unit 132 in the same manner as in the operation of S54. The second reference position may be a position after the calibration jig 30 is moved in the second direction. In this case, the operation of S59 will have the same result as the operation of S58, so the operation of S59 may be omitted. The second reference position may be the same position as the first reference position, and in this case, the result of the operation of S59 will be the same as the result of the operation of S54, so the control unit 240 may simply move the calibration jig 30 to the second reference position.

[0065] Next, the control unit 240 rotates the calibration jig 30 in a predetermined direction around a predetermined third direction as an axis (S60). The control unit 240 rotates the stage 110 by a predetermined angle θ within a range in which a plurality of elements to be measured 31 of the calibration jig 30 are included in the fields of view 133 of the plurality of imaging units 132, for example.

[0066] Then, the control unit 240 captures an image of the calibration jig 30 using the multiple optical units 130 (S61). The control unit 240 captures an image of the calibration jig 30 by the same operation as in S56. As a result, the first imaging unit 132a captures an image of the first measured element 31a after it has been rotated about the third direction as an axis, and the second imaging unit 132b captures an image of the second measured element 31b after it has been rotated about the third direction as an axis.

[0067] Next, the control unit 240 rotates the calibration jig 30 in a predetermined direction around a predetermined fourth direction different from the third direction as an axis (S62). For example, the control unit 240 returns the stage 110 by a predetermined angle θ around the third direction as an axis, and then rotates the stage 110 by a predetermined angle φ around the fourth direction as an axis within a range in which a plurality of elements to be measured 31 of the calibration jig 30 are included in the fields of view 133 of the plurality of imaging units 132.

[0068] Alternatively, the control unit 240 may rotate the stage 110 by a predetermined angle φ around the fourth direction as an axis, and then return it by a predetermined angle θ around the third direction as an axis. Alternatively, the control unit 240 may rotate the stage 110 by a predetermined angle φ around the fourth direction as an axis, and subtract from the measurement result the amount of rotation by the predetermined angle φ around the fourth direction as an axis.

[0069] Then, the control unit 240 captures an image of the calibration jig 30 using the multiple optical units 130 (S63). The control unit 240 captures an image of the calibration jig 30 by the same operation as in S61. As described above, the control unit 240 outputs a control signal from the signal output unit 241 to move the calibration jig 30, while capturing images of the measured elements 31 by the multiple imaging units 132 before and after the movement of the calibration jig 30. Then, the acquisition unit 242 acquires the imaging results of the imaging units 132.

[0070] 4, an example in which the control unit 240 executes the movement of the calibration jig 30 in the first direction, the movement in the second direction, the rotation by the angle θ, and the rotation by the angle φ in this order has been described, but the present invention is not limited to this. The control unit 240 may execute the movement of the calibration jig 30 in the first direction, the movement in the second direction, the rotation by the angle θ, and the rotation by the angle φ in an order different from that shown in FIG.

[0071] Next, the control unit 240 specifies the coordinate position of the measured element 31 for each position to which the calibration jig 30 has been moved based on the imaging results of the multiple imaging units 132 (S64). For example, the measurement unit 243 specifies a first coordinate position indicating the position of the first measured element 31a in the first coordinate based on the field of view of the first imaging unit 132a in the multiple captured images captured by the first imaging unit 132a. The measurement unit 243 also specifies a second coordinate position indicating the position of the second measured element 31b in the second coordinate based on the field of view of the second imaging unit 132b in the multiple captured images captured by the second imaging unit 132b.

[0072] <First example of coordinate position of device under test 31> Fig. 5 shows a first example of the coordinate position of the measured element 31 identified by the measuring unit 243 according to this embodiment. Fig. 5 shows an example in which the measuring unit 243 measures the center positions of three spherical measured elements 31 based on the operation results from S53 to S58 shown in Fig. 4, and plots the coordinate positions of the measurement results. Note that it is preferable that the measuring unit 243 calculates the coordinate positions of the measurement results using the first coefficient and the second coefficient identified in the calibration operation from S51 to S52.

[0073] Fig. 5(A) shows the first coordinates based on the imaging result of the first imaging section 132a. For example, the first coordinate position shown by a circle indicates the coordinate position of the first measured element 31a at the first reference position. The first coordinate position shown by a square indicates the coordinate position of the first measured element 31a moved in the first direction from the first reference position, and the first coordinate position shown by a triangle indicates the coordinate position of the first measured element 31a moved in the second direction from the first reference position. In the first coordinates shown in Fig. 5(A), the first direction is Tx1 and the second direction is Ty1.

[0074] Fig. 5(B) shows the second coordinates based on the imaging result of the second imaging section 132b. For example, the second coordinate position shown by a circle indicates the coordinate position of the second measured element 31b at the first reference position. The second coordinate position shown by a square indicates the coordinate position of the second measured element 31b moved in the first direction from the first reference position, and the second coordinate position shown by a triangle indicates the coordinate position of the second measured element 31b moved in the second direction from the first reference position. In the second coordinates shown in Fig. 5(B), the first direction is Tx2 and the second direction is Ty2.

[0075] The measurement results of the coordinate positions of the same coordinates as shown in Fig. 5 can be measured with the accuracy of the device performance if each optical unit 130 has been calibrated by operations from S51 to S52. For example, in Fig. 5(A), the distance between two different first elements to be measured 31a almost coincides with the distance between the actual first elements to be measured 31a. Similarly, in Fig. 5(B), the distance between two different second elements to be measured 31b almost coincides with the distance between the actual second elements to be measured 31b.

[0076] However, since no calibration (sometimes called group calibration) is performed between the different optical units 130, the distance between the coordinate positions of different coordinates may not be measured with the accuracy of the device performance. For example, the distance between the coordinate position of one first measured element 31a in the first coordinates shown in Fig. 5(A) and the coordinate position of one second measured element 31b in the second coordinates shown in Fig. 5(B) may not match the actual distance between the first measured element 31a and the second measured element 31b.

[0077] Therefore, in order to perform group calibration, the control unit 240 first specifies a matrix for performing coordinate conversion so as to approximately match the first direction Tx1 and the second direction Ty1 in Fig. 5(A) with the first direction Tx2 and the second direction Ty2 in Fig. 5(B), respectively. By specifying such a rotation matrix, the control unit 240 can calibrate the movement direction when the calibration jig 30 (measurement target M) moves between multiple different optical units 130.

[0078] 4, the rotation matrix specifying unit 244 of the control unit 240 specifies a rotation matrix for rotating the coordinates such that the direction in which the first coordinate position moves coincides with the direction in which the second coordinate position moves before and after the movement of the calibration jig 30 in the first and second directions (S65). The rotation matrix includes a first rotation matrix for rotating the first coordinates to perform coordinate conversion, and a second rotation matrix for rotating the second coordinates to perform coordinate conversion. Details of the operation of S65 will be described later.

[0079] <Second Example of Coordinate Position of Element under Test 31> Next, the control unit 240 calibrates the translation direction between the different optical units 130. Fig. 6 shows a second example of the coordinate position of the measured element 31 identified by the measurement unit 243 according to this embodiment. Fig. 6 shows an example in which the measurement unit 243 measures the center position of one spherical measured element 31 based on the operation results of S59 to S63 in Fig. 4, and plots the coordinate position of the measurement result.

[0080] It is preferable that the measurement unit 243 calculates the coordinate position of the measurement result by using the first coefficient and the second coefficient specified in the calibration operation from S51 to S52. Also, when the rotation matrix specification unit 244 specifies the rotation matrix in S65, it is preferable that the measurement unit 243 performs coordinate conversion of the coordinate position of the measurement result by using the specified rotation matrix.

[0081] 6A shows a first coordinate based on the imaging result of the first imaging unit 132a. For example, the first coordinate position shown by a circle corresponds to the reference position P i The first coordinate position indicated by a rectangle is the first rotational position P of the i-th first measured element 31a rotated by θ from the first reference position around the third direction as an axis. θi The first coordinate position indicated by a triangle is the second rotational position P of the i-th first measured element 31a rotated by φ around the fourth direction as an axis from the first reference position. φi Shows.

[0082] 6B shows the second coordinates based on the imaging result of the second imaging unit 132b. For example, the second coordinate position shown by a circle corresponds to the reference position p j The second coordinate position indicated by a rectangle is the first rotational position p of the j-th second measured element 31b rotated by θ from the second reference position around the third direction as an axis. θj The second coordinate position indicated by a triangle is the second rotational position p of the j-th second measured element 31b rotated by φ around the fourth direction as an axis from the second reference position. φj Shows.

[0083] Here, the distance between the first element under measurement 31a and the second element under measurement 31b does not change before and after the rotation of the calibration jig 30. However, if group calibration is not performed, the measurement result of the distance between the first element under measurement 31a and the second element under measurement 31b may change before and after the rotation beyond the measurement accuracy.

[0084] Therefore, the translation vector specification unit 245, for example, in the example of FIG.i From the reference position p j and the first rotation position P θi to the first rotation position p θj and the second rotation position P φi to the second rotation position p φj A translation vector is specified to perform coordinate conversion so as to substantially match the distance to the calibration jig 30. By specifying such a translation vector, the control unit 240 can calibrate the distance to the calibration jig 30 (measurement target M) between multiple different optical units 130.

[0085] 4, after the operation of S65, the translation vector identification unit 245 identifies a translation vector for translating the coordinates so that the distance between the first element under measurement 31a and the second element under measurement 31b matches before and after the rotation of the calibration jig (S66). The translation vector includes a first translation vector for translating the first coordinate and a second translation vector for translating the second coordinate. Details of the operation of S66 will be described later. The control unit 240 may store the identified rotation matrix and translation vector in the storage unit 220 as calibration parameters.

[0086] As described above, the specified rotation matrix can calibrate the moving direction of the calibration jig 30 (measurement target M) between different optical units 130, and the specified translation vector can calibrate the distance of the calibration jig 30 (measurement target M). Therefore, the control unit 240 can perform group calibration by using the rotation matrix and translation vector specified by the above operations.

[0087] For example, after executing the operation flow shown in Fig. 4, the measurement apparatus 10 mounts the measurement target M on the stage 110 and measures the three-dimensional shape of the measurement target M using the first optical unit 130a and the second optical unit 130b. Then, the measurement unit 243 performs coordinate conversion to the calibration coordinates by rotating the coordinate position of the first coordinates by a first rotation matrix and translating it by a first translation vector. Also, the measurement unit 243 performs coordinate conversion to the calibration coordinates by rotating the coordinate position of the second coordinates by a second rotation matrix and translating it by a second translation vector.

[0088] This allows the control unit 240 to output the measurement values ​​of the three-dimensional shape in the calibration coordinates as calibrated measurement values. The control unit 240 may cause the display unit 230 to display the calibrated measurement values, or may cause the storage unit 220 to store the same. The control unit 240 may also output the calibrated measurement values ​​to the outside via a network or the like.

[0089] As described above, the measurement system S according to this embodiment can identify the calibration parameters used for its own calibration and reflect them in the measurement results, even when using the calibration jig 30 in which the dimensions and positional relationship of the multiple elements under measurement 31 are unknown. Therefore, the measurement system S according to this embodiment can easily calibrate the measurement device 10 that measures the three-dimensional shape of a large measurement target W.

[0090] <An example of an operation flow of the control unit 240> Fig. 7 shows an example of an operation flow of the control unit 240 according to this embodiment. Fig. 7 shows an example of an operation flow for explaining details of the operations of S65 and S66 in the operation flow of the measurement device 10 shown in Fig. 4. For example, the operations of S71 to S73 in Fig. 7 are detailed operations of S65 in Fig. 3.

[0091] First, the rotation matrix determination unit 244 generates a first center of gravity matrix x based on a matrix X1 indicating a first coordinate position, a matrix X2 indicating the first coordinate position after the calibration jig 30 is moved in a first direction, and a matrix X3 indicating the first coordinate position after the calibration jig 30 is moved in a second direction (S71).

[0092] The rotation matrix specifying unit 244 calculates a matrix x 1i Let be an element of matrix X1. Element x 1i is, for example, a 3-row, 1-column matrix indicating one point in the Cartesian coordinate system. In other words, the rotation matrix specifying unit 244 calculates a matrix indicating N first coordinate positions, which are the result of measuring the positions of the N first measured elements 31a by the first optical unit 130a, as a matrix X1=[x11 ,x 1N ].

[0093] Furthermore, the rotation matrix specifying unit 244 calculates a matrix x 2i element x of matrix X2 2i Let matrix X2 be [x 21 ,x 2N Similarly, a matrix x 3i element x of matrix X3 3i Let matrix X3 be [x 31 ,x 3N ].

[0094] Then, the rotation matrix determination unit 244 calculates the centers of gravity of the generated matrices X1, X2, and X3, respectively, and generates a matrix having the calculated three centers of gravity x1, x2, and x3 as elements as a first center of gravity matrix x=[x1, x2, x3]. k is calculated using the following formula (k=1,2,3).

number

[0095] Next, the rotation matrix determination unit 244 generates a second center of gravity matrix y based on a matrix Y1 indicating the second coordinate position, a matrix Y2 indicating the second coordinate position after the calibration jig 30 is moved in the first direction, and a matrix Y3 indicating the second coordinate position after the calibration jig 30 is moved in the second direction (S72).

[0096] Similarly to the case of generating the first centroid matrix x, the rotation matrix specifying unit 244 generates a matrix indicating the second coordinate position of the i-th second element under test 31b as element y 1i Then, the rotation matrix specifying unit 244 calculates a matrix Y1 having the number of elements equal to the number M of second elements to be measured as [y 11 ,···,y 1M ], and the element y of the matrix indicating the second coordinate position after the calibration jig 30 is moved in the first direction is2i Let Y2 be the matrix [y 21 ,···,y 2M ], and the element y of the matrix indicating the second coordinate position after the calibration jig 30 is moved in the second direction is 3i Let Y3 be [y 31 ,···,y 3M ].

[0097] The rotation matrix determination unit 244 calculates the centers of gravity of the generated matrices Y1, Y2, and Y3, respectively, and generates a matrix having the calculated three centers of gravity y1, y2, and y3 as elements as a second center of gravity matrix y=[y1, y2, y3]. k is calculated using the following formula (k=1,2,3).

number

[0098] Next, the rotation matrix determination unit 244 performs pairwise alignment between the coordinate positions indicated by each element of the first barycentric matrix x and the coordinate positions indicated by each element of the second barycentric matrix y, thereby determining the first rotation matrix and the second rotation matrix (S73). Here, the pairwise alignment is a known technique as described in Non-Patent Document 1, but will be described in detail below.

[0099] <An example of pairwise alignment> Pairwise alignment of two data matrices is, for example, a technique for calculating a rotation matrix R and a translation vector t that relate corresponding points (elements) as follows:

number

[0100] First, initialize the rotation matrix R and the translation vector t. Then, define the evaluation function C PRE Set the initial value (for example, 0).

number

[0101] Next, an evaluation function C that indicates an average amount of positional deviation of coordinate positions is calculated as follows: When this example is applied to the following formula, L=3.

number

[0102] Next, the center of gravity of the two data matrices is calculated as follows:

number

[0103] Next, the two data matrices are transformed into a matrix W in the coordinate system centered on the center of gravity, and the matrix W is subjected to singular value decomposition as shown in the following equation.

number

[0104] Using the matrices U and V obtained by singular value decomposition, the rotation matrix R is calculated as follows: C can be calculated.

number

[0105] In addition, the calculated rotation matrix R C Using the translation vector t C can be calculated.

number

[0106] The calculated rotation matrix R C and the translation vector t C Using these, the data matrix, the rotation matrix, and the translation vector are updated as follows:

number

[0107] Next, the change in the value of the evaluation function |C pre -C| is calculated, and the calculation result and the threshold d Cth For example, |C pre -C|≧d Cth In the case of C pre The value of is updated to the value of C, and the calculations from (Equation 5) to (Equation 10) are performed. Then, |C pre -C| <d Cth The calculations from (Equation 5) to (Equation 10) are repeated until pre -C| <d Cth If |C pre -C| <d Cth If not, the pairwise alignment may be determined to be bad.

[0108] Using the rotation matrix R and translation vector t calculated as above, the data matrix y can be coordinate-transformed as shown in the following equation, thereby aligning it with the data matrix x.

number

[0109] By applying the above pair-wise alignment, the rotation matrix determination unit 244 can determine the first rotation matrix as a unit matrix and the second rotation matrix R as shown on the right side of Equation 11. For example, the measurement unit 243 applies such a rotation matrix R to convert the second coordinates shown in FIG. 5B into the third coordinates shown in FIG. 5C. As a result, the measurement unit 243 can convert the first direction Tx2 and the second direction Ty2 of the second coordinates into the first direction Tx3 and the second direction Ty3 of the third coordinates so as to substantially match the first direction Tx1 and the second direction Ty1 of FIG. 5A.

[0110] As described above, the rotation matrix determination unit 244 determines the rotation matrix R by performing pair-wise alignment using the first barycentric matrix x and the second barycentric matrix y as two corresponding data matrices.

[0111] Next, the translation vector identification unit 245 identifies the translation vector in S66 of Fig. 4. In this case, the operations from S74 to S76 in Fig. 7 correspond to the detailed operation of S66 in Fig. 4. Note that in S64, the control unit 240 identifies the coordinate position of the element under test 31 for each position to which the calibration jig 30 is moved.

[0112] For example, the control unit 240 calculates a matrix indicating the first coordinate position as element x 1i The matrix X1=[x 11 ,x 1N In addition, the control unit 240 generates a matrix indicating the first coordinate position after rotating the calibration jig 30 around the third direction in S60 as element x 4i Matrix X4=[x 41 ,x 4N ], and a matrix indicating the first coordinate position after rotating the calibration jig 30 around the fourth direction in S62 is defined as element x 5i Matrix X5=[x 51 ,x 5N ] is generated.

[0113] Similarly, the control unit 240 calculates a matrix indicating the second coordinate position as element y based on the imaging result when the calibration jig 30 is placed at the second reference position in S59. 1i The matrix Y1=[y 11 ,···,y 1M In addition, the control unit 240 generates a matrix indicating the second coordinate position after rotating the calibration jig 30 around the third direction in S60 as element y 4i The matrix Y4=[y 41 ,···,y 4M ], and a matrix indicating the second coordinate position after rotating the calibration jig 30 around the fourth direction in S62 is defined as element y 5i The matrix y5=[y 51 ,···,y 5M ] is generated.

[0114] Then, the translation vector identification unit 245 generates a first calibration matrix, a second calibration matrix, and a third calibration matrix by rotating and calibrating the generated matrices X1, X4, and X5 by the first rotation matrix, respectively (S74). Here, the i-th element of the first calibration matrix is ​​P i , the i-th element of the second calibration matrix is ​​P θi , the i-th element of the third calibration matrix is ​​P φi FIG. 6(A) shows such a P i , P θi , and P φi An example of plotting is shown below.

[0115] Furthermore, the translation vector identification unit 245 generates a fourth calibration matrix, a fifth calibration matrix, and a sixth calibration matrix by rotating and calibrating the generated matrices Y1, Y4, and Y5 by the second rotation matrix, respectively. Here, the i-th element of the fourth calibration matrix is ​​p i , the i-th element of the fifth calibration matrix is ​​p θi , the i-th element of the sixth calibration matrix is ​​p φi FIG. 6(B) shows such a p i , p θi , and p φi An example of plotting is shown below.

[0116] Next, the translation vector identification unit 245 determines the distance from the coordinate position where the first translation vector T1 is added to the first calibration matrix to the coordinate position where the second translation vector T2 is added to the fourth calibration matrix as the first distance. The translation vector identification unit 245 also determines the distance from the coordinate position where the first translation vector T1 is added to the second calibration matrix to the coordinate position where the second translation vector T2 is added to the fifth calibration matrix as the second distance. Similarly, the translation vector identification unit 245 determines the distance from the coordinate position where the first translation vector T1 is added to the third calibration matrix to the coordinate position where the second translation vector T2 is added to the sixth calibration matrix as the third distance.

[0117] Then, the translation vector identification unit 245 identifies the first translation vector T1 and the second translation vector T2 so that the first distance, the second distance, and the third distance match. In this embodiment, an example is shown in which the first translation vector T1 is set to a zero vector, and the second translation vector T2 is set to T to calculate the second translation vector T.

[0118] For example, the coordinate position after the coordinate conversion is expressed as follows using a translation vector T for converting the second coordinate based on the imaging result of the second imaging section 132b shown in Fig. 6(B): Fig. 6(C) shows the third coordinate after the coordinate conversion from the second coordinate.

number

[0119] Next, the distance from the coordinate position of the i-th first measured element 31a in the first coordinate to the coordinate position of the j-th second measured element 31b in the third coordinate is expressed as follows. Here, the first distance is d ij , the second distance is d θij , and the third distance is d φij It is.

number

[0120] A function S of the following equation is used to evaluate the magnitude of the error in the distance from the coordinate position of the first measured element 31a in the first coordinate to the coordinate position of the second measured element 31b in the third coordinate before and after rotating the calibration jig 30. Here, N1 is the number of the first measured elements 31a, and N2 is the number of the second measured elements 31b.

number

[0121] The translation vector identification unit 245 calculates T at which the value of the function S shown in the formula (14) becomes minimum (S75). Note that instead of the formula (14), T at which the value of the following formula becomes minimum may be calculated.

number

[0122] The operation of calculating T by minimizing S in equation (14) or S in equation (15) can be performed by a known method, so a detailed explanation of the operation will be omitted here. Then, the translation vector identification unit 245 identifies T that minimizes the value of S in equation (14) or S in equation (15) as the translation vector T (S76).

[0123] In this way, the rotation matrix specifying unit 244 and the translation vector specifying unit 245 can specify the rotation matrix R and the translation vector T, which are parameters used for calibrating the measurement device 10. The measurement device 10 calibrates itself using the specified rotation matrix R and translation vector T, and can measure the three-dimensional shape of the measurement target W with the accuracy of the device performance.

[0124] Although the present invention has been described above using the embodiments, the technical scope of the present invention is not limited to the scope described in the above embodiments, and various modifications and changes are possible within the scope of the gist of the present invention. For example, all or part of the device can be configured by distributing or integrating functionally or physically in any unit. In addition, new embodiments resulting from any combination of multiple embodiments are also included in the embodiments of the present invention. The effect of the new embodiment resulting from the combination combines the effect of the original embodiment. [Explanation of symbols]

[0125] 10. Measuring Equipment 30 Calibration fixture 31 Element to be measured 110 Stages 120 Mobile Unit 130 Optical Unit 131 Light source 132 Imaging unit 133 Field of view 140 Control Unit 210 Communications Department 220 Storage section 230 Display section 240 Control Unit 241 Signal output section 242 Acquisition Department 243 Measuring section 244 Rotation matrix specification part 245 Translation Vector Identification Unit

Claims

1. A calibration method for calibrating a measuring device for measuring a three-dimensional shape of a measurement object, the measuring device including a plurality of imaging units for imaging a measurement object, by a computer using a calibration jig, the method comprising: a first imaging step of imaging a first measured element among a plurality of measured elements having a predetermined shape included in the calibration jig with a first imaging unit, and imaging a second measured element different from the first measured element with a second imaging unit different from the first imaging unit; a second imaging step of, after the first imaging step, moving the calibration jig in a predetermined first direction, and then imaging the first device under test with the first imaging unit and imaging the second device under test with the second imaging unit; a third imaging step of, after the second imaging step, moving the calibration jig in a predetermined second direction different from the first direction, and then imaging the first device under test with the first imaging unit and imaging the second device under test with the second imaging unit; a fourth imaging step of imaging the first device under test by the first imaging unit and imaging the second device under test by the second imaging unit; a fifth imaging step of rotating the calibration jig about an axis in a predetermined third direction after the fourth imaging step, and then imaging the first device under test with the first imaging unit and imaging the second device under test with the second imaging unit; a sixth imaging step of rotating the calibration jig around an axis in a predetermined fourth direction different from the third direction after the fifth imaging step, and then imaging the first measured element with the first imaging unit and imaging the second measured element with the second imaging unit; Identifying a first coordinate position indicating a position of the first measured element at a first coordinate based on a field of view of the first imaging unit in a plurality of captured images captured by the first imaging unit, and a second coordinate position indicating a position of the second measured element at a second coordinate based on a field of view of the second imaging unit in a plurality of captured images captured by the second imaging unit; specifying a first rotation matrix for rotating and transforming the first coordinates and a second rotation matrix for rotating and transforming the second coordinates such that a direction in which the first coordinate position moves and a direction in which the second coordinate position moves coincide with each other before and after movement of the calibration jig in the first direction and the second direction; specifying a first translation vector for translating the first coordinate and a second translation vector for translating the second coordinate such that a distance between the first measured element and the second measured element coincides before and after rotation of the calibration jig; The calibration method includes:

2. transforming the first coordinate position into a calibration coordinate by rotating the first coordinate position by the first rotation matrix and translating the first coordinate position by the first translation vector; transforming the second coordinate position into the calibration coordinates by rotating the second coordinate position by the second rotation matrix and translating the second coordinate position by the second translation vector; The calibration method of claim 1 , further comprising:

3. The method of claim 1 , wherein the first direction and the second direction are orthogonal.

4. The method of calibration according to claim 1 , wherein the third direction and the fourth direction are orthogonal to each other.

5. The step of identifying the first rotation matrix and the second rotation matrix includes: generating a first center of gravity matrix X based on a matrix indicating the first coordinate position, a matrix indicating the first coordinate position after the calibration jig is moved in the first direction, and a matrix indicating the first coordinate position after the calibration jig is moved in the second direction; generating a second center of gravity matrix Y based on a matrix indicating the second coordinate position, a matrix indicating the second coordinate position after the calibration jig is moved in the first direction, and a matrix indicating the second coordinate position after the calibration jig is moved in the second direction; identifying the first rotation matrix and the second rotation matrix by performing pairwise alignment between coordinate positions indicated by each element of the first barycentric matrix X and coordinate positions indicated by each element of the second barycentric matrix Y; The calibration method of claim 1 , comprising:

6. In the step of generating the first centroid matrix, a matrix x indicating the first coordinate position of the i-th first element to be measured is 1i The matrix X1=[x 11 , ..., x 1N ], and a matrix indicating the first coordinate position after the calibration jig is moved in the first direction is defined as element x 2i The matrix X2 = [x 21 , ..., x 2N ], and a matrix indicating the first coordinate position after the calibration jig is moved in the second direction is defined as element x 3i Matrix X3 = [x 31 , ..., x 3N ] is generated, and the centers of gravity of the generated matrices X1, X2, and X3 are calculated, and the three calculated centers of gravity x 1 , x 2 , x 3 The matrix having elements of the first centroid matrix X=[x 1 , x 2 , x 3 ], In the step of generating the second centroid matrix, the matrix indicating the second coordinate position is defined as element y 1i The matrix Y1=[y 11 , ..., y 1M ], and a matrix indicating the second coordinate position after the calibration jig is moved in the first direction is defined as element y 2i The matrix Y2=[y 21 , ..., y 2M ], and a matrix indicating the second coordinate position after the calibration jig is moved in the second direction is defined as element y 3i Matrix Y3=[y 31 , ..., y 3M] is generated, and the centers of gravity of the generated matrices Y1, Y2, and Y3 are calculated, and the three calculated centers of gravity y 1 , y 2 , y 3 The matrix having elements Y=[y 1 , y 2 , y 3 ], The calibration method according to claim 5.

7. The step of identifying the first translation vector and the second translation vector includes: The matrix indicating the first coordinate position is expressed as element x 1i The matrix X1=[x 11 , ..., x 1N ], and a matrix indicating the first coordinate position after rotating the calibration jig around the third direction as an axis is defined as element x 4i Matrix X4 = [x 41 , ..., x 4N ], and a matrix indicating the first coordinate position after rotating the calibration jig around the fourth direction as an axis is defined as element x 5i Matrix X5 = [x 51 , ..., x 5N ], and generating a first calibration matrix, a second calibration matrix, and a third calibration matrix by rotating the generated matrices X1, X4, and X5 by the first rotation matrix, respectively; The matrix indicating the second coordinate position is represented by element y 1i The matrix Y1=[y 11 , ..., y 1M ], and a matrix indicating the second coordinate position after rotating the calibration jig around the third direction as an axis is defined as element y 4i Matrix Y4 = [y 41 , ..., y 4M ], and a matrix indicating the second coordinate position after rotating the calibration jig around the fourth direction as an axis is defined as element y 5i The matrix y5=[y 51 , ..., y 5M], and generating a fourth calibration matrix, a fifth calibration matrix, and a sixth calibration matrix by rotating the generated matrices Y1, Y4, and Y5 by the first rotation matrix, respectively; identifying the first translation vector and the second translation vector such that a first distance from a coordinate position where the first translation vector is added to the first calibration matrix to a coordinate position where the second translation vector is added to the fourth calibration matrix, a second distance from the coordinate position where the first translation vector is added to the second calibration matrix to a coordinate position where the second translation vector is added to the fifth calibration matrix, and a third distance from the coordinate position where the first translation vector is added to the third calibration matrix to a coordinate position where the second translation vector is added to the sixth calibration matrix are equal; The calibration method of claim 1 , comprising:

8. Before calibrating the measuring device using the calibration jig, a step of imaging a reference jig having a plurality of reference measurement elements whose dimensions and / or positional relationships are known and smaller than the calibration jig with the first imaging unit, and calibrating the first coordinates indicating coordinate positions in the field of view of the first imaging unit based on the imaging result of the first imaging unit; capturing an image of the reference jig with the second imaging unit, and calibrating the second coordinates indicating a coordinate position in a field of view of the second imaging unit based on an imaging result of the second imaging unit; The method of claim 1 further comprising:

9. A calibration method for calibrating a measuring device for measuring a three-dimensional shape of a measurement object, the measuring device including a plurality of imaging units for imaging a measurement object, by a computer using a calibration jig, the method comprising: a first imaging step of imaging a first measured element among a plurality of measured elements having a predetermined shape included in the calibration jig with a first imaging unit, and imaging a second measured element different from the first measured element with a second imaging unit different from the first imaging unit; a second imaging step of, after the first imaging step, moving the calibration jig in a predetermined first direction, and then imaging the first device under test with the first imaging unit and imaging the second device under test with the second imaging unit; a third imaging step of, after the second imaging step, moving the calibration jig in a predetermined second direction different from the first direction, and then imaging the first device under test with the first imaging unit and imaging the second device under test with the second imaging unit; a fourth imaging step of imaging the first device under test by the first imaging unit and imaging the second device under test by the second imaging unit; a fifth imaging step of rotating the calibration jig about an axis in a predetermined third direction after the fourth imaging step, and then imaging the first device under test with the first imaging unit and imaging the second device under test with the second imaging unit; a sixth imaging step of rotating the calibration jig around an axis in a predetermined fourth direction different from the third direction after the fifth imaging step, and then imaging the first measured element with the first imaging unit and imaging the second measured element with the second imaging unit; calibrating the measuring device based on the imaging results of the first imaging unit and the second imaging unit; The calibration method includes:

10. A measurement system including the measurement device that measures a three-dimensional shape of the measurement target, and the calibration jig that has a measured element having a predetermined shape and is used to calibrate the measurement device, the calibration jig has the first element under test and the second element under test each having a predetermined shape, The measuring device is A moving unit for moving the measurement object; A light source for irradiating the measurement object with light; A plurality of imaging units each capturing an image of a different region of the measurement target; a control unit that controls the moving unit and the imaging unit to measure a three-dimensional shape of the measurement target based on imaging results of the multiple imaging units; Equipped with The control unit moves the calibration jig while causing the imaging units to capture images of the first element under measurement and the second element under measurement before and after the movement of the calibration jig, thereby executing the calibration method according to any one of claims 1 to 9, thereby calibrating the measurement apparatus. Measurement system.

11. A program that, when executed by a computer, causes the computer to execute the calibration method according to any one of claims 1 to 9.

Citation Information

Patent Citations

  • System and method for three-dimensional calibration of a vision system

    CN113496523A

  • Calibration tool for acquiring three dimensional constants for moving body photographing system

    JP2004333368A

  • Method for global calibration of stereo vision probe system

    JP2008256692A

  • Measuring device, calculating method, system and program

    JP2020139869A

  • System and method for three-dimensional calibration of vision system

    JP2021146499A