Inspection device and object detection method

The inspection device and method accurately detect and correct the position of objects on conveyor belts by imaging and processing object presence and position, addressing reliability issues in existing methods.

JP2024128810APending Publication Date: 2024-09-24OMRON CORP
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
JP2023038040
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-03-10
Publication Date
2024-09-24

AI Technical Summary

Technical Problem

Existing inspection methods for detecting objects on conveyor belts in manufacturing processes are unreliable due to issues such as misjudgment of object presence or position caused by conveyor malfunctions, foreign objects, or irregular board shapes, leading to incorrect determination of object presence and position.

Method used

An inspection device and method that uses an imaging unit to capture images along the transport direction of objects, processes the images to detect object presence and position, and sets detection areas based on object length, shape, and brightness information, supplemented by position detection using electromagnetic or sound waves, ensuring accurate detection and correction of object position.

Benefits of technology

The method reliably detects and corrects the position of objects on conveyor belts, enhancing the accuracy and efficiency of object inspection processes, even with irregular shapes or conveyor malfunctions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024128810000001
    Figure 2024128810000001
Patent Text Reader

Abstract

To surely detect an object supported and conveyed by a conveyance section.SOLUTION: An inspection device for inspecting an appearance of an object comprises: an object conveyance section that supports the object and conveys the object in the inspection device; an object detection section that detects the object supported by the object conveyance section; an imaging section that images a detection target region including at least part of a region in which the conveyed object is to move along a direction in which the object is conveyed; and a moving section that moves the imaging section. The object detection section includes an image processing section for processing an image captured by the imaging section and detects the object supported by the object conveyance section on the basis of information acquired by processing the image.SELECTED DRAWING: Figure 3
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

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

[0002] In the manufacturing process or distribution process of articles such as products or parts, various inspections and processing of the articles are performed. For example, the surface mounting process of electronic circuit boards consists of a process of printing solder paste on the surface of the printed circuit board, a process of mounting electronic components on the printed circuit board, and a process of melting solder in a reflow furnace to fix the electronic components. In an automated line, a board inspection device is placed between each process to automatically inspect the printed circuit board itself for defects, printing defects, mounting defects, soldering defects, etc. Among them, a board appearance inspection device (hereinafter also simply referred to as "device") that inspects the printed circuit board by photographing it with a camera and analyzing the obtained image is widely used for various types of inspections because it can perform non-contact, high-speed, and high-precision inspection. In the following specification, both electronic circuit boards and printed circuit boards may be simply referred to as "boards".

[0003] Here, the substrate is carried into the device by rotating the conveyor belt that supports the substrate, and when it is detected that the substrate has reached a predetermined position, the conveyor is stopped. A method for confirming that a substrate is on the conveyor in the device is known in which the conveyor is rotated for a fixed period of time, and the substrate, which is transported in accordance with the rotation of the conveyor, blocks the optical path of a fiber sensor arranged to intersect the conveyor at a right angle, thereby confirming the presence of the substrate (see Patent Document 1).

[0004] However, with this type of presence detection method, if the board is not transported in accordance with the rotation of the conveyor for some reason (for example, it may be pinched by the conveyor, fall off the conveyor, slip on the conveyor, etc.), the optical path of the fiber sensor will not be blocked within a certain period of time, and it will be erroneously determined that the board is not present in the device even though it is actually present in the device.

[0005] Furthermore, if there is a foreign object on the conveyor, such as a whisker or frayed part in the belt used for transportation, this foreign object will block the optical path of the fiber sensor, causing the equipment to erroneously determine that there are boards present, even though there are no boards in the equipment.

[0006] In addition, in boards with unique component mounting, such as connectors protruding from the edge of the board, the arrival sensor, which is a fiber sensor that detects when the board has reached a designated stopping position, uses the edge of the board as a reference point, so it may mistakenly detect the tip of the protruding connector as the edge of the board, causing the board to stop short of the stopping position.

[0007] Furthermore, in cases where the substrate has a distinctive shape, such as a slit parallel to the surface formed at the edge of the substrate, or a notch cut out in part of the width direction at the edge of the substrate, the light blocking function of the arrival sensor does not function correctly, causing the substrate to stop past the stopping position. [Prior art documents] [Patent documents]

[0008] [Patent Document 1] Patent No. 6880696 Summary of the Invention [Problem to be solved by the invention]

[0009] The present invention has been made in consideration of the above-mentioned problems, and has an object to provide a technique for reliably detecting an object supported and transported by a transport section. [Means for solving the problem]

[0010] To solve the above problems, the present invention provides: An inspection device for inspecting the appearance of an object, comprising: an object transport unit that supports the object and transports it through the inspection device; an object detection unit that detects the object supported by the object transport unit; an imaging unit that images a detection target area including at least a part of an area in which the transported object should move along a direction in which the object is transported; A moving unit that moves the imaging unit; Equipped with The object detection unit includes an image processing unit that processes the image captured by the imaging unit, and detects the object supported by the object transport unit based on information obtained by processing the image.

[0011] According to this, the detection target area including at least a part of the area where the transported object should move along the transport direction of the object is imaged by the imaging unit, so that the area where the object would move if it were normally transported by the object transport unit, i.e., at least a part of the area where the object may exist, is imaged along the transport direction of the object. Therefore, if there is an object supported and transported by the object transport unit, at least a part of the object can be imaged. The presence or absence or position of the object supported by the object transport unit is detected based on information acquired by processing the image thus captured in the image processing unit, so that the object supported by the object transport unit can be reliably detected.

[0012] In the present invention, The detection target area may be set based on a length of the object in the transport direction associated with an inspection program executed in the inspection device.

[0013] Since the length of the object in the transport direction is associated with the inspection program executed by the inspection device, the detection target area can be set based on the length of the object in the transport direction so that the distance between one detection target area and the next detection target area along the transport direction is set to be smaller than the length of the object in the transport direction. By setting in this manner, the object supported by the object transport unit is always included in one of the detection target areas. Therefore, even if the detection target areas are set discretely along the transport direction rather than continuously over the entire area through which the transported object must move, the object can be reliably detected and the time required to detect the inspection object can be reduced.

[0014] In the present invention, The detection target area may be set based on the length in the transport direction of an object that has the shortest length in the transport direction among the objects that can be inspected by the inspection device.

