JP2009068880A - Diagnostic system, diagnostic method and inspection device - Google Patents

Diagnostic system, diagnostic method and inspection device Download PDF

Info

Publication number
JP2009068880A
JP2009068880A JP2007235104A JP2007235104A JP2009068880A JP 2009068880 A JP2009068880 A JP 2009068880A JP 2007235104 A JP2007235104 A JP 2007235104A JP 2007235104 A JP2007235104 A JP 2007235104A JP 2009068880 A JP2009068880 A JP 2009068880A
Authority
JP
Japan
Prior art keywords
inspection
diagnosis
unit
optical system
image
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
JP2007235104A
Other languages
Japanese (ja)
Other versions
JP4918003B2 (en
Inventor
Hideki Fujita
秀樹 藤田
Kiyoshi Ishikawa
澄 石川
Tetsuo Ozawa
哲男 小澤
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.)
Hitachi Information and Control Systems Inc
Hitachi Information and Control Solutions Ltd
Original Assignee
Hitachi Information and Control Systems Inc
Hitachi Information and Control Solutions Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Information and Control Systems Inc, Hitachi Information and Control Solutions Ltd filed Critical Hitachi Information and Control Systems Inc
Priority to JP2007235104A priority Critical patent/JP4918003B2/en
Publication of JP2009068880A publication Critical patent/JP2009068880A/en
Application granted granted Critical
Publication of JP4918003B2 publication Critical patent/JP4918003B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Investigating Materials By The Use Of Optical Means Adapted For Particular Applications (AREA)
  • Length Measuring Devices By Optical Means (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a diagnostic system capable of easily diagnosing the inspection precision and inspection operation of an inspection device in a necessarily sufficient manner even by a user unskillful in the inspection device. <P>SOLUTION: The diagnostic system 10 has optical systems 2, 3 and 5 for photographing a product 7 to be inspected to form an inspection image, an image measuring part 14 for measuring predetermined characteristics from the inspection image to acquire an inspection measured value, an inspection result judging part 17 for comparing the inspection measured value with a judge threshold value to acquire an inspection judgement result and a discharge device 6 for discharging the product 7 to be inspected corresponding to the inspection judge result to diagnose the inspection device 1 and also has an inspection precision diagnosing part 10a for operating the image measuring part 14 and the inspection result judging part 17 without using the optical systems 2, 3 and 5 and the discharge device 6 to diagnose the image measuring part 14 and the inspection result judging part 17 at the time of diagnosis and an inspection operation diagnosing part 10b for operating the discharge device 6 without using the image measuring part 14 and the inspection result judging part 17 at the time of diagnosis to diagnose the discharge device 6. <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

本発明は、被検査製品を撮影した検査画像に基づいて前記被検査製品を検査する検査装置の診断を行う診断装置およびその診断方法に関し、さらに、その診断を実施可能な検査装置に関する。   The present invention relates to a diagnostic apparatus and a diagnostic method for diagnosing an inspection apparatus that inspects the inspected product based on an inspection image obtained by photographing the inspected product, and further relates to an inspection apparatus capable of performing the diagnosis.

食品や飲料などの製品の製造ラインにおいて、製品の外観などを高速に検査し合否判定する目的で、被検査製品を撮影した検査画像に基づいて画像処理を行い被検査製品を検査する検査装置が普及している。検査装置は、据付調整時に、検査装置のメーカによって、検査装置の検査精度や検査動作について一括して検証が行われ、利用者に提供されている。利用者は、検査装置の検査精度が維持され検査動作が正常であることを、検査装置を診断することによって確認している。   In the production line of products such as food and beverages, there is an inspection device that inspects the inspected product by performing image processing based on the inspection image taken of the inspected product for the purpose of inspecting the appearance of the product at high speed and determining pass / fail It is popular. The inspection apparatus is provided to the user after installation and adjustment by a manufacturer of the inspection apparatus, and the inspection accuracy and inspection operation of the inspection apparatus are collectively verified. The user confirms that the inspection accuracy of the inspection apparatus is maintained and the inspection operation is normal by diagnosing the inspection apparatus.

従来技術としては、特許文献1などには被検査製品を撮影する際に被検査製品を照らす照明ヘッドの照度を可変較正することを特徴とする外観検査システムの検査精度の補償装置が提案されている。また、特許文献2などには照明ヘッドの照度低下に基づく検査精度の低下を計測し、照度低下が限度を越えたら警報を出し照明ヘッドの保守を促す方法が提案されている。
特開平8−43048号公報 特開平7−140092号公報
As a conventional technique, Patent Document 1 and the like propose a compensation device for an inspection accuracy of an appearance inspection system that variably calibrates the illuminance of an illumination head that illuminates a product to be inspected when photographing the product to be inspected. Yes. Further, Patent Document 2 proposes a method of measuring a decrease in inspection accuracy based on a decrease in illumination head illumination intensity, and issuing an alarm when the illumination intensity decrease exceeds a limit to prompt maintenance of the illumination head.
JP-A-8-43048 JP-A-7-140092

しかし、従来技術においては、照明ヘッドの照度劣化に着目しているが、照明ヘッドは検査装置の局部要素であるので、検査装置の検査精度と検査動作について必要十分な診断がなされているとはいえない。利用者は、検査装置が被検査製品の外観不良を見逃さないように十分な診断を行う必要があるが、必要以上に診断に時間をかけることで被検査製品の生産性を下げることは避けなければならない。しかし、利用者は必ずしも検査装置について習熟しているわけでなく、必要十分な診断を行うことは困難である。   However, in the prior art, attention is paid to the illuminance deterioration of the lighting head, but since the lighting head is a local element of the inspection device, the necessary and sufficient diagnosis has been made on the inspection accuracy and inspection operation of the inspection device. I can't say that. Users need to make sufficient diagnoses so that the inspection device does not overlook the appearance of the inspected product, but it is unavoidable to reduce the productivity of the inspected product by taking more time than necessary. I must. However, the user is not necessarily familiar with the inspection apparatus, and it is difficult to make a necessary and sufficient diagnosis.

そこで、本発明の課題は、検査装置に習熟していない利用者でも容易に検査装置の検査精度又は検査動作についての必要十分な診断が可能な診断装置および診断方法を提供し、さらに、その診断を実施可能な検査装置を提供することにある。   Therefore, an object of the present invention is to provide a diagnostic device and a diagnostic method capable of making necessary and sufficient diagnosis about the inspection accuracy or inspection operation of the inspection device even by a user who is not familiar with the inspection device, and further, the diagnosis It is providing the inspection apparatus which can implement.

前記課題を解決した本発明は、被検査製品を撮影した検査画像を生成する光学系と、
前記検査画像から所定の特性を計測して検査用計測値を取得する画像計測部と、
前記検査用計測値を判定閾値と比較して検査用判定結果を取得する検査結果判定部と、
前記検査用判定結果に応じて前記被検査製品を排出する排出装置とを有する検査装置の診断を行う診断装置において、
前記診断時に、前記光学系と前記排出装置を用いることなく、前記画像計測部と前記検査結果判定部を稼動させて、前記画像計測部と前記検査結果判定部の診断を行う検査精度診断部と、
前記診断時に、前記画像計測部と前記検査結果判定部を用いることなく、前記排出装置を稼動させて前記排出装置の診断を行う検査動作診断部との少なくともどちらか一方を有することを特徴とする。なお、本発明の検査精度診断部を有する診断装置の発明及び検査動作診断部を有する診断装置の発明が、従来技術との対比において有する技術上の意義は、どちらも、前記光学系と前記画像計測部と前記検査結果判定部と前記排出装置とを有する検査装置に対して、習熟していない利用者でも容易に必要十分な診断が可能な診断装置を提供することであり、共通している。本発明の検査精度診断部を有する診断装置の発明と検査動作診断部を有する診断装置の発明は、対応する特別な技術的特徴を有している。よって、本発明の検査精度診断部を有する診断装置の発明及び検査動作診断部を有する診断装置の発明は、単一性の要件を満たす。また、後記する診断方法の発明と検査装置の発明も同様の理由により単一性の要件を満たす。
The present invention that has solved the above problems includes an optical system that generates an inspection image obtained by photographing a product to be inspected,
An image measuring unit that measures predetermined characteristics from the inspection image and obtains a measurement value for inspection; and
An inspection result determination unit that compares the measurement value for inspection with a determination threshold value to obtain a determination result for inspection;
In a diagnostic apparatus for diagnosing an inspection apparatus having a discharge apparatus for discharging the inspected product according to the inspection determination result,
An inspection accuracy diagnosis unit for diagnosing the image measurement unit and the inspection result determination unit by operating the image measurement unit and the inspection result determination unit without using the optical system and the discharge device at the time of the diagnosis; ,
At the time of the diagnosis, it has at least one of an inspection operation diagnosis unit that operates the discharge device and diagnoses the discharge device without using the image measurement unit and the inspection result determination unit. . The technical significance of the invention of the diagnostic device having the inspection accuracy diagnostic unit and the invention of the diagnostic device having the test operation diagnostic unit of the present invention in comparison with the prior art is both the optical system and the image. It is common to provide a diagnostic device capable of easily and sufficiently making a necessary and sufficient diagnosis even for an unskilled user with respect to an inspection device having a measurement unit, the inspection result determination unit, and the discharge device. . The invention of the diagnostic device having the inspection accuracy diagnostic unit and the invention of the diagnostic device having the inspection operation diagnostic unit of the present invention have corresponding special technical features. Therefore, the invention of the diagnostic apparatus having the inspection accuracy diagnostic unit and the invention of the diagnostic apparatus having the inspection operation diagnostic unit of the present invention satisfy the requirement of unity. Further, the invention of the diagnostic method and the invention of the inspection apparatus described later satisfy the unity requirement for the same reason.

また、本発明は、被検査製品を撮影した検査画像を生成する光学系と、
前記検査画像から所定の特性を計測して検査用計測値を取得する画像計測部と、
前記検査用計測値を判定閾値と比較して検査用判定結果を取得する検査結果判定部と、
前記検査用判定結果に応じて前記被検査製品を排出する排出装置とを有する検査装置の診断を行う診断方法において、
前記診断時に、前記光学系と前記排出装置を用いることなく、前記画像計測部と前記検査結果判定部を稼動させて、前記画像計測部と前記検査結果判定部の診断を行う検査精度診断ステップと、
前記診断時に、前記画像計測部と前記検査結果判定部を用いることなく、前記排出装置を稼動させて前記排出装置の診断を行う検査動作診断ステップとの少なくともどちらか一方を有することを特徴とする。
Further, the present invention provides an optical system that generates an inspection image obtained by photographing a product to be inspected,
An image measuring unit that measures predetermined characteristics from the inspection image and obtains a measurement value for inspection; and
An inspection result determination unit that compares the measurement value for inspection with a determination threshold value to obtain a determination result for inspection;
In a diagnostic method for diagnosing an inspection apparatus having a discharge apparatus for discharging the inspected product according to the determination result for inspection,
An inspection accuracy diagnosis step of diagnosing the image measurement unit and the inspection result determination unit by operating the image measurement unit and the inspection result determination unit without using the optical system and the discharge device at the time of the diagnosis; ,
At the time of the diagnosis, it has at least one of an inspection operation diagnosis step of operating the discharge device and diagnosing the discharge device without using the image measurement unit and the inspection result determination unit. .

また、本発明は、被検査製品を撮影した検査画像を生成する光学系と、
前記検査画像から所定の特性を計測して検査用計測値を取得する画像計測部と、
前記検査用計測値を判定閾値と比較して検査用判定結果を取得する検査結果判定部と、
前記検査用判定結果に応じて前記被検査製品を排出する排出装置とを有する検査装置において、
前記検査装置の診断を行う診断時に、前記光学系と前記排出装置を用いることなく、前記画像計測部と前記検査結果判定部を稼動させて、前記画像計測部と前記検査結果判定部の診断を行う検査精度診断部と、
前記診断時に、前記画像計測部と前記検査結果判定部を用いることなく、前記排出装置を稼動させて前記排出装置の診断を行う検査動作診断部との少なくともどちらか一方を有することを特徴とする。
Further, the present invention provides an optical system that generates an inspection image obtained by photographing a product to be inspected,
An image measuring unit that measures predetermined characteristics from the inspection image and obtains a measurement value for inspection; and
An inspection result determination unit that compares the measurement value for inspection with a determination threshold value to obtain a determination result for inspection;
In an inspection apparatus having a discharge device for discharging the inspected product according to the determination result for inspection,
During the diagnosis for diagnosing the inspection device, the image measurement unit and the inspection result determination unit are operated without using the optical system and the discharge device, and the image measurement unit and the inspection result determination unit are diagnosed. An inspection accuracy diagnosis unit to be performed;
At the time of the diagnosis, it has at least one of an inspection operation diagnosis unit that operates the discharge device and diagnoses the discharge device without using the image measurement unit and the inspection result determination unit. .

本発明によれば、検査装置に習熟していない利用者でも容易に検査装置の検査精度と検査動作についての必要十分な診断が可能な診断装置および診断方法を提供でき、さらに、そのような診断を実施可能な検査装置を提供できる。   According to the present invention, it is possible to provide a diagnostic apparatus and a diagnostic method capable of making necessary and sufficient diagnosis about the inspection accuracy and inspection operation of the inspection apparatus even by a user who is not familiar with the inspection apparatus. Can be provided.

次に、本発明の実施形態について、適宜図面を参照しながら詳細に説明する。なお、各図において、共通する部分には同一の符号を付し重複した説明を省略する。   Next, embodiments of the present invention will be described in detail with reference to the drawings as appropriate. In each figure, common portions are denoted by the same reference numerals, and redundant description is omitted.

(第1の実施形態)
図1に、本発明の第1の実施形態に係る検査装置1の構成図を示す。検査装置1は、食品や飲料などの被検査製品7の製造ラインの下流の工程に設けられ、ベルトコンベアのような製品搬送装置8上に被検査製品7が載せられ高速で移動していくなかで、被検査製品7の検査を行う。検査内容としては、被検査製品7の外観検査や、賞味期限や製造ロットなどの印字の形状検査などが行われる。検査装置1では、被検査製品7が流れているので、製品搬送装置8上を搬送されてくる被検査製品7を、検査起動センサ4で検知して検知信号を検査起動制御部11に送信する。検査起動制御部11は、検知信号を受信すると、起動信号をカメラ2と照明電源5に送信する。カメラ2は、起動信号を受信すると、シャッターを切り、前記被検査製品7を撮影して検査画像を生成する。また、照明電源5が起動信号を受信すると前記撮影のタイミングで照明ヘッド3にフラッシュ光がともされるので、被検査製品7が製品搬送装置8によって動いていてもブレのない検査画像を取得することができる。検査画像は、A/D変換部12により、アナログ画像からデジタル画像に変換され、画像メモリ13に記憶される。カメラ2、照明ヘッド3、照明電源5、A/D変換部12と画像メモリ13から光学系が構成されている。この光学系が、後記する光学系診断の対象範囲(光学系診断範囲)になる。
(First embodiment)
In FIG. 1, the block diagram of the test | inspection apparatus 1 which concerns on the 1st Embodiment of this invention is shown. The inspection device 1 is provided in a process downstream of the production line of the product to be inspected 7 such as food and beverage, and the product to be inspected 7 is placed on the product transport device 8 such as a belt conveyor and moves at a high speed. Then, the inspected product 7 is inspected. As the contents of the inspection, an appearance inspection of the product to be inspected 7, a printed shape inspection such as a shelf life and a production lot, and the like are performed. In the inspection apparatus 1, since the inspected product 7 is flowing, the inspected product 7 conveyed on the product conveying apparatus 8 is detected by the inspection activation sensor 4 and a detection signal is transmitted to the inspection activation control unit 11. . Upon receiving the detection signal, the inspection activation control unit 11 transmits the activation signal to the camera 2 and the illumination power source 5. Upon receiving the activation signal, the camera 2 releases the shutter and shoots the inspected product 7 to generate an inspection image. Further, when the illumination power supply 5 receives the activation signal, flash light is emitted to the illumination head 3 at the timing of the photographing, so that an inspection image without blur is acquired even if the product to be inspected 7 is moved by the product conveying device 8. be able to. The inspection image is converted from an analog image to a digital image by the A / D converter 12 and stored in the image memory 13. The camera 2, illumination head 3, illumination power supply 5, A / D converter 12 and image memory 13 constitute an optical system. This optical system becomes a target range (optical system diagnostic range) of optical system diagnosis described later.

変数/閾値設定部15では、検査装置1のオペレータが変数と閾値を設定するのを支援する。変数としては、検査画像を画像処理する際の変数、具体的には、検査画像に写った被検査製品7のエッジを定義するための二値化処理の閾値変数等が考えられる。閾値としては、後記する判定閾値等が考えられる。変数/閾値設定部15では、GUIを介して、オペレータが変数と閾値を容易に設定することができる。設定された変数と閾値は変数/閾値メモリ16に記憶される。   The variable / threshold setting unit 15 assists the operator of the inspection apparatus 1 to set variables and thresholds. As the variable, a variable for image processing of the inspection image, specifically, a threshold variable for binarization processing for defining the edge of the inspected product 7 shown in the inspection image can be considered. As the threshold value, a determination threshold value to be described later can be considered. The variable / threshold setting unit 15 allows the operator to easily set variables and thresholds via the GUI. The set variable and threshold value are stored in the variable / threshold memory 16.

画像計測部14では、変数/閾値メモリ16に記憶された変数を用いて、検査画像から所定の特性を計測して検査用計測値を取得する。たとえば、変数を用いてエッジを抽出し、エッジ間距離すなわち被検査製品7の幅を検査用計測値として取得する。
検査結果判定部17では、検査用計測値を、変数/閾値メモリ16に記憶された変数(判定閾値)と比較して検査用判定結果を取得する。この検査用判定結果が、被検査製品7の検査による合否判定になる。変数/閾値設定部15、変数/閾値メモリ16、画像計測部14と検査結果判定部17が、後記する検査精度診断の対象範囲(検査精度診断範囲)になる。
The image measurement unit 14 uses a variable stored in the variable / threshold memory 16 to measure a predetermined characteristic from the inspection image and obtain a measurement value for inspection. For example, edges are extracted using variables, and the distance between the edges, that is, the width of the product 7 to be inspected is acquired as the measurement value for inspection.
In the inspection result determination unit 17, the inspection measurement value is compared with a variable (determination threshold) stored in the variable / threshold memory 16 to obtain an inspection determination result. This determination result for inspection is a pass / fail determination by inspection of the inspected product 7. The variable / threshold setting unit 15, the variable / threshold memory 16, the image measurement unit 14, and the test result determination unit 17 become a test accuracy diagnosis target range (test accuracy diagnosis range) described later.

排出装置6では、検査用判定結果に応じて不合格判定となった被検査製品7を製品搬送装置8から排出する。なお、排出装置6は、合格判定の被検査製品7と、不合格判定の被検査製品7との分類を行う選別装置であってもよい。そして、製品搬送装置8、検査起動センサ4、検査起動制御部11と排出装置6が、後記する検査動作診断の対象範囲(検査動作診断範囲)になる。   In the discharge device 6, the product 7 to be inspected which has been determined to be rejected according to the inspection determination result is discharged from the product transport device 8. The discharging device 6 may be a sorting device that classifies the product to be inspected 7 with a pass determination and the product 7 to be inspected with a failure. And the product conveyance apparatus 8, the inspection starting sensor 4, the inspection starting control part 11, and the discharge | emission apparatus 6 become the object range (inspection operation diagnosis range) of the inspection operation diagnosis mentioned later.

図1に示すように、検査装置1は、診断装置10を有している。診断装置10は、検査精度診断部10aと、検査動作診断部10bと、光学系診断部10cとを有している。   As shown in FIG. 1, the inspection device 1 has a diagnostic device 10. The diagnostic apparatus 10 includes an inspection accuracy diagnosis unit 10a, an inspection operation diagnosis unit 10b, and an optical system diagnosis unit 10c.

検査精度診断部10aは、診断時に、前記光学系2、3、5、12、13を用いる(機能させる)ことなく、また、前記排出装置6を含む検査動作診断範囲を用いる(機能させる)ことなく、前記画像計測部14と前記検査結果判定部17を稼動させて、画像計測部14と検査結果判定部17を含む検査精度診断範囲の診断を行うことができる。具体的な診断の内容は後記するが、この診断によれば、照明ヘッド3等を含む光学系診断範囲と、排出装置6を含む検査動作診断範囲との影響を考慮することなく、画像計測部14と検査結果判定部17とを含む検査精度診断範囲のみの診断を行うことができる。照明ヘッド3等を含む光学系診断範囲と、排出装置6を含む検査動作診断範囲との影響を考慮しないので、交互作用が省け、診断の内容を単純化でき、必要十分な診断を構成しやすく、短時間の診断が可能である。また、診断の結果に異常があった場合に異常の原因の特定が容易である。   The inspection accuracy diagnosis unit 10a does not use (function) the optical systems 2, 3, 5, 12, 13 during diagnosis, and uses (functions) the inspection operation diagnosis range including the discharge device 6. Instead, the image measurement unit 14 and the inspection result determination unit 17 can be operated to diagnose the inspection accuracy diagnosis range including the image measurement unit 14 and the inspection result determination unit 17. The details of the diagnosis will be described later. According to this diagnosis, the image measuring unit can be used without considering the influence of the optical system diagnosis range including the illumination head 3 and the inspection operation diagnosis range including the discharge device 6. 14 and the inspection result determination unit 17 can be diagnosed only in the inspection accuracy diagnosis range. Since the influence of the optical system diagnosis range including the illumination head 3 and the like and the inspection operation diagnosis range including the discharge device 6 is not considered, the interaction can be omitted, the contents of the diagnosis can be simplified, and a necessary and sufficient diagnosis can be easily configured. Short time diagnosis is possible. In addition, when there is an abnormality in the diagnosis result, it is easy to identify the cause of the abnormality.

検査動作診断部10bは、診断時に、画像計測部14と検査結果判定部17を含む検査精度診断範囲を用いる(機能させる)ことなく、前記排出装置6を含む検査動作診断範囲を稼動させて、排出装置6を含む検査動作診断範囲の診断を行っている。具体的な診断の内容は後記するが、この診断によれば、画像計測部14と検査結果判定部17を含む検査精度診断範囲の影響を考慮することなく、排出装置6を含む検査動作診断範囲のみの診断を行うことができる。画像計測部14と検査結果判定部17を含む検査精度診断範囲の影響を考慮しないので、交互作用が省け、診断の内容を単純化でき、必要十分な診断を構成しやすく、短時間の診断が可能である。また、診断の結果に異常があった場合に異常の原因の特定が容易である。   The inspection operation diagnosis unit 10b operates the inspection operation diagnosis range including the discharge device 6 without using (functioning) the inspection accuracy diagnosis range including the image measurement unit 14 and the inspection result determination unit 17 at the time of diagnosis. The inspection operation diagnosis range including the discharge device 6 is diagnosed. The details of the diagnosis will be described later. According to this diagnosis, the inspection operation diagnosis range including the discharge device 6 without considering the influence of the inspection accuracy diagnosis range including the image measurement unit 14 and the inspection result determination unit 17. Only a diagnosis can be made. Since the influence of the inspection accuracy diagnosis range including the image measurement unit 14 and the inspection result determination unit 17 is not considered, the interaction can be omitted, the contents of the diagnosis can be simplified, a necessary and sufficient diagnosis can be easily configured, and a short time diagnosis can be performed. Is possible. In addition, when there is an abnormality in the diagnosis result, it is easy to identify the cause of the abnormality.

光学系診断部10cは、診断時に、画像計測部14と検査結果判定部17を含む検査精度診断範囲を用いる(機能させる)ことなく、また、排出装置6を含む検査動作診断範囲を用いる(機能させる)ことなく、前記光学系2、3、5、12、13を稼動させて、光学系2、3、5、12、13の診断を行っている。具体的な診断の内容は後記するが、この診断によれば、画像計測部14と検査結果判定部17を含む検査精度診断範囲と、排出装置6を含む検査動作診断範囲との影響を考慮することなく、光学系2、3、5、12、13のみの診断を行うことができる。画像計測部14と検査結果判定部17を含む検査精度診断範囲と、排出装置6を含む検査動作診断範囲との影響を考慮しないので、交互作用が省け、診断の内容を単純化でき、必要十分な診断を構成しやすく、短時間の診断が可能である。また、診断の結果に異常があった場合に異常の原因の特定が容易である。   The optical system diagnosis unit 10c does not use (function) the inspection accuracy diagnosis range including the image measurement unit 14 and the inspection result determination unit 17 during diagnosis, and uses the inspection operation diagnosis range including the discharge device 6 (function). The optical systems 2, 3, 5, 12, and 13 are operated to diagnose the optical systems 2, 3, 5, 12, and 13. The details of the diagnosis will be described later. According to this diagnosis, the influence of the inspection accuracy diagnosis range including the image measurement unit 14 and the inspection result determination unit 17 and the inspection operation diagnosis range including the discharge device 6 is considered. Therefore, only the optical systems 2, 3, 5, 12, and 13 can be diagnosed. Since the influence of the inspection accuracy diagnosis range including the image measurement unit 14 and the inspection result determination unit 17 and the inspection operation diagnosis range including the discharge device 6 is not taken into consideration, the interaction can be omitted, the contents of the diagnosis can be simplified, and necessary and sufficient It is easy to construct a simple diagnosis and a short-time diagnosis is possible. In addition, when there is an abnormality in the diagnosis result, it is easy to identify the cause of the abnormality.

そして、検査精度診断部10aで検査精度診断範囲を診断し、検査動作診断部10bで検査動作診断範囲を診断し、光学系診断部10cで光学系2、3、5、12、13(光学系診断範囲)を診断することにより、検査装置1の全体を診断することができる。   The inspection accuracy diagnosis unit 10a diagnoses the inspection accuracy diagnosis range, the inspection operation diagnosis unit 10b diagnoses the inspection operation diagnosis range, and the optical system diagnosis unit 10c uses the optical systems 2, 3, 5, 12, 13 (optical system). The entire inspection apparatus 1 can be diagnosed by diagnosing (diagnosis range).

なお、図1に示すように、診断装置10は、検査装置1に組み込まれて一体不可分になっていてもよいが、これに限らず、検査装置1から分離可能になっていてもよい。この場合、診断装置10は、PC(パーソナルコンピュータ)において診断方法のソフトウエアを起動することによって実現することができる。そして、PCと検査装置1を接続することにより、検査装置1の診断を行うことができる。診断装置10が検査装置1から分離できれば、複数の検査装置1を1つの診断装置10で診断でき、検査装置1の相互間の検査精度の統一が可能である。   As shown in FIG. 1, the diagnostic device 10 may be incorporated into the inspection device 1 and become inseparable, but is not limited thereto, and may be separable from the inspection device 1. In this case, the diagnostic device 10 can be realized by starting software of a diagnostic method on a PC (personal computer). Then, by connecting the PC and the inspection apparatus 1, the inspection apparatus 1 can be diagnosed. If the diagnostic device 10 can be separated from the inspection device 1, a plurality of inspection devices 1 can be diagnosed by one diagnostic device 10, and the inspection accuracy between the inspection devices 1 can be unified.

また、検査装置1の診断では、常に、検査精度診断と、検査動作診断と、光学系診断との全てを実施する必要があるとは限らない。たとえば、実施頻度が異なることが考えられる。検査精度診断は毎日実施しなければならないが、検査動作診断は月に1回実施すればよく、光学系診断は週に1回実施すればよいような場合である。このような場合、1つの診断装置10が、検査精度診断部10aと、検査動作診断部10bと、光学系診断部10cとを全て備えている必要はなく。複数の診断装置10に、分散させて有していてもよい。すなわち、診断装置10は、検査精度診断部10a、検査動作診断部10b、光学系診断部10cの少なくとも1つを有していればよい。特に、検査精度診断と検査動作診断とは、従来行われていなかった診断であり、診断装置10が、検査精度診断部10a、検査動作診断部10bの少なくとも1つを有することにより、検査精度と検査動作の少なくとも1つの診断を必要十分に実施することができる。   Further, in the diagnosis of the inspection apparatus 1, it is not always necessary to perform all of the inspection accuracy diagnosis, the inspection operation diagnosis, and the optical system diagnosis. For example, the implementation frequency may be different. The inspection accuracy diagnosis must be performed every day, but the inspection operation diagnosis may be performed once a month, and the optical system diagnosis may be performed once a week. In such a case, it is not necessary for one diagnostic apparatus 10 to include all of the inspection accuracy diagnosis unit 10a, the inspection operation diagnosis unit 10b, and the optical system diagnosis unit 10c. A plurality of diagnostic apparatuses 10 may be dispersed. That is, the diagnostic device 10 only needs to include at least one of the inspection accuracy diagnosis unit 10a, the inspection operation diagnosis unit 10b, and the optical system diagnosis unit 10c. In particular, the inspection accuracy diagnosis and the inspection operation diagnosis are diagnoses that have not been performed in the past, and the diagnostic apparatus 10 includes at least one of the inspection accuracy diagnosis unit 10a and the inspection operation diagnosis unit 10b. At least one diagnosis of the inspection operation can be performed sufficiently and sufficiently.

(第2の実施形態)
図2に、本発明の第2の実施形態に係る検査装置1の構成図を示す。第2の実施形態の検査装置1は、検査精度診断部10aの構成が理解しやすいように、検査装置1内の他の構成要素との関係を明確にして記載したものである。そのため、第1の実施形態の検査装置1には記載されていた照明ヘッド3等は、第2の実施形態の検査装置1でも備えているが、検査精度診断部10aの説明を容易にするために、記載を省略している。
(Second Embodiment)
In FIG. 2, the block diagram of the test | inspection apparatus 1 which concerns on the 2nd Embodiment of this invention is shown. The inspection apparatus 1 according to the second embodiment is described with a clear relationship with other components in the inspection apparatus 1 so that the configuration of the inspection accuracy diagnosis unit 10a can be easily understood. Therefore, although the illumination head 3 etc. which were described in the inspection apparatus 1 of 1st Embodiment are provided also in the inspection apparatus 1 of 2nd Embodiment, in order to make description of the inspection precision diagnostic part 10a easy. The description is omitted.

図2に示すように、検査精度診断部10aは、検査精度診断で行う項目とその実施順を制御管理する検査精度診断制御部22と、基準画像25aをオペレータが設定する支援をする基準画像設定部24と、基準画像25aと基準計測値25bと基準判定結果25cとを互いに関係付けて記憶する基準画像メモリ25とを有している。   As shown in FIG. 2, the inspection accuracy diagnosis unit 10a includes an inspection accuracy diagnosis control unit 22 that controls and manages items to be performed in the inspection accuracy diagnosis and the execution order thereof, and a reference image setting that supports an operator to set a reference image 25a. And a reference image memory 25 that stores the reference image 25a, the reference measurement value 25b, and the reference determination result 25c in association with each other.

また、検査精度診断部10aは、入力ソース切替部23と、検査精度判定部26と、機能確認記録部21とを有している。入力ソース切替部23は、画像メモリ13に記憶させる画像として、診断時には、基準画像メモリ25から基準画像25aを入力させ、診断時以外(検査時や診断前の事前準備時等)では、A/D変換部12から検査画像を入力させるような、切り替えを行う。検査精度判定部26は、診断時の画像計測部14の出力結果(診断用計測値)と、基準画像メモリ25に記憶された基準計測値との、一致不一致の判定と、診断時の検査結果判定部17の出力結果(診断用判定結果)と、基準画像メモリ25に記憶された基準判定結果との、一致不一致の判定とを行う。機能確認記録部21は、判定の結果が不一致なら警告を表示してオペレータに対策の実施を促し、また、判定の結果の一致不一致を記録する。   Further, the inspection accuracy diagnosis unit 10 a includes an input source switching unit 23, an inspection accuracy determination unit 26, and a function confirmation recording unit 21. The input source switching unit 23 inputs the reference image 25a from the reference image memory 25 at the time of diagnosis as an image to be stored in the image memory 13, and is other than the time of diagnosis (such as at the time of inspection or prior preparation before diagnosis) as A / Switching is performed so that an inspection image is input from the D conversion unit 12. The inspection accuracy determination unit 26 determines the coincidence between the output result (diagnosis measurement value) of the image measurement unit 14 at the time of diagnosis and the reference measurement value stored in the reference image memory 25, and the inspection result at the time of diagnosis. A determination is made as to whether or not the output result (diagnosis determination result) of the determination unit 17 matches the reference determination result stored in the reference image memory 25. The function confirmation recording unit 21 displays a warning if the result of the determination does not match, prompts the operator to take countermeasures, and records the result of the determination as to whether or not the result matches.

図3に、本発明の第2の実施形態に係る検査装置の診断方法(検査精度診断用)のフローチャートを示す。   FIG. 3 shows a flowchart of a diagnostic method (for inspection accuracy diagnosis) of the inspection apparatus according to the second embodiment of the present invention.

まず、検査精度診断用の診断方法を実施するための事前準備を行う。事前準備としては、基準画像25a、基準計測値25b、基準判定結果25cの登録を行う。具体的にまず、オペレータは、検査基準製品を用意する。検査基準製品としては、検査装置1の据付調整時の確認に使用した複数のOK基準サンプルおよび複数のNG限度サンプルを用いることができる。検査装置1で、検査基準製品の検査を実施する。この検査の実施により、光学系で検査基準製品の基準画像25aが撮影される。入力ソース切替部23を介して基準画像25aが光学系の画像メモリ13に書き込まれる。画像計測部14は、基準画像25aを用いて所定の特性を計測して基準計測値25bを取得する。検査結果判定部17は、基準計測値25bを、変数/閾値メモリ16に記憶された判定閾値と比較して合格または不合格という基準判定結果25cを取得する。   First, advance preparations for carrying out a diagnostic method for inspection accuracy diagnosis are performed. As advance preparation, registration of the reference image 25a, the reference measurement value 25b, and the reference determination result 25c is performed. Specifically, first, the operator prepares an inspection standard product. As the inspection reference product, a plurality of OK reference samples and a plurality of NG limit samples used for confirmation at the time of installation and adjustment of the inspection apparatus 1 can be used. The inspection apparatus 1 inspects the inspection standard product. By performing this inspection, the reference image 25a of the inspection reference product is photographed by the optical system. A reference image 25 a is written into the image memory 13 of the optical system via the input source switching unit 23. The image measurement unit 14 measures a predetermined characteristic using the reference image 25a and acquires a reference measurement value 25b. The inspection result determination unit 17 compares the reference measurement value 25b with the determination threshold stored in the variable / threshold memory 16, and acquires the reference determination result 25c of pass or fail.

基準画像設定部24では、GUIを介して、オペレータにこの基準画像25aを記憶しておくか否かの判断を促す。オペレータは、記憶しておくとの判断をした場合は、GUIを介してその旨を入力する。この入力により、基準画像設定部24は、その基準画像25aと、その基準画像25aに対応する基準計測値25bと、その基準画像25aに対応する基準判定結果25cを、基準画像25aの識別記号とともに互いに関係付けて、基準画像メモリ25に記憶させる。通常、OK基準サンプルおよびNG限度サンプルはそれぞれ複数個作られるので、基準画像25aも複数生成される。以上で事前準備が終了する。   The reference image setting unit 24 prompts the operator to determine whether or not to store the reference image 25a via the GUI. When the operator determines to store the information, the operator inputs that fact via the GUI. By this input, the reference image setting unit 24 sends the reference image 25a, the reference measurement value 25b corresponding to the reference image 25a, and the reference determination result 25c corresponding to the reference image 25a together with the identification symbol of the reference image 25a. The reference image memory 25 stores them in association with each other. Usually, since a plurality of OK reference samples and NG limit samples are made, a plurality of reference images 25a are also generated. This completes the preparation.

次に、検査精度診断の診断時について説明する。   Next, the time of diagnosis of inspection accuracy diagnosis will be described.

まず、ステップS1で、入力ソース切替部23は切り替えられ、基準画像メモリ25から画像メモリ13へ基準画像25aを送信する(呼び出す)。   First, in step S1, the input source switching unit 23 is switched and transmits (calls) the reference image 25a from the reference image memory 25 to the image memory 13.

ステップS2で、画像メモリ13が、基準画像25aを記憶する。画像メモリ13が基準画像25aを記憶することによって、基準画像25aのいわゆる検査が再実行される。いわゆる検査と記載したのは、再実行される検査では、光学系での撮影が省かれているからである。また、後記するが、再実行される検査では、排出装置6等の検査動作も省かれている。   In step S2, the image memory 13 stores the reference image 25a. When the image memory 13 stores the reference image 25a, so-called inspection of the reference image 25a is performed again. The reason why the so-called inspection is described is that the re-executed inspection omits photographing with the optical system. Further, as will be described later, in the re-executed inspection, the inspection operation of the discharge device 6 and the like is also omitted.

そして、画像計測部14では、基準画像25aを用いて所定の特性を計測して診断用計測値を取得する。診断用計測値と前記基準計測値25bとは、同一の基準画像25aの同一の特性を計測したものであるので、一致すべきものである。このことを逆に利用すれば、すなわち、診断用計測値と基準計測値25bとが不一致であれば、検査精度が変動したと考えることができる。第2の実施形態では、診断用計測値と基準計測値25bとの一致不一致を判定することにより、検査精度の診断をしている。   Then, the image measurement unit 14 measures a predetermined characteristic using the reference image 25a and acquires a measurement value for diagnosis. Since the measurement value for diagnosis and the reference measurement value 25b are obtained by measuring the same characteristic of the same reference image 25a, they should match. If this is used in reverse, that is, if the diagnostic measurement value and the reference measurement value 25b do not match, it can be considered that the inspection accuracy has fluctuated. In the second embodiment, the inspection accuracy is diagnosed by determining the coincidence / mismatch between the diagnostic measurement value and the reference measurement value 25b.

検査結果判定部17では、診断用計測値を、変数/閾値メモリ16に記憶された判定閾値と比較して合格または不合格という診断用判定結果を取得する。診断用判定結果と基準判定結果25cとは、同一の基準画像25aに撮影された同一の検査基準製品に対する合格または不合格というものであるので、たとえば基準判定結果25cが合格なら診断用判定結果も合格で一致すべきものである。このことを逆に利用すれば、すなわち、診断用判定結果と基準判定結果25cとが不一致であれば、検査精度が変動したと考えることができる。第2の実施形態では、診断用判定結果と基準判定結果25cとの一致不一致を判定することにより、検査精度の診断をしている。   In the test result determination unit 17, the diagnostic measurement value is compared with the determination threshold stored in the variable / threshold memory 16 to obtain a diagnosis determination result of pass or fail. The diagnosis determination result and the reference determination result 25c are the pass or fail for the same inspection reference product photographed in the same reference image 25a. For example, if the reference determination result 25c is acceptable, the diagnosis determination result is also obtained. It should be matched by passing. If this is used conversely, that is, if the diagnostic determination result and the reference determination result 25c do not match, it can be considered that the inspection accuracy has fluctuated. In the second embodiment, the inspection accuracy is diagnosed by determining whether or not the diagnosis determination result matches the reference determination result 25c.

そこで、ステップS3では、検査精度判定部26が、基準画像25aに関係付けられた基準判定結果25cを読み出し、診断用判定結果が基準判定結果25cに許容範囲を加味して一致するか否かの判定(照合)を行う。一致する場合はステップS6へ進み(ステップS3、Yes)、不一致の場合はステップS4へ進む(ステップS3、No)。   Therefore, in step S3, the inspection accuracy determination unit 26 reads out the reference determination result 25c related to the reference image 25a, and determines whether or not the diagnosis determination result matches the reference determination result 25c by adding an allowable range. Judgment (collation) is performed. If they match, the process proceeds to step S6 (step S3, Yes), and if they do not match, the process proceeds to step S4 (step S3, No).

ステップS4では、機能確認記録部21が、判定の結果が不一致である旨の警告を表示し、オペレータに対策の実施を促す。ステップS5では、機能確認記録部21が、判定の結果が不一致であった旨と、基準画像25aの識別記号と、基準判定結果25cと、診断用判定結果と、診断日時を帳票に記録する。なお、帳票への記録は、印刷のようなものでも、電子的な記録であってもかまわない。以下の帳票への記録も同様である。   In step S4, the function confirmation recording unit 21 displays a warning that the determination result is inconsistent, and prompts the operator to take a countermeasure. In step S5, the function confirmation recording unit 21 records the fact that the determination result is inconsistent, the identification symbol of the reference image 25a, the reference determination result 25c, the determination result for diagnosis, and the diagnosis date and time in the form. Note that the form may be printed or electronically recorded. The same applies to the following forms.

ステップS6に進むと、検査精度判定部26が、基準画像25aに関係付けられた基準計測値25bを読み出し、診断用計測値が基準計測値25bに許容範囲を加味して一致するか否かの判定(照合)を行う。一致する場合はステップS9へ進み(ステップS6、Yes)、不一致の場合はステップS7へ進む(ステップS6、No)。   In step S6, the inspection accuracy determination unit 26 reads the reference measurement value 25b associated with the reference image 25a, and determines whether or not the diagnostic measurement value matches the reference measurement value 25b by adding an allowable range. Judgment (collation) is performed. If they match, the process proceeds to step S9 (step S6, Yes), and if they do not match, the process proceeds to step S7 (step S6, No).

ステップS7では、機能確認記録部21が、判定の結果が不一致である旨の警告を表示し、オペレータに対策の実施を促す。ステップS8では、機能確認記録部21が、判定の結果が不一致であった旨と、基準画像25aの識別記号と、基準計測値25bと、診断用計測値と、診断日時とを帳票に記録する。   In step S <b> 7, the function confirmation recording unit 21 displays a warning that the determination results are inconsistent, and prompts the operator to take countermeasures. In step S8, the function confirmation recording unit 21 records that the determination result is inconsistent, the identification symbol of the reference image 25a, the reference measurement value 25b, the measurement value for diagnosis, and the diagnosis date and time in the form. .

ステップS9に進むと、検査精度診断制御部22が、基準画像メモリ25に記憶された全ての基準画像25aについて、ステップS1乃至ステップS8が実施されたか否か判定する。全ての基準画像25aについて実施された場合はステップS10へ進み(ステップS9、Yes)、全ての基準画像25aについて実施されていない場合はステップS1へ戻る(ステップS9、No)。   In step S9, the inspection accuracy diagnosis control unit 22 determines whether or not steps S1 to S8 have been performed for all the reference images 25a stored in the reference image memory 25. If it has been performed for all the reference images 25a, the process proceeds to step S10 (step S9, Yes), and if it has not been performed for all the reference images 25a, the process returns to step S1 (step S9, No).

ステップS10では、機能確認記録部21が、全ての基準画像25aについて実施した旨と、診断日時とを帳票に記録する。以上で、検査精度診断の診断方法が終了する。検査精度診断の診断方法では、光学系(光学系診断範囲)と排出装置6等の検査動作診断範囲が用いられることなく診断が行われていることがわかる。このため、検査精度診断の診断方法では、光学系診断範囲と検査動作診断範囲の影響を受けることがない。   In step S10, the function confirmation recording unit 21 records the fact that it has been performed on all the reference images 25a and the diagnosis date and time in a form. This completes the diagnostic method for the inspection accuracy diagnosis. In the diagnostic method of the inspection accuracy diagnosis, it can be seen that the diagnosis is performed without using the inspection operation diagnosis range of the optical system (optical system diagnosis range) and the discharge device 6 or the like. For this reason, in the diagnostic method of inspection accuracy diagnosis, the optical system diagnosis range and the inspection operation diagnosis range are not affected.

検査精度診断の診断方法においては、記憶されている基準画像25aを用いているので、実際に被検査製品7を製品搬送装置8に流す必要がない。このため、容易にかつ短時間に診断を実施することができる。被検査製品7は診断の度に何度も製品搬送装置8に流せば劣化するが、基準画像25aは基準画像メモリ25に記憶されたままであるの劣化することがない。基準画像25aがデジタル画像であればなおさらである。このため、劣化しない基準画像25aを用いた検査精度の診断を経た検査装置1であれば、その検査精度を一定に保つことができる。   In the diagnostic method of the inspection accuracy diagnosis, since the stored reference image 25a is used, it is not necessary to actually flow the product to be inspected 7 to the product conveying device 8. Therefore, diagnosis can be performed easily and in a short time. The inspected product 7 is deteriorated if it is flowed to the product conveying device 8 many times for each diagnosis, but the reference image 25a remains stored in the reference image memory 25 and does not deteriorate. This is especially true if the reference image 25a is a digital image. For this reason, if the inspection apparatus 1 has undergone inspection accuracy diagnosis using the reference image 25a that does not deteriorate, the inspection accuracy can be kept constant.

検査精度診断の診断方法においては、被検査製品7を実際に流す必要がないので、検査装置1が製造設備に組み込まれて、その製造設備の設置や機構特性上の制約で診断が行えなかったような場合においても、検査精度診断の診断方法であれば実施することができる。   In the diagnostic method of the inspection accuracy diagnosis, since it is not necessary to actually flow the product 7 to be inspected, the inspection apparatus 1 is incorporated into the manufacturing facility, and the diagnosis cannot be performed due to restrictions on the installation of the manufacturing facility and the mechanical characteristics. Even in such a case, any diagnostic method for inspection accuracy diagnosis can be implemented.

また、被検査製品7に新たな欠陥が発生した場合、オペレータはこの欠陥を持った被検査製品7を検査装置1で排出できるように、検査画像から新規な特性を計測して新規な検査用計測値を設定する場合があり、これに対応して変数/閾値メモリ16に記憶された変数と閾値とが変更させるときがある。このようなときでも、基準画像メモリ25に既に記憶された基準画像25aに写された既知の欠陥を有する被検査製品7に対応して、検査装置1は排出可能になっていなければならない。検査精度診断の診断方法によれば、検査装置1が既知の欠陥を排出可能になっているか否か容易に確認(診断)することができる。また、新たな欠陥も、基準画像25a、基準計測値25b、基準判定結果25cとして登録すれば、次回の診断からは、新たな欠陥も検査装置1で検出可能か診断することができる。   Further, when a new defect occurs in the inspected product 7, the operator measures a new characteristic from the inspection image so that the inspected product 7 having the defect can be discharged by the inspection apparatus 1. A measurement value may be set, and a variable and a threshold value stored in the variable / threshold memory 16 may be changed correspondingly. Even in such a case, the inspection apparatus 1 must be capable of being discharged corresponding to the inspected product 7 having a known defect copied in the reference image 25a already stored in the reference image memory 25. According to the diagnostic method of the inspection accuracy diagnosis, it is possible to easily confirm (diagnose) whether or not the inspection apparatus 1 can discharge a known defect. In addition, if a new defect is also registered as the reference image 25a, the reference measurement value 25b, and the reference determination result 25c, it can be diagnosed whether the inspection apparatus 1 can detect the new defect from the next diagnosis.

また、診断が、基準判定結果25cに対する一致不一致と、基準計測値25bに対する一致不一致のように、判定に恣意を挟む余地がなく、明確で容易であるので、オペレータの個人差をなくすことができる。そして、検査装置1に習熟していないオペレータでも容易に検査装置1の検査精度診断をすることができる。   In addition, since there is no room for arbitrary determination and the diagnosis is clear and easy like the mismatch / mismatch for the reference determination result 25c and the match / mismatch for the reference measurement value 25b, individual differences among operators can be eliminated. . An operator who is not familiar with the inspection apparatus 1 can easily diagnose the inspection accuracy of the inspection apparatus 1.

また、診断の結果を帳票に記録できるので、検査装置1の検査性能を保障することが可能になり、検査装置1の信頼性を高めることができる。   In addition, since the result of diagnosis can be recorded on a form, it is possible to ensure the inspection performance of the inspection apparatus 1 and increase the reliability of the inspection apparatus 1.

(第3の実施形態)
図4に、本発明の第3の実施形態に係る検査装置1の構成図を示す。第3の実施形態の検査装置1は、光学系診断部10cの構成が理解しやすいように、検査装置1内の他の構成要素との関係を明確にして記載したものである。そのため、第1の実施形態の検査装置1には記載されていた排出装置6等は、第3の実施形態の検査装置1でも備えているが、光学系診断部10cの説明を容易にするために、記載を省略している。
(Third embodiment)
In FIG. 4, the block diagram of the test | inspection apparatus 1 which concerns on the 3rd Embodiment of this invention is shown. The inspection apparatus 1 according to the third embodiment is described with a clear relationship with other components in the inspection apparatus 1 so that the configuration of the optical system diagnosis unit 10c can be easily understood. Therefore, the discharge device 6 and the like described in the inspection device 1 of the first embodiment are also provided in the inspection device 1 of the third embodiment, but in order to facilitate the explanation of the optical system diagnostic unit 10c. The description is omitted.

図4に示すように、光学系診断部10cは、光学系診断で行う項目とその実施順を制御管理する光学系診断制御部27と、特徴計測/判定部(特許請求の範囲の特徴計測部と第6判定部に相当)28と、基準データ記憶部29と、機能確認記録部21と、連続映像入力制御部30とを有している。   As shown in FIG. 4, the optical system diagnosis unit 10 c includes an optical system diagnosis control unit 27 that controls and manages items to be performed in the optical system diagnosis and the execution order thereof, and a feature measurement / determination unit (feature measurement unit in claims). And a sixth determination unit) 28, a reference data storage unit 29, a function confirmation recording unit 21, and a continuous video input control unit 30.

