Visual Inspection Equipment

The appearance inspection device addresses prolonged inspection times by selectively processing and comparing relevant image data, thereby improving efficiency and accuracy.

JP7593034B2Active Publication Date: 2024-12-03NIDEC POWERTRAIN SYST CORP
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
JP2020165795
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2020-09-30
Publication Date
2024-12-03
Estimated Expiration
2040-09-30

AI Technical Summary

Technical Problem

Existing inspection devices require processing image data of the entire component before performing partial inspections, leading to unnecessary data import and prolonged inspection times.

Method used

An appearance inspection device that irradiates light onto a workpiece, receives reflected light, generates an image of the entire workpiece, extracts the relevant inspection area, and compares it with a reference image to determine quality, allowing for efficient partial inspections.

Benefits of technology

The device significantly reduces inspection time by focusing on the inspection area alone, eliminating unnecessary data processing and enhancing inspection precision.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007593034000001
    Figure 0007593034000001
  • Figure 0007593034000002
    Figure 0007593034000002
  • Figure 0007593034000003
    Figure 0007593034000003
Patent Text Reader

Abstract

To provide an appearance inspection device that can reduce the length of time for an inspection.SOLUTION: The appearance inspection device inspects a workpiece for the appearance. The appearance inspection device includes: a light application unit for applying light to a workpiece; a light receiving unit for receiving light applied from the light application unit and reflected by the workpiece; an imaging processing unit for generating an image of the whole workpiece on the basis of the result of light reception by the light receiving unit; and a determination unit for extracting an inspection target image of an inspection target region to inspect of the whole workpiece, taking in the inspection target image, comparing a reference image as a basis of determination as to whether the inspection target region has an excellent appearance and the inspection target image, and determining whether the inspection target region has an excellent appearance.SELECTED DRAWING: Figure 16
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a visual inspection apparatus. [Background technology]

[0002] An inspection device for inspecting components is known (see, for example, Patent Document 1). The inspection device described in Patent Document 1 includes an imaging unit that images the components, and a signal processing unit that processes image data (imaging signals) from the imaging unit. [Prior art documents] [Patent documents]

[0003] [Patent Document 1] JP 2004-023256 A Summary of the Invention [Problem to be solved by the invention]

[0004] In the inspection device described in Patent Document 1, when performing partial inspection of a part of a part, first, image data of the entire part is input to a signal processing unit. Next, image data of the part to be inspected is further input from the image data of the entire part, and partial inspection is performed based on the input image data. In this way, since image data of the entire part is input in partial inspection, image data other than the part to be inspected, i.e., image data that is not necessary (used) for partial inspection, is also input, which causes a problem of longer inspection time. An object of the present invention is to provide a visual inspection apparatus capable of shortening the inspection time. [Means for solving the problem]

[0005] One aspect of the visual inspection apparatus of the present invention is an visual inspection apparatus for inspecting the visual appearance of a work, comprising: a light irradiation unit that irradiates light toward the workpiece; a light receiving unit that receives light reflected by a workpiece from the light irradiation unit; an image processing unit that generates an image of the entire workpiece based on the light receiving result of the light receiving unit; The inspection apparatus is characterized by comprising a judgment unit which extracts an inspection target image of an inspection target area that is the object of inspection from the entire workpiece, imports the inspection target image, and compares the inspection target image with a reference image that serves as the basis for judging the quality of the appearance of the inspection target area to make a quality judgment. Effect of the Invention

[0006] According to one aspect of the visual inspection apparatus of the present invention, it is possible to reduce the inspection time. [Brief description of the drawings]

