CN106248690A - Defect detecting method and flaw detection apparatus - Google Patents

Defect detecting method and flaw detection apparatus Download PDF

Info

Publication number
CN106248690A
CN106248690A CN201610404074.0A CN201610404074A CN106248690A CN 106248690 A CN106248690 A CN 106248690A CN 201610404074 A CN201610404074 A CN 201610404074A CN 106248690 A CN106248690 A CN 106248690A
Authority
CN
China
Prior art keywords
inspection
pattern
defect
linear pattern
area
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.)
Pending
Application number
CN201610404074.0A
Other languages
Chinese (zh)
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.)
Shibaura Machine Co Ltd
Original Assignee
Toshiba Machine 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 Toshiba Machine Co Ltd filed Critical Toshiba Machine Co Ltd
Publication of CN106248690A publication Critical patent/CN106248690A/en
Pending legal-status Critical Current

Links

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
    • 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/8806Specially adapted optical and illumination features
    • 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/17Systems in which incident light is modified in accordance with the properties of the material investigated
    • G01N21/1717Systems in which incident light is modified in accordance with the properties of the material investigated with a modulation of one or more physical properties of the sample during the optical investigation, e.g. electro-reflectance
    • 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/956Inspecting patterns on the surface of objects
    • G01N21/95607Inspecting patterns on the surface of objects using a comparative method
    • HELECTRICITY
    • H10SEMICONDUCTOR DEVICES; ELECTRIC SOLID-STATE DEVICES NOT OTHERWISE PROVIDED FOR
    • H10PGENERIC PROCESSES OR APPARATUS FOR THE MANUFACTURE OR TREATMENT OF DEVICES COVERED BY CLASS H10
    • H10P72/00Handling or holding of wafers, substrates or devices during manufacture or treatment thereof
    • H10P72/30Handling or holding of wafers, substrates or devices during manufacture or treatment thereof for conveying, e.g. between different workstations
    • 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/17Systems in which incident light is modified in accordance with the properties of the material investigated
    • G01N2021/1765Method using an image detector and processing of image signal
    • G01N2021/177Detector of the video camera type
    • 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/8806Specially adapted optical and illumination features
    • G01N2021/8809Adjustment for highlighting flaws

Landscapes

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

Abstract

本发明涉及缺陷检查方法及缺陷检查装置。为了检查在工件(9)的表面形成的作为线状图案的突条(92)的缺陷,具有:拍摄工序,沿着突条(92)依次拍摄检查图像(P);以及检查工序,对于检查图像(P),依次进行缺陷检查,在检查工序中,基于检查图像(P)中包含的突条(92)的前端面的轮廓的连续性及图像面积来对缺陷进行判定。在拍摄工序中,根据从工件(9)的加工程序得到的突条(92)的形状数据来使摄像机(3)移动。

The invention relates to a defect inspection method and a defect inspection device. In order to inspect the defects of the protruding lines (92) formed on the surface of the workpiece (9) as a linear pattern, there are: an imaging process of sequentially photographing inspection images (P) along the protruding lines (92); and an inspection process for inspecting The image (P) is sequentially inspected for defects, and in the inspection process, defects are judged based on the continuity of the outline of the front end surface of the protrusion (92) included in the inspection image (P) and the image area. In the photographing process, the camera (3) is moved based on the shape data of the protrusion (92) obtained from the machining program of the workpiece (9).

Description

缺陷检查方法及缺陷检查装置Defect inspection method and defect inspection device

技术领域technical field

本发明涉及对表面形成有线状图案的工件的缺陷进行检查的缺陷检查方法及缺陷检查装置。The present invention relates to a defect inspection method and a defect inspection device for inspecting defects of a workpiece on which a linear pattern is formed on the surface.

背景技术Background technique

以往,有在表面形成有线状图案的工件(work)。Conventionally, there is a work (work) in which a linear pattern is formed on the surface.

例如,显示用的张贴物的冲裁模具在模具主体的表面形成以封闭的环状连续的突条,将该突条的前端作为刀头来使用(参照文献1:特开2014-193966号公报)。For example, a punching die for stickers for display forms a closed ring-shaped continuous ridge on the surface of the mold body, and the front end of the ridge is used as a cutter head (refer to document 1: Japanese Patent Application Laid-Open No. 2014-193966 ).

在制造冲裁模具时,对模具主体的平坦的表面实施切削加工或蚀刻,形成与张贴物等的冲裁轮廓对应的规定图案的突条。然后,在形成的突条的前端实施淬火处理等而形成冲裁刀。When manufacturing the punching die, cutting or etching is performed on the flat surface of the die main body to form protrusions of a predetermined pattern corresponding to the punching outline of stickers or the like. Then, a quenching treatment or the like is performed on the front end of the formed ridge to form a punching blade.

在冲裁刀中,为了准确地进行冲裁加工、特别是要求切入深度的精度的半切,刀头的宽度及高度被要求遍及图案整体为规定值。In the punching blade, in order to accurately perform punching, especially half-cutting, which requires precision in cutting depth, the width and height of the blade are required to be predetermined values over the entire pattern.

在这样的刀头的检查中,利用基于图像处理的图案检查装置。In the inspection of such a bit, a pattern inspection device based on image processing is used.

作为图案检查装置,对作为工件的冲裁模具的表面进行拍摄,针对图像中出现的线状图案的刀头的形状,与基准图案进行比较,如果存在差异,则检测为缺陷(参照文献2:特开平8-184570号公报、文献3:特开2006-184037号公报)。As a pattern inspection device, an image is taken of the surface of the punching die as the workpiece, and the shape of the tip of the linear pattern appearing in the image is compared with the reference pattern, and if there is a difference, it is detected as a defect (refer to Document 2: JP-A-8-184570, Document 3: JP-A-2006-184037).

在刀头的形状的检查中,除了检查刀头的两侧缘的轮廓形状,还检查刀头的宽度、即两侧缘的距离。In inspection of the shape of the tip, the width of the tip, that is, the distance between the two side edges is also checked in addition to the contour shape of both side edges of the tip.

在前述的图案检查装置中,仅选择工件表面的包含线状图案的区域,通过限定检查范围,来抑制要检查的图像的处理时间及数据量。In the above-mentioned pattern inspection device, only the region including the linear pattern on the surface of the workpiece is selected, and the inspection range is limited to suppress the processing time and data amount of the image to be inspected.

例如,在文献2的检查装置中,通过鼠标等操作单元,描绘出包围检查对象的框线,从而在画面上指定检查范围。此外,在文献3的检查装置中,选择成为包围检查对象的框线的图形,并将该框线配置在画面上,从而指定检查范围。For example, in the inspection device of Document 2, an inspection range is designated on a screen by drawing a frame line surrounding an inspection object by operating means such as a mouse. In addition, in the inspection device of Document 3, a figure enclosing a frame line to be inspected is selected, and the frame line is arranged on a screen to designate an inspection range.

但是,在任一装置中都是由操作者来进行检查范围的指定,存在增加操作者的负担并且不利于自动化的问题。However, in any of the devices, the operator specifies the inspection range, which increases the burden on the operator and is disadvantageous to automation.

此外,在前述的图案检查装置中,需要在各个检索区划中预先准备基准图像,以便将工件图像和基准图像进行比较。Furthermore, in the aforementioned pattern inspection apparatus, it is necessary to prepare a reference image in advance for each search section in order to compare the workpiece image with the reference image.

特别是,形成于工件的表面的线状图案是微细形状的情况下,为了对其进行识别,需要高的分辨率,存在基准图像的数据量庞大的问题。In particular, when the linear pattern formed on the surface of the workpiece has a fine shape, high resolution is required to recognize it, and there is a problem that the amount of data of the reference image is huge.

因此,如果将现有的图案检查装置用于前述的冲裁模具的刀头等具有线状图案的工件的缺陷检查,则无法避免前述的对检查范围进行指定的操作的问题、以及基准图像的准备的问题,存在难以进行高效的缺陷检查的问题。Therefore, if the existing pattern inspection device is used for the defect inspection of workpieces having a linear pattern such as the cutter head of the punching die described above, the above-mentioned problem of specifying the inspection range and the preparation of the reference image cannot be avoided. There is a problem that it is difficult to perform efficient defect inspection.

此外,同样的问题不限于前述的冲裁模具那样的突条连续的线状图案,对于连续地形成有槽的线状图案、以及在工件表面连续地形成有光学特性不同的线状的图案也是同样的。In addition, the same problem is not limited to the linear pattern with continuous protrusions like the above-mentioned punching die, but also to the linear pattern with continuous grooves and the linear pattern with different optical characteristics continuously formed on the surface of the workpiece. same.

