Defect inspection device, defect inspection method, teacher data generation method, and determination model generation method

The method enhances defect inspection by using auxiliary lines and a machine learning model to improve positional deviation detection in friction plates, addressing errors from preset value reliance and noise in traditional image processing.

JP2024115246AActive Publication Date: 2024-08-26FCC KK
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
JP2023020853
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-02-14
Publication Date
2024-08-26
Estimated Expiration
2043-02-14

AI Technical Summary

Technical Problem

Existing defect inspection methods for friction plates in vehicles are prone to erroneous determinations of positional deviation due to the need for setting specific values and the influence of noise in image processing, which can lead to misjudgments.

Method used

Perform image processing to draw auxiliary lines on the inspection image and use a machine learning-based determination model trained with teacher data to detect positional deviations in frame members, eliminating the need for preset values and reducing noise impact.

Benefits of technology

Improves the detection performance of positional deviations by using a machine learning model with auxiliary lines, reducing the likelihood of misjudgments and enhancing accuracy even with noisy images.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024115246000001
    Figure 2024115246000001
Patent Text Reader

Abstract

To enable enhancing performance to detect positional misalignment of frame members.SOLUTION: A device comprises: an inspection image generation unit 12 for performing image processing on a captured image of an annular disk and generating an inspection image with auxiliary lines by drawing the auxiliary lines in a vicinity of positions at which a plurality of frame members are present; and a defect determination unit 13 for applying a trained determination model to the generated inspection image with auxiliary lines and detecting positional misalignment of the frame members. The device eliminates the need to perform setting of standard values for comparison with various calculated values calculated with regard to the frame members by image processing, and makes it possible even in cases where the captured image includes noise to reduce a possibility of an occurrence of erroneous determination in which noise has a negative impact on comparison between the calculated values and the standard values. In addition, the device facilitates learning and determining the positional misalignment occurring in the frame members using the auxiliary lines as a reference.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a defect inspection device, a defect inspection method, a teacher data generation method, and a judgment model generation method, and in particular to a technology for detecting defects related to positional misalignment of multiple piece members arranged at predetermined intervals circumferentially along the surface of an annular disk. [Background technology]

[0002] Conventionally, there is known a device for inspecting the quality of friction plates used in clutch devices, brake devices, and the like of vehicles (see, for example, Patent Document 1). A plurality of piece members are attached to the surface of the annular friction plate at a predetermined interval in the circumferential direction, and the performance of the friction plate depends on the attachment state of the plurality of piece members. The inspection device described in Patent Document 1 inspects the quality of the friction plate by checking the positional deviation of the piece members, etc., based on image data obtained by photographing the friction plate.

[0003] In the inspection device described in Patent Document 1, image processing is performed on the image data, and the radius r from the center coordinate of the friction plate is calculated. 1 ,r 2 The two circular regions are generated, and the difference region between the two circular regions is extracted to generate the annular circular region where the piece is attached. An image corresponding to this annular circular region is extracted from the image data to narrow down the analysis range, and the positional deviation of the piece is judged by performing a predetermined image processing on the narrowed-down image. [Prior art documents] [Patent documents]

[0004] The inspection device described in Patent Document 1 can reduce the possibility of overlooking misalignment of the piece members, compared to when the quality of the friction plates is judged by an operator's visual inspection. However, since the area of ​​the piece members, the average gray value, the area protruding from the annular circular area, the arc distance between the piece members, etc. are calculated by performing image processing on the image data, and the misalignment of the piece members is judged by comparing these calculated values ​​with the respective specified values, it is necessary to set each specified value in advance.

[0005] Therefore, unless the specified value is set appropriately according to the friction plate to be inspected, there is a possibility that the misalignment may be erroneously determined. In addition, there is a possibility that noise may be included in the image data of the friction plate generated by the image processing, and the noise may adversely affect the comparison between the calculated value and the specified value, resulting in a misjudgment.

[0006] [Patent Document 1] JP 2002-318196 A Summary of the Invention [Problem to be solved by the invention]

[0007] The present invention has been made to solve such problems, and has an object to improve the performance of detecting the positional deviation of the piece member. [Means for solving the problem]

[0008] In order to solve the above-mentioned problems, in the present invention, an inspection image with auxiliary lines is generated by performing image processing on an image obtained by photographing a plurality of piece members and drawing auxiliary lines at predetermined positions near the positions where the plurality of piece members are present. The generated inspection image with auxiliary lines is then applied to a judgment model that has been trained using training data to detect defects related to misalignment in any of the plurality of piece members. Here, the judgment model is generated by machine learning processing using training data that includes a training image with auxiliary lines similar to the inspection image with auxiliary lines, and outputs defect information related to misalignment when the inspection image with auxiliary lines is input. Effect of the Invention

[0009] According to the present invention configured as described above, the positional deviation of the piece is determined using a judgment model generated by machine learning using teacher data, rather than determining the positional deviation based on various values ​​calculated for the piece by image processing of the captured image. Therefore, it is not necessary to set a specified value for comparison with the calculated value, and even if the captured image contains noise, the noise can reduce the possibility of a misjudgment due to a negative effect of the noise on the comparison between the calculated value and the specified value. In addition, the positional deviation is determined based on the inspection image with the auxiliary lines using a judgment model generated by machine learning using the teacher image with the auxiliary lines as teacher data, so that it is easy to learn and judge the positional deviation occurring in the piece with the auxiliary lines as a reference. As described above, according to the present invention, the detection performance of the positional deviation of the piece can be improved. [Brief description of the drawings]

