Anomaly detection device and anomaly detection method

The anomaly detection device accurately detects shape abnormalities in complex parts by image extraction and division, using a learning model to enhance detection accuracy and reduce processing load.

JP7535484B2Active Publication Date: 2024-08-16DAIHATSU MOTOR CO LTD

Patent Information

Application Number
JP2021142617
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2021-09-01
Publication Date
2024-08-16
Estimated Expiration
2041-09-01

AI Technical Summary

Technical Problem

Conventional manufacturing line technologies struggle to accurately detect abnormalities in the shape of parts with complex geometries, such as automobile parts, using simple color determination processing.

Method used

An anomaly detection device that acquires images of parts, extracts specific regions, divides them into multiple images, and uses a learning model to determine abnormalities, superimposing reliability on the display for accurate detection.

Benefits of technology

Enables high-accuracy detection of shape abnormalities in parts with complex geometries, reducing processing load and improving detection accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007535484000001
    Figure 0007535484000001
  • Figure 0007535484000006
    Figure 0007535484000006
  • Figure 0007535484000007
    Figure 0007535484000007
Patent Text Reader

Abstract

To provide an anomaly detection device and anomaly detection method, which enable accurate detection of shape anomalies of target objects.SOLUTION: An anomaly detection device is provided, comprising an acquisition unit configured to acquire a captured image, captured by an image capturing device, of a predetermined object of a part being conveyed on a conveying path, a division unit configured to divide an image portion of the target object in the captured image acquired by the acquisition unit into multiple images, and a determination unit configured to perform anomaly determination processing on an input of the multiple images divided by the division unit using a predetermined learning model and obtain a determination result indicative of the presence or absence of anomalies as an output.SELECTED DRAWING: Figure 3
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to an anomaly detection device and an anomaly detection method. [Background technology]

[0002] In conventional automated conveyance manufacturing lines, imaging devices are installed at key points, and parts are visually inspected or image-based judgment is performed on the captured images based on a rule base. As a technology for image judgment on the captured images of the imaging devices in such manufacturing lines, an inspection system has been disclosed that includes an acquisition unit that acquires an image of the surface of an object, and a judgment unit that performs a color judgment process that is a process of judging the color of the surface of the object based on a plurality of reflection states in which the ratios of specular reflection components and diffuse reflection components are different on the surface of the object, which are obtained from the image of the surface of the object acquired by the acquisition unit (for example, see Patent Document 1). [Prior art documents] [Patent documents]

[0003] [Patent Document 1] International Publication No. 2019 / 112040 Summary of the Invention [Problem to be solved by the invention]

[0004] However, with conventional manufacturing line technology, there is an issue that it is difficult to detect shape abnormalities using image processing based on simple color judgment processing, etc., for parts such as automotive parts, which have many characteristic curved areas with unevenness or other irregularities.

[0005] The present invention has been made in consideration of the above-mentioned problems, and has an object to provide an anomaly detection device and an anomaly detection method that can accurately detect shape abnormalities in an object. [Means for solving the problem]

[0006] In order to solve the above-mentioned problems and achieve the object, the anomaly detection device according to the present invention includes an acquisition unit that acquires an image of a predetermined target object in a part transported on a transport path, the image being captured by an imaging device; an extraction unit that extracts an image portion of the object from the captured image acquired by the acquisition unit as an extracted image; and of Multiple Divide into a number of images Switch between "on" and "off" to execute A dividing section and a dividing section divided by the dividing section In the event Using the plurality of images as input, When the image is not divided by the dividing unit, the extracted image is input, a determination unit that obtains, as an output, a determination result indicating the presence or absence of an abnormality and a reliability indicating a degree of reliability of the determination result by an abnormality determination process using a predetermined learning model; and Showing abnormalities The judgment result and The judgment result and a display control unit that causes a display device to display the reliability in a superimposed manner. Effect of the Invention

[0007] According to the present invention, it is possible to detect shape abnormalities in an object with high accuracy. [Brief description of the drawings]

