JPH0781677B2 - Self-diagnosis method for safety monitoring device - Google Patents

Self-diagnosis method for safety monitoring device

Info

Publication number
JPH0781677B2
JPH0781677B2 JP23458887A JP23458887A JPH0781677B2 JP H0781677 B2 JPH0781677 B2 JP H0781677B2 JP 23458887 A JP23458887 A JP 23458887A JP 23458887 A JP23458887 A JP 23458887A JP H0781677 B2 JPH0781677 B2 JP H0781677B2
Authority
JP
Japan
Prior art keywords
safety monitoring
monitoring device
self
check
normal
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.)
Expired - Lifetime
Application number
JP23458887A
Other languages
Japanese (ja)
Other versions
JPS6479500A (en
Inventor
好隆 坂本
修二 佐々木
秀春 下川
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.)
Toyota Motor Corp
Original Assignee
Toyota Motor 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 Toyota Motor Corp filed Critical Toyota Motor Corp
Priority to JP23458887A priority Critical patent/JPH0781677B2/en
Publication of JPS6479500A publication Critical patent/JPS6479500A/en
Publication of JPH0781677B2 publication Critical patent/JPH0781677B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Manipulator (AREA)
  • Image Processing (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、産業用ロボット、NC工作機等の自動的に動作
することが可能な設備に付加された視覚機能を備えた安
全監視装置の自己診断方法に関する。
DETAILED DESCRIPTION OF THE INVENTION [Industrial field of application] The present invention relates to a safety monitoring device having a visual function added to equipment that can automatically operate such as an industrial robot and an NC machine tool. Regarding self-diagnosis method.

〔従来の技術〕[Conventional technology]

従来、この種の安全監視装置の自己診断方法としては、
電源が正常であるかどうか、或いはP−ROM(Programma
bla ROM)チェック(TOTALチェック)が正常であるか否
か等で診断していた。
Conventionally, as a self-diagnosis method for this type of safety monitoring device,
Whether the power supply is normal or P-ROM (Programma
I was diagnosing whether the (bla ROM) check (TOTAL check) was normal or not.

しかし、これらの手段のみでは画像処理部の診断が出来
ないので、例えば基準画像を入力し、それを解析して正
常な特徴値を計算するか否か等で確認していた。
However, since the image processing unit cannot be diagnosed only by these means, for example, the reference image is input, and it is confirmed by analyzing whether or not the normal feature value is calculated.

ところがこの方法は、少くとも1つの画像を入力するた
めの時間に加えて、その入力した画像を処理する時間を
必要とするために、安全監視装置がオン・ラインで動作
中に自己をチェックすることはできず、システムの立上
げ時、つまり始動時、或いは安全監視を行なう時以外に
たとえばロボット等の自動機械の停止しているときに自
己をチェックしていた。
However, this method requires the time for processing the input image in addition to the time for inputting at least one image, so that the safety monitoring device checks itself while operating online. Therefore, the self-check is performed when the system is started up, that is, when the system is started, or when an automatic machine such as a robot is stopped except when performing safety monitoring.

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

この様に、上記の方法によれば、ロボット等が稼働して
おりその安全監視中には自己のチェックが出来ないた
め、もし異常を生じた場合は事故につながるという不具
合があった。
As described above, according to the above method, since the robot or the like is in operation and the self-check cannot be performed during the safety monitoring, there is a problem that if an abnormality occurs, an accident will occur.

ここにおいて本発明は、従来方法の難点を克服し、安全
監視装置の自己診断に要する処理時間が短く、従ってロ
ボット等が稼働中でも常時チェック可能な自己診断方法
を提供することを、その目的とする。
It is an object of the present invention to provide a self-diagnosis method which overcomes the drawbacks of the conventional methods and has a short processing time required for self-diagnosis of a safety monitoring device, and therefore can always check even when a robot or the like is in operation. .

〔問題点を解決するための手段〕[Means for solving problems]

本発明は、 まず情報処理部の正常チェックとして、 P−ROMをチェックする所謂TOTALチェックを行ない
正常である。
In the present invention, first, as a normality check of the information processing section, a so-called TOTAL check for checking the P-ROM is performed and it is normal.

次にカメラからの画像入力線の断線或いは異常のチェッ
クとして、 カメラ画像入力信号をその明度レベルにより段階化
し、各明度レベルにある画素数を表した画素分布データ
が明度最低或いは最高レベル集中していない。
Next, as a check for disconnection or abnormality of the image input line from the camera, the camera image input signal is graded according to its brightness level, and the pixel distribution data representing the number of pixels at each brightness level is concentrated at the minimum or maximum brightness level. Absent.

及び画像処理部正常チェックとして、 カメラ入力画像の画素分布データのうち背景に相当
する明度レベルのうちの2〜3個の明度レベルにある画
素数が前回入力画像のそれらと比較して変化しているも
のがある。
Also, as a normality check of the image processing unit, the number of pixels at 2-3 brightness levels among the brightness levels corresponding to the background in the pixel distribution data of the camera input image is changed compared with those of the previous input image. There is something.

これらの3条件全て成立で正常とする安全監視装置の自
己診断方法である。
This is a self-diagnosis method for a safety monitoring device that is normal when all three of these conditions are met.

〔作用〕[Action]

この様にすると、カメラを含めて、画像処理部の正常チ
ェックが、安全監視のために取込んだ画像データの画素
分布の数個の明度レベルの画素を取り出して比較する処
理だけで済むので、処理時間が短くてよく、従って安全
監視の処理サイクル内に入れることができ、正常チェッ
クを常時行うことが可能となる。
By doing this, the normal check of the image processing unit including the camera can be performed only by extracting and comparing pixels of several brightness levels of the pixel distribution of the image data captured for safety monitoring. The processing time may be short, so that it can be put in the processing cycle of safety monitoring, and the normality check can always be performed.

〔実施例〕〔Example〕

以下、本発明による安全監視装置の自己診断方法を、図
面に示す一実施例に基づいて具体的に説明する。
A self-diagnosis method for a safety monitoring device according to the present invention will be specifically described below based on an embodiment shown in the drawings.

第2図に斜視図で表わすように、作業員が治具台8上に
溶接部品9をセットした後、安全な領域に退いて、溶接
開始ボタン(図示せず)を押すと、スポット溶接ロボッ
ト7が溶接を開始する。
As shown in the perspective view in FIG. 2, after the worker sets the welding parts 9 on the jig base 8 and moves back to a safe area and presses the welding start button (not shown), the spot welding robot 7 starts welding.

安全監視装置5は、画像処理機能を備えている。The safety monitoring device 5 has an image processing function.

この画像処理機能とは、少くともカメラ1〜カメラ4か
らの画像入力信号を導入して画素分布を生成する機能
と、画像入力信号を任意のレベルで2値化し、2値化し
た後の白“1"レベルの画素数を計数する機能である。
The image processing function includes at least a function of introducing an image input signal from the camera 1 to the camera 4 to generate a pixel distribution, and a white after binarizing the image input signal at an arbitrary level. This is a function of counting the number of pixels of "1" level.

しかして、その安全監視装置(画像処理装置)5は、溶
接ロボット7の周辺を4領域に分割して、各領域毎にカ
メラ1〜カメラ4を設置して、つねに監視領域6内に侵
入する物体を監視している。
Then, the safety monitoring device (image processing device) 5 divides the periphery of the welding robot 7 into four regions, installs the cameras 1 to 4 in each region, and always enters the monitoring region 6. I'm watching an object.

この一実施例では、まずカメラ1の画像を取込み背景よ
り少し上の明度レベルで2値化し、明るい方を画像とし
て抽出し、その画素数を計数している。第3図(画素分
布図)に示す様に、作業服、手等は背景より明るいので
作業員が監視領域6に入った場合は、画像として抽出さ
れることになる。
In this embodiment, the image of the camera 1 is first captured, binarized at a lightness level slightly above the background, the brighter one is extracted as an image, and the number of pixels is counted. As shown in FIG. 3 (pixel distribution diagram), work clothes, hands, and the like are brighter than the background, so that when a worker enters the monitoring area 6, it is extracted as an image.

安全監視装置5は次にカメラ2の画像を取込み同様の処
理を行なう。以下カメラ3,カメラ4,カメラ1,……と順次
切替えて同様の処理を行ない、いずれかのカメラ入力画
像の画素数が設定値を越えた場合に、溶接ロボット7に
対し、動作不可信号を出力し、溶接ロボット7を非常停
止させることで、誤って作業員が設備に近づいたために
起こる事故を未然に防ぐことができる。
The safety monitoring device 5 then takes in the image of the camera 2 and performs the same processing. After that, the same process is performed by sequentially switching the camera 3, the camera 4, the camera 1, and so on. When the number of pixels of the image input by any of the cameras exceeds the set value, the operation disable signal is sent to the welding robot 7. By outputting and stopping the welding robot 7 in an emergency, it is possible to prevent an accident caused by a worker accidentally approaching the equipment.

この一実施例における概略フローを第1図(a)に表わ
す。
A schematic flow in this embodiment is shown in FIG.

安全監視装置5はスタート(ステップ10)すると基準画
素数等のを初期値をセット(ステップ11)する。そし
て、停止フラグをリセット、正常フラグをセット(ステ
ップ12)し、まずカメラ1の画像を入力(ステップ13)
する。
When the safety monitoring device 5 starts (step 10), it sets initial values such as the reference pixel number (step 11). Then, the stop flag is reset, the normal flag is set (step 12), and the image of the camera 1 is first input (step 13).
To do.

ところで、ステップ13では予め監視領域6内を分割した
ウインドの2値化レベル等のパラメータセット(ステッ
プ131)してあるので、画像入力(ステップ132)は所定
のレベルで2値化した後、白“1"の画素数を計数し値が
基準値以上であれば停止フラグをセット(ステップ13
4)する。
By the way, in step 13, since the parameter set such as the binarization level of the window obtained by dividing the inside of the monitoring area 6 in advance is set (step 131), the image input (step 132) is binarized at a predetermined level, and then white. The number of pixels of "1" is counted, and if the value is equal to or greater than the reference value, the stop flag is set (step 13
4) Do.

次に自己が正常か否かを診断(ステップ134)する。Next, it is diagnosed whether the self is normal (step 134).

このステップ134における正常チェックフローを第1図
(b)に示す。
The normal check flow in step 134 is shown in FIG.

ステップ1343で画素分布の0及び最大のレベル例えば12
7の画素数が視野内全画素数の所定比率以上になってい
るか否かを調べ、所定比率以上であれば正常フラグをリ
セットする。
In step 1343, the pixel distribution is 0 and the maximum level is, for example, 12
It is checked whether the number of pixels of 7 is equal to or more than a predetermined ratio of the total number of pixels in the field of view, and if the ratio is equal to or more than the predetermined ratio, the normal flag is reset.

更に、ステップ1344へ進み背景の明度レベ範囲内の明度
LEV1及びLEV2の画素数と、前回入力画像のそれとを比較
し、LEV1とLEV2の画素数が共に前回と変化なければ正常
フラグをリセツトする。
Further, the procedure proceeds to step 1344, and the brightness within the background brightness level range
The number of pixels of LEV1 and LEV2 is compared with that of the previous input image, and if both the number of pixels of LEV1 and LEV2 are the same as the previous one, the normal flag is reset.

しかして、情報処理部のソフトウェアのP−ROMチェッ
ク(TOTALチェック)が正常か否かつまり正常フラグが
セットされているか否かを調べ、リセット状態であれば
正常フラグをリセットするステップ1342が別ルーチンで
処理されている。
Then, it is checked whether the P-ROM check (TOTAL check) of the software of the information processing unit is normal, that is, whether the normal flag is set, and if it is in the reset state, the normal flag is reset. Is being processed by.

そして、カメラ2の画像を取込み同様の処理(ステップ
14)を行なう。更にカメラ3、カメラ4の画像を取込み
同様の処理(ステップ15,16)を行う。
Then, the same process (step
14) Further, the same processing (steps 15 and 16) is performed by taking in the images of the cameras 3 and 4.

最後に、停止フラグがセットされていれば溶接ロボット
に対して非常停止信号を出力し、又正常フラグがリセッ
ト状態であれば、正常信号出力をOFFさせると共に溶接
ロボットを停止(ステップ17)させる。
Finally, if the stop flag is set, an emergency stop signal is output to the welding robot, and if the normal flag is in the reset state, the normal signal output is turned off and the welding robot is stopped (step 17).

安全監視装置5は以上の処理を、外部から与えられる監
視スタート信号がOFFとなるまで繰り返す(ステップ1
8)。
The safety monitoring device 5 repeats the above processing until the monitoring start signal given from the outside is turned off (step 1
8).

この様にすれば、正常チェックに要する処理時間が、監
視サイクル処理時間(画像入力時間程度)と比べ非常に
短いので、監視サイクル中にこの正常チェックを組み込
むことができ、常時画像処理部を含めた安全監視装置の
正常をチェックすることができる。
By doing this, the processing time required for the normality check is much shorter than the monitoring cycle processing time (image input time), so this normality check can be incorporated during the monitoring cycle, and the constant image processing unit is included. You can check the normality of the safety monitoring device.

〔発明の効果〕〔The invention's effect〕

以上説明した様に、本発明によれば、安全監視装置が正
常か否かのチェックに要する時間が短くて済み、従って
常時チェックを行なうことが可能となり、安全監視装置
の信頼性が向上すると共に、従来の様な正常チェックの
ための特徴値解析処理を必要とせず、システムの立上げ
始動も簡単になる等の格段の効果がある。
As described above, according to the present invention, the time required to check whether or not the safety monitoring device is normal is short, and therefore it is possible to always check, and the reliability of the safety monitoring device is improved. Since there is no need to perform the characteristic value analysis process for the normality check as in the past, the system can be started up and started easily, which is a remarkable effect.

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

第1図は本発明の一実施例における安全監視概略処理フ
ロー及び正常チェックの概略フローを示す図、第2図は
安全監視装置の例の斜視図、第3図は安全監視装置の被
監視物体(作業員)の検出可否を説明するための画素分
布図である。 5…安全監視装置(画像処理装置)、6…監視領域、7
…溶接ロボット、8…治具台、9…溶接部品。
FIG. 1 is a diagram showing a safety monitoring general processing flow and a normal check schematic flow in one embodiment of the present invention, FIG. 2 is a perspective view of an example of a safety monitoring device, and FIG. 3 is a monitored object of the safety monitoring device. FIG. 9 is a pixel distribution diagram for explaining whether or not (worker) can be detected. 5 ... Safety monitoring device (image processing device), 6 ... Monitoring area, 7
... Welding robot, 8 ... Jig stand, 9 ... Welding parts.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】視覚機能を備えた安全監視装置の自己診断
方法であって、 画像入力情報を処理する情報処理部のP−ROMチェック
であるTOTALチェックが正常であり、 カメラからの画像入力信号をその明度レベルにより段階
化し、各明度レベルにある画素数を表した画素分布が明
度最低レベル又は最高レベルに集中しておらず、 カメラからの画像入力信号の画素分布で背景に相当する
明度レベルの中の2ないし3個の明度レベルにある画素
数が前回入力信号のそれらと比較して変化しているもの
がある、 という3条件の全てが成立して正常と診断することを特
徴とする安全監視装置の自己診断方法。
1. A self-diagnosis method for a safety monitoring device having a visual function, wherein a TOTAL check, which is a P-ROM check of an information processing unit that processes image input information, is normal, and an image input signal from a camera is received. The pixel distribution representing the number of pixels at each brightness level is not concentrated at the minimum or maximum brightness level, and the brightness level corresponding to the background in the pixel distribution of the image input signal from the camera The number of pixels at two or three brightness levels among the above is different from those of the previous input signal, and all three conditions are satisfied, and it is diagnosed as normal. Self-diagnosis method for safety monitoring equipment.
JP23458887A 1987-09-18 1987-09-18 Self-diagnosis method for safety monitoring device Expired - Lifetime JPH0781677B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP23458887A JPH0781677B2 (en) 1987-09-18 1987-09-18 Self-diagnosis method for safety monitoring device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP23458887A JPH0781677B2 (en) 1987-09-18 1987-09-18 Self-diagnosis method for safety monitoring device

Publications (2)

Publication Number Publication Date
JPS6479500A JPS6479500A (en) 1989-03-24
JPH0781677B2 true JPH0781677B2 (en) 1995-09-06

Family

ID=16973374

Family Applications (1)

Application Number Title Priority Date Filing Date
JP23458887A Expired - Lifetime JPH0781677B2 (en) 1987-09-18 1987-09-18 Self-diagnosis method for safety monitoring device

Country Status (1)

Country Link
JP (1) JPH0781677B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010046735A (en) * 2008-08-20 2010-03-04 Central Motor Co Ltd Safety monitoring system using image recognition device
JP2014066596A (en) * 2012-09-26 2014-04-17 Jfe Steel Corp Device for achieving line work safety

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2808443B1 (en) * 1997-04-02 1998-10-08 清川 晋 Sauna equipment
JP4481432B2 (en) * 2000-05-12 2010-06-16 日本信号株式会社 Image-type monitoring method, image-type monitoring device, and safety system using the same

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010046735A (en) * 2008-08-20 2010-03-04 Central Motor Co Ltd Safety monitoring system using image recognition device
JP2014066596A (en) * 2012-09-26 2014-04-17 Jfe Steel Corp Device for achieving line work safety

Also Published As

Publication number Publication date
JPS6479500A (en) 1989-03-24

Similar Documents

Publication Publication Date Title
CN110738135B (en) Method and system for judging and guiding worker operation step standard visual recognition
JPS6336919B2 (en)
CN111951225A (en) PCB welding abnormity detection method and device and storage medium
JPH0781677B2 (en) Self-diagnosis method for safety monitoring device
CN213457742U (en) Welding operation monitoring system
JPS63306894A (en) Safety monitor method
CN112447027A (en) State detection method, state detection device, computer device and readable storage medium
JP6948294B2 (en) Work abnormality detection support device, work abnormality detection support method, and work abnormality detection support program
CN115220405A (en) Equipment safety point inspection system and equipment safety point inspection method
JP2543957B2 (en) Plant monitoring equipment
JP7496080B2 (en) Machine Tools
KR102265461B1 (en) Abnormal Data Detection System in Manufacturing Process
JP2550604B2 (en) Method of detecting monitored object of safety monitoring device
JPS61276497A (en) Method for recognizing deadlock
JPS6315116B2 (en)
KR102629019B1 (en) System for detecting person and controlling machine in danger zone
WO2022249249A1 (en) Video analysis device, video analysis system, and storage medium
JP3147634B2 (en) Work error determination device
JPH01240294A (en) Image take in method for safety monitoring device
CN109255233B (en) Vulnerability detection method and device
JPH0783836A (en) Method for detecting and processing defective
CN118053272A (en) Double operation monitoring method
JPH02205998A (en) State monitoring device
JPS61259302A (en) Abnormal time disposing deciding device for plant
JPH01147676A (en) Control system for dynamic window