[0015] Typically, the specifications of the inspection device stipulate the length in the transport direction of the object that has the shortest length in the transport direction among the objects that can be inspected. By setting the detection target area based on the length of the object that has the shortest length in the transport direction, it is possible to set the distance between one detection target area and the next detection target area along the transport direction to be smaller than the shortest length in the transport direction of the object. By setting the detection target area in this manner, the length in the transport direction of the inspectable object is longer than the length of the object with the shortest length in the transport direction, so if there is an inspectable object, it will definitely be included in one of the detection target areas. Therefore, Even if the detection target area is set discretely along the transport direction rather than continuously over the entire area through which the object to be inspected must move, the object can be detected reliably and the time required to detect the object to be inspected can be shortened.

[0016] In the present invention, The detection target area may be set based on a shape of an end portion of the object in the transport direction.

[0017] In this way, even if the end of the object in the transport direction has a protrusion, notch, slit, etc. and the shape of the end of the object in the transport direction is irregular, it is possible to accurately detect the presence or position of the object by setting the detection target area based on that shape.

[0018] In the present invention, the information is luminance information regarding luminance included in the image, The object detection unit may detect the presence or absence of the object supported by the object transport unit based on the luminance information. However, the information acquired by image processing is not limited to luminance information, and may be hue information related to hue or saturation information related to saturation, or a combination of these, and any appropriate feature amount that can be acquired by image processing may be used.

[0019] In the present invention, The apparatus may further include a position detection unit that detects the position of the object based on electromagnetic waves or sound waves reflected or blocked by the object supported and transported by the object transport unit.

[0020] Since the position detection unit can also detect the object supported by the object transport unit, the position detection unit can be used to complement the detection of the object, and the image capture unit can be used to detect the object. This allows for more reliable detection of the object.

[0021] In the present invention, the position detection unit includes an arrival position detection unit that detects arrival of the object transported by the object transport unit at a stop position; The imaging section may image the detection target area including the stop position.

[0022] In the present invention, The imaging section may be an inspection imaging section that images the object in order to inspect the appearance of the object.

[0023] By using an inspection imaging unit that images the object for visual inspection of the object, and detecting the presence or absence of an object supported by the object transport unit, there is no need to provide a new imaging unit to detect the presence or absence of an object, thereby reducing costs and space requirements.

[0024] In the present invention, a position calculation unit that calculates a position of the object when the object detection unit detects the object supported by the object transport unit; a position correction instruction unit that causes the object transport unit to transport the object to a predetermined position based on the calculated position; and The above configuration may be adopted.

[0025] In this way, the object supported by the object conveying unit can be detected without being limited to the detection. However, if an object supported by the object transport unit is present but not at the specified position, the object can be transported to the specified position, allowing the inspection device to perform normal operation.

[0026] In the present invention, The apparatus may further include a position detection unit that detects the position of the object based on electromagnetic waves or sound waves reflected or blocked by the object supported and transported by the object transport unit.

[0027] In this way, since the position detection unit can detect the object supported by the object transport unit, the position detection unit can be used to complement the detection of the object, and the image capture unit can be used to detect the object. This makes it possible to more reliably detect the object and transport the object to a specified position, allowing the inspection device to perform normal operations.

[0028] In the present invention, the position detection unit includes an arrival position detection unit that detects arrival of the object transported by the object transport unit at a stop position; The imaging section may image the detection target area including the stop position.

[0029] According to this, even if the arrival position detection unit cannot accurately detect the arrival of the object at the stopping position, it is possible to accurately correct the position of the object based on the information obtained by processing the image captured by the imaging unit in the image processing unit.

[0030] In the present invention, the position detection unit includes an upstream position detection unit located upstream of the arrival position detection unit in the conveying direction of the object, The moving unit may move the imaging unit to a position where an image of the detection target area including the stop position can be captured, based on a timing when the upstream position detection unit detects the object.

[0031] According to this, the imaging unit moves to a position where it can image the detection target area including the stopping position based on the timing when the upstream position detection unit detects the target object, so that the imaging unit can capture an image in time with the target object arriving at the stopping position, making it possible to accurately detect the target object and correct its position without spending extra time.

[0032] The present invention also provides a method for producing a semiconductor device comprising the steps of: 1. An object detection method for detecting the presence or absence of an object supported by an object transport unit and transported through an inspection device that inspects the appearance of an object, comprising: Taking an image of a detection target area including at least a part of an area in which the transported object should move along a transport direction of the object; The present invention is characterized in that the presence or absence of the object supported on the object transport section is detected based on information acquired by processing the captured image.

[0033] In the present invention, The detection target area may be set based on a length of the object in the transport direction associated with an inspection program executed in the inspection device.

[0034] In the present invention, The detection target area may be set based on the length in the transport direction of an object that is the shortest among the objects that can be inspected by the inspection device. .

[0035] In the present invention, The detection target area may be set based on a shape of an end portion of the object in the transport direction.

[0036] In the present invention, the information is luminance information regarding luminance included in the image, The presence or absence of the object supported by the object transport section may be detected based on the luminance information.

[0037] In the present invention, The inspection device may include a position detection unit that detects the position of the object based on electromagnetic waves or sound waves reflected or blocked by the object supported and transported by the object transport unit.

[0038] In the present invention, the position detection unit includes an arrival position detection unit that detects arrival of the object transported by the object transport unit at a stop position; The detection target area may include the stopping position.

[0039] In the present invention, The detection target region may be imaged by an inspection imaging section that images the object in order to inspect the appearance of the object.

[0040] In the present invention, When detecting the presence of the object supported by the object transport unit, calculating the position of the object; The object may be transported to a predetermined position by the object transport unit based on the calculated position.

[0041] In the present invention, The inspection device may include a position detection unit that detects the position of the object based on electromagnetic waves or sound waves reflected or blocked by the object supported and transported by the object transport unit.

[0042] In the present invention, the position detection unit includes an arrival position detection unit that detects arrival of the object transported by the object transport unit at a stop position; The detection target area may include the stopping position.

[0043] In the present invention, the position detection unit includes an upstream position detection unit located upstream of the arrival position detection unit in the conveying direction of the object, The imaging unit may be moved to a position where it can capture an image of the detection target area including the stop position, based on a timing when the upstream position detection unit detects the object. Effect of the Invention