发明内容Contents of the invention

本发明的目的在于,提供一种缺陷检查方法及缺陷检查装置,能够高效地进行在表面形成有线状图案的工件的缺陷检查。An object of the present invention is to provide a defect inspection method and a defect inspection device capable of efficiently inspecting a workpiece having a linear pattern formed on its surface.

本发明的缺陷检查方法,对于在表面形成有线状图案的工件,检查所述线状图案的缺陷,其特征在于,包括:拍摄工序,沿着所述线状图案依次拍摄检查图像;以及检查工序,对于所述检查图像,依次进行缺陷检查,在所述检查工序中,基于所述检查图像中包含的所述线状图案的连续性及图像面积的至少某个来对缺陷进行判定。The defect inspection method of the present invention, for a workpiece having a linear pattern formed on the surface, inspects the defect of the linear pattern, and is characterized in that it includes: a photographing step of sequentially photographing inspection images along the linear pattern; and an inspection step For the inspection image, defect inspection is sequentially performed, and in the inspection step, the defect is determined based on at least one of the continuity of the linear pattern included in the inspection image and an image area.

在这样的本发明中,基于检查图像中包含的线状图案的连续性及图像面积的至少某个来对缺陷进行判定,所以不需要预先准备基准图像。此外,检查图像是沿着线状图案而依次拍摄的,所以不需要进行指定检查区划的操作。In such the present invention, since the defect is determined based on at least one of the continuity of the linear pattern included in the inspection image and the image area, it is not necessary to prepare a reference image in advance. In addition, since the inspection images are sequentially captured along the line pattern, it is not necessary to perform an operation of specifying inspection divisions.

因此,根据本发明,能够高效地进行在表面形成有线状图案的工件的缺陷检查。Therefore, according to the present invention, defect inspection of a workpiece having a linear pattern formed on its surface can be efficiently performed.

本发明的缺陷检查方法优选为,在所述检查工序中,基于光学特性的差异,将所述检查图像划分为表示所述线状图案的图案区域和所述图案区域的外侧的图案外区域,计算所述图案区域及所述图案外区域的面积,并与其他所述检查图像进行比较,如果面积没有变动,则判定为没有缺陷。In the defect inspection method of the present invention, it is preferable that, in the inspection step, the inspection image is divided into a pattern region representing the linear pattern and an out-of-pattern region outside the pattern region based on a difference in optical characteristics, The area of the pattern area and the area outside the pattern is calculated and compared with the other inspection images, and if there is no change in the area, it is determined that there is no defect.

在本发明中,作为图案区域及图案外区域的面积,可以利用检查图像中的各自的面积及像素数,也可以利用某一方的占有比率等。此外,作为要比较的其他检查图像,例如可以利用相邻的前一个检查图像。In the present invention, as the area of the pattern area and the area outside the pattern, the area and the number of pixels in the inspection image may be used, or an occupancy ratio of one of them may be used. In addition, as another inspection image to be compared, for example, the immediately previous inspection image can be used.

根据这样的本发明,通过检查图像中的图案区域及图案外区域的面积的计算这样的简单的操作,就能够进行作为检查工序的缺陷判定。例如,如果是以一定宽度连续的线状图案,则沿着该线状图案拍摄的检查图像中的图案区域及图案外区域的面积在任何部位均为一定。因此,像本发明这样,对于沿着线状图案拍摄的多个检查图像,分别计算图案区域及图案外区域的面积并依次进行比较,从而能够高效地进行作为检查工序的缺陷判定。According to the present invention as described above, it is possible to perform defect determination as an inspection process by a simple operation such as calculating the area of the pattern area and the area outside the pattern in the inspection image. For example, if there is a continuous linear pattern with a constant width, the areas of the pattern region and the non-pattern region in the inspection image captured along the linear pattern are constant at any location. Therefore, as in the present invention, for a plurality of inspection images captured along a linear pattern, the area of the pattern region and the area outside the pattern are calculated and sequentially compared, thereby efficiently performing defect determination as an inspection process.

本发明的缺陷检查方法优选为,在所述检查工序中,基于光学特性的差异,将所述检查图像划分为表示所述线状图案的图案区域和所述图案区域的外侧的图案外区域,检测所述图案区域及所述图案外区域的边界线来作为所述线状图案的轮廓,如果所述轮廓是连续的,则判定为没有缺陷。In the defect inspection method of the present invention, it is preferable that, in the inspection step, the inspection image is divided into a pattern region representing the linear pattern and an out-of-pattern region outside the pattern region based on a difference in optical characteristics, A boundary line between the pattern area and the pattern-outside area is detected as the outline of the linear pattern, and if the outline is continuous, it is determined that there is no defect.

在本发明中,轮廓是否连续的判定,能够通过在一个检查图像中检测轮廓的任意的部位相对于与其相邻的部位的宽度方向的位移或倾斜角度来进行。此外,也可以通过与相邻的其他检查图像的轮廓之间的比较来判定同样的连续性。In the present invention, whether or not the contours are continuous can be determined by detecting the displacement or inclination angle of any part of the contour relative to its adjacent part in the width direction in one inspection image. In addition, the same continuity can also be determined by comparison with the contours of other adjacent inspection images.

另外,轮廓连续指的是,在轮廓中不存在相当于缺陷的预期的不连续性。相当于缺陷的不连续性指的是,轮廓线存在显著的弯曲部或折曲部的情况、存在与周围相比曲率急剧变大的部分的情况、存在轮廓线在任意点的前后交叉的角部的情况等。关于线状图案的角部,在折曲由曲线构成的情况下,有时也能够判定为轮廓是连续的。此外,在本发明中,线状图案不限于由直线部分构成的情况,也可以是一部分或整体由曲线构成。In addition, the contour continuity means that there is no expected discontinuity corresponding to a defect in the contour. The discontinuity corresponding to a defect refers to the case where there is a prominent bend or bend in the contour line, the case where there is a portion with a sharply increased curvature compared with the surrounding area, and the presence of a corner where the contour lines intersect front and rear at an arbitrary point. Ministry situation etc. Regarding the corner portion of the linear pattern, when the bend is formed of a curved line, it may be determined that the outline is continuous. In addition, in the present invention, the linear pattern is not limited to the case of being constituted by a straight line portion, and may be constituted by a part or the whole by a curved line.

在本发明中,判定为不连续的程度基于应检查的缺陷的程度来适当设定即可。In the present invention, the degree of discontinuity determined may be appropriately set based on the degree of the defect to be inspected.

根据这样的本发明,通过检查图像中的线状图案的轮廓的检测及其连续性的判定这样的简单的操作,就能够进行作为检查工序的缺陷判定。例如,如果连续的线状图案存在缺损,则该部分的轮廓是不连续的,通过与相邻部位的比较而能够容易地判定。According to such the present invention, it is possible to perform defect determination as an inspection process by simple operations such as detection of the outline of a linear pattern in an inspection image and determination of its continuity. For example, if there is a defect in the continuous linear pattern, the contour of the part is discontinuous, and it can be easily determined by comparing with the adjacent part.

本发明的缺陷检查方法优选为,所述检查图像通过规定形状的检查框来指定,在所述拍摄工序中,对于所述线状图案的任意部位分配最初的所述检查框之后,对于所述线状图案的相邻部位依次分配下一所述检查框,由此拍摄沿着所述线状图案的多个所述检查图像。In the defect inspection method of the present invention, it is preferable that the inspection image is specified by an inspection frame of a predetermined shape, and after the first inspection frame is assigned to any part of the linear pattern in the imaging step, the A plurality of inspection images along the linear pattern are captured by sequentially assigning the next inspection frame to adjacent portions of the linear pattern.

在这样的本发明中,对于线状图案的整体或任意的区间,能够拍摄沿着线状图案的多个检查图像,能够得到适合基于检查工序中的线状图案的连续性及图像面积的至少某一方来进行缺陷的判定的检查图像。In such the present invention, a plurality of inspection images along the linear pattern can be captured for the entire linear pattern or an arbitrary section, and at least an image suitable for the continuity of the linear pattern and the image area in the inspection process can be obtained. An inspection image for determining a defect by one side.

本发明的缺陷检查方法优选为,所述工件为通过根据加工程序来动作的加工装置在表面形成有线状图案,在所述拍摄工序中,基于所述加工程序中包含的所述线状图案的形状数据,使依次拍摄所述检查图像的部位移动。In the defect inspection method of the present invention, it is preferable that the workpiece has a linear pattern formed on its surface by a processing device operating according to a processing program, and in the imaging step, based on the linear pattern included in the processing program, The shape data moves the parts where the inspection images are sequentially captured.

