JP2002163636A - Visual examination device - Google Patents

Visual examination device

Info

Publication number
JP2002163636A
JP2002163636A JP2000360246A JP2000360246A JP2002163636A JP 2002163636 A JP2002163636 A JP 2002163636A JP 2000360246 A JP2000360246 A JP 2000360246A JP 2000360246 A JP2000360246 A JP 2000360246A JP 2002163636 A JP2002163636 A JP 2002163636A
Authority
JP
Japan
Prior art keywords
image processing
image
data
processing system
measurement
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
JP2000360246A
Other languages
Japanese (ja)
Other versions
JP4078507B2 (en
Inventor
Yukihiro Komatsu
幸広 小松
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Omron Corp
Original Assignee
Omron Corp
Omron Tateisi Electronics Co
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Omron Corp, Omron Tateisi Electronics Co filed Critical Omron Corp
Priority to JP2000360246A priority Critical patent/JP4078507B2/en
Publication of JP2002163636A publication Critical patent/JP2002163636A/en
Application granted granted Critical
Publication of JP4078507B2 publication Critical patent/JP4078507B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

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

Abstract

PROBLEM TO BE SOLVED: To provide a visual examination device capable of performing the re-adjustment or the like of setting data for visual measurement or visual examination even during examination operation. SOLUTION: A first image processing system mainly composed of a microprocessor, a peripheral circuit for image processing and an image memory and a second image processing system mainly composed of a microprocessor, a peripheral circuit for image processing and an image memory are provided parallel to image data from a camera. A processing program in a measuring mode for measuring a target on the basis of input image data and a processing program in a setting mode for executing setting required for measuring the target are integrated in each of first and second image processing systems so as to be alternatively run, and further, the device is provided with a third system, which is mainly composed of a microprocessor and a data memory, capable of separately exchanging data in cooperation with the first and second image processing systems and an execution mode switching means for switching the execution modes in the respective first and second image processing systems in response to a command applied from the outside.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】この発明は、工場の生産ライ
ンにおける製品検査等の用途に好適なビジュアル検査装
置に係り、特に、生産ラインを停止させることなく、計
測や検査に必要な設定データをオンラインで変更可能と
したビジュアル検査装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a visual inspection apparatus suitable for use in product inspection and the like on a production line of a factory, and more particularly, to online setting data required for measurement and inspection without stopping the production line. The present invention relates to a visual inspection device that can be changed by the user.

【0002】[0002]

【従来の技術】従来のビジュアル検査装置の電気的なハ
ードウェア構成の一例が図10に概略的に示されてい
る。図において、100はビジュアル検査装置、101
は検査用カメラ120から得られるアナログ画像信号を
アナログ/デジタル変換するためのA/D変換器、10
2はA/D変換器101から得られる画像データが格納
される画像メモリ、103は画像処理用の周辺回路とし
て機能する画像処理用LSI、104はデジタル画像信
号をデジタル/アナログ変換するためのD/A変換器、
105はマイクロプロセッサを主体として構成されて、
装置全体を統括制御するCPU、106は計測や検査の
ために必要な各種の設定データが格納されるデータメモ
リ、107は各種の操作指令を与えるためのコンソール
が接続されるコンソールインタフェース(I/F)、1
08は外部機器とのシリアルデータ送受信を行うための
シリアル入出力インタフェース(I/F)、109は外
部機器とのパラレルデータ送受信を行うためのパラレル
入出力インタフェース(I/F)である。
2. Description of the Related Art An example of an electrical hardware configuration of a conventional visual inspection apparatus is schematically shown in FIG. In the figure, 100 is a visual inspection device, 101
Are A / D converters for analog-to-digital conversion of analog image signals obtained from the inspection camera 120;
Reference numeral 2 denotes an image memory for storing image data obtained from the A / D converter 101; 103, an image processing LSI functioning as a peripheral circuit for image processing; 104, a D for digital / analog conversion of a digital image signal. / A converter,
105 is mainly composed of a microprocessor,
A CPU for overall control of the entire apparatus, a data memory 106 for storing various setting data necessary for measurement and inspection, and a console interface (I / F) 107 to which a console for giving various operation commands is connected ), 1
Reference numeral 08 denotes a serial input / output interface (I / F) for transmitting / receiving serial data to / from an external device, and reference numeral 109 denotes a parallel input / output interface (I / F) for transmitting / receiving parallel data to / from an external device.

【0003】同装置の動作を系統的に簡単に説明する。
例えば、搬送ライン上の検査対象製品(図示せず)は、
検査用カメラ120により撮影され、これにより得られ
た画像データは、画像メモリ102に逐次格納される。
CPU105では、この画像メモリ102に格納された
画像データに対して、ユーザにより設定された各種の設
定データに従って様々な画像処理を行なって、当該製品
の計測や良否判定等を行い、計測結果としての数値デー
タや判定結果としての二値信号をシリアル入出力108
やパラレル入出力109に出力して、外部機器(例え
ば、PLCやパソコン等)に送出する。同時に、これら
の計測結果や判定結果は、画像モニタ130の画面上に
も、例えば『100.52mm』、『OK』、『NG』
等として表示される。
The operation of the apparatus will be described systematically and simply.
For example, a product to be inspected (not shown) on a transport line is
Image data is taken by the inspection camera 120 and image data obtained by this is sequentially stored in the image memory 102.
The CPU 105 performs various image processings on the image data stored in the image memory 102 in accordance with various setting data set by the user, performs measurement of the product, determines acceptability, and the like, and performs measurement as a result of the measurement. Numerical data and binary signals as judgment results are serially input / output 108
And to the parallel input / output 109 to send to an external device (for example, a PLC or a personal computer). At the same time, these measurement results and determination results are also displayed on the screen of the image monitor 130, for example, “100.52 mm”, “OK”, “NG”.
And so on.

【0004】画像処理のためにユーザが設定する設定デ
ータとしては、例えば、検査対象領域を特定するための
領域特定データ、検査対象となるパターンを特定するた
めの基準パターンデータ、検査対象物の良否を判定する
ための閾値パターン等々のように様々なものが挙げられ
る。
The setting data set by the user for image processing includes, for example, area specifying data for specifying an inspection target area, reference pattern data for specifying a pattern to be inspected, and pass / fail of the inspection target. There are various patterns such as a threshold pattern for judging.

【0005】そのため、CPU105を構成する内部R
OM(図示せず)には、入力画像データに基づいて対象
物に関する計測を実行する計測モードの処理プログラム
と、対象物に関する計測に必要な設定を実行する設定モ
ードの処理プログラムとが択一的に実行可能に組み込ま
れている。
For this reason, the internal R
In the OM (not shown), a processing program in a measurement mode for executing measurement on an object based on input image data and a processing program in a setting mode for executing settings required for measurement on the object are alternatively provided. Is built into the executable.

【0006】[0006]

【発明が解決しようとする課題】この種のビジュアル検
査装置を使用した検査において、正確な計測値や検査結
果を得るためには、その計測や検査に必要な各種の設定
データの値についても、できるだけ正確であることが要
求される。そのため、この種のビジュアル検査において
は、計測結果や検査結果の値に応じて設定データの値を
再調整する必要が生ずる。
In an inspection using this kind of visual inspection apparatus, in order to obtain accurate measurement values and inspection results, various setting data values necessary for the measurement and inspection are also required. It must be as accurate as possible. Therefore, in this type of visual inspection, it is necessary to readjust the value of the setting data according to the value of the measurement result or the inspection result.

【0007】設定データの再調整を行うためには、動作
モードを『計測モード』から『設定モード』に切り替え
なければならない。先に述べたように、CPU105を
構成する内部ROM(図示せず)には、入力画像データ
に基づいて対象物に関する計測を実行する計測モードの
処理プログラムと、対象物に関する計測に必要な設定を
実行する設定モードの処理プログラムとが択一的に実行
可能に組み込まれている。
In order to readjust the setting data, the operation mode must be switched from "measurement mode" to "setting mode". As described above, the internal ROM (not shown) included in the CPU 105 stores the processing program in the measurement mode for executing the measurement on the object based on the input image data and the settings required for the measurement on the object. A processing program of a setting mode to be executed is installed so as to be alternatively executable.

【0008】そのため、動作モードを『計測モード』か
ら『設定モード』に切り替えて、設定データの再調整を
行おうとすると、その間、ビジュアル検査は実行不能と
なるため、不良品を見逃してしまうか、或いは不良品発
生を回避するためには、生産ラインをその間一時的に停
止せねばならない結果となる。
For this reason, if the operation mode is switched from the “measurement mode” to the “setting mode” and the setting data is readjusted, the visual inspection cannot be executed during that time. Alternatively, in order to avoid the occurrence of defective products, the production line must be temporarily stopped during that time.