特徴計測/判定部28は、光学系によって所定の位置に置かれた光学系診断専用試料9を撮影して取得された光学系画像を用いて、所定の特徴を計測して光学系計測値を取得し、診断の事前準備時と診断時とで、光学系計測値が一致するか否かの判定を行う。   The feature measurement / determination unit 28 measures a predetermined feature by using an optical system image obtained by photographing the optical system diagnosis dedicated sample 9 placed at a predetermined position by the optical system, and obtains an optical system measurement value. It is acquired, and it is determined whether or not the optical system measurement values match at the time of the preliminary preparation for diagnosis and at the time of diagnosis.

基準データ記憶部29は、事前準備時の光学系計測値を記憶する。   The reference data storage unit 29 stores optical system measurement values at the time of preparation.

機能確認記録部21は、判定の結果が不一致なら警告を表示してオペレータに対策の実施を促し、また、判定の結果の一致不一致を記録する。   The function confirmation recording unit 21 displays a warning if the result of the determination does not match, prompts the operator to take countermeasures, and records the result of the determination as to whether or not the result matches.

連続映像入力制御部30は、検査起動センサ4(図1参照)が出力する検知信号に換わる信号を、自己周期で検査起動制御部11に連続入力させている。この連続入力に対応して、光学系での連続撮影を可能にしている。   The continuous video input control unit 30 causes the inspection activation control unit 11 to continuously input a signal in place of the detection signal output from the inspection activation sensor 4 (see FIG. 1) in its own cycle. Corresponding to this continuous input, continuous photographing with an optical system is enabled.

