TW201706594A - Defect inspection method and defect inspection device aiming to inspect a defect of the workpiece having a linear pattern or ridge formed on its surface - Google Patents
Defect inspection method and defect inspection device aiming to inspect a defect of the workpiece having a linear pattern or ridge formed on its surface Download PDFInfo
- Publication number
- TW201706594A TW201706594A TW105118245A TW105118245A TW201706594A TW 201706594 A TW201706594 A TW 201706594A TW 105118245 A TW105118245 A TW 105118245A TW 105118245 A TW105118245 A TW 105118245A TW 201706594 A TW201706594 A TW 201706594A
- Authority
- TW
- Taiwan
- Prior art keywords
- inspection
- defect
- pattern
- linear pattern
- image
- Prior art date
Links
- RHBNJLQSKQYUGZ-UHFFFAOYSA-N C=CC1=C(CC2)CC2=CC1 Chemical compound C=CC1=C(CC2)CC2=CC1 RHBNJLQSKQYUGZ-UHFFFAOYSA-N 0.000 description 1
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01N—INVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
- G01N21/00—Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
- G01N21/84—Systems specially adapted for particular applications
- G01N21/88—Investigating the presence of flaws or contamination
- G01N21/95—Investigating the presence of flaws or contamination characterised by the material or shape of the object to be examined
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01N—INVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
- G01N21/00—Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
- G01N21/84—Systems specially adapted for particular applications
- G01N21/88—Investigating the presence of flaws or contamination
- G01N21/8806—Specially adapted optical and illumination features
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01N—INVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
- G01N21/00—Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
- G01N21/17—Systems in which incident light is modified in accordance with the properties of the material investigated
- G01N21/1717—Systems 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
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01N—INVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
- G01N21/00—Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
- G01N21/84—Systems specially adapted for particular applications
- G01N21/88—Investigating the presence of flaws or contamination
- G01N21/95—Investigating the presence of flaws or contamination characterised by the material or shape of the object to be examined
- G01N21/956—Inspecting patterns on the surface of objects
- G01N21/95607—Inspecting patterns on the surface of objects using a comparative method
-
- H—ELECTRICITY
- H01—ELECTRIC ELEMENTS
- H01L—SEMICONDUCTOR DEVICES NOT COVERED BY CLASS H10
- H01L21/00—Processes or apparatus adapted for the manufacture or treatment of semiconductor or solid state devices or of parts thereof
- H01L21/67—Apparatus specially adapted for handling semiconductor or electric solid state devices during manufacture or treatment thereof; Apparatus specially adapted for handling wafers during manufacture or treatment of semiconductor or electric solid state devices or components ; Apparatus not specifically provided for elsewhere
- H01L21/677—Apparatus specially adapted for handling semiconductor or electric solid state devices during manufacture or treatment thereof; Apparatus specially adapted for handling wafers during manufacture or treatment of semiconductor or electric solid state devices or components ; Apparatus not specifically provided for elsewhere for conveying, e.g. between different workstations
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01N—INVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
- G01N21/00—Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
- G01N21/17—Systems in which incident light is modified in accordance with the properties of the material investigated
- G01N2021/1765—Method using an image detector and processing of image signal
- G01N2021/177—Detector of the video camera type
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01N—INVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
- G01N21/00—Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
- G01N21/84—Systems specially adapted for particular applications
- G01N21/88—Investigating the presence of flaws or contamination
- G01N21/8806—Specially adapted optical and illumination features
- G01N2021/8809—Adjustment for highlighting flaws
Landscapes
- General Physics & Mathematics (AREA)
- Physics & Mathematics (AREA)
- Immunology (AREA)
- Chemical & Material Sciences (AREA)
- Analytical Chemistry (AREA)
- Biochemistry (AREA)
- General Health & Medical Sciences (AREA)
- Life Sciences & Earth Sciences (AREA)
- Health & Medical Sciences (AREA)
- Pathology (AREA)
- Engineering & Computer Science (AREA)
- Condensed Matter Physics & Semiconductors (AREA)
- Manufacturing & Machinery (AREA)
- Computer Hardware Design (AREA)
- Microelectronics & Electronic Packaging (AREA)
- Power Engineering (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
Description
本發明係關於用於檢查在表面形成有線狀圖案之工件的缺陷之缺陷檢查方法及缺陷檢查裝置。 The present invention relates to a defect inspection method and a defect inspection apparatus for inspecting defects of a workpiece having a linear pattern formed on a surface thereof.
以往,在表面形成有線狀圖案的工件是已知的。 Conventionally, a workpiece having a linear pattern on its surface has been known.
例如,表示用的貼紙之衝切模具,是在模具本體的表面形成有呈閉環狀連續之突條,使用該突條的前端作為刀鋒(參照文獻1:日本特開2014-193966號公報)。 For example, in the die-cutting die for the sticker to be used, a ridge having a closed loop shape is formed on the surface of the die body, and the tip end of the ridge is used as a blade edge (refer to Japanese Laid-Open Patent Publication No. 2014-193966). .
在製造衝切模具時,是對模具本體之平坦表面實施切削加工或蝕刻,藉此形成與貼紙等的衝切輪廓對應之既定圖案的突條。而且,對所形成之突條的前端實施淬火處理等而獲得衝切刀。 In the manufacture of the punching die, the flat surface of the die body is subjected to cutting or etching, thereby forming a ridge of a predetermined pattern corresponding to the punched contour of the sticker or the like. Further, a punching blade is obtained by subjecting the tip end of the formed ridge to a quenching treatment or the like.
在衝切刀中,為了正確地進行衝切加工,特別是進行要求切入深度的精度之半切割(half cut),要求刀鋒的寬度及高度遍及圖案全體皆為既定值。 In the punching blade, in order to perform the punching processing correctly, in particular, a half cut which requires precision in cutting depth is required, and the width and height of the blade are required to be constant throughout the pattern.
這種刀鋒的檢查,可利用進行影像處理之圖案檢查裝置。 This type of blade inspection can utilize a pattern inspection device for image processing.
作為圖案檢查裝置,係拍攝工件、即衝切模具的表 面,關於影像所呈現之線狀圖案的刀鋒形狀,是和基準圖案進行比較,如果有差異的話,則判定有缺陷(參照文獻2:日本特開平8-184570號公報、文獻3:日本特開2006-184037號公報)。 As a pattern inspection device, it is a table for photographing a workpiece, that is, a punching die. In the surface, the shape of the blade of the line pattern is compared with the reference pattern. If there is a difference, it is judged to be defective (Ref. 2: JP-A-8-184570, Document 3: JP-A-Japan) Bulletin No. 2006-184037).
在檢查刀鋒的形狀時,不僅是檢查刀鋒的兩側緣之輪廓形狀,還要檢查刀鋒的寬度、亦即兩側緣的距離。 When checking the shape of the blade, it is not only to check the contour shape of the two sides of the blade edge, but also to check the width of the blade edge, that is, the distance between the two sides.
在前述的圖案檢查裝置,僅選擇包含工件表面之線狀圖案的區域而限定檢查範圍,藉此抑制要檢查的影像之處理時間及資料量。 In the above-described pattern inspection apparatus, only the area including the linear pattern of the surface of the workpiece is selected to define the inspection range, thereby suppressing the processing time and the amount of data of the image to be inspected.
例如,在文獻2的檢查裝置,是藉由滑鼠等的操作手段來拉出包圍檢查對象的方框,藉此在畫面上指定檢查範圍。此外,在文獻3的檢查裝置,係選擇成為包圍檢查對象的方框之圖形,將該方框配置在畫面上,藉此指定檢查範圍。 For example, in the inspection apparatus of Document 2, the inspection surrounding area is drawn by the operation means such as a mouse, and the inspection range is specified on the screen. Further, in the inspection apparatus of Document 3, a pattern which is a square surrounding the inspection target is selected, and the inspection is performed by arranging the frame on the screen.
但是,不管是哪個裝置,檢查範圍的指定都是由作業者執行,這會造成作業者的負擔,且會阻礙自動化。 However, regardless of the device, the designation of the inspection range is performed by the operator, which causes a burden on the operator and hinders automation.
再者,在前述的圖案檢查裝置,是在各個檢索區段進行工件影像和基準影像的比較,因此必須事先準備基準影像。 Further, in the above-described pattern inspection device, since the workpiece image and the reference image are compared in each search segment, it is necessary to prepare the reference image in advance.
特別是當形成於工件表面之線狀圖案為微細形狀的情況,必須進行高解析度的辨識,而有基準影像的資料量龐大之問題。 In particular, when the linear pattern formed on the surface of the workpiece is a fine shape, it is necessary to perform high-resolution recognition, and there is a problem that the amount of data of the reference image is large.
因此,在前述的衝切模具的刀鋒等之具有線狀圖案的工件之缺陷檢查,若使用既有的圖案檢查裝置,前述之指 定檢查範圍之操作上的問題及準備基準影像的問題乃是不可避免的,難以進行高效率的缺陷檢查。 Therefore, in the defect inspection of the workpiece having a linear pattern such as the blade edge of the aforementioned punching die, if an existing pattern inspection device is used, the aforementioned The problem of the operation of the inspection range and the problem of preparing the reference image are inevitable, and it is difficult to perform an efficient defect inspection.
而且,同樣的問題,並不僅限於像前述衝切模具般之突條呈連續的線狀圖案,溝槽呈連續的線狀圖案、在工件表面讓光學特性不同的線狀連續而成的圖案也同樣會發生。 Further, the same problem is not limited to the continuous linear pattern of the ridges as in the above-mentioned die-cutting mold, and the grooves have a continuous linear pattern and a linear pattern in which the optical characteristics are different on the surface of the workpiece. It will happen again.
本發明的目的是為了提供可效率良好地進行在表面形成有線狀圖案的工件的缺陷檢查之缺陷檢查方法及缺陷檢查裝置。 An object of the present invention is to provide a defect inspection method and a defect inspection device which can efficiently perform defect inspection of a workpiece having a linear pattern on its surface.
本發明的缺陷檢查方法,是用於對在表面形成有線狀圖案之工件檢查前述線狀圖案的缺陷之缺陷檢查方法,其特徵在於,係具有:沿著前述線狀圖案將檢查影像依序攝影之攝影步驟、以及對前述檢查影像依序進行缺陷檢查之檢查步驟,在前述檢查步驟,是根據前述檢查影像所包含之前述線狀圖案的連續性及影像面積之至少一方來判定缺陷。 The defect inspection method of the present invention is a defect inspection method for inspecting a defect of the linear pattern on a workpiece having a linear pattern formed on a surface thereof, characterized in that the inspection image is sequentially photographed along the linear pattern. The photographing step and the step of inspecting the defect inspection sequentially on the inspection image, wherein the inspection step determines the defect based on at least one of continuity and image area of the linear pattern included in the inspection image.
依據本發明,是根據檢查影像所包含之線狀圖案的連續性及影像面積之至少一方來判定缺陷,因此不須事先準備基準影像。此外,檢查影像是沿著線狀圖案依序進行攝影,因此不須進行指定檢查區段的操作。 According to the present invention, since the defect is determined based on at least one of the continuity of the line pattern included in the inspection image and the image area, it is not necessary to prepare the reference image in advance. In addition, the inspection images are sequentially photographed along the line pattern, so that it is not necessary to perform the operation of designating the inspection section.
因此,依據本發明,可效率良好地進行在表面形成有 線狀圖案之工件的缺陷檢查。 Therefore, according to the present invention, it is possible to efficiently form the surface Defect inspection of workpieces in a linear pattern.
本發明的缺陷檢查方法較佳為,在前述檢查步驟,根據光學特性的差異,將前述檢查影像區分為:表示前述線狀圖案之圖案區域、前述圖案區域的外側之圖案外區域,計算前述圖案區域及前述圖案外區域的面積,與其他的前述檢查影像進行比較,只要面積沒有變動,就判定為沒有缺陷。 In the defect inspection method of the present invention, in the inspection step, the inspection image is divided into a pattern region indicating the linear pattern and an outer region of the pattern region, and the pattern is calculated according to a difference in optical characteristics. The area and the area outside the pattern are compared with other inspection images, and it is determined that there is no defect as long as the area does not change.
在本發明中,作為圖案區域及圖案外區域的面積,可利用檢查影像各個的面積、像素數,也能利用任一方的占有比率等。此外,作為進行比較之其他的檢查影像,例如可利用鄰接的前一個檢查影像。 In the present invention, as the area of the pattern area and the area outside the pattern, the area of each of the inspection images and the number of pixels can be used, and the occupancy ratio of either one can be used. Further, as another inspection image to be compared, for example, an adjacent previous inspection image can be used.
依據本發明,藉由計算檢查影像中的圖案區域及圖案外區域的面積這麼簡單的操作,就能進行檢查步驟之缺陷判定。例如,只要是一定寬度之連續的線狀圖案,沿著該線狀圖案所攝影之檢查影像中之圖案區域及圖案外區域的面積不論哪個部位都是一定的。 According to the present invention, the defect determination of the inspection step can be performed by a simple operation of calculating the area of the pattern area and the area outside the pattern in the inspection image. For example, as long as it is a continuous line pattern having a constant width, the area of the pattern area and the area outside the pattern in the inspection image photographed along the line pattern are constant regardless of the area.
因此,如本發明般,對於沿著線狀圖案所攝影之複數個檢查影像,分別計算圖案區域及圖案外區域的面積,依序進行比較,藉此可效率良好地進行檢查步驟之缺陷判定。 Therefore, as in the present invention, the area of the pattern area and the area outside the pattern is calculated for each of the plurality of inspection images photographed along the line pattern, and the comparison is performed in order, whereby the defect determination in the inspection step can be efficiently performed.
本發明的缺陷檢查方法較佳為,在前述檢查步驟,根據光學特性的差異,將前述檢查影像區分為:表示前述線狀圖案的圖案區域、前述圖案區域的外側之圖案外區域,以前述圖案區域及前述圖案外區域的邊界線作為前述線狀 圖案的輪廓進行偵測,只要前述輪廓是連續的,就判定沒有缺陷。 In the defect inspection method of the present invention, in the inspection step, the inspection image is divided into: a pattern region indicating the linear pattern and a pattern outer region outside the pattern region, according to the difference in optical characteristics, in the pattern a boundary line between the region and the outer region of the pattern as the aforementioned line The contour of the pattern is detected, and as long as the aforementioned contour is continuous, it is determined that there is no defect.
在本發明,輪廓是否為連續之判定,可在一個檢查影像中,偵測輪廓之任意部位和與其鄰接的部位在寬度方向的移位或傾斜角度。此外,亦可藉由與鄰接之其他檢查影像的輪廓進行比較,來判定同樣的連續性。 In the present invention, whether or not the contour is continuous is determined, and in one inspection image, the displacement or inclination angle of the arbitrary portion of the contour and the portion adjacent thereto in the width direction can be detected. In addition, the same continuity can be determined by comparing with the contours of other adjacent inspection images.
輪廓為連續的是指,在輪廓並不存在相當於缺陷之期待的不連續性的情況。相當於缺陷之不連續性包含:在輪廓線有顯著的彎曲部、屈曲部的情況,有比起周圍其曲率急劇變大的部分的情況,在任意點的前後有如輪廓線交叉般之角部的情況等。縱使是線狀圖案的角部,當屈曲是由曲線所構成的情況,有可能判定為輪廓是連續的。此外,在本發明中,線狀圖案並不限定於由直線部分所構成,其局部乃至全體是由曲線所構成亦可。 The fact that the contour is continuous means that there is no expected discontinuity corresponding to the defect in the contour. The discontinuity corresponding to the defect includes a case where the contour has a significant curved portion or a bent portion, and a portion that is sharply larger than the curvature of the surrounding portion, and a corner portion such as a contour line intersects before and after the arbitrary point. The situation, etc. Even if it is the corner of the linear pattern, when the buckling is constituted by a curve, it is possible to determine that the contour is continuous. Further, in the present invention, the linear pattern is not limited to being constituted by a straight line portion, and a part or even a whole may be constituted by a curved line.
在本發明中,判定為不連續的程度,可按照應檢查之缺陷的程度而適宜地設定。 In the present invention, the degree of discontinuity can be appropriately set in accordance with the degree of the defect to be inspected.
依據本發明,藉由偵測檢查影像之線狀圖案的輪廓及判定其連續性這麼簡單的操作,就能進行檢查步驟之缺陷判定。例如,只要連續的線狀圖案有缺口,該部分的輪廓就成為不連續,藉由與鄰接的部位進行比較就能輕易地判定。 According to the present invention, the defect determination of the inspection step can be performed by detecting the outline of the linear pattern of the inspection image and determining the continuity thereof. For example, as long as the continuous line pattern has a notch, the outline of the portion becomes discontinuous, and can be easily determined by comparison with the adjacent portion.
本發明的缺陷檢查方法較佳為,前述檢查影像,是用既定形狀的檢查框來指定,在前述攝影步驟,在前述線狀圖案的任意部位配置最初的前述檢查框之後,在與前述線 狀圖案鄰接的部位依序配置接下來的前述檢查框,藉此將沿著前述線狀圖案之複數個前述檢查影像進行攝影。 In the defect inspection method of the present invention, it is preferable that the inspection image is specified by an inspection frame having a predetermined shape, and after the first inspection frame is placed in an arbitrary portion of the linear pattern in the photographing step, The portion adjacent to the pattern is arranged in sequence with the next inspection frame, whereby a plurality of the inspection images along the linear pattern are imaged.
依據本發明,對於線狀圖案的全體或任意區間,可將沿著線狀圖案之複數個檢查影像進行攝影,為了在檢查步驟根據線狀圖案的連續性及影像面積之至少一方進行缺陷的判定,可獲得適合的檢查影像。 According to the present invention, a plurality of inspection images along the line pattern can be imaged for the entire or any section of the line pattern, and the defect is determined based on at least one of the continuity of the line pattern and the image area in the inspection step. , you can get a suitable inspection image.
本發明的缺陷檢查方法較佳為,前述工件,是藉由按照加工程式進行動作之加工裝置來在表面形成有線狀圖案者,在前述攝影步驟,是根據前述加工程式所包含之前述線狀圖案的形狀資料,讓依序攝影前述檢查影像的部位移動。 In the defect inspection method of the present invention, it is preferable that the workpiece is a linear pattern formed on a surface by a processing device that operates in accordance with a processing program, and the image capturing step is based on the line pattern included in the processing program. The shape data allows the parts of the aforementioned inspection image to be moved in sequence.
依據本發明,進行依序攝影檢查影像的動作時的移動路徑,可參照用於加工工件之加工程式來設定。因此,為了設定移動路徑,不須另外對工件攝影,也不須經由人工操作來指示。 According to the present invention, the movement path during the operation of sequentially inspecting the image can be set with reference to the machining program for machining the workpiece. Therefore, in order to set the movement path, it is not necessary to additionally photograph the workpiece, and it is not necessary to indicate by manual operation.
本發明的缺陷檢查方法較佳為,在對前述工件進行加工之前述加工裝置上安裝攝影機,藉由前述攝影機將前述檢查影像進行攝影。 In the defect inspection method of the present invention, it is preferable that a camera is mounted on the processing device that processes the workpiece, and the inspection image is captured by the camera.
依據本發明,對工件進行線狀圖案的加工之後,可立刻實施線狀圖案的缺陷檢查。因此,為了進行加工後的檢查,不須實施將工件移載等的操作。而且,加工裝置可兼用於缺陷檢查,可減少設備成本及設備空間。 According to the present invention, after the workpiece is processed in a line pattern, the defect inspection of the line pattern can be performed immediately. Therefore, in order to perform inspection after processing, it is not necessary to perform an operation of transferring a workpiece or the like. Moreover, the processing device can also be used for defect inspection, which can reduce equipment cost and equipment space.
本發明的缺陷檢查方法較佳為,在前述攝影步驟,一邊沿著前述線狀圖案讓攝影機移動,一邊將前述線狀圖案 利用閃光燈間歇地照明,在被前述閃光燈照明的期間利用前述攝影機將前述檢查影像進行攝影。 Preferably, in the defect inspection method of the present invention, the linear pattern is moved while the camera is moved along the linear pattern in the photographing step. The flash is intermittently illuminated, and the aforementioned inspection image is photographed by the aforementioned camera while being illuminated by the flash.
依據本發明,不須讓沿著線狀圖案移動的攝影機停止,利用閃光燈攝影可獲得清晰的檢查影像。因此,比起反覆地移動、停止而進行攝影的情況,能夠短時間地進行攝影。而且,不須利用高速攝影機等的特殊攝影機就能進行高速攝影,因此可降低設備成本。 According to the present invention, it is not necessary to stop the camera moving along the line pattern, and a clear inspection image can be obtained by flash photography. Therefore, it is possible to perform photographing in a short time compared to the case where photographing is performed by moving or stopping repeatedly. Moreover, high-speed photography can be performed without using a special camera such as a high-speed camera, so that the equipment cost can be reduced.
本發明的缺陷檢查裝置,係用於對在表面形成有線狀圖案之工件檢查前述線狀圖案的缺陷之缺陷檢查裝置,其特徵在於,係具有:沿著前述線狀圖案將檢查影像依序攝影之攝影部、以及對前述檢查影像依序進行缺陷檢查之檢查部,前述檢查部,是根據前述檢查影像所包含之前述線狀圖案的連續性及影像面積之至少一方來判定缺陷。 The defect inspection device of the present invention is a defect inspection device for inspecting a defect of the linear pattern on a workpiece having a linear pattern on a surface thereof, characterized in that the inspection image is sequentially photographed along the linear pattern The photographing unit and the inspection unit that sequentially performs the defect inspection on the inspection image, wherein the inspection unit determines the defect based on at least one of continuity and image area of the linear pattern included in the inspection image.
在本發明中,作為攝影部例如可利用:裝設於用於將工件加工的工作機械上之攝影機,作為檢查部,可利用用於控制工作機械之控制裝置。作為控制裝置可利用:連接於工作機械之NC裝置(數值控制裝置)、連接於NC裝置之外部的電腦系統等。 In the present invention, as the photographing unit, for example, a camera mounted on a work machine for processing a workpiece can be used as the inspection unit, and a control device for controlling the work machine can be used. As the control device, an NC device (numerical control device) connected to the work machine, a computer system connected to the outside of the NC device, or the like can be used.
依據本發明的缺陷檢查裝置,可獲得與前述本發明的缺陷檢查方法同樣的作用效果。 According to the defect inspection device of the present invention, the same operational effects as those of the defect inspection method of the present invention described above 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 designating an inspection section when performing photography of an inspection image. Therefore, according to the present invention, the defect inspection of the workpiece in which the linear pattern is formed on the surface can be efficiently performed.
1‧‧‧缺陷檢查裝置 1‧‧‧ Defect inspection device
2‧‧‧工作機械 2‧‧‧Working machinery
3‧‧‧攝影機 3‧‧‧ camera
3A‧‧‧閃光燈 3A‧‧‧Flash
4‧‧‧工具 4‧‧‧ Tools
5‧‧‧控制裝置 5‧‧‧Control device
6‧‧‧電腦系統 6‧‧‧ computer system
9‧‧‧工件 9‧‧‧Workpiece
21‧‧‧機床 21‧‧‧ Machine tools
22‧‧‧載台 22‧‧‧
23‧‧‧機柱 23‧‧‧ machine column
24‧‧‧橫梁 24‧‧‧ beams
25‧‧‧鞍座 25‧‧‧ saddle
26‧‧‧主軸頭 26‧‧‧ spindle head
27‧‧‧主軸 27‧‧‧ Spindle
51‧‧‧加工程式 51‧‧‧Processing program
61‧‧‧加工程式 61‧‧‧Processing program
62‧‧‧檢查程式 62‧‧‧Checking program
90‧‧‧基材 90‧‧‧Substrate
91‧‧‧上表面 91‧‧‧Upper surface
92‧‧‧突條 92‧‧‧
93‧‧‧前端面 93‧‧‧ front end
94、95‧‧‧側面 94, 95‧‧‧ side
AC1,AC2,AC3‧‧‧明區域 AC1, AC2, AC3‧‧ ‧ bright area
AL1,AL2,AL3,AR1,AR2,AR3‧‧‧暗區域 AL1, AL2, AL3, AR1, AR2, AR3‧‧‧ Dark areas
EL1,EL2,EL3,ER1,ER2,ER3‧‧‧邊界線 EL1, EL2, EL3, ER1, ER2, ER3‧‧‧ boundary line
Lf‧‧‧區域 Lf‧‧‧ area
P,P1,P2,P3‧‧‧檢查影像 P, P1, P2, P3‧‧‧ Check images
Pf‧‧‧檢查框 Pf‧‧‧ check box
圖1係顯示本發明的一實施形態的裝置構造之示意圖。 Fig. 1 is a schematic view showing the structure of a device according to an embodiment of the present invention.
圖2係顯示前述實施形態的工件之立體圖。 Fig. 2 is a perspective view showing the workpiece of the above embodiment.
圖3係顯示前述實施形態的工件之局部剖開放大立體圖。 Fig. 3 is a partially cutaway perspective view showing the workpiece of the above embodiment.
圖4係顯示前述實施形態的攝影步驟之立體圖。 Fig. 4 is a perspective view showing the photographing step of the above embodiment.
圖5(A)係顯示前述實施形態的攝影步驟之(A)俯視圖,圖5(B)為剖面圖。 Fig. 5(A) is a plan view showing (A) of the photographing step of the above embodiment, and Fig. 5(B) is a cross-sectional view.
圖6係顯示在前述實施形態的檢查步驟之正常狀態的俯視圖。 Fig. 6 is a plan view showing a normal state of the inspection step of the above embodiment.
圖7係顯示在前述實施形態的檢查步驟之缺陷偵測的俯視圖。 Fig. 7 is a plan view showing defect detection in the inspection step of the above embodiment.
圖8係顯示在前述實施形態的檢查步驟之其他缺陷偵測的俯視圖。 Fig. 8 is a plan view showing another defect detection in the inspection step of the above embodiment.
圖9係顯示可在前述實施形態檢查的其他線狀圖案之立體圖。 Fig. 9 is a perspective view showing another line pattern which can be inspected in the above embodiment.
圖10係顯示本發明的其他實施形態之攝影步驟的立體圖。 Fig. 10 is a perspective view showing a photographing step of another embodiment of the present invention.
以下,根據圖式來說明本發明的一實施形態。 Hereinafter, an embodiment of the present invention will be described based on the drawings.
在圖1中,缺陷檢查裝置1是在工作機械2的主軸頭26安裝攝影機3而構成。 In FIG. 1, the defect inspection device 1 is constructed by attaching a camera 3 to a spindle head 26 of the work machine 2.
工作機械2,係藉由裝設於主軸27之工具4來對工件9進行三維加工。 The work machine 2 performs three-dimensional machining of the workpiece 9 by means of a tool 4 mounted on the spindle 27.
工作機械2,係在機床21的上表面設有載台22及門型的機柱23,在機柱23的橫梁24透過鞍座25支承著主軸頭26,在主軸頭26支承著主軸27。 The work machine 2 is provided with a stage 22 and a door type frame 23 on the upper surface of the machine tool 21. The cross member 24 of the frame 23 supports the spindle head 26 via the saddle 25, and the spindle head 27 is supported by the spindle head 26.
載台22可相對於機床21朝X軸方向移動,鞍座25可沿著橫梁24朝Y軸方向移動,主軸頭26可相對於鞍座25朝Z軸方向移動。 The stage 22 is movable in the X-axis direction with respect to the machine tool 21, and 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 with respect to the saddle 25.
利用上述的3軸移動,相對於載台22上所載置的工件9,能讓攝影機3及工具4進行三維移動。 By the above-described three-axis movement, the camera 3 and the tool 4 can be three-dimensionally moved with respect to the workpiece 9 placed on the stage 22.
為了控制工作機械2之三維動作,讓工作機械2與控制裝置5連接,且讓控制裝置5與控制用的電腦系統6連接。 In order to control the three-dimensional operation of the work machine 2, the work machine 2 is connected to the control device 5, and the control device 5 is connected to the computer system 6 for control.
控制裝置5為既有的數值控制裝置,根據來自電腦系統6的控制指令來控制工作機械2的動作。在控制裝置5儲存著加工程式51,在加工程式51中描述用於加工工件9之工作機械2的動作。 The control device 5 is an existing numerical control device that controls the operation of the work machine 2 based on a control command from the computer system 6. The machining program 51 is stored in the control device 5, and the operation of the work machine 2 for machining the workpiece 9 is described in the machining program 51.
加工程式51,是藉由操作控制裝置5來執行,或是藉由透過電腦系統6指示控制裝置5來執行,藉此控制工作機械2的動作。如此,在工作機械2中,可利用工具4對工件9進行加工,而將工件9形成為既定形狀。 The processing program 51 is executed by the operation control device 5 or by instructing the control device 5 via the computer system 6, thereby controlling the operation of the work machine 2. As described above, in the work machine 2, the workpiece 9 can be processed by the tool 4, and the workpiece 9 can be formed into a predetermined shape.
在電腦系統6儲存有檢查程式62,檢查程式62是用來讓工作機械2執行根據本發明的缺陷檢查方法之動作。 The computer system 6 stores an inspection program 62 for causing the work machine 2 to perform the operation of the defect inspection method according to the present invention.
再者,為了在檢查程式62進行參照,在電腦系統6儲存有與控制裝置5內所儲存的加工程式51相同之加工程式61。 Further, in order to refer to the inspection program 62, the computer system 6 stores the same processing program 61 as the processing program 51 stored in the control device 5.
在本實施形態的缺陷檢查裝置1中,裝設於工作機械2之攝影機3為攝影部,按照檢查程式62進行動作之電腦系統6為檢查部。 In the defect inspection device 1 of the present embodiment, the camera 3 installed in the work machine 2 is an imaging unit, and the computer system 6 that operates in accordance with the inspection program 62 is an inspection unit.
在圖2中,本實施形態的工件9是用於作為貼紙之衝切模具,其在平坦的上表面91形成有作為衝切刀之突條92。 In Fig. 2, the workpiece 9 of the present embodiment is a punching die for use as a sticker, and a ridge 92 as a punching blade is formed on the flat upper surface 91.
突條92是呈環狀連續之凸狀的線狀圖案,係利用端銑刀等的工具4將工件9之基材90表面切削而形成的。 The ridge 92 is a linear pattern having a continuous annular shape, and is formed by cutting the surface of the base material 90 of the workpiece 9 by 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 ridge 92 is flat, and the front end surface 93 is processed to have the same height throughout the entire length of the ridge 92.
突條92,為了作為衝切刀來使用,是以前端面93的寬度小、根部、即基材90側的寬度變大的方式形成為剖面三角形的山形,突條92之兩側的側面94,95分別成為傾斜面。 The ridge 92 is used as a punching blade, and is formed in a mountain shape having a triangular cross section and a side surface 94 on both sides of the ridge 92 so that the width of the front end surface 93 is small and the width of the root portion, that is, the side of the base material 90 is increased. 95 becomes an inclined surface, respectively.
在本實施形態,在前述工作機械2組裝有工具4的狀 態下,藉由控制裝置5來執行加工程式51,而形成具有前述突條92(線狀圖案)之工件9。 In the present embodiment, the tool 4 is assembled in the working machine 2 In the state, the machining program 51 is executed by the control device 5, and the workpiece 9 having the aforementioned ridge 92 (linear pattern) is formed.
而且,在加工之後,使用裝設於工作機械2之攝影機3,藉由電腦系統6執行檢查程式62,來進行線狀圖案、即突條92中之發揮衝切刀的作用之前端面93的形狀之缺陷檢查。 Further, after the processing, the inspection program 62 is executed by the computer system 6 using the camera 3 mounted on the work machine 2, and the linear pattern, that is, the shape of the end surface 93 before the action of the punching blade in the ridge 92 is performed. Defect inspection.
根據檢查程式62之缺陷檢查,是藉由以下所說明之攝影步驟及檢查步驟來進行。 The defect inspection according to the inspection program 62 is performed by the photographing step and the inspection step described below.
在攝影步驟,藉由裝設於工作機械2之攝影機3,將工件9的突條92進行攝影。 In the photographing step, the ridges 92 of the workpiece 9 are photographed by the camera 3 mounted on the work machine 2.
在圖4中,攝影機3的攝影,是對工件9表面之被檢查框Pf包圍的區域進行。而且,攝影機3所攝影的影像,是從控制裝置5傳送給電腦系統6,作為檢查影像P而依序儲存。 In Fig. 4, the photographing of the camera 3 is performed on a region surrounded by the inspection frame Pf on the surface of the workpiece 9. Further, the image captured by the camera 3 is transmitted from the control device 5 to the computer system 6, and sequentially stored as the inspection image P.
檢查影像P的解析度設定成,為了檢查相對於工件9全體為微細的突條92之前端面93所需之充分高的解析度。因此,檢查影像P的大小,無法擴大到能夠將突條92全體一起攝影。 The resolution of the inspection image P is set so as to check a sufficiently high resolution required for the front end surface 93 of the fine protrusion 92 with respect to the entire workpiece 9. Therefore, the size of the image P is checked, and it cannot be expanded until the entire ridges 92 can be photographed together.
於是,用於執行檢查程式62的電腦系統6是讓工作機械2動作,使攝影機3沿著突條92移動,讓攝影機3的檢查框Pf依序移動而反覆進行攝影。 Then, the computer system 6 for executing the inspection program 62 operates the work machine 2, moves the camera 3 along the ridges 92, and sequentially moves the inspection frame Pf of the camera 3 to perform photography.
如此般,讓沿著突條92所攝影的複數個檢查影像P 依序連續,藉此能將突條92的全體進行攝影。 In this way, a plurality of inspection images P taken along the ridge 92 are taken. The order is continuous, whereby the entire ridge 92 can be photographed.
在攝影步驟中,為了讓攝影機3沿著突條92移動,用於執行檢查程式62的電腦系統6,是參照在電腦系統6所儲存的加工程式61,根據其加工指令的內容來取得突條92的位置及形狀的資料。而且,根據所取得之突條92的形狀資料,以追蹤突條92的方式設定攝影機3的移動路徑。 In the photographing step, in order to move the camera 3 along the ridge 92, the computer system 6 for executing the inspection program 62 refers to the processing program 61 stored in the computer system 6, and obtains the ridge according to the contents of the processing instruction. Information on the location and shape of 92. Further, the movement path of the camera 3 is set in accordance with the shape data of the obtained ridges 92 so as to track the ridges 92.
具體而言,在突條92的任意部位配置最初的檢查框Pf,在該檢查框Pf進行攝影而取得檢查影像P之後,沿著突條92移動相當於一個檢查框Pf的量,在與剛結束攝影的檢查框Pf鄰接的部位配置下一個檢查框Pf,進行檢查影像P的攝影。以下,反覆進行以追蹤突條92的方式依序移動和攝影,取得可涵蓋突條92全體之複數個檢查影像P。 Specifically, the first inspection frame Pf is placed in an arbitrary portion of the ridge 92, and after the inspection frame Pf is photographed to obtain the inspection image P, the amount corresponding to one inspection frame Pf is moved along the ridge 92, and The next inspection frame Pf is placed in a portion adjacent to the inspection frame Pf where the photographing is completed, and the inspection image P is photographed. Hereinafter, the tracking ridges 92 are sequentially moved and photographed in order, and a plurality of inspection images P covering the entire ridges 92 are obtained.
如圖5所示般,檢查框Pf及所依序攝影的檢查影像P之區域,成為朝突條92的寬度方向延伸之長方形。 As shown in FIG. 5, the inspection frame Pf and the region of the inspection image P sequentially photographed are rectangular shapes extending in the width direction of the ridges 92.
如圖5(A)及(B)所示般,檢查框Pf設定成,以突條92的前端面93為中心,超過兩側呈傾斜之側面94,95而到達工件9的上表面91。 As shown in FIGS. 5(A) and (B), the inspection frame Pf is set so as to reach the upper surface 91 of the workpiece 9 beyond the front side faces 93 of the ridges 92, beyond the inclined side faces 94, 95.
而且,複數個檢查影像P,是以各自的長邊依序鄰接的狀態沿著突條92配置。前述檢查框Pf的移動,是讓複數個檢查影像P成為如此般的排列來進行。 Further, the plurality of inspection images P are arranged along the ridges 92 in a state in which the respective long sides are adjacent to each other. The movement of the inspection frame Pf is performed by arranging a plurality of inspection images P in such a manner.
檢查步驟,是在對突條92全體完成前述攝影步驟之前開始進行。亦即,一邊在其他部位實施攝影步驟,一邊對已經攝影完畢的檢查影像P實施缺陷檢查。 The inspection step is started before the entire photographing step is completed for all the ridges 92. In other words, the defect inspection is performed on the inspection image P that has already been photographed while performing the photographing step at another portion.
在檢查步驟中實施:與檢查影像P中的區域面積有關之面積檢查、與檢查影像P所呈現的輪廓之連續性有關之連續性檢查共2個檢查。 In the inspection step, the area inspection relating to the area of the inspection image P and the continuity inspection relating to the continuity of the contour of the inspection image P are performed in total.
在檢查步驟,根據光學特性的差異,將檢查影像P區分成:表示線狀圖案的圖案區域、圖案區域的外側之圖案外區域。 In the inspection step, the inspection image P is divided into a pattern area indicating a line pattern and a pattern area outside the pattern area in accordance with the difference in optical characteristics.
在圖6中,將相鄰接的檢查影像P1,P2,P3區分成:在其寬度方向的中央縱向延伸之明區域AC1,AC2,AC3、在其兩側之暗區域AL1,AL2,AL3及暗區域AR1,AR2,AR3。 In FIG. 6, the adjacent inspection images P1, P2, and P3 are divided into: bright areas AC1, AC2, AC3 extending longitudinally in the center in the width direction, and dark areas AL1, AL2, AL3 on both sides thereof. Dark areas AR1, AR2, AR3.
明區域AC1,AC2,AC3,是拍攝到線狀圖案、即突條92之前端面93的區域(圖案區域)。前端面93,因為呈平坦且正對著攝影機3,會將照明光的大部分反射後射入攝影機3,因此在檢查影像P1,P2,P3成為明亮的區域。 The bright areas AC1, AC2, and AC3 are areas (pattern areas) in which the line pattern, that is, the front end surface 93 of the ridge 92 is imaged. Since the front end surface 93 is flat and faces the camera 3, most of the illumination light is reflected and incident on the camera 3, so that the inspection images P1, P2, and P3 become bright regions.
暗區域AL1,AL2,AL3及暗區域AR1,AR2,AR3,是拍攝到線狀圖案、即突條92之側面94,95的區域(圖案外區域)。側面94,95是相對於攝影機3呈傾斜的面,射入攝影機3之照明光的反射光減少,因此在檢查影像P1,P2,P3成為陰暗的區域。 The dark areas AL1, AL2, AL3 and the dark areas AR1, AR2, AR3 are areas (out-of-pattern areas) where a line pattern, that is, the side faces 94, 95 of the ridges 92 are captured. The side faces 94, 95 are faces that are inclined with respect to the camera 3, and the reflected light of the illumination light incident on the camera 3 is reduced. Therefore, the inspection images P1, P2, and P3 become dark regions.
面積檢查,是在各檢查影像P1~P3中將明區域AC1~AC3及暗區域AL1~AR3的各像素數累計,根據其變動來判定缺陷。 In the area inspection, the number of pixels in the bright areas AC1 to AC3 and the dark areas AL1 to AR3 is integrated in each of the inspection images P1 to P3, and the defect is determined based on the change.
具體而言,假定在檢查影像P1中,明區域AC1為20像素,暗區域AL1為40像素,暗區域AR1為40像素。 Specifically, it is assumed that 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, the dark areas AL2 and AL3 are 40 pixels, and the dark areas AR2 and AR3 are 40 pixels, respectively.
亦即,在檢查影像P1~P3中,明區域AC1~AC3及暗區域AL1~AR3的各像素數未發生變動。 That is, in the inspection images P1 to P3, the number of pixels in the bright areas AC1 to AC3 and the dark areas AL1 to AR3 does not change.
因此,可判定在檢查影像P1~P3所攝影的部位之突條92的前端面93沒有缺陷。 Therefore, it can be determined that there is no defect in the front end surface 93 of the ridge 92 at the portion where the images P1 to P3 are inspected.
在圖7中,檢查影像P1,P2雖與前述圖6相同,但在檢查影像P3,其左側的暗區域AL3突出而侵入明區域AC3的一部分。 In FIG. 7, the inspection images P1 and P2 are the same as those in FIG. 6, but in the inspection image P3, the dark area AL3 on the left side protrudes and invades a part of the bright area AC3.
在此狀態下,暗區域AL3超過40像素,明區域AC3則低於20像素。亦即,相對於檢查影像P1,P2,在檢查影像P3中之明區域(圖案區域)及暗區域(圖案外區域)的面積發生變動,而判定有缺陷。 In this state, the dark area AL3 exceeds 40 pixels, and the bright area AC3 is lower than 20 pixels. In other words, the areas of the bright region (pattern region) and the dark region (out-of-pattern region) in the inspection image P3 are changed with respect to the inspection images P1 and P2, and it is determined that there is a defect.
像這種圖7的缺陷,當在前端面93之邊緣產生缺口時等會被偵測出。 Like this defect of Fig. 7, when a notch is formed at the edge of the front end face 93, it is detected.
此外,像圖8所示的檢查影像P3那樣,當前端面93在寬度方向變形的情況,相對於其他的檢查影像P1,P2,雖然明區域AC3的像素數沒有變動,但兩側的暗區域 AL3,AR3之像素數發生變動,而能偵測出有缺陷。 Further, when the current end surface 93 is deformed in the width direction like the inspection image P3 shown in FIG. 8, the number of pixels in the bright area AC3 does not change with respect to the other inspection images P1 and P2, but the dark areas on both sides The number of pixels in AL3 and AR3 changes, and defects can be detected.
在圖8中,如前述般像檢查影像P3那樣,當前端面93在寬度方向發生變形的情況,藉由檢查明區域(圖案區域)之輪廓的連續性、亦即其與暗區域(圖案外區域)的邊界線的形狀之連續性,即可判定缺陷。 In FIG. 8, as described above, when the current end surface 93 is deformed in the width direction as in the inspection image P3, the continuity of the outline of the bright region (pattern region), that is, the dark region (out-of-pattern region) is checked. The continuity of the shape of the boundary line can determine the defect.
在連續性檢查,是在各檢查影像P1~P3中,以明區域AC1~AC3與暗區域AL1~AL3之邊界線EL1~EL3及明區域AC1~AC3與暗區域AR1~AR3之邊界線ER1~ER3作為線狀圖案、即突條92之前端面93的輪廓,而進行偵測。 In the continuity check, in each of the inspection images P1 to P3, the boundary line EL1 to EL3 of the bright area AC1 to AC3 and the dark area AL1 to AL3 and the boundary line ER1 of the bright area AC1 to AC3 and the dark area AR1 to AR3 are ER1~ The ER3 is detected as a line pattern, that is, the contour of the front end face 93 of the ridge 92.
該等的邊界線EL1~EL3及邊界線ER1~ER3,可根據明區域AC1~AC3和暗區域AL1~AL3的亮度差、及明區域AC1~AC3和暗區域AR1~AR3的亮度差,來偵測出其位置。 The boundary lines EL1 to EL3 and the boundary lines ER1 to ER3 can be detected based on the brightness difference between the bright areas AC1 to AC3 and the dark areas AL1 to AL3, and the brightness difference between the bright areas AC1 to AC3 and the dark areas AR1 to AR3. Measure its position.
在此,在檢查影像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 linearly. However, in the inspection image P3, the dark area AL3 invades the bright area AC3, and the boundary line EL3 is curved in an arc shape. As a result, with respect to the extension line of the boundary line EL1, EL2 (indicated by the chain line in the inspection image P3), the boundary line EL3 is largely shifted, and this is judged 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 line ER1, ER2, and the extension line of the ER2, ER2 (indicated by the chain line in the inspection image P3), and the boundary line ER3 is largely offset, and It is judged to be a defect.
依序實施前述般的攝影步驟及檢查步驟,如果在面積檢查及連續性檢查都沒有發現缺陷而將線狀圖案、即突條92全體檢查過一次的話,將所檢查的工件9判定為「無缺陷」而結束缺陷檢查。 When the above-described photographing step and inspection step are performed in sequence, if no defects are found in the area inspection and the continuity inspection, and the linear pattern, that is, the entire projection 92 is inspected once, the workpiece 9 to be inspected is judged as "None." The defect is checked and the defect check is ended.
另一方面,如果在面積檢查及連續性檢查之任一者發現缺陷的話,在該時點中止攝影步驟及檢查步驟的依序實施,而在該工件9記錄有缺陷發生。 On the other hand, if a defect is found in any of the area inspection and the continuity inspection, the photographing step and the inspection step are sequentially executed at this point in time, and a defect is recorded in the workpiece 9.
在本實施形態,於檢查步驟中,可根據檢查影像P所呈現之線狀圖案、即突條92之連續性及影像面積之至少一方來判定缺陷,因此在缺陷檢查時不須事先準備突條92的基準影像。 In the present embodiment, in the inspection step, the defect can be determined based on at least one of the linear pattern of the inspection image P, that is, the continuity of the ridge 92 and the image area. Therefore, it is not necessary to prepare the ridge in advance during the defect inspection. The reference image of 92.
此外,於攝影步驟中,檢查影像P是沿著線狀圖案、即突條92依序攝影,因此作業者不須進行指定檢查區段的操作。 Further, in the photographing step, the inspection image P is sequentially photographed along the line pattern, that is, the ridges 92, so that the operator does not need to perform the operation of designating the inspection section.
因此,可效率良好地進行在表面形成有線狀圖案、即突條92之工件9的缺陷檢查。 Therefore, the defect inspection of the workpiece 9 in which the linear pattern, that is, the ridge 92 is formed on the surface can be efficiently performed.
在本實施形態,因為在檢查步驟中採用面積檢查,藉由計算檢查影像P中的圖案區域(明區域AC1~AC3)及圖案外區域(暗區域AL1~AR3)的面積這麼簡單的操作,就能進行檢查步驟之缺陷判定。 In the present embodiment, since the area inspection is used in the inspection step, by calculating the area of the pattern area (light areas AC1 to AC3) and the pattern area (dark areas AL1 to AR3) in the inspection image P, it is as simple as the operation. The defect determination of the inspection step can be performed.
特別是,在本實施形態,將各檢查影像P1~P3中之各區域的像素數累計,與其他檢查影像的像素數進行比較,因此可更有效率地進行檢查步驟之缺陷判定。 In particular, in the present embodiment, the number of pixels in each of the inspection images P1 to P3 is integrated and compared with the number of pixels of other inspection images, so that the defect determination in the inspection step can be performed more efficiently.
在本實施形態,因為在檢查步驟也進行連續性檢查,可更確實地進行缺陷檢查。 In the present embodiment, since the continuity inspection is also performed in the inspection step, the defect inspection can be performed more surely.
在連續性檢查中,藉由偵測檢查影像P之線狀圖案的輪廓(偵測明區域及暗區域之邊界線)及判定其連續性這麼簡單的操作,就能進行檢查步驟之缺陷判定。 In the continuity check, the defect determination of the inspection step can be performed by detecting the outline of the line pattern of the inspection image P (detecting the boundary line between the bright area and the dark area) and determining the continuity thereof.
在本實施形態,在攝影步驟中,沿著線狀圖案、即突條92將檢查框Pf依序配置,而將複數個檢查影像P進行攝影,因此可獲得適用於檢查步驟中的前述面積檢查及連續性檢查之檢查影像。 In the present embodiment, in the photographing step, the inspection frame Pf is sequentially arranged along the line pattern, that is, the ridges 92, and a plurality of inspection images P are imaged, so that the aforementioned area inspection suitable for the inspection step can be obtained. And inspection images for continuity inspection.
特別是,在本實施形態,進行依序攝影檢查影像P的動作時的移動路徑,可參照與用於加工工件9之加工程式51相同的加工程式61來設定。因此,為了設定移動路徑,不須另外對工件9攝影,也不須經由人工操作來指示。 In particular, in the present embodiment, the movement path during the operation of sequentially inspecting the image P can be set with reference to the same machining program 61 as the machining program 51 for machining the workpiece 9. Therefore, in order to set the movement path, it is not necessary to additionally photograph the workpiece 9, and it is not necessary to indicate it by manual operation.
再者,在本實施形態,在對工件9進行加工之工作機械2上安裝攝影機3,藉由攝影機3將檢查影像P依序攝影,因此在對工件9進行線狀圖案、即突條92的加工之後,可立刻實施缺陷檢查。 Further, in the present embodiment, the camera 3 is attached to the work machine 2 for processing the workpiece 9, and the inspection image P is sequentially photographed by the camera 3. Therefore, the workpiece 9 is linearly patterned, that is, the ridge 92 is formed. After processing, defect inspection can be performed immediately.
因此,在加工後,為了進行檢查不須實施將工件9移載等的操作。而且,工作機械2可兼用為缺陷檢查裝置1,可減少設備成本及設備空間。 Therefore, after the processing, it is not necessary to perform an operation of transferring the workpiece 9 or the like for the purpose of inspection. Moreover, the work machine 2 can be used as the defect inspection device 1, which can reduce equipment cost and equipment space.
本發明並不限定於前述實施形態,可達成本發明的目的之範圍內的變形等也包含於本發明。 The present invention is not limited to the above-described embodiments, and modifications and the like within the scope of the object of the invention are also included in the invention.
在前述實施形態,於檢查步驟中雖是進行面積檢查及連續性檢查雙方,但僅進行任一方亦可。 In the above embodiment, both the area inspection and the continuity inspection are performed in the inspection step, but only one of them may be performed.
作為面積檢查並不限定於前述實施形態,亦即不限定於:計算檢查影像P中的圖案區域(明區域AC1~AC3)及2個圖案外區域(暗區域AL1~AL3及暗區域AR1~AR3)各個的面積。 The area inspection is not limited to the above embodiment, that is, the pattern area (light areas AC1 to AC3) and the two pattern outer areas (the dark areas AL1 to AL3 and the dark areas AR1 to AR3) in the inspection image P are not limited. ) the area of each.
例如,將2個圖案外區域(暗區域AL1~AL3及暗區域AR1~AR3)合併,而計算明亮的圖案區域和陰暗的圖案外區域這2個亦可。 For example, two outer regions (the dark regions AL1 to AL3 and the dark regions AR1 to AR3) are combined, and two bright pattern regions and a dark outer region may be calculated.
特別是在分成2個區域來處理的情況,因為將檢查影像P分成2個區域,只要計算明亮的圖案區域和陰暗的圖案外區域任一方的面積(像素數),用根據檢查框Pf之已知的檢查影像P的全體面積(全像素數)減去該一方的面積,就能算出另一方的面積。 In particular, in the case of processing in two areas, since the inspection image P is divided into two areas, it is necessary to calculate the area (the number of pixels) of either the bright pattern area and the dark pattern area, using the check box Pf. The area of the other area (the total number of pixels) of the known inspection image P is subtracted from the area of the one, and the other area can be calculated.
像這種面積檢查,也能偵測出圖7般之明區域AC3的一側的輪廓彎曲的缺陷。 Like this area inspection, it is also possible to detect the defect of the contour of one side of the area AC3 as shown in Fig. 7.
作為連續性檢查,並不限定於前述實施形態,亦即不限定於:針對檢查影像P中之圖案區域(明區域AC1~AC3)和兩側的圖案外區域(暗區域AL1~AL3及暗區域AR1~AR3)之邊界線,將其與鄰接的檢查影像P進 行比較。 The continuity check is not limited to the above-described embodiment, that is, it is not limited to the pattern areas (light areas AC1 to AC3) in the inspection image P and the pattern outer areas on both sides (the dark areas AL1 to AL3 and the dark areas). The boundary line of AR1~AR3), enter it with the adjacent inspection image P Line comparison.
例如,在同一檢查影像P中,檢查在其所呈現之邊界線的連續性,而偵測相當於缺陷之不連續性亦可。 For example, in the same inspection image P, the continuity of the boundary line presented therein is checked, and the detection is equivalent to the discontinuity of the defect.
在前述實施形態,作為檢查對象的線狀圖案,是使用圖2所示之矩形的突條92。前述實施形態的檢查對象,並不限定於全部都是由直線所構成的矩形,亦可為一部分乃至全體是由曲線所構成的線狀圖案,例如可使用圖9所示的圓形的突條92A。 In the above embodiment, the linear pattern to be inspected is a rectangular protrusion 92 as shown in Fig. 2 . The object to be inspected in the above-described embodiment is not limited to a rectangle each having a straight line, and a part of the whole may be a linear pattern composed of a curved line. For example, a circular protrusion as shown in FIG. 9 may be used. 92A.
在前述實施形態,於攝影步驟中,是使用既定形狀的檢查框Pf進行攝影,而取得複數個一定大小的檢查影像P。 In the above-described embodiment, in the photographing step, photographing is performed using the inspection frame Pf of a predetermined shape, and a plurality of inspection images P of a certain size are obtained.
相對於此,在攝影時不使用檢查框Pf,而取得與突條92等的線狀圖案對應的形狀及尺寸的影像,將其在檢查步驟進行檢查亦可。 On the other hand, in the case of photographing, the inspection frame Pf is not used, and an image having a shape and a size corresponding to the linear pattern such as the ridge 92 is obtained, and the inspection may be performed in the inspection step.
但像本實施形態那樣,將複數個檢查影像P設定成一定的形狀尺寸,可效率良好地處理檢查步驟的檢查。 However, as in the present embodiment, a plurality of inspection images P are set to a constant shape size, and the inspection of the inspection step can be efficiently processed.
在前述實施形態,一邊在線狀圖案、即突條92的一部分實施攝影步驟,一邊對已經攝影完畢之檢查影像P的部位實施檢查步驟,而將攝影步驟及檢查步驟並列地進行,以謀求處理時間的效率化。 In the above-described embodiment, the imaging step is performed on a part of the line 92, that is, the portion of the protrusion 92, and the inspection step is performed on the portion of the inspection image P that has been photographed, and the photographing step and the inspection step are performed in parallel to obtain the processing time. Efficiency.
然而,對線狀圖案、即突條92依序實施攝影步驟,在對突條92全體取得檢查影像P之後,再一起實施檢查步驟亦可。 However, the linear pattern, that is, the ridges 92 are sequentially subjected to the photographing step, and after the inspection image P is obtained for all of the ridges 92, the inspection step may be performed together.
在前述實施形態,於攝影步驟中,一邊讓攝影機3沿 著突條92(線狀圖案)移動,一邊利用檢查框Pf進行攝影,而取得複數個檢查影像P。一般的攝影機3,為了取得清晰的影像,於攝影位置必須停止。亦即,攝影機3須反覆進行:移動~停止~攝影~移動的動作,而有處理時間變冗長的可能性。 In the foregoing embodiment, during the photographing step, the camera 3 is placed along When the ridge 92 (linear pattern) is moved, a plurality of inspection images P are acquired while photographing is performed by the inspection frame Pf. In order to obtain a clear image, the general camera 3 must be stopped at the shooting position. That is to say, the camera 3 has to repeatedly perform the operations of moving to stop-photographing-moving, and there is a possibility that the processing time becomes redundant.
相對於此,作為本發明的其他實施形態,可採用閃光燈攝影。 On the other hand, as another embodiment of the present invention, flash photography can be employed.
圖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, the flash unit 3A is provided adjacent to the camera 3, and the strong light can be intermittently irradiated to the area Lf covering the inspection frame Pf of the camera 3.
在本實施形態,讓攝影機3沿著突條92連續地移動,在此期間,利用閃光燈3A將突條92間歇地照明,而在照明的期間用攝影機3進行攝影。 In the present embodiment, the camera 3 is continuously moved along the ridges 92. During this period, the ridges 92 are intermittently illuminated by the flasher 3A, and the camera 3 is photographed during the illumination.
如此,突條92被閃光燈3A的強光照射,而使攝影機3所攝影的影像變清晰。再者,不須讓攝影機3停止,可縮短攝影的處理時間。結果,不須使用高速攝影機也能高速地取得清晰的影像,可減少設備成本。 Thus, the ridge 92 is illuminated by the strong light of the flash 3A, and the image captured by the camera 3 is made clear. Furthermore, the processing time of the photographing can be shortened without stopping the camera 3. As a result, clear images can be obtained at high speed without using a high-speed camera, which can reduce equipment costs.
在前述實施形態,在用於對工件9進行加工之工作機械2中,於主軸27裝設工具4,且在主軸頭26裝設攝影機3,藉此作為缺陷檢查裝置1來使用。 In the above-described embodiment, in the work machine 2 for processing the workpiece 9, the tool 4 is attached to the main shaft 27, and the camera 3 is attached to the spindle head 26, whereby the defect inspection device 1 is used.
然而,不是在工作機械2同時設置攝影機3和工具4,而採用更換式亦可。例如,在主軸27裝設工具4而進行工件9的加工後,將工具4卸下,取代其而在主軸27 裝設攝影機3以進行工件9的攝影亦可。 However, instead of setting the camera 3 and the tool 4 at the same time as the work machine 2, a replacement type may be employed. For example, after the tool 27 is mounted on the spindle 27 to process the workpiece 9, the tool 4 is removed, instead of the spindle 27 It is also possible to mount the camera 3 to perform photographing of the workpiece 9.
如此般將攝影機3裝設於主軸27的情況,不須在主軸頭26裝設攝影機3,使用自動工具更換裝置就能簡單地裝設攝影機3。 When the camera 3 is mounted on the spindle 27 in this manner, the camera 3 is not required to be attached to the spindle head 26, and the camera 3 can be easily mounted using the automatic tool changing device.
然而,將工具4和攝影機3頻繁地更換會變得沒有效率,因此限定於依序進行以下順序:在工具4所進行之工件9的加工全部結束後,利用攝影機3進行突條92(線狀圖案)的攝影。 However, frequent replacement of the tool 4 and the camera 3 becomes inefficient, and therefore it is limited to sequentially perform the following sequence: after the processing of the workpiece 9 by the tool 4 is completed, the ridge 92 is performed by the camera 3 (linear Photography) photography.
相對於此,像前述實施形態那樣,只要在工作機械2設置攝影機3及工具4,也能採用以下的順序:將工件9的一部分加工,將加工完畢的部分攝影,將下一個部分加工再進行攝影。 On the other hand, as in the above-described embodiment, as long as the camera 3 and the tool 4 are provided in the work machine 2, the following procedure can be employed: a part of the workpiece 9 is processed, the processed portion is photographed, and the next portion is processed. photography.
在前述實施形態,是在工作機械2裝設攝影機3而兼作為缺陷檢查裝置1,但獨立於用於將工件9進行加工的工作機械2,而使用專用的缺陷檢查裝置1亦可。 In the above-described embodiment, the work machine 2 is provided with the camera 3 and also serves as the defect inspection device 1. However, the work tool 2 for processing the workpiece 9 may be used independently, and the dedicated defect inspection device 1 may be used.
在此情況較佳為,將工作機械2之控制裝置5所執行的加工程式51或其所指定的突條92形狀(線狀圖案)取出,並輸入專用的缺陷檢查裝置1而能利用於攝影步驟。 In this case, it is preferable that the machining program 51 executed by the control device 5 of the machine tool 2 or the shape of the ridge 92 (linear pattern) designated by the machine tool 2 is taken out and input into the dedicated defect inspection device 1 to be used for photography. step.
在前述實施形態,是將與加工程式51相同的加工程式61也儲存於電腦系統6,加工程式51是為了將工件9進行加工而儲存於控制裝置5的程式,參照該加工程式61而在攝影步驟進行線狀圖案、即突條92的追蹤。然而,如果除了用於將工件9進行加工之加工程式51,61以外還有其他線狀圖案的形狀資料,利用該資料亦可。 In the above embodiment, the same machining program 61 as the machining program 51 is also stored in the computer system 6. The machining program 51 is a program stored in the control device 5 for processing the workpiece 9, and is photographed by referring to the machining program 61. The step performs a linear pattern, that is, tracking of the ridges 92. However, if there are other shape information of the line pattern other than the processing programs 51, 61 for processing the workpiece 9, the data may be used.
3‧‧‧攝影機 3‧‧‧ camera
9‧‧‧工件 9‧‧‧Workpiece
90‧‧‧基材 90‧‧‧Substrate
91‧‧‧上表面 91‧‧‧Upper surface
92‧‧‧突條 92‧‧‧
P‧‧‧檢查影像 P‧‧‧Check images
Pf‧‧‧檢查框 Pf‧‧‧ check box
Claims (8)
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2015116665 | 2015-06-09 | ||
JP2016045381A JP6010711B1 (en) | 2015-06-09 | 2016-03-09 | Defect inspection method and defect inspection apparatus |
Publications (2)
Publication Number | Publication Date |
---|---|
TW201706594A true TW201706594A (en) | 2017-02-16 |
TWI610076B TWI610076B (en) | 2018-01-01 |
Family
ID=57140249
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW105118245A TWI610076B (en) | 2015-06-09 | 2016-06-08 | Defect inspection method and defect inspection device |
Country Status (4)
Country | Link |
---|---|
JP (1) | JP6010711B1 (en) |
KR (1) | KR101814918B1 (en) |
CN (1) | CN106248690A (en) |
TW (1) | TWI610076B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2024057415A1 (en) * | 2022-09-13 | 2024-03-21 | 株式会社Fuji | Inspection device and inspection method |
Family Cites Families (15)
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 | Apparatus, method and processing program for detecting defect |
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 on-line detection method based on machine vision |
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 |
JP2012223839A (en) * | 2011-04-15 | 2012-11-15 | Yaskawa Electric Corp | Robot system, and method for operating robot system |
CN102305793A (en) * | 2011-05-11 | 2012-01-04 | 苏州天准精密技术有限公司 | Method and equipment for detecting appearance quality of product |
CN102353680B (en) * | 2011-07-08 | 2013-02-13 | 中国科学院宁波材料技术与工程研究所 | Method for evaluating surface detects of small-sized workpieces and flow for detecting unqualified workpieces |
JP5689969B2 (en) * | 2011-07-20 | 2015-03-25 | 株式会社ブリヂストン | Bead filler inspection apparatus, bead filler inspection program, and bead filler inspection method |
JP2013213733A (en) * | 2012-04-02 | 2013-10-17 | Suzuki Motor Corp | Apparatus and method for inspecting object to be inspected |
KR102023231B1 (en) * | 2012-08-28 | 2019-09-19 | 스미또모 가가꾸 가부시끼가이샤 | Defect inspection apparatus, and defect inspection method |
CN104391390B (en) * | 2014-12-18 | 2017-05-10 | 合肥鑫晟光电科技有限公司 | Substrate checking device and method |
-
2016
- 2016-03-09 JP JP2016045381A patent/JP6010711B1/en active Active
- 2016-06-03 KR KR1020160069230A patent/KR101814918B1/en active IP Right Grant
- 2016-06-08 TW TW105118245A patent/TWI610076B/en active
- 2016-06-08 CN CN201610404074.0A patent/CN106248690A/en active Pending
Also Published As
Publication number | Publication date |
---|---|
KR101814918B1 (en) | 2018-01-04 |
CN106248690A (en) | 2016-12-21 |
KR20160144918A (en) | 2016-12-19 |
JP6010711B1 (en) | 2016-10-19 |
JP2017003566A (en) | 2017-01-05 |
TWI610076B (en) | 2018-01-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP1916046B1 (en) | Method and device for machine-cutting a plate-shaped workpiece | |
US7034249B2 (en) | Method of controlling the welding of a three-dimensional structure | |
JP7167453B2 (en) | APPEARANCE INSPECTION SYSTEM, SETTING DEVICE, IMAGE PROCESSING DEVICE, SETTING METHOD AND PROGRAM | |
CN113891775A (en) | Method for providing slab planning geometry data, method for cutting out a workpiece, and planar laser machine tool | |
TWI640745B (en) | Shape measuring device, structure manufacturing system, shape measuring method, structure manufacturing method, and computer reading medium on which shape measuring program is recorded | |
JP2010249744A (en) | Image generation device for wiring harness visual inspection, and image generation method for wiring harness visual inspection | |
JP6588704B2 (en) | Tool cutting edge detection method and apparatus, and tool correction value setting apparatus | |
KR102235999B1 (en) | Deformation processing support system and deformation processing support method | |
EP3537101A1 (en) | Image inspecting apparatus, image inspecting method and image inspecting program | |
JP6621351B2 (en) | Image processing apparatus and image processing method for laser processing | |
US20230001522A1 (en) | Method and device for determining an actual state of supporting bars of a workpiece support, and machine tool having a device of this type | |
KR101513407B1 (en) | Finishing assistance apparatus, finishing assistance method and finishing assistance system | |
TW201706594A (en) | Defect inspection method and defect inspection device aiming to inspect a defect of the workpiece having a linear pattern or ridge formed on its surface | |
JP2002181520A (en) | Method for inspecting defect in three-dimensional shape | |
JP6650379B2 (en) | Surface inspection device, surface inspection method and database | |
KR101631184B1 (en) | System for measuring shape of work and control method | |
JP6562724B2 (en) | Blade position measuring method and blade position measuring apparatus | |
JP2680460B2 (en) | Angle measuring device for bending machine | |
JP2005049222A (en) | High precision positioning device | |
US7268894B2 (en) | Image measuring method, image measuring system and image measuring program | |
CN114599476B (en) | Metal plate processing system, laser processing machine, metal plate processing method, and storage medium | |
KR101803473B1 (en) | Apparatus and method for inspecting parts using line scanning | |
JP2018036203A (en) | Hole internal inspection device and hole internal inspection method | |
JP2017037055A (en) | Defect measurement device | |
JP2017037006A (en) | Defect measurement device |