Method for calibrating an X-ray measuring device

By using the projections and feature point positions of multiple reference objects in the X-ray measurement device to calculate the rotation center position of the rotary table, the problem of correction fixture deformation affecting measurement accuracy is solved, and high-precision dimensional measurement is achieved.

CN112556611BActive Publication Date: 2024-10-08MITUTOYO CORP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202010946721.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2019-09-10
Filing Date
2020-09-10
Publication Date
2024-10-08
Estimated Expiration
2040-09-10

AI Technical Summary

Technical Problem

The calibration fixture is deformed due to changes over the years, which affects the measurement accuracy of the X-ray measurement device. It is difficult to calibrate through simple processes with the existing technology.

Method used

Using the calibration method of the X-ray measuring device, through the mounting process, the movement position acquisition process, the relative position calculation process, the characteristic position calculation process, the transformation matrix calculation process, the rotation detection process, the position calculation process and the center position calculation process, multiple The projected image and feature point position of the reference object are used to calculate the rotation center position of the rotary table to ensure the accuracy of the correction fixture under deformation conditions.

Benefits of technology

Even if the calibration jig is deformed, the rotation center position of the turntable can be calculated through a simple process, improving the measurement accuracy of the X-ray measuring device and ensuring high-precision dimensional measurement.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112556611B_ABST
    Figure CN112556611B_ABST
Patent Text Reader

Abstract

The present invention provides a calibration method for an X-ray measuring device, comprising: a placing step, placing a calibration jig on a rotating table; a moving position acquisition step, moving the position of the jth ball parallel to the position of the first ball, irradiating the calibration jig with X-rays, and acquiring a moving position in which the difference between the center of gravity position of the projection image of the jth ball and the center of gravity position of the projection image of the first ball is less than a specified value from the output of an X-ray image detector; a relative position calculation step, performing the moving position acquisition step on the remaining balls, and calculating a specific relative position interval based on each moving position; a characteristic position calculation step; a transformation matrix calculation step; a rotation detection step; a position calculation step; and a center position calculation step. Thus, even if the calibration jig is deformed due to changes over time, for example, the rotation center position of the rotating table on which the object to be measured is placed in a rotatable manner can be easily calculated by a simple step.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] CROSS-REFERENCE TO RELATED APPLICATIONS

[0002] The disclosure of Japanese Application No. 2019-164919 filed on September 10, 2019 including the specification, drawings, and claims are incorporated herein by reference in their entirety. Technical Field

[0003] The present invention relates to a calibration method for an X-ray measuring device, and more particularly to a calibration method for an X-ray measuring device that can calculate the rotation center position of a rotating table on which a measured object is rotatably mounted, for example, by a simple process even if a calibration jig is deformed due to aging or the like. Background Art

[0004] In the past, X-ray measuring devices (X-ray CT devices for measurement) can use X-rays to measure the three-dimensional shape of the object being measured. They are mainly used to observe and inspect the pores of castings, poor welding of welded parts, and defects in the circuit pattern of electronic circuit components that are difficult to confirm from the appearance. However, in recent years, with the popularization of 3D printers, the demand for 3D dimensional measurement inside processed products and its high precision has continued to increase. In response to such a demand, it is expected that X-ray measuring devices can achieve further high-precision dimensional measurement.

[0005] In order to perform dimension measurement with an X-ray measuring device with higher accuracy, it is important to use a calibration jig to perform various calibrations inherent to the device before starting measurement, as described in Japanese Patent Application Laid-Open No. 2000-298105. Therefore, it is desirable that the calibration jig always maintains an accurate shape. Summary of the invention

[0006] Problem that the invention aims to solve

[0007] However, the calibration jig may be deformed due to aging, etc., depending on the management status. In such a case, when various calibrations inherent to the device are performed using the deformed calibration jig before starting measurement, the measurement accuracy may also be reduced.

[0008] The present invention is made to solve the above-mentioned conventional problems, and its object is to provide a calibration method for an X-ray measuring device that can calculate the rotation center position of a rotating table that rotatably mounts a measured object through a simple process even if the calibration jig is deformed due to aging changes, etc.

[0009] Solutions for solving problems

[0010] The invention according to claim 1 of the present application is a calibration method for an X-ray measuring device for measuring a three-dimensional shape of a measured object using X-rays, the X-ray measuring device comprising: an X-ray source for generating the X-rays; a rotating table for rotatably placing the measured object; and an X-ray image detector for detecting the X-rays that have passed through the measured object, the calibration method solving the above-mentioned problem by comprising the following steps: a placing step of placing a calibration jig on the rotating table, the calibration jig being used to arrange reference objects of a shape that can be determined based on a projection image projected on the X-ray image detector at specific relative position intervals at N locations (N≥4); a moving position acquiring step of parallelly moving the position of another reference object among two of the reference objects at the N locations relative to the position of one reference object without changing the specific relative position interval, irradiating the calibration jig with the X-rays, and acquiring a moving position at which the correlation between the projection image of the one reference object and the projection image of the other reference object is maximized from the output of the X-ray image detector; and a relative position calculating step , performing the movement position acquisition process on the remaining reference objects so that all the reference objects at the N positions are associated with each other through the movement position, and calculating the specific relative position interval according to each of the movement positions; a characteristic position calculation process, irradiating the calibration jig with the X-ray, and determining the position of the characteristic point of the projection image of each of the reference objects at the N positions according to the output of the X-ray image detector; a transformation matrix calculation process, calculating the transformation matrix for performing the projection transformation of the reference object onto the detection surface of the X-ray image detector according to the position of the characteristic point of the projection image of each of the reference objects at the N positions and the specific relative position interval; a rotation detection process, rotating the rotating table at a predetermined angle twice or more, and repeating the process from the characteristic position calculation process to the transformation matrix calculation process; a position calculation process, calculating the absolute position of the reference object at each rotation of the predetermined angle based on the transformation matrix; and a center position calculation process, calculating the rotation center position of the rotating table according to the change in the absolute position of the reference object caused by the rotation of the rotating table.