[0008] [Figure 1] FIG. 1 is a diagram illustrating an example of an overall configuration of an anomaly detection system according to an embodiment. [Diagram 2] FIG. 2 is a diagram illustrating an example of a hardware configuration of the anomaly detection device according to the embodiment. [Diagram 3] FIG. 3 is a diagram illustrating an example of a functional block configuration of the anomaly detection device according to the embodiment. [Figure 4] FIG. 4 is a diagram showing an example of a captured image of the roof member and an extracted image including the flange portion. [Diagram 5] FIG. 5 is a diagram showing an example of a normal image of the flange portion. [Figure 6] FIG. 6 is a diagram showing an example of an image of an abnormality in a flange portion. [Figure 7] FIG. 7 is a diagram for explaining a state in which the extracted image of the flange portion is divided. [Figure 8]FIG. 8 is a diagram showing an example of a state in which the determination result regarding the shape of the flange portion is superimposed on the captured image. [Figure 9] FIG. 9 is a flowchart illustrating an example of the flow of an anomaly detection process in the anomaly detection system according to the embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0009] Hereinafter, an embodiment of an anomaly detection device and an anomaly detection method according to the present invention will be described in detail with reference to Figs. 1 to 9. The present invention is not limited to the following embodiments, and the components in the following embodiments include those that a person skilled in the art can easily conceive, those that are substantially the same, and those that are within the scope of what is called equivalent. Furthermore, various omissions, substitutions, modifications, and combinations of the components can be made without departing from the spirit of the following embodiments.

[0010] (Overall configuration of anomaly detection system) 1 is a diagram showing an example of the overall configuration of an anomaly detection system according to an embodiment. The overall configuration of an anomaly detection system 1 according to the present embodiment will be described with reference to FIG.

[0011] 1 is a system for detecting abnormalities in the shape of a predetermined object in a part shown in an image captured by an imaging device on a conveyor line 3 (conveyor path). As shown in FIG. 1, the abnormality detection system 1 includes a PLC (Programmable Logic Controller) 11, an imaging device 12, an abnormality detection device 10, a display device 13, and a server device 20.

[0012] The PLC 11 is an industrial control device that controls the installation, assembly, and transport operations of the parts 30 such as car bodies on the transport line 3. When the parts 30 are transported to a predetermined position on the transport line 3 suitable for imaging by the imaging device 12, the PLC 11 transmits a transport signal indicating that the parts 30 have been transported to the predetermined position to the anomaly detection device 10. The transport signal from the PLC 11 may be transmitted to the anomaly detection device 10 directly or via a relay component or the like. For example, the PLC 11 transmits a transport signal to the anomaly detection device 10 when the parts 30 are placed at a predetermined position suitable for imaging by the imaging device 12 under the control of a multi-joint robot or the like, or when the transport of the parts 30 to the predetermined position is detected by a limiter switch, a proximity sensor, a photoelectric sensor, or the like. The anomaly detection device 10 may receive a transport signal indicating that the parts 30 have been transported to the predetermined position from a limiter switch, a proximity sensor, a photoelectric sensor, or the like installed on the transport line 3.

[0013] The imaging device 12 is an imaging device that captures an image of an area including a flange portion of a roof member, which is a predetermined object in the part 30. The imaging device 12 transmits the captured image to the anomaly detection device 10. In this embodiment, the part 30 is described as a car body of an automobile, and the predetermined object is described as a flange portion of a roof member of the car body. Note that the part 30 and the predetermined object are not limited to these.

[0014] The images captured by the imaging device 12 may be still image data or moving image data.

[0015] The anomaly detection device 10 is a device for detecting an abnormality in the shape of a flange portion of a roof member of a part 30 included in an image captured by an imaging device 12. The anomaly detection device 10 is realized by, for example, a single-board computer. Note that the anomaly detection device 10 is not limited to being a single-board computer, and may be an information processing device such as a normal PC (Personal Computer) or a workstation. The anomaly detection device 10 includes an image processing program 101, a pre-processing program 102, and an anomaly determination program 103.

