JP2007139621A - Determination device, control program of determination device, and recording medium recording control program of determination device - Google Patents

Determination device, control program of determination device, and recording medium recording control program of determination device Download PDF

Info

Publication number
JP2007139621A
JP2007139621A JP2005335035A JP2005335035A JP2007139621A JP 2007139621 A JP2007139621 A JP 2007139621A JP 2005335035 A JP2005335035 A JP 2005335035A JP 2005335035 A JP2005335035 A JP 2005335035A JP 2007139621 A JP2007139621 A JP 2007139621A
Authority
JP
Japan
Prior art keywords
value
rate
overdetection
threshold
inspection object
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2005335035A
Other languages
Japanese (ja)
Other versions
JP4645422B2 (en
Inventor
Hironori Inaba
広典 稲葉
Kazuto Kojiya
和人 糀谷
Hiroshi Tazaki
博 田崎
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Omron Corp
Original Assignee
Omron Corp
Omron Tateisi Electronics Co
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 Omron Corp, Omron Tateisi Electronics Co filed Critical Omron Corp
Priority to JP2005335035A priority Critical patent/JP4645422B2/en
Publication of JP2007139621A publication Critical patent/JP2007139621A/en
Application granted granted Critical
Publication of JP4645422B2 publication Critical patent/JP4645422B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Measurement Of Mechanical Vibrations Or Ultrasonic Waves (AREA)
  • Testing Of Engines (AREA)
  • Testing Of Devices, Machine Parts, Or Other Structures Thereof (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide an inspection device capable of providing to a user, information for setting a threshold capable of determining accurately whether an inspection object is normal or not. <P>SOLUTION: This inspection device is a device for acquiring a characteristic quantity from an engine, and inspecting whether the engine is a nondefective article or not according to the characteristic quantity. The device is equipped with a wrong discrimination rate measured value calculation part 25 for calculating each measured value of an over-detection rate which is a ratio of determining a nondefective engine as a defective one and an overlooking rate which is a ratio of determining a defective engine as a nondefective one from a frequency distribution of the characteristic quantity acquired from the nondefective engine and the defective engine, a wrong discrimination rate expected value calculation part 26 for calculating each expected value of the over-detection rate and the overlooking rate, and a display control part 29 for displaying a graph showing the change of each measured value of the calculated over-detection rate and overlooking rate corresponding to a change of the threshold, and a graph showing the change of each predicted value of the calculated over-detection rate and overlooking rate. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、検査対象物から該検査対象物が正常であるか否か区別するための要素となる情報である特性値を取得し、この特性値に応じて検査対象物が正常であるか否かを判定するための判定装置、判定装置の制御プログラム、および判定装置の制御プログラムを記録した記録媒体に関するものである。   The present invention obtains a characteristic value, which is information serving as an element for distinguishing whether or not the inspection object is normal from the inspection object, and whether or not the inspection object is normal according to the characteristic value. The present invention relates to a determination device, a control program for the determination device, and a recording medium on which the control program for the determination device is recorded.

従来から、生産されたエンジン等の製品の品質を検査する方法として、例えば、該エンジンを駆動させて生じる音を検査員が聞き分けるなど、いわゆる官能検査が行われている。しかしながら、この官能検査は、検査員の五感に依存する方法であるため、検査員はこの検査方法に対して熟練した技術と多くの経験的知識とを有しておく必要があった。また、熟練した技術を有する検査員であっても、検査結果には個人差によるばらつきが生じるといった問題があった。このため、上記した個人差によるばらつきを防ぐために、このような検査を、定量的かつ明確な基準により行えることが好ましい。   Conventionally, as a method for inspecting the quality of a product such as a produced engine, so-called sensory inspection has been performed, for example, in which an inspector hears a sound generated by driving the engine. However, since this sensory test is a method that depends on the five senses of the inspector, the inspector needs to have skill and a lot of empirical knowledge about the test method. Further, even inspectors having skillful techniques have a problem that the test results vary due to individual differences. For this reason, in order to prevent variation due to individual differences as described above, it is preferable that such an inspection can be performed based on a quantitative and clear standard.

例えば、特許文献1では、製造されたエンジンの駆動により生じる音または振動を、センサにより測定し、この測定結果から特徴量を抽出し、この抽出した特徴量を解析して品質を調べる装置が開示されている。   For example, Patent Document 1 discloses an apparatus for measuring sound or vibration generated by driving a manufactured engine with a sensor, extracting a feature amount from the measurement result, and analyzing the extracted feature amount to check the quality. Has been.

ところで、このようにエンジン等の製品から生じる音または振動の特徴量を抽出し、該製品の品質を調べる場合、例えば、この特徴量が所定の閾値以上であれば異常(不良品)であり、閾値未満である場合は正常(良品)であると判断することができる。しかながら、この閾値を利用した判断では、良品を不良品であると誤って判別したり、あるいは、不良品を良品であると誤って判別したりする場合が生じる。なお、本明細書中では、前者の場合を「過検出」、後者の場合を「見逃し」と称することとする。   By the way, when the feature quantity of the sound or vibration generated from a product such as an engine is extracted and the quality of the product is checked, for example, if this feature quantity is equal to or greater than a predetermined threshold, it is abnormal (defective product) When it is less than the threshold value, it can be determined that the product is normal (non-defective product). However, in the determination using this threshold value, there are cases where a non-defective product is erroneously determined as a defective product, or a defective product is erroneously determined as a non-defective product. In the present specification, the former case is referred to as “overdetection”, and the latter case is referred to as “missing”.

そして、例えば図25に示すように良品の製品から得られた特徴量のヒストグラムと不良品の製品から得られた特徴量のヒストグラムとを重ね合わせた際に、同じ特徴量であっても良品と不良品とが混在する区間がある。ここで、この混在する区間が閾値によって良品と区別される領域に存在する場合、該区間に含まれる不良品数の割合を見逃し率と定義する。逆に、この区間が閾値により不良品であると区別される領域に存在する場合、該区間に含まれる良品数の割合を過検出率と定義する。また、この過検出率と見逃し率とを合わせて誤判別率と称する。   For example, as shown in FIG. 25, when a histogram of feature values obtained from a non-defective product and a histogram of feature values obtained from a non-defective product are superimposed, There are sections where defective products are mixed. Here, when this mixed section exists in an area that is distinguished from non-defective products by a threshold value, the ratio of the number of defective products included in the section is defined as a missed rate. On the contrary, when this section exists in an area that is identified as a defective product by the threshold, the ratio of the number of non-defective products included in the section is defined as an overdetection rate. The overdetection rate and the oversight rate are collectively referred to as a misclassification rate.

なお、この過検出率は、下記に示す式(1)により求めることができ、一方、見逃し率は、下記に示す式(2)により求めることができる。   In addition, this overdetection rate can be calculated | required by the formula (1) shown below, On the other hand, an overlook rate can be calculated | required by the formula (2) shown below.

過検出率=nOK→NG/nOK ・・・(1)
見逃し率=nNG→OK/nNG ・・・(2)
(nOK→NG:不良品と誤判定された良品の数 nOK:全良品の数)
(nNG→OK:良品と誤判定された不良品の数 nNG:全不良品の数)
このように、良品であるにもかかわらず、不良品であると判定された製品(過検出された製品)は、検査不合格品として出荷されず廃棄されるか、あるいは、より精度の高い品質検査によって良品であると判定されれば出荷される。このように良品を廃棄する場合、あるいは再検査を行う場合いずれの場合であっても、製品の製造コストを大きくしてしまう要因となる。
Overdetection rate = n OK → NG / n OK (1)
Missed rate = n NG → OK / n NG (2)
(N OK → NG : number of good products erroneously determined as defective products n OK : number of all good products)
(N NG → OK : Number of defective products erroneously determined as good products n NG : Number of all defective products)
In this way, products that are determined to be defective even though they are good products (over-detected products) are not shipped as inspection-defective products but discarded, or more accurate quality. If it is determined that the product is non-defective by inspection, the product is shipped. In this way, whether the good product is discarded or re-inspected, it becomes a factor that increases the manufacturing cost of the product.

また、不良品であるにもかかわらず、良品であると判定された製品(見逃された製品)は、検査合格品として出荷されこの不良品が市場に出回ることとなる。このように不良品が出回るとこの製品に対するクレーム、返品等が生じて製品の製造業者の社会的信用性を低下させてしまう一因となる。   In addition, a product that is determined to be a non-defective product (a product that is overlooked) despite being a defective product is shipped as a product that has passed the inspection, and the defective product is put on the market. Thus, when defective products are circulated, complaints, returns, etc. of this product are generated, which is a cause of reducing the social credibility of the product manufacturer.

このため、良品と判断される領域と不良品と判断される領域とを区別する閾値を、過検出率および見逃し率が生じる割合が許容値範囲内となるように適切に設定することが重要となる。   For this reason, it is important to appropriately set the threshold value for distinguishing between the area determined to be non-defective and the area determined to be defective so that the ratio of occurrence of the overdetection rate and the oversight rate is within the allowable range. Become.

例えば、図25に示す測定結果では、図26に示すように閾値tの値が大きくなればなるほど見逃し率が大きくなり、逆に閾値tの値が小さくなればなるほど過検出率が大きくなる。つまり、閾値tの値が大きくなればなるほど良品と判断する区間が大きくなり該区間に含まれる不良品の数、すなわち良品とみなされる不良品の数が大きくなる。このため、閾値tの値が大きくなればなるほど見逃し率が大きくなる。   For example, in the measurement result shown in FIG. 25, as shown in FIG. 26, the overlook rate increases as the value of the threshold t increases, and conversely, the overdetection rate increases as the value of the threshold t decreases. That is, as the value of the threshold value t increases, the interval for determining good products increases, and the number of defective products included in the interval, that is, the number of defective products regarded as non-defective products increases. For this reason, the miss rate increases as the threshold value t increases.

逆に、閾値tの値が小さくなればなるほど不良品と判断される区間が大きくなり該区間に含まれる良品の数、すなわち、不良品とみなされる良品の数が大きくなる。このため閾値tの値が小さくなればなるほど過検出率が大きくなる。   Conversely, the smaller the threshold value t, the larger the section that is determined as a defective product, and the greater the number of non-defective products included in the section, that is, the number of non-defective products that are regarded as defective products. For this reason, the over-detection rate increases as the value of the threshold value t decreases.

そこで、従来では、上記した閾値を、見逃し率と過検出率とのそれぞれが許容値に収まる範囲で決定している。   Therefore, conventionally, the above-described threshold value is determined within a range in which each of the miss rate and the overdetection rate falls within an allowable value.

なお、上記したようなサンプルの統計処理に用いることが可能な理論として、非特許文献1では、マハラノビス・タグチ・システムに具現化された非対称的判別における実際の誤判別率とその推定について記載されており、非特許文献2では、特徴数に対する訓練サンプル数の比が小さいといった現実の状況下で真に有効となる識別器を評価する研究について記載されている。また、非特許文献3では、既知のサンプルを用いて、多変量管理図の管理限界を決定するための統計的手法について記載されている。   As a theory that can be used for the statistical processing of the sample as described above, Non-Patent Document 1 describes an actual misclassification rate and its estimation in asymmetric discrimination embodied in the Mahalanobis Taguchi system. Non-Patent Document 2 describes a study for evaluating a classifier that is truly effective under a real situation where the ratio of the number of training samples to the number of features is small. Non-Patent Document 3 describes a statistical method for determining the control limit of a multivariate control chart using a known sample.

なお、上記サンプルとは、製造された全製品を母集団としたとき、この全製品から検査を実施するために抜き取りを行った製品(製品群)のことである。
特開2005−121639号公報(2005年5月12日公開) 宮川雅巳、田中研太郎,岩澤智之,中西寛子,「マハラノビス距離による非対称的判別での実際の誤判別率」,応用統計学会第26回シンポジウム講演予稿集,pp.1〜6(2004年) 浜本義彦,内村俊二,金岡泰保,富田真吾,「標本数が少ない状況下における識別器の評価」、情報処理学会研究報告「グラフィックスとCAD」,Vol.1992.NO101,1992年 NOLA D.TRACY,JOHN C. YOUNG,ROBERT L. MASON,“Multivariate Control Charts for Individual Observations”,Journal of Duality Technology,Vol.24,No.2,April 88/95,(1992)
In addition, the said sample is a product (product group) extracted in order to inspect from this all products, when all manufactured products are made into a population.
Japanese Patent Laying-Open No. 2005-121639 (released on May 12, 2005) Masami Miyagawa, Kentaro Tanaka, Tomoyuki Iwasawa, Hiroko Nakanishi, “Actual Misclassification Rate in Asymmetric Discrimination by Mahalanobis Distance”, Proc. 1-6 (2004) Yoshihiko Hamamoto, Shunji Uchimura, Yasunobu Kanaoka, Shingo Tomita, “Evaluation of Discriminators in a Small Number of Samples”, Information Processing Society of Japan Report “Graphics and CAD”, Vol. 1992. NO101, 1992 NOLA D.TRACY, JOHN C. YOUNG, ROBERT L. MASON, “Multivariate Control Charts for Individual Observations”, Journal of Duality Technology, Vol. 24, no. 2, April 88/95, (1992)

しかしながら、上記従来の構成では、所定個数の限られた特徴量の測定結果に基づき、良品と不良品とを区別するための閾値を設定する構成であるため、この設定された閾値は正確なものではないといった問題が生じる。   However, in the above-described conventional configuration, a threshold value is set for distinguishing between non-defective products and defective products based on a predetermined number of limited feature quantity measurement results. The problem is not.

すなわち、すでに測定され収集されたサンプルの数は有限であり、このサンプルから推定した特徴量分布は真の特徴量分布とは大きく異なることとなる。すなわち、すでに収集されたサンプルから得られる特徴量分布から算出された誤判別率は、実際の収集結果の特徴量分布から得られる誤判別率と比較して小さく見積もられる傾向が大きく正確ではない。   That is, the number of samples that have already been measured and collected is finite, and the feature quantity distribution estimated from these samples is significantly different from the true feature quantity distribution. That is, the misclassification rate calculated from the feature amount distribution obtained from the already collected sample tends to be estimated smaller than the misclassification rate obtained from the feature amount distribution of the actual collection result, and is not accurate.

そこで、実際に測定された、限られた個数のサンプルの特徴量に基づき良品と不良品とを判別するための閾値を設定するのではなく、将来的な誤判別率の予想も考慮にいれて閾値を設定できることが好ましい。   Therefore, instead of setting a threshold value for discriminating between non-defective products and defective products based on the actually measured feature quantities of a limited number of samples, the prediction of the future misclassification rate is also taken into consideration. It is preferable that a threshold value can be set.

本発明は、上記の問題点に鑑みてなされたものであり、その目的は、ユーザに対して検査対象物が正常であるか否かを確度よく判定できる閾値を設定するための情報を提供することができる判定装置、判定装置の制御プログラム、および判定装置の制御プログラムを記録した記録媒体を実現することにある。   The present invention has been made in view of the above-described problems, and an object of the present invention is to provide information for setting a threshold value with which a user can accurately determine whether or not an inspection object is normal. An object of the present invention is to realize a determination device, a control program for the determination device, and a recording medium on which the control program for the determination device is recorded.

本発明に係る判定装置は、上記した課題を解決するために、検査対象物から該検査対象物が正常であるか否か区別するための要素となる情報である特性値を取得し、この特性値に応じて検査対象物が正常であるか否かを判定するための判定装置であって、複数の正常な検査対象物それぞれから取得した特性値の分布情報から、該検査対象物が正常であるか否かを判定するための閾値を任意に設定した場合における、正常な検査対象物を異常であると判定する割合である過検出率を算出する算出手段と、統計的手法により、上記特性値に基づいて上記過検出率の予測値を算出する予測値算出手段と、上記閾値の変化に応じた、上記算出手段によって算出された過検出率の変化を示すグラフと、閾値の変化に応じた、上記予測値算出手段によって算出された過検出率の予測値の変化を示すグラフとを出力する出力手段とを備えることを特徴とする。   In order to solve the above-described problem, the determination apparatus according to the present invention acquires a characteristic value that is information serving as an element for distinguishing whether or not the inspection target is normal from the inspection target. A determination device for determining whether or not an inspection object is normal according to a value, wherein the inspection object is normal from distribution information of characteristic values acquired from each of a plurality of normal inspection objects When the threshold for determining whether or not there is an arbitrary value, the above characteristic is calculated by a calculation means for calculating an overdetection rate that is a ratio for determining that a normal inspection object is abnormal, and a statistical method. A predicted value calculation means for calculating a predicted value of the overdetection rate based on the value, a graph showing a change in the overdetection rate calculated by the calculation means in accordance with a change in the threshold, and a change in response to the change in the threshold By the predicted value calculation means And an outputting means for outputting a graph showing changes in the predicted value of the issued over detection rate.

上記構成によると、出力手段を備えているため、閾値の変化に応じた、上記算出手段によって算出された過検出率の実測値の変化を示すグラフと、上記予測値算出手段によって算出された過検出率の予測値の変化を示すグラフとを出力することができる。   According to the above configuration, since the output unit is provided, the graph showing the change in the actual value of the overdetection rate calculated by the calculation unit according to the change in the threshold value and the excess value calculated by the predicted value calculation unit. It is possible to output a graph showing a change in the predicted value of the detection rate.

ここで予測値とは、限られた個数の検査対象物から抽出した特性値を利用して検査対象物の母集団の過検出率を予想した値である。したがって、ユーザはこの過検出率の予測値の変化を示すグラフを参照することで、過検出率の変化を示すグラフを参照して閾値を設定する場合と比べて、検査対象物が正常であるか否かを確度よく判定可能な閾値を設定することができる。   Here, the predicted value is a value obtained by predicting the overdetection rate of the population of inspection objects using characteristic values extracted from a limited number of inspection objects. Therefore, the user refers to the graph showing the change in the predicted value of the overdetection rate, and the inspection object is normal compared to the case where the threshold is set with reference to the graph showing the change in the overdetection rate. It is possible to set a threshold value with which it can be determined with high accuracy.

また、閾値の変化に応じた、過検出率の変化を示すグラフと過検出率の予測値の変化を示すグラフとを出力することができるため、ユーザは、この両者のグラフを比較して得られた過検出率および予測値の信頼性を確かめることができる。すなわち、過検出率を算出するために利用する検査対象物の個数が極端に少なく、この検査対象物それぞれの特性値から算出した過検出率および過検出率の予測値の信頼性が低い場合、該過検出率および過検出率の予測値の信頼性が高い場合と比べて両者の間の差異が大きくなる。   In addition, since a graph indicating a change in the overdetection rate and a graph indicating a change in the predicted value of the overdetection rate in accordance with the change in the threshold can be output, the user can obtain the graph by comparing the two graphs. The reliability of the detected overdetection rate and the predicted value can be confirmed. That is, when the number of inspection objects used to calculate the overdetection rate is extremely small, and the reliability of the overdetection rate calculated from the characteristic value of each inspection object and the predicted value of the overdetection rate is low, Compared with the case where the reliability of the overdetection rate and the predicted value of the overdetection rate is high, the difference between the two becomes large.

そこで、過検出率とこの過検出率の予測値との変化を示すグラフをともに出力することにより、ユーザはこの出力結果から過検出率および該過検出率の予測値の信頼性を判断することができる。   Therefore, by outputting a graph showing the change between the overdetection rate and the predicted value of the overdetection rate, the user can judge the reliability of the overdetection rate and the predicted value of the overdetection rate from the output result. Can do.

このように、本発明に係る判定装置は、ユーザに対して検査対象物が正常であるか否かを確度よく判定できる閾値を設定するための情報を提供することができるという効果を奏する。   As described above, the determination apparatus according to the present invention has an effect that it is possible to provide information for setting a threshold value with which it is possible to accurately determine whether or not the inspection object is normal to the user.

本発明に係る判定装置は、上記した構成において、検査対象物から上記特性値を取得する取得手段と、ユーザによる、新たな検査対象物からの特性値の取得指示を受付ける取得指示受付け部とを備え、取得指示受付け部が上記新たな検査対象物からの特性値の取得指示を受付けた場合、上記取得手段が、新たな検査対象物から特性値を取得することが好ましい。   In the above-described configuration, the determination apparatus according to the present invention includes an acquisition unit that acquires the characteristic value from the inspection object, and an acquisition instruction reception unit that receives an instruction to acquire the characteristic value from the new inspection object by the user. In addition, when the acquisition instruction reception unit receives an instruction to acquire a characteristic value from the new inspection object, the acquisition unit preferably acquires the characteristic value from the new inspection object.

上記構成によると、取得指示受付け部を備えているため、ユーザによる、新たな検査対象物からの特性値の取得指示を受付けることができる。また、取得手段を備えているため、取得指示受付け部によって受付けた上記取得指示に応じて、新たな検査対象物から特性値を取得し追加させることができる。   According to the above configuration, since the acquisition instruction receiving unit is provided, it is possible to receive an instruction to acquire a characteristic value from a new inspection object by the user. Moreover, since the acquisition means is provided, it is possible to acquire and add a characteristic value from a new inspection object in accordance with the acquisition instruction received by the acquisition instruction receiving unit.

ここで、ユーザにより、新たな検査対象物からの特性値の取得、すなわちサンプルの追加が指示される場合とは、特性値を取得した検査対象物の個数が少ないため、該特性値から算出した過検出率の値および予測値に対する信頼性が低くなる場合である。   Here, when the user is instructed to acquire a characteristic value from a new inspection object, that is, to add a sample, the number of inspection objects from which the characteristic value has been acquired is small. This is a case where the reliability of the overdetection rate value and the predicted value is low.

ここで、本実施の形態に係る判定装置は、過検出率および該過検出率の予測値に対する信頼性が低くなる場合、新たな検査対象物から特性値を取得することができるため、信頼性のある過検出率および該過検出率の予測値が得られるまで、特性値を取得する検査対象物の個数を追加させることができる。   Here, the determination apparatus according to the present embodiment can acquire the characteristic value from the new inspection object when the reliability with respect to the overdetection rate and the predicted value of the overdetection rate is low. The number of inspection objects for which characteristic values are acquired can be added until a certain overdetection rate and a predicted value of the overdetection rate are obtained.

本発明に係る判定装置は、上記した構成において、検査対象物から上記特性値を取得する取得手段と、上記算出手段によって算出された過検出率と、上記予測値算出手段によって算出された過検出率の予測値とに基づき、算出された過検出率と該過検出率の予測値との差を求め、この差が所定値以上であるか否かを判定する差分判定手段とを備え、上記差分判定手段が、上記差が所定値以上であると判定した場合、上記取得手段に対して新たな検査対象物からの特性値の取得を指示するように構成されていることが好ましい。   In the above-described configuration, the determination apparatus according to the present invention has an acquisition unit that acquires the characteristic value from the inspection object, an overdetection rate calculated by the calculation unit, and an overdetection calculated by the prediction value calculation unit. A difference determining means for determining a difference between the calculated overdetection rate and the predicted value of the overdetection rate based on the predicted value of the rate, and determining whether the difference is a predetermined value or more, and When the difference determination unit determines that the difference is equal to or greater than a predetermined value, the difference determination unit is preferably configured to instruct the acquisition unit to acquire a characteristic value from a new inspection object.

上記構成によると、差分判定手段を備えているため、過検出率と該過検出率の予測値との差が所定値以上であるか否かを判定することができる。   According to the above configuration, since the difference determination unit is provided, it can be determined whether or not the difference between the overdetection rate and the predicted value of the overdetection rate is equal to or greater than a predetermined value.

なお、この所定値は、信頼性を有する過検出率と該過検出率の予測値とを得ることができるだけの個数分だけ検査対象物が存在するものと判断できる範囲で設定される値である。   The predetermined value is a value set within a range in which it is possible to determine that there are as many inspection objects as the number of reliable overdetection rates and the predicted value of the overdetection rate. .

ここで過検出率と該過検出率の予測値との差が所定値以上であるとは、過検出率と該過検出率の予測値とが十分な信頼性を有していないということである。すなわち、過検出率と該過検出率の予測値とを算出するための検査対象物の個数が少ないということである。   Here, the difference between the overdetection rate and the predicted value of the overdetection rate is equal to or greater than a predetermined value means that the overdetection rate and the predicted value of the overdetection rate do not have sufficient reliability. is there. That is, the number of inspection objects for calculating the overdetection rate and the predicted value of the overdetection rate is small.

上記判定装置は、上記差が所定値以上であると判定した場合、取得手段に対して、新たな検査対象物から特性値を取得するように指示することができる。このため、信頼性のある過検出率と予測値とを得ることができるだけの個数分の検査対象物から特性値を取得するこができる。   When determining that the difference is equal to or greater than a predetermined value, the determination device can instruct the acquisition unit to acquire a characteristic value from a new inspection object. For this reason, it is possible to obtain characteristic values from as many inspection objects as can obtain reliable overdetection rates and predicted values.

したがって、信頼性のある過検出率と予測値とを得ることができるため、ユーザに対して検査対象物が正常であるか否かを確度よく判定できる閾値を設定するための情報を提供することができる。   Therefore, since a reliable overdetection rate and a predicted value can be obtained, information for setting a threshold value that can accurately determine whether or not the inspection object is normal is provided to the user. Can do.

また、本発明に係る判定装置は、上記した課題を解決するために、検査対象物から該検査対象物が正常であるか否か区別するための要素となる情報である特性値を取得し、この特性値に応じて検査対象物が正常であるか否かを判定するための判定装置であって、複数の正常な検査対象物それぞれから取得した特性値の分布情報から、該検査対象物が正常であるか否かを判定するための閾値を任意に設定した場合における、正常な検査対象物を異常であると判定する割合である過検出率を算出する算出手段と、統計的手法により、上記特性値に基づいて上記過検出率の予測値を算出する予測値算出手段と、閾値の変化に応じた、上記予測値算出手段によって算出された過検出率の予測値の変化を示すグラフとを出力する出力手段と、検査対象物から上記特性値を取得する取得手段と、上記算出手段によって算出された過検出率と、上記予測値算出手段によって算出された過検出率の予測値とに基づき、算出された過検出率と該過検出率の予測値との差を求め、この差が所定値以上であるか否かを判定する差分判定手段とを備え、上記差分判定手段が、上記差が所定値以上であると判定した場合、上記取得手段に対して、新たな検査対象物からの特性値の取得を指示することを特徴とする。   Further, the determination apparatus according to the present invention acquires a characteristic value that is information serving as an element for distinguishing whether or not the inspection target is normal from the inspection target in order to solve the above-described problem, A determination apparatus for determining whether or not an inspection object is normal according to the characteristic value, wherein the inspection object is obtained from distribution information of characteristic values acquired from a plurality of normal inspection objects. When a threshold value for determining whether or not it is normal is arbitrarily set, a calculation means for calculating an overdetection rate that is a ratio for determining that a normal inspection object is abnormal, and a statistical method, A predicted value calculating means for calculating a predicted value of the overdetection rate based on the characteristic value; and a graph showing a change in the predicted value of the overdetection rate calculated by the predicted value calculation means in accordance with a change in threshold value; Output means and inspection object Based on the acquisition means for acquiring the characteristic value, the overdetection rate calculated by the calculation means, and the predicted value of the overdetection rate calculated by the prediction value calculation means, A difference determination unit that obtains a difference from the predicted value of the overdetection rate and determines whether the difference is equal to or greater than a predetermined value, and the difference determination unit determines that the difference is equal to or greater than a predetermined value. In this case, the acquisition unit is instructed to acquire characteristic values from a new inspection object.

上記構成によると、差分判定手段を備えているため、過検出率と該過検出率の予測値との差が所定値以上であるか否かを判定することができる。なお、この所定値は、信頼性を有する過検出率と該過検出率の予測値とを得ることができるだけの個数分だけ検査対象物が存在するものと判断できる範囲で設定される値である。   According to the above configuration, since the difference determination unit is provided, it can be determined whether or not the difference between the overdetection rate and the predicted value of the overdetection rate is equal to or greater than a predetermined value. The predetermined value is a value set within a range in which it is possible to determine that there are as many inspection objects as the number of reliable overdetection rates and the predicted value of the overdetection rate. .

ここで過検出率と該過検出率の予測値との差が所定値以上であるとは、過検出率と該過検出率の予測値とが十分な信頼性を有していないということである。すなわち、過検出率と該過検出率の予測値とを算出するための検査対象物の個数が少ないということである。   Here, the difference between the overdetection rate and the predicted value of the overdetection rate is equal to or greater than a predetermined value means that the overdetection rate and the predicted value of the overdetection rate do not have sufficient reliability. is there. That is, the number of inspection objects for calculating the overdetection rate and the predicted value of the overdetection rate is small.

上記判定装置は、上記差が所定値以上であると判定した場合、取得手段に新たな検査対象物からの特性値の取得を指示することができる。このため、信頼性のある過検出率の予測値を算出できる個数分の検査対象物から特性値を取得するこができる。このように、信頼性のある過検出率の予測値を得ることができるため、ユーザに対して検査対象物が正常であるか否かを確度よく判定できる閾値を設定するための情報を提供することができるという効果を奏する。   When the determination device determines that the difference is equal to or greater than a predetermined value, the determination device can instruct acquisition means to acquire a characteristic value from a new inspection object. For this reason, it is possible to acquire characteristic values from the number of inspection objects for which the predicted value of the reliable overdetection rate can be calculated. As described above, since a reliable predicted value of the overdetection rate can be obtained, information for setting a threshold value that can accurately determine whether or not the inspection target is normal is provided to the user. There is an effect that can be.

本発明に係る判定装置は、上記した構成において、上記特性値の分布情報には、複数の異常が生じている検査対象物それぞれから取得した特性値の分布情報がさらに含まれており、上記算出手段は、上記特性値の分布情報から、検査対象物が正常であるか否かを判定するための閾値を任意に設定した場合における、異常が生じている検査対象物を正常であると判定する割合である見逃し率をさらに算出しており、上記予測値算出手段は、統計的手法により、上記特性値に基づいて上記見逃し率の予測値をさらに算出しており、上記出力手段が、閾値の変化に応じた、上記算出手段によって算出された過検出率および見逃し率の変化を示すグラフと、閾値の変化に応じた、上記予測値算出手段によって算出された過検出率および見逃し率の予測値の変化を示すグラフとを出力するように構成されていることが好ましい。   In the determination apparatus according to the present invention, in the configuration described above, the distribution information of the characteristic value further includes distribution information of the characteristic value acquired from each of the inspection objects in which a plurality of abnormalities occur, The means determines from the distribution information of the characteristic values that the inspection object in which an abnormality has occurred is normal when a threshold value for determining whether the inspection object is normal is arbitrarily set. The missed rate, which is a ratio, is further calculated, the predicted value calculating means further calculates the predicted value of the missed rate based on the characteristic value by a statistical method, and the output means is configured to detect a threshold value. A graph showing changes in the overdetection rate and the miss rate calculated by the calculation unit according to the change, and a prediction of the overdetection rate and the overlook rate calculated by the prediction value calculation unit according to the change in the threshold value It is preferably configured to output a graph showing a change.

上記構成によると、出力手段により、閾値の変化に応じた、上記算出手段によって算出された過検出率および見逃し率の変化を示すグラフと、上記予測値算出手段によって算出された過検出率および見逃し率の予測値の変化を示すグラフとを出力することができる。   According to the above configuration, the output unit displays the graph indicating the change in the overdetection rate and the miss rate calculated by the calculation unit according to the change in the threshold value, and the overdetection rate and the overlook rate calculated by the prediction value calculation unit. It is possible to output a graph showing a change in the predicted value of the rate.

ここで予測値とは、限られた個数の検査対象物の特性値を利用して母集団の過検出率および見逃し率を予想した値である。したがって、ユーザは出力されたこの過検出率および見逃し率の予測値の変化を示すグラフを参照することで、過検出率および見逃し率の変化を示すグラフを参照して閾値を設定する場合と比べて、検査対象物が正常であるか否かを確度よく判定可能な閾値を設定することができる。   Here, the predicted value is a value that predicts an overdetection rate and an overlook rate of a population by using characteristic values of a limited number of inspection objects. Therefore, the user can refer to the graph indicating the change in the predicted value of the overdetection rate and the oversight rate, and can set the threshold with reference to the graph indicating the change in the overdetection rate and the oversight rate. Thus, it is possible to set a threshold that can accurately determine whether or not the inspection object is normal.

また、上記したように閾値の変化に応じた、過検出率および見逃し率の変化を示すグラフと過検出率および見逃し率の予測値の変化を示すグラフとを出力することができるため、ユーザは、この両者のグラフを比較して得られた過検出率および見逃し率と、過検出率および見逃し率の予測値との信頼性を確かめることができる。   In addition, as described above, the user can output the graph indicating the change in the overdetection rate and the oversight rate and the graph indicating the change in the predicted value of the overdetection rate and the oversight rate in accordance with the change in the threshold value. Thus, it is possible to confirm the reliability of the overdetection rate and the oversight rate obtained by comparing these two graphs with the predicted values of the overdetection rate and the oversight rate.

すなわち、過検出率および見逃し率を算出するために利用する検査対象物の個数が極端に少なく、該検査対象物の特性値から算出した過検出率および見逃し率と、過検出率および見逃し率の予測値との信頼性が低い場合、過検出率および見逃し率と該過検出率および見逃し率の予測値との信頼性が高い場合と比べて両者の間の差異が大きくなる。   That is, the number of inspection objects used for calculating the overdetection rate and the oversight rate is extremely small, and the overdetection rate and the oversight rate calculated from the characteristic values of the inspection object, and the overdetection rate and the oversight rate When the reliability with the predicted value is low, the difference between the two is larger than when the reliability between the overdetection rate and the missed rate and the predicted value of the overdetection rate and the missed rate is high.

そこで、過検出率および見逃し率と該過検出率および見逃し率の予測値との変化を示すグラフをともに出力することにより、ユーザはこの出力結果から過検出率および見逃し率と過検出率および見逃し率の予測値との信頼性を判断することができる。   Therefore, by outputting a graph showing the change of the overdetection rate / missing rate and the predicted value of the overdetection rate / missing rate together, the user can detect the overdetection rate / missing rate / overdetection rate and overlooked rate from the output result. The reliability with the predicted value of the rate can be determined.

このように、本発明に係る判定装置は、ユーザに対して検査対象物が正常であるか否かを確度よく判定できる閾値を設定するための情報を提供することができる。   As described above, the determination device according to the present invention can provide information for setting a threshold value with which it is possible to accurately determine whether or not the inspection object is normal to the user.

本発明に係る判定装置は、上記した構成において、上記過検出率および上記見逃し率と上記過検出率および上記見逃し率の予測値とを算出するための特性値の種類を変更する変更手段と、ユーザからの、上記特性値の種類の変更を指示する情報を受付ける変更指示受付け部とを備え、変更指示受付け部が特性値の種類の変更を指示する情報を受付けた場合、上記変更手段が、指定する特性値の種類を変更するように構成されていることが好ましい。   In the above-described configuration, the determination device according to the present invention has a change unit that changes the type of characteristic value for calculating the overdetection rate and the overlooked rate, and the overdetection rate and the predicted value of the overlooked rate, A change instruction receiving unit that receives information for instructing a change in the type of the characteristic value from the user, and when the change instruction receiving unit receives information instructing a change in the type of the characteristic value, the changing unit includes: It is preferable that the type of the characteristic value to be specified is changed.

上記構成によると、変更手段を備えているため、ユーザによる、特性値の種類の変更を指示する情報を受付けた場合、上記過検出率および上記見逃し率と上記過検出率および上記見逃し率の予測値とを算出するための特性値の種類を変更させることができる。   According to the above configuration, since the change unit is provided, when information indicating the change of the type of the characteristic value by the user is received, the overdetection rate, the overlook rate, the overdetection rate, and the overlook rate are predicted. The kind of characteristic value for calculating the value can be changed.

このため、例えば、正常な検査対象物から取得した特性値の分布と異常が生じている検査対象物から取得した特性値の分布とを上記閾値によって判別不可能であるような場合、特性値の種類の変更を指示することができる。すなわち、検査対象物が正常であるか否かを判別するための特性値として、該特性値の種類が不適当である場合、別の種類の特性値に変更することができる。このため、判定装置は、検査対象物が正常であるか否かを判定するために利用する特性値を適切なものとすることができる。   For this reason, for example, when the distribution of the characteristic value acquired from the normal inspection object and the distribution of the characteristic value acquired from the inspection object having an abnormality cannot be determined by the threshold value, the characteristic value A type change can be indicated. In other words, when the type of the characteristic value is inappropriate as the characteristic value for determining whether or not the inspection object is normal, it can be changed to another type of characteristic value. For this reason, the determination apparatus can make appropriate the characteristic value used for determining whether or not the inspection object is normal.

本発明に係る判定装置は、上記した構成において、検査対象物から上記特性値を取得する取得手段と、ユーザによる、新たな検査対象物からの特性値の取得指示を受付ける取得指示受付け部とを備え、取得指示受付け部が新たな検査対象物からの特性値の取得指示を受付けた場合、上記取得手段が、新たな検査対象物から特性値を取得することが好ましい。   In the above-described configuration, the determination apparatus according to the present invention includes an acquisition unit that acquires the characteristic value from the inspection object, and an acquisition instruction reception unit that receives an instruction to acquire the characteristic value from the new inspection object by the user. In addition, when the acquisition instruction reception unit receives an instruction to acquire a characteristic value from a new inspection object, the acquisition unit preferably acquires the characteristic value from the new inspection object.

上記構成によると、取得指示受付け部を備えているため、ユーザからの新たな検査対象物からの特性値の取得指示を受付けることができる。また、取得手段を備えているため、取得指示受付部によって受付けた取得指示に応じて、新たな検査対象物から特性値を取得することができる。   According to the above configuration, since the acquisition instruction receiving unit is provided, it is possible to receive an instruction to acquire a characteristic value from a new inspection object from the user. Moreover, since the acquisition unit is provided, the characteristic value can be acquired from the new inspection object in accordance with the acquisition instruction received by the acquisition instruction receiving unit.

ここで、ユーザにより新たな検査対象物から特性値を取得するように指示される場合とは、特性値を取得する検査対象物の個数が少ないため、該特性値から算出した過検出率および予測値に対する信頼性が低い場合である。このため、本実施の形態に係る判定装置は、過検出率および該過検出率の予測値に対する信頼性が低い場合、さらに新たな検査対象物から特性値を取得し追加することができるため、信頼性のある過検出率および該過検出率の予測値が得られるまで特性値を取得する検査対象物の個数を増やすことができる。   Here, when the user is instructed to acquire a characteristic value from a new inspection object, since the number of inspection objects for acquiring the characteristic value is small, the overdetection rate and prediction calculated from the characteristic value This is when the reliability of the value is low. For this reason, the determination device according to the present embodiment can acquire and add a characteristic value from a new inspection object when the reliability of the overdetection rate and the predicted value of the overdetection rate is low. The number of inspection objects for which characteristic values are acquired can be increased until a reliable overdetection rate and a predicted value of the overdetection rate are obtained.

このように、信頼性のある過検出率および該過検出率の予測値を得ることができるため、ユーザに対して検査対象物が正常であるか否かを確度よく判定できる閾値を設定するための情報を提供することができる。   In this way, since a reliable overdetection rate and a predicted value of the overdetection rate can be obtained, a threshold value that can accurately determine whether or not the inspection object is normal is set for the user. Information can be provided.

本発明に係る判定装置は、上記した構成において、上記過検出率および上記見逃し率と、上記過検出率および上記見逃し率の予測値とを算出するための特性値の種類を変更する変更手段と、許容される過検出率の値および許容される見逃し率の値を示す許容情報を保持する記憶装置と、上記許容情報と、上記予測値算出手段によって算出された過検出率および見逃し率の予測値とに基づき、上記過検出率の予測値が許容値以下となり、かつ上記見逃し率の予測値が許容値以下となる、閾値の設定可能な範囲である閾値範囲情報を求め、この求めた閾値範囲情報に応じて、正常な検査対象物それぞれから取得した特性値の分布と、異常が生じている検査対象物それぞれから取得した特性値の分布とを判別するための閾値を設定することができるか否かを判定する閾値設定判定手段と、上記閾値設定判定手段が、上記閾値によって、正常な検査対象物それぞれから取得した特性値の分布と異常が生じている検査対象物それぞれから取得した特性値の分布とを判別不可能であると判定した場合、上記出力手段は、閾値の変化に応じた、上記算出手段によって算出された過検出率および見逃し率の変化を示すグラフと、閾値の変化に応じた、上記予測値算出手段によって算出された過検出率および見逃し率の予測値の変化を示すグラフとを出力し、上記閾値設定判定手段が、上記閾値によって、正常な検査対象物それぞれから取得した特性値の分布と異常が生じている検査対象物それぞれから取得した特性値の分布とを判別不可能であると判定した場合、取得する特性値の種類を変更するように上記変更手段に指示するように構成されていてもよい。   In the above-described configuration, the determination device according to the present invention includes a changing unit that changes types of characteristic values for calculating the overdetection rate and the missed rate, and the predicted value of the overdetection rate and the overlooked rate. A storage device for holding allowable information indicating an allowable overdetection rate value and an allowable overlook rate value, the allowable information, and the overdetection rate and the overlooked rate prediction calculated by the predicted value calculation unit Based on the value, threshold value information that is a range in which a threshold value can be set, in which the predicted value of the over-detection rate is equal to or less than the allowable value and the predicted value of the oversight rate is equal to or less than the allowable value, is obtained. According to the range information, it is possible to set a threshold value for discriminating between the distribution of characteristic values acquired from each normal inspection object and the distribution of characteristic values acquired from each inspection object in which an abnormality has occurred. The threshold value setting determining means for determining whether or not the threshold value setting determining means acquires the characteristic value distribution acquired from each normal inspection object and the characteristic value acquired from each inspection object in which an abnormality has occurred by the threshold value. When the output unit determines that the distribution of the detection rate is indistinguishable, the output unit displays a graph indicating the change in the overdetection rate and the overlook rate calculated by the calculation unit according to the change in the threshold value, and the change in the threshold value. And a graph indicating a change in the predicted value of the overdetection rate and the missed rate calculated by the predicted value calculation unit, and the threshold setting determination unit obtains from each normal inspection object by the threshold value. If it is determined that the distribution of characteristic values obtained and the distribution of characteristic values obtained from each inspection object in which an abnormality has occurred cannot be discriminated, the type of characteristic values to be acquired is changed. It may be configured as indicated in the change means.

上記構成によると、閾値設定判定手段を備えているため、上記閾値によって、正常な検査対象物それぞれから取得した特性値の分布と異常が生じている検査対象物それぞれから取得した特性値の分布とを、過検出率および見逃し率それぞれが生じる割合が許容される範囲におさまるように判別できるか否かを判定することができる。   According to the above configuration, since the threshold setting determination means is provided, the distribution of the characteristic value acquired from each normal inspection object and the distribution of the characteristic value acquired from each inspection object in which an abnormality has occurred due to the threshold value. It is possible to determine whether or not it is possible to determine that the ratio of occurrence of the overdetection rate and the oversight rate is within an allowable range.

なお、ここで、閾値によって、正常な検査対象物それぞれから取得した特性値の分布と異常が生じている検査対象物それぞれから取得した特性値の分布とを判別できるとは、特性値から検査対象物が正常であるか否かを判定できる閾値を設定できるということである。   It should be noted that here, the distribution of the characteristic value acquired from each normal inspection object and the distribution of the characteristic value acquired from each inspection object in which an abnormality has occurred can be determined by the threshold value from the characteristic value. That is, it is possible to set a threshold value for determining whether an object is normal.

また、上記判定装置では、閾値設定判定手段が、上記閾値によって、正常な検査対象物それぞれから取得した特性値の分布と異常が生じている検査対象物それぞれから取得した特性値の分布とを判別不可能であると判定した場合、取得する特性値の種類を変更するように上記変更手段に指示することができる。   Further, in the determination apparatus, the threshold setting determination unit determines, based on the threshold, a distribution of characteristic values acquired from each normal inspection object and a distribution of characteristic values acquired from each inspection object having an abnormality. If it is determined that it is impossible, the change means can be instructed to change the type of characteristic value to be acquired.

このため、判定装置は、検査対象物が正常であるか否かを判定するために利用する特性値の種類を適切なものとすることができる。   For this reason, the determination apparatus can make the kind of characteristic value utilized in order to determine whether the test target object is normal or not to be appropriate.

また、適切な特性値から算出した過検出率の変化を示すグラフと、該過検出率の予測値の変化を示すグラフとを出力することができるため、本発明に係る判定装置は、ユーザに対して検査対象物が正常であるか否かを確度よく判定できる閾値を設定するための情報を提供することができる。   In addition, since the graph indicating the change in the overdetection rate calculated from the appropriate characteristic value and the graph indicating the change in the predicted value of the overdetection rate can be output, the determination apparatus according to the present invention provides the user with On the other hand, it is possible to provide information for setting a threshold value that can accurately determine whether or not the inspection object is normal.

また、本発明に係る判定装置は、上記した構成において、上記過検出率および上記見逃し率と、上記過検出率および上記見逃し率の予測値とを算出するための特性値の種類を変更する変更手段と、複数の正常な検査対象物それぞれから取得した特性値の集合の分布の平均に対する、複数の異常が生じている検査対象物それぞれから取得した各特性値のマハラノビス距離の平方を求め得られた値を望大特性とし、該望大特性のSN比を求め得られた値に応じて、正常な検査対象物それぞれから取得した特性値の分布と、異常が生じている検査対象物それぞれから取得した特性値の分布とを判別するための閾値を設定することができるか否かを判定する閾値設定判定手段と、上記閾値設定判定手段が、上記閾値によって、正常な検査対象物それぞれから取得した特性値の分布と異常が生じている検査対象物それぞれから取得した特性値の分布とを判別可能であると判定した場合、上記出力手段は、閾値の変化に応じた、上記算出手段によって算出された過検出率および見逃し率の変化を示すグラフと、閾値の変化に応じた、上記予測値算出手段によって算出された過検出率および見逃し率の予測値の変化を示すグラフとを出力し、上記閾値設定判定手段が、上記閾値によって、正常な検査対象物それぞれから取得した特性値の分布と異常が生じている検査対象物それぞれから取得した特性値の分布とを判別不可能であると判定した場合、取得する特性値の種類を変更するように上記変更手段に指示するように構成されていてもよい。   Further, the determination device according to the present invention is a change in which the type of characteristic value for calculating the overdetection rate and the missed rate and the predicted value of the overdetection rate and the missed rate is changed in the above-described configuration. The square of the Mahalanobis distance of each characteristic value acquired from each of the inspection objects having a plurality of abnormalities can be obtained with respect to the average of the means and the distribution of the set of characteristic values acquired from each of the plurality of normal inspection objects. From the distribution of characteristic values obtained from each normal inspection object and from each inspection object in which an abnormality has occurred, according to the value obtained by obtaining the desired value as the desired characteristic and the SN ratio of the desired characteristic. Threshold setting determination means for determining whether or not a threshold value for determining the distribution of the acquired characteristic value can be set, and the threshold setting determination means each of the normal inspection objects by the threshold value. When it is determined that the distribution of the characteristic values acquired from the distribution of the characteristic values acquired from each of the inspection objects in which an abnormality has occurred can be discriminated, the output means calculates the calculation means according to the change in the threshold value. A graph showing changes in the overdetection rate and the missed rate calculated by the above-mentioned values, and a graph showing changes in the overdetection rate and the predicted value of the overlooked rate calculated by the predicted value calculating means according to the change in the threshold value are output. However, the threshold value setting determination means cannot determine the distribution of the characteristic value acquired from each normal inspection object and the distribution of the characteristic value acquired from each inspection object having an abnormality by the threshold value. If it is determined, the change unit may be instructed to change the type of characteristic value to be acquired.

上記構成によると、閾値設定判定手段を備えているため、上記閾値によって、正常な検査対象物それぞれから取得した特性値の分布と異常が生じている検査対象物それぞれから取得した特性値の分布とを、過検出率および/または見逃し率それぞれが生じる割合が許容される範囲におさまるように判別できるか否かを判定することができる。   According to the above configuration, since the threshold setting determination means is provided, the distribution of the characteristic value acquired from each normal inspection object and the distribution of the characteristic value acquired from each inspection object in which an abnormality has occurred due to the threshold value. Can be determined so that the ratio of occurrence of the overdetection rate and / or the oversight rate falls within an allowable range.

なお、ここで、閾値によって、正常な検査対象物それぞれから取得した特性値の分布と異常が生じている検査対象物それぞれから取得した特性値の分布とを判別できるとは、特性値から検査対象物が正常であるか否かを判定できる閾値を設定できるということである。   It should be noted that here, the distribution of the characteristic value acquired from each normal inspection object and the distribution of the characteristic value acquired from each inspection object in which an abnormality has occurred can be determined by the threshold value from the characteristic value. That is, it is possible to set a threshold value for determining whether an object is normal.

また、上記判定装置では、閾値設定判定手段が、上記閾値によって、正常な検査対象物それぞれから取得した特性値の分布と異常が生じている検査対象物それぞれから取得した特性値の分布とを判別不可能であると判定した場合、取得する特性値の種類を変更するように上記変更手段に指示することができる。   Further, in the determination apparatus, the threshold setting determination unit determines, based on the threshold, a distribution of characteristic values acquired from each normal inspection object and a distribution of characteristic values acquired from each inspection object having an abnormality. If it is determined that it is impossible, the change means can be instructed to change the type of characteristic value to be acquired.

このため、判定装置は、検査対象物が正常であるか否かを判定するために利用する特性値の種類を適切なものとすることができる。   For this reason, the determination apparatus can make the kind of characteristic value utilized in order to determine whether the test target object is normal or not to be appropriate.

また、適切な特性値から算出した過検出率の変化を示すグラフと、該過検出率の予測値の変化を示すグラフとを出力することができるため、本発明に係る判定装置は、ユーザに対して検査対象物が正常であるか否かを確度よく判定できる閾値を設定するための情報を提供することができる。   In addition, since the graph indicating the change in the overdetection rate calculated from the appropriate characteristic value and the graph indicating the change in the predicted value of the overdetection rate can be output, the determination apparatus according to the present invention provides the user with On the other hand, it is possible to provide information for setting a threshold value that can accurately determine whether or not the inspection object is normal.

また、本発明に係る判定装置は、上記した構成において、検査対象物から上記特性値を取得する取得手段と、上記算出手段によって算出された過検出率および見逃し率と、上記予測値算出手段によって算出された過検出率および見逃し率の予測値とに基づき、過検出率と過検出率の予測値との差、および見逃し率と見逃し率の予測値との差を求め、これらの差の組み合わせが所定値以上であるか否かを判定する差分判定手段とを備え、上記差分判定手段が、上記差が所定値以上であると判定した場合、取得手段に対して、さらなる検査対象物からの特性値の取得を指示するように構成されていてもよい。   In the above-described configuration, the determination apparatus according to the present invention includes an acquisition unit that acquires the characteristic value from the inspection target, an overdetection rate and an oversight rate calculated by the calculation unit, and the predicted value calculation unit. Based on the calculated overdetection rate and the predicted value of the overlooked rate, find the difference between the overdetection rate and the predicted value of the overdetection rate, and the difference between the overlooked rate and the predicted value of the overlooked rate, and combine these differences Difference determining means for determining whether or not the difference is greater than or equal to a predetermined value, and when the difference determination means determines that the difference is greater than or equal to a predetermined value, You may be comprised so that acquisition of a characteristic value may be instruct | indicated.

上記構成によると、差分判定手段を備えているため、過検出率と該過検出率の予測値との差、および見逃し率と該見逃し率の予測値との差が所定値以上であるか否かを判定することができる。なお、この所定値は、信頼性を有する過検出率および見逃し率と該過検出率および見逃し率の予測値とを得ることができるだけの個数分だけ、検査対象物が存在するものと判断できる範囲で設定される値である。   According to the above configuration, since the difference determination unit is provided, whether or not the difference between the overdetection rate and the predicted value of the overdetection rate, and the difference between the overlook rate and the predicted value of the overlook rate is equal to or greater than a predetermined value. Can be determined. The predetermined value is within a range in which it is possible to determine that there are inspection objects as many as the number of reliable overdetection rates and missed rates and the predicted values of the overdetection rates and missed rates. It is a value set by.

ここで過検出率と該過検出率の予測値との差、および見逃し率と該見逃し率の予測値との差が所定値以上であるとは、過検出率および見逃し率と該過検出率および見逃し率の予測値とが十分な信頼性を有していないということである。すなわち、過検出率と該過検出率の予測値、および見逃し率と該見逃し率の予測値とを算出するために利用する特性値を抽出する検査対象物の個数が少ないということである。   Here, the difference between the overdetection rate and the predicted value of the overdetection rate, and the difference between the overlooked rate and the predicted value of the overlooked rate are equal to or greater than a predetermined value means that the overdetection rate, the overlooked rate, and the overdetection rate And the predicted value of the miss rate is not sufficiently reliable. That is, the number of inspection objects from which characteristic values used to calculate the overdetection rate and the predicted value of the overdetection rate, and the missed rate and the predicted value of the overlooked rate are small.

上記判定装置は、上記差が所定値以上であると判定した場合、取得手段にさらなる特性値の取得を指示することができる。このため、信頼性のある過検出率とが該検出率の予測値、および見逃し率と該見逃し率の予測値とを算出できるだけの個数分の検査対象物から特性値を取得するこができる。   When the determination device determines that the difference is greater than or equal to a predetermined value, the determination device can instruct acquisition means to acquire further characteristic values. For this reason, it is possible to obtain the characteristic values from the inspection objects for the number of inspection objects that can calculate the reliable overdetection rate and the predicted value of the detection rate, and the miss rate and the predicted value of the miss rate.

したがって、信頼性のある過検出率と該過検出率の予測値、および見逃し率と見逃し率の予測値を得ることができるため、ユーザに対して検査対象物が正常であるか否かを確度よく判定できる閾値を設定するための情報を提供することができる。   Therefore, since it is possible to obtain a reliable overdetection rate, a predicted value of the overdetection rate, and an overlooked rate and a predicted value of the overlooked rate, the accuracy of whether or not the inspection object is normal to the user Information for setting a threshold value that can be well determined can be provided.

また、本発明に係る判定装置は、上記した構成において、ユーザからの、上記閾値を指定する情報を受付ける閾値指定受付け部をさらに備え、上記出力手段が、上記閾値指定受付け部によって受付けた閾値に応じて、算出手段によって算出された過検出率および見逃し率と予測値算出手段によって算出された過検出率および見逃し率の予測値とを出力するように構成されていることが好ましい。   Moreover, the determination apparatus according to the present invention further includes a threshold value specification receiving unit that receives information specifying the threshold value from the user in the configuration described above, and the output unit sets the threshold value received by the threshold value specification reception unit. Accordingly, it is preferable that the overdetection rate and the miss rate calculated by the calculation unit and the predicted value of the overdetection rate and the miss rate calculated by the prediction value calculation unit are output.

上記構成によると、算出手段によって算出された過検出率および見逃し率と、予測値算出手段によって算出された過検出率および見逃し率の予測値とを出力することができるため、ユーザによって設定された閾値の適否を確認することができる。   According to the above configuration, the overdetection rate and the overlook rate calculated by the calculation unit and the overdetection rate and the overlooked rate prediction value calculated by the prediction value calculation unit can be output. Appropriateness of the threshold can be confirmed.

また、本発明に係る判定装置では、上記した構成において、上記予測値算出手段は、複数の正常な検査対象物それぞれから取得した特性値の集合に関して、該特性値の分布の平均に対する各特性値のマハラノビス距離の平方を求め得られた値の集合に対して、F分布の上側確率を求めることにより予測値を算出する構成であってもよい。   In the determination apparatus according to the present invention, in the configuration described above, the predicted value calculation unit may include each characteristic value with respect to an average of the distribution of the characteristic values with respect to a set of characteristic values acquired from each of a plurality of normal inspection objects. For the set of values obtained by obtaining the square of the Mahalanobis distance, the predicted value may be calculated by obtaining the upper probability of the F distribution.

上記予測値算出手段は、複数の検査対象物それぞれから取得した特性値を組み合わせて生成した、複数の集合を訓練サンプルとし、該訓練サンプルにおける各集合において上記過検出率および見逃し率を、過検出率および見逃し率の予測値として算出する構成であってもよい。   The predicted value calculation means uses a plurality of sets generated by combining characteristic values acquired from a plurality of inspection objects as training samples, and overdetects the overdetection rate and the oversight rate in each set of the training samples. It may be configured to calculate the predicted value of the rate and the miss rate.

なお、上記調整装置は、コンピュータによって実現してもよく、この場合には、コンピュータを上記各手段として動作させることにより上記調整装置をコンピュータにて実現させる調整装置の制御プログラムを記録したコンピュータ読取り可能な記録媒体も本発明の範疇に入る。   The adjusting device may be realized by a computer. In this case, the computer can be read by recording a control program of the adjusting device that causes the adjusting device to be realized by the computer by operating the computer as the respective means. Various recording media also fall within the scope of the present invention.

本発明に係る判定装置は、以上のように、検査対象物から該検査対象物が正常であるか否か区別するための要素となる情報である特性値を取得し、この特性値に応じて検査対象物が正常であるか否かを判定するための判定装置であって、複数の正常な検査対象物それぞれから取得した特性値の分布情報から、該検査対象物が正常であるか否かを判定するための閾値を任意に設定した場合における、正常な検査対象物を異常であると判定する割合である過検出率を算出する算出手段と、統計的手法により、上記特性値に基づいて上記過検出率の予測値を算出する予測値算出手段と、上記閾値の変化に応じた、上記算出手段によって算出された過検出率の変化を示すグラフと、閾値の変化に応じた、上記予測値算出手段によって算出された過検出率の予測値の変化を示すグラフとを出力する出力手段とを備えることを特徴とする。   As described above, the determination apparatus according to the present invention acquires a characteristic value that is information serving as an element for distinguishing whether or not the inspection object is normal from the inspection object, and according to the characteristic value A determination device for determining whether or not an inspection object is normal, and whether or not the inspection object is normal from distribution information of characteristic values acquired from each of a plurality of normal inspection objects Based on the above characteristic value by a calculating means for calculating an overdetection rate that is a ratio for determining that a normal inspection object is abnormal, and a statistical method A predicted value calculating means for calculating a predicted value of the overdetection rate; a graph showing a change in the overdetection rate calculated by the calculating means in accordance with a change in the threshold; and the prediction in accordance with a change in the threshold. Overdetection calculated by value calculation means And an outputting means for outputting a graph showing changes in the estimated value of.

したがって、本発明に係る判定装置は、ユーザに対して検査対象物が正常であるか否かを確度よく判定できる閾値を設定するための情報を提供することができるという効果を奏する。   Therefore, the determination apparatus according to the present invention has an effect that it is possible to provide information for setting a threshold value that can accurately determine whether or not the inspection object is normal to the user.

また、本発明に係る判定装置は、以上のように、検査対象物から該検査対象物が正常であるか否か区別するための要素となる情報である特性値を取得し、この特性値に応じて検査対象物が正常であるか否かを判定するための判定装置であって、複数の正常な検査対象物それぞれから取得した特性値の分布情報から、該検査対象物が正常であるか否かを判定するための閾値を任意に設定した場合における、正常な検査対象物を異常であると判定する割合である過検出率を算出する算出手段と、統計的手法により、上記特性値に基づいて上記過検出率の予測値を算出する予測値算出手段と、閾値の変化に応じた、上記予測値算出手段によって算出された過検出率の予測値の変化を示すグラフとを出力する出力手段と、検査対象物から上記特性値を取得する取得手段と、上記算出手段によって算出された過検出率と、上記予測値算出手段によって算出された過検出率の予測値とに基づき、算出された過検出率と該過検出率の予測値との差を求め、この差が所定値以上であるか否かを判定する差分判定手段とを備え、上記差分判定手段が、上記差が所定値以上であると判定した場合、上記取得手段に対して、新たな検査対象物からの特性値の取得を指示することを特徴とする。   Further, as described above, the determination apparatus according to the present invention acquires a characteristic value that is information serving as an element for distinguishing whether or not the inspection target is normal from the inspection target, and uses the characteristic value as the characteristic value. A determination device for determining whether or not the inspection object is normal according to whether or not the inspection object is normal from distribution information of characteristic values obtained from each of the plurality of normal inspection objects When the threshold value for determining whether or not is arbitrarily set, the characteristic value is obtained by a calculation means for calculating an overdetection rate that is a ratio for determining that a normal inspection object is abnormal, and a statistical method. An output that outputs a predicted value calculation unit that calculates a predicted value of the overdetection rate based on the above, and a graph that shows a change in the predicted value of the overdetection rate calculated by the predicted value calculation unit according to a change in the threshold value And the above characteristic values from the inspection object Based on the acquisition means to be obtained, the overdetection rate calculated by the calculation means, and the predicted value of the overdetection rate calculated by the predicted value calculation means, the calculated overdetection rate and the predicted value of the overdetection rate Difference determining means for determining whether or not the difference is greater than or equal to a predetermined value, and when the difference determining means determines that the difference is greater than or equal to a predetermined value, On the other hand, the acquisition of the characteristic value from the new inspection object is instructed.

したがって、信頼性のある過検出率の予測値を得ることができるため、ユーザに対して検査対象物が正常であるか否かを確度よく判定できる閾値を設定するための情報を提供することができるという効果を奏する。   Therefore, since a reliable predicted value of the overdetection rate can be obtained, it is possible to provide information for setting a threshold value with which it is possible to accurately determine whether or not the inspection object is normal for the user. There is an effect that can be done.

本発明の一実施形態について図1ないし図24に基づいて説明すると以下の通りである。すなわち、本発明に係る検査システム100は、製造されたエンジン1が良品であるのか否かを調べるものであり、図2に示すように、マイク2、加速度ピックアップ3、アンプ4、AD変換器5、および検査装置10を備えてなる構成である。この図2は、本発明の実施形態を示すものであり、検査システム100の要部構成を示すブロック図である。   An embodiment of the present invention will be described with reference to FIGS. 1 to 24 as follows. That is, the inspection system 100 according to the present invention checks whether or not the manufactured engine 1 is a non-defective product. As shown in FIG. 2, the microphone 2, the acceleration pickup 3, the amplifier 4, and the AD converter 5 are used. , And the inspection device 10. FIG. 2 shows an embodiment of the present invention, and is a block diagram showing a main configuration of the inspection system 100.

すなわち、本実施の形態に係る検査システム100では、検査対象物(サンプル)が、製造されたエンジン1である。また、良品とは、正常に駆動するエンジン1であり、正常にエンジン1が駆動した際に生じる音および振動と、該エンジン1が不良品である場合に生じる音および振動とは異なることとなる。このため、この生じる音および/または振動に基づいてエンジン1が良品であるか否かを判定することができる。   That is, in the inspection system 100 according to the present embodiment, the inspection object (sample) is the manufactured engine 1. The non-defective product is the engine 1 that is normally driven, and the sound and vibration that are generated when the engine 1 is normally driven are different from the sound and vibration that are generated when the engine 1 is defective. . Therefore, it is possible to determine whether or not the engine 1 is a non-defective product based on the generated sound and / or vibration.

上記マイク2は、エンジン1に接触または近接するように配されており、駆動させたエンジン1から生じる音のデータ(音データ)を収集するものである。マイク2は、収集した音データをアンプ4に送信する。   The microphone 2 is arranged so as to be in contact with or close to the engine 1 and collects sound data (sound data) generated from the driven engine 1. The microphone 2 transmits the collected sound data to the amplifier 4.

上記加速度ピックアップ3は、エンジン1に接触または近接するように配されており、駆動させたエンジン1から生じる振動のデータ(振動データ)を収集するものである。加速度ピックアップ3は、収集した振動データをアンプ4に送信する。   The acceleration pickup 3 is arranged so as to be in contact with or close to the engine 1 and collects vibration data (vibration data) generated from the driven engine 1. The acceleration pickup 3 transmits the collected vibration data to the amplifier 4.

アンプ4は、上記マイク2から受信した音データと、上記加速度ピックアップ3から受信した振動データとをそれぞれ増幅するものである。アンプ4は、増幅させた音データおよび振動データをAD変換器5に送信する。   The amplifier 4 amplifies the sound data received from the microphone 2 and the vibration data received from the acceleration pickup 3. The amplifier 4 transmits the amplified sound data and vibration data to the AD converter 5.

AD変換器5は、アンプ4にて増幅された音データおよび振動データをそれぞれデジタルデータに変換するものであり、変換した音データおよび振動データそれぞれのデジタルデータを検査装置10に送信する。   The AD converter 5 converts the sound data and vibration data amplified by the amplifier 4 into digital data, and transmits the converted digital data of the sound data and vibration data to the inspection apparatus 10.

検査装置10は、受信した音データおよび/または振動データそれぞれから波形データを取得し、これら波形データから特徴量(特性値)をそれぞれ抽出するとともに、抽出した特徴量を利用して検査対象であるエンジン1が良品であるか否かを判定するものである。また、上記検査装置10は、上記抽出した特徴量に基づき上記エンジン1が良品であるか否かを判定するための閾値tを設定するものでもある。   The inspection device 10 acquires waveform data from each of the received sound data and / or vibration data, extracts feature amounts (characteristic values) from these waveform data, and uses the extracted feature amounts to be an inspection target. It is determined whether or not the engine 1 is a non-defective product. The inspection apparatus 10 also sets a threshold value t for determining whether or not the engine 1 is a non-defective product based on the extracted feature amount.

なお、上記特徴量とは、エンジンを駆動させた際に生じる音または振動から得られる値であり、該エンジンが良品である場合と不良品である場合とを区別可能とする要素(計測項目)の値である。すなわち、上記特徴量とは、エンジン1が良品であるか否かを判定するために用いる物理的特性であり、製品の品質をよく表す特性(品質特性)としてみなすことができるものである。   The feature amount is a value obtained from sound or vibration generated when the engine is driven, and is an element (measurement item) that can distinguish between a case where the engine is a non-defective product and a case where the engine is a defective product. Is the value of That is, the feature amount is a physical characteristic used for determining whether or not the engine 1 is a non-defective product, and can be regarded as a characteristic (quality characteristic) that well represents the quality of the product.

より具体的には、上記特徴量とは、例えば図3に示すように、音データまたは振動データから得られる波形において所定時間範囲(例えばTL1.0〜TH4.0)における閾値(例えばPT=2・0)以上となる波形のピーク数であってもよい。あるいは、所定時間範囲における波形のピークのうち、所定順位の大きさとなるピーク値であってもよい。   More specifically, the feature amount is, for example, as shown in FIG. 3, a threshold value (for example, PT = 2) in a predetermined time range (for example, TL1.0 to TH4.0) in a waveform obtained from sound data or vibration data. -It may be the number of peaks of the waveform that is 0) or more. Or the peak value which becomes a magnitude | size of a predetermined order among the peaks of the waveform in a predetermined time range may be sufficient.

なお、この図3は本実施の形態に係る検査装置10において利用される特徴量の一例を示す図である。例えば、図3に示すように、所定時間範囲TL1.0〜TH4.0において、所定順位として例えばRP=1などのように指定された最も値が大きくなる順位のピーク値、S(t)=4.0であってもよい。   Note that FIG. 3 is a diagram illustrating an example of the feature amount used in the inspection apparatus 10 according to the present embodiment. For example, as shown in FIG. 3, in the predetermined time range TL1.0 to TH4.0, the peak value of the rank in which the largest value is designated as the predetermined rank, for example, RP = 1, S (t) = It may be 4.0.

なお、上記所定時間範囲を規定する上限値(時間)TH、下限値(時間)TL、閾値PT、所定順位RPそれぞれの値は、パラメータとして検査装置10に入力され設定される。   The upper limit value (time) TH, the lower limit value (time) TL, the threshold value PT, and the predetermined rank RP that define the predetermined time range are input and set as parameters in the inspection apparatus 10.

また、特徴量は上記したように、所定時間範囲内における波形データのピーク数、所定時間範囲内における、特定順位となる波形データのピーク値に限定されるものではなく、エンジンが良品である場合と不良品である場合とを区別可能とする要素の値であればよい。また、特徴量は、音データまたは振動データそれぞれから少なくも1種類以上抽出されればよい。   In addition, as described above, the feature amount is not limited to the number of waveform data peaks in a predetermined time range and the peak value of waveform data in a specific order within a predetermined time range. It is sufficient that the value of the element is such that it can be distinguished from a defective product. Further, at least one type of feature amount may be extracted from each of the sound data or the vibration data.

以上のように本実施の形態に係る検査システム100は、マイク2によって検出した音データおよび加速度ピックアップ3によって検出した振動データそれぞれを検査装置10に入力することができる。また、検査装置10は、入力された音データおよび振動データそれぞれの波形データを利用して特徴量を抽出し、該特徴量に基づき検査対象であるエンジン1が良品であるか否かを判定することができる。   As described above, the inspection system 100 according to the present embodiment can input the sound data detected by the microphone 2 and the vibration data detected by the acceleration pickup 3 to the inspection apparatus 10. Further, the inspection apparatus 10 extracts feature amounts by using the waveform data of the input sound data and vibration data, and determines whether or not the engine 1 to be inspected is a good product based on the feature amounts. be able to.

次に本実施の形態に係る検査装置10の構成について図4を参照して説明する。なお、図4は本発明の実施形態を示すものであり、検査装置10の要部構成を示すブロック図である。   Next, the configuration of the inspection apparatus 10 according to the present embodiment will be described with reference to FIG. FIG. 4 shows an embodiment of the present invention, and is a block diagram showing a main configuration of the inspection apparatus 10.

まず図4に示すように、本実施の形態に係る検査装置10は、検査装置制御部11、データ格納部30、表示部40、および入力部50を備えてなる構成である。   First, as illustrated in FIG. 4, the inspection apparatus 10 according to the present embodiment includes an inspection apparatus control unit 11, a data storage unit 30, a display unit 40, and an input unit 50.

データ格納部30は、読み書き可能な記録媒体であり、例えばハードディスクなどにより実現される。このデータ格納部30には、図5に示すように、後述する閾値設定制御部20によって音データおよび/または振動データから抽出された特徴量の抽出順番ごとに割り当てられているID番号と、該ID番号に対応する特徴量を有するエンジン1が良品であるか否かを示す情報(OK/NG)と、抽出された特徴量の種類(検査項目)ごとの値、すなわち特徴量X、特徴量Y、および特徴量Zそれぞれの値との対応関係を示す特徴量テーブル情報31が記録される。この図5は、本実施の形態に係る特徴量テーブル情報31の一例を示す図である。   The data storage unit 30 is a readable / writable recording medium, and is realized by, for example, a hard disk. As shown in FIG. 5, the data storage unit 30 has an ID number assigned for each extraction order of feature amounts extracted from sound data and / or vibration data by a threshold setting control unit 20 described later, Information (OK / NG) indicating whether or not the engine 1 having the feature quantity corresponding to the ID number is a non-defective product, and the value for each type (examination item) of the extracted feature quantity, that is, the feature quantity X and the feature quantity Feature quantity table information 31 indicating a correspondence relationship between the values of Y and feature quantity Z is recorded. FIG. 5 is a diagram showing an example of the feature amount table information 31 according to the present embodiment.

なお、本実施の形態に係る検査装置10では、図5に示すように、良品サンプルと不良品サンプルとの特徴量それぞれを共に記録した特徴量テーブル情報31をデータ格納部30に記憶する構成であった。しかしながら、検査装置10は、図19(a)および図19(b)に示すように良品のエンジン1の音データまたは振動データから抽出した特徴量と、不良品のエンジン1の音データまたは振動データから抽出した特徴量とをそれぞれ別々のテーブルとしてデータ格納部に記録する構成であってもよい。   In the inspection apparatus 10 according to the present embodiment, as shown in FIG. 5, the feature amount table information 31 in which the feature amounts of the non-defective product sample and the defective product sample are recorded together is stored in the data storage unit 30. there were. However, as shown in FIGS. 19 (a) and 19 (b), the inspection apparatus 10 uses the feature amount extracted from the sound data or vibration data of the non-defective engine 1, and the sound data or vibration data of the defective engine 1. The feature quantity extracted from each may be recorded in the data storage unit as a separate table.

なお、音データおよび/または振動データから抽出される特徴量は特徴量X、特徴量Y、および特徴量Zの3種類に限定されるものではなく、1種類であってもよいし3種類以上であってもよい。   Note that the feature amount extracted from the sound data and / or vibration data is not limited to the three types of feature amount X, feature amount Y, and feature amount Z, but may be one type or three or more types. It may be.

また、このデータ格納部30には、上記特徴量テーブル情報31以外にも、閾値設定データ32、許容誤判別率データ33、および内部管理データ34がさらに記憶されている。この閾値設定データ32は、図6に示すように複数の閾値候補(t=1.0、2.0、…100.0)を記憶したテーブルであって、閾値設定制御部20によって見逃し率および過検出率を算出するために用いられる情報である。なお、この図6は、本実施の形態に係る閾値設定データ32の一例を示す図である。   In addition to the feature amount table information 31, the data storage unit 30 further stores threshold setting data 32, allowable misclassification rate data 33, and internal management data 34. The threshold value setting data 32 is a table storing a plurality of threshold value candidates (t = 1.0, 2.0,... 100.0) as shown in FIG. This is information used to calculate the overdetection rate. FIG. 6 is a diagram showing an example of the threshold setting data 32 according to the present embodiment.

また、上記許容誤判別率データ33は、閾値設定制御部20によって過検出率の期待値(予測値)と見逃し率の期待値とが十分に分離可能な状態であるか否かを判定するために用いられる情報である。ここで、過検出率および見逃し率の期待値とは、限られた個数の検査対象物であるエンジン1から抽出した特徴量を利用してエンジン1の母集団の過検出率および見逃し率を予測した値である。   The allowable misclassification rate data 33 is used to determine whether or not the threshold value setting control unit 20 can sufficiently separate the expected value (predicted value) of the overdetection rate and the expected value of the overlook rate. It is information used for. Here, the expected values of the overdetection rate and the overlook rate are the predicted values of the overdetection rate and the overlook rate of the population of the engine 1 using the feature values extracted from the engine 1 that is a limited number of inspection objects. It is the value.

この許容誤判別率データ33は、図7に示すように、過検出率の期待値および見逃し率の期待値それぞれについての許容値(許容過検出率および許容見逃し率)が記録されている。なお、この許容過検出率とは、過検出が生じても許容される割合を示す情報であり、許容見逃し率とは、見逃しが生じても許容される割合を示す情報である。また、この図7は、本実施の形態に係る許容誤判別率データ33の一例を示す図である。   As shown in FIG. 7, the permissible misclassification rate data 33 records the permissible values (the permissible overdetection rate and the permissible miss rate) for the expected value of the overdetection rate and the expected value of the overlook rate. Note that the allowable overdetection rate is information indicating a rate that is allowed even if overdetection occurs, and the allowable oversight rate is information indicating a rate that is allowable even if overlooking occurs. FIG. 7 is a diagram showing an example of allowable misclassification rate data 33 according to the present embodiment.

上記内部管理データ34は、図12に示すように後述する閾値設定制御部20によって算出された、閾値候補ごとに応じた見逃し率の実測値と、見逃し率の期待値と、過検出率の実測値と、過検出率の期待値との対応関係を示すテーブルである。なお、この図12は、本実施の形態に係る内部管理データ34の一例を示す図である。また、上記検出率および見逃し率の実測値とは、実際に良否が判定された複数のエンジン1から取得した特徴量を用いて求めた過検出率および見逃し率である。   As shown in FIG. 12, the internal management data 34 is calculated by a threshold setting control unit 20 to be described later, an actual value of an overlook rate corresponding to each threshold candidate, an expected value of an overlook rate, and an actual value of an overdetection rate. It is a table which shows the correspondence of a value and the expected value of an overdetection rate. FIG. 12 is a diagram showing an example of the internal management data 34 according to the present embodiment. The actual measurement values of the detection rate and the miss rate are the over-detection rate and the miss rate obtained by using the feature amounts acquired from the plurality of engines 1 that have actually been determined to be good or bad.

表示部40は、検査装置制御部11からの指示に応じて、各種データ、または該データに基づくグラフ等を表示するものである。なお、この表示部40は例えば、LCD(Liquid Crystal Display)などによって実現することができる。   The display unit 40 displays various data or a graph based on the data in accordance with an instruction from the inspection apparatus control unit 11. The display unit 40 can be realized by, for example, an LCD (Liquid Crystal Display).

入力部50は、ユーザが本実施の形態に係る検査装置10に対して操作指示等を入力するための外部入力手段である。この操作指示には、例えば閾値tの入力指示または決定指示などが含まれる。この入力部50は、外部入力手段として例えば、キーボード、マウス、タッチパネル等によって実現できる。   The input unit 50 is an external input unit for a user to input an operation instruction or the like to the inspection apparatus 10 according to the present embodiment. This operation instruction includes, for example, an input instruction or determination instruction for the threshold value t. The input unit 50 can be realized by, for example, a keyboard, a mouse, a touch panel, or the like as an external input unit.

上記検査装置制御部11は、本実施の形態に係る検査装置が備える各部を制御するものである。検査装置制御部11は、図4に示すように、機能ブロックとして、データ収集制御部12、良否判定部13、および閾値設定制御部20を備える。なお、この機能ブロックは、検査装置制御部11がCPUなどによって実現される場合、該CPUが不図示のROMなどからプログラムを読み出し、不図示のRAMなどで実行することにより実現できる。   The inspection device control unit 11 controls each unit included in the inspection device according to the present embodiment. As shown in FIG. 4, the inspection apparatus control unit 11 includes a data collection control unit 12, a pass / fail determination unit 13, and a threshold setting control unit 20 as functional blocks. When the inspection apparatus control unit 11 is realized by a CPU or the like, this functional block can be realized by the CPU reading a program from a ROM (not shown) and executing it with a RAM (not shown).

上記データ収集制御部12は、マイク2によって検出された音データおよび加速度ピックアップ3によって検出された振動データそれぞれから特徴量を抽出し収集するものである。また、抽出し収集した特徴量を良否判定部13に通知し該特徴量を有するエンジン1が良品であるか否かを判定するように指示するものでもある。   The data collection control unit 12 extracts and collects feature amounts from the sound data detected by the microphone 2 and the vibration data detected by the acceleration pickup 3. In addition, the extracted and collected feature quantities are notified to the quality determination unit 13 to instruct to determine whether or not the engine 1 having the feature quantities is a non-defective product.

すなわち、データ収集制御部12は、入力部50または閾値設定制御部20から特徴量の収集指示を受信した場合、抽出した特徴量を、該特徴量を有するエンジン1が良品であるか否かを示す情報(OK/NG)と、データIDとに対応付けて、特徴量テーブル情報31としてデータ格納部30に記憶させる。   That is, when the data collection control unit 12 receives a feature amount collection instruction from the input unit 50 or the threshold setting control unit 20, the data collection control unit 12 determines whether or not the engine 1 having the feature amount is a non-defective product. The information is stored in the data storage unit 30 as the feature amount table information 31 in association with the information (OK / NG) and the data ID.

なお、上記良品(OK)または不良品(NG)を示す情報は、下記のようにして抽出された特徴量と対応付けられる。すなわち、特徴量テーブル情報31には、予め良品または不良品であると判別されているエンジン1の音データおよび/または振動データから抽出した特徴量が記録されるようになっている。そして、データ収集制御部12がエンジン1の音データおよび/または振動データから特徴量を抽出する際に、入力部50によって、現在、抽出された特徴量を有するエンジン1が良品であるか否かを示す情報がデータ収集制御部12に通知される。そこで、データ収集制御部12は、入力部50から通知された良品であるか否かを示す情報と、抽出した特徴量とを対応付けて特徴量テーブル情報31としてデータ格納部30に記録する。   The information indicating the non-defective product (OK) or the defective product (NG) is associated with the feature amount extracted as described below. That is, the feature amount table information 31 is recorded with the feature amount extracted from the sound data and / or vibration data of the engine 1 that has been previously determined to be a non-defective product or a defective product. Then, when the data collection control unit 12 extracts the feature quantity from the sound data and / or vibration data of the engine 1, whether or not the engine 1 having the feature quantity currently extracted by the input unit 50 is a non-defective product. Is sent to the data collection control unit 12. Therefore, the data collection control unit 12 records information indicating whether the product is a non-defective product notified from the input unit 50 and the extracted feature quantity in the data storage unit 30 as the feature quantity table information 31.

なお、上記良品(OK)または不良品(NG)を示す情報を、抽出された特徴量と対応付ける方法はこれに限定されるものではなく、例えば、入力部50が、特徴量の抽出順番を示すID番号とともにエンジン1が良品であるのか否かを示す情報(OK/NG)を、特徴量が全て抽出された後にデータ収集制御部12に送信する。データ収集制御部12は、上記ID番号に応じて取得した特徴量に良品(OK)または不良品(NG)を示す情報を対応付ける。   Note that the method of associating the information indicating the non-defective product (OK) or the defective product (NG) with the extracted feature value is not limited to this, and for example, the input unit 50 indicates the extraction order of the feature value. Information (OK / NG) indicating whether the engine 1 is a non-defective product along with the ID number is transmitted to the data collection control unit 12 after all the feature values are extracted. The data collection control unit 12 associates information indicating a non-defective product (OK) or a defective product (NG) with the feature amount acquired according to the ID number.

一方、入力部50から特徴量を抽出するエンジン1が良品であるか否かを判定する旨の指示を受付けたら、データ収集制御部12は、抽出した特徴量を良否判定部13に送信し、この特徴量を有するエンジン1が良品であるか否かを判定するように指示する。   On the other hand, when receiving an instruction to determine whether or not the engine 1 that extracts the feature value from the input unit 50 is a non-defective product, the data collection control unit 12 transmits the extracted feature value to the quality determination unit 13. It is instructed to determine whether or not the engine 1 having this feature amount is a non-defective product.

良否判定部13は、データ収集制御部12から受信した特徴量に対して、後述する閾値設定制御部20から受信した閾値tを利用して、該特徴量を有するエンジン1が良否であるか否かを判定するものである。良否判定部13は判定した結果を表示部40に出力し表示させる。   The quality determination unit 13 uses a threshold value t received from a threshold setting control unit 20 to be described later with respect to the feature value received from the data collection control unit 12, and determines whether the engine 1 having the feature value is good or bad. This is a judgment. The pass / fail determination unit 13 outputs the determined result to the display unit 40 for display.

閾値設定制御部20は、データ格納部30に記憶された特徴量テーブル情報31を参照して、良品または不良品を判別するための閾値tを設定するものである。設定した閾値tを良否判定部13に送信する。   The threshold value setting control unit 20 refers to the feature amount table information 31 stored in the data storage unit 30 and sets a threshold value t for discriminating non-defective products or defective products. The set threshold value t is transmitted to the pass / fail determination unit 13.

ここで、閾値設定制御部20の詳細な構成について図1を参照して説明する。図1は本発明の実施形態を示すものであり、検査装置10の閾値設定制御部20に係る要部構成の一例を示すブロック図である。   Here, a detailed configuration of the threshold setting control unit 20 will be described with reference to FIG. FIG. 1 illustrates an embodiment of the present invention, and is a block diagram illustrating an example of a main configuration of a threshold setting control unit 20 of an inspection apparatus 10.

図1に示すように、上記閾値設定制御部20は、機能ブロックとして、対象特徴量指定部23、特徴量データ読み出し部24、誤判別率実測計算部25、誤判別率期待値計算部26、余裕度評価部27、乖離度評価部28、表示制御部29、および実測値・期待値出力部21を備えてなる構成である。   As shown in FIG. 1, the threshold setting control unit 20 includes, as functional blocks, a target feature amount specifying unit 23, a feature amount data reading unit 24, a misclassification rate actual measurement calculation unit 25, a misclassification rate expected value calculation unit 26, This configuration includes a margin evaluation unit 27, a divergence evaluation unit 28, a display control unit 29, and an actual measurement / expected value output unit 21.

対象特徴量指定部23は、入力部50からの指示に応じて、データ格納部30に記憶された特徴量テーブル情報31に含まれる特徴量X、特徴量Y、および特徴量Zのうち、どの特徴量を利用するか特徴量の種類(検査項目)を指定するものである。この対象特徴量指定部23は、指定した特徴量の種類を示す情報を特徴量データ読み出し部24に通知し、この指定した種類の特徴量についてデータを収集するように指示する。   In response to an instruction from the input unit 50, the target feature amount specifying unit 23 selects which of the feature amount X, the feature amount Y, and the feature amount Z included in the feature amount table information 31 stored in the data storage unit 30. The feature amount is used or the feature amount type (inspection item) is designated. The target feature amount specifying unit 23 notifies the feature amount data reading unit 24 of information indicating the type of the specified feature amount, and instructs to collect data for the specified type of feature amount.

すなわち、対象特徴量指定部23は、上記特徴量の指定に関する情報とともに閾値tの設定開始指示を入力部50から受付けると、この指示に応じて、指定された種類の特徴量の収集を特徴量データ読み出し部24に対して指示する。   In other words, when the target feature value specifying unit 23 receives an instruction to start setting the threshold value t from the input unit 50 together with the information related to the specification of the feature value, the target feature value specifying unit 23 collects the specified type of feature value in accordance with this instruction. An instruction is given to the data reading unit 24.

また、この対象特徴量指定部23は、後述する余裕度評価部からの指示に応じて利用する特徴量の種類の指定を変更させるものでもある。   In addition, the target feature amount specifying unit 23 changes the specification of the type of feature amount to be used in accordance with an instruction from a margin evaluation unit described later.

特徴量データ読み出し部24は、対象特徴量指定部23からの指示に応じて、データ格納部30に記憶されている特徴量テーブル情報31を参照して、所定個数のエンジン1(検査対象物)それぞれから抽出した特徴量と、該特徴量を示すエンジン1それぞれが良品であるか否かを示す情報との対応関係を示す情報を読み出すものである。特徴量データ読み出し部24は、読み出した情報を、誤判別率実測値計算部25および誤判別率期待値計算部26に送信し、該情報に基づく演算を行うように指示する。   The feature amount data reading unit 24 refers to the feature amount table information 31 stored in the data storage unit 30 in response to an instruction from the target feature amount specifying unit 23, and a predetermined number of engines 1 (inspection objects). Information indicating a correspondence relationship between the feature amount extracted from each and the information indicating whether each engine 1 indicating the feature amount is a non-defective product is read out. The feature amount data reading unit 24 transmits the read information to the misclassification rate actual measurement value calculation unit 25 and the misclassification rate expected value calculation unit 26 and instructs to perform a calculation based on the information.

誤判別率実測値計算部25は、特徴量データ読み出し部24からの指示に応じて、受信した情報に基づき、誤判別率を算出するものである。上記誤判別率実測値計算部25は、特徴量データ読み出し部24から受信した、上記情報に基づき、例えば図25に示すように、特徴量を抽出したエンジン1(サンプル)中において良品となるエンジン1(良品サンプル)が有する特徴量のヒストグラムと、不良品となるエンジン1(不良品サンプル)が有する特徴量のヒストグラムとを求め、これらヒストグラムを参照して誤判別率(過検出率および見逃し率)を算出する。   The misclassification rate actual value calculation unit 25 calculates the misclassification rate based on the received information in response to an instruction from the feature data read unit 24. Based on the information received from the feature data reading unit 24, the misclassification rate actual measurement value calculation unit 25 is a non-defective engine in the engine 1 (sample) from which the feature values are extracted, for example, as shown in FIG. 1 (non-defective product sample) has a feature amount histogram and a non-defective engine 1 (defective product sample) has a feature amount histogram, and these histograms are referred to to determine a misclassification rate (overdetection rate and missed rate). ) Is calculated.