[0007] [Figure 1] FIG. 1 is a plan view showing an embodiment of a visual inspection apparatus according to the present invention. [Diagram 2] FIG. 2 is a view seen from the direction of arrow A in FIG. [Diagram 3] FIG. 3 is a block diagram of a main part of the appearance inspection apparatus shown in FIG. [Figure 4] FIG. 4 is a plan view showing the emission and reception states of laser light. [Diagram 5] FIG. 5 is a plan view showing a state in which a non-defective connecting rod is irradiated with laser light. [Figure 6] FIG. 6 is a cross-sectional view taken along line BB in FIG. [Figure 7] FIG. 7 is a plan view showing a state in which a defective connecting rod is irradiated with laser light. [Figure 8] FIG. 8 shows an overall image and an inspection target image of the connecting rod shown in FIG. [Figure 9] FIG. 9 shows an overall image and an inspection target image of the connecting rod shown in FIG. [Figure 10] FIG. 10 is the first reference image. [Figure 11] FIG. 11 is the second reference image. [Figure 12] FIG. 12 is the third reference image. [Figure 13]FIG. 13 is a plan view showing the inspection target area of ​​the connecting rod. [Figure 14] FIG. 14 is a plan view showing the inspection target area of ​​the connecting rod. [Figure 15] FIG. 15 is a flowchart of a control program executed by the visual inspection apparatus shown in FIG. [Figure 16] FIG. 16 shows a subroutine in the flowchart shown in FIG. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0008] An embodiment of the visual inspection apparatus of the present invention will be described with reference to Figs. 1 to 16. In the following, for convenience of explanation, three mutually orthogonal axes are set as the X-axis, the Y-axis, and the Z-axis. As an example, the XY plane including the X-axis and the Y-axis is horizontal, and the Z-axis is vertical. In this specification, the vertical direction, the horizontal direction, the upper side, and the lower side are names simply for explaining the relative positional relationship of each part, and the actual positional relationship may be a positional relationship other than the positional relationship indicated by these names. In addition, in the following, for convenience of explanation, the upper side in Figs. 2 and 6 may be referred to as "upper (or upper side)" and the lower side as "lower (or lower side)".

[0009] 1 to 3 is a device for inspecting the appearance of a workpiece 9. The appearance inspection device 1 includes an optical unit 2, a transport section 4, a reversing mechanism 5, a notification section 6, and a control section 3. The configuration of each section will be described below. The workpiece 9 is not particularly limited, and may be, for example, an automobile part such as a connecting rod (abbreviation: connecting rod), etc. In this embodiment, the case where the workpiece 9 is a connecting rod will be described as an example.

[0010] As shown in Fig. 4, the connecting rod as the workpiece 9 has a ring-shaped big end 91, a ring-shaped small end 92, and a connecting portion 93 that connects the big end 91 and the small end 92. The big end 91 is a portion that is connected to a crankshaft. The small end 92 is a portion that is connected to a piston. The workpiece 9 is a forged product.

[0011] The conveying unit 4 is a device that conveys the workpiece 9. The configuration of the conveying unit 4 is not particularly limited, but in this embodiment, it is a belt conveyor. When the conveying unit 4 is configured as a belt conveyor, the workpiece 9 is placed on the belt 41 and conveyed along the X-axis direction. Here, "along a predetermined direction (e.g., the X-axis direction)" refers to a state parallel to the predetermined direction (e.g., the X-axis direction). In this embodiment, the conveying direction is from the negative side to the positive side of the X-axis direction, with the negative side of the X-axis direction being the "upstream side in the conveying direction" and the positive side of the X-axis direction being the "downstream side in the conveying direction". Furthermore, the workpiece 9 on the belt 41 is placed with its small end 92 positioned on the upstream side in the conveying direction and its large end 91 positioned on the downstream side in the conveying direction, and is conveyed in that orientation (posture).

[0012] As shown in Fig. 1, the reversing mechanism 5 is a device that turns over the workpiece 9 during the transport of the workpiece 9. The reversing mechanism 5 has a holding unit 51 that holds the workpiece 9 by sandwiching it from the upstream side and the downstream side in the transport direction, and a rotation support unit 52 that supports the holding unit 51 so that the holding unit 51 can rotate around an axis O52 parallel to the X-axis direction. The reversing mechanism 5 can rotate the holding unit 51 together with the workpiece 9 by 180 degrees around the axis O52 while the workpiece 9 is held by the holding unit 51. This allows the workpiece 9 to be turned over.