[0016] The image processing program 101 is a program that performs image processing such as extracting an image of a flange portion of a roof member from an image captured by the imaging device 12. The extraction method in the image processing program 101 may be a method based on any of a cutout process of a predetermined area of ​​the captured image, an extraction process based on a predetermined algorithm such as template matching, or an existing extraction process using YOLO (You Only Look Once) or the like that uses a predetermined learning model generated by supervised learning or the like.

[0017] The pre-processing program 102 is a program for executing a predetermined pre-processing for anomaly determination by a subsequent anomaly determination program 103 on an extracted image extracted by the image processing program 101. Specifically, as the predetermined pre-processing, the pre-processing program 102 divides the extracted image into multiple images in order to reduce the load of anomaly determination processing by the anomaly determination program 103.

[0018] The abnormality determination program 103 is a program for executing an abnormality determination process for each divided image divided by the pre-processing program 102, using a predetermined learning model 104. Specifically, the abnormality determination program 103 receives each divided image as an input, and obtains an output of a determination result of normality or abnormality through a discrimination process by the learning model 104. The learning model 104 is a learning model generated by, for example, a Convolutional Neural Network (CNN), which is an example of supervised learning in machine learning, using teacher data that combines normality or abnormality information as a label with an image of the flange part of the roof member. In addition, in the case of CNN, the divided images divided from the extracted image by the pre-processing program 102 need to be divided into images (square images) with the same number of pixels vertically and horizontally. However, it is not necessarily necessary to directly divide the extracted image into square images, and the image size may be changed so that the divided image becomes a square within a range where the accuracy of the abnormality determination by the learning model 104 can be ensured. The learning algorithm for generating the learning model 104 is not limited to CNN, and may be generated by other learning algorithms. In addition, in this embodiment, it is described that as a result of the abnormality judgment process using the learning model 104, a judgment result as to whether the shape of the flange portion is normal or abnormal, and a reliability indicating the degree of reliability of the judgment result are obtained from an image of the flange portion.

[0019] The display device 13 is a display device such as an LCD (Liquid Crystal Display) or an OELD (Organic Electro-Luminescent Display) that displays the determination results and the like by the abnormality determination program 103.

[0020] The server device 20 is a server device that accumulates the determination results by the abnormality determination program 103 and the like.

[0021] (Hardware configuration of anomaly detection device) 2 is a diagram illustrating an example of a hardware configuration of an anomaly detection device according to an embodiment of the present invention. The hardware configuration of an anomaly detection device 10 according to the present embodiment will be described with reference to FIG.

[0022] 2, the abnormality detection device 10 includes a CPU (Central Processing Unit) 201, a RAM (Random Access Memory) 202, a ROM (Read Only Memory) 203, an auxiliary storage device 204, a network I / F 205, an input / output I / F 206, a display output I / F 207, and an imaging I / F 208. These components are connected to each other via a bus line 210 so as to enable data communication therebetween.

[0023] The CPU 201 is a calculation device that controls the overall operation of the anomaly detection device 10. The RAM 202 is a volatile storage device used as a work area for the CPU 201. The ROM 203 is a non-volatile storage device that stores a program that the CPU 201 executes initially, such as an IPL (Initial Program Loader). The CPU 201, the RAM 202, and the ROM 203 may be configured as a SoC (System on a Chip) mounted on a single board, for example.

[0024] The auxiliary storage device 204 is an auxiliary storage device such as an HDD (Hard Disk Drive), SSD (Solid State Drive), eMMC (embedded Multi Media Card) or microSD card that stores the above-mentioned image processing program 101, preprocessing program 102, anomaly judgment program 103 and learning model 104, as well as various data used in these programs.

[0025] The network I / F 205 is an interface for connecting to a network or the like and communicating data. In the example shown in Fig. 2, the network I / F 205 is connected to the server device 20, and transmits the above-mentioned determination results in the anomaly detection device 10 to the server device 20. The network I / F 205 is, for example, an interface conforming to the Ethernet (registered trademark) standard that enables communication using a TCP (Transmission Control Protocol) / IP (Internet Protocol) protocol. The network I / F 205 is not limited to wired communication, and may be an interface for wireless communication based on Wi-Fi (registered trademark) or the like.