根据这样的本发明,能够参照用于加工工件的加工程序来设定依次拍摄检查图像的动作时的移动路径。因此,不需要为了设定移动路径而另外拍摄工件或者通过手动操作来指示。According to the present invention as described above, it is possible to set a movement route during an operation of sequentially capturing inspection images with reference to a machining program for machining a workpiece. Therefore, there is no need to separately photograph the workpiece or give instructions by manual operation in order to set the moving path.

本发明的缺陷检查方法优选为,在加工所述工件的所述加工装置装配摄像机,通过所述摄像机来拍摄所述检查图像。In the defect inspection method of the present invention, preferably, a camera is installed in the processing device that processes the workpiece, and the inspection image is captured by the camera.

根据这样的本发明,能够在工件上加工了线状图案之后,立即执行线状图案的缺陷检查。因此,不需要进行为了加工的后检查而移载工件等的操作。并且,还能够将加工装置兼用于缺陷检查,能够削减设备成本和设备空间。According to such the present invention, defect inspection of the linear pattern can be performed immediately after the linear pattern is processed on the workpiece. Therefore, operations such as transferring a workpiece for post-inspection of processing are not required. In addition, the processing device can also be used for defect inspection, and the equipment cost and equipment space can be reduced.

本发明的缺陷检查方法优选为,在所述拍摄工序中,沿着所述线状图案使摄像机移动的同时,通过闪光灯对所述线状图案间歇地进行照明,在由所述闪光灯进行照明的期间通过所述摄像机拍摄所述检查图像。In the defect inspection method of the present invention, it is preferable that in the photographing step, the linear pattern is illuminated intermittently with a strobe while the camera is moved along the linear pattern, During this period, the inspection image is captured by the camera.

根据这样的本发明,不必使沿着线状图案移动的摄像机停止,能够通过闪光灯拍摄来得到清晰的检查图像。因此,与反复移动和停止而进行拍摄的情况相比,能够在短时间内进行拍摄。并且,即使没有高速摄像机等特殊的摄像机也能够进行高速拍摄,所以能够降低设备成本。According to such the present invention, it is possible to obtain a clear inspection image by flash photography without stopping the camera moving along the linear pattern. Therefore, shooting can be performed in a short time compared with the case of repeatedly moving and stopping to perform shooting. In addition, since high-speed imaging can be performed without a special camera such as a high-speed camera, equipment costs can be reduced.

本发明的缺陷检查装置,对于在表面形成有线状图案的工件,检查所述线状图案的缺陷,其特征在于,具备:拍摄部,沿着所述线状图案依次拍摄检查图像;以及检查部,对于所述检查图像,依次进行缺陷检查,所述检查部基于所述检查图像中包含的所述线状图案的连续性及图像面积的至少某个来对缺陷进行判定。The defect inspection device of the present invention inspects a workpiece having a linear pattern formed on its surface for defects in the linear pattern, and is characterized by comprising: an imaging unit that sequentially captures inspection images along the linear pattern; and an inspection unit. The defect inspection is sequentially performed on the inspection image, and the inspection unit determines the defect based on at least one of the continuity of the linear pattern included in the inspection image and an image area.

在本发明中,作为拍摄部,例如可以利用装配于对工件进行加工的工作机械的摄像机,作为检查部,可以利用控制工作机械的控制装置。作为控制装置,可以利用与工作机械连接的NC装置(数值控制装置)或者与NC装置连接的外部计算机系统等。In the present invention, as the imaging unit, for example, a video camera mounted on a machine tool that processes a workpiece can be used, and as the inspection unit, a control device that controls the machine tool can be used. As the control device, an NC device (numerical control device) connected to the machine tool, an external computer system connected to the NC device, or the like can be used.

在这样的本发明的缺陷检查装置中,能够得到与前述的本发明的缺陷检查方法同样的作用效果。In such a defect inspection device of the present invention, the same effects as those of the above-mentioned defect inspection method of the present invention can be obtained.

根据本发明,不需要预先准备基准图像,而且在拍摄检查图像时不需要进行指定检查区划的操作。因此,根据本发明,能够高效地进行在表面形成有线状图案的工件的缺陷检查。According to the present invention, it is not necessary to prepare a reference image in advance, and it is not necessary to perform an operation of specifying an inspection region when capturing an inspection image. Therefore, according to the present invention, defect inspection of a workpiece having a linear pattern formed on its surface can be efficiently performed.

附图说明Description of drawings

图1是表示本发明的一个实施方式的装置构成的示意图。FIG. 1 is a schematic diagram showing the configuration of an apparatus according to an embodiment of the present invention.

图2是表示所述实施方式的工件的立体图。FIG. 2 is a perspective view showing the workpiece of the embodiment.

图3是表示所述实施方式的工件的部分截断放大立体图。Fig. 3 is a partially cutaway enlarged perspective view showing a workpiece according to the embodiment.

图4是表示所述实施方式的拍摄工序的立体图。FIG. 4 is a perspective view illustrating an imaging step of the embodiment.

图5是表示所述实施方式的拍摄工序的(A)平面图及(B)截面图。5 is (A) plan view and (B) cross-sectional view showing an imaging process of the embodiment.

图6是表示所述实施方式的检查工序中的正常状态的平面图。FIG. 6 is a plan view showing a normal state in the inspection process of the embodiment.

图7是表示所述实施方式的检查工序中的缺陷检测的平面图。FIG. 7 is a plan view showing defect detection in the inspection process of the embodiment.

图8是表示所述实施方式的检查工序中的另一缺陷检测的平面图。8 is a plan view showing another defect detection in the inspection process of the embodiment.

图9是表示在所述实施方式中能够检查的其他线状图案的立体图。FIG. 9 is a perspective view showing another linear pattern that can be inspected in the embodiment.

图10是表示本发明的其他实施方式的拍摄工序的立体图。FIG. 10 is a perspective view illustrating an imaging process of another embodiment of the present invention.

具体实施方式detailed description

以下,基于附图来说明本发明的一个实施方式。Hereinafter, one embodiment of the present invention will be described based on the drawings.

〔缺陷检查装置1〕[Defect inspection device 1]

在图1中,缺陷检查装置1是通过在工作机械2的主轴头26装配摄像机3而构成的。In FIG. 1 , a defect inspection device 1 is configured by attaching a camera 3 to a spindle head 26 of a machine tool 2 .

工作机械2通过装配于主轴27的工具4来对工件9进行三维加工。The machine tool 2 three-dimensionally processes the workpiece 9 with the tool 4 attached to the spindle 27 .

工作机械2在机床21的上表面具有工作台22及门形的支柱23,在支柱23的横梁24上经由鞍座25支承着主轴头26,在主轴头26支承着主轴27。The machine tool 2 has a table 22 and a door-shaped pillar 23 on the upper surface of a machine tool 21 . A spindle head 26 is supported on a beam 24 of the pillar 23 via a saddle 25 , and a spindle 27 is supported on the spindle head 26 .

工作台22能够相对于机床21向X轴方向移动,鞍座25能够沿着横梁24向Y轴方向移动,主轴头26能够相对于鞍座25向Z轴方向移动。The table 22 is movable in the X-axis direction relative to the machine tool 21 , the saddle 25 is movable in the Y-axis direction along the beam 24 , and the spindle head 26 is movable in the Z-axis direction relative to the saddle 25 .

通过这样的3轴移动,能够使摄像机3及工具4相对于载置在工作台22上的工件9进行三维移动。Through such three-axis movement, it is possible to three-dimensionally move the camera 3 and the tool 4 relative to the workpiece 9 placed on the table 22 .

为了控制工作机械2中的三维动作,工作机械2连接着控制装置5,控制装置5连接着控制用的计算机系统6。In order to control the three-dimensional movement in the machine tool 2, the machine tool 2 is connected to a control device 5, and the control device 5 is connected to a computer system 6 for control.

控制装置5是现有的数值控制装置,基于来自计算机系统6的控制指令,控制工作机械2的动作。在控制装置5中记录有加工程序51,该加工程序51记述着用于加工工件9的工作机械2的动作。The control device 5 is a conventional numerical control device, and controls the operation of the machine tool 2 based on control commands from the computer system 6 . A machining program 51 describing the operation of the machine tool 2 for machining the workpiece 9 is recorded in the control device 5 .

加工程序51通过对控制装置5的操作而被执行,或者通过经由计算机系统6向控制装置5指示来执行,控制工作机械2的动作。由此,在工作机械2中,由工具4对工件9进行加工,能够在工件9上形成规定形状。The machining program 51 is executed by operating the control device 5 or by instructing the control device 5 via the computer system 6 to control the operation of the machine tool 2 . Thus, in the machine tool 2 , the workpiece 9 is processed by the tool 4 , and a predetermined shape can be formed on the workpiece 9 .