[0010] [Figure 1] 1 is a block diagram showing an example of a functional configuration of a defect inspection apparatus according to an embodiment of the present invention; [Diagram 2] 1A and 1B are diagrams showing an example of a captured image of an annular disk and examples of various types of annular disks. [Diagram 3] 5A to 5C are diagrams for explaining the processing content of the inspection image generating unit according to the present embodiment. [Figure 4]1 is a block diagram showing an example of a functional configuration of a teacher data generating device according to an embodiment of the present invention; [Diagram 5] 1A to 1C are diagrams illustrating types of positional deviation. [Figure 6] 11A and 11B are diagrams illustrating an example of generating a plurality of defective product images having different amounts of positional deviation. [Figure 7] 1 is a block diagram showing an example of a functional configuration of a determination model generating device according to an embodiment of the present invention; [Figure 8] 4 is a flowchart showing an example of the operation of the teacher data generating device according to the present embodiment. [Figure 9] 4 is a flowchart showing an example of the operation of the determination model generating device according to the present embodiment. [Figure 10] 5 is a flowchart showing an example of the operation of the defect inspection apparatus according to the present embodiment. [Figure 11] 13A and 13B are diagrams showing the results of inspecting a number of annular disks for defects using a judgment model configured to detect the presence or absence of misalignment. [Figure 12] 13A-13C show the results of inspecting a number of annular disks for defects using a decision model configured to detect the degree of misalignment. [Figure 13] FIG. 13 is a diagram showing the results of detecting a circumferential deviation based on three determination models having different detection performances. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0011] An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing an example of the functional configuration of a defect inspection device 10 according to this embodiment. As shown in FIG. 1, the defect inspection device 10 of this embodiment is configured to include, as its functional configuration, an image acquisition unit 11, an inspection image generation unit 12, and a defect judgment unit 13. As specific functional configurations, the inspection image generation unit 12 includes a frame region extraction unit 12A and an auxiliary line drawing unit 12B. In addition, the defect inspection device 10 of this embodiment includes a judgment model storage unit 14 as a storage medium.

[0012] The functional blocks 11 to 13 can be configured by any of hardware, DSP (Digital Signal Processor), and software. For example, when configured by software, the functional blocks 11 to 13 are actually configured with a computer's CPU, RAM, ROM, etc., and are realized by the operation of a program stored in a storage medium such as the RAM, ROM, hard disk, or semiconductor memory. Instead of or in addition to the CPU, a GPU (Graphics Processing Unit), FPGA (Field Programmable Gate Array), ASIC (Application Specific Integrated Circuit), etc. may be used.

[0013] The image acquisition unit 11 acquires an image obtained by photographing the surface of the annular disk, which is the object to be inspected. The photographed image of the annular disk is an image of the annular disk photographed by a camera from a predetermined position under predetermined photographing conditions. For example, the annular disk is moved to a predetermined photographing position by a conveying mechanism such as a belt conveyor, and the annular disk is photographed by a camera installed at the photographing position. The image acquisition unit 11 acquires the image of the annular disk photographed by the camera.

[0014] The annular disc is, for example, a clutch disc or a brake disc used in a clutch device or a brake device of a vehicle. Fig. 2 shows an example of a photographed image of an annular disc and examples of various types of annular discs. The photographed image 200 shown in Fig. 2(a) shows an annular disc 100 photographed from the front (the surface on which the multiple piece members 101 are arranged), and includes a product area 201 in which the annular disc 100 is photographed, and a background area 202 other than the annular disc 100.

[0015] 2(a), the annular disc 100 has a plurality of piece members 101 arranged at predetermined intervals in the circumferential direction along its surface. The piece members 101 are friction materials made of, for example, paper material, and are fixed to the surface of the annular disc 100. For example, a clutch device is configured such that power is transmitted between the engine side and the wheel side by the clutch disc and the clutch plate being pressed against each other via the friction material, and the transmission of power can be interrupted by releasing the pressing force.

[0016] The configuration of the annular disk 100 shown in Fig. 2(a) is an example and is not limited thereto. For example, as shown in Figs. 2(b) to (e), the shape, number, size, etc. of the piece members 101 vary depending on the type of product, and any of these types of annular disks 100 can be used as the test object. It is not essential that all the piece members 101 have the same shape as in Figs. 2(b) and (c).

[0017] Inspection image generating unit 12 performs image processing on the image acquired by image acquiring unit 11, and generates an inspection image with auxiliary lines by drawing circular auxiliary lines at predetermined positions near the positions of the multiple piece members 101. When generating this inspection image with auxiliary lines, piece region extracting unit 12A generates an extracted image by extracting the multiple piece members 101 or the region in which the multiple piece members 101 are arranged from the image acquired by image acquiring unit 11.

[0018] FIG. 3 is a diagram for explaining the processing contents of the inspection image generating unit 12. Among them, FIG. 3(a) is a diagram showing an example of an extracted image generated by the frame region extracting unit 12A. For example, the frame region extracting unit 12A binarizes the photographed image acquired by the image acquiring unit 11, detects a frame region 301 corresponding to a plurality of frame members 101, and deletes the image of the other region (whitens it). Then, after filling the inside of the frame region 301 with black, the black and white gradation is inverted to generate an extracted image as shown in FIG. 3(a). As shown in FIG. 3(a), the plurality of frame regions 301 are basically separate regions, but due to the influence of noise or the like that occurs during photographing or image processing, adjacent regions may be connected by thin lines or a part of the shape of the region may be deformed.

[0019] Auxiliary line drawing unit 12B generates an inspection image with auxiliary lines by drawing auxiliary lines at predetermined positions near the position where multiple piece members 101 (piece regions 301) exist in the extracted image generated by piece region extraction unit 12A. In the following description, when "piece member 101" is mentioned in the description of an image, it means the image of piece region 301. Fig. 3(b) is a diagram showing an example of an inspection image with auxiliary lines generated by drawing auxiliary lines 302, 303 on the extracted image shown in Fig. 3(a).