[0011] In the invention involved in technical solution 2 of the present application, in the moving position acquisition process, the difference position between the position of the feature point of the projection image of the other reference object and the position of the feature point of the projection image of the one reference object is calculated, and the parallel movement of the reference object at N positions is performed based on the difference position.

[0012] In the invention according to claim 3 of the present application, the case where the correlation between the projection image of the one reference object and the projection image of the other reference object is maximized is the case where the magnitude of the difference position is equal to or smaller than a predetermined value.

[0013] In the invention involved in technical solution 4 of the present application, the rotating table is rotated multiple times at a specific angle, the process from the moving position acquisition process to the relative position calculation process is repeated, and the average of the multiple specific relative position intervals obtained by repeating the process is calculated, or the positions before and after the parallel movement when the process is repeated next are made to correspond to the specific relative position interval calculated immediately before.

[0014] In the invention involved in technical solution 5 of the present application, in the calibration jig, when all of the reference objects are placed on only one plane, the transformation matrix is ​​set to a projection transformation matrix, and when the reference objects are placed three-dimensionally, the transformation matrix is ​​set to a projection matrix.

[0015] In the invention according to claim 6 of the present application, in the center position calculation step, the rotation axis of the rotation table is also calculated.

[0016] In the invention involved in technical solution 7 of the present application, in the position calculation process, it is assumed that it is not the turntable that rotates but the X-ray source and the X-ray image detector that rotate, and the absolute position of the X-ray source is calculated based on the transformation matrix every time it rotates by the specified angle, and the absolute position of the X-ray source is coordinate transformed to calculate the absolute position of the reference object.

[0017] In the invention involved in technical solution 8 of the present application, when the rotating table is rotated more than three times at the specified angle to calculate the absolute position of the X-ray source, the distance between the X-ray source and the X-ray image detector and the position of the foot of the perpendicular line drawn from the X-ray source to the X-ray image detector are variable, and the distance error between the position on the trajectory of a virtual perfect circle obtained by fitting the absolute position of the X-ray source calculated based on the transformation matrix into a perfect circle and the absolute position of the X-ray source is evaluated, thereby calculating the distance between the X-ray source and the X-ray image detector and the position of the foot of the perpendicular line drawn from the X-ray source to the X-ray image detector.

[0018] In the invention involved in technical solution 9 of the present application, in the center position calculation step, the center position of the trajectory obtained by fitting with a perfect circle is calculated based on the change in the absolute position of the reference object, and the center position is set as the rotation center position of the turntable.

[0019] In the invention according to claim 10 of the present application, when calculating the rotation axis of the turntable, the inclination angle of the trajectory with respect to the horizontal plane is also calculated, and the rotation axis is calculated based on the inclination angle and the rotation center position.

[0020] In the invention according to claim 11 of the present application, the reference object is a sphere.

[0021] In the invention according to claim 12 of the present application, the position of the feature point of the projection image of the reference object is set as the center of gravity position of the projection image.

[0022] Effects of the Invention

[0023] According to the present invention, even if the calibration jig is deformed due to aging or the like, the rotation center position of a rotation table on which a measurement target object is rotatably mounted can be calculated by a simple process.

[0024] These features, advantages and other features and advantages of the present invention will become apparent from the following detailed description of the preferred embodiments. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] The preferred embodiments are described with reference to the accompanying drawings, wherein like reference numerals are used to identify like elements throughout the drawings, and wherein:

[0026] Figure 1 This is a schematic side view showing a basic structure of an X-ray measurement device according to an embodiment of the present invention.

[0027] Figure 2 Only shows Figure 1 A schematic top view of the main parts of the X-ray measurement device.

[0028] Figure 3A It is shown Figure 1 Front view of the calibration fixture.

[0029] Figure 3B It is shown Figure 1 Top view of the calibration fixture.

[0030] Figure 4 This is a flowchart showing a calibration procedure of the X-ray measurement device according to the embodiment of the present invention.

[0031] Figure 5 is based on Figure 4 Detailed flow chart of the process of calculating the absolute position of the ball based on the absolute position of the X-ray source.

[0032] Figure 6 It means that in calculating Figure 5The flowchart is a flowchart for calculating the distance between the X-ray source and the X-ray image detector and the position of the foot of the perpendicular line drawn from the X-ray source to the X-ray image detector after determining the absolute position of the X-ray source in the image.

[0033] Fig. 7A The diagram shows the relationship between the absolute position of the ball and the absolute position of the X-ray source, and is a diagram in which the rotating table is rotated.

[0034] Figure 7B The diagram shows the relationship between the absolute position of the sphere and the absolute position of the X-ray source, assuming that the X-ray source and the X-ray image detector are rotated. DETAILED DESCRIPTION

[0035] The embodiments of the present invention are described in detail below with reference to the accompanying drawings. In addition, the present invention is not limited to the contents described in the following embodiments and examples. In addition, the constituent elements in the embodiments and examples described below include constituent elements that can be easily thought of by a person skilled in the art, substantially the same constituent elements, and constituent elements of the so-called equivalent scope. Furthermore, the constituent elements disclosed in the embodiments and examples described below can be appropriately combined for use, or can be appropriately selected for use.

[0036] Figure 1 Indicates an embodiment of the present invention. Figure 1 In the description, the left-right direction relative to the paper surface is set as the z-axis direction, the up-down direction relative to the paper surface is set as the y-axis direction, and the direction perpendicular to the paper surface is set as the x-axis direction.

[0037] The X-ray measuring device 100 is a device that uses X-rays to measure the three-dimensional shape of an object to be measured. Figure 1 As shown, the X-ray measurement device 100 includes a main body 108 , a host computer 128 , and a motion controller 130 .