【0009】『設定モード』の実行中にあっても、『計
測モード』を実行可能とするためには、CPU105を
構成するマイクロプロセッサとして動作速度が速い製品
を採用し、所謂タイムスライス処理にて、『設定モー
ド』の動作プログラムと『計測モード』の動作プログラ
ムとを同時並行的に実行させることが考えられる。
In order to enable the execution of the "measurement mode" even during the execution of the "setting mode", a product having a high operating speed is adopted as a microprocessor constituting the CPU 105, and a so-called time slice process is performed. It is conceivable to execute the operation program in the “setting mode” and the operation program in the “measurement mode” simultaneously and in parallel.

【0010】ところで、この種のビジュアル検査装置の
画像処理部には、画像処理用の周辺回路として機能する
画像処理用LSI103が組み込まれており、この画像
処理用LSI103はひとつの画像処理指令を与えてか
らその結果がでるまでにある程度の時間が必要である。
加えて、『設定モード』においてもテスト計測操作を行
おうとすると、『計測モード』の場合におけると同様に
して、画像処理用LSI103を動作させるきことが必
要となる。
Incidentally, an image processing LSI 103 functioning as a peripheral circuit for image processing is incorporated in an image processing section of this type of visual inspection apparatus, and this image processing LSI 103 gives one image processing command. It takes a certain amount of time for the results to appear.
In addition, when performing a test measurement operation in the “setting mode”, it is necessary to operate the image processing LSI 103 in the same manner as in the “measurement mode”.

【0011】そのため、プロセッサの高速化だけでは、
『設定モード』の動作プログラムと『計測モード』の動
作プログラムとを同時並行的に高速実行させることは極
めて困難である。
[0011] Therefore, if only the speeding up of the processor is performed,
It is extremely difficult to execute the “setting mode” operation program and the “measurement mode” operation program simultaneously and at high speed.

【0012】この発明は、上述の問題点に着目してなさ
れたものであり、その目的とするところは、検査動作中
であっても、ビジュアル計測乃至ビジュアル検査のため
の設定データの再調整等が可能なビジュアル検査装置並
びにビジュアル検査システムを提供することにある。
SUMMARY OF THE INVENTION The present invention has been made in view of the above-described problems, and has as its object the purpose of visual measurement or readjustment of setting data for visual inspection even during an inspection operation. It is an object of the present invention to provide a visual inspection device and a visual inspection system capable of performing the above.

【0013】この発明の他の目的並びに作用効果につい
ては、以下の明細書の内容を参照することにより、当業
者であれば容易に理解されるはずである。
Other objects and operational effects of the present invention will be easily understood by those skilled in the art by referring to the contents of the following specification.

【0014】[0014]

【課題を解決するための手段】本発明のビジュアル検査
装置は、マイクロプロセッサと画像処理用周辺回路と画
像メモリとを中心として構成される第1の画像処理シス
テムと、マイクロプロセッサと画像処理用周辺回路と画
像メモリとを中心として構成される第2の画像処理シス
テムとを、カメラからの画像データに対して並列的に設
けている。
A visual inspection apparatus according to the present invention comprises a first image processing system mainly including a microprocessor, an image processing peripheral circuit, and an image memory; a microprocessor and an image processing peripheral. A second image processing system mainly including a circuit and an image memory is provided in parallel with respect to image data from the camera.

【0015】また、第1及び第2の画像処理システムの
各々には、入力画像データに基づいて対象物に関する計
測を実行する計測モードの処理プログラムと、対象物に
関する計測に必要な設定を実行する設定モードの処理プ
ログラムとが択一的に実行可能に組み込まれている。
Further, each of the first and second image processing systems executes a processing program in a measurement mode for executing measurement on an object based on input image data, and executes settings necessary for measurement on the object. A processing program in the setting mode is installed so as to be alternatively executable.

【0016】さらに、同ビジュアル検査装置には、マイ
クロプロセッサとデータメモリとを中心として構成さ
れ、第1及び第2の画像処理システムと協調して別々に
データ送受が可能な第3のシステムと、外部から与えら
れる指令に応答して、第1及び第2の画像処理システム
のそれぞれにおける実行モードの切替を行う実行モード
切替手段と、が設けられている。
Further, the visual inspection apparatus is configured around a microprocessor and a data memory, and is capable of separately transmitting and receiving data in cooperation with the first and second image processing systems. Execution mode switching means for switching the execution mode in each of the first and second image processing systems in response to a command given from the outside.

【0017】このような本発明の構成によれば、実行モ
ード切替手段により、第1及び第2の画像処理システム
のいずれかを計測モードとする一方、残りの画像処理シ
ステムを設定モードとしておけば、計測動作を継続しつ
つも、設定データの再調整が可能となり、検査動作中で
あっても、ビジュアル計測乃至ビジュアル検査のための
設定データの再調整等が可能となる。しかも、第1の画
像処理システムと第2の画像処理システムとの間に、第
3のシステムを介在させているため、第1及び第2のシ
ステム間で、設定データの転送を行うに際して、いずれ
のシステムの動作にも負担がかからない。
According to such a configuration of the present invention, the execution mode switching means sets one of the first and second image processing systems to the measurement mode and sets the remaining image processing systems to the setting mode. The setting data can be readjusted while the measurement operation is continued, and the readjustment of the setting data for visual measurement or visual inspection can be performed even during the inspection operation. Moreover, since the third system is interposed between the first image processing system and the second image processing system, when the setting data is transferred between the first and second systems, There is no burden on the operation of the system.

【0018】本発明の好ましい実施の形態では、第1又
は第2の画像処理システムにおいて、計測モードの処理
を実行させながら、第1の画像処理システムと第2の画
像処理システムとの間で、第3のシステムを経由して、
設定データの転送を行う、ようにしてもよい。
In a preferred embodiment of the present invention, while the first or second image processing system is executing the processing in the measurement mode, the first and second image processing systems are connected between the first and second image processing systems. Via a third system,
The setting data may be transferred.

【0019】本発明の好ましい実施の形態では、第1又
は第2の画像処理システムにおいて、計測モードの処理
を実行させながら、第1又は第2の画像処理システムと
外部機器との間で、第3のシステムを経由して、保存さ
れた画像データの転送を行う、ようにしてもよい。
In a preferred embodiment of the present invention, while the first or second image processing system is executing the processing in the measurement mode, the first or second image processing system is connected to an external device by the first or second image processing system. The stored image data may be transferred via the third system.

【0020】本発明の好ましい実施の形態では、第1又
は第2の画像処理システムにおいて、計測モードの処理
を実行させながら、第1又は第2の画像処理システムと
外部機器との間で、第3のシステムを経由して、設定デ
ータの転送を行う、ようにしてもよい。請求項1に記載
のビジュアル検査装置。
In a preferred embodiment of the present invention, while the first or second image processing system is executing the processing in the measurement mode, the first or second image processing system is connected to an external device by the first or second image processing system. The setting data may be transferred via the third system. The visual inspection device according to claim 1.

【0021】本発明のビジュアル検査システムは、検査
用カメラと、検査用カメラからの画像データが入力され
るビジュアル検査装置と、各種の指令を与えるためのコ
ンソールと、ビジュアル検査装置の検査結果が表示され
る画像モニタとを含んで構成されている。
The visual inspection system of the present invention includes an inspection camera, a visual inspection device to which image data from the inspection camera is input, a console for giving various instructions, and a display of inspection results of the visual inspection device. And an image monitor.

【0022】このビジュアル検査装置には、マイクロプ
ロセッサと画像処理用周辺回路と画像メモリとを中心と
して構成される第1の画像処理システムと、マイクロプ
ロセッサと画像処理用周辺回路と画像メモリとを中心と
して構成される第2の画像処理システムとが、カメラか
らの画像データに対して並列的に設けられている。
This visual inspection apparatus mainly includes a first image processing system mainly including a microprocessor, an image processing peripheral circuit, and an image memory, and a microprocessor, an image processing peripheral circuit, and an image memory. And a second image processing system configured in parallel with the image data from the camera.

【0023】第1及び第2の画像処理システムの各々に
は、入力画像データに基づいて対象物に関する計測を実
行する計測モードの処理プログラムと、対象物に関する
計測に必要な設定を実行する設定モードの処理プログラ
ムとが択一的に実行可能に組み込まれている。
Each of the first and second image processing systems has a processing program in a measurement mode for executing measurement on an object based on input image data, and a setting mode for executing settings required for measurement on the object. The processing program is alternatively installed so as to be executable.

【0024】さらに、同システムには、マイクロプロセ
ッサとデータメモリとを中心として構成され、第1及び
第2の画像処理システムと協調して別々にデータ送受が
可能な第3のシステムと、コンソールから与えられる指
令に応答して、第1及び第2の画像処理システムのそれ
ぞれにおける実行モードの切替を行う実行モード切替手
段と、が設けられている。
Further, the system includes a third system which is constituted mainly of a microprocessor and a data memory, and which can transmit and receive data separately in cooperation with the first and second image processing systems, and a console. Execution mode switching means for switching the execution mode in each of the first and second image processing systems in response to the given command.