被検査製品7は一般的に形状が複雑であり、光学系計測値を正確に測定するのには適さないので、被検査製品7の換わりに、光学系診断専用試料9が用いられる。光学系診断専用試料9としては、標準反射板やテスト形状成型物を用いることが望ましい。これは被検査製品7の劣化や被検査製品7のロットばらつきの影響を除外するためである。図4では光学系診断専用試料9としてグレーの矩形パターンを使用した例を示している。光学系診断専用試料9の上面9bには、グレーで矩形(長方形)の診断専用パターン9aが設けられている。   Since the product 7 to be inspected is generally complicated in shape and is not suitable for accurately measuring the optical system measurement value, the optical system diagnostic sample 9 is used instead of the product 7 to be inspected. As the optical system diagnosis dedicated sample 9, it is desirable to use a standard reflector or a test shape molded product. This is to exclude the influence of deterioration of the inspected product 7 and lot variation of the inspected product 7. FIG. 4 shows an example in which a gray rectangular pattern is used as the optical system diagnosis dedicated sample 9. On the upper surface 9b of the optical system diagnosis dedicated sample 9, a gray and rectangular (rectangular) diagnosis dedicated pattern 9a is provided.

図5(a)に、光学系診断専用試料9を撮影した光学系画像32を示す。光学系画像32の全域におよぶ枠の長方形と、診断専用パターン9aの長方形とは、対向する辺が平行になるように配置され撮影されている。診断専用パターン9aを含めて上面9bが撮影され光学系画像32が生成され、光学系計測値は、光学系画像32に写った診断専用パターン9aから計測されることになる。そして、光学系計測値としては、光学系画像32の長方形の左上角を原点Oとし、原点Oから紙面上を右に伸びる辺をX軸とし、原点Oから紙面上を下に伸びる辺をY軸とした場合の、診断専用パターン9aの左上角O1の座標(SX,SY)が採用されている。座標(SX,SY)によれば、カメラ2の位置を評価することができる。また、別の光学系計測値として、診断専用パターン9aの傾き角度θが採用されている。傾き角度θによってもカメラ2の位置を評価することができる。また、別の光学系計測値として、入力視野を規定する情報となる診断専用パターン9aの長方形の紙面の横方向の横幅DXと、縦方向の縦幅DYとが採用されている。また、別の光学系計測値として、照度(明るさ)を規定する情報となる診断専用パターン9a内の輝度平均値が採用されている。さらに、別の光学系計測値として、図5(b)に示すように、診断専用パターン9aの外に位置するX軸方向位置x1から内に位置するX軸方向位置x2までの点線で囲まれた領域内の投影分布傾き最大値が採用されている。この投影分布傾き最大値は、ピントおよびコントラストの指標となる。これらの光学系計測値は、光学系画像32の歪みを数値化して表すことができる。   FIG. 5A shows an optical system image 32 obtained by photographing the optical system diagnosis dedicated sample 9. The rectangle of the frame extending over the entire area of the optical system image 32 and the rectangle of the diagnostic dedicated pattern 9a are arranged and photographed so that the opposite sides are parallel to each other. The upper surface 9 b including the diagnostic dedicated pattern 9 a is photographed to generate the optical system image 32, and the optical system measurement value is measured from the diagnostic dedicated pattern 9 a captured in the optical system image 32. Then, as the optical system measurement value, the upper left corner of the rectangle of the optical system image 32 is the origin O, the side extending from the origin O to the right on the paper surface is the X axis, and the side extending from the origin O to the paper surface is Y When the axis is used, the coordinates (SX, SY) of the upper left corner O1 of the diagnostic dedicated pattern 9a are employed. According to the coordinates (SX, SY), the position of the camera 2 can be evaluated. Further, as another optical system measurement value, the inclination angle θ of the diagnostic dedicated pattern 9a is adopted. The position of the camera 2 can also be evaluated by the tilt angle θ. As another optical system measurement value, the horizontal width DX in the horizontal direction and the vertical width DY in the vertical direction of the rectangular paper surface of the diagnostic dedicated pattern 9a which is information defining the input visual field are adopted. Further, as another optical system measurement value, a luminance average value in the diagnostic dedicated pattern 9a which is information defining illuminance (brightness) is adopted. Furthermore, as another optical system measurement value, as shown in FIG. 5 (b), it is surrounded by a dotted line from the X-axis direction position x1 located outside the diagnostic dedicated pattern 9a to the X-axis direction position x2 located inside. The maximum value of the projected distribution slope in the region is adopted. The maximum value of the projected distribution gradient is an index of focus and contrast. These optical system measurement values can be expressed by quantifying the distortion of the optical system image 32.

