JPH03113980A - System diagnostic method in visual sensor - Google Patents

System diagnostic method in visual sensor

Info

Publication number
JPH03113980A
JPH03113980A JP25097489A JP25097489A JPH03113980A JP H03113980 A JPH03113980 A JP H03113980A JP 25097489 A JP25097489 A JP 25097489A JP 25097489 A JP25097489 A JP 25097489A JP H03113980 A JPH03113980 A JP H03113980A
Authority
JP
Japan
Prior art keywords
signal
camera
image
circuit
visual sensor
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP25097489A
Other languages
Japanese (ja)
Inventor
Hitoshi Matsumoto
斉 松本
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP25097489A priority Critical patent/JPH03113980A/en
Publication of JPH03113980A publication Critical patent/JPH03113980A/en
Pending legal-status Critical Current

Links

Landscapes

  • Control By Computers (AREA)
  • Testing Or Calibration Of Command Recording Devices (AREA)
  • Synchronizing For Television (AREA)
  • Closed-Circuit Television Systems (AREA)

Abstract

PURPOSE:To save a man-hour of the user by extracting a synchronizing signal in a video signal read by a camera and checking the presence of connection of the camera depending on the presence of the signal. CONSTITUTION:A signal 2 outputted from a video amplifier is inverted by an inverting amplifier 23, only a synchronizing signal is extracted and amplified. When the amplified signal is only a pulse signal 27, an output of a monostable multivibrator circuit 24 goes to a high level. However, the amplified signal is not a pulse signal (28), the output of the monostable multivibrator circuit 24 goes to a low level. When the output of the monostable multivibrator circuit 24 goes to a high level, the presence of the camera connection is decided and when the output goes to a low level, it is decided that no camera is connected by a central processing unit and the result is registered in a system section.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は、ファクトリーオートメーシミンの組み立て
作業や、Wl送作業においてワークの識別及び計測を行
う視覚センサに関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a visual sensor that identifies and measures workpieces in factory automation assembly work and Wl transport work.

〔従来の技術〕[Conventional technology]

工場における生産工程の自動化のため、セボットや高度
な機能を持った各踵設備が導入されてきているが、対象
ワークの姿勢や位置が定まらない場合は、その変化に対
応できず組立工程等まだ入手に頼らざるを得ない分野も
多い。これらの工程を自動化するためには視覚センサが
不可欠である。
In order to automate the production process in factories, Sebots and various heel equipment with advanced functions have been introduced, but if the posture and position of the target workpiece is not determined, it is not possible to respond to the change, and the assembly process etc. There are many fields where we have no choice but to rely on procurement. Visual sensors are essential to automate these processes.

従来このような場合の視覚センサにおいて1周辺装置の
接続状態を使用者が確認し、視覚センサシステム部に登
録しなくてはならなかった。
Conventionally, in a vision sensor in such a case, a user had to check the connection state of one peripheral device and register it in the vision sensor system unit.

対象ワークの画像を読み取るカメラは複数台接続可能で
あり、複数台のカメラを切り替えることにより複数の画
像を読み込むことができる。この場合、接続されている
カメラ台数及びカメラナンバーは、視覚センサシステム
部にとって使用者がマンマシンインタフェースによって
ソフトウェア的に設定を行わない限り不明なものであっ
た。
Multiple cameras can be connected to read images of the target workpiece, and multiple images can be read by switching between the multiple cameras. In this case, the number of connected cameras and camera numbers are unknown to the visual sensor system unit unless the user makes settings using software using a man-machine interface.

第4図は従来の視覚センサの構成図であり2図において
(1)は視覚センサ制御装置、(2)は視覚センサ制御
装置(1)に計測指令を与える上位コントローラ、(3
)は計測の対象となるワーク、(4)はカメラ。
Figure 4 is a configuration diagram of a conventional visual sensor. In Figure 2, (1) is a visual sensor control device, (2) is a host controller that gives measurement commands to the visual sensor control device (1), and (3)
) is the work to be measured, and (4) is the camera.