[0026] The input / output I / F 206 is an interface such as a general purpose input / output (GPIO) for communicating with the PLC 11. The input / output I / F 206 receives, for example, the above-mentioned carrier signal from the PLC 11 and transmits a signal indicating the result of the determination made by the abnormality determination program 103 (a signal indicating normality or abnormality) to the PLC 11.

[0027] The display output I / F 207 is an interface such as a High-Definition Multimedia Interface (HDMI) (registered trademark) for transmitting display data such as a determination result by the abnormality determination program 103 to the display device 13.

[0028] The imaging I / F 208 is an interface such as a Universal Serial Bus (USB) for receiving captured images from the imaging device 12.

[0029] 1 is merely an example of the hardware configuration of the anomaly detection device 10, and is not limited to this configuration. For example, the anomaly detection device 10 may include a GPU (Graphics Processing Unit) specialized for graphic processing.

[0030] (Functional block configuration of anomaly detection device) FIG. 3 is a diagram showing an example of a functional block configuration of the anomaly detection device according to the embodiment. FIG. 4 is a diagram showing an example of a captured image of the roof member and an extracted image including the flange portion. FIG. 5 is a diagram showing an example of a normal image of the flange portion. FIG. 6 is a diagram showing an example of an abnormal image of the flange portion. FIG. 7 is a diagram explaining a state in which the extracted image of the flange portion is divided. FIG. 8 is a diagram showing an example of a state in which a determination result regarding the shape of the flange portion of the captured image is superimposed and displayed. The functional block configuration and operation of the anomaly detection device 10 according to the present embodiment will be described with reference to FIGS. 3 to 8.

[0031] As shown in FIG. 3, the anomaly detection device 10 has an acquisition unit 301, a process communication unit 302, an extraction unit 303, a pre-processing unit 304 (division unit), an anomaly judgment unit 305 (judgment unit), a display control unit 306, a generation unit 307, and a memory unit 308.

[0032] The acquisition unit 301 is a functional unit that acquires an image including a flange portion of a roof member of a part 30, which is a vehicle body, captured by the imaging device 12 via the imaging I / F 208. Here, FIG. 4(a) shows an image IMG1 including a flange portion 31a of a roof member 31 of the part 30 captured by the imaging device 12 as an example of an image. In addition, when the acquisition unit 301 receives a notification of receipt of the above-mentioned conveyance signal for the part 30 from the process communication unit 302 described later, the acquisition unit 301 starts acquiring the image captured by the imaging device 12. Note that the imaging operation by the imaging device 12 and the acquisition operation of the image by the acquisition unit 301 may be started at the timing when the conveyance signal is received by the process communication unit 302. The acquisition unit 301 outputs the acquired image to the extraction unit 303. The acquisition unit 301 is realized, for example, by the CPU 201 shown in FIG. 2 executing the image processing program 101.

[0033] The process communication unit 302 is a functional unit that performs communication via the input / output I / F 206. For example, the process communication unit 302 receives a conveyance signal from the PLC 11 at the timing when the part 30 is conveyed to a predetermined position on the conveyance line 3 suitable for imaging by the imaging device 12, and outputs a notification that the conveyance signal has been received to the acquisition unit 301. The process communication unit 302 also transmits a signal indicating the determination result by the abnormality determination unit 305 (a signal indicating normality or abnormality) to the PLC 11. The process communication unit 302 is realized, for example, by the CPU 201 shown in FIG. 2 executing a predetermined program.