在计算机系统6中记录着检查程序62,该检查程序62用于使工作机械2执行基于本发明的缺陷检查方法的动作。An inspection program 62 for causing the machine tool 2 to execute operations based on the defect inspection method of the present invention is recorded in the computer system 6 .

此外,在计算机系统6中记录有与控制装置5中记录的加工程序51相同的加工程序61,以供检查程序62参照。In addition, the same machining program 61 as the machining program 51 recorded in the control device 5 is recorded in the computer system 6 and referred to by the inspection program 62 .

在本实施方式的缺陷检查装置1中,装配于工作机械2的摄像机3是拍摄部,根据检查程序62动作的计算机系统6是检查部。In the defect inspection device 1 according to the present embodiment, the camera 3 mounted on the machine tool 2 is an imaging unit, and the computer system 6 operating according to the inspection program 62 is an inspection unit.

〔工件9〕[Workpiece 9]

在图2中,本实施方式的工件9作为张贴物的冲裁模具来使用,在平坦的上表面91形成有作为冲裁刀的突条92。In FIG. 2 , the workpiece 9 according to the present embodiment is used as a punching die for stickers, and a protrusion 92 as a punching blade is formed on a flat upper surface 91 .

突条92是以环状连续的凸形状的线状图案,是通过用立铣刀等工具4对工件9的基材90的表面进行切削来加工而成的。The ridges 92 are annular continuous convex linear patterns, and are processed by cutting the surface of the base material 90 of the workpiece 9 with a tool 4 such as an end mill.

如图3所示,突条92的前端面93平坦,该前端面93遍及突条92的全长被加工为同一高度。As shown in FIG. 3 , the front end surface 93 of the protrusion 92 is flat, and the front end surface 93 is processed to have the same height over the entire length of the protrusion 92 .

突条92作为冲裁刀来使用,因此以前端面93的宽度较小、根部即基材90侧的宽度变大的方式形成为截面三角形状的山形,突条92的两侧的侧面94、95分别形成为倾斜面。The protruding bar 92 is used as a punching knife, so the width of the front end surface 93 is small, and the width of the root part, that is, the base material 90 side, is formed into a mountain shape with a triangular cross-section. Each is formed as an inclined surface.

〔缺陷检查步骤〕〔Defect inspection procedure〕

在本实施方式中,在将工具4装配到前述的工作机械2的状态下,通过由控制装置5执行加工程序51,来形成具有前述的突条92(线状图案)的工件9。In the present embodiment, the workpiece 9 having the aforementioned protrusions 92 (line patterns) is formed by executing the machining program 51 by the control device 5 in a state where the tool 4 is attached to the aforementioned machine tool 2 .

然后,在加工后,使用装配于工作机械2的摄像机3,由计算机系统6执行检查程序62,来进行线状图案的突条92的、特别是作为冲裁刀起作用的前端面93的形状的缺陷检查。Then, after the processing, the computer system 6 executes the inspection program 62 using the camera 3 mounted on the working machine 2 to perform the shape of the front end surface 93 of the protruding bar 92 of the linear pattern, which functions as a punching blade. defect inspection.

基于检查程序62的缺陷检查通过下述的拍摄工序及检查工序来进行。The defect inspection based on the inspection program 62 is performed by the following imaging process and inspection process.

〔拍摄工序〕〔Photography process〕

在拍摄工序中,通过装配于工作机械2的摄像机3,对工件9的突条92进行拍摄。In the photographing process, the protrusion 92 of the workpiece 9 is photographed by the camera 3 mounted on the machine tool 2 .

在图4中,摄像机3的拍摄对工件9的表面中由检查框Pf围出的区域来进行。然后,由摄像机3拍摄的图像从控制装置5传送到计算机系统6,作为检查图像P被依次记录。In FIG. 4 , imaging by the camera 3 is performed on the area surrounded by the inspection frame Pf on the surface of the workpiece 9 . Then, the images captured by the camera 3 are transmitted from the control device 5 to the computer system 6 and sequentially recorded as inspection images P. As shown in FIG.

检查图像P的分辨率被设定为,对于检查与工件9的整体相比为微细构造的突条92的前端面93而言充分高的分辨率。因此,检查图像P的大小不能大到能够一次拍摄到突条92整体的程度。The resolution of the inspection image P is set to be sufficiently high for inspection of the front end surface 93 of the protrusion 92 having a finer structure than the entire workpiece 9 . Therefore, the size of the inspection image P cannot be large enough to capture the entire protrusion 92 at a time.

在此,执行检查程序62的计算机系统6使工作机械2动作,使摄像机3沿着突条92移动,使摄像机3的检查框Pf依次移动而反复进行拍摄。Here, the computer system 6 executing the inspection program 62 operates the machine tool 2, moves the camera 3 along the protrusion 92, and sequentially moves the inspection frame Pf of the camera 3 to repeatedly perform imaging.

像这样,通过使沿着突条92拍摄的多个检查图像P依次连续,能够拍摄突条92的整体。In this way, the entire protrusion 92 can be imaged by making the plurality of inspection images P photographed along the protrusion 92 sequentially continuous.

在拍摄工序中,为了使摄像机3沿着突条92移动,执行检查程序62的计算机系统6参照计算机系统6中保持的加工程序61,从该加工程序61的加工指令的内容取得突条92的位置及形状的数据。然后,基于取得的突条92的形状数据,设定摄像机3的移动路径以追踪突条92。In the photographing process, in order to move the camera 3 along the protrusion 92, the computer system 6 executing the inspection program 62 refers to the processing program 61 held in the computer system 6, and obtains the position of the protrusion 92 from the content of the processing command of the processing program 61. location and shape data. Then, based on the acquired shape data of the protrusion 92 , the moving route of the camera 3 is set so as to track the protrusion 92 .

具体地说,对突条92的任意部位分配最初的检查框Pf,在该检查框Pf中进行拍摄而取得了检查图像P之后,沿着突条92将检查框Pf移动一个检查框Pf的量,对与刚刚结束了拍摄的检查框Pf相邻的部位分配下一检查框Pf,进行检查图像P的拍摄。以下,一边追踪突条92一边依次地重复进行移动和拍摄,从而能够取得涵盖了突条92整体的多个检查图像P。Specifically, the first inspection frame Pf is assigned to an arbitrary portion of the protrusion 92, and after the inspection image P is acquired by shooting in the inspection frame Pf, the inspection frame Pf is moved along the protrusion 92 by the amount of the inspection frame Pf. , the next inspection frame Pf is assigned to the portion adjacent to the inspection frame Pf that has just been photographed, and the inspection image P is captured. Hereinafter, by sequentially repeating movement and imaging while tracking the protrusion 92 , a plurality of inspection images P covering the entire protrusion 92 can be obtained.

如图5所示,检查框Pf和依次拍摄的检查图像P,其区域是沿着突条92的宽度方向延伸的长方形状。As shown in FIG. 5 , the region of the inspection frame Pf and the sequentially captured inspection images P has a rectangular shape extending along the width direction of the protrusion 92 .

如图5的(A)部及(B)部所示,检查框Pf被设定为,以突条92的前端面93为中心,两侧越过了倾斜的侧面94、95而到达工件9的上表面91。As shown in parts (A) and (B) of FIG. 5 , the inspection frame Pf is set so that, with the front end surface 93 of the protrusion 92 as the center, both sides go over the inclined side surfaces 94 and 95 to reach the workpiece 9 . 91 on the upper surface.

然后,多个检查图像P以各自的长边依次相邻的状态沿着突条92配置。前述的检查框Pf的移动以多个检查图像P成为这样的排列的方式来进行。Then, the plurality of inspection images P are arranged along the protrusion 92 with their respective long sides adjacent to each other in sequence. The aforementioned movement of the inspection frame Pf is performed so that the plurality of inspection images P are arranged in this way.

〔检查工序〕〔Inspection process〕

检查工序在对于突条92的整体完成了前述的拍摄工序之前开始。即,一边在其他部位执行拍摄工序一边对已拍摄的检查图像P执行缺陷检查。The inspection process starts before the aforementioned imaging process is completed for the entire protrusion 92 . That is, defect inspection is performed on the imaged inspection image P while performing an imaging process at another location.

在检查工序中,执行与检查图像P中的区域面积有关的面积检查和与检查图像P中出现的轮廓的连续性有关的连续性检查这两个检查。In the inspection process, two inspections, an area inspection related to the area of the region in the inspection image P and a continuity inspection related to the continuity of the outline appearing in the inspection image P, are performed.