【0025】本発明の好ましい実施の形態においては、
第1又は第2の画像処理システムにおいて、計測モード
の処理を実行させながら、第1の画像処理システムと第
2の画像処理システムとの間で、第3のシステムを経由
して、設定データの転送を行う、ようにしてもよい。
In a preferred embodiment of the present invention,
In the first or second image processing system, the setting data of the setting data is transmitted between the first and second image processing systems via the third system while executing the processing in the measurement mode. Transfer may be performed.

【0026】本発明の好ましい実施の形態においては、
第1又は第2の画像処理システムにおいて、計測モード
の処理を実行させながら、第1又は第2の画像処理シス
テムと外部機器との間で、第3のシステムを経由して、
保存された画像データの転送を行う、ようにしてもよ
い。
In a preferred embodiment of the present invention,
In the first or second image processing system, while executing processing in the measurement mode, between the first or second image processing system and an external device, via the third system,
The stored image data may be transferred.

【0027】本発明の好ましい実施の形態においては、
第1又は第2の画像処理システムにおいて、計測モード
の処理を実行させながら、第1又は第2の画像処理シス
テムと外部機器との間で、第3のシステムを経由して、
設定データの転送を行う、ようにしてもよい。
In a preferred embodiment of the present invention,
In the first or second image processing system, while executing processing in the measurement mode, between the first or second image processing system and an external device, via the third system,
The setting data may be transferred.

【0028】[0028]

【発明の実施の形態】この発明の好適な実施の一形態を
添付図面に従って詳細に説明する。尚、本発明の適用
は、以下の実施形態に限定されないことは言うまでもな
い。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings. Needless to say, the application of the present invention is not limited to the following embodiments.

【0029】ビジュアル検査システムの外観構成図が図
1に示されている。同図に示されるように、本発明のビ
ジュアル検査システムは、検査用カメラ220と、検査
用カメラからの画像データが入力されるビジュアル検査
装置200と、各種の指令を与えるためのコンソール2
40と、ビジュアル検査装置200の検査結果等が表示
される画像モニタ230とを含んで構成されている。
FIG. 1 shows an external configuration diagram of the visual inspection system. As shown in the figure, the visual inspection system of the present invention includes an inspection camera 220, a visual inspection device 200 to which image data from the inspection camera is input, and a console 2 for giving various commands.
40, and an image monitor 230 on which an inspection result of the visual inspection apparatus 200 is displayed.

【0030】ビジュアル検査装置全体のブロック図が図
2に示されている。同図に示されるように、このビジュ
アル検査装置200には、第1画像処理システム250
と、第2画像処理システム260とが、カメラ220か
らの画像データに対して並列的に設けられている。尚、
図において、201はA/D変換器、202はD/A変
換器である。
FIG. 2 is a block diagram of the entire visual inspection apparatus. As shown in the figure, the visual inspection device 200 includes a first image processing system 250.
And a second image processing system 260 are provided in parallel for image data from the camera 220. still,
In the figure, 201 is an A / D converter, and 202 is a D / A converter.

【0031】第1画像処理システム250内には、画像
メモリ251と、画像処理用LSI252と、CPU2
53と、メモリ254とが含まれている。
In the first image processing system 250, an image memory 251, an image processing LSI 252, a CPU 2
53 and a memory 254 are included.

【0032】画像メモリ251は、カメラ270並びに
A/D変換器201を介して得られた画像データを逐次
格納するものである。画像処理用LSI252は、CP
U253からの指示を受けて、画像メモリ251に格納
された画像データに対し、各種の画像処理を実行し、そ
の実行結果をCPU253に対して回答する機能を有す
る。CPU253はマイクロプロセッサを主体として構
成され、その内部には各種のシステムプログラムを格納
させたシステムROM、ワーキングエリアとして機能す
るワークRAMなどが含まれている。尚、システムRO
M内には、入力画像データに基づいて対象物に関する計
測を実行する計測モードの処理プログラムと、対象物に
関する計測に必要な設定を実行する設定モードの処理プ
ログラムとが択一的に実行可能に組み込まれている。メ
モリ254は、ユーザにより設定された各種の設定デー
タを格納するものであり、前述した画像処理用LSI2
52における各種の画像処理は、このメモリ254に格
納された設定データに基づいて実行されることとなる。
The image memory 251 sequentially stores image data obtained via the camera 270 and the A / D converter 201. The image processing LSI 252 has a CP
Upon receiving an instruction from the U 253, the CPU 253 executes various image processing on the image data stored in the image memory 251 and returns a result of the execution to the CPU 253. The CPU 253 mainly includes a microprocessor, and includes a system ROM storing various system programs, a work RAM functioning as a working area, and the like. In addition, system RO
In M, a processing program in a measurement mode for performing measurement on an object based on input image data and a processing program in a setting mode for performing settings required for measurement on the object can be selectively executed. It has been incorporated. The memory 254 stores various setting data set by the user.
Various image processing in 52 is executed based on the setting data stored in the memory 254.

【0033】同様に、第2画像処理システム260内に
も、画像メモリ261と、画像処理用LSI262と、
CPU263と、メモリ264とが含まれている。それ
らの構成要素261〜264は、先に第1画像処理シス
テムに関して説明した構成要素251〜254と同一で
あるためその説明は省略する。
Similarly, an image memory 261, an image processing LSI 262,
A CPU 263 and a memory 264 are included. The components 261 to 264 are the same as the components 251 to 254 described above with respect to the first image processing system, and thus description thereof will be omitted.

【0034】中間システムの詳細構成を示すブロック図
が図3に示されている。同図に示されるように、中間シ
ステム270内には、CPU271と、データメモリ2
72と、コンソールインタフェース273と、パラレル
入出力インタフェース274と、シリアル入出力インタ
フェース275と、第1システムインタフェース276
と、第2システムインタフェース277とが含まれてい
る。
FIG. 3 is a block diagram showing a detailed configuration of the intermediate system. As shown in the figure, the intermediate system 270 includes a CPU 271 and a data memory 2.
72, a console interface 273, a parallel input / output interface 274, a serial input / output interface 275, and a first system interface 276.
And a second system interface 277.

【0035】CPU271はマイクロプロセッサを主体
として構成されており、この中間システムの全体を統括
制御するものである。このCPU271内には、システ
ムプログラムを格納するシステムROMと、ワークエリ
アを提供するワーキングRAMと、その他各種の周辺回
路が含まれている。データメモリ272は、第1画像処
理システム250と第2画像処理システム260との間
において行われるデータ転送のためのバッファメモリな
どとして機能するものである。このデータメモリ272
の内容は、第1画像処理システム250並びに第2画像
処理システム260によって書き込み並びに読み出し可
能となされる他、パラレル入出力274並びにシリアル
入出力275を介して外部装置との間で書き込み並びに
読み出し可能となされている。
The CPU 271 is mainly composed of a microprocessor, and controls the whole of the intermediate system. The CPU 271 includes a system ROM for storing a system program, a working RAM for providing a work area, and various other peripheral circuits. The data memory 272 functions as a buffer memory or the like for data transfer performed between the first image processing system 250 and the second image processing system 260. This data memory 272
Can be written and read by the first image processing system 250 and the second image processing system 260, and can be written and read between external devices via the parallel input / output 274 and the serial input / output 275. It has been done.

【0036】コンソールインタフェース273は、先に
図1を参照して説明したコンソール240を接続するた
めのものであり、このコンソールインタフェース273
を介して、当該ビジュアル検査装置に対し各種の指令を
ユーザは与えることが可能となされている。
The console interface 273 is for connecting the console 240 described above with reference to FIG.
, The user can give various commands to the visual inspection device.

【0037】尚、第1システムインタフェース276並
びに第2システムインタフェース277は、当該中間シ
ステム270と第1並びに第2画像処理システムとの間
における信号線並びにバス制御を実現するためのもので
ある。これらの第1システムインタフェース276並び
に第2システムインタフェース277は、択一的にオン
オフすることによって、第1画像処理システム250並
びに第2画像処理システム260との間における競合を
回避するためのものである。すなわち、これらのシステ
ムインタフェース276,277の存在により、第1並
びに第2の画像処理システム250,260と中間シス
テム270とは、協調して別々にデータ送受が可能とな
されている。
The first system interface 276 and the second system interface 277 are for realizing signal lines and bus control between the intermediate system 270 and the first and second image processing systems. The first system interface 276 and the second system interface 277 are turned on and off alternatively to avoid a conflict between the first image processing system 250 and the second image processing system 260. . That is, the presence of these system interfaces 276 and 277 enables the first and second image processing systems 250 and 260 and the intermediate system 270 to separately transmit and receive data in cooperation with each other.