より詳細には、誤判別率実測計算部25は、図25に示すような特徴量の取りえる範囲を、所定範囲ごとに複数に分割して示されるヒストグラムの値を近似して例えば、図8に示すような確率密度関数を求める。そして、この求めた確立密度関数において、閾値tに設定した場合に得られる値から誤判別率(過検出率と見逃し率)の近似値を求め図9に示すような、累積密度関数を得る。   More specifically, the misclassification rate actual measurement calculation unit 25 approximates the value of the histogram shown by dividing the range of the feature amount shown in FIG. 25 into a plurality of predetermined ranges, for example, FIG. The probability density function as shown in Then, in the obtained established density function, an approximate value of the misclassification rate (overdetection rate and missed rate) is obtained from the value obtained when the threshold value t is set, and a cumulative density function as shown in FIG. 9 is obtained.

なお、この図8は、良品サンプルおよび不良品サンプルそれぞれの分布を示す確率密度関数の一例を示すグラフであり、縦軸を良品または不良品となるサンプルの出現頻度数とし、横軸を特徴量としている。また、この図9は、閾値の変化に応じた、過検出率の近似値と見逃し率の近似値との変化の一例を示すグラフであり、縦軸を過検出率となる割合または見逃し率となる割合である誤判別率とし、横軸を特徴量としている。   FIG. 8 is a graph showing an example of a probability density function indicating the distribution of each of the non-defective product sample and the defective product sample, where the vertical axis is the number of appearance frequencies of samples that are good products or defective products, and the horizontal axis is the feature quantity. It is said. FIG. 9 is a graph showing an example of a change between the approximate value of the overdetection rate and the approximate value of the overlook rate in accordance with the change in the threshold, and the vertical axis represents the ratio of the overdetection rate or the overlook rate. The misclassification rate, which is a ratio of

