[go: up one dir, main page]

WO2011071035A1 - Appearance inspection device - Google Patents

Appearance inspection device Download PDF

Info

Publication number
WO2011071035A1
WO2011071035A1 PCT/JP2010/071886 JP2010071886W WO2011071035A1 WO 2011071035 A1 WO2011071035 A1 WO 2011071035A1 JP 2010071886 W JP2010071886 W JP 2010071886W WO 2011071035 A1 WO2011071035 A1 WO 2011071035A1
Authority
WO
WIPO (PCT)
Prior art keywords
inspection
unit
pattern
image
inspection object
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Ceased
Application number
PCT/JP2010/071886
Other languages
French (fr)
Japanese (ja)
Inventor
晋也 松田
広志 青木
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Daiichi Jitsugyo Viswill Co Ltd
Original Assignee
Daiichi Jitsugyo Viswill Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Daiichi Jitsugyo Viswill Co Ltd filed Critical Daiichi Jitsugyo Viswill Co Ltd
Priority to CN201080056196.6A priority Critical patent/CN102713579B/en
Priority to JP2011545210A priority patent/JP5670915B2/en
Priority to KR1020127017900A priority patent/KR101762165B1/en
Publication of WO2011071035A1 publication Critical patent/WO2011071035A1/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N21/00Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
    • G01N21/84Systems specially adapted for particular applications
    • G01N21/88Investigating the presence of flaws or contamination
    • G01N21/95Investigating the presence of flaws or contamination characterised by the material or shape of the object to be examined
    • G01N21/9508Capsules; Tablets
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01BMEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
    • G01B11/00Measuring arrangements characterised by the use of optical techniques
    • G01B11/30Measuring arrangements characterised by the use of optical techniques for measuring roughness or irregularity of surfaces
    • G01B11/303Measuring arrangements characterised by the use of optical techniques for measuring roughness or irregularity of surfaces using photoelectric detection means
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01BMEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
    • G01B11/00Measuring arrangements characterised by the use of optical techniques
    • G01B11/30Measuring arrangements characterised by the use of optical techniques for measuring roughness or irregularity of surfaces
    • G01B11/306Measuring arrangements characterised by the use of optical techniques for measuring roughness or irregularity of surfaces for measuring evenness
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N21/00Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
    • G01N21/84Systems specially adapted for particular applications
    • G01N21/88Investigating the presence of flaws or contamination
    • G01N21/89Investigating the presence of flaws or contamination in moving material, e.g. running paper or textiles
    • G01N21/892Investigating the presence of flaws or contamination in moving material, e.g. running paper or textiles characterised by the flaw, defect or object feature examined