在检查工序中,基于光学特性的差异,将检查图像P划分为表示线状图案的图案区域和图案区域的外侧的图案外区域。In the inspection step, the inspection image P is divided into a pattern region representing a linear pattern and an out-of-pattern region outside the pattern region based on a difference in optical characteristics.

在图6中,在相邻的检查图像P1、P2、P3中,在其宽度方向的中央处呈现有纵向延伸的亮区域AC1、AC2、AC3,在其两侧呈现有暗区域AL1、AL2、AL3及暗区域AR1、AR2、AR3。In FIG. 6 , in the adjacent inspection images P1 , P2 , P3 , longitudinally extending bright areas AC1 , AC2 , AC3 appear at the center in the width direction thereof, and dark areas AL1 , AL2 , AC3 appear on both sides thereof. AL3 and dark areas AR1, AR2, AR3.

亮区域AC1、AC2、AC3是拍摄了作为线状图案的突条92的前端面93而得的区域(图案区域)。前端面93是平坦的而且正对着摄像机3,由此,将照明光的大半部分反射而使其入射至摄像机3,所以在检查图像P1、P2、P3中成为明亮的区域。Bright areas AC1 , AC2 , and AC3 are areas (pattern areas) in which front end surfaces 93 of protrusions 92 as linear patterns are imaged. The front end surface 93 is flat and faces the camera 3, thereby reflecting most of the illumination light to enter the camera 3, so that it becomes a bright area in the inspection images P1, P2, and P3.

暗区域AL1、AL2、AL3及暗区域AR1、AR2、AR3是拍摄了作为线状图案的突条92的侧面94、95而得的区域(图案外区域)。这些侧面94、95是相对于摄像机3倾斜的面,入射至摄像机3的照明光的反射光较少,在检查图像P1、P2、P3中成为暗的区域。Dark areas AL1 , AL2 , and AL3 and dark areas AR1 , AR2 , and AR3 are areas in which side surfaces 94 and 95 of protrusions 92 that are linear patterns are imaged (pattern-out areas). These side surfaces 94 and 95 are surfaces inclined with respect to the camera 3 , and the reflected light of the illuminating light incident on the camera 3 is small, so that they are dark areas in the inspection images P1 , P2 , and P3 .

〔面积检查〕〔Area inspection〕

在面积检查中,在各检查图像P1~P3中,计算亮区域AC1~AC3及暗区域AL1~AR3的各像素数,根据其变动来对缺陷进行判定。In area inspection, in each inspection image P1-P3, the number of each pixel of bright area|region AC1-AC3 and dark area AL1-AR3 is calculated, and a defect is judged based on the change.

具体地说,在检查图像P1中,设亮区域AC1为20像素、暗区域AL1为40像素、暗区域AR1为40像素。Specifically, in the inspection image P1, the bright area AC1 is 20 pixels, the dark area AL1 is 40 pixels, and the dark area AR1 is 40 pixels.

在图6中,在下一检查图像P2及再下一个检查图像P3中,亮区域AC2、AC3分别为20像素,暗区域AL2、AL3分别为40像素,暗区域AR2、AR3分别为40像素。In FIG. 6 , in the next inspection image P2 and the next inspection image P3 , the bright areas AC2 and AC3 are 20 pixels each, the dark areas AL2 and AL3 are 40 pixels each, and the dark areas AR2 and AR3 are 40 pixels each.

即,在检查图像P1~P3中,亮区域AC1~AC3及暗区域AL1~AR3的各像素数没有变动。That is, in the inspection images P1 to P3, the number of pixels in each of the bright areas AC1 to AC3 and the dark areas AL1 to AR3 does not vary.

因此,判定为拍摄出检查图像P1~P3的部位的突条92的前端面93没有缺陷。Therefore, it is determined that the front end surface 93 of the ridge 92 at the site where the inspection images P1 to P3 are imaged is not defective.

在图7中,检查图像P1、P2与前述的图6相同,但是在检查图像P3中,左侧的暗区域AL3突出,进入到了亮区域AC3的一部分中。In FIG. 7 , inspection images P1 and P2 are the same as those in FIG. 6 described above, but in inspection image P3 , dark area AL3 on the left side protrudes into a part of bright area AC3 .

在这样的状态下,暗区域AL3超过40像素,亮区域AC3低于20像素。即,在检查图像P3中,相对于检查图像P1、P2,亮区域(图案区域)及暗区域(图案外区域)的面积发生了变动,所以判定为存在缺陷。In such a state, the dark area AL3 exceeds 40 pixels, and the bright area AC3 is less than 20 pixels. That is, in the inspection image P3, since the area of the bright area (pattern area) and the dark area (out-of-pattern area) fluctuates with respect to the inspection images P1 and P2, it is determined that there is a defect.

这样的图7的缺陷在前端面93的边缘产生了缺口时等情况下被检测到。Such a defect in FIG. 7 is detected when the edge of the front end surface 93 is chipped or the like.

此外,在如图8所示的检查图像P3那样前端面93向宽度方向变形的情况下,相对于其他检查图像P1、P2,亮区域AC3的像素数没有变动,但两侧的暗区域AL3、AR3的像素数变动,所以能够作为缺陷检测到。In addition, when the front end surface 93 is deformed in the width direction as in the inspection image P3 shown in FIG. Since the number of pixels of AR3 fluctuates, it can be detected as a defect.

〔连续性检查〕〔Continuity check〕

在图8中,如前述那样,如检查图像P3那样前端面93向宽度方向变形的情况下,通过检查亮区域(图案区域)的轮廓的连续性、即与暗区域(图案外区域)的边界线的形状的连续性,能够对缺陷进行判定。In FIG. 8, as described above, when the front end surface 93 is deformed in the width direction as in the inspection image P3, the continuity of the outline of the bright area (pattern area), that is, the boundary with the dark area (pattern area) is checked. The continuity of the shape of the line can judge the defect.

在连续性检查中,在各检查图像P1~P3中,将亮区域AC1~AC3与暗区域AL1~AL3的边界线EL1~EL3、以及亮区域AC1~AC3与暗区域AR1~AR3的边界线ER1~ER3作为线状图案即突条92的前端面93的轮廓来检测。In the continuity inspection, in each inspection image P1 to P3, the boundary lines EL1 to EL3 between the bright areas AC1 to AC3 and the dark areas AL1 to AL3 and the boundary lines ER1 between the bright areas AC1 to AC3 and the dark areas AR1 to AR3 -ER3 is detected as the contour of the front end surface 93 of the ridge 92 which is a linear pattern.

根据亮区域AC1~AC3与暗区域AL1~AL3的明亮度的差、以及亮区域AC1~AC3与暗区域AR1~AR3的明亮度的差,能够分别检测这些边界线EL1~EL3及边界线ER1~ER3的位置。These boundary lines EL1 to EL3 and boundary lines ER1 to The position of ER3.

在此,在检查图像P1、P2中,边界线EL1、EL2以直线延伸。但是,在检查图像P3中,暗区域AL3进入到亮区域AC3中,边界线EL3以弧状弯曲。结果,相对于边界线EL1、EL2的延长线(在检查图像P3中以虚线示出),边界线EL3较大地偏离,将其判定为缺陷。Here, in the inspection images P1, P2, the boundary lines EL1, EL2 extend in a straight line. However, in the inspection image P3, the dark area AL3 enters the bright area AC3, and the boundary line EL3 is curved in an arc shape. As a result, the boundary line EL3 is largely deviated from the extension of the boundary lines EL1 and EL2 (indicated by a dotted line in the inspection image P3), and it is determined to be a defect.

同样,相对于边界线ER1、ER2,边界线ER3以弧状弯曲,相对于边界线ER1、ER2的延长线(在检查图像P3中以虚线示出),边界线ER3较大地偏离,将其判定为缺陷。Similarly, the boundary line ER3 is curved in an arc shape with respect to the boundary lines ER1 and ER2, and the boundary line ER3 deviates greatly from the extension line of the boundary lines ER1 and ER2 (shown by a dotted line in the test image P3), and it is judged as defect.

〔检查的结束〕[end of inspection]

依次执行前述那样的拍摄工序及检查工序,在面积检查及连续性检查中均未发现缺陷而遍及线状图案即突条92整体进行了检查之后,认为检查的工件9“无缺陷”,结束缺陷检查。The imaging process and inspection process as described above are sequentially carried out, and no defects are found in the area inspection and continuity inspection, and after the inspection is carried out throughout the linear pattern, that is, the protrusion 92, it is considered that the inspected workpiece 9 is "defect-free", and the defect is terminated. examine.