ここで、上記閾値tの値としては、上記したように予めデータ格納部30に、閾値設定データ32として複数の閾値候補(t=1.0、2.0、…100.0)が記憶されている。したがって、誤判別率実測値計算部25は、図8に示す確率密度関数において、閾値設定データ32として記録されている閾値候補それぞれの値について見逃し率および過検出率の実測値の近似値を算出しプロットすると、図9に示す累積密度関数を得ることができる。   Here, as the value of the threshold value t, a plurality of threshold value candidates (t = 1.0, 2.0,... 100.0) are stored in the data storage unit 30 in advance as the threshold setting data 32 as described above. ing. Therefore, the misclassification rate actual measurement value calculation unit 25 calculates approximate values of the missed rate and overdetection rate actual values for the respective threshold candidate values recorded as the threshold setting data 32 in the probability density function shown in FIG. Then, the cumulative density function shown in FIG. 9 can be obtained.

すなわち、図9に示すように過検出率の近似値は、良品である複数のエンジン1から得られた特徴量の確率密度関数のパーセント点tでの上側確率であり、見逃し率の近似値は、不良品である複数のエンジン1の音データから得られた特徴量の確率密度関数のパーセント点tでの下側確率である。このようにして、誤判別率実測計算部25は例えば図9に示すような累積密度関数を誤判別率として求める。   That is, as shown in FIG. 9, the approximate value of the overdetection rate is the upper probability at the percentage point t of the probability density function of the feature quantity obtained from the plurality of non-defective engines 1, and the approximate value of the overlook rate is The lower probability at the percentage point t of the probability density function of the feature quantity obtained from the sound data of the plurality of engines 1 that are defective products. In this way, the misclassification rate actual measurement calculation unit 25 obtains, for example, a cumulative density function as shown in FIG. 9 as the misclassification rate.