[0044] According to the present invention, it is possible to reliably detect an object supported and transported by a transport section. [Brief description of the drawings]

[0045] [Figure 1] 1 is a diagram showing an overview of a substrate inspection device according to an embodiment of the present invention; [Diagram 2] 1A and 1B are a front view and a side view of a substrate inspection device according to an embodiment of the present invention. [Diagram 3] 1 is a block diagram of a substrate inspection device according to an embodiment of the present invention. [Figure 4]1A to 1C are schematic diagrams illustrating an object detection method according to an embodiment of the present invention. [Diagram 5] 1 is a flowchart illustrating a reference value obtaining method according to an embodiment of the present invention. [Figure 6] 1 is a flowchart illustrating an object detection method according to an embodiment of the present invention. [Figure 7] 1A to 1C are schematic diagrams illustrating an object detection method according to an embodiment of the present invention. [Figure 8] 10 is a flowchart illustrating another object detection method according to an embodiment of the present invention. [Figure 9] 10A to 10C are schematic diagrams illustrating another object detection method according to an embodiment of the present invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0046] [Application example] Hereinafter, application examples of the present invention will be described with reference to the drawings.

[0047] 1 and 2, in the substrate inspection device 1 according to this application example, a substrate K to be inspected is supported by conveyor belts 11a and 11b and conveyed from the upstream side to the downstream side in the X direction. The substrate inspection device 1 is provided with fiber sensors 15, 16, and 17 that detect the passage or arrival of the substrate K based on the amount of light that changes as a result of being blocked by the substrate K conveyed on the conveyor belts 11a and 11b.

[0048] However, since the fiber sensors 15, 16, and 17 may not be able to accurately detect whether or not the substrate K is present (loaded) on the conveyor belts 11a and 11b, the substrate inspection device 1 of this application example detects the presence of the substrate K by using a camera 13c for visual inspection of the substrate K.

[0049] In this object detection method, a standard value that serves as a reference for determining the presence of a cargo is first obtained, and then the presence determination is performed using the standard value.

[0050] A method for obtaining the reference value will be described with reference to the schematic diagram shown in FIG. 4 and the flow chart shown in FIG. First, the camera 13c is moved to a reference position (step S1). Here, when the optical path L17 of the detection light emitted from the light projecting unit 17a of the fiber sensor 17 intersects with the line L1 set on the conveyor belt 11b as viewed from above at a reference position P1, the position of the camera 13c where the center of the field of view V1 in the X direction and the Y direction coincides with the reference position P1 is set as the reference position.

[0051] Next, in a state where no substrate K is present on the conveyor belts 11a and 11b, the camera 13c is moved from the reference position along the conveyor belt 11b of the substrate rail 21b serving as the reference rail toward the tip position side (left side in FIG. 4) by the first interval, and photographs are taken n times (seven times in FIG. 4) to obtain n RGB images (step S2). Here, the first interval when the camera 13c is moved from the reference position toward the upstream side in the X direction along the conveyor belt 11b is set to an interval such that adjacent visual fields Vk and Vk+1 (1≦k≦6) are in contact with each other and the visual fields Vk and Vk+1 are continuous with no gap between them.

[0052] Next, one line at the reference position P1 in the Y direction, i.e., one line along the above-mentioned line L1, is subjected to HSV conversion, and the median value of H (Hue) and V (Value) of each pixel in the X direction is obtained and held as a reference value (step S3).

[0053] An object detection method using the reference values ​​thus acquired will be described with reference to the flow chart shown in FIG. 6 and the schematic diagram shown in FIG.

[0054] Here, camera 13c is moved to a reference position (step S11), and then moved from the reference position upstream along the X direction by a second interval D2 based on the minimum board length Lmin in the specifications if the board length (the length of board K in the X direction) is unknown, or by a third interval D3 based on the board length L if it is known from the inspection program, and then photographed to obtain an RGB image (steps S12 to S14). Here, as the second distance D2, as shown in FIG. 7, by setting a value D2 smaller than the sum Lmin+WV of the specified minimum substrate length Lmin and the length WV of the field of view Vk in the X direction, at least a portion of the substrate K is included in the field of view Vk when photographing at any position along the X direction.

[0055] Then, one line passing through the reference position P1 in the Y direction of the RGB image, i.e., one line along the line L1, is converted into HSV, the H and V values ​​are compared with the reference values ​​(step S15), and it is determined whether the difference between the H and V values ​​and the reference values ​​is greater than a predetermined threshold (step S16). If it is determined that the difference between the H and V values ​​and the reference values ​​is greater than the predetermined threshold, it is determined that the substrate K is present on the conveyor belts 11a and 11b (step S17), and if it is determined that the difference between the H and V values ​​and the reference values ​​is equal to or less than the predetermined threshold, it is determined that the substrate K is not present on the conveyor belts 11a and 11b within the photographed field of view (step S18).

[0056] Then, in step S19, it is determined whether or not the substrate K is present at the terminal position, i.e., the detection position of the fiber sensor 17. If it is determined that the substrate K is not present at the terminal position, an abnormality is reported (step S20) and the processing is terminated. If it is determined that the substrate K is present at the terminal position, it is determined that the substrate K has been transported to the appropriate position (step S21), and the processing is terminated.

[0057] Furthermore, if it is determined in step S18 that there is no substrate K on the conveyor belts 11a and 11b within the photographed field of view, it is determined whether photographing within the field has been completed (step S22). Then, if it is determined that photographing within the range has been completed, it is determined that there is no substrate K within the substrate inspection apparatus 1 (step S23), and the process ends. If it is determined that photographing within the range has not been completed, the processes from step S12 onwards are repeated.

[0058] By such a presence detection process, the presence state of the substrates K can be detected reliably.

[0059] Example 1 The following describes in detail the form for carrying out the present invention by way of examples, with reference to the drawings (including the drawings that have been described in the above application examples) in sequence. However, the specific configurations described in the examples are not intended to limit the scope of the present invention to those configurations unless otherwise specified. Note that, although the following describes an example in which the present invention is applied to the inspection of electronic circuit boards, the target article of the present invention is not limited to electronic circuit boards.

[0060] (Device configuration) Figures 1 and 2 show schematic diagrams of the configuration of a substrate inspection device 1 in this embodiment. Figure 1 is a top view of the device, Figure 2(a) is a front view of the device, and Figure 2(b) is a side view of the device. Note that, for convenience of explanation, the internal structure of the device is shown transparently in Figures 1 and 2, but the actual device is covered with a case, and it is not possible to visually confirm the internal structure of the device from the outside, or to easily access the inside of the device (due to safety restrictions).