另一方面,如果在面积检查及连续性检查的某个中发现了缺陷,则在该时刻中止拍摄工序及检查工序的依次执行,对于该工件9记录缺陷。On the other hand, if a defect is found in any of the area inspection and the continuity inspection, the sequential execution of the imaging step and the inspection step is stopped at that point, and the defect is recorded for the workpiece 9 .

〔实施方式的效果〕[Effects of Embodiment]

在本实施方式中,在检查工序中,能够基于检查图像P中呈现的作为线状图案的突条92的连续性及图像面积的至少某个来对缺陷进行判定,在缺陷检查中,不需要预先准备突条92的基准图像。In the present embodiment, in the inspection process, the defect can be determined based on at least one of the continuity of the ridges 92 as a linear pattern appearing in the inspection image P and the image area, and in the defect inspection, it is not necessary to A reference image of the protrusion 92 is prepared in advance.

此外,在拍摄工序中,检查图像P是沿着作为线状图案的突条92依次拍摄的,所以不需要由操作者进行指定检查区划的操作。In addition, in the photographing process, the inspection images P are sequentially photographed along the protrusions 92 which are linear patterns, so the operator does not need to designate the inspection division.

因此,能够高效地进行在表面形成有作为线状图案的突条92的工件9的缺陷检查。Therefore, defect inspection of the workpiece 9 on which the protrusions 92 as a linear pattern are formed on the surface can be efficiently performed.

在本实施方式中,在检查工序中采用了面积检查,所以通过检查图像P中的图案区域(亮区域AC1~AC3)及图案外区域(暗区域AL1~AR3)的面积的计算这样的简单的操作,就能够进行作为检查工序的缺陷判定。In the present embodiment, since the area inspection is adopted in the inspection process, the simple calculation of the areas of the pattern areas (bright areas AC1 to AC3 ) and the non-pattern areas (dark areas AL1 to AR3 ) in the inspection image P is performed. operation, it is possible to perform defect determination as an inspection process.

特别是,在本实施方式中,累计各检查图像P1~P3中的各区域的像素数,并与其他检查图像中的像素数进行比较,所以能够更高效地进行作为检查工序的缺陷判定。In particular, in the present embodiment, since the number of pixels in each region in each inspection image P1 to P3 is accumulated and compared with the number of pixels in other inspection images, defect determination as an inspection process can be performed more efficiently.

在本实施方式中,在检查工序中还进行连续性检查,所以能够更可靠地进行缺陷检查。In this embodiment, since the continuity inspection is also performed in the inspection process, it is possible to perform defect inspection more reliably.

在连续性检查中,通过检查图像P中的线状图案的轮廓的检测(亮区域及暗区域的边界线的检测)及其连续性的判定这样的简单的操作,就能够进行作为检查工序的缺陷判定。In the continuity inspection, the detection of the outline of the linear pattern in the inspection image P (the detection of the boundary line between the bright area and the dark area) and the judgment of its continuity can be performed as an inspection process. Defect determination.

在本实施方式中,在拍摄工序中,沿着作为线状图案的突条92来依次分配检查框Pf,拍摄多个检查图像P,所以能够得到适合检查工序中的前述的面积检查及连续性检查的检查图像。In the present embodiment, in the imaging process, the inspection frames Pf are sequentially assigned along the protrusions 92 which are linear patterns, and a plurality of inspection images P are captured. Therefore, the above-mentioned area inspection and continuity suitable for the inspection process can be obtained. Inspection image for inspection.

特别是,在本实施方式中,能够参照与用于加工工件9的加工程序51相同的加工程序61来设定依次拍摄检查图像P的动作时的移动路径。因此,不需要为了设定移动路径而另外拍摄工件9或者通过手动操作来指示。In particular, in the present embodiment, it is possible to set a movement route during the operation of sequentially capturing the inspection images P with reference to the machining program 61 which is the same as the machining program 51 for machining the workpiece 9 . Therefore, it is not necessary to separately photograph the workpiece 9 or to give an instruction by manual operation in order to set the moving path.

进而,在本实施方式中,在加工工件9的工作机械2上装配摄像机3,通过该摄像机3来依次拍摄检查图像P,所以能够在对工件9加工了作为线状图案的突条92之后立即对其执行缺陷检查。Furthermore, in this embodiment, the camera 3 is mounted on the machine tool 2 that processes the workpiece 9, and the inspection images P are sequentially photographed by the camera 3, so that the workpiece 9 can be processed immediately after the protrusions 92 that are linear patterns are processed. Run a defect check on it.

因此,不需要进行在加工后为了检查而移载工件9等的操作。并且,能够将工作机械2兼用作缺陷检查装置1,能够削减设备成本及设备空间。Therefore, operations such as transferring the workpiece 9 for inspection after processing are not required. In addition, the machine tool 2 can also be used as the defect inspection device 1, and the equipment cost and equipment space can be reduced.

〔其他实施方式〕[Other Embodiments]

本发明不限于前述的实施方式,能够达成本发明的目的的范围内的变形等包含在本发明中。The present invention is not limited to the above-described embodiments, and modifications and the like within the range that can achieve the object of the present invention are included in the present invention.

在所述实施方式中,在检查工序中,进行面积检查及连续性检查的双方,但是也可以仅进行某一方。In the above-described embodiment, both the area inspection and the continuity inspection are performed in the inspection process, but only one of them may be performed.

作为面积检查,不限于所述实施方式那样计算检查图像P中的图案区域(亮区域AC1~AC3)及2个图案外区域(暗区域AL1~AL3及暗区域AR1~AR3)各自的面积。The areas of the pattern area (bright areas AC1 to AC3 ) and the two non-pattern areas (dark areas AL1 to AL3 and dark areas AR1 to AR3 ) in the inspection image P are not limited to those in the above embodiment.

例如,也可以将2个图案外区域(暗区域AL1~AL3及暗区域AR1~AR3)合并,计算明亮的图案区域和暗的图案外区域这2个的面积。For example, two out-of-pattern regions (dark regions AL1 to AL3 and dark regions AR1 to AR3 ) may be combined to calculate the areas of the bright and dark out-of-pattern regions.

特别是,作为2个区域来处理的情况下,将检查图像P分为2个区域,所以只要计算出明亮的图案区域和暗的图案外区域的某个的面积(像素数),通过从根据检查框Pf而已知的检查图像P的整体面积(全部像素数)中减去该计算出的面积,就能够计算出另一方的面积。In particular, when processing two regions, the inspection image P is divided into two regions. Therefore, only a certain area (number of pixels) of a bright pattern region and a dark non-pattern region can be calculated, and obtained from The other area can be calculated by subtracting the calculated area from the entire area (total number of pixels) of the inspection image P known by inspecting the frame Pf.

在这样的面积检查中也能够检测图7那样的亮区域AC3的单侧的轮廓弯曲那样的缺陷。Also in such an area inspection, it is possible to detect a defect such as a curved outline on one side of the bright area AC3 as shown in FIG. 7 .

作为连续性检查,不限于所述实施方式那样针对检查图像P中的图案区域(亮区域AC1~AC3)与两侧的图案外区域(暗区域AL1~AL3及暗区域AR1~AR3)的边界线来与相邻的检查图像P进行比较。The continuity check is not limited to the inspection of the boundary lines between the pattern areas (bright areas AC1 to AC3 ) and the non-pattern areas (dark areas AL1 to AL3 and dark areas AR1 to AR3 ) in the image P as in the above-mentioned embodiment. To compare with the adjacent inspection image P.

例如,也可以在同一检查图像P中检查图像中呈现的边界线的连续性,检测相当于缺陷的不连续性。For example, in the same inspection image P, the continuity of the boundary line appearing in the image may be inspected to detect a discontinuity corresponding to a defect.

在所述实施方式中,作为检查对象的线状图案,使用了图2所示的矩形的突条92。所述实施方式的检查对象不限于各部由直线构成的矩形,也可以是一部分或整体由曲线构成的线状图案,例如可以使用图9所示的圆形的突条92A。In the above embodiment, the rectangular protrusion 92 shown in FIG. 2 is used as the linear pattern to be inspected. The inspection object in the above embodiment is not limited to a rectangle whose parts are made of straight lines, but may be a linear pattern whose part or whole is made of curves, for example, a circular protrusion 92A shown in FIG. 9 can be used.

在所述实施方式中,在拍摄工序中,使用规定形状的检查框Pf进行拍摄,取得多个一定尺寸的检查图像P。In the above-described embodiment, in the imaging step, imaging is performed using the inspection frame Pf of a predetermined shape, and a plurality of inspection images P of a fixed size are acquired.