[0038] In addition, Figure 1 , Figure 2 In the embodiment, the calibration jig 102 is placed on the rotating table 120 instead of the object to be measured. Figure 3A , Figure 3B As shown, the calibration jig 102 is made of a material (such as aluminum) that allows X-rays 118 to pass through, and a plurality of (for example, 4*3, i.e., N=12) balls (reference objects) 106 with a diameter of D are arranged in advance on the plate-like member 104 at fixed relative position intervals (i.e., the balls 106 are arranged at N locations at relative position intervals (also referred to as relative positions)). However, for example, although the fixed relative position intervals are known in advance, it is assumed that the calibration jig 102 is deformed due to changes over the years, so that the positions of all the balls 106 deviate from the fixed relative position intervals (i.e., at Figure 3A, Figure 3B In the example, the specific relative position intervals Pu and Pv are unknown and are not fixed intervals). At this point in time, it can also be said that the relative positions X(1 to N) of the N balls 106, in other words, the balls 106 at N locations, are unknown (X(1 to N) and X1 to XN have the same meaning and are described similarly below). In this embodiment, it is assumed that all the balls 106 are placed on only one plane in the calibration jig 102. In addition, the shape of the ball 106 is simple and can be easily determined based on the projection image projected onto the X-ray image detector 124. In addition, in Figure 3A In the diagram, the left-right direction relative to the paper surface is set as the u-axis direction, the up-down direction relative to the paper surface is set as the v-axis direction, and the direction perpendicular to the paper surface is set as the w-axis direction.

[0039] In addition, the calibration jig 102 includes a three-axis linear motion table that moves the plate-shaped member 104 in the three-axis directions of x, y, and z. Therefore, the calibration jig 102 can freely move the balls 106 arranged at N locations in parallel without changing the specific relative position interval of the balls 106 (not limited to this, the rotating table 120 may also include the three-axis linear motion table). When the calibration jig 102 is placed on the rotating table 120 and irradiated with X-rays 118, the position of the three-axis linear motion table in a state where it has not moved is set as the first table position Dis1. Moreover, when irradiating the X-rays 118, it is set that i=j, and the position of the three-axis linear motion table moved to the i-th (1≤i≤N) state in a manner that the difference position Erj of the later-described equation (1) satisfies the later-described equation (2) is set as the i-th table position Disi.

[0040] like Figure 1As shown, the main body 108 includes an X-ray shielding cover 110 for preventing leakage of X-rays 118, an X-ray source 116 for generating X-rays 118, a rotating table 120 for rotatably placing an object to be measured (not shown), and an X-ray image detector 124 for detecting the X-rays 118 that have passed through the object to be measured on a base 112. The X-ray source 116 is disposed on a ray source support base 114 on the base 112. The ray source support base 114 may include a direct-acting mechanism that can move the X-ray source 116 in three axial directions of x, y, and z. The rotating table 120 is disposed on a table support base 122 on the base 112. In addition, the table support base 122 includes a direct-acting mechanism that can move the object to be measured in three axial directions of x, y, and z. In addition, a tilting mechanism that can tilt the rotation axis Ax of the rotating table 120 may be provided on the table support base 122. The X-ray image detector 124 has a two-dimensional detection surface 124A that is sensitive to the X-rays 118. The X-ray image detector 124 is supported by a detector support base 126 on the base 112. The detector support base 126 may also have a direct motion mechanism that can move the X-ray image detector 124 in the three axial directions of x, y, and z. The radiation beam of the X-ray 118 from the X-ray source 116 is adjusted to spread in a conical shape along the z-axis direction, and its center line intersects with the rotation axis Ax of the rotating table 120 and is a perpendicular line to the detection surface 124A of the X-ray image detector 124.

[0041] Figure 1 The host computer 128 shown controls the radiation source support base 114, the X-ray source 116, the rotating table 120, the table support base 122, the X-ray image detector 124, and the detector support base 126 of the main body 108. In addition, the host computer 128 can also automatically or semi-automatically perform the measurement operation and calibration of the X-ray measurement device 100 by reading and executing a program stored in a storage unit (not shown). That is, in the measurement operation of the X-ray measurement device 100, the host computer 128 reconstructs the data of the projection image obtained by the X-ray image detector 124 to create three-dimensional volume data of the object to be measured.

[0042] In the calibration of the X-ray measurement device 100, the host computer 128 calculates the centroid position ImDisj of the projection image of the jth (other) ball 106 of the two balls 106 as shown in equation (1). h The difference between the center of gravity position ImDis1_Sphr_1 of the projection image of the first (one) ball 106 and _Sphr_j (2≤j≤N) is the difference position Erj.

[0043] Erj=ImDis1_Sphr_1―ImDisj h _Sphr_j (1)

[0044] In addition, the mark Disj h represents the stage position when parallel movement is performed until the j-th stage position Disj. That is, at the stage position Disj h = table position Disj, the host computer 128 regards that the correlation between the projection image of the first ball 106 and the projection image of the jth ball 106 is the highest by satisfying equation (2). In addition, the predetermined value Vx is a value closer to zero than the accuracy of the correction, and can be appropriately determined according to the accuracy level of the correction.

[0045] Erj≤Vx (2)

[0046] At this time, the movement position Mj of the j-th ball 106 relative to the first ball 106 is expressed by equation (3).

[0047] Mj=Dis1-Disj (3)

[0048] That is, the relative position Xj of the j-th ball 106 with respect to the first ball 106 is expressed by equation (4).

[0049] Xj=Mj=Dis1-Disj (4)

[0050] That is, in this embodiment, the stage position D is (1~N) are the relative positions X(1~N) of the ball 106 respectively.