図6に、本発明の第3の実施形態に係る検査装置の診断方法(光学系診断用)のフローチャートを示す。   FIG. 6 shows a flowchart of an inspection apparatus diagnosis method (for optical system diagnosis) according to the third embodiment of the present invention.

まず、光学系診断用の診断方法を実施するための事前準備を行う。事前準備としては、光学系基準画像を取得し、光学系基準計測値を計測し登録する。具体的にまず、オペレータは、光学系診断専用試料9を用意し、図4に示すような所定の位置に厳密に配置する。   First, preparations for carrying out a diagnostic method for optical system diagnosis are performed. As advance preparation, an optical system reference image is acquired, and an optical system reference measurement value is measured and registered. Specifically, first, the operator prepares the optical system diagnosis dedicated sample 9 and strictly arranges it at a predetermined position as shown in FIG.

連続映像入力制御部30で自己周期での連続入力動作を実施し、カメラ2、照明ヘッド3等を用いて、光学系診断専用試料9を撮像し、光学系基準画像を取得する。光学系基準画像は、A/D変換部12でアナログ画像からデジタル画像へ変換され、画像メモリ13に記憶される。   The continuous video input control unit 30 performs a continuous input operation in a self cycle, images the optical system diagnosis dedicated sample 9 using the camera 2, the illumination head 3, and the like, and acquires an optical system reference image. The optical system reference image is converted from an analog image to a digital image by the A / D converter 12 and stored in the image memory 13.

