Visual inspection device and visual inspection method
The visual inspection device and method address discontinuities at imaging field joints by overlapping views and applying density reduction, ensuring accurate and efficient board inspection.
Patent Information
- Application Number
- JP2023036886
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-03-09
- Publication Date
- 2024-09-20
AI Technical Summary
Existing visual inspection systems face issues with discontinuous points at the joints between adjacent imaging fields of view, leading to over-detection of defects and difficulty in determining the reference image for composite images during board inspection.
A visual inspection device and method that involves continuous imaging with overlapping adjacent fields of view, applying density reduction processing to adjacent images to generate a composite image without discontinuities, using an imaging unit, image processing, and display unit to ensure accurate inspection.
Prevents over-detection of defects and improves accuracy in board inspection by generating high-quality composite images with seamless joints, reducing production time and enhancing productivity.
Smart Images

Figure 2024127617000001
Abstract
Description
[Technical field]
[0001] The present invention relates to an appearance inspection apparatus and an appearance inspection method for performing an appearance inspection of a substrate. [Background technology]
[0002] Conventionally, there is known an imaging device having an imaging means for capturing a plurality of images, an adjustment means for applying a gradation-like gain to the images based on the difference in luminance between adjacent images among the plurality of images, and a synthesis means for synthesizing the images after the adjustment means applies the gradation-like gain to generate a synthetic image. When panoramic imaging is performed using the imaging device, it is possible to reduce luminance steps in the synthetic image because the captured images are applied with a gradation-like gain (for example, see Patent Document 1).
[0003] Here, in order to generate the above-mentioned composite image naturally, in addition to the difference in brightness between adjacent images, for example, the interval between the imaging fields of view of each of the adjacent images may also be a problem. Specifically, a case where a substrate is continuously imaged using a camera that is movable in a predetermined direction along an axis and is provided in an appearance inspection device that performs an appearance inspection of the substrate is illustrated. At this time, the imaging fields are imaged without leaving an interval between adjacent imaging fields and without overlapping each other. As a result of imaging in this way, there is a risk that discontinuity of the image occurs at the joint between the imaging fields in the generated composite image.
[0004] When performing visual inspection of the board on the composite image, the discontinuous points may be over-detected as defects. In addition, when specifying an area for visual inspection, it is difficult to determine which of the images constituting the generated composite image should be used as a reference, with the seam being the boundary. [Prior art documents] [Patent documents]
[0005] [Patent Document 1] JP 2020-120194 A Summary of the Invention [Problem to be solved by the invention]
[0006] The technology disclosed herein has been made to solve the above problems, and its purpose is to provide an appearance inspection apparatus and an appearance inspection method that, when combining multiple images of a substrate to generate a composite image, makes it possible to prevent discontinuities in the images from occurring at the seams between adjacent imaging fields of view. [Means for solving the problem]
[0007] The present disclosure for solving the above problems includes an appearance inspection device including an imaging unit, an image processing unit, an image generating unit, and a display unit. In the present disclosure, preparations are made to perform an appearance inspection of a substrate using the appearance inspection device. The imaging unit is capable of continuously capturing images of the surface of the substrate while moving horizontally in a predetermined direction along an axis, such that two adjacent imaging fields of view overlap by a predetermined amount. Here, an example of a target location on the surface of the substrate for appearance inspection is a via formed on the surface of the substrate.
[0008] The image processing unit performs the following process on an overlapping region corresponding to an overlapping portion of the two adjacent imaging fields of view in each of the two captured images related to the two adjacent imaging fields of view acquired from the imaging unit: That is, for one of the two captured images, a process of decreasing density from a predetermined position in the captured image in a predetermined direction is performed. The other captured image is subjected to a process of decreasing the density from a predetermined position in the captured image in a direction opposite to the predetermined direction. Note that decreasing the density of the captured image means increasing the transparency of the captured image.
[0009] The image generating unit adds the densities of the areas of the two captured images that have been subjected to the above-mentioned processing to generate a new composite image. The display unit displays at least one of the predetermined amount in the overlapping area and the composite image generated by the image generating unit.
[0010] In more detail, An appearance inspection apparatus for performing an appearance inspection of a substrate, comprising: an imaging unit capable of continuously imaging the surface of the substrate while moving horizontally in a predetermined direction along an axis such that two adjacent imaging fields of view overlap by a predetermined amount; an image processing unit that performs a predetermined process on an overlapping area corresponding to an overlapping portion of the two adjacent imaging fields of view in each of the two captured images related to the two adjacent imaging fields of view acquired from the imaging unit; an image generating unit that generates a composite image by combining the two captured images that have been subjected to the predetermined processing by the image processing unit; a display unit that displays at least one of the predetermined amount in the overlapping region and the composite image generated by the image generation unit, The predetermined processing by the image processing unit is performed on the second captured image, In a first captured image acquired first, the density of the overlapping region is decreased from an end portion closer to a start point of the predetermined direction toward the predetermined direction, The present invention includes an appearance inspection device, characterized in that in the second captured image, the density of the overlapping area is reduced from the end portion closer to the end point of the specified direction in a direction opposite to the specified direction.
[0011] In the composite image generated in this manner, no discontinuities such as steps occur at the seams between adjacent imaging fields of view. Therefore, by using the appearance inspection device of the present disclosure, it is possible to suppress overdetection of discontinuous seams as defects when performing appearance inspection of a board in the composite image. In addition, it is also possible to solve the problem of being unable to determine which image of the images constituting the generated composite image should be used as a reference when specifying an area to be inspected, using the seam as a boundary. In other words, the appearance inspection device of the present disclosure is useful in that it is possible to improve the accuracy of appearance inspection of boards.
[0012] In addition, the present disclosure may further include a setting unit that automatically sets the predetermined amount by which the adjacent two imaging fields of view overlap, and the display unit may display a message indicating that the setting unit automatically sets the predetermined amount. In this manner, the setting unit can easily set the predetermined amount, and a user of the visual inspection device can check the composite image while checking the setting content set by the setting unit.
[0013] In addition, when the predetermined amount is set to a large value, the area of the overlapping region in each of the two captured images also becomes large. As a result, it is possible to suppress the rate of change in density due to the difference in position in the overlapping region, thereby suppressing the occurrence of unevenness in density, and the image generating unit can generate a high-quality composite image. On the other hand, when the predetermined amount is set to a small value, the number of steps required for the imaging unit to capture images is reduced, so that it is possible to suppress the takt time required for the image generating unit to generate a composite image. As a result, it is possible to shorten the time required for production and improve productivity. In addition, the setting unit may automatically set the predetermined amount based on the size and shape of the inspection target portion of the board.
[0014] In addition, in the present disclosure, after the image processing unit performs the predetermined processing, the density of the overlapping region in the first captured image may decrease linearly in the predetermined direction, and the density of the overlapping region in the second captured image may decrease linearly in a direction opposite to the predetermined direction. Here, decreasing linearly means decreasing linearly. That is, it is possible to change the density based on easier calculation. Note that the manner of decrease is not limited to linear.
[0015] In the present disclosure, the display unit may display at least one of the predetermined amount and coordinates indicating the positions of the two captured images acquired from the imaging unit. This allows the user to easily check the predetermined amount and the coordinates indicating the positions of the two captured images and adjust them if necessary. As a result, the image generating unit can generate a composite image with high accuracy.
[0016] In addition, the present disclosure may further include a judgment unit that judges whether or not a specific location on the substrate is distributed across multiple imaging fields of view in any of the captured images obtained from the imaging unit, and the image processing unit may perform the specified processing only if the judgment unit judges that the specific location on the substrate is distributed across multiple imaging fields of view in any of the captured images.
[0017] Conversely, if the determination unit determines that the specific portion of the board is not distributed across multiple imaging fields of view in any of the captured images, it is possible to perform a visual inspection of the specific portion based on one captured image. In other words, since the image generation unit does not need to generate a composite image, it is possible to reduce the number of steps required to perform a visual inspection of the specific portion and improve productivity.
[0018] In addition, in the present disclosure, the specific portion may be a via formed on the surface of the substrate. One of the inspection items for a via is, for example, measurement of the diameter of the via. In measuring the diameter of the via, it is important that the shape of the via is clearly displayed in the composite image. Therefore, generating a composite image of the via so that no discontinuity occurs at the joint between adjacent imaging fields of view is useful in measuring the diameter of the via.
[0019] In addition, the present disclosure for solving the above problems is as follows: A visual inspection method for performing a visual inspection of a substrate, comprising: an imaging step capable of successively imaging the surface of the substrate such that two adjacent imaging fields of view overlap by a predetermined amount; an image processing step of performing a predetermined process on an overlapping region corresponding to an overlapping portion of the two adjacent imaging fields of view in each of the two captured images related to the two adjacent imaging fields of view acquired in the imaging step; an image generating step of generating a composite image by combining the two captured images that have been subjected to the predetermined processing in the image processing step; a display step of displaying at least one of the predetermined amount in the overlapping region and the composite image generated in the image generation step, The predetermined processing in the image processing step is, In a first captured image acquired first, the density of the overlapping region is decreased from an end portion closer to a start point of the predetermined direction toward the predetermined direction, The method may include an appearance inspection method characterized in that in a second captured image, the density of the overlapping area is reduced from the end portion closer to the end point of the specified direction in a direction opposite to the specified direction.
[0020] Appearance inspection devices other than the appearance inspection device in the present disclosure may be applied to the appearance inspection method in the present disclosure. By using the same, it is possible to generate a composite image in which there are no discontinuous parts at the seams between adjacent imaging fields of view.
[0021] In addition, the present disclosure may further include a setting step of automatically setting the predetermined amount of overlap between the two adjacent imaging fields of view, and the display step may be capable of displaying that the predetermined amount is automatically set in the setting step. In this way, the setting step makes it possible to easily set the predetermined amount, and the display step makes it possible to check the composite image while checking the setting content in the setting step.
[0022] In the present disclosure, after the predetermined processing is performed in the image processing step, the density of the overlapping region in the first captured image may decrease linearly in the predetermined direction, and the density of the overlapping region in the second captured image may decrease linearly in a direction opposite to the predetermined direction. In this way, by obtaining position coordinates of any point in the overlapping regions in each of the first captured image and the second captured image, it is possible to calculate the density of that point.
[0023] In the present disclosure, the display step may display at least one of the predetermined amount and coordinates indicating the positions of the two captured images acquired in the imaging step. In this way, the display step makes it possible to easily check the predetermined amount and the coordinates indicating the positions of the two captured images and adjust them if necessary. As a result, the image generation step makes it possible to generate a composite image with high accuracy.
[0024] In addition, the present disclosure may further include a judgment step of judging whether or not a specific portion of the substrate is distributed across a plurality of imaging fields in any of the captured images acquired in the imaging step, and the image processing step may perform the predetermined processing only if the judgment step judges that the specific portion of the substrate is distributed across a plurality of imaging fields in any of the captured images. According to this, depending on the judgment result in the judgment step, it is not necessary to generate a composite image in the image generation step, so that it is possible to reduce the number of steps required to perform an appearance inspection of the specific portion and improve productivity.
[0025] In the present disclosure, the specific portion may be a via formed on the surface of the substrate. In the generating step, generating a composite image of the via so as to avoid a discontinuous portion at a joint between adjacent imaging fields of view is useful for measuring the diameter of the via.
[0026] The above means for solving the problems can be used in combination with each other whenever possible. Effect of the Invention
[0027] According to the technology disclosed herein, when multiple images of a substrate are combined to generate a combined image, it is possible to prevent discontinuities in the images from occurring at the seams between adjacent imaging fields of view. [Brief description of the drawings]
[0028] [Figure 1] FIG. 1 is a schematic diagram illustrating an example of a hardware configuration of the visual inspection apparatus according to the first embodiment. [Diagram 2] FIG. 2 is a schematic diagram showing a method for capturing an image of a circuit board using the appearance inspection apparatus according to the first embodiment. [Diagram 3] FIG. 3 is a schematic diagram illustrating an example of a functional configuration of the appearance inspection apparatus according to the first embodiment. [Figure 4]FIG. 4 is an explanatory diagram of an example of a display screen of a display unit that displays the setting contents of the setting unit according to the first embodiment. [Diagram 5] FIG. 5 is a schematic diagram for specifically explaining a predetermined process performed by the image processing unit according to the first embodiment. [Figure 6] 6A and 6B are schematic diagrams for explaining in more detail the predetermined processing performed by the image processing unit according to the embodiment 1. In Fig. 6A, the predetermined processing for the overlapping area in the first captured image according to the embodiment 1 is explained. In Fig. 6B, the predetermined processing for the overlapping area in the second captured image according to the embodiment 1 is explained. [Figure 7] FIG. 7 is a flowchart showing the procedure of the appearance inspection method using the appearance inspection apparatus according to the first embodiment. [Figure 8] Fig. 8A is an example of a composite image of a via generated by performing all the steps shown in Fig. 7. Fig. 8B is an example of a composite image of a via according to a conventional example, in comparison with the composite image of a via shown in Fig. 8A. [Figure 9] FIG. 9 is a schematic diagram illustrating an example of a functional configuration of the appearance inspection apparatus according to the second embodiment. As illustrated in FIG. [Figure 10] FIG. 10 is a flowchart showing the procedure of the appearance inspection method using the appearance inspection apparatus according to the second embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0029] [Application example] An outline of an application example of the present disclosure will be described below with reference to some drawings. FIG. 1 is a schematic diagram showing an example of a hardware configuration of an appearance inspection device 1 according to this application example. The appearance inspection device 1 according to this application example is configured by connecting a camera 10, a control device 11, a data management server 12, a terminal 13, a first actuator 14, and a second actuator 15 to each other via a wireless or wired communication line. The camera 10 is installed on a substantially rectangular plate 16, and the plate 16 is movably coupled to a moving axis 3 such as a ball screw device. Therefore, the camera 10 moves horizontally along the longitudinal direction of the moving axis 3 by driving the first actuator 14. The camera 10 can also move up and down by driving the second actuator 15.
[0030] The control device 11 generates a captured image of the circuit board 2 to be inspected, and processes the captured image to determine whether the condition of the surface of the circuit board 2 is good or bad. The control device 11 includes, as a hardware configuration, a processor such as a CPU, a storage device such as a RAM or a ROM, an interface with an external device, etc. Here, the camera 10 corresponds to the imaging unit in this disclosure.
[0031] The data management server 12 stores inspection programs and inspection content data defining inspection items and inspection standards for the surface of the circuit board 2, and also registers various information necessary for processing in the terminal 13. The terminal 13 may be of a stationary type or a portable type.
[0032] FIG. 2 is a schematic diagram showing a method of imaging a circuit board 2 using a visual inspection device 1 according to this application example. Note that in FIG. 2, the imaging field of the camera 10 is shown, and for simplicity, the camera 10, the first actuator 14, etc. are not shown. In this application example, the camera 10 images the surface of the board 2 while moving horizontally in the direction of the arrow shown in FIG. 2 along the longitudinal direction of the movement axis 3. Note that the camera 10 can also move in the direction opposite to the direction of the arrow shown in FIG. 2, but hereinafter it is assumed that the camera 10 moves horizontally only in the direction of the arrow shown in FIG. 2. Here, in FIG. The directions of the arrows shown in 2 correspond to the given directions in this disclosure.
[0033] Also, the first imaging field of view shown in FIG. 2 indicates a specific range in which the camera 10 images the surface of the substrate 2. Similarly, the second imaging field of view shown in FIG. 2 indicates a range in which the camera 10, after imaging the surface of the substrate 2 in the first imaging field of view, moves horizontally in a predetermined direction and continuously images the surface of the substrate 2. In this application example, when imaging the surface of the substrate 2, the adjacent first imaging field of view and second imaging field of view overlap by the amount of the hatched area shown in FIG. 2. Here, this amount of overlap is also referred to as the overlap amount hereinafter. Here, the overlap amount corresponds to a predetermined amount in this disclosure. Also, in this application example, an example is shown in which the camera 10 images the surface of the substrate 2 twice, but there is no limit to the number of times of imaging.
[0034] 3 is a schematic diagram showing an example of a functional configuration of the appearance inspection apparatus 1 according to this application example. The control device 11 of the appearance inspection apparatus 1 according to this application example is configured to include an image processing unit 110, an image generating unit 111, etc. Furthermore, the terminal 13 of the appearance inspection apparatus 1 is configured to include a display unit 130, etc. In this application example, in preparation for performing an appearance inspection of the circuit board 2 using the appearance inspection apparatus 1, first, images of the surface of the circuit board 2 are continuously taken as described above with reference to FIG. 2.
[0035] In each of the two captured images acquired from the camera 10 capturing images such that two adjacent imaging fields of view overlap by an overlap amount, there is naturally a portion where the two imaging fields of view overlap. The image processing unit 110 performs a predetermined process on the portion where the two imaging fields of view overlap. The predetermined process will be specifically described later with reference to FIG. 5. The image generating unit 111 synthesizes the two captured images that have been subjected to the predetermined process by the image processing unit 110, and generates a composite image 4. The composite image 4 will be illustrated in FIG. 5 described later.
[0036] The display unit 130 is, for example, a display of the terminal 13, and displays at least one of the two captured images acquired by the camera 10 and the composite image 4 generated by the image generating unit 111 so as to be recognizable by a user of the appearance inspection device 1. The display unit 130 makes it possible to easily grasp information related to the appearance inspection of the circuit board 2.
[0037] Fig. 5 is a schematic diagram for specifically explaining a predetermined process performed by the image processing unit 110 according to this application example. The first captured image shown in Fig. 5 is an image captured in the first imaging field of view shown in Fig. 2 and acquired from the camera 10. Similarly, the second captured image shown in Fig. 5 is an image captured in the second imaging field of view shown in Fig. 2 and acquired from the camera 10.
[0038] The image processing unit 110 performs a predetermined process on an overlapping area corresponding to a portion where the first imaging field of view and the second imaging field of view overlap in the first captured image acquired from the camera 10 (i.e., the hatched area shown in FIG. 2). Specifically, the image processing unit 110 gradually reduces the density in the overlapping area included in the first captured image from an end portion (i.e., the dashed line in the first captured image shown in FIG. 5) close to the start point of a predetermined direction (the same as the predetermined direction shown in FIG. 2, and the same applies hereinafter) toward the predetermined direction. Similarly, the image processing unit 110 gradually reduces the density in the overlapping area included in the second captured image from an end portion (i.e., the dashed line in the second captured image shown in FIG. 5) close to the end point of the predetermined direction toward the opposite direction to the predetermined direction. Note that reducing the density of the captured image indicates increasing the transparency of the captured image.
[0039] The image generating unit 111 generates a first captured image in which the density is gradually decreased from an end of the overlapping region on the side closer to the start point of the predetermined direction (hereinafter, also referred to as the left side for simplicity) toward the predetermined direction, and a second captured image in which the density is gradually decreased from an end of the overlapping region on the side closer to the end point of the predetermined direction (hereinafter, also referred to as the right side for simplicity) toward the opposite direction to the predetermined direction. The captured images are then composited to generate a composite image 4. That is, in the composite image 4, the densities of the areas in each captured image that have been subjected to a predetermined process are added together. This prevents discontinuity at the seams between adjacent captured fields of view in the composite image 4, making it easy to use the composite image 4 to perform an appearance inspection of the circuit board 2. A detailed example of the composite image 4 generated through such a process of reducing the density is shown in FIG. 8A, which will be described later.
[0040] As described above with reference to FIG. 3, the flow up to when the display unit 130 displays information related to the visual inspection of the circuit board 2 will be briefly described with reference to a part of the flowchart shown in FIG. 7 (steps S102 to S105). First, in step S102, the surface of the circuit board 2 is continuously imaged using the camera 10 so that two adjacent imaging fields overlap by an overlap amount. Here, step S102 corresponds to the imaging step in this disclosure. Next, in step S103, the image processing unit 110 performs a process of reducing the density of the overlapping areas in each of the two captured images acquired in step S102, as described above with reference to FIG. 5. Here, step S103 corresponds to the image processing step in this disclosure.
[0041] Next, in step S104, the image generating unit 111 generates a composite image 4 by combining the second captured image that has been subjected to the density reduction process. Here, step S104 corresponds to the image generating step in the present disclosure. Finally, in step S105, the display unit 130 displays at least one of the second captured image acquired in step S102 and the composite image 4 generated in step S104. Here, step S105 corresponds to the display step in the present disclosure. Details of the flowchart shown in FIG. 7 will be described in the examples described later.
[0042] Example 1 Hereinafter, the appearance inspection device 1 according to the first embodiment of the present disclosure and the appearance inspection method using the appearance inspection device 1 will be described in more detail with reference to the drawings (including the drawings that have been explained in the above application examples). Note that the appearance inspection device 1 and the appearance inspection method according to the embodiment of the present disclosure are not intended to be limited to the following configurations.
[0043] <Configuration> Here, as a configuration of the control device 11 shown in Fig. 1 described in the application example, the setting unit 112 will be described again with reference to Fig. 3. Note that the appearance inspection device 1 according to this embodiment has a similar configuration to the appearance inspection device 1 described in the application example, and therefore detailed description of the contents described in the application example will be omitted. Also, in this specification, the same components will be described using the same reference numerals.
[0044] The setting unit 112 illustrated in FIG. 3 automatically sets the overlap amount. At this time, the setting unit 112 may automatically set the overlap amount based on the size and shape of the inspection target portion of the circuit board 2. Then, the camera 10 continuously captures the surface of the circuit board 2 according to the overlap amount set by the setting unit 112. In addition, the display unit 130 displays the setting contents in the setting unit 112, such as the fact that the setting unit 112 automatically sets the overlap amount, so that the user of the appearance inspection device 1 can recognize it. This allows the setting unit 112 to easily set the overlap amount, and allows the user to link the setting value to the composite image 4. Note that the setting unit 112 may manually set the overlap amount.
[0045] The display unit 130 may also display at least one of the amount of overlap and coordinates indicating the positions of the two captured images acquired by the camera 10. The user can easily check the amount of overlap and the coordinates indicating the positions of each of the two captured images and adjust them if necessary, thereby enabling the image generation unit 111 to generate a composite image 4 with high accuracy.
[0046] <Display screen> FIG. 4 is an explanatory diagram showing an example of a display screen of the display unit 130 that displays the setting contents of the setting unit 112 according to the first embodiment. In the range surrounded by the dashed line a, it is possible to select whether the setting unit 112 automatically sets the overlap amount or sets it manually. If the user selects to set it manually, it is possible to select the overlap amount in the range surrounded by the dashed line b. Even if the setting unit 112 automatically sets the overlap amount, the setting value of the overlap amount may be displayed. After selecting whether to set the overlap amount automatically or manually, and the overlap amount in the case of setting it manually, by clicking the button in the range surrounded by the dashed line c, the process is consistently performed from capturing an image of the surface of the circuit board 2 to generating a composite image 4 according to the setting contents. The display screen shown in FIG. 4 allows the user to instantly check the display of the captured image and the composite image 4 that change according to the input information while setting the input information.
[0047] Here, different effects can be obtained depending on whether the overlap amount is set large or small. When the overlap amount is set large, the area of the overlapping region in each of the two captured images also becomes large. In addition, when the two captured images are combined, as described above with reference to FIG. 5, the density of the overlapping region gradually changes. That is, in an overlapping region with a large area, the rate of change in density due to the difference in position in the overlapping region is small. This suppresses the occurrence of uneven density, etc., and enables the image generating unit 111 to generate a high-quality composite image 4. When the overlap amount is set small, the number of times of imaging when imaging the entire circuit board 2 to be inspected can be reduced, so that the tact time required for the image generating unit 111 to generate the composite image 4 can be suppressed. As a result, it is possible to shorten the time required for production and improve productivity.
[0048] <Calculation> In addition, the process of reducing the density of the overlapping area in the first captured image and the second captured image shown in FIG. 5 described in the application example will be described in detail with reference to FIG. 6A and FIG. 6B. In FIG. 6A and FIG. 6B, for simplicity, the direction parallel to the predetermined direction is the x direction, and the lower long sides of each of the first captured image and the second captured image are on the x axis in the orientation shown in FIG. 6A and FIG. 6B. Note that directions other than the x direction are not considered. In addition, the hatched areas shown in FIG. 6A and FIG. 6B are overlapping areas in each of the first captured image and the second captured image. In addition, the left end of each of the first captured image and the second captured image is set as the origin. That is, the x coordinate in each of the first captured image and the second captured image can be the distance in the x direction from the origin.
[0049] In addition, xParam indicates the amount of overlap, w indicates the width in the x direction of the first captured image (same for the second captured image), and xLength indicates the width in the x direction of the first captured image excluding the overlapping area (same for the second captured image).
[0050] In FIG. 6A, xLength indicating the width in the x direction of the first captured image excluding the overlapping region is expressed by the following formula (1).
number
number
number
[0051] From equation (3), it can be seen that V1' decreases linearly as x increases, i.e., toward the right side of the overlapping region in the first captured image. In Fig. 6A, V1 is 100% and V1' at the right end of the overlapping region in the first captured image is 0%, and the change in density of the first captured image is shown roughly.
[0052] Similarly, in FIG. 6B, V2' indicating the density of the overlapping region in the second captured image is expressed by the following formula (4).
number
[0053] By adding V1' and V2' calculated as above, the image generating unit 111 generates a composite image 4. In addition, since V1' and V2' both change linearly, it is possible to obtain V1' and V2' corresponding to x. That is, in any overlapping region, it is possible to calculate the concentration at any point by obtaining x.
[0054] <Flowchart> Returning now to the description of FIG. 7, steps S102 to S105 will not be described again as they have been described in the above application example. Steps S101 to S105 correspond to the process of preparing to perform a visual inspection of the circuit board 2 using the visual inspection device 1.
[0055] In step S101, the setting unit 112 automatically sets the overlap amount. As described above, the overlap amount may be set manually. Here, step S101 corresponds to the setting step in the present disclosure. After completion of step S101, in step S102, the camera 10 continuously captures images of the surface of the circuit board 2 according to the overlap amount set in step S105. In addition, in step S105, the display unit 130 displays the contents set in step S101. In addition, in step S105, at least one of the overlap amount and coordinates indicating the positions of the two captured images acquired in step S102 may be displayed.
[0056] FIG. 8A is an example of a composite image 4 of a via 5 generated by performing all the steps shown in FIG. 7. In this composite image 4, there is no discontinuity at the joints between adjacent imaging fields of view, and the images are smoothly connected. Therefore, for example, it is possible to accurately measure the diameter of the via 5 using the composite image 4. Also, the via 5 can be easily determined as an inspection object. Note that the via 5 is an example of an inspection object on the surface of the circuit board 2 in this embodiment, and the inspection object may be a solder ball, a foreign object, or the like. Here, the via 5 corresponds to a specific portion in this disclosure.
[0057] FIG. 8B shows an example of a composite image 4a of a via 5 according to a conventional embodiment, in comparison with the composite image 4 of a via 5 shown in FIG. 8A. In FIG. 8B, a discontinuous portion of the joint occurs at the portion surrounded by a dashed line, and the left side of the composite image 4a is shifted upward and the right side of the composite image 4a is shifted downward in the direction shown in FIG. 8B, with the joint as the boundary. Due to this, for example, when measuring the diameter of the via 5 using the composite image 4a, there is a risk that the discontinuous portion of the joint is overdetected as a defect. In addition, it is difficult to determine which side of the via 5 should be used as the reference for measuring the diameter with the joint as the boundary. The composite image 4a shown in FIG. 8B was obtained by imaging the via 5 so that the two adjacent imaging fields of view do not overlap and are adjacent to each other.
[0058] Example 2 Next, a visual inspection device 1a according to a second embodiment of the present disclosure will be described with reference to Fig. 9. The visual inspection device 1a has many components in common with the visual inspection device 1 of the first embodiment, and therefore such components are given the same reference numerals and will not be described again. In addition, the components shown in the visual inspection device 1a can be applied to the visual inspection device 1 of the first embodiment.
[0059] <Configuration> As a difference from the appearance inspection apparatus 1 shown in FIG. 3 in the first embodiment, the appearance inspection apparatus 1a shown in FIG. 9 includes a judgment unit 113. In preparation for the image generation unit 111 to generate the composite image 4, the camera 10 captures an image such that the vias 5 to be inspected shown in FIG. 8A are included in the imaging field of view. At this time, the judgment unit 113 judges whether or not all of the vias 5 to be inspected in the board are included in a captured image acquired from the camera 10. Only if the judgment unit 113 judges that any of the vias 5 to be inspected is present in a location outside the captured image, that is, only if it judges that it is impossible to include all of the vias 5 in one captured image, the image processing unit 110 performs a process of reducing the density of the overlapping areas in the captured images.
[0060] On the other hand, if the determination unit 113 determines that the via 5 is included in any of the captured images, it is possible to measure the diameter of the via 5 based on that one captured image. In other words, the image generation unit 111 does not need to generate the composite image 4. It is possible to reduce the number of steps required to measure the diameter of the via 5 and improve productivity.
[0061] <Flowchart> 10 is a flowchart showing the procedure of an appearance inspection method using the appearance inspection apparatus 1a according to Example 2 of the present disclosure. The appearance inspection method shown in Fig. 8 differs from the appearance inspection method shown in Fig. 5 in Example 1 in that the appearance inspection method shown in Fig. 8 includes a step (step S106) in which the determination unit 113 determines whether or not the via 5 is included without protruding from the captured image based on the captured image of the surface of the circuit board 2 acquired in step S102, as described above. Here, step S106 corresponds to the determination step in the present disclosure.
[0062] Only when the determination unit 113 determines that the via 5 is not included without protruding in any of the captured images (step S106: no), the process proceeds to step S103, and thereafter, the same steps as in Example 1 are executed. On the other hand, when the determination unit 113 determines that the via 5 is included without protruding in any of the captured images (step S106: yes), the series of flows ends.
[0063] <Appendix 1> A visual inspection device (1, 1a) for performing visual inspection of a substrate (2), an imaging unit (10) capable of continuously imaging the surface of the substrate while moving horizontally in a predetermined direction along an axis (3) so that two adjacent imaging fields of view overlap by a predetermined amount; an image processing unit (110) that performs a predetermined process on an overlapping area corresponding to an overlapping portion of the two adjacent imaging fields of view in each of the two captured images related to the two adjacent imaging fields of view acquired from the imaging unit; an image generating unit (111) that generates a composite image (4) by combining the two captured images that have been subjected to the predetermined processing by the image processing unit; a display unit (130) that displays at least one of the predetermined amount in the overlapping region and the composite image generated by the image generation unit; The predetermined processing by the image processing unit is performed on the second captured image, In a first captured image acquired first, the density of the overlapping region is decreased from an end portion closer to a start point of the predetermined direction toward the predetermined direction, In a second captured image, the overlapping region is subjected to a process of decreasing density from an end portion closer to an end point of the predetermined direction toward a direction opposite the predetermined direction.
[0064] <Appendix 2> A visual inspection method for performing a visual inspection of a substrate (2), comprising the steps of: an imaging step (step S102) capable of continuously imaging the surface of the substrate such that two adjacent imaging fields of view overlap by a predetermined amount; An image processing step (step S103) of performing a predetermined process on an overlapping area corresponding to an overlapping portion of the two adjacent imaging fields of view in each of the two captured images related to the two adjacent imaging fields of view acquired in the imaging step; an image generating step (step S104) of generating a composite image (4) by combining the two captured images that have been subjected to the predetermined processing in the image processing step; A display step (step S105) of displaying at least one of the predetermined amount in the overlapping region and the composite image generated in the image generation step, The predetermined processing in the image processing step is, In a first captured image acquired first, the density of the overlapping region is decreased from an end portion closer to a start point of the predetermined direction toward the predetermined direction, A visual inspection method characterized in that in a second captured image, the density of the overlapping area is reduced from the end portion closer to the end point of the specified direction in a direction opposite to the specified direction. [Explanation of symbols]
[0065] 1, 1a: Visual inspection device 10. Camera 11. Control device 110...Image processing unit 111...Image generation unit 112 Setting section 113...judgment department 12 Data management server 13. Terminal 130...Display section 14...First actuator 15 Second actuator 16... Plate 2. Circuit board 3. Moving axis 4, 4a Composite image 5... Via
Claims
1. An appearance inspection apparatus for performing an appearance inspection of a substrate, comprising: an imaging unit capable of continuously imaging the surface of the substrate while moving horizontally in a predetermined direction along an axis such that two adjacent imaging fields of view overlap by a predetermined amount; an image processing unit that performs a predetermined process on an overlapping area corresponding to an overlapping portion of the two adjacent imaging fields of view in each of the two captured images related to the two adjacent imaging fields of view acquired from the imaging unit; an image generating unit that generates a composite image by combining the two captured images that have been subjected to the predetermined processing by the image processing unit; a display unit that displays at least one of the predetermined amount in the overlapping region and the composite image generated by the image generation unit, The predetermined processing by the image processing unit is performed on the second captured image, In a first captured image acquired by capturing an image first, the density of the overlapping region is decreased from an end portion closer to a start point in the predetermined direction toward the predetermined direction, In a second captured image, the density of the overlapping area is reduced from the end portion of the overlapping area that is closer to the end point of the specified direction toward the opposite direction to the specified direction.
2. A setting unit that automatically sets the predetermined amount of overlap between the two adjacent imaging fields of view, 2. The visual inspection device according to claim 1, wherein the display unit is capable of displaying a message to the effect that the setting unit automatically sets the predetermined amount.
3. After the image processing unit has performed the predetermined processing, the density of the overlapping region in the first captured image decreases linearly in the predetermined direction; 2. The visual inspection apparatus according to claim 1, wherein the density of the overlapping region in the second captured image decreases linearly in a direction opposite to the predetermined direction.
4. 2. The visual inspection apparatus according to claim 1, wherein the display unit displays at least one of the predetermined amount and coordinates indicating the positions of the two captured images acquired from the imaging unit.
5. A determination unit that determines whether or not a specific portion of the substrate is distributed across the two adjacent imaging fields of view in any captured image acquired from the imaging unit, The visual inspection apparatus of claim 1, characterized in that the image processing unit performs the specified processing only when the judgment unit determines that the specific location on the substrate is distributed across a plurality of imaging fields in the two adjacent imaging fields.
6. 6. The visual inspection apparatus according to claim 5, wherein the specific portion is a via formed on the surface of the substrate.
7. A visual inspection method for performing a visual inspection of a substrate, comprising: an imaging step capable of successively imaging the surface of the substrate such that two adjacent imaging fields of view overlap by a predetermined amount; an image processing step of performing a predetermined process on an overlapping area corresponding to an overlapping portion of the two adjacent imaging fields of view in each of the two captured images related to the two adjacent imaging fields of view acquired in the imaging step; The two captured images on which the predetermined processing has been performed in the image processing step are combined. an image generating step of generating an image; a display step of displaying at least one of the predetermined amount in the overlapping region and the composite image generated in the image generation step, The predetermined processing in the image processing step is, In a first captured image acquired by capturing an image first, the density of the overlapping region is decreased from an end portion closer to a start point in the predetermined direction toward the predetermined direction, an appearance inspection method characterized in that in a second captured image, the density of the overlapping area is reduced from the end portion closer to the end point of the specified direction in a direction opposite to the specified direction.
8. The method further includes a setting step of automatically setting the predetermined amount of overlap between the adjacent two imaging fields of view, 8. The appearance inspection method according to claim 7, wherein said display step is capable of displaying a message that said predetermined amount will be automatically set in said setting step.
9. After the predetermined processing is performed in the image processing step, the density of the overlapping region in the first captured image decreases linearly in the predetermined direction; 8. The appearance inspection method according to claim 7, wherein the density of the overlapping region in the second captured image decreases linearly in a direction opposite to the predetermined direction.
10. 8. The appearance inspection method according to claim 7, wherein said display step displays at least one of said predetermined amount and coordinates indicating the positions of said two captured images acquired in said imaging step.
11. The method further includes a determination step of determining whether or not a specific portion of the substrate is distributed across the two adjacent imaging fields of view in any captured image acquired in the imaging step, The appearance inspection method described in claim 7, characterized in that the specified processing is performed in the image processing process only when it is determined in the judgment process that the specific location on the substrate is distributed across multiple imaging fields of view in both of the two adjacent imaging fields of view.
12. 12. The appearance inspection method according to claim 11, wherein the specific portion is a via formed on the surface of the substrate.
Citation Information
Patent Citations
Imaging apparatus, imaging method, and program
JP2020120194A