【0038】次に、ビジュアル検査システムの応用例を
示す模式図が図4に示されている。同図において、先の
説明と同一構成部分については同符号を付して説明は省
略する。図において、280はPLC(プログラマブル
ロジックコントローラ)、281はパソコン、282は
ベルトコンベア290上を検査対象製品291が到来し
たことを検出するための同期センサである。すなわち、
この応用例にあっては、工場内における生産ラインが描
かれており、ベルトコンベア290上には、検査対象と
なる製品291が順次搬送されており、搬送路上の特定
箇所にはカメラ220と同期センサ292が存在し、こ
れらによって個々の検査対象製品291の画像が撮影さ
れ、これにより得られた画像データがビジュアル検査装
置220において計測並びに検査され、その検査結果が
画像モニタ230の画面上に表示されると共に、PLC
280並びにパソコン281へと送られ、様々な制御が
実現されるのである。
Next, FIG. 4 is a schematic diagram showing an application example of the visual inspection system. In the figure, the same components as those described above are denoted by the same reference numerals, and description thereof is omitted. In the figure, 280 is a PLC (Programmable Logic Controller), 281 is a personal computer, and 282 is a synchronous sensor for detecting that the inspection target product 291 has arrived on the belt conveyor 290. That is,
In this application example, a production line in a factory is drawn, products 291 to be inspected are sequentially conveyed on a belt conveyor 290, and a specific location on the conveyance path is synchronized with the camera 220. An image of each inspection target product 291 is taken by these sensors 292, and the obtained image data is measured and inspected by the visual inspection device 220, and the inspection result is displayed on the screen of the image monitor 230. And PLC
280 and the personal computer 281 to implement various controls.

【0039】次に、本発明装置の各構成システムのゼネ
ラルフローチャートが図5に示されている。同図(a)
に示されるように、第1並びに第2画像処理システムの
側では、受信コマンド対応処理(ステップ501)並び
に動作モード実行処理(選択モード対応)(ステップ5
02)が繰り返し実行される。
Next, FIG. 5 shows a general flowchart of each component system of the apparatus of the present invention. FIG.
As shown in (1), on the side of the first and second image processing systems, the received command corresponding processing (step 501) and the operation mode execution processing (selection mode corresponding) (step 5)
02) is repeatedly executed.

【0040】これに対して、中間システムの側において
は、コンソール要求処理(受信コマンド対応)(ステッ
プ511)、第1画像処理システム対応処理(ステップ
512)、並びに第2画像処理システム対応処理(ステ
ップ513)が繰り返し実行される。それら個々の処理
の詳細については、図6以下の図面を参照して、さらに
詳細に説明する。
On the other hand, on the intermediate system side, the console request processing (corresponding to the received command) (step 511), the first image processing system corresponding processing (step 512), and the second image processing system corresponding processing (step 512) 513) is repeatedly executed. The details of each of these processes will be described in more detail with reference to the drawings in FIG.

【0041】受信コマンド対応処理の詳細を示すフロー
チャートが図6に示されている。同図において処理が開
始されると、中間システムからのコマンドの受信を待機
する状態となる(ステップ601)。ここで、中間シス
テム270から何らかのコマンドが受信されると(ステ
ップ601YES)、当該コマンドは通常の手順に従っ
て解読され(ステップ602)、それらの解読結果に応
じて、様々な処理が実行される。
FIG. 6 is a flowchart showing details of the received command handling process. When the process is started in the figure, the system enters a state of waiting for reception of a command from the intermediate system (step 601). Here, when any command is received from the intermediate system 270 (step 601 YES), the command is decoded according to a normal procedure (step 602), and various processes are executed according to the decoding result.

【0042】すなわち、コマンドを解読した結果、それ
が設定データ送信要求コマンドであると判定されると
(ステップ603YES)、要求された設定データがデ
ータメモリから読み出されて、中間システム270の側
へと送信される(ステップ604)。すなわち、後に詳
細に説明するように、外部よりコンソール240を経由
して、データを第1画像処理システムから第2画像処理
システムへと転送すべき指令が与えられた場合、中間シ
ステム270の側では、第1画像処理システム250に
対して、該当する設定データに関し転送要求コマンドを
送出する。するとステップ603において、設定データ
送信要求有りとの判定が行われ(ステップ603YE
S)、その結果要求された設定データは中間システム2
70の側へと送信されるのである(ステップ604)。
That is, if it is determined that the command is a setting data transmission request command as a result of decoding the command (YES in step 603), the requested setting data is read from the data memory and sent to the intermediate system 270. Is transmitted (step 604). That is, as will be described later in detail, when an instruction to transfer data from the first image processing system to the second image processing system is given from the outside via the console 240, the intermediate system 270 side , Sends a transfer request command to the first image processing system 250 regarding the corresponding setting data. Then, in step 603, it is determined that there is a setting data transmission request (step 603YE).
S), the setting data requested as a result is stored in the intermediate system 2
It is transmitted to the side of the server 70 (step 604).

【0043】これに対して、コマンドを解読した結果
(ステップ602)、当該コマンドが設定データ受信要
求コマンドであると判定されると(ステップ605YE
S)、受信要求された設定データを中間システム270
の側から受け取る処理が実行される(ステップ60
6)。すなわち、後に詳細に説明するように、本発明シ
ステムにおいては、外部より第2画像処理システムから
第1画像処理システムへと設定データ転送指令が与えら
れた場合、中間システム270から第1画像処理システ
ム250の側へと、設定データ受信要求コマンドが発せ
られる。すると、設定データ受信要求有りとの判定が行
われ(ステップ605YES)、要求された設定データ
は中間システム270の側から受け取られることとなる
(ステップ606)。
On the other hand, as a result of decoding the command (step 602), when it is determined that the command is a setting data reception request command (step 605YE).
S), the setting data requested to be received is transferred to the intermediate system 270
Is executed (step 60).
6). That is, as will be described later in detail, in the system of the present invention, when a setting data transfer command is externally given from the second image processing system to the first image processing system, the intermediate system 270 sends the first image processing system A setting data reception request command is issued to 250. Then, it is determined that there is a setting data reception request (step 605 YES), and the requested setting data is received from the intermediate system 270 (step 606).

【0044】これに対して、コマンドを解読した結果
(ステップ602)、その内容がモード変更要求コマン
ドであると判定されると(ステップ607)、続いて動
作モード変更処理が実行される(ステップ608)。す
なわち、後に詳細に説明するように、本発明システムに
あっては、コンソール240を介して外部から動作モー
ド変更要求(例えば、第1画像処理システムに関して計
測モードから設定モードへの動作モード変更指令)が与
えられると、中間システム270は、第1画像処理シス
テム250に対して、モード変更要求コマンドを発す
る。すると、モード変更要求コマンド有りとの判定が行
われ(ステップ607YES)、第1画像処理システム
250の側において動作モード変更処理(ステップ60
8)が行われるのである。
On the other hand, as a result of decoding the command (step 602), when it is determined that the content is a mode change request command (step 607), an operation mode change process is subsequently executed (step 608). ). That is, as will be described in detail later, in the system of the present invention, an operation mode change request from the outside via the console 240 (for example, an operation mode change command from the measurement mode to the setting mode for the first image processing system) Is given, the intermediate system 270 issues a mode change request command to the first image processing system 250. Then, it is determined that there is a mode change request command (step 607 YES), and the operation mode change processing (step 60) is performed on the first image processing system 250 side.
8) is performed.

【0045】このように、この受信コマンド対応処理に
おいては、中間システム270から送られてくる各種の
要求コマンドに応じ、設定データ送信処理(ステップ6
04)、設定データ受信処理(ステップ606)並びに
動作モード変更処理(ステップ608)が行われる。特
に、この動作モード変更処理(ステップ608)におい
ては、第1画像処理システム250内に格納された図示
しない動作モードフラグの内容が、コマンドにより指定
された内容へと自動的に変更されるのである。
As described above, in the received command processing, the setting data transmission processing (step 6) is performed in response to various request commands sent from the intermediate system 270.
04), setting data reception processing (step 606) and operation mode change processing (step 608) are performed. In particular, in the operation mode change processing (step 608), the contents of the operation mode flag (not shown) stored in the first image processing system 250 are automatically changed to the contents specified by the command. .

【0046】次に動作モード実行処理の詳細を示すフロ
ーチャートが図7に示されている。同図において処理が
開始されると、動作モードの読み込み処理が行われ(ス
テップ701)、続いて読み込まれた内容に基づき、計
測モードか設定モードかの判定が行われる(ステップ7
02,704)。
FIG. 7 is a flowchart showing details of the operation mode execution processing. When the process is started in the figure, a reading process of the operation mode is performed (step 701), and then a determination is made as to whether the mode is the measurement mode or the setting mode based on the read content (step 7).
02, 704).