特徴計測/判定部28が、光学系基準画像を用いて所定の特徴を計測して光学系基準計測値を取得する。基準データ記憶部29は、光学系基準計測値を記憶する。以上で事前準備が終了する。   The feature measurement / determination unit 28 measures a predetermined feature using the optical system reference image and acquires an optical system reference measurement value. The reference data storage unit 29 stores an optical system reference measurement value. This completes the preparation.

次に、光学系診断の診断時について説明する。   Next, a description will be given of an optical system diagnosis.

まず、ステップS11で、 オペレータが、光学系診断専用試料9を、事前準備と同じ所定の位置に厳密に配置する。連続映像入力制御部30で自己周期での連続入力動作を実施し、カメラ2、照明ヘッド3等を用いて、光学系診断専用試料9を撮像し、光学系診断用画像を取得する。光学系診断用画像は、A/D変換部12でアナログ画像からデジタル画像へ変換され、画像メモリ13に記憶される。   First, in step S11, the operator strictly arranges the optical system diagnosis dedicated sample 9 at the same predetermined position as the preliminary preparation. The continuous video input control unit 30 performs a continuous input operation in a self cycle, images the optical system diagnostic dedicated sample 9 using the camera 2, the illumination head 3, and the like, and acquires an optical system diagnostic image. The optical system diagnostic image is converted from an analog image to a digital image by the A / D converter 12 and stored in the image memory 13.

ステップS12で、特徴計測/判定部28が、光学系診断用画像を用いて所定の特徴を計測して光学系診断用計測値を取得する。光学系診断用計測値と前記光学系基準計測値とは、同一の光学系診断専用試料9を同じ所定の位置に配置して撮影された光学系診断用画像と光学系基準画像の同一の特徴を計測したものであるので、一致すべきものである。このことを逆に利用すれば、すなわち、光学系診断用計測値と光学系基準計測値とが不一致であれば、光学系が変動したと考えることができる。第3の実施形態では、光学系診断用計測値と光学系基準計測値との一致不一致を判定することにより、光学系の診断をしている。   In step S <b> 12, the feature measurement / determination unit 28 measures a predetermined feature using the optical system diagnostic image and acquires an optical system diagnostic measurement value. The optical system diagnostic measurement value and the optical system reference measurement value have the same characteristics of the optical system diagnostic image and the optical system reference image that are photographed by placing the same optical system diagnostic dedicated sample 9 at the same predetermined position. Since these are measured values, they should match. If this is used in reverse, that is, if the optical system diagnostic measurement value and the optical system reference measurement value do not match, it can be considered that the optical system has changed. In the third embodiment, the optical system is diagnosed by determining the coincidence / mismatch between the optical system diagnostic measurement value and the optical system reference measurement value.

ステップS13で、特徴計測/判定部28が、光学系診断用計測値に対応する光学系基準計測値を、基準データ記憶部29から順次読み出す。特徴計測/判定部28が、光学系診断用計測値が光学系基準計測値に許容範囲を加味して一致するか否かの判定(照合)を行う。一致する場合はステップS17へ進み(ステップS13、Yes)、不一致の場合はステップS14へ進む(ステップS13、No)。   In step S <b> 13, the feature measurement / determination unit 28 sequentially reads out the optical system reference measurement values corresponding to the optical system diagnostic measurement values from the reference data storage unit 29. The feature measurement / determination unit 28 determines (collates) whether or not the optical system diagnostic measurement value matches the optical system reference measurement value by adding an allowable range. If they match, the process proceeds to step S17 (step S13, Yes), and if they do not match, the process proceeds to step S14 (step S13, No).

ステップS14では、機能確認記録部21が、判定の結果が不一致である旨の警告を表示し、オペレータに対策の実施を促す。ステップS15では、機能確認記録部21が、判定の結果が不一致であった旨と、不一致と判定された光学系診断用計測値と光学系基準計測値と、診断日時とを帳票に記録する。なお、ステップS16で、オペレータは、不一致と判定された光学系診断用計測値と光学系基準計測値に対応する所定の特徴を、変更可能な変更パラメータを変更し、所定の特徴を較正してもよい。そして、この較正の結果を確認するために、ステップS11に戻る。   In step S14, the function confirmation recording unit 21 displays a warning that the determination results do not match, and prompts the operator to take countermeasures. In step S15, the function confirmation recording unit 21 records that the determination result is inconsistent, the optical system diagnostic measurement value, the optical system reference measurement value, and the diagnosis date and time that are determined to be inconsistent, in the form. In step S16, the operator changes the predetermined feature corresponding to the optical system diagnostic measurement value determined to be inconsistent and the optical system reference measurement value, changes the change parameter that can be changed, and calibrates the predetermined feature. Also good. And in order to confirm the result of this calibration, it returns to step S11.

ステップS17では、機能確認記録部21が、ステップS16での較正前後の変更パラメータの設定値を帳票に記録する。また、機能確認記録部21は、全ての特徴(光学系基準計測値)について診断を実施した旨と、診断日時とを帳票に記録する。以上で、光学系診断の診断方法が終了する。光学系診断の診断方法では、検査精度診断範囲(図1参照)と、検査起動制御部11を除いた検査動作診断範囲(図1参照)が用いられることなく診断が行われていることがわかる。このため、光学系診断の診断方法では、検査精度診断範囲と、検査起動制御部11を除いた検査動作診断範囲の影響を受けることがない。   In step S17, the function confirmation recording unit 21 records the setting values of the change parameters before and after calibration in step S16 in a form. In addition, the function confirmation recording unit 21 records the fact that diagnosis has been performed on all features (optical system reference measurement values) and the diagnosis date and time in a form. This is the end of the diagnostic method for optical system diagnosis. In the diagnostic method of the optical system diagnosis, it is understood that the diagnosis is performed without using the inspection accuracy diagnosis range (see FIG. 1) and the inspection operation diagnosis range (see FIG. 1) excluding the inspection activation control unit 11. . For this reason, in the diagnostic method of the optical system diagnosis, the inspection accuracy diagnosis range and the inspection operation diagnosis range excluding the inspection activation control unit 11 are not affected.

なお、ステップS16の較正としては、通常運用で想定されるものとして、照明ヘッド3の劣化による照度低下に対応するための、照明ボリューム調整やレンズ絞り調整が考えられる。また、カメラ2のレンズ面の汚れによるピントおよびコントラストの較正としてレンズ面の清掃が考えられる。また、カメラ2の設置位置の較正としては、カメラ2が故障して取り外して修理した際の復元作業などが考えられる。以上のように、光学系劣化予防保全のために光学系診断が有効に動作する。そして、前記検査精度診断では、検査画像のデジタル処理の範疇の診断を行ったが、光学系診断では、検査画像のアナログ処理の範疇の診断を行っていると考えられる。そして、前記検査精度診断と光学系診断とにより、検査画像の画像処理全般を診断していると考えられる。   Note that as the calibration in step S16, as assumed in normal operation, illumination volume adjustment and lens aperture adjustment to cope with illuminance reduction due to deterioration of the illumination head 3 can be considered. Further, cleaning of the lens surface can be considered as a calibration of focus and contrast due to contamination of the lens surface of the camera 2. Further, as the calibration of the installation position of the camera 2, a restoration work when the camera 2 is broken and removed and repaired can be considered. As described above, the optical system diagnosis operates effectively for the optical system deterioration preventive maintenance. In the inspection accuracy diagnosis, diagnosis of the category of digital processing of the inspection image is performed, but in the optical system diagnosis, it is considered that diagnosis of the category of analog processing of the inspection image is performed. Then, it is considered that the entire image processing of the inspection image is diagnosed by the inspection accuracy diagnosis and the optical system diagnosis.

また、光学系診断の診断方法においては、実際に被検査製品7を製品搬送装置8に流す必要がない。このため、容易かつ短時間で診断ができ、劣化しやすくロットのばらつきの影響を受けやすい被検査製品7を用いることもないので、診断の再現性を向上できる。
また、診断が、光学系基準計測値に対する一致不一致のように、判定に恣意を挟む余地がなく、明確で容易であるので、オペレータの個人差をなくすことができる。そして、検査装置1に習熟していないオペレータでも容易に検査装置1の光学系診断をすることができる。
Further, in the diagnostic method for optical system diagnosis, it is not necessary to actually flow the product 7 to be inspected to the product conveying device 8. For this reason, diagnosis can be performed easily and in a short time, and the product 7 to be inspected which is easily deteriorated and easily affected by lot variations is not used, so that the reproducibility of diagnosis can be improved.
In addition, since the diagnosis is clear and easy as there is no room for arbitrary judgment as in the case of coincidence / inconsistency with respect to the optical system reference measurement value, individual differences among operators can be eliminated. Even an operator who is not familiar with the inspection apparatus 1 can easily make an optical system diagnosis of the inspection apparatus 1.

また、診断の結果を帳票に記録できるので、検査装置1の光学系の性能を保障することが可能になり、検査装置1の信頼性を高めることができる。   In addition, since the diagnosis result can be recorded on the form, it is possible to guarantee the performance of the optical system of the inspection apparatus 1 and to improve the reliability of the inspection apparatus 1.

(第4の実施形態)
図7に、本発明の第4の実施形態に係る検査装置1の構成図を示す。第4の実施形態の検査装置1は、検査動作診断部10bの構成が理解しやすいように、検査装置1内の他の構成要素との関係を明確にして記載したものである。そのため、第1の実施形態の検査装置1には記載されていた検査精度診断部10aと光学系診断部10cは、第4の実施形態の検査装置1でも備えているが、検査動作診断部10bの説明を容易にするために、記載を省略している。
(Fourth embodiment)
In FIG. 7, the block diagram of the test | inspection apparatus 1 which concerns on the 4th Embodiment of this invention is shown. The inspection apparatus 1 according to the fourth embodiment is described with a clear relationship with other components in the inspection apparatus 1 so that the configuration of the inspection operation diagnosis unit 10b can be easily understood. Therefore, although the inspection accuracy diagnosis unit 10a and the optical system diagnosis unit 10c described in the inspection device 1 of the first embodiment are also provided in the inspection device 1 of the fourth embodiment, the inspection operation diagnosis unit 10b. The description is omitted for easy explanation.

図7に示すように、検査動作診断部10bは、検査動作診断で行う項目とその実施順を制御管理する検査動作診断制御部18と、判定部19と、基準データ記憶部20と、機能確認記録部21と、出力切替部31を有している。   As shown in FIG. 7, the inspection operation diagnosis unit 10b includes an inspection operation diagnosis control unit 18 that controls and manages items to be performed in the inspection operation diagnosis and the execution order thereof, a determination unit 19, a reference data storage unit 20, and a function check. A recording unit 21 and an output switching unit 31 are provided.

図8に、本発明の第4の実施形態に係る検査装置の診断方法(検査動作診断用)のフローチャートを示す。検査動作診断では、ハードウエアの自己診断をする第1の小診断と、検査起動センサ4への入力タイミングを自己診断する第2の小診断と、検査結果出力を擬似確認する第3の小診断と、インターロックを擬似確認する第4の小診断から構成されている。以下では、これらの4つの小診断を順に説明する。   FIG. 8 shows a flowchart of an inspection apparatus diagnosis method (for inspection operation diagnosis) according to the fourth embodiment of the present invention. In the inspection operation diagnosis, a first sub-diagnosis for self-diagnosis of hardware, a second sub-diagnosis for self-diagnosis of input timing to the test activation sensor 4, and a third sub-diagnosis for pseudo-checking the test result output And a fourth sub-diagnosis for pseudo-checking the interlock. Below, these four small diagnoses are demonstrated in order.

まず、ハードウエアの自己診断をする第1の小診断について説明する。なお、ハードウエアの自己診断としては、例えば、メモリにテストパターンを書込/読込/照合するメモリテストや、画像処理LSIの動作テスト、各種センサの通電テスト、カメラ2の応答テスト、排出装置6の応答テストなどが考えられる。   First, the first small diagnosis for self-diagnosis of hardware will be described. As hardware self-diagnosis, for example, a memory test for writing / reading / verifying a test pattern in a memory, an operation test for an image processing LSI, an energization test for various sensors, a response test for the camera 2, and a discharge device 6 The response test can be considered.