Definitions

  • the present invention relates to an apparatus for inspecting the appearance of medicines (tablets, capsules, etc.), food, machine parts, electronic parts, etc. (hereinafter referred to as “inspection object”).
  • the inspection apparatus exists on the surface of the inspection object by irradiating the surface of the inspection object with diffused light, appropriately imaging the surface with an imaging apparatus, and analyzing the obtained grayscale image. It detects smudges and printed parts and determines their suitability.
  • the surface of the object to be inspected is irradiated with diffused light so that the surface is uniformly illuminated from all directions, thereby eliminating irregularities existing on the surface, that is, generation of shadows due to the irregularities. It is possible to obtain a grayscale image that is suppressed and the surface pattern (dirt or printed portion) is emphasized.
  • the inspection apparatus irradiates the surface of the inspection object with laser slit light, appropriately captures an image of the irradiated laser slit light, and analyzes the obtained image according to a light cutting method.
  • the inspection apparatus irradiates the surface of the inspection object with laser slit light, appropriately captures an image of the irradiated laser slit light, and analyzes the obtained image according to a light cutting method.
  • the inspection apparatus according to the conventional example 1 has a problem as described below.
  • the inspection apparatus according to Conventional Example 1 irradiates the surface of the inspection object with diffused light, thereby suppressing the occurrence of shadows due to the unevenness existing on the surface, and the pattern (
  • the inspection apparatus according to Conventional Example 1 irradiates the surface of the inspection object with diffused light, thereby suppressing the occurrence of shadows due to the unevenness existing on the surface, and the pattern (
  • the inspection apparatus according to Conventional Example 1 irradiates the surface of the inspection object with diffused light, thereby suppressing the occurrence of shadows due to the unevenness existing on the surface, and the pattern (
  • a large unevenness on the surface for example, a deep mark, there is a problem that the shadow cannot be completely erased.
  • the present invention has been made in view of the above circumstances, and even if the surface has deep unevenness, the appearance inspection can accurately inspect defects such as the suitability of the unevenness and the stain on the surface.
  • the purpose is to provide a device.
  • the present invention provides: Transport means for transporting the inspection object along a predetermined transport path; Surface shape inspection means for inspecting the surface shape of the inspection object conveyed by the conveyance means; Similarly, an appearance inspection apparatus comprising a surface pattern inspection means for inspecting a surface pattern of the inspection object conveyed by the conveyance means, The surface shape inspection means is disposed in the vicinity of the conveyance path, and irradiates the inspection object surface with a strip-shaped slit light so that an irradiation line thereof is orthogonal to the conveyance direction of the inspection object, and imaging light.
  • An image when the slit light is irradiated onto the inspection object is taken from a direction whose axis is along the conveyance direction of the inspection object and intersects the optical axis of the slit light irradiated onto the inspection object.
  • the surface pattern inspection means is disposed in the vicinity of the transport path upstream or downstream of the slit light image capturing unit, irradiates the surface of the inspection object with diffused light, and is illuminated with the diffused light.
  • a grayscale image capturing unit that captures a grayscale image on the surface of the object, and a pattern for recognizing the pattern characteristics of the surface of the inspection object and determining whether the pattern is appropriate based on the grayscale image captured by the grayscale image capturing unit
  • a determination unit Further, the pattern determination unit receives at least information on a region where the uneven portion on the surface of the inspection object exists from the shape determination unit, and the received region is inspected in a non-inspection region or other region where no inspection is performed.
  • the present invention relates to an appearance inspection apparatus configured to set a low-sensitivity inspection region in which inspection is performed with a sensitivity lower than the sensitivity, and to determine suitability for the pattern.
  • the surface shape of the inspection object conveyed by the conveying means is inspected by the surface shape inspecting means. That is, in the slit light image capturing unit, the surface of the inspection object is irradiated with a band-shaped slit light, and the reflected light is imaged.
  • the inspection target is obtained by, for example, a light cutting method based on the captured image. Data relating to the three-dimensional shape of the object surface is calculated, the feature of the surface shape is recognized from the calculated data, and the suitability is determined.
  • the surface of the inspection object is inspected by the surface pattern inspection means, the pattern characteristics of the surface are recognized based on the grayscale image captured by the grayscale image capturing unit, and its suitability is determined. For example, if there is dirt on the surface, the dirt is detected as a pattern, and as a result, it is determined to be defective, and if characters or the like are printed on the surface, this print part is detected as a pattern and the printing state The suitability is determined.
  • the pattern determination unit receives information from the shape determination unit about at least the region where the uneven portion on the surface of the inspection object exists, sets the received region as a non-inspection region or a low-sensitivity inspection region, Judgment of suitability for
  • the gray image capturing unit captures a gray image that is a relatively dark portion of the same, but as a result, a high-sensitivity inspection is performed in the pattern determination unit, for example,
  • the threshold for determining whether or not it is a dark spot or the like based on the degree of dark color is set on the light color side, and even if a relatively light dark color portion exists, an inspection is performed to determine that this is a dark spot or the like In spite of the fact that the proper stamp is given, this is mistaken as a spot or the like and it is determined that the pattern is abnormal.
  • the pattern determination unit relates to a region where at least uneven portions on the surface of the inspection object exist from the shape determination unit of the surface shape inspection means that can accurately determine the shape of the surface of the inspection object.
  • Information is received, the received area is set as a non-inspection area or a low-sensitivity inspection area, and the suitability for the pattern on the surface of the inspection object is determined.
  • the region where the uneven portion is present is made a non-inspection region where the pattern inspection is not performed, it is possible to prevent the uneven portion from being erroneously determined as a spot or the like, and the pattern on the surface of the inspection object can be accurately determined. It becomes possible to inspect.
  • the inspection of the region where the uneven portion exists is inspected with a sensitivity lower than the inspection sensitivity in the other region, for example, the threshold value for determining whether it is a dark spot or the like from the degree of dark color is set to the dark side Even if it is a low-sensitivity test such that if there is a very dark part, the dark part will be distinguished from the uneven part and the dark part due to the spot. It is possible to accurately inspect the pattern on the surface of the inspection object. Further, in this way, when there is a very dark spot or the like in the uneven portion, it can be detected and selected, and the inspection accuracy can be improved compared to the case of non-inspection. .
  • any of the slit light image capturing unit and the gray image capturing unit may be provided on the upstream side, but considering the speed of processing in the pattern determining unit, the slit light image capturing unit is It is preferable to provide the process upstream of the shape determination unit before the process of the pattern determination unit, because the standby time does not occur in the process of the pattern determination unit.
  • the slit light image capturing unit irradiates the slit light in a vertical direction, captures images from two directions on the upstream side and the downstream side in the transport direction of the inspection object, and determines the shape.
  • the unit is configured to synthesize the two images captured by the slit light image capturing unit, and to recognize the shape feature of the surface of the inspection object based on the combined image and determine suitability for the shape. It is preferable.
  • the imaging direction in the slit light image capturing unit is one direction, an image is not obtained for a surface existing at a position that is a blind spot with respect to the imaging direction, and the suitability of the three-dimensional shape for the surface is not obtained.
  • imaging is performed from two opposite directions, such blind spots can be minimized, and the suitability of the three-dimensional shape can be determined for substantially the entire surface.
  • the surface pattern can be inspected accurately.
  • FIG. 2 is a partial cross-sectional view in the direction of arrow AA in FIG. 1. It is explanatory drawing for demonstrating schematic structure of an A surface slit light image imaging part and a B surface slit light image imaging part. It is explanatory drawing for demonstrating schematic structure of an A surface grayscale image imaging part and a B surface grayscale image imaging part. It is a block diagram for demonstrating the structure of an inspection selection process part. It is explanatory drawing for demonstrating the irradiation state of the slit light in an A surface slit light image imaging part and a B surface slit light image imaging part.
  • the appearance inspection apparatus 1 of this example includes a supply unit 3 that supplies the inspection object K in an aligned manner, a first linear conveyance unit 10 that linearly conveys the supplied inspection object K, and a second one.
  • a supply unit 3 that supplies the inspection object K in an aligned manner
  • a first linear conveyance unit 10 that linearly conveys the supplied inspection object K
  • a second one Arranged in the vicinity of the conveying path of the A-side slit light image capturing unit 21 and the A-side gray image capturing unit 41 and the second linear conveying unit 15 arranged in the vicinity of the conveying path of the linear conveying unit 15 and the first linear conveying unit 10.
  • the B surface slit light image capturing unit 51, the B surface grayscale image capturing unit 71, the inspection sorting processing unit 20, and the sorting unit 90 are provided.
  • inspection target K in this example pharmaceuticals (tablets, capsules, etc.), foods, mechanical parts, electronic parts, and the like can be exemplified, but are not limited to these.
  • the supply unit 3 includes a hopper 4 into which a large number of inspection objects K are loaded, a vibration feeder 5 that imparts vibration to the inspection object K that is discharged from the lower end of the hopper 4, and a conveyance end of the vibration feeder 5.
  • Chute 6 that slides down the inspection object K discharged from the table, horizontally rotates, the alignment table 7 that discharges the inspection object K supplied from the chute 6 in a line, and a disk-shaped member that rotates in a vertical plane
  • a rotary conveyance unit 8 that adsorbs and conveys the inspection object K discharged from the alignment table 7 to the outer peripheral surface of the disk-shaped member, and aligns a large number of inspection objects K in a line. Then, the paper is sequentially transferred to the first linear conveyance unit 10.
  • the first linear conveyance unit 10 and the second linear conveyance unit 15 have the same structure, and the second linear conveyance unit 15 is disposed in an upside down state with respect to the first linear conveyance unit 10, and the first linear conveyance unit 10 has a transport path in the upper part thereof, and the second linear transport unit 15 has a transport path in the lower part thereof.
  • FIG. 2 is a partial cross-sectional view in the direction of arrows AA in FIG. 1 and shows the structure of the first linear transport unit 10.
  • the reference numerals in parentheses correspond to the second linear transport unit 15. The member which carried out is shown.
  • the first linear transport unit 10 is guided by side plates 11 and 12 arranged to face each other at a predetermined interval, and guide grooves formed on the upper surfaces of the side plates 11 and 12. And endless round belts 13 and 14 that run along the guide grooves.
  • the space sandwiched between the side plates 11 and 12 is closed by the side plates 11 and 12 and other members (not shown) so that the upper portions thereof are opened, and maintained at a negative pressure by a vacuum pump (not shown).
  • the second linear transport unit 15 is the same, and includes side plates 16 and 17 and endless round belts 18 and 19, and the space between the side plates 16 and 17 is maintained at a negative pressure so that a round pressure is maintained. A suction force due to a negative pressure is generated between the belts 18 and 19, and the inspection object K is sucked and sucked by the round belts 18 and 19, and is conveyed in the traveling direction along with the traveling.
  • the conveyance start end of the first linear conveyance unit 10 is connected to the conveyance termination of the rotary conveyance unit 8, the conveyance termination end of the first linear conveyance unit 10 is connected to the conveyance start end of the second linear conveyance unit 15, and the first straight line
  • the conveyance unit 10 sequentially receives the inspection object K from the rotary conveyance unit 8, sucks the lower surface (B surface), conveys it to the conveyance end, and delivers it to the second linear conveyance unit 15.
  • the 2nd linear conveyance part 15 receives the test object K sequentially from the 1st linear conveyance part 10, adsorb
  • the sorting unit 90 is provided at the transfer end of the second linear transport unit 15, and includes a sorting and collecting mechanism, a non-defective product collecting chamber, and a defective product collecting chamber (not shown), and according to a command from the inspection sorting processing unit 20
  • the sorting and collecting mechanism is driven, and the non-defective product is collected in the non-defective product collecting chamber and the defective product is collected in the defective product collecting chamber among the inspection object K transported to the transport end of the second linear transport unit 15.
  • the A-side slit light image capturing unit 21 irradiates a camera 22 disposed above the transport path of the first linear transport unit 10 and slit light irradiation that irradiates a strip-shaped slit light L 1.
  • a vessel 23 guides the slit beam L 1 emitted from the slit beam irradiator 23 directly under the direction of the camera 22, a mirror 24, 25 to be irradiated on the transport path of the first linear conveyance unit 10, the conveying path
  • the reflected light L 2 of the irradiated slit light L 1 is received from the upstream side in the transport direction (arrow direction) of the first linear transport unit 10 and guided to the camera 22, and the reflected light L 3 and mirrors 28 and 29 for receiving the light 3 from the downstream side in the transport direction and introducing it into the camera 22.
  • the slit light irradiator 23 and the mirrors 24 and 25 divide the slit light L 1 in the transport direction (arrows) of the inspection target K whose irradiation line is transported by the first linear transport unit 10. Irradiate vertically downward so as to be orthogonal to the indicated direction.
  • the camera 22 when the slit beam L 1 is irradiated on the inspection object K being conveyed by the first linear conveyance unit 10, the reflected light L 2 of the slit beam L 1 , it received from the transfer direction (arrow direction) upstream of the inspection object K, capturing each image by receiving the reflected light L 3 from the downstream side.
  • the camera 22 captures an image of the irradiation line of the slit light L 1 as seen from the two directions.
  • FIG. 7 shows the imaging form of the camera 22 in FIG. 3 as a simple and equivalent form that is easy to understand.
  • the camera 22 is an area sensor composed of elements arranged in double rows and double columns, and receives the reflected lights L 2 and L 3 to generate image data consisting of double row and double column pixels each having luminance data. To do.
  • FIG. 8 An example of an image obtained by imaging one reflected light (for example, reflected light L 2 ) is shown in FIG.
  • a part L s corresponding to the surface of the inspection object K corresponds to a base part L b where X is a direction orthogonal to the transport direction and Y is a transport direction. Is shifted to the Y direction (see also FIG. 8).
  • the imaging direction intersects with the irradiation direction of the slit light and is called a so-called light cutting method.
  • the image L S corresponding to the surface of the inspection object K Looking at the pixel (X i , Y i ), the height of the surface of the inspection object K corresponding to the pixel (X i ) from the base surface is the pixel (Y j ) of the image L b corresponding to the base surface. and based on the difference between the pixel (Y i) of the image L S, it can be calculated by geometric calculation techniques.
  • the height of the surface of the inspection object K is not directly calculated, but the image captured by the camera 22 includes height information based on such a light cutting method.
  • the image data captured in this way is transmitted from the camera 22 to the inspection selection processing unit 20.
  • the position data (X i , Y i ) composed of the pixel position (X i ) in the X direction and the pixel position (Y i ) having the maximum luminance in the column is transmitted to the inspection / selection processing unit 20 as image data.
  • the amount of data to be transmitted is reduced, the transmission speed and the processing speed in the inspection / sorting processing unit 20 can be increased, and rapid processing can be performed.
  • the camera 22 captures the images in the two directions at a predetermined shutter speed, and at least the image data while the laser beam is irradiated on the upper surface of the inspection object K is used as a frame image obtained for each shutter. It transmits to the said inspection selection process part 20.
  • the A-side slit light image capturing unit 21 captures an image including height information of the upper surface (surface A) of the inspection object K, and transmits the image to the inspection / sorting processing unit 20.
  • the B-side slit light image capturing unit 51 includes a camera 52, a slit light irradiator 53, mirrors 54, 55, 56, 57, 58, 59 having the same configuration as the A-side slit light image capturing unit 21, and the A The surface slit light image capturing unit 21 is disposed in the vicinity of the second linear transport unit 15 in an inverted state.
  • reference numerals in parentheses indicate corresponding members of the B-side slit light image capturing unit 51.
  • the camera 52 irradiates the lower surface (B surface) of the inspection object K conveyed by the second linear conveyance unit 15. 1 reflected light is received from two directions upstream and downstream of the conveyance direction of the inspection object K, and the image data (pixel position (X i ) in the X direction) and has the maximum luminance in the column. Position data (X i , Y i )) consisting of pixel positions (Y i ) is generated, and at least the image data while the lower surface of the inspection object K is irradiated with laser light is used as the frame image to perform the inspection selection. It transmits to the processing unit 20.
  • the A surface grayscale image capturing unit 41 is disposed on the downstream side in the transport direction from the A surface slit light image capturing unit 21, and as shown in FIG. 4, above the transport path of the first linear transport unit 10.
  • a hemispherical diffusing member 44 that covers the conveying path and is disposed so that the inspection object K can pass therethrough, and is disposed outside the diffusing member 44, and irradiates light toward the inside of the diffusing member 44.
  • a plurality of lamps 43 and a camera 42 provided above the diffusing member 44 and imaging the inside of the diffusing member 44 through an opening 44 a provided at the top of the diffusing member 44.
  • the light emitted from the lamp 43 is diffused when passing through the diffusing member 44, and becomes scattered light (diffused light) having no directivity to illuminate the space covered by the diffusing member 44.
  • the upper surface (A surface) of the inspection object K carried into the diffusing member 44 by the first linear transport unit 10 is uniformly illuminated by the diffused light. And by uniformly illuminating the upper surface (A surface) in this way, even if the upper surface (A surface) is uneven, the entire surface is illuminated uniformly, and the upper surface is in a state in which the shading is emphasized. .
  • the camera 42 is composed of a line sensor or an area sensor, picks up a grayscale image of the upper surface (A surface) of the inspection object K carried into the diffusion member 44 by the first linear transport unit 10 at a predetermined shutter speed, The obtained image of at least the entire upper surface (A surface) is transmitted to the examination selection processing unit 20 as a frame image captured for each shutter.
  • the upper surface (A surface) of the inspection object K in a state where the light is uniformly illuminated by the diffused light and the gray level is more emphasized is captured and captured by the camera 42.
  • the grayscale image is transmitted to the inspection selection processing unit 20.
  • the B-side gray image capturing unit 71 is disposed downstream of the B-side slit light image capturing unit 51 in the transport direction, and has the same configuration as the A-side gray image capturing unit 41, a diffusion member 74, a plurality of lamps 73, and a camera. 72 and is disposed in the vicinity of the second linear conveyance unit 15 in a state in which the upper and lower sides thereof are inverted with respect to the A-surface grayscale image capturing unit 41.
  • reference numerals in parentheses indicate corresponding members of the B-side gray image capturing unit 71.
  • the lower surface (B surface) of the inspection object K conveyed by the second linear conveying unit 15 is diffused by the action of the lamp 73 and the diffusing member 74.
  • the lower surface (B surface) in a state where the light is uniformly illuminated by light and the shade is more emphasized by the uniform illumination is imaged by the camera 72 through the opening 74a of the diffusing member 74, and at least the entire lower surface (B surface) imaged.
  • the inspection / selection processing unit 20 includes an A-side shape determination unit 30, an A-side pattern determination unit 45, a B-side shape determination unit 60, a B-side pattern determination unit 75, and a selection control unit 91.
  • the A-surface shape determination unit 30 includes an A-surface slit light image storage unit 31, an A-surface luminance data conversion processing unit 32, an A-surface 2 image composition processing unit 33, and an A-surface shape feature extraction process. Part 34 and A surface shape determination processing part 35.
  • the A-side slit light image storage unit 31 stores the bi-directional image data (frame images) received from the A-side slit light image capturing unit 21.
  • the A-plane luminance data conversion processing unit 32 reads out the two-direction frame images stored in the A-side slit light image storage unit 31 and performs the following processing to obtain the position data derived from the height component as its height.
  • the image data is converted into luminance data set according to the component, and new image data in which the height component is expressed by the luminance data is generated.
  • the A-plane luminance data conversion processing unit 32 first sequentially reads out the frame image data on one side, and based on the pixel position (X i , Y i ), as shown in FIG.
  • the pixel position (Y i ) corresponding to the depth component is converted into 256-gradation luminance data, image data composed of the pixel position (X i ) and luminance data is generated, and sequentially converted for all frame images, New image data (image data composed of two-dimensional plane position data and luminance data representing height information at each position, hereinafter referred to as “luminance image data”) is generated.
  • the luminance image data is generated in the same manner for the other side image data.
  • the A-side two-image composition processing unit 33 performs data conversion by the A-side luminance data conversion processing unit 32, and synthesizes newly generated two-direction luminance image data into one luminance image data.
  • the inspection object K is imaged from an obliquely upper side on the upstream side in the transport direction
  • the reflected light at the front part of the inspection object K is weak, and when imaged from an obliquely upper side on the downstream side in the transport direction. Since the reflected light at the rear part of the inspection object K becomes weak, the image data for these parts becomes inaccurate.
  • FIG. 11A shows an image obtained by imaging the inspection object K of FIG. 7 from the upstream side in the transport direction by the A-surface luminance data conversion processing unit 32.
  • FIG. 11B shows a converted image of the image captured from FIG.
  • the upper part of the image (the part surrounded by the white line) is inaccurate
  • the lower part of the image (the part surrounded by the white line) is inaccurate. Therefore, by combining these two images, for example, when data is missing between each other, the data that is present is applied, and when there is data between each other, the average value thereof is applied, whereby FIG.
  • FIG. As shown in (c), an image in which the entire upper surface (A surface) of the inspection object K is accurately represented can be obtained.
  • the blind spot 100a when there is a missing portion 100 on the surface of the inspection object K, when the camera 22 captures an image from the direction indicated by the solid line, a blind spot portion 100 a is generated, but the opposite direction (in a two-dot chain line) If the image is taken from the direction shown), the blind spot 100a can be imaged.
  • the A-surface shape feature extraction unit 34 performs a process of extracting shape features based on the composite image generated by the A-surface two-image composition processing unit 33. Specifically, the synthesized image is smoothed by a so-called smoothing filter, and feature image data is generated by taking a difference between the obtained smoothed image data and the synthesized image data.
  • the synthesized image is obtained by converting the height component into luminance data, and the luminance represents the height of the upper surface (A surface) of the inspection object K.
  • the upper surface is obtained by subtracting the averaged image from the synthesized image.
  • An image in which a large amount of change in the height direction of (A surface) is emphasized can be obtained. For example, as shown in FIG. 12, by subtracting the smoothed image (FIG. 12B) from the composite image (FIG. 12A), as shown in FIG. And the number “678” stamped on the upper surface (A surface) are emphasized as dark portions.
  • the A-surface shape feature extraction unit 34 transmits the feature image data generated in this way to the A-surface shape determination processing unit 35.
  • the A-surface shape feature extraction unit 34 analyzes the generated feature image data, recognizes a region where the uneven portion exists in the image, and information on the recognized region will be described later. Send to.
  • the A-surface shape determination processing unit 35 compares this with data related to the appropriate surface shape based on the feature image related to the surface shape generated by the A-surface shape feature extraction unit 34, and determines whether or not the stamp is appropriate. Whether or not there is a chip or the like is determined.
  • the A-side pattern determination unit 45 stores the A-side grayscale image storage unit 46 that stores the grayscale image of the A-side received from the A-side grayscale image capturing unit 41 and the A-side grayscale image storage unit 46.
  • An A surface grayscale image binarization processing unit 47 that binarizes the A surface grayscale image with a predetermined reference value, and an image portion corresponding to the upper surface (A surface) of the inspection object K from the binarized image.
  • An A-side target part extraction processing unit 48 to extract, an A-side pattern feature extraction processing unit 49 to extract a black part (pattern part) in the extracted image, and the extracted black part (pattern part) as a predetermined reference It comprises an A-side pattern determination processing unit 50 that determines whether the pattern is good or bad.
  • the grayscale image captured by the A plane grayscale image capturing unit 41 and stored in the A plane grayscale image storage unit 46 is a multi-valued image, and this multivalued image is binarized with a predetermined reference value.
  • An image portion corresponding to the upper surface (A surface) of the inspection object K is extracted from the binarized image, and a black portion (pattern portion) in the extracted image is further extracted to obtain a black portion (pattern portion). ) Is compared with a predetermined reference pattern, and the quality is determined.
  • the extracted black portion For example, if there is no pattern such as printed characters on the upper surface (A surface) of the appropriate inspection object K, if there is an extracted black portion, it is determined that the spot is defective, and the printed characters are printed on the surface. If a pattern such as is attached, the extracted black part (pattern part) is compared with an appropriate pattern, and pass / fail is determined from the degree of adaptation.
  • the A-side pattern determination processing unit 50 receives information about the area where the uneven portion exists from the A-side shape feature extraction processing unit 34, and the feature image generated by the A-side pattern feature extraction unit 49. Of these, a region corresponding to the region where the uneven portion is present is set as a non-inspection region, and the quality determination is performed.
  • the surface of the inspection object K has large unevenness, for example, a deep marking
  • FIG. 13A shows an image generated by the A-surface pattern feature extraction processing unit 49 when the surface of the inspection object K has a number stamp “678”. Note that black circles in the image are stigma on the surface of the inspection object K.
  • the image data generated by the A-side pattern feature extraction processing unit 49 is used as it is, and the quality determination of the surface pattern is performed. Even a normally normal one is determined to be a pattern abnormality.
  • information about the area where the concavo-convex portion exists is received from the A-surface shape feature extraction processing unit 34, and the feature relating to the surface pattern generated by the A-surface pattern feature extraction unit 49 is received.
  • an area corresponding to the area where the uneven portion is present is set as a non-inspection area, and the quality of the pattern is determined.
  • the A-side pattern determination processing unit 50 determines that the area where the number “678” of the stamped part exists is a non-inspection area as shown in FIG. 13C. As shown in FIG. 13D, only black circles are inspected, and the quality is determined. In this example, the black circles are determined as bad spots.
  • the suitability of the pattern on the surface of the inspection object K can be accurately inspected by setting the uneven portion present on the surface of the inspection object K as the non-inspection area.
  • the B surface shape determination unit 60 includes a B surface slit light image storage unit 61, a B surface luminance data conversion processing unit 62, a B surface 2 image composition processing unit 63, and a B surface shape feature extraction processing unit. 64 and B surface shape determination processing unit 65.
  • the B-side slit light image storage unit 61 is the A-side slit light image storage unit 31
  • the B-side luminance data conversion processing unit 62 is the A-side luminance data conversion processing unit 32
  • the B-side two image composition processing unit 63 is the B-side two image composition processing unit 63.
  • the B-side shape feature extraction processing unit 64 is the A-side shape feature extraction processing unit 34
  • the B-side shape determination processing unit 65 is the A-side shape determination processing unit 35, respectively. It has the same configuration and performs the same processing.
  • the B-side shape determining unit 60 detects the feature related to the shape of the lower surface (B-side) of the inspection object K, and determines its quality.
  • the B surface pattern determination unit 75 includes a B surface gray image storage unit 76, a B surface gray image binarization processing unit 77, a B surface target part extraction processing unit 78, and a B surface pattern feature extraction.
  • a processing unit 79 and a B-side pattern determination processing unit 80 are included.
  • the B surface gray image storage unit 76 is the A surface gray image storage unit 46
  • the B surface gray image binarization processing unit 77 is the A surface gray image binarization processing unit 47
  • the B surface target part extraction processing unit 78 is included.
  • the B-side pattern feature extraction processing unit 79 is the A-side pattern feature extraction processing unit 49
  • the B-side pattern determination processing unit 80 is the A-side pattern determination processing unit 50, respectively. It has the same configuration and performs the same processing.
  • the B-side pattern determining unit 75 detects the feature related to the pattern on the lower surface (B-side) of the inspection object K, and determines its quality.
  • the selection control unit 91 receives determination results from the A surface shape determination processing unit 35, the A surface pattern determination processing unit 50, the B surface shape determination processing unit 65, and the B surface pattern determination processing unit 80, respectively.
  • a sorting signal is transmitted to the sorting unit 90 at a timing when the inspection object K determined to be defective reaches the sorting unit 90.
  • the sorting unit 90 collects the inspection object K in the defective product collection chamber, and collects the conveyed inspection object K in the non-defective product collection chamber when the sorting signal is not received.
  • the A surface is based on the image captured by the A surface slit light image capturing unit 21 while being transported by the first linear transport unit 10.
  • the shape determination unit 30 inspects whether or not the shape of the upper surface (A surface) of the inspection object K is appropriate, and the A surface pattern determination unit 45 uses the same upper surface based on the image captured by the A surface grayscale image capturing unit 41. Appropriateness regarding the pattern of (A surface) is inspected, and then, while being transported by the second linear transport unit 15, the B surface shape determining unit 60 is based on the image captured by the B surface slit light image capturing unit 51.
  • the suitability of the shape of the lower surface (B surface) of the inspection object K is inspected, and the lower surface (B surface) is determined by the B surface pattern determination unit 75 based on the image captured by the B surface grayscale image capturing unit 71. Suitable for the pattern of There is examined, and the upper and lower surfaces of the shape and pattern of the inspection object K is automatically inspected.
  • the A-side pattern determining unit 45 and the B-side pattern determining unit 75 extract the features related to the pattern and determine the suitability of the pattern
  • the A-side pattern determining unit 30 and the B-side pattern determining unit 60 Since the information about the area where the uneven portion exists is received, the area corresponding to the area where the uneven portion exists is set as the non-inspection area, and the quality of the pattern is determined. Even when uneven parts such as engravings are present on the front and back surfaces of the object K, the patterns on the upper and lower surfaces can be accurately inspected.
  • the A-side slit light image capturing unit 21 and the B-side slit light image capturing unit 51 capture images from two directions on the upstream side and the downstream side in the transport direction of the inspection target K, and the A-side shape determination unit 30 and B
  • the surface shape determination unit 60 combines the two obtained images to generate one image, and determines whether the shape of the upper and lower surfaces of the inspection target K is appropriate based on the generated combined image. An image having as few blind spots as possible can be obtained, and the shape of the entire upper and lower surfaces can be accurately inspected.
  • the A-surface slit light image capturing unit 21 is provided upstream of the A-surface light / dark image capturing unit 41, so the A-surface slit light image storage unit 31 includes the A-surface light / dark image storage unit 46.
  • data for the same inspection object K1 is stored. Therefore, the processes of the A plane luminance data conversion processing unit 32 to the A plane shape determination processing unit 35 are executed prior to the processes of the A plane gray image binarization processing unit 47 to the A plane pattern determination processing unit 50, and the A plane The pattern determination processing unit 50 can perform processing with reference to data from the A-surface shape feature extraction processing unit 34 without causing a waiting time, and can perform rapid processing.
  • data for the same inspection object K1 is stored in the B-side slit light image storage unit 61 prior to the B-side grayscale image storage unit 76, and the B-side pattern determination processing unit 80 receives the waiting time.
  • the processing can be performed with reference to the data from the B-surface shape feature extraction processing unit 64 without causing occurrence, and a quick processing can be performed.
  • data for the same inspection object K1 is stored in the A-side slit light image storage unit 31 and the A-side gray image storage unit 46, respectively, and then the A-side The processing of the luminance data conversion processing unit 32 to the A surface shape determination processing unit 35 and the processing of the A surface grayscale image binarization processing unit 47 to the A surface pattern determination processing unit 50 may be executed simultaneously in parallel. Further, after the data for the same inspection object K1 is stored in the B-side slit light image storage unit 61 and the B-side gray image storage unit 76, the B-side luminance data conversion processing unit 62 to the B-side shape determination processing unit. The process of 65 and the processes of the B surface grayscale image binarization processing unit 77 to the B surface pattern determination processing unit 80 may be executed simultaneously in parallel.
  • the A-side gray image capturing unit 41 is disposed upstream of the A-side slit light image capturing unit 21, and the B-side gray image capturing unit 71 is disposed upstream of the B-side slit light image capturing unit 51. May be installed.
  • the significance of the surface that is the inspection target surface of the inspection target K is not limited to the upper surface (A surface) and the lower surface (B surface) shown in the above example, but the outer peripheral surface (side surface) thereof. It means the entire surface including.
  • FIG. 15 to FIG. 20 it is configured to perform shape inspection and pattern inspection on the upper surface of the inspection object K, and side surface inspection viewed from the left and right sides in the conveyance direction of the inspection object K.
  • the appearance inspection apparatus 100 will be described.
  • the appearance inspection apparatus 100 includes a supply unit 3, a first linear conveyance unit 10, an A-side slit light image capturing unit 21 and a selection unit 90 having the same configuration as the above example, and an A-side slit light.
  • the grayscale image pickup unit 130 disposed on the downstream side of the image pickup unit 21, and the inspection selection processing unit 110 that receives the image data from the A-side slit light image pickup unit 21 and the grayscale image pickup unit 130 and performs the inspection selection process. And.
  • the sorting unit 90 is provided at the transport downstream end of the first linear transport unit 10, and the inspection object K transported by the first straight transport unit 10 is in accordance with a command from the test sorting processing unit 110. Sort into good and defective products.
  • the gray image capturing unit 130 has a configuration in which cameras 131 and 132 are newly provided in the A-side gray image capturing unit 41 of the above example.
  • the camera 131 is disposed on the left side in the conveyance direction of the inspection object K, that is, on the paper surface, and the inspection object located in the diffusion member 44 through the opening 44b provided on the left side of the diffusion member 44.
  • a grayscale image of the left side of K is captured.
  • the camera 132 is disposed on the right side of the paper surface, and transmits a grayscale image of the right side surface of the inspection object K located in the diffusion member 44 through the opening 44c provided on the right side of the diffusion member 44. Take an image.
  • the grayscale image of the upper surface (A surface) of the inspection object K imaged by the camera 42 the grayscale image of the left side surface of the inspection object K imaged by the camera 131, and the inspection object imaged by the camera 132.
  • the grayscale image on the right side of the object K is transmitted to the inspection sorting processor 110, respectively.
  • the inspection / selection processing unit 110 includes an A-side shape determination unit 30, an A-side pattern determination unit 45, and a selection control unit 91, and a left side pattern determination newly provided in addition thereto.
  • the left side pattern determination unit 111 includes a left side gradation image storage unit 112, a left side gradation image binarization processing unit 113, a left side target part extraction processing unit 114, a left side pattern feature extraction processing unit 115, and a left side pattern determination.
  • the right side pattern determination unit 120 includes a right side gray image storage unit 121, a right side gray image binarization processing unit 122, a right side target part extraction processing unit 123, and a right side pattern feature.
  • An extraction processing unit 124 and a right side surface pattern determination processing unit 125 are included.
  • the left side gray image storage unit 112 and the right side gray image storage unit 121 are the A side gray image storage unit 46, the left side gray image binarization processing unit 113, and the right side gray image binarization processing unit 122 are the above.
  • the A side grayscale image binarization processing unit 47, the left side target part extraction processing unit 114, and the right side target part extraction processing unit 123 are the A side target part extraction processing unit 48, the left side pattern feature extraction processing unit 115, and the right side.
  • the surface pattern feature extraction processing unit 124 is a functional unit that performs the same processing as the A surface pattern feature extraction processing unit 49. Therefore, detailed description thereof is omitted here.
  • the A-surface shape feature extraction processing unit 34 of this aspect is present on the A-surface as a result of the analysis in addition to the above-described processing for analyzing the feature image data and recognizing the region where the uneven portion in the image exists.
  • an area where the uneven portion is present Information on the calculated area is transmitted to the left side pattern determination processing unit 116 and / or the right side pattern determination processing unit 125.
  • the A-surface shape feature extraction processing unit 34 analyzes the feature image data and, for example, as shown in FIG. 18, the dividing line G that appears in the image on the left side with reference to the front end portion in the transport direction of the inspection object K.
  • the position (l a1 and l a2 ) and the depth h a thereof are calculated, and the position (l b1 and l b2 ) and the depth h b of the secant line G appearing in the image on the right side are calculated.
  • the left side pattern determination processing unit 116 receives such information, as shown in FIG. 19, the area where the secant line G exists, that is, the area surrounded by the upper surface of the inspection object K and the two-point difference line. Is set as a non-inspection area, and the quality of the pattern as in the above example is determined.
  • the right side pattern determination processing unit 125 receives the above information, as shown in FIG. 20, the right side pattern determination processing unit 125 is surrounded by a region where the secant line G exists, that is, the upper surface of the inspection target K and a two-point difference line. The area is set as a non-inspection area, and the quality of the pattern is determined.
  • a defect determination result is received from any one of the A-surface shape determination processing unit 35, the A-surface pattern determination processing unit 50, the left-side pattern determination processing unit 116, and the right-side pattern determination processing unit 125.
  • a sorting signal is transmitted from the sorting control unit 91, and the inspection object K determined to be defective is collected by the sorting unit 90 in the defective product collection chamber.
  • the appearance inspection apparatus 100 of the present embodiment when the unevenness existing on the upper surface of the inspection object K extends to the side surface, the information obtained from the shape inspection result of the upper surface is displayed on the side surface pattern.
  • the inspection it is possible to prevent erroneous determination due to the unevenness in the pattern inspection, and it is possible to increase the inspection accuracy on the side surface.
  • the appearance inspection apparatus 100 can be configured to inspect the lower surface of the inspection object K in the same manner as the appearance inspection apparatus 1 described above.
  • the pattern inspection in the inspection / separation processing units 20 and 110 is performed by setting the region where the uneven portion is present as the non-inspection region.
  • the present invention is not limited to this. Absent.
  • the grayscale image binarization processing units 47, 77, 113, and 122 are deleted and processed as multi-valued images, and the pattern feature extraction processing units 49, 79, In 115 and 124, the region where the uneven portion is present is inspected at a sensitivity lower than the inspection sensitivity in the other regions.
  • the threshold value for determining whether it is a dark spot or the like from the degree of dark color is set to the dark side.
  • the low-sensitivity inspection may be set such that a dark spot is determined if an extremely dark portion is present.
  • the corners (edge portions) of images picked up by the gray image pickup units 41 and 71 may be unclear depending on the shape of the inspection object K. In this case, it may happen that the non-defective product is erroneously determined as a defective product in each of the pattern determination units 45 and 75.
  • each of the pattern feature extraction processing units 49 and 79 analyzes the feature image to detect a region whose shape changes extremely, such as an edge portion of the inspection object K, Information regarding such areas may be transmitted to the pattern determination processing sections 50 and 80, and the pattern determination processing sections 50 and 80 may set such areas as non-inspection areas to perform pattern inspection.

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Health & Medical Sciences (AREA)
  • Chemical & Material Sciences (AREA)
  • Analytical Chemistry (AREA)
  • Biochemistry (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Immunology (AREA)
  • Pathology (AREA)
  • Investigating Materials By The Use Of Optical Means Adapted For Particular Applications (AREA)
  • Engineering & Computer Science (AREA)
  • Textile Engineering (AREA)
  • Image Processing (AREA)
  • Length Measuring Devices By Optical Means (AREA)

Abstract

Provided is an appearance inspection device capable of accurately inspecting the pattern of even an object having projections and recesses on the surface thereof. The appearance inspection device is provided with a surface shape inspection means and a surface pattern inspection means which are disposed near a transfer path for transferring an object to be inspected (K). The surface shape inspection means is provided with a slit light image capturing unit (21, 51) for capturing an image formed by applying band-shaped slit light to the object to be inspected (K), and a shape determination unit for determining the acceptance or nonacceptance of the surface shape on the basis of the captured image. The surface pattern inspection means is provided with a gray-scale image capturing unit (41, 71) for capturing a gray-scale image by applying diffusion light to the object to be inspected (K), and a pattern determination unit for determining the acceptance or nonacceptance of the surface pattern on the basis of the captured gray-scale image. The pattern determination unit receives, from the shape determination unit, information relating to a region in which at least a portion having projections and recesses of the surface of the object to be inspected (K) is present, sets the received region to a non-inspection region, and determines the acceptance or nonacceptance of the pattern.

Description

外観検査装置Appearance inspection device

 本発明は、医薬品(錠剤,カプセル等),食品,機械部品や電子部品等(以下、「検査対象物」という)の外観を検査する装置に関する。 The present invention relates to an apparatus for inspecting the appearance of medicines (tablets, capsules, etc.), food, machine parts, electronic parts, etc. (hereinafter referred to as “inspection object”).

 従来、前記検査対象物表面の外観を検査する装置として、例えば特開昭63-53452号公報(従来例1)や特開2004-317126号公報(従来例2)に開示された装置が知られている。 Conventionally, as an apparatus for inspecting the appearance of the surface of an inspection object, for example, apparatuses disclosed in Japanese Patent Application Laid-Open No. 63-53452 (Conventional Example 1) and Japanese Patent Application Laid-Open No. 2004-317126 (Conventional Example 2) are known. ing.

 この従来例1に係る検査装置は、検査対象物の表面に拡散光を照射して、表面を適宜撮像装置により撮像し、得られた濃淡画像を解析することによって、検査対象物表面に存在する汚れや印刷部を検出し、その適否を判別するというものである。 The inspection apparatus according to Conventional Example 1 exists on the surface of the inspection object by irradiating the surface of the inspection object with diffused light, appropriately imaging the surface with an imaging apparatus, and analyzing the obtained grayscale image. It detects smudges and printed parts and determines their suitability.

 この検査装置では、検査対象物表面に拡散光を照射することで、表面があらゆる方向から均質に照明され、これにより、表面に存在する凹凸が捨象され、即ち、凹凸に起因した影の発生が抑えられ、表面の模様(汚れや印刷部)が強調された濃淡画像が得られる。 In this inspection apparatus, the surface of the object to be inspected is irradiated with diffused light so that the surface is uniformly illuminated from all directions, thereby eliminating irregularities existing on the surface, that is, generation of shadows due to the irregularities. It is possible to obtain a grayscale image that is suppressed and the surface pattern (dirt or printed portion) is emphasized.

 一方、前記従来例2に係る検査装置は、検査対象物表面にレーザスリット光を照射し、照射されたレーザスリット光の画像を適宜撮像装置によって撮像し、得られた画像を光切断法に従い解析して検査対象物表面の高さに係る情報を取得し、得られた高さ情報を基に、検査対象物の表面に存在する傷や欠け等を検出し、また、検査対象物の体積を算出するというものである。 On the other hand, the inspection apparatus according to Conventional Example 2 irradiates the surface of the inspection object with laser slit light, appropriately captures an image of the irradiated laser slit light, and analyzes the obtained image according to a light cutting method. To obtain information on the height of the surface of the inspection object, and based on the obtained height information, detect scratches or chips present on the surface of the inspection object, and determine the volume of the inspection object. It is to calculate.

特開昭63-53452号公報Japanese Unexamined Patent Publication No. 63-53452 特開2004-317126号公報JP 2004-317126 A

 ところが、上述した従来例に係る検査装置の内、従来例1に係る検査装置については、以下に説明するような問題があった。 However, among the inspection apparatuses according to the conventional example described above, the inspection apparatus according to the conventional example 1 has a problem as described below.

 即ち、上述したように、従来例1に係る検査装置は、検査対象物表面に拡散光を照射することで、表面に存在する凹凸に起因した影の発生を抑えて、表面に存在する模様(汚れや印刷部)を強調しようとするものであるが、表面に大きな凹凸、例えば、深さの深い刻印がある場合には、その影を完全に消すことができないという問題があったのである。 That is, as described above, the inspection apparatus according to Conventional Example 1 irradiates the surface of the inspection object with diffused light, thereby suppressing the occurrence of shadows due to the unevenness existing on the surface, and the pattern ( However, when there is a large unevenness on the surface, for example, a deep mark, there is a problem that the shadow cannot be completely erased.

 深い刻印の場合、刻印の内面、特に底部を表面と同程度に照明することが難しく、結果として、同底部に影が生じ、同部が濃色となった濃淡画像が撮像されるため、適正な刻印が付与されたものであるにも拘わらず、不良品であると判定されるのである。 In the case of a deep stamp, it is difficult to illuminate the inner surface of the stamp, especially the bottom, to the same extent as the surface, and as a result, a shadow image is generated on the bottom, and a dark and shaded image is captured. It is determined that the product is inferior although it has been given a simple stamp.

 特に、上記医薬品の場合、その表面に文字などの刻印が恒常的に行われているが、上記従来例1に係る装置では、その正確な検査を行うことができなかった。 In particular, in the case of the above-mentioned pharmaceuticals, characters and the like are constantly stamped on the surface thereof, but the apparatus according to Conventional Example 1 cannot perform an accurate inspection.

 その一方、医薬品は、高度な保証が求められるため、かかる刻印部の検査や表面の汚点等を正確に検出することができれば、極めて有益である。 On the other hand, since pharmaceuticals require a high level of assurance, it would be extremely useful if the inspection of the stamped portion and the surface stains could be accurately detected.

 本発明は、以上の実情に鑑みなされたものであって、表面に深い凹凸を有する物であっても、この凹凸の適否や、表面の汚点等の欠点を正確に検査することができる外観検査装置の提供を目的とする。 The present invention has been made in view of the above circumstances, and even if the surface has deep unevenness, the appearance inspection can accurately inspect defects such as the suitability of the unevenness and the stain on the surface. The purpose is to provide a device.

 上記目的を達成するための本発明は、
 所定の搬送路に沿って検査対象物を搬送する搬送手段と、
 前記搬送手段によって搬送される前記検査対象物の表面形状を検査する表面形状検査手段と、
 同じく前記搬送手段によって搬送される前記検査対象物の表面模様を検査する表面模様検査手段とを備えた外観検査装置であって、
 前記表面形状検査手段は、前記搬送路近傍に配設され、帯状のスリット光を、その照射ラインが前記検査対象物の搬送方向と直交するように前記検査対象物表面に照射するとともに、撮像光軸が前記検査対象物の搬送方向に沿い、且つ前記検査対象物に照射されるスリット光の光軸と交差する方向から、前記検査対象物に前記スリット光が照射されたときの画像を撮像するスリット光画像撮像部と、該スリット光画像撮像部により撮像された画像を基に、前記検査対象物表面の形状特徴を認識して該形状に関する適否を判定する形状判定部とを備え、
 前記表面模様検査手段は、前記スリット光画像撮像部より上流側又は下流側の前記搬送路近傍に配設され、前記検査対象物の表面に拡散光を照射し、該拡散光によって照明された検査対象物表面の濃淡画像を撮像する濃淡画像撮像部と、該濃淡画像撮像部によって撮像された濃淡画像を基に、前記検査対象物表面の模様特徴を認識して該模様に関する適否を判定する模様判定部とを備え、
 更に、前記模様判定部は、前記形状判定部から少なくとも前記検査対象物表面の凹凸部が存在する領域に関する情報を受信し、受信した領域を、検査を行わない非検査領域又は他の領域における検査感度よりも低い感度で検査する低感度検査領域に設定して、前記模様に関する適否を判定するように構成された外観検査装置に係る。
To achieve the above object, the present invention provides:
Transport means for transporting the inspection object along a predetermined transport path;
Surface shape inspection means for inspecting the surface shape of the inspection object conveyed by the conveyance means;
Similarly, an appearance inspection apparatus comprising a surface pattern inspection means for inspecting a surface pattern of the inspection object conveyed by the conveyance means,
The surface shape inspection means is disposed in the vicinity of the conveyance path, and irradiates the inspection object surface with a strip-shaped slit light so that an irradiation line thereof is orthogonal to the conveyance direction of the inspection object, and imaging light. An image when the slit light is irradiated onto the inspection object is taken from a direction whose axis is along the conveyance direction of the inspection object and intersects the optical axis of the slit light irradiated onto the inspection object. A slit light image capturing unit; and a shape determining unit that recognizes the shape characteristics of the surface of the inspection object based on the image captured by the slit light image capturing unit and determines suitability for the shape;
The surface pattern inspection means is disposed in the vicinity of the transport path upstream or downstream of the slit light image capturing unit, irradiates the surface of the inspection object with diffused light, and is illuminated with the diffused light. A grayscale image capturing unit that captures a grayscale image on the surface of the object, and a pattern for recognizing the pattern characteristics of the surface of the inspection object and determining whether the pattern is appropriate based on the grayscale image captured by the grayscale image capturing unit A determination unit,
Further, the pattern determination unit receives at least information on a region where the uneven portion on the surface of the inspection object exists from the shape determination unit, and the received region is inspected in a non-inspection region or other region where no inspection is performed. The present invention relates to an appearance inspection apparatus configured to set a low-sensitivity inspection region in which inspection is performed with a sensitivity lower than the sensitivity, and to determine suitability for the pattern.

 本発明の外観検査装置によれば、前記搬送手段によって搬送される検査対象物は、前記表面形状検査手段によってその表面形状が検査される。即ち、前記スリット光画像撮像部において、帯状のスリット光を検査対象物の表面に照射して、その反射光を撮像し、形状判定部において、前記撮像画像を基に例えば光切断法により検査対象物表面の三次元形状に係るデータを算出し、算出したデータから表面形状の特徴を認識して、その適否を判定する。 According to the appearance inspection apparatus of the present invention, the surface shape of the inspection object conveyed by the conveying means is inspected by the surface shape inspecting means. That is, in the slit light image capturing unit, the surface of the inspection object is irradiated with a band-shaped slit light, and the reflected light is imaged. In the shape determination unit, the inspection target is obtained by, for example, a light cutting method based on the captured image. Data relating to the three-dimensional shape of the object surface is calculated, the feature of the surface shape is recognized from the calculated data, and the suitability is determined.

 一方、検査対象物は、前記表面模様検査手段によってその表面が検査され、前記濃淡画像撮像部により撮像された濃淡画像を基に、その表面の模様特徴が認識され、その適否が判定される。例えば、表面に汚れが存在する場合には、汚れが模様として検出され、その結果不良と判定され、表面に文字などが印刷されている場合には、この印刷部が模様として検出され、印刷状態の適否が判定される。 On the other hand, the surface of the inspection object is inspected by the surface pattern inspection means, the pattern characteristics of the surface are recognized based on the grayscale image captured by the grayscale image capturing unit, and its suitability is determined. For example, if there is dirt on the surface, the dirt is detected as a pattern, and as a result, it is determined to be defective, and if characters or the like are printed on the surface, this print part is detected as a pattern and the printing state The suitability is determined.

 その際、模様判定部は、前記形状判定部から少なくとも前記検査対象物表面の凹凸部が存在する領域に関する情報を受信し、受信した領域を非検査領域又は低感度検査領域に設定して、模様に関する適否を判定する。 At that time, the pattern determination unit receives information from the shape determination unit about at least the region where the uneven portion on the surface of the inspection object exists, sets the received region as a non-inspection region or a low-sensitivity inspection region, Judgment of suitability for

 表面に大きな凹凸、例えば、深さの深い刻印がある場合、拡散照明によって検査表面をある程度均質に照明したとしても、刻印の内面、特に底部を表面と同程度に照明することは難しい。 When there are large irregularities on the surface, for example, a deeply engraved mark, it is difficult to illuminate the inner surface of the engraved mark, particularly the bottom, to the same extent as the surface even if the inspection surface is illuminated to some extent by diffuse illumination.

 このため、同底部に影が生じ、前記濃淡画像撮像部では、同部が比較的薄いものの濃色部となった濃淡画像が撮像され、その結果、模様判定部において高感度の検査、例えば、濃色の度合いから汚点等であるか否かを判別するその閾値を淡色側に設定して、比較的薄い濃色部が存在してもこれを汚点等であると判定するような検査を行うと、適正な刻印が付与されたものであるにも拘わらず、これを汚点等と誤認して模様異常と判定することになる。 For this reason, a shadow is generated at the bottom, and the gray image capturing unit captures a gray image that is a relatively dark portion of the same, but as a result, a high-sensitivity inspection is performed in the pattern determination unit, for example, The threshold for determining whether or not it is a dark spot or the like based on the degree of dark color is set on the light color side, and even if a relatively light dark color portion exists, an inspection is performed to determine that this is a dark spot or the like In spite of the fact that the proper stamp is given, this is mistaken as a spot or the like and it is determined that the pattern is abnormal.

 そこで、本発明では、前記模様判定部が、検査対象物表面の形状を正確に判別することができる前記表面形状検査手段の形状判定部から、少なくとも検査対象物表面の凹凸部が存在する領域に関する情報を受信し、受信した領域を非検査領域又は低感度検査領域に設定して、検査対象物表面の模様に係る適否を判定する構成とした。 Therefore, in the present invention, the pattern determination unit relates to a region where at least uneven portions on the surface of the inspection object exist from the shape determination unit of the surface shape inspection means that can accurately determine the shape of the surface of the inspection object. Information is received, the received area is set as a non-inspection area or a low-sensitivity inspection area, and the suitability for the pattern on the surface of the inspection object is determined.

 即ち、凹凸部が存在する領域を、模様に関する検査を行わない非検査領域にすれば、当該凹凸部を汚点等と誤判定するのを防止することができ、検査対象物表面の模様を正確に検査することが可能となる。 That is, if the region where the uneven portion is present is made a non-inspection region where the pattern inspection is not performed, it is possible to prevent the uneven portion from being erroneously determined as a spot or the like, and the pattern on the surface of the inspection object can be accurately determined. It becomes possible to inspect.

 他方、凹凸部が存在する領域についての検査を、他の領域における検査感度よりも低い感度で検査する、例えば、濃色の度合いから汚点等であるか否かを判別するその閾値を濃色側に設定して極めて濃い濃色部が存在すれば汚点であると判定するような低感度検査としても、凹凸部に起因した濃色部と、汚点等に起因した濃色部とを判別することができ、検査対象物表面の模様を正確に検査することができる。また、このようにすれば、当該凹凸部に極めて濃い汚点等が存在する場合にはこれを検出して選別することができ、非検査とする場合に比べて、その検査精度を高めることができる。 On the other hand, the inspection of the region where the uneven portion exists is inspected with a sensitivity lower than the inspection sensitivity in the other region, for example, the threshold value for determining whether it is a dark spot or the like from the degree of dark color is set to the dark side Even if it is a low-sensitivity test such that if there is a very dark part, the dark part will be distinguished from the uneven part and the dark part due to the spot. It is possible to accurately inspect the pattern on the surface of the inspection object. Further, in this way, when there is a very dark spot or the like in the uneven portion, it can be detected and selected, and the inspection accuracy can be improved compared to the case of non-inspection. .

 本発明において、前記スリット光画像撮像部と濃淡画像撮像部とは、いずれが上流側に設けられていても良いが、模様判定部での処理の迅速性を考慮すると、スリット光画像撮像部を上流側に設けて、形状判定部の処理を模様判定部の処理よりも先行させる方が、模様判定部における処理に待機時間が生じないため、好ましい。 In the present invention, any of the slit light image capturing unit and the gray image capturing unit may be provided on the upstream side, but considering the speed of processing in the pattern determining unit, the slit light image capturing unit is It is preferable to provide the process upstream of the shape determination unit before the process of the pattern determination unit, because the standby time does not occur in the process of the pattern determination unit.

 また、本発明では、前記スリット光画像撮像部は、前記スリット光を垂直方向に照射するとともに、前記検査対象物の搬送方向上流側及び下流側の2方向からそれぞれ画像を撮像し、前記形状判定部は、前記スリット光画像撮像部により撮像された2つの画像を合成し、合成した画像を基に、前記検査対象物表面の形状特徴を認識して該形状に関する適否を判定するように構成されるのが好ましい。 Further, in the present invention, the slit light image capturing unit irradiates the slit light in a vertical direction, captures images from two directions on the upstream side and the downstream side in the transport direction of the inspection object, and determines the shape. The unit is configured to synthesize the two images captured by the slit light image capturing unit, and to recognize the shape feature of the surface of the inspection object based on the combined image and determine suitability for the shape. It is preferable.

 前記スリット光画像撮像部における撮像方向が一方向である場合には、この撮像方向に対し死角となる位置に存在する表面については、その画像が得られず、当該表面についての三次元形状の適否を判定することができないが、相対する2方向から撮像すれば、このような死角を極力少なくすることができ、表面の略全体について、その三次元形状の適否を判定することができる。 When the imaging direction in the slit light image capturing unit is one direction, an image is not obtained for a surface existing at a position that is a blind spot with respect to the imaging direction, and the suitability of the three-dimensional shape for the surface is not obtained. However, if imaging is performed from two opposite directions, such blind spots can be minimized, and the suitability of the three-dimensional shape can be determined for substantially the entire surface.

 以上のように、本発明によれば、検査対象物が表面に凹凸を有する物、特に深い刻印を有する物であっても、その表面の模様を正確に検査することができる。 As described above, according to the present invention, even if the object to be inspected is an object having irregularities on the surface, particularly an object having a deep marking, the surface pattern can be inspected accurately.

本発明の一実施形態に係る外観検査装置の全体を示した正面図である。It is the front view which showed the whole appearance inspection apparatus which concerns on one Embodiment of this invention. 図1における矢視A-A方向の一部断面図である。FIG. 2 is a partial cross-sectional view in the direction of arrow AA in FIG. 1. A面スリット光画像撮像部及びB面スリット光画像撮像部の概略構成を説明するための説明図である。It is explanatory drawing for demonstrating schematic structure of an A surface slit light image imaging part and a B surface slit light image imaging part. A面濃淡画像撮像部及びB面濃淡画像撮像部の概略構成を説明するための説明図である。It is explanatory drawing for demonstrating schematic structure of an A surface grayscale image imaging part and a B surface grayscale image imaging part. 検査選別処理部の構成を説明するためのブロック図である。It is a block diagram for demonstrating the structure of an inspection selection process part. A面スリット光画像撮像部及びB面スリット光画像撮像部におけるスリット光の照射状態を説明するための説明図である。It is explanatory drawing for demonstrating the irradiation state of the slit light in an A surface slit light image imaging part and a B surface slit light image imaging part. A面スリット光画像撮像部及びB面スリット光画像撮像部における画像撮像の態様を説明するための説明図である。It is explanatory drawing for demonstrating the aspect of the image pick-up in an A surface slit optical image imaging part and a B surface slit optical image imaging part. A面スリット光画像撮像部及びB面スリット光画像撮像部における画像撮像の態様を説明するための説明図である。It is explanatory drawing for demonstrating the aspect of the image pick-up in an A surface slit optical image imaging part and a B surface slit optical image imaging part. A面スリット光画像撮像部及びB面スリット光画像撮像部によって撮像される画像を説明するための説明図である。It is explanatory drawing for demonstrating the image imaged by the A surface slit light image imaging part and the B surface slit light image imaging part. A面輝度データ変換処理部及びB面輝度データ変換処理部における処理を説明するための説明図である。It is explanatory drawing for demonstrating the process in A surface luminance data conversion process part and B surface luminance data conversion process part. A面2画像合成処理部及びB面2画像合成処理部における処理を説明するための説明図である。It is explanatory drawing for demonstrating the process in an A surface 2 image composition process part and a B surface 2 image composition process part. A面形状特徴抽出処理部及びB面形状特徴抽出処理部における処理を説明するための説明図である。It is explanatory drawing for demonstrating the process in an A surface shape feature extraction process part and a B surface shape feature extraction process part. A面形状判定処理部及びB面形状判定処理部における処理を説明するための説明図である。It is explanatory drawing for demonstrating the process in an A surface shape determination process part and a B surface shape determination process part. A面スリット光画像撮像部及びB面スリット光画像撮像部における死角の問題を説明するための説明図である。It is explanatory drawing for demonstrating the problem of the blind spot in A surface slit light image imaging part and B surface slit light image imaging part. 本発明の他の実施形態に係る外観検査装置の全体を示した正面図である。It is the front view which showed the whole external appearance inspection apparatus which concerns on other embodiment of this invention. 本発明の他の実施形態に係る検査選別処理部の構成を説明するためのブロック図である。It is a block diagram for demonstrating the structure of the test selection process part which concerns on other embodiment of this invention. 本発明の他の実施形態に係る濃淡画像撮像部の概略構成を説明するための説明図である。It is explanatory drawing for demonstrating schematic structure of the gray image imaging part which concerns on other embodiment of this invention. 本発明の他の実施形態に係る形状特徴抽出処理部及び模様判定処理部における処理を説明するための説明図である。It is explanatory drawing for demonstrating the process in the shape feature extraction process part and pattern determination process part which concern on other embodiment of this invention. 本発明の他の実施形態に係る形状特徴抽出処理部及び模様判定処理部における処理を説明するための説明図である。It is explanatory drawing for demonstrating the process in the shape feature extraction process part and pattern determination process part which concern on other embodiment of this invention. 本発明の他の実施形態に係る形状特徴抽出処理部及び模様判定処理部における処理を説明するための説明図である。It is explanatory drawing for demonstrating the process in the shape feature extraction process part and pattern determination process part which concern on other embodiment of this invention.

 以下、本発明の好ましい実施形態について、図面に基づいて説明する。 Hereinafter, preferred embodiments of the present invention will be described with reference to the drawings.

 図1に示すように、本例の外観検査装置1は、検査対象物Kを整列して供給する供給部3、供給された検査対象物Kを直線搬送する第1直線搬送部10及び第2直線搬送部15、第1直線搬送部10の搬送路近傍に配設されたA面スリット光画像撮像部21及びA面濃淡画像撮像部41、第2直線搬送部15の搬送路近傍に配設されたB面スリット光画像撮像部51及びB面濃淡画像撮像部71、検査選別処理部20、選別部90を備える。 As shown in FIG. 1, the appearance inspection apparatus 1 of this example includes a supply unit 3 that supplies the inspection object K in an aligned manner, a first linear conveyance unit 10 that linearly conveys the supplied inspection object K, and a second one. Arranged in the vicinity of the conveying path of the A-side slit light image capturing unit 21 and the A-side gray image capturing unit 41 and the second linear conveying unit 15 arranged in the vicinity of the conveying path of the linear conveying unit 15 and the first linear conveying unit 10. The B surface slit light image capturing unit 51, the B surface grayscale image capturing unit 71, the inspection sorting processing unit 20, and the sorting unit 90 are provided.

 なお、本例における検査対象物Kとしては、医薬品(錠剤,カプセル等),食品,機械部品や電子部品等を例示することができるが、何らこれらに限定されるものではない。 In addition, as the inspection target K in this example, pharmaceuticals (tablets, capsules, etc.), foods, mechanical parts, electronic parts, and the like can be exemplified, but are not limited to these.

 以下、上記各部の詳細について説明する。 The details of each of the above parts will be described below.

 前記供給部3は、多数の検査対象物Kが投入されるホッパ4、ホッパ4の下端部から排出される検査対象物Kに振動を付与して前進させる振動フィーダ5、振動フィーダ5の搬送終端から排出される検査対象物Kを滑落させるシュート6、水平回転し、シュート6から供給された検査対象物Kを一列に整列して排出する整列テーブル7、垂直面内で回転する円盤状の部材を有し、前記整列テーブル7から排出された検査対象物Kをこの円盤状の部材の外周面に吸着して搬送する回転搬送部8からなり、多数の検査対象物Kを一列に整列させて、順次前記第1直線搬送部10に受け渡す。 The supply unit 3 includes a hopper 4 into which a large number of inspection objects K are loaded, a vibration feeder 5 that imparts vibration to the inspection object K that is discharged from the lower end of the hopper 4, and a conveyance end of the vibration feeder 5. Chute 6 that slides down the inspection object K discharged from the table, horizontally rotates, the alignment table 7 that discharges the inspection object K supplied from the chute 6 in a line, and a disk-shaped member that rotates in a vertical plane And a rotary conveyance unit 8 that adsorbs and conveys the inspection object K discharged from the alignment table 7 to the outer peripheral surface of the disk-shaped member, and aligns a large number of inspection objects K in a line. Then, the paper is sequentially transferred to the first linear conveyance unit 10.

 前記第1直線搬送部10及び第2直線搬送部15は同じ構造を有するもので、第2直線搬送部15は第1直線搬送部10に対し上下反転した状態で配置され、第1直線搬送部10はその上部に搬送路を有し、第2直線搬送部15はその下部に搬送路を有する。 The first linear conveyance unit 10 and the second linear conveyance unit 15 have the same structure, and the second linear conveyance unit 15 is disposed in an upside down state with respect to the first linear conveyance unit 10, and the first linear conveyance unit 10 has a transport path in the upper part thereof, and the second linear transport unit 15 has a transport path in the lower part thereof.

 図2は、図1における矢視A-A方向の一部断面図であり、第1直線搬送部10の構造を示すものであるが、括弧書きした符号は、第2直線搬送部15の対応した部材を示す。 FIG. 2 is a partial cross-sectional view in the direction of arrows AA in FIG. 1 and shows the structure of the first linear transport unit 10. The reference numerals in parentheses correspond to the second linear transport unit 15. The member which carried out is shown.

 同図2に示すように、第1直線搬送部10は、所定の間隔で対向するように配置された側板11,12と、この側板11,12の上面に形成されたガイド溝に案内され、当該ガイド溝に沿って走行するエンドレスの丸ベルト13,14とを備える。側板11,12によって挟まれた空間は、その上部が開放されるように側板11,12及び他の部材(図示せず)によっ閉塞され、図示しない真空ポンプによって負圧に維持される。 As shown in FIG. 2, the first linear transport unit 10 is guided by side plates 11 and 12 arranged to face each other at a predetermined interval, and guide grooves formed on the upper surfaces of the side plates 11 and 12. And endless round belts 13 and 14 that run along the guide grooves. The space sandwiched between the side plates 11 and 12 is closed by the side plates 11 and 12 and other members (not shown) so that the upper portions thereof are opened, and maintained at a negative pressure by a vacuum pump (not shown).

 斯くして、前記空間内が負圧に維持されることで、ガイド溝に沿って走行する丸ベルト13,14間に負圧による吸引力が生じ、検査対象物Kがこの丸ベルト13,14上に載置されると、前記吸引力によって丸ベルト13,14上に吸引,吸着され、丸ベルト13,14の走行に伴なって同走行方向に搬送される。 Thus, when the space is maintained at a negative pressure, a suction force due to a negative pressure is generated between the round belts 13 and 14 traveling along the guide groove, and the inspection object K is moved to the round belts 13 and 14. When placed on the belt, it is sucked and sucked onto the round belts 13 and 14 by the suction force, and is transported in the running direction as the round belts 13 and 14 run.

 前記第2直線搬送部15も同様であり、側板16,17と、エンドレスの丸ベルト18,19とを備え、側板16,17によって挟まれた空間内が負圧に維持されることで、丸ベルト18,19間に負圧による吸引力が生じ、検査対象物Kがこの丸ベルト18,19に吸引,吸着され、その走行に伴なって同走行方向に搬送される。 The second linear transport unit 15 is the same, and includes side plates 16 and 17 and endless round belts 18 and 19, and the space between the side plates 16 and 17 is maintained at a negative pressure so that a round pressure is maintained. A suction force due to a negative pressure is generated between the belts 18 and 19, and the inspection object K is sucked and sucked by the round belts 18 and 19, and is conveyed in the traveling direction along with the traveling.

 第1直線搬送部10の搬送始端は前記回転搬送部8の搬送終端に接続され、第1直線搬送部10の搬送終端は第2直線搬送部15の搬送始端に接続されており、第1直線搬送部10は回転搬送部8から順次検査対象物Kを受け取り、その下面(B面)を吸着して搬送終端に搬送し、第2直線搬送部15に引き渡す。同様に、第2直線搬送部15は第1直線搬送部10から順次検査対象物Kを受け取り、その上面(A面)を吸着して搬送終端に搬送する。 The conveyance start end of the first linear conveyance unit 10 is connected to the conveyance termination of the rotary conveyance unit 8, the conveyance termination end of the first linear conveyance unit 10 is connected to the conveyance start end of the second linear conveyance unit 15, and the first straight line The conveyance unit 10 sequentially receives the inspection object K from the rotary conveyance unit 8, sucks the lower surface (B surface), conveys it to the conveyance end, and delivers it to the second linear conveyance unit 15. Similarly, the 2nd linear conveyance part 15 receives the test object K sequentially from the 1st linear conveyance part 10, adsorb | sucks the upper surface (A surface), and conveys it to a conveyance termination | terminus.

 前記選別部90は、第2直線搬送部15の搬送終端に設けられるもので、図示しない選別回収機構と良品回収室及び不良品回収室とを備え、前記検査選別処理部20からの指令に従い前記選別回収機構を駆動し、第2直線搬送部15の搬送終端に搬送された検査対象物Kの内、良品を良品回収室に回収し、不良品を不良品回収室に回収する。 The sorting unit 90 is provided at the transfer end of the second linear transport unit 15, and includes a sorting and collecting mechanism, a non-defective product collecting chamber, and a defective product collecting chamber (not shown), and according to a command from the inspection sorting processing unit 20 The sorting and collecting mechanism is driven, and the non-defective product is collected in the non-defective product collecting chamber and the defective product is collected in the defective product collecting chamber among the inspection object K transported to the transport end of the second linear transport unit 15.

 前記A面スリット光画像撮像部21は、図3に示すように、前記第1直線搬送部10の搬送路上方に配設されたカメラ22と、帯状のスリット光Lを照射するスリット光照射器23と、このスリット光照射器23から照射されたスリット光Lを前記カメラ22の直下方向に導いて、第1直線搬送部10の搬送路上に照射させるミラー24,25と、搬送路上に照射されたスリット光Lの反射光Lを、第1直線搬送部10の搬送方向(矢示方向)上流側から受光して、カメラ22に導き入れるミラー26,27と、同反射光Lを搬送方向下流側から受光して、カメラ22に導き入れるミラー28,29とを備える。 As shown in FIG. 3, the A-side slit light image capturing unit 21 irradiates a camera 22 disposed above the transport path of the first linear transport unit 10 and slit light irradiation that irradiates a strip-shaped slit light L 1. a vessel 23, guides the slit beam L 1 emitted from the slit beam irradiator 23 directly under the direction of the camera 22, a mirror 24, 25 to be irradiated on the transport path of the first linear conveyance unit 10, the conveying path The reflected light L 2 of the irradiated slit light L 1 is received from the upstream side in the transport direction (arrow direction) of the first linear transport unit 10 and guided to the camera 22, and the reflected light L 3 and mirrors 28 and 29 for receiving the light 3 from the downstream side in the transport direction and introducing it into the camera 22.

 スリット光照射器23及びミラー24,25は、図6に示すように、前記スリット光Lを、その照射ラインが、第1直線搬送部10によって搬送される検査対象物Kの搬送方向(矢示方向)に対して直交するように、鉛直下方に照射する。 As shown in FIG. 6, the slit light irradiator 23 and the mirrors 24 and 25 divide the slit light L 1 in the transport direction (arrows) of the inspection target K whose irradiation line is transported by the first linear transport unit 10. Irradiate vertically downward so as to be orthogonal to the indicated direction.

 そして、カメラ22は、図7に示すように、第1直線搬送部10によって搬送される検査対象物Kにスリット光Lが照射されたときの、当該スリット光Lの反射光Lを、検査対象物Kの搬送方向(矢示方向)上流側から受光し、反射光Lを下流側から受光してそれぞれの画像を取り込む。前記2方向から肉眼で見ると、図8(a)及び(b)に示すようになるが、カメラ22は、この2方向から見たスリット光Lの照射ラインの画像を取り込む。なお、図7は、図3におけるカメラ22の撮像形態を分かり易く簡略的な等価な形態として示したものである。 Then, the camera 22, as shown in FIG. 7, when the slit beam L 1 is irradiated on the inspection object K being conveyed by the first linear conveyance unit 10, the reflected light L 2 of the slit beam L 1 , it received from the transfer direction (arrow direction) upstream of the inspection object K, capturing each image by receiving the reflected light L 3 from the downstream side. When macroscopic from the two directions, but as shown in FIG. 8 (a) and (b), the camera 22 captures an image of the irradiation line of the slit light L 1 as seen from the two directions. FIG. 7 shows the imaging form of the camera 22 in FIG. 3 as a simple and equivalent form that is easy to understand.

 カメラ22は複行複列に配置された素子から構成されるエリアセンサで、前記反射光L及びLを受光して、それぞれ輝度データを有する複行複列の画素からなる画像データを生成する。 The camera 22 is an area sensor composed of elements arranged in double rows and double columns, and receives the reflected lights L 2 and L 3 to generate image data consisting of double row and double column pixels each having luminance data. To do.

 一方の反射光(例えば、反射光L)を撮像した画像の一例を図9に示す。図に示すように、撮像された画像は、前記搬送方向と直交する方向をX、搬送方向をYとすると、検査対象物Kの表面に対応する部分Lが基面に対応する部分LからY方向にシフトした状態となっている(図8も参照)。 An example of an image obtained by imaging one reflected light (for example, reflected light L 2 ) is shown in FIG. As shown in the drawing, in the captured image, a part L s corresponding to the surface of the inspection object K corresponds to a base part L b where X is a direction orthogonal to the transport direction and Y is a transport direction. Is shifted to the Y direction (see also FIG. 8).

 これは、図7に示すように、撮像方向がスリット光の照射方向と交差することに起因するもので、所謂光切断法と呼ばれ、例えば、検査対象物K表面に対応する画像Lの画素(X,Y)について見ると、当該画素(X)に対応する検査対象物K表面の前記基面からの高さは、基面に対応した画像Lの画素(Y)と画像Lの画素(Y)との差分を基に、幾何学的な算出手法によって算出することができる。本例では、検査対象物K表面の高さを直接的には算出しないが、カメラ22によって撮像される画像には、このような光切断法に基づく高さ情報が含まれている。 As shown in FIG. 7, this is caused by the fact that the imaging direction intersects with the irradiation direction of the slit light and is called a so-called light cutting method. For example, the image L S corresponding to the surface of the inspection object K Looking at the pixel (X i , Y i ), the height of the surface of the inspection object K corresponding to the pixel (X i ) from the base surface is the pixel (Y j ) of the image L b corresponding to the base surface. and based on the difference between the pixel (Y i) of the image L S, it can be calculated by geometric calculation techniques. In this example, the height of the surface of the inspection object K is not directly calculated, but the image captured by the camera 22 includes height information based on such a light cutting method.

 そして、このようにして撮像された画像データがカメラ22から検査選別処理部20に送信される。その際、カメラ22は全画素位置(X,Y)(i=0~n)とその輝度データとが関連付けられた画像データの全てを送信するのではなく、図9に示すように、X方向の画素位置(X)と、その列内で最大輝度を有する画素位置(Y)とからなる位置データ(X,Y)を画像データとして検査選別処理部20に送信する。このようにすることで、送信するデータ量が少なくなり、その送信速度や検査選別処理部20における処理速度を高めることができ、迅速な処理を行うことができる。 Then, the image data captured in this way is transmitted from the camera 22 to the inspection selection processing unit 20. At that time, the camera 22 does not transmit all the image data in which all pixel positions (X i , Y i ) (i = 0 to n) and their luminance data are associated, as shown in FIG. The position data (X i , Y i ) composed of the pixel position (X i ) in the X direction and the pixel position (Y i ) having the maximum luminance in the column is transmitted to the inspection / selection processing unit 20 as image data. By doing so, the amount of data to be transmitted is reduced, the transmission speed and the processing speed in the inspection / sorting processing unit 20 can be increased, and rapid processing can be performed.

 また、カメラ22は所定のシャッタ速度で前記2方向の画像を取り込み、少なくとも、検査対象物Kの上面にレーザ光が照射されている間の前記画像データを、シャッタ毎に得られたフレーム画像として前記検査選別処理部20に送信する。 Further, the camera 22 captures the images in the two directions at a predetermined shutter speed, and at least the image data while the laser beam is irradiated on the upper surface of the inspection object K is used as a frame image obtained for each shutter. It transmits to the said inspection selection process part 20.

 斯くして、このA面スリット光画像撮像部21では、検査対象物K上面(A面)の高さ情報を含んだ画像が撮像され、これが前記検査選別処理部20に送信される。 Thus, the A-side slit light image capturing unit 21 captures an image including height information of the upper surface (surface A) of the inspection object K, and transmits the image to the inspection / sorting processing unit 20.

 前記B面スリット光画像撮像部51は、前記A面スリット光画像撮像部21と同じ構成のカメラ52、スリット光照射器53、ミラー54,55,56,57,58,59を備え、前記A面スリット光画像撮像部21とはその上下が反転した状態で、前記第2直線搬送部15の近傍に配設される。なお、図3では、括弧書きした符号がB面スリット光画像撮像部51の対応した部材を示している。 The B-side slit light image capturing unit 51 includes a camera 52, a slit light irradiator 53, mirrors 54, 55, 56, 57, 58, 59 having the same configuration as the A-side slit light image capturing unit 21, and the A The surface slit light image capturing unit 21 is disposed in the vicinity of the second linear transport unit 15 in an inverted state. In FIG. 3, reference numerals in parentheses indicate corresponding members of the B-side slit light image capturing unit 51.

 斯くして、このB面スリット光画像撮像部51では、同様にして、カメラ52が、第2直線搬送部15によって搬送される検査対象物Kの下面(B面)に照射されるスリット光Lの反射光を、検査対象物Kの搬送方向上流側及び下流側の2方向から受光して、その前記画像データ(X方向の画素位置(X)と、その列内で最大輝度を有する画素位置(Y)からなる位置データ(X,Y))を生成し、少なくとも、検査対象物Kの下面にレーザ光が照射されている間の前記画像データをフレーム画像として前記検査選別処理部20に送信する。 Thus, in the B-side slit light image capturing unit 51, similarly, the camera 52 irradiates the lower surface (B surface) of the inspection object K conveyed by the second linear conveyance unit 15. 1 reflected light is received from two directions upstream and downstream of the conveyance direction of the inspection object K, and the image data (pixel position (X i ) in the X direction) and has the maximum luminance in the column. Position data (X i , Y i )) consisting of pixel positions (Y i ) is generated, and at least the image data while the lower surface of the inspection object K is irradiated with laser light is used as the frame image to perform the inspection selection. It transmits to the processing unit 20.

 前記A面濃淡画像撮像部41は、前記A面スリット光画像撮像部21より搬送方向下流側に配設され、図4に示すように、前記第1直線搬送部10の搬送路上方に、この搬送路を覆い且つ前記検査対象物Kが通過可能に配設された半球殻状の拡散部材44と、拡散部材44の外方に配設され、拡散部材44の内部に向けて光を照射する複数のランプ43と、拡散部材44の上方に設けられ、拡散部材44の頂部に設けられた開口部44aを通して当該拡散部材44内を撮像するカメラ42とからなる。 The A surface grayscale image capturing unit 41 is disposed on the downstream side in the transport direction from the A surface slit light image capturing unit 21, and as shown in FIG. 4, above the transport path of the first linear transport unit 10. A hemispherical diffusing member 44 that covers the conveying path and is disposed so that the inspection object K can pass therethrough, and is disposed outside the diffusing member 44, and irradiates light toward the inside of the diffusing member 44. A plurality of lamps 43 and a camera 42 provided above the diffusing member 44 and imaging the inside of the diffusing member 44 through an opening 44 a provided at the top of the diffusing member 44.

 ランプ43から照射された光は拡散部材44を透過する際に拡散され、指向性の無い散乱光(拡散光)となって、拡散部材44で覆われた空間内を照明する。第1直線搬送部10によって拡散部材44内に搬入された検査対象物Kは、この拡散光によってその上面(A面)が均質に照明される。そして、このように上面(A面)を均質に照明することで、上面(A面)に凹凸があってもその全面が一様に照明され、当該上面はその濃淡が強調された状態となる。 The light emitted from the lamp 43 is diffused when passing through the diffusing member 44, and becomes scattered light (diffused light) having no directivity to illuminate the space covered by the diffusing member 44. The upper surface (A surface) of the inspection object K carried into the diffusing member 44 by the first linear transport unit 10 is uniformly illuminated by the diffused light. And by uniformly illuminating the upper surface (A surface) in this way, even if the upper surface (A surface) is uneven, the entire surface is illuminated uniformly, and the upper surface is in a state in which the shading is emphasized. .

 前記カメラ42は、ラインセンサ又はエリアセンサからなり、第1直線搬送部10によって拡散部材44内に搬入された検査対象物Kの上面(A面)の濃淡画像を所定のシャッタ速度で撮像し、得られた少なくとも上面(A面)全域の画像を、シャッタ毎に撮像されたフレーム画像として前記検査選別処理部20に送信する。 The camera 42 is composed of a line sensor or an area sensor, picks up a grayscale image of the upper surface (A surface) of the inspection object K carried into the diffusion member 44 by the first linear transport unit 10 at a predetermined shutter speed, The obtained image of at least the entire upper surface (A surface) is transmitted to the examination selection processing unit 20 as a frame image captured for each shutter.

 斯くして、このA面濃淡画像撮像部41では、拡散光によって均質に照明され、濃淡がより強調された状態の検査対象物K上面(A面)が前記カメラ42によって撮像され、撮像された濃淡画像が前記検査選別処理部20に送信される。 Thus, in the A-side gray image capturing unit 41, the upper surface (A surface) of the inspection object K in a state where the light is uniformly illuminated by the diffused light and the gray level is more emphasized is captured and captured by the camera 42. The grayscale image is transmitted to the inspection selection processing unit 20.

 前記B面濃淡画像撮像部71は前記B面スリット光画像撮像部51より搬送方向下流側に配設され、前記A面濃淡画像撮像部41と同じ構成の拡散部材74、複数のランプ73及びカメラ72を備え、A面濃淡画像撮像部41とはその上下が反転した状態で、前記第2直線搬送部15の近傍に配設される。なお、図4では、括弧書きした符号がB面濃淡画像撮像部71の対応した部材を示している。 The B-side gray image capturing unit 71 is disposed downstream of the B-side slit light image capturing unit 51 in the transport direction, and has the same configuration as the A-side gray image capturing unit 41, a diffusion member 74, a plurality of lamps 73, and a camera. 72 and is disposed in the vicinity of the second linear conveyance unit 15 in a state in which the upper and lower sides thereof are inverted with respect to the A-surface grayscale image capturing unit 41. In FIG. 4, reference numerals in parentheses indicate corresponding members of the B-side gray image capturing unit 71.

 斯くして、このB面濃淡画像撮像部71においても同様に、第2直線搬送部15によって搬送された検査対象物Kの下面(B面)が、ランプ73及び拡散部材74の作用によって生じる拡散光により均質に照明され、この均質照明によって濃淡がより強調された状態の前記下面(B面)が拡散部材74の開口部74aを通してカメラ72によって撮像され、撮像された少なくとも下面(B面)全域の画像が、シャッタ毎に撮像されたフレーム画像として前記検査選別処理部20に送信される。 Thus, in the B-side gray image capturing unit 71, similarly, the lower surface (B surface) of the inspection object K conveyed by the second linear conveying unit 15 is diffused by the action of the lamp 73 and the diffusing member 74. The lower surface (B surface) in a state where the light is uniformly illuminated by light and the shade is more emphasized by the uniform illumination is imaged by the camera 72 through the opening 74a of the diffusing member 74, and at least the entire lower surface (B surface) imaged. These images are transmitted to the examination selection processing unit 20 as frame images captured for each shutter.

 前記検査選別処理部20は、図5に示すように、A面形状判定部30、A面模様判定部45、B面形状判定部60、B面模様判定部75及び選別制御部91からなる。 As shown in FIG. 5, the inspection / selection processing unit 20 includes an A-side shape determination unit 30, an A-side pattern determination unit 45, a B-side shape determination unit 60, a B-side pattern determination unit 75, and a selection control unit 91.

 前記A面形状判定部30は、同図5に示すように、A面スリット光画像記憶部31、A面輝度データ変換処理部32、A面2画像合成処理部33、A面形状特徴抽出処理部34及びA面形状判定処理部35からなる。 As shown in FIG. 5, the A-surface shape determination unit 30 includes an A-surface slit light image storage unit 31, an A-surface luminance data conversion processing unit 32, an A-surface 2 image composition processing unit 33, and an A-surface shape feature extraction process. Part 34 and A surface shape determination processing part 35.

 A面スリット光画像記憶部31は、前記A面スリット光画像撮像部21から受信した2方向の画像データ(フレーム画像)をそれぞれ記憶する。 The A-side slit light image storage unit 31 stores the bi-directional image data (frame images) received from the A-side slit light image capturing unit 21.

 A面輝度データ変換処理部32は、A面スリット光画像記憶部31に格納された2方向のフレーム画像をそれぞれ読み出し、以下の処理を行って、高さ成分に由来する位置データをその高さ成分に応じて設定した輝度データに変換し、高さ成分が輝度データで表現された新たな画像データを生成する。 The A-plane luminance data conversion processing unit 32 reads out the two-direction frame images stored in the A-side slit light image storage unit 31 and performs the following processing to obtain the position data derived from the height component as its height. The image data is converted into luminance data set according to the component, and new image data in which the height component is expressed by the luminance data is generated.

 具体的には、A面輝度データ変換処理部32は、まず、一方側のフレーム画像データを順次読み出して、その画素位置(X,Y)を基に、図10に示すように、高さ成分に相当する画素位置(Y)を256階調の輝度データに変換して、画素位置(X)と輝度データからなる画像データを生成し、順次全てのフレーム画像について変換して、新たな画像データ(2次元平面の位置データと、各位置における高さ情報を表す輝度データからなる画像データ、以下「輝度画像データ」という)を生成する。そして、他方側の画像データについても同様にして輝度画像データを生成する。 Specifically, the A-plane luminance data conversion processing unit 32 first sequentially reads out the frame image data on one side, and based on the pixel position (X i , Y i ), as shown in FIG. The pixel position (Y i ) corresponding to the depth component is converted into 256-gradation luminance data, image data composed of the pixel position (X i ) and luminance data is generated, and sequentially converted for all frame images, New image data (image data composed of two-dimensional plane position data and luminance data representing height information at each position, hereinafter referred to as “luminance image data”) is generated. The luminance image data is generated in the same manner for the other side image data.

 前記A面2画像合成処理部33は、前記A面輝度データ変換処理部32によってデータ変換され、新たに生成された2方向の輝度画像データを合成して、一つの輝度画像データとする。図7から分かるように、検査対象物Kを搬送方向上流側の斜め上方から撮像する場合、検査対象物Kの前部の反射光が弱く、搬送方向下流側の斜め上方から撮像する場合には、検査対象物Kの後部の反射光が弱くなるため、これらの部分についての画像データが不正確なものとなる。 The A-side two-image composition processing unit 33 performs data conversion by the A-side luminance data conversion processing unit 32, and synthesizes newly generated two-direction luminance image data into one luminance image data. As can be seen from FIG. 7, when the inspection object K is imaged from an obliquely upper side on the upstream side in the transport direction, the reflected light at the front part of the inspection object K is weak, and when imaged from an obliquely upper side on the downstream side in the transport direction. Since the reflected light at the rear part of the inspection object K becomes weak, the image data for these parts becomes inaccurate.

 図7の検査対象物Kをその搬送方向上流側から撮像して得られた画像を前記A面輝度データ変換処理部32によって変換した画像を図11(a)に示し、同じく、搬送方向下流側から撮像した画像の変換画像を図11(b)に示す。図11(a)では画像の上部(白線で囲んだ部分)が不正確となっており、図11(b)では画像の下部(白線で囲んだ部分)が不正確となっている。そこで、これら2つの画像を合成、例えば、相互間でデータが欠けている場合は、存在する方のデータを当て、相互にデータが存在する場合には、その平均値を当てることで、図11(c)に示すような、検査対象物Kの上面(A面)全面が正確に表された画像を得ることができる。 FIG. 11A shows an image obtained by imaging the inspection object K of FIG. 7 from the upstream side in the transport direction by the A-surface luminance data conversion processing unit 32. Similarly, the downstream side in the transport direction FIG. 11B shows a converted image of the image captured from FIG. In FIG. 11A, the upper part of the image (the part surrounded by the white line) is inaccurate, and in FIG. 11B, the lower part of the image (the part surrounded by the white line) is inaccurate. Therefore, by combining these two images, for example, when data is missing between each other, the data that is present is applied, and when there is data between each other, the average value thereof is applied, whereby FIG. As shown in (c), an image in which the entire upper surface (A surface) of the inspection object K is accurately represented can be obtained.

 なお、検査対象物K表面の形状によっては、1方向のみから撮像したのでは、撮像方向の死角となる場所については前記レーザ光Lの反射光を全く受光することが出来ないが、2方向から撮像することで、このような死角部分を他方向から撮像することができ、このような意味においても2方向から撮像する意義がある。 Depending on the shape of the inspection object K surface, only than captured from one direction, but can not be completely receiving the reflected light of the laser beam L 1 is about where the blind spot of the imaging direction, two directions By picking up an image from the above, it is possible to pick up such a blind spot portion from other directions, and in this sense, it is meaningful to pick up images from two directions.

 例えば、図14に示すように、検査対象物Kの表面に欠部100がある場合、カメラ22が実線で示した方向から撮像すると、死角部100aを生じるが、その反対方向(2点鎖線で示した方向)から撮像すると、この死角部100aを撮像することができる。 For example, as shown in FIG. 14, when there is a missing portion 100 on the surface of the inspection object K, when the camera 22 captures an image from the direction indicated by the solid line, a blind spot portion 100 a is generated, but the opposite direction (in a two-dot chain line) If the image is taken from the direction shown), the blind spot 100a can be imaged.

 前記A面形状特徴抽出部34は、前記A面2画像合成処理部33によって生成された合成画像を基に、形状特徴を抽出する処理を行う。具体的には、合成画像を所謂平滑化フィルタにより平滑化処理し、得られた平滑化画像データと前記合成画像データとの差分をとった特徴画像データを生成する。 The A-surface shape feature extraction unit 34 performs a process of extracting shape features based on the composite image generated by the A-surface two-image composition processing unit 33. Specifically, the synthesized image is smoothed by a so-called smoothing filter, and feature image data is generated by taking a difference between the obtained smoothed image data and the synthesized image data.

 合成画像は高さ成分を輝度データに変換したものであり、輝度は検査対象物Kの上面(A面)の高さを表すものであるが、合成画像から平均化画像を差し引くことで、上面(A面)の高さ方向の変化量の大きいところが強調された画像を得ることができる。例えば、図12に示すように、合成画像(図12(a))から平滑化画像(図12(b))を差し引くことで、図12(c)に示すように、検査対象物Kの外周の輪郭と、上面(A面)に印刻された数字「678」が濃色部として強調される。A面形状特徴抽出部34は、このようにして生成した特徴画像データをA面形状判定処理部35に送信する。 The synthesized image is obtained by converting the height component into luminance data, and the luminance represents the height of the upper surface (A surface) of the inspection object K. The upper surface is obtained by subtracting the averaged image from the synthesized image. An image in which a large amount of change in the height direction of (A surface) is emphasized can be obtained. For example, as shown in FIG. 12, by subtracting the smoothed image (FIG. 12B) from the composite image (FIG. 12A), as shown in FIG. And the number “678” stamped on the upper surface (A surface) are emphasized as dark portions. The A-surface shape feature extraction unit 34 transmits the feature image data generated in this way to the A-surface shape determination processing unit 35.

 また、A面形状特徴抽出部34は、生成した特徴画像データを解析して、その画像中の凹凸部が存在する領域を認識し、認識した領域に関する情報を後述するA面模様判定処理部50に送信する。 Further, the A-surface shape feature extraction unit 34 analyzes the generated feature image data, recognizes a region where the uneven portion exists in the image, and information on the recognized region will be described later. Send to.

 前記A面形状判定処理部35は、前記A面形状特徴抽出部34によって生成された表面形状に係る特徴画像を基に、これと適正な表面形状に係るデータとを比較して、印刻の適否や欠けの有無等、その良否を判別する。 The A-surface shape determination processing unit 35 compares this with data related to the appropriate surface shape based on the feature image related to the surface shape generated by the A-surface shape feature extraction unit 34, and determines whether or not the stamp is appropriate. Whether or not there is a chip or the like is determined.

 前記A面模様判定部45は、前記A面濃淡画像撮像部41から受信した前記A面の濃淡画像を記憶するA面濃淡画像記憶部46と、このA面濃淡画像記憶部46に記憶されたA面濃淡画像を所定の基準値で2値化処理するA面濃淡画像2値化処理部47と、2値化された画像から検査対象物Kの上面(A面)に相当する画像部分を抽出するA面対象部抽出処理部48と、抽出された画像中の黒色部分(模様部分)を抽出するA面模様特徴抽出処理部49と、抽出された黒色部分(模様部分)を所定の基準模様と比較して、その良否を判定するA面模様判定処理部50とからなる。 The A-side pattern determination unit 45 stores the A-side grayscale image storage unit 46 that stores the grayscale image of the A-side received from the A-side grayscale image capturing unit 41 and the A-side grayscale image storage unit 46. An A surface grayscale image binarization processing unit 47 that binarizes the A surface grayscale image with a predetermined reference value, and an image portion corresponding to the upper surface (A surface) of the inspection object K from the binarized image. An A-side target part extraction processing unit 48 to extract, an A-side pattern feature extraction processing unit 49 to extract a black part (pattern part) in the extracted image, and the extracted black part (pattern part) as a predetermined reference It comprises an A-side pattern determination processing unit 50 that determines whether the pattern is good or bad.

 前記A面濃淡画像撮像部41によって撮像され、前記A面濃淡画像記憶部46に記憶される濃淡画像は多値画像であり、この多値画像が所定の基準値で2値化され、ついで、この2値化された画像から検査対象物Kの上面(A面)に相当する画像部分が抽出され、更に、抽出された画像中の黒色部分(模様部分)が抽出され、黒色部分(模様部分)が所定の基準模様と比較されて、その良否が判別される。 The grayscale image captured by the A plane grayscale image capturing unit 41 and stored in the A plane grayscale image storage unit 46 is a multi-valued image, and this multivalued image is binarized with a predetermined reference value. An image portion corresponding to the upper surface (A surface) of the inspection object K is extracted from the binarized image, and a black portion (pattern portion) in the extracted image is further extracted to obtain a black portion (pattern portion). ) Is compared with a predetermined reference pattern, and the quality is determined.

 例えば、適正な検査対象物Kの上面(A面)に何ら印刷文字などの模様が付されていない場合に、抽出された黒色部分が在ればこれを汚点不良と判別し、表面に印刷文字などの模様が付されている場合には、抽出された黒色部分(模様部分)と適正な模様とを比較して、その適合度から良否が判別される。 For example, if there is no pattern such as printed characters on the upper surface (A surface) of the appropriate inspection object K, if there is an extracted black portion, it is determined that the spot is defective, and the printed characters are printed on the surface. If a pattern such as is attached, the extracted black part (pattern part) is compared with an appropriate pattern, and pass / fail is determined from the degree of adaptation.

 その際、A面模様判定処理部50は、前記A面形状特徴抽出処理部34から上記凹凸部が存在する領域についての情報を受信し、前記A面模様特徴抽出部49によって生成された特徴画像の内、かかる凹凸部が存在する領域に相当する領域を非検査領域に設定して、前記良否判定を行う。 At that time, the A-side pattern determination processing unit 50 receives information about the area where the uneven portion exists from the A-side shape feature extraction processing unit 34, and the feature image generated by the A-side pattern feature extraction unit 49. Of these, a region corresponding to the region where the uneven portion is present is set as a non-inspection region, and the quality determination is performed.

 検査対象物Kの表面に大きな凹凸、例えば、深さの深い刻印がある場合、上記ランプ43及び拡散部材44を用いた拡散照明によって当該検査対象物K表面をある程度均質に照明し得たとしても、刻印の内面、特に底部を表面と同程度に照明することは難しく、このため、同底部に影が生じ、同部が濃色となった濃淡画像が前記A面濃淡画像撮像部41によって撮像される。 Even if the surface of the inspection object K has large unevenness, for example, a deep marking, even if the surface of the inspection object K can be illuminated to some extent by diffuse illumination using the lamp 43 and the diffusion member 44. Therefore, it is difficult to illuminate the inner surface of the engraving, particularly the bottom, to the same extent as the surface. Therefore, a shadow image is generated on the bottom, and the gray image where the same portion is dark is captured by the A-surface gray image capturing unit 41. Is done.

 したがって、前記A面濃淡画像2値化処理部47、A面対象部抽出処理部48の処理を経て、A面模様特徴抽出処理部49によって生成される画像には、同底部が黒色となった画像が生成される。図13(a)に、検査対象物K表面に数字の刻印「678」がある場合に、前記A面模様特徴抽出処理部49によって生成される画像を示している。尚、画像中の黒丸は検査対象物K表面に存在する汚点である。 Therefore, in the image generated by the A-side pattern feature extraction processing unit 49 through the processing of the A-side grayscale image binarization processing unit 47 and the A-side target part extraction processing unit 48, the same bottom portion is black. An image is generated. FIG. 13A shows an image generated by the A-surface pattern feature extraction processing unit 49 when the surface of the inspection object K has a number stamp “678”. Note that black circles in the image are stigma on the surface of the inspection object K.

 よって、検査対象物Kの表面にこのような刻印が存在する場合、A面模様特徴抽出処理部49によって生成された画像データをそのまま使用して、その表面模様の良否判定を行ったのでは、本来正常なものまでも、模様異常と判定することになる。 Therefore, when such an inscription exists on the surface of the inspection object K, the image data generated by the A-side pattern feature extraction processing unit 49 is used as it is, and the quality determination of the surface pattern is performed. Even a normally normal one is determined to be a pattern abnormality.

 そこで、本例では、上記のように、A面形状特徴抽出処理部34から凹凸部が存在する領域についての情報を受信し、前記A面模様特徴抽出部49によって生成された表面模様に係る特徴画像の内、かかる凹凸部が存在する領域に相当する領域を非検査領域に設定して、その模様の良否判定を行うこととした。 Therefore, in the present example, as described above, information about the area where the concavo-convex portion exists is received from the A-surface shape feature extraction processing unit 34, and the feature relating to the surface pattern generated by the A-surface pattern feature extraction unit 49 is received. In the image, an area corresponding to the area where the uneven portion is present is set as a non-inspection area, and the quality of the pattern is determined.

 例えば、A面模様特徴抽出処理部49によって生成された特徴画像が図13(a)に示すようなものであった場合に、A面形状特徴抽出処理部34によって生成された表面形状に係る特徴画像が図13(b)に示すような画像であると、A面模様判定処理部50は、図13(c)に示すように、刻印部の数字「678」が存在する領域を非検査領域に設定し、図13(d)に示すように黒丸部のみを検査対象としてその良否、この例では、黒丸部分を汚点不良と判定する。 For example, when the feature image generated by the A-side pattern feature extraction processing unit 49 is as shown in FIG. 13A, the feature relating to the surface shape generated by the A-side shape feature extraction processing unit 34 If the image is an image as shown in FIG. 13B, the A-side pattern determination processing unit 50 determines that the area where the number “678” of the stamped part exists is a non-inspection area as shown in FIG. 13C. As shown in FIG. 13D, only black circles are inspected, and the quality is determined. In this example, the black circles are determined as bad spots.

 斯くして、このように検査対象物Kの表面に存在する凹凸部を非検査領域に設定することで、検査対象物K表面の模様の適否を正確に検査することできる。 Thus, the suitability of the pattern on the surface of the inspection object K can be accurately inspected by setting the uneven portion present on the surface of the inspection object K as the non-inspection area.

 前記B面形状判定部60は、図5に示すように、B面スリット光画像記憶部61、B面輝度データ変換処理部62、B面2画像合成処理部63、B面形状特徴抽出処理部64及びB面形状判定処理部65からなる。そして、B面スリット光画像記憶部61は前記A面スリット光画像記憶部31と、B面輝度データ変換処理部62は前記A面輝度データ変換処理部32と、B面2画像合成処理部63は前記A面2画像合成処理部33と、B面形状特徴抽出処理部64は前記A面形状特徴抽出処理部34と、B面形状判定処理部65は前記A面形状判定処理部35とそれぞれ同じ構成を有し、同様の処理を行う。斯くして、B面形状判定部60では、検査対象物Kの下面(B面)の形状に係る特徴が検出され、その良否が判別される。 As shown in FIG. 5, the B surface shape determination unit 60 includes a B surface slit light image storage unit 61, a B surface luminance data conversion processing unit 62, a B surface 2 image composition processing unit 63, and a B surface shape feature extraction processing unit. 64 and B surface shape determination processing unit 65. The B-side slit light image storage unit 61 is the A-side slit light image storage unit 31, the B-side luminance data conversion processing unit 62 is the A-side luminance data conversion processing unit 32, and the B-side two image composition processing unit 63. Are the A-side 2 image composition processing unit 33, the B-side shape feature extraction processing unit 64 is the A-side shape feature extraction processing unit 34, and the B-side shape determination processing unit 65 is the A-side shape determination processing unit 35, respectively. It has the same configuration and performs the same processing. Thus, the B-side shape determining unit 60 detects the feature related to the shape of the lower surface (B-side) of the inspection object K, and determines its quality.

 前記B面模様判定部75は、同図5に示すように、B面濃淡画像記憶部76、B面濃淡画像2値化処理部77、B面対象部抽出処理部78、B面模様特徴抽出処理部79及びB面模様判定処理部80からなる。B面濃淡画像記憶部76は前記A面濃淡画像記憶部46と、B面濃淡画像2値化処理部77は前記A面濃淡画像2値化処理部47と、B面対象部抽出処理部78は前記A面対象部抽出処理部48と、B面模様特徴抽出処理部79は前記A面模様特徴抽出処理部49と、B面模様判定処理部80は前記A面模様判定処理部50とそれぞれ同じ構成を有し、同様の処理を行う。斯くして、このB面模様判定部75では、検査対象物Kの下面(B面)の模様に係る特徴が検出され、その良否が判別される。 As shown in FIG. 5, the B surface pattern determination unit 75 includes a B surface gray image storage unit 76, a B surface gray image binarization processing unit 77, a B surface target part extraction processing unit 78, and a B surface pattern feature extraction. A processing unit 79 and a B-side pattern determination processing unit 80 are included. The B surface gray image storage unit 76 is the A surface gray image storage unit 46, the B surface gray image binarization processing unit 77 is the A surface gray image binarization processing unit 47, and the B surface target part extraction processing unit 78. Are the A-side target part extraction processing unit 48, the B-side pattern feature extraction processing unit 79 is the A-side pattern feature extraction processing unit 49, and the B-side pattern determination processing unit 80 is the A-side pattern determination processing unit 50, respectively. It has the same configuration and performs the same processing. Thus, the B-side pattern determining unit 75 detects the feature related to the pattern on the lower surface (B-side) of the inspection object K, and determines its quality.

 前記選別制御部91は、前記A面形状判定処理部35,A面模様判定処理部50,B面形状判定処理部65及びB面模様判定処理部80からそれぞれ判定結果を受信し、これらの処理部の内少なくともいずれか一つの処理部から不良の判定結果を受信すると、当該不良と判定された検査対象物Kが前記選別部90に到達するタイミングで当該選別部90に選別信号を送信する。前記選別部90は、この選別信号を受信したとき該当の検査対象物Kを不良品回収室に回収し、選別信号を受信しないときには、搬送された検査対象物Kを良品回収室に回収する。 The selection control unit 91 receives determination results from the A surface shape determination processing unit 35, the A surface pattern determination processing unit 50, the B surface shape determination processing unit 65, and the B surface pattern determination processing unit 80, respectively. When a failure determination result is received from at least one of the processing units, a sorting signal is transmitted to the sorting unit 90 at a timing when the inspection object K determined to be defective reaches the sorting unit 90. When receiving the sorting signal, the sorting unit 90 collects the inspection object K in the defective product collection chamber, and collects the conveyed inspection object K in the non-defective product collection chamber when the sorting signal is not received.

 以上詳述したように、本例の外観検査装置1によれば、第1直線搬送部10によって搬送される間に、A面スリット光画像撮像部21により撮像された画像を基に、A面形状判定部30において検査対象物Kの上面(A面)の形状に関する適否が検査されるとともに、A面濃淡画像撮像部41により撮像された画像を基に、A面模様判定部45において同上面(A面)の模様に関する適否が検査され、ついで、第2直線搬送部15によって搬送される間に、B面スリット光画像撮像部51により撮像された画像を基に、B面形状判定部60において検査対象物Kの下面(B面)の形状に関する適否が検査されるとともに、B面濃淡画像撮像部71により撮像された画像を基に、B面模様判定部75において同下面(B面)の模様に関する適否が検査され、検査対象物Kの上下両面の形状と模様とが自動的に検査される。 As described above in detail, according to the appearance inspection apparatus 1 of this example, the A surface is based on the image captured by the A surface slit light image capturing unit 21 while being transported by the first linear transport unit 10. The shape determination unit 30 inspects whether or not the shape of the upper surface (A surface) of the inspection object K is appropriate, and the A surface pattern determination unit 45 uses the same upper surface based on the image captured by the A surface grayscale image capturing unit 41. Appropriateness regarding the pattern of (A surface) is inspected, and then, while being transported by the second linear transport unit 15, the B surface shape determining unit 60 is based on the image captured by the B surface slit light image capturing unit 51. In FIG. 5, the suitability of the shape of the lower surface (B surface) of the inspection object K is inspected, and the lower surface (B surface) is determined by the B surface pattern determination unit 75 based on the image captured by the B surface grayscale image capturing unit 71. Suitable for the pattern of There is examined, and the upper and lower surfaces of the shape and pattern of the inspection object K is automatically inspected.

 そして、A面模様判定部45及びB面模様判定部75では、前記模様に係る特徴を抽出して、模様の適否を判定する際に、A面形状判定部30及びB面形状判定部60から、それぞれ凹凸部が存在する領域についての情報を受信し、かかる凹凸部が存在する領域に相当する領域を非検査領域に設定して、その模様の良否判定を行うようにしているので、検査対象物Kの表裏面に刻印などの凹凸部が存在する場合でも、正確に当該上下面の模様を検査することができる。 Then, when the A-side pattern determining unit 45 and the B-side pattern determining unit 75 extract the features related to the pattern and determine the suitability of the pattern, the A-side pattern determining unit 30 and the B-side pattern determining unit 60 Since the information about the area where the uneven portion exists is received, the area corresponding to the area where the uneven portion exists is set as the non-inspection area, and the quality of the pattern is determined. Even when uneven parts such as engravings are present on the front and back surfaces of the object K, the patterns on the upper and lower surfaces can be accurately inspected.

 また、A面スリット光画像撮像部21及びB面スリット光画像撮像部51では、検査対象物Kの搬送方向上流側と下流側の2方向から画像を撮像し、A面形状判定部30及びB面形状判定部60では、得られた2つの画像を合成して一つの画像を生成し、生成した合成画像を基に検査対象物K上下面の形状の適否を判別するようにしているので、極力死角の無い画像を得ることができ、前記上下面全体の形状を正確に検査することができる。 In addition, the A-side slit light image capturing unit 21 and the B-side slit light image capturing unit 51 capture images from two directions on the upstream side and the downstream side in the transport direction of the inspection target K, and the A-side shape determination unit 30 and B The surface shape determination unit 60 combines the two obtained images to generate one image, and determines whether the shape of the upper and lower surfaces of the inspection target K is appropriate based on the generated combined image. An image having as few blind spots as possible can be obtained, and the shape of the entire upper and lower surfaces can be accurately inspected.

 尚、本例では、A面スリット光画像撮像部21をA面濃淡画像撮像部41よりも上流側に設けているので、A面スリット光画像記憶部31には、A面濃淡画像記憶部46より先行して、同じ検査対象物K1個分のデータが格納される。したがって、A面輝度データ変換処理部32~A面形状判定処理部35の処理がA面濃淡画像2値化処理部47~A面模様判定処理部50の処理に先行して実行され、A面模様判定処理部50では、待ち時間を生じることなくA面形状特徴抽出処理部34からのデータを参照して処理を行うことができ、迅速な処理を行うことができる。 In this example, the A-surface slit light image capturing unit 21 is provided upstream of the A-surface light / dark image capturing unit 41, so the A-surface slit light image storage unit 31 includes the A-surface light / dark image storage unit 46. Prior to this, data for the same inspection object K1 is stored. Therefore, the processes of the A plane luminance data conversion processing unit 32 to the A plane shape determination processing unit 35 are executed prior to the processes of the A plane gray image binarization processing unit 47 to the A plane pattern determination processing unit 50, and the A plane The pattern determination processing unit 50 can perform processing with reference to data from the A-surface shape feature extraction processing unit 34 without causing a waiting time, and can perform rapid processing.

 同様に、B面スリット光画像記憶部61には、B面濃淡画像記憶部76より先行して、同じ検査対象物K1個分のデータが格納され、B面模様判定処理部80では、待ち時間を生じることなくB面形状特徴抽出処理部64からのデータを参照して処理を行うことができ、迅速な処理を行うことができる。 Similarly, data for the same inspection object K1 is stored in the B-side slit light image storage unit 61 prior to the B-side grayscale image storage unit 76, and the B-side pattern determination processing unit 80 receives the waiting time. The processing can be performed with reference to the data from the B-surface shape feature extraction processing unit 64 without causing occurrence, and a quick processing can be performed.

 しかしながら、このような迅速な処理が必要ない場合には、A面スリット光画像記憶部31及びA面濃淡画像記憶部46にそれぞれ同じ検査対象物K1個分のデータが格納されてから、A面輝度データ変換処理部32~A面形状判定処理部35の処理と、A面濃淡画像2値化処理部47~A面模様判定処理部50の処理とを同時に並行して実行しても良く、また、B面スリット光画像記憶部61及びB面濃淡画像記憶部76にそれぞれ同じ検査対象物K1個分のデータが格納されてから、B面輝度データ変換処理部62~B面形状判定処理部65の処理と、B面濃淡画像2値化処理部77~B面模様判定処理部80の処理とを同時に並行して実行しても良い。 However, when such a rapid process is not necessary, data for the same inspection object K1 is stored in the A-side slit light image storage unit 31 and the A-side gray image storage unit 46, respectively, and then the A-side The processing of the luminance data conversion processing unit 32 to the A surface shape determination processing unit 35 and the processing of the A surface grayscale image binarization processing unit 47 to the A surface pattern determination processing unit 50 may be executed simultaneously in parallel. Further, after the data for the same inspection object K1 is stored in the B-side slit light image storage unit 61 and the B-side gray image storage unit 76, the B-side luminance data conversion processing unit 62 to the B-side shape determination processing unit. The process of 65 and the processes of the B surface grayscale image binarization processing unit 77 to the B surface pattern determination processing unit 80 may be executed simultaneously in parallel.

 この場合、A面濃淡画像撮像部41をA面スリット光画像撮像部21よりも上流側に配設し、B面濃淡画像撮像部71をB面スリット光画像撮像部51よりも上流側に配設しても良い。 In this case, the A-side gray image capturing unit 41 is disposed upstream of the A-side slit light image capturing unit 21, and the B-side gray image capturing unit 71 is disposed upstream of the B-side slit light image capturing unit 51. May be installed.

 以上、本発明の一実施形態について説明したが、本発明が採り得る具体的な態様は、何らこれに限定されるものではなく、本発明の趣旨を逸脱しない範囲で他の態様を採り得る。 As mentioned above, although one embodiment of the present invention was described, the specific mode which can be taken by the present invention is not limited to this, and other modes can be taken without departing from the gist of the present invention.

 例えば、本発明において、検査対象物Kの検査対象面たる表面の意義は、上例で示した上面(A面)及び下面(B面)に限られるものではなく、その外周面(側面)を含む表面全面を意味するものである。 For example, in the present invention, the significance of the surface that is the inspection target surface of the inspection target K is not limited to the upper surface (A surface) and the lower surface (B surface) shown in the above example, but the outer peripheral surface (side surface) thereof. It means the entire surface including.

 以下、図15乃至図20に基づいて、検査対象物Kの上面の形状検査及び模様検査と、検査対象物Kの搬送方向において左右両側から見た側面の模様検査とを行うように構成された外観検査装置100について説明する。 Hereinafter, based on FIG. 15 to FIG. 20, it is configured to perform shape inspection and pattern inspection on the upper surface of the inspection object K, and side surface inspection viewed from the left and right sides in the conveyance direction of the inspection object K. The appearance inspection apparatus 100 will be described.

 図15に示すように、この外観検査装置100は、上例と同じ構成を有する供給部3、第1直線搬送部10、A面スリット光画像撮像部21及び選別部90と、A面スリット光画像撮像部21の下流側に配設された濃淡画像撮像部130と、A面スリット光画像撮像部21及び濃淡画像撮像部130から画像データを受信して検査選別処理を行う検査選別処理部110とを備えている。 As shown in FIG. 15, the appearance inspection apparatus 100 includes a supply unit 3, a first linear conveyance unit 10, an A-side slit light image capturing unit 21 and a selection unit 90 having the same configuration as the above example, and an A-side slit light. The grayscale image pickup unit 130 disposed on the downstream side of the image pickup unit 21, and the inspection selection processing unit 110 that receives the image data from the A-side slit light image pickup unit 21 and the grayscale image pickup unit 130 and performs the inspection selection process. And.

 尚、選別部90は、第1直線搬送部10の搬送下流端に設けられており、第1直線搬送部10によって搬送される検査対象物Kを、前記検査選別処理部110からの指令にしたがって良品と不良品とに選別する。 The sorting unit 90 is provided at the transport downstream end of the first linear transport unit 10, and the inspection object K transported by the first straight transport unit 10 is in accordance with a command from the test sorting processing unit 110. Sort into good and defective products.

 前記濃淡画像撮像部130は、図17に示すように、上例のA面濃淡画像撮像部41に、新たにカメラ131,132を設けた構成を備えている。カメラ131は、検査対象物Kの搬送方向、即ち、紙面に向かって左側に配設され、拡散部材44の左側部に設けられた開口部44bを通して、当該拡散部材44内に位置する検査対象物Kの左側面の濃淡画像を撮像する。他方、カメラ132は、紙面に向かって右側に配設され、拡散部材44の右側部に設けられた開口部44cを通して、当該拡散部材44内に位置する検査対象物Kの右側面の濃淡画像を撮像する。 As shown in FIG. 17, the gray image capturing unit 130 has a configuration in which cameras 131 and 132 are newly provided in the A-side gray image capturing unit 41 of the above example. The camera 131 is disposed on the left side in the conveyance direction of the inspection object K, that is, on the paper surface, and the inspection object located in the diffusion member 44 through the opening 44b provided on the left side of the diffusion member 44. A grayscale image of the left side of K is captured. On the other hand, the camera 132 is disposed on the right side of the paper surface, and transmits a grayscale image of the right side surface of the inspection object K located in the diffusion member 44 through the opening 44c provided on the right side of the diffusion member 44. Take an image.

 斯くして、カメラ42によって撮像された検査対象物Kの上面(A面)の濃淡画像、カメラ131によって撮像された検査対象物Kの左側面の濃淡画像、及びカメラ132によって撮像された検査対象物Kの右側面の濃淡画像が、それぞれ前記検査選別処理部110に送信される。 Thus, the grayscale image of the upper surface (A surface) of the inspection object K imaged by the camera 42, the grayscale image of the left side surface of the inspection object K imaged by the camera 131, and the inspection object imaged by the camera 132. The grayscale image on the right side of the object K is transmitted to the inspection sorting processor 110, respectively.

 前記検査選別処理部110は、図16に示すように、上例のA面形状判定部30、A面模様判定部45及び選別制御部91と、これに加えて新たに設けた左側面模様判定部111及び右側面模様判定部120とを備えている。 As shown in FIG. 16, the inspection / selection processing unit 110 includes an A-side shape determination unit 30, an A-side pattern determination unit 45, and a selection control unit 91, and a left side pattern determination newly provided in addition thereto. Unit 111 and right side surface pattern determination unit 120.

 前記左側面模様判定部111は、左側面濃淡画像記憶部112、左側面濃淡画像2値化処理部113、左側面対象部抽出処理部114、左側面模様特徴抽出処理部115及び左側面模様判定処理部116からなり、同様に、前記右側面模様判定部120は、右側面濃淡画像記憶部121、右側面濃淡画像2値化処理部122、右側面対象部抽出処理部123、右側面模様特徴抽出処理部124及び右側面模様判定処理部125からなる。 The left side pattern determination unit 111 includes a left side gradation image storage unit 112, a left side gradation image binarization processing unit 113, a left side target part extraction processing unit 114, a left side pattern feature extraction processing unit 115, and a left side pattern determination. Similarly, the right side pattern determination unit 120 includes a right side gray image storage unit 121, a right side gray image binarization processing unit 122, a right side target part extraction processing unit 123, and a right side pattern feature. An extraction processing unit 124 and a right side surface pattern determination processing unit 125 are included.

 これら左側面濃淡画像記憶部112及び右側面濃淡画像記憶部121は上記A面濃淡画像記憶部46と、左側面濃淡画像2値化処理部113及び右側面濃淡画像2値化処理部122は上記A面濃淡画像2値化処理部47と、左側面対象部抽出処理部114及び右側面対象部抽出処理部123はA面対象部抽出処理部48と、左側面模様特徴抽出処理部115及び右側面模様特徴抽出処理部124は上記A面模様特徴抽出処理部49と、それぞれ同じ処理を行う機能部である。したがって、ここではその詳しい説明を省略する。 The left side gray image storage unit 112 and the right side gray image storage unit 121 are the A side gray image storage unit 46, the left side gray image binarization processing unit 113, and the right side gray image binarization processing unit 122 are the above. The A side grayscale image binarization processing unit 47, the left side target part extraction processing unit 114, and the right side target part extraction processing unit 123 are the A side target part extraction processing unit 48, the left side pattern feature extraction processing unit 115, and the right side. The surface pattern feature extraction processing unit 124 is a functional unit that performs the same processing as the A surface pattern feature extraction processing unit 49. Therefore, detailed description thereof is omitted here.

 本態様のA面形状特徴抽出処理部34は、特徴画像データを解析してその画像中の凹凸部が存在する領域を認識する上例の処理に加えて、解析の結果、A面に存在する凹凸部が左側面及び/又は右側面にも及んでいると判定される場合には、上述のようにして撮像された左側面及び/又は右側面の画像において、かかる凹凸部が存在する領域を算出し、算出した領域に関する情報を前記左側面模様判定処理部116及び/又は右側面模様判定処理部125に送信する。 The A-surface shape feature extraction processing unit 34 of this aspect is present on the A-surface as a result of the analysis in addition to the above-described processing for analyzing the feature image data and recognizing the region where the uneven portion in the image exists. When it is determined that the uneven portion extends to the left side surface and / or the right side surface, in the image of the left side surface and / or right side surface imaged as described above, an area where the uneven portion is present Information on the calculated area is transmitted to the left side pattern determination processing unit 116 and / or the right side pattern determination processing unit 125.

 例えば、図18に示すように、検査対象物Kの上面(A面)に、その外周面に開口するような割線Gが印刻されている場合、カメラ131によって矢示C方向から撮像される左側面の画像には、図19に示すように、当該割線Gに対応した部分が濃色部となる可能性があり、同様に、カメラ132によって矢示D方向から撮像される右側面の画像にも、図20に示すような、割線Gに対応した濃色部が表れる可能性がある。 For example, as shown in FIG. 18, when a dividing line G that opens to the outer peripheral surface is imprinted on the upper surface (A surface) of the inspection target K, the left side imaged by the camera 131 from the arrow C direction. In the surface image, as shown in FIG. 19, there is a possibility that the portion corresponding to the secant line G may be a dark color portion. Similarly, the image on the right side imaged by the camera 132 from the arrow D direction is displayed. However, there is a possibility that a dark color portion corresponding to the dividing line G as shown in FIG.

 そこで、A面形状特徴抽出処理部34は、特徴画像データを解析して、例えば、図18に示すように、検査対象物Kの搬送方向前端部を基準として、左側面の画像に表れる割線Gの位置(la1及びla2)及びその深さhを算出するとともに、右側面の画像に表れる割線Gの位置(lb1及びlb2)及びその深さhを算出して、左側面に係る情報(la1,la2,h)を左側面模様判定処理部116に送信するとともに、右側面に係る情報(lb1,lb2,h)を右側面模様判定処理部125に送信する。 Therefore, the A-surface shape feature extraction processing unit 34 analyzes the feature image data and, for example, as shown in FIG. 18, the dividing line G that appears in the image on the left side with reference to the front end portion in the transport direction of the inspection object K. The position (l a1 and l a2 ) and the depth h a thereof are calculated, and the position (l b1 and l b2 ) and the depth h b of the secant line G appearing in the image on the right side are calculated. Information (l a1 , l a2 , h a ) related to the left side pattern determination processing unit 116 and information related to the right side surface (l b1 , l b2 , h b ) to the right side pattern determination processing unit 125. Send.

 そして、左側面模様判定処理部116は、かかる情報を受信した場合、図19に示すように、当該割線Gが存在する領域、即ち、検査対象物Kの上面と二点差線で囲まれた領域を非検査領域に設定して、上例のごとき模様についての良否判定を行う。 When the left side pattern determination processing unit 116 receives such information, as shown in FIG. 19, the area where the secant line G exists, that is, the area surrounded by the upper surface of the inspection object K and the two-point difference line. Is set as a non-inspection area, and the quality of the pattern as in the above example is determined.

 同様に、右側面模様判定処理部125は、上記情報を受信した場合、図20に示すように、当該割線Gが存在する領域、即ち、検査対象物Kの上面と二点差線で囲まれた領域を非検査領域に設定して、模様についての良否判定を行う。 Similarly, when the right side pattern determination processing unit 125 receives the above information, as shown in FIG. 20, the right side pattern determination processing unit 125 is surrounded by a region where the secant line G exists, that is, the upper surface of the inspection target K and a two-point difference line. The area is set as a non-inspection area, and the quality of the pattern is determined.

 斯くして、A面形状判定処理部35、A面模様判定処理部50、左側面模様判定処理部116及び右側面模様判定処理部125の内、いずれか一つの処理部から不良の判定結果が出力されると、選別制御部91から選別信号が送信され、不良と判定された検査対象物Kが前記選別部90によって不良品回収室に回収される。 Thus, a defect determination result is received from any one of the A-surface shape determination processing unit 35, the A-surface pattern determination processing unit 50, the left-side pattern determination processing unit 116, and the right-side pattern determination processing unit 125. When output, a sorting signal is transmitted from the sorting control unit 91, and the inspection object K determined to be defective is collected by the sorting unit 90 in the defective product collection chamber.

 このように、本実施形態の外観検査装置100によれば、検査対象物Kの上面に存在する凹凸が側面にも及んでいる場合に、上面の形状検査結果から得られる情報を、側面の模様検査に利用することで、模様検査における当該凹凸に起因した誤判定を防止することができ、当該側面における検査精度を高めることができる。 As described above, according to the appearance inspection apparatus 100 of the present embodiment, when the unevenness existing on the upper surface of the inspection object K extends to the side surface, the information obtained from the shape inspection result of the upper surface is displayed on the side surface pattern. By using it for the inspection, it is possible to prevent erroneous determination due to the unevenness in the pattern inspection, and it is possible to increase the inspection accuracy on the side surface.

 尚、当然のことながら、上記外観検査装置1と同様に、本実施形態に係る外観検査装置100においても、検査対象物Kの下面を検査する構成とすることができる。 In addition, as a matter of course, the appearance inspection apparatus 100 according to the present embodiment can be configured to inspect the lower surface of the inspection object K in the same manner as the appearance inspection apparatus 1 described above.

 また、上記2例の態様では、検査選別処理部20,110における模様検査を、凹凸部が存在する領域を非検査領域に設定して検査するようにしたが、何らこれに限定されるものではない。 In the above-described two examples, the pattern inspection in the inspection / separation processing units 20 and 110 is performed by setting the region where the uneven portion is present as the non-inspection region. However, the present invention is not limited to this. Absent.

 例えば、検査選別処理部20,110において、その各濃淡画像2値化処理部47,77,113,122を削除して、多値画像のまま処理し、各模様特徴抽出処理部49,79,115,124では、凹凸部が存在する領域を、他の領域における検査感度よりも低い感度で検査する、例えば、濃色の度合いから汚点等であるか否かを判別するその閾値を濃色側に設定して極めて濃い濃色部が存在すれば汚点であると判定するような低感度検査としてよい。 For example, in the inspection selection processing units 20 and 110, the grayscale image binarization processing units 47, 77, 113, and 122 are deleted and processed as multi-valued images, and the pattern feature extraction processing units 49, 79, In 115 and 124, the region where the uneven portion is present is inspected at a sensitivity lower than the inspection sensitivity in the other regions. For example, the threshold value for determining whether it is a dark spot or the like from the degree of dark color is set to the dark side. The low-sensitivity inspection may be set such that a dark spot is determined if an extremely dark portion is present.

 このようにすれば、当該凹凸部に極めて濃い汚点等が存在する場合にはこれを検出して選別することができ、非検査とする場合に比べて、その検査精度を高めることができる。 In this way, if there is a very dark spot or the like on the uneven portion, it can be detected and sorted, and the inspection accuracy can be improved compared to the case of non-inspection.

 また、上記模様検査において、各濃淡画像撮像部41,71により撮像される画像の角部(エッジ部分)が、検査対象物Kの形状によっては、不鮮明になるものがある。この場合、前記各模様判定部45,75において良品を不良品と誤判定することが起こり得る。 In the pattern inspection, the corners (edge portions) of images picked up by the gray image pickup units 41 and 71 may be unclear depending on the shape of the inspection object K. In this case, it may happen that the non-defective product is erroneously determined as a defective product in each of the pattern determination units 45 and 75.

 そこで、このような問題を解決すべく、上記各模様特徴抽出処理部49,79において、前記特徴画像を解析して、検査対象物Kのエッジ部分など極端に形状が変化する領域を検出し、かかる領域に関する情報を上記各模様判定処理部50,80に送信し、各模様判定処理部50,80においてかかる領域を非検査領域に設定して、模様検査を行うようにしても良い。 Therefore, in order to solve such a problem, each of the pattern feature extraction processing units 49 and 79 analyzes the feature image to detect a region whose shape changes extremely, such as an edge portion of the inspection object K, Information regarding such areas may be transmitted to the pattern determination processing sections 50 and 80, and the pattern determination processing sections 50 and 80 may set such areas as non-inspection areas to perform pattern inspection.

 1  外観検査装置
 10 第1直線搬送部
 15 第2直線搬送部
 20 検査選別処理部
 21 A面スリット光画像撮像部
 30 A面形状判定部
 41 A面濃淡画像撮像部
 45 A面模様判定部
 51 B面スリット光画像撮像部
 60 B面形状判定部
 71 B面濃淡画像撮像部
 75 B面模様判定部
 100 外観検査装置
 110 検査選別処理部
 111 左側面模様判定部
 120 右側面模様判定部
 130 濃淡画像撮像部