[0034] The extraction unit 303 is a functional unit that extracts an image portion of a predetermined object from the captured image acquired by the acquisition unit 301. Specifically, the extraction unit 303 extracts an image of a flange portion of a roof member of the part 30 from the captured image acquired by the acquisition unit 301. For example, FIG. 4B shows an example in which the extraction unit 303 extracts an extracted image EIMG1 as an image including a flange portion 31a of the roof member 31 of the part 30 from a captured image IMG1 shown in FIG. 4A, which is a captured image received from the acquisition unit 301. The extracted image EIMG1 shown in FIG. 5 shows an example of an extracted image including a flange portion 31a having a normal shape, extracted from the captured image by the extraction unit 303. On the other hand, the extracted image EIMG2 shown in FIG. 6 shows an example of an extracted image including a flange portion 31a having an abnormal shape, extracted from the captured image by the extraction unit 303. FIG. 6 shows an example in which a flange portion 31a shown in an extracted image EIMG2 includes three abnormal portions 31b as abnormal shape portions.

[0035] The extraction method by the extraction unit 303 may be a method based on any of a cutout process of a predetermined area of ​​the captured image, an extraction process based on a predetermined algorithm using template matching or the like, or an existing extraction process using YOLO or the like that uses a predetermined learning model generated by supervised learning or the like. The extraction unit 303 outputs the extracted image of the flange portion 31a to the pre-processing unit 304. The extraction unit 303 is realized, for example, by the CPU 201 shown in FIG. 2 executing the image processing program 101.

[0036] The pre-processing unit 304 is a functional unit that executes a predetermined pre-processing for the extraction image of the flange portion 31a extracted by the extraction unit 303, for the abnormality determination processing by the abnormality determination unit 305 at the subsequent stage. Specifically, as the predetermined pre-processing, the pre-processing unit 304 divides the extraction image into a plurality of images in order to reduce the load of the abnormality determination processing by the abnormality determination unit 305. In the example shown in FIG. 7, for example, the pre-processing unit 304 divides the extraction image EIMG1 extracted by the extraction unit 303 into five divided images SIMG. Note that, when the learning model 104 used by the abnormality determination unit 305 is based on CNN, as described above, the divided images divided from the extraction image need to be divided into images (square images) having the same number of pixels vertically and horizontally. However, it is not necessarily necessary to directly divide the extraction image into square images, and the image size may be changed so that the divided image becomes a square within a range where the accuracy of the abnormality determination by the learning model 104 can be ensured. The pre-processing unit 304 outputs the divided divided images to the abnormality determination unit 305.

[0037] When the extracted image extracted by the extraction unit 303 is a high-resolution image with a large data size, a large load is placed on the abnormality determination process by the abnormality determination unit 305. However, as described above, the load of the abnormality determination process can be reduced by dividing the extracted image into a plurality of divided images by the pre-processing unit 304. In order to reduce the load of the abnormality determination process by the abnormality determination unit 305, it is possible to reduce the data size by shrinking the extracted image, but this is not preferable because it reduces the resolution of the shape of the flange portion 31a included in the extracted image and reduces the accuracy of the abnormality determination process. In the example of FIG. 7, the flange portion 31a is horizontally long as the predetermined object, so it is divided horizontally, but this is not limited to this, and it may be divided vertically, or horizontally and vertically, depending on the shape and size of the predetermined object included in the extracted image. In addition, it is not necessary to divide the extracted image by the pre-processing unit 304, and the abnormality determination process may be directly performed on the extracted image by the abnormality determination unit 305 depending on the data size and shape of the extracted image. In this case, whether or not the pre-processing unit 304 divides the extracted image may be switched by a setting, or may be switched automatically depending on the data size or shape of the extracted image.

[0038] The pre-processing unit 304 is realized, for example, by the CPU 201 shown in FIG.

[0039] The abnormality determination unit 305 is a functional unit that executes an abnormality determination process for each divided image divided by the preprocessing unit 304, using the learning model 104 stored in the storage unit 308. Specifically, the abnormality determination unit 305 receives each divided image as an input, and outputs a determination result of normality or abnormality (a determination result indicating the presence or absence of an abnormality) through discrimination processing by the learning model 104. In this case, since the abnormality determination unit 305 executes an abnormality determination process for each divided image, it is possible to distinguish and output which divided image has an abnormality. In addition, the abnormality determination unit 305 outputs, for each divided image, a determination result of whether the shape of the flange portion 31a is normal or abnormal, and a reliability indicating the degree of reliability of the determination result. The abnormality determination unit 305 outputs the determination result and the reliability for each divided image to the display control unit 306 and the server device 20, and outputs the determination result for each divided image to the process communication unit 302. Then, the process communication unit 302 transmits the judgment result for each divided image to the PLC 11, and when the judgment result for any divided image indicates an abnormality, the PLC 11 executes a predetermined process (such as stopping the line) for the conveying line 3. The abnormality judgment unit 305 is realized, for example, by the CPU 201 shown in FIG. 2 executing the abnormality judgment program 103.