[0061] This board inspection device 1 is an appearance board inspection device that photographs the board K to be inspected with a camera and performs various inspections of the board K by analyzing the obtained image. For example, it is used for the purpose of inspecting for printing defects of solder paste between the printing process and the mounting process of a surface mounting line, inspecting for mounting defects of components between the mounting process and the reflow process, or inspecting for soldering defects downstream of the reflow process. The board K corresponds to the object of the present invention, and the board inspection device 1 corresponds to the inspection device of the present invention.

[0062] As shown in FIG. 1 and FIG. 2, the substrate inspection device 1 has a configuration in which a conveying lane 11 is provided on a horizontal table constituted by a main frame 10. Hereinafter, the conveying direction of the substrate K is called the X direction, the direction perpendicular to the X direction in the horizontal plane is called the Y direction, and the vertical direction is called the Z direction. The conveying lane 11 is composed of a substrate rail 21a having a conveying belt 11a and a substrate rail 21b having a conveying belt 11b. The substrate K carried in from the upstream device is conveyed to the downstream side in the X direction while being supported at both ends in the Y direction by the two conveying belts 11a and 11b. In addition, in the conveying lane 11, fiber sensors 15, 16, and 17 that detect the passage or arrival of the substrate K conveyed on the conveying belts 11a and 11b are provided from the upstream side to the downstream side in the X direction along the conveying belts 11a and 11b. Here, the X direction corresponds to the conveying direction of the present invention.

[0063] An inspection head 13 is disposed above the horizontal table on which the transport lane 11 is installed. The inspection head 13 is configured to include a light 13a for illuminating the substrate K during imaging, an optical system 13b, and a camera 13c. The configuration of the inspection head 13 is based on the type of inspection. It may be designed appropriately depending on the purpose. For example, when performing an inspection using a so-called color highlight method, it is sufficient to use an illumination 13a consisting of a ring-shaped light source of three colors, RGB, and a camera 13c capable of color photography. The inspection head 13 is attached to a head moving mechanism 31 capable of two-axis control in the X and Y directions. The camera 13c corresponds to the imaging section and the inspection imaging section of the present invention, and the head moving mechanism 31 corresponds to the moving section of the present invention.

[0064] In this embodiment, since there are often multiple inspection target portions (components) in one board, the head moving mechanism 31 moves the inspection head 13 to a shooting position where the inspection target portions are within the field of view during inspection. Coordinate information of each shooting position is set in advance for each type of board K. Note that the board inspection device 1 in this embodiment has a one-lane, one-camera configuration, so one inspection head 13 is moved to inspect the board K. The device configuration is not limited to this, and it may have multiple transport lanes and an inspection head may be provided for each transport lane, or one inspection head may be moved to inspect the boards K on the multiple transport lanes. The transport belts 11a and 11b correspond to the object transport unit of the present invention.

[0065] 3 is a block diagram of the board inspection device 1. The first transport rail axis 30a and the second transport rail axis 30b are movement mechanisms 30 for changing the Y-direction positions of the board rails 21a, 21b, 22a, and 22b, respectively, and can be configured by actuators such as ball screws. The X-axis 31a and the Y-axis 31b are actuators that configure the head movement mechanism 31 for moving the inspection head 13 in the X-direction and Y-direction, and can also be configured by ball screws. The board transport axis 32 is a mechanism for rotating the transport belts 11a and 11b of the transport lane 11. The conveying lane 11 is also provided with fiber sensors 15, 16, and 17 that receive detection light emitted from light-emitting units 15a, 16a, and 17a with light-receiving units 15b, 16b, and 17b, respectively, and detect the passage or arrival of a board K by the amount of received light being blocked by the board K and decreasing. The light-emitting units 15a, 16a, and 17a and the light-receiving units 15b, 16b, and 17b are connected to fiber amplifiers 15c, 16c, and 17c, respectively, by optical fibers. The fiber amplifiers 15c, 16c, and 17c control the amount of detection light emitted from the light-emitting units 15a, 16a, and 17a, respectively. The amounts of light received by light-receiving units 15b, 16b, and 17b are detected by fiber amplifiers 15c, 16c, and 17c, respectively. The sensor for detecting the passage or arrival of substrate K is not limited to a sensor that detects position using light, such as fiber sensor 17, but a sensor that detects position using sound waves may also be used. Here, fiber sensors 15, 16, and 17 correspond to the position detection section of the present invention, fiber sensor 17 corresponds to the arrival position detection section of the present invention, and fiber sensors 15 and 16 correspond to the upstream position detection section. Also, here, detection light corresponds to electromagnetic waves of the present invention.

[0066] The control unit 33 is a microprocessor unit for controlling each part of the substrate inspection apparatus 1, and is configured to include, for example, a PLC (programmable logic controller). The control unit 33 has a function as an axis control unit 33a for controlling the driving of each mechanism (actuator) described above, and a function as an imaging / illumination control unit 33b for controlling the driving of the illumination 13a and the camera 13c of the inspection head 13. In addition, the control unit 33 has a function as a sensor control unit 33c for acquiring information from the fiber amplifiers 15c, 16c, and 17c via the sensor communication units 15d, 16d, and 17d, and controlling the operation of the fiber amplifiers 15c, 16c, and 17c. The PC 34 and the operation monitor 35 are used by the operator to input operation instructions to the substrate inspection apparatus 1 and to perform various settings.

[0067] The PC 34 is a computer having, for example, a processor such as a CPU or a GPU, a main storage device such as a RAM or a ROM, and an auxiliary storage device such as an EPROM, a hard disk drive, or a removable medium. The auxiliary storage device stores an operating system (OS), various programs such as an inspection program and a presence detection program, and various tables, and the programs stored therein are loaded into a working area of ​​the main storage device and executed, and each component is controlled through the execution of the programs, thereby realizing each function that matches a predetermined purpose. The PC 34 has functions as an image processing unit 34a, a presence detection control unit 34b, and a reference value storage unit 34c for executing a presence detection process for the board K described later. The PC 34 and the operation monitor 35 may be integrally configured with the board inspection device 1, or may be configured as a personal computer (for example, a mobile PC, a slate terminal, a smartphone, etc.) separate from the board inspection device 1. Here, the image processing unit 34a corresponds to the image processing unit of the present invention, and the image processing unit 34a and the presence detection control unit 34b correspond to the object detection unit of the present invention. As will be described later, the presence detection control unit 34b corresponds to a position calculation unit and a position correction instruction unit of the present invention.