[0020] FIG. 3B shows an example in which an inner circumference circle 302 on the inside of the multiple piece members 101 and an outer circumference circle 303 on the outside of the multiple piece members 101 are drawn as auxiliary lines near the position where the multiple piece members 101 (piece regions 301) are present. For example, the auxiliary line drawing unit 12B sets a circle that connects the outer edges (or inner edges) of the multiple piece regions 301 with an arc, and draws a circle of radius r 1 The circle is drawn as the inner circle 302 and has a radius r 2 (r 1 <r 2 ) is drawn as the circumference circle 303. 1 ,r 2 The value of is preset based on the specifications of the annular disc 100 to be inspected.

[0021] The drawing directions of the inner circumference circle 302 and the outer circumference circle 303 are not limited to this, and may be, for example, as follows. That is, the auxiliary line drawing unit 12B sets an inscribed circle that connects the inner edges of the multiple frame regions 301 with an arc, and sets the radius r 1 ' is calculated. Then, find the circle that is concentric with the inscribed circle and has a radius r that is slightly smaller than the inscribed circle. 1 (r 1 =r 1 The auxiliary line drawing unit 12B draws a circle of the distance r′-Δ) as an inner circumference 302. The auxiliary line drawing unit 12B also sets a circumscribing circle that connects the outer edges of the multiple frame regions 301 with arcs, and draws the circumscribing circle with a radius r 2 ' is calculated. Then, find the circle that is concentric with the circumscribing circle and has a radius r that is slightly larger than the circumscribing circle. 2 (r 2 =r 2 The circle ('+Δ) is drawn as the outer circle 303.

[0022] Here, an example has been described in which two circles, the inner circumference circle 302 and the outer circumference circle 303, are drawn as auxiliary lines 302 and 303, but either one may be used. Also, here, an example has been described in which the auxiliary lines 302 and 303 are drawn in positions that do not overlap multiple frame areas 301, but the auxiliary lines 302 and 303 may be drawn in overlapping positions.

[0023] In the example of the image shown in Fig. 3, one of the frame regions 301e is misaligned in the radial direction. That is, the frame region 301e is located at a position slightly misaligned radially outward from its original correct position. As can be seen by comparing Fig. 3(a) with Fig. 3(b), the misalignment of the frame region 301e can be more clearly recognized when the auxiliary lines 302, 303 are present than when the auxiliary lines 302, 303 are not present. This is because it is possible to recognize the relative position of the frame region 301e based on the auxiliary lines 302, 303.

[0024] The defect judgment unit 13 applies the inspection image with auxiliary lines generated by the inspection image generation unit 12 to a judgment model that has been trained using training data, and detects defects related to misalignment in any of the multiple piece members 101. The trained judgment model is stored in advance in the judgment model storage unit 14. This judgment model has been generated by machine learning processing using training data so as to output defect information related to misalignment when the inspection image with auxiliary lines is input. The defect information output by the judgment model may be information indicating the presence or absence of a defect (misalignment of the piece members 101), or may be information indicating the degree of misalignment (for example, an anomaly score).

[0025] The judgment models are generated for each type of annular disc 100, for example, as shown in Fig. 2. The defect judgment unit 13 detects defects using a judgment model according to the type of annular disc 100 to be inspected. Note that one judgment model may be used for similar types, such as the type shown in Fig. 2(a) and the type shown in Fig. 2(b). One judgment model may be used for all types without generating judgment models for each type, but generating judgment models for each type is preferable in terms of improving defect detection performance.

[0026] The teacher data used in the machine learning process of the judgment model includes a teacher image with auxiliary lines similar to the inspection image with auxiliary lines shown in Fig. 3(b). The teacher image with auxiliary lines is an image in which circular auxiliary lines 302, 303 are drawn at predetermined positions near the positions where the multiple piece members 101 are present. The teacher image with auxiliary lines includes a defective product image with auxiliary lines in which the auxiliary lines 302, 303 are drawn on a defective product image generated by causing a positional shift in any of the piece members 101 by image processing based on a normal product image obtained by photographing the surface of a normal annular disk 100 in which the multiple piece members 101 are not misaligned.

[0027] Fig. 4 is a block diagram showing an example of the functional configuration of teacher data generation device 20 that generates the teacher data as described above. As shown in Fig. 4, teacher data generation device 20 of this embodiment includes, as its functional configuration, an image acquisition unit 21 and teacher data generation unit 22. As specific functional configurations, teacher data generation unit 22 includes a frame region extraction unit 22A, a defective product image generation unit 22B, and an auxiliary line drawing unit 22C. Furthermore, teacher data generation device 20 of this embodiment includes teacher data storage unit 23 as a storage medium.

[0028] The above-mentioned functional blocks 21-22 can be configured by any of hardware, DSP, and software. For example, when configured by software, the above-mentioned functional blocks 21-22 are actually configured with a CPU, RAM, ROM, etc. of a computer, and are realized by the operation of a program stored in a storage medium such as a RAM, ROM, hard disk, or semiconductor memory. Instead of or in addition to the CPU, a GPU, FPGA, ASIC, etc. may be used.

[0029] The image acquisition unit 21 acquires an image obtained by photographing the surface of the annular disk. The teacher data generation unit 22 performs image processing on the image acquired by the image acquisition unit 21, and generates a teacher image with auxiliary lines by drawing circular auxiliary lines at predetermined positions near the positions where the multiple piece members 101 are present. The teacher data generation unit 22 stores this in the teacher data storage unit 23 as teacher data.

[0030] Here, the image acquisition unit 21 and the teacher data generation unit 22 can generate teacher data, for example, in the following manner. That is, the image acquisition unit 21 acquires a plurality of defective product images obtained by photographing the surfaces of the annular disks of a plurality of defective products in which any of the piece members 101 is misaligned. Then, the teacher data generation unit 22 generates a plurality of teacher images with auxiliary lines by drawing auxiliary lines by image processing on the plurality of defective product images acquired by the photographing.

[0031] In this method, it is necessary to prepare and photograph a large number of defective annular disks. In reality, defective disks are not manufactured in large numbers, so it is difficult to obtain a large number of defective disk images that can sufficiently improve the learning accuracy. Therefore, the image acquisition unit 21 and the teacher data generation unit 22 may generate teacher data as follows. That is, the image acquisition unit 21 acquires a normal product image obtained by photographing the surface of a normal annular disk 100 in which the multiple piece members 101 are not misaligned. The teacher data generation unit 22 generates a plurality of defective product images by image processing of the normal product image, and generates a plurality of teacher images with auxiliary lines by drawing auxiliary lines on the generated plurality of defective product images.

[0032] Here, the frame area extraction unit 22A, similar to the frame area extraction unit 12A shown in Figure 1, generates an extracted image by extracting multiple frame components 101 or an area in which multiple frame components 101 are arranged from the normal product image acquired by the image acquisition unit 21.

[0033] The defective product image generating unit 22B performs image processing on the extracted image generated by the frame region extracting unit 22A from the normal product image, and generates a defective product image by causing a positional shift in any of the frame members 101 (frame region 301). Here, the defective product image generating unit 22B generates a plurality of defective product images having, for example, different types of positional shift.

[0034] FIG. 5 is a diagram illustrating types of positional deviation. FIG. 5(a) shows a defect in one of the piece members 101. FIG. 5(b) shows a rotational deviation in one of the piece members 101. FIG. 5(c) shows a circumferential deviation in one of the piece members 101. FIG. 5(d) shows a radial deviation in one of the piece members 101. FIG. 5(e) shows a combined deviation related to at least two of the rotational deviation, the circumferential deviation, and the radial deviation in one of the piece members 101. The defective product image generating unit 22B generates multiple defective product images including a defect, a rotational deviation, a circumferential deviation, a radial deviation, or a combined deviation, based on the normal product image.

[0035] Furthermore, the defective product image generating unit 22B generates a plurality of defective product images with different amounts of positional deviation, for example, based on the normal product image. FIG. 6 is a diagram showing an example of generating a plurality of defective product images with different amounts of positional deviation. FIG. 6 shows an example of generating a defective product image with circumferential deviation, and illustrates a defective product image (FIG. 6(a)) in which one piece member 101 is shifted in the circumferential direction from the normal position by 10 pixels, a defective product image (FIG. 6(b)) in which one piece member 101 is shifted in the circumferential direction from the normal position by 15 pixels, and a defective product image (FIG. 6(c)) in which one piece member 101 is shifted in the circumferential direction from the normal position by 20 pixels. The defective product image generating unit 22B performs the same operation for rotational deviation, radial deviation, and combined deviation.

[0036] Similar to the auxiliary line drawing unit 12B shown in FIG. 1, the auxiliary line drawing unit 22C generates a teacher image with auxiliary lines by drawing auxiliary lines 302, 303 at predetermined positions near the position where multiple piece components 101 (piece areas 301) exist in the defective product image generated by the defective product image generation unit 22B.

[0037] Through the above processing by the frame region extraction unit 22A, the defective product image generation unit 22B, and the auxiliary line drawing unit 22C, the teacher data generation unit 22 generates a plurality of defective product images with auxiliary lines having different types of positional misalignment as teacher images with auxiliary lines. The teacher data generation unit 22 also generates a plurality of defective product images with auxiliary lines having different amounts of positional misalignment as teacher images with auxiliary lines. The teacher data generation unit 22 stores the generated teacher images with auxiliary lines in the teacher data storage unit 23.

[0038] Here, an example has been described in which a defective product image with auxiliary lines is generated as a teacher image with auxiliary lines and used as teacher data, but the present invention is not limited to this. For example, a normal product image with auxiliary lines may be generated by executing the processing of the frame region extraction unit 22A and the auxiliary line drawing unit 22C on a normal product image acquired by the image acquisition unit 21, and the normal product image with auxiliary lines and the defective product image with auxiliary lines may be used as teacher images with auxiliary lines (teacher data). In this case, a normal product label is assigned to the normal product image with auxiliary lines, and a defective product label is assigned to the defective product image with auxiliary lines.

[0039] Fig. 7 is a block diagram showing an example of a functional configuration of a judgment model generation device 30 that generates a judgment model using the teacher data generated by the teacher data generation device 20 as described above. As shown in Fig. 7, the judgment model generation device 30 of this embodiment includes, as functional configurations, a teacher data input unit 31 and a judgment model generation unit 32. In addition, the judgment model generation device 30 of this embodiment includes, as a storage medium, a judgment model storage unit 33.

[0040] The functional blocks 31-32 can be configured by any of hardware, DSP, and software. For example, when configured by software, the functional blocks 31-32 are actually configured with a CPU, RAM, ROM, etc. of a computer, and are realized by the operation of a program stored in a storage medium such as a RAM, ROM, hard disk, or semiconductor memory. Instead of or in addition to the CPU, a GPU, FPGA, ASIC, etc. may be used.

[0041] The teacher data input unit 31 inputs the teacher data generated by the teacher data generation device 20. The judgment model generation unit 32 generates a judgment model by executing a machine learning process using the teacher data input by the teacher data input unit 31. The judgment model generation unit 32 stores the generated judgment model in the judgment model storage unit 33. The judgment model stored in the judgment model storage unit 33 is stored in the judgment model storage unit 14 shown in FIG. 1.

[0042] The judgment model generated by the judgment model generating unit 32 is a model configured to output defect information related to misalignment when an inspection image with auxiliary lines is input, and may be a judgment model that outputs defect information indicating the presence or absence of misalignment, or may be a judgment model that outputs defect information indicating the degree of misalignment. The form of the judgment model may be any of a regression model, a tree model, a neural network model, a Bayesian model, a clustering model, etc. Note that the forms of the prediction model given here are merely examples and are not limited to these.

[0043] In the above embodiment, the teacher data generating device 20 and the judgment model generating device 30 are configured as separate devices, but they may be configured as one device. Also, the defect inspection device 10 shown in FIG. 1 may be further added to configure them as one device.

[0044] Fig. 8 is a flow chart showing an example of the operation of the teacher data generating device 20 configured as above. In Fig. 8, first, the image acquiring unit 21 acquires a normal product image obtained by photographing the surface of a normal annular disk (step S1). Next, the piece region extracting unit 22A of the teacher data generating unit 22 generates an extracted image of a piece region 301 obtained by extracting a plurality of piece members 101 or a region in which a plurality of piece members 101 are arranged from the normal product image acquired by the image acquiring unit 21 (step S2).

[0045] Next, the defective product image generating unit 22B performs image processing on the extracted image generated by the frame region extracting unit 22A from the normal product image, and generates a defective product image by causing a positional shift in any of the frame members 101 (frame region 301) (step S3). Here, the defective product image generating unit 22B generates, for example, a plurality of defective product images having different types of positional shift and a plurality of defective product images having different amounts of positional shift.

[0046] Thereafter, the auxiliary line drawing unit 22C generates a defective product image with auxiliary lines by drawing auxiliary lines 302, 303 at predetermined positions near the positions where the plurality of piece members 101 are present in each of the plurality of defective product images generated by the defective product image generating unit 22B (step S4), and stores the defective product image with auxiliary lines as a teacher image with auxiliary lines (teacher data) in the teacher data storage unit 23 (step S5). This ends the processing of the flowchart shown in FIG.

[0047] Fig. 9 is a flowchart showing an example of the operation of the judgment model generating device 30 configured as above. In Fig. 9, first, the teacher data input unit 31 inputs the teacher data generated by the teacher data generating device 20 (step S11). Then, the judgment model generating unit 32 generates a judgment model by executing a machine learning process using the input teacher data (step S12), and stores the generated judgment model in the judgment model storage unit 33 (step S13). This ends the process of the flowchart shown in Fig. 9.

[0048] Fig. 10 is a flow chart showing an example of the operation of the defect inspection device 10 configured as above. In Fig. 10, first, the image acquisition unit 11 acquires an image obtained by photographing the surface of an annular disk that is the object to be inspected (step S21). Next, the piece region extraction unit 12A of the inspection image generation unit 12 generates an extracted image of a piece region 301 obtained by extracting a plurality of piece members 101 or a region in which a plurality of piece members 101 are arranged from the image acquired by the image acquisition unit 11 (step S22).

[0049] Next, the auxiliary line drawing unit 12B generates an inspection image with auxiliary lines by drawing auxiliary lines 302, 303 at predetermined positions near the positions where the multiple piece members 101 exist in the extracted image generated by the piece region extraction unit 12A (step S23). Then, the defect determination unit 13 applies the inspection image with auxiliary lines generated by the inspection image generation unit 12 to the learned determination model stored in the determination model storage unit 14, and detects a defect related to misalignment in any of the multiple piece members 101 (step S24). That is, the defect determination unit 13 inputs the inspection image with auxiliary lines to the determination model, and outputs defect information indicating the presence or absence of misalignment or defect information indicating the degree of misalignment (e.g., anomaly score) from the determination model. This ends the processing of the flowchart shown in FIG. 10.

[0050] As described above in detail, in this embodiment, an inspection image with auxiliary lines is generated by performing image processing on an image obtained by photographing the surface of the annular disk 100, and drawing circular auxiliary lines 302, 303 at predetermined positions near the positions where the multiple piece members 101 are present. The generated inspection image with auxiliary lines is then applied to a judgment model that has been trained using training data, and a defect related to misalignment in any of the multiple piece members 101 is detected. Here, the judgment model is generated by machine learning processing using training data that includes a training image with auxiliary lines similar to the inspection image with auxiliary lines, and outputs defect information related to misalignment when the inspection image with auxiliary lines is input.

[0051] According to the present embodiment configured as described above, the positional deviation is not determined based on various values ​​calculated for the piece member 101 by image processing of the captured image of the annular disk 100, but is determined using a judgment model generated by machine learning using teacher data. Therefore, it is not necessary to set a specified value to be compared with the calculated value, and even if the captured image of the annular disk 100 contains noise, the noise can reduce the possibility of causing an erroneous judgment due to a negative effect on the comparison between the calculated value and the specified value. In addition, since the positional deviation is determined based on the inspection image with auxiliary lines using a judgment model generated by machine learning using the teacher image with auxiliary lines as teacher data, it is possible to make it easier to learn and judge the positional deviation occurring in the piece member 101 using the auxiliary lines 302 and 303 as references. As described above, according to the defect inspection device 10 of the present embodiment, the detection performance of the positional deviation of the piece member 101 can be improved.

[0052] Fig. 11 is a diagram showing the results of defect inspection of a plurality of annular discs 100 using a judgment model configured to detect the presence or absence of misalignment. Fig. 11 shows the difference in misalignment detection performance with and without auxiliary lines 302, 303 for circumferential and radial misalignment, with Fig. 11(a) showing the detection performance for circumferential misalignment and Fig. 11(b) showing the detection performance for radial misalignment.

[0053] In Fig. 11, the horizontal axis indicates the degree of misalignment, with the misalignment being smallest at the center and increasing in magnitude as one moves away from the center to the left or right. The vertical axis indicates the number of objects for which misalignment was detected. For both circumferential and radial misalignments, the valley in the number of detections is narrower when auxiliary lines 302, 303 are present than when they are not. In other words, as indicated by the circles in Fig. 11, the number of cases in which smaller misalignments were detected is greater when auxiliary lines 302, 303 are present.

[0054] Fig. 12 is a diagram showing the results of defect inspection of a plurality of annular disks 100 using a judgment model configured to output defect information (abnormal value score) indicating the degree of misalignment. Fig. 12 shows the difference in misalignment detection performance with and without the auxiliary lines 302, 303 with respect to circumferential misalignment, with Fig. 12(a) showing the detection performance with the auxiliary lines 302, 303 absent and Fig. 12(b) showing the detection performance with the auxiliary lines 302, 303 present.

[0055] In FIG. 12, the horizontal axis indicates the degree of misalignment, with the misalignment being smallest at the center and increasing in the left and right directions from the center. The vertical axis indicates the abnormal value score. As shown in FIG. 12(a), when there are no auxiliary lines 302 and 303, the abnormal value score does not increase significantly even if the degree of misalignment increases. In contrast, as shown in FIG. 12(b), when there are auxiliary lines 302 and 303, the abnormal value score increases significantly as the degree of misalignment increases. That is, the valley of the abnormal value score is deeper when there are auxiliary lines 302 and 303 than when there are no auxiliary lines, and it can be seen that the degree of misalignment can be detected more accurately when there are auxiliary lines 302 and 303 than when there are no auxiliary lines.

[0056] As shown in Figures 11 and 12, for both a judgment model configured to output defect information indicating the presence or absence of misalignment, and a judgment model configured to output defect information indicating the degree of misalignment, the detection performance for misalignment of the piece member 101 can be improved by drawing auxiliary lines 302, 303.

[0057] In addition, in this embodiment, since multiple defective product images with auxiliary lines are generated by image processing of a normal product image obtained by photographing a normal annular disk 100, it is possible to easily generate a large amount of teacher data. A method of generating a defective product image by overwriting a specific defective image on a normal product image (see, for example, JP 2021-135903 A) and a method of generating a defective product image by machine learning (see, for example, JP 2022-108855 A) are known, but the former has the disadvantage that a large number of defective images must be prepared, and the latter has the disadvantage that it takes effort to build a system for machine learning. In contrast, according to this embodiment, it is possible to easily generate a variety of teacher images with auxiliary lines by a simple process of image processing of a normal product image.

[0058] Furthermore, in this embodiment, multiple defective product images with auxiliary lines are generated by image processing of normal product images, so it is also easy to generate a judgment model using multiple defective product images with auxiliary lines and the same type of misalignment as a group of teacher data sets, generate a judgment model using multiple defective product images with auxiliary lines and the same magnitude of misalignment as a group of teacher data sets, or generate a judgment model using multiple defective product images with auxiliary lines and the same type and magnitude of misalignment as a group of teacher data sets.

[0059] For example, the teacher data generating unit 22 of the teacher data generating device 20 may generate a group of teacher data sets including teacher images with auxiliary lines that do not include defective product images with auxiliary lines of different types of misalignment and defective product images with auxiliary lines whose amount of misalignment is within a predetermined amount, but include a plurality of defective product images with auxiliary lines whose types of misalignment are the same but whose amount of misalignment is different and exceeds a predetermined amount. In this case, the judgment model generating unit 32 of the judgment model generating device 30 generates a judgment model by machine learning processing using the group of teacher data sets. For example, in the case of an application in which a specific type of misalignment whose amount of misalignment is greater than a predetermined amount is to be detected, it is possible to generate a judgment model suited to the application by generating a group of teacher data sets as described above and performing machine learning processing.

[0060] The teacher data generating unit 22 may generate multiple groups of teacher data sets for each type of positional shift. The teacher data generating unit 22 may generate multiple groups of teacher data sets for each type of positional shift and each magnitude of the shift amount (the above-mentioned predetermined amount). In these cases, the judgment model generating unit 32 of the judgment model generating device 30 generates multiple judgment models by machine learning processing using each of the multiple groups of generated teacher data sets individually.

[0061] In this way, it becomes possible to inspect for defects using a judgment model suited to the application, such as what type of misalignment is desired to be detected, or what type and magnitude of misalignment is desired to be detected. In this case, the defect judgment unit 13 of the defect inspection device 10 applies the inspection image with auxiliary lines generated by the inspection image generation unit 12 to one or more of the judgment models, and detects a defect related to misalignment in any of the multiple piece members 101.

[0062] FIG. 13 is a diagram showing the results of detecting circumferential misalignment based on three judgment models generated by machine learning processing using three groups of teacher datasets (teacher image datasets with auxiliary lines) that are divided into three groups based on the magnitude of the misalignment amount, and the three groups of teacher datasets are used individually. In FIG. 13, the horizontal axis indicates the degree of misalignment, with the misalignment being smallest at the center and increasing in magnitude as the distance from the center increases to the left and right. The vertical axis indicates the number of objects for which misalignment was detected. As shown in FIG. 13, by using the teacher datasets that are generated by dividing into three groups based on the magnitude of the misalignment amount, it is possible to generate three judgment models with different detection performance.

[0063] In the above embodiment, an example of generating a judgment model that outputs defect information indicating the presence or absence of misalignment, or a judgment model that outputs defect information indicating the degree of misalignment, has been described, but the present invention is not limited to this. For example, the defect information output by the judgment model may include information indicating the position of the piece member 101 where misalignment occurs, or may include information indicating the type of misalignment.

[0064] For example, when generating a judgment model that outputs information indicating the position of a misalignment as well as information indicating the presence or absence or degree of misalignment as defect information, the teacher data generating unit 22 of the teacher data generating device 20 generates a teacher image with auxiliary lines and generates teacher data by adding position information indicating the position of the piece 101 that caused the misalignment.

[0065] In this embodiment, a defective product image is generated by image processing of any one of the frame regions 301 included in the normal product image, so the position of the frame region 301 causing the positional shift is recognized by the defective product image generating unit 22B during image processing. Therefore, it is possible to automatically add position information to the teacher image with auxiliary lines during this image processing. This eliminates the need to manually add position information to each teacher image with auxiliary lines, and allows efficient generation of teacher data with position information.

[0066] Furthermore, when generating a judgment model that outputs information indicating the type of misalignment as well as information indicating the presence or absence or degree of misalignment as defect information, the teacher data generating unit 22 of the teacher data generating device 20 generates a teacher image with auxiliary lines and generates teacher data by adding type information indicating the type of misalignment. Since the type of misalignment can also be recognized by the defective product image generating unit 22B during image processing, it is possible to automatically add type information to the teacher image with auxiliary lines during image processing.

[0067] In the above embodiment, the multiple piece members 101 are arranged at predetermined intervals in the circumferential direction along the surface of the annular disc 100, and the circular auxiliary lines 302, 303 are drawn, but the present invention is not limited to this. That is, the multiple piece members 101 do not necessarily have to be arranged on an annular member, and the auxiliary lines 302, 303 do not necessarily have to be circular. For example, a rectangular member may have multiple piece members arranged at predetermined intervals in the circumferential direction of the rectangle, and in this case the auxiliary lines may be rectangular or a plurality of straight lines.

[0068] In the above embodiment, an example has been described in which an extracted image is generated by extracting the multiple piece members 101 or the area in which the multiple piece members 101 are arranged by performing image processing such as binarization and gradation inversion on the captured image of the annular disc 100, but this processing may be omitted. That is, the auxiliary lines 302, 303 may be drawn directly on the captured image of the annular disc 100 including the multiple piece members 101. However, by deleting unnecessary elements other than the multiple piece members 101 and narrowing the analysis range, it is possible to prevent unnecessary elements from affecting the machine learning processing and judgment processing, thereby improving the defect detection performance.

[0069] In addition, the above-mentioned embodiments are merely examples of the implementation of the present invention, and the technical scope of the present invention should not be interpreted as being limited thereby. In other words, the present invention can be implemented in various forms without departing from the gist or main characteristics thereof. [Explanation of symbols]

[0070] 10. Defect inspection equipment 11 Image acquisition section 12 Inspection image generation unit 12A Frame area extraction section 12B Auxiliary line drawing section 13 Defect Judgment Section 14 Decision model storage unit 20. Teacher data generator 21 Image acquisition unit 22 Teacher data generation unit 22A Frame area extraction section 22B Defective product image generation unit 22C Auxiliary line drawing section 23 Teacher data storage unit 30 Decision model generation device 31 Teacher data input section 32 Decision model generation unit 33 Decision model memory unit 100 Annular disc 101 Friction material 301 Frame Area 302 Inner circle (auxiliary line) 303 Outer Circle (auxiliary line)

Claims

1. A defect inspection device for detecting defects related to misalignment of a plurality of piece members arranged at predetermined intervals, comprising: an image acquisition unit for acquiring images obtained by photographing the plurality of frame members; an inspection image generating unit that performs image processing on the image acquired by the image acquiring unit and generates an inspection image with auxiliary lines by drawing auxiliary lines at predetermined positions near the positions where the plurality of piece members are present; a defect determination unit that applies the inspection image with auxiliary lines generated by the inspection image generation unit to a determination model that has been trained using teacher data, and detects a defect related to a positional deviation in any of the plurality of piece members, the teacher data is a teacher image with auxiliary lines in which the auxiliary lines are drawn at predetermined positions near the positions where the plurality of piece members are present, The judgment model is generated by a machine learning process using the training data so as to output defect information related to the misalignment when the inspection image with the auxiliary lines is input. A defect inspection device comprising:

2. The plurality of piece members are arranged at predetermined intervals in the circumferential direction along the surface of the annular disc, The defect inspection device according to claim 1, characterized in that the inspection image generation unit draws at least one of an inner circumferential circle on the inside of the plurality of piece members and an outer circumferential circle on the outside of the plurality of piece members as the auxiliary line near the position where the plurality of piece members are present.

3. The defect inspection device described in claim 1 or 2, characterized in that the inspection image generation unit generates an extracted image by extracting the multiple piece components or the area in which the multiple piece components are arranged from the image acquired by the image acquisition unit, and generates the inspection image with auxiliary lines by drawing the auxiliary lines at predetermined positions near the positions where the multiple piece components are located in the extracted image.

4. The defect inspection device described in claim 1, characterized in that the teacher image with auxiliary lines includes a defective product image with auxiliary lines, in which the auxiliary lines are drawn on a defective product image generated by causing a positional shift in any of the plurality of frame members through image processing based on a normal product image obtained by photographing a normal product in which there is no positional shift in the plurality of frame members.

5. 5. The defect inspection device according to claim 4, wherein the teacher image with auxiliary lines includes a plurality of defective product images with auxiliary lines each having a different type of positional deviation.

6. 6. The defect inspection device according to claim 4 or 5, wherein the defective product image with auxiliary lines includes any one of a defect in any of the piece members, a rotational misalignment in any of the piece members, a circumferential misalignment in any of the piece members, a radial misalignment in any of the piece members, or a composite misalignment of at least two of the rotational misalignment, the circumferential misalignment, and the radial misalignment in any of the piece members.

7. 5. The defect inspection device according to claim 4, wherein the teacher image with auxiliary lines includes a plurality of defective product images with auxiliary lines, each of which has a different amount of positional deviation.

8. a group of teacher data sets is defined as the teacher images with auxiliary lines, which do not include the defective product images with auxiliary lines having different types of positional deviation and the defective product images with auxiliary lines having an amount of positional deviation within a predetermined amount, but include a plurality of defective product images with auxiliary lines that are generated such that the type of positional deviation is the same and the amount of positional deviation differs by more than the predetermined amount; The above-mentioned judgment model is generated by machine learning processing using the above-mentioned group of teacher datasets.

5. The defect inspection apparatus according to claim 4.

9. A plurality of groups of teacher data sets are formed for each type of positional deviation. The judgment model includes a plurality of judgment models generated by machine learning processing using the plurality of groups of teacher data sets individually.

9. The defect inspection apparatus according to claim 8.

10. A plurality of groups of teacher data sets are formed for each type of positional deviation and each magnitude of the predetermined amount, The judgment model includes a plurality of judgment models generated by machine learning processing using the plurality of groups of teacher data sets individually.

9. The defect inspection apparatus according to claim 8.

11. The defect inspection device according to claim 9 or 10, characterized in that the defect judgment unit applies the inspection image with auxiliary lines to any one or more of the plurality of judgment models to detect defects related to positional misalignment in any of the plurality of piece members.

12. The teacher data is data in which position information indicating the position of the piece member that caused the positional deviation is added to the defective product image with auxiliary lines, The defect information output by the judgment model includes information indicating the position of the misalignment.

5. The defect inspection apparatus according to claim 4.

13. A defect inspection method for detecting defects related to misalignment of a plurality of piece members arranged at predetermined intervals, comprising the steps of: A first step in which an image acquisition unit of a defect inspection device acquires images obtained by photographing the plurality of piece members; a second step in which an inspection image generating unit of the defect inspection device performs image processing on the image acquired by the image acquiring unit, and generates an inspection image with auxiliary lines by drawing auxiliary lines at predetermined positions near the positions where the plurality of piece members are present; a third step in which a defect determination unit of the defect inspection device applies the inspection image with auxiliary lines generated by the inspection image generation unit to a determination model that has been trained using teacher data, and detects a defect related to misalignment in any of the plurality of piece members; the teacher data is a teacher image with auxiliary lines in which the auxiliary lines are drawn at predetermined positions near the positions where the plurality of piece members are present, The judgment model is generated by a machine learning process using the training data so as to output defect information related to the misalignment when the inspection image with the auxiliary lines is input. A defect inspection method comprising:

14. A method for generating training data to be used in machine learning of a determination model used to determine positional deviation of a plurality of link members arranged at predetermined intervals, comprising: A first step in which an image acquisition unit of a computer acquires images obtained by photographing the plurality of piece members; a second step in which a teacher data generating unit of the computer performs image processing on the image acquired by the image acquiring unit and generates a teacher image with auxiliary lines by drawing auxiliary lines at predetermined positions near the positions where the plurality of piece members are present; The teacher image with auxiliary lines generated by the teacher data generating unit is used as the teacher data. A teacher data generating method comprising:

15. The image acquisition unit acquires a normal product image obtained by photographing a normal product in which the plurality of piece members are not misaligned, The teacher data generating unit generates a defective product image by causing a positional shift in any of the pieces of the normal product image by image processing, and generates the teacher image with the auxiliary lines by drawing the auxiliary lines at predetermined positions in the vicinity of the positions of the plurality of pieces of the defective product image. The teacher data generating method according to claim 14 .

16. 16. The teaching data generating method according to claim 15, wherein the teaching data generating unit generates a plurality of defective product images with auxiliary lines having different types of the positional deviation as the teaching images with auxiliary lines.

17. The teacher data generating method according to claim 15 or 16, characterized in that the teacher data generating unit generates as the teacher image with auxiliary lines a defective product image with auxiliary lines including any of a defect in any of the piece members, a rotational misalignment in any of the piece members, a circumferential misalignment in any of the piece members, a radial misalignment in any of the piece members, or a combined misalignment relating to at least two of the rotational misalignment, the circumferential misalignment, and the radial misalignment in any of the piece members.

18. 16. The teaching data generating method according to claim 15, wherein the teaching data generating unit generates a plurality of defective product images with auxiliary lines, each of which has a different amount of positional deviation, as the teaching image with auxiliary lines.

19. The teacher data generation method according to claim 15, characterized in that the teacher data generation unit generates teacher images with auxiliary lines as a group of teacher data sets, which do not include defective product images with auxiliary lines having different types of positional misalignment and defective product images with auxiliary lines having an amount of positional misalignment within a predetermined amount, but include a plurality of defective product images with auxiliary lines having the same type of positional misalignment but with different amounts of positional misalignment exceeding the predetermined amount.

20. 20. The method for generating teacher data according to claim 19, wherein the teacher data generating unit generates a plurality of groups of teacher data sets for each type of the positional deviation.

21. 20. The teacher data generating method according to claim 19, wherein the teacher data generating unit generates a plurality of groups of teacher data sets for each type of the positional deviation and each magnitude of the predetermined amount.

22. The teacher data generating method according to claim 15, characterized in that the teacher data generating unit generates the teacher image with the auxiliary lines and generates the teacher data by adding positional information indicating the position of the piece that caused the positional shift.

23. A method for generating a judgment model for use in judging positional deviation of a plurality of piece members arranged at predetermined intervals by machine learning using training data, comprising: A judgment model generation method, characterized in that a judgment model generation unit of a computer generates the judgment model by machine learning processing using teacher data generated by the teacher data generation method described in any one of claims 14 to 16, 18, 19, and 22.

24. A method for generating a judgment model for use in judging positional deviation of a plurality of piece members arranged at predetermined intervals by machine learning using training data, comprising: A method for generating a judgment model, characterized in that a judgment model generation unit of a computer generates a plurality of the judgment models by machine learning processing using a plurality of groups of teacher data sets generated by the teacher data generation method described in claim 20 or 21 individually.

Citation Information

Patent Citations

  • Method and equipment for visual inspection

    JP1994003123A

  • Visual inspection device and visual inspection method

    JP2013222740A

  • Shoe appearance inspection system, shoe appearance inspection method, and shoe appearance inspection program

    WO2022137494A1

  • Work inspection device

    JP2002318196A