[0040] The abnormality determination process by the abnormality determination unit 305 utilizes a discrimination process using the learning model 104, but is not limited to this, and the abnormality determination process may be executed based on a predetermined algorithm that does not use a learning model, such as template matching. Even in this case, the load of the abnormality determination process can be reduced by dividing the extracted image into a plurality of divided images by the pre-processing unit 304.

[0041] The display control unit 306 is a functional unit that displays the determination result received from the abnormality determination unit 305 on the display device 13. For example, the display control unit 306 displays the determination result by superimposing it on the captured image acquired by the acquisition unit 301. In addition to the determination result, the reliability of the determination result may be superimposed on the captured image. In the example shown in FIG. 8, the display control unit 306 displays "anomaly" as a determination result indicating an abnormality, and superimposed display units SPNa and SPNb including the reliability of the abnormality determination process, on the abnormal part in the flange part 31a determined by the abnormality determination process by the abnormality determination unit 305, in the captured image IMG2 acquired by the acquisition unit 301. In addition, the display control unit 306 may display the display color or other aspects of the superimposed display units in different ways depending on the numerical value of the reliability, for example.

[0042] In this way, by displaying the judgment result on the display device 13, the worker on the conveying line 3 can visually recognize the judgment result. Moreover, by displaying the judgment result superimposed on the abnormal part of the flange portion 31a in the captured image, the worker can easily confirm the abnormal part of the shape of the flange portion 31a determined by the learning model 104. Moreover, by displaying the reliability of the discrimination process using the learning model 104 superimposed on the abnormal part of the flange portion 31a in the captured image, the reliability of the abnormality judgment process based on the learning model 104 can be confirmed.

[0043] The display control unit 306 is realized, for example, by the CPU 201 shown in FIG. 2 executing a program such as the abnormality determination program 103.

[0044] The generating unit 307 is a functional unit that generates the learning model 104 in advance by, for example, CNN, which is an example of supervised learning in machine learning, using teacher data that combines images of the flange portion of the roof component with normal or abnormal information as a label. The generating unit 307 stores the generated learning model 104 in the storage unit 308. The generating unit 307 is realized, for example, by the CPU 201 shown in FIG. 2 executing a learning program that realizes the above-mentioned supervised learning.

[0045] The storage unit 308 is a functional unit that stores the image processing program 101, the pre-processing program 102, the abnormality determination program 103, and the learning model 104, as well as various data used in these programs. As shown in Fig. 1 above, the image processing program 101, the pre-processing program 102, and the abnormality determination program 103 using the learning model 104 are separate programs, but this is not limited to this, and may be configured as one program, for example. The storage unit 308 is realized by the auxiliary storage device 204 shown in Fig. 2.

[0046] Note that the functional units of the anomaly detection device 10 shown in Fig. 3 are conceptually shown, and are not limited to such a configuration. For example, the multiple functional units shown as independent functional units in Fig. 3 may be configured as one functional unit. On the other hand, the function of one functional unit in Fig. 3 may be divided into multiple functional units and configured as multiple functional units.

[0047] (Flow of anomaly detection process in the anomaly detection system) 9 is a flowchart showing an example of the flow of an anomaly detection process of the anomaly detection system 1 according to the embodiment. The flow of an anomaly detection process of the anomaly detection system 1 according to the embodiment will be described with reference to FIG.