【0047】ここで計測モードとの判定が行われると
(ステップ702YES)、所定の計測用プログラムの
実行が行われる(ステップ703)。よく知られている
ように、この計測用プログラムの実行においては、画像
メモリ251に格納された画像データに対し、CPU2
53から画像処理用LSI252に対して指定された指
令を与えることにより、メモリ254に格納された設定
データの内容に従って、各種の画像処理が実行される。
この画像処理の内容は、先に説明したように、画像デー
タの特定された領域から指定されたパターンを読み出
し、これを所定の計測アルゴリズムに従って計測した
り、あるいはパターン認識並びにパターン照合などを実
行することにより、特定のパターンの存在有無並びに個
数などが計測され、さらにはそれを基準値と比較するこ
とによって製品良否の判定などが行われる。
If the determination of the measurement mode is made (YES in step 702), a predetermined measurement program is executed (step 703). As is well known, in the execution of the measurement program, the CPU 2 compares the image data stored in the image memory 251 with the CPU 2.
By giving a designated command from the 53 to the image processing LSI 252, various types of image processing are executed in accordance with the contents of the setting data stored in the memory 254.
As described above, the content of this image processing is to read a specified pattern from the specified area of the image data and measure it according to a predetermined measurement algorithm, or execute pattern recognition and pattern matching, etc. As a result, the presence / absence of the specific pattern and the number of the specific patterns are measured, and the quality of the product is determined by comparing the measured value with a reference value.

【0048】これに対して、動作モードが設定モードと
判定されると(ステップ704YES)、公知の設定用
プログラムの実行が行われる(ステップ705)。よく
知られているように、この設定用プログラム(ステップ
705)においては、画像モニタ230の画面を用いて
ユーザと対話を行いつつ、様々な設定用データの入力が
行われる。尚、以上のフローチャートの説明から明らか
なように、これら2つのプログラム(計測用プログラム
と設定用プログラム)は、択一的に実施されるのであっ
て、タイムスライスによって同時並行的に処理されるわ
けではない。
On the other hand, if the operation mode is determined to be the setting mode (step 704 YES), a known setting program is executed (step 705). As is well known, in the setting program (step 705), various setting data is input while interacting with the user using the screen of the image monitor 230. As is clear from the above description of the flowchart, these two programs (measurement program and setting program) are executed alternately, and are not processed simultaneously by time slice. is not.

【0049】次にコマンド要求処理の詳細を示すフロー
チャートが図8に示されている。同図において処理が開
始されると、コンソール240からコマンドの受信を待
機する状態となる(ステップ801)。この状態におい
て、コンソール240から何らかのコマンドが受信され
ると(ステップ801)、そのコマンドが解読され(ス
テップ802)、その解読内容に応じて(ステップ80
3A,803B,803C)、3つの処理(804,8
05,806)が択一的に実行される。
FIG. 8 is a flowchart showing details of the command request processing. When the process is started in the figure, the system enters a state of waiting for a command from the console 240 (step 801). In this state, when any command is received from the console 240 (step 801), the command is decoded (step 802), and the command is decoded (step 80).
3A, 803B, 803C), three processes (804, 8
05,806) are executed alternatively.

【0050】すなわち、コンソールから受信されたコマ
ンドの内容が、モード切替コマンドであると判定される
と(ステップ803A)、指定された側のシステムへと
モード変更要求コマンドを送信する処理が実行される
(ステップ804)。すなわち、例えば第1画像処理シ
ステム250の動作モードを、計測モードから設定モー
ドへと切り替える旨の指令であれば、中間システム27
0から第1画像処理システム250に対して、その動作
モードを計測モードから設定モードへと切り替えるべき
コマンドが送信される。
That is, when it is determined that the content of the command received from the console is a mode switching command (step 803A), processing for transmitting a mode change request command to the designated system is executed. (Step 804). That is, for example, if the command is to switch the operation mode of the first image processing system 250 from the measurement mode to the setting mode, the intermediate system 27
From 0, a command to switch the operation mode from the measurement mode to the setting mode is transmitted to the first image processing system 250.

【0051】又、解読された内容が(ステップ80
3)、設定データ転送コマンドであると判定されると
(ステップ803B)、転送元システムへ転送データ送
信要求コマンドを送信する処理が実行される(ステップ
805)。例えば、設定データ転送コマンドの内容が、
第1画像処理システム250から第2画像処理システム
260へと、メモリ254に格納された設定データの内
容(例えば、すでに何らかの設定変更が行われた)を転
送すべきコマンドであれば、中間システム270から第
1画像処理システム250に対して、メモリ254に格
納された変更後の設定データを中間システム270に対
して送信すべきコマンドが送られる。逆に、外部から与
えられた設定データ転送コマンドが、第2画像処理シス
テム260から第1画像処理システム250に対して設
定データを転送すべきものであれば、中間システム27
0から第2画像処理システム260に対して、メモリ2
64に格納された設定データを送信すべきコマンドが発
せられるのである。
If the decrypted content is (step 80)
3) If it is determined that the command is a setting data transfer command (step 803B), a process of transmitting a transfer data transmission request command to the transfer source system is executed (step 805). For example, if the content of the setting data transfer command is
If the command is to transfer the contents of the setting data stored in the memory 254 (for example, some setting has already been changed) from the first image processing system 250 to the second image processing system 260, the intermediate system 270 To the first image processing system 250, a command to transmit the changed setting data stored in the memory 254 to the intermediate system 270 is sent. Conversely, if the externally supplied setting data transfer command is to transfer setting data from the second image processing system 260 to the first image processing system 250, the intermediate system 27
0 to the second image processing system 260
A command to transmit the setting data stored in the memory 64 is issued.

【0052】最後に、解読された内容が(ステップ80
2)、運転/停止コマンドであると判定されると(ステ
ップ803C)、指定された側のシステムへ運転/停止
要求コマンドを送信する処理が実行される(ステップ8
06)。すなわち、例えばコンソールから第1画像処理
システム250を停止すべき旨のコマンドが到来した場
合、中間システム270の側では、第1画像処理システ
ムへ向けて、停止要求コマンドを送信するわけである。
Finally, the decrypted contents are displayed (step 80).
2) If it is determined that the command is a run / stop command (step 803C), a process of transmitting a run / stop request command to the designated system is executed (step 8).
06). That is, for example, when a command to stop the first image processing system 250 arrives from the console, the intermediate system 270 transmits a stop request command to the first image processing system.

【0053】次に、第1,第2画像処理システム対応処
理の詳細を示すフローチャートが図9に示されている。
尚、同図(a)は第1画像処理システム対応処理の詳細
を示すフローチャート、同図(b)は第2画像処理シス
テム対応処理の詳細を示すフローチャートである。
Next, FIG. 9 is a flowchart showing details of the processing corresponding to the first and second image processing systems.
FIG. 7A is a flowchart showing details of the first image processing system compatible processing, and FIG. 7B is a flowchart showing details of the second image processing system compatible processing.

【0054】尚、それらの処理は第1画像処理と第2画
像処理とで同一であるため、以下の説明では第1画像処
理システムの側だけを説明し、第2画像処理システムの
側については説明を省略する。
Since these processes are the same for the first image processing and the second image processing, only the first image processing system will be described below, and the second image processing system will not be described. Description is omitted.

【0055】同図(a)において処理が開始されると、
第1画像処理システムから設定データの受信を待機する
状態となる(ステップ901)。この状態において第1
画像処理システムから設定データの受信が確認されると
(ステップ901YES)、受信されたデータは中間シ
ステム270に内蔵されたデータメモリ272に格納さ
れ(ステップ902)、続いて第2画像処理システムに
対して設定データ受信要求コマンドの送信が行われる
(ステップ903)。
When the process is started in FIG.
The system is in a state of waiting for reception of setting data from the first image processing system (step 901). In this state, the first
When the reception of the setting data from the image processing system is confirmed (YES in step 901), the received data is stored in the data memory 272 incorporated in the intermediate system 270 (step 902). Then, a setting data reception request command is transmitted (step 903).

【0056】その後、第2画像処理システム260の側
から受信OKの旨の返事があれば(ステップ904YE
S)、第2画像処理システム260へと受信データを送
信する処理が実行される(ステップ905)。
Thereafter, if the second image processing system 260 responds that the reception is OK (step 904YE).
S), a process of transmitting the received data to the second image processing system 260 is executed (Step 905).

