Article inspection system, article inspection device, learning model generation method, and learning model generation program
The article inspection system dynamically adjusts learning model configurations based on conveyance speed and location to balance performance and time, addressing the trade-off in inspection devices.
Patent Information
- Application Number
- JP2023019807
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-02-13
- Publication Date
- 2024-08-23
AI Technical Summary
Inspection devices using learning models face a trade-off between processing time and performance, and this balance varies by production line, necessitating a method to adjust inspection performance and processing time easily.
An article inspection system that adjusts the type and configuration of learning models based on conveyance speed and location information, allowing for flexible generation of models that match the allowable inspection time on each production line.
Enables easy adjustment of the balance between inspection performance and processing time, ensuring high accuracy and efficiency in article inspection.
Smart Images

Figure 2024114201000001_ABST
Abstract
Description
[Technical field]
[0001] One aspect of the present invention relates to an article inspection system, an article inspection device, a learning model generation method, and a learning model generation program. [Background technology]
[0002] A known conventional inspection device is, for example, the device described in Patent Document 1. The inspection device described in Patent Document 1 includes an X-ray irradiation unit that irradiates an object with X-rays and an X-ray detection unit that detects the X-rays, and inspects the object by performing image processing on an X-ray image created based on the X-ray detection result. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] International Publication No. 2006 / 001107 Summary of the Invention [Problem to be solved by the invention]
[0004] In recent years, inspection devices that use learning models generated by machine learning to inspect the quality of an object, the presence or absence of foreign matter within the object, etc., have been put to practical use. In general, the longer the processing time for an inspection using a learning model, the higher the inspection performance. For this reason, there is a trade-off between the inspection processing time and the inspection performance.
[0005] Here, an inspection device that uses the learning model as described above may be placed on an article production line. In this case, the processing time of the inspection (in-line inspection) by the inspection device differs for each production line. Therefore, the inspection performance required for the in-line inspection and the allowable processing time for the in-line inspection differ for each production line. For this reason, a method is desired that can easily adjust the balance between the inspection performance required for the in-line inspection and the allowable processing time for the in-line inspection for each production line.
[0006] An object of one aspect of the present invention is to provide an article inspection system, an article inspection device, a learning model generation method, and a learning model generation program that can easily adjust the balance between inspection performance and processing time. [Means for solving the problem]
[0007] (1) An object inspection system according to one aspect of the present invention comprises a conveying unit that conveys objects received from outside, a photographing unit that photographs the objects on the conveying unit and generates images of the objects, and a control unit that inspects the objects based on the images using a learning model and outputs the inspection results, wherein the control unit acquires speed information regarding the conveying speed of the objects in the conveying unit and position information regarding the position of a device that utilizes the inspection results and is placed downstream of the photographing unit, determines the type and / or configuration of an algorithm to be used as the learning model based on the speed information and position information, and generates a learning model based on the determined type and / or configuration of the algorithm.
[0008] In this article inspection system, the control unit determines the type and / or configuration of an algorithm to be used as a learning model based on the acquired speed information and position information, and generates a learning model based on the determined type and / or configuration of the algorithm. This allows the control unit to easily generate a learning model according to an allowable inspection processing time, for example, even after the article inspection system has been implemented on a production line. Therefore, the above-mentioned article inspection system makes it easy to adjust the balance between inspection performance and processing time.
[0009] (2) In the object inspection system described in (1) above, the control unit may determine the type and / or configuration of an algorithm based on at least one of the amount of image data and the number of images, in addition to the speed information and position information. In this case, a learning model that is more suited to an allowable inspection processing time can be generated.
[0010] (3) In the article inspection system described in (1) or (2) above, the image capture unit may have a light irradiation unit that irradiates light onto the article and a light detection unit that detects the light transmitted through the article, and the control unit may determine the type and / or configuration of the algorithm based on the type of the light detection unit in addition to the speed information and position information. In this case, a learning model that is more suited to the allowable inspection processing time can be generated depending on the type of the light detection unit.
[0011] (4) In the article inspection system according to any one of (1) to (3) above, the device may be a sorting device. In this case, the articles to be discharged from the production line can be discharged with high accuracy.
[0012] (4) An object inspection device according to another aspect of the present invention includes a conveying unit that conveys objects received from outside, a photographing unit that photographs the objects on the conveying unit and generates images of the objects, and a control unit that inspects the objects using a learning model based on the images and outputs the inspection results, wherein the control unit acquires speed information regarding the conveying speed of the objects in the conveying unit and position information regarding the position of an apparatus that utilizes the inspection results and is placed downstream of the photographing unit, determines the type and / or configuration of an algorithm to be used as the learning model based on the speed information and position information, and generates a learning model based on the determined type and / or configuration of the algorithm.
[0013] In this article inspection device, the control unit determines the type and / or configuration of an algorithm to be used as a learning model based on the acquired speed information and position information, and generates a learning model based on the determined type and / or configuration of the algorithm. This allows the control unit to easily generate a learning model according to an allowable inspection processing time, for example, even after the article inspection device has been installed on a production line. Therefore, with the above-mentioned article inspection device, it is possible to easily adjust the balance between inspection performance and processing time.
[0014] (5) A method for generating a learning model according to another aspect of the present invention is a method for generating a learning model for an item inspection system which includes a conveying unit that conveys items received from outside and a photography unit that photographs the items on the conveying unit and generates images of the items, inspects the items using a learning model based on the images, and outputs the inspection results. The method determines the type and / or configuration of an algorithm to be used as the learning model based on speed information regarding the conveying speed of the item in the conveying unit and position information regarding the position of an apparatus that utilizes the inspection results and is arranged downstream of the photography unit, and generates a learning model based on the determined type and / or configuration of the algorithm.
[0015] In this method for generating a learning model, the type and / or configuration of an algorithm to be used as the learning model is determined based on the acquired speed information and position information, and a learning model is generated based on the determined type and / or configuration of the algorithm. This makes it possible to easily generate a learning model that corresponds to an allowable inspection processing time, even after the article inspection device has been installed on a production line, for example. Therefore, the above generation method makes it possible to generate a learning model that allows easy adjustment of the balance between inspection performance and processing time.
[0016] (6) A learning model generation program according to another aspect of the present invention causes a computer of an item inspection system which includes a conveying unit for conveying items received from outside and a photographing unit for photographing the items on the conveying unit and generating images of the items, inspects the items based on the images using a learning model, and outputs the inspection results, to function as an acquisition unit for acquiring speed information regarding the conveying speed of the items in the conveying unit and position information regarding the position of a device arranged downstream of the photographing unit while using the inspection results, an algorithm determination unit for determining the type and / or configuration of an algorithm to be used as a learning model based on the speed information and position information, and a learning model generation unit for generating a learning model based on the determined type and / or configuration of the algorithm.
[0017] This learning model generation program causes a computer to function as an algorithm determination unit that determines the type and / or configuration of an algorithm to be used as a learning model based on speed information and position information, and a learning model generation unit that generates a learning model based on the determined type and / or configuration of the algorithm. As a result, even after an item inspection device has been installed on a production line, for example, a learning model according to an allowable inspection processing time can be easily generated by using the learning model generation program. Therefore, the learning model generation program can generate a learning model that allows easy adjustment of the balance between inspection performance and processing time. Effect of the Invention
[0018] According to one aspect of the present invention, it is possible to provide an article inspection system, an article inspection device, a learning model generation method, and a learning model generation program that can easily adjust the balance between inspection performance and processing time. [Brief description of the drawings]
[0019] [Figure 1] FIG. 1 is a configuration diagram of an article inspection system 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 is a functional configuration diagram of the arithmetic device. [Diagram 5] FIG. 5 is a diagram showing an example of the types of algorithms. [Figure 6] FIG. 6 is a diagram showing another example of the type of algorithm. [Figure 7] FIG. 7 is a flowchart illustrating a method for generating a learning model. [Figure 8] FIG. 8 is a flowchart illustrating a method for inspecting an object using a learning model. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0020] 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.
[0021] As shown in FIG. 1, the item inspection system 100 is a system that performs inspections of items to be inspected (e.g., inspection of number of items stored, inspection of foreign objects, inspection of missing items, inspection of cracks and chips, etc.), and is implemented, for example, in a production line or the like. In this embodiment, the item inspection system 100 inspects items using X-rays, but is not limited to this. The item inspection system 100 has an X-ray inspection device 1, a sorting device 20 arranged downstream of the X-ray inspection device 1, and a calculation device 30 connected to the X-ray inspection device 1.
[0022] The X-ray inspection device 1 includes a device main body 2, a support leg 3, a shield box 4, a transport unit 5, an X-ray irradiation unit 6, an X-ray detection unit 7, a display operation unit 8, and a control unit 10. The X-ray inspection device 1 generates an X-ray transmission image of the object G while transporting the object G, and inspects the object G based on the X-ray transmission image. The X-ray inspection device 1 is disposed after the carry-in conveyor 51 and before the carry-out conveyor 52. The object G before inspection is carried into the X-ray inspection device 1 by the carry-in conveyor 51. The object G after inspection is carried out from the X-ray inspection device 1 by the carry-out conveyor 52. The object G determined to be a defective item by the X-ray inspection device 1 is sorted out of the production line by the sorting device 20 located after the carry-out conveyor 52. The object G determined to be a non-defective item by the X-ray inspection device 1 passes through the sorting device 20 as is. For this reason, the sorting device 20 can be said to be one of the devices that utilizes the inspection results of the item G and is arranged downstream of the X-ray inspection device 1. In this embodiment, the sorting device 20 is located closest to the X-ray inspection device 1 among the devices that utilize the inspection results of the item G and are arranged downstream of the X-ray inspection device 1. Note that other examples of devices that are arranged downstream of the X-ray inspection device 1 include an X-ray inspection device different from the X-ray inspection device 1, other inspection devices, etc.
[0023] The device main body 2 houses a 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 prevents leakage of X-rays (electromagnetic waves) to the outside. An inspection area R is provided inside the shielding box 4, where inspection of an item G is performed using X-rays. The shielding box 4 is formed with an entrance 4a and an exit 4b. An item G before inspection is carried into the inspection area R from the carry-in conveyor 51 via the entrance 4a. An item G after inspection is carried out from the inspection area R to the exit conveyor 52 via the exit 4b.
[0024] The transport unit 5 is a member that transports the article G received from the carry-in conveyor 51 outside the X-ray inspection apparatus 1, 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 carry-in entrance 4a through the inspection region R to the carry-out exit 4b. The transport unit 5 may protrude outward beyond the carry-in entrance 4a and the carry-out exit 4b.
[0025] The X-ray irradiation unit 6 and the X-ray detection unit 7 are parts of the imaging unit that captures the object G on the conveying unit 5 and generates an image of the object G. As shown in FIG. 1 and FIG. 2, the X-ray irradiation unit 6 is an X-ray source (light irradiation unit) that irradiates the object G with X-rays (light), and is disposed in the shield box 4. The X-ray irradiation unit 6 has, for example, an X-ray tube that emits X-rays, and a diaphragm that spreads the X-rays emitted from the X-ray tube in a fan shape in a plane perpendicular to the conveying direction A. The X-rays irradiated from the X-ray irradiation unit 6 may include X-rays in various energy bands from low energy (long wavelength) to high energy (short wavelength). In this embodiment, the image (X-ray transmission image) of the object G corresponds to data generated based on the detection signal output from the X-ray detection unit 7. Therefore, for example, the transmission and reception of an image corresponds to the transmission and reception of data indicating the image.
[0026] The X-ray detection unit 7 is a sensor member (light detection unit) that detects X-rays, which are light transmitted through the object G. 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. The X-ray detection unit 7 may be capable of detecting X-rays in a specific energy band, or may be capable of detecting X-rays by a photon counting method. The X-ray detection unit 7 may be a direct conversion type detection unit or an indirect conversion type detection unit. Depending on the type of the X-ray detection unit 7, the generation time of the image of the object G, the amount of data, and the like may differ. The X-ray detection unit 7 may include a line sensor, or may include a group of sensors arranged two-dimensionally. The sensor included in the X-ray detection unit 7 is, for example, a photon detection type sensor such as a CdTe semiconductor detector.
[0027] 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. For example, the operator can input information (speed information) related to the conveying speed of the article G in the conveying section 5, information (position information) related to the position of a device (e.g., sorting device 20, etc.) arranged downstream of the X-ray inspection device 1, and the like, via the display operation unit 8. The position information is, for example, an actual measurement value of the distance between the X-ray inspection device 1 and the sorting device 20.
[0028] The control unit 10 functions as a part of the control unit of the article inspection system 100, and mainly controls the operation of each part of the X-ray inspection apparatus 1. The control unit 10 is arranged in the apparatus main body 2. The control unit 10 has a computer including a processor computer such as a CPU (Central Processing Unit) and a GPU (Graphics Processing Unit), memories such as a ROM (Read Only Memory) and a RAM (Random Access Memory), and a storage such as an SSD (Solid State Drive). For example, a program for controlling the X-ray inspection apparatus 1, a program for generating an image, etc. are recorded in the ROM.
[0029] 3 is a functional block diagram of the control unit 10. As shown in FIG. 3, the control unit 10 includes a communication unit 11, an image generating unit 12, and a recording unit 13.
[0030] The communication unit 11 is an output unit that outputs data to the sorting device 20, the arithmetic device 30, and the like, which are devices different from the X-ray inspection device 1, and is also an input unit that receives data from the different devices. For example, the communication unit 11 transmits a control signal to the sorting device 20 and transmits an image to the arithmetic device 30. The communication unit 11 receives the inspection results of the item G from the arithmetic device 30. The communication unit 11 may transmit information input via the display operation unit 8 (for example, the above-mentioned speed information, position information, etc.) to the arithmetic device 30, or may transmit information such as the type of the X-ray detection unit 7 to the arithmetic device 30.
[0031] The image generating unit 12 is mainly composed of a GPU, for example, and generates an image based on a detection signal output from the X-ray detection unit 7. The image generating unit 12 generates one or more images used for inspecting the item G, for example, based on the X-ray detection result by the X-ray detection unit 7. The images generated by the image generating unit 12 are transmitted to the calculation device 30 via the communication unit 11. The number and size (amount of data) of the images generated by the image generating unit 12 may be determined in advance, or may be set appropriately via the display operation unit 8.
[0032] The recording unit 13 records signals, data, etc. generated by the control unit 10. For example, the recording unit 13 records a detection result signal acquired by the image generating unit 12 and an image generated by the image generating unit 12. The recording unit 13 may record data received from the arithmetic device 30, etc.
[0033] Returning to FIG. 1 , the arithmetic device 30 is a device that functions as another part of the control unit of the article inspection system 100. The arithmetic device 30 is connected to the X-ray inspection apparatus 1. In this embodiment, the arithmetic device 30 is connected to the X-ray inspection apparatus 1 by wire, but is not limited to this. The arithmetic device 30 may be network-connected to the X-ray inspection apparatus 1 via Ethernet (registered trademark) or the like. In this case, the arithmetic device 30 may be placed in a location different from the X-ray inspection apparatus 1.
[0034] The arithmetic device 30 receives an image of the article G generated by the X-ray inspection device 1, inspects the image, and outputs the inspection result. The arithmetic device 30 inspects the image using, for example, a program that is automatically set by machine learning. As a result, the arithmetic device 30 inspects whether the article G is a non-defective item. The arithmetic device 30 also generates a learning model, which is the program. The learning model is a prediction model (also called a trained model) generated by machine learning, and is an inference program incorporating parameters (trained parameters) obtained as a result of machine learning. The learning model is generated based on various information input to the arithmetic device 30 (details will be described later).
[0035] The arithmetic device 30 has a computer including a processor such as a CPU or a GPU, a memory such as a ROM or a RAM, a field programmable gate array (FPGA), and a storage such as an SSD. The ROM stores, for example, a learning model for inspecting an image transmitted from the X-ray inspection device 1, a program for generating the learning model (learning model generation program), and a plurality of types of algorithms used in the program. The learning model generation program is a program that causes the arithmetic device 30 to function as a device that generates a learning model.
[0036] 4 is a functional configuration diagram of the arithmetic device 30. As shown in FIG. 3, the arithmetic device 30 includes a communication unit 31, an algorithm determination unit 32, a learning model generation unit 33, an inspection unit 34, and a recording unit 35.
[0037] The communication unit 31 is an input unit that receives an image from the X-ray inspection apparatus 1, and is an output unit that outputs the inspection results of the image to the X-ray inspection apparatus 1. The communication unit 31 receives information for generating a learning model from the X-ray inspection apparatus 1. For this reason, the communication unit 31 functions as an acquisition unit for information (speed information) related to the conveying speed of the article G in the conveying section 5, information (position information) related to the position of a device (e.g., sorting device 20, etc.) arranged downstream of the X-ray inspection apparatus 1, and the like.
[0038] The algorithm determination unit 32 determines the type and / or configuration of an algorithm to be used as a learning model. The type of algorithm is, for example, a random forest decision tree shown in FIG. 5, a multi-layer perceptron (neural network) shown in FIG. 6, etc. The configuration of the algorithm is the number of intermediate layers, the number of units in each layer, the number of branches, the objective variable, the explanatory variable, etc. When the type of algorithm is a random forest decision tree, the configuration of the algorithm that can be changed is the tree depth, the number of trees, etc. as shown in FIG. 5. When the type of algorithm is a multi-layer perceptron, the configuration of the algorithm that can be changed is the number of layers, the number of nodes, etc. as shown in FIG. The type and / or configuration of the algorithm may be generated by deep learning.
[0039] The type and / or configuration of the algorithm is determined according to the inspection time allowed for the article inspection system 100. The allowed inspection time corresponds to, for example, a period from the start timing of inspection of the article G by the X-ray inspection device 1 to the utilization timing at which the inspection result of the article G is first used, and is calculated, for example, by the control unit 10. Therefore, the inspection time varies mainly depending on the environment of the production line in which the article inspection system 100 is installed. In this embodiment, the utilization timing corresponds to the allocation timing of the article G by the allocation device 20 that utilizes the inspection result of the article inspection system 100. Therefore, the inspection time can be calculated based on the speed information and the position information obtained via the communication unit 31.
[0040] The type and / or configuration of the algorithm is determined taking into consideration the inspection processing time allowed for the article inspection system 100. The allowable inspection processing time corresponds to the period of the above-mentioned inspection time that can be spent on inspecting the article G. The period spent on inspecting the article G varies depending on the number of inspections of the article G, the type of inspection, the number of images used in the inspection, and the amount of data (image size). The type of inspection, the amount of image data, and the like may also vary depending on the type of article G and the type of X-ray detection unit 7. The period spent on inspecting the article G may be set taking into consideration the inspection performance (e.g., inspection accuracy of the article G) required for the article inspection system 100. The above-mentioned processing time may also be set taking into consideration the variation in data (e.g., the number of images, the size of the image, and the like) transmitted from the X-ray inspection device 1. This is because the data transmitted from the X-ray inspection device 1 may easily vary due to the variation in the article G, and the like. Therefore, it can be said that the type and / or configuration of the algorithm to be determined varies depending on conditions such as the environment in which the article inspection system 100 is installed, the inspection performance required of the article inspection system 100, and the article G to be inspected. In other words, the algorithm determination unit 32 does not determine the type and / or configuration of the algorithm unless conditions such as the environment in which the article inspection system 100 is installed are determined. In this embodiment, the algorithm determination unit 32 determines the type and / or configuration of the algorithm after the article inspection system 100 is implemented in a production line.
[0041] The algorithm determination unit 32 may generate a plurality of algorithms within a range that meets the above inspection time and processing time conditions. When the plurality of algorithms includes a first algorithm and a second algorithm, the first algorithm may be the same type as the second algorithm, or may be a different type. When the operator or the algorithm determination unit 32 decides to adopt the first algorithm, only the first algorithm may be recorded in the recording unit 35, or both the first algorithm and the second algorithm may be recorded in the recording unit 35. When a plurality of algorithms are recorded in the recording unit 35, the algorithm used in the learning model generation unit 33 can be arbitrarily changed, for example, via the display operation unit 8. This makes it possible to easily generate a learning model that the operator of the article inspection system 100 recognizes as optimal.
[0042] The learning model generation unit 33 generates a learning model based on the type and / or configuration of the determined algorithm. The learning model generation unit 33 generates a learning model based on the image data transmitted from the X-ray inspection device 1 and the determined algorithm. The generated learning model is recorded in the recording unit 35. At this time, the date and time when the learning model was generated is recorded in association with the learning model. When multiple algorithms are generated by the algorithm determination unit 32, the learning model generation unit 33 may generate multiple learning models. Alternatively, the learning model generation unit 33 may generate a specific learning model based on a specific algorithm selected from the multiple algorithms.
[0043] The inspection unit 34 inspects the article G using the learning model based on the image transmitted from the X-ray inspection apparatus 1, and outputs the inspection result. The output inspection result is transmitted to the X-ray inspection apparatus 1 via the communication unit 31.
[0044] The recording unit 35 records the type and / or configuration of the algorithm determined by the algorithm determination unit 32, the learning model generated by the learning model generation unit 33, the inspection results output by the inspection unit 34, etc. The recording unit 35 also records the algorithm used by the algorithm determination unit 32. The recording unit 35 may record images output from the X-ray inspection apparatus 1.
[0045] Next, an example of a method for generating a learning model for the article inspection system according to this embodiment will be described with reference to Fig. 7. Fig. 7 is a flowchart for explaining the method for generating a learning model. The learning model described below is generated by causing the arithmetic device 30 to function as the communication unit 31, the algorithm determination unit 32, and the learning model generation unit 33 by executing the above-mentioned learning model program.
[0046] As shown in FIG. 7, first, the arithmetic device 30, which is a part of the control unit of the article inspection system 100, acquires information for determining the type and / or configuration of an algorithm (step ST1). In step ST1, the arithmetic device 30 acquires speed information on the conveying speed of the article G in the conveying unit 5, and position information on the position of the sorting device 20 that uses the inspection result and is arranged downstream of the X-ray inspection device 1 (particularly, the X-ray irradiation unit 6 and the X-ray detection unit 7). For this reason, step ST1 is performed, for example, after the article inspection system 100 (particularly, the X-ray inspection device 1) is installed. The arithmetic device 30 may acquire information on the conditions of the inspection of the article G performed by the article inspection system 100. The information is, for example, information on the image used in the inspection of the article G, information on the X-ray inspection device 1, etc. The information on the image is, for example, information on the number of images used in the inspection, the size (amount of data), the size variation, etc. The information related to the X-ray inspection apparatus 1 is, for example, information related to the types of the X-ray irradiation unit 6 and the X-ray detection unit 7 included in the X-ray inspection apparatus 1.
[0047] Next, the arithmetic device 30 determines the type and / or configuration of an algorithm to be used as a learning model based on at least a part of the acquired information (step ST2). In step ST2, the type and / or configuration of the algorithm is determined based on at least the speed information and the position information. This determines the type and / or configuration of the algorithm according to the inspection time and processing time allowed for the article inspection system 100. The type and / or configuration of the algorithm may be determined based on at least one of the amount of image data and the number of images in addition to the speed information and the position information. Alternatively, the type and / or configuration of the algorithm may be determined based on the types of the X-ray irradiation unit 6 and the X-ray detection unit 7 in addition to the speed information and the position information. In these cases, the type and / or configuration of the algorithm applied may be determined based on the inspection time and the processing time. The determination of the type and / or configuration of the algorithm may be performed automatically by the arithmetic device 30 or may be performed manually via the X-ray inspection device 1 or the like.
[0048] Next, the arithmetic device 30 generates a learning model based on the determined type and / or configuration of the algorithm (step ST3). In step ST3, first, the X-ray inspection device 1 is operated to generate an image of an article that serves as learning data. Next, the generated image is processed by the determined algorithm to generate a learning model. The generated learning model is recorded in the recording unit 35.
[0049] Next, an example of a method for inspecting an article G using the learning model will be described with reference to Fig. 8. Fig. 8 is a flowchart for explaining a method for inspecting an article using the learning model.
[0050] 8, first, the X-ray inspection device 1 photographs an article G (step ST11). In step ST11, the article G carried into the shielding box 4 by the conveying unit 5 is photographed by the X-ray irradiation unit 6 and the X-ray detection unit 7. Next, based on a detection signal output from the X-ray detection unit 7, the control unit 10 generates an image of the article G. The image is transmitted to the calculation device 30 via the control unit 10.
[0051] Next, the arithmetic device 30 inspects the article G based on the image by using the learning model (step ST12). In step ST12, the image is processed by the learning model to inspect whether the article G shown in the image is a non-defective product.
[0052] Next, the calculation device 30 outputs the inspection result of the item G (step ST13). In step ST13, data indicating the inspection result is output from the calculation device 30 to the control unit 10. For example, the sorting device 20 is controlled based on the data indicating the inspection result. For example, when data indicating that the item G is a defective item is output to the control unit 10, the control unit 10 outputs a rejection signal that instructs the sorting device 20 to reject the item G from the production line. On the other hand, when data indicating that the item G is a non-defective item is output to the control unit 10, the control unit 10 does not output the rejection signal. This allows the item G that is determined to be a non-defective item to pass through the sorting device 20 as is.
[0053] According to the article inspection system 100 of the present embodiment described above, by using the learning model program, the calculation device 30 can function as an algorithm determination unit 32 that determines the type and / or configuration of an algorithm to be used as a learning model based on the acquired speed information and position information, and a learning model generation unit 33 that generates a learning model based on the determined type and / or configuration of the algorithm. This learning model is generated using the speed information and position information. Thus, the learning model is generated after the article inspection system 100 is implemented on a production line, etc. Therefore, the calculation device 30 can easily generate a learning model according to the inspection processing time allowed by the article inspection system 100. Therefore, according to the present embodiment, it is possible to provide an article inspection system 100 that can easily adjust the balance between inspection performance and processing time.
[0054] In this embodiment, the computing device 30 may determine the type and / or configuration of the algorithm based on at least one of the amount of image data and the number of images in addition to the speed information and position information. In this case, a learning model that is more suited to the allowable inspection processing time can be generated.
[0055] In this embodiment, the X-ray inspection device 1 has an X-ray irradiation unit 6 which is a light irradiation unit that irradiates light onto an article G, and an X-ray detection unit 7 which is a light detection unit that detects light transmitted through the article G, and the calculation device 30 may determine the type and / or configuration of an algorithm based on the type of the X-ray detection unit 7 in addition to the speed information and position information. In this case, a learning model that is more appropriately adapted to the inspection processing time allowed depending on the type of the X-ray detection unit 7 can be generated.
[0056] In this embodiment, the device that utilizes the inspection results and is located downstream of the X-ray inspection device 1 is the sorting device 20. Therefore, the articles G that should be discharged from the production line can be discharged with high accuracy.
[0057] 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.
[0058] In the above embodiment, the article inspection system includes an X-ray inspection device, but is not limited to this. In other words, the article inspection system may include a device that inspects an article using a method other than X-ray. For example, the article inspection system may include an article inspection device that uses ultraviolet light, infrared light, and / or visible light.
[0059] In the above embodiment, the learning model is generated by a calculation device different from the X-ray inspection device, but this is not limited to the above. For example, the X-ray inspection device itself may determine the type and / or configuration of the algorithm, or the X-ray inspection device itself may generate the learning model. In this case, the control unit may also include a functional configuration included in the calculation device. When the X-ray inspection device itself generates the learning model, the X-ray inspection device itself may inspect an article using the learning model.
[0060] In the above embodiment, the speed information and the position information may be inputted via the X-ray inspection device, but this is not limited thereto. The speed information and the position information may be inputted via a calculation device. Alternatively, the speed information and the position information may be inputted via a device different from the X-ray inspection device and the calculation device. In this case, for example, the above information may be inputted to the calculation device via a device capable of wired or wireless communication (e.g., a laptop PC, a tablet, etc.). [Explanation of symbols]
[0061] 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 (light irradiation section), 7...X-ray detection section (light detection section), 8...display operation section, 11...communication section, 12...image generation section, 13...recording section, 20...sorting device, 30...computing device, 31...communication section, 32...algorithm determination section, 33...learning model generation section, 34...inspection section, 35...recording section, 51...feed-in conveyor, 52...feed-out conveyor, 100...item inspection system, A...transport direction, G...item.
Claims
1. A conveying unit that conveys an article received from the outside; an image capturing unit that captures an image of the object on the transport unit and generates an image of the object; a control unit that inspects the object based on the image by using a learning model and outputs an inspection result; The control unit is acquiring speed information on a conveying speed of the article in the conveying unit and position information on a position of a device disposed downstream of the photographing unit by utilizing the inspection result; determining a type and / or configuration of an algorithm to be used as the learning model based on the speed information and the position information; generating the learning model based on the determined type and / or configuration of the algorithm; Article inspection system.
2. The object inspection system according to claim 1 , wherein the control unit determines the type and / or configuration of the algorithm based on at least one of the amount of data of the image and the number of the images in addition to the speed information and the position information.
3. The photographing unit has a light irradiating unit that irradiates light onto the object and a light detecting unit that detects light transmitted through the object, The object inspection system according to claim 1 or 2, wherein the control unit determines the type and / or configuration of the algorithm based on the type of the light detection unit in addition to the speed information and the position information.
4. The article inspection system according to claim 1 or 2, wherein the device is a sorting device.
5. A conveying unit that conveys an article received from the outside; an image capturing unit that captures an image of the object on the transport unit and generates an image of the object; a control unit that inspects the object based on the image by using a learning model and outputs an inspection result; Equipped with The control unit is acquiring speed information on a conveying speed of the article in the conveying unit and position information on a position of a device disposed downstream of the photographing unit by utilizing the inspection result; determining a type and / or configuration of an algorithm to be used as the learning model based on the speed information and the position information; generating the learning model based on the determined type and / or configuration of the algorithm; Article inspection equipment.
6. 1. A method for generating a learning model for an article inspection system, comprising: a conveying unit that conveys an article received from an outside; and an imaging unit that photographs the article on the conveying unit and generates an image of the article, the system inspecting the article based on the image using a learning model, and outputting an inspection result, determining a type and / or configuration of an algorithm to be used as the learning model based on speed information regarding a conveying speed of the article in the conveying unit and position information regarding a position of a device disposed downstream of the photographing unit while utilizing the inspection results; generating the learning model based on the determined type and / or configuration of the algorithm; How to generate a learning model.
7. a computer for an article inspection system including a conveying unit that conveys an article received from an outside, and an imaging unit that photographs the article on the conveying unit and generates an image of the article, the computer inspects the article based on the image using a learning model, and outputs an inspection result; an acquisition unit that acquires speed information related to a conveying speed of the object in the conveying unit and position information related to a position of a device disposed downstream of the photographing unit by utilizing the inspection result; an algorithm determination unit that determines a type and / or configuration of an algorithm to be used as the learning model based on the speed information and the position information; A learning model generation program that functions as a learning model generation unit that generates the learning model based on the determined type and / or configuration of the algorithm.
Citation Information
Patent Citations
X-ray inspection apparatus, and method for creating an image processing procedure of the x-ray inspection apparatus
WO2006001107A1