DESCRIPTION OF SYMBOLS 1 Appearance inspection apparatus 10 1st linear conveyance part 15 2nd linear conveyance part 20 Inspection selection process part 21 A surface slit light image imaging part 30 A surface shape determination part 41 A surface grayscale image imaging part 45 A surface pattern determination part 51 B Surface slit light image capturing unit 60 B surface shape determining unit 71 B surface gray image capturing unit 75 B surface pattern determining unit 100 Appearance inspection device 110 Inspection selection processing unit 111 Left side surface pattern determining unit 120 Right side surface pattern determining unit 130 Gray image capturing Part

Claims (2)

 所定の搬送路に沿って検査対象物を搬送する搬送手段と、
 前記搬送手段によって搬送される前記検査対象物の表面形状を検査する表面形状検査手段と、
 同じく前記搬送手段によって搬送される前記検査対象物の表面模様を検査する表面模様検査手段とを備えた外観検査装置であって、
 前記表面形状検査手段は、前記搬送路近傍に配設され、帯状のスリット光を、その照射ラインが前記検査対象物の搬送方向と直交するように前記検査対象物表面に照射するとともに、撮像光軸が前記検査対象物の搬送方向に沿い、且つ前記検査対象物に照射されるスリット光の光軸と交差する方向から、前記検査対象物に前記スリット光が照射されたときの画像を撮像するスリット光画像撮像部と、該スリット光画像撮像部により撮像された画像を基に、前記検査対象物表面の形状特徴を認識して該形状に関する適否を判定する形状判定部とを備え、
 前記表面模様検査手段は、前記スリット光画像撮像部より上流側又は下流側の前記搬送路近傍に配設され、前記検査対象物の表面に拡散光を照射し、該拡散光によって照明された検査対象物表面の濃淡画像を撮像する濃淡画像撮像部と、該濃淡画像撮像部によって撮像された濃淡画像を基に、前記検査対象物表面の模様特徴を認識して該模様に関する適否を判定する模様判定部とを備え、
 更に、前記模様判定部は、前記形状判定部から少なくとも前記検査対象物表面の凹凸部が存在する領域に関する情報を受信し、受信した領域を、検査を行わない非検査領域又は他の領域における検査感度よりも低い感度で検査する低感度検査領域に設定して、前記模様に関する適否を判定するように構成されていることを特徴とする外観検査装置。
