1. Field of the Invention
The present invention relates to a technique for detecting an area of a hole penetrating a board.
2. Description of the Background Art
In inspection of a printed circuit board (hereinafter, referred to as “board”), conventionally, detection of through holes for wiring which are formed on the board is performed. For example, Japanese Patent Application Laid Open Gazette No. 6-288739 (Document 1) discloses a technique where an image pickup part is provided for picking up an image of a main surface (front surface) of a board where a pattern is formed, and an illumination light is emitted onto the front surface of the board and light is also emitted from a side of back surface of the board, to detect an area in an image acquired by the image pickup part, which corresponds to a through hole. Japanese Patent Application Laid Open Gazette No. 5-196435 (Document 2) suggests a technique where a fluorescent material is provided, being opposed to a back surface of a board, and an illumination light is emitted onto a fluorescent front surface of the board to pick up an image, to thereby detect a through hole while acquiring an image of pattern on the board on the basis of fluorescence from the front surface of the board and that from the fluorescent material which is guided through the through hole.
Japanese Patent Application Laid Open Gazette No. 2002-259967 (Document 3) discloses a technique where in a predetermined color space, angle indices in accordance with angles between individual color vectors representing colors of pixels in a color image to be divided and respective representative color vectors of a plurality of representative colors which are set and distance indices in accordance with distances between the colors of the pixels in the image and the respective representative colors are obtained, and the pixels in the image are grouped into a plurality of representative colors in accordance with composite distance indices based on the angle indices and the distance indices, to divide the color image. A relocation method (K-mean method) is also well known, where a plurality of provisional representative colors corresponding to a plurality of areas in an image are set, a color space is divided so that each of the pixels arranged in the color space should be included in the divided space corresponding to one of a plurality of representative colors which is closest to the pixel, an average value of colors of all the pixels included in the divided space of each representative color is determined as a new representative color, and the above operation is repeated to divide the image into a plurality of areas (see “Description of the Background Art” in Japanese Patent Application Laid Open Gazette No. 11-316193 (Document 4)).
Japanese Patent Application Laid Open Gazette No. 5-6421 (Document 5) discloses a method where a plurality of membership functions corresponding to a plurality of geometric feature values for each model pattern element are prepared and an adaptation degree for each model pattern element is obtained by using the membership functions, from a plurality of geometric feature values calculated for each of a plurality of areas in a binary object image, to obtain the model pattern element to which each area belongs to by comparing a plurality of adaptation degrees.
In the method of Patent Document 1, however, it is necessary to provide another light source part for emitting light from the side of back surface besides the light source part for emitting the illumination light with which the front surface of the board is irradiated, and this disadvantageously causes upsizing of an apparatus. In the method of Document 2, a special fluorescent board is needed and a fluorescent material which generates fluorescence having almost the same wavelength as that of the board is also needed, and therefore the kinds of board on which detection of through holes is possible are limited.
It is an object of the present invention to detect an area of a hole in a board by using only an illumination light with which a front surface of the board is irradiated.
The present invention is intended for an apparatus for detecting an area of a hole penetrating a board. The apparatus comprises a light source part for emitting an illumination light onto one main surface of a board, an opposed member provided, being opposed to the other main surface of the board, to cut off light entering a hole penetrating the board from a side of the other main surface, having a reflection property which is different from that of the one main surface with respect to the illumination light, an image pickup part receiving light from the one main surface onto which the illumination light is emitted to acquire an image representing the one main surface, and a hole-area specifying part for specifying a hole area in the image, which corresponds to a hole penetrating the board, by using only the image as image information, in accordance with criteria of pixel values affected by a reflection state of the illumination light entering a hole penetrating the board and being reflected on the opposed member.
Since the reflection property of the opposed member is different from that of one main surface of the board, it is possible to detect the area of the hole in the board by using only the image acquired with a reflected light of the illumination light from the light source part as image information.
According to an aspect of the present invention, in the apparatus, the light source part emits an illumination light of a plurality of wavelengths and the image pickup part acquires a multicolor image, and the opposed member comprises an opposed surface being in contact with the other main surface, having such spectral reflectance as to make spectral intensity of a reflected light thereon different from that of a reflected light on the one main surface with respect to the illumination light. It is thereby possible to specify the hole area with high accuracy.
According to another aspect of the present invention, the opposed member comprises an opposed surface being in contact with the other main surface, having reflectance which is higher than that of the one main surface with respect to the illumination light. Preferably, the opposed surface is a mirror.
According to still another aspect of the present invention, the opposed member absorbs the illumination light more than the one main surface, and preferably, the opposed member comprises a recessed portion opposed to the board, having an inside surface of black.
The present invention is suitable to detect a hole area with respect to a printed circuit board on which a through hole for wiring is formed. In this case, preferably, the apparatus further comprises a through-hole specifying part for specifying whether the hole area specified by the hole-area specifying part corresponds to the through hole for wiring or not, on the basis of shape or number of pixels (i.e., area) of the hole area.
The present invention is also intended for a method of detecting an area of a hole penetrating a board.
These and other objects, features, aspects and advantages of the present invention will become more apparent from the following detailed description of the present invention when taken in conjunction with the accompanying drawings.
The image pickup unit 3 has a light source part 31 having, e.g., a mercury vapor lamp, for emitting a white illumination light, an optical system 32 for guiding the illumination light to the board 9 and receiving light from the board 9 and an image pickup part 33 in which photodetectors are two-dimensionally arrayed. The image pickup unit 3 makes an incident-light illumination where the illumination light is emitted by the optical system 32 from a direction almost orthogonal to the board 9, and the image pickup part 33 converts an image of the board 9 formed by the optical system 32 into an electrical signal and outputs data of the inspection image. The stage driving part 21 has an X-direction moving mechanism 22 for moving the stage part 20 in the X direction of
When the board 9 is placed on the stage part 20 with its back surface 9b opposed thereto, the light source part 31 emits an illumination light towards the pattern formed surface 9a (Step S12) and the image pickup part 33 receives light from the pattern formed surface 9a to acquire a color inspection image representing the pattern formed surface 9a (Step S13).
At this time, part of the illumination light from the light source part 31 reaches the opposed surface 201 of the stage part 20 through the board holes and the reflected light from the opposed surface 201 is guided to the image pickup part 33 through the same board holes. Therefore, as shown in
As an exemplary operation in the hole-area specifying part 51, for example, the method disclosed in Document 4 can be used and the disclosure of which is herein incorporated by reference. Specifically, an operator sets provisional four representative colors (e.g., green, brown, white and special color) in the inspection image 61 through an input part 41 of the computer 4, which represent the area with resist, the area without resist, the character area 95 and the board hole on the board 9, and pixels of the inspection image 61 are arranged in a predetermined color space. The predetermined color space is divided so that each of the pixels should be included in a divided space corresponding to one of a plurality of representative colors which is closest to the pixel. Subsequently, an average value of colors (coordinate values) of all the pixels included in the divided space to which each representative color belongs is determined as a new representative color, and the color space is redivided so that each pixel should be included in a divided space corresponding to one of a plurality of new representative colors which is closest to the pixel. Then, the above operation is repeated, to thereby determine which one of the four areas corresponding to the area with resist, the area without resist, the character area 95 and the board hole on the board 9, each of the pixels in the inspection image 61 belongs to.
Thus, the hole-area specifying part 51 specifies the hole areas 611 in the inspection image 61 which correspond to the board holes by using only the inspection image 61 as image information, in accordance with criteria of pixel values which are affected by a reflection state of the illumination light entering the board hole and being reflected on the stage part 20, and as shown in
Subsequently, a through-hole specifying part 52 (see
In the through-hole specifying part 52, a plurality of membership functions corresponding to a plurality of feature values, respectively, for each of the auxiliary hole 92 and the through hole 94 are prepared in advance and calculation is performed by inputting a plurality of feature values obtained with respect to each hole area 611 to the membership functions to obtain a plurality of membership values corresponding to a plurality of feature values. Then, on the basis of a plurality of membership values, the adaptation degree of each hole area 611 corresponding to each of the auxiliary hole 92 and the through hole 94 is obtained and the adaptation degrees are compared with one another, to specify which one of the auxiliary hole 92 and the through hole 94 each hole area 611 corresponds to.
Though the white light emitted from the mercury vapor lamp is used as the illumination light in the above discussion, various lamps, such as a fluorescent lamp, a halogen lamp, a xenon lamp, a metal halide lamp, a light emitting diode (LED) (in combination of a plurality of wavelengths), a laser (for example, a white light obtained through crystalline or a mixed solution of water and heavy water), can be used as the light source part 31 and the illumination light emitted from the light source part 31 is not limited to white light but may be light of two colors, e.g., red and green. In this case, the opposed surface 201 of the stage part 20 has such spectral reflectance as to make the spectral intensity of a reflected light thereon different from that of a reflected light on the pattern formed surface 9a with respect to this two-color light, and the image pickup part 33 acquires an inspection image of two colors.
Thus, in the defect detection apparatus 1 of
In recognition of the through hole 94 from the shape of a ring pattern (land portion) around the through hole 94 in the acquired inspection image 61, if the position of the through hole 94 is misregistered (there arises a land break), in some cases, the through hole 94 can not be recognized since the pattern around the through hole 94 does not have a shape of ring. In the defect detection apparatus 1 of
Since the boards hole can be detected without providing any transillumination part in the defect detection apparatus 1, it is possible to reduce the cost for manufacturing the apparatus, with size-reduction in construction for detection of the board holes. Further, there may be a case where a plurality of stage parts 20 having respective opposed surfaces 201 of different colors are prepared and the stage part 20 is changed in accordance with the properties of pattern formed on the target board.
As another exemplary operation in the hole-area specifying part 51, for example, the method disclosed in Document 3 can be also used and the disclosure of which is herein incorporated by reference. In this method, an operator sets a plurality of representative colors in the inspection image 61 in advance, which represent the area with resist, the area without resist, the character area 95 and the board hole on the board 9, angle indices in accordance with angles between individual color vectors representing colors of pixels in the inspection image 61 and respective representative color vectors are obtained in the color space. Subsequently, distance indices in accordance with distances between the colors of the pixels in the inspection image 61 and the respective representative colors are obtained in the color space, and composite distance indices with respect to the representative colors based on the angle indices and the distance indices are calculated. Then, it is determined which one of a plurality of areas corresponding to the area with resist, the area without resist, the character area 95 and the board hole, the pixels in the inspection image 61 belong to, and the hole areas 611 are thereby specified.
In the through-hole specifying part 52, the hole areas 611 can be also simply distinguished, for the auxiliary hole 92 or the through hole 94, on the basis of the number of pixels of each of the hole areas 611 in the hole-area detection image 62. In this case, only when it is impossible to distinguish the hole areas 611 by using only their areas, the feature value on the shape is obtained and it is specified whether each of the hole areas 611 corresponds to the through hole 94 for wiring or not.
Next, discussion will be made on the defect detection apparatus 1 in accordance with the second preferred embodiment of the present invention. In the defect detection apparatus 1 of the second preferred embodiment, the opposed surface 201 of the stage part 20 which is in contact with the back surface 9b of the board 9 is a mirror. Other constituent elements are the same as those of the defect detection apparatus 1 of
In the defect detection apparatus 1 of the second preferred embodiment, in Step S12 of
The hole-area specifying part 51 specifies the hole areas 611 in the inspection image 61 by using only the inspection image 61 as image information, in accordance with criteria of pixel values affected by in accordance with a reflection state of the illumination light entering the board holes and being reflected on the stage part 20 (Step S14). At this time, since the hole areas 611 in the inspection image 61 has generally white color brighter than the area corresponding to the white character area 95, the hole area 611 can be easily specified. Then, the through-hole specifying part 52 specifies whether each of the hole areas 611 corresponds to the through hole 94 for wiring or not on the basis of at least the shape or the number of pixels of the hole area 611 (Step S15), and the defect detection part 53 detects a defect on the board 9 in consideration of the hole areas 611 (Step S16).
In the defect detection apparatus 1 of the second preferred embodiment, the hole areas in the inspection image can be more easily specified by acquiring a single-color inspection image in the image pickup part 33 and binarizing the inspection image with a predetermined threshold value. The illumination light emitted from the light source part 31 may be light of single wavelength, and in this case, as the opposed surface 201 of the stage part 20 used is one having reflectance higher than that of the pattern formed surface 9a with respect to the light of single wavelength.
Thus, in the defect detection apparatus 1 of the second preferred embodiment, as the opposed surface 201 of the stage part 20 used is one having reflectance higher than that of the pattern formed surface 9a with respect to the illumination light from the light source part 31. This allows easy and direct detection of the area of the board hole on the board 9, by using only the inspection image acquired with the reflected light of the illumination light from the light source part 31, without using any reference image derived from. e.g., design data or the board having no defect, and it is therefore possible to achieve appropriate detection of a defect on the board 9. Ideally, the opposed surface 201 of the stage part 20 has reflectance higher than that of any area on the pattern formed surface 9a with respect to the illumination light from the light source part 31.
Next, discussion will be made on another exemplary defect detection apparatus in accordance with the second preferred embodiment.
In the defect detection apparatus 1a of
In the defect detection apparatus of
Thus, in the defect detection apparatus of the third preferred embodiment, the illumination light from the light source part 31 which enters the hole penetrating the board 9 is absorbed by the stage part 20a. It is thereby possible to easily specify the hole areas 611 in the inspection image 61 by using only the inspection image 61 as image information, in accordance with criteria of pixel values affected by an absorption state (in other words, a reflection state) of the illumination light in the stage part 20a and detect the areas of the board holes. In the stage part 20a of
In the defect detection apparatus of
Though the preferred embodiments of the present invention have been discussed above, the present invention is not limited to the above-discussed preferred embodiments, but allows various variations.
In the above preferred embodiments, there may be a case where the inspection image 61 acquired by the image pickup part 33 is stored in an external storage unit and another computer having functions of the hole-area specifying part 51 and the through-hole specifying part 52 reads the inspection image 61 out from the storage unit, to detect an area of a hole on the board 9.
The image pickup part 33 does not necessarily have the two-dimensional array of photodetectors but may be, e.g., a line sensor having one-dimensional array of photodetectors and in this case, the image pickup part 33 may acquire a two-dimensional inspection image in synchronization with the stage driving part 21.
Also in the defect detection apparatus of the first and third preferred embodiments, like in the defect detection apparatus 1a of
In the above preferred embodiments, a function serving as a hole-area detection apparatus, which is implemented by the light source part 31 or 31a, the stage part 20 or 20a, the image pickup part 33, the hole-area specifying part 51 and the through-hole specifying part 52, is not necessarily used for defect detection, but may be used for other purposes, such as detection of a board hole in a substrate processing apparatus. A printed circuit board on which through holes 94 for wiring are formed is most suitable as an object for detection of a hole by the hole-area detection apparatus, but any plate-like member in which a hole penetrating the member is formed may be used as the object.
While the invention has been shown and described in detail, the foregoing description is in all aspects illustrative and not restrictive. It is therefore understood that numerous modifications and variations can be devised without departing from the scope of the invention.
This application claims priority benefit under 35 U.S.C. Section 119 of Japanese Patent Application No. 2004-143798 filed in the Japan Patent Office on May 13, 2004, the entire disclosure of which is incorporated herein by reference.
Number | Date | Country | Kind |
---|---|---|---|
P2004-143798 | May 2004 | JP | national |