なお、誤判別率実測計算部25により得られる誤判別率は上記した累積密度関数として示される値に限定されるものではなく、例えば、図25に示すヒストグラムから直接算出された、例えば図26のような関係で示される値であってもよい。   The misclassification rate obtained by the misclassification rate actual measurement calculation unit 25 is not limited to the value shown as the cumulative density function described above. For example, the misclassification rate calculated directly from the histogram shown in FIG. The value shown in such a relationship may be used.

しかしながら、本実施の形態に係る検査装置10のように、誤判別率として図9に示すような累積密度関数の値を求める構成の方が、例えば図26のように、閾値tを変化させたときの誤判別率がステップ状に変化する関係を用いるよりも所望の過検出率、見逃し率を満たす閾値tを決定し易いという点で有利である。   However, as in the inspection apparatus 10 according to the present embodiment, the configuration for obtaining the value of the cumulative density function as shown in FIG. 9 as the misclassification rate changes the threshold value t as shown in FIG. 26, for example. This is advantageous in that it is easier to determine a threshold value t that satisfies a desired overdetection rate and an oversight rate than using a relationship in which the erroneous discrimination rate changes stepwise.

つまり、上記図26に示すような関係によって示される値を誤判別率として用いる場合、閾値tを変化させたときの誤判別率がステップ状に変化してしまう。このようにステップ状に変化する場合、同じ誤判別率別率をとる閾値が複数存在してしまい、一意に定まらないため、所望の過検出率、見逃し率を満たす閾値tを決定することが困難となる。   That is, when the value shown by the relationship shown in FIG. 26 is used as the misclassification rate, the misclassification rate when the threshold value t is changed changes stepwise. In this way, when changing in a stepped manner, there are a plurality of thresholds that take the same misclassification rate rate, and they are not uniquely determined, so it is difficult to determine a threshold value t that satisfies the desired overdetection rate and oversight rate. It becomes.

これに対して本実施の形態に係る検査装置10のように誤判別率として図9に示すような累積密度関数によって示される値を求める構成の方が、閾値tを変化させた際、誤判別率の近似値が連続的に変化するため、所望の過検出率、見逃し率を満たすtを決定しやすいという利点がある。なお、誤判別率実測計算部25によって算出された誤判別率を誤判別率の実測値と称する。   On the other hand, when the threshold value t is changed in the configuration in which the value indicated by the cumulative density function as shown in FIG. 9 is used as the misclassification rate as in the inspection apparatus 10 according to the present embodiment, the misclassification is performed. Since the approximate value of the rate changes continuously, there is an advantage that it is easy to determine t that satisfies the desired overdetection rate and oversight rate. The misclassification rate calculated by the misclassification rate actual measurement calculation unit 25 is referred to as an actual measurement value of the misclassification rate.

誤判別率実測値計算部25は、閾値設定データ32の複数の閾値候補それぞれに対応した誤判別率の実測値を内部管理データ34としてデータ格納部30に記録する。   The erroneous determination rate actual value calculation unit 25 records the actual determination value of the erroneous determination rate corresponding to each of the plurality of threshold candidates of the threshold setting data 32 as the internal management data 34 in the data storage unit 30.

誤判別率期待値計算部26は、特徴量データ読み出し部24から受信した情報に基づき、誤判別率の予測値を算出するものである。なお、誤判別率期待値計算部26は、特徴量テーブル情報31から読み出すサンプルを訓練サンプルとして、例えば、Leave−one−out法、あるいはブートストラップ法によって誤判別率の予測値を算出する。なお、この訓練サンプルとは、例えば、Leave−one−out法などによって誤判別率の予測値を算出するための学習に用いられるサンプルである。   The misclassification rate expected value calculation unit 26 calculates a predicted value of the misclassification rate based on the information received from the feature amount data reading unit 24. Note that the misclassification rate expected value calculation unit 26 calculates a predicted value of the misclassification rate by, for example, the Leave-one-out method or the bootstrap method, using the sample read from the feature amount table information 31 as a training sample. In addition, this training sample is a sample used for the learning for calculating the predicted value of a misclassification rate by the Leave-one-out method etc., for example.

例えば、本実施の形態に係る検査装置10では、誤判別率期待値計算部26が誤判別率の期待値を、ブートストラップ法を用いて下記のようにして求めることができる。   For example, in the inspection apparatus 10 according to the present embodiment, the misclassification rate expected value calculation unit 26 can obtain the expected value of the misclassification rate using the bootstrap method as follows.

すなわち、まず、特徴量テーブル情報31から読み出したm個のサンプルから復元抽出したBセットのブートストラップサンプル(m個)を用意する。そして、各セットにつき、閾値設定データ32における閾値候補(閾値t=1.0、2.0、…100.0)で誤判別率を算出する。この演算操作をB回行って得られた誤判別率の平均を、各閾値tでの誤判別率の期待値として求める。   That is, first, B sets of bootstrap samples (m) restored and extracted from m samples read from the feature amount table information 31 are prepared. For each set, the misclassification rate is calculated using the threshold candidates (threshold values t = 1.0, 2.0,..., 100.0) in the threshold setting data 32. The average of the misclassification rates obtained by performing this calculation operation B times is obtained as the expected value of the misclassification rate at each threshold t.

あるいは、利用する特徴量が、特徴量の値がサンプルの選び方によって異なるような特徴量の場合(たとえばマハラノビス距離、線形判別関数、SVMの識別長平面からの距離等)、誤判別率期待値計算部26が誤判別率の期待値を、Leave−one−out法を用いて下記のようにして求めてもよい。   Alternatively, when the feature value to be used is a feature value whose feature value varies depending on how the sample is selected (for example, Mahalanobis distance, linear discriminant function, distance from the SVM discrimination length plane, etc.), the misclassification rate expected value calculation The unit 26 may obtain the expected value of the misclassification rate using the Leave-one-out method as follows.

すなわち、まず、特徴量テーブル情報31から読み出したm個のサンプルを、評価用サンプル(1個)と訓練用サンプル(m−1個)とに分割した組をLセット準備する。そして、各セットごとに訓練用サンプルに基づいて全サンプルの特徴量を計算し、各セットにつき上記評価用サンプルに対する閾値設定データ32における閾値候補(閾値t=1.0、2.0、…100.0)での誤判別率を算出する。この演算操作をL回行って得られる誤判別率の割合を期待値とする。   That is, first, L sets of sets obtained by dividing m samples read from the feature amount table information 31 into evaluation samples (1) and training samples (m-1) are prepared. Then, feature amounts of all samples are calculated for each set based on the training samples, and threshold candidates (threshold values t = 1.0, 2.0,... 100) in the threshold setting data 32 for the evaluation samples for each set. .0) is calculated. The ratio of the misclassification rate obtained by performing this calculation operation L times is assumed to be an expected value.

誤判別率期待値計算部26は、閾値設定データ32の複数の閾値候補それぞれに対応した誤判別率の期待値を内部管理データ34としてデータ格納部30に記録する。すなわち、誤判別率実測値計算部25によって算出された誤判別率の実測値と誤判別率期待値計算部26によって算出された誤判別率の期待値とは、それぞれが各閾値候補ごとに対応が取れるように記録される。   The misclassification rate expected value calculation unit 26 records the expected value of the misclassification rate corresponding to each of the plurality of threshold candidates of the threshold setting data 32 as internal management data 34 in the data storage unit 30. That is, the actual value of the misclassification rate calculated by the misclassification rate actual value calculation unit 25 and the expected value of the misclassification rate calculated by the misclassification rate expected value calculation unit 26 correspond to each threshold value candidate. It is recorded so that it can be taken.

誤判別率期待値計算部26は、各閾値候補ごとに誤判別率の期待値を算出すると、余裕度評価部28に誤判別率の期待値における過検出率と見逃し率との余裕度を評価するように指示する。   When the expected misclassification rate value calculator 26 calculates the expected misclassification rate for each threshold candidate, the margin evaluation unit 28 evaluates the margin between the overdetection rate and the miss rate in the expected misclassification rate. To instruct.

余裕度評価部27は、誤判別率実測値計算部25からの指示に応じて、データ格納部30に記憶されている内部管理データ34と、許容誤判別率データ33とを参照して、過検出率の期待値と見逃し率の期待値とが十分に分離可能な状態であるか否かを評価するものである。   The margin evaluation unit 27 refers to the internal management data 34 stored in the data storage unit 30 and the allowable misclassification rate data 33 in response to an instruction from the misclassification rate actual measurement value calculation unit 25. It is evaluated whether or not the expected value of the detection rate and the expected value of the miss rate are sufficiently separable.

すなわち、上記したように、本実施の形態に係る検査装置10では、許容誤判別率データ33として、予め許容される過検出率(許容過検出率)と見逃し率(許容見逃し率)とが設定されている。   In other words, as described above, in the inspection apparatus 10 according to the present embodiment, as the allowable misclassification rate data 33, an overdetection rate (allowable overdetection rate) and an overlook rate (allowable oversight rate) that are allowed in advance are set. Has been.

ところで、過検出率の期待値と見逃し率の期待値とが十分に分離可能な状態であるとは、例えば、図10(a)に示すように、許容過検出率以上となる特徴量値と、許容見逃し率以上となる特徴量値との間に十分な間隔がある状態である。そこで、過検出率の期待値と許容過検出率とが一致する際の特徴量の値と、見逃し率の期待値と許容見逃し率とが一致する際の特徴量の値との差を余裕度とする。   By the way, when the expected value of the overdetection rate and the expected value of the overlook rate are sufficiently separable, for example, as shown in FIG. In this state, there is a sufficient interval between the feature value that is equal to or greater than the allowable miss rate. Therefore, the margin between the feature value when the expected value of the overdetection rate matches the allowable overdetection rate and the feature value when the expected value of the oversight rate and the allowable oversight rate match And

図10(a)のように、余裕度が大きい場合、許容過検出率以上となる特徴量値と、許容見逃し率以上となる特徴量値との間において閾値tを設けることができるため、過検出率の期待値と見逃し率の期待値とを十分に判別することができる。したがって、本実施の形態に係る検査装置10では、許容過検出率および許容見逃し率を満たすように閾値tを設定することができ、良品あるいは不良品となるエンジン1の判別を確度よく行うことができることとなる。   As shown in FIG. 10A, when the margin is large, a threshold value t can be provided between a feature value that is equal to or greater than the allowable overdetection rate and a feature value that is equal to or greater than the allowable oversight rate. The expected value of the detection rate and the expected value of the miss rate can be sufficiently discriminated. Therefore, in the inspection apparatus 10 according to the present embodiment, the threshold value t can be set so as to satisfy the allowable overdetection rate and the allowable oversight rate, and it is possible to accurately determine the engine 1 that is a non-defective product or a defective product. It will be possible.

一方、図10(b)に示すように、許容過検出率以上となる特徴量の値と、許容見逃し率以上となる特徴量の値との間に十分な間隔が存在しない状態、すなわち余裕度が小さい状態では、過検出率の期待値と見逃し率の期待値とを十分に判別することができないため、許容過検出率および許容見逃し率を満たように閾値tを設定することが困難となる。   On the other hand, as shown in FIG. 10B, there is no sufficient interval between the feature value that is equal to or greater than the allowable overdetection rate and the feature value that is equal to or greater than the allowable oversight rate, that is, a margin. In a state where is small, the expected value of the overdetection rate and the expected value of the missed rate cannot be sufficiently determined, and it becomes difficult to set the threshold value t so as to satisfy the allowable overdetection rate and the allowable missed rate. .

なお、この図10は、閾値の変化に応じた過検出率の期待値の変化と見逃し率の期待値の変化との一例を示すグラフであり、同図(a)は、許容過検出率以下となる範囲でありかつ、許容見逃し率以下となる範囲が大きくなり余裕度が大きい場合を示しており、同図(b)は、許容過検出率以下となる範囲でありかつ、許容見逃し率以下となる範囲が小さくなり余裕度が小さい場合を示す。   FIG. 10 is a graph showing an example of the change in the expected value of the overdetection rate and the change in the expected value of the overlook rate in accordance with the change in the threshold value. FIG. This is a case where the range becomes less than the allowable overmissing rate and the margin is large, and FIG. 4B shows the range where the allowable overdetection rate is lower than the allowable overmissing rate. This shows a case where the range becomes smaller and the margin is small.

なお、本実施の形態に係る検査装置10では、上記した余裕度が所定値以上ある場合に余裕度が大きいと判定し、所定値未満である場合は余裕度が小さいと判断するように構成している。そして、余裕度評価部27は、上記余裕度が大きく、十分な余裕度が確保されていると評価した場合、乖離度評価部28に、誤判別率の実測値と誤判別率の期待値との差分である乖離度を評価するように指示する。一方、余裕度評価部27は、上記余裕度が小さく、十分な余裕度が確保されていないと評価した場合、対象特徴量指定部23に、利用する特徴量の種類を変更させるように指示する。   The inspection apparatus 10 according to the present embodiment is configured to determine that the margin is large when the margin is equal to or greater than a predetermined value, and to determine that the margin is small when the margin is less than the predetermined value. ing. When the margin evaluation unit 27 evaluates that the margin is large and a sufficient margin is ensured, the deviation evaluation unit 28 informs the deviance evaluation unit 28 of the actual value of the misclassification rate and the expected value of the misclassification rate. It is instructed to evaluate the degree of divergence, which is the difference between the two. On the other hand, when the margin evaluation unit 27 evaluates that the margin is small and a sufficient margin is not secured, the margin evaluation unit 27 instructs the target feature amount designation unit 23 to change the type of feature amount to be used. .

乖離度評価部28は、余裕度評価部27からの指示に応じて、誤判別率実測値計算部25によって算出された誤判別率の実測値と、誤判別率期待値計算部26によって算出された誤判別率の期待値との差分である乖離度を算出するものである。   The deviance evaluation unit 28 is calculated by the misclassification rate actual value calculated by the misclassification rate actual value calculation unit 25 and the misclassification rate expected value calculation unit 26 in response to an instruction from the margin evaluation unit 27. The degree of divergence, which is the difference from the expected value of the misclassification rate, is calculated.

通常、誤判別率の期待値を算出するために用いる既知サンプル数が極端に少ない場合、誤判別率期待値計算部26により算出された誤判別率の期待値の推定精度が低下する。このため、精度の悪い誤判別率の期待値から閾値tを決定し、製造されたエンジン1が良品であるか否かを判定した場合、正確なエンジン1の良否判定を行うことができなくなる。なお、上記既知サンプルとは、サンプルの中で既に検査が実施され特徴量とこのサンプルの良否との判定結果が分かっているものである。これに対して、サンプルの中で、これから良否の判定検査を行おうとする製品であり、まだ良否の判定結果がわかっていないものを未知サンプルと称する。この未知サンプルには、まだ製造されていないサンプルも仮想的に含めてもよい。   Usually, when the number of known samples used for calculating the expected value of the misclassification rate is extremely small, the estimation accuracy of the expected value of the misclassification rate calculated by the misclassification rate expected value calculation unit 26 is lowered. For this reason, when the threshold value t is determined from the expected value of the misclassification rate with low accuracy and it is determined whether or not the manufactured engine 1 is a non-defective product, it is not possible to accurately determine whether or not the engine 1 is good. Note that the known sample is a sample in which an inspection has already been performed in the sample and the determination result of the feature amount and the quality of the sample is known. On the other hand, among samples, a product that is going to be subjected to a pass / fail judgment test and whose pass / fail judgment result is not yet known is referred to as an unknown sample. The unknown sample may include a sample that has not been manufactured yet.

ところで、上記既知サンプル数が少ない場合、該既知サンプルから求めた誤判別率の実測値は、既知サンプル数が無限にあると仮定した場合に得られる、真の誤判別率と比較して小さく見積もられる傾向が顕著となる。同様に、誤判別率の期待値は誤判別率の実測値よりも真の誤判別率に近い値となるため、誤判別率の実測値は、誤判別率の期待値よりも小さく見積もられる。例えば、図11(a)に示すように、既知サンプルが少ない場合、実線で示す過検出率の期待値と破線で示す過検出率の実測値との間に大きな差異が生じる。また、実線で示す見逃し率の期待値と破線で示す見逃し率の実測値との間に大きな差異が生じる。   By the way, when the number of known samples is small, the actually measured value of the misclassification rate obtained from the known samples is estimated to be smaller than the true misclassification rate obtained when the number of known samples is assumed to be infinite. The tendency to be marked becomes remarkable. Similarly, since the expected value of the misclassification rate is closer to the true misclassification rate than the actual value of the misclassification rate, the actual value of the misclassification rate is estimated to be smaller than the expected value of the misclassification rate. For example, as shown in FIG. 11A, when there are few known samples, there is a large difference between the expected value of the overdetection rate indicated by the solid line and the actual value of the overdetection rate indicated by the broken line. Further, there is a large difference between the expected value of the miss rate indicated by the solid line and the actual value of the miss rate indicated by the broken line.

逆に既知サンプルの数が十分である場合、図11(b)に示すように、実線で示す過検出率の期待値と破線で示す過検出率の実測値との間には、図11(a)の場合と比較して大きな差異が生じない。また、実線で示す見逃し率の期待値と破線で示す見逃し率の実測値との間においても、図11(a)の場合と比較して大きな差異が生じない。   On the other hand, when the number of known samples is sufficient, as shown in FIG. 11 (b), between the expected value of the overdetection rate indicated by the solid line and the actual measurement value of the overdetection rate indicated by the broken line, There is no significant difference compared to the case of a). Also, there is no significant difference between the expected value of the miss rate indicated by the solid line and the actually measured value of the miss rate indicated by the broken line as compared with the case of FIG.