Transport means for transporting the inspection object along a predetermined transport path;
Surface shape inspection means for inspecting the surface shape of the inspection object conveyed by the conveyance means;
Similarly, an appearance inspection apparatus comprising a surface pattern inspection means for inspecting a surface pattern of the inspection object conveyed by the conveyance means,
The surface shape inspection means is disposed in the vicinity of the conveyance path, and irradiates the inspection object surface with a strip-shaped slit light so that an irradiation line thereof is orthogonal to the conveyance direction of the inspection object, and imaging light. An image when the slit light is irradiated onto the inspection object is taken from a direction whose axis is along the conveyance direction of the inspection object and intersects the optical axis of the slit light irradiated onto the inspection object. A slit light image capturing unit; and a shape determining unit that recognizes the shape characteristics of the surface of the inspection object based on the image captured by the slit light image capturing unit and determines suitability for the shape;
The surface pattern inspection means is disposed in the vicinity of the transport path upstream or downstream of the slit light image capturing unit, irradiates the surface of the inspection object with diffused light, and is illuminated with the diffused light. A grayscale image capturing unit that captures a grayscale image on the surface of the object, and a pattern for recognizing the pattern characteristics of the surface of the inspection object and determining whether the pattern is appropriate based on the grayscale image captured by the grayscale image capturing unit A determination unit,
Further, the pattern determination unit receives at least information on a region where the uneven portion on the surface of the inspection object exists from the shape determination unit, and the received region is inspected in a non-inspection region or other region where no inspection is performed. An appearance inspection apparatus configured to determine whether or not the pattern is appropriate by setting in a low-sensitivity inspection region in which inspection is performed with a sensitivity lower than the sensitivity.
 前記スリット光画像撮像部は、前記スリット光を垂直方向に照射するとともに、前記検査対象物の搬送方向上流側及び下流側の2方向からそれぞれ画像を撮像し、
 前記形状判定部は、前記スリット光画像撮像部により撮像された2つの画像を合成し、合成した画像を基に、前記検査対象物表面の形状特徴を認識して該形状に関する適否を判定するように構成されてなることを特徴とする請求項1記載の外観検査装置。