【0057】このような処理(ステップ901〜90
5)が実行される結果、第1画像処理システム250か
ら中間システム270を経由して第2画像処理システム
260へと設定データを転送することが可能となる。そ
の際に、第1画像処理システム250と第2画像処理シ
ステム260との間に、中間システム270が存在し、
さらにこの中間システム270と各画像処理システムと
の間には、それぞれ択一的にゲートオンするシステムイ
ンタフェース276,277が存在するため、上述のデ
ータ転送に際し、第1画像処理システム250と第2画
像処理システム260との間でCPUが協調する必要が
なく、その結果それぞれのシステム250,260は何
ら邪魔されることなく、制御動作を継続できるわけであ
る。
Such processing (steps 901 to 90)
As a result of the execution of 5), the setting data can be transferred from the first image processing system 250 to the second image processing system 260 via the intermediate system 270. At that time, an intermediate system 270 exists between the first image processing system 250 and the second image processing system 260,
Further, since there are system interfaces 276 and 277 that alternately gate on between the intermediate system 270 and each image processing system, the first image processing system 250 and the second image processing There is no need for the CPU to cooperate with the system 260, so that the respective systems 250 and 260 can continue control operations without any interruption.

【0058】次に、設定データの転送手順を示すフロー
チャートが図10に示されている。この例では、まず通
常状態にある場合、第1システムの側で計測が行われて
いる(ステップ1001)。その後、第2システムでの
計測に切り替えが行われ(ステップ1002)、第1シ
ステムの設定内容の更新が行われる(ステップ100
3)。この設定内容の更新は、中間システムの側におけ
るコンソールで設定変更を行うことによる。次いで、第
1システムの設定内容は中間システムへと転送され(ス
テップ1004)、第1システムでの計測に切り替えら
れる(ステップ1005)。その後、中間システムから
設定内容を第2システムへと転送される(ステップ10
06)。
FIG. 10 is a flowchart showing the procedure for transferring the setting data. In this example, first, in the normal state, measurement is performed on the first system side (step 1001). After that, the measurement is switched to the measurement in the second system (step 1002), and the setting contents of the first system are updated (step 100).
3). The update of the setting content is performed by changing the setting on the console of the intermediate system. Next, the setting contents of the first system are transferred to the intermediate system (step 1004), and the measurement is switched to the measurement in the first system (step 1005). Thereafter, the settings are transferred from the intermediate system to the second system (step 10).
06).

【0059】このようにして、当初第1システムにおい
て計測が行われていたものの、第2システムへの計測に
切り替えられ、その後第1システムにおいて経験的に得
られた設定データの内容は、第2システムの側へと転送
される。その結果、この実施形態によれば、製品検査を
継続したまま、設定データを再調整し、常に最適な設定
データをもって、計測処理乃至計算を行うことができ
る。特に、計測処理乃至検査処理を停止する必要がない
ため、生産ラインを停止させたり停滞させることもな
く、従前のシステムに比べ、その使い勝手が格段に向上
するわけである。
As described above, although the measurement was initially performed in the first system, the measurement was switched to the measurement in the second system, and the contents of the setting data empirically obtained in the first system are changed to the second system. Transferred to system side. As a result, according to this embodiment, the setting data can be readjusted while the product inspection is continued, and the measurement processing or calculation can always be performed with the optimal setting data. In particular, since there is no need to stop the measurement processing or the inspection processing, there is no need to stop or stop the production line, and the usability is significantly improved as compared with the conventional system.

【0060】以上の実施形態の説明で明らかなように、
本発明のビジュアル検査装置は、マイクロプロセッサ
(CPU253)と画像処理用周辺回路(画像処理用L
SI252)と画像メモリ251とを中心として構成さ
れる第1の画像処理システム250と、マイクロプロセ
ッサ(CPU263)と画像処理用周辺回路(画像処理
用LSI262)と画像メモリ261とを中心として構
成される第2の画像処理システム260とを、カメラ2
20からの画像データに対し並列的に設けている。
As is clear from the above description of the embodiment,
The visual inspection device of the present invention includes a microprocessor (CPU 253) and a peripheral circuit for image processing (L for image processing).
The first image processing system 250 mainly includes an SI 252) and an image memory 251, and a microprocessor (CPU 263), a peripheral circuit for image processing (an LSI for image processing 262), and an image memory 261. The second image processing system 260 is connected to the camera 2
20 are provided in parallel for the image data.

【0061】又、第1及び第2の画像処理システム25
0,260の各々には、入力画像データに基づいて対象
物に関する計測を実行する計測モードの処理プログラム
と、対象物に関する計測に必要な設定を実行する設定モ
ードの処理プログラムとが択一的に実行可能に組み込ま
れている。尚、この組み込みは、CPU253,263
に内蔵されるシステムROMの記憶内容である。
The first and second image processing systems 25
In each of 0 and 260, a processing program in a measurement mode for executing measurement on an object based on input image data and a processing program in a setting mode for executing settings required for measurement on the object are alternatively selected. Built to be executable. This installation is performed by the CPUs 253 and 263.
Is the contents stored in the system ROM incorporated in the system.

【0062】更に、同ビジュアル検査装置202は、マ
イクロプロセッサ(CPU271)とデータメモリ27
2とを中心として構成され、第1及び第2の画像処理シ
ステム250,260と協調して別々にデータ送受が可
能な第3のシステム(中間システム270)と、外部か
らコンソールインタフェース273を介して与えられる
指令に応答して、第1及び第2の画像処理システム25
0,260のそれぞれにおける実行モードの切り替えを
行う実行モード切替手段とが設けられている。
Further, the visual inspection device 202 includes a microprocessor (CPU 271) and a data memory 27.
And a third system (intermediate system 270) which can be separately transmitted and received in cooperation with the first and second image processing systems 250 and 260, and a console interface 273 from outside. In response to a given command, first and second image processing systems 25
Execution mode switching means for switching the execution mode in each of 0 and 260 is provided.

【0063】そのため、実行モード切替手段により、第
1及び第2の画像処理システムの何れかを計測モードと
する一方、残りの画像処理システムを設定モードとして
おけば、計測動作を継続しつつも、設定データの再調整
が可能となり、検査動作中であっても、ビジュアル計測
乃至ビジュアル検査のための設定データの再調整などが
可能となる。しかも、第1の画像処理システムと第2の
画像処理システムとの間に、第3のシステムを介在させ
ているため、第1及び第2のシステム間で、設定データ
の転送を行うに際して、何れのシステムの動作にも負担
がかからないという利点を有する。
Therefore, if one of the first and second image processing systems is set to the measurement mode by the execution mode switching means, and the other image processing systems are set to the setting mode, the measurement operation can be continued. The setting data can be readjusted, and even during the inspection operation, the setting data for the visual measurement or the visual inspection can be readjusted. In addition, since the third system is interposed between the first image processing system and the second image processing system, when the setting data is transferred between the first and second systems, There is an advantage that no burden is imposed on the operation of the system.

【0064】尚、以上の実施の形態においては、第1の
画像処理システムから第2の画像処理システムへのデー
タ転送を説明したが、本発明の適用はこれに限定される
ものではない。
In the above embodiment, the data transfer from the first image processing system to the second image processing system has been described, but the application of the present invention is not limited to this.

【0065】例えば、本発明の好ましい実施の形態で
は、第1又は第2の画像処理システムにおいて、計測モ
ードの処理を実行させながら、第1の画像処理システム
と第2の画像処理システムとの間で、第3のシステム
(中間システム)を経由して、設定データの転送を行う
ようにしても良い。
For example, in a preferred embodiment of the present invention, the first or second image processing system executes the processing in the measurement mode while the first and second image processing systems Then, the setting data may be transferred via the third system (intermediate system).

【0066】また、本発明の好ましい実施の形態では、
第1又は第2の画像処理システムにおいて、計測モード
の処理を実行させながら、第1又は第2の画像処理シス
テムと外部機器との間で、第3のシステム(中間システ
ム)を経由して、保存された画像データの転送を行うよ
うにしても良い。
In a preferred embodiment of the present invention,
In the first or second image processing system, while executing the processing in the measurement mode, between the first or second image processing system and the external device via the third system (intermediate system), The stored image data may be transferred.

【0067】更に、本発明の好ましい実施の形態では、
第1又は第2の画像処理システムにおいて、計測モード
の処理を実行させながら、第1又は第2の画像処理シス
テムと外部機器との間で、第3のシステムを経由して、
設定データの転送を行うようにしても良い。
Further, in a preferred embodiment of the present invention,
In the first or second image processing system, while executing processing in the measurement mode, between the first or second image processing system and an external device, via the third system,
The setting data may be transferred.

【0068】[0068]

【発明の効果】以上の説明で明らかなように、本発明に
よれば、検査動作中であっても、ビジュアル計測乃至ビ
ジュアル検査のための設定データの再調整等が可能なビ
ジュアル検査装置並びにビジュアル検査システムを提供
することができる。
As is apparent from the above description, according to the present invention, a visual inspection apparatus and a visual inspection apparatus capable of re-adjusting setting data for visual measurement or visual inspection even during an inspection operation. An inspection system can be provided.

【図面の簡単な説明】[Brief description of the drawings]

【図1】ビジュアル検査システムの外観構成図である。FIG. 1 is an external configuration diagram of a visual inspection system.