なお、図11は、閾値の変化に応じた過検出率の実測値と期待値との変化、および見逃し率の実測値と期待値との変化の一例を示すグラフであり、同図(a)は、過検出率の実測値と期待値との差、および見逃し率の実測値と期待値との差が大きくなる場合を示しており、同図(b)は、過検出率の実測値と期待値との差、および見逃し率の実測値と期待値との差が小さい場合を示す。   FIG. 11 is a graph showing an example of the change between the actual value and the expected value of the overdetection rate according to the change in the threshold value, and the change between the actual value and the expected value of the miss rate. Shows the case where the difference between the actual value and the expected value of the overdetection rate and the difference between the actual value and the expected value of the missed rate are large, and FIG. The case where the difference between the expected value and the difference between the actually measured value of the miss rate and the expected value is small is shown.

つまり、既知サンプル数が少なすぎるため、真の誤判別率と誤判別率の実測値との間において大きな差異が生じる場合、この少ない既知サンプル数から得られた誤判別率の実測値および該既知サンプルから求めた期待値の信頼性は低いものと言える。また、このことから、既知サンプル数が少ないため、得られた誤判別率の実測値の信頼性が低くなる場合、誤判別率の実測値と誤判別率の期待値との間においても差異が大きくなる。   That is, if there is a large difference between the true misclassification rate and the actual measurement value of the misclassification rate because the number of known samples is too small, the actual measurement value of the misclassification rate obtained from this small number of known samples and the known It can be said that the reliability of the expected value obtained from the sample is low. In addition, since the number of known samples is small and the reliability of the actual measurement value of the obtained misclassification rate is low, there is a difference between the actual measurement value of the misclassification rate and the expected value of the misclassification rate. growing.

そこで、本実施の形態に係る閾値設定制御部20において閾値tを決定する場合、誤判別率の期待値だけではなく、誤判別率の実測値と誤判別率の期待値との間における乖離度も合わせて示すことにより、該期待値の信頼性を示すこととなる。   Therefore, when the threshold value t is determined by the threshold setting control unit 20 according to the present embodiment, not only the expected value of the misclassification rate but also the degree of divergence between the actual value of the misclassification rate and the expected value of the misclassification rate. In addition, the reliability of the expected value is shown.

上記乖離度評価部28は、誤判別率実測値計算部25により算出された誤判別率の実測値と誤判別率期待値計算部26により算出された誤判別率の期待値とに基づき、下記の演算を求めることに乖離度を求めることができる。   The divergence degree evaluation unit 28 is based on the actual value of the misclassification rate calculated by the misclassification rate actual value calculation unit 25 and the expected value of the misclassification rate calculated by the misclassification rate expected value calculation unit 26 as follows. The degree of divergence can be obtained by obtaining the above calculation.

すなわち、上記乖離度を示す定量的な指標をdとし、過検出率の実測値をOOK→NG(x)、過検出率の期待値をEOK→NG(x)、見逃し率の実測値をONG→OK(x)、見逃し率の期待値をENG→OK(x)とすると、下記式(3)によって示す関係が成り立つ。 That is, let d be the quantitative index indicating the degree of divergence, the actual value of the overdetection rate is O OK → NG (x), the expected value of the overdetection rate is E OK → NG (x), and the actual value of the missed rate Is represented as O NG → OK (x), and the expected value of the overlook rate is E NG → OK (x), the relationship represented by the following formula (3) is established.

Figure 2007139621
Figure 2007139621

つまり、乖離度評価部28は、乖離度を示す定量的な指標dとして、過検出率の実測値OOK→NG(x)と過検出率の期待値EOK→NG(x)との差分の最大値と、見逃し率の実測値ONG→OK(x)と見逃し率の期待値ENG→OK(x)との差分の最大値との組み合わせを用いる。 That is, the divergence degree evaluation unit 28 uses the difference between the actual value O OK → NG (x) of the overdetection rate and the expected value E OK → NG (x) of the overdetection rate as a quantitative index d indicating the degree of divergence. And a maximum difference value between the actual value O NG → OK (x) of the missed rate and the expected value E NG → OK (x) of the missed rate.

上記乖離度評価部28は乖離度dを求めると、該乖離度dが所定値以上であるか否かを判断し、所定値以上であり、乖離度が大きいと判定した場合は、データ収集制御部12に指示して特徴量テーブル情報として記録するための特徴量を追加して収集させる。   When the divergence degree evaluation unit 28 obtains the divergence degree d, the divergence degree d determines whether the divergence degree d is equal to or larger than a predetermined value. The unit 12 is instructed to add and collect feature amounts for recording as feature amount table information.

一方、乖離度評価部28は、乖離度dが所定値よりも小さいと判断した場合は、表示制御部29に、特徴量テーブル情報31から算出した誤判別率の期待値のグラフをそれぞれ出力するように指示する。   On the other hand, when the divergence degree evaluation unit 28 determines that the divergence degree d is smaller than a predetermined value, the divergence degree evaluation unit 28 outputs a graph of expected values of misclassification rates calculated from the feature amount table information 31 to the display control unit 29, respectively. To instruct.

表示制御部29は、乖離度評価部28からの指示に応じて、データ格納部30から内部管理データ34を取得し、誤判別率の実測値の特性値に応じた変化を示すグラフと、誤判別率の期待値の特性値に応じたすグラフとをそれぞれ表示するように表示部40を制御するものである。   The display control unit 29 acquires the internal management data 34 from the data storage unit 30 in response to an instruction from the divergence degree evaluation unit 28, and displays a graph indicating a change in the actual value of the misclassification rate according to the characteristic value, The display unit 40 is controlled to display a graph corresponding to the characteristic value of the expected value of the separate rate.

このように表示部40において、特徴量テーブル情報31に基づき算出された誤判別率の期待値を表示させることができるため、ユーザは閾値tをいくらに設定すべきか把握することができる。そこで、ユーザは、この表示部40における上記誤判別率の期待値を示すグラフの表示を参照して適切な閾値tを設定すると、設定した閾値tを示す情報を入力部50が受付ける。そして、入力部50は、この受付けた閾値tを示す情報を実測値・期待値出力部21に送信し、該閾値tに応じた誤判別率別の実測値および期待値を出力するように指示する。   Thus, since the display unit 40 can display the expected value of the misclassification rate calculated based on the feature amount table information 31, the user can grasp how much the threshold value t should be set. Therefore, when the user sets an appropriate threshold value t with reference to the display of the graph indicating the expected value of the misclassification rate on the display unit 40, the input unit 50 receives information indicating the set threshold value t. Then, the input unit 50 transmits information indicating the received threshold value t to the measured value / expected value output unit 21 and instructs to output the measured value and expected value for each misclassification rate according to the threshold value t. To do.

実測値・期待値出力部21は、入力部50から閾値tを受付けると、内部管理データ34を参照して該閾値tに応じた誤判別率の実測値と期待値とを算出する。そして、算出した結果を出力するように表示制御部29に指示する。この実測値・期待値出力部21からの指示に応じて、表示制御部29は、上記算出結果を表示部40に表示するように制御する。なお、このとき表示部40において表示される情報は、例えば図13に示すように、決定された閾値t、該閾値tに応じた見逃し率の実測値および期待値、ならびに過検出率の実測値および期待値それぞれを示す情報である。この図13は、本実施の形態に係る検査装置10において閾値設定後に表示するデータの一例を示す図である。   When the measured value / expected value output unit 21 receives the threshold value t from the input unit 50, the measured value / expected value output unit 21 refers to the internal management data 34 and calculates the measured value and expected value of the misclassification rate according to the threshold value t. Then, the display control unit 29 is instructed to output the calculated result. In response to an instruction from the actual measurement / expected value output unit 21, the display control unit 29 controls the display unit 40 to display the calculation result. Note that the information displayed on the display unit 40 at this time includes, for example, as shown in FIG. 13, a determined threshold value t, an actual value and an expected value of an overlook rate corresponding to the threshold value t, and an actual value of an overdetection rate And information indicating each expected value. FIG. 13 is a diagram illustrating an example of data to be displayed after the threshold is set in the inspection apparatus 10 according to the present embodiment.

次に上記した構成を有する本実施の形態に係る検査装置10における、エンジン1が良品であるか否かを判定するための閾値設定に係る処理(閾値設定処理)について図14を参照して説明する。この図14は、本実施の形態に係る検査装置10における閾値設定処理を説明するフローチャートである。   Next, a process (threshold setting process) related to threshold setting for determining whether or not the engine 1 is non-defective in the inspection apparatus 10 according to the present embodiment having the above-described configuration will be described with reference to FIG. To do. FIG. 14 is a flowchart for explaining threshold setting processing in the inspection apparatus 10 according to the present embodiment.

まず、ユーザが入力部50によって閾値tの設定処理が指示されると、この指示に応じて閾値設定制御部20における対象特徴量指定部23が閾値tを設定する対象となる特徴量の種類を設定する(ステップS11、これ以降ではS11のように称する)。そして、対象特徴量指定部23は、この設定した種類の特徴量を収集するように特徴量読み出し部24に指示する。   First, when the user is instructed by the input unit 50 to set the threshold value t, the target feature value designating unit 23 in the threshold value setting control unit 20 determines the type of feature value for which the threshold value t is set in response to this instruction. Set (step S11, hereinafter referred to as S11). Then, the target feature amount specifying unit 23 instructs the feature amount reading unit 24 to collect the set types of feature amounts.

特徴量読み出し部24は、対象特徴量指定部23からの指示に応じて、設定された種類の特徴量、すなわち閾値tを設定する対象となる特徴量を、特徴量テーブル情報31から読み出す(S12)。   In response to an instruction from the target feature amount specifying unit 23, the feature amount reading unit 24 reads out the feature amount of the set type, that is, the feature amount to be set with the threshold value t, from the feature amount table information 31 (S12). ).

上記特徴量読み出し部24が、上記特徴量を読み出すと、この読み出した特徴量を用いて誤判別率実測値計算部25が、閾値設定データ32に記憶されている閾値候補に応じた誤判別率の実測値を算出する(S13)とともに、誤判別率期待値計算部26が、閾値設定データ32に記憶されている閾値候補に応じた誤判別率の期待値を算出する(S14)。そして、算出された誤判別率の実測値と期待値とは内部管理データ34としてデータ格納部30に記憶される。   When the feature amount reading unit 24 reads the feature amount, the misclassification rate actual measurement value calculation unit 25 uses the read feature amount to determine the misclassification rate corresponding to the threshold candidates stored in the threshold setting data 32. (S13), the misclassification rate expected value calculation unit 26 calculates the expected value of the misclassification rate according to the threshold candidates stored in the threshold setting data 32 (S14). Then, the actually measured value and the expected value of the calculated misclassification rate are stored in the data storage unit 30 as internal management data 34.

上記ステップS13およびステップS14によって誤判別率の実測値と期待値とが算出されると、余裕度評価部27は、この算出された誤判別率の実測値と期待値とを内部管理データ30から読み出し、許容誤判別率データ33を参照して余裕度を計算する(S15)。そして、余裕度評価部27は、この計算した余裕度を評価し(S16)、この評価において十分な余裕度があると判定した場合(S16において「YES」)、乖離度を計算するように乖離度評価部28に指示する。一方、余裕度評価部27は、この計算した余裕度の評価において十分な余裕度がないと判定した場合(S16において「NO」)、別の種類の特徴量を指定するように、対象特徴量指定部23に指示する(S21)。   When the actually measured value and the expected value of the misclassification rate are calculated in steps S13 and S14, the margin evaluation unit 27 calculates the calculated actual value and expected value of the misclassification rate from the internal management data 30. The margin is calculated by referring to the read and allowable misclassification rate data 33 (S15). Then, the margin evaluation unit 27 evaluates the calculated margin (S16), and when it is determined that there is a sufficient margin in this evaluation (“YES” in S16), the divergence is calculated so as to calculate the divergence. The degree evaluation unit 28 is instructed. On the other hand, when the margin evaluation unit 27 determines that there is not a sufficient margin in the calculated margin evaluation (“NO” in S16), the target feature amount is specified so as to specify another type of feature amount. The designation unit 23 is instructed (S21).

乖離度評価部28は、余裕度評価部27から乖離度の算出を指示されると、内部管理データ34を参照して、算出された過検出率の実測値と期待値とから乖離度を計算する(S17)。乖離度評価部28は、乖離度を算出すると、この算出結果から乖離度が所定値よりも小さいか否かを判定する(S18)。ここで乖離度が小さいと判定した場合(S18において「YES」)、表示制御部29に算出した誤判別率の期待値および実測値を表示部40に表示させるように指示する。この指示に応じて表示制御部29は、表示部40に誤判別率の期待値および実測値を示すグラフを表示させる。   When the divergence degree evaluation unit 28 is instructed by the margin degree evaluation unit 27 to calculate the divergence degree, the divergence degree evaluation unit 28 refers to the internal management data 34 and calculates the divergence degree from the actual measurement value and the expected value of the calculated overdetection rate. (S17). When calculating the divergence degree, the divergence degree evaluation unit 28 determines whether or not the divergence degree is smaller than a predetermined value from the calculation result (S18). If it is determined that the degree of divergence is small (“YES” in S18), the display control unit 29 is instructed to display the expected value and actual measurement value of the misclassification rate calculated on the display unit 40. In response to this instruction, the display control unit 29 causes the display unit 40 to display a graph indicating the expected value and actual measurement value of the misclassification rate.

一方、乖離度が所定値以上であると判定された場合、乖離度評価部28は、データ収集制御部12に対して追加のサンプルを収集するように指示する(S22)。この指示を受けて、データ収集制御部12は、さらなる別のエンジン1から得た音データおよび/または振動データから特徴量を抽出する。なお、すでに製造済みエンジン1がすべてサンプルとして利用されている場合は、新たなエンジン1の製造を行い、測定と検査を行って既知サンプルを追加するようにする。   On the other hand, when it is determined that the divergence degree is equal to or greater than the predetermined value, the divergence degree evaluation unit 28 instructs the data collection control unit 12 to collect an additional sample (S22). In response to this instruction, the data collection control unit 12 extracts a feature amount from sound data and / or vibration data obtained from another engine 1. When all manufactured engines 1 are already used as samples, a new engine 1 is manufactured, and a known sample is added by performing measurement and inspection.

上記のように表示部40に誤判別率の期待値および実測値を示すグラフが表示されると、これらの表示を参照してユーザが閾値を決定し、決定した閾値tを入力部50により入力する。そして、入力部40はこのようにユーザによって入力された閾値tを受付ける(S19)。入力部19が閾値tを受付けると、実測値・期待値出力部21が該閾値tに応じた誤判別率の実測値および期待値を算出し、この算出結果を表示制御部29に出力する。そして表示制御部29は受信したこの算出結果を表示部40に表示するように制御する(S20)。   When the graph showing the expected value and the actual measurement value of the misclassification rate is displayed on the display unit 40 as described above, the user determines a threshold value with reference to these displays, and inputs the determined threshold value t through the input unit 50. To do. And the input part 40 receives the threshold value t input by the user in this way (S19). When the input unit 19 accepts the threshold value t, the actual value / expected value output unit 21 calculates the actual value and the expected value of the misclassification rate corresponding to the threshold value t, and outputs the calculation result to the display control unit 29. Then, the display control unit 29 controls to display the received calculation result on the display unit 40 (S20).

なお、上記ステップS13およびステップS14の処理の順番は、この順番に限定されるものではなく、同時に行われてもよいし、ステップS14の後にステップS13が行われてもよい。   In addition, the order of the process of the said step S13 and step S14 is not limited to this order, You may perform simultaneously and step S13 may be performed after step S14.

上述のように、本実施の形態に係る検査装置10は、余裕度評価部27を備えているため、上記余裕度を評価することができる構成である。この余裕度を評価できるとは、すなわち、閾値tによって、良品のエンジン1から取得した特徴量の分布と異常が生じているエンジン1から取得した特徴量の分布とを、許容過検出率および許容見逃し率内で判別できるか否かを判定することができるということである。   As described above, since the inspection apparatus 10 according to the present embodiment includes the margin evaluation unit 27, the margin can be evaluated. That the margin can be evaluated, that is, the distribution of the feature amount acquired from the non-defective engine 1 and the distribution of the feature amount acquired from the engine 1 in which an abnormality has occurred are determined by the threshold value t. This means that it can be determined whether or not it can be determined within the miss rate.

また、上記検査装置10では、余裕度評価部27が、余裕度が小さいと評価した場合、すなわち、上記閾値tによって、良品のエンジン1から取得した特徴量の分布と、不良品のエンジン1から取得した特徴量の分布とを判別不可能であると判定した場合、取得する特徴量の種類を変更するように上記対象特徴量指定部に指示することができる。   Further, in the inspection apparatus 10, when the margin evaluation unit 27 evaluates that the margin is small, that is, the distribution of the feature amount acquired from the non-defective engine 1 and the defective engine 1 by the threshold value t. When it is determined that the acquired feature value distribution cannot be distinguished, the target feature value specifying unit can be instructed to change the type of the acquired feature value.

このため、検査装置10は、エンジン1が良品であるか否かを判定するために利用する特徴量として適切な情報を選択することができる。   For this reason, the inspection apparatus 10 can select appropriate information as a feature amount used for determining whether or not the engine 1 is a non-defective product.

また、検査装置10は、乖離度評価部28を備えているため、過検出率の実測値と過検出率の期待値との差、および見逃し率の実測ちと見逃し率の期待ちとの差が所定値よりも小さいか否か、言い換えると所定値以上であるか否かを判定することができる。   Further, since the inspection apparatus 10 includes the divergence degree evaluation unit 28, the difference between the actual value of the overdetection rate and the expected value of the overdetection rate, and the difference between the actual measurement of the missed rate and the expected value of the missed rate are predetermined. It is possible to determine whether or not the value is smaller than the value, in other words, whether or not the value is equal to or greater than a predetermined value.

なお、この所定値は、信頼性を有する過検出率および見逃し率の実測値と期待値とを得ることができるだけの個数分だけ特性値が存在するものと判断できる範囲で設定される値である。   The predetermined value is a value set within a range in which it is possible to determine that there are as many characteristic values as the number of reliable overdetection rates and actual measurement values and expected values of the miss rate. .

ここで過検出率の実測値と過検出率の期待値との差異、および見逃し率の実測値と見逃し率の期待値との差異が所定値以上であるとは、過検出率および見逃し率の実測値と期待値とが十分な信頼性を有していないということである。すなわち、過検出率の実測値と過検出率の期待値、および見逃し率の実測値と見逃し率の期待値を算出するためのサンプルの個数が少ないということである。   Here, the difference between the actual value of the overdetection rate and the expected value of the overdetection rate, and the difference between the actual value of the oversight rate and the expected value of the oversight rate are greater than or equal to a predetermined value. The actual measurement value and the expected value are not sufficiently reliable. That is, the number of samples for calculating the actual value of the overdetection rate and the expected value of the overdetection rate, and the actual value of the oversight rate and the expected value of the oversight rate are small.

また、上記検査装置10では、乖離度評価部29が、上記差異が所定値以上であると判定した場合、データ収集制御部12にさらなるサンプルの取得を指示することができる。このため、信頼性のある過検出率の実測値と過検出率の期待値、および見逃し率の実測値と見逃し率の期待値を算出できるだけの個数分のサンプルを収集することができる。   Moreover, in the said inspection apparatus 10, when the deviation evaluation part 29 determines with the said difference being more than predetermined value, it can instruct | indicate acquisition of the further sample to the data collection control part 12. FIG. For this reason, it is possible to collect as many samples as can be used to calculate the reliable actual value of the overdetection rate and the expected value of the overdetection rate, and the actual value of the oversight rate and the expected value of the oversight rate.

また、実測値・期待値出力部21を備えているため、適切な個数のサンプルから抽出した特徴量から算出した誤判別率の実測値の変化を示すグラフと誤判別率の期待値の変化を示すグラフとを出力することができる。   In addition, since the actual value / expected value output unit 21 is provided, a graph showing a change in the actual value of the misclassification rate calculated from the feature amount extracted from an appropriate number of samples and a change in the expected value of the misclassification rate are displayed. The graph shown can be output.

したがって、上記検査装置10は、信頼性のある過検出率の実測値と過検出率の期待値、および見逃し率の値と見逃し率の期待値を得ることができるため、ユーザに対してエンジン1が良品であるか否かを確度よく判定できる閾値tを設定するための情報を提供することができる。   Therefore, the inspection apparatus 10 can obtain the reliable measured value of the overdetection rate and the expected value of the overdetection rate, the value of the missed rate, and the expected value of the missed rate. It is possible to provide information for setting a threshold t with which it is possible to accurately determine whether or not the product is a non-defective product.

上記したように、本実施の形態に係る検査装置10では、表示制御部29が、誤判別率の期待値および実測値を表示部40において表示させ、ユーザに該表示を参照して閾値tを設定させる構成であった。そこで、このユーザが閾値を設定する際の表示部40における表示様式について説明する。   As described above, in the inspection apparatus 10 according to the present embodiment, the display control unit 29 causes the display unit 40 to display the expected value and the actual measurement value of the misclassification rate, and refers the display to the user to set the threshold value t. It was a configuration to be set. Therefore, a display style on the display unit 40 when the user sets a threshold will be described.

まず、上記表示部40では、図15(a)に示すように、閾値設定用画面として別ウインドウが立ち上がるようになっている。そして、この閾値設定用画面では、誤判別率の期待値および実測値を示すグラフを表示させる領域αと、閾値t、過検出率の実測値、過検出率の期待値、見逃し率の実測値、見逃し率の期待値、余裕度、および乖離度を数値で表示および入力可能とする領域βとが設けられている。また、さらに表示画面上における情報に対する指示を示すボタン、より具体的には閾値決定用ボタンおよび入力された情報のキャンセルを指示するボタンも設けられている。   First, in the display unit 40, as shown in FIG. 15A, another window is started up as a threshold setting screen. In this threshold value setting screen, an area α for displaying a graph indicating an expected value and an actual value of the misclassification rate, a threshold value t, an actual value of the overdetection rate, an expected value of the overdetection rate, and an actual value of the missed rate In addition, an area β that allows the expected value, margin, and divergence of the miss rate to be displayed and input numerically is provided. In addition, a button for indicating an instruction for information on the display screen, more specifically, a threshold value determining button and a button for instructing cancellation of input information are provided.

ユーザが閾値を設定する際には、上記領域αにおいて誤判別率の期待値を示すグラフ(図15(a)における実線)、および実測値を示すグラフ(図15(a)における破線)が表示される。また、領域βにおいては、閾値が数値で入力可能な状態となっている。また、このとき領域βにおいて余裕度および乖離度を示す値が表示されていてもよい。   When the user sets a threshold value, a graph indicating the expected value of the misclassification rate in the region α (solid line in FIG. 15A) and a graph indicating the actual measurement value (broken line in FIG. 15A) are displayed. Is done. In the region β, the threshold value can be input numerically. At this time, values indicating the margin and the divergence may be displayed in the region β.

なお、閾値tの設定時における表示は上記した図15(a)に限定されるものではなく、例えば図15(b)に示すようにさらに工夫された表示であってもよい。すなわち、上記領域αには、誤判別率の期待値および実測値のグラフの表示に重ねて、閾値を示すバーが表示され、このバーがドラッグしてα領域内の横軸方向に移動可能となっている。   The display at the time of setting the threshold value t is not limited to the above-described FIG. 15A, and may be a more devised display as shown in FIG. 15B, for example. That is, in the area α, a bar indicating the threshold is displayed over the display of the graph of the expected value of the misclassification rate and the actual measurement value, and this bar can be dragged to move in the horizontal axis direction within the α area. It has become.

また、この閾値を示すバーの移動位置と連動して領域βにおける閾値の値が数値で表現されるようになっている。すなわち、閾値を示すバーを所望する位置に移動させることによって、この位置に応じた閾値tを設定することができるようになっている。このため、ユーザは閾値tの設定を容易に行うことができる。   In addition, the threshold value in the region β is expressed by a numerical value in conjunction with the moving position of the bar indicating the threshold value. That is, by moving the bar indicating the threshold to a desired position, the threshold t corresponding to this position can be set. For this reason, the user can easily set the threshold value t.

また、さらには、領域βにおいて乖離度が示されるようになっており、該乖離度が所定値以上となると、所定値に満たない場合とは異なる表示色で表示する、あるいは警告文が表示されるようになっていてもよい。   Further, the degree of divergence is displayed in the region β, and when the degree of divergence exceeds a predetermined value, it is displayed in a display color different from the case where it does not satisfy the predetermined value, or a warning text is displayed. It may come to be.

または、領域βにおいて余裕度が示されるようになっており、該余裕度が所定値に満たない場合、所定値以上である場合とは異なる表示色で表示する、あるいは警告文が表示されるようになっていてもよい。   Alternatively, the margin is displayed in the region β, and when the margin is less than a predetermined value, a display color different from the case where the margin is equal to or greater than the predetermined value or a warning text is displayed. It may be.

さらには、表示制御部29が予め許容過検出率および許容見逃し率の情報を保持しており、ユーザによって設定された閾値tに応じた過検出率および見逃し率それぞれが、上記許容過検出率および許容見逃し率を越えてしまう場合、上記容過検出率および許容見逃し率以下となる場合とは異なる表示色によって過検出率および見逃し率それぞれを表示する、あるは、警告文を表示するようになっていてもよい。   Furthermore, the display control unit 29 holds information on the allowable overdetection rate and the allowable miss rate in advance, and the overdetection rate and the overlook rate corresponding to the threshold value t set by the user are the above-described allowable overdetection rate and If the allowable miss rate is exceeded, the over-detection rate and the miss rate are displayed in different display colors from the case where the excess detection rate and the allowable miss rate are below the above, or a warning text is displayed. It may be.

また、さらには、表示制御部29が予め許容過検出率および許容見逃し率の情報を保持しており、領域αにおいて表示されている誤判別率の期待値を示すグラフにおいて、上記許容過検出率および許容見逃し率を越えてしまう区間を、それ以外の区間とは異なる表示色で表示するように設定されていてもよい。   Furthermore, in the graph indicating the expected value of the misclassification rate displayed in the region α, the display control unit 29 holds information on the allowable overdetection rate and the allowable oversight rate in advance. The section that exceeds the allowable oversight rate may be set to be displayed in a display color different from that of the other sections.

なお、この図15(a)および図15(b)は、ユーザに閾値の設定および入力を促す場合における表示部40での表示例を示す図である。同図(a)は、閾値tの変換に応じた誤判別率の実測値の変化を示すグラフと期待値の変化を示すグラフとを表示する一例を示し、同図(b)は、閾値tの変換に応じた誤判別率の実測値の変化を示すグラフと、期待値の変化を示すグラフと、所望する閾値の位置を示す閾値のバーとを表示する一例を示す。   FIGS. 15A and 15B are diagrams showing examples of display on the display unit 40 when prompting the user to set and input a threshold value. (A) of the figure shows an example of displaying a graph showing a change in the actual value of the misclassification rate according to the conversion of the threshold value t and a graph showing a change in the expected value, and (b) of the figure shows the threshold value t. An example is shown in which a graph showing a change in an actual measurement value of a misclassification rate according to the conversion, a graph showing a change in an expected value, and a threshold bar indicating a desired threshold position are displayed.