[0068] (Object detection method) 4 is a schematic diagram showing the relationship between the conveyor belts 11a and 11b of the conveyor lane 11 and the light projecting units 15a, 16a, and 17a of the three fiber sensors 15, 16, and 17 arranged along the conveyor lane 11. The fiber sensor 17 including the light projecting unit 17a downstream in the X direction is a so-called arrival sensor, and when it detects that the end of the substrate K has interrupted the optical path L17 of the fiber sensor 17, the axis control unit 33a determines that the substrate K has arrived at a predetermined inspection position and stops the rotation of the conveyor belts 11a and 11b. In the object detection method described below, the above-mentioned camera 13c for appearance inspection is used.

[0069] 4, a rectangle surrounded by a dashed line indicates one field of view when photographing with camera 13c. As described above, the camera is attached to head moving mechanism 31, and can be moved to an appropriate position in the XY directions by imaging / illumination control unit 33b to photograph.

[0070] FIG. 5 is a flowchart illustrating a method for acquiring a reference value that serves as a reference in detecting the presence of a package. First, the presence detection control unit 34b of the PC 34 outputs a command to the image capture / illumination control unit 33b. Then, the camera 13c is moved to a reference position (step S1). Here, when the reference position P1 is defined as the position where the optical path L17 of the detection light emitted from the light projecting unit 17a intersects with the line L1 set on the conveyor belt 11b when viewed from above, the position of the camera 13c where the center of the field of view V1 in the X direction and the Y direction coincides with the reference position P1 is defined as the reference position. Here, the installation position of the fiber sensor 17 including the reference position P1 (the position to be detected by the fiber sensor 17) corresponds to the stop position and the predetermined position of the present invention.

[0071] Next, the presence detection control unit 34b of the PC 34 outputs a command to the imaging / illumination control unit 33b, and in a state where no board K is present on the conveyor belts 11a and 11b, the camera 13c moves from the reference position along the conveyor belt 11b of the board rail 21b serving as the reference rail toward the tip position side (left side in FIG. 4) by the first interval, and captures n times (seven times in FIG. 4) to obtain n RGB images (step S2). Here, the first interval when the camera 13c is moved from the reference position toward the upstream side in the X direction along the conveyor belt 11b is set to an interval such that adjacent fields of view Vk and Vk+1 (1≦k≦6) are in contact with each other and are continuous between the fields of view Vk and Vk+1 without any gaps. Here, the area included in the field of view Vk (1≦k≦6) corresponds to the detection target area of ​​the present invention.

[0072] Next, the image processing unit 34a of the PC 34 converts one line of the RGB images acquired in step S2 at the reference position P1 in the Y direction, i.e., one line along the above-mentioned line L1, into HSV, and acquires the median value of H (Hue) and V (Value) of each pixel in the X direction as a reference value, and the presence detection control unit 34b stores and holds this reference value in the reference value storage unit 34c of the PC 34 (step S3). That is, the reference value is acquired based on the RGB image of the portion along the line L1 of the conveyor belt 11b. Here, the value of V corresponds to the brightness information of the present invention.

[0073] FIG. 6 is a flowchart illustrating the object detection method according to this embodiment. First, the presence detection control unit 34b of the PC 34 outputs a command to the image capturing / illumination control unit 33b to move the camera 13c to the above-mentioned reference position (step S11).

[0074] Next, the presence detection control unit 34b judges whether or not there is an inspection program (step S12). This is because, if there is an inspection program, information on the size of the board K to be inspected is included, and information on the length of the board K in the X direction can be obtained. The inspection program corresponds to the inspection program of the present invention, and the length of the board K in the X direction corresponds to the length of the object in the transport direction of the present invention. If it is determined in step S12 that there is no inspection program, the presence detection control unit 34b of the PC 34 outputs a command to the imaging / illumination control unit 33b to move the camera 13c from the reference position toward the tip position by the second distance D2 along the conveyor belt 11b of the board rail 21b and capture an RGB image by photographing (step S13). However, when this step S13 is executed for the first time, the camera 13c is moved to the reference position and captures an RGB image by photographing, and from the second time onwards, it is moved by the second distance toward the tip position from the previous photographing position and captures an RGB image by photographing.

[0075] Here, the second interval D2 can be set to, for example, a value shown in FIG. 6. Here, the board length of the shortest board Kmin that can be inspected in the board inspection device 1 according to the specifications is set to Lmin. In this case, if the camera 13c moves in the X direction from the visual field V1 when it is in the reference position toward the tip position by Lmin+WV or more, the board Kmin cannot be detected even if it is between the visual fields V1 and V2. For this reason, if the second interval D2 is set to satisfy Lmin+WV>D2, even if the board Kmin is the shortest in the specifications, part of the board Kmin will be included in one of the visual fields Vk, and detection will be possible regardless of the board length of the board K that is transported. Here, the board Kmin is set to the length that can be inspected in the inspection device of the present invention. The minimum substrate length Lmin corresponds to the length in the transport direction of the object that has the shortest length in the transport direction among all possible objects, and the minimum substrate length Lmin corresponds to the length in the transport direction of the object that has the shortest length in the transport direction among all objects that can be inspected by the inspection device of the present invention. The field of view Vk captured by the camera 13c is not limited to being set discretely as described above, but may be set continuously with no gaps between them as shown in FIG.

[0076] Next, the image processing unit 34a performs HSV conversion on one line passing through the reference position P1 in the Y direction of the RGB image, i.e., one line along the line L1, and the presence detection control unit 34b compares the H and V values ​​with reference values ​​(step S15). Then, the presence detection control unit 34b judges whether the difference between the values ​​of H and V and the reference values ​​is greater than a predetermined threshold value (step S16).

[0077] If it is determined that the differences between the values ​​of H and V and the reference values ​​are greater than the predetermined thresholds, it is determined that the substrate K is present on the transport belts 11a and 11b (step S17), and the process proceeds to step S19. Furthermore, if it is determined that the difference between the H and V values ​​and the reference value is equal to or less than a predetermined threshold value, it is determined that there is no substrate K on the conveyor belts 11a and 11b within the photographed field of view (step S18), and the process proceeds to step S22.