[0048] <Step S11> First, when the component 30 is conveyed to a predetermined position on the conveying line 3 suitable for imaging by the imaging device 12, and a conveying signal indicating that the component 30 has been conveyed to the predetermined position is received from the PLC 11 by the process communication unit 302 (step S11: Yes), the anomaly detection device 10 returns from the standby mode to the normal operation mode, and the process communication unit 302 outputs to the acquisition unit 301 a notification that the conveying signal has been received, and the process proceeds to step S12. If the component 30 has not been conveyed to the predetermined position (step S11: No), the process waits until the component 30 is conveyed to the predetermined position. Here, the standby mode is, for example, an operation mode in a power saving state.

[0049] <Step S12> When the acquisition unit 301 receives a notification that the conveying signal has been received from the process communication unit 302, the acquisition unit 301 starts acquiring the captured image captured by the imaging device 12, and outputs the acquired captured image to the extraction unit 303. Then, the process proceeds to step S13.

[0050] <Step S13> The extraction unit 303 extracts an image portion of the flange portion 31a of the roof member 31 of the part 30, which is a predetermined object, from the captured image acquired by the acquisition unit 301. The extraction unit 303 outputs the extracted image of the flange portion 31a to the pre-processing unit 304. Then, the process proceeds to step S14.

[0051] <Step S14> The pre-processing unit 304 divides the extracted image of the flange portion 31a extracted by the extraction unit 303 into a plurality of images as pre-processing for the abnormality determination process by the subsequent abnormality determination unit 305. The pre-processing unit 304 outputs the divided images to the abnormality determination unit 305. Then, the process proceeds to step S15.

[0052] <Step S15> The abnormality determination unit 305 executes an abnormality determination process for each divided image divided by the preprocessing unit 304, using the learning model 104 stored in the storage unit 308. Specifically, the abnormality determination unit 305 receives each divided image as an input, and outputs a determination result of whether the image is normal or abnormal through a discrimination process using the learning model 104. The abnormality determination unit 305 also outputs, for each divided image, a determination result of whether the shape of the flange portion 31a is normal or abnormal, and a reliability indicating the degree of reliability of the determination result. The abnormality determination unit 305 outputs the determination result and the reliability for each divided image to the display control unit 306 and the server device 20, and outputs the determination result for each divided image to the process communication unit 302. Then, the process proceeds to step S16.

[0053] <Step S16> The display control unit 306 superimposes and displays the determination result on the captured image acquired by the acquisition unit 301. Then, the process proceeds to step S17.

[0054] <Step S17> The process communication unit 302 transmits the judgment result for each divided image to the PLC 11. If the judgment result for any divided image indicates an abnormality, the PLC 11 executes a predetermined process (such as stopping the line) for the conveying line 3. Then, the abnormality detection device 10 transitions to a standby mode. Then, the abnormality detection process ends.

[0055] As described above, in the anomaly detection device 10 according to the present embodiment, the acquisition unit 301 acquires an image of the flange portion 31a of the roof member 31 in the part 30 transported on the transport line 3, which is captured by the imaging device 12, the pre-processing unit 304 divides the image portion of the flange portion 31a in the captured image acquired by the acquisition unit 301 into multiple images, and the anomaly determination unit 305 receives the multiple divided images divided by the pre-processing unit 304 as input, and performs an anomaly determination process using the learning model 104 to obtain a determination result indicating the presence or absence of an anomaly as an output. This makes it possible to accurately detect an anomaly in the shape of the flange portion 31a as a predetermined object. In addition, since the image portion of the flange portion 31a in the captured image is divided into multiple divided images, the load of the anomaly determination process by the anomaly determination unit 305 can be reduced.

[0056] Furthermore, in the anomaly detection device 10, the extraction unit 303 extracts an image portion of the flange portion 31a from the captured image acquired by the acquisition unit 301 as an extracted image, and the pre-processing unit 304 divides the extracted image extracted by the extraction unit 303 into a plurality of images. As a result, the image portion including the flange portion 31a as the predetermined object is extracted before the anomaly determination process is performed, thereby improving the accuracy of anomaly detection for the flange portion 31a.