ハードウエアの自己診断をする第1の小診断では、まず、この第1の小診断を実施するための事前準備を行う。事前準備としては、ハードウエアのテストプログラムで合格した場合に出力されるハードウエア合格信号を、テストプログラムの識別記号と関係付けて基準データ記憶部20に記憶する。以上で事前準備が終了する。   In the first sub-diagnosis for self-diagnosis of hardware, first, preparations for carrying out the first sub-diagnosis are performed. As advance preparation, a hardware pass signal output when the test is passed by the hardware test program is stored in the reference data storage unit 20 in association with the identification code of the test program. This completes the preparation.

次に、ハードウエアの自己診断をする第1の小診断の、診断時について説明する。   Next, the time of diagnosis of the first small diagnosis for self-diagnosis of hardware will be described.

ステップS21で、ハードウエアに自己診断処理としてテストプログラムを実行させ、ハードウエア診断用信号を取得する。   In step S21, a hardware diagnostic signal is acquired by causing the hardware to execute a test program as a self-diagnosis process.

ステップS22で、判定部19が、テストプログラムの識別記号に関係付けられたハードウエア合格信号を、基準データ記憶部20から順次読み出す。判定部19は、ハードウエア診断用信号がハードウエア合格信号に一致するか否かを判定する。一致する場合はステップS25(検査起動センサ4への入力タイミングを自己診断する第2の小診断)へ進み(ステップS22、Yes)、不一致の場合はステップS23へ進む(ステップS22、No)。   In step S <b> 22, the determination unit 19 sequentially reads out a hardware pass signal associated with the test program identification symbol from the reference data storage unit 20. The determination unit 19 determines whether or not the hardware diagnosis signal matches the hardware pass signal. If they match, the process proceeds to step S25 (second small diagnosis for self-diagnosis of the input timing to the test activation sensor 4) (step S22, Yes), and if they do not match, the process proceeds to step S23 (No in step S22).

ステップS23では、機能確認記録部21が、判定の結果が不一致である旨の警告を表示し、オペレータに対策の実施を促す。ステップS24では、機能確認記録部21が、判定の結果が不一致であった旨と、不一致と判定されたハードウエア合格信号に関係付けられたテストプログラムの識別記号と、診断日時とを帳票に記録する。   In step S23, the function confirmation recording unit 21 displays a warning that the determination results do not match, and prompts the operator to take countermeasures. In step S24, the function confirmation recording unit 21 records in the form that the determination result is inconsistent, the test program identification symbol related to the hardware pass signal determined to be inconsistent, and the diagnosis date and time. To do.

次に、検査起動センサ4への入力タイミングを自己診断する第2の小診断について説明する。検査起動センサ4への入力タイミングを自己診断する第2の小診断では、まず、この第2の小診断を実施するための事前準備を行う。事前準備としては、まず、オペレータが、任意の検査済被検査製品を用意する。検査装置1で、検査済被検査製品の検査を実施する。この検査において、光学系は、検査済被検査製品が検査画像の全体枠の中でどこに配置されているかを示す基準全体枠画像を撮影する。すなわち、通常に検査画像を撮影し、その検査画像を基準全体枠画像として、基準データ記憶部20に記憶させる。なお、基準全体枠画像を撮影する換わりに、検査画像上の理想位置にガイダンス枠を検査済被検査製品の像に換えて設けてもよい。   Next, a second small diagnosis for self-diagnosis of the input timing to the inspection activation sensor 4 will be described. In the second sub-diagnosis for self-diagnosis of the input timing to the inspection activation sensor 4, first, preliminary preparation for performing the second sub-diagnosis is performed. As advance preparation, an operator first prepares an arbitrary inspected product. The inspection apparatus 1 inspects the inspected product to be inspected. In this inspection, the optical system captures a reference entire frame image indicating where the inspected product to be inspected is arranged in the entire frame of the inspection image. That is, an inspection image is normally taken, and the inspection image is stored in the reference data storage unit 20 as a reference whole frame image. Instead of photographing the reference whole frame image, a guidance frame may be provided at the ideal position on the inspection image instead of the image of the inspected product to be inspected.

次に、検査起動センサ4への入力タイミングを自己診断する第2の小診断の、診断時について説明する。   Next, the time of diagnosis of the second small diagnosis for self-diagnosis of the input timing to the inspection activation sensor 4 will be described.

ステップS25で、オペレータが、任意の検査済被検査製品を用意する。検査装置1で、検査済被検査製品の検査を実施する。この検査において、光学系は、検査済被検査製品の検査画像を撮影する。その検査画像を診断用全体枠画像とする。   In step S25, the operator prepares an arbitrary inspected product. The inspection apparatus 1 inspects the inspected product to be inspected. In this inspection, the optical system takes an inspection image of the inspected product. The inspection image is set as a whole frame image for diagnosis.

ステップS26で、判定部19が、基準全体枠画像を、基準データ記憶部20から読み出す。判定部19は、診断用全体枠画像を基準全体枠画像に重ねる。すなわち、診断用全体枠画像と基準全体枠画像との座標系を一致させる。   In step S <b> 26, the determination unit 19 reads the reference whole frame image from the reference data storage unit 20. The determination unit 19 superimposes the diagnostic whole frame image on the reference whole frame image. That is, the coordinate systems of the diagnostic whole frame image and the reference whole frame image are matched.

ステップS27で、判定部19が、診断用全体枠画像内と基準全体枠画像内との検査済被検査製品の画像が許容範囲を加味して重なるか否かの判定をする。具体的には、診断用全体枠画像内の検査済被検査製品の座標と、基準全体枠画像内の検査済被検査製品の座標とが許容範囲を加味して一致するか否かの判定をする。一致する場合はステップS30(検査結果出力を擬似確認する第3の小診断)へ進み(ステップS27、Yes)、不一致の場合はステップS28へ進む(ステップS27、No)。   In step S <b> 27, the determination unit 19 determines whether or not the images of the inspected products in the diagnosis entire frame image and the reference entire frame image overlap with each other with an allowable range. Specifically, it is determined whether or not the coordinates of the inspected product in the diagnostic whole frame image and the coordinates of the inspected product in the reference whole frame image match in consideration of the allowable range. To do. If they match, the process proceeds to step S30 (third small diagnosis for pseudo-checking the test result output) (step S27, Yes), and if they do not match, the process proceeds to step S28 (step S27, No).

ステップS28では、機能確認記録部21が、判定の結果が不一致である(座標が重ならない)旨の警告を表示し、オペレータに対策の実施を促す。ステップS29では、機能確認記録部21が、判定の結果が不一致である(座標が重ならない)旨と、診断用全体枠画像内と基準全体枠画像内それぞれにおける検査済被検査製品の座標と、診断日時とを帳票に記録する。検査起動センサ4への入力タイミングを自己診断する第2の小診断によれば、検査起動センサ4の位置ずれや、製品搬送装置8の搬送条件の変動などを予防保全することができる。   In step S28, the function confirmation recording unit 21 displays a warning that the determination results do not match (coordinates do not overlap), and prompts the operator to take countermeasures. In step S29, the function confirmation recording unit 21 indicates that the determination result is inconsistent (coordinates do not overlap), the coordinates of the inspected product in the diagnostic whole frame image and the reference whole frame image, Record the date and time of diagnosis on the form. According to the second sub-diagnosis for self-diagnosis of the input timing to the inspection activation sensor 4, it is possible to prevent and maintain misalignment of the inspection activation sensor 4, fluctuations in conveyance conditions of the product conveyance device 8, and the like.

次に、検査結果出力を擬似確認する第3の小診断について説明する。検査結果出力を擬似確認する第3の小診断では、まず、この第3の小診断を実施するための事前準備を行う。事前準備としては、まず、オペレータが、検査結果判定部17の出力を擬似した擬似判定結果を作成し決定する。そして、オペレータは、基準データ記憶部20に、擬似判定結果を記憶させる。以上で事前準備が終了する。   Next, a description will be given of a third small diagnosis for pseudo-checking the test result output. In the third sub-diagnosis for pseudo-checking the test result output, first, preliminary preparation for performing the third sub-diagnosis is performed. As advance preparation, first, the operator creates and determines a pseudo determination result that simulates the output of the inspection result determination unit 17. Then, the operator stores the pseudo determination result in the reference data storage unit 20. This completes the preparation.

次に、検査結果出力を擬似確認する第3の小診断の、診断時について説明する。   Next, a description will be given of the time of diagnosis of the third sub-diagnosis for pseudo-checking the test result output.

ステップS30で、オペレータが、擬似判定結果パターン分の検査済被検査製品を用意し、検査装置1で検査を実施する。この検査において、検査起動センサ4は、擬似判定結果パターン分の検査済被検査製品を検知し検知信号を、検査起動制御部11へ送信する。検査起動制御部11は、検知信号の受信により、起動信号を、基準データ記憶部20へ、擬似判定結果の読み出し信号として、送信する。基準データ記憶部20では、起動信号に同期して、擬似判定結果を、出力切替部31へ出力する。出力切替部31では、診断時には擬似判定結果を入力し排出装置6へ出力する。なお、出力切替部31は、診断時以外、たとえば検査時には、検査結果判定部17からの判定結果を入力し排出装置6へ出力する。排出装置6は、擬似判定結果(パターン分)に応じて検査済被検査製品の排出動作を行う。   In step S <b> 30, the operator prepares inspected products corresponding to the pseudo determination result pattern, and performs inspection with the inspection apparatus 1. In this inspection, the inspection activation sensor 4 detects the inspected product corresponding to the pseudo determination result pattern and transmits a detection signal to the inspection activation control unit 11. Upon receipt of the detection signal, the inspection activation control unit 11 transmits the activation signal to the reference data storage unit 20 as a pseudo determination result read signal. The reference data storage unit 20 outputs the pseudo determination result to the output switching unit 31 in synchronization with the activation signal. The output switching unit 31 inputs a pseudo determination result and outputs it to the discharge device 6 at the time of diagnosis. The output switching unit 31 inputs the determination result from the inspection result determination unit 17 and outputs it to the discharge device 6 at the time of inspection other than the diagnosis, for example. The discharge device 6 performs a discharge operation of the inspected product according to the pseudo determination result (for the pattern).

ステップS31で、オペレータは、排出装置6の排出動作の合格不合格の順列動作が、擬似判定結果(パターン分)に一致しているか否かを目視確認により判定する。一致する場合はステップS33(インターロックを擬似確認する第4の小診断)へ進み(ステップS31、Yes)、不一致の場合はステップS32へ進む(ステップS31、No)。   In step S <b> 31, the operator determines whether or not the pass / fail permutation operation of the discharge operation of the discharge device 6 matches the pseudo determination result (for the pattern) by visual confirmation. If they match, the process proceeds to step S33 (fourth sub-diagnosis for pseudo-checking the interlock) (step S31, Yes), and if they do not match, the process proceeds to step S32 (No in step S31).

ステップS32では、オペレータが、GUIを介して判定の結果として「不一致(排出動作の不合格)」の旨を入力する。機能確認記録部21は、判定の結果が「不一致(排出動作の不合格)」の旨と、診断日時とを帳票に記録する。   In step S32, the operator inputs “disagreement (failure of discharge operation)” as a result of determination via the GUI. The function confirmation recording unit 21 records the fact that the determination result is “mismatch (failure of discharge operation)” and the diagnosis date and time in the form.

次に、インターロックを擬似確認する第4の小診断について説明する。インターロックを擬似確認する第4の小診断では、まず、この第4の小診断を実施するための事前準備を行う。事前準備としては、まず、オペレータが、インターロックが作動する検査結果判定部17の出力を擬似した擬似判定結果を作成し決定する。そして、オペレータは、基準データ記憶部20に、インターロックが作動する擬似判定結果を記憶させる。インターロックごとに擬似判定結果を作成すれば、もれなく、インターロックの作動確認をすることもできる。以上で事前準備が終了する。   Next, a fourth sub-diagnosis for pseudo-checking the interlock will be described. In the fourth sub-diagnosis for pseudo-checking the interlock, first, preliminary preparation for carrying out the fourth sub-diagnosis is performed. As advance preparation, first, the operator creates and determines a pseudo determination result that simulates the output of the inspection result determination unit 17 in which the interlock operates. Then, the operator causes the reference data storage unit 20 to store a pseudo determination result in which the interlock is activated. If a pseudo determination result is created for each interlock, the operation of the interlock can be confirmed without fail. This completes the preparation.

次に、インターロックを擬似確認する第4の小診断の、診断時について説明する。   Next, a description will be given of the time of diagnosis in the fourth sub-diagnosis for pseudo-checking the interlock.

ステップS33で、オペレータが、インターロックが作動する擬似判定結果パターン分の検査済被検査製品を用意し、検査装置1で検査を実施する。この検査において、検査起動センサ4は、インターロックが作動する擬似判定結果パターン分の検査済被検査製品を検知し検知信号を、検査起動制御部11へ送信する。検査起動制御部11は、検知信号の受信により、起動信号を、基準データ記憶部20へ、擬似判定結果の読み出し信号として、送信する。基準データ記憶部20では、起動信号に同期して、インターロックが作動する擬似判定結果を、出力切替部31へ出力する。出力切替部31では、診断時には擬似判定結果を入力し排出装置6へ出力する。排出装置6は、インターロックが作動する擬似判定結果(パターン分)に応じて検査済被検査製品の排出動作を行う。この排出動作により、インターロックが正常であれば、インターロックが作動し、製品搬送装置8が停止する。   In step S <b> 33, the operator prepares inspected products corresponding to the pseudo determination result pattern in which the interlock is activated, and inspects the inspection apparatus 1. In this inspection, the inspection activation sensor 4 detects the inspected product for the pseudo determination result pattern in which the interlock is activated, and transmits a detection signal to the inspection activation control unit 11. Upon receipt of the detection signal, the inspection activation control unit 11 transmits the activation signal to the reference data storage unit 20 as a pseudo determination result read signal. The reference data storage unit 20 outputs a pseudo determination result that the interlock is activated to the output switching unit 31 in synchronization with the activation signal. The output switching unit 31 inputs a pseudo determination result and outputs it to the discharge device 6 at the time of diagnosis. The discharge device 6 performs the discharge operation of the inspected product in accordance with the pseudo determination result (for the pattern) in which the interlock is activated. If the interlock is normal by this discharging operation, the interlock is activated and the product transport device 8 is stopped.

