TW202242390A - Defect inspection device, defect inspection method, and manufacturing method - Google Patents

Defect inspection device, defect inspection method, and manufacturing method Download PDF

Info

Publication number
TW202242390A
TW202242390A TW110138830A TW110138830A TW202242390A TW 202242390 A TW202242390 A TW 202242390A TW 110138830 A TW110138830 A TW 110138830A TW 110138830 A TW110138830 A TW 110138830A TW 202242390 A TW202242390 A TW 202242390A
Authority
TW
Taiwan
Prior art keywords
defect
type
inspected
defects
image
Prior art date
Application number
TW110138830A
Other languages
Chinese (zh)
Inventor
竹島壮郎
塚本徹
北山大介
小川祥平
塔之上亮太
Original Assignee
日商Agc股份有限公司
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 日商Agc股份有限公司 filed Critical 日商Agc股份有限公司
Publication of TW202242390A publication Critical patent/TW202242390A/en

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N21/00Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
    • G01N21/84Systems specially adapted for particular applications
    • G01N21/88Investigating the presence of flaws or contamination
    • G01N21/8851Scan or image signal processing specially adapted therefor, e.g. for scan signal adjustment, for detecting different kinds of defects, for compensating for structures, markings, edges
    • 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
    • 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/958Inspecting transparent materials or objects, e.g. windscreens
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N20/00Machine learning
    • 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/8851Scan or image signal processing specially adapted therefor, e.g. for scan signal adjustment, for detecting different kinds of defects, for compensating for structures, markings, edges
    • G01N2021/8854Grading and classifying of flaws
    • 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/8851Scan or image signal processing specially adapted therefor, e.g. for scan signal adjustment, for detecting different kinds of defects, for compensating for structures, markings, edges
    • G01N2021/8883Scan or image signal processing specially adapted therefor, e.g. for scan signal adjustment, for detecting different kinds of defects, for compensating for structures, markings, edges involving the calculation of gauges, generating models