The slit light image capturing unit irradiates the slit light in the vertical direction, and captures images from two directions on the upstream side and the downstream side in the transport direction of the inspection object,
The shape determining unit combines the two images captured by the slit light image capturing unit, and recognizes the shape feature of the surface of the inspection object based on the combined image to determine suitability for the shape. The visual inspection apparatus according to claim 1, wherein the visual inspection apparatus is configured as follows.
PCT/JP2010/071886 2009-12-11 2010-12-07 Appearance inspection device Ceased WO2011071035A1 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
CN201080056196.6A CN102713579B (en) 2009-12-11 2010-12-07 Appearance inspection device
JP2011545210A JP5670915B2 (en) 2009-12-11 2010-12-07 Appearance inspection device
KR1020127017900A KR101762165B1 (en) 2009-12-11 2010-12-07 Appearance inspection device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2009-281087 2009-12-11
JP2009281087 2009-12-11

Publications (1)

Publication Number Publication Date
WO2011071035A1 true WO2011071035A1 (en) 2011-06-16

Family

ID=44145579

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2010/071886 Ceased WO2011071035A1 (en) 2009-12-11 2010-12-07 Appearance inspection device

Country Status (4)

Country Link
JP (1) JP5670915B2 (en)
KR (1) KR101762165B1 (en)
CN (1) CN102713579B (en)
WO (1) WO2011071035A1 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013242257A (en) * 2012-05-22 2013-12-05 Ricoh Elemex Corp Inspection method and visual inspection apparatus
JP2015094707A (en) * 2013-11-13 2015-05-18 リコーエレメックス株式会社 Visual inspection device
JP2019166199A (en) * 2018-03-26 2019-10-03 株式会社Screenホールディングス Printer and printing method
JP2022187407A (en) * 2021-06-07 2022-12-19 株式会社 日立産業制御ソリューションズ Information processing device for inspection equipment, information processing method for inspection equipment and inspection equipment system
CN118329931A (en) * 2024-06-07 2024-07-12 株洲兆源机电科技有限公司 Electromagnetic wire surface flaw detection equipment and method

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110892413A (en) * 2017-08-22 2020-03-17 富士胶片富山化学株式会社 Medicine identification device, image processing device, image processing method, and program
CN111492230A (en) * 2017-12-15 2020-08-04 日本烟草产业株式会社 Method for inspecting cigarette filter, device for inspecting cigarette filter, and program for inspecting cigarette filter
DE102018107689A1 (en) * 2018-03-29 2019-10-02 Krones Ag Method and device for inspecting containers
JP6616040B1 (en) * 2019-07-08 2019-12-04 西進商事株式会社 Appearance inspection device
JP7270842B2 (en) * 2020-04-28 2023-05-10 三菱電機株式会社 APPEARANCE INSPECTION DEVICE AND APPEARANCE INSPECTION METHOD
JP7495282B2 (en) * 2020-06-23 2024-06-04 Juki株式会社 Inspection device and inspection method
KR20220117060A (en) 2021-02-16 2022-08-23 동우 화인켐 주식회사 Defect inspection apparatus
JP7524846B2 (en) * 2021-07-01 2024-07-30 株式会社ダイフク Inspection device and coating device equipped with same

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6353452A (en) * 1986-08-25 1988-03-07 Kanebo Ltd Lighting apparatus for inspection
JP3640247B2 (en) * 2002-06-21 2005-04-20 シーケーディ株式会社 Tablet appearance inspection device and PTP packaging machine
JP6093776B2 (en) * 2011-11-29 2017-03-08 ゼネラル エレクトリック テクノロジー ゲゼルシャフト ミット ベシュレンクテル ハフツングGeneral Electric Technology GmbH Method and apparatus for cleaning an electrostatic precipitator

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5667567A (en) * 1979-11-09 1981-06-06 Yamanouchi Pharma Co Ltd Method and device for selecting faulty article of mark printing of tablet* etc*
JPH0693776B2 (en) * 1987-04-03 1994-11-16 協和醗酵工業株式会社 High-precision appearance video inspection method
JP3472750B2 (en) * 2000-04-10 2003-12-02 シーシーエス株式会社 Surface inspection equipment
JP3344995B2 (en) * 2000-09-22 2002-11-18 東芝アイティー・ソリューション株式会社 Tablet surface inspection device
JP2004317126A (en) 2003-04-10 2004-11-11 Renesas Technology Corp Solder printer
JP4318292B2 (en) * 2003-08-13 2009-08-19 静岡シブヤ精機株式会社 Agricultural products visual inspection equipment
AU2003269535A1 (en) * 2003-10-14 2005-04-27 Mirtec Co., Ltd. Printed circuit board inspection system combining x-ray inspection and visual inspection
JP4001855B2 (en) * 2003-10-28 2007-10-31 日本碍子株式会社 Method and apparatus for inspecting irregularities on partition wall surface of honeycomb structure
JP2005164272A (en) * 2003-11-28 2005-06-23 Toshiba Solutions Corp Sheet packing inspection device
JP4894628B2 (en) 2007-05-28 2012-03-14 パナソニック電工株式会社 Appearance inspection method and appearance inspection apparatus
JP5025442B2 (en) * 2007-12-10 2012-09-12 株式会社ブリヂストン Tire shape inspection method and apparatus
JP4374051B2 (en) * 2007-12-28 2009-12-02 ライオンエンジニアリング株式会社 Article visual inspection apparatus and surface inspection apparatus

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6353452A (en) * 1986-08-25 1988-03-07 Kanebo Ltd Lighting apparatus for inspection
JP3640247B2 (en) * 2002-06-21 2005-04-20 シーケーディ株式会社 Tablet appearance inspection device and PTP packaging machine
JP6093776B2 (en) * 2011-11-29 2017-03-08 ゼネラル エレクトリック テクノロジー ゲゼルシャフト ミット ベシュレンクテル ハフツングGeneral Electric Technology GmbH Method and apparatus for cleaning an electrostatic precipitator

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013242257A (en) * 2012-05-22 2013-12-05 Ricoh Elemex Corp Inspection method and visual inspection apparatus
JP2015094707A (en) * 2013-11-13 2015-05-18 リコーエレメックス株式会社 Visual inspection device
JP2019166199A (en) * 2018-03-26 2019-10-03 株式会社Screenホールディングス Printer and printing method
WO2019187898A1 (en) * 2018-03-26 2019-10-03 株式会社Screenホールディングス Printing device and printing method
JP2022187407A (en) * 2021-06-07 2022-12-19 株式会社 日立産業制御ソリューションズ Information processing device for inspection equipment, information processing method for inspection equipment and inspection equipment system
JP7507125B2 (en) 2021-06-07 2024-06-27 株式会社 日立産業制御ソリューションズ INFORMATION PROCESSING APPARATUS FOR INSPECTION APPARATUS, INFORMATION PROCESSING METHOD FOR INSPECTION APPARATUS, AND INSPECTION APPARATUS SYSTEM
CN118329931A (en) * 2024-06-07 2024-07-12 株洲兆源机电科技有限公司 Electromagnetic wire surface flaw detection equipment and method