[0078] Next, in step S19, the presence detection control unit 34b determines whether or not the board K is present at the end position, that is, the detection position of the fiber sensor 17. If it is determined in step S19 that the substrate K is not present at the terminal position, it means that the substrate K is present at a position along the way to the terminal position, and there is a possibility that some abnormality has occurred. Therefore, the presence detection control unit 34b notifies of the abnormality by displaying a message on the operation monitor 35, etc. (step S20), and the processing ends. If it is determined in step S19 that the board K is at the end position, it is determined that the board K has been transported to the correct position (step S21), and the presence detection control unit 34b ends the process.

[0079] In step S22, the presence detection control unit 34b judges whether the photographing within the range has been completed. Here, the range is set to include, for example, the detection area of ​​the fiber sensor 15 to the detection area of ​​the fiber sensor 17. This range may be set appropriately depending on the purpose of the presence detection process. Then, when it is determined that the photographing of the range has been completed, the presence detection control unit 34b determines that there is no board K in the board inspection device 1 (step S23) and ends the process. At this time, the presence detection control unit 34b may display that fact on the operation monitor 35 or the like. If it is determined that the photographing of the range has not been completed, the presence detection control unit 34b returns to step S12 and continues the process. However, at this time, since the presence detection control unit 34b recognizes the information on the presence or absence of the inspection program, it may skip step S12 and proceed to step S13 or step S14 depending on the presence or absence of the inspection program.

[0080] Finally, the process of step S14 when it is determined in step S12 that there is an inspection program will be described. In this case, since the board length L of the board K is known by the inspection program, the explanation in FIG. 7 in which the minimum board length Lmin is replaced with a general board length L is valid, and a value that satisfies L+WV>D3 can be set as the third interval D3. By setting the third interval D3 in this manner, even if the field of view Vk at the time of shooting and the next field of view Vk+1 are set discretely as the camera 13c moves, the board K to be transported can be reliably detected. However, when this step S14 is executed for the first time, the camera 13c is moved to the reference position to capture an RGB image by shooting, and from the second time onwards, it is moved by the third distance from the previous shooting position toward the tip position to capture an RGB image by shooting. Following step S14, the process proceeds to step S15, and the subsequent processes are as described above, so a description thereof will be omitted. In this case, the field of view Vk captured by the camera 13c is not limited to being set discretely, but may be set continuously without gaps between them as shown in FIG.

[0081] In the substrate inspection device 1, the width of the conveyor belts 11a and 11b may be changed when the size of the substrate K to be inspected changes due to a change in setup. In such a case, if the substrate K is present, it may be damaged when the width of the conveyor belts 11a and 11b is changed, so it is effective to perform the presence detection process of this embodiment during such a change in setup. Furthermore, when the substrate inspection apparatus 1 recovers from some kind of error, each function is stopped, so it may not be possible to know whether the substrate K is present or not. In such cases, the presence detection process of this embodiment is also effective.

[0082] By such a presence detection process, the presence state of the substrates K can be detected reliably. Furthermore, as described in the prior art, a connector protrudes from the end of the substrate, and the fiber sensor 17 does not mistakenly determine that the tip of the connector has reached the terminal position as the end of the substrate K having arrived, causing the rotation of the conveyor belts 11a and 11b to stop before the end of the substrate K reaches the terminal position, thereby making it possible to reliably detect whether the substrate K is positioned correctly.

[0083] In the flowchart shown in FIG. 6, each time a photograph is taken by the camera 13c, the presence or absence of the substrate K within the field of view at that time is determined. However, the presence or absence of the substrate K may be determined after all photographs within the range have been taken. In addition, in this embodiment, as shown in FIG. 2, presence detection is performed by the camera 13c used for visual inspection of the substrate K, but presence detection may also be performed by using a camera other than the camera 13c used for visual inspection of the substrate K. In addition, in this embodiment, the presence detection is performed based on image data for one line L1, but image data for multiple lines may be used, or image data for the entire field of view in the Y direction may be used. In addition, in this embodiment, data obtained by converting an RGB image into HSV is used, but the image processing method is not limited to this.

[0084] (Other object detection methods) Fig. 8 shows a flowchart for explaining the processing procedure of another object detection method. Except for the processing when it is determined in step S19 that the substrate K is not present at the end position, the processing is the same as that shown in the flowchart of Fig. 6, so different processing will be explained and the same processing as that shown in the flowchart of Fig. 6 will not be explained.

[0085] Here, when it is determined that the substrate K is not at the end position, the presence detection control unit 34b calculates the position of the end of the substrate K present on the conveyor belts 11a and 11b based on the values ​​of H and V acquired from the captured RGB image (step S31). Here, the method of calculating the position of the end of the substrate K can be any suitable method.

[0086] Then, according to the calculated position of the end of the substrate K, the presence detection control unit 34b outputs a command to the axis control unit 33a to rotate the conveyor belts 11a and 11b and move the substrate K so that the end of the substrate K is positioned at the terminal position (step S32).

[0087] <Variation 1> In the above embodiment, the presence detection is performed based on the RGB image along the line L1 along the conveyor belt 11b. However, as shown in FIG. 10, the line used for the presence detection in the RGB image of the captured field of view V1 is not limited to the line L1 on the conveyor belt 11b. RGB images on lines such as lines L2 and L3 spaced apart from the conveyor belt 11b in the Y direction may be converted into TSV images, the positions of the lines may be automatically set based on data on the shape of the substrate K, or RGB images along multiple lines may be converted into TSV images. In this way, as shown in Fig. 10, even for a substrate Kc having a notch C1 at its end, the position of the notch C1 can be detected using the image captured by the camera 13c. Using the position of the notch C1 detected in this way and the data on the shape of the substrate Kc, the substrate Kc can be positioned at the correct end position. <Variation 2> Also, the camera 13c is placed at a position where a part of the fiber sensor 17 is included in the field of view V1 etc. when the camera 13c takes the image. Then, since the time of detection of the fiber sensor 15 on the tip side, the arrival time of the substrate K at the fiber sensor 17 can be calculated based on the transport speed and transport time, the camera 13c can be moved to the vicinity of the fiber sensor 17 accordingly. In this state, the image is taken, and the amount of deviation of the substrate end from the terminal position can be calculated based on the distance (number of pixels x resolution) of the substrate end captured by the camera 13c from the central pixel position of the light receiving part of the camera 13c as a reference. For example, when the substrate K overruns the terminal position, if there is a deviation of +100 μm, the information can be used as correction information for substrate inspection to substitute for the fiber sensor 17, and position information of the substrate K can be obtained with high accuracy. The image may be taken continuously, and the arrival time of the substrate K at the fiber sensor 17 can be calculated at the timing when the substrate K is captured.