与此相对,在拍摄时也可以不使用检查框Pf,而取得与突条92等的线状图案相应的形状及尺寸的图像,并在检查工序中对其进行检查。On the other hand, without using the inspection frame Pf at the time of imaging, an image of the shape and size corresponding to the linear pattern such as the protrusion 92 may be acquired and inspected in the inspection step.

但是,如本实施方式那样将多个检查图像P设为一定的形状尺寸,能够高效地对检查工序中的检查进行处理。However, by setting the plurality of inspection images P to have a constant shape and size as in the present embodiment, the inspection in the inspection process can be efficiently processed.

在所述实施方式中,一边在作为线状图案的突条92的一部分执行拍摄工序,一边对已经拍摄了检查图像P的部位执行检查工序,从而并行地进行拍摄工序及检查工序,能够缩短处理时间。In the above-described embodiment, the imaging process is performed on a part of the protrusion 92 that is a linear pattern, and the inspection process is performed on the portion where the inspection image P has been imaged, so that the imaging process and the inspection process are performed in parallel, and the processing time can be shortened. time.

但是,也可以对于作为线状图案的突条92依次执行拍摄工序,在对于突条92的整体取得了检查图像P之后,一并执行检查工序。However, the imaging process may be performed sequentially for the protrusions 92 which are linear patterns, and the inspection process may be performed collectively after the inspection image P is obtained for the entire protrusions 92 .

在所述实施方式中,在拍摄工序中,一边使摄像机3沿着突条92(线状图案)移动一边使用检查框Pf进行拍摄,取得多个检查图像P。在通常的摄像机3中,为了得到清晰的图像,需要在拍摄位置停止。即,摄像机3重复“移动~停止~拍摄~移动”这样的动作,可能会导致处理时间变得冗长。In the above-described embodiment, in the imaging step, imaging is performed using the inspection frame Pf while moving the camera 3 along the protrusion 92 (linear pattern), and a plurality of inspection images P are acquired. In order to obtain a clear image in a normal video camera 3, it is necessary to stop at the shooting position. That is, the camera 3 repeats the operations of "moving-stopping-photographing-moving", which may increase the processing time.

与此相对,作为本发明的另一实施方式,能够采用闪光灯拍摄。On the other hand, as another embodiment of the present invention, flash photography can be used.

在图10中,本实施方式基本上具有与前述的图1~图9的实施方式同样的构造。但是,与摄像机3相邻地设置有闪光灯3A,能够以强光间歇地对将摄像机3的检查框Pf覆盖的区域Lf进行照明。In FIG. 10 , this embodiment basically has the same structure as the embodiment of FIGS. 1 to 9 described above. However, a strobe 3A is provided adjacent to the camera 3 to intermittently illuminate the region Lf covered by the inspection frame Pf of the camera 3 with strong light.

在这样的本实施方式中,使摄像机3沿着突条92连续地移动,在该期间中利用闪光灯3A间歇地对突条92进行照明,在照明的期间由摄像机3进行拍摄。In such this embodiment, the camera 3 is continuously moved along the protruding bar 92 , and the protruding bar 92 is illuminated intermittently by the strobe 3A during this period, and images are taken by the camera 3 during the lighting period.

由此,突条92被闪光灯3A的强光照明,摄像机3所拍摄的图像清晰。进而,摄像机3不需要停止,所以能够缩短拍摄的处理时间。其结果,即使不使用高速摄像机,也能够高速地得到清晰的图像,能够降低设备成本。Thereby, the protruding bar 92 is illuminated by the strong light of the strobe 3A, and the image captured by the camera 3 is clear. Furthermore, since the camera 3 does not need to be stopped, the processing time for shooting can be shortened. As a result, a clear image can be obtained at high speed without using a high-speed camera, and equipment cost can be reduced.

在所述实施方式中,在加工工件9的工作机械2中,在主轴27上装配工具4,并且在主轴头26上装配摄像机3,由此作为缺陷检查装置1而使用。In the above-described embodiment, the machine tool 2 for processing the workpiece 9 is used as the defect inspection device 1 by attaching the tool 4 to the spindle 27 and attaching the camera 3 to the spindle head 26 .

但是,也可以不是在工作机械2同时设置摄像机3和工具4,而是采用更换式。例如,也可以在主轴27上装配工具4并进行了工件9的加工之后,卸下工具4而在主轴27上装配摄像机3,进行工件9的拍摄。However, instead of installing the camera 3 and the tool 4 at the same time on the machine tool 2, an interchangeable type may be used. For example, after the tool 4 is attached to the main shaft 27 and the workpiece 9 is processed, the tool 4 may be removed and the camera 3 may be attached to the main shaft 27 to image the workpiece 9 .

像这样将摄像机3装配到主轴27的情况下,不需要在主轴头26上装配摄像机3,使用自动工具更换装置就能够简单地装配摄像机3。When the camera 3 is attached to the spindle 27 in this way, it is not necessary to attach the camera 3 to the spindle head 26, and the camera 3 can be easily attached using an automatic tool changer.

但是,频繁地更换工具4和摄像机3是非高效的,所以限定为在工具4对工件9的加工全部结束之后、再由摄像机3依次拍摄突条92(线状图案)这样的工序。However, it is not efficient to frequently replace the tool 4 and the camera 3, so it is limited to a process in which the protruding lines 92 (line patterns) are sequentially photographed by the camera 3 after the tool 4 finishes processing the workpiece 9.

与此相对,如果像所述实施方式那样在工作机械2设置摄像机3及工具4,则也可以采用对工件9的一部分进行加工、拍摄加工完的部分、再对下一部分进行加工、然后再进行拍摄、这样的工序。On the other hand, if the camera 3 and the tool 4 are installed on the working machine 2 as in the above-mentioned embodiment, then it is also possible to process a part of the workpiece 9, photograph the processed part, process the next part, and then perform Shooting, such a process.

在所述实施方式中,在工作机械2上装配摄像机3并兼用作了缺陷检查装置1,但是也可以使用与加工工件9的工作机械2不同的专用的缺陷检查装置1。In the above-described embodiment, the machine tool 2 is equipped with the camera 3 and used also as the defect inspection device 1 , but a dedicated defect inspection device 1 different from the machine tool 2 that processes the workpiece 9 may be used.

这种情况下,优选为取出由工作机械2的控制装置5执行的加工程序51或者在此指定的突条92的形状(线状图案),存入到专用的缺陷检查装置1,以便在拍摄工序中利用。In this case, it is preferable to take out the processing program 51 executed by the control device 5 of the machine tool 2 or the shape (line pattern) of the protrusion 92 specified here, and store it in the dedicated defect inspection device 1 so that used in the process.

在所述实施方式中,还在计算机系统6中记录了与为了加工工件9而记录在控制装置5中的加工程序51相同的加工程序61,参照该加工程序61,在拍摄工序进行作为线状图案的突条92的追踪。但是,如果在加工工件9的加工程序51、61之外还有线状图案的形状数据,也可以利用该形状数据。In the above-described embodiment, the same processing program 61 as the processing program 51 recorded in the control device 5 for processing the workpiece 9 is also recorded in the computer system 6. Referring to this processing program 61, the imaging process is performed as a linear process. The traces of the protrusions 92 of the pattern. However, if there is shape data of a linear pattern in addition to the machining programs 51 and 61 for machining the workpiece 9, this shape data can also be used.

Claims (8)