なお、上記した誤判別率実測値計算部25は、データ格納部30に予め格納されている閾値設定データ32を用いて誤判別率の実測値を求める構成であり、また誤判別率期待値計算部26は、データ格納部30に予め格納されている閾値設定データ32を用いて誤判別率の期待値を求める構成であった。しかしながら、このように予め設けられた閾値候補を利用するのではなく、特徴量データ読み出し部24によって読み出されたサンプルの特徴量の最大値と最小値とをそれぞれ上限、下限とし、この上限と下限とによって挟まれる区間を100分割することで自動的に閾値設定データ32を得る構成であってもよい。   The above-described misclassification rate actual value calculation unit 25 is configured to obtain the actual value of the misclassification rate using the threshold setting data 32 stored in advance in the data storage unit 30, and calculates the misclassification rate expected value. The unit 26 is configured to obtain the expected value of the misclassification rate using the threshold setting data 32 stored in advance in the data storage unit 30. However, instead of using the threshold candidates provided in advance as described above, the maximum value and the minimum value of the sample feature value read by the feature value data reading unit 24 are set as the upper limit and the lower limit, respectively. A configuration in which the threshold setting data 32 is automatically obtained by dividing the section between the lower limit by 100 may be possible.

また、本実施の形態に係る検査装置10では、余裕度評価部27が、過検出率の期待値と、許容過検出率とが一致する際の特徴量の値と、見逃し率の期待値と許容見逃し率とが一致する際の特徴量の値との差を余裕度として、該余裕度の大きさを判断する構成であった。しかしながら、余裕度の大きさの判断はこれに限定されるものではなく、下記数式(4)に示す相関比ηを利用して判断することもできる。この相関比ηは各良品サンプルから抽出した特徴量の平均の二乗と各不良品サンプルから抽出した特徴量それぞれの平均の二乗との和を、全既知サンプルの特徴量の分散で除することにより求めることができる。 Moreover, in the inspection apparatus 10 according to the present embodiment, the margin evaluation unit 27 uses the feature value when the expected value of the overdetection rate matches the allowable overdetection rate, and the expected value of the oversight rate. In this configuration, the difference between the value of the feature amount when the allowable miss rate matches and the margin is determined as the margin, and the magnitude of the margin is determined. However, the determination of the magnitude of the margin is not limited to this, and it can also be determined using the correlation ratio η 2 shown in the following formula (4). This correlation ratio η 2 is obtained by dividing the sum of the mean square of feature values extracted from each non-defective sample and the mean square of feature values extracted from each defective sample by the variance of the feature values of all known samples. It can ask for.

Figure 2007139621
Figure 2007139621

また、上記のように、余裕度評価部27によって余裕度を計算する構成ではなく、図16(a)および図16(b)に示すように、誤判別率期待値計算部26によって算出された過検出率の期待値を示すグラフ、および見逃し率の期待値を示すグラフを表示部40に表示させる構成であってもよい。この図16は、閾値tの変化に応じた、誤判別率の期待値の変化を示すグラフの表示例を示すものである。同図(a)は、余裕度が大きい場合における誤判別率の期待値の変化の一例を示すグラフであり、同図(b)は、余裕度が小さい場合における誤判別率の期待値の変化の一例を示すグラフである。   In addition, as described above, the margin is not calculated by the margin evaluation unit 27, but is calculated by the misclassification rate expected value calculation unit 26 as shown in FIGS. 16 (a) and 16 (b). The display unit 40 may be configured to display a graph indicating the expected value of the overdetection rate and a graph indicating the expected value of the oversight rate. FIG. 16 shows a display example of a graph indicating the change in the expected value of the misclassification rate in accordance with the change in the threshold value t. FIG. 5A is a graph showing an example of a change in the expected value of the misclassification rate when the margin is large, and FIG. 10B is a graph showing a change in the expected value of the misclassification rate when the margin is small. It is a graph which shows an example.

このように、上記過検出率の期待値および上記見逃し率の期待値のグラフを表示部40に表示させることにより、良品のエンジン1と不良品のエンジン1とを確度よく判別できる閾値tの設定が可能であるか否かをユーザに直感的に判断させることができる。   In this way, by setting the graph of the expected value of the overdetection rate and the expected value of the miss rate on the display unit 40, the threshold value t is set so that the good engine 1 and the defective engine 1 can be accurately distinguished. It is possible to make the user intuitively determine whether or not it is possible.

なお、上記したように余裕度を算出せずに、誤判別率期待値計算部26によって算出された過検出率および見逃し率の期待値を示すグラフを表示部40に表示させる構成の場合、誤判別率期待値計算部26は算出した上記期待値を表示制御部29に送信し、表示部40に表示させるように指示する。表示制御部29は、誤判別率期待値計算部26からの指示に応じて受信した上記期待値を表示部40に表示させることにより実現できる。なお、この構成の場合、余裕度を算出する必要がないため余裕度評価部27を備える必要がない。したがって、検査装置10の装置構成をより簡単とすることができる。   In the case of the configuration in which the graph indicating the overdetection rate and the expected value of the overlook rate calculated by the misclassification rate expected value calculation unit 26 is displayed on the display unit 40 without calculating the margin as described above, the misjudgment is performed. The separate rate expected value calculation unit 26 transmits the calculated expected value to the display control unit 29 and instructs the display unit 40 to display it. The display control unit 29 can be realized by causing the display unit 40 to display the expected value received in response to an instruction from the misclassification rate expected value calculation unit 26. In the case of this configuration, it is not necessary to calculate the margin, and therefore it is not necessary to provide the margin evaluation unit 27. Therefore, the apparatus configuration of the inspection apparatus 10 can be further simplified.

また、本実施の形態に係る閾値設定制御部20では、乖離度評価部28が、誤判別率実測値計算部25によって算出された誤判別率の実測値と、誤判別率期待値計算部26によって算出された誤判別率の期待値とに基づき、乖離度dを求める構成であった。しかしながら、このように乖離度dを算出せずに、図11(a)または図11(b)に示すように、誤判別率実測値計算部25によって算出された誤判別率の実測値を示すグラフと、誤判別率期待値計算部26によって算出された誤判別率の期待値を示すグラフとを合わせて表示部40に表示させる構成であってもよい。このように構成されている場合、検査装置10を下記のような構成とすることができる。   Further, in the threshold value setting control unit 20 according to the present embodiment, the divergence degree evaluation unit 28 includes an actually measured misclassification rate value calculated by the misclassification rate actual value calculation unit 25 and an erroneous determination rate expected value calculation unit 26. Based on the expected value of the misclassification rate calculated by the above, the divergence degree d is obtained. However, without calculating the divergence degree d in this way, as shown in FIG. 11A or FIG. 11B, the actual value of the misclassification rate calculated by the misclassification rate actual value calculation unit 25 is shown. The configuration may be such that the graph and the graph indicating the expected value of the misclassification rate calculated by the misclassification rate expected value calculation unit 26 are displayed together on the display unit 40. When comprised in this way, the test | inspection apparatus 10 can be set as the following structures.

すなわち、誤判別率実測値計算部25は誤判別率の実測値を算出すると、該実測値を表示制御部29に送信し、また誤判別率期待値計算部26は、誤判別率の期待値を算出すると該期待値を表示制御部29に送信する。表示制御部29は、誤判別率の実測値と誤判別率の期待値とを受信すると、誤判別率の実測値と特徴量との関係を示す図8に示すような確率密度関数のグラフと、誤判別率の期待値と特徴量との関係を示す図9に示すような累積密度関数のグラフとを合わせて表示部40に表示させる。   That is, when the misclassification rate actual value calculation unit 25 calculates the actual value of the misclassification rate, the misclassification rate actual value is transmitted to the display control unit 29, and the misclassification rate expected value calculation unit 26 calculates the expected value of the misclassification rate. Is calculated, the expected value is transmitted to the display control unit 29. When the display control unit 29 receives the actual value of the misclassification rate and the expected value of the misclassification rate, the display control unit 29 shows a graph of a probability density function as shown in FIG. Then, a cumulative density function graph as shown in FIG. 9 showing the relationship between the expected value of the misclassification rate and the feature amount is displayed on the display unit 40.

このように、上記誤判別率の実測値のグラフおよび上記誤判別率の期待値のグラフを共に表示部40に表示させることにより、誤判別率の期待値の信用性の有無をユーザに直感的に判断させることができる。   Thus, by displaying both the graph of the actual value of the misclassification rate and the graph of the expected value of the misclassification rate on the display unit 40, the user can intuitively determine whether the expected value of the misclassification rate is reliable. Can be judged.

また、本実施の形態に係る検査装置10では、対象特徴量指定部23から指示された種類の特徴量について、誤判別率を算出する構成であった。そして、対象特徴量指定部23が指示する特徴量の種類は複数存在する構成であってもよい。   Further, the inspection apparatus 10 according to the present embodiment is configured to calculate the misclassification rate for the type of feature quantity instructed from the target feature quantity designation unit 23. Then, there may be a configuration in which a plurality of types of feature amounts instructed by the target feature amount specifying unit 23 exist.

また、複数種類の特徴量から誤判別率を求める構成の場合、図17に示すように特徴量の種類ごとに閾値tを設け、該特徴量を有するエンジン1が良品であるか否かを判定する。そして、すべての閾値tにより良品であると判定された領域に存在する特徴量が抽出されたエンジン1を良品であると判定する。   Further, in the case of a configuration in which a misclassification rate is obtained from a plurality of types of feature amounts, a threshold value t is provided for each type of feature amount as shown in FIG. 17, and it is determined whether or not the engine 1 having the feature amount is a good product. To do. And the engine 1 from which the feature-value which exists in the area | region determined to be non-defective by all the threshold values t is determined to be non-defective.

なお、この図17は、読み出す特徴量の種類が2種類である場合における良品のエンジン1から抽出した特徴量の分布と不良品のエンジン1から抽出した特徴量の分布と、各特徴量ごとに設定された閾値t・tとの一例を示す図であり、縦軸は特徴量xの値であり、横軸は特徴量xの値となる。 FIG. 17 shows the distribution of feature quantities extracted from the non-defective engine 1 and the distribution of feature quantities extracted from the defective engine 1 when there are two types of feature quantities to be read out. is a diagram showing an example of a threshold t 1 · t 2 that is set, the vertical axis is the value of the feature x 2, the horizontal axis is the value of the feature x 1.

しかしながら、このような判定方法では、特徴量の種類ごとに設定される閾値tすべてを確定しなければ誤判別率を算出することができない。このため、特徴量の種類ごとに閾値tをどのように設定すべきか判定しにくいといった問題がある。   However, in such a determination method, the misclassification rate cannot be calculated unless all the threshold values t set for each type of feature amount are determined. For this reason, there is a problem that it is difficult to determine how the threshold value t should be set for each type of feature amount.

そこで、このように複数種類の特徴量から誤判別率を求める構成の場合、図18に示すように、任意のエンジン1から抽出された複数種類の特徴量をそれぞれ合成し、新たな特徴量を設ける。そして、この新たに設けられた特徴量に対して閾値tを設定して誤判別率を算出するように構成されていることが好ましい。この図18は、読み出す特徴量の種類が2種類である場合における良品のエンジン1から抽出した特徴量の分布と不良品のエンジン1から抽出した特徴量の分布と、2種類の特徴量を合成したベクトルf(x,x)と、該ベクトルに対して設定された閾値tとの一例を示す図である。 Therefore, in the case of the configuration in which the misclassification rate is obtained from a plurality of types of feature amounts as described above, a plurality of types of feature amounts extracted from an arbitrary engine 1 are respectively synthesized as shown in FIG. Provide. And it is preferable to set the threshold t with respect to this newly provided feature amount and calculate the misclassification rate. FIG. 18 shows a combination of a feature quantity distribution extracted from a non-defective engine 1 and a feature quantity distribution extracted from a defective engine 1 and two types of feature quantities when there are two types of feature quantities to be read. and the vector f (x 1, x 2) , is a diagram showing an example of the set threshold value t with respect to the vector.

なお、本実施の形態に係る検査装置10における、新しい種類の特徴量の取得は、対象特徴量指定部23に指定させた複数の特徴量を読み出させて合成演算を行うことで実現する構成であっても良いし、事前に演算結果を図5に示す特徴量テーブル情報に登録しておき、対象特徴量指定部23に指定させて読み出させる構成であってもよい。   In the inspection apparatus 10 according to the present embodiment, the acquisition of a new type of feature value is realized by reading a plurality of feature values specified by the target feature value specifying unit 23 and performing a synthesis operation. Alternatively, the calculation result may be registered in advance in the feature amount table information illustrated in FIG. 5 and may be specified and read by the target feature amount specifying unit 23.

上記のように合成した特徴量を用いて誤判別率を算出する方法としては、例えば、判別分析における「Fisherの線判別関数」、「サポート・ベクター・マシーン(Support Vector Machine,SVM)」における識別超平面からの距離等を利用することができる。   As a method of calculating the misclassification rate using the feature values synthesized as described above, for example, discrimination in “Fisher line discriminant function” and “Support Vector Machine (SVM)” in discriminant analysis The distance from the hyperplane can be used.

また、本実施の形態に係る検査装置10は、図5に示すように、良品サンプルと不良品サンプルとの特徴量それぞれを共に記録した特徴量テーブル情報31を参照して誤判別率実測計算部25が誤判別率の実測値を算出し、誤判別率期待値計算部26が誤判別率の期待値を算出する構成であった。すなわち、良品と判定されるエンジン1と不良品と判定されるエンジン1との両者を既知サンプルとして利用する構成であった。   Further, as shown in FIG. 5, the inspection apparatus 10 according to the present embodiment refers to the feature amount table information 31 in which the feature amounts of the non-defective product sample and the defective product sample are recorded, and the misclassification rate actual measurement calculation unit. 25 is a configuration in which an actual value of the misclassification rate is calculated, and an expected misclassification rate value calculator 26 calculates an expected value of the misclassification rate. That is, both the engine 1 determined to be a non-defective product and the engine 1 determined to be a defective product are used as known samples.

しかしながら、検査装置10は、図19(a)に示すように良品のエンジン1から取得した音データまたは振動データから抽出した特徴量のみを利用して誤判別率の実測値および期待値を算出し、閾値tを決定する構成であってもよい。   However, the inspection apparatus 10 calculates the actual value and the expected value of the misclassification rate using only the feature amount extracted from the sound data or vibration data acquired from the non-defective engine 1 as shown in FIG. The threshold value t may be determined.

このような構成の場合、例えば、図20(a)または図20(b)に示すように閾値tを設定することができる。すなわち、例えば図20(a)に示すように、2種類の特徴量によって規定される良品の分布から閾値tと閾値tとの2つを設定する。なお、この図20(a)では、特徴量xが閾値t以下となり、かつ特徴量xが閾値t以下となる場合を良品であるとしている。 In the case of such a configuration, for example, the threshold value t can be set as shown in FIG. 20 (a) or FIG. 20 (b). For example, as shown in FIG. 20 (a), set two kinds of two from the distribution of non-defective is defined as the threshold t 1 and the threshold t 2 by the feature quantity. In FIG. 20A, the case where the feature quantity x 1 is equal to or less than the threshold value t 1 and the feature quantity x 2 is equal to or less than the threshold value t 1 is regarded as a non-defective product.

あるいは、例えば図20(b)に示すように、マハラノビス・タグチ・システムで用いられる良品サンプルの分布の平均からのマハラノビス距離の平方Dによって、良品と判定されるサンプルと不良品と判定されるサンプルとを判別することができる。すなわち、図20(b)に示す様に2種類の特徴量xと、特徴量xとによって示される良品サンプルの分布から、該良品サンプルを包含した判別境界を構成するように上記マハラノビス距離の平方Dに閾値tを設定し、2種類の特徴量xと、特徴量xとのマハラノビス距離の平方D(x、x)が閾値t以下となる場合を良品と判定する。 Alternatively, for example, as shown in FIG. 20B, a sample determined to be non-defective and a non-defective product are determined by the square D 2 of the Mahalanobis distance from the average distribution of non-defective samples used in the Mahalanobis Taguchi system. A sample can be distinguished. That is, as shown in FIG. 20B, the Mahalanobis distance is formed so as to form a discrimination boundary including the non-defective sample from the distribution of the non-defective sample indicated by the two types of feature amount x 1 and feature amount x 2. square by setting a threshold t in D 2 of the two types of features x 1, square D 2 (x 1, x 2) of the Mahalanobis distance between the feature quantity x 2 as good a case where equal to or less than the threshold value t determined To do.

より具体的には以下のようにして誤判別実測値計算部25が良品サンプルのみの分布から誤判別率の実測値、つまり過検出率の実測値を算出する。   More specifically, the misclassification actual measurement value calculation unit 25 calculates the actual value of the misclassification rate, that is, the actual value of the overdetection rate, from the distribution of only the non-defective samples as follows.

特徴量の種類数をp、良品であると判定されるエンジン1のサンプル数をm、各良品サンプルのもとのp次元特徴ベクトルをXとしたときの標本平均を下記数式(5)、分散共分散行列を下記数式(6)と表すことができる。 The sample average when the number of types of feature quantities is p, the number of samples of the engine 1 determined to be non-defective m is m, and the original p-dimensional feature vector of each non-defective sample is X i , The variance-covariance matrix can be expressed as the following formula (6).

Figure 2007139621
Figure 2007139621

Figure 2007139621
Figure 2007139621

この場合、各サンプルのマハラノビス距離の平方は下記の数式(7)で定義される。   In this case, the square of the Mahalanobis distance of each sample is defined by the following formula (7).

Figure 2007139621
Figure 2007139621

ところで、良品であると判定されているエンジン1の特徴量を既知サンプルとした場合、各既知サンプルに対するDは、自由度pのカイ二乗(χ)分布に従う。そこで、例えば図21に示すように、マハラノビス距離の平方D が閾値t(=χ(p;t))を越えるものを不良品であると判定するように構成する場合、過検出の実測値は、自由度pのカイ二乗分布のtでの上側確率を求めることで得ることができる。なお、過検出率の実測値をαにするためには、閾値t=χ(p;α)に設定すればよい。 By the way, when the feature quantity of the engine 1 determined to be a non-defective product is a known sample, D i for each known sample follows a chi-square (χ 2 ) distribution of degrees of freedom p. Therefore, for example, as shown in FIG. 21, when the Mahalanobis distance square D 2 i exceeds the threshold t (= χ 2 (p; t)) is determined to be a defective product, The actual measurement value can be obtained by obtaining the upper probability at t of the chi-square distribution with the degree of freedom p. In order to set the measured value of the overdetection rate to α, the threshold value t = χ 2 (p; α) may be set.

また、上記して求めた誤判別率(過検出率)の実測値に対する誤判別率の期待値は、誤判別率期待値計算部26が下記の演算を行って求めることができる。より具体的には、例えば、未知サンプルj(j=1,…,m)のp次元特徴ベクトルXが与えられている場合、マハラノビス距離D の分布は、カイ二乗分布ではなく、数式(8)に示すように自由度p、m−pのF分布を定数倍した分布に従う。 Further, the expected value of the misclassification rate with respect to the actual value of the misclassification rate (overdetection rate) obtained as described above can be obtained by the miscalculation rate expected value calculation unit 26 performing the following calculation. More specifically, for example, when a p-dimensional feature vector X i of an unknown sample j (j = 1,..., M) is given, the distribution of the Mahalanobis distance D 2 j is not a chi-square distribution, As shown in (8), it follows a distribution obtained by multiplying the F distribution with degrees of freedom p and mp by a constant.

Figure 2007139621
Figure 2007139621

ここで、マハラノビス距離D が閾値tより大きくなるサンプルを不良品であると判定するように構成する場合、過検出率の期待値は、自由度p、m−pのF分布における閾値tでの上側確率をp(m−1)(m+1)/m(m−p)倍することで求めることができる。 Here, when it is determined that a sample having the Mahalanobis distance D 2 j larger than the threshold value t is determined as a defective product, the expected value of the overdetection rate is the threshold value t in the F distribution with degrees of freedom p and mp. Can be obtained by multiplying the upper probability at p (m−1) (m + 1) / m (m−p).

例えば、この過検出率の期待値と実測値との関係は、図22に示すような2次元空間でのマッピングにおいて、前者が後者を包含するような関係となる。また、良品サンプルのマハラノビス距離の平方の分布において、既知サンプルの分布と、未知サンプルの分布とは図23に示すような関係となる。すなわち、既知サンプルの分布はカイ二乗分布に従い、一方、未知サンプルの分布はF分布に従うこととなる。両者の関係から図24に示すように閾値tにおける過検出率の実測値と期待値とを比較すると、上記実測値が期待値よりも小さく見積もられていることが分かる。   For example, the relationship between the expected value of the overdetection rate and the actual measurement value is such that the former includes the latter in the mapping in a two-dimensional space as shown in FIG. Further, in the square distribution of the Mahalanobis distance of the non-defective sample, the distribution of the known sample and the distribution of the unknown sample have a relationship as shown in FIG. That is, the distribution of known samples follows a chi-square distribution, while the distribution of unknown samples follows an F distribution. From the relationship between the two, as shown in FIG. 24, when the measured value of the overdetection rate at the threshold value t is compared with the expected value, it can be seen that the measured value is estimated to be smaller than the expected value.

なお、カイ二乗分布とF分布との間では、下記数式(9)に示す関係が成り立つため、訓練サンプル数mが少ないほど過検出率の実測値と期待値との乖離が大きくなり、逆に訓練サンプル数mが十分大きい場合は、両者は近似する。   In addition, since the relationship shown in the following mathematical formula (9) is established between the chi-square distribution and the F distribution, the smaller the number m of training samples, the larger the difference between the actual value and the expected value of the overdetection rate, and conversely If the number of training samples m is sufficiently large, both are approximated.

Figure 2007139621
Figure 2007139621

したがって、予め特徴量を取得する良品のエンジン1のサンプル数量が大きくならばなるほど過検出率の実測値と期待値とは近似することとなる。   Therefore, the actual value and the expected value of the overdetection rate are approximated as the sample quantity of the non-defective engine 1 for which the feature value is acquired in advance is larger.

また、以上のように良品と判定されるエンジン1の分布のみに基づき誤判別率を求める構成において、過検出率の期待値を例えば許容値範囲内にあるαとなるように閾値tを設定する場合、下記数式(10)に示すように設定することができる。   Further, in the configuration in which the misclassification rate is obtained based only on the distribution of the engine 1 determined to be non-defective as described above, the threshold value t is set so that the expected value of the overdetection rate becomes, for example, α within the allowable value range. In this case, it can be set as shown in the following formula (10).

Figure 2007139621
Figure 2007139621

また、この構成の場合、不良品サンプルを用意する必要がないため、サンプルの収集を容易とすることができるという利点を有する。特に、良品としての基準を満たすようなエンジン1を製造するといった前提の下、エンジン1の製造が行われているため不良品と判定されたエンジン1それぞれから特徴量を収集することは通常困難である。このため、良品のみのサンプルから閾値tを設定できる構成は有効である。   In addition, this configuration has an advantage that it is possible to easily collect samples because it is not necessary to prepare defective samples. In particular, since the engine 1 is manufactured under the premise that the engine 1 that satisfies the standard as a non-defective product is manufactured, it is usually difficult to collect the feature values from each of the engines 1 determined to be defective. is there. For this reason, the structure which can set the threshold value t from the sample of only good products is effective.

このように、良品サンプルの分布のみに基づき誤判別率を求める構成の場合、この誤判別率は、過検出率のみとなり、余裕度は定義されないこととなる。ただし、もし僅かでも不良品サンプルが得られる場合は、例えば、良品サンプルの特徴量の分布の平均からのマハラノビス距離の望大特性のSN比γを余裕度とすることにより、該余裕度の大きさを判断することができる。この方法を用いれば、不良品サンプルが僅少で、見逃し率の予測値の信頼性を確保ができるだけのサンプル数がなくても、余裕度の大きさを判断することができる。   In this way, in the configuration in which the misclassification rate is obtained based only on the distribution of non-defective samples, the misclassification rate is only the overdetection rate, and the margin is not defined. However, if a defective sample can be obtained even a little, for example, by setting the SN ratio γ of the desired characteristic of the Mahalanobis distance from the average of the distribution of the feature amount of the non-defective sample as the margin, the margin is increased. Can be judged. If this method is used, the size of the margin can be determined even if the number of defective products is small and there is not enough samples to ensure the reliability of the predicted value of the miss rate.

ここで、余裕度として上記マハラノビス距離の望大特性のSN比γを用いる構成の場合、下記のようにして上記望大特性のSN比γを求めることができる。まず余裕度評価部27は、良品と判定されるエンジン1それぞれから収集した特徴量の期待値の分布から基準空間を求める。つまり、良品サンプルの平均からのマハラノビス距離を、以下のようにして求める。すなわち、特徴量の種類(計測項目)をp、良品のエンジン1から得られるサンプル数をm、各良品から得られる特徴量の期待値の、もとのp次元特徴ベクトルをXとしたときの標本平均は、下記数式(11)で表すことができる。また、分散共分散行列は、下記数式(12)によって表すことができる。 Here, in the case of the configuration using the SN ratio γ of the Mahalanobis distance telescopic characteristic as the margin, the SN ratio γ of the telescopic characteristic can be obtained as follows. First, the margin evaluation unit 27 obtains a reference space from the distribution of expected values of feature values collected from each engine 1 determined to be non-defective. That is, the Mahalanobis distance from the average of non-defective samples is obtained as follows. That is, when the type (measurement item) of the feature quantity is p, the number of samples obtained from the non-defective engine 1 is m, and the original p-dimensional feature vector of the expected value of the feature quantity obtained from each good product is X i. The sample average can be expressed by the following formula (11). The variance-covariance matrix can be expressed by the following mathematical formula (12).

Figure 2007139621
Figure 2007139621

Figure 2007139621
Figure 2007139621

このとき各サンプルのマハラノビス距離の平方は数式(13)に示す関係となる。   At this time, the square of the Mahalanobis distance of each sample has the relationship shown in Equation (13).

Figure 2007139621
Figure 2007139621

ここで、不良品サンプル数をn、各不良品サンプルのマハラノビス距離の平方をD ,・・・D とすると、望大特性のSN比の値γは、下記数式(14)となる。 Here, if the number of defective samples is n and the square of the Mahalanobis distance of each defective sample is D 2 1 ,... D 2 n , the SN ratio value γ of the desired size characteristic is expressed by the following equation (14): Become.

Figure 2007139621
Figure 2007139621

このとき望大特性のSN比の値γが大きくなればなるほど不良品のエンジン1から収集した特徴量の期待値群(不良品サンプルの母集団)は、良品のエンジン1から収集した特徴量の期待値群(良品サンプルの母集団)から離れていることを示している。したがって、得られたγの値により、過検出率の期待値と見逃し率の期待値とが十分に分離可能な状態であるか否かを判定することができる。   At this time, as the SN ratio value γ of the desired characteristic increases, the expected value group of feature values collected from the defective engine 1 (population of defective product samples) is the feature value collected from the non-defective engine 1. It shows that it is far from the expected value group (population of good sample). Therefore, it is possible to determine whether or not the expected value of the overdetection rate and the expected value of the overlook rate are sufficiently separable from the obtained value of γ.