[0088] In addition, in order to make it possible to compare the constituent elements of the present invention with the configurations of the embodiments, the constituent elements of the present disclosure will be described below with the reference numerals in the drawings. <Appendix 1> An inspection device (1) for inspecting the appearance of an object (K), an object transport unit (11a, 11b) that supports the object (K) and transports it through the inspection device (1); an object detection unit (34a, 34b) that detects the object (K) supported by the object transport unit (11a, 11b); an imaging unit (13c) that images a detection target area including at least a part of an area in which the transported object (K) should move along a transport direction of the object (K); A moving unit (31) that moves the imaging unit; Equipped with The object detection unit (34a, 34b) includes an image processing unit (34a) that processes an image captured by the imaging unit (13c), and detects the object (K) supported by the object transport unit (11a, 11b) based on information obtained by processing the image, in the inspection device (1). <Appendix 2> The inspection device (1) described in Appendix 1, characterized in that the detection target area is set based on a length of the object (K) in the conveying direction associated with an inspection program executed in the inspection device (1). <Appendix 3> The inspection device (1) described in appendix 1 or 2, characterized in that the detection target area is set based on the length in the transport direction of an object (K) that has the shortest length in the transport direction among the objects that can be inspected by the inspection device (1). <Appendix 4> The inspection device (1) according to any one of appendices 1 to 3, characterized in that the detection target area is set based on a shape of an end of the object (K) in the transport direction. <Appendix 5> the information is luminance information regarding luminance included in the image, The object detection unit (34a, 34b) detects the object based on the luminance information. An inspection device (1) according to any one of appendices 1 to 4, characterized in that the inspection device (1) detects the presence or absence of the object (K) supported by (11a, 11b). <Appendix 6> The inspection device (1) described in any one of Appendices 1 to 5, further comprising a position detection unit (15, 16, 17) that detects the position of the object (K) based on electromagnetic waves or sound waves reflected or blocked by the object (K) supported and transported by the object transport unit (11a, 11b). <Appendix 7> the position detection units (15, 16, 17) include an arrival position detection unit (17) that detects the arrival of the object (K) transported by the object transport units (11a, 11b) at a stop position; The inspection device (1) according to claim 6, wherein the imaging unit (13c) images the detection target area including the stop position. <Appendix 8> An inspection device described in any one of Appendices 1 to 7, characterized in that the imaging unit (13c) is an inspection imaging unit (13c) that images the object (K) to inspect the appearance of the object (K). <Appendix 9> a position calculation unit (34b) that calculates a position of the object (K) when the object detection unit (34a, 34b) detects the object (K) supported by the object transport unit (11a, 11b); and a position correction instruction unit (34b) that causes the object transport unit (11a, 11b) to transport the object to a predetermined position based on the calculated position; and The inspection device (1) according to any one of appendices 1 to 7, comprising: <Appendix 10> The inspection device described in Appendix 9 is characterized in that it includes a position detection unit (15, 16, 17) that detects the position of the object based on electromagnetic waves or sound waves reflected or blocked by the object supported and transported by the object transport unit (11a, 11b). <Appendix 11> the position detection units (15, 16, 17) include an arrival position detection unit (17) that detects the arrival of the object (K) transported by the object transport units (11a, 11b) at a stop position; The inspection device according to claim 10, wherein the imaging unit (13c) images the detection target area including the stop position. <Appendix 12> the position detection unit (15, 16, 17) includes an upstream position detection unit (15, 16) located upstream of the arrival position detection unit (17) in the conveying direction of the object, The inspection device described in Appendix 11, characterized in that the moving unit (31) moves the imaging unit (13c) to a position where it can image the detection target area including the stop position, based on the timing when the upstream position detection unit (15, 16) detects the target object (K). <Appendix 13> An object detection method for detecting an object (K) supported by an object transport unit (11a, 11b) and transported within an inspection device (1) that inspects the appearance of an object, comprising: Taking an image of a detection target area including at least a part of an area in which the transported object (K) should move along a transport direction of the object (K); An object detection method, characterized in that the presence or absence of the object (K) supported by the object transport section (11a, 11b) is detected based on information obtained by processing a captured image. <Appendix 14> The object detection method described in Appendix 13, characterized in that the detection target area is set based on the length of the object (K) in the conveying direction associated with an inspection program executed in the inspection device (1). <Appendix 15> The object detection method according to claim 13 or 14, characterized in that the detection target area is set based on the length in the conveying direction of the object (Kmin) that has the shortest length in the conveying direction among the objects (K) that can be inspected by the inspection device (1). <Appendix 16> 16. The object detection method according to claim 13, wherein the detection target area is set based on a shape of an end of the object (K) in the transport direction. <Appendix 17> the information is luminance information regarding luminance included in the image, 12. The object detection method according to any one of claims 9 to 11, further comprising detecting the presence or absence of the object (K) supported by the object transport section (11a, 11b) based on the luminance information. <Appendix 18> The object detection method described in any one of Appendices 13 to 17, characterized in that the inspection device (1) is provided with a position detection unit (15, 16, 17) that detects the position of the object (K) based on electromagnetic waves or sound waves reflected or blocked by the object (K) supported and transported by the object transport unit (11a, 11b). <Appendix 19> the position detection units (15, 16, 17) include an arrival position detection unit (17) that detects arrival of the object transported by the object transport units (11a, 11b) at a stop position; 19. The object detection method according to claim 18, wherein the detection target area includes the stopping position. <Appendix 20> 20. An object detection method as described in any one of appendices 13 to 19, characterized in that the imaging of the detection target area is performed by an inspection imaging unit that images the object to inspect the appearance of the object. <Appendix 21> When detecting the object (K) supported by the object transport unit (11a, 11b), a position of the object (K) is calculated; An object detection method as described in any one of Appendices 13 to 20, characterized in that the object (K) is transported to a predetermined position by the object transporting unit (11a, 11b) based on the calculated position. <Appendix 22> The object detection method described in Appendix 21, characterized in that the inspection device (1) is provided with a position detection unit (15, 16, 17) that detects the position of the object (K) based on electromagnetic waves or sound waves reflected or blocked by the object (K) supported and transported by the object transport unit (11a, 11b). <Appendix 23> the position detection units (15, 16, 17) include an arrival position detection unit (17) that detects the arrival of the object (K) transported by the object transport units (11a, 11b) at a stop position; 23. The object detection method according to claim 22, wherein the detection target area includes the stopping position. <Appendix 24> the position detection unit (15, 16, 17) includes an upstream position detection unit (15, 16) located upstream of the arrival position detection unit (17) in the conveying direction of the object (K), Based on the timing when the upstream position detection unit (15, 16) detects the object (K), and moving the imaging unit (13c) to a position where the imaging unit can image the detection target area including the stop position. [Explanation of symbols]