1. a defect detecting method, for being formed with the workpiece of linear pattern on surface, checks described The defect of linear pattern, it is characterised in that including:
Shooting operation, shoots check image successively along described linear pattern;And
Check operation, for described check image, carry out defect inspection successively,
In described inspection operation, based on the described linear pattern comprised in described check image continuous Property and image area at least defect is judged by certain.
2. defect detecting method as claimed in claim 1, it is characterised in that
In described inspection operation, the difference of optically-based characteristic, described check image is divided into table Show the area of the pattern of described linear pattern and the pattern exterior domain in the outside of described area of the pattern,
Calculate described area of the pattern and the area of described pattern exterior domain, and with check image other described Compare, if area does not change, be then judged to there is no defect.
3. defect detecting method as claimed in claim 1, it is characterised in that
In described inspection operation, the difference of optically-based characteristic, described check image is divided into table Show the area of the pattern of described linear pattern and the pattern exterior domain in the outside of described area of the pattern,
The boundary line detecting described area of the pattern and described pattern exterior domain is used as described linear pattern Profile,
If described profile is continuous print, then it is judged to there is no defect.
4. defect detecting method as claimed in claim 1, it is characterised in that
Described check image is specified by the check box of regulation shape,
In described shooting operation, any part of described linear pattern is assigned with initial described inspection After looking into frame, the adjacent regions of described linear pattern is sequentially allocated next described check box, thus claps Take the photograph the multiple described check image along described linear pattern.
5. defect detecting method as claimed in claim 4, it is characterised in that
Described workpiece is, is formed with wire by carrying out the processing unit (plant) of action according to processor on surface Pattern,
In described shooting operation, shape based on the described linear pattern comprised in described processor Data, make the position shooting described check image successively move.
6. defect detecting method as claimed in claim 5, it is characterised in that
The described processing unit (plant) processing described workpiece assembles video camera, is clapped by described video camera Take the photograph described check image.
7. the defect detecting method as according to any one of claim 1~6, it is characterised in that
In described shooting operation, while making video camera move along described linear pattern, by dodging Described linear pattern is illuminated by light modulation off and on, leads in the period being illuminated by described flash lamp Cross described video camera and shoot described check image.
8. a flaw detection apparatus, for being formed with the workpiece of linear pattern on surface, checks described The defect of linear pattern, it is characterised in that possess:
Shoot part, shoots check image successively along described linear pattern;And
Inspection portion, for described check image, carries out defect inspection successively,
Described inspection portion seriality based on the described linear pattern comprised in described check image and image Area at least defect is judged by certain.
CN201610404074.0A 2015-06-09 2016-06-08 Defect detecting method and flaw detection apparatus Pending CN106248690A (en)

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
JP2015-116665 2015-06-09
JP2015116665 2015-06-09
JP2016-045381 2016-03-09
JP2016045381A JP6010711B1 (en) 2015-06-09 2016-03-09 Defect inspection method and defect inspection apparatus

Publications (1)

Publication Number Publication Date
CN106248690A true CN106248690A (en) 2016-12-21

Family

ID=57140249

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610404074.0A Pending CN106248690A (en) 2015-06-09 2016-06-08 Defect detecting method and flaw detection apparatus

Country Status (4)

Country Link
JP (1) JP6010711B1 (en)
KR (1) KR101814918B1 (en)
CN (1) CN106248690A (en)
TW (1) TWI610076B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115774018A (en) * 2021-09-08 2023-03-10 上海梅山钢铁股份有限公司 Online detection method for reinforcement defect of strip steel
CN116106312A (en) * 2022-12-20 2023-05-12 苏州镁伽科技有限公司 Product detection method and its device, storage medium, electronic equipment
CN117291861A (en) * 2022-06-16 2023-12-26 技嘉科技股份有限公司 Processing drawing inspection method and system

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPWO2024057415A1 (en) * 2022-09-13 2024-03-21

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1861880A (en) * 2006-06-08 2006-11-15 广东工业大学 Single needle quilting intelligent controlling system based on visual tracking and controlling method thereof
CN101320004A (en) * 2008-07-03 2008-12-10 西北工业大学 Bamboo strip defect online detection method based on machine vision
CN102305793A (en) * 2011-05-11 2012-01-04 苏州天准精密技术有限公司 Method and equipment for detecting appearance quality of product
CN102353680A (en) * 2011-07-08 2012-02-15 中国科学院宁波材料技术与工程研究所 Method for evaluating surface detects of small-sized workpieces and flow for detecting unqualified workpieces
CN102729252A (en) * 2011-04-15 2012-10-17 株式会社安川电机 Robot sytem and method for operating robot system
CN103687718A (en) * 2011-07-20 2014-03-26 株式会社普利司通 Bead filler testing device, program for bead filler testing, and bead filler testing method
CN104391390A (en) * 2014-12-18 2015-03-04 合肥鑫晟光电科技有限公司 Substrate checking device and method

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3380636B2 (en) * 1994-12-07 2003-02-24 株式会社竹内製作所 PCB hole position hole diameter inspection machine
JP3305987B2 (en) * 1997-07-18 2002-07-24 ダイハツ工業株式会社 Sealing agent application state detection method
JP2007263852A (en) * 2006-03-29 2007-10-11 Dainippon Printing Co Ltd Defect detection apparatus, defect detection method, and defect detection processing program
JP5277797B2 (en) * 2008-08-27 2013-08-28 オムロン株式会社 Visual inspection device
KR20100061018A (en) * 2008-11-28 2010-06-07 삼성전자주식회사 Method and appartus for inspecting defect of semiconductor deveic by calculating multiple scan of varied e-beam conduction to originate intergrated pattern image
JP2012202866A (en) * 2011-03-25 2012-10-22 Toshiba Corp Pattern inspection apparatus and pattern inspection method
JP2013213733A (en) * 2012-04-02 2013-10-17 Suzuki Motor Corp Apparatus and method for inspecting object to be inspected
WO2014034526A1 (en) * 2012-08-28 2014-03-06 住友化学株式会社 Defect inspection apparatus, and defect inspection method

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1861880A (en) * 2006-06-08 2006-11-15 广东工业大学 Single needle quilting intelligent controlling system based on visual tracking and controlling method thereof
CN101320004A (en) * 2008-07-03 2008-12-10 西北工业大学 Bamboo strip defect online detection method based on machine vision
CN102729252A (en) * 2011-04-15 2012-10-17 株式会社安川电机 Robot sytem and method for operating robot system
CN102305793A (en) * 2011-05-11 2012-01-04 苏州天准精密技术有限公司 Method and equipment for detecting appearance quality of product
CN102353680A (en) * 2011-07-08 2012-02-15 中国科学院宁波材料技术与工程研究所 Method for evaluating surface detects of small-sized workpieces and flow for detecting unqualified workpieces
CN103687718A (en) * 2011-07-20 2014-03-26 株式会社普利司通 Bead filler testing device, program for bead filler testing, and bead filler testing method
CN104391390A (en) * 2014-12-18 2015-03-04 合肥鑫晟光电科技有限公司 Substrate checking device and method

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115774018A (en) * 2021-09-08 2023-03-10 上海梅山钢铁股份有限公司 Online detection method for reinforcement defect of strip steel
CN117291861A (en) * 2022-06-16 2023-12-26 技嘉科技股份有限公司 Processing drawing inspection method and system
CN117291861B (en) * 2022-06-16 2025-12-12 技嘉科技股份有限公司 Methods and systems for inspecting machining drawings
CN116106312A (en) * 2022-12-20 2023-05-12 苏州镁伽科技有限公司 Product detection method and its device, storage medium, electronic equipment

Also Published As

Publication number Publication date
KR20160144918A (en) 2016-12-19
KR101814918B1 (en) 2018-01-04
TW201706594A (en) 2017-02-16
JP2017003566A (en) 2017-01-05
JP6010711B1 (en) 2016-10-19
TWI610076B (en) 2018-01-01

Similar Documents

Publication Publication Date Title
EP1995553B1 (en) System and method for identifying a feature of a workpiece
JP5278133B2 (en) Wire harness appearance inspection image generation apparatus and wire harness appearance inspection image generation method
JP7167453B2 (en) APPEARANCE INSPECTION SYSTEM, SETTING DEVICE, IMAGE PROCESSING DEVICE, SETTING METHOD AND PROGRAM
EP3388781B1 (en) System and method for detecting defects in specular or semi-specular surfaces by means of photogrammetric projection
JP6858878B2 (en) Automatic alignment of 3D model to test object
WO2005090950A1 (en) Method and system for inspecting surfaces
TWI610076B (en) Defect inspection method and defect inspection device
TW201439499A (en) Shape measurement device, structure production system, shape measurement method, structure production method, and shape measurement program
JP2014081356A (en) Vehicle body visual inspection device and visual inspection method
CN111566469A (en) Image acquisition device, image acquisition method, and inspection device
EP3537101A1 (en) Image inspecting apparatus, image inspecting method and image inspecting program
US6061467A (en) Automated optical inspection apparatus using nearest neighbor interpolation
JP7207948B2 (en) Appearance inspection method and program
CN119688708A (en) System, method and computer readable storage medium for detecting wafer cracks
CN114599476A (en) Sheet metal processing system, laser processing machine, sheet metal processing method, and processing area setting program by laser processing
JP2004219154A (en) Object surface shape measuring method and automatic welding device
JP7368141B2 (en) Wafer appearance inspection device and method
JP2017173142A (en) Image processing device, image processing method and micro joint cutting system
KR101513407B1 (en) Finishing assistance apparatus, finishing assistance method and finishing assistance system
JP6867932B2 (en) Surface inspection equipment
US20210086250A1 (en) Method for operating a processing installation with a movable punch
JP6562724B2 (en) Blade position measuring method and blade position measuring apparatus
JP5360467B2 (en) Defect inspection equipment
DE102007045277A1 (en) Method for determining the edge location when probing in reflected light in optical length measuring technology
KR101803473B1 (en) Apparatus and method for inspecting parts using line scanning

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20161221