このように、良品サンプルの分布の平均からの、不良品サンプルのマハラノビス距離の平方を望大特性とし、この望大特性のSN比γを余裕度として求める構成の場合、上記したように許容過検出率および許容見逃し率を予め設定しておくことがない点で利点を有する。   Thus, in the case of a configuration in which the square of the Mahalanobis distance of the defective sample from the average of the non-defective sample distribution is used as the desired characteristic, and the SN ratio γ of this desired characteristic is obtained as a margin, the allowable excess as described above. There is an advantage in that the detection rate and the allowable miss rate are not set in advance.

上述したように、本実施の形態に係る検査装置10では、十分な余裕度があり、かつ乖離度が所定値未満である場合、表示部40において算出された誤判別率の実測値および期待値を示すグラフをそれぞれ合わせて表示し、ユーザに閾値の設定を促す構成であった。しかし、本実施の形態に係る検査装置10のように、誤判別率の実測値と期待値との関係から予め両者の間における余裕度および乖離度を評価する構成の場合、表示部40に表示させる情報は、誤判別率の期待値を示すグラフだけであってもよい。   As described above, in the inspection apparatus 10 according to the present embodiment, when there is a sufficient margin and the divergence is less than a predetermined value, the actually measured value and the expected value of the misclassification rate calculated by the display unit 40. This is a configuration in which graphs indicating the above are displayed together to prompt the user to set a threshold value. However, as in the inspection apparatus 10 according to the present embodiment, in the case of a configuration in which a margin and a divergence degree are evaluated in advance from the relationship between the actual value and the expected value of the misclassification rate, the display unit 40 displays The information to be made may be only a graph indicating the expected value of the misclassification rate.

また、本実施の形態に係る検査装置10では、上記したように、ユーザに閾値を設定させる際、誤判別率の実測値と期待値とのグラフを表示部40に表示させる構成であった。また、ユーザによって設定された閾値に基づき算出された誤判別率の実測値と期待値とのデータを表示部40に表示させる構成でもあった。しかしながら、上記した誤判別率の実測値と期待値との情報は上記したように表示部40に表示させる構成に限定されるものではなく、例えばデータ格納部30あるいは検査装置10と通信可能に接続されている他の記憶装置に出力する構成であってもよい。あるいは検査装置10が印刷装置と通信可能に接続されている場合は、該印刷装置に誤判別率の実測値と期待値とを送信し、印刷して出力する構成であってもよい。   In addition, as described above, the inspection apparatus 10 according to the present embodiment has a configuration in which the display unit 40 displays the graph of the actual value and the expected value of the misclassification rate when the user sets a threshold value. Further, the display unit 40 is configured to display the data of the actual measurement value and the expected value of the misclassification rate calculated based on the threshold set by the user. However, the information of the actual measurement value and the expected value of the misclassification rate described above is not limited to the configuration displayed on the display unit 40 as described above, and is connected to the data storage unit 30 or the inspection apparatus 10 so as to be communicable, for example. It may be configured to output to another storage device. Alternatively, when the inspection apparatus 10 is connected to be able to communicate with the printing apparatus, the configuration may be such that the actual measurement value and the expected value of the misclassification rate are transmitted to the printing apparatus, and are printed and output.

最後に、検査装置10の検査装置制御部11が備える各ブロック(データ収集制御部12、良否判定部13、および閾値設定制御部20)、特には、閾値設定制御部20が備える各ブロック(対象特徴量指定部23、特徴量データ読み出し部24、誤判別率実測値計算部25、誤判別率期待値計算部26、余裕度評価部27、乖離度評価部28、表示制御部29、および実測値・期待値出力部21)は、ハードウェアロジックによって構成してもよいし、次のようにCPUを用いてソフトウェアによって実現してもよい。   Finally, each block (data collection control unit 12, pass / fail judgment unit 13, and threshold setting control unit 20) included in the inspection device control unit 11 of the inspection apparatus 10, in particular, each block (target) included in the threshold setting control unit 20 Feature amount designation unit 23, feature amount data reading unit 24, misclassification rate actual value calculation unit 25, misclassification rate expected value calculation unit 26, margin evaluation unit 27, divergence evaluation unit 28, display control unit 29, and actual measurement The value / expected value output unit 21) may be configured by hardware logic, or may be realized by software using a CPU as follows.

すなわち、検査装置10は、各機能を実現する制御プログラムの命令を実行するCPU(central processing unit)、上記プログラムを格納したROM(read only memory)、上記プログラムを展開するRAM(random access memory)、上記プログラムおよび各種データを格納するメモリ等の記憶装置(記録媒体)などを備えている。そして、本発明の目的は、上述した機能を実現するソフトウェアである検査装置10の制御プログラムのプログラムコード(実行形式プログラム、中間コードプログラム、ソースプログラム)をコンピュータで読み取り可能に記録した記録媒体を、上記検査装置10に供給し、そのコンピュータ(またはCPUやMPU)が記録媒体に記録されているプログラムコードを読み出し実行することによっても、達成可能である。   That is, the inspection apparatus 10 includes a CPU (central processing unit) that executes instructions of a control program that realizes each function, a ROM (read only memory) that stores the program, a RAM (random access memory) that expands the program, A storage device (recording medium) such as a memory for storing the program and various data is provided. An object of the present invention is a recording medium on which a program code (execution format program, intermediate code program, source program) of a control program of the inspection apparatus 10 which is software that realizes the above-described functions is recorded so as to be readable by a computer. This can also be achieved by supplying the inspection apparatus 10 and reading and executing the program code recorded on the recording medium by the computer (or CPU or MPU).

上記記録媒体としては、例えば、磁気テープやカセットテープ等のテープ系、フロッピー(登録商標)ディスク/ハードディスク等の磁気ディスクやCD−ROM/MO/MD/DVD/CD−R等の光ディスクを含むディスク系、ICカード(メモリカードを含む)/光カード等のカード系、あるいはマスクROM/EPROM/EEPROM/フラッシュROM等の半導体メモリ系などを用いることができる。   Examples of the recording medium include a tape system such as a magnetic tape and a cassette tape, a magnetic disk such as a floppy (registered trademark) disk / hard disk, and an optical disk such as a CD-ROM / MO / MD / DVD / CD-R. Card system such as IC card, IC card (including memory card) / optical card, or semiconductor memory system such as mask ROM / EPROM / EEPROM / flash ROM.