[0089] 1. Circuit board inspection device 11a, 11b: Conveyor belt 13c. Camera 31 Head movement mechanism 34a Image processing unit 34b....Presence detection control unit K···Substrate

Claims

1. An inspection device for inspecting the appearance of an object, comprising: an object transport unit that supports the object and transports it through the inspection device; an object detection unit that detects the object supported by the object transport unit; an imaging unit that images a detection target area including at least a part of an area in which the transported object should move along a transport direction of the object; A moving unit that moves the imaging unit; Equipped with The object detection unit includes an image processing unit that processes the image captured by the imaging unit, and detects the object supported by the object transport unit based on information obtained by processing the image.

2. The inspection device according to claim 1 , wherein the detection target area is set based on a length of the object in the transport direction associated with an inspection program executed in the inspection device.

3. 2. The inspection device according to claim 1, wherein the detection target area is set based on the length in the transport direction of an object that has the shortest length in the transport direction among the objects that can be inspected by the inspection device.

4. 2. The inspection device according to claim 1, wherein the detection target area is set based on a shape of an end portion of the object in the transport direction.

5. the information is luminance information regarding luminance included in the image, 5. The inspection device according to claim 1, wherein the object detection unit detects the presence or absence of the object supported by the object transport unit based on the luminance information.

6. The inspection device according to any one of claims 1 to 4, further comprising a position detection unit that detects the position of the object based on electromagnetic waves or sound waves reflected or blocked by the object supported and transported by the object transport unit.

7. the position detection unit includes an arrival position detection unit that detects arrival of the object transported by the object transport unit at a stop position; The inspection device according to claim 6 , wherein the imaging unit images the detection target area including the stop position.

8. 5. The inspection device according to claim 1, wherein the imaging section is an inspection imaging section that images the object in order to inspect the appearance of the object.

9. a position calculation unit that calculates a position of the object when the object detection unit detects the object supported by the object transport unit; a position correction instruction unit that causes the object transport unit to transport the object to a predetermined position based on the calculated position; and The inspection device according to any one of claims 1 to 4, further comprising:

10. The inspection device according to claim 9, further comprising a position detection unit that detects the position of the object based on electromagnetic waves or sound waves reflected or blocked by the object supported and transported by the object transport unit.

11. the position detection unit includes an arrival position detection unit that detects arrival of the object transported by the object transport unit at a stop position; The inspection device according to claim 10 , wherein the imaging unit images the detection target area including the stop position.

12. the position detection unit includes an upstream position detection unit located upstream of the arrival position detection unit in the conveying direction of the object, The inspection device according to claim 11, wherein the moving unit moves the imaging unit to a position where it can image the detection target area including the stop position based on a timing when the upstream position detection unit detects the object.

13. 1. An object detection method for detecting an object that is supported by an object transport unit and transported within an inspection device that inspects the appearance of an object, comprising: Taking an image of a detection target area including at least a part of an area in which the transported object should move along a transport direction of the object; An object detection method, comprising the steps of: detecting the presence or absence of an object supported on the object transport section based on information obtained by processing a captured image.

14. The object detection method according to claim 13 , wherein the detection target area is set based on a length of the object in the transport direction associated with an inspection program executed in the inspection device.

15. The object detection method according to claim 13, characterized in that the detection target area is set based on the length in the transport direction of the object that has the shortest length in the transport direction among the objects that can be inspected by the inspection device.

16. The object detection method according to claim 13 , wherein the detection target area is set based on a shape of an end portion of the object in the transport direction.

17. the information is luminance information regarding luminance included in the image, 17. The object detection method according to claim 13, further comprising detecting the presence or absence of the object supported by the object transport unit based on the luminance information.

18. The object detection method according to any one of claims 13 to 16, characterized in that the inspection device is provided with a position detection unit that detects the position of the object based on electromagnetic waves or sound waves reflected or blocked by the object supported and transported by the object transporting unit.

19. the position detection unit includes an arrival position detection unit that detects arrival of the object transported by the object transport unit at a stop position; The method for detecting an object according to claim 18, wherein the detection target area includes the stop position.

20. 17. The object detection method according to claim 13, wherein the detection target area is imaged by an inspection imaging section that images the object in order to inspect the appearance of the object.

21. When the object supported by the object transport unit is detected, a position of the object is calculated; Based on the calculated position, the object is transported to a predetermined position by the object transport unit. The object detection method according to any one of claims 13 to 16, characterized in that the object is transported by a motor.

22. The object detection method described in claim 21, characterized in that the inspection device is provided with a position detection unit that detects the position of the object based on electromagnetic waves or sound waves reflected or blocked by the object supported and transported by the object transporting unit.

23. the position detection unit includes an arrival position detection unit that detects arrival of the object transported by the object transport unit at a stop position; The method for detecting an object according to claim 22, wherein the detection target area includes the stopping position.

24. the position detection unit includes an upstream position detection unit located upstream of the arrival position detection unit in the conveying direction of the object, The object detection method according to claim 23, characterized in that an imaging unit that images the detection target area is moved to a position where it can image the detection target area including the stopping position, based on the timing at which the upstream position detection unit detects the object.

Citation Information

Patent Citations

  • Stopping device and board inspection device

    JP6880696B2