ステップS34で、オペレータは、製品搬送装置8が停止するか否かを目視確認により判定する。停止する場合はステップS36へ進み(ステップS34、Yes)、停止しない場合はステップS35へ進む(ステップS34、No)。   In step S <b> 34, the operator determines whether or not the product conveyance device 8 stops by visual confirmation. When it stops, it progresses to step S36 (step S34, Yes), and when it does not stop, it progresses to step S35 (step S34, No).

ステップS35では、オペレータが、GUIを介して判定の結果として「停止せず(インターロック動作の不合格)」の旨を入力する。機能確認記録部21は、判定の結果が「停止せず(インターロック動作の不合格)」の旨と、診断日時とを帳票に記録する。   In step S <b> 35, the operator inputs “not stop (interlock operation failure)” as a result of the determination via the GUI. The function confirmation recording unit 21 records in the form that the determination result is “not stop (interlock operation failed)” and the diagnosis date and time.

ステップS36に進むと、検査動作診断制御部18が、全動作確認が完了したか否か判定する。完了した場合はステップS37へ進み(ステップS36、Yes)、未完了の場合はステップS21へ戻る(ステップS36、No)。   In step S36, the inspection operation diagnosis control unit 18 determines whether or not all operation confirmations have been completed. If completed, the process proceeds to step S37 (step S36, Yes), and if not completed, the process returns to step S21 (step S36, No).

ステップS37では、機能確認記録部21が、全動作確認が完了した旨と、診断日時とを帳票に記録する。以上で、検査動作診断の診断方法が終了する。検査動作診断では、排出装置6の論理的動作を擬似的に実施させることで、検査精度診断範囲(図1参照)を用いることなく診断を行っている。このため、検査動作診断では、検査精度診断範囲の影響を受けることはない。   In step S <b> 37, the function confirmation recording unit 21 records the fact that all the operation confirmations are completed and the diagnosis date and time in the form. Thus, the diagnostic method for the examination operation diagnosis is completed. In the inspection operation diagnosis, the diagnosis is performed without using the inspection accuracy diagnosis range (see FIG. 1) by causing the logical operation of the discharge device 6 to be simulated. For this reason, the inspection operation diagnosis is not affected by the inspection accuracy diagnosis range.

インターロックについては、検査装置1ごとに内容が異なるが、インターロックを作動させる項目について網羅することで確認モレを防止できる。たとえば、排出ミスを検知して製品搬送装置8を停止する検査装置1においては、擬似的に排出装置6をストップさせる機能確認制御を行うことで、排出ミス検知の周辺設備(たとえば排出ミス検知センサなど)による正しい検知が行えることを確認するなどの確認モデルにも対応できる。   About an interlock, although the content differs for every test | inspection apparatus 1, a check leak can be prevented by covering about the item which operates an interlock. For example, in the inspection apparatus 1 that detects a discharge error and stops the product conveyance device 8, by performing function confirmation control for stopping the discharge device 6 in a pseudo manner, peripheral equipment (for example, a discharge error detection sensor) Etc.) can also be used for confirmation models such as confirming that correct detection can be performed.

また、診断が、判定に恣意を挟む余地がなく、明確で容易であるので、オペレータの個人差をなくすことができる。そして、検査装置1に習熟していないオペレータでも容易に検査装置1の検査動作診断をすることができる。
また、診断の結果を帳票に記録できるので、検査装置1の検査動作の性能を保障することが可能になり、検査装置1の信頼性を高めることができる。
In addition, since the diagnosis is clear and easy with no room for arbitrary determination, individual differences among operators can be eliminated. Even an operator who is not familiar with the inspection apparatus 1 can easily diagnose the inspection operation of the inspection apparatus 1.
In addition, since the result of diagnosis can be recorded on a form, it is possible to ensure the performance of the inspection operation of the inspection apparatus 1, and the reliability of the inspection apparatus 1 can be improved.

本発明の第1の実施形態に係る検査装置(検査精度診断、検査動作診断、および光学系診断用)の構成図である。It is a block diagram of the inspection apparatus (for inspection accuracy diagnosis, inspection operation diagnosis, and optical system diagnosis) according to the first embodiment of the present invention. 本発明の第2の実施形態に係る検査装置(検査精度診断用)の構成図である。It is a block diagram of the test | inspection apparatus (for test | inspection precision diagnosis) which concerns on the 2nd Embodiment of this invention. 本発明の第2の実施形態に係る検査装置の診断方法(検査精度診断用)のフローチャートである。It is a flowchart of the diagnostic method (for test | inspection precision diagnosis) of the test | inspection apparatus which concerns on the 2nd Embodiment of this invention. 本発明の第3の実施形態に係る検査装置(光学系診断用)の構成図である。It is a block diagram of the test | inspection apparatus (for optical system diagnosis) which concerns on the 3rd Embodiment of this invention. (a)は光学系診断専用試料を撮影した光学系画像であり、(b)は光学系画像に写った診断専用パターン内外における輝度分布を示すグラフである。(A) is the optical system image which image | photographed the sample only for optical system diagnosis, (b) is a graph which shows the luminance distribution inside and outside the diagnostic exclusive pattern reflected in the optical system image. 本発明の第3の実施形態に係る検査装置の診断方法(光学系診断用)のフローチャートである。It is a flowchart of the diagnostic method (for optical system diagnosis) of the inspection apparatus which concerns on the 3rd Embodiment of this invention. 本発明の第4の実施形態に係る検査装置(検査動作診断用)の構成図である。It is a block diagram of the test | inspection apparatus (for test | inspection operation | movement diagnosis) which concerns on the 4th Embodiment of this invention. 本発明の第4の実施形態に係る検査装置の診断方法(検査動作診断用)のフローチャートである。It is a flowchart of the diagnostic method (for test | inspection operation | movement diagnosis) of the test | inspection apparatus which concerns on the 4th Embodiment of this invention.

符号の説明Explanation of symbols

1 検査機
2 カメラ
3 照明ヘッド
4 検査起動センサ
5 照明電源
6 排出装置または選別装置
7 被検査製品
8 製品搬送装置
9 光学系診断専用試料
9a 診断専用パターン
9b 光学系診断専用試料の上面
10 診断装置
10a 検査精度診断部
10b 検査動作診断部
10c 光学系診断部
11 検査起動制御部
12 A/D変換部
13 画像メモリ
14 画像計測演算処理部
15 変数/閾値設定部
16 変数/閾値メモリ
17 検査結果判定部
18 検査動作診断制御部
19 判定部(第2判定部、第3判定部)
20 基準データ記憶部(第2記憶部、第3記憶部、第4記憶部、第5記憶部)
21 機能確認記録部(第1表示部、第2表示部、第3表示部、第4表示部、第5表示部、第6表示部)
22 検査精度診断制御部
23 入力ソース切替部
24 基準画像設定部
25 基準画像メモリ(第1記憶部)
26 検査精度判定部(第1判定部)
27 光学系診断制御部
28 特徴計測/判定部(特徴計測部、第6判定部)
29 基準データ記憶部(第6記憶部)
30 連続映像入力制御部
31 出力切替部
32 光学系画像
DESCRIPTION OF SYMBOLS 1 Inspection machine 2 Camera 3 Illumination head 4 Inspection start sensor 5 Illumination power supply 6 Discharge device or sorter 7 Product to be inspected 8 Product conveyance device 9 Optical system diagnostic exclusive sample 9a Diagnosis exclusive pattern 9b Optical system diagnostic exclusive sample top 10 Diagnosis device DESCRIPTION OF SYMBOLS 10a Inspection accuracy diagnostic part 10b Inspection operation diagnostic part 10c Optical system diagnostic part 11 Inspection start control part 12 A / D conversion part 13 Image memory 14 Image measurement arithmetic processing part 15 Variable / threshold setting part 16 Variable / threshold memory 17 Inspection result determination Unit 18 Inspection Operation Diagnosis Control Unit 19 Determination Unit (Second Determination Unit, Third Determination Unit)
20 reference data storage unit (second storage unit, third storage unit, fourth storage unit, fifth storage unit)
21 function confirmation recording unit (first display unit, second display unit, third display unit, fourth display unit, fifth display unit, sixth display unit)
22 inspection accuracy diagnosis control unit 23 input source switching unit 24 reference image setting unit 25 reference image memory (first storage unit)
26 Inspection accuracy determination unit (first determination unit)
27 Optical system diagnosis control unit 28 Feature measurement / determination unit (feature measurement unit, sixth determination unit)
29 Reference data storage unit (sixth storage unit)
30 Continuous Video Input Control Unit 31 Output Switching Unit 32 Optical System Image

Claims (12)