[0057] Furthermore, in the anomaly detection device 10, the process communication unit 302 receives a transport signal indicating that the part 30 has been transported to a predetermined position on the transport line 3, and the acquisition unit 301 starts acquiring the captured image captured by the imaging device 12 when the transport signal is received by the process communication unit 302. As a result, the captured image acquisition process starts from the point in time when the transport signal is received, and a series of processes up to the anomaly determination process are executed, so that the processing load of the anomaly detection device 10 can be reduced.

[0058] Furthermore, in the anomaly detection device 10, when a conveyance signal is received by the process communication unit 302, the device is returned from the standby mode, and when the anomaly determination process by the anomaly determination unit 305 is completed, the device is switched to the standby mode. This makes it possible to employ a single board computer or the like as the anomaly detection device 10, thereby reducing the processing load. [Explanation of symbols]

[0059] 1. Anomaly detection system 3. Conveyor Line 10. Anomaly detection device 11 PLC 12 Imaging device 13 Display device 20 Server device 30 parts 31 Roof components 31a Flange part 31b Abnormal part 101 Image Processing Program 102 Pre-processing program 103 Abnormality Judgment Program 104 Learning Model 301 Acquisition Department 302 Process Communication Department 303 Extraction part 304 Pretreatment section 305 Abnormality determination section 306 Display control section 307 Generation part 308 Storage section

Claims

1. an acquisition unit that acquires an image of a predetermined object among the parts transported on the transport path, the image being captured by an imaging device; an extraction unit that extracts an image portion of the object from the captured image acquired by the acquisition unit as an extracted image; a division unit that switches between dividing the extracted image into a plurality of images and executing the division depending on a setting or a data size or shape of the extracted image; a determination unit that receives the plurality of images as an input when the images have been divided by the division unit, and receives the extracted image as an input when the images have not been divided by the division unit, and performs an anomaly determination process using a predetermined learning model to obtain, as an output, a determination result indicating the presence or absence of an anomaly and a reliability indicating the degree of reliability of the determination result; a display control unit that causes a display device to display the determination result indicating an abnormality and the reliability of the determination result in a superimposed manner on the captured image acquired by the acquisition unit; and An anomaly detection device equipped with the above.

2. a receiving unit for receiving a signal indicating that the part has been conveyed to a predetermined position on the conveying path; The anomaly detection device according to claim 1 , wherein the acquisition unit starts acquiring the image captured by the imaging device when the signal is received by the receiving unit.

3. The anomaly detection device according to claim 2 , wherein the device is caused to return from a standby mode when the signal is received by the receiving unit, and is caused to transition to the standby mode when the anomaly determination process by the determining unit is completed.

4. The anomaly detection device according to any one of claims 1 to 3, further comprising a generation unit that generates the learning model through supervised learning using teacher data that combines an image of a predetermined object in the part and a label indicating whether it is normal or abnormal.

5. An acquisition step of acquiring an image of a predetermined object in the part transported on the transport path, the image being captured by an imaging device; an extraction step of extracting an image portion of the object from the acquired captured image as an extracted image; a dividing step of switching between dividing the extracted image into a plurality of images and executing the dividing step according to a setting or according to a data size or shape of the extracted image; a determination step of inputting the plurality of images when the images are divided, or inputting the extracted image when the images are not divided, and performing an anomaly determination process using a predetermined learning model to obtain, as an output, a determination result indicating the presence or absence of an anomaly and a reliability indicating the degree of reliability of the determination result; a display control step of displaying, on a display device, the determination result indicating an abnormality and the reliability of the determination result in a superimposed manner on the acquired captured image; The anomaly detection method includes the steps of:

Citation Information

Patent Citations

  • Determination device, control program and determination method

    JP2016133953A

  • Inspection device, inspection method and program

    JP2017211259A

  • Dictionary generation device, evaluation device, dictionary generation method, evaluation method, and program

    JP2018116364A

  • Water discharge-type fire extinguishing equipment

    JP2019092972A

  • Labeled image data creation method, inspection method, program, labeled image data creation device, and inspection device

    JP2020013507A

Cited By

  • Inspection device and inspection method

    JP2026110028A