[0051] In addition, assuming that it is not the rotating table 120 that rotates but the X-ray source 116 that rotates, the main computer 128 can calculate the absolute position Xs (Xs) of the X-ray source 116 at the k-th assumed rotation position based on the 3-row*3-column projection transformation matrix (transformation matrix) Hk of the k-th (1≤k≤Q; Q is a natural number greater than or equal to 3) rotation position of the rotating table 120, for example, by using the relationship represented by the series of equations shown below. Fig. 7A , Figure 7B ).

[0052] Specifically, first, the internal parameter matrix A shown in equation (5) is defined based on the distance f between the X-ray source 116 and the X-ray image detector 124 and the position Cc (cx, cy) of the foot of the perpendicular line drawn from the X-ray source 116 to the X-ray image detector 124. In addition, when the aspect ratio of the pixels of the X-ray image detector 124 is different, the value of the distance f in the first row and the first column of the internal parameter matrix A is slightly different from the value of the distance f in the second row and the second column. In addition, the first row and the second column of the internal parameter matrix A may use the tilt S related to the distortion of the image, but in this embodiment, the tilt S is set to 0.

[0053]

[0054] At this time, the rotation matrix Rk of the k-th assumed rotation position is 3 rows*3 columns including three column vectors rk1, rk2, and rk3, and can be expressed as in equation (6).

[0055] Rk=[rk1 rk2 rk3] (6)

[0056] Here, by using the translation matrix Tk (translation vector of one column) of the k-th tentative rotation position, equations (5) and (6), the projection transformation matrix Hk can be decomposed as shown in equation (7).

[0057] Hk=A[rk1 rk2 Tk] (7)

[0058] Based on equation (7), the absolute position Xs of the X-ray source 116 at the k-th tentative rotation position can be calculated as shown in equation (8). Note that notation -inv() represents an inverse matrix.

[0059] Xs=-inv(Rk)*Tk (8)

[0060] Furthermore, the host computer 128 can also calculate the absolute position Xa (1 to N) of the ball 106 at the k-th rotational position Posk by performing coordinate transformation on the absolute position Xs of the X-ray source 116 at the k-th provisional rotational position.

[0061] In addition, the host computer 128 can calculate the rotation center position Cp of the rotating table 120 based on the change in the absolute position Xa (1 to N) of the ball 106 caused by the rotation of the rotating table 120 .

[0062] In addition, when the distance f between the X-ray source 116 and the X-ray image detector 124 and the position Cc of the foot of the perpendicular line drawn from the X-ray source 116 to the X-ray image detector 124 are unknown, the host computer 128 converts the distance f and the position Cc into variables and substitutes appropriate values ​​therein, and uses equation (8), that is, based on the projection transformation matrix Hk (k=1 to Q), to calculate the absolute positions Xs of the X-ray source 116 at Q locations. The host computer 128 fits a perfect circle (virtual perfect circle) based on the calculated absolute positions Xs of the X-ray source 116 at Q locations, for example, by the least square method. Furthermore, the host computer 128 evaluates the distance error between the position on the trajectory of the virtual perfect circle and the absolute positions Xs of the X-ray source 116 at Q locations, and calculates the distance f and the position Cc when the distance error is minimized. In addition, at this time, the total number Q of the rotation positions is 3 or more, that is, the rotating table 120 is rotated three or more times at a predetermined angle α.

[0063] Figure 1The motion controller 130 is shown connected to the host computer 128 to control the X-ray source 116 of the main body 108, the rotation / movement of the rotating stage 120, and various mechanisms.

[0064] Next, the measurement operation of the X-ray measurement device 100 will be briefly described.

[0065] When measuring, the object to be measured on the rotating table 120 is rotated while generating X-rays 118, and projection images are collected from multiple angular directions (for example, the number of angular divisions is about 1000 to 6000). The collected projection images are reconstructed with the cutting plane horizontally cutting the object to be measured as a reference plane to produce three-dimensional volume data (three-dimensional image) of the object to be measured.

[0066] Next, use Figures 4 to 6 To illustrate the calibration process of the X-ray measurement device 100. Here, all calculations are performed by the main computer 128. In addition, for example, when i=1, the i-th stage position Disi represents the stage position Dis1. Moreover, the center of gravity position ImDis(1~N)_Sphr_(1~N) represents the center of gravity position ImDis1_Sphr_1~ImDisN_Sphr_N. In addition, when k=1, the k-th rotational position Posk represents the rotational position Pos1. Moreover, when the number of balls 106 at the k-th rotational position Posk is N, the center of gravity position ImPosk_Sphr_(1~N) represents the center of gravity position ImPosk_Sphr_1~ImPosk_Sphr_N of the N balls 106 at the k-th rotational position Posk.

[0067] First, a calibration jig 102 having a plurality of balls 106 arranged at specific relative intervals is placed on a rotating table 120 ( Figure 4 Step S2; loading process).

[0068] Next, let j=2, and the position of the j-th ball 106 is parallel-moved relative to the position of the first ball 106 among the two balls 106 at the N positions so as not to change the specific relative position interval of the balls 106 at the N positions. At this time, the calibration jig 102 is irradiated with X-rays 118, and the centroid position ImDisj of the projection image of the j-th ball 106 is obtained from the output of the X-ray image detector 124. h The size of the difference position Erj of the projection image of the first ball 106 with respect to the center of gravity position ImDis1_Sphr_1 is a displacement position Mj that is less than a predetermined value Vx (displacement position acquisition step). Figure 4 This process is performed from step S4 to step S12.