Also Published As

Publication number Publication date
JP5670915B2 (en) 2015-02-18
KR20120109548A (en) 2012-10-08
CN102713579A (en) 2012-10-03
KR101762165B1 (en) 2017-07-27
CN102713579B (en) 2014-12-10
JPWO2011071035A1 (en) 2013-04-22

Similar Documents

Publication Publication Date Title
JP5670915B2 (en) Appearance inspection device
JP5654486B2 (en) Appearance inspection device
JPWO2016121878A1 (en) Optical appearance inspection apparatus and optical appearance inspection system using the same
JP5563372B2 (en) Appearance inspection device
JP5174540B2 (en) Wood defect detection device
JP3640247B2 (en) Tablet appearance inspection device and PTP packaging machine
JP2010107254A (en) Device and method for inspecting led chip
WO2011086634A1 (en) Liquid crystal panel inspection method and device
JP2001299288A (en) Method and apparatus for detecting foreign matter in dried laver
CN110621983B (en) egg inspection device
JP2003215055A (en) Inspection apparatus
JP2010038723A (en) Flaw inspecting method
KR20090121612A (en) Corrugated cardboard quality inspection automatic inspection method and device
JP4015436B2 (en) Gold plating defect inspection system
JP2005308623A (en) Optical member inspection device
JP2009047517A (en) Inspection apparatus
JP5679564B2 (en) Surface foreign matter inspection device
JP2022020873A (en) Imaging device, surface inspection device comprising imaging device, imaging method and program
JP3986534B2 (en) Empty bottle inspection system
JP2000346813A (en) Inspection device for surface of article
JP4613090B2 (en) Inspection device
JP2009047513A (en) Inspection device
JP2010223914A (en) Defect inspection method and defect inspection apparatus for object surface
JP2001272351A (en) Defect inspection equipment
JP2009270993A (en) Inspection device and method for signature panel

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 201080056196.6

Country of ref document: CN

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 10835955

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 2011545210

Country of ref document: JP

NENP Non-entry into the national phase

Ref country code: DE

WWE Wipo information: entry into national phase

Ref document number: 5652/CHENP/2012

Country of ref document: IN

ENP Entry into the national phase

Ref document number: 20127017900

Country of ref document: KR

Kind code of ref document: A

122 Ep: pct application non-entry in european phase

Ref document number: 10835955

Country of ref document: EP

Kind code of ref document: A1