[0013] Before the workpiece 9 is turned over, an appearance inspection can be performed on the front side of the workpiece 9 (hereinafter referred to as the "first inspection (first appearance inspection)"). After the workpiece 9 is turned over, an appearance inspection can be performed on the back side of the workpiece 9 (hereinafter referred to as the "second inspection (first appearance inspection)"). By both the first and second inspections, the appearance inspection of the workpiece 9 can be performed without excess or deficiency, and therefore it can be accurately determined whether the workpiece 9 is a good product or a defective product. In addition, an image (overall image) 7 of the workpiece 9 is used in the first and second inspections. In addition, hereinafter, a good workpiece 9 may be referred to as "workpiece 9A" and a defective workpiece 9 may be referred to as "workpiece 9B".

[0014] 1, in this embodiment, twelve optical units 2 are disposed on the positive side in the Z axis direction (above the belt 41) with respect to the belt 41. Each optical unit 2 is a unit that captures an image of a workpiece 9. Of these 12 optical units 2, six optical units 2 are used for a first inspection on the upstream side in the conveying direction. The remaining six optical units 2 are used for a second inspection on the downstream side in the conveying direction. The six optical units 2 on the upstream side and the six optical units 2 on the downstream side have the same configuration except for their locations, so the six optical units 2 on the upstream side will be representatively described.

[0015] Each of the six optical units 2 has a light emitting section 23 and a light receiving section 24. The light emitting section 23 and the light receiving section 24 arranged adjacent to each other form a set (pair) for each optical unit 2. In each optical unit 2, the light emitting section 23 and the light receiving section 24 constitute a laser distance measuring device that measures the distance to the workpiece 9. This makes it possible to detect the external shape (three-dimensional shape) of the workpiece 9, such as unevenness, depending on the distance. Then, based on the detection result of the laser distance measuring device, an image 7 of the entire workpiece 9 can be accurately obtained.

[0016] The light emitting section 23 and the light receiving section 24 are disposed such that their axes form a predetermined angle (elevation angle) θ. The angle θ is not particularly limited, but is preferably, for example, 20° to 30°. In addition, in the visual inspection device 1, apart from saying that the light irradiation section 23 and the light receiving section 24 constitute the optical unit 2, it can also be said that the six light irradiation sections 23 constitute the light irradiation unit 21, and the six light receiving sections 24 constitute the light receiving unit 22.

[0017] As shown in Figs. 1 and 2, each light irradiation section 23 (light irradiation unit 21) can irradiate light LB toward the workpiece 9. Laser light is particularly preferable as the light LB. Laser light has excellent directivity. This allows the light LB to be irradiated onto the workpiece 9 easily and accurately. Moreover, each light irradiation unit 23 can irradiate the laser light (light LB) in a direction intersecting the conveying direction of the work 9, that is, in a line shape along the Y-axis direction. As a result, as shown in Figs. 5 and 7, the linear laser light along the Y-axis direction hits the work 9. Then, depending on the shape of the work 9 in a plan view, that is, depending on whether the work 9 is a non-defective product or a defective product, the position (state) where the laser light hits the work 9 changes (see Figs. 5 to 7). Therefore, it can be said that the appearance inspection device 1 is a device that detects the shape of the work 9 in a plan view by the "light cutting method". Also, since the laser light hits the work 9 in a line shape, a smoother image 7 can be obtained compared to, for example, when the laser light hits the work 9 in a spot shape (point shape).

[0018] 4, each light receiving section 24 (light receiving unit 22) can receive reflected light LB' that is generated when light LB from a light irradiating section 23 that is paired with the light receiving section 24 is reflected by a workpiece 9. The light receiving section 24 is not particularly limited, and for example, a CCD camera or the like can be used.

[0019] 1, in the appearance inspection device 1, two optical units 2 are provided along the conveying direction (X-axis direction) of the work 9, and three optical units 2 are provided along the direction (Y-axis direction) intersecting the conveying direction of the work 9. That is, the optical units 2 are arranged in two rows and three columns. Of the three optical units 2 lined up along the Y-axis direction, the central optical unit 2 is positioned on the center line O41 of the belt 41 in a planar view, and the remaining two optical units 2 are positioned equidistant from the central optical unit 2.

[0020] Furthermore, the three optical units 2 aligned along the Y-axis direction can emit light LB having different wavelengths from each other from the light irradiation section 23. Hereinafter, the optical unit 2 that emits red light LB will be referred to as "optical unit 2R," the optical unit 2 that emits green light LB will be referred to as "optical unit 2G," and the optical unit 2 that emits blue light LB will be referred to as "optical unit 2B."