(5)はモニタTV、(6)はキーボード、(7)は中
央処理装置、(8)は中央処理装置(7)で実行すべき
プログラムとパラメータデータ等を格納する記憶回路、
(9)はカメラ(4)で読み込まれたビデオ信号をディ
ジタル信号に変換する画像入力回路、 Q(Iは画像入
力回路(9)より出力される信号に基づき2値化、孤立
点除去、幾何学的特徴の抽出等の処理を行う画像処理回
路、θDは画像入力及び画像処理を行う場合に用いられ
る画像記憶回路、@はモニタインタフェース回路、■は
キーボードインタフェース回路。
(5) is a monitor TV, (6) is a keyboard, (7) is a central processing unit, (8) is a storage circuit that stores programs to be executed by the central processing unit (7), parameter data, etc.
(9) is an image input circuit that converts the video signal read by the camera (4) into a digital signal, and Q (I is the image input circuit that performs binarization, isolated point removal, and geometric θD is an image storage circuit used for image input and image processing, @ is a monitor interface circuit, and ■ is a keyboard interface circuit.

(ロ)は上位コントローラインタフェース回路である。(b) is the upper controller interface circuit.

視覚センサは上記のように構成され、その中でも従来の
画像入力口* (9)の構成ブロック図を第3図に示す
。図において(1つはカメラ(4)で読み取られたビデ
オ信号の増幅を行うビデオアンプ、(υはビデオアンプ
(1’)によって増幅されをこ信号中の同期信号だけを
取り除く同期信号クランプ回路、(mは同期信号クラン
プ回路(Lより出力される信号を8ビツトのディジタル
信号に変換するA/Dコンバータ。
The visual sensor is constructed as described above, and a block diagram of the conventional image input port* (9) is shown in FIG. In the figure, (1 is a video amplifier that amplifies the video signal read by the camera (4), (υ is a sync signal clamp circuit that removes only the sync signal from the signal that is amplified by the video amplifier (1'), (m is a synchronous signal clamp circuit (A/D converter that converts the signal output from L into an 8-bit digital signal).

(■はA/Dコンバータ(r?)により 信号変換を行
うときに変換のレベルを設定するりアレンスミ圧発生回
路である。従来の画像入力口!@ f9+は上記のよう
に構成される。
(■ is an A/D converter (r?) that sets the conversion level when signal conversion is performed, and is an A/D pressure generating circuit. The conventional image input port!@f9+ is configured as described above.

また、(6)はカメラ(4)によって読み取られた対象
ワーク(3)のビデオ信号、■はビデオアンプ(1つに
よって増幅されをこ信号、 (211は同期信号クラン
プ回路(Dによって不用な同期信号のみを取り除かれた
信号である。
In addition, (6) is the video signal of the target workpiece (3) read by the camera (4), ■ is the video signal amplified by the video amplifier (1), (211 is the synchronization signal clamp circuit (D is used to remove unnecessary synchronization) This is a signal with only the signal removed.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

従来の視覚センサにおいては、複数台のカメラを切り替
えて使用する場合、現在何台のカメラが接続されている
か使用者が視覚センサに教えてやる必要があり、使用者
の手間がかかるという課題があった。
With conventional vision sensors, when switching between multiple cameras, the user needs to tell the vision sensor how many cameras are currently connected, which takes time and effort on the part of the user. there were.

この発明は上記のような課題を解消するためになされを
こもので、使用者がカメラの接続の状態を気にすること
なく使用できる視覚センサを提供しようとするものであ
る。
The present invention has been made in order to solve the above-mentioned problems, and it is an object of the present invention to provide a visual sensor that the user can use without worrying about the connection state of the camera.

〔課題を解決するための手段〕[Means to solve the problem]

この発明に係る視覚センサは、対象ワークの画像を読み
取るカメラ、このカメラにより読み込まれたビデオ信号
をディジタル信号に変換する画像入力回路2画像入力回
路より出力されをこ画像データの幾何学的特徴を抽出し
対象ワークの計測、認識をする画像処理回路2画像デー
タの格納及び画像処理時に用いられる画像記憶回路、前
記計測。
The visual sensor according to the present invention includes: a camera that reads an image of a target workpiece; an image input circuit that converts a video signal read by the camera into a digital signal; 2. An image processing circuit for extracting, measuring and recognizing the target work; 2. An image storage circuit used for storing image data and processing the image; and the above-mentioned measurement.

認識結果等の表示を行うモニタTV、前記計測。A monitor TV that displays recognition results, etc., and the measurement.

認識の制御をするプログラムと各パラメータデータが格
納されている記憶回路、上位コントローラ間で計測、認
識指令の受理及び計測、認識結果の送出の制御または視
覚動作全体の制御を行う中央処理装置とを備えたもので
ある。
A program that controls recognition, a memory circuit that stores each parameter data, and a central processing unit that performs measurement between upper controllers, receives and measures recognition commands, controls sending of recognition results, or controls the entire visual operation. It is prepared.

〔作 用〕[For production]

この発明においては、カメラにより読み込まれたビデオ
信号中の同期信号を抽出し、この信号の有無によってカ
メラの接続の有無をチェックすることによってカメラ接
続状態を知ることが出来る。
In this invention, the camera connection state can be known by extracting the synchronization signal from the video signal read by the camera and checking whether or not the camera is connected based on the presence or absence of this signal.

これによって使用者は現在接続されているカメラを意識
することなく、つまり視覚センサに指示する必要がない
tコめ、使用者の手間を省くことができる。
As a result, the user does not need to be aware of the currently connected camera, that is, there is no need to instruct the visual sensor, thereby saving the user's time and effort.

〔実施例〕〔Example〕

以下、この発明の一実施例を図について説明する。第1
図はこの発明に係る画像入力回路(9)の構成ブロック
図であり2図において、(19〜(21)は従来の画像
入力回路と同じ機能を持ち、 (22)ばビデオアンプ
(19より出力される信号中の同期信号のみを取り出し
、カメラ接続の有無信号を出力するカメラ接続監視回路
である。カメラ接続監視回路(22)より出力される信
号は、真(HI G Hレベル)か為(LOWレベル)
であり、中央処理装置に渡され使用可能なカメラの判別
及びシステム部への登録を行う。
An embodiment of the present invention will be described below with reference to the drawings. 1st
Figure 2 is a configuration block diagram of the image input circuit (9) according to the present invention. In Figure 2, (19 to (21) have the same functions as the conventional image input circuit, This is a camera connection monitoring circuit that extracts only the synchronization signal from the signal being sent and outputs a signal indicating whether or not the camera is connected.The signal output from the camera connection monitoring circuit (22) is true (HIGH level) or not ( LOW level)
The camera is passed to the central processing unit to determine which cameras can be used and register them in the system unit.

上記のように構成されをこ画像入力回路(9)のカメラ
接続監視回路(22)は第2図のように構成されている
。(23)はビデオアンプ09より出力されをこ信号を
反転増幅する反転アンプ、 (24)は反転アンプ(2
3)より出力される信号がパルス信号であればHIGH
レベルの信号を出力し2反転アンプ(23)より出力さ
れる信号がパルス信号でなければLOWレベルの信号を
出力する単安定マルチバイブレータ、 (25A) 、
 (25B)は映像信号をクランプするレベルを決定す
る抵抗、 (25C) 、 (25D)は反転アンプ(
23)の増幅率を決定する抵抗、 (25E)、(2B
)は単安定マルチバイブレータの時定数を決定する抵抗
及びコンデンサ、 (29A) 、 (29B)は電源
である。
The camera connection monitoring circuit (22) of the image input circuit (9) constructed as described above is constructed as shown in FIG. (23) is an inverting amplifier that inverts and amplifies the signal output from video amplifier 09, and (24) is an inverting amplifier (2
3) HIGH if the signal output from is a pulse signal
A monostable multivibrator (25A) that outputs a level signal and outputs a LOW level signal unless the signal output from the 2-inverting amplifier (23) is a pulse signal.
(25B) is a resistor that determines the level at which the video signal is clamped, (25C) and (25D) are inverting amplifiers (
23) Resistors that determine the amplification factor, (25E), (2B
) are the resistors and capacitors that determine the time constant of the monostable multivibrator, and (29A) and (29B) are the power supplies.

次に第2図の動作について説明する。ビデオアンプより
出力される信号(2)を反転アンプ(23)より反転し
同期信号t!けを取り出し増幅する。増幅されをこ信号
がパルス信号(27)だと単安定マルチバイブレーク(
24)の出力はHIGHレベルになる。
Next, the operation shown in FIG. 2 will be explained. The signal (2) output from the video amplifier is inverted by the inverting amplifier (23) and the synchronization signal t! extract and amplify it. If the amplified signal is a pulse signal (27), it is a monostable multi-bibreak (
The output of 24) becomes HIGH level.

しかし、前記増幅されをこ信号がパルス信号でない(2
8)場合、単安定マルチバイブレータ(24)の出力は
LOWレベルになる。単安定マルチバイブレータ(24
)の出力がHIGHの時カメラ接続有りとし。
However, the amplified signal is not a pulse signal (2
In case 8), the output of the monostable multivibrator (24) becomes LOW level. Monostable multivibrator (24
) is HIGH, it is assumed that the camera is connected.

LOWの時カメラ接続無しと中央処理装置は判定しシス
テム部への登録を行う。
When it is LOW, the central processing unit determines that the camera is not connected and registers it in the system section.

この発明は視覚センサに限らず他のカメラを使用した装
置について応用が可能である。
This invention is applicable not only to visual sensors but also to devices using other cameras.

〔発明の効果〕〔Effect of the invention〕

以上のようにこの発明によれば、使用者がカメラの接続
状態を視覚センサシステム部へ登録する必要がなくなり
、接続されているカメラの状態がモニタTVを通して自
動的に知ることができる。
As described above, according to the present invention, there is no need for the user to register the connection status of the camera in the visual sensor system section, and the status of the connected camera can be automatically known through the monitor TV.

このため使用者の手間を省き、よ’J −1[い易い視
覚センサを実現できるなどの効果がある。
Therefore, it is possible to realize an easy-to-use visual sensor that saves the user's time and effort.

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

第1図はこの発明の一実施例によるカメラ接続監視回路
の回路図、第2図はこの発明に係る画像入力回路の構成
ブロック図、第3図は従来の画像入力回路の構成ブロッ
ク図、第4図は視覚センサの構成図である。 なお2図中同一行号は同一、又は相当部分を示す。 手 続 補 正 書
FIG. 1 is a circuit diagram of a camera connection monitoring circuit according to an embodiment of the present invention, FIG. 2 is a configuration block diagram of an image input circuit according to the present invention, and FIG. 3 is a configuration block diagram of a conventional image input circuit. FIG. 4 is a block diagram of the visual sensor. Note that the same line numbers in the two figures indicate the same or equivalent parts. Procedural amendment

Claims (1)

【特許請求の範囲】[Claims] 対象ワークの画像を読み取るカメラと、このカメラから
のビデオ信号を取り込む画像入力回路と、入力されをこ
画像をディジタル処理し画像データとして格納する画像
記憶回路と、前記画像データに対し2値化するとともに
孤立点を除去し画像の特徴を認識する画像処理回路と、
前記画像処理回路を制御するソフトウェアと、前記ソフ
トウェアを格納するメモリバックアップ機能を有する記
憶回路と、前記認識結果を表示するモニタTVと、前記
ソフトウェアの制御及びインタフェースを介して上位コ
ントローラに結合し上位コントローラとの間で計測指令
、計測結果を授受するとともに前記全回路を制御する中
央処理装置を備え、周辺装置の接続状態をチェックし、
その状態を使用者に知らせることができることを特徴と
する視覚センサにおけるシステム診断方法。
A camera that reads an image of a target workpiece, an image input circuit that takes in a video signal from this camera, an image storage circuit that digitally processes the input image and stores it as image data, and a binarization process for the image data. an image processing circuit that removes isolated points and recognizes image features;
software for controlling the image processing circuit; a storage circuit having a memory backup function for storing the software; a monitor TV for displaying the recognition results; It is equipped with a central processing unit that sends and receives measurement commands and measurement results to and from the equipment, and also controls all of the circuits mentioned above, and checks the connection status of peripheral devices.
A method for diagnosing a system in a visual sensor, characterized by being able to inform a user of its status.
JP25097489A 1989-09-27 1989-09-27 System diagnostic method in visual sensor Pending JPH03113980A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP25097489A JPH03113980A (en) 1989-09-27 1989-09-27 System diagnostic method in visual sensor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP25097489A JPH03113980A (en) 1989-09-27 1989-09-27 System diagnostic method in visual sensor

Publications (1)

Publication Number Publication Date
JPH03113980A true JPH03113980A (en) 1991-05-15

Family

ID=17215798

Family Applications (1)

Application Number Title Priority Date Filing Date
JP25097489A Pending JPH03113980A (en) 1989-09-27 1989-09-27 System diagnostic method in visual sensor

Country Status (1)

Country Link
JP (1) JPH03113980A (en)

Similar Documents

Publication Publication Date Title
JPH0460817A (en) Detection of camera positional deviation
JPS6239737A (en) System for setting temperature range
JPH03113980A (en) System diagnostic method in visual sensor
JP2665227B2 (en) Position correction device
JPH05121147A (en) Load heater open circuit detecting device
JPH02100181A (en) Visual sensor
JP2546005B2 (en) A / D converter
JP2685636B2 (en) Disconnection detection device for analog input signal line
JPS6042378Y2 (en) waveform storage device
JPH0414724B2 (en)
JPS6385822A (en) Engineering work station
JPH0533933Y2 (en)
JPH11179635A (en) Clamp confirming device
JP2513133Y2 (en) Temperature detection circuit
JPS6363923B2 (en)
CN115328049A (en) Industrial robot safety control system
JPS6234012A (en) Stable point display circuit in apparatus for digital display of measured data
CN115700861A (en) Test method, test device, server and test system
JPS61241606A (en) Eyesight sensor
JPH0224042A (en) Working device for four dimensional solid
JPS62292378A (en) Parameter setting system of picture processor
KR19980086254A (en) Straight Hough Converter
JPS605504U (en) Controller for multi-stage cascade connection
JPH0665945U (en) Display inspection system
JPH05231884A (en) Plant surveillance device