Landscapes

  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • General Health & Medical Sciences (AREA)
  • Analytical Chemistry (AREA)
  • Biochemistry (AREA)
  • Chemical & Material Sciences (AREA)
  • Immunology (AREA)
  • Pathology (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Software Systems (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Theoretical Computer Science (AREA)
  • Signal Processing (AREA)
  • Evolutionary Computation (AREA)
  • Medical Informatics (AREA)
  • Data Mining & Analysis (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Mathematical Physics (AREA)
  • Artificial Intelligence (AREA)
  • Image Processing (AREA)
  • Investigating Materials By The Use Of Optical Means Adapted For Particular Applications (AREA)
  • Image Analysis (AREA)

Abstract

This defect inspection device for inspecting for a defect in an object under inspection on the basis of an image of the object under inspection comprises a plurality of defect identifiers that use prescribed machine learning models to identify different types of defects on the basis of an image. The types of defects identified by the individual defect identifiers are some of a prescribed number of defect types subject to identification by the defect inspection device. This configuration may be embodied as a defect inspection device, defect inspection method, or manufacturing method. This configuration makes it possible to facilitate defect inspection system management.

Description

缺陷檢查裝置、缺陷檢查方法以及製造方法Defect inspection device, defect inspection method, and manufacturing method

本發明係關於一種缺陷檢查裝置、缺陷檢查方法以及製造方法。本發明係例如關於一種用以使用顯示被檢查體之圖像之圖像資料判定被檢查體中產生之缺陷之狀態之技術。 本案主張2020年12月15日於日本申請之日本專利特願2020-207561號之優先權,並將其等內容援用於此。 The present invention relates to a defect inspection device, a defect inspection method and a manufacturing method. The present invention relates, for example, to a technique for determining the state of a defect generated in an object to be inspected using image data showing an image of the object to be inspected. This case claims the priority of Japanese Patent Application No. 2020-207561 filed in Japan on December 15, 2020, and its contents are incorporated herein.

於管理製品之品質時,判定製品之狀態較為重要。例如,於表面由金屬或氧化物等薄膜覆蓋之玻璃基板中,有時於其表面形成微細之電子構件等。該玻璃基板例如可用於液晶顯示器等各種顯示器、光罩、電子器件支持、資訊記錄媒體、平面型天線等。於玻璃基板之表面產生之缺陷成為以斷線為主之不良之原因。缺陷例如有損傷、污垢等。因此,於玻璃基板之表面,要求高清潔性或平坦性等。When managing the quality of products, it is more important to determine the status of products. For example, in a glass substrate whose surface is covered with a thin film such as a metal or an oxide, fine electronic components or the like may be formed on the surface. This glass substrate can be used for various displays, such as a liquid crystal display, a photomask, an electronic device support, an information recording medium, a planar antenna, etc., for example. Defects generated on the surface of the glass substrate cause defects mainly including disconnection. Defects such as damage, dirt, etc. Therefore, high cleanliness, flatness, etc. are required on the surface of the glass substrate.

為較少斷線等之不良,考慮解析玻璃基板之表面之狀態,判定缺陷之狀態,並根據需要特定缺陷之產生原因,實施應對製造步驟之對策。因此,可嘗試對被檢查體之圖像使用機械學習模型而分類缺陷之種類。例如,於專利文獻1記載有關於一種使用深層學習(深度學習,Deep Learning)模型,將作為基板之晶圓上產生之缺陷分類之缺陷檢查方法。In order to reduce defects such as disconnection, it is considered to analyze the state of the surface of the glass substrate, determine the state of the defect, and specify the cause of the defect as needed, and implement countermeasures against the manufacturing process. Therefore, it is possible to try to classify the types of defects using a machine learning model on the images of the inspected object. For example, Patent Document 1 describes a defect inspection method for classifying defects generated on a wafer as a substrate using a deep learning (Deep Learning) model.

一般,深層學習模型需使用大量訓練資料,預先學習顯示輸入輸出關係之模型參數。根據學習所使用之訓練資料量,有頻繁產生誤分類之虞。例如,於分類圖像所示之缺陷之種類之情形時,有時被誤分類為特定種類之概率變高。於此種情形時,有使用者考慮為避免誤分類而欲修正模型參數之情形。 [先前技術文獻] [專利文獻] Generally, deep learning models need to use a large amount of training data to learn model parameters that show the relationship between input and output in advance. Depending on the amount of training data used for learning, there is a risk of frequent misclassification. For example, when classifying the type of defect shown in an image, the probability of being misclassified as a specific type may increase. In this case, some users may want to modify the model parameters in order to avoid misclassification. [Prior Art Literature] [Patent Document]

[專利文獻1]日本專利特開2019-124591號公報[Patent Document 1] Japanese Patent Laid-Open No. 2019-124591

[發明所欲解決之問題][Problem to be solved by the invention]

然而,於在以深層學習模型為主之機械學習模型中修正模型參數之情形時,僅糾正對特定種類之誤分類較為困難,亦易影響對其他種類之分類結果。即,有即便修正模型參數以使對特定種類之分類正確進行,但對其他種類之分類變得不正確之虞。由於必須考慮對所有種類之分類而修正模型參數,故有時於系統管理耗費大量勞力或時間。However, when modifying model parameters in a machine learning model mainly based on a deep learning model, it is difficult to only correct the misclassification of a specific category, and it is easy to affect the classification results of other categories. That is, even if the model parameters are corrected so that the classification of a specific type is performed correctly, the classification of other types may become incorrect. Since it is necessary to correct the model parameters in consideration of the classification of all types, it may take a lot of labor or time for system management.

本發明係鑑於上述之點而完成者,本發明之問題之一在於提供一種於缺陷檢查中使系統管理更容易之缺陷檢查裝置、缺陷檢查方法以及製造方法。 [解決問題之技術手段] The present invention was made in view of the above points, and one of the problems of the present invention is to provide a defect inspection device, a defect inspection method, and a manufacturing method that facilitate system management in defect inspection. [Technical means to solve the problem]

(1)本發明係為了解決上述問題而完成者,本發明之一態様係一種缺陷檢查裝置,其於基於被檢查體之圖像而檢查上述被檢查體中產生之缺陷的缺陷檢查裝置中,具備複數個缺陷判別器,該缺陷判別器基於上述圖像,使用特定之機械學習模型判別各不相同之上述缺陷之種類;各個缺陷判別器所判別之上述缺陷之種類,為上述缺陷檢查裝置設為判別對象之特定數量之缺陷種類之一部分。(1) The present invention was made to solve the above-mentioned problems, and one aspect of the present invention is a defect inspection device for inspecting defects generated in the object to be inspected based on an image of the object to be inspected, Equipped with a plurality of defect discriminators, the defect discriminator uses a specific machine learning model to discriminate the types of the above-mentioned defects based on the above-mentioned images; It is part of a specific number of defect types that are subject to discrimination.

(2)本發明之另一態様係一種缺陷檢查方法,其係基於被檢查體之圖像而檢查上述被檢查體中產生之缺陷者,且具備複數個缺陷判別步驟,該缺陷判別步驟基於上述圖像,使用特定之機械學習模型而判別各不相同之上述缺陷之種類;於各個缺陷判別步驟中判別之上述缺陷之種類,為於上述缺陷檢查方法中設為判別對象之特定數量之缺陷種類之一部分。(2) Another aspect of the present invention is a defect inspection method that inspects defects generated in the object to be inspected based on an image of the object to be inspected, and has a plurality of defect discrimination steps based on the above-mentioned Image, using a specific machine learning model to identify different types of the above-mentioned defects; the types of the above-mentioned defects identified in each defect identification step are the specific number of defect types set as the object of identification in the above-mentioned defect inspection method one part.

(3)本發明之另一態様可為一種玻璃之製造方法,其具有使用(1)之缺陷檢查裝置之檢查步驟或(2)之缺陷檢查方法,且上述被檢查體為玻璃。 [發明之效果] (3) Another aspect of the present invention may be a glass manufacturing method comprising an inspection step using the defect inspection device of (1) or the defect inspection method of (2), and the object to be inspected is glass. [Effect of Invention]

根據本發明,可使缺陷檢查中之系統管理更容易。例如,可不對其他種類之缺陷之判定結果造成影響,而減少或消除對特定種類之誤判定之頻率。According to the present invention, system management in defect inspection can be made easier. For example, it can reduce or eliminate the frequency of misjudgment of a specific type without affecting the judgment results of other types of defects.

以下,一面參考圖式一面對本發明之實施形態進行說明。 首先,對本實施形態之構成進行說明。圖1係顯示本實施形態之缺陷檢查裝置之構成例之概略方塊圖。 本實施形態之缺陷檢查裝置100係用以使用顯示被檢查體之圖像之圖像資料,檢查該被檢查體中可能產生之缺陷之檢查裝置。缺陷檢查裝置100執行複數種缺陷判別步驟,該缺陷判別步驟係取得顯示被檢查體之圖像之圖像資料,基於取得之圖像資料使用特定之機械學習模型判別被檢查體中產生之缺陷之種類之步驟。於各個缺陷判別步驟中成為判別對象之1種或複數種缺陷之候補設為作為缺陷檢查裝置100整體成為判別對象之特定數量(M種,M為2以上之特定之整數)之缺陷之種類(以下,為可判別種類)之一部分。又,成為判別對象之1種或複數種缺陷之候補因缺陷判別步驟而異。 Hereinafter, embodiments of the present invention will be described with reference to the drawings. First, the configuration of this embodiment will be described. FIG. 1 is a schematic block diagram showing a configuration example of a defect inspection device according to this embodiment. The defect inspection device 100 of this embodiment is an inspection device for inspecting defects that may occur in the object to be inspected using image data showing an image of the object to be inspected. The defect inspection device 100 executes a plurality of defect identification steps. The defect identification step is to obtain image data showing an image of the object to be inspected, and to use a specific machine learning model to identify defects generated in the object to be inspected based on the obtained image data. Kind of steps. The candidates for one or more types of defects to be identified in each defect identification step are the types of defects of a specific number (M types, M being a specific integer greater than or equal to 2) that are to be identified as a whole of the defect inspection apparatus 100 ( Hereinafter, it is part of the distinguishable type). In addition, the candidates for one or more types of defects to be discriminated differ depending on the defect discriminating step.

缺陷檢查裝置100包含控制部110、攝像部130、輸入輸出部140、操作部150、顯示部160、記憶部170而構成。 控制部110執行用以實現缺陷檢查裝置100之功能之處理、或用以控制其功能之處理。控制部110包含處理器等通用之構件,可作為電腦而構成。處理器讀取預先記憶於記憶部170之程式,進行由讀取之程式中記述之指令指示之處理,而實現其功能。於本案中,進行由程式中記述之指令指示之處理有時被稱為執行程式、程式之執行等。控制部110之一部分或全部不限於處理器等通用之硬體,亦可包含LSI(Large Scale Integration:大型積體電路)、ASIC(Application Specific Integrated Circuit:特殊應用積體電路)等專用之硬體而構成。關於實現控制部110之功能之功能部稍後敘述。 The defect inspection device 100 includes a control unit 110 , an imaging unit 130 , an input and output unit 140 , an operation unit 150 , a display unit 160 , and a memory unit 170 . The control part 110 executes the process for realizing the function of the defect inspection apparatus 100, or the process for controlling the function. The control unit 110 includes general-purpose components such as a processor, and can be configured as a computer. The processor reads the program stored in the memory unit 170 in advance, executes the processing instructed by the command described in the read program, and realizes its function. In this case, performing a process instructed by an instruction described in a program is sometimes referred to as executing a program, executing a program, or the like. Part or all of the control unit 110 is not limited to general-purpose hardware such as processors, and may also include dedicated hardware such as LSI (Large Scale Integration: large integrated circuit), ASIC (Application Specific Integrated Circuit: special application integrated circuit) And constitute. The functional parts realizing the functions of the control part 110 will be described later.

攝像部130拍攝顯示存在於自身周邊之視野範圍內之各種物體之圖像,並將顯示拍攝之圖像之圖像資料輸出至控制部110。攝像部130可具備使攝像條件相對於1個被檢查體可變之機構,亦可具有一次以複數個攝像條件拍攝之機構。攝像條件為有意地對拍攝之圖像造成影響之條件。根據被檢查體中產生之缺陷之種類,有時該缺陷之像之亮度或形狀因攝像條件而顯著不同。攝像條件例如由亮度、攝像方向、照明方法等中任一者、或該等之組合指定。The imaging unit 130 captures images showing various objects existing in the field of view around itself, and outputs image data showing the captured images to the control unit 110 . The imaging unit 130 may have a mechanism for changing imaging conditions for one subject, or may have a mechanism for imaging under a plurality of imaging conditions at a time. Shooting conditions are conditions that intentionally affect captured images. Depending on the type of defect occurring in the object to be inspected, the brightness or shape of the image of the defect may vary significantly depending on imaging conditions. The imaging conditions are specified by, for example, any one of brightness, imaging direction, lighting method, etc., or a combination thereof.

圖3例示一次以4種攝像條件拍攝共通之1個被檢查體之圖像之情形。4種攝像條件分別作為亮度與攝像方向之組合分類為2種,作為照明方法分類為反射與透過2種。於亮度與攝像方向之組合中,有明視野與暗視野。明視野為如下之攝像條件,即,將照明發出之光線照射至被檢查體Sb,自被檢查體Sb反射之反射光或透過之透過光之入射方向包含於視野內之位置及方向上設置攝像部130(相機)而成。明視野中,由於來自被檢查體Sb之反射光或透過光直接入射至相機,故而拍攝明亮之圖像。暗視野為如下之攝像條件,即,將照明發出之光線照射至被檢查體Sb,自被檢查體Sb反射之反射光或透過之透過光之入射方向不包含於視野內,但被檢查體Sb包含於視野內之位置及方向上設置攝像部130而成。暗視野中,由於不將來自被檢查體Sb之反射光或透過光直接入射至相機,而入射被檢查體Sb之表面產生之散射光,故而拍攝較明視野暗之圖像。 攝像部130可包含拍攝靜止圖像之數位靜態相機、與拍攝動畫之數位攝錄影機中任一者而構成。動畫包含以恆定之時間間隔(例如,1/120~1/12秒)反復進行拍攝獲得之靜止圖像而構成。 FIG. 3 exemplifies a case where an image of a common subject is captured under four imaging conditions at a time. The four types of imaging conditions are classified into two types as combinations of brightness and imaging direction, and are classified into two types as reflection and transmission as lighting methods. In the combination of brightness and imaging direction, there are bright field and dark field. Bright field is an imaging condition in which the subject Sb is irradiated with light from the illumination, and the imaging is set at a position and direction within the field of view in which the incident direction of the reflected light reflected from the subject Sb or the transmitted light transmitted is included. part 130 (camera). In the bright field, since reflected light or transmitted light from the subject Sb directly enters the camera, a bright image is captured. The dark field is an imaging condition in which the subject Sb is irradiated with light from the illumination, and the incident direction of the reflected light from the subject Sb or the transmitted light that passes through is not included in the field of view, but the subject Sb The imaging unit 130 is provided at a position and direction included in the field of view. In the dark field, since the reflected light or transmitted light from the object Sb is not directly incident on the camera, but the scattered light generated on the surface of the object Sb is incident, an image darker than that in the bright field is captured. The imaging unit 130 may include any one of a digital still camera for capturing still images and a digital video camera for capturing moving images. A video is composed of still images that are repeatedly captured at constant time intervals (for example, 1/120 to 1/12 second).

返回至圖1,輸入輸出部140以無線或有線可輸入輸出各種資料地與其他機器連接。輸入輸出部140例如具備輸入輸出介面或通信介面。輸入輸出部140例如連接於製造步驟中所使用之各種控制機器、測量機器、其他機器。Returning to FIG. 1 , the input/output unit 140 is connected to other devices wirelessly or wired so that various data can be input and output. The input/output unit 140 includes, for example, an input/output interface or a communication interface. The input/output unit 140 is connected to, for example, various control devices, measuring devices, and other devices used in manufacturing steps.

操作部150受理使用者之操作,產生與受理之操作相應之操作信號。操作部150例如可包含按鈕、旋鈕、刻度盤等專用之構件而構成,亦可包含滑鼠、鍵盤等通用之構件而構成。操作部150可為以無線或有線自其他機器接收操作信號之輸入介面。其他機器例如可為遙控器、多功能行動電話等可攜式機器。操作部150將取得之操作信號輸出至控制部110。The operation unit 150 accepts the user's operation, and generates an operation signal corresponding to the accepted operation. The operation unit 150 may include, for example, dedicated members such as buttons, knobs, and dials, or may include general-purpose members such as a mouse and a keyboard. The operation unit 150 may be an input interface for receiving operation signals from other devices wirelessly or through wires. Other devices can be portable devices such as remote controllers and multi-functional mobile phones, for example. The operation unit 150 outputs the obtained operation signal to the control unit 110 .

顯示部160顯示基於自控制部110輸入之顯示資料之圖像、文字、記號等顯示資訊。顯示部160例如可具備液晶顯示器、有機電致發光顯示器等中任一者。The display unit 160 displays display information such as images, characters, and symbols based on display data input from the control unit 110 . The display unit 160 may include, for example, any one of a liquid crystal display, an organic electroluminescent display, and the like.

記憶部170除上述程式外,還記憶用於控制部110執行之處理之各種資料、與控制部110取得之各種資料。記憶部170例如包含ROM(Read Only Memory:唯讀記憶體)、快閃記憶體、HDD(Hard Disk Drive:硬磁碟驅動器)等非揮發性之(非暫時性)記憶媒體而構成。又,記憶部170包含RAM(Random Access Memory:隨機存取記憶體)、與暫存器等揮發性之記憶媒體而構成。The storage unit 170 stores various data used for processing executed by the control unit 110 and various data obtained by the control unit 110 in addition to the above-mentioned programs. The storage unit 170 includes, for example, a nonvolatile (non-transitory) storage medium such as ROM (Read Only Memory), flash memory, and HDD (Hard Disk Drive). In addition, the storage unit 170 includes RAM (Random Access Memory: random access memory), and volatile storage media such as temporary registers.

控制部110作為實現其功能之功能部,包含缺陷檢測部112、缺陷判別部114、綜合判定部116、模型學習部118、製造步驟管理部120、新種類判定部122、及判定輸入部124而構成。該等功能部可分別包含專用之構件而構成,亦可藉由處理器執行特定程式,發揮其功能。於以下說明中,雖以被檢查體為薄型面板顯示器(FPD:Flat Panel Display)用玻璃基板之情形為主,但被檢查體亦可為其他物體。The control unit 110 includes a defect detection unit 112, a defect determination unit 114, a comprehensive determination unit 116, a model learning unit 118, a manufacturing step management unit 120, a new type determination unit 122, and a determination input unit 124 as a functional unit for realizing its functions. constitute. These functional parts may be constituted by respectively including dedicated components, and the processor may execute a specific program to perform its functions. In the following description, the object to be inspected is mainly a glass substrate for a flat panel display (FPD: Flat Panel Display), but the object to be inspected may be other objects.

控制部110作為實現其功能之功能部,包含缺陷檢測部112、缺陷判別部114、綜合判定部116、模型學習部118、製造步驟管理部120、新種類判定部122、及判定輸入部124而構成。該等功能部可分別包含專用之構件而構成,亦可藉由處理器執行特定程式,發揮其功能。於以下說明中,雖以被檢查體為薄型面板顯示器(FPD:Flat Panel Display)用玻璃基板之情形為主,但被檢查體亦可為其他物體。The control unit 110 includes a defect detection unit 112, a defect determination unit 114, a comprehensive determination unit 116, a model learning unit 118, a manufacturing step management unit 120, a new type determination unit 122, and a determination input unit 124 as a functional unit for realizing its functions. constitute. These functional parts may be constituted by respectively including dedicated components, and the processor may execute a specific program to perform its functions. In the following description, the object to be inspected is mainly a glass substrate for a flat panel display (FPD: Flat Panel Display), but the object to be inspected may be other objects.

返回至圖1,缺陷檢測部112將顯示包含各1個缺陷區域之部分之圖像作為缺陷圖像之圖像資料輸出至缺陷判別部114。缺陷檢測部112於未自被檢測體之圖像檢測出缺陷區域之情形時,將該被檢測體之圖像判定為良品圖像,並將顯示良品圖像之圖像資料輸出至綜合判定部116。又,於該情形時,缺陷檢測部112可將指示輸入畫面之顯示之指示資訊輸出至判定輸入部124。 另,於作為缺陷區域而確定之區域之大小對於水平方向、垂直方向各者未達特定大小之檢測閾值之情形時,缺陷檢測部112可忽視該缺陷區域之判定結果,將其確定為正常區域。作為檢測閾值,可於缺陷檢測部112預先設定較典型之缺陷之大小充分小之大小。 Returning to FIG. 1 , the defect detection unit 112 outputs, to the defect determination unit 114 , an image showing a portion including each one defect region as image data of a defect image. When the defect detection unit 112 does not detect a defect area from the image of the test object, it judges the image of the test object as a good product image, and outputs the image data showing the good product image to the comprehensive judgment unit 116. Moreover, in this case, the defect detection part 112 may output the instruction|instruction information which instructs the display of an input screen to the judgment input part 124. In addition, when the size of the area identified as a defect area does not reach the detection threshold of a specific size for each of the horizontal direction and the vertical direction, the defect detection unit 112 may ignore the determination result of the defect area and determine it as a normal area. . As a detection threshold, a size sufficiently smaller than the size of a typical defect can be set in advance in the defect detection unit 112 .

缺陷判別部114具備複數個缺陷判別器。於以下說明中,將缺陷判別器之個數設為N個(N為2以上之預先確定之整數),有時標註缺陷判別器114-1、114-2等子序號而區分各個缺陷判別器。同樣,有時各個缺陷判別器之構成部亦標註子序號來區分。各個缺陷判別器可未必僅由硬體構成,亦可藉由執行特定程式,實現其功能。The defect discriminating unit 114 includes a plurality of defect discriminators. In the following description, the number of defect discriminators is set to N (N is a predetermined integer greater than 2), and sub-numbers such as defect discriminators 114-1 and 114-2 are sometimes marked to distinguish each defect discriminator . Similarly, sometimes the components of each defect discriminator are marked with sub-numbers to distinguish them. Each defect discriminator may not only be constituted by hardware, but also realize its function by executing a specific program.

N個缺陷判別器114-1~114-N分別對被檢查體中產生之每個缺陷,進行將由自缺陷檢測部112輸入之圖像資料顯示之圖像所示之缺陷之種類判別為1種或複數種缺陷之候補中任一者之處理。設為可判別之1種或複數種缺陷之候補於N個缺陷判別器114-1~114-N之間可能不同。該等候補形成分別作為缺陷檢測部112整體而可判別之M種可判別種類之一部分。因此,M與N相等,或較N多。於M與N相等之情形時,N個缺陷判別器114-1~114-N作為判定被檢查體中產生之缺陷之種類是否為各不相同之各1種缺陷之種類,或為該1種之概率之1級判別器發揮功能。於M較N多之情形時,至少1個缺陷判別器作為判定被檢查體中產生之缺陷之種類是否為複數個種類中任一種,或為各個種類之概率之多級判別器發揮功能。於以下說明中,主要以M與N相等之情形為例。The N defect discriminators 114-1 to 114-N discriminate the type of the defect shown in the image displayed on the image data input from the defect detection unit 112 as one type for each defect generated in the object to be inspected. Or the handling of any one of multiple defect candidates. Candidates for one or a plurality of types of defects that can be identified may be different among the N defect classifiers 114-1 to 114-N. These candidates form a part of M kinds of discriminable types that can be discriminated as the defect detection unit 112 as a whole. Therefore, M is equal to N, or more than N. When M and N are equal, N defect discriminators 114-1 to 114-N are used to determine whether the types of defects generated in the inspected object are different types of defects, or are the same types of defects. The probability of a level 1 discriminator functioning. When M is greater than N, at least one defect discriminator functions as a multi-level discriminator for determining whether the type of defect generated in the object to be inspected is any of a plurality of types, or as a probability of each type. In the following description, the case where M and N are equal is mainly taken as an example.

接著,對缺陷判別器114-1之功能構成進行說明。缺陷判別器114-2~114-N只要無特別限制則具備與缺陷判別器114-1共通之功能構成,援用對缺陷判別器114-1之說明。 缺陷判別器114-1執行前處理步驟、推理步驟、缺陷判定步驟及良否判定步驟(相當於圖2之步驟S112-1、S114-1、S116-1及S118-1)。前處理步驟包含用以使輸入至自身裝置之圖像資料之形式與作為向推理步驟之輸入而要求之形式(例如,輸入值之要件數)匹配之處理。於前處理步驟包含維度削減、大小調整之一者或兩者。 Next, the functional configuration of the defect discriminator 114-1 will be described. The defect discriminators 114-2 to 114-N have the same functional configuration as the defect discriminator 114-1 unless otherwise specified, and the description of the defect discriminator 114-1 is referred to. The defect discriminator 114-1 executes preprocessing steps, reasoning steps, defect judgment steps, and good/failure judgment steps (corresponding to steps S112-1, S114-1, S116-1, and S118-1 in FIG. 2 ). The preprocessing step includes processing for matching the format of the image data input to the own device with the format required as input to the inference step (for example, the number of elements of the input value). One or both of dimensionality reduction, resizing, or both are included in the preprocessing step.

大小調整為變更設為處理對象之部分區域之水平方向、垂直方向之像素數之處理。大小調整可為放大或縮小。缺陷判別器114-1對輸入之圖像之每個像素之信號值進行插值,而確定放大或縮小後之圖像之每個像素之信號值。缺陷判別器114-1於插值中,例如可使用雙線性插值、雙三次插值等眾所周知之插值方法。缺陷判別器114-1並非簡單地以特定倍率變更圖像之尺寸,而可確定為對於各1個缺陷區域,包含該缺陷區域之整體,其水平方向或垂直方向之徑之最大值成為部分區域之水平方向或垂直方向之大小之常數r(例如,0.5以上且未達1之實數)倍。徑相當於橫截缺陷之區域之所有方向之線段之長度。例如,於檢測出之缺陷之形狀為橢圓形之情形時,作為該缺陷之徑之最大值由長軸之長度代表。於檢測出之缺陷之形狀為長方形之情形時,作為該缺陷之徑之最大值由長邊之長度代表。Resizing is the process of changing the number of pixels in the horizontal direction and vertical direction of the partial area set as the processing target. Resizing can be zoomed in or zoomed out. The defect discriminator 114-1 interpolates the signal value of each pixel of the input image to determine the signal value of each pixel of the enlarged or reduced image. The defect discriminator 114-1 can use, for example, well-known interpolation methods such as bilinear interpolation and bicubic interpolation for interpolation. The defect discriminator 114-1 does not simply change the size of the image at a specific magnification, but can determine that for each defect region, including the entire defect region, the maximum value of its horizontal or vertical diameter becomes a partial region The constant r (for example, a real number greater than 0.5 and less than 1) times the magnitude of the horizontal or vertical direction. The diameter is equivalent to the length of a line segment in all directions transverse to the area of the defect. For example, when the shape of the detected defect is an ellipse, the maximum value as the diameter of the defect is represented by the length of the major axis. When the shape of the detected defect is a rectangle, the maximum value of the diameter of the defect is represented by the length of the long side.

維度削減為將以各不相同之攝像條件拍攝1個部分區域之複數個圖像匯集成更少個數之圖像之處理。維度削減藉由圖像合成而實現。圖像合成包含將複數個圖像間之亮度值之加權和作為新信號值而於每個像素算出之處理。加權和相當於各個圖像之亮度值與對應於該圖像之權重係數之積即乘算值之圖像間之總和。雖藉由圖像合成而產生之圖像之數量為最低1個即可,但亦可為複數個(例如,3個)。於圖像合成中,例如,可使用阿爾法混合之方法。阿爾法混合為將設為合成對象之每個圖像之權重係數(阿爾法值)之總和正規化為1之方法。於缺陷判別器114-1~114-N之間,圖像間之權重係數之比可不同。藉此,根據每個缺陷判別器之缺陷之種類,作為與容易檢測該缺陷之攝像條件下之圖像相對之權重係數,可設定較與其他圖像相對之權重係數大之值。例如,對於損傷,以將與明視野下拍攝之圖像相對之權重係數設得相對較小,而使與暗視野下拍攝之圖像相對之權重係數較大之方式預先設定。自暗視野下取得之圖像更確實地檢測到損傷。Dimensionality reduction is a process of assembling a plurality of images of a partial area captured under different imaging conditions into a smaller number of images. Dimensionality reduction is achieved by image synthesis. Image synthesis includes a process of calculating a weighted sum of luminance values between a plurality of images for each pixel as a new signal value. The weighted sum is equivalent to the product of the luminance value of each image and the weight coefficient corresponding to the image, that is, the sum of the images of the multiplication value. Although the minimum number of images generated by image synthesis is one, it may be plural (for example, three). In image synthesis, for example, the method of alpha blending can be used. Alpha blending is a method of normalizing the sum of weight coefficients (alpha values) for each image to be combined to 1. Between the defect discriminators 114-1 to 114-N, the ratio of the weight coefficients between images may be different. Thereby, according to the type of defect of each defect discriminator, a larger value can be set for the weight coefficient of the image under the imaging conditions under which the defect can be easily detected than the weight coefficient of other images. For example, for damage, it is set in advance so that the weighting coefficient for an image captured under a bright field is relatively small, and the weighting coefficient for an image captured under a dark field is set relatively large. Lesions were more reliably detected from images taken under dark field.

於將藉由維度削減而產生之圖像之數量設為3個之情形時,缺陷判別器114-1可將產生之每個圖像之信號值作為各不相同之色調之色信號值採用於每個像素,而產生顯示將3種色調各者之圖像統合而成之1個彩色圖像之圖像資料。作為用以表現彩色圖像之表色系,可使用RGB表色系、YCrCb表色系等。例示藉由維度削減將4個攝像條件不同之部分區域之圖像Im01~Im04合成1個彩色圖像Im05之情形。首先,缺陷判別器114-1取得明視野下拍攝之圖像Im01、Im02及暗視野下拍攝之圖像Im03、Im04。此時,圖像Im01、Im03為拍攝透過光而得之圖像,圖像Im02、Im04為拍攝反射光而得之圖像。缺陷之形狀或亮度因攝像條件而異。圖像Im05由合成值表示,該合成值係於缺陷判別器114-1中,藉由紅、綠、藍,使用各不相同之權重係數合成4個圖像之信號值而得。例如,圖像Im05之紅通道之信號值係將圖像Im01之亮度值與圖像Im02之亮度值以0.7:0.3作為各個權重係數之比合成而得。圖像Im05之綠通道之信號值係將圖像Im03之亮度值與圖像Im04之亮度值以0.4:0.6作為各個權重係數之比合成而得。圖像Im05之藍通道之信號值係將圖像Im02之亮度值與圖像Im03之亮度值以0.5:0.5作為各個權重係數之比合成而得。When the number of images generated by dimensionality reduction is set to three, the defect discriminator 114-1 can use the signal value of each generated image as a color signal value of a different hue in For each pixel, image data displaying one color image obtained by integrating images of each of the three color tones is generated. As a colorimetric system for expressing a color image, an RGB colorimetric system, a YCrCb colorimetric system, or the like can be used. An example is shown in which the images Im01 to Im04 of four partial regions with different imaging conditions are synthesized into one color image Im05 by dimensionality reduction. First, the defect discriminator 114-1 acquires the images Im01 and Im02 captured under the bright field and the images Im03 and Im04 captured under the dark field. At this time, the images Im01 and Im03 are images obtained by capturing transmitted light, and the images Im02 and Im04 are images obtained by capturing reflected light. The shape or brightness of the defect varies depending on the imaging conditions. The image Im05 is represented by a synthetic value obtained by synthesizing signal values of four images in the defect discriminator 114-1 by using different weight coefficients for red, green, and blue. For example, the signal value of the red channel of the image Im05 is synthesized by combining the luminance value of the image Im01 and the luminance value of the image Im02 with a ratio of 0.7:0.3 as the respective weight coefficients. The signal value of the green channel of the image Im05 is synthesized by combining the luminance value of the image Im03 and the luminance value of the image Im04 with a ratio of 0.4:0.6 as each weight coefficient. The signal value of the blue channel of the image Im05 is synthesized by combining the luminance value of the image Im02 and the luminance value of the image Im03 with a ratio of 0.5:0.5 as each weight coefficient.

推理步驟為對於顯示設為處理對象之圖像之圖像資料,確定被檢查體中產生之缺陷之種類成為特定種類之概率之步驟。缺陷判別器114-1將形成圖像資料之每個像素之信號值作為輸入值輸入,並對輸入之輸入值使用特定機械學習模型,將其概率作為輸出值進行運算。輸出值為0以上且1以下之實數值。於缺陷判別器114-1,預先設定用以根據輸入值運算輸出值之參數組(模型參數)。 作為機械學習模型,例如,可使用卷積神經網路(CNN:Convolutional Neural Network)、循環神經網路(RNN:Recurrent Neural Network)等神經網路。可使用之機械學習模型不限於神經網路,亦可使用隨機森林(RF:Random Forest)、支援向量機(SVM:Support Vector Machine)等方法。 The inference step is a step of determining the probability that the type of defect occurring in the object to be inspected is a specific type with respect to the image data showing the image to be processed. The defect discriminator 114-1 inputs the signal value of each pixel forming the image data as an input value, uses a specific machine learning model for the input value, and calculates its probability as an output value. The output value is a real value between 0 and 1. In the defect discriminator 114-1, a parameter group (model parameter) for calculating an output value from an input value is set in advance. As the machine learning model, for example, a neural network such as a convolutional neural network (CNN: Convolutional Neural Network) or a recurrent neural network (RNN: Recurrent Neural Network) can be used. The machine learning model that can be used is not limited to the neural network, and random forest (RF: Random Forest), support vector machine (SVM: Support Vector Machine) and other methods can also be used.

缺陷判定步驟為基於推理步驟中算出之概率,判定是否符合設為判定對象之種類之缺陷之步驟。缺陷判別器114-1例如於算出之概率較特定缺陷判定閾值大之情形時,判定為符合該種類,於算出之概率為缺陷判定閾值以下之情形時,判定為不符合該種類。可對判定對象之缺陷之每個種類獨立設定缺陷判定閾值。例如,於各個缺陷判別器,預先設定相當於與發生風險較高之種類之缺陷相對之缺陷判定閾值般小之值,且預先設定相當於與發生風險較低之種類之缺陷相對之缺陷判定閾值般大之值。發生風險較高意指因發生而產生物質性或經濟性損失之可能性較高、或該等損失較大。即,存在如下傾向,即,越是發生風險較高之缺陷之種類即高風險缺陷,越不容許漏檢而被否定,且越是發生風險較低之缺陷之種類即低風險缺陷,越容許過度檢測。例如,對於損傷、氣泡、異物、污垢各者之風險依序降低,而對於損傷之風險較高。因此,藉由越是高風險缺陷將缺陷判定閾值設得越小,而可提高可相對無遺漏地檢測缺陷之再現率(Recall)。藉由越是發生風險較低之缺陷之種類即低風險缺陷,將缺陷判定閾值設得越大,而可提高可相對確實地作為缺陷檢測之適合率(Precision)。缺陷判別器114-1對設為判定對象之對象區域,產生顯示符合或不符合缺陷之缺陷標記,並將與對象區域建立對應而產生之缺陷標記記憶於記憶部170。 另,於本案中,如上述「異物」、「污垢」般,有時使用該物體之名稱來稱呼作為缺陷之種類而附著或混入有特定物體之狀態。 The defect judging step is a step of judging whether or not it corresponds to the defect of the type to be judged based on the probability calculated in the reasoning step. For example, the defect classifier 114 - 1 judges that the category is met when the calculated probability is greater than the specific defect judgment threshold, and judges that the class does not match when the calculated probability is below the defect judgment threshold. The defect judgment threshold can be set independently for each type of defect to be judged. For example, in each defect discriminator, a value as small as a defect judgment threshold corresponding to a type of defect with a high occurrence risk is set in advance, and a value corresponding to a defect judgment threshold corresponding to a type of defect with a low occurrence risk is set in advance Such a large value. A higher risk of occurrence means that the possibility of material or economic losses due to occurrence is higher, or that such losses are relatively large. That is, there is a tendency that the higher the occurrence of a type of defect with a higher risk, that is, a high-risk defect, the less it is allowed to be rejected due to missed detection, and the lower the occurrence of a type of defect with a lower risk, that is, a low-risk defect, the more acceptable overdetection. For example, the risk for damage, air bubbles, foreign objects, dirt each decreases in that order, while the risk for damage is higher. Therefore, by setting the defect judgment threshold smaller for higher-risk defects, the reproducibility (recall) of detecting defects relatively seamlessly can be improved. By setting the defect judgment threshold to be larger as the type of defect with a lower risk occurs, that is, a low-risk defect, the precision that can be relatively reliably detected as a defect can be improved. The defect discriminator 114 - 1 generates a defect mark indicating a conforming or non-conforming defect for the target area set as the determination target, and stores the defect mark generated in association with the target area in the memory unit 170 . In addition, in this case, like the above-mentioned "foreign matter" and "dirt", the name of the object may be used to refer to the state where a specific object is attached or mixed as a type of defect.

良否判定步驟為於缺陷判定步驟中判定為符合特定之缺陷之種類之情形時,對檢測出之缺陷基於特定之判定基準值判定缺陷之區域之良否之步驟。於缺陷判定步驟中判定為不符合缺陷之情形時,不執行良否判定步驟。缺陷判別器114-1例如於檢測出之缺陷之大小(尺寸)較預先設定於自身裝置之判定資料所示之判定基準值大之情形時,將該區域判定為不良品,於檢測出之缺陷之大小為判定基準值以下之情形時,將該區域判定為良品。各個缺陷雖一般由2維平面上之圖形表示,但缺陷判別器114-1將檢測出之缺陷之徑之最大值確定為缺陷之大小。可對判定對象之缺陷之每個種類獨立設定判定基準值。例如,對損傷之判定基準值為100~300 μm,對異物之判定基準值為50~120 μm。缺陷判別器114-1對於設為判定對象之缺陷與其種類,產生顯示良品或不良品之不良品標記,並與對象區域對應關聯而將不良品標記記憶於記憶部170。The good/failure judgment step is a step of judging the good/failure of the defective area based on a specific judgment reference value for the detected defect when it is judged to conform to a specific defect type in the defect judgment step. When it is judged to be non-compliant in the defect judgment step, the good/failure judgment step is not performed. For example, when the size (dimension) of the detected defect is larger than the judgment reference value shown in the judgment data preset in its own device, the defect discriminator 114-1 judges the area as a defective product. When the size of the area is below the judgment reference value, the area is judged as a good product. Each defect is generally represented by a graph on a two-dimensional plane, but the defect discriminator 114-1 determines the maximum value of the diameter of the detected defect as the size of the defect. The judgment standard value can be set independently for each type of defect of the judgment object. For example, the judgment standard value for damage is 100-300 μm, and the judgment standard value for foreign matter is 50-120 μm. The defect discriminator 114 - 1 generates a defective product mark indicating a good product or a defective product for the defect and its type to be judged, associates it with the target area, and stores the defective product mark in the memory unit 170 .

綜合判定部116參考檢測出之缺陷各者之良否狀態,判定被檢查體整體之狀態。綜合判定部116例如不管缺陷之種類如何,參考被檢查體之各缺陷相關而良否標記所示之所有良否判定,計數判定為不良品之缺陷之個數。綜合判定部116於所有種類之缺陷之個數較特定之判定基準個數多之情形時,將被檢查體判定為不良品,於所有種類之缺陷之個數為特定之判定基準個數以下之情形時,將被檢查體判定為良品。 由於缺陷判別部114中,於缺陷之種類之間良否判定步驟並行,故對1個缺陷對應關聯對於複數個缺陷之種類顯示不良品之不良品標記。綜合判定部116、該複數個不良品標記所對應關聯之缺陷可處理為符合該複數個種類。例如,於自被檢查體檢測出3個缺陷時,綜合判定部116對某缺陷001判定為符合損傷及異物之兩者,對缺陷002判定為符合污垢,對缺陷003判定為符合異物及污垢。缺陷判別部114可將現實中產生之缺陷之個數即3個確定為缺陷之個數,亦可將每個種類之件數之總和即5件確定為缺陷之個數。 The comprehensive judgment unit 116 refers to the good or bad state of each detected defect, and judges the overall state of the object to be inspected. For example, the comprehensive determination unit 116 counts the number of defects determined as defective products by referring to all the good/failure judgments indicated by the good/failure marks related to each defect of the object to be inspected, regardless of the type of the defect. The comprehensive judgment unit 116 judges the object to be inspected as a defective product when the number of defects of all types is greater than the number of specific judgment standards, and when the number of defects of all types is less than the number of specific judgment standards In this case, the inspected object is judged to be a good product. Since the defect determination part 114 parallelizes the quality determination steps between the types of defects, one defect is associated with a plurality of types of defects and a defective product flag is displayed. In the comprehensive determination unit 116, the defects associated with the plurality of defective product marks can be processed as conforming to the plurality of types. For example, when three defects are detected from the object to be inspected, the comprehensive determination unit 116 determines that a certain defect 001 corresponds to both damage and foreign matter, determines that defect 002 corresponds to dirt, and determines that defect 003 corresponds to foreign matter and dirt. The defect identification unit 114 may specify three as the number of defects that actually occur, or five as the total number of each type of defects.

另,於綜合判定部116中,例如,可預先設定表示缺陷之每個種類之缺陷個數之判定基準個數的判定資料,使用判定資料判定被檢查體之狀態(規則庫)。綜合判定部116按缺陷之每個種類,針對各缺陷參考良否標記所示之良否判定,而計數缺陷之個數。如有計數出之缺陷之個數為判定資料所示之判定基準個數以上之缺陷種類存在時,綜合判定部116將被檢查體判定為不良品,如不存在該缺陷之種類時,將被檢查體判定為良品。發生風險較高之缺陷種類之判定基準個數可設得較少,發生風險較低之缺陷種類之判定基準個數可設得較多。例如,若缺陷之種類為損傷、塵埃,則將判定基準個數分別設為1個、5個。圖5例示自被檢查體檢測出1個損傷與2個塵埃之情形。若假設僅關注特定種類之缺陷即塵埃,而不關注其他種類之缺陷時,由於檢測出之塵埃之個數為2個,少於判定基準件數,故被檢查體可判定為良品。但,由於損傷之個數為1個,與判定基準件數相等,故綜合判定部116將被檢查體判定為不良品。因此,藉由將各個缺陷之種類與判定基準個數進行比較,而可避免將具有不容許之缺陷之被檢查體判定為良品之風險。In addition, in the comprehensive judging unit 116, for example, judging data representing the judging reference number of defects for each type of defect can be set in advance, and the state of the object to be inspected can be judged using the judging data (rule base). The comprehensive judgment unit 116 refers to the good/failure judgment indicated by the good/failure mark for each defect for each type of defect, and counts the number of defects. If there is a type of defect whose counted number of defects is greater than the number of judgment criteria shown in the judgment data, the comprehensive judgment unit 116 judges the object to be inspected as a defective product, and if there is no such type of defect, it will be The inspection body was judged to be a good product. The number of judgment criteria for defect types with higher risk of occurrence can be set less, and the number of judgment criteria for defect types with lower risk of occurrence can be set larger. For example, if the types of defects are damage and dust, the number of determination reference objects is set to 1 and 5, respectively. FIG. 5 exemplifies a case where one damage and two dusts are detected from the object to be inspected. If it is assumed that only a specific type of defect, that is, dust, is paid attention to, and other types of defects are not concerned, since the number of detected dust is 2, which is less than the number of judging criteria, the inspected object can be judged as a good product. However, since the number of damages is one, which is equal to the number of judgment references, the comprehensive judgment unit 116 judges the object to be inspected as a defective product. Therefore, by comparing the type of each defect with the judgment reference number, it is possible to avoid the risk of judging an inspected object having an unacceptable defect as a good product.

可於綜合判定部116中預先設定缺陷之每個種類之權重係數,而算出缺陷之每個種類之權重係數與缺陷個數之乘算值之缺陷種類間之總和即加權和作為實效個數。綜合判定部116可於實效個數多於特定之判定基準個數時,將被檢查體判定為不良品,於實效個數為判定基準個數以下時,將被檢查體判定為良品。 自缺陷檢測部112向綜合判定部116輸入表示良品圖像之圖像資料時,可將被檢查體判定為良品。 綜合判定部116亦可不論缺陷之種類,當針對被檢查體之各缺陷進行良否標記所示之所有缺陷及種類之良否判定而判定為良品時,將表示顯示輸入畫面之指示資訊輸出至判定輸入部124。 The weight coefficient of each type of defect can be preset in the comprehensive judgment unit 116, and the sum of the multiplication value of the weight coefficient of each type of defect and the number of defects, that is, the weighted sum among the defect types, can be calculated as the effective number. The comprehensive judgment unit 116 can judge the object to be inspected as a defective product when the effective number is more than a specific judgment reference number, and judge the object to be inspected as a good product when the effective number is less than the judgment reference number. When image data representing a good product image is input from the defect detection unit 112 to the comprehensive determination unit 116, the object to be inspected can be determined to be a good product. The comprehensive judging unit 116 may output the instruction information indicating the display input screen to the judging input when all the defects and types indicated by the good/failure mark are judged as good or bad for each defect of the inspected object regardless of the type of the defect. Section 124.

判定為良品之被檢查體成為出貨對象,判定為不良品之被檢查體成為廢棄對象或向製造步驟退回之對象。綜合判定部116將顯示判定結果之判定結果資訊輸出至製造步驟管理部120。製造步驟管理部120參考自綜合判定部116輸入之判定結果資訊,將判定為不良品之被檢查體廢棄或退回至製造步驟。製造步驟管理部120例如將顯示向製造步驟退回、或廢棄之控制信號輸出至製造設備。 另,綜合判定部116可於判定結果資訊包含缺陷之每個種類之缺陷之個數或所有缺陷之個數之資訊。 The inspected objects judged to be good products are shipped, and the inspected objects judged to be defective products are discarded or returned to the manufacturing process. The comprehensive judgment unit 116 outputs judgment result information indicating the judgment result to the manufacturing step management unit 120 . The manufacturing process management part 120 refers to the judgment result information input from the comprehensive judgment part 116, and discards or returns the inspected object judged to be a defective product to the manufacturing step. The manufacturing step management unit 120 outputs, for example, a control signal indicating return to the manufacturing step or discard to the manufacturing facility. In addition, the comprehensive judgment unit 116 may include information on the number of defects of each type of defects or the number of all defects in the judgment result information.

模型學習部118將用於以缺陷判別部114判別缺陷之種類之機械學習模型之參數群作為模型參數算出。模型學習部118對於設為判別對象之缺陷之每個種類,對訓練資料((training data)、亦稱為學習資料(learning data)、示教資料(supervised data)等),使用特定之機械學習模型進行學習(learning)處理,算出模型參數。於模型學習部118,於進行學習處理前,預先設定包含複數組(典型而言,為1000~10000以上)已知之輸入值、及與該輸入值對應之輸出值之組即資料組的訓練資料。作為輸入值,使用包含每個像素之信號值之圖像資料。作為訓練資料所包含之各組之輸出值,於設為輸入值之圖像資料所示之圖像顯示設為判別對象之種類之缺陷之圖像之情形時賦予1,於其他情形時賦予0。模型學習部118於學習處理中,例如,可於設為輸入值之每個圖像資料,使用附加(註解(annotation))其缺陷之種類與其輸出值而構成之訓練資料。The model learning unit 118 calculates, as model parameters, a group of parameters of the machine learning model for discriminating the type of a defect by the defect discriminating unit 114 . The model learning unit 118 uses a specific machine-learning method for each type of defect to be discriminated against for training data (training data, also referred to as learning data, supervised data, etc.). The model performs a learning process to calculate model parameters. In the model learning unit 118, prior to the learning process, the training data including a set of known input values (typically, 1,000 to 10,000 or more) and an output value corresponding to the input values, that is, a data set, is set in advance. . As an input value, image data including a signal value of each pixel is used. The output value of each group included in the training data is assigned 1 when the image shown in the image data used as the input value shows an image of a defect of the type to be discriminated, and assigned 0 in other cases. . In the learning process, the model learning unit 118 can use, for example, training data configured by adding (annotation) the type of defect and its output value to each image data set as an input value.

於學習處理中,模型學習部118更新模型參數,直至以作為複數組整體相對於輸入值,使用特定之機械學習模型算出之運算值與輸出值之差之大小近似於零之方式收斂為止。更新前後之模型參數之變化量、或更新前後之差之大小之變化量於未達特定之收斂判定閾值時,可判定為模型參數已收斂。 於模型參數之更新中,例如可使用最陡下降法(steepest descent)、隨機梯度下降法(stochastic gradient descent)、共軛梯度法(conjugate gradient method)、倒傳遞演算法(back propagation)等方法。 作為差之大小之指標值,例如可使用平方和誤差(SSD:Sum of Squared Differences)、交叉熵誤差(cross entropy error)等誤差函數。模型學習部118將於缺陷之每個種類算出之模型參數設定於與該缺陷之種類之判別相關之缺陷判別器。 另,模型學習部118對於自判定輸入部124輸入之缺陷之種類,可將該缺陷之種類相關之輸出值設為1,並將設為判定對象之圖像資料作為輸入值之資料組追加於該缺陷之種類相關之訓練資料。又,模型學習部118亦可將除此以外之種類相關之輸出值設為0,並將設為判定對象之圖像資料作為輸入值之資料組追加於該缺陷之種類相關之訓練資料。且,模型學習部118可使用新追加之訓練資料,更新各個缺陷之種類相關之模型參數(轉移學習)。 In the learning process, the model learning unit 118 updates the model parameters until the magnitude of the difference between the calculated value calculated using a specific machine learning model and the output value becomes close to zero with respect to the input value as a whole complex array. When the change amount of the model parameters before and after the update, or the change amount of the difference between before and after the update does not reach a specific convergence judgment threshold, it can be determined that the model parameters have converged. For updating model parameters, methods such as steepest descent, stochastic gradient descent, conjugate gradient method, and back propagation can be used, for example. As the index value of the magnitude of the difference, for example, error functions such as sum of squared differences (SSD: Sum of Squared Differences) and cross entropy error (cross entropy error) can be used. The model learning unit 118 sets the model parameters calculated for each type of defect in the defect discriminator related to the discrimination of the type of defect. In addition, the model learning part 118 can set the output value related to the defect type to 1 for the type of defect input from the judgment input part 124, and add the image data set as the judgment object as a data set of the input value to the Training materials related to the type of defect. In addition, the model learning unit 118 may set the output values related to other types to 0, and add the image data set as the judgment target as a data group of input values to the training data related to the defect type. In addition, the model learning unit 118 can update the model parameters related to each defect type using the newly added training data (transfer learning).

製造步驟管理部120基於由缺陷判別部114判定之作為被檢查體之製品中產生之缺陷之狀態,控制該製品之製造步驟。於製造步驟管理部120,例如,預先包含缺陷之狀態及修正條件之資訊,且預先設定將該等對應關聯而顯示之控制資料。所謂修正條件係用以修正於該時點製造步驟中所使用之製造條件而賦予修正後之製造條件之條件。製造步驟管理部120作為缺陷之狀態之資訊之例,可使用被檢查體中產生之缺陷之各種類之個數。缺陷之每個種類之個數藉由自綜合判定部116輸入之判定結果資訊而傳遞。於製造條件,可包含用以執行製品之製造步驟之動作參數、及顯示其環境之環境參數。於動作參數,可包含形成製造設備之動力之旋轉速度、消耗電力等。於環境參數,可包含溫度、壓力等。修正條件可以用以賦予變更後之製造條件之任一種類之參數之變化量表示。製造步驟管理部120使用控制資料,確定與參考之缺陷之狀態對應之修正條件之資訊。製造步驟管理部120產生指示確定之修正條件下之製造條件之變更之控制資訊,並將產生之控制資訊輸出至製造設備。製造設備使用自製造步驟管理部120輸入之製造資訊所示之修正條件而修正製造條件,並於修正後之製造條件下執行製造步驟。The manufacturing process management part 120 controls the manufacturing process of the product based on the state of the defect which arises in the product which is the inspection object judged by the defect judging part 114 . In the manufacturing process management part 120, for example, the state of a defect and the information of a correction condition are contained in advance, and the control data which correlates these and displays are set in advance. The correction condition is a condition for correcting the production condition used in the production step at that point in time to give the corrected production condition. The manufacturing process management unit 120 can use, as an example of information on the status of defects, the number of various types of defects generated in the object to be inspected. The number of each type of defect is transmitted by the judgment result information input from the comprehensive judgment unit 116 . The manufacturing conditions may include operation parameters for executing the manufacturing steps of the product, and environmental parameters indicating its environment. The operating parameters may include the rotation speed and power consumption that form the power of the manufacturing equipment. The environmental parameters may include temperature, pressure, etc. Correction conditions can be expressed as the amount of change in any type of parameter given to the modified manufacturing conditions. The manufacturing process management unit 120 uses the control data to specify information on correction conditions corresponding to the state of the reference defect. The manufacturing step management section 120 generates control information indicating changes in manufacturing conditions under the determined modified conditions, and outputs the generated control information to the manufacturing equipment. The manufacturing equipment corrects the manufacturing conditions using the corrected conditions shown in the manufacturing information input from the manufacturing step management unit 120, and executes the manufacturing steps under the corrected manufacturing conditions.

新種類判定部122判定自被檢查體檢測出之缺陷之種類是否為與已知之缺陷之種類之任一者不同之新種類。新種類判定部122例如於判定缺陷檢測部112檢測出之缺陷之種類並非為缺陷判別部114判別之缺陷之種類之任一者時,判定該缺陷之種類為新種類。新種類判定部122例如對於與缺陷判別器114-1~114-N之各者對應之缺陷之種類,對任一缺陷標記皆顯示不符合之缺陷,可判定缺陷之種類為新種類。新種類判定部122於判定缺陷之種類為新種類之情形時,可將顯示缺陷之種類為新種類之通知畫面顯示於顯示部160。又,於該情形時,新種類判定部122可輸出於判定輸入部124顯示輸入畫面之顯示之指示資訊。藉此,可使作為使用者之作業員注意到缺陷之種類為新種類,而促進缺陷之種別或良否之判定輸入。The new type determination unit 122 determines whether the type of defect detected from the object is a new type different from any of the known types of defects. For example, when the new type determination unit 122 determines that the type of defect detected by the defect detection unit 112 is not any of the types of defects determined by the defect determination unit 114 , it determines that the type of the defect is a new type. For example, the new type determination unit 122 can determine that the type of the defect is a new type by displaying a defect that does not match any of the defect marks for the type of defect corresponding to each of the defect classifiers 114 - 1 to 114 -N. When the new type determination unit 122 determines that the type of the defect is a new type, it may display a notification screen indicating that the type of the defect is a new type on the display unit 160 . Also, in this case, the new type determination unit 122 may output instruction information for displaying an input screen displayed on the determination input unit 124 . Thereby, the operator as the user can be noticed that the type of defect is a new type, and the input of the type of defect or good or bad judgment can be facilitated.

判定輸入部124自操作部150輸入操作信號,該操作信號顯示圖像資料所示之圖像所表示之被檢查體中產生之缺陷之種類、或該被檢查體之良否。判定輸入部124例如可產生輸入畫面,並將產生之輸入畫面顯示於顯示部160,且上述輸入畫面包含:圖像資料所示之被檢查體之圖像;及畫面零件,其設為可藉由按下而指示缺陷之種類、被檢查體之良否之任一者、或該等兩者。所謂按下除於現實中按下外,還意指將顯示顯示區域所包含之位置之操作信號根據操作自操作部150或其他機器輸入。作為畫面零件,例如可使用按鈕、複選框、菜單欄等。 另,可於自缺陷檢測部112、綜合判定部116或新種類判定部122輸入顯示輸入畫面之顯示之指示資訊時,使輸入畫面顯示於顯示部160。藉此,對使用者促進種別或良否之判定輸入。 判定輸入部124將輸入之缺陷之種別、被檢查體之良否判定之資訊輸出至綜合判定部116。又,判定輸入部124亦可將輸入之缺陷之種別輸出至模型學習部118。 The judgment input unit 124 inputs an operation signal from the operation unit 150 , and the operation signal indicates the type of defect occurring in the object to be inspected represented by the image shown in the image data, or the quality of the object to be inspected. The judgment input unit 124 can generate an input screen, for example, and display the generated input screen on the display unit 160, and the above input screen includes: the image of the subject shown in the image data; Press to indicate the type of defect, the quality of the object to be inspected, or both. The so-called pressing means that besides actually pressing, an operation signal indicating a position included in the display area is input from the operation unit 150 or other devices according to the operation. As screen components, for example, buttons, check boxes, menu bars, etc. can be used. In addition, the input screen may be displayed on the display unit 160 when instruction information for displaying the display of the input screen is input from the defect detection unit 112 , the comprehensive determination unit 116 , or the new type determination unit 122 . Thereby, the judgment input of category or good/failure is facilitated for the user. The judgment input unit 124 outputs the type of the input defect and the information of the quality judgment of the inspected object to the comprehensive judgment unit 116 . In addition, the judgment input unit 124 may output the type of the input defect to the model learning unit 118 .

(檢查處理) 接著,對本實施形態之檢查處理之例進行說明。圖2係顯示本實施形態之檢查處理之例之流程圖。 (步驟S102)攝像部130作為被檢查體之例拍攝FPD用玻璃基板之圖像。其後,進入步驟S104之處理。 (步驟S104)缺陷檢測部112自攝像部130所拍攝之被檢測體之圖像檢測產生有缺陷之部位即缺陷區域。其後,進入步驟S110之處理。 (check processing) Next, an example of inspection processing in this embodiment will be described. FIG. 2 is a flow chart showing an example of inspection processing in this embodiment. (Step S102 ) The imaging unit 130 captures an image of the glass substrate for FPD as an example of the object to be inspected. Thereafter, the process proceeds to step S104. (Step S104 ) The defect detection unit 112 detects a defective region, that is, a defect region, from the image of the object captured by the imaging unit 130 . Thereafter, the process proceeds to step S110.

步驟S110之處理包含步驟S110-1~S110-N之處理。步驟S110-1~S110-N之處理分別於包含缺陷判別器114-1~114-N自拍攝之圖像檢測出之各個缺陷區域之共通之部分區域各者並列執行。關於步驟S110-2~S110-N之處理,由於分別與步驟S110-1之處理同樣,故援用其說明。 (步驟S112-1)缺陷判別器114-1對部分區域內之圖像執行前處理步驟。缺陷判別器114-1包含對於每個不同之攝像條件下拍攝之圖像之維度削減、及對於維度削減後之圖像之要件數的向輸入至圖像推理步驟之值之要件數之大小調整。一例中,作為設為處理對象之圖像之要件數,於水平方向之像素數、垂直方向之像素數、維數(訊框數)分別為200、200、4時,前處理後之圖像之水平方向之要件數、垂直方向之要件數、維數可分別為224、224、3。缺陷判別器114-1可再構成為水平方向之像素數、垂直方向之像素數分別為224、224之2維之彩色圖像。其後,進入步驟S114-1之處理。 The processing of step S110 includes the processing of steps S110-1 to S110-N. The processes of steps S110-1 to S110-N are executed in parallel in each of the common partial regions including the defect regions detected from the captured images by the defect discriminators 114-1 to 114-N. Since the processing of steps S110-2 to S110-N is the same as the processing of step S110-1, the description thereof is referred to. (Step S112-1) The defect discriminator 114-1 performs a pre-processing step on the image in a partial area. The defect discriminator 114-1 includes dimension reduction for images captured under different imaging conditions, and size adjustment of the number of elements of the dimensionally reduced image to the value input to the image reasoning step . In one example, when the number of elements of an image to be processed is the number of pixels in the horizontal direction, the number of pixels in the vertical direction, and the number of dimensions (number of frames) are 200, 200, and 4, respectively, the pre-processed image The number of elements in the horizontal direction, the number of elements in the vertical direction, and the number of dimensions can be 224, 224, and 3, respectively. The defect discriminator 114-1 can be reconstructed into a two-dimensional color image whose number of pixels in the horizontal direction and the number of pixels in the vertical direction are 224 and 224, respectively. Thereafter, it proceeds to the processing of step S114-1.

(步驟S114-1)缺陷判別器114-1對顯示前處理後之圖像之每個像素之信號值執行推理處理。缺陷判別器114-1將每個像素之信號值作為輸入值,使用特定之機械學習模型,算出部分區域所表示之缺陷之種類符合自身裝置中特定缺陷之種類之概率,作為輸出值。其後,進入步驟S116-1之處理。 (步驟S116-1)缺陷判別器114-1執行缺陷判定步驟。缺陷判別器114-1藉由算出之概率是否較設定於自身裝置之特定缺陷判定閾值大,而判定缺陷之種類是否符合自身裝置中特定缺陷之種類。其後,進入步驟S118-1之處理。 (步驟S118-1)缺陷判別器114-1執行良否判定步驟。缺陷判別器114-1例如基於檢測出之缺陷之大小是否較設定於自身裝置之判定基準值大而判定良否。其後,進入步驟S122之處理。 (Step S114-1) The defect discriminator 114-1 performs inference processing on the signal value of each pixel of the image processed before displaying. The defect discriminator 114-1 takes the signal value of each pixel as an input value, uses a specific machine learning model, and calculates the probability that the type of defect represented by a part of the region matches the specific type of defect in its own device, as an output value. Thereafter, it proceeds to the processing of step S116-1. (Step S116-1) The defect judging unit 114-1 executes a defect judging step. The defect discriminator 114-1 determines whether the type of the defect matches the type of the specific defect in its own device by checking whether the calculated probability is greater than the specific defect determination threshold set in its own device. Thereafter, it proceeds to the processing of step S118-1. (Step S118-1) The defect discriminator 114-1 executes a good/failure judging step. The defect classifier 114-1 judges good or bad based on, for example, whether the size of the detected defect is larger than a judgment reference value set in its own device. Thereafter, the process proceeds to step S122.

(步驟S122)綜合判定部116參考檢測出之各個缺陷之種類之良否狀態,作為被檢查體整體之狀態,判定為良品或為不良品。綜合判定部116例如藉由判定為不良品之缺陷之個數是否較特定判定基準個數多,而判定為良品或為不良品。其後,製造步驟管理部120將判定為良品之被檢查體作為出貨對象製品而採用,而將判定為不良品之被檢查體廢棄或退回至製造步驟。其後,結束圖2之處理。(Step S122 ) The comprehensive determination unit 116 refers to the good or bad status of each detected defect type, and determines whether it is a good product or a defective product as the overall state of the object to be inspected. The comprehensive judgment unit 116 judges whether it is a good product or a defective product by, for example, determining whether the number of defects that are defective products is larger than a specific judgment reference number. Thereafter, the manufacturing process management unit 120 adopts the inspected objects judged to be good products as products to be shipped, and discards or returns the inspected objects judged to be defective products to the manufacturing process. Thereafter, the processing of FIG. 2 ends.

如上所述,本實施形態之缺陷檢查裝置100具備對缺陷之每個種類,判定檢測出之缺陷是否符合該種類之缺陷判別器114-1~114-N。因此,用於1種類之判定之模型參數之修正不會對其他種類之缺陷之判定造成影響。又,可使用適合各個缺陷之種類之攝像條件、攝像部130或前處理。且,N個缺陷判別器114-1~114-N並列排列。即,各個缺陷判別器皆不管其他缺陷判別器各自之判定結果如何,判定檢測出之缺陷之種類是否符合特定缺陷之種類。因此,即便設為判定對象之缺陷之種類增加,於處理時間亦不會發生變化,且,各個缺陷判別器不管缺陷之良否之判定基準值為何,選擇與該種類之缺陷相對之資訊,例如該種類中固有之特徵量。但,判定對象之缺陷之種類越多,越需要更多之運算資源。As mentioned above, the defect inspection apparatus 100 of this embodiment is equipped with the defect discriminator 114-1-114-N for each type of defect, and judges whether the detected defect corresponds to the type. Therefore, the correction of the model parameters used for the determination of one type will not affect the determination of other types of defects. In addition, imaging conditions, the imaging unit 130, or pre-processing suitable for the type of each defect can be used. And, N defect discriminators 114-1 to 114-N are arranged in parallel. That is, each defect discriminator determines whether the type of the detected defect corresponds to the specific defect type regardless of the respective determination results of other defect discriminators. Therefore, even if the types of defects to be judged increase, the processing time does not change, and each defect classifier selects information corresponding to a defect of that type, such as the The characteristic quantity inherent in the category. However, the more types of defects to be judged, the more computing resources are required.

於缺陷檢查裝置100中,缺陷判別器114-1~114-N亦可串聯排列。更具體而言,於缺陷判別器114-n(n為1以上且N-1以下之整數)判定部分區域內之圖像中檢測出之缺陷之種類不符合自身裝置中特定缺陷之種類時,缺陷判別器114-n+1開始判定檢測出之缺陷之種類是否符合自身裝置中特定缺陷之種類之處理。缺陷判別器114-n於判定自部分區域內之圖像檢測出之缺陷之種類符合自身裝置中特定之種類時,將檢測出之缺陷之種類作為判定為符合之種類確定,而不進行缺陷判別器114-n+1之後之處理。於圖6所示之例中,於步驟S110-1中,缺陷判別器114-1判定檢測出之缺陷之種類是否為損傷,於判定為符合損傷時,結束圖6之處理。於判定為不符合損傷時,缺陷判別器114-1進入步驟S110-2之處理。於步驟S110-2中,缺陷判別器114-2判定檢測出之缺陷之種類是否為氣泡,於判定為符合氣泡時,結束圖6之處理。於判定為不符合氣泡時,缺陷判別器114-2進入之後之處理。In the defect inspection device 100, the defect discriminators 114-1˜114-N may also be arranged in series. More specifically, when the defect discriminator 114-n (n is an integer greater than 1 and less than N-1) determines that the type of defect detected in the image in the partial area does not match the type of specific defect in its own device, The defect discriminator 114-n+1 starts the process of judging whether the type of the detected defect matches the type of a specific defect in its own device. When the defect discriminator 114-n determines that the type of defect detected from the image in the partial area matches the specific type in its own device, it determines the type of the detected defect as the type determined to be consistent, and does not perform defect discrimination. The processing after the device 114-n+1. In the example shown in FIG. 6, in step S110-1, the defect discriminator 114-1 determines whether the type of the detected defect is damage, and ends the process of FIG. 6 when it is determined that it matches damage. When it is determined that it is non-compliant damage, the defect discriminator 114-1 proceeds to the processing of step S110-2. In step S110-2, the defect discriminator 114-2 determines whether the type of the detected defect is a bubble, and when it is determined that it matches a bubble, the process of FIG. 6 ends. When it is determined that the bubble does not match, the defect discriminator 114-2 enters the subsequent processing.

因此,由於藉由將缺陷判別器114-1~114-N串聯連接,一次執行缺陷判別步驟之缺陷判別器之數量限定於1個,故可有效地活用有限之計算資源。又,由於後續之缺陷判別器中使用之模型參數之學習可與先行之缺陷判別器中使用之模型參數之學習獨立執行,故可不產生學習所需之時間增加之問題而完成。但,開始藉由後續之缺陷判別器執行缺陷判別步驟之時序為先行之缺陷判別器之缺陷判別步驟結束之後。因此,如圖7所例示般,有缺陷檢查裝置100整體上判別對象之缺陷之種類越多,處理時間越慢之傾向。於圖7中,縱軸、橫軸分別顯示處理時間、模型數。模型數相當於設為檢測對象之缺陷之種類,即缺陷判別器之個數。圖7所例示之處理時間包含與模型數成比例之成分及與模型數無關之恆定之成分(約0.043秒,參考虛線)。前者相當於對各個缺陷之種類判定有無符合所需之時間。後者相當於攝影、前處理等與缺陷之種類無關而耗費之時間。但,於缺陷判別器之個數為10個以下之情形時,處理時間與使用自先前以來所使用之多級模型之情形大致同等。關於精度,當將缺陷判別器採用之機械學習模型為2級模型之情形、與多級模型之情形進行比較時,同等或2級模型為更高精度。2級模型為用於判定缺陷之種類是否符合特定1種類之機械學習模型。多級模型為用於判定缺陷之種類是否為特定複數個種類中之任一種之機械學習模型。於圖8所示之例中,對於多級模型、2級模型之各者,誤答率為4.0%、2.0%,2級模型為更高精度。Therefore, by connecting the defect discriminators 114-1 to 114-N in series, the number of defect discriminators performing the defect discrimination step is limited to one, so limited computing resources can be effectively utilized. Also, since the learning of the model parameters used in the subsequent defect discriminator can be performed independently of the learning of the model parameters used in the preceding defect discriminator, it can be completed without the problem of increasing the time required for learning. However, the timing at which the subsequent defect discriminator starts to execute the defect discriminating step is after the defect discriminating step of the preceding defect discriminator is completed. Therefore, as illustrated in FIG. 7 , as the defect inspection apparatus 100 as a whole has more types of defects to be discriminated, the processing time tends to be slower. In FIG. 7 , the vertical axis and the horizontal axis respectively show the processing time and the number of models. The number of models corresponds to the type of defect to be detected, that is, the number of defect discriminators. The processing time illustrated in FIG. 7 includes a component proportional to the number of models and a constant component independent of the number of models (approximately 0.043 seconds, see dashed line). The former is equivalent to the time required for judging compliance with each defect type. The latter is equivalent to the time spent on photography, pre-processing, etc. regardless of the type of defect. However, when the number of defect discriminators is 10 or less, the processing time is almost the same as the case of using the conventionally used multi-stage model. With regard to accuracy, when comparing the case where the machine learning model adopted by the defect discriminator is a two-level model, and the case of a multi-level model, the equivalent or two-level model has higher accuracy. The level 2 model is a machine learning model used to determine whether the type of defect conforms to a specific type 1. The multi-level model is a machine learning model used to determine whether the type of defect is any one of a plurality of specific types. In the example shown in FIG. 8 , the false answer rates were 4.0% and 2.0% for each of the multi-level model and the two-level model, and the two-level model had higher accuracy.

另,對於串聯連接之缺陷判別器114-1~114-N,可將分別設為判別對象之第1~第N種類之缺陷,以成為其等之產生頻率之降序之方式預先確定。由於越頻繁出現之種類之缺陷越早地被檢測到,故處理時間不會變得過大而完成。又,缺陷判別器114-1~114-N可將分別設為判別對象之第1~第N種類之缺陷,以成為其等之風險大小之降序之方式預先確定。由於風險越大之種類之缺陷越早地被檢測到,故可減少因缺陷之檢測延遲所致之損害。In addition, for the defect classifiers 114-1 to 114-N connected in series, the first to N-th types of defects that are the object of discrimination can be determined in advance in descending order of their frequency of occurrence. Since the more frequently occurring types of defects are detected earlier, the processing time does not become excessive to complete. In addition, the defect classifiers 114-1 to 114-N may predetermine the first to Nth types of defects that are respectively subject to discrimination in descending order of their risk levels. Since the defects of the higher risk type are detected earlier, the damage caused by the detection delay of the defects can be reduced.

接著,使用圖9對新種類判定部122之另一構成例進行說明。新種類判定部122執行新種類判定步驟(步驟S122-n)。新種類判定步驟包含前處理步驟(步驟S122-a)、推理步驟(步驟S122-b)、新種類度計算步驟(步驟S122-c)及新種類度判定步驟(步驟S122-d)。但,於圖9中,雖省略了步驟S110-3之圖示,但並非意指省略步驟S110-3之處理。Next, another configuration example of the new type determination unit 122 will be described using FIG. 9 . The new type determination unit 122 executes a new type determination step (step S122-n). The new category determination step includes a preprocessing step (step S122-a), an inference step (step S122-b), a new category degree calculation step (step S122-c), and a new category degree determination step (step S122-d). However, in FIG. 9, although the illustration of step S110-3 is omitted, it does not mean that the processing of step S110-3 is omitted.

於步驟S122-a中,新種類判定部122進行與步驟S112-1或步驟S112-2同樣之前處理步驟。 於步驟S122-b中,新種類判定部122進行對輸入至自身裝置之部分圖像使用N級之機械學習模型之推理,擷取於推理中算出之特徵量。作為N級之機械學習模型,例如可使用將作為缺陷之種類為N種類之各者之概率作為輸出值運算之N級之神經網路(例如,CNN)。於新種類判定部122預先設定模型參數,該模型參數係對於各組,對設為輸入值之圖像資料所示之圖像顯示之缺陷之種類,使用賦予1作為與該種類對應之維之輸出值,且附加0作為與其他種類對應之維之輸出值之訓練資料而習得。且,新種類判定部122除構成自身裝置之神經網路之輸入層與輸出層以外,還可將自特定之中間層輸出之運算值作為顯示其圖像之特徵之特徵量而取得。另,使用設定之模型參數,算出對已知缺陷之種類之各個圖像藉由後述之方法顯示圖像(缺陷)之特徵之特徵量,而對於各個缺陷之種類,將特徵量之代表值(例如,重心)預先設定於新種類判定部122。 In step S122-a, the new type determination unit 122 performs the same previous processing steps as step S112-1 or step S112-2. In step S122-b, the new type determination unit 122 performs inference using an N-level machine learning model on a partial image input to its own device, and extracts the feature value calculated in the inference. As an N-level machine learning model, for example, an N-level neural network (for example, CNN) that calculates the probability of each of the N types of defects as an output value can be used. In the new type determination part 122, a model parameter is set in advance, and the model parameter is for each group, for the type of the defect shown in the image shown in the image data set as the input value, use 1 as the dimension corresponding to the type. output value, and append 0 as the training data for the output value of the dimension corresponding to other types to learn. In addition, the new type determination unit 122 may obtain the calculated value output from a specific intermediate layer as a feature quantity showing the characteristics of the image in addition to the input layer and output layer of the neural network constituting its own device. In addition, using the set model parameters, calculate the feature quantity of each image of the known defect type by the method described later to display the characteristics of the image (defect), and for each defect type, the representative value of the feature quantity ( For example, center of gravity) is set in the new type determination unit 122 in advance.

於步驟S122-c中,新種類判定部122計算於缺陷之每個種類確定之特徵量之代表值與取得之特徵量之距離,將於每個種類計算出之距離中之最小值確定為新種類度。圖10於以設為要件之特徵量X、Y伸展出之特徵量空間中,以星形標記表示顯示與檢測出之缺陷(檢測缺陷)相對之特徵量之二維之向量。且,作為缺陷之種類,將污垢、損傷、氣泡、塵埃各者之代表值(×形標記)與算出之特徵量之距離中氣泡之代表值與特徵量之距離作為新種類度算出。In step S122-c, the new type determination unit 122 calculates the distance between the representative value of the feature value determined for each type of defect and the obtained feature value, and determines the minimum value among the distances calculated for each type as the new value. Kind of degree. FIG. 10 shows two-dimensional vectors showing feature quantities corresponding to detected defects (detection defects) with star marks in the feature quantity space extended by feature quantities X and Y as requirements. And, as the type of defect, the distance between the representative value of air bubbles and the feature amount among the distances between the representative values (X-shaped marks) of each of dirt, damage, air bubbles, and dust and the calculated feature amount is calculated as a new type degree.

返回至圖9,於步驟S122-d中,新種類判定部122於算出之新種類度較特定距離之閾值大之情形時,判定缺陷之種類為新種類,於為特定距離之閾值以下之情形時,判定缺陷之種類不為新種類。新種類判定部122將較任一種類之特徵量之方差充分大之值確定為距離之閾值。作為顯示距離之指標值,例如可使用馬式距離(Mahalanobis' distance)、閔可夫斯基距離(Minkowski's distance)、曼哈頓距離(Manhattan distance)、餘弦相似度(cosine similarity)等。 另,新種類判定部122於判定缺陷之種類為新種類時,可將顯示設為判定對象之缺陷之種類為新種類之新種類檢測資訊輸出至綜合判定部116。又,綜合判定部116於自新種類判定部122輸入新種類檢測資訊時,對於新種類檢測資訊所示之缺陷,可捨棄良否標記。藉此,避免錯誤採用已存之判定結果。 Returning to FIG. 9, in step S122-d, the new type determination unit 122 determines that the type of the defect is a new type when the calculated new type degree is greater than the threshold value of the specific distance, and is below the threshold value of the specific distance. , it is determined that the type of defect is not a new type. The new category determination unit 122 determines a value sufficiently larger than the variance of the feature value of any category as the threshold value of the distance. As an index value showing the distance, for example, Mahalanobis' distance, Minkowski's distance, Manhattan distance, cosine similarity, etc. can be used. In addition, when the new type determination unit 122 determines that the type of the defect is a new type, it may output new type detection information indicating that the type of the defect set as the determination target is a new type to the comprehensive determination unit 116 . Furthermore, when the new type detection information is input from the new type determination portion 122, the comprehensive judgment unit 116 may discard the good/failure flag for the defect indicated by the new type detection information. In this way, it is avoided to mistakenly adopt the stored judgment result.

新種類判定部122可將顯示判定為新種類之缺陷之圖像之特徵量確定為新種類之代表值。新種類判定部122於自其他圖像資料算出之特徵量與新種類之代表值之距離為特定距離以內之情形時,可判定該圖像資料所示之缺陷之種類為新種類。且,模型學習部118可進行使用訓練資料之學習處理,確定用以自圖像資料判別新種類之缺陷之模型參數,且上述訓練資料包含賦予顯示新種類之缺陷之圖像之圖像資料作為輸入值,賦予1作為輸出值之複數個組、及賦予顯示其他種類之缺陷之圖像之圖像資料作為輸入值,賦予0作為輸出值之複數個組。缺陷判別部114可構成用以使用確定之模型參數判別新種類之缺陷之新缺陷判定器。The new type determination unit 122 may specify the feature amount of an image showing a defect determined as a new type as a representative value of the new type. The new type determination unit 122 can determine that the type of the defect shown in the image data is a new type when the distance between the feature quantity calculated from other image data and the representative value of the new type is within a certain distance. Furthermore, the model learning unit 118 may perform learning processing using training data to determine model parameters for discriminating new types of defects from image data, and the training data includes image data assigned to images showing new types of defects as As an input value, assign 1 as a plurality of sets of output values, and assign image data showing images of other types of defects as input values, and assign 0 as a plurality of sets of output values. The defect identifying unit 114 may constitute a new defect determiner for identifying a new type of defect using the determined model parameters.

接著,使用圖11與圖12就製造步驟管理部120對製造步驟之控制之例進行說明。圖11、圖12所例示之處理包含步驟S102-S126之處理。關於步驟S102-S122之處理,援用上述說明。但,於步驟S122中,綜合判定部116作為設為被檢查體之製品中產生之缺陷之狀態之例,將顯示缺陷之每個種類之個數之判定結果資訊輸出至製造步驟管理部120。 步驟S102-S122之處理包含於一連串之檢查步驟中,且設為被檢查體之每個製品之缺陷之狀態、或其等之時間序列作為品質趨勢而獲得。 於步驟S124中,製造步驟管理部120參考預先設定於自身裝置之控制資料,確定與判定結果資訊所示之缺陷之狀態對應之修正條件(後述)。 於步驟S126中,製造步驟管理部120產生指示確定之修正條件下之製造條件之變更之控制資訊,並將產生之控制資訊輸出至製造設備(反饋)。製造設備使用自製造步驟管理部120輸入之製造資訊所示之修正條件修正製造條件。經修正之每個製品之製造條件、或其等之時間序列作為控制趨勢而獲得。於製造步驟中,製造設備使用修正後之製造條件執行製造步驟(步驟S200)。本實施形態可以包含步驟S102-S122之檢查步驟之製造方法而實現。 Next, an example of the control of the manufacturing steps by the manufacturing step management unit 120 will be described using FIGS. 11 and 12 . The processing illustrated in FIG. 11 and FIG. 12 includes the processing of steps S102-S126. Regarding the processing of steps S102-S122, the above description is used. However, in step S122 , the comprehensive judgment unit 116 outputs to the manufacturing process management unit 120 judgment result information showing the number of defects for each type as an example of the state of defects occurring in the product to be inspected. The processing of steps S102-S122 is included in a series of inspection steps, and the state of defects of each product of the object to be inspected, or a time series thereof is obtained as a quality trend. In step S124, the manufacturing process management unit 120 refers to the control data preset in its own device, and determines the correction condition (described later) corresponding to the state of the defect indicated by the judgment result information. In step S126, the manufacturing step management section 120 generates control information indicating a change in the manufacturing conditions under the determined modified conditions, and outputs the generated control information to the manufacturing equipment (feedback). The manufacturing facility corrects the manufacturing conditions using the correction conditions shown in the manufacturing information input from the manufacturing step management unit 120 . A time series of the corrected manufacturing conditions for each product, or the like, is obtained as a control trend. In the manufacturing step, the manufacturing equipment executes the manufacturing step using the corrected manufacturing conditions (step S200 ). This embodiment can be realized by a manufacturing method including the inspection step of steps S102-S122.

又,步驟S102-S126之處理可組入於例如切入、切斷步驟S203與研磨步驟S204之間等之製造步驟S200之中途,而非製造步驟S200之後。該情形時,於步驟S126中,製造步驟管理部120可將產生之控制資訊輸出至執行較步驟S102-S126更先行之步驟之上游之製造設備(反饋),亦可代替此,製造步驟管理部120又進而可將產生之控制資訊輸出至執行較步驟S102-S126更後續之步驟之下游之製造設備(前饋)。藉此,較步驟S102-S126更後續之下游之步驟中之製造條件進一步效率化。例如,於將步驟S102-S126組入研磨步驟S204之前之情形時,基於步驟S126中產生之控制資訊,於研磨步驟S204中調整研磨量。In addition, the processing of steps S102-S126 may be incorporated in the middle of the manufacturing step S200 such as between the cutting step S203 and the grinding step S204, rather than after the manufacturing step S200. In this case, in step S126, the manufacturing step management part 120 may output the generated control information to the upstream manufacturing equipment (feedback) that executes the steps earlier than steps S102-S126, or instead of this, the manufacturing step management part 120 can further output the generated control information to the downstream manufacturing equipment that executes the steps subsequent to steps S102-S126 (feed-forward). Thereby, the manufacturing conditions in the steps downstream of the steps S102-S126 are further streamlined. For example, when the steps S102-S126 are combined before the grinding step S204, the grinding amount is adjusted in the grinding step S204 based on the control information generated in the step S126.

接著,就對玻璃基板之製造步驟之應用例進行說明。關於製造步驟之整體,例如,更詳細地記載於國際公開第2012/090766號公報、專利第5983406號公報,關於研磨步驟,例如,更詳細地記載於專利第4862404號公報、專利4207153號公報。 玻璃基板係使用浮法、熔融法等製法而製造。圖13所例示之玻璃基板之製造步驟S200例如包含熔解步驟S201、成形步驟S202、切入、切斷步驟S203、研磨步驟S204、製品部落下步驟S205及粉碎步驟S208。執行熔解步驟S201、成形步驟S202、切入、切斷步驟S203、研磨步驟S204、製品部落下步驟S205及粉碎步驟S208之各者之熔解機構、成形機構、切入、切斷機構、研磨機構、製品部落下機構及粉碎機構構成製造設備(未圖示)。本實施形態之缺陷檢查裝置100亦可包含於製造設備。 Next, an application example to a manufacturing process of a glass substrate will be described. The overall manufacturing process is described in more detail, for example, in International Publication No. 2012/090766 and Patent No. 5983406, and the grinding step is described in more detail, for example, in Patent No. 4862404 and Patent No. 4207153. A glass substrate is manufactured using manufacturing methods, such as a float method and a fusion method. The manufacturing step S200 of the glass substrate illustrated in FIG. 13 includes, for example, a melting step S201, a forming step S202, an incision and cutting step S203, a grinding step S204, a product drop step S205, and a crushing step S208. Melting mechanism, forming mechanism, cutting and cutting mechanism, grinding mechanism, product falling step S205 and crushing step S208 for performing melting step S201, forming step S202, cutting and cutting step S203, grinding step S204, product falling step S205 and crushing step S208 The lower mechanism and the crushing mechanism constitute the manufacturing equipment (not shown). The defect inspection device 100 of this embodiment may also be included in manufacturing equipment.

作為熔解機構,例如使用熔解爐。熔解爐於熔解步驟S201中,藉由將玻璃原料加熱而熔解形成熔融玻璃。作為成形機構,例如使用成形裝置。成形裝置具備熔融錫槽,於成形步驟S202中,於熔融錫槽內之錫上展開自熔解爐移送之熔融玻璃,將具有特定寬度之帶狀之玻璃成形為玻璃帶。玻璃帶載置於搬送輥之主搬送路,可作為設為製品之玻璃基板向包裝機構(未圖示)搬送。於直至到達包裝機構為止之期間,對玻璃基板執行切入、切斷步驟S203、研磨步驟S204及製品部落下步驟S205。作為執行切入、切斷步驟S203之切入、切斷機構,例如使用切入折斷裝置。切入折斷裝置為將流動於主搬送路之玻璃帶作為特定尺寸之玻璃基板而形成者,於搬送方向之上游具備切入線加工裝置,於較切入線加工裝置更下游具備折斷裝置。於切入、切斷步驟S203中,切入線加工裝置具備切割器,藉由將切割器之前端以特定壓力按壓至玻璃帶之表面,而於玻璃帶形成切入線。折斷裝置沿切入線分割玻璃帶並將其分割為特定大小之玻璃基板。As the melting means, for example, a melting furnace is used. In the melting furnace, in the melting step S201, the glass raw material is heated to melt to form a molten glass. As the forming mechanism, for example, a forming device is used. The forming device has a molten tin tank, and in the forming step S202, the molten glass transferred from the melting furnace is spread on the tin in the molten tin tank, and the ribbon-shaped glass having a specific width is formed into a glass ribbon. The glass ribbon is placed on the main conveying path of the conveying rollers, and can be conveyed to a packaging mechanism (not shown) as a glass substrate to be a product. During the period until reaching the packaging mechanism, the cutting and cutting step S203, the grinding step S204, and the product dropping step S205 are performed on the glass substrate. As the cutting and cutting mechanism for performing the cutting and cutting step S203, for example, a cutting and breaking device is used. The incision and breaking device is formed by using the glass ribbon flowing in the main conveyance path as a glass substrate of a specific size. It is equipped with a puncture line processing device upstream in the conveying direction, and a breaking device is provided downstream of the incision line processing device. In the cutting and cutting step S203, the cutting line processing device is provided with a cutter, and the cutting line is formed on the glass ribbon by pressing the front end of the cutter against the surface of the glass ribbon with a specific pressure. The breaking device divides the glass ribbon along the cutting line and divides it into glass substrates of a specific size.

作為執行研磨步驟S204之研磨機構,使用研磨分割後之玻璃基板之表面之研磨裝置。研磨裝置例如具備複數台自轉及公轉之圓形研磨具,於朝玻璃基板之搬送方向移動之狀態下,連續研磨玻璃基板(連續式)。研磨裝置以玻璃基板之移動中心線為基準,將直徑較玻璃基板之寬度小之圓形研磨具形成對,並沿其移動方向以鋸齒狀配置2對,使圓形研磨具超出移動中心線而研磨玻璃基板之表面。As a polishing mechanism for performing the polishing step S204, a polishing device that polishes the surface of the divided glass substrate is used. The polishing apparatus includes, for example, a plurality of circular grinding tools that rotate and revolve, and continuously polishes the glass substrate while moving in the conveying direction of the glass substrate (continuous type). The grinding device is based on the moving center line of the glass substrate, forms a pair of circular grinding tools with a diameter smaller than the width of the glass substrate, and arranges 2 pairs in a zigzag shape along the moving direction, so that the circular grinding tools exceed the moving center line. Grinding the surface of the glass substrate.

研磨裝置可具備用以於靜止之狀態下研磨玻璃基板之表面之構成(非連續式)。研磨裝置例如具備基板貼附台、膜框安裝台、研磨台、膜框拆卸台及基板拆卸台。基板貼附台於膜框貼附玻璃基板。膜框安裝台將膜框安裝於載體之下部。研磨台於將膜框安裝於載子後,使載子與研磨定盤相對靠近,並將貼附於膜體之基板之研磨面按壓至研磨定盤而進行研磨。膜框拆卸台自載子拆下膜框。基板拆卸台自膜框拆下研磨後之玻璃基板。The polishing device may have a configuration (discontinuous type) for polishing the surface of the glass substrate in a stationary state. The polishing apparatus includes, for example, a substrate attaching table, a film frame mounting table, a polishing table, a film frame removing table, and a substrate removing table. The substrate attaching station attaches the glass substrate to the film frame. The film frame installation table installs the film frame on the lower part of the carrier. After the film frame is installed on the carrier, the grinding table makes the carrier and the grinding table relatively close, and presses the grinding surface of the substrate attached to the film body to the grinding table for grinding. The film frame removal station removes the film frame from the carrier. The substrate removal table removes the ground glass substrate from the film frame.

作為執行製品部落下步驟S205之製品部落下機構,使用落下裝置。落下裝置具備控制部與旋動機構,於製品部落下步驟S205中,控制是否要自製造之玻璃基板之主搬送路落下。控制部於自缺陷檢查裝置100接收到顯示向製造步驟退回之控制信號時,使於旋動機構形成主搬送路之連結構件旋動。藉此,判定為不良品之玻璃基板落下,經過包裝機構而不出貨地退回至製造步驟。落下之玻璃基板因碰撞障礙物而破斷,成為破斷物。另一方面,於控制部不接收控制信號之情形時,維持主搬送路。因此,判定為良品之玻璃基板被搬送至包裝機構,成為出貨對象。 作為執行粉碎步驟S208之粉碎機構,使用粉碎機。粉碎機具備將破斷物粉碎之旋轉刀片,於粉碎步驟S208中,形成作為玻璃原料之玻璃屑。玻璃屑由製造設備中備置之帶式輸送機搬送,供給至熔解爐。 As the product dropping mechanism for performing the product dropping step S205, a dropping device is used. The dropping device has a control unit and a rotary mechanism, and controls whether to drop the manufactured glass substrate from the main conveying path in the product dropping step S205. When the control unit receives the control signal indicating return to the manufacturing step from the defect inspection apparatus 100, it rotates the connection member forming the main conveyance path in the rotary mechanism. Thereby, the glass substrate judged to be a defective product falls, passes through a packaging mechanism, and is returned to a manufacturing process without shipment. The dropped glass substrate is broken by hitting an obstacle and becomes a broken object. On the other hand, when the control unit does not receive the control signal, the main conveyance path is maintained. Therefore, the glass substrate judged to be a good product is conveyed to the packaging mechanism and becomes a shipping object. As a pulverizing mechanism for performing the pulverizing step S208, a pulverizer is used. The pulverizer is provided with a rotary blade for pulverizing the broken object, and forms glass shavings which are glass raw materials in the pulverization step S208. The glass shavings are transported by the belt conveyor installed in the manufacturing equipment and supplied to the melting furnace.

於本實施形態之檢查步驟中,典型而言,將由研磨步驟S204產生之研磨後之玻璃基板應用作為被檢查體。根據檢查對象之缺陷之種類,可應用由熔解步驟S201產生之熔融玻璃、由成形步驟S202產生之玻璃帶、或由切入、切斷步驟S203產生之研磨前之玻璃基板。In the inspection step of the present embodiment, typically, the polished glass substrate produced in the polishing step S204 is used as an object to be inspected. Depending on the type of defect to be inspected, the molten glass produced in the melting step S201, the glass ribbon produced in the forming step S202, or the glass substrate before grinding produced in the cutting and cutting step S203 can be used.

本實施形態之缺陷檢查裝置100可判別於各個步驟中可能產生之種類之缺陷,實現與判別之缺陷相應之控制。例如,玻璃基板中產生之氣泡,有於熔解步驟S201中熔解玻璃之溫度越低於特定之基準溫度則越會產生之傾向。因此,於用於控制製造步驟之控制資料中,建立關聯地預先設定為,作為檢測出之缺陷狀態的氣泡量越多,則作為修正條件的熔解爐之溫度上升量越多。藉此,製造步驟管理部120可隨著檢測出之氣泡增加而使熔融爐之溫度上升。The defect inspection device 100 of this embodiment can discriminate the types of defects that may occur in each step, and realize control corresponding to the discriminated defects. For example, bubbles generated in the glass substrate tend to be more likely to be generated as the temperature of the molten glass in the melting step S201 is lower than a specific reference temperature. Therefore, in the control data for controlling the manufacturing process, it is preliminarily set in association that the larger the amount of air bubbles as the detected defect state, the larger the temperature rise of the melting furnace as the correction condition. Thereby, the manufacturing process management part 120 can raise the temperature of a melting furnace as the detected bubble increases.

附著於玻璃基板表面之異物,有於研磨步驟S204中研磨時間較基準時間越短則越會殘存之傾向。因此,於控制資料中,建立關聯地預先設定為,作為檢測出之缺陷狀態的異物量越多,則作為修正條件的研磨時間之增加量越多。藉此,製造步驟管理部120可隨著檢測出之異物增加而延長研磨時間。 玻璃基板表面之損傷有因研磨步驟S204中使用之研磨劑劣化而產生之傾向。因此,於控制資料中,建立關聯地預先設定作為檢測出之缺陷狀態的損傷量之基準量、與作為修正條件的研磨具之更換。藉此,製造步驟管理部120可於檢測出之損傷量超過基準值時,更換研磨具。 損傷有亦因對研磨步驟S204中使用之研磨具之玻璃基板表面之按壓力不足而產生之傾向。因此,可於控制資料中,建立關聯地預先設定為作為檢測出之缺陷之狀態之損傷之量越多,則作為修正條件之研磨具之按壓力之增加量變得越多。藉此,製造步驟管理部120可隨著檢測出之損傷增加而提高對研磨具之玻璃基板表面之按壓力。 The foreign matter adhering to the surface of the glass substrate tends to remain as the polishing time in the polishing step S204 is shorter than the reference time. Therefore, in the control data, it is preliminarily set in association so that the larger the amount of foreign matter as the detected defect state, the larger the increase in the polishing time as the correction condition. In this way, the manufacturing step management unit 120 can extend the grinding time as the detected foreign objects increase. Damage to the surface of the glass substrate tends to occur due to deterioration of the abrasive used in the polishing step S204. Therefore, in the control data, the reference amount of the damage amount as the detected defect state and the replacement of the grinding tool as the correction condition are set in advance in association with each other. Thereby, the manufacturing process management unit 120 can replace the grinding tool when the detected damage amount exceeds the reference value. Damage also tends to occur due to insufficient pressing force on the surface of the glass substrate of the abrasive tool used in the polishing step S204. Therefore, in the control data, it can be set in advance in association with the amount of damage that is the state of the detected defect, the larger the amount of increase in the pressing force of the polishing tool as the correction condition becomes. Thereby, the manufacturing process management part 120 can increase the pressing force on the glass substrate surface of the grinding tool as the detected damage increases.

另,製造步驟管理部120可受理顯示與製造條件相對之修正條件之操作信號之自操作部150之輸入,並使將其變更條件與判定結果資訊所示之缺陷之狀態建立關聯之資訊包含於控制資料而保存。藉此,以藉由作為使用者之作業員進行操作而對製造設備指示之製造條件、與檢測出之缺陷之狀態建立關聯之資訊,更新控制資料。因此,更新之控制資料可用於基於檢測出之缺陷之狀態控制製造條件。In addition, the manufacturing process management unit 120 can receive an input from the operation unit 150 of an operation signal indicating a correction condition relative to the manufacturing condition, and include information associating the change condition with the state of the defect shown in the judgment result information. Control data and save. Thereby, the control data is updated with the information which correlates the manufacturing conditions instructed to the manufacturing equipment and the states of the detected defects by the operator operating as the user. Thus, updated control data can be used to control manufacturing conditions based on the status of detected defects.

(機械學習模型) 接著,對本實施形態之機械學習模型之例進行說明。圖14作為本實施形態之機械學習模型之一例顯示CNN。於圖14所示之例中,為2級模型,即,向CNN之輸入值為二維之圖像資料,算出一維之概率(標量)作為自CNN之輸出值。 CNN為人工神經網路之一種,具備1層輸入層、複數層中間層及輸出層。圖14所例示之CNN具備輸入層In02、6層中間層及輸出層Out16。6層中間層具備3層卷積層Cv04、Cv08、Cv12、2層池化層Pl06、Pl10及全耦合層Fc14。但,於交替重複2次1層卷積層與1層池化層後,後置1層卷積層Cv12,進而後置1層全耦合層Fc14。 各層具有1個以上之節點(亦稱為波節、神經元等)。各節點將與輸入值相對之特定函數之函數值作為輸出值輸出。 (machine learning model) Next, an example of the machine learning model of this embodiment will be described. Fig. 14 shows CNN as an example of the machine learning model of this embodiment. In the example shown in FIG. 14, it is a two-level model, that is, the input value to the CNN is two-dimensional image data, and the one-dimensional probability (scalar) is calculated as the output value from the CNN. CNN is a type of artificial neural network, which has an input layer, a plurality of intermediate layers, and an output layer. The CNN illustrated in FIG. 14 has an input layer In02, 6 intermediate layers, and an output layer Out16. The 6 intermediate layers have 3 convolutional layers Cv04, Cv08, and Cv12, 2 pooling layers P106, P110, and a fully coupled layer Fc14. However, after alternately repeating the 1-layer convolutional layer and 1-layer pooling layer twice, a subsequent convolutional layer Cv12, and then a subsequent fully-coupled layer Fc14. Each layer has one or more nodes (also called nodes, neurons, etc.). Each node outputs a function value of a specific function corresponding to an input value as an output value.

輸入層In02將作為輸入值輸入之測量信號所示之每個樣本點之信號值分別輸出至下一層。各個樣本點與各1個像素對應。於輸入層In02之各節點,輸入與該節點對應之樣本點之信號值,且輸入之信號值輸出至下一層對應之節點。於卷積層預先設定核心數。核心數相當於用於對各個輸入值之處理(例如,運算)的核心之個數。核心數通常較輸入值之個數少。核心意指用以一次算出1個輸出值之處理單位。於某層中算出之輸出值作為向下一層之輸入值而使用。核心亦稱為濾波器。核心尺寸顯示用於核心中之一次處理之輸入值之數量。核心尺寸通常為2以上之整數。The input layer In02 outputs the signal value of each sample point indicated by the measurement signal input as the input value to the next layer respectively. Each sample point corresponds to one pixel. At each node of the input layer In02, the signal value of the sample point corresponding to the node is input, and the input signal value is output to the corresponding node of the next layer. Preset the number of cores in the convolutional layer. The number of cores corresponds to the number of cores used for processing (for example, operations) on various input values. The number of cores is usually less than the number of input values. A core means a processing unit for calculating one output value at a time. The output value calculated in a certain layer is used as the input value of the next layer. Cores are also known as filters. The kernel size shows the number of input values used for one processing in the kernel. The core size is usually an integer greater than 2.

池化層與卷積層根據複數個輸入值算出顯示其特徵之特徵量。作為特徵量,卷積層Cv04、Cv08、Cv12與池化層Pl06、Pl10中自任一特定層之輸出值可用於判定新種類之缺陷。 卷積層係如下所述之層,即,於複數個節點各者,對自上一層輸入之輸入值,於每個核心進行卷積運算而算出卷積值,算出與將算出之卷積值與偏壓値相加而得之修正值相對之特定活性化函數之函數值作為輸出值,並將算出之輸出值輸出至下一層。另,於卷積運算中,於各節點自上一層輸入1個或複數個輸入值,並對各個輸入值使用獨立之卷積係數。卷積係數、偏壓値及活性化函數之參數為1組模型參數之一部分。 The pooling layer and the convolutional layer calculate the feature quantities showing their characteristics based on multiple input values. As feature quantities, the output values from any specific layer in the convolutional layers Cv04, Cv08, Cv12 and pooling layers P106, P110 can be used to determine new types of defects. The convolutional layer is a layer as follows, that is, at each of the plurality of nodes, the convolution operation is performed on each core for the input value input from the previous layer to calculate the convolution value, and the calculated convolution value is calculated and calculated. The function value of the specific activation function relative to the correction value obtained by adding the bias value is used as an output value, and the calculated output value is output to the next layer. In addition, in the convolution operation, one or more input values are input to each node from the upper layer, and an independent convolution coefficient is used for each input value. The parameters of convolution coefficient, bias value and activation function are part of a set of model parameters.

作為活性化函數,例如可使用正規化線形單元(Rectified Linear Unit)、雙彎曲函數等。正規化線形單元係作為與特定閾值(例如,0)以下之輸入值相對之輸出值確定為該閾值,將超出特定閾值之輸入值直接輸出之函數。因此,該閾值可為1組模型參數之一部分。又,關於卷積層,是否參考來自上一層之節點之輸入值、與是否向下一層之節點輸出輸出值亦可為1組模型參數之一部分。因此,與後述之全耦合層不同,卷積層之各節點未必以輸入輸入值之方式與上一層之所有節點耦合,未必以對下一層之所有節點輸出輸出值之方式耦合。As the activation function, for example, a rectified linear unit (Rectified Linear Unit), a double sigmoid function, or the like can be used. A normalized linear cell is defined as a function whose output value relative to an input value below a certain threshold (eg, 0) is determined as the threshold, and input values exceeding a certain threshold are output directly. Thus, the threshold may be part of a set of model parameters. Also, regarding the convolutional layer, whether to refer to the input value from the node of the previous layer, and whether to output the output value to the node of the next layer can also be part of a set of model parameters. Therefore, unlike the fully coupled layer described later, each node of the convolutional layer is not necessarily coupled to all nodes of the previous layer by inputting an input value, and is not necessarily coupled by outputting an output value to all nodes of the next layer.

池化層係具有節點之層,該節點係根據自上一層之複數個節點分別輸入之輸入值確定1個代表值,並將確定之代表值作為輸出值輸出至下一層。代表值例如使用統計性地代表最大值、平均值、眾數值等複數個輸入值之值。於池化層預先設定步幅。步幅顯示對於1個節點參考輸入值之上一層之相鄰節點之範圍。因此,池化層亦可視為將來自上一層之輸入值縮減(降取樣)至更低之維度,並將輸出值提供至下一層之層。The pooling layer is a layer with nodes that determine a representative value based on the input values input from multiple nodes in the previous layer, and output the determined representative value as an output value to the next layer. As the representative value, for example, a value that statistically represents a plurality of input values such as a maximum value, an average value, and a mode value is used. The stride is preset in the pooling layer. The stride shows the range of adjacent nodes one layer above the reference input value for 1 node. Therefore, a pooling layer can also be regarded as a layer that reduces (downsamples) the input value from the previous layer to a lower dimension and provides the output value to the next layer.

全耦合層係如下所述之層,即,於複數個節點各者,對自上一層輸入之輸入值進行卷積運算而算出卷積值,算出將算出之卷積值與偏壓値相加而得之運算值作為輸出值,並將算出之輸出值輸出至下一層。即,全耦合層係將對自上一層輸入之複數個輸入值全體,分別使用較輸入值之數量少之組數之參數組(核心)進行卷積處理而得之運算值輸出之層。因此,於全耦合層中,卷積係數、偏壓値及活性化函數之參數成為1組模型參數之一部分。如此,藉由於輸出層之緊鄰前方配置全耦合層,而可一面無遺漏地考慮對自上一層賦予之特性值造成顯著影響之成分,一面減少自由度,並導出最終之輸出值。A fully-coupled layer is a layer that, at each of a plurality of nodes, performs a convolution operation on the input value input from the previous layer to calculate a convolution value, and calculates and adds the calculated convolution value to a bias value. The obtained calculated value is used as an output value, and the calculated output value is output to the next layer. That is, the fully coupled layer is a layer that outputs an operation value obtained by performing convolution processing on all of the plurality of input values input from the previous layer using parameter sets (cores) that are smaller in number than the number of input values. Therefore, in the fully coupled layer, the parameters of the convolution coefficient, bias value and activation function become part of a set of model parameters. In this way, by arranging the fully coupled layer immediately before the output layer, the final output value can be derived while reducing degrees of freedom while fully considering the components that significantly affect the characteristic values given by the upper layer.

另,CNN之層之數量、每層之種別、各層之節點之數量等不限於圖14所示者。本實施形態之CNN只要具有可對具有複數個樣本點各者之信號值作為輸入值之測量信號,算出缺陷之每個種別之概率作為輸出值之構成即可。但,本實施形態之CNN如圖14所例示般,較佳為具備中間層,且該中間層係將1以上之卷積層與池化層交替重複1週期以上並依序積層而構成。這是為了藉由卷積層之重複,鎖定對特性值造成顯著影響之成分。另,於該卷積層之重複中,可省略池化層。In addition, the number of CNN layers, the type of each layer, the number of nodes in each layer, etc. are not limited to those shown in FIG. 14 . The CNN of this embodiment is only required to have a configuration capable of calculating the probability of each type of defect as an output value for a measurement signal having a signal value of each of a plurality of sample points as an input value. However, the CNN of this embodiment preferably has an intermediate layer as shown in FIG. 14 , and the intermediate layer is formed by sequentially stacking one or more convolutional layers and pooling layers alternately for one cycle or more. This is to lock components that have a significant impact on feature values through the repetition of convolutional layers. In addition, in the repetition of the convolutional layer, the pooling layer can be omitted.

又,作為3級以上之多級模型,只要使用算出要件數為3個以上之向量值作為輸出值之機械學習模型即可。若以應用於缺陷之種類判定之情形為例,則輸出值之要件係作為與該要件對應之缺陷之種類之概率而得。於圖14所示之例中,需於全耦合層Fc14,預先設定與各個輸出值之要件對應之參數組。因此,多級模型中,於模型學習中對所有參數組進行基於特定規範之最佳化。因此,如上所述,即便意欲僅對於1種類之缺陷之判定修正參數組,亦可能對其他種類之缺陷之判定結果造成影響。因此,本實施形態之缺陷判別部114較佳為使用複數個用以判定符合/不符合各1種缺陷之2級模型。Also, as a multi-level model of three or more levels, a machine learning model in which the number of calculation elements is three or more vector values as output values may be used. Taking the case of applying to the determination of the type of defect as an example, the element of the output value is obtained as the probability of the type of defect corresponding to the element. In the example shown in FIG. 14 , it is necessary to preset parameter groups corresponding to the requirements of each output value in the fully coupled layer Fc14 . Thus, in a multilevel model, optimization based on specific criteria is performed on all sets of parameters during model learning. Therefore, as described above, even if it is intended to modify the parameter set only for the determination of one type of defect, it may affect the determination results of other types of defects. Therefore, the defect identification unit 114 of the present embodiment preferably uses a plurality of two-level models for determining conformity/nonconformity of each type of defect.

另,於上述例中,作為向機械學習模型之輸入值,雖以應用每個像素之信號值之情形為主,但不限於此。缺陷檢查裝置100之控制部110可具備:特徵分析部(未圖示),其根據圖像資料算出顯示圖像所示之圖案(亦包含缺陷)之特徵之特徵量。且,缺陷判別器114-1~114-N之全部或一部分亦可代替每個像素之信號值,或將特徵分析部算出之特徵量與該信號值一起作為向機械學習模型之輸入值使用。模型學習部118作為形成用於算出該等機械學習模型之模型參數之訓練資料之輸入值,代替每個像素之信號值,或將特徵分析部算出之特徵量與該信號值一起作為向機械學習模型之輸入值使用。作為該特徵量,例如可使用圓形度、歐拉數、費雷特徑等形狀特徵參數、HOG(Histograms of Oriented Gradients:方向梯度直方圖)特徵量、SIFT(Scaled Invariance Feature Transform:尺度不變特徵變換)特徵量等用於圖像辨識之特徵量等之任一者,或其等之組合。換言之,算出之特徵量可作為顯示被檢查體之狀態之缺陷之特徵量使用。新種類判定部122為判定新種類,可使用特徵分析部算出之特徵量。 另,於判定資料中,作為顯示被檢查體之狀態之資訊,可代替缺陷之每個種類之缺陷之有無或個數而包含圖像特徵量。且,缺陷判別部114或綜合判定部116可進而具備:缺陷判別器,其參考判定資料,根據特徵分析部分析之圖像特徵量確定該缺陷之種類。 In addition, in the above example, although the signal value of each pixel is mainly used as the input value to the machine learning model, it is not limited to this. The control unit 110 of the defect inspection device 100 may include a feature analysis unit (not shown) that calculates feature quantities of the features of the pattern (including defects) shown in the display image based on the image data. Furthermore, all or a part of the defect discriminators 114-1 to 114-N may be used instead of the signal value for each pixel, or the feature quantity calculated by the feature analysis unit may be used as an input value to the machine learning model together with the signal value. The model learning unit 118 replaces the signal value of each pixel as an input value for forming the training data for calculating the model parameters of the machine learning model, or uses the feature quantity calculated by the feature analysis unit together with the signal value as an input value for machine learning. The input value of the model is used. As the feature quantity, for example, shape feature parameters such as circularity, Euler number, and Feret diameter, HOG (Histograms of Oriented Gradients: Histogram of Oriented Gradients) feature quantity, SIFT (Scaled Invariance Feature Transform: scale-invariant Feature Transformation) Any one of the feature quantities used for image recognition, such as feature quantities, or a combination thereof. In other words, the calculated feature quantity can be used as a feature quantity of a defect indicating the state of the object to be inspected. The new type determination unit 122 can use the feature quantity calculated by the feature analysis unit to determine the new type. In addition, in the judgment data, as information showing the state of the object to be inspected, instead of the presence or absence or the number of defects for each type of defect, image feature values may be included. Furthermore, the defect identification unit 114 or the comprehensive determination unit 116 may further include: a defect identification unit that refers to the determination data and determines the type of the defect based on the image feature value analyzed by the feature analysis unit.

如以上說明般,本實施形態之缺陷檢查裝置100為基於被檢查體之圖像而檢查被檢查體中產生之缺陷之缺陷檢查裝置,且具備複數個缺陷判別器,該缺陷判別器基於該圖像,使用特定之機械學習模型判別各不相同之缺陷之種類。各個缺陷判別器判別之缺陷之種類為由缺陷檢查裝置設為判別對象之特定數量之缺陷之種類之一部分。 又,複數個上述缺陷判別器可分別判定被檢查體中產生之缺陷之種類是否符合特定1種缺陷。 又,被檢查體為玻璃,可以具有使用上述缺陷檢查裝置之檢查步驟之製造方法而實現。 藉由該構成,各個缺陷判別器判定自圖像檢測出之缺陷之種類是否分別為特定數量之缺陷之種類之一部分。於特定之缺陷判別器變更用於判定缺陷之種類之參數組之情形時,與將特定數量之缺陷之種類全體設為判定對象之情形不同,不會對其他缺陷判別器所使用之參數組、或該缺陷之種類之判定造成影響。尤其,於各個缺陷判別器判定是否分別符合特定1種缺陷之情形時,進而避免判定精度之劣化。因此,系統管理變得更容易。 As described above, the defect inspection apparatus 100 of this embodiment is a defect inspection apparatus that inspects defects generated in an object to be inspected based on an image of the object to be inspected, and includes a plurality of defect discriminators based on the image For example, using a specific machine learning model to identify different types of defects. The type of defect discriminated by each defect discriminator is a part of the types of a specific number of defects which are set as discrimination objects by the defect inspection device. In addition, the plurality of defect discriminators can respectively determine whether the type of defect generated in the object to be inspected corresponds to a specific type of defect. In addition, the object to be inspected is glass, and can be realized by a manufacturing method having an inspection step using the above-mentioned defect inspection device. With this configuration, each defect discriminator determines whether or not the types of defects detected from the image are part of the specific number of types of defects. When a specific defect discriminator changes the parameter set used to determine the type of defect, unlike the case where all the types of a specific number of defects are set as the target of judgment, the parameter sets used by other defect discriminators, Or the determination of the type of the defect is affected. In particular, when each defect discriminator determines whether or not a specific defect is met, deterioration of determination accuracy can be avoided. Thus, system administration becomes easier.

又,複數個缺陷判別器各者亦可不管其他缺陷判別器之判定結果為何,並行判別被檢查體中產生之缺陷之種類。 藉由該構成,由於符合/不符合各個缺陷之種類之判定並列進行,故即便設為判別對象之缺陷之種類增加,處理時間亦不會增加,因此可實現迅速之處理。 Also, each of the plurality of defect discriminators can discriminate in parallel the type of defect generated in the object to be inspected regardless of the judgment results of other defect discriminators. With this configuration, since the determination of conformity/nonconformity for each type of defect is performed in parallel, even if the types of defects to be determined increase, the processing time does not increase, and thus rapid processing can be realized.

又,缺陷判別器之個數為N個,第n個缺陷判別器判定被檢查體中產生之缺陷之種類是否符合第n個缺陷之種類,於第n個缺陷判別器判定被檢查體中產生之缺陷之種類不符合第n個缺陷之種類時,第n+1個缺陷判別器可開始判定上述被檢查體中產生之缺陷之種類是否符合第n+1個缺陷之種類之處理。 藉由該構成,各個缺陷判別器串聯執行判定是否符合特定缺陷之種類之處理。由於避免處理量變得過大,故有助於經濟性實現。 Also, the number of defect discriminators is N, and the nth defect discriminator judges whether the type of defect generated in the inspected object conforms to the type of the nth defect, and the nth defect discriminator judges whether the type of defect generated in the inspected object When the type of the defect does not match the type of the nth defect, the n+1th defect discriminator can start the process of judging whether the type of the defect generated in the above-mentioned inspected object matches the type of the n+1th defect. With this configuration, each defect classifier executes in series the process of judging whether or not it matches the type of a specific defect. Since the amount of processing is prevented from becoming excessively large, it contributes to realization of economy.

又,n定為第n個缺陷之種類之產生頻率或風險大小之降序。 藉由該構成,由於越是產生頻率高之缺陷之種類或發生風險大之缺陷之種類越優先進行判別,故作為系統整體可抑制因缺陷之產生導致之損害。 Also, n is defined as the descending order of occurrence frequency or risk level of the nth defect type. With this configuration, since the types of defects with higher frequency of occurrence or types of defects with higher risk of occurrence are discriminated with higher priority, damage due to occurrence of defects can be suppressed as a whole system.

又,複數個缺陷判別器可分別使用機械學習模型擷取缺陷之特徵量。 藉由該構成,即便不預先定義特定之特徵量,亦表現與各個缺陷之種類相應之特徵。 Moreover, a plurality of defect discriminators can respectively use machine learning models to extract feature quantities of defects. With this configuration, even if a specific characteristic amount is not defined in advance, a characteristic corresponding to each defect type is expressed.

又,亦可具備:模型學習部,其確定模型參數,該模型參數用以對顯示包含特定種類之缺陷之圖像之圖像資料,使用機械學習模型判別該特定種類之缺陷。 藉由該構成,可使用顯示設為輸入值之圖像資料與設為輸出值之缺陷之種類之關係之訓練資料,確定用以判別該缺陷之種類之模型參數。因此,藉由將與使用環境相應之模型參數用於判別缺陷之種類,而可提高判定精度。 In addition, a model learning unit may be provided that determines model parameters for discriminating the specific type of defect using a machine learning model for image data showing images including a specific type of defect. With this configuration, the model parameters for discriminating the type of the defect can be determined using the training data showing the relationship between the image data used as an input value and the type of defect used as an output value. Therefore, determination accuracy can be improved by using model parameters corresponding to the use environment to determine the type of defect.

又,缺陷判別器亦可基於顯示對被檢查體之攝像條件不同之複數個圖像之圖像資料,判別缺陷之種類。 藉由該構成,可以圖像之特徵之每個攝像條件之差異為線索,更正確地判定缺陷之種類。 In addition, the defect classifier can also classify the type of defect based on image data showing a plurality of images under different imaging conditions of the object to be inspected. With this configuration, it is possible to more accurately determine the type of defect based on differences in image characteristics for each imaging condition.

又,亦可具備:新種類判定部,其將顯示缺陷之特徵之特徵量之空間中之距離,即於缺陷之每個種類預先確定之代表特徵量、與自圖像擷取之特徵量即擷取特徵量之距離算出,且於算出之距離相對於缺陷之種類之任一者皆較特定距離之閾值大之情形時,將自圖像檢測出之缺陷之種類判定為新種類。 藉由該構成,可將特徵與已知之缺陷之種類不同之缺陷判別為新種類之缺陷。因此,可促進與特徵不同之缺陷相應之步驟管理。 In addition, it is also possible to include: a new type determination unit that displays the distance in space between the characteristic quantities of the defects, that is, the representative feature quantities predetermined for each type of defect, and the feature quantities extracted from the image, i.e. The distance of the extracted feature is calculated, and when the calculated distance is greater than the threshold value of the specific distance for any of the types of defects, the type of defect detected from the image is determined as a new type. With this configuration, a defect whose characteristics are different from those of a known defect can be identified as a new type of defect. Therefore, step management corresponding to defects with different characteristics can be facilitated.

又,亦可具備:新種類判定部,其於不存在成功判別缺陷之種類之缺陷判別器時,將自上述圖像檢測出之缺陷之種類判定為新種類。 藉由該構成,可將無法判別種類之缺陷判別為新種類之缺陷。因此,可促進不依賴於已知之缺陷之種類之步驟管理。 Moreover, you may be equipped with the new type determination part which determines the type of the defect detected from the said image as a new type, when the defect classifier which successfully discriminated the type of a defect does not exist. With this configuration, it is possible to discriminate a defect whose type cannot be discriminated as a new type of defect. Thus, step management that is not dependent on the type of known defect can be facilitated.

又,亦可進而具備:製造步驟管理部,其基於複數個缺陷判別器判別之缺陷之狀態,確定用以修正被檢查體之製造條件之修正條件。 藉由該構成,可不依賴於人力而有效率地控制與判別之缺陷之狀態相應之被檢查體之製造步驟。 In addition, it may further include a manufacturing process management section that determines correction conditions for correcting the manufacturing conditions of the object to be inspected based on the states of defects discriminated by the plurality of defect detectors. With this configuration, it is possible to efficiently control the manufacturing steps of the object to be inspected in accordance with the state of the discriminated defect without relying on manpower.

又,亦可具備:特徵分析部,其根據圖像分析缺陷之特徵量;及第2缺陷判別器,其使用顯示缺陷之特徵量與該缺陷之種類之關係之判定資料,根據上述特徵分析部分析之缺陷之特徵量確定該缺陷之種類。 藉由該構成,基於已知之缺陷之特徵量與缺陷之種類之關係,確定與檢測出之缺陷之特徵量相應之缺陷之種類。由於可完全不依賴於機械學習模型而判定缺陷之種類,故可減少處理量。 In addition, it may also include: a feature analysis unit that analyzes the feature quantity of a defect based on an image; and a second defect discriminator that uses judgment data showing the relationship between the feature quantity of a defect and the type of the defect, based on the above-mentioned feature analysis unit. The characteristic quantity of the analyzed defect determines the type of the defect. With this configuration, the type of the defect corresponding to the detected characteristic amount of the defect is specified based on the known relationship between the characteristic amount of the defect and the type of defect. Since the types of defects can be determined without relying on the machine learning model at all, the amount of processing can be reduced.

又,亦可具備:判定輸入部,其將被檢查體中產生之缺陷之種類確定為取得之操作輸入所示之缺陷之種類。 藉由該構成,可知曉由使用者判定之缺陷之種類。由於可完全不依賴於機械學習模型而判定缺陷之種類,故可減少判定錯誤之風險。 In addition, a judgment input unit for specifying the type of defect occurring in the object to be inspected as the type of defect indicated by the obtained operation input may be provided. With this configuration, the type of defect judged by the user can be known. Since the types of defects can be determined without relying on the machine learning model, the risk of determination errors can be reduced.

又,第2缺陷判別器或判定輸入部亦可於複數個缺陷判別器確定被檢查體中產生之缺陷之種類之前,確定被檢查體中產生之缺陷。 藉由該構成,由於進行使用已知之缺陷之特徵量與缺陷之種類之關係之判定、或使用者之判定,故即便為無法藉由機械學習模型判定之缺陷之種類,亦可確定缺陷之種類。 In addition, the second defect classifier or the judgment input unit may specify the defect occurring in the object to be inspected before the plurality of defect classifiers specify the type of the defect occurring in the object to be inspected. With this configuration, since the judgment using the known relationship between the feature quantity of the defect and the type of the defect or the user's judgment is performed, even if the type of the defect cannot be determined by the machine learning model, the type of the defect can be identified .

又,本實施形態之玻璃之製造方法中,被檢查體為玻璃,且亦可具有使用上述缺陷檢查裝置之檢查步驟。Moreover, in the manufacturing method of the glass of this embodiment, the object to be inspected is glass, and may have the inspection process using the said defect inspection apparatus.

以上,雖參考圖式對該發明之實施形態詳細地進行了說明,但具體之構成並不限於上述者,於不脫離該發明之主旨之範圍內可進行各種設計變更等。As mentioned above, although the embodiment of this invention was described in detail with reference to drawing, the specific structure is not limited to the above-mentioned, and various design changes etc. are possible in the range which does not deviate from the summary of this invention.

例如,缺陷檢查裝置100可作為被檢查體之製造設備之一部分而實現,亦可為獨立於被檢查體之單一之機器。缺陷檢查裝置100不限於製造設備,亦可自資料累積裝置、PC(Personal Computer:個人電腦)等其他機器取得圖像資料。 又,缺陷檢查裝置100可具備攝像部130、操作部150及顯示部160,亦可省略其等之一部分或全部。攝像部130、操作部150及顯示部160可分別經由輸入輸出部140而連接。 For example, the defect inspection device 100 may be implemented as a part of the manufacturing equipment of the object to be inspected, or may be a single machine independent of the object to be inspected. The defect inspection device 100 is not limited to manufacturing equipment, and may acquire image data from other devices such as a data accumulation device and a PC (Personal Computer). Moreover, the defect inspection apparatus 100 may be equipped with the imaging part 130, the operation part 150, and the display part 160, and some or all of them may be omitted. The imaging unit 130 , the operation unit 150 , and the display unit 160 are respectively connectable via the input and output unit 140 .

於缺陷檢查裝置100中,可省略模型學習部118、製造步驟管理部120、新種類判定部122及判定輸入部124之一部分或全部。 根據被檢查體之種類或設為檢測對象之缺陷之種類或其數量,可省略缺陷檢測部112與綜合判斷部116之一者或兩者。 設為被檢查體之玻璃之寬度、長度、厚度等大小為任意。又,缺陷檢查裝置100可應用於判別作為被檢查體之玻璃以外之種類之物體,例如電路基板、晶圓等之缺陷之有無或缺陷之種類。 In the defect inspection device 100, part or all of the model learning unit 118, the manufacturing process management unit 120, the new type determination unit 122, and the determination input unit 124 may be omitted. One or both of the defect detection unit 112 and the comprehensive judgment unit 116 may be omitted depending on the type of the object to be inspected or the type or number of defects to be detected. The width, length, and thickness of the glass to be inspected are arbitrary. In addition, the defect inspection device 100 can be applied to determine the presence or absence of defects or the type of defects in objects other than glass as the object to be inspected, for example, circuit boards, wafers, and the like.

又,亦可將上述之實施形態中之缺陷檢查裝置100之一部分、或全部作為LSI(Large Scale Integration)等積體電路而實現。缺陷檢查裝置100之各功能區塊可個別地處理器化,亦可將一部分、或全部積體而處理器化。又,積體電路化之方法不限於LSI,亦可以專用電路、或通用處理器實現。又,於藉由半導體技術之進步而出現代替LSI之積體電路化之技術之情形時,亦可使用利用該技術之積體電路。 [產業上之可利用性] In addition, part or all of the defect inspection apparatus 100 in the above-mentioned embodiment may be realized as an integrated circuit such as LSI (Large Scale Integration). Each functional block of the defect inspection device 100 may be individually processed, or a part or all of them may be integrated and processed. In addition, the method of forming an integrated circuit is not limited to LSI, and it may be realized by a dedicated circuit or a general-purpose processor. In addition, when a technology of integrating circuits instead of LSI appears due to the advancement of semiconductor technology, it is also possible to use an integrated circuit utilizing this technology. [Industrial availability]

根據上述各態様之缺陷檢查裝置、缺陷檢查方法及製造方法,各個缺陷判別器判定自圖像檢測出之缺陷之種類是否分別為特定數量之缺陷之種類之一部分。於特定之缺陷判別器變更用於判定缺陷之種類之參數組之情形時,與將特定數量之缺陷之種類全體設為判定對象之情形不同,不會對其他缺陷判別器所使用之參數組、或該缺陷之種類之判定造成影響。因此,系統管理變得更容易。According to the defect inspection device, defect inspection method, and manufacturing method of the above-mentioned various types, each defect discriminator determines whether the types of defects detected from the image are part of the types of the specific number of defects. When a specific defect discriminator changes the parameter set used to determine the type of defect, unlike the case where all the types of a specific number of defects are set as the target of judgment, the parameter sets used by other defect discriminators, Or the determination of the type of the defect is affected. Thus, system administration becomes easier.

100:缺陷檢查裝置 110:控制部 112:缺陷檢測部 114:缺陷判別部 116:綜合判定部 118:模型學習部 120:製造步驟管理部 122:新種類判定部 124:判定輸入部 130:攝像部 140:輸入輸出部 150:操作部 160:顯示部 170:記憶部 Cv04,Cv08,Cv12:卷積層 Fc14:全耦合層 In02:輸入層 Out16:輸出層 Pl06,Pl10:池化層 S102,S104,S122,S124,S126,S200,S208:步驟 S102-S122:步驟 S110-1~S110-3:步驟 S112-1~S112-3:步驟 S114-1~S114-3:步驟 S116-1~S116-3:步驟 S118-1~S118-3:步驟 S122-a,S122-b,S122-c,S122-d,S122-n:步驟 S201~S205:步驟 Sb:被檢查體 100: Defect inspection device 110: control department 112:Defect detection department 114:Defect identification department 116:Comprehensive Judgment Department 118: Model Learning Department 120:Manufacturing step management department 122: New Type Judgment Department 124: Judgment input unit 130: Camera department 140: Input and output section 150: Operation Department 160: display part 170: memory department Cv04, Cv08, Cv12: convolutional layer Fc14: fully coupled layer In02: Input layer Out16: output layer Pl06, Pl10: pooling layer S102, S104, S122, S124, S126, S200, S208: steps S102-S122: Steps S110-1~S110-3: Steps S112-1~S112-3: Steps S114-1~S114-3: Steps S116-1~S116-3: Steps S118-1~S118-3: Steps S122-a, S122-b, S122-c, S122-d, S122-n: steps S201~S205: Steps Sb: object to be inspected

圖1係顯示本實施形態之缺陷檢查裝置之構成例之概略方塊圖。 圖2係顯示本實施形態之檢查處理之第1例之流程圖。 圖3係用以說明本實施形態之攝像部中之攝像條件之說明圖。 圖4係顯示被檢查體之圖像之一例之圖。 圖5係顯示被檢查體之圖像之其他例之圖。 圖6係顯示本實施形態之缺陷判別器之連接例之圖。 圖7係顯示本實施形態之缺陷判別處理之處理時間之例之圖。 圖8係顯示本實施形態之機械學習模型所致之缺陷之種別之誤答率之例之圖。 圖9係顯示本實施形態之檢查處理之第2例之流程圖。 圖10係用以說明本實施形態之特徵量空間中之距離之說明圖。 圖11係顯示本實施形態之檢查處理之第3例之流程圖。 圖12係本實施形態之自檢查步驟至製造步驟之反饋處理之一例之說明圖。 圖13係顯示本實施形態之玻璃之製造步驟之一例之流程圖。 圖14係顯示本實施形態之機械學習模型之一例之圖。 FIG. 1 is a schematic block diagram showing a configuration example of a defect inspection device according to this embodiment. Fig. 2 is a flow chart showing the first example of inspection processing in this embodiment. Fig. 3 is an explanatory diagram for explaining imaging conditions in the imaging section of the present embodiment. Fig. 4 is a diagram showing an example of an image of a subject to be inspected. Fig. 5 is a diagram showing another example of an image of a subject to be inspected. Fig. 6 is a diagram showing a connection example of the defect discriminator of this embodiment. Fig. 7 is a diagram showing an example of the processing time of the defect discrimination processing in this embodiment. Fig. 8 is a diagram showing an example of the error rate of the type of defect caused by the machine learning model of the present embodiment. Fig. 9 is a flow chart showing a second example of inspection processing in this embodiment. Fig. 10 is an explanatory diagram for explaining the distance in the feature quantity space of the present embodiment. Fig. 11 is a flowchart showing a third example of inspection processing in this embodiment. FIG. 12 is an explanatory diagram of an example of feedback processing from the inspection step to the manufacturing step in this embodiment. Fig. 13 is a flow chart showing an example of the manufacturing steps of the glass of this embodiment. Fig. 14 is a diagram showing an example of the machine learning model of this embodiment.

S102,S104,S122:步驟 S102, S104, S122: steps

S110-1~S110-3:步驟 S110-1~S110-3: Steps

S112-1~S112-3:步驟 S112-1~S112-3: Steps

S114-1~S114-3:步驟 S114-1~S114-3: Steps

S116-1~S116-3:步驟 S116-1~S116-3: Steps

S118-1~S118-3:步驟 S118-1~S118-3: Steps

Claims (15)

一種缺陷檢查裝置,其係基於被檢查體之圖像而檢查上述被檢查體中產生之缺陷的缺陷檢查裝置,其中具備: 複數個缺陷判別器,該缺陷判別器基於上述圖像,使用特定之機械學習模型判別各不相同之上述缺陷之種類; 各個缺陷判別器所判別之上述缺陷之種類,為上述缺陷檢查裝置設為判別對象之特定數量之缺陷之種類之一部分。 A defect inspection device for inspecting defects generated in the object to be inspected based on an image of the object to be inspected, comprising: A plurality of defect discriminators, based on the above-mentioned images, the defect discriminator uses a specific machine learning model to distinguish different types of the above-mentioned defects; The types of the above-mentioned defects discriminated by each defect discriminator are part of the types of a specific number of defects that the above-mentioned defect inspection device sets as discrimination objects. 如請求項1之缺陷檢查裝置,其中 複數個上述缺陷判別器之各者無論其他缺陷判別器之判定結果如何,並行判別上述被檢查體中產生之缺陷之種類。 The defect inspection device as claimed in item 1, wherein Each of the plurality of defect discriminators discriminates in parallel the types of defects generated in the object under inspection regardless of the judgment results of other defect discriminators. 如請求項1之缺陷檢查裝置,其中 上述缺陷判別器之個數為N個; 第n(n為1以上且N-1以下之整數)個缺陷判別器判定上述被檢查體中產生之缺陷之種類是否符合第n個缺陷之種類; 於第n個缺陷判別器判定上述被檢查體中產生之缺陷之種類不符合第n個缺陷之種類時,第n+1個缺陷判別器開始進行判定上述被檢查體中產生之缺陷之種類是否符合第n+1個缺陷之種類之處理。 The defect inspection device as claimed in item 1, wherein The number of the above defect discriminators is N; The nth (n is an integer greater than 1 and less than N-1) defect discriminator determines whether the type of defect generated in the above-mentioned inspected object conforms to the type of the nth defect; When the nth defect discriminator judges that the type of defect generated in the above-mentioned inspected object does not meet the type of the n-th defect, the n+1th defect discriminator starts to judge whether the type of defect generated in the above-mentioned inspected object Handling according to the type of defect n+1. 如請求項3之缺陷檢查裝置,其中 上述n按照第n個缺陷之種類之產生頻率或風險大小之降序來確定。 The defect inspection device as claimed in claim 3, wherein The above n is determined in descending order of occurrence frequency or risk level of the nth defect type. 如請求項1至4中任一項之缺陷檢查裝置,其中 複數個上述缺陷判別器分別判定上述被檢查體中產生之缺陷之種類是否符合特定之1種缺陷。 The defect inspection device according to any one of claims 1 to 4, wherein A plurality of the above-mentioned defect discriminators respectively judge whether the type of the defect generated in the above-mentioned inspected object corresponds to a specific type of defect. 如請求項1至5中任一項之缺陷檢查裝置,其具備: 模型學習部,其確定模型參數,該模型參數用以對表示包含特定種類之缺陷之圖像的圖像資料,使用上述機械學習模型而判別該特定種類之缺陷。 The defect inspection device according to any one of Claims 1 to 5, which has: The model learning unit determines model parameters for discriminating the specific type of defect using the above-mentioned machine learning model on the image data representing the image containing the specific type of defect. 如請求項1至6中任一項之缺陷檢查裝置,其中 上述缺陷判別器基於表示對上述被檢查體之攝像條件不同之複數個圖像之圖像資料,判別上述缺陷之種類。 The defect inspection device according to any one of claims 1 to 6, wherein The defect discriminator discriminates the type of the defect based on image data representing a plurality of images under different imaging conditions of the object to be inspected. 如請求項1至7中任一項之缺陷檢查裝置,其具備: 新種類判定部,其算出表示缺陷特徵之特徵量於空間中之距離,即按上述缺陷之每個種類預先確定之代表特徵量、與自上述圖像擷取之特徵量即擷取特徵量之距離;且 於算出之距離相對於上述缺陷之種類之任一者皆大於特定距離之閾值時,將自上述圖像檢測出之缺陷之種類判定為新種類。 The defect inspection device according to any one of Claims 1 to 7, which has: The new type determination unit calculates the distance in space of the feature quantity representing the feature of the defect, that is, the distance between the representative feature quantity predetermined for each type of the above-mentioned defect and the feature quantity extracted from the above-mentioned image, that is, the extracted feature quantity distance; and When the calculated distance is greater than a threshold value of a specific distance with respect to any of the above-mentioned defect types, the type of defect detected from the above-mentioned image is determined to be a new type. 如請求項1至7中任一項之缺陷檢查裝置,其具備: 新種類判定部,其於不存在成功地判別出缺陷種類之缺陷判別器時,將自上述圖像檢測出之缺陷之種類判定為新種類。 The defect inspection device according to any one of Claims 1 to 7, which has: The new type determination part determines the type of the defect detected from the said image as a new type, when there is no defect discriminator which successfully discriminated the type of defect. 如請求項1至9中任一項之缺陷檢查裝置,其進而具備: 製造步驟管理部,其基於複數個上述缺陷判別器判別出之缺陷之狀態,確定用以修正上述被檢查體之製造條件的修正條件。 The defect inspection device according to any one of Claims 1 to 9, further comprising: A manufacturing process management unit that determines correction conditions for correcting manufacturing conditions of the inspected object based on the states of the defects discriminated by the plurality of defect classifiers. 如請求項1至10中任一項之缺陷檢查裝置,其具備: 特徵分析部,其根據圖像資料分析缺陷之特徵量; 第2缺陷判別器,其使用表示缺陷之特徵量與該缺陷之種類之關係的判定資料,根據上述特徵分析部分析出之缺陷之特徵量,確定該缺陷之種類;及 判定輸入部,其將上述被檢查體中產生之缺陷之種類,確定為所取得之操作輸入所示之缺陷之種類。 The defect inspection device according to any one of Claims 1 to 10, which has: Feature analysis department, which analyzes the feature quantity of defects based on image data; A second defect discriminator, which uses determination data indicating the relationship between the feature quantity of the defect and the type of the defect, and determines the type of the defect based on the feature quantity of the defect analyzed by the above-mentioned feature analysis section; and A determination input unit that determines the type of defect occurring in the object to be inspected as the type of defect indicated by the acquired operation input. 如請求項11之缺陷檢查裝置,其中 在由複數個上述缺陷判別器確定上述被檢查體中產生之缺陷之種類之前,由上述第2缺陷判別器或上述判定輸入部確定上述被檢查體中產生之缺陷。 The defect inspection device according to claim 11, wherein Before determining the type of the defect generated in the object under inspection by the plurality of defect classifiers, the defect generated in the object under inspection is identified by the second defect classifier or the judgment input unit. 一種缺陷檢查方法,其係基於被檢查體之圖像而檢查上述被檢查體中產生之缺陷者,且具備: 複數個缺陷判別步驟,其基於上述圖像,使用特定之機械學習模型而判別各不相同之上述缺陷之種類;且 於各個缺陷判別步驟中判別之上述缺陷之種類,為於上述缺陷檢查方法中設為判別對象之特定數量之缺陷種類之一部分。 A defect inspection method, which inspects defects generated in the object to be inspected based on an image of the object to be inspected, and has: a plurality of defect identification steps, which use a specific machine learning model to identify different types of the above-mentioned defects based on the above-mentioned images; and The above-mentioned defect types discriminated in each defect discriminating step are part of a specific number of defect types set as discriminating objects in the above-mentioned defect inspection method. 一種玻璃之製造方法,其係使用請求項13之缺陷檢查方法者,且 上述被檢查體為玻璃。 A glass manufacturing method using the defect inspection method of claim 13, and The object to be inspected is glass. 一種玻璃之製造方法,其具有使用請求項1至12中任一項之缺陷檢查裝置之檢查步驟,且 上述被檢查體為玻璃。 A method of manufacturing glass having an inspection step using the defect inspection device according to any one of claims 1 to 12, and The object to be inspected is glass.
TW110138830A 2020-12-15 2021-10-20 Defect inspection device, defect inspection method, and manufacturing method TW202242390A (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2020-207561 2020-12-15
JP2020207561 2020-12-15

Publications (1)

Publication Number Publication Date
TW202242390A true TW202242390A (en) 2022-11-01

Family

ID=82058995

Family Applications (1)

Application Number Title Priority Date Filing Date
TW110138830A TW202242390A (en) 2020-12-15 2021-10-20 Defect inspection device, defect inspection method, and manufacturing method

Country Status (5)

Country Link
JP (1) JPWO2022130762A1 (en)
KR (1) KR20230119625A (en)
CN (1) CN116368375A (en)
TW (1) TW202242390A (en)
WO (1) WO2022130762A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024014102A1 (en) * 2022-07-12 2024-01-18 株式会社レゾナック Defect analysis device, defect analysis method, and program
WO2024039785A1 (en) * 2022-08-18 2024-02-22 Onto Innovation Inc. Substrate defect-detection and comparison
JP7270314B1 (en) * 2022-11-07 2023-05-10 タクトピクセル株式会社 inspection method, inspection system, neural network
CN117058081A (en) * 2023-08-02 2023-11-14 苏州弗莱威智能科技有限公司 Corner and surface defect detection method for photovoltaic glass

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3002325B2 (en) * 1992-04-27 2000-01-24 株式会社東芝 Surface inspection equipment
KR20130132505A (en) * 2010-12-27 2013-12-04 아사히 가라스 가부시키가이샤 Glass plate manufacturing method and glass plate manufacturing device
JP6009956B2 (en) * 2013-01-31 2016-10-19 株式会社日立ハイテクノロジーズ Defect inspection apparatus and defect inspection method
JP7087397B2 (en) 2018-01-17 2022-06-21 東京エレクトロン株式会社 Substrate defect inspection equipment, substrate defect inspection method and storage medium
JP7102941B2 (en) * 2018-05-24 2022-07-20 株式会社ジェイテクト Information processing methods, information processing devices, and programs
CN113166987B (en) * 2018-10-15 2023-05-30 斯玛特克斯欧洲一人有限公司 Machine and method for controlling textile quality

Also Published As

Publication number Publication date
WO2022130762A1 (en) 2022-06-23
CN116368375A (en) 2023-06-30
JPWO2022130762A1 (en) 2022-06-23
KR20230119625A (en) 2023-08-16

Similar Documents

Publication Publication Date Title
TW202242390A (en) Defect inspection device, defect inspection method, and manufacturing method
TWI798329B (en) Substrate defect inspection device, substrate defect inspection method, and storage medium
CN109829914B (en) Method and device for detecting product defects
JP6757378B2 (en) Image identification device, image identification method and image identification program
EP3499418B1 (en) Information processing apparatus, identification system, setting method, and program
US11132786B2 (en) Board defect filtering method based on defect list and circuit layout image and device thereof and computer-readable recording medium
JP5546317B2 (en) Visual inspection device, visual inspection discriminator generation device, visual inspection discriminator generation method, and visual inspection discriminator generation computer program
JP6598790B2 (en) Wafer and lot-based tiering methods that combine customized metrics with global classification methods to monitor process tool status with extreme throughput
CN109919908B (en) Method and device for detecting defects of light-emitting diode chip
JP4374303B2 (en) Inspection method and apparatus
CN111815564B (en) Method and device for detecting silk ingots and silk ingot sorting system
US9031312B2 (en) Rapid processing and detection of non-uniformities in web-based materials
WO2018061067A1 (en) Defect inspection device and defect inspection method
JP2012032369A (en) Defect identification method, defect identification apparatus, program, and recording medium
TWI669519B (en) Board defect filtering method and device thereof and computer-readabel recording medium
JP6584250B2 (en) Image classification method, classifier configuration method, and image classification apparatus
JP5168215B2 (en) Appearance inspection device
Thielen et al. A machine learning based approach to detect false calls in SMT manufacturing
CN114372980A (en) Industrial defect detection method and system
CN117392042A (en) Defect detection method, defect detection apparatus, and storage medium
CN117351472A (en) Tobacco leaf information detection method and device and electronic equipment
TW202034421A (en) Color filter inspection device, inspection device, color filter inspection method, and inspection method
JP7423368B2 (en) Defect detection device and method
JP6742037B1 (en) Learning model generation method, learning model, inspection device, abnormality detection method, and computer program
CN113267506A (en) Wood board AI visual defect detection device, method, equipment and medium