【図2】ビジュアル検査装置全体のブロック図である。FIG. 2 is a block diagram of the entire visual inspection apparatus.

【図3】中間システムの詳細構成を示すブロック図であ
る。
FIG. 3 is a block diagram showing a detailed configuration of an intermediate system.

【図4】ビジュアル検査システムの応用例を示す模式図
である。
FIG. 4 is a schematic diagram showing an application example of the visual inspection system.

【図5】本発明の装置の各構成システムのゼネラルフロ
ーチャートである。
FIG. 5 is a general flowchart of each component system of the apparatus of the present invention.

【図6】受信コマンド対応処理の詳細を示すフローチャ
ートである。
FIG. 6 is a flowchart showing details of a received command handling process.

【図7】動作モード実行処理の詳細を示すフローチャー
トである。
FIG. 7 is a flowchart showing details of an operation mode execution process.

【図8】コマンド要求処理の詳細を示すフローチャート
である。
FIG. 8 is a flowchart illustrating details of a command request process.

【図9】第1、第2画像処理システム対応処理の詳細を
示すフローチャートである。
FIG. 9 is a flowchart showing details of processing corresponding to the first and second image processing systems.

【図10】設定データの転送手順を示すフローチャート
である。
FIG. 10 is a flowchart showing a procedure for transferring setting data.

【図11】受来装置のブロック図である。FIG. 11 is a block diagram of a receiving device.

【符号の説明】[Explanation of symbols]

100 ビジュアル検査装置 101 A/D変換器 102 画像メモリ 103 画像処理用LSI 104 D/A変換器 105 CPU 106 データメモリ 107 コンソールI/F 108 シリアル入出力インタフェース 109 パラレル入出力インタフェース 120 カメラ 130 画像モニタ 200 ビジュアル検査装置 201 A/D変換器 202 D/A変換器 220 検査用カメラ 230 画像モニタ 240 コンソール 250 第1画像処理システム 251 画像メモリ 252 画像処理用LSI 253 CPU 254 データメモリ(設定データ格納用) 260 第2画像処理システム 261 画像メモリ 262 画像処理用LSI 263 CPU 264 データメモリ(設定データ格納用) 270 中間システム 271 CPU 272 データメモリ(設定データ格納用) 273 コンソールI/F 274 パラレル入出力 275 シリアル入出力 276 第1システムI/F 277 第2システムI/F 280 PLC 281 パソコン 282 同期センサ 290 ベルトコンベア 291 検査対象製品 REFERENCE SIGNS LIST 100 visual inspection device 101 A / D converter 102 image memory 103 image processing LSI 104 D / A converter 105 CPU 106 data memory 107 console I / F 108 serial input / output interface 109 parallel input / output interface 120 camera 130 image monitor 200 Visual inspection device 201 A / D converter 202 D / A converter 220 Inspection camera 230 Image monitor 240 Console 250 First image processing system 251 Image memory 252 Image processing LSI 253 CPU 254 Data memory (for storing setting data) 260 Second image processing system 261 Image memory 262 Image processing LSI 263 CPU 264 Data memory (for storing setting data) 270 Intermediate system 271 CPU 272 Data Memory (for storing setting data) 273 Console I / F 274 Parallel input / output 275 Serial input / output 276 First system I / F 277 Second system I / F 280 PLC 281 Personal computer 282 Synchronous sensor 290 Belt conveyor 291 Product to be inspected

フロントページの続き Fターム(参考) 2F065 AA49 FF04 FF42 HH02 JJ03 JJ26 QQ03 QQ24 QQ38 RR02 SS04 2G051 AC04 CA04 EA11 EA12 EA14 EA19 EA21 5B057 BA02 CA08 CA12 CA16 CH20Continued on front page F term (reference) 2F065 AA49 FF04 FF42 HH02 JJ03 JJ26 QQ03 QQ24 QQ38 RR02 SS04 2G051 AC04 CA04 EA11 EA12 EA14 EA19 EA21 5B057 BA02 CA08 CA12 CA16 CH20

Claims (8)

【特許請求の範囲】[Claims] 【請求項1】 マイクロプロセッサと画像処理用周辺回
路と画像メモリとを中心として構成される第1の画像処
理システムと、マイクロプロセッサと画像処理用周辺回
路と画像メモリとを中心として構成される第2の画像処
理システムとが、カメラからの画像データに対して並列
的に設けられ、 第1及び第2の画像処理システムの各々には、入力画像
データに基づいて対象物に関する計測を実行する計測モ
ードの処理プログラムと、対象物に関する計測に必要な
設定を実行する設定モードの処理プログラムとが択一的
に実行可能に組み込まれており、さらに、 マイクロプロセッサとデータメモリとを中心として構成
され、第1及び第2の画像処理システムと協調して別々
にデータ送受が可能な第3のシステムと、 外部から与えられる指令に応答して、第1及び第2の画
像処理システムのそれぞれにおける実行モードの切替を
行う実行モード切替手段と、 が設けられている、ビジュアル検査装置。
A first image processing system mainly including a microprocessor, an image processing peripheral circuit, and an image memory; and a first image processing system mainly including a microprocessor, an image processing peripheral circuit, and an image memory. Two image processing systems are provided in parallel with respect to image data from the camera, and each of the first and second image processing systems performs measurement for performing measurement on an object based on input image data. The processing program of the mode and the processing program of the setting mode for executing the setting necessary for the measurement of the object are incorporated so as to be alternatively executable, and are further configured around a microprocessor and a data memory, A third system capable of separately transmitting and receiving data in cooperation with the first and second image processing systems; In response, an execution mode switching unit that switches an execution mode in each of the first and second image processing systems.
【請求項2】 第1又は第2の画像処理システムにおい
て、計測モードの処理を実行させながら、第1の画像処
理システムと第2の画像処理システムとの間で、第3の
システムを経由して、設定データの転送を行う、請求項
1に記載のビジュアル検査装置。
2. In the first or second image processing system, while executing a process in a measurement mode, a first system and a second system are connected via a third system. The visual inspection apparatus according to claim 1, wherein the setting data is transferred.
【請求項3】 第1又は第2の画像処理システムにおい
て、計測モードの処理を実行させながら、第1又は第2
の画像処理システムと外部機器との間で、第3のシステ
ムを経由して、保存された画像データの転送を行う、請
求項1に記載のビジュアル検査装置。
3. In the first or second image processing system, the first or second image processing system executes the first or second image processing while executing the processing in the measurement mode.
The visual inspection apparatus according to claim 1, wherein the stored image data is transferred between the image processing system and an external device via a third system.
【請求項4】 第1又は第2の画像処理システムにおい
て、計測モードの処理を実行させながら、第1又は第2
の画像処理システムと外部機器との間で、第3のシステ
ムを経由して、設定データの転送を行う、請求項1に記
載のビジュアル検査装置。
4. In the first or second image processing system, the first or second image processing system performs the first or second image processing while executing the processing in the measurement mode.
The visual inspection apparatus according to claim 1, wherein the setting data is transferred between the image processing system and the external device via a third system.
【請求項5】 検査用カメラと、検査用カメラからの画
像データが入力されるビジュアル検査装置と、各種の指
令を与えるためのコンソールと、ビジュアル検査装置の
検査結果が表示される画像モニタとを含み、 ビジュアル検査装置には、マイクロプロセッサと画像処
理用周辺回路と画像メモリとを中心として構成される第
1の画像処理システムと、マイクロプロセッサと画像処
理用周辺回路と画像メモリとを中心として構成される第
2の画像処理システムとが、カメラからの画像データに
対して並列的に設けられ、 第1及び第2の画像処理システムの各々には、入力画像
データに基づいて対象物に関する計測を実行する計測モ
ードの処理プログラムと、対象物に関する計測に必要な
設定を実行する設定モードの処理プログラムとが択一的
に実行可能に組み込まれており、さらに、 マイクロプロセッサとデータメモリとを中心として構成
され、第1及び第2の画像処理システムと協調して別々
にデータ送受が可能な第3のシステムと、 コンソールから与えられる指令に応答して、第1及び第
2の画像処理システムのそれぞれにおける実行モードの
切替を行う実行モード切替手段と、 が設けられている、ビジュアル検査システム。
5. An inspection camera, a visual inspection device to which image data from the inspection camera is input, a console for giving various instructions, and an image monitor for displaying inspection results of the visual inspection device. The visual inspection apparatus includes a first image processing system mainly including a microprocessor, an image processing peripheral circuit, and an image memory, and a microprocessor mainly including a microprocessor, an image processing peripheral circuit, and an image memory. A second image processing system is provided in parallel with image data from the camera, and each of the first and second image processing systems performs measurement on an object based on input image data. The processing program in the measurement mode to be executed and the processing program in the setting mode to execute the settings required for measurement of the object A third system, which is built around a microprocessor and a data memory, and which can separately transmit and receive data in cooperation with the first and second image processing systems; Execution mode switching means for switching an execution mode in each of the first and second image processing systems in response to a given command.
【請求項6】 第1又は第2の画像処理システムにおい
て、計測モードの処理を実行させながら、第1の画像処
理システムと第2の画像処理システムとの間で、第3の
システムを経由して、設定データの転送を行う、請求項
5に記載のビジュアル検査装置。
6. In the first or second image processing system, while executing a process in a measurement mode, a first system and a second image processing system are connected via a third system. The visual inspection device according to claim 5, wherein the setting data is transferred.
【請求項7】 第1又は第2の画像処理システムにおい
て、計測モードの処理を実行させながら、第1又は第2
の画像処理システムと外部機器との間で、第3のシステ
ムを経由して、保存された画像データの転送を行う、請
求項5に記載のビジュアル検査装置。
7. In the first or second image processing system, the first or second image processing system executes the first or second image processing while executing the processing in the measurement mode.
The visual inspection apparatus according to claim 5, wherein the stored image data is transferred between the image processing system and the external device via a third system.
【請求項8】 第1又は第2の画像処理システムにおい
て、計測モードの処理を実行させながら、第1又は第2
の画像処理システムと外部機器との間で、第3のシステ
ムを経由して、設定データの転送を行う、請求項5に記
載のビジュアル検査装置。
8. In the first or second image processing system, the first or second image processing system executes the first or second image processing while executing the processing in the measurement mode.
6. The visual inspection device according to claim 5, wherein the setting data is transferred between the image processing system and the external device via a third system.
JP2000360246A 2000-11-27 2000-11-27 Setting data adjustment method for visual inspection equipment Expired - Fee Related JP4078507B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000360246A JP4078507B2 (en) 2000-11-27 2000-11-27 Setting data adjustment method for visual inspection equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000360246A JP4078507B2 (en) 2000-11-27 2000-11-27 Setting data adjustment method for visual inspection equipment