被検査製品を撮影した検査画像を生成する光学系と、
前記検査画像から所定の特性を計測して検査用計測値を取得する画像計測部と、
前記検査用計測値を判定閾値と比較して検査用判定結果を取得する検査結果判定部と、
前記検査用判定結果に応じて前記被検査製品を排出する排出装置とを有する検査装置の診断を行う診断装置において、
前記診断時に、前記光学系と前記排出装置を用いることなく、前記画像計測部と前記検査結果判定部を稼動させて、前記画像計測部と前記検査結果判定部の診断を行う検査精度診断部と、
前記診断時に、前記画像計測部と前記検査結果判定部を用いることなく、前記排出装置を稼動させて前記排出装置の診断を行う検査動作診断部との少なくともどちらか一方を有することを特徴とする診断装置。
An optical system for generating an inspection image of the inspected product;
An image measuring unit that measures predetermined characteristics from the inspection image and obtains a measurement value for inspection; and
An inspection result determination unit that compares the measurement value for inspection with a determination threshold value to obtain a determination result for inspection;
In a diagnostic apparatus for diagnosing an inspection apparatus having a discharge apparatus for discharging the inspected product according to the inspection determination result,
An inspection accuracy diagnosis unit for diagnosing the image measurement unit and the inspection result determination unit by operating the image measurement unit and the inspection result determination unit without using the optical system and the discharge device at the time of the diagnosis; ,
At the time of the diagnosis, it has at least one of an inspection operation diagnosis unit that operates the discharge device and diagnoses the discharge device without using the image measurement unit and the inspection result determination unit. Diagnostic device.
前記診断時に、前記画像計測部と前記検査結果判定部と前記排出装置を用いることなく、前記光学系を稼動させて、前記光学系の診断を行う光学系診断部を有することを特徴とする請求項1に記載の診断装置。   The optical system diagnostic unit that operates the optical system and diagnoses the optical system without using the image measurement unit, the inspection result determination unit, and the ejection device at the time of the diagnosis. Item 2. The diagnostic device according to Item 1. 前記検査精度診断部は、
前記被検査製品の検査の基準となる検査基準製品から光学系によって撮影された基準画像と、前記画像計測部によって前記基準画像から前記特性を計測して取得された基準計測値と、前記検査結果判定部によって前記基準計測値を前記判定閾値と比較して取得された基準判定結果とを互いに関係付けて、前記診断前に記憶する第1記憶部と、
前記診断時に、前記画像計測部によって前記第1記憶部から読み出された前記基準画像から前記特性を計測して取得された診断用計測値が、前記基準画像に関係付けられた前記基準計測値に一致するか否かの判定と、前記診断時に、前記検査結果判定部によって前記診断用計測値を前記判定閾値と比較して取得された診断用判定結果が、前記基準画像に関係付けられた前記基準判定結果に一致するか否かの判定との少なくとも1つを行う第1判定部と、
前記診断時に、少なくとも1つの前記判定の結果が不一致なら、警告を表示する第1表示部とを有することを特徴とする請求項1又は請求項2に記載の診断装置。
The inspection accuracy diagnosis unit
A reference image taken by an optical system from an inspection reference product serving as a reference for inspection of the inspected product, a reference measurement value obtained by measuring the characteristic from the reference image by the image measurement unit, and the inspection result A first storage unit that correlates a reference determination result obtained by comparing the reference measurement value with the determination threshold by the determination unit, and stores the result before the diagnosis;
The reference measurement value related to the reference image obtained by measuring the characteristic from the reference image read from the first storage unit by the image measurement unit during the diagnosis. And at the time of diagnosis, a diagnostic determination result obtained by comparing the diagnostic measurement value with the determination threshold by the examination result determination unit is related to the reference image. A first determination unit that performs at least one of determination on whether or not the reference determination result matches,
The diagnostic apparatus according to claim 1, further comprising: a first display unit that displays a warning if at least one of the determination results does not match at the time of the diagnosis.
前記検査動作診断部は、
前記検査装置を構成するハードウエアのテストプログラムで合格した場合に出力されるハードウエア合格信号を、前記診断前に記憶する第2記憶部と、
前記診断時に、前記ハードウエアに前記テストプログラムを実行させ取得したハードウエア診断用信号が、前記ハードウエア合格信号に一致するか否かの判定を行う第2判定部と、
前記診断時に、前記判定の結果が不一致なら、警告を表示する第2表示部とを有することを特徴とする請求項1乃至請求項3のいずれか1項に記載の診断装置。
The inspection operation diagnosis unit
A second storage unit that stores a hardware pass signal that is output when the test program of the hardware that constitutes the inspection apparatus passes, and before the diagnosis;
A second determination unit that determines whether or not a hardware diagnosis signal acquired by executing the test program on the hardware matches the hardware pass signal at the time of the diagnosis;
The diagnostic apparatus according to any one of claims 1 to 3, further comprising a second display unit that displays a warning if the determination result does not match at the time of the diagnosis.
前記検査動作診断部は、
前記光学系によって任意の検査済被検査製品を撮影して取得された基準全体枠画像を、前記診断前に記憶する第3記憶部と、
前記診断時に、前記光学系によって任意の検査済被検査製品を再度撮影して取得された診断用全体枠画像の座標系を前記基準全体枠画像の座標系に一致させ、前記診断用全体枠画像内と前記基準全体枠画像内との検査済被検査製品の画像の座標が一致するか否かの判定を行う第3判定部と、
前記診断時に、前記判定の結果が不一致なら、警告を表示する第3表示部とを有することを特徴とする請求項1乃至請求項4のいずれか1項に記載の診断装置。
The inspection operation diagnosis unit
A third storage unit that stores a reference whole frame image acquired by photographing any inspected product to be inspected by the optical system before the diagnosis;
At the time of diagnosis, the diagnostic entire frame image is made to coincide with the coordinate system of the reference entire frame image obtained by re-photographing any inspected product to be inspected again by the optical system. A third determination unit for determining whether or not the coordinates of the image of the inspected product in the reference whole frame image coincide with each other;
The diagnostic apparatus according to any one of claims 1 to 4, further comprising a third display unit that displays a warning if the result of the determination does not match at the time of the diagnosis.
前記検査動作診断部は、
前記検査用判定結果に対応し前記被検査製品を排出可能な擬似判定結果を、前記診断前に記憶する第4記憶部と、
前記診断時に、前記排出装置の前記第4記憶部から入力された擬似判定結果に応じた検査済被検査製品の排出動作により、オペレータに、前記排出動作が前記擬似判定結果に一致しているか否かの判定の入力を促す第4表示部とを有することを特徴とする請求項1乃至請求項5のいずれか1項に記載の診断装置。
The inspection operation diagnosis unit
A fourth storage unit that stores a pseudo determination result corresponding to the determination result for inspection and capable of discharging the inspected product before the diagnosis;
Whether the discharge operation matches the pseudo determination result to the operator by the discharge operation of the inspected product in accordance with the pseudo determination result input from the fourth storage unit of the discharge device at the time of the diagnosis. The diagnostic apparatus according to claim 1, further comprising a fourth display unit that prompts an input of the determination.
前記検査動作診断部は、
前記検査用判定結果に対応し前記被検査製品を排出可能でインターロックが作動する擬似判定結果を、前記診断前に記憶する第5記憶部と、
前記診断時において、前記排出装置の前記第5記憶部から入力された擬似判定結果に応じた検査済被検査製品の排出動作により、前記インターロックが作動し、オペレータに、前記インターロックが作動したか否かの判定の入力を促す第5表示部とを有することを特徴とする請求項1乃至請求項6のいずれか1項に記載の診断装置。
The inspection operation diagnosis unit
A fifth storage unit for storing a pseudo determination result corresponding to the determination result for inspection and discharging the inspected product and operating the interlock before the diagnosis;
At the time of the diagnosis, the interlock was activated by the ejection operation of the inspected product inspected according to the pseudo determination result input from the fifth storage unit of the ejection device, and the interlock was activated to the operator. The diagnostic apparatus according to claim 1, further comprising: a fifth display unit that prompts an input of whether or not the determination is made.
前記光学系診断部は、
前記光学系によって所定の位置に置かれた光学系診断専用試料を撮影して取得された光学系基準画像を用いて所定の特徴を計測して光学系基準計測値を、前記診断前に取得する特徴計測部と、
前記光学系基準計測値を、前記診断前に記憶する第6記憶部と、
前記診断時において、前記光学系によって前記所定の位置と同じ位置に置かれた前記光学系診断専用試料を撮影して取得された光学系診断用画像を用いて、前記特徴計測部が前記所定の特徴を計測して取得する光学系診断用計測値が、前記光学系基準計測値に一致するか否かの判定を行う第6判定部と、
前記診断時において、前記判定の結果が不一致なら、警告を表示する第6表示部とを有することを特徴とする請求項1乃至請求項7のいずれか1項に記載の診断装置。
The optical system diagnostic unit is
An optical system reference measurement value is obtained before the diagnosis by measuring a predetermined feature using an optical system reference image acquired by photographing an optical system diagnosis dedicated sample placed at a predetermined position by the optical system. A feature measurement unit;
A sixth storage unit for storing the optical system reference measurement value before the diagnosis;
At the time of the diagnosis, the feature measurement unit uses the optical system diagnostic image acquired by photographing the optical system diagnostic dedicated sample placed at the same position as the predetermined position by the optical system, A sixth determination unit configured to determine whether or not an optical system diagnostic measurement value obtained by measuring a characteristic matches the optical system reference measurement value;
The diagnostic apparatus according to claim 1, further comprising: a sixth display unit that displays a warning if the result of the determination does not match at the time of the diagnosis.
被検査製品を撮影した検査画像を生成する光学系と、
前記検査画像から所定の特性を計測して検査用計測値を取得する画像計測部と、
前記検査用計測値を判定閾値と比較して検査用判定結果を取得する検査結果判定部と、
前記検査用判定結果に応じて前記被検査製品を排出する排出装置とを有する検査装置の診断を行う診断方法において、
前記診断時に、前記光学系と前記排出装置を用いることなく、前記画像計測部と前記検査結果判定部を稼動させて、前記画像計測部と前記検査結果判定部の診断を行う検査精度診断ステップと、
前記診断時に、前記画像計測部と前記検査結果判定部を用いることなく、前記排出装置を稼動させて前記排出装置の診断を行う検査動作診断ステップとの少なくともどちらか一方を有することを特徴とする診断方法。
An optical system for generating an inspection image of the inspected product;
An image measuring unit that measures predetermined characteristics from the inspection image and obtains a measurement value for inspection; and
An inspection result determination unit that compares the measurement value for inspection with a determination threshold value to obtain a determination result for inspection;
In a diagnostic method for diagnosing an inspection apparatus having a discharge apparatus for discharging the inspected product according to the determination result for inspection,
An inspection accuracy diagnosis step of diagnosing the image measurement unit and the inspection result determination unit by operating the image measurement unit and the inspection result determination unit without using the optical system and the discharge device at the time of the diagnosis; ,
At the time of the diagnosis, it has at least one of an inspection operation diagnosis step of operating the discharge device and diagnosing the discharge device without using the image measurement unit and the inspection result determination unit. Diagnosis method.
前記診断時に、前記画像計測部と前記検査結果判定部と前記排出装置を用いることなく、前記光学系を稼動させて、前記光学系の診断を行う光学系診断ステップを有することを特徴とする請求項9に記載の診断方法。   The optical system diagnosis step of diagnosing the optical system by operating the optical system without using the image measurement unit, the inspection result determination unit, and the discharge device at the time of the diagnosis. Item 10. The diagnostic method according to Item 9. 被検査製品を撮影した検査画像を生成する光学系と、
前記検査画像から所定の特性を計測して検査用計測値を取得する画像計測部と、
前記検査用計測値を判定閾値と比較して検査用判定結果を取得する検査結果判定部と、
前記検査用判定結果に応じて前記被検査製品を排出する排出装置とを有する検査装置において、
前記検査装置の診断を行う診断時に、前記光学系と前記排出装置を用いることなく、前記画像計測部と前記検査結果判定部を稼動させて、前記画像計測部と前記検査結果判定部の診断を行う検査精度診断部と、
前記診断時に、前記画像計測部と前記検査結果判定部を用いることなく、前記排出装置を稼動させて前記排出装置の診断を行う検査動作診断部との少なくともどちらか一方を有することを特徴とする検査装置。
An optical system for generating an inspection image of the inspected product;
An image measuring unit that measures predetermined characteristics from the inspection image and obtains a measurement value for inspection; and
An inspection result determination unit that compares the measurement value for inspection with a determination threshold value to obtain a determination result for inspection;
In an inspection apparatus having a discharge device for discharging the inspected product according to the determination result for inspection,
During the diagnosis for diagnosing the inspection device, the image measurement unit and the inspection result determination unit are operated without using the optical system and the discharge device, and the image measurement unit and the inspection result determination unit are diagnosed. An inspection accuracy diagnosis unit to be performed;
At the time of the diagnosis, it has at least one of an inspection operation diagnosis unit that operates the discharge device and diagnoses the discharge device without using the image measurement unit and the inspection result determination unit. Inspection device.
前記診断時に、前記画像計測部と前記検査結果判定部と前記排出装置を用いることなく、前記光学系を稼動させて、前記光学系の診断を行う光学系診断部を有することを特徴とする請求項11に記載の検査装置。   The optical system diagnostic unit that operates the optical system and diagnoses the optical system without using the image measurement unit, the inspection result determination unit, and the ejection device at the time of the diagnosis. Item 12. The inspection apparatus according to Item 11.
JP2007235104A 2007-09-11 2007-09-11 Diagnostic device, diagnostic method, and inspection device Active JP4918003B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007235104A JP4918003B2 (en) 2007-09-11 2007-09-11 Diagnostic device, diagnostic method, and inspection device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007235104A JP4918003B2 (en) 2007-09-11 2007-09-11 Diagnostic device, diagnostic method, and inspection device

Publications (2)

Publication Number Publication Date
JP2009068880A true JP2009068880A (en) 2009-04-02
JP4918003B2 JP4918003B2 (en) 2012-04-18

Family

ID=40605317

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007235104A Active JP4918003B2 (en) 2007-09-11 2007-09-11 Diagnostic device, diagnostic method, and inspection device

Country Status (1)

Country Link
JP (1) JP4918003B2 (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6134682A (en) * 1984-07-26 1986-02-18 Fujitsu Ltd Pattern array inspecting device
JPH07140092A (en) * 1993-11-16 1995-06-02 Fuji Electric Co Ltd Picture inspection system
JPH0843048A (en) * 1994-07-26 1996-02-16 Kanebo Ltd Method and apparatus for compensating inspection accuracy of inspecting system for appearance of article
JPH08136471A (en) * 1994-11-11 1996-05-31 Nkk Corp Self-diagnosing apparatus for surface defect detector
JPH10325807A (en) * 1997-03-24 1998-12-08 Hitachi Ltd Standard sample for calibration of optical inspection apparatus, its manufacture and method for calibrating sensitivity of the apparatus
JP2001052172A (en) * 1999-08-04 2001-02-23 Kirin Techno-System Corp Operation diagnosing method for automatic examination device
JP2002090306A (en) * 2000-09-19 2002-03-27 Nkk Corp Self-diagnostic method for surface inspection device
JP2005115566A (en) * 2003-10-06 2005-04-28 Murata Mach Ltd Data processor and test method for data processor
JP2005206307A (en) * 2004-01-22 2005-08-04 Fuji Xerox Co Ltd Conveying method, failure diagnostic device, conveying apparatus, and image forming device
JP2007033284A (en) * 2005-07-28 2007-02-08 Matsushita Electric Ind Co Ltd Method and apparatus for inspecting cylindrical article

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6134682A (en) * 1984-07-26 1986-02-18 Fujitsu Ltd Pattern array inspecting device
JPH07140092A (en) * 1993-11-16 1995-06-02 Fuji Electric Co Ltd Picture inspection system
JPH0843048A (en) * 1994-07-26 1996-02-16 Kanebo Ltd Method and apparatus for compensating inspection accuracy of inspecting system for appearance of article
JPH08136471A (en) * 1994-11-11 1996-05-31 Nkk Corp Self-diagnosing apparatus for surface defect detector
JPH10325807A (en) * 1997-03-24 1998-12-08 Hitachi Ltd Standard sample for calibration of optical inspection apparatus, its manufacture and method for calibrating sensitivity of the apparatus
JP2001052172A (en) * 1999-08-04 2001-02-23 Kirin Techno-System Corp Operation diagnosing method for automatic examination device
JP2002090306A (en) * 2000-09-19 2002-03-27 Nkk Corp Self-diagnostic method for surface inspection device
JP2005115566A (en) * 2003-10-06 2005-04-28 Murata Mach Ltd Data processor and test method for data processor
JP2005206307A (en) * 2004-01-22 2005-08-04 Fuji Xerox Co Ltd Conveying method, failure diagnostic device, conveying apparatus, and image forming device
JP2007033284A (en) * 2005-07-28 2007-02-08 Matsushita Electric Ind Co Ltd Method and apparatus for inspecting cylindrical article

Also Published As

Publication number Publication date
JP4918003B2 (en) 2012-04-18

Similar Documents

Publication Publication Date Title
US11449980B2 (en) System and method for combined automatic and manual inspection
US8179434B2 (en) System and method for imaging of curved surfaces
TW202001699A (en) Defect inspection system and method using artificil intelligence
JPS5937451A (en) Method and device for automatically inspecting vessel
JPWO2004036197A1 (en) Glass bottle inspection equipment
KR20190122550A (en) Inspection management system, inspection management apparatus and inspection management method
JP5974870B2 (en) Product image inspection apparatus and product image inspection method
JP2004517318A (en) Inspection apparatus and method
KR20140091916A (en) Inspection Method For Display Panel
US11682113B2 (en) Multi-camera visual inspection appliance and method of use
JP4918003B2 (en) Diagnostic device, diagnostic method, and inspection device
JP2006251561A (en) Defective pixel repairing method
JP6985210B2 (en) Inspection function diagnostic device, inspection function diagnosis method and inspection function diagnosis program
KR20210022278A (en) Apparatus and Method for detecting Defective Parts with Infrared Camera
JP5959430B2 (en) Bottle cap appearance inspection device and appearance inspection method
JP2004271205A (en) Defect inspection device of container mouth part
KR100691433B1 (en) Electronic part vision inspection method
JP2001235425A (en) Method and apparatus for inspecting thickness irregularity of pet bottle
KR100304646B1 (en) Bottle inspection system and method thereof
JPH10206337A (en) Automatic visual inspection device for semiconductor wafer
KR100939600B1 (en) Product-quality inspection system and method thereof
TWI761651B (en) Optical inspection system and method with high information
US20220330420A1 (en) Method of verifying fault of inspection unit, inspection apparatus and inspection system
US11410297B2 (en) Method of verifying fault of inspection unit, inspection apparatus and inspection system
JP6860227B2 (en) Cap inspection method and inspection equipment

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20090605

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110704

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110712

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110912

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: 20120117

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: 20120127

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

Free format text: PAYMENT UNTIL: 20150203

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 4918003

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350