また、検査装置10を通信ネットワークと接続可能に構成し、上記プログラムコードを通信ネットワークを介して供給してもよい。この通信ネットワークとしては、特に限定されず、例えば、インターネット、イントラネット、エキストラネット、LAN、ISDN、VAN、CATV通信網、仮想専用網(virtual private network)、電話回線網、移動体通信網、衛星通信網等が利用可能である。また、通信ネットワークを構成する伝送媒体としては、特に限定されず、例えば、IEEE1394、USB、電力線搬送、ケーブルTV回線、電話線、ADSL回線等の有線でも、IrDAやリモコンのような赤外線、Bluetooth(登録商標)、802.11無線、HDR、携帯電話網、衛星回線、地上波デジタル網等の無線でも利用可能である。なお、本発明は、上記プログラムコードが電子的な伝送で具現化された、搬送波に埋め込まれたコンピュータデータ信号の形態でも実現され得る。   Further, the inspection apparatus 10 may be configured to be connectable to a communication network, and the program code may be supplied via the communication network. The communication network is not particularly limited. For example, the Internet, intranet, extranet, LAN, ISDN, VAN, CATV communication network, virtual private network, telephone line network, mobile communication network, satellite communication. A net or the like is available. Also, the transmission medium constituting the communication network is not particularly limited. For example, even in the case of wired such as IEEE 1394, USB, power line carrier, cable TV line, telephone line, ADSL line, etc., infrared rays such as IrDA and remote control, Bluetooth ( (Registered trademark), 802.11 wireless, HDR, mobile phone network, satellite line, terrestrial digital network, and the like can also be used. The present invention can also be realized in the form of a computer data signal embedded in a carrier wave in which the program code is embodied by electronic transmission.

本発明は上述した実施形態に限定されるものではなく、請求項に示した範囲で種々の変更が可能である。すなわち、請求項に示した範囲で適宜変更した技術的手段を組み合わせて得られる実施形態についても本発明の技術的範囲に含まれる。   The present invention is not limited to the above-described embodiments, and various modifications can be made within the scope of the claims. That is, embodiments obtained by combining technical means appropriately changed within the scope of the claims are also included in the technical scope of the present invention.

例えば、本実施の形態に係る検査装置10において利用する特徴量は、エンジン1から生じた音データおよび振動データから抽出したが、これらのデータに限定されるものではなく、特徴量に変換し閾値を設けることができるようなデータであればよい。例えば、このデータの例として、エンジン1の回転数、トルク、または温度などが上げられる。   For example, the feature amount used in the inspection apparatus 10 according to the present embodiment is extracted from sound data and vibration data generated from the engine 1, but is not limited to these data, and is converted into a feature amount and a threshold value. Any data can be used as long as the data can be provided. For example, as an example of this data, the rotational speed, torque, temperature, or the like of the engine 1 is increased.

また、本実施の形態に係る検査システム100では、検査対象がエンジン1であったがこれに限定されるものではなく、製品の良否を判断する必要があり、かつ該良否が例えば音データまたは振動データなどのように物理量として抽出可能なものであればよい。例えば、下記のようなはんだ付けによる接合の良否を検査するシステムであってもよい。すなわち、画像データとしてはんだが付着している領域を抽出し、該画像データからはんだが付着している領域の面積を求める。そして、この求めた面積を特徴量としてはんだ付けによる接合の良否を判断するシステムである。   In the inspection system 100 according to the present embodiment, the inspection target is the engine 1, but the inspection target is not limited to this, and it is necessary to determine whether the product is good. Anything that can be extracted as a physical quantity such as data may be used. For example, a system for inspecting the quality of joining by soldering as described below may be used. That is, the area where the solder adheres is extracted as image data, and the area of the area where the solder adheres is obtained from the image data. And it is a system which judges the quality of joining by soldering by making this calculated | required area into a feature-value.

本実施の形態に係る検査装置10は、良品である検査対象物と不良品である検査対象物から抽出した特徴量の分布情報に基づき算出した誤判別率の実測値および予測値の変化を示すグラフを表示することができるため、確度のよい品質検査を可能とする閾値を設定するための情報を提供することができる。したがって、検査対象物の品質検査に幅広く適用できる。   The inspection apparatus 10 according to the present embodiment shows changes in the actual value and the predicted value of the misclassification rate calculated based on the distribution information of the feature amount extracted from the inspection object that is a non-defective product and the inspection object that is a defective product. Since the graph can be displayed, it is possible to provide information for setting a threshold value that enables quality inspection with high accuracy. Therefore, it can be widely applied to quality inspection of inspection objects.

本発明の実施形態を示すものであり、検査装置の閾値設定制御部に係る要部構成の一例を示すブロック図である。1, showing an embodiment of the present invention, is a block diagram illustrating an example of a main configuration of a threshold setting control unit of an inspection apparatus. FIG. 本発明の実施形態を示すものであり、検査システムの要部構成を示すブロック図である。BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1, showing an embodiment of the present invention, is a block diagram showing a main configuration of an inspection system. 本実施の形態に係る検査装置において利用される特徴量の一例を示す図である。It is a figure which shows an example of the feature-value utilized in the inspection apparatus which concerns on this Embodiment. 本発明の実施形態を示すものであり、検査装置の要部構成を示すブロック図である。BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1, showing an embodiment of the present invention, is a block diagram showing a main configuration of an inspection apparatus. 本実施の形態に係る特徴量テーブル情報の一例を示す図である。It is a figure which shows an example of the feature-value table information which concerns on this Embodiment. 本実施の形態に係る閾値設定データの一例を示す図である。It is a figure which shows an example of the threshold value setting data concerning this Embodiment. 本実施の形態に係る許容誤判別率データの一例を示す図であるIt is a figure which shows an example of the permissible misclassification rate data which concerns on this Embodiment. 良品および不良品となるサンプルの分布を示す確率密度関数の一例を示すグラフである。It is a graph which shows an example of the probability density function which shows distribution of the sample used as a good article and inferior goods. 閾値の変化に応じた、過検出率の近似値と見逃し率の近似値との変化の一例を示すグラフである。It is a graph which shows an example of the change of the approximate value of an overdetection rate, and the approximate value of a miss rate according to the change of a threshold value. 閾値の変化に応じた過検出率の期待値の変化と見逃し率の期待値の変化との一例を示すグラフであり、同図(a)は、許容過検出率以下となる範囲でありかつ、許容見逃し率以下となる範囲が大きくなり余裕度が大きい場合を示しており、同図(b)は、許容過検出率以下となる範囲でありかつ、許容見逃し率以下となる範囲が小さくなり余裕度が小さい場合を示す。It is a graph showing an example of the change in the expected value of the overdetection rate and the change in the expected value of the overlook rate according to the change in the threshold, and FIG. The figure shows a case where the range below the allowable oversight rate is large and the margin is large, and FIG. 8B shows a range where the range is below the allowable overdetection rate and the range below the allowable oversight rate is small and a margin. The case where the degree is small is shown. 閾値の変化に応じた過検出率の実測値と期待値との変化、および見逃し率の実測値と期待値との変化の一例を示すグラフであり、同図(a)は、過検出率の実測値と期待値との差、および見逃し率の実測値と期待値との差が大きくなる場合を示しており、同図(b)は、過検出率の実測値と期待値との差、および見逃し率の実測値と期待値との差が小さい場合を示す。It is a graph which shows an example of the change of the actual value of an over-detection rate according to the change of a threshold value, and an expected value, and an example of the change of the actual value of an oversight rate, and an expected value. The difference between the actual measurement value and the expected value, and the difference between the actual measurement value and the expected value of the miss rate increase, and FIG. 5B shows the difference between the actual measurement value of the overdetection rate and the expected value. The case where the difference between the actually measured value and the expected value of the miss rate is small is shown. 本実施の形態に係る内部管理データの一例を示す図である。It is a figure which shows an example of the internal management data concerning this Embodiment. 本実施の形態に係る検査装置において閾値設定後に表示するデータの一例を示す図である。It is a figure which shows an example of the data displayed after the threshold value setting in the inspection apparatus which concerns on this Embodiment. 本実施の形態に係る検査装置10における閾値設定処理を説明するフローチャートである。It is a flowchart explaining the threshold value setting process in the test | inspection apparatus 10 which concerns on this Embodiment. ユーザに閾値の設定および入力を促す場合における表示部での表示例を示す図であり、同図(a)は、閾値tの変換に応じた誤判別率の実測値の変化を示すグラフと期待値の変化を示すグラフとを表示する一例を示し、同図(b)は、閾値tの変換に応じた誤判別率の実測値の変化を示すグラフと、期待値の変化を示すグラフと、所望する閾値の位置を示す閾値のバーとを表示する一例を示す。It is a figure which shows the example of a display in a display part in the case of prompting a user to set and input a threshold value, and FIG. An example of displaying a graph showing a change in value is shown, and FIG. 8B shows a graph showing a change in an actual measurement value of a misclassification rate according to conversion of a threshold value t, a graph showing a change in an expected value, An example of displaying a threshold bar indicating a desired threshold position is shown. 閾値の変化に応じた、誤判別率の期待値の変化を示すグラフの表示例を示すものである。同図(a)は、余裕度が大きい場合における誤判別率の期待値の変化の一例を示すグラフであり、同図(b)は、余裕度が小さい場合における誤判別率の期待値の変化の一例を示すグラフである。The example of a graph which shows the change of the expected value of a misclassification rate according to the change of a threshold is shown. FIG. 5A is a graph showing an example of a change in the expected value of the misclassification rate when the margin is large, and FIG. 10B is a graph showing a change in the expected value of the misclassification rate when the margin is small. It is a graph which shows an example. 読み出す特徴量の種類が2種類である場合における良品のエンジンから抽出した特徴量の分布と不良品のエンジンから抽出した特徴量の分布と、各特徴量ごとに設定された閾値との一例を示す図である。An example of a distribution of feature quantities extracted from a non-defective engine, a distribution of feature quantities extracted from a defective engine, and a threshold set for each feature quantity when there are two types of feature quantities to be read is shown. FIG. 読み出す特徴量の種類が2種類である場合における良品のエンジンから抽出した特徴量の分布と不良品のエンジンから抽出した特徴量の分布と、2種類の特徴量を合成したベクトルと、該ベクトルに対して設定された閾値との一例を示す図である。When there are two types of feature quantities to be read, the distribution of feature quantities extracted from a non-defective engine, the distribution of feature quantities extracted from a defective engine, a vector obtained by combining two types of feature quantities, It is a figure which shows an example with the threshold value set with respect to. エンジンから取得した特徴量を記録したテーブルの一例を示す図であり、同図(a)は、良品のエンジンから取得した特徴量を記録するテーブルの一例を示し、同図(b)は、不良品のエンジンから取得した特徴量を記録するテーブルの一例を示す。It is a figure which shows an example of the table which recorded the feature-value acquired from the engine, The figure (a) shows an example of the table which records the feature-value acquired from the quality engine, and the figure (b) An example of the table which records the feature-value acquired from the quality engine is shown. 読み出す特徴量の種類が2種類である場合における良品のエンジンから抽出した特徴量の分布と、この分布に対して設定された閾値との一例を示す図であり、同図(a)は、特徴量ごとに閾値を設けた場合の一例を示し、同図(b)は、ハラノビス距離の平方に対して閾値を設定した場合の一例を示す。It is a figure which shows an example of distribution of the feature-value extracted from the engine of the quality goods in case there are two kinds of feature-values to read, and the threshold value set with respect to this distribution. An example in the case where a threshold value is provided for each quantity is shown, and FIG. 5B shows an example in which a threshold value is set for the square of the Haranobis distance. 良品のエンジンから抽出した特徴量のマハラノビス距離での分布を示すグラフである。It is a graph which shows distribution in the Mahalanobis distance of the feature-value extracted from the quality engine. 良品のエンジンから抽出した特徴量の分布と、該特徴量から算出した過検出率の実測値と期待値との関係を示す図である。It is a figure which shows the relationship between the distribution of the feature-value extracted from the quality engine, and the measured value and expected value of the overdetection rate calculated from the feature-value. 良品のエンジンから抽出した特徴量のマハラノビス距離での分布を示すグラフである。It is a graph which shows distribution in the Mahalanobis distance of the feature-value extracted from the quality engine. 閾値の変化に応じた過検出率の実測値と期待値との変化の一例を示すグラフである。It is a graph which shows an example of the change of the actual value of an overdetection rate according to the change of a threshold, and an expected value. 良品および不良品のエンジンから抽出した特徴量の分布を示すヒストグラムである。It is a histogram which shows distribution of the feature-value extracted from the engine of the quality goods and the inferior goods. 図25に示すヒストグラムに対して閾値を変化させた場合における過検出率と見逃し率の変化の一例を示すグラフである。It is a graph which shows an example of the change of an overdetection rate when a threshold value is changed with respect to the histogram shown in FIG.

符号の説明Explanation of symbols

1 エンジン(検査対象物)
10 検査装置(判定装置)
12 データ収集制御部(取得手段)
21 実測値・期待値出力部(出力手段)
23 対象特徴量指定部(変更手段)
25 誤判別率実測値計算部(算出手段)
26 誤判別率期待値計算部(予測値算出手段)
27 余裕度評価部(閾値設定判定手段)
28 乖離度評価部(差分判定手段)
29 表示制御部(出力手段)
30 データ格納部(記憶装置)
40 表示部
50 入力部(取得指示受付け部・変更指示受付け部・閾値指定受付け部)
1 Engine (inspection object)
10 Inspection device (judgment device)
12 Data collection controller (acquisition means)
21 Measured value / expected value output section (output means)
23 Target feature value specifying unit (changing means)
25 Misclassification rate actual value calculation unit (calculation means)
26 misclassification rate expected value calculation unit (predicted value calculation means)
27. Margin evaluation unit (threshold setting judgment means)
28 Deviation degree evaluation unit (difference determination means)
29 Display control unit (output means)
30 Data storage (storage device)
40 display unit 50 input unit (acquisition instruction receiving unit / change instruction receiving unit / threshold designation receiving unit)

Claims (15)

検査対象物から該検査対象物が正常であるか否か区別するための要素となる情報である特性値を取得し、この特性値に応じて検査対象物が正常であるか否かを判定するための判定装置であって、
複数の正常な検査対象物それぞれから取得した特性値の分布情報から、該検査対象物が正常であるか否かを判定するための閾値を任意に設定した場合における、正常な検査対象物を異常であると判定する割合である過検出率を算出する算出手段と、
統計的手法により、上記特性値に基づいて上記過検出率の予測値を算出する予測値算出手段と、
上記閾値の変化に応じた、上記算出手段によって算出された過検出率の変化を示すグラフと、閾値の変化に応じた、上記予測値算出手段によって算出された過検出率の予測値の変化を示すグラフとを出力する出力手段とを備えることを特徴とする判定装置。
A characteristic value that is information serving as an element for distinguishing whether or not the inspection object is normal is acquired from the inspection object, and whether or not the inspection object is normal is determined according to the characteristic value. A determination device for
When the threshold value for determining whether or not the inspection object is normal is arbitrarily set from the distribution information of the characteristic values acquired from each of the plurality of normal inspection objects, the normal inspection object is abnormal. A calculating means for calculating an overdetection rate that is a ratio to determine that
Predicted value calculation means for calculating a predicted value of the overdetection rate based on the characteristic value by a statistical method;
A graph showing a change in the overdetection rate calculated by the calculation unit according to the change in the threshold, and a change in the predicted value of the overdetection rate calculated by the prediction value calculation unit in accordance with the change in the threshold. An output device for outputting a graph to be displayed.
検査対象物から上記特性値を取得する取得手段と、
ユーザによる、新たな検査対象物からの特性値の取得指示を受付ける取得指示受付け部とを備え、
取得指示受付け部が上記新たな検査対象物からの特性値の取得指示を受付けた場合、上記取得手段が、新たな検査対象物から特性値を取得することを特徴とする請求項1に記載の判定装置。
An acquisition means for acquiring the characteristic value from the inspection object;
An acquisition instruction receiving unit that receives an acquisition instruction of a characteristic value from a new inspection object by a user;
2. The acquisition unit according to claim 1, wherein when the acquisition instruction receiving unit receives an instruction to acquire a characteristic value from the new inspection object, the acquisition unit acquires the characteristic value from the new inspection object. Judgment device.
検査対象物から上記特性値を取得する取得手段と、
上記算出手段によって算出された過検出率と、上記予測値算出手段によって算出された過検出率の予測値とに基づき、算出された過検出率と該過検出率の予測値との差を求め、この差が所定値以上であるか否かを判定する差分判定手段とを備え、
上記差分判定手段が、上記差が所定値以上であると判定した場合、上記取得手段に対して新たな検査対象物からの特性値の取得を指示することを特徴とする請求項1に記載の判定装置。
An acquisition means for acquiring the characteristic value from the inspection object;
A difference between the calculated overdetection rate and the predicted value of the overdetection rate is obtained based on the overdetection rate calculated by the calculation unit and the predicted value of the overdetection rate calculated by the predicted value calculation unit. Difference determining means for determining whether or not the difference is equal to or greater than a predetermined value,
The difference determination unit, when determining that the difference is equal to or greater than a predetermined value, instructs the acquisition unit to acquire a characteristic value from a new inspection object. Judgment device.
検査対象物から該検査対象物が正常であるか否か区別するための要素となる情報である特性値を取得し、この特性値に応じて検査対象物が正常であるか否かを判定するための判定装置であって、
複数の正常な検査対象物それぞれから取得した特性値の分布情報から、該検査対象物が正常であるか否かを判定するための閾値を任意に設定した場合における、正常な検査対象物を異常であると判定する割合である過検出率を算出する算出手段と、
統計的手法により、上記特性値に基づいて上記過検出率の予測値を算出する予測値算出手段と、
閾値の変化に応じた、上記予測値算出手段によって算出された過検出率の予測値の変化を示すグラフとを出力する出力手段と、
検査対象物から上記特性値を取得する取得手段と、
上記算出手段によって算出された過検出率と、上記予測値算出手段によって算出された過検出率の予測値とに基づき、算出された過検出率と該過検出率の予測値との差を求め、この差が所定値以上であるか否かを判定する差分判定手段とを備え、
上記差分判定手段が、上記差が所定値以上であると判定した場合、上記取得手段に対して、新たな検査対象物からの特性値の取得を指示することを特徴とする判定装置。
A characteristic value that is information serving as an element for distinguishing whether or not the inspection object is normal is acquired from the inspection object, and whether or not the inspection object is normal is determined according to the characteristic value. A determination device for
When the threshold value for determining whether or not the inspection object is normal is arbitrarily set from the distribution information of the characteristic values acquired from each of the plurality of normal inspection objects, the normal inspection object is abnormal. A calculating means for calculating an overdetection rate that is a ratio to determine that
Predicted value calculation means for calculating a predicted value of the overdetection rate based on the characteristic value by a statistical method;
An output unit that outputs a graph indicating a change in the predicted value of the overdetection rate calculated by the predicted value calculation unit according to a change in the threshold;
An acquisition means for acquiring the characteristic value from the inspection object;
A difference between the calculated overdetection rate and the predicted value of the overdetection rate is obtained based on the overdetection rate calculated by the calculation unit and the predicted value of the overdetection rate calculated by the predicted value calculation unit. Difference determining means for determining whether or not the difference is equal to or greater than a predetermined value,
The determination apparatus characterized by instructing the acquisition unit to acquire a characteristic value from a new inspection object when the difference determination unit determines that the difference is equal to or greater than a predetermined value.
上記特性値の分布情報には、複数の異常が生じている検査対象物それぞれから取得した特性値の分布情報がさらに含まれており、
上記算出手段は、上記特性値の分布情報から、検査対象物が正常であるか否かを判定するための閾値を任意に設定した場合における、異常が生じている検査対象物を正常であると判定する割合である見逃し率をさらに算出しており、
上記予測値算出手段は、統計的手法により、上記特性値に基づいて上記見逃し率の予測値をさらに算出しており、
上記出力手段が、閾値の変化に応じた、上記算出手段によって算出された過検出率および見逃し率の変化を示すグラフと、閾値の変化に応じた、上記予測値算出手段によって算出された過検出率および見逃し率の予測値の変化を示すグラフとを出力することを特徴とする請求項1に記載の判定装置。
The characteristic value distribution information further includes characteristic value distribution information acquired from each of the inspection objects in which a plurality of abnormalities occur,
The calculation means that the inspection object in which an abnormality has occurred is normal when the threshold value for determining whether the inspection object is normal is arbitrarily set from the distribution information of the characteristic value. We ’re calculating the missed rate, which is the percentage we ’re judging,
The predicted value calculation means further calculates a predicted value of the miss rate based on the characteristic value by a statistical method,
The output means is a graph showing changes in the overdetection rate and the overlook rate calculated by the calculation means according to a change in the threshold value, and an overdetection calculated by the predicted value calculation means according to the change in the threshold value. The determination apparatus according to claim 1, wherein the determination device outputs a graph indicating a change in a predicted value of a rate and a miss rate.
上記過検出率および上記見逃し率と上記過検出率および上記見逃し率の予測値とを算出するための特性値の種類を変更する変更手段と、
ユーザからの、上記特性値の種類の変更を指示する情報を受付ける変更指示受付け部とを備え、
変更指示受付け部が特性値の種類の変更を指示する情報を受付けた場合、上記変更手段が、指定する特性値の種類を変更することを特徴とする請求項5に記載の判定装置。
Change means for changing the type of characteristic value for calculating the overdetection rate and the missed rate and the predicted value of the overdetection rate and the overlooked rate;
A change instruction receiving unit that receives information from the user for instructing to change the type of the characteristic value,
6. The determination apparatus according to claim 5, wherein when the change instruction receiving unit receives information instructing to change the type of the characteristic value, the changing unit changes the type of the characteristic value to be designated.
検査対象物から上記特性値を取得する取得手段と、
ユーザによる、新たな検査対象物からの特性値の取得指示を受付ける取得指示受付け部とを備え、
取得指示受付け部が新たな検査対象物からの特性値の取得指示を受付けた場合、上記取得手段が、新たな検査対象物から特性値を取得することを特徴とする請求項5または6に記載の判定装置。
An acquisition means for acquiring the characteristic value from the inspection object;
An acquisition instruction receiving unit that receives an acquisition instruction of a characteristic value from a new inspection object by a user;
The acquisition unit acquires a characteristic value from a new inspection object when the acquisition instruction receiving unit receives an instruction to acquire the characteristic value from the new inspection object. Judgment device.
上記過検出率および上記見逃し率と、上記過検出率および上記見逃し率の予測値とを算出するための特性値の種類を変更する変更手段と、
許容される過検出率の値および許容される見逃し率の値を示す許容情報を保持する記憶装置と、
上記許容情報と、上記予測値算出手段によって算出された過検出率および見逃し率の予測値とに基づき、上記過検出率の予測値が許容値以下となり、かつ上記見逃し率の予測値が許容値以下となる、閾値の設定可能な範囲である閾値範囲情報を求め、この求めた閾値範囲情報に応じて、正常な検査対象物それぞれから取得した特性値の分布と、異常が生じている検査対象物それぞれから取得した特性値の分布とを判別するための閾値を設定することができるか否かを判定する閾値設定判定手段と、
上記閾値設定判定手段が、上記閾値によって、正常な検査対象物それぞれから取得した特性値の分布と異常が生じている検査対象物それぞれから取得した特性値の分布とを判別可能であると判定した場合、上記出力手段は、閾値の変化に応じた、上記算出手段によって算出された過検出率および見逃し率の変化を示すグラフと、閾値の変化に応じた、上記予測値算出手段によって算出された過検出率および見逃し率の予測値の変化を示すグラフとを出力し、
上記閾値設定判定手段が、上記閾値によって、正常な検査対象物それぞれから取得した特性値の分布と異常が生じている検査対象物それぞれから取得した特性値の分布とを判別不可能であると判定した場合、取得する特性値の種類を変更するように上記変更手段に指示することを特徴とする請求項5に記載の判定装置。
Changing means for changing the type of characteristic value for calculating the overdetection rate and the overlooked rate, and the predicted value of the overdetection rate and the overlooked rate,
A storage device for holding tolerance information indicating an allowable overdetection rate value and an allowable oversight rate value;
Based on the tolerance information and the predicted value of the overdetection rate and the missed rate calculated by the predicted value calculation means, the predicted value of the overdetection rate is less than the allowed value, and the predicted value of the missed rate is the allowed value Obtain threshold range information, which is the range where thresholds can be set, and the distribution of characteristic values obtained from each normal inspection object according to the obtained threshold range information and the inspection target in which an abnormality has occurred Threshold setting determination means for determining whether or not a threshold for determining the distribution of characteristic values acquired from each object can be set;
The threshold setting determination means determines that the distribution of the characteristic value acquired from each normal inspection object and the distribution of the characteristic value acquired from each inspection object in which an abnormality has occurred can be determined by the threshold. In this case, the output means is calculated by the predictive value calculation means according to the change in the threshold and the graph indicating the change in the overdetection rate and the miss rate calculated by the calculation means. Output a graph showing the change in the predicted value of the overdetection rate and the oversight rate,
The threshold setting determination means determines that the distribution of the characteristic value acquired from each normal inspection object and the distribution of the characteristic value acquired from each inspection object having an abnormality cannot be determined by the threshold. The determination apparatus according to claim 5, wherein the determination unit instructs the change unit to change the type of the characteristic value to be acquired.
上記過検出率および上記見逃し率と、上記過検出率および上記見逃し率の予測値とを算出するための特性値の種類を変更する変更手段と、
複数の正常な検査対象物それぞれから取得した特性値の集合の分布の平均に対する、複数の異常が生じている検査対象物それぞれから取得した各特性値のマハラノビス距離の平方を求め得られた値を望大特性とし、該望大特性のSN比を求め得られた値に応じて、正常な検査対象物それぞれから取得した特性値の分布と、異常が生じている検査対象物それぞれから取得した特性値の分布とを判別するための閾値を設定することができるか否かを判定する閾値設定判定手段と、
上記閾値設定判定手段が、上記閾値によって、正常な検査対象物それぞれから取得した特性値の分布と異常が生じている検査対象物それぞれから取得した特性値の分布とを判別可能であると判定した場合、上記出力手段は、閾値の変化に応じた、上記算出手段によって算出された過検出率および見逃し率の変化を示すグラフと、閾値の変化に応じた、上記予測値算出手段によって算出された過検出率および見逃し率の予測値の変化を示すグラフとを出力し、
上記閾値設定判定手段が、上記閾値によって、正常な検査対象物それぞれから取得した特性値の分布と異常が生じている検査対象物それぞれから取得した特性値の分布とを判別不可能であると判定した場合、取得する特性値の種類を変更するように上記変更手段に指示することを特徴とする請求項5に記載の判定装置。
Changing means for changing the type of characteristic value for calculating the overdetection rate and the overlooked rate, and the predicted value of the overdetection rate and the overlooked rate,
The value obtained by calculating the square of the Mahalanobis distance of each characteristic value acquired from each of the test objects in which a plurality of abnormalities are obtained relative to the average distribution of the set of characteristic values acquired from each of the plurality of normal test objects. The distribution of characteristic values acquired from each normal inspection object and the characteristics acquired from each inspection object in which an abnormality has occurred according to the value obtained by obtaining the SN ratio of the desired large characteristic Threshold setting determination means for determining whether or not a threshold for determining a distribution of values can be set;
The threshold setting determination means determines that the distribution of the characteristic value acquired from each normal inspection object and the distribution of the characteristic value acquired from each inspection object in which an abnormality has occurred can be determined by the threshold. In this case, the output means is calculated by the predictive value calculation means according to the change in the threshold and the graph indicating the change in the overdetection rate and the miss rate calculated by the calculation means. Output a graph showing the change in the predicted value of the overdetection rate and the oversight rate,
The threshold setting determination means determines that the distribution of the characteristic value acquired from each normal inspection object and the distribution of the characteristic value acquired from each inspection object having an abnormality cannot be determined by the threshold. The determination apparatus according to claim 5, wherein the determination unit instructs the change unit to change the type of the characteristic value to be acquired.
検査対象物から上記特性値を取得する取得手段と、
上記算出手段によって算出された過検出率および見逃し率と、上記予測値算出手段によって算出された過検出率および見逃し率の予測値とに基づき、過検出率と過検出率の予測値との差、および見逃し率と見逃し率の予測値との差を求め、これらの差の組み合わせが所定値以上であるか否かを判定する差分判定手段とを備え、
上記差分判定手段が、上記差が所定値以上であると判定した場合、取得手段に対して、さらなる検査対象物からの特性値の取得を指示することを特徴とする請求項5、8、または9のいずれか1項に記載の判定装置。
An acquisition means for acquiring the characteristic value from the inspection object;
The difference between the overdetection rate and the overdetection rate prediction value based on the overdetection rate and the oversight rate calculated by the calculation unit and the overdetection rate and the overlookment rate prediction value calculated by the prediction value calculation unit. And a difference determination means for determining a difference between the missed rate and the predicted value of the missed rate, and determining whether a combination of these differences is a predetermined value or more,
The difference determination unit, when determining that the difference is equal to or greater than a predetermined value, instructs the acquisition unit to acquire a characteristic value from a further inspection object. 10. The determination device according to any one of 9 above.
ユーザからの、上記閾値を指定する情報を受付ける閾値指定受付け部をさらに備え、
上記出力手段が、上記閾値指定受付け部によって受付けた閾値に応じて、算出手段によって算出された過検出率および見逃し率と予測値算出手段によって算出された過検出率および見逃し率の予測値とを出力することを特徴とする請求項1〜10のいずれか1項に記載の判定装置。
A threshold value specification receiving unit for receiving information specifying the threshold value from the user;
According to the threshold value received by the threshold value specification receiving unit, the output means includes an overdetection rate and an overlook rate calculated by the calculation means and an overdetection rate and an overlooked rate prediction value calculated by the prediction value calculation means. It outputs, The determination apparatus of any one of Claims 1-10 characterized by the above-mentioned.
上記予測値算出手段は、複数の正常な検査対象物それぞれから取得した特性値の集合に関して、該特性値の分布の平均に対する各特性値のマハラノビス距離の平方を求め得られた値の集合に対して、F分布の上側確率を求めることにより予測値を算出することを特徴とする請求項1〜4のいずれか1項に記載の判定装置。   The predicted value calculation means calculates the square of the Mahalanobis distance of each characteristic value with respect to the average of the distribution of the characteristic values for the set of characteristic values acquired from each of the plurality of normal inspection objects. The determination apparatus according to claim 1, wherein the prediction value is calculated by obtaining an upper probability of the F distribution. 上記予測値算出手段は、複数の検査対象物それぞれから取得した特性値を組み合わせて生成した、複数の集合を訓練サンプルとし、該訓練サンプルにおける各集合において上記過検出率および見逃し率を、過検出率および見逃し率の予測値として算出することを特徴とする請求項1〜11のいずれか1項に記載の判定装置。   The predicted value calculation means uses a plurality of sets generated by combining characteristic values acquired from a plurality of inspection objects as training samples, and overdetects the overdetection rate and the oversight rate in each set of the training samples. The determination device according to claim 1, wherein the determination device calculates the predicted value of the rate and the miss rate. 請求項1〜13のいずれか1項に記載の判定装置を動作させるための制御プログラムであって、コンピュータを上記各手段として機能させるための判定装置の制御プログラム。   A control program for operating the determination apparatus according to claim 1, wherein the control program is for causing the computer to function as each means. 請求項14に記載の判定装置の制御プログラムが記録されたコンピュータの読取り可能な記録媒体。   The computer-readable recording medium with which the control program of the determination apparatus of Claim 14 was recorded.
JP2005335035A 2005-11-18 2005-11-18 Determination device, determination device control program, and recording medium recording determination device control program Active JP4645422B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005335035A JP4645422B2 (en) 2005-11-18 2005-11-18 Determination device, determination device control program, and recording medium recording determination device control program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005335035A JP4645422B2 (en) 2005-11-18 2005-11-18 Determination device, determination device control program, and recording medium recording determination device control program

Publications (2)

Publication Number Publication Date
JP2007139621A true JP2007139621A (en) 2007-06-07
JP4645422B2 JP4645422B2 (en) 2011-03-09

Family

ID=38202672

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005335035A Active JP4645422B2 (en) 2005-11-18 2005-11-18 Determination device, determination device control program, and recording medium recording determination device control program

Country Status (1)

Country Link
JP (1) JP4645422B2 (en)

Cited By (25)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008008708A (en) * 2006-06-28 2008-01-17 Omron Corp Judgment knowledge creation system, judgment knowledge creation method, program, and recording medium
JP2009121909A (en) * 2007-11-14 2009-06-04 Toyota Boshoku Corp Inspection method of member
JP2009180860A (en) * 2008-01-30 2009-08-13 Yokogawa Electric Corp Process-related data display device and process-related data display method
JP2009276146A (en) * 2008-05-13 2009-11-26 Toyota Motor Corp Camshaft inspection apparatus and camshaft inspection method
JP2010029926A (en) * 2008-07-30 2010-02-12 Honda Motor Co Ltd Quality forecasting method
JP2010029925A (en) * 2008-07-30 2010-02-12 Honda Motor Co Ltd Quality forecasting method
JP2010133788A (en) * 2008-12-03 2010-06-17 Toshiba Corp Method of diagnosing deterioration of lubricant and viscous substance
JP2010181203A (en) * 2009-02-03 2010-08-19 Kanto Auto Works Ltd Device and method for detecting crack
WO2010137488A1 (en) * 2009-05-29 2010-12-02 株式会社村田製作所 Product inspection device, product inspection method, and computer program
JP2011069660A (en) * 2009-09-24 2011-04-07 Toyota Motor Corp Pass/fail determination method in quality inspection of product
JP2011238148A (en) * 2010-05-13 2011-11-24 Yokogawa Electric Corp Analysis result display device and analysis result display method
JP2013084057A (en) * 2011-10-06 2013-05-09 Nippon Steel & Sumitomo Metal Management method for product quality and management device for product quality
JP2015028475A (en) * 2013-07-05 2015-02-12 株式会社東芝 Deterioration diagnosis method of lubricant
WO2016152204A1 (en) * 2015-03-20 2016-09-29 株式会社村田製作所 Product inspection device, product inspection method, and computer program
KR20170048843A (en) * 2015-10-27 2017-05-10 삼성에스디에스 주식회사 System and method for detecting anomality using sensor data
WO2017119221A1 (en) * 2016-01-08 2017-07-13 株式会社村田製作所 Produce stratification device, product stratification method, and computer program
JP2017151598A (en) * 2016-02-23 2017-08-31 株式会社安川電機 Abnormality determination device, abnormality determination program, abnormality determination system, and motor controller
JPWO2016117358A1 (en) * 2015-01-21 2017-09-14 三菱電機株式会社 Inspection data processing apparatus and inspection data processing method
JP2017185606A (en) * 2016-04-08 2017-10-12 住友電気工業株式会社 Assembly quality determination device, assembly quality determination method and assembly quality determination program
JP2017219534A (en) * 2016-06-01 2017-12-14 原子燃料工業株式会社 Member soundness diagnosis method
JP2019027788A (en) * 2017-07-25 2019-02-21 日本電気株式会社 Abnormality detection sensitivity setting device and abnormality detection sensitivity setting method for rotation mechanism
WO2020100967A1 (en) * 2018-11-14 2020-05-22 パナソニックIpマネジメント株式会社 Sound state display method, sound state display apparatus, and sound state display system
WO2020183734A1 (en) * 2019-03-14 2020-09-17 株式会社Fuji Quality determination device and quality determination method
JP2021128174A (en) * 2016-11-14 2021-09-02 コー・ヤング・テクノロジー・インコーポレーテッド Method and device for adjusting quality determination conditions for inspection object
JPWO2020183735A1 (en) * 2019-03-14 2021-11-25 株式会社Fuji Pass / fail judgment device and pass / fail judgment method

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04328455A (en) * 1991-04-30 1992-11-17 Mitsubishi Electric Corp Inspecting apparatus for soldering
JPH087104A (en) * 1994-06-20 1996-01-12 Matsushita Electric Ind Co Ltd Threshold value deciding method for discriminating propriety
JPH10214327A (en) * 1997-01-30 1998-08-11 Nippon Telegr & Teleph Corp <Ntt> Method of detecting surface defect using image
JP2000046701A (en) * 1998-07-23 2000-02-18 Japan Nuclear Cycle Development Inst States Of Projects Method for diagnosing equipment
JP2001091414A (en) * 1999-09-17 2001-04-06 Omron Corp Method and device for determining abnormal condition
JP2003214944A (en) * 2002-01-29 2003-07-30 Daihatsu Motor Co Ltd Failure inspection device depending on abnormal noise
JP2003329548A (en) * 2003-04-24 2003-11-19 Omron Corp Quality judging method and apparatus
JP2004085216A (en) * 2002-08-22 2004-03-18 Toyota Motor Corp Quality determining apparatus, quality determining program, and quality determining method
JP2005092466A (en) * 2003-09-16 2005-04-07 Toshiba Corp Diagnostic process supporting method and its program
JP2005114378A (en) * 2003-10-03 2005-04-28 Toyota Motor Corp Quality judging apparatus, quality judging program and quality judging method
JP2005121639A (en) * 2003-09-22 2005-05-12 Omron Corp Inspection method, inspection apparatus and diagnostic apparatus for facility
JP2005195432A (en) * 2004-01-06 2005-07-21 Nagoya Electric Works Co Ltd Quality determination device, quality determination program and quality determination method

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04328455A (en) * 1991-04-30 1992-11-17 Mitsubishi Electric Corp Inspecting apparatus for soldering
JPH087104A (en) * 1994-06-20 1996-01-12 Matsushita Electric Ind Co Ltd Threshold value deciding method for discriminating propriety
JPH10214327A (en) * 1997-01-30 1998-08-11 Nippon Telegr & Teleph Corp <Ntt> Method of detecting surface defect using image
JP2000046701A (en) * 1998-07-23 2000-02-18 Japan Nuclear Cycle Development Inst States Of Projects Method for diagnosing equipment
JP2001091414A (en) * 1999-09-17 2001-04-06 Omron Corp Method and device for determining abnormal condition
JP2003214944A (en) * 2002-01-29 2003-07-30 Daihatsu Motor Co Ltd Failure inspection device depending on abnormal noise
JP2004085216A (en) * 2002-08-22 2004-03-18 Toyota Motor Corp Quality determining apparatus, quality determining program, and quality determining method
JP2003329548A (en) * 2003-04-24 2003-11-19 Omron Corp Quality judging method and apparatus
JP2005092466A (en) * 2003-09-16 2005-04-07 Toshiba Corp Diagnostic process supporting method and its program
JP2005121639A (en) * 2003-09-22 2005-05-12 Omron Corp Inspection method, inspection apparatus and diagnostic apparatus for facility
JP2005114378A (en) * 2003-10-03 2005-04-28 Toyota Motor Corp Quality judging apparatus, quality judging program and quality judging method
JP2005195432A (en) * 2004-01-06 2005-07-21 Nagoya Electric Works Co Ltd Quality determination device, quality determination program and quality determination method

Cited By (47)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008008708A (en) * 2006-06-28 2008-01-17 Omron Corp Judgment knowledge creation system, judgment knowledge creation method, program, and recording medium
JP2009121909A (en) * 2007-11-14 2009-06-04 Toyota Boshoku Corp Inspection method of member
JP2009180860A (en) * 2008-01-30 2009-08-13 Yokogawa Electric Corp Process-related data display device and process-related data display method
JP2009276146A (en) * 2008-05-13 2009-11-26 Toyota Motor Corp Camshaft inspection apparatus and camshaft inspection method
JP2010029926A (en) * 2008-07-30 2010-02-12 Honda Motor Co Ltd Quality forecasting method
JP2010029925A (en) * 2008-07-30 2010-02-12 Honda Motor Co Ltd Quality forecasting method
JP2010133788A (en) * 2008-12-03 2010-06-17 Toshiba Corp Method of diagnosing deterioration of lubricant and viscous substance
JP2010181203A (en) * 2009-02-03 2010-08-19 Kanto Auto Works Ltd Device and method for detecting crack
US9037436B2 (en) 2009-05-29 2015-05-19 Murata Manufacturing Co., Ltd. Product inspection device, product inspection method, and computer program
US9870343B2 (en) 2009-05-29 2018-01-16 Murata Manufacturing Co., Ltd. Product inspection device, product inspection method, and computer program
CN102449645A (en) * 2009-05-29 2012-05-09 株式会社村田制作所 Product inspection device, product inspection method, and computer program
JPWO2010137488A1 (en) * 2009-05-29 2012-11-12 株式会社村田製作所 Product inspection device, product inspection method, and computer program
JP5477382B2 (en) * 2009-05-29 2014-04-23 株式会社村田製作所 Product inspection device, product inspection method, and computer program
WO2010137488A1 (en) * 2009-05-29 2010-12-02 株式会社村田製作所 Product inspection device, product inspection method, and computer program
JP2011069660A (en) * 2009-09-24 2011-04-07 Toyota Motor Corp Pass/fail determination method in quality inspection of product
JP2011238148A (en) * 2010-05-13 2011-11-24 Yokogawa Electric Corp Analysis result display device and analysis result display method
JP2013084057A (en) * 2011-10-06 2013-05-09 Nippon Steel & Sumitomo Metal Management method for product quality and management device for product quality
JP2015028475A (en) * 2013-07-05 2015-02-12 株式会社東芝 Deterioration diagnosis method of lubricant
JPWO2016117358A1 (en) * 2015-01-21 2017-09-14 三菱電機株式会社 Inspection data processing apparatus and inspection data processing method
US10935966B2 (en) 2015-03-20 2021-03-02 Murata Manufacturing Co., Ltd. Product inspection device, product inspection method, and computer program
WO2016152204A1 (en) * 2015-03-20 2016-09-29 株式会社村田製作所 Product inspection device, product inspection method, and computer program
JPWO2016152204A1 (en) * 2015-03-20 2017-12-21 株式会社村田製作所 Product inspection device, product inspection method, and computer program
CN107430396B (en) * 2015-03-20 2019-09-24 株式会社村田制作所 Product inspection device, product inspection method and the storage medium for storing computer program
CN107430396A (en) * 2015-03-20 2017-12-01 株式会社村田制作所 Product inspection device, product inspection method and computer program
KR102384742B1 (en) * 2015-10-27 2022-04-07 삼성에스디에스 주식회사 System and method for detecting anomality using sensor data
KR20170048843A (en) * 2015-10-27 2017-05-10 삼성에스디에스 주식회사 System and method for detecting anomality using sensor data
WO2017119221A1 (en) * 2016-01-08 2017-07-13 株式会社村田製作所 Produce stratification device, product stratification method, and computer program
CN108472691A (en) * 2016-01-08 2018-08-31 株式会社村田制作所 Product decker, product layered approach and computer program
JPWO2017119221A1 (en) * 2016-01-08 2018-10-04 株式会社村田製作所 Product stratification device, product stratification method and computer program
CN108472691B (en) * 2016-01-08 2020-11-27 株式会社村田制作所 Product layering device, product layering method, and storage medium
JP2017151598A (en) * 2016-02-23 2017-08-31 株式会社安川電機 Abnormality determination device, abnormality determination program, abnormality determination system, and motor controller
US10663518B2 (en) 2016-02-23 2020-05-26 Kabushiki Kaisha Yaskawa Denki Abnormality determining apparatus, abnormality determining method, and abnormality determining system
JP2017185606A (en) * 2016-04-08 2017-10-12 住友電気工業株式会社 Assembly quality determination device, assembly quality determination method and assembly quality determination program
JP2017219534A (en) * 2016-06-01 2017-12-14 原子燃料工業株式会社 Member soundness diagnosis method
JP2021128174A (en) * 2016-11-14 2021-09-02 コー・ヤング・テクノロジー・インコーポレーテッド Method and device for adjusting quality determination conditions for inspection object
JP7302131B2 (en) 2016-11-14 2023-07-04 コー・ヤング・テクノロジー・インコーポレーテッド METHOD AND APPARATUS FOR ADJUSTING PASS/FAIL JUDGMENT CONDITIONS FOR INSPECTION OBJECTS
JP2019027788A (en) * 2017-07-25 2019-02-21 日本電気株式会社 Abnormality detection sensitivity setting device and abnormality detection sensitivity setting method for rotation mechanism
CN113015888A (en) * 2018-11-14 2021-06-22 松下知识产权经营株式会社 Sound state display method, sound state display device, and sound state display system
JPWO2020100967A1 (en) * 2018-11-14 2021-09-09 パナソニックIpマネジメント株式会社 Sound status display method, sound status display device and sound status display system
EP3882591A4 (en) * 2018-11-14 2021-12-29 Panasonic Intellectual Property Management Co., Ltd. Sound state display method, sound state display apparatus, and sound state display system
JP7117573B2 (en) 2018-11-14 2022-08-15 パナソニックIpマネジメント株式会社 Sound state display method, sound state display device and sound state display system
WO2020100967A1 (en) * 2018-11-14 2020-05-22 パナソニックIpマネジメント株式会社 Sound state display method, sound state display apparatus, and sound state display system
JPWO2020183734A1 (en) * 2019-03-14 2021-11-25 株式会社Fuji Pass / fail judgment device and pass / fail judgment method
JPWO2020183735A1 (en) * 2019-03-14 2021-11-25 株式会社Fuji Pass / fail judgment device and pass / fail judgment method
WO2020183734A1 (en) * 2019-03-14 2020-09-17 株式会社Fuji Quality determination device and quality determination method
JP7153127B2 (en) 2019-03-14 2022-10-13 株式会社Fuji Pass/Fail Judgment Device and Pass/Fail Judgment Method
JP7153126B2 (en) 2019-03-14 2022-10-13 株式会社Fuji Pass/Fail Judgment Device and Pass/Fail Judgment Method

Also Published As

Publication number Publication date
JP4645422B2 (en) 2011-03-09

Similar Documents

Publication Publication Date Title
JP4645422B2 (en) Determination device, determination device control program, and recording medium recording determination device control program
JP7289427B2 (en) Program, information processing method and information processing apparatus
JP6870346B2 (en) Data analysis systems, data analysis methods and programs
US20180232294A1 (en) Control device, monitoring system, and recording medium
JP2006017637A5 (en)
JP2013101622A (en) Graphical re-inspection user setup interface
JP5718781B2 (en) Image classification apparatus and image classification method
JP4982213B2 (en) Defect inspection apparatus and defect inspection method
JP6315528B1 (en) Anomaly detection model construction device, anomaly detection model construction method and program
CN107194908A (en) Image processing apparatus and image processing method
CN112639431A (en) Abnormality prediction system and abnormality prediction method
JP6795562B2 (en) Inspection equipment and machine learning method
JP2020042519A (en) Abnormality detection device, abnormality detection method, and abnormality detection program
JP2006293820A (en) Appearance inspection device, appearance inspection method, and program for causing computer to function as appearance inspection device
JP2008014652A (en) Dust particle inspection system, dust particle inspection method, program and recording medium
JP2007184723A (en) Inspection system and inspection method
JP6823025B2 (en) Inspection equipment and machine learning method
JP7056259B2 (en) Inspection system, identification system, and classifier evaluation device
JP2007128190A (en) Device, method, and program for generating classification criteria, and device for determining failure
JP6904331B2 (en) Factor analyzers, factor analysis methods, and programs
Arsalane et al. Artificial vision and embedded systems as alternative tools for evaluating beef meat freshness
US11775512B2 (en) Data analysis apparatus, method and system
JP7484569B2 (en) Image processing device, image processing method, and program
CN115249316A (en) Industrial defect detection method and device
JP4235074B2 (en) Pass / fail judgment device, pass / fail judgment program, and pass / fail judgment method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20080708

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20100820

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20101109

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20101122

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20131217

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 4645422

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: R3D02

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: R3D04

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250