[0021] On the upstream side in the conveying direction, the three optical units 2 are arranged in the order of optical unit 2B, optical unit 2G, and optical unit 2R from the negative side in the Y-axis direction. The light irradiation sections 23 of the optical units 2B, 2G, and 2R each irradiate light LB from the upstream side to the downstream side in the conveying direction. The light LB of each color is irradiated to approximately the same position on the workpiece 9.

[0022] On the other hand, on the downstream side in the conveying direction, the three optical units 2 are arranged in the order of optical unit 2R, optical unit 2G, and optical unit 2B from the negative side in the Y-axis direction. Also, the light irradiation sections 23 of the optical units 2B, 2G, and 2R each irradiate light LB from the downstream side toward the upstream side in the conveying direction. Similarly, on the downstream side in the conveying direction, the light LB of each color is irradiated to approximately the same position on the workpiece 9. Further, on the upstream side and downstream side in the transport direction, the optical units 2R are arranged to face each other, the optical units 2B are arranged to face each other, and the optical units 2G are arranged to face each other.

[0023] Each light receiving section 24 can individually receive light LB (reflected light LB') having a different wavelength. For example, when focusing on the optical unit 2R, red light LB is emitted from the light emitting section 23 constituting the optical unit 2R. The light receiving section 24 constituting the optical unit 2R together with the light emitting section 23 has a built-in specific wavelength transmission filter that transmits the red light LB and blocks the transmission of light LB of other wavelengths. This allows the light receiving section 24 to stably receive the red light LB.

[0024] Similarly, focusing on the optical unit 2G, green light LB is emitted from the light emitting section 23 constituting the optical unit 2G. The light receiving section 24 constituting the optical unit 2G together with the light emitting section 23 has a built-in specific wavelength transmission filter that transmits the red light LB and blocks the transmission of light LB of other wavelengths. This allows the green light LB to be stably received.

[0025] Moreover, focusing on the optical unit 2B, blue light LB is emitted from the light emitting section 23 constituting the optical unit 2B. The light receiving section 24 constituting the optical unit 2B together with the light emitting section 23 has a built-in specific wavelength transmission filter that transmits the red light LB and blocks the transmission of light LB of other wavelengths. This allows the blue light LB to be stably received.

[0026] With the optical unit 2 configured as described above, when imaging the workpiece 9 on the upstream side in the conveying direction, the workpiece 9 is surrounded at the center in a plan view, preventing the occurrence of blind spots. This makes it possible to capture an image sufficient for accurately performing the first inspection. As described above, the three optical units 2 aligned along the Y-axis direction emit and receive light LB with different wavelengths from each other. This prevents, for example, the light LB of the optical unit 2R from being received by the optical unit 2G, i.e., prevents erroneous reception of light, and therefore allows the workpiece 9 to be accurately imaged.

[0027] As described above, the optical units 2B, 2G, and 2R are arranged along the Y-axis direction. This arrangement can shorten the overall length of the visual inspection device 1, as compared to the case where the optical units 2B, 2G, and 2R are arranged along the X-axis direction. This can shorten the imaging time and transport time required to inspect each work 9.

[0028] 1, the visual inspection apparatus 1 includes a first cover 10A and a second cover 10B. The first cover 10A collectively covers from the outside each of the optical units 2 used in the first inspection on the upstream side in the transport direction together with the work 9. The second cover 10B collectively covers from the outside each of the optical units 2 used in the second inspection on the upstream side in the transport direction together with the work 9.

[0029] The first cover 10A and the second cover 10B each have light impermeability that blocks external (outside) light such as natural light. External light may cause noise during imaging, but the first cover 10A and the second cover 10B can block the external light to prevent noise.

[0030] The notification unit 6 can notify various kinds of information. Examples of the various kinds of information include "the inspection target area 94 judged as bad in the pass / fail judgment" described later, and also operation errors of each of the optical units 2, the transport unit 4, and the reversing mechanism 5. Examples of the notification method of the notification unit 6 include a notification method by sound and a notification method by light emission, which can be used alone or in combination.

[0031] As shown in Fig. 3, the control unit 3 is electrically connected to each optical unit 2, the transport unit 4, the reversing mechanism 5, and the notification unit 6, and controls the operation of each unit. The control unit 3 has a CPU 31 and a storage unit 32. The storage unit 32 stores, for example, a program for performing an appearance inspection in advance. The CPU 31 can execute the program stored in the storage unit 32. This causes each optical unit 2 etc. to operate, and an appearance inspection is performed. In this embodiment, the control unit 3 controls the optical unit 2 used in the first inspection and the optical unit 2 used in the second inspection, but is not limited to this. For example, a control unit 3 that controls the optical unit 2 used in the first inspection and a control unit 3 that controls the optical unit 2 used in the second inspection may be provided. The transport unit 4 may be controlled by a PLC (Programmable Logic Controller).

[0032] During the manufacturing process, the workpiece 9 may be damaged, for example, with chips, scratches, dents, etc. The damaged workpiece 9 is treated as a defective product. The visual inspection device 1 can determine whether the workpiece 9 is a pass or fail based on the two inspection results of the first inspection and the second inspection. A configuration for determining whether the workpiece 9 is pass or fail will be described below.

[0033] In the appearance inspection device 1, the workpiece 9 is divided into a plurality of portions, and each portion is set in an inspection target area 94. As a result, the workpiece 9 has a plurality of inspection target areas 94 at different positions when inspection is performed. In this embodiment, there are cases where the big end 91 is set in the inspection target area 94, where the small end 92 is set in the inspection target area 94, and where the connecting portion 93 is set in the inspection target area 94. As a representative example, a case where the big end 91 is set in the inspection target area 94 will be described. As shown in FIG. 7, the defective workpiece 9B has a missing portion 95 in which a portion of the big end 91 in the circumferential direction is missing. Moreover, in the visual inspection apparatus 1, an inspection target area 94 is specified in advance, and the inspection target area 94 is included in the irradiation area onto which the light LB is irradiated.

[0034] 3, the CPU 31 of the control unit 3 has a portion that performs the function of the image processing unit 33 and a portion that performs the function of the determination unit 34. In this embodiment, the image processing unit 33 and the determination unit 34 are performed by one CPU 31, but this is not limited to this. For example, a CPU 31 that performs the function of the image processing unit 33 and a CPU 31 that performs the function of the determination unit 34 may be provided separately. The image processing unit 33 can generate an image 7 of the entire workpiece 9 based on the light receiving result at the light receiving unit 22, that is, the detection result at the above-mentioned laser length measuring device. For example, as shown in Fig. 5 and Fig. 7, a non-defective workpiece 9A and a defective workpiece 9B have different portions that are hit by the light LB and portions that are not hit by the light LB. That is, in the state shown in Fig. 5, the light LB hits two points on the large end 91 of the workpiece 9A, but in the state shown in Fig. 7, since the workpiece 9B has a missing portion 95, the light LB does not hit the missing portion 95, and the light LB hits only one point on the large end 91. Then, when the workpiece 9 is a non-defective product (in the case of the workpiece 9A), the image 7 shown in Fig. 8 is generated. On the other hand, when the workpiece 9 is a defective product (in the case of the workpiece 9B), the image 7 shown in Fig. 9 is generated. Although the light LB that strikes the belt 41 is also captured, the image data relating to the light LB is deleted by the image processor 33.

[0035] The judgment unit 34 extracts the inspection target image 71 of the inspection target region 94 that is the inspection target of the entire workpiece 9 from the image 7. For example, if the workpiece 9 is a non-defective product and the inspection target region 94 of the workpiece 9 is the large end 91, the inspection target image 71 shown in Fig. 8 is extracted. On the other hand, if the workpiece 9 is a defective product and the inspection target region 94 of the workpiece 9 is the large end 91, the inspection target image 71 shown in Fig. 9 is extracted.

[0036] Furthermore, a reference image 8 is pre-stored in the memory unit 32 of the control unit 3. The reference image 8 is an image that serves as a reference for determining the quality of the appearance of the inspection target area 94. Furthermore, the reference image 8 is an image obtained based on the design values ​​of the workpiece 9 (workpiece 9A), i.e., CAD data. In this embodiment, a first reference image 81 shown in Fig. 10, a second reference image 82 shown in Fig. 11, and a third reference image 83 shown in Fig. 12 are prepared as the reference images 8. The first reference image 81 is an image of the large end portion 91. The second reference image 82 is an image of the connecting portion 93. The third reference image 83 is an image of the small end portion 92.

[0037] When the inspection target region 94 is the large end 91, the first reference image 81 is used to judge whether the appearance of the large end 91 is good or bad. As shown in FIG. 13, when the inspection target area 94 is a connecting portion 93, the second reference image 82 is used to determine whether the appearance of the connecting portion 93 is good or bad. Furthermore, as shown in FIG. 14, when the inspection target area 94 is a small end portion 92, a third reference image 83 is used to judge whether the appearance of the small end portion 92 is good or bad.

[0038] The image processing unit 33 performs a process of adjusting the scale of the reference image 8 and the inspection target image 71. Here, the "process of adjusting the scale" refers to adjusting the scan point data (point cloud data) per unit length (actual length). Specifically, the image processing unit 33 performs a process of making the reference image 8 a first corresponding image corresponding to the actual size of the workpiece 9, and making the inspection target image 71 a second corresponding image corresponding to the actual size of the workpiece 9. As a result, when the reference image 8 and the inspection target image 71 are compared in the judgment unit 34 described later, the reference image 8 and the inspection target image 71 can be compared at the same scale by using the first corresponding image and the second corresponding image. Therefore, the pass / fail judgment for the inspection target area 94 can be accurately performed. Furthermore, if the workpiece 9 is damaged, the damage may disappear from the inspection target image 71 depending on the scale of the inspection target image 71, but the image processing unit 33 can perform processing to emphasize the damage. This allows the determination unit 34 to determine that the damaged workpiece 9 is the workpiece 9B.

[0039] When the first inspection and the second inspection are performed, the judgment unit 34 first captures the extracted inspection target image 71. This makes it possible to reduce the amount of scan point data processed by the judgment unit 34 to, for example, 60% or less compared to the case where the entire image 7 of the workpiece 9 including areas other than the inspection target area 94 is captured, thereby making it possible to shorten the inspection time. Next, the judgment unit 34 compares the reference image 8 with the inspection target image 71, for example, by template matching, to judge whether the image is good or bad. For example, if the number of matches between the reference image 8 and the inspection target image 71 exceeds a threshold, the appearance of the inspection target area 94 is judged to be "good," and if the number of matches is equal to or less than the threshold, the appearance of the inspection target area 94 is judged to be "bad."

[0040] Furthermore, the judgment unit 34 performs a pass / fail judgment for each inspection target area 94. That is, the judgment unit 34 performs a pass / fail judgment for the big end 91 when the big end 91 is set in the inspection target area 94, a pass / fail judgment for the connecting portion 93 when the connecting portion 93 is set in the inspection target area 94, and a pass / fail judgment for the small end 92 when the small end 92 is set in the inspection target area 94. This allows the judgment of the pass / fail of the appearance of the entire work 9 to be performed without excess or deficiency. The visual inspection apparatus 1 can also change the inspection conditions, such as the threshold value, for each inspection target region 94.

[0041] Then, the judgment unit 34 judges the workpiece 9 to be defective when the judgment of the pass / fail of at least one of all (plurality of) inspection target areas 94 is negative. This makes it possible to detect defective products with high accuracy. Furthermore, the notification unit 6 can notify the inspection target area 94 that has been determined to be defective in the pass / fail judgment, thereby making it possible to grasp in which part the damage has occurred. After receiving the light LB of each wavelength at each light receiving section 24 (light receiving unit 22), the image processing section 33 or the determination section 34 can also extract the inspection object image 71 corresponding to a specific wavelength in signal processing or at the light receiving section 24. This reduces the scan point data of the inspection object image 71 processed by the determination section 34 by the amount of the wavelength specified, contributing to shortening the inspection time.

[0042] Next, a program for determining whether the workpiece 9 is good or bad will be described with reference to the flowcharts shown in Fig. 15 and Fig. 16. The program for determining whether the workpiece 9 is good or bad is stored in advance in the storage unit 32 of the control unit 3 and executed by the CPU 31. First, the transport unit 4 is operated (step S101) to transport the workpiece 9. Next, a first inspection is performed (step S102). Step S102 is a subroutine (see FIG. 16).

[0043] Next, the reversing mechanism 5 is operated (step S103) to turn the workpiece 9 upside down. Next, a second inspection is performed (step S104). Step S104 is a subroutine (see FIG. 16). Next, based on the results of the first and second inspections, it is determined whether the workpiece 9 is a pass or fail (step S105). If the determination in step S105 indicates that the workpiece 9 is a pass, the program is terminated. On the other hand, if the determination in step S105 indicates that the workpiece 9 is not a pass, the notification unit 6 notifies the defective part of the workpiece 9, i.e., the part where the damage is occurring, and the program is terminated.

[0044] Moreover, step S102 and step S104 are subroutines having the same steps (see FIG. 16). In the subroutine, first, the optical unit 2 scans and images the entire workpiece 9 (step S201). Next, the image processing unit 33 generates an image 7 of the entire workpiece 9 (step S202), and the judgment unit 34 extracts an inspection target image 71 from the image 7 (step S203).

[0045] Next, after the judgment unit 34 captures the inspection target image 71 (step S204), the image processing unit 33 aligns the reference image 8 with the inspection target image 71 (step S205) and performs a process of matching the scale (reduction scale) of the reference image 8 with the inspection target image 71 (preprocessing for image comparison) (step S206). Next, the judgment unit 34 compares the reference image 8 (first corresponding image) with the inspection target image 71 (second corresponding image) (step S207), and judges whether the appearance of the inspection target area 94 is good or bad (step S208).

[0046] Next, the determination unit 34 stores the result of the determination in step S208 in the storage unit 32 (step S209). Next, the determination unit 34 determines whether the inspection (first inspection or second inspection) has been completed for all inspection target areas 94 (step S210). If the result of the determination in step S210 is that the inspection has been completed, the subroutine is terminated, and if the inspection has not been completed, the process returns to step S203 and the subsequent steps are executed in sequence. By using the above-described program, the quality of the workpiece 9 can be determined quickly and accurately.

[0047] Furthermore, performing the process of adjusting the scale (smoothing process) has the following advantages. Since the dimensions of the actually manufactured workpiece 9 are finished to an outer shape including dimensional tolerances, the image 7 of the actual workpiece 9 and the reference image 8 obtained based on the design values, i.e., the reference image 8 not including dimensional tolerances, will not completely match, and there is a risk that all of the workpieces 9 will be judged as defective. Therefore, in the appearance inspection device 1, a process of adjusting the scale is performed to eliminate the difference between the image 7 and the reference image 8. This makes it possible to shorten the inspection time.

[0048] Although the visual inspection apparatus of the present invention has been described above with reference to the illustrated embodiment, the present invention is not limited to this, and each component constituting the visual inspection apparatus can be replaced with any component capable of exerting the same function. Also, any component can be added. In addition, the optical units 2 are arranged in 2 rows and 3 columns on the upstream side and downstream side in the transport direction in the above embodiment, but are not limited to this and may be arranged in, for example, 2 rows and 1 column, or 2 rows and 2 columns. The optical units 2 may be arranged at any position so long as they overlap with the belt 41 in a plan view. [Explanation of symbols]

[0049] 1...appearance inspection device, 2...optical unit, 2R...optical unit, 2G...optical unit, 2B...optical unit, 21...light irradiation unit, 22...light receiving unit, 23...light irradiation unit, 24...light receiving unit, 3...control unit, 31...CPU, 32...storage unit, 33...image processing unit, 34...judgment unit, 4...conveyor unit, 41...belt, 5...reversal mechanism, 6...notification unit, 7...image (whole image), 71...image to be inspected, 8...reference Image, 81...first reference image, 82...second reference image, 83...third reference image, 9...work, 9A...work, 9B...work, 91...large end, 92...small end, 93...connection, 94...inspection target area, 95...defective part, 10A...first cover, 10B...first cover, LB...light, LB'...reflected light, O41...center line, O52...axis, S101 to S107, S201 to S210...step, θ...angle (elevation angle)

Claims

1. A visual inspection device for inspecting the visual appearance of a workpiece, A conveying unit that conveys the workpiece; A plurality of optical units each including a light irradiation unit having a plurality of light irradiation parts that irradiate light toward the workpiece, and a light receiving unit having a plurality of light receiving parts that receive reflected light of the light from the light irradiation unit reflected by the workpiece; an image processing unit that generates an image of the entire workpiece based on a result of light reception of the entire workpiece by the light receiving unit; a judgment unit that extracts an inspection target image of an inspection target area to be inspected from the entire workpiece, compares the inspection target image with a reference image that is a standard for judging the quality of the appearance of the inspection target area, and makes the quality judgment; Equipped with The plurality of optical units include a first plurality of optical units; a second plurality of optical units arranged apart from the first plurality of optical units along a conveying direction of the work; Equipped with the first plurality of optical units are provided in a direction intersecting the transport direction, The second plurality of optical units are provided in a direction intersecting the conveying direction. A visual inspection apparatus comprising:

2. The visual inspection apparatus according to claim 1 , wherein the light irradiation unit irradiates a laser beam as the light.

3. An appearance inspection device as described in Claim 2, wherein the light irradiation unit irradiates the laser light in a line shape along a direction intersecting the transport direction of the workpiece.

4. The plurality of light irradiating sections of the light irradiating unit irradiate light beams having different wavelengths, The appearance inspection device according to any one of claims 1 to 3, wherein the image processing unit receives light of each wavelength with the light receiving unit, and then extracts the inspection object image corresponding to a specific wavelength with the light receiving unit.

5. The plurality of light irradiating sections of the light irradiating unit irradiate light beams having different wavelengths, 5. The visual inspection apparatus according to claim 1, wherein the plurality of light receiving sections of the light receiving unit individually receive the light beams having different wavelengths emitted from the light emitting sections.

6. An appearance inspection device as described in any one of claims 1 to 5, wherein the first plurality of optical units and the second plurality of optical units are arranged in pairs of the multiple light irradiating units and the multiple light receiving units.

7. The light irradiation unit has at least two light irradiation parts arranged along a conveying direction of the workpiece, 7. The appearance inspection device according to claim 1, wherein, of the two light irradiation units, the light irradiation unit provided on the upstream side in the transport direction irradiates the light from the upstream side to the downstream side in the transport direction, and the light irradiation unit provided on the downstream side in the transport direction irradiates the light from the downstream side to the upstream side in the transport direction.

8. 8. The visual inspection device according to claim 1, wherein the light emitting unit and the light receiving unit constitute a laser length measuring device that measures a distance to the workpiece.

9. The workpiece has a plurality of inspection target areas each positioned differently from one another, 9. The visual inspection apparatus according to claim 1, wherein the determination section performs the pass / fail determination for each of the inspection target areas.

10. 10. The visual inspection apparatus according to claim 9, wherein the judgment unit judges the workpiece to be defective when the pass / fail judgment for at least one of the plurality of inspection target areas is negative.

11. The visual inspection apparatus according to claim 10 , further comprising a notification unit that notifies the inspection target area that has been determined to be defective in the pass / fail determination.

12. 12. The visual inspection apparatus according to claim 1, wherein the image processing unit performs processing for matching a scale of the reference image with a scale of the inspection target image.

13. The reference image is an image obtained based on a design value of the workpiece, The image processing unit performs processing to set the reference image as a first corresponding image corresponding to the actual size of the workpiece, and to set the inspection target image as a second corresponding image corresponding to the actual size of the workpiece, 13. The visual inspection apparatus according to claim 1, wherein the determination unit performs the pass / fail determination by comparing the first corresponding image with the second corresponding image.

14. A reversing mechanism for reversing the workpiece is provided, 14. The visual inspection device according to claim 1, wherein visual inspection is performed on a front side of the workpiece and a back side of the workpiece.

Citation Information

Patent Citations

  • System and method for field calibration of a vision system imaging two opposite sides of a calibration object

    EP3470778A1

  • Three dimensional shape measuring method

    JP1998068607A

  • Imaging apparatus and imaging method for reading two or more regions

    JP2004023256A

  • Buckling inspection device and method

    JP2004085204A

  • Device and method for inspecting printed matter

    JP2008064486A