Publications (2)

Publication Number Publication Date
JP2002163636A true JP2002163636A (en) 2002-06-07
JP4078507B2 JP4078507B2 (en) 2008-04-23

Family

ID=18831877

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000360246A Expired - Fee Related JP4078507B2 (en) 2000-11-27 2000-11-27 Setting data adjustment method for visual inspection equipment

Country Status (1)

Country Link
JP (1) JP4078507B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007164354A (en) * 2005-12-12 2007-06-28 Nec Corp Information processor and method of controlling same
EP2299404A1 (en) 2009-08-31 2011-03-23 Omron Corporation Image processing apparatus
JP2011096047A (en) * 2009-10-30 2011-05-12 Keyence Corp Image processing apparatus and image processing method

Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS54104437A (en) * 1978-08-17 1979-08-16 Hitachi Metals Ltd Low temperature fusion magnetic alloy
JPS61125275A (en) * 1984-11-20 1986-06-12 Mitsubishi Electric Corp Picture signal processing device
JPS6214279A (en) * 1985-07-11 1987-01-22 Toshiba Eng Co Ltd Picture processing device
JPS62263562A (en) * 1986-05-12 1987-11-16 Sony Corp Information transfer device
JPH0233636A (en) * 1988-07-25 1990-02-02 Fujitsu Ltd Picture processor
JPH0247757A (en) * 1988-08-09 1990-02-16 Sanyo Electric Co Ltd Information processor
JPH02297594A (en) * 1988-09-30 1990-12-10 Hitachi Ltd Data processor
JPH0599861A (en) * 1990-08-30 1993-04-23 Ball Corp Method and device for inspecting transparent vessel
JPH05157537A (en) * 1991-12-06 1993-06-22 Sumitomo Light Metal Ind Ltd Plate-shape measuring apparatus
JPH0616855Y2 (en) * 1987-03-12 1994-05-02 三菱自動車工業株式会社 Electric power steering device
JPH0729008A (en) * 1993-07-08 1995-01-31 Mitsubishi Electric Corp Picture processor
JPH07505003A (en) * 1992-02-18 1995-06-01 ネオパス,インク. Method and apparatus for rapidly processing data sequences
JPH07334469A (en) * 1994-06-08 1995-12-22 Mitsubishi Electric Corp Signal processor
JPH07332951A (en) * 1994-06-13 1995-12-22 Hiyuu Burein:Kk Apparatus and method for inspecting image
JPH08128960A (en) * 1994-11-01 1996-05-21 Nabco Ltd Cylinder inspection machine
JPH10240703A (en) * 1997-02-27 1998-09-11 Hitachi Ltd Processor and method for parallel data processing, and device and method for inspecting semiconductor wafer or printed board using the same

Patent Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS54104437A (en) * 1978-08-17 1979-08-16 Hitachi Metals Ltd Low temperature fusion magnetic alloy
JPS61125275A (en) * 1984-11-20 1986-06-12 Mitsubishi Electric Corp Picture signal processing device
JPS6214279A (en) * 1985-07-11 1987-01-22 Toshiba Eng Co Ltd Picture processing device
JPS62263562A (en) * 1986-05-12 1987-11-16 Sony Corp Information transfer device
JPH0616855Y2 (en) * 1987-03-12 1994-05-02 三菱自動車工業株式会社 Electric power steering device
JPH0233636A (en) * 1988-07-25 1990-02-02 Fujitsu Ltd Picture processor
JPH0247757A (en) * 1988-08-09 1990-02-16 Sanyo Electric Co Ltd Information processor
JPH02297594A (en) * 1988-09-30 1990-12-10 Hitachi Ltd Data processor
JPH0599861A (en) * 1990-08-30 1993-04-23 Ball Corp Method and device for inspecting transparent vessel
JPH05157537A (en) * 1991-12-06 1993-06-22 Sumitomo Light Metal Ind Ltd Plate-shape measuring apparatus
JPH07505003A (en) * 1992-02-18 1995-06-01 ネオパス,インク. Method and apparatus for rapidly processing data sequences
JPH0729008A (en) * 1993-07-08 1995-01-31 Mitsubishi Electric Corp Picture processor
JPH07334469A (en) * 1994-06-08 1995-12-22 Mitsubishi Electric Corp Signal processor
JPH07332951A (en) * 1994-06-13 1995-12-22 Hiyuu Burein:Kk Apparatus and method for inspecting image
JPH08128960A (en) * 1994-11-01 1996-05-21 Nabco Ltd Cylinder inspection machine
JPH10240703A (en) * 1997-02-27 1998-09-11 Hitachi Ltd Processor and method for parallel data processing, and device and method for inspecting semiconductor wafer or printed board using the same

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007164354A (en) * 2005-12-12 2007-06-28 Nec Corp Information processor and method of controlling same
EP2299404A1 (en) 2009-08-31 2011-03-23 Omron Corporation Image processing apparatus
US8698815B2 (en) 2009-08-31 2014-04-15 Omron Corporation Image processing apparatus
JP2011096047A (en) * 2009-10-30 2011-05-12 Keyence Corp Image processing apparatus and image processing method

Also Published As

Publication number Publication date
JP4078507B2 (en) 2008-04-23

Similar Documents

Publication Publication Date Title
EP1049021B1 (en) Sequential bus architecture
CN103202033A (en) Wireless communication device and wireless communication system
JP2002163636A (en) Visual examination device
EP0480657B1 (en) Information processing apparatus
US7185129B2 (en) Method for configuring and/or operating an automation device having a master unit connected to one or more slave units
JP2003081546A (en) Information transmission control device for elevator
JPH04317101A (en) Input/output control system of numerical controller
KR102170871B1 (en) Display control device, display system, display device, display method, and program stored in a recording medium
JPH09311716A (en) Lan device
JP2000242317A (en) Programmable controller
JP2003114804A (en) Real time os control unit
JP2019036763A (en) Distribution controller, automatic analyzer, and measurement method for control device
JPH11103307A (en) Transmission system with trigger function and method for measuring time interval of its input output signal
KR20050011603A (en) apparatus and method of booting in embedded system
JPH03245634A (en) Modem
JP2003108107A (en) Data display device
JP2003158050A (en) Substrate processing system and substrate inspection system
JPS63273943A (en) Multiple system controller
JPS61223965A (en) Data transfer circuit
JP2001216018A (en) Image inspection system and schedule adjusting device
JP2000267874A (en) Fault tolerant computer system
JP2001141869A (en) Plant operation device and its system
JPH0540510A (en) Controller
JPH05113873A (en) Console control system
JPH10105211A (en) Method for processing data received by programmable display device with control function according to kind of the same data

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20040908

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20070910

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070912

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20071112

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20080122

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

Free format text: PAYMENT UNTIL: 20110215

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20110215

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20120215

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20120215

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20130215

Year of fee payment: 5

LAPS Cancellation because of no payment of annual fees