JP2023036131A - Inspection system, method, and program - Google Patents
Inspection system, method, and program Download PDFInfo
- Publication number
- JP2023036131A JP2023036131A JP2021142967A JP2021142967A JP2023036131A JP 2023036131 A JP2023036131 A JP 2023036131A JP 2021142967 A JP2021142967 A JP 2021142967A JP 2021142967 A JP2021142967 A JP 2021142967A JP 2023036131 A JP2023036131 A JP 2023036131A
- Authority
- JP
- Japan
- Prior art keywords
- inspection
- machine learning
- learning model
- unit
- data
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000007689 inspection Methods 0.000 title claims abstract description 275
- 238000000034 method Methods 0.000 title claims description 14
- 238000010801 machine learning Methods 0.000 claims abstract description 143
- 238000011156 evaluation Methods 0.000 claims abstract description 102
- 238000009825 accumulation Methods 0.000 claims abstract description 26
- 230000006870 function Effects 0.000 claims description 20
- 238000012360 testing method Methods 0.000 claims description 14
- 238000012549 training Methods 0.000 claims description 5
- 230000002950 deficient Effects 0.000 description 28
- 238000012545 processing Methods 0.000 description 18
- 230000005856 abnormality Effects 0.000 description 11
- 238000004891 communication Methods 0.000 description 10
- 230000002159 abnormal effect Effects 0.000 description 7
- 238000010586 diagram Methods 0.000 description 7
- 238000004519 manufacturing process Methods 0.000 description 7
- 230000015654 memory Effects 0.000 description 4
- 238000013450 outlier detection Methods 0.000 description 4
- 238000007781 pre-processing Methods 0.000 description 4
- 238000011179 visual inspection Methods 0.000 description 4
- 238000005401 electroluminescence Methods 0.000 description 3
- 238000012854 evaluation process Methods 0.000 description 2
- 239000004973 liquid crystal related substance Substances 0.000 description 2
- 239000007787 solid Substances 0.000 description 2
- 238000012706 support-vector machine Methods 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 238000004590 computer program Methods 0.000 description 1
- 230000007423 decrease Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 230000006866 deterioration Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000003908 quality control method Methods 0.000 description 1
- 238000007637 random forest analysis Methods 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Landscapes
- Investigating Or Analyzing Materials By The Use Of Ultrasonic Waves (AREA)
- Investigating Materials By The Use Of Optical Means Adapted For Particular Applications (AREA)
- Image Analysis (AREA)
Abstract
Description
本開示は、検査システム、方法、及びプログラムに関する。 The present disclosure relates to inspection systems, methods, and programs.
近年、省人化の観点から、製造の分野における品質管理のために、機械学習モデルが利用されている。例えば、機械学習モデルが構築されたコンピュータが、製品があらかじめ決められた検査基準を満たしているか否かを予測する。また、特許文献1には、機械学習モデルが構築されたコンピュータが、入力された製造工程における設備データから、その製造工程を経た製品の品質が決められた条件を満たすか否かを予測することが記載されている。 In recent years, from the viewpoint of labor saving, machine learning models are used for quality control in the field of manufacturing. For example, a computer on which a machine learning model is built predicts whether a product will meet predetermined inspection criteria. Further, in Patent Document 1, a computer in which a machine learning model is constructed predicts whether or not the quality of a product that has undergone a manufacturing process satisfies a predetermined condition from input equipment data in the manufacturing process. is described.
機械学習モデルの利用を継続していくと、機械学習モデルが劣化することが知られている。機械学習モデルが劣化すると、予測精度が低下する。このため、特許文献1には、機械学習モデルの予測の精度が変化した場合に、機械学習モデルが劣化したと判断し、新たな機械学習モデルを生成することが記載されている。 It is known that the machine learning model deteriorates as the use of the machine learning model continues. As the machine learning model deteriorates, the prediction accuracy decreases. Therefore, Patent Literature 1 describes that when the prediction accuracy of the machine learning model changes, it is determined that the machine learning model has deteriorated and a new machine learning model is generated.
しかしながら、機械学習モデルが実際には劣化していなくても、他の条件によっても、機械学習モデルの予測精度が低下することがある。このため、特許文献1に記載されているように、機械学習モデルの予測精度の変化を、機械学習モデルの劣化であると一律にみなす場合、機械学習モデルが劣化していなくても、機械学習モデルが劣化したと誤判定され得るという問題があった。 However, even if the machine learning model is not actually degraded, other conditions may reduce the prediction accuracy of the machine learning model. For this reason, as described in Patent Document 1, when a change in the prediction accuracy of a machine learning model is uniformly regarded as deterioration of the machine learning model, even if the machine learning model has not deteriorated, machine learning There is a problem that the model may be erroneously determined to be degraded.
本開示は、以下の形態として実現することが可能である。 The present disclosure can be implemented as the following forms.
(1)本開示の形態によれば、機械学習モデルを用いて検査を行う検査システムが提供される。機械学習モデルは、検査対象について、あらかじめ決められた事象を予測するための機械学習を行った学習済みの機械学習モデルである。この検査システムは、検査対象についてのデータを入力データとして機械学習モデルを用いて検査対象について予測し、予測した結果を示す予測結果データを出力することを、繰り返し実行する検査部と、検査部が出力した予測結果データを蓄積する蓄積部と、蓄積部に蓄積されている予測結果データが示す検査対象について予測した結果の時系列変化の傾向から、入力データが機械学習モデルの学習時に想定されている範囲にあるか否かを評価し、評価結果を出力する評価部と、を備える。
このような態様によれば、機械学習モデルの劣化の有無の判断にあたって、機械学習モデルの予測精度だけではなく、入力データが想定されている範囲にあるか否かという他の条件を、考慮できる。よって、機械学習モデルが実際には劣化していなくても、他の条件によって機械学習モデルの予測精度が低下している場合に、機械学習モデルが劣化したと誤って判断してしまうことを防ぐことができる。
(2)上記形態の検査システムにおいて、機械学習モデルは、検査対象が、あらかじめ設定された複数の分類のいずれに分類されるかを予測するための機械学習を行ったものであってもよい。検査部は、検査対象が、複数の分類それぞれに分類される可能性を示す予測確率を予測する。検査部は、予測確率の値が最も高い分類に検査対象が分類されると判定する。検査部は、検査対象に対して判定された分類について、予測された予測確率を含む予測結果データを出力する。蓄積部は、検査部が出力した予測結果データを、検査対象について予測が行われたときを示す時間情報とともに蓄積する。評価部は、蓄積部に蓄積されている予測結果データが示す、検査対象に対して判定された分類について、予測された予測確率の時系列変化の傾向から、入力データが機械学習モデルの学習時に想定されている範囲にあるか否かを評価してもよい。
このような態様によれば、検査対象に対して判定された分類について、予測された予測確率の時系列変化の傾向から、入力データが機械学習モデルの学習時に想定されている範囲にあるか否かを評価することができる。
(3)上記形態の検査システムにおいて、機械学習モデルは、検査対象が、正常の範囲にあるか否かを予測するための機械学習を行ったものであってもよい。検査部は、検査対象が、正常の範囲にあるか否かを予測する。検査部は、設定された期間において検査した検査対象の総数に対する、正常の範囲にあると予測した検査対象の数の割合を表す値を含む予測結果データを出力する。蓄積部は、検査部が出力した予測結果データを、検査対象について予測が行われたときを示す時間情報とともに蓄積する。評価部は、蓄積部に蓄積されている予測結果データが示す、割合の時系列変化の傾向から、入力データが機械学習モデルの学習時に想定されている範囲にあるか否かを評価してもよい。
このような態様によれば、検査した検査対象の総数に対して、正常の範囲にあると予測した検査対象の数の割合の、時系列変化の傾向から、入力データが機械学習モデルの学習時に想定されている範囲にあるか否かを評価することができる。
(4)上記形態の検査システムにおいて、入力データは、センサにより取得された検査対象の外観を表す画像データであってもよい。
このような態様によれば、検査システムは、画像データを使用して検査対象の外観検査を実施できる。さらに、機械学習モデルにより予測された予測結果の時系列変化の傾向から、入力データが機械学習モデルの学習時に想定されている範囲にあるか否かを評価することができる。
(5)入力データは、センサにより取得された検査対象の稼働状態を表す音声データであってもよい。
このような態様によれば、検査システムは検査対象の異音検査を実施できる。さらに、機械学習モデルにより予測された予測結果の時系列変化の傾向から、入力データが機械学習モデルの学習時に想定されている範囲にあるか否かを評価することができる。
本開示の形態は、検査システム以外の種々の形態で実現することも可能である。例えば、機械学習モデルを用いて検査を行うコンピュータが実行する方法、その方法を実現するコンピュータプログラムで実現することができる。
(1) An aspect of the present disclosure provides an inspection system that performs inspection using a machine learning model. A machine learning model is a learned machine learning model that has undergone machine learning for predicting a predetermined event with respect to an inspection target. This inspection system includes an inspection unit that repeatedly executes prediction of an inspection object using a machine learning model using data about the inspection object as input data, and outputting prediction result data indicating the predicted result, and an inspection unit. Input data is assumed during training of the machine learning model from the storage unit that stores the output prediction result data and the trend of time-series changes in the prediction result of the inspection target indicated by the prediction result data stored in the storage unit. and an evaluation unit that evaluates whether or not it is within the range and outputs the evaluation result.
According to this aspect, in determining whether or not the machine learning model is degraded, not only the prediction accuracy of the machine learning model but also other conditions such as whether or not the input data is within the assumed range can be considered. . Therefore, even if the machine learning model is not actually degraded, it is possible to prevent erroneous judgment that the machine learning model is degraded when the prediction accuracy of the machine learning model is degraded due to other conditions. be able to.
(2) In the inspection system of the above aspect, the machine learning model may be obtained by performing machine learning for predicting to which of a plurality of preset categories the inspection target is classified. The inspection unit predicts prediction probabilities indicating the possibility of the inspection object being classified into each of the plurality of classifications. The inspection unit determines that the inspection target is classified into the category with the highest predicted probability value. The inspection unit outputs prediction result data including predicted prediction probabilities for the classes determined for the inspection object. The accumulation unit accumulates the prediction result data output by the inspection unit together with time information indicating when the prediction for the inspection object was performed. The evaluation unit evaluates the prediction result data stored in the storage unit for the classification determined for the inspection object, based on the trend of time-series changes in the predicted prediction probability, when the input data is learned by the machine learning model. You may evaluate whether it is in the assumed range.
According to this aspect, whether or not the input data is within the range assumed at the time of learning of the machine learning model from the tendency of the time-series change of the prediction probability predicted for the classification determined for the inspection target. can be evaluated.
(3) In the inspection system of the above aspect, the machine learning model may be obtained by performing machine learning for predicting whether or not the inspection target is within the normal range. The inspection unit predicts whether the object to be inspected is within the normal range. The inspection unit outputs prediction result data including a value representing the ratio of the number of test subjects predicted to be within the normal range to the total number of test subjects tested during the set period. The accumulation unit accumulates the prediction result data output by the inspection unit together with time information indicating when the prediction for the inspection object was performed. The evaluation unit evaluates whether or not the input data is within the range assumed at the time of learning of the machine learning model from the trend of time-series changes in the ratio indicated by the prediction result data accumulated in the accumulation unit. good.
According to this aspect, from the trend of time-series change in the ratio of the number of test subjects predicted to be in the normal range to the total number of test subjects tested, the input data is used when learning the machine learning model It can be evaluated whether it is within the assumed range.
(4) In the inspection system of the above aspect, the input data may be image data representing the appearance of the inspection object acquired by the sensor.
According to such an aspect, the inspection system can use the image data to perform a visual inspection of the inspection target. Furthermore, it is possible to evaluate whether or not the input data is within the range assumed at the time of learning of the machine learning model from the trend of time-series changes in the prediction results predicted by the machine learning model.
(5) The input data may be audio data representing the operating state of the inspection target acquired by a sensor.
According to such an aspect, the inspection system can inspect the object to be inspected for abnormal noise. Furthermore, it is possible to evaluate whether or not the input data is within the range assumed at the time of learning of the machine learning model from the trend of time-series changes in the prediction results predicted by the machine learning model.
Aspects of the present disclosure can also be implemented in various aspects other than inspection systems. For example, it can be implemented by a method executed by a computer that performs inspection using a machine learning model, and a computer program that implements the method.
A.第1実施形態
図1は、第1実施形態に係る検査システム1000の機能構成を示す図である。検査システム1000は、検査装置100と、評価装置200と、を含む。検査装置100と、評価装置200とは、工場内のサーバルームに設置されている異なるコンピュータである。
A. First Embodiment FIG. 1 is a diagram showing the functional configuration of an
検査装置100には、ネットワークを介して、センサ50が接続されている。本実施形態において、センサ50がカメラである例を説明する。センサ50は、製造ラインの決められた位置において、検査装置100の検査対象である部品を撮影する。検査対象は、例えば、車体のパネル、エンジンのシリンダブロック、トランスミッションに組み込まれるギアといった、自動車部品である。本実施形態において、検査対象は、部品A1及び部品A2の2種類の部品である。よって、センサ50が撮影する対象は、部品A1,A2のいずれかである。センサ50は、部品A1,A2のいずれかを撮影した画像データを検査装置100に送信する。
A
検査装置100は、センサ50から供給された画像データを入力データとし、機械学習モデルを用いて、検査対象の分類及び良否を判定する。本実施形態において、機械学習モデルは、検査対象について、あらかじめ決められた事象を予測するための機械学習を行った学習済みモデルである。評価装置200は、検査装置100が検査対象について判定した結果を評価する。
The
図2は、検査装置100のハードウェア構成を示す図である。検査装置100は、プロセッサ11と、主記憶部12と、補助記憶部13と、インタフェース14と、通信部15と、を備える。主記憶部12と、補助記憶部13と、インタフェース14と、通信部15と、は内部バス19を介してプロセッサ11に接続されている。
FIG. 2 is a diagram showing the hardware configuration of the
プロセッサ11は、例えば、CPU(Central Processing Unit)である。プロセッサ11が、補助記憶部13に記憶されたプログラムを主記憶部12に読み込んで実行することにより、検査装置100の各機能が実現される。
The
主記憶部12は、例えば、RAM(Random Access Memory)を含む主記憶装置である。主記憶部12には、補助記憶部13からプログラムがロードされる。また、主記憶部12は、プロセッサ11がプログラムを実行する際の作業領域として使用される。
The
補助記憶部13は、例えば、HDD(Hard Disk Drive)、SSD(Solid State Drive)、SSHD(Solid State Hybrid Drive)である。補助記憶部13は、プロセッサ11が実行するプログラム、プログラムの実行に使用される種々のデータを記憶する。例えば、補助記憶部13には、検査装置100が、検査対象を検査するためのプログラムが格納されている。補助記憶部13は、プロセッサ11の制御により、プロセッサ11が利用するデータをプロセッサ11に供給し、プロセッサ11から供給されたデータを記憶する。
The
インタフェース14は、例えば、シリアルポート、USB(Universal Serial Bus)ポートなどのI/O(Input/Output)ポートである。インタフェース14には、キーボード、マウス、タッチパネルなどの入力装置が接続される。インタフェース14は、入力装置を介してユーザが入力した情報をプロセッサ11に出力する。また、インタフェース14には、表示装置61が接続されている。表示装置61は、例えば、液晶ディスプレイ、有機EL(Electro Luminescence)ディスプレイである。インタフェース14は、プロセッサ11から供給された画像を表示装置61に出力する。
The
通信部15は、外部の装置と通信するためのネットワークインタフェース回路を含む。通信部15は、外部から信号を受信して、この信号により示されるデータをプロセッサ11へ出力する。また、通信部15は、プロセッサ11から出力されたデータを示す信号を外部の装置へ送信する。
図3は、評価装置200のハードウェア構成を示す図である。評価装置200は、プロセッサ21と、主記憶部22と、補助記憶部23と、インタフェース24と、通信部25と、を備える。主記憶部22と、補助記憶部23と、インタフェース24と、通信部25と、は内部バス29を介してプロセッサ21に接続されている。
FIG. 3 is a diagram showing the hardware configuration of the
プロセッサ21は、検査装置100のプロセッサ11と同様の機能を備える。主記憶部22は、検査装置100の主記憶部12と同様の機能を備える。補助記憶部23は、検査装置100の補助記憶部13と同様の機能を備える。インタフェース24は、検査装置100のインタフェース14と同様の機能を備える。インタフェース24には、表示装置62が接続されている。表示装置62は、例えば、液晶ディスプレイ、有機ELディスプレイである。インタフェース24は、プロセッサ21から供給された画像を表示装置62に出力する。通信部25は、検査装置100の通信部15と同様の機能を備える。
The
続いて、図1を参照しながら、検査装置100の機能を説明する。検査装置100は、データ取得部110と、分類部120と、検査部130と、を含む。
Next, functions of the
データ取得部110は、センサ50から検査対象を撮影した画像データを受信すると、画像データを、決められた領域に保存する。データ取得部110は、分類部120に、画像データの保存先のパスを送信する。データ取得部110の機能は、プロセッサ11がデータ取得に係る処理のためのプログラムを実行することにより実現される。
When the
分類部120は、学習済みの機械学習モデルを利用して、査対象が2種類の部品のうちのいずれに該当するかを判定する。機械学習モデルは、任意の機械学習により生成されている。機械学習の手法の例としては、例えば、ランダムフォレスト、SVM(サポートベクターマシン)がある。分類部120が利用する機械学習モデルは、検査対象が部品A1及び部品A2のいずれに該当するかを予測するための機械学習により、生成されたものである。この機械学習は、教師データとして部品A1及び部品A2を撮影した多数の画像データを使用して、行われている。
The
教師データとして多数の画像データを使用するのは、次のような理由による。製造ラインにおいて、センサ50は、コンベヤにより搬送されてくる部品を撮影する。センサ50が設置されている位置は固定されている。一方で、コンベヤ上において部品が配置される位置は、常に同じであるとは限らない。例えば、同じ種類の部品が写っている複数の画像を比較した場合、それぞれの画像内における部品の位置及び傾きが、それぞれ異なることがある。よって、教師データとして使用する画像データは、様々なバリエーションを有した画像データであることが好ましい。例えば、部品の配置する位置を少しずつずらしながら撮影した画像、部品を少しずつ回転させながら撮影した画像が含まれてもよい。様々なバリエーションを有した画像データを、教師データとして使用することで、機械学習モデルは、検査対象の部品の種類を正しく判定できるようになる。
The reason why many image data are used as training data is as follows. In the manufacturing line, the
本実施形態において、分類部120に使用されている機械学習モデルの予測精度は、決められた水準を満たしているとする。例えば、生成後、使用された期間が短い機械学習モデルであって、予測精度を評価する指標値があらかじめ決められた基準を満たしている機械学習モデルである。
In this embodiment, it is assumed that the prediction accuracy of the machine learning model used in the
分類部120は、検査対象の画像データを入力データとして、学習済みの機械学習モデルを利用して、検査対象が、部品A1及び部品A2それぞれに該当する可能性を示す確率を予測する。以下、この確率を予測確率と呼ぶことがある。
The
さらに、分類部120は、予測確率から、検査対象が、部品A1及び部品A2のいずれであるかを判定する。例えば、分類部120は、検査対象が部品A1に該当する確率が70パーセント、検査対象が部品A2に該当する確率が30パーセント、であると予測したとする。この場合、分類部120は、検査対象が部品A1であると判定する。また、例えば、分類部120は、検査対象が部品A1に該当する確率が15パーセント、検査対象が部品A2に該当する確率が85パーセント、であると予測したとする。この場合、分類部120は、検査対象が部品A2であると判定する。分類部120は、評価装置200に、予測及び判定の結果を通知する。
Further, the
また、分類部120は、検査部130に、検査対象がいずれの部品に該当するかという判定結果と、画像データの保存先のパスと、を出力する。分類部120の機能は、例えば、学習済みの機械学習モデルが実装されたアプリケーションソフトウェアを実行することによって、プロセッサ11によって実現される。分類部120を検査部とも呼ぶ。
The
検査部130は、学習済みの機械学習モデルを利用して、検査対象に外観検査を実施する。外観検査とは、部品の表面に付着した異物、部品の変形等の外観上の欠陥をチェックする検査である。
The
検査部130が利用する機械学習モデルは、検査対象が良品であるか不良品であるかを予測するための機械学習により、生成されたものである。この機械学習は、教師データとして良品又は不良品の判定値を対応付けた部品の画像データを使用して、行われている。検査部130の機能は、例えば、学習済みの機械学習モデルが実装されたアプリケーションソフトウェアを実行することによって、プロセッサ11によって実現される。なお、検査部130が利用する機械学習モデルと、分類部120が利用する機械学習モデルとは異なる。
A machine learning model used by the
検査部130は、画像データと、分類部120による検査対象がいずれの部品に該当するかという判定結果と、を入力データとして、画像データに写っている部品が、良品及び不良品それぞれに該当する確率を予測する。本実施形態では、検査部130は、良品である確率が、不良品である確率より高い場合、検査対象が良品であると判定する。検査部130は、不良品である確率が、良品である確率より高い場合、検査対象が不良品であると判定する。
The
例えば、検査部130は、検査対象である部品A1が、良品である確率を80パーセント、不良品である確率を20パーセント、であると予測したとする。この場合、検査部130は、検査対象が良品であると判定する。検査部130は、検査対象が、良品及び不良品にそれぞれ該当する確率と、良品又は不良品であるという判定結果と、を表示する画像を表示装置61に出力する。
For example, the
本実施形態において、検査部130に使用されている機械学習モデルの予測精度は、決められた水準を満たしているものとする。本実施形態においては、評価装置200は、検査部130の判定結果を評価しない。このため、検査部130は、判定結果を評価装置200に出力しない。
In this embodiment, it is assumed that the prediction accuracy of the machine learning model used in the
続いて、評価装置200の機能を説明する。評価装置200は、蓄積部210と、評価部220と、を備える。本実施形態においては、評価装置200が、検査装置100の分類部120による予測結果を評価する例を説明する。
Next, functions of the
図4は、蓄積部210に蓄積されるデータの一例を示す図である。蓄積部210は、分類部120から供給されたデータを蓄積する。分類部120から蓄積部210に供給されるデータは、日付及び時刻と、検査対象がいずれの部品に該当するかという判定結果と、検査対象がそれぞれの部品に該当すると予測された予測確率と、画像データの保存先のパスと、を含む。蓄積部210の機能は、データベース管理システムに代表されるような、要求に応じてデータを保存し、読み出すソフトウェアを、プロセッサ11が実行することにより、実現される。
FIG. 4 is a diagram showing an example of data accumulated in the
図1に示す、評価部220は、分類部120に使用されている機械学習モデルに、指定された評価対象の期間に入力されたデータが、機械学習モデルの学習時に想定されている範囲にあるか否かを評価する。
The
本実施形態においては、評価部220は、予測確率の時系列データに外れ値が含まれているか検出することにより、異常を検出する。例えば、評価部220は、外れ値検知についての既存の手法を使用して、予測確率の時系列データに含まれている外れ値を検出する。
In this embodiment, the
評価部220は、予測確率の時系列データに外れ値が含まれていることを検出した場合、機械学習モデルに入力されたデータが、機械学習モデルの学習時に想定されている範囲にないと判定する。前述の通り、本実施形態において、機械学習モデルの予測精度は、決められた水準を満たしている。即ち、機械学習モデルは劣化していない。また、機械学習モデルは、入力データが入力されると、予測についての結果データを出力する。よって、出力される結果データの時系列変化の傾向に異常が検出されたときは、入力データが、想定されている範囲にないデータであったと考えられる。評価部220の機能は、プロセッサ21が評価に係る処理のためのプログラムを実行することにより実現される。
When the
上記のような態様によれば、評価装置200は、検査対象が一方の分類であると判定されたときに、その分類について予測された予測確率の時系列変化の傾向から、入力データが機械学習モデルの学習時に想定されている範囲にあるか否かを評価することができる。
According to the above aspect, the
図5は、検査装置100が画像データから部品を分類する分類処理のフローチャートである。検査装置100は、センサ50から画像データを受信するたび、下記の分類処理を実行する。
FIG. 5 is a flowchart of classification processing in which the
ステップS101において、データ取得部110は、センサ50から画像データを受信する。データ取得部110は、受信した画像データに、ノイズ除去、二値化等の前処理を実施する。データ取得部110は、前処理を実施した画像データを、検査装置100の補助記憶部13内の決められた領域に保存する。データ取得部110は、分類部120に、前処理を施した画像データの保存先のパスを送信する。
In step S<b>101 , the
ステップS102において、まず、分類部120は、データ取得部110から通知されたパスに保存されている画像データを読み出す。分類部120は、画像データを入力データとして、画像に写っている検査対象である部品が、2種類の部品のそれぞれに該当する予測確率を予測する。ステップS103において、分類部120は、予測した予測確率から、検査対象がいずれの部品であるかを判定する。具体的には、分類部120は、検査対象が、予測確率の値が高い方の部品に該当すると判定する。
In step S<b>102 , first, the
ステップS104において、分類部120は、評価装置200に、検査対象がそれぞれの部品に該当すると予測した予測確率と、検査対象がいずれの部品に該当するかという判定結果と、画像データの保存先のパスと、日付及び時刻の情報と、を含むデータを送信する。このデータを予測結果データとも呼ぶ。日付及び時刻は、分類部120が、予測を行ったときを示すものである。日付及び時刻を時間情報とも呼ぶ。以上が分類処理の一連の流れである。
In step S104, the
図6は、評価装置200による評価処理のフローチャートである。評価装置200は、検査装置100から予測結果データを受信するたび、下記の評価処理を実行する。
FIG. 6 is a flowchart of evaluation processing by the
ステップS111において、蓄積部210は、分類部120から、検査対象がそれぞれの部品に該当すると予測された予測確率と、検査対象がいずれの部品に該当するかという判定結果と、画像データの保存先のパスと、日付及び時刻と、を含むデータを受信する。ステップS112において、蓄積部210は、分類部120から受信したデータを蓄積する。
In step S111, the
ステップS113において、評価部220は、入力データを評価するタイミングになったときに(ステップS113;YES)、ステップS114の処理を実行する。一方、ステップS113において、入力データを評価するタイミングでないとき(ステップS113;YES)、蓄積部210が再びステップS211の処理を実行する。
In step S113, the
ステップS114において、評価部220は、予測確率の時系列データの外れ値を検出する。まず、評価部220は、蓄積部210から、過去1週間に、部品A1に該当すると予測された検査対象について、部品A1に該当すると予測された予測確率の値を、日付及び時刻でソートした状態で読み出す。続いて、評価部220は、蓄積部210から、過去1週間に、部品A2に該当すると予測された検査対象について、部品A2に該当すると予測された予測確率の値を、日付及び時刻でソートした状態で読み出す。評価部220は、過去1週間に、部品A1に該当すると予測された検査対象についての予測確率の時系列データに外れ値が含まれているか否かを判定する。さらに、評価部220は、過去1週間に、部品A2に該当すると予測された検査対象についての予測確率の時系列データに外れ値が含まれているか否かを判定する。評価部220は、予測確率の時系列データに外れ値が含まれていることを検出した場合、機械学習モデルの入力データが、機械学習モデルの学習時に想定されている範囲にないと判定する。
In step S<b>114 , the
ステップS115において、評価部220は、外れ値の検出結果に基づいて、入力データについての評価結果を提示する。例えば、評価部220は、想定されている範囲にない入力データがあった旨と、外れ値として検出された予測確率の値と、その予測確率の値が予測された日付及び時刻と、使用された入力データの保存先を示すパスと、を表示する画像を表示装置62に出力する。これにより、ユーザは、機械学習モデルの学習時に想定されている範囲にないデータが機械学習モデルに入力されたことを知ることができる。以上が評価処理の一連の流れである。
In step S115, the
以上、説明したように、第1実施形態においては、検査対象が、分類に該当すると予測された予測確率の時系列変化の傾向から、入力データが、機械学習モデルの学習時に想定されている範囲にあるか否かを評価する。 As described above, in the first embodiment, from the tendency of the time-series change in the prediction probability that the inspection object is predicted to fall under the classification, the input data is in the range assumed during learning of the machine learning model. Evaluate whether or not there is
このように、機械学習モデルにより予測された予測結果の時系列変化の傾向から、入力データが機械学習モデルの学習時に想定されている範囲にあるか否かを評価する。これにより、機械学習モデルの劣化の有無の判断にあたって、機械学習モデルの予測精度だけではなく、入力データが想定されている範囲にあるか否かという他の条件を、考慮できる。よって、機械学習モデルが実際には劣化していなくても、他の条件によって機械学習モデルの予測精度が低下している場合に、機械学習モデルが劣化したと誤って判断してしまうことを防ぐことができる。 In this way, it is evaluated whether or not the input data is within the range assumed at the time of learning of the machine learning model, based on the trend of time-series changes in the prediction results predicted by the machine learning model. As a result, it is possible to consider not only the prediction accuracy of the machine learning model but also other conditions such as whether or not the input data is within an assumed range when determining whether or not the machine learning model is degraded. Therefore, even if the machine learning model is not actually degraded, it is possible to prevent erroneous judgment that the machine learning model is degraded when the prediction accuracy of the machine learning model is degraded due to other conditions. be able to.
B.第2実施形態
図7は、第2実施形態に係る検査システム1001の機能構成を示す図である。以下、第1実施形態と異なる構成を中心に説明する。検査システム1001は、検査装置100と、評価装置200と、を含む。
B. Second Embodiment FIG. 7 is a diagram showing the functional configuration of an
検査装置100は、異音検査を実施する。検査装置100の検査対象は、例えば、自動車のエンジンである。本実施形態において、センサ50がマイクである。センサ50は、ネットワークを介して、検査装置100に接続されている。センサ50は、製造ラインの決められた位置において、出荷前の自動車のエンジンの音を収集する。本実施形態において、検査対象であるエンジンの稼働状態を表す音声データが、異音検査の入力データとなる。センサ50は、収集した音声データを検査装置100に送信する。
The
検査装置100は、データ取得部110と、検査部130と、を含む。なお、第2実施形態において、検査装置100は、分類部120を含まない。
The
データ取得部110は、センサ50から、エンジン音の音声データを受信すると、音声データを決められた領域に保存する。データ取得部110は、検査部130に、音声データの保存先のパスを送信する。
When the
検査部130は、学習済みの機械学習モデルを利用して、検査対象が正常であるか否かを予測する。検査部130が利用する機械学習モデルは、検査対象が正常であるか否かを予測するための機械学習により、生成されたものである。この機械学習は、教師データとして、正常なエンジン音を収集した多数の音声データを使用する。製造現場においては、数多くの機械が動作しており、これらの機械から発せられる音も、検査対象である音声データに含まれている。よって、教師データとして使用する音声データは、様々なバリエーションを有した音声データであることが好ましい。例えば、周囲の騒音を遮断した環境で正常なエンジン音を収集した音声データ、周囲に騒音がある環境で正常なエンジン音を収集した音声データを含んでもよい。様々なバリエーションを有した音声データを、教師データとして使用することで、機械学習モデルは、検査対象の良否を正しく判定できるようになる。
The
検査部130は、データ取得部110から供給された音声データを入力データとして、検査対象であるエンジン音が、正常なエンジン音からどれだけかけ離れているかを示す指標である異常度を予測する。本実施形態において、異常度とは、その数値が高いほど、検査対象が異常に近い状態にあることを示す指標であるとする。さらに、検査部130は、検査対象が、正常であるか否かを判定する。検査部130は、求めた異常度が、あらかじめ設定された閾値以下である場合に、検査対象が正常であると判定する。一方、検査部130は、求めた異常度が、あらかじめ設定された閾値を超えている場合に、検査対象が異常であると判定する。
The
さらに、検査部130は、設定された期間に検査を実施した件数と、その期間において正常であると判定した検査対象の件数とをカウントする。設定された期間は、例えば、1日間である。
Furthermore, the
検査部130は、決められたタイミングで、設定された期間に実施した検査の件数に対する、検査対象が正常であると判定した検査対象の件数の割合を算出する。例えば、検査部130は、1日の検査がすべて終了した後に、その日に検査を実施した検査対象の合計数に対して、検査対象が正常であると判定した検査対象の数の割合を算出する。以下、この割合を、正常判定の割合ということがある。分類部120は、評価装置200に、算出した割合について通知する。検査部130の機能は、例えば、学習済みの機械学習モデルが実装されたアプリケーションソフトウェアを実行することによって、プロセッサ11によって実現される。
The
評価装置200は、蓄積部210と、評価部220と、を備える。
The
図8は、蓄積部210に蓄積されるデータの一例を示す図である。蓄積部210は、検査部130から供給されたデータを蓄積する。検査部130から蓄積部210に供給されるデータは、日付と、正常であると判定された割合とを含む。
FIG. 8 is a diagram showing an example of data accumulated in the
図7に示す、評価部220は、検査部130に使用されている機械学習モデルに入力されたデータが、機械学習モデルの学習時に想定されている範囲にあるか否かを評価する。評価部220は、検査部130に使用されている機械学習モデルに、指定された評価対象の期間に、入力されたデータを評価する。評価対象の期間は、例えば、過去1か月である。
The
まず、評価部220は、蓄積部210から、評価対象の期間の、正常判定の割合の値を日付でソートした状態で読み出す。よって、蓄積部210から読み出されたデータは、正常判定の割合の時系列データである。
First, the
次に、評価部220は、正常判定の割合の時系列データに基づいて、正常判定の割合の時系列変化の傾向の異常を検出する。
Next, the
本実施形態においては、評価部220は、外れ値の有無により異常を検出する。例えば、評価部220は、外れ値検知についての既存の手法を使用して、過去1か月間に、正常判定された割合の時系列データに外れ値が含まれているか否かを判定する。
In this embodiment, the
評価部220は、正常判定の割合の時系列データに外れ値が含まれていることを検出した場合、機械学習モデルの入力データが、機械学習モデルの学習時に想定されている範囲内にないと判定する。
When the
上記のような態様によれば、評価装置200は、検査した検査対象の総数に対する、正常の範囲にあると予測した検査対象の数の割合の、時系列変化の傾向から、入力データが機械学習モデルの学習時に想定されている範囲にあるか否かを評価することができる。
According to the above aspect, the
図9は、検査装置100が画像データから検査対象を検査する検査処理のフローチャートである。検査装置100はセンサ50から音声データを受信するたび、下記の検査処理を実行する。
FIG. 9 is a flow chart of inspection processing in which the
ステップS201において、検査装置100のデータ取得部110は、センサ50から音声データを受信する。データ取得部110は、取得した音声データに前処理を実施する。データ取得部110は、前処理を実施した画像データを、検査装置100の補助記憶部13内の決められた領域に保存する。データ取得部110は、検査部130に、前処理を施した画像データの保存先のパスを送信する。
In step S<b>201 , the
ステップS202において、検査部130は、検査対象が正常であるか否かを判定する。具体的には、まず、検査部130は、データ取得部110から供給された音声データを入力データとして、検査対象についての異常度を予測する。続いて、検査部130は、異常度の値に基づいて、検査対象が正常であるか否かを判定する。検査部130は、検査対象が正常又は異常のいずれかに該当するかという判定結果と、異常度を示す値と、を表示する画像を表示装置61に出力する。さらに、検査部130は、設定された期間に検査を実施した件数と、その期間において正常であると判定した検査対象の件数とをカウントする。
In step S202, the
ステップS203において、検査部130は、検査対象が正常であると判定した割合を算出するタイミングとなったときに(ステップS203;YES)、ステップS204の処理を実行する。一方、ステップS203において、正常判定の割合を算出するタイミングでない場合(ステップS203;NO)、検査部130は、再びステップS201の処理を実行する。
In step S203, the
ステップS204において、検査部130は、設定された期間に検査を実施した検査対象の合計数に対して、検査対象が正常であると判定した検査対象の数の割合を算出する。ステップS205において、検査部130は、評価装置200に、算出した正常であると判定した割合と、日付とを含むデータを、評価装置200に送信する。このデータを予測結果データとも呼ぶ。日付は、検査部130が、正常であるか否かの予測を行ったときを示すものである。日付を時間情報とも呼ぶ。
In step S204, the
図10は、評価装置200による評価処理のフローチャートである。評価装置200は、評価装置200は、検査装置100から予測結果データを受信するたび、下記の評価処理を実行する。
FIG. 10 is a flowchart of evaluation processing by the
ステップS211において、蓄積部210は、検査部130から、検査対象が正常であると判定された割合と、日付とを含むデータを受信する。ステップS212において、蓄積部210は、受信したデータを蓄積する。
In step S<b>211 , the
ステップS213において、評価部220は、入力データを評価するタイミングになったときに(ステップS213;YES)、ステップS214の処理を実行する。一方、ステップS213において、入力データを評価するタイミングでないとき(ステップS213;NO)、蓄積部210が再びステップS211の処理を実行する。
In step S213, the
ステップS214において,評価部220は、正常判定の割合の時系列データの外れ値を検出する。まず、評価部220は、蓄積部210から、過去1か月間に、正常判定された割合の値を読み出す。評価部220は、読み出した時系列データに外れ値が含まれているか否かを判定する。
In step S<b>214 , the
ステップS215において、評価部220は、外れ値の検出結果に基づいて、入力データについての評価結果を提示する。評価部220は、正常判定の割合の時系列データに外れ値が含まれていることを検出した場合、想定されている範囲にない入力データがあった旨と、外れ値として検出された正常判定の割合の値と、検査日と、を表示する画像を表示装置62に出力する。これにより、ユーザは、機械学習モデルの学習時に想定されている範囲にないデータが機械学習モデルに入力されたことを知ることができる。以上が評価処理の一連の流れである。
In step S215, the
第2実施形態においては、音声データを使用した異音検査の際に、機械学習モデルにより予測された予測結果の時系列変化の傾向から、入力データが機械学習モデルの学習時に想定されている範囲にあるか否かを評価することができる。 In the second embodiment, when performing an abnormal sound test using voice data, from the tendency of time-series changes in the prediction results predicted by the machine learning model, the range of input data assumed during learning of the machine learning model It is possible to evaluate whether or not there is
このように、機械学習モデルにより予測された予測結果の時系列変化の傾向から、入力データが機械学習モデルの学習時に想定されている範囲にあるか否かを評価する。これにより、機械学習モデルの劣化の有無の判断にあたって、機械学習モデルの予測精度だけではなく、入力データが想定されている範囲にあるか否かという他の条件を、考慮できる。よって、機械学習モデルが実際には劣化していなくても、他の条件によって機械学習モデルの予測精度が低下している場合に、機械学習モデルが劣化したと誤って判断してしまうことを防ぐことができる。 In this way, it is evaluated whether or not the input data is within the range assumed at the time of learning of the machine learning model, based on the trend of time-series changes in the prediction results predicted by the machine learning model. As a result, it is possible to consider not only the prediction accuracy of the machine learning model but also other conditions such as whether or not the input data is within an assumed range when determining whether or not the machine learning model is degraded. Therefore, even if the machine learning model is not actually degraded, it is possible to prevent erroneous judgment that the machine learning model is degraded when the prediction accuracy of the machine learning model is degraded due to other conditions. be able to.
C.他の実施形態
(C1)第1実施形態においては、評価装置200が、検査装置100の分類部120の分類処理の結果を評価する例を説明した。しかしながら、評価装置200は、分類部120の分類処理の結果を評価するだけでなく、検査部130の検査処理の結果を同様に評価してもよい。
C. Other Embodiments (C1) In the first embodiment, an example in which the
上記のように、検査部130は、学習済みの機械学習モデルを利用して、検査対象の外観検査を実施する。例えば、検査部130が、検査対象が良品と判定される確率と、検査対象が不良品と判定される確率とを予測するとする。検査部130は、良品と判定される確率の値が閾値を超えた場合に、検査対象が良品であると判定する。検査部130は、不良品と判定される確率の値が、閾値を超えた場合に、検査対象が不良品であると判定する。検査部130は、良品と判定した検査対象について、良品と判定される確率の値を、評価装置200に送信する。さらに、検査部130は、不良品と判定した検査対象について不良品と判定される確率の値を、評価装置200に送信する。評価装置200は、良品と判定される確率の値の時系列データの変化の傾向と、不良品と判定される確率の値の時系列データの変化の傾向と、から、入力データが、機械学習モデルの学習時に想定される範囲にあるか否かを判定してもよい。
As described above, the
このような態様によれば、画像データを使用した外観検査の際に、機械学習モデルにより予測された予測結果の時系列変化の傾向から、入力データが機械学習モデルの学習時に想定されている範囲にあるか否かを評価することができる。 According to this aspect, during visual inspection using image data, the range of input data assumed during learning of the machine learning model from the tendency of time-series changes in prediction results predicted by the machine learning model It is possible to evaluate whether or not there is
(C2)第1実施形態においては、分類部120が評価装置200に送信する予測結果データに、分類部120が予測を行ったときを示す日付及び時刻が含まれていた。第2実施形態においては、検査部130が評価装置200に送信する予測結果データに、検査部130が予測を行ったときを示す日付が含まれていた。このように、第1実施形態、第2実施形態においては、予測結果データを送信する側が、時間情報を取得していた。しかしながら、時間情報は、予測結果データを受信する側が時間情報を取得してもよい。
(C2) In the first embodiment, the prediction result data that the
例えば、検査システム1000における分類部120は、評価装置200に送信する予測結果データに日付及び時刻を含めなくてもよい。この場合、分類部120は、検査対象がいずれの部品に該当するかという判定した後、直ちに評価装置200に予測結果データを送信する。蓄積部210は、分類部120から予測結果データを受信すると、データを受信した日付及び時刻を取得する。蓄積部210は分類部120から受信したデータを、日付及び時刻を示す情報とともに蓄積する。
For example, the
分類部120は、判定の後、直ちに評価装置200に予測結果データを送信しているので、蓄積部210に蓄積されている日付及び時刻は、検査対象について予測が行われたときを示す時間情報とみなすことができる。よって、評価部220により、蓄積部210から読み出されたデータは、予測確率の時系列データである。
Since the
検査システム1001における検査部130は、評価装置200に送信する予測結果データに日付及び時刻を含めなくてもよい。この場合、検査部130は、設定された期間に実施した検査の件数に対する、検査対象が正常であると判定した検査対象の件数の割合を算出した後、直ちに評価装置200に予測結果データを送信する。蓄積部210は、検査部130から予測結果データを受信すると、データを受信した日付を取得し、受信したデータを、日付を示す情報とともに蓄積する。
The
検査部130は、割合を算出した後、直ちに評価装置200に予測結果データを送信しているので、蓄積部210に蓄積されている日付は、検査対象について予測が行われたときを示す時間情報とみなすことができる。よって、評価部220により、蓄積部210から読み出されたデータは、正常判定の割合の時系列データである。
Since the
あるいは、予測結果データを送信する側及び予測結果データを受信する側のいずれも、時間情報を取得しなくてもよい。蓄積部210は、予測結果データを、予測結果データを受信した順序で蓄積する。評価部220により、蓄積部210から読み出されたデータは、正常判定の割合の時系列データであるといえる。
Alternatively, neither the side that transmits the prediction result data nor the side that receives the prediction result data may acquire the time information. The
(C3)第1実施形態において、分類部120は、検査対象が2種類の部品のうちのいずれかを判定する例を説明した。分類部120は、検査対象が3種類以上の部品のうちのいずれかを判定してもよい。この場合、分類部120が利用する機械学習モデルは、検査対象が、あらかじめ設定された複数の分類のいずれに分類されるかを予測するための記機械学習を行ったものである。
(C3) In the first embodiment, the classifying
(C4)第1実施形態、第2実施形態においては、検査システム1000、1001が、検査装置100及び評価装置200を備える構成を説明した。しかし、1つのコンピュータにより、検査装置100の機能と、評価装置200の機能とを、実現させてもよい。
(C4) In the first and second embodiments, the
(C5)第1実施形態においては、データ取得部110が、分類部120に、前処理を実施した画像データの保存先のパスを送信する例を説明した。あるいは、データ取得部110は、前処理を実施しなくてもよい。この場合、データ取得部110は、センサ50から受信した画像データを検査装置100の補助記憶部13内の決められた領域に保存してもよい。あるいは、データ取得部110は、前処理を実施した画像データ、又は前処理を実施していない画像データを、分類部120に送信してもよい。
(C5) In the first embodiment, an example in which the
第2実施形態においては、データ取得部110が、検査部130に、前処理を実施した音声データの保存先のパスを送信する例を説明した。あるいは、データ取得部110は、前処理を実施しなくてもよい。この場合、データ取得部110は、センサ50から受信した音声データを検査装置100の補助記憶部13内の決められた領域に保存してもよい。あるいは、データ取得部110は、前処理を実施した音声データ、又は前処理を実施していない音声データを、検査部130に送信してもよい。
In the second embodiment, an example has been described in which the
上記の検査装置100及び評価装置200の機能を実現するプログラムを記録する記録媒体としては、磁気ディスク、光ディスク、光磁気ディスク、フラッシュメモリ、半導体メモリ、磁気テープを含むコンピュータ読取可能な記録媒体を使用することができる。
Computer-readable recording media including magnetic disks, optical disks, magneto-optical disks, flash memories, semiconductor memories, and magnetic tapes are used as recording media for recording programs that implement the functions of the
また、検査装置100及び評価装置200の機能を実現する手段は、ソフトウェアに限られず、その一部又は全部を、専用のハードウェアによって実現してもよい。例えば、専用のハードウェアとして、FPGA(Field Programmable Gate Array)又はASIC(Application Specific Integrated Circuit)に代表される回路を使用してもよい。
Moreover, means for realizing the functions of the
本開示は、上述の実施形態に限られるものではなく、その趣旨を逸脱しない範囲において種々の構成で実現することができる。例えば、発明の概要の欄に記載した各形態中の技術的特徴に対応する実施形態中の技術的特徴は、上述の課題の一部又は全部を解決するために、あるいは、上述の効果の一部又は全部を達成するために、適宜、差し替えや、組み合わせを行うことが可能である。また、その技術的特徴が本明細書中に必須なものとして説明されていなければ、適宜、削除することが可能である。 The present disclosure is not limited to the embodiments described above, and can be implemented in various configurations without departing from the scope of the present disclosure. For example, the technical features in the embodiments corresponding to the technical features in each form described in the Summary of the Invention column are used to solve some or all of the above problems, or to Substitutions and combinations may be made as appropriate to achieve some or all. Moreover, if the technical feature is not described as essential in this specification, it can be deleted as appropriate.
11,21…プロセッサ、12,22…主記憶部、13,23…補助記憶部、14,24…インタフェース、15,25…通信部、19,29…内部バス、50…センサ、61,62…表示装置、100…検査装置、110…データ取得部、120…分類部、130…検査部、200…評価装置、210…蓄積部、220…評価部、1000,1001…検査システム、A1,A2…部品
DESCRIPTION OF
Claims (7)
前記機械学習モデルは、検査対象について、あらかじめ決められた事象を予測するための機械学習を行った学習済みの機械学習モデルであり、
前記検査対象についてのデータを入力データとして前記機械学習モデルを用いて前記検査対象について予測し、予測した結果を示す予測結果データを出力することを、繰り返し実行する検査部と、
前記検査部が出力した前記予測結果データを蓄積する蓄積部と、
前記蓄積部に蓄積されている前記予測結果データが示す前記検査対象について予測した前記結果の時系列変化の傾向から、前記入力データが前記機械学習モデルの学習時に想定されている範囲にあるか否かを評価し、評価結果を出力する評価部と、
を備える検査システム。 An inspection system that performs inspection using a machine learning model,
The machine learning model is a learned machine learning model that has undergone machine learning to predict a predetermined event for the inspection target,
an inspection unit that repeats predicting the inspection target using the machine learning model using data about the inspection target as input data and outputting prediction result data indicating the prediction result;
an accumulation unit for accumulating the prediction result data output by the inspection unit;
Whether the input data is within the range assumed at the time of learning of the machine learning model based on the tendency of the time-series change in the result predicted for the inspection target indicated by the prediction result data accumulated in the accumulation unit an evaluation unit that evaluates whether or not and outputs an evaluation result;
inspection system.
前記機械学習モデルは、前記検査対象が、あらかじめ設定された複数の分類のいずれに分類されるかを予測するための前記機械学習を行ったものであり、
前記検査部は、
前記検査対象が前記複数の分類のそれぞれに分類される可能性を示す予測確率を予測し、
前記予測確率の値が最も高い前記分類に前記検査対象が分類されると判定し、
前記検査対象に対して判定された前記分類について、予測された前記予測確率を含む前記予測結果データを出力し、
前記蓄積部は、前記検査部が出力した前記予測結果データを、前記検査対象について予測が行われたときを示す時間情報とともに蓄積し、
前記評価部は、前記蓄積部に蓄積されている前記予測結果データが示す、前記検査対象に対して判定された前記分類について、予測された前記予測確率の時系列変化の傾向から、前記入力データが前記機械学習モデルの学習時に想定されている範囲にあるか否かを評価する、
検査システム。 An inspection system according to claim 1,
The machine learning model performs the machine learning for predicting which of a plurality of preset classifications the inspection target is classified into,
The inspection unit
Predicting a predicted probability indicating the possibility that the test object will be classified into each of the plurality of classifications;
determining that the inspection target is classified into the classification with the highest predicted probability value;
outputting the prediction result data including the predicted prediction probability for the classification determined for the test object;
the accumulation unit accumulates the prediction result data output by the inspection unit together with time information indicating when the prediction is performed for the inspection target;
The evaluation unit analyzes the input data from the trend of time-series change of the prediction probability predicted for the classification determined for the inspection target indicated by the prediction result data accumulated in the accumulation unit. evaluates whether is in the range assumed when training the machine learning model,
inspection system.
前記機械学習モデルは、前記検査対象が、正常の範囲にあるか否かを予測するための前記機械学習を行ったものであり、
前記検査部は、
前記検査対象が、前記正常の範囲にあるか否かを予測し、
設定された期間において検査した前記検査対象の総数に対する、前記正常の範囲にあると予測した前記検査対象の数の割合を表す値を含む前記予測結果データを出力し、
前記蓄積部は、前記検査部が出力した前記予測結果データを、前記検査対象について予測が行われたときを示す時間情報とともに蓄積し、
前記評価部は、前記蓄積部に蓄積されている前記予測結果データが示す、前記割合の時系列変化の傾向から、前記入力データが前記機械学習モデルの学習時に想定されている範囲にあるか否かを評価する、
検査システム。 An inspection system according to claim 1,
The machine learning model performs the machine learning for predicting whether the test subject is within a normal range,
The inspection unit
predicting whether the test subject is within the normal range;
outputting the prediction result data including a value representing the ratio of the number of test subjects predicted to be within the normal range to the total number of test subjects tested in a set period;
the accumulation unit accumulates the prediction result data output by the inspection unit together with time information indicating when the prediction is performed for the inspection target;
The evaluation unit determines whether or not the input data is within the range assumed at the time of learning of the machine learning model, based on the tendency of the time-series change in the ratio indicated by the prediction result data accumulated in the accumulation unit. evaluate whether
inspection system.
前記入力データは、センサにより取得された前記検査対象の外観を表す画像データである、
検査システム。 An inspection system according to any one of claims 1 to 3,
The input data is image data representing the appearance of the inspection object acquired by a sensor,
inspection system.
前記入力データは、センサにより取得された前記検査対象の稼働状態を表す音声データである、
検査システム。 An inspection system according to any one of claims 1 to 3,
The input data is voice data representing the operating state of the inspection object acquired by a sensor,
inspection system.
前記機械学習モデルは、検査対象について、あらかじめ決められた事象を予測するための機械学習を行った学習済みの機械学習モデルであり、
前記コンピュータが、
前記検査対象についてのデータを入力データとして前記機械学習モデルを用いて前記検査対象について予測し、予測した結果を示す予測結果データを出力するステップと、
前記予測結果データを蓄積するステップと、
蓄積されている前記予測結果データが示す前記検査対象について予測した前記結果の時系列変化の傾向から、前記入力データが前記機械学習モデルの学習時に想定されている範囲にあるか否かを評価し、評価結果を出力するステップと、
を実行する方法。 A computer-implemented method for testing using a machine learning model, comprising:
The machine learning model is a learned machine learning model that has undergone machine learning to predict a predetermined event for the inspection target,
the computer
a step of predicting the inspection target using the machine learning model using data about the inspection target as input data, and outputting prediction result data indicating the prediction result;
accumulating the prediction result data;
Evaluating whether or not the input data is within the range expected at the time of learning of the machine learning model, based on the trend of time-series changes in the results predicted for the inspection object indicated by the accumulated prediction result data. , a step of outputting an evaluation result;
how to run.
前記コンピュータは、機械学習モデルを用いて検査を行い、
前記機械学習モデルは、検査対象について、あらかじめ決められた事象を予測するための機械学習を行った学習済みの機械学習モデルであり、
前記コンピュータに、
前記検査対象についてのデータを入力データとして前記機械学習モデルを用いて前記検査対象について予測し、予測した結果を示す予測結果データを出力する機能と、
前記予測結果データを蓄積する機能と、
蓄積されている前記予測結果データが示す前記検査対象について予測した前記結果の時系列変化の傾向から、前記入力データが前記機械学習モデルの学習時に想定されている範囲にあるか否かを評価し、評価結果を出力する機能と、
を実現させるためのプログラム。 A program executed by a computer,
The computer performs inspection using a machine learning model,
The machine learning model is a learned machine learning model that has undergone machine learning to predict a predetermined event for the inspection target,
to the computer;
A function of predicting the inspection target using the machine learning model using data about the inspection target as input data, and outputting prediction result data indicating the prediction result;
a function of accumulating the prediction result data;
Evaluating whether or not the input data is within the range expected at the time of learning of the machine learning model, based on the trend of time-series changes in the results predicted for the inspection object indicated by the accumulated prediction result data. , a function to output evaluation results,
program to make it happen.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2021142967A JP2023036131A (en) | 2021-09-02 | 2021-09-02 | Inspection system, method, and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2021142967A JP2023036131A (en) | 2021-09-02 | 2021-09-02 | Inspection system, method, and program |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2023036131A true JP2023036131A (en) | 2023-03-14 |
Family
ID=85508577
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2021142967A Pending JP2023036131A (en) | 2021-09-02 | 2021-09-02 | Inspection system, method, and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2023036131A (en) |
-
2021
- 2021-09-02 JP JP2021142967A patent/JP2023036131A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7062081B2 (en) | Method and system for analyzing circuit pattern defects | |
WO2021143175A1 (en) | Test case screening method and device, and medium | |
JP4645422B2 (en) | Determination device, determination device control program, and recording medium recording determination device control program | |
US20130279796A1 (en) | Classifier readiness and maintenance in automatic defect classification | |
JP5718781B2 (en) | Image classification apparatus and image classification method | |
CN111060512A (en) | Intelligent defect identification system | |
JP2019159604A (en) | Abnormality detection device, abnormality detection method and abnormality detection program | |
CN111814557A (en) | Action flow detection method, device, equipment and storage medium | |
JP2012173017A (en) | Defect classification device | |
JP2015045942A (en) | Quality control device, quality control method, and program | |
JP2020042668A (en) | Inspection apparatus and machine learning method | |
JP2020042669A (en) | Inspection apparatus and machine learning method | |
US7676769B2 (en) | Adaptive threshold wafer testing device and method thereof | |
JP2023036131A (en) | Inspection system, method, and program | |
JP2021005370A (en) | Data driven machine learning for modeling aircraft sensors | |
CN115249316A (en) | Industrial defect detection method and device | |
KR102649453B1 (en) | Method and system for diagnosing defects in rotating machinery | |
KR100823573B1 (en) | Semiconductor test system | |
KR20230072164A (en) | Product quality management system for zero defect rate | |
KR100743801B1 (en) | Diagnostic system for gel dispensing condition and method thereof | |
CN112445632A (en) | HPC reliability evaluation method based on fault data modeling | |
JP7332028B2 (en) | Methods, apparatus, computer programs and media containing computer instructions for performing inspection of items | |
CN117234955B (en) | Software test management method and system based on Internet of things | |
EP4276741A1 (en) | Analysis device, analysis system, analysis program, and analysis method | |
US20230135867A1 (en) | System and method for vision based graphical fluid flow anomaly detection for display verification |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20240214 |