X-ray inspection device and method for correcting sensitivity of x-ray inspection device
The X-ray inspection device adapts its threshold settings and sensitivity through real-time adjustments based on article changes, ensuring consistent and efficient inspection performance across varying article types.
Patent Information
- Application Number
- JP2023043379
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-03-17
- Publication Date
- 2024-10-01
AI Technical Summary
Conventional X-ray inspection devices face challenges in maintaining optimal inspection performance when the type of article being inspected changes, as they rely on pre-set energy thresholds that may not adapt to variations in article properties.
The X-ray inspection device incorporates a transport section, X-ray source, detection unit using photon counting, threshold setting, and sensitivity correction mechanisms to adjust thresholds and sensitivity based on real-time article changes, utilizing image generation and storage units to optimize inspection performance.
This approach ensures consistent and efficient inspection performance by dynamically adjusting thresholds and sensitivity, even when article types change, thereby maintaining high-quality inspection results.
Smart Images

Figure 2024132563000001_ABST
Abstract
Description
[Technical field]
[0001] One aspect of the present invention relates to an X-ray inspection apparatus and a sensitivity correction method for an X-ray inspection apparatus. [Background technology]
[0002] Known as a conventional X-ray inspection device is, for example, the device described in Patent Document 1. The X-ray inspection device described in Patent Document 1 includes an X-ray detection means for detecting each photon of an X-ray transmitted through an object by discriminating the energy of the photon into two or more energy regions in accordance with a predetermined number of energy thresholds, a storage means for storing the object and the energy threshold in direct or indirect correspondence with each other for each of a plurality of types of object, a threshold setting means for referring to the storage means and holding the threshold corresponding to the object, the type of which is specified by input information, so that the X-ray detection means can refer to it as a predetermined threshold, and an inspection means for inspecting the object based on the number of photons or an amount corresponding to the number of photons detected by the X-ray detection means for each of the predetermined one or more energy regions. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] Patent No. 6569070 Summary of the Invention [Problem to be solved by the invention]
[0004] In the X-ray inspection device as described above, an energy threshold value that is stored in advance by a storage means and corresponds to the physical properties of the object to be measured can be used. However, for example, when the object to be inspected by the X-ray inspection device is changed, the inspection performance of the X-ray inspection device may not be fully exhibited.
[0005] An object of one aspect of the present invention is to provide an X-ray inspection apparatus and a sensitivity correction method for an X-ray inspection apparatus that can exhibit excellent inspection performance. [Means for solving the problem]
[0006] (1) An X-ray inspection device according to one aspect of the present invention includes a conveying unit that conveys an object, an X-ray source that irradiates X-rays onto the object conveyed by the conveying unit, a detection unit capable of detecting X-rays by a photon counting method, a threshold setting unit that sets a threshold for discriminating the X-rays detected by the detection unit into two or more energy regions, an inspection unit that inspects the object based on the X-rays that have passed through the object and are detected by the detection unit, and a sensitivity correction unit that corrects the sensitivity of the detection unit based on the X-rays that have not passed through the object and are detected by the detection unit, wherein the detection unit detects the X-rays by discriminating them into two or more energy regions using the threshold, and the sensitivity correction unit performs the sensitivity correction when the threshold is changed by the threshold setting unit.
[0007] In order to provide good inspection performance from an X-ray inspection device equipped with a detection unit capable of detecting by the photon counting method, it is important not only to set a threshold value according to the object being inspected, but also to perform sensitivity correction (calibration) of the detection unit according to the threshold value. Here, in the above-mentioned X-ray inspection device, the sensitivity correction unit performs sensitivity correction when the threshold value is changed by the threshold setting unit. This allows sensitivity correction according to the set threshold value to be performed. Therefore, the inspection performance of the X-ray inspection device can be provided well.
[0008] (2) The X-ray inspection device described in (1) above further includes an image generating unit that generates two or more X-ray transmission images corresponding to two or more energy regions based on the output result of the detection unit, and the threshold setting unit may set a threshold based on the shading of the two or more X-ray transmission images generated by the image generating unit. In this case, for example, when an article to be inspected by the X-ray inspection device is changed, the threshold setting unit can use the two or more X-ray transmission images to set an appropriate threshold in accordance with the change. In addition, sensitivity correction is performed in accordance with the set threshold. Therefore, even when an article is changed, the inspection performance can be exhibited well.
[0009] (3) The X-ray inspection device described in (1) or (2) above may further include a memory unit that stores a threshold value, the memory unit stores a threshold value corresponding to the type of article, and the sensitivity correction unit performs sensitivity correction when the type of article is switched. In this case, since sensitivity correction can be performed on the threshold value corresponding to the type of article, the inspection performance of the X-ray inspection device can be favorably exhibited.
[0010] (4) The X-ray inspection apparatus according to any one of (1) to (3) above may further include a storage unit that stores a threshold value, the storage unit stores a threshold value corresponding to the type of article, and the sensitivity correction unit performs sensitivity correction when the type of article is switched and the threshold value is changed. In this case, the sensitivity correction is not performed unless the threshold value is changed, which makes it possible to efficiently prepare the X-ray inspection apparatus.
[0011] (5) A method for correcting the sensitivity of an X-ray inspection device according to another aspect of the present invention includes the steps of detecting X-rays that have not passed through an object by a detection unit capable of detecting electromagnetic waves by a photon counting method and discriminating between two or more energy regions by an arbitrary threshold, and correcting the sensitivity of the detection unit based on the X-rays detected by the detection unit, and a step of correcting the sensitivity when the arbitrary threshold is changed is executed. In this sensitivity correction method, the sensitivity correction is performed when the arbitrary threshold is changed. This allows the sensitivity correction to be performed according to the set arbitrary threshold. Therefore, the inspection performance of the X-ray inspection device can be satisfactorily exhibited.
[0012] (6) The sensitivity correction method described in (5) above may further include a step of generating two or more X-ray transmission images corresponding to two or more energy regions based on the output result of the detection unit, and a step of setting an arbitrary threshold value based on the shading of the two or more X-ray transmission images. In this case, for example, when an article to be inspected by the X-ray inspection device is changed, an appropriate threshold value according to the change can be set using the two or more X-ray transmission images. In addition, sensitivity correction can be performed according to the set threshold value. Therefore, even when a change is made to the article, the inspection performance can be exhibited well. Effect of the Invention
[0013] According to one aspect of the present invention, it is possible to provide an X-ray inspection apparatus capable of exhibiting excellent inspection performance, and a method for correcting sensitivity of an X-ray inspection apparatus. [Brief description of the drawings]
[0014] [Figure 1] FIG. 1 is a configuration diagram of an X-ray inspection apparatus according to an embodiment. [Diagram 2] FIG. 2 is a diagram showing the internal configuration of the shielding box shown in FIG. [Diagram 3] FIG. 3 is a functional configuration diagram of the control unit. [Figure 4] FIG. 4(a) is a diagram showing the first transmission image, and FIG. 4(b) is a diagram showing the second transmission image. [Diagram 5] FIG. 5 is a diagram showing a difference image. [Figure 6] FIG. 6 is a flowchart illustrating the sensitivity correction method. [Figure 7] FIG. 7 is a flowchart for explaining a method for setting the threshold value. [Figure 8] FIG. 8 is a functional configuration diagram of a control unit according to a modified example. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0015] Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings. In the description of the drawings, the same or corresponding elements are designated by the same reference numerals, and duplicated explanations will be omitted.
[0016] 1, the X-ray inspection apparatus 1 includes an apparatus main body 2, support legs 3, a shielding box 4, a transport unit 5, an X-ray irradiation unit 6, an X-ray detection unit 7 (detection unit), a display operation unit 8, and a control unit 10. The X-ray inspection apparatus 1 generates an X-ray transmission image of the object G while transporting the object G, and performs inspection of the object G (e.g., inspection of the number of objects stored, inspection of foreign matter, inspection of missing objects, inspection of cracks and chips, etc.) based on the X-ray transmission image. The object G before inspection is carried into the X-ray inspection apparatus 1 by a carry-in conveyor 51. The object G after inspection is carried out from the X-ray inspection apparatus 1 by a carry-out conveyor 52.
[0017] The device main body 2 houses the control unit 10 and the like. The support legs 3 support the device main body 2. The shielding box 4 is provided on the device main body 2. The shielding box 4 is a housing that prevents leakage of X-rays (electromagnetic waves) to the outside. An inspection room R is provided inside the shielding box 4, where inspection of items G is carried out using X-rays. The shielding box 4 is formed with an entrance 4a and an exit 4b. Items G before inspection are carried into the inspection room R from the carry-in conveyor 51 via the entrance 4a. Items G after inspection are carried out from the inspection room R to the exit conveyor 52 via the exit 4b.
[0018] The transport unit 5 is a member that transports the article G, and is disposed so as to penetrate the center of the shielding box 4. The transport unit 5 transports the article G along the transport direction A from the entrance 4a through the inspection room R to the exit 4b. The transport unit 5 is, for example, a belt conveyor stretched between the entrance 4a and the exit 4b. The transport unit 5 may protrude outward beyond the entrance 4a and the exit 4b.
[0019] As shown in FIG. 1 and FIG. 2, the X-ray irradiation unit 6 is an electromagnetic wave irradiation unit (X-ray source) disposed in the shield box 4. X-rays, which are electromagnetic waves irradiated from the X-ray irradiation unit 6, include X-rays in various energy ranges from low energy (long wavelength) to high energy (short wavelength). For this reason, the X-ray irradiation unit 6 irradiates the object G transported to the transport unit 5 with X-rays in a plurality of energy ranges. Immediately after the start of the X-ray irradiation unit 6, the output of X-rays may be unstable. For this reason, X-ray irradiation by the X-ray irradiation unit 6 (i.e., idling of the X-ray irradiation unit 6) may be performed after the start of the X-ray inspection device 1 and before the inspection of the object G. Note that the terms "low" and "high" in the above-mentioned low energy and high energy indicate relatively "low" and "high" in a plurality of energy ranges irradiated from the X-ray irradiation unit 6, and do not indicate a specific range.
[0020] The X-ray detection unit 7 is a sensor unit that detects electromagnetic waves. The X-ray detection unit 7 is disposed in the shield box 4 at a position facing the X-ray irradiation unit 6 in the vertical direction. In this embodiment, the X-ray detection unit 7 is a direct conversion type detection unit capable of detecting X-rays by a photon counting method, and includes, for example, a sensor 11 (multi-energy sensor) that detects X-rays in each of a plurality of energy regions that penetrate the article G. The sensors 11 are, for example, arranged in a direction (width direction) perpendicular to at least the conveying direction and the vertical direction of the conveying unit 5. The sensors 11 may be arranged not only in the width direction but also in the conveying direction. In this embodiment, the X-ray detection unit 7 includes a group of sensors 11 arranged two-dimensionally. The sensors 11 include, for example, a photon detection type sensor such as a CdTe semiconductor detector.
[0021] In sensor 11 included in X-ray detection unit 7, for example, electron-hole pairs are generated by the arrival of X-ray photons. Photon counting (photon counting) is performed based on the energy (photon energy) obtained at this time. The counting process is performed by a calculation unit (not shown) included in X-ray detection unit 7 or sensor 11. Since the calculation load of the counting process is high, the calculation unit tends to generate heat when X-ray inspection apparatus 1 is in operation.
[0022] The X-ray detection unit 7 discriminates the photon energy of the detected X-ray into two or more energy regions based on an arbitrary threshold. As a result, the X-ray detection unit 7 can detect X-rays by discriminating them into two or more energy regions based on the arbitrary threshold, and photon counting for each energy region is possible. The X-ray detection unit 7 outputs a signal (detection result signal) that corresponds to the detection result of the X-ray and is discriminated to the control unit 10. In this embodiment, the X-ray detection unit 7 discriminates the photon energy of the detected X-ray into at least a first energy region and a second energy region higher than the first energy region using an arbitrary threshold. The arbitrary threshold is, for example, one or more values (unit: keV) set by the control unit 10. Therefore, the first energy region and the second energy region may be divided by one threshold or may be divided by different thresholds (for example, a first threshold and a second threshold different from the first threshold). In the latter case, one or more energy regions may exist between the first energy region and the second energy region. For example, the X-ray detection unit 7 may discriminate the photon energy into a first energy region, a second energy region, and a third energy region lower than the first and second energy regions. The arbitrary threshold values and the number thereof can be appropriately confirmed via the display operation unit 8 in response to changes in the type of the article G, changes in the inspection conditions, etc. A method for setting the arbitrary threshold values will be described later.
[0023] At least when the X-ray inspection apparatus 1 is started up, a sensitivity correction (calibration) of the X-ray detection unit 7 is performed. In this embodiment, the arbitrary threshold is set during the sensitivity correction when the X-ray inspection apparatus 1 is started up. In addition, the sensitivity correction is also performed when the arbitrary threshold is changed. The sensitivity correction is performed every time the arbitrary threshold is changed, so that an output of the sensor 11 according to the set threshold is obtained. The sensitivity correction of the X-ray detection unit 7 will be described in detail later. The sensitivity correction of the X-ray detection unit 7 corresponds to a correction of an output difference between the sensors 11 included in the X-ray detection unit 7.
[0024] During operation of the X-ray inspection device 1, the temperature of the X-ray detection unit 7 rises due to heat generation from at least one of the sensor 11 and the calculation unit. The temperature rise of the X-ray detection unit 7 may cause the output of the X-ray detection unit 7 to become unstable, particularly immediately after the start of the X-ray inspection device 1. As a specific example, the temperature rise of the X-ray detection unit 7 may deteriorate the counting processing accuracy of at least one of the sensors 11, causing an erroneous counting number to be output. This may result in the generation of an inappropriate X-ray image. For this reason, the X-ray detection unit 7 has a cooling element (not shown) for cooling the X-ray detection unit 7 in addition to the sensor 11. The operation of the cooling element during operation of the X-ray inspection device 1 can suppress the temperature change of the X-ray detection unit 7. For example, after a predetermined period (also referred to as a first period) has elapsed since the start of detection of X-rays by the X-ray detection unit 7, the X-ray detection unit 7 detects X-rays that are the basis for the sensitivity correction and have not passed through the article G. The first period is, for example, 10 seconds or more, 8 seconds or more, 6 seconds or more, or 5 seconds or more, but is not limited thereto. The first period may be adjusted depending on the type, specifications, installation environment, etc. of the X-ray inspection apparatus 1. From the viewpoint of power consumption, etc., the first period may be set as short as possible. Note that the cooling element is, for example, a Peltier element.
[0025] In general, the period required from the start of X-ray detection by the X-ray detection unit 7 until the output of the X-ray detection unit 7 becomes stable is equal to or longer than the period required from the start of X-ray irradiation by the X-ray irradiator 6 until the output of the X-ray irradiation becomes stable (period during which the irradiation of the X-ray source becomes stable). Therefore, the first period is equal to or longer than the period required from the start of X-ray detection by the X-ray detection unit 7 until the output of the X-ray detection unit 7 becomes stable. Similarly, the first period is equal to or longer than the period during which the irradiation of the X-ray source becomes stable. Therefore, from the viewpoint of shortening the sensitivity correction of the X-ray detection unit 7, at least the detection of X-rays by the X-ray detection unit 7 may be started at the time of starting the X-ray inspection device 1. From the viewpoint of stabilizing the output of the X-ray detection unit 7, the X-ray irradiator 6 starts X-ray irradiation during the first period. In this case, the X-ray irradiation is started so that the X-ray irradiation is stabilized by the end of the first period. In the sensitivity correction, the X-ray irradiation by the X-ray irradiator 6 may be started simultaneously with the start of X-ray detection by the X-ray detection unit 7.
[0026] As shown in FIG. 1, the display operation unit 8 is a member (display unit) provided in the device body 2. The display operation unit 8 displays various information and accepts input operations of various conditions from the outside. The display operation unit 8 is, for example, a liquid crystal display, and displays an operation screen as a touch panel. In this case, the operator can input various conditions via the display operation unit 8. As an input operation, for example, a selection operation of an image (described in detail later) used for inspection of the item G by the inspection unit 23 (see FIG. 3) included in the control unit 10 is accepted. This makes it possible to preferably obtain a desired inspection result. As another input operation, for example, a selection operation or a switching operation of the type of item G to be inspected by the X-ray inspection device 1 is accepted. This makes it possible to preferably obtain an inspection result according to the type of item G.
[0027] The control unit 10 is a component to which the detection results of the X-ray detection unit 7 are input, and is disposed within the device body 2. The control unit 10 controls the operation of each unit of the X-ray inspection device 1 (in this embodiment, the transport unit 5, the X-ray irradiation unit 6, the X-ray detection unit 7, and the display operation unit 8). The control unit 10 includes a processor such as a CPU (Central Processing Unit), memories such as a ROM (Read Only Memory) and a RAM (Random Access Memory), and storage such as an SSD (Solid State Drive). A program for controlling the X-ray inspection device 1 is stored in the ROM.
[0028] 3 is a functional configuration diagram of the control unit 10. As shown in FIG. 3, the control unit 10 includes an image generating unit 21, a threshold setting unit 22, an inspection unit 23, a determination unit 24, an output unit 25, a storage unit 26, and a sensitivity correcting unit 27.
[0029] The image generating unit 21 is a component that develops a signal (for example, the detection result signal) output from the X-ray detection unit 7 into a two-dimensional image on a memory. The image generating unit 21 is mainly composed of, for example, a GPU (Graphics Processing Unit). The memory in which the two-dimensional image is developed is, for example, a memory included in the GPU, but is not limited to this. The image generating unit 21 generates, for example, two or more X-ray transmission images corresponding to two or more energy regions based on the X-ray detection result by the X-ray detection unit 7. Each X-ray transmission image may be an image used for inspecting an item G (hereinafter, may be simply referred to as an "inspection image"), or may be an image for setting the arbitrary threshold value (hereinafter, may be simply referred to as an "threshold setting image"). The inspection image is generated during the inspection of the item G by the X-ray inspection device 1. The threshold setting image is generated, for example, during setting or adjustment of the X-ray inspection device 1 (for example, during sensitivity correction of the X-ray inspection device 1). The image generating unit 21 may generate, as the X-ray transmission image, for example, a total transmission image corresponding to all the X-rays in the plurality of energy regions based on the detection results.
[0030] In this embodiment, the image generating unit 21 generates, as the inspection images, a first inspection image P1 (see FIG. 4(a)) corresponding to the X-rays in the first energy region, a second inspection image P2 (see FIG. 4(b)) corresponding to the X-rays in the second energy region, and a difference image P3 (see FIG. 5) obtained by subtraction processing of the first inspection image P1 and the second inspection image P2. The image generating unit 21 may also generate, as the threshold setting images, a first setting image corresponding to the X-rays in the first energy region and a second setting image corresponding to the X-rays in the second energy region.
[0031] The first test image P1 is generated based on, for example, a part of the information included in the detection result signal. The second test image P2 is generated based on, for example, another part of the information included in the detection result signal. The first test image P1 and the second test image P2 each show an object G and a background other than the object G. As shown in an example in FIG. 4(a), the first test image P1 is darker overall than the second test image P2. On the other hand, as shown in an example in FIG. 4(b), the second test image P2 is brighter overall than the first test image P1. In this embodiment, the comparison of the brightness between the first test image P1 and the second test image P2 corresponds to the comparison of the brightness of the object G displayed in the first test image P1 and the brightness of the object G displayed in the second test image P2.
[0032] The difference image P3 is an image (energy analysis image) generated by performing image processing on at least one of the first test image P1 and the second test image P2 using, for example, an image processing algorithm. The image processing algorithm is a type indicating a processing procedure of image processing to be performed on at least one of the first test image P1 and the second test image P2. The image processing algorithm used for the first test image P1 and the image processing algorithm used for the second test image P2 may be different from each other. For example, in order to align the brightness of the first test image P1 and the brightness of the second test image P2, a process of changing the brightness of one of the first test image P1 and the second test image P2 may be performed. As the process, for example, a process using a luminance distribution as described in Japanese Patent Application No. 2021-195926 may be performed. In addition, the image processing algorithm is, for example, an algorithm as described in Japanese Patent Application No. 2021-195926.
[0033] Instead of using the image processing algorithm, the image generating unit 21 may use a program that is automatically set by machine learning. Such a program is a predictive model (trained model) generated by machine learning, and is an inference program incorporating parameters (trained parameters) obtained as a result of machine learning. Examples of machine learning used in the trained model include neural networks, support vector machines, and genetic algorithms. The trained model may include a convolutional neural network, or may include a neural network with multiple layers (e.g., eight or more layers). That is, the trained model corresponding to the above program may be generated by deep learning.
[0034] The threshold setting unit 22 is a part that sets a threshold for discriminating the X-rays detected by the X-ray detection unit 7 into two or more energy regions. The threshold setting unit 22 sets the arbitrary threshold based on, for example, the shading of two or more X-ray transmission images. The threshold setting unit 22 sets the arbitrary threshold based on a threshold that makes the difference in shading between the first setting image and the second setting image fall within a predetermined range. The threshold setting unit 22 first sets a threshold (provisional threshold) that makes the difference (luminance difference) between the background luminance (first background luminance=B1) of the first setting image and the background luminance (second background luminance=B2) of the second setting image fall within a predetermined range. The background luminance of a predetermined X-ray transmission image corresponds to, for example, a value obtained by dividing the sum of the luminance of each pixel included in the image by the number of pixels. The luminance difference in this embodiment corresponds to a value (|B2-B1| / (B1+B2)) obtained by dividing the absolute value (|B2-B1|) of the difference between the first background luminance and the second background luminance by the sum (B1+B2) of the first background luminance and the second background luminance. In this embodiment, when the luminance difference is 0.05 or less, it is determined that the luminance difference is within a predetermined range, but is not limited thereto. Next, the threshold setting unit 22 sets an arbitrary threshold by adding a correction value (unit: keV) to the obtained provisional threshold. The correction value is, for example, an arbitrary value determined by an operator via the display operation unit 8 or the like. The correction value is, for example, -10 keV or more and 10 keV or less. The correction value may be 0. In other words, the arbitrary threshold may be the provisional threshold.
[0035] The threshold setting unit 22 changes the threshold until an arbitrary threshold is set (i.e., when the difference in shading between two or more X-ray transmission images is outside a predetermined range). The adjustment of the threshold by the threshold setting unit 22 is performed, for example, by a method described in Japanese Patent Application No. 2022-37999.
[0036] The inspection unit 23 inspects the item G based on the X-rays transmitted through the item G detected by the X-ray detection unit 7. The inspection unit 23 inspects the item G based on at least a part of the multiple images generated by the image generation unit 21. The inspection unit 23 inspects the item G using, for example, the difference image P3. The inspection unit 23 may inspect the item G based on two or more images among the multiple images generated by the image generation unit 21. The inspection unit 23 inspects the item G for, for example, the presence or absence of foreign matter, cracks, chips, etc., but is not limited to this. In a case where the item G is wrapped in a sheet-like packaging material, the inspection unit 23 may also inspect the packaging material for tears, poor sealing (seal bite), etc. In a case where the item G is contained in a package, the inspection unit 23 may perform a foreign matter confirmation inspection, a missing item confirmation inspection, a storage number confirmation inspection, a hollow confirmation inspection, etc. in the package. The inspection unit 23 transmits the inspection result of the item G to the determination unit 24 and the storage unit 26.
[0037] The determination unit 24 determines whether or not the item G is a non-defective item based on the inspection results received from the inspection unit 23. For example, the determination unit 24 determines whether or not there is a foreign object in the item G, and whether or not there is a crack or chip in the item G. The determination unit 24 transmits the determination result to the output unit 25 and the memory unit 26.
[0038] The output unit 25 outputs the determination result of the determination unit 24 to at least one of parts of the X-ray inspection apparatus 1 other than the control unit 10 and a device different from the X-ray inspection apparatus 1. This allows at least one of the X-ray inspection apparatus 1 and a device different from the X-ray inspection apparatus 1 (for example, a sorting device arranged downstream of the X-ray inspection apparatus 1) to perform an operation when the article G is defective. Other examples of the device different from the X-ray inspection apparatus 1 include, for example, an input conveyor 51, an output conveyor 52, an alarm device, etc.
[0039] The storage unit 26 stores signals, data, etc. generated by the control unit 10. For example, the storage unit 26 may store not only the detection result signal transmitted from the X-ray detection unit 7 and the image data transmitted from the image generation unit 21, but also the threshold value set by the threshold setting unit 22. In this case, the storage unit 26 stores a threshold value corresponding to the type of the article G. This allows the threshold value to be automatically changed when the type of the article G is switched. The storage unit 26 may store data related to the inspection result transmitted from the inspection unit 23, data related to the judgment result transmitted from the judgment unit 24, etc.
[0040] The sensitivity correction unit 27 is a part that performs sensitivity correction of the X-ray detection unit 7 based on X-rays that have not passed through the object G (hereinafter, also referred to as "non-passed X-rays") detected by the X-ray detection unit 7. The sensitivity correction unit 27 performs the above-mentioned sensitivity correction at least when the X-ray inspection device 1 is started up. In addition, the sensitivity correction unit 27 performs the above-mentioned sensitivity correction when the threshold is changed by the threshold setting unit 22. If a threshold corresponding to the type of the object G is stored in the memory unit 26, the above-mentioned sensitivity correction may be performed when the type of the object G is switched. Note that when the type of the object G is switched, there are cases where the threshold is not changed. For this reason, the sensitivity correction unit 27 may perform the above-mentioned sensitivity correction when the type of the object G is switched and the threshold is changed.
[0041] In the sensitivity correction of the X-ray detection unit 7 by the sensitivity correction unit 27, the bright level is acquired based on the X-rays that have not passed through the article G. The bright level is the number of photon counts detected when the X-rays that have not passed through the article G are incident on the X-ray detection unit 7. The bright level may change depending on the output of the X-ray irradiation unit 6, etc. For this reason, the bright level is not limited to a single level, and may be multiple levels. For example, the bright level includes at least a maximum bright level obtained when the output of the X-ray irradiation unit 6 is 100%, and an intermediate bright level (gray level) obtained when the output of the X-ray irradiation unit 6 is 50%. In this embodiment, the X-ray detection unit 7 may not acquire a dark level in the above sensitivity correction. In this case, the number of photons detected may simply be 0, and may be preset as the dark level. Alternatively, in the above sensitivity correction, when the number of photons detected by the X-ray detection unit 7 is 0, the dark level may be set.
[0042] Next, an example of a sensitivity correction method for X-ray inspection apparatus 1 according to this embodiment will be described with reference to Fig. 6. Fig. 6 is a flowchart for explaining the sensitivity correction method.
[0043] As shown in FIG. 6, first, when the X-ray inspection apparatus 1 is started, sensitivity correction of the X-ray detection unit 7 is started (step ST1). In step ST1, the X-ray inspection apparatus 1 is started, and inspection parameters, initial threshold values, etc. are set in the X-ray detection unit 7. Next, detection of X-rays by the X-ray detection unit 7 is started (step ST2). In this embodiment, in step ST2, irradiation of X-rays by the X-ray irradiation unit 6 is started at the same time as detection of X-rays by the X-ray detection unit 7, but this is not limited to this. Note that in step ST2, the detection result of X-rays by the X-ray detection unit 7 is not used in the sensitivity correction. This makes it difficult to use unstable detection results.
[0044] Next, the X-ray detector 7 waits for a first period from the start of X-ray detection (step ST3). In step ST3, X-ray detection by the X-ray detector 7 is maintained during the first period, and the X-ray detector 7 generates heat. In step ST3, the cooling element of the X-ray detector 7 also operates to adjust the temperature of the X-ray detector 7. Similarly, X-ray irradiation by the X-ray irradiator 6 is maintained during the first period. This also stabilizes the output of the X-ray irradiator 6. If X-ray irradiation by the X-ray irradiator 6 is not started in step ST2, X-ray irradiation by the X-ray irradiator 6 is started in step ST3. In other words, if X-ray irradiation by the X-ray irradiator 6 is not started in step ST2, X-ray irradiation by the X-ray irradiator 6 is started during the first period. In step ST3, the X-ray detection result by the X-ray detector 7 is not used in the sensitivity correction. This makes it difficult to use an unstable detection result.
[0045] Next, after a first period has elapsed since the start of X-ray detection by the X-ray detection unit 7 (i.e., after step ST3), an arbitrary threshold value used to discriminate the photon energy of the detected X-rays is set (step ST4). In step ST4, first, the X-ray detection unit 7 detects non-penetrating X-rays using a photon counting method. Then, an arbitrary threshold value is set using the detection result of the X-ray detection unit 7 in step ST4. Here, the above-mentioned step ST4 will be described in detail with reference to FIG. 7. FIG. 7 is a flowchart for explaining an example of a method for setting the threshold value.
[0046] As shown in FIG. 7, first, X-rays are detected by a photon counting method (step ST11). In step ST11, X-rays are detected by the X-ray detection unit 7 by a photon counting method. Next, the photon energy of the detected X-rays is discriminated into two or more energy regions by an arbitrary threshold (step ST12). In step ST12, the X-ray detection unit 7 discriminates the photon energy into a first energy region and a second energy region using a predetermined initial threshold. Next, two or more X-ray transmission images corresponding to the two or more energy regions are generated using the photon energy (step ST13). In step ST13, a first setting image is generated from the X-ray detection result corresponding to the first energy region, and a second setting image is generated from the X-ray detection result corresponding to the second energy region.
[0047] Next, an arbitrary threshold is set based on the shading of two or more X-ray transmission images (step ST14). In step ST14, a threshold (provisional threshold) is set so that the difference (luminance difference) between the background luminance of the first setting image and the background luminance of the first setting image is within a predetermined range. Then, an arbitrary threshold is set by adding a correction value to the obtained provisional threshold. Note that, if the difference in shading of two or more X-ray transmission images is outside the predetermined range in step ST14, the threshold is changed, and then steps ST11 to ST14 are performed until the difference falls within the predetermined range. For example, steps ST11 to ST14 are repeatedly performed according to the method described in Japanese Patent Application No. 2022-37999.
[0048] Returning to FIG. 6, after setting the threshold value, the process waits for a second period (step ST5). By carrying out step ST5, the sensitivity correction of the X-ray detection unit 7 can be more appropriately carried out. In step ST5, X-ray detection by the X-ray detection unit 7 is maintained during the second period. On the other hand, in step ST5, the detection result of the X-ray detection unit 7 is not used in the sensitivity correction. The second period is, for example, 10 seconds or more, 8 seconds or more, 6 seconds or more, or 5 seconds or more, but is not limited to this. The second period may be adjusted depending on the type, specifications, installation environment, etc. of the X-ray inspection apparatus 1. From the viewpoint of power consumption, etc., the second period may be set as short as possible.
[0049] Next, after a predetermined period of time has elapsed since the threshold value was set (i.e., after step ST5), X-rays that serve as a reference for the X-ray detection unit 7 and have not penetrated the article G are detected (step ST6). Then, based on the non-penetrating X-rays detected by the X-ray detection unit 7, sensitivity correction of the X-ray detection unit 7 is performed (step ST7). In the sensitivity correction, for example, a bright level is obtained for each sensor 11, a zero point is obtained, and a span coefficient value is calculated. This may create a calibration curve. In the sensitivity correction, a dark level may be obtained. Then, the obtained bright level, the calculated value, and the like are set in each sensor 11 of the X-ray detection unit 7. With the above, the sensitivity correction of the X-ray detection unit performed when the X-ray inspection device 1 is started is completed. After the sensitivity correction is completed, the X-ray inspection device 1 can satisfactorily inspect the article G.
[0050] For example, after the sensitivity correction method is performed when the X-ray inspection apparatus 1 is started, at least steps ST6 and ST7 are performed again when the threshold value is changed. In this embodiment, after the sensitivity correction method is performed when the X-ray inspection apparatus 1 is started, at least steps ST6 and ST7 are performed each time the threshold value is changed. Alternatively, after the sensitivity correction method is performed when the X-ray inspection apparatus 1 is started, at least steps ST6 and ST7 are performed each time the type of article G is switched. Note that when the type of article G is switched, the threshold value may not be changed. For this reason, at least steps ST6 and ST7 may be performed each time the type of article G is switched and the threshold value is changed.
[0051] Generally, in order to achieve good inspection performance of an X-ray inspection apparatus equipped with a detection unit capable of detecting by a photon counting method, it is important not only to set a threshold value according to the article to be inspected, but also to perform sensitivity correction (calibration) of the detection unit according to the threshold value. Here, in the X-ray inspection apparatus 1 according to the above embodiment, the sensitivity correction unit 27 performs sensitivity correction when the threshold value is changed by the threshold setting unit 22. This makes it possible to perform sensitivity correction according to the set threshold value. Therefore, the inspection performance of the X-ray inspection apparatus 1 can be achieved well.
[0052] In this embodiment, the X-ray inspection device 1 includes an image generating unit 21 that generates two or more X-ray transmission images corresponding to two or more energy regions based on the output result of the X-ray detection unit 7, and the threshold setting unit 22 may set a threshold based on the shading of the two or more X-ray transmission images generated by the image generating unit 21. In this case, for example, when the object G to be inspected by the X-ray inspection device 1 is changed, the threshold setting unit 22 can use the two or more X-ray transmission images to set an appropriate threshold according to the change. In addition, sensitivity correction according to the set threshold is performed. In this way, by incorporating automatic adjustment of the energy threshold into the sensitivity correction of the X-ray detection unit 7, the procedure required before the inspection of the object G can be performed with high accuracy and in a short time. Therefore, even if a change in the type of the object G is performed, the inspection performance can be exhibited well.
[0053] In this embodiment, the X-ray inspection apparatus 1 includes a memory unit 26 that stores a threshold value, and the memory unit 26 stores a threshold value corresponding to the type of article G, and the sensitivity correction unit 27 may perform sensitivity correction when the type of article G is switched. In this case, since the sensitivity correction can be performed on the threshold value corresponding to the type of article G, the inspection performance of the X-ray inspection apparatus 1 can be favorably exhibited.
[0054] In this embodiment, the X-ray inspection apparatus 1 includes a memory unit 26 that stores a threshold value, the memory unit 26 stores a threshold value corresponding to the type of article, and the sensitivity correction unit 27 may perform sensitivity correction when the type of article is switched and the threshold value is changed. In this case, the sensitivity correction is not performed unless the threshold value is changed, so that the preparation of the X-ray inspection apparatus 1 can be made more efficient.
[0055] Although the embodiment of the present invention has been described above, the present invention is not necessarily limited to the above-described embodiment, and various modifications are possible without departing from the gist of the present invention.
[0056] In the above embodiment, the X-ray detection unit discriminates the photon energy of the detected X-ray into two or more energy regions based on an arbitrary threshold, but is not limited to this. FIG. 8 is a functional configuration diagram of a control unit according to a modified example. As shown in FIG. 8, the control unit 10A has a discrimination unit 28 in addition to the image generation unit 21, the threshold setting unit 22, the inspection unit 23, the judgment unit 24, the output unit 25, the storage unit 26, and the sensitivity correction unit 27. The discrimination unit 28 is a part that discriminates the photon energy of the detected X-ray into two or more energy regions based on an arbitrary threshold. The discrimination unit 28 can discriminate the photon energy into a first energy region, a second energy region, and a third energy region, for example. By using such a control unit 10A, the X-ray detection unit does not need to perform photon counting for each energy region. In other words, the X-ray detection unit simply needs to output the detection result of the X-ray to the control unit 10A. This can simplify the configuration of the X-ray detection unit.
[0057] In the above embodiment, the X-ray inspection apparatus has a control unit that performs image processing, but is not limited thereto. For example, the function of performing image processing in the control unit, the function of determining the presence or absence of a foreign object contained in an article based on a difference image, the function of displaying the X-ray inspection result, and the like may not be included in the X-ray inspection apparatus. Instead, they may be implemented in a control device capable of wired communication with the X-ray inspection apparatus. In this case, an X-ray inspection system including the X-ray inspection apparatus and the control device to which the inspection result of the X-ray inspection apparatus is input can be realized. This X-ray inspection system also achieves the same effects as the above embodiment. In addition, the configuration of the control unit included in the X-ray inspection apparatus can be simplified. Furthermore, the user can check the inspection result, etc., even in a place away from the X-ray inspection apparatus. The control device is not particularly limited, but may be, for example, a laptop PC, a tablet, etc. In addition, the control device may not include the function of determining the presence or absence of a foreign object. [Explanation of symbols]
[0058] 1...X-ray inspection equipment, 3...support leg, 4...shielding box, 4a...feed-in entrance, 4b...feed-out exit, 5...transport section, 6...X-ray irradiation section, 7...X-ray detection section, 8...display operation section, 11...sensor, 21...image generation section, 22...threshold setting section, 23...inspection section, 24...judgment section, 25...output section, 26...memory section, 27...sensitivity correction section, 28...discrimination section, A...transport direction, G...object, P1...first inspection image, P2...second inspection image, P3...difference image.
Claims
1. A conveying unit that conveys an article; an X-ray source that irradiates the object being transported to the transport section with X-rays; a detection unit capable of detecting the X-rays by a photon counting method; a threshold setting unit that sets a threshold for discriminating the X-rays detected by the detection unit into two or more energy regions; an inspection unit that inspects the object based on the X-rays that have passed through the object and are detected by the detection unit; a sensitivity correction unit that corrects the sensitivity of the detection unit based on the X-rays that are detected by the detection unit and have not passed through the object; Equipped with the detection unit detects the X-rays by discriminating the X-rays into the two or more energy regions using the threshold value; the sensitivity correction unit performs the sensitivity correction when the threshold is changed by the threshold setting unit. X-ray inspection equipment.
2. an image generating unit that generates two or more X-ray transmission images corresponding to the two or more energy regions based on an output result of the detection unit; The X-ray inspection apparatus according to claim 1 , wherein the threshold setting unit sets the threshold based on shading of the two or more X-ray transmission images generated by the image generating unit.
3. A storage unit that stores the threshold value, The storage unit stores the threshold value corresponding to the type of the article, The X-ray inspection apparatus according to claim 1 , wherein the sensitivity correction unit performs sensitivity correction when the type of the article is switched.
4. A storage unit that stores the threshold value, The storage unit stores the threshold value corresponding to the type of the article, The X-ray inspection apparatus according to claim 1 , wherein the sensitivity correction unit performs sensitivity correction when the type of the article is switched and the threshold value is changed.
5. A step of detecting X-rays that have not passed through an article by a detection unit capable of detecting electromagnetic waves by a photon counting method and discriminating between two or more energy regions by an arbitrary threshold value; performing a sensitivity correction of the detection unit based on the X-rays detected by the detection unit; Equipped with The step of performing the sensitivity correction is performed when the arbitrary threshold is changed. A method for correcting sensitivity of an X-ray inspection device.
6. generating two or more X-ray transmission images corresponding to the two or more energy regions based on an output result of the detection unit; setting the arbitrary threshold value based on the shading of the two or more X-ray radiographic images; The sensitivity correction method according to claim 5 , further comprising:
Citation Information
Patent Citations
X-ray inspection equipment
JP6569070B2