[0069] First, in a state where no parallel movement is performed, X-rays 118 are irradiated to the calibration jig 102, and the centroid position (position of feature point) ImDis1_Sphr_(1 to N) of the projection image of each of N (N=12) balls 106 is determined based on the output of the X-ray image detector 124, and recorded ( Figure 4 Then comes the second ball 106, so let j = 2 ( Figure 4 Step S6).

[0070] Next, the centroid position ImDisj of the projection image of the j-th ball 106 is calculated. h _Sphr_j is the difference position Erj of the center of gravity position ImDis1_Sphr_1 of the projection image of the first ball 106. Then, the parallel movement of the balls 106 at N locations is performed based on the difference position Erj ( Figure 4 As for the movement position Mj for defining the parallel movement at this time, for example, the difference position Erj can be used directly.

[0071] Next, the calibration jig 102 is irradiated with X-rays 118 again, and the centroid position ImDisj of the projection image of the j-th ball 106 is determined based on the output of the X-ray image detector 124. h _Sphr_j( Figure 4 Step S10). Here, the stage position Disj h The position obtained by adding the initial stage position Dis1 to the movement position Mj can be set. Then, the center of gravity position ImDisj of the projection image of the j-th ball 106 is calculated. h _Sphr_j is the difference position Erj between the center of gravity position ImDis1_Sphr_1 of the projection image of the first ball 106 .

[0072] Next, it is determined whether the difference position Erj is less than a predetermined value Vx ( Figure 4 Then, if the position difference Erj is not less than the specified value Vx (in step S12) Figure 4 In step S12, if the result is "No", steps S8 to S12 are repeated until the difference position Erj is less than the specified value Vx. In addition, for example, the size of the previous (initial) difference position Er1 can be compared with the size of the current difference position Er2 to determine the movement position Mj for the next parallel movement.

[0073] Then, when the position difference Erj is equal to or less than the predetermined value Vx (at Figure 4 (Yes in step S12), the movement position Mj is recorded.

[0074] Next, the remaining balls 106 are subjected to a moving position acquisition process, so that all the balls 106 at N locations are associated with each other through the moving positions Mj, and the relative positions (specific relative position intervals) X(1 to N) of the balls 106 are calculated based on the moving positions Mj (j=1 to N) (relative position calculation process). This process mainly consists of the following steps: Figure 4 The process is composed of steps S14 to S18.

[0075] First, since the movement position Mj (j=2) of the j-th ball 106 relative to the first ball 106 has been obtained, the movement positions Mj (j=3~N) of the j=3~N-th balls 106 relative to the first ball 106 are obtained in steps S14 and S16. At the stage where the movement position Mj (j=2~N) of the j-th ball 106 relative to the first ball 106 is obtained (at Figure 4 ) in step S14, enter Figure 4 In the present embodiment, the first ball 106 is used as a reference, and the positions of the remaining balls 106 are all aligned with the first ball 106, thereby performing a movement position acquisition process on the remaining balls 106, so that all the balls 106 at N locations are associated with each other through the movement position Mj (in addition, this is not limited to this, for example, the position of the j+1th ball 106 can also be aligned with the jth ball 106).

[0076] Next, the relative position X(1 to N) of the ball 106 is calculated using the movement position Mj (j=2 to N) of the j=2 to N-th ball 106 relative to the first ball 106 ( Figure 4 Step S18).

[0077] Next, the state where the rotating stage 120 has not yet rotated is set to k=1 ( Figure 4 Then, the calibration jig 102 is irradiated with X-rays 118, and the center of gravity position ImPosk_Sphr_(1 to N) of the projection image of each of the balls 106 at N locations is determined based on the output of the X-ray image detector 124 ( Figure 4 Step S22; feature position calculation process). In addition, this process can be continued to perform Figure 4 The result obtained in step S4.

[0078] Next, the projection transformation matrix Hk ( ) for performing the projection transformation of the ball 106 onto the detection surface 124A of the X-ray image detector 124 is calculated based on the centroid positions ImDis(1~N)_Sphr_(1~N) of the projection images of the ball 106 at the N positions and the relative position X(1~N) of the ball 106. Figure 4 Step S24; transformation matrix calculation process).

[0079] Next, it is determined whether the number k of the rotation positions Posk is greater than Q (in this embodiment, three or more times is sufficient) ( Figure 4 If the number k of the rotation positions Posk is not greater than Q (Q ≥ 3) (in step S26). Figure 4 If the result of step S26 is "No", the rotating table 120 is rotated at a predetermined angle α ( Figure 4 Then, the number k of the rotation position Posk is increased by 1 ( Figure 4 Step S30), repeat steps S22 and S24 (steps S22 to S30; rotation detection process). When the number k of rotation positions Posk is greater than Q (Q ≥ 3) (in Figure 4 In step S26, the result is "Yes", and the process proceeds to step S32. That is, in the rotation detection process, the rotating table 120 is rotated at the specified angle α twice or more, and the process from the feature position calculation process to the transformation matrix calculation process is repeated. In addition, in the present embodiment, the specified angle α is set to a fixed 30 degrees, for example, but it is not particularly limited, and can be a smaller angle, or the specified angle α can be changed each time.

[0080] Next, the absolute position Xa (1 to N) of the ball 106 at each rotation of a predetermined angle α (Q positions) is calculated based on the projection transformation matrix Hk (k=1 to Q) ( Figure 4 Step S32: position calculation process). The details of this process will also be described later.

[0081] Next, the rotation center position Cp of the rotating table 120 and the rotation axis Ax ( Figure 4 Step S34; center position calculation process). In this process, first, the center position Cp of the trajectory Fb obtained by fitting with a perfect circle is calculated, for example, based on the change of the absolute position Xa (1 to N) of the ball 106, and the center position Cp is set as the rotation center position Cp of the rotating table 120. In more detail, the absolute positions Xa (1 to N) of the ball 106 at Q locations are fitted into a perfect circle. At this time, if Q>3, the center position Cp of the perfect circle is calculated, for example, by the least square method. If Q=3, the center position Cp of the perfect circle is calculated, for example, by simultaneous equations.

[0082] Furthermore, for example, the inclination angle of the trajectory Fb obtained by fitting a perfect circle with respect to the horizontal plane (xz plane) is calculated. Furthermore, the rotation center position Cp and the rotation axis Ax of the rotating table 120 are calculated. At this time, the center position Cp of the perfect circle and its trajectory Fb are calculated for each of N=12 balls 106, so the center position Cp of the perfect circle of the 12 balls 106 is averaged to calculate the rotation center position Cp, and the inclination of these trajectories Fb with respect to the horizontal plane is averaged, thereby being able to calculate the inclination angle of the rotation axis Ax, and thus being able to calculate the rotation axis Ax.

[0083] Here, the following is used Figure 5 An example of the position calculation process will be described.

[0084] First, it is assumed that it is not the rotating table 120 that rotates but the X-ray source 116 and the X-ray image detector 124 that rotate ( Figure 5 Step S60). Moreover, Fig. 7A , the predetermined angle α and the trajectory Fb of the ball 106 when the rotating table 120 rotates are shown. Figure 7B , describes a trajectory Fs of the absolute position Xs of the X-ray source 116 when it is assumed that the X-ray source 116 and the X-ray image detector 124 rotate.

[0085] Next, the absolute position Xs ( xs ) of the X-ray source 116 at each rotation of a predetermined angle α, i.e., at Q locations, is calculated based on the projection transformation matrix Hk (k=1 to Q). Figure 5 Step S62).

[0086] Next, the absolute positions Xs of the X-ray source 116 at Q locations are transformed into coordinates, thereby calculating the absolute positions Xa (1 to N) of the ball 106 at Q locations ( Figure 5 Step S64).

[0087] In addition, the following uses Figure 6 The following situation is described: In the above-mentioned position calculation process, when calculating the absolute position Xs of the X-ray source 116 at Q locations, the distance f between the X-ray source 116 and the X-ray image detector 124 and the position Cc of the foot of the perpendicular line drawn from the X-ray source 116 to the X-ray image detector 124 are unknown.

[0088] First, when calculating the absolute position Xs of the X-ray source 116 at the k-th assumed rotation position, the distance f between the X-ray source 116 and the X-ray image detector 124 and the position Cc of the foot of the perpendicular line extending from the X-ray source 116 to the X-ray image detector 124 are variable ( Figure 6Then, the distance error between the position on the trajectory Fs of the virtual perfect circle obtained by fitting the absolute position Xs of the X-ray source 116 at the k-th assumed rotation position calculated based on the projection transformation matrix Hk into a perfect circle and the absolute position Xs of the X-ray source 116 is evaluated ( Figure 6 Then, the distance f and position Cc ( Figure 6 Step S74).

[0089] Specifically, for example, the distance f is temporarily fixed to an appropriate value, the position Cc is changed, and the position Cc with the minimum distance error is calculated. Next, the position Cc with the minimum distance error is temporarily fixed, and the distance f is changed this time, and the distance f with the minimum distance error is calculated. In addition, the distance f with the minimum distance error is temporarily fixed, the position Cc is changed, and the position Cc with the minimum distance error is calculated. In addition, the position Cc with the minimum distance error is temporarily fixed, and the distance f is changed again, and the distance f with the minimum distance error is calculated. By repeating this process multiple times, the distance f and the position Cc with the minimum distance error can be calculated, so that the distance f and the position Cc can be optimized.

[0090] As described above, in this embodiment, first, the calibration jig 102 in which N balls 106 are arranged at a specific relative position interval (unknown interval) is placed on the rotating table 120. Then, among the balls 106 at the N positions, the position of the j-th ball 106 is parallel moved relative to the position of the first ball 106 in a manner that does not change the specific relative position interval. Then, the centroid position ImDisj of the projection image of the j-th ball 106 is obtained. h _Sphr_j is a displacement position Mj at which the size of the difference position Erj of the center of gravity position ImDis1_Sphr_1 of the projection image of the first ball 106 is less than the specified value Vx. Then, all the balls 106 at the N positions are associated with each other through the displacement position Mj, and the specific relative position interval is calculated according to each displacement position Mj. Thereafter, the projection image of the calibration jig 102 is acquired by making the rotating table 120 conform to the rotation angle of the three positions. That is, in this embodiment, the rotation center position Cp of the rotating table 120 can be calculated through such a very simple series of processes. Moreover, it can be said that the specific relative position interval is obtained by making the position of the projection image of the jth ball 106 overlap with the position of the projection image of the first ball 106, so there is no need to perform complex calculation processing to obtain the specific relative position interval. Moreover, in this embodiment, the calculation of the rotation center position Cp does not require the preparation of three-dimensional volume data, and correction can be performed through simple processing.

[0091] In the present embodiment, in the moving position acquisition step, the centroid position ImDisj of the projection image of the j-th ball 106 is calculated. h The difference position Erj of the position of the feature point of the projection image of the first ball 106, that is, the center of gravity position ImDis1_Sphr_1, is calculated, and the parallel movement of the ball 106 at the N positions is performed based on the difference position Erj in consideration of the projection magnification of the projection image. Therefore, the calculation of the difference position Erj becomes easy, and the movement position Mj for defining the parallel movement of the ball 106 at the N positions can be quickly calculated, so that the parallel movement can be quickly realized.

[0092] In addition, in the present embodiment, the case where the correlation between the projection image of the first ball 106 and the projection image of the j-th ball 106 is the largest is set as the case where the size of the difference position Erj is less than the predetermined value Vx. Therefore, compared with performing an actual correlation calculation, the calculation itself is simple and the processing performed before the correlation becomes the largest can be reduced, which can further speed up the correction. In addition, the size of the difference position Erj can be zero, and the actual correlation relationship can be calculated separately through calculation processing.

[0093] In addition, in the present embodiment, all the balls 106 are placed on only one plane in the calibration jig 102, so the transformation matrix for performing the projection transformation of the ball 106 at the k-th rotation position Posk onto the detection surface 124A of the X-ray image detector 124 is set as the projection transformation matrix Hk. Therefore, the rotation center position Cp of the rotating table 120 can be calculated by setting only 4 balls 106 out of the 12 balls 106 as the calculation object in each process, and the calibration time can be further shortened. In addition, in the present embodiment, not only 4 balls 106 but all 12 balls 106 are set as the calculation object in each process, thereby being able to calculate the rotation center position Cp of the rotating table 120 extremely accurately.

[0094] In addition, in the present embodiment, in the center position calculation step, the rotation axis Ax of the rotating table 120 is also calculated. Therefore, even if it is assumed that the rotation axis Ax of the rotating table 120 does not need to be corrected initially, the necessity of correction can be accurately evaluated by comparing the result obtained by actually calculating the rotation axis Ax of the rotating table 120.

[0095] In addition, in the present embodiment, in the position calculation process, it is assumed that the X-ray source 116 and the X-ray image detector 124 are rotated instead of the rotating table 120, and the absolute position Xs of the X-ray source 116 when it rotates by a predetermined angle α is calculated based on the projection transformation matrix Hk, and the absolute position Xs of the X-ray source 116 is subjected to coordinate transformation, thereby calculating the absolute position Xa of the ball 106. That is, instead of directly calculating the absolute position Xa of the ball 106, the absolute position Xs of the X-ray source 116 is temporarily calculated. Therefore, as a result, by directly using the projection transformation matrix Hk, the amount of calculation can be reduced, and correction can be quickly achieved. In addition, it is not limited to this, and a method of directly calculating the absolute position Xa of the ball 106 can also be used.

[0096] In addition, in the present embodiment, when the absolute positions Xs of the X-ray source 116 at Q locations are calculated by rotating the rotating table 120 at a predetermined angle α three or more times, the distance f between the X-ray source 116 and the X-ray image detector 124 and the position Cc of the foot of the perpendicular line drawn from the X-ray source 116 to the X-ray image detector 124 are variable. Then, the distance error between the position on the locus Fs of a virtual perfect circle obtained by fitting the absolute positions Xs of the X-ray source 116 at Q locations calculated based on the projection transformation matrix Hk (k=1 to Q) to a perfect circle and the absolute positions Xs of the X-ray source 116 at Q locations is evaluated. Thus, the distance f between the X-ray source 116 and the X-ray image detector 124 and the position Cc of the foot of the perpendicular line drawn from the X-ray source 116 to the X-ray image detector 124 are calculated. Therefore, when one wants to correct the distance f between the X-ray source 116 and the X-ray image detector 124 and the position Cc of the foot of the perpendicular line drawn from the X-ray source 116 to the X-ray image detector 124, these values ​​can be calculated, thereby enabling more accurate correction.

[0097] In addition, in the present embodiment, in the center position calculation step, the center position Cp of the trajectory Fb obtained by fitting with a perfect circle is calculated based on the change in the absolute position Xa of the ball 106, and the center position Cp is set as the rotation center position Cp of the rotating table 120. That is, by fitting with a perfect circle, the total number of rotation positions Q can be reduced, and the center position Cp can be uniquely calculated. In addition, the present invention is not limited to this, and the rotation center position Cp of the rotating table 120 can be calculated by other methods.

[0098] In addition, in the present embodiment, when calculating the rotation axis Ax of the rotating table 120, the inclination angle of the trajectory Fb obtained by fitting a perfect circle with respect to the horizontal plane is also calculated, and the rotation axis Ax is calculated based on the inclination angle and the rotation center position Cp. Therefore, only one ball 106 is required to calculate the rotation axis Ax, so the process of calculating the rotation axis Ax can be simplified and performed in a short time. In addition, it is not limited to this, for example, the trajectory Fb obtained by fitting a perfect circle can be calculated for each ball 106, and the rotation axis Ax can be calculated based on the deviation of the center position Cp.

[0099] In addition, in the present embodiment, the reference object on the calibration jig 102 is set as a sphere 106. Therefore, no matter from which direction the sphere 106 is projected, the outline is a circle (including the case of an ellipse). That is, the sphere 106 as a reference object has a shape that can be most easily determined based on the projection image projected on the X-ray image detector 124. In addition, without limitation to this, the reference object can be, for example, a polyhedron including a regular polyhedron, a deformed rhombus, or a shape including a curved surface such as an ellipsoid or a cone.

[0100] In addition, in the present embodiment, the position of the feature point of the projection image of the ball 106 as the reference object is set as the center of gravity position of the projection image. Since the projection image of the ball 106 is a circle, it is easy to calculate the center of gravity position, and it can be calculated with a small position error. In addition, without limitation to this, the position of the feature point of the projection image of the ball 106 as the reference object can also be the center position. Alternatively, in the case where the reference object is not a ball and has a characteristic concave part or convex part locally, the characteristic concave part or convex part is associated with the feature point of the projection image.

[0101] That is, in this embodiment, even if the calibration jig 102 is deformed due to aging or the like, the rotation center position Cp of the rotation table 120 on which the object to be measured is rotatably placed can be easily calculated through a simple process.

[0102] In addition, in the above-mentioned embodiment, all the balls 106 are placed on only one plane in the calibration jig 102, but the present invention is not limited to this. For example, instead of placing all the balls 106 on one plane in the calibration jig 102, they may be placed three-dimensionally. In this case, the projection matrix Pk is used instead of the projection transformation matrix Hk. The host computer 128 can use the following equation (9) related to the projection matrix Pk instead of equation (7) to calculate the absolute position Xs of the X-ray source 116 based on the projection matrix Pk of 3 rows and 4 columns of the k-th assumed rotation position.

[0103] Pk=A[rk1 rk2 rk3 Tk] (9)

[0104] In this case, by using the projection matrix Pk, accurate calibration can be performed even if the plane accuracy of the calibration jig 102 is not good.

[0105] In the above embodiment, N=12, but the present invention is not limited thereto. For example, the calibration jig 102 may be configured such that one ball 106 moves and is disposed at least at four locations (N≥4).

[0106] The present invention can be widely applied to the calibration of X-ray measuring devices.

[0107] It is obvious to those skilled in the art that the above described embodiments are only illustrative and represent the application of the principles of the present invention. Those skilled in the art can easily design various other embodiments without departing from the spirit and scope of the present invention.

Claims

1. A calibration method for an X-ray measuring device, wherein the X-ray measuring device uses X-rays to measure the three-dimensional shape of an object to be measured, wherein: The X-ray measuring device includes: an X-ray source that generates the X-rays; a rotating table that rotatably places the object to be measured; and an X-ray image detector for detecting the X-rays that have passed through the object to be measured, The calibration method of the X-ray measuring device comprises: a placing step of placing a calibration jig on the rotating table, wherein the calibration jig is used to arrange reference objects of a shape that can be determined according to a projection image projected on the X-ray image detector at N locations at specific relative position intervals, wherein N ≥ 4; a moving position acquisition step of parallel-moving the position of another reference object relative to the position of one reference object among two of the reference objects at the N positions in a manner that does not change the specific relative position interval, irradiating the calibration jig with the X-ray, and acquiring the moving position at which the correlation between the projection image of the other reference object and the projection image of the one reference object is the largest from the output of the X-ray image detector; A relative position calculation step, performing the movement position acquisition step on the remaining reference objects, so that all the reference objects at N locations are associated with each other through the movement positions, and the specific relative position interval is calculated according to each of the movement positions; a feature position calculation step of irradiating the calibration jig with the X-rays and determining the positions of feature points of the projection images of the reference object at N locations according to the output of the X-ray image detector; a transformation matrix calculation step of calculating a transformation matrix for performing a projection transformation of the reference object onto a detection surface of the X-ray image detector based on the positions of the feature points of the projection images of the reference object at the N locations and the specific relative position intervals; A rotation detection step of rotating the rotating table at a predetermined angle twice or more, and repeating the steps from the characteristic position calculation step to the transformation matrix calculation step; a position calculation step of calculating the absolute position of the reference object each time the reference object is rotated by the predetermined angle based on the transformation matrix; and The center position calculation step calculates the rotation center position of the turntable based on the change in the absolute position of the reference object caused by the rotation of the turntable.

2. The calibration method of an X-ray measuring device according to claim 1, characterized in that: In the movement position acquisition step, the difference position between the position of the feature point of the projection image of the other reference object and the position of the feature point of the projection image of the one reference object is calculated, and the reference object at N locations is parallelly moved based on the difference position.

3. The calibration method of an X-ray measuring device according to claim 2, characterized in that: When the correlation between the projection image of the one reference object and the projection image of the other reference object is maximum, the magnitude of the difference position is equal to or smaller than a predetermined value.

4. The calibration method of an X-ray measuring device according to claim 1, characterized in that: The rotating table is rotated multiple times at a specific angle, and the steps from the moving position acquisition step to the relative position calculation step are repeated. The average of the specific relative position intervals obtained by repeating the process is calculated a plurality of times, or the positions before and after the parallel movement when the process is repeated next are associated with the specific relative position interval calculated immediately before.

5. The calibration method of an X-ray measuring device according to claim 1, characterized in that: In the calibration jig, when all the reference objects are placed on only one plane, the transformation matrix is ​​set as a projection transformation matrix, and when the reference objects are placed three-dimensionally, the transformation matrix is ​​set as a projection matrix.

6. The calibration method of an X-ray measuring device according to claim 1, characterized in that: In the center position calculation step, the rotation axis of the rotation table is also calculated.

7. The calibration method of an X-ray measuring device according to claim 1, characterized in that: In the position calculation process, it is assumed that it is not the rotating table that rotates but the X-ray source and the X-ray image detector that rotate, and the absolute position of the X-ray source is calculated based on the transformation matrix every time it rotates by the specified angle, and the absolute position of the X-ray source is transformed by coordinate transformation, thereby calculating the absolute position of the reference object.

8. The calibration method of an X-ray measuring device according to claim 7, characterized in that: When the rotating table is rotated more than three times at the specified angle to calculate the absolute position of the X-ray source, the distance between the X-ray source and the X-ray image detector and the position of the foot of the perpendicular line drawn from the X-ray source to the X-ray image detector are variable, and the distance error between the position on the trajectory of a virtual perfect circle obtained by fitting the absolute position of the X-ray source calculated based on the transformation matrix into a perfect circle and the absolute position of the X-ray source is evaluated, thereby calculating the distance between the X-ray source and the X-ray image detector and the position of the foot of the perpendicular line drawn from the X-ray source to the X-ray image detector.

9. The calibration method of an X-ray measuring device according to claim 1, characterized in that: In the center position calculation step, the center position of the trajectory obtained by fitting with a perfect circle is calculated based on the change in the absolute position of the reference object, and the center position is set as the rotation center position of the rotation stage.

10. The calibration method of an X-ray measuring device according to claim 6, characterized in that: In the center position calculation step, the center position of the trajectory obtained by fitting with a perfect circle is calculated based on the change in the absolute position of the reference object, and the center position is set as the rotation center position of the rotating table. When calculating the rotation axis of the rotating table, the inclination angle of the trajectory with respect to the horizontal plane is calculated, and the rotation axis is calculated based on the inclination angle and the rotation center position.

11. The calibration method of an X-ray measuring device according to claim 1, characterized in that: The reference object is set to a sphere.

12. The calibration method of an X-ray measuring device according to claim 1, characterized in that: The position of the feature point of the projection image of the reference object is set as the center of gravity position of the projection image.