JPS61128107A - Detection of welded wire, etc. - Google Patents

Detection of welded wire, etc.

Info

Publication number
JPS61128107A
JPS61128107A JP59249686A JP24968684A JPS61128107A JP S61128107 A JPS61128107 A JP S61128107A JP 59249686 A JP59249686 A JP 59249686A JP 24968684 A JP24968684 A JP 24968684A JP S61128107 A JPS61128107 A JP S61128107A
Authority
JP
Japan
Prior art keywords
window
line
point
contour
displacement
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
JP59249686A
Other languages
Japanese (ja)
Inventor
Kazuya Ishiguro
石黒 一也
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.)
Nachi Fujikoshi Corp
Original Assignee
Nachi Fujikoshi 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 Nachi Fujikoshi Corp filed Critical Nachi Fujikoshi Corp
Priority to JP59249686A priority Critical patent/JPS61128107A/en
Publication of JPS61128107A publication Critical patent/JPS61128107A/en
Pending legal-status Critical Current

Links

Landscapes

  • Length Measuring Devices By Optical Means (AREA)

Abstract

PURPOSE:To enable a correct operation of welding, etc., by correcting a window displacement direction by the center of gravity of inside-window profile image element line set in a digital image, by recognizing a deviated position of a counted value of the number of image elements from the set reference value as the end point of the profile line, etc. CONSTITUTION:Above a specimen, a TV camera 1 is set and prior to measurement, window size 3, detection starting position 11, direction by detection 11, allowable limit of change of number of images of the profile line inside the window 14 are set beforehand. Measurements are conducted with the initial setting of the window in this position 11 and by counting the inside-window areas and by allowing displacements by the specified quantity up to the time when the allowable level of area change of the set area. Similarly a displacement in the direction 6 is conducted, the displacement at this time being such that a correction is made to the effect that the position of center of gravity of the inside-window profile image line falls in the window center perpendicular to the direction 6 and when it gets out of the allowable limit of area change, the displacement is stopped. This position corresponds to either of terminal point, bending point, branch-off point of the line 14 and the central position of the window position thus defined can be issued out as an output as starting and terminating points of the operation.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は産業ロボット等による自動化された溶接機、シ
ーリング機等において、被作業物の溶接線、ンール材塗
布線等の位置ズレを検出する溶接線等の検出方法に関す
る。
[Detailed Description of the Invention] (Industrial Application Field) The present invention detects misalignment of welding lines, glue material application lines, etc. of workpieces in automated welding machines, sealing machines, etc. using industrial robots etc. This article relates to a method for detecting weld lines, etc.

一般に溶接やシーリング作業においては、被作業物及び
そnを固定するための治具に精度誤差が存在し、こnを
なんら補正せずに産業用ロボットに作業を行なわせた場
合、不良品が生じる可能性が非常に高い。本発明は、こ
の精度誤差等に起因する被作業物の位置ズレを検出しそ
のズレ童を産業用ロボットに補正させ不良品の発生を無
くすことに使用できるような溶接線等の検出方法を提供
することに関する。
Generally, in welding and sealing work, there are accuracy errors in the workpiece and the jig used to fix it, and if an industrial robot is used to perform the work without making any corrections for this, defective products may occur. very likely to occur. The present invention provides a method for detecting weld lines, etc., which can be used to detect positional deviations of workpieces caused by accuracy errors, etc., and have an industrial robot correct the positional deviations, thereby eliminating the occurrence of defective products. Concerning what to do.

(従来の技術) ロボット等による自動化さ几た溶接機、シーリング機等
において被作業物の位置ズレを非接触で光学的にとらえ
る周知技術としては例えば次のようなものがある。第1
は特開昭58−157513111号および特開昭59
−184816号各公報に記載するような光学的変位計
を使用して、検出された角度の違いにより距離検出を行
うものがあるが、この場合において、溶接線等の始点終
点等を検出しようとするときは上記変位計を別の揺動機
械により動かす必要があった。また第2には、特開昭5
6−67703号、特開昭59−93293号各公報記
載載するような、光切断法即ちスリット光をあてて段差
を読み取るものがあり、さらにスリット光の代りに環状
光をあて段差を読み取るもの(特開昭58−17407
1号公報)があるがこの場合にも第1のものと同様にロ
ボット等に取付けたTVカメラにおいて、TVカメラ自
自体クロボット動きとは別に機械的手段で移動させる必
要があった。さらに第3には、特開昭59−11468
9号、特開昭59−154578号、特開昭59−13
5579号、特開昭59−98286号に示すような、
注目画素と隣接する画素との関係により輪郭を追跡した
り、輪郭線を線分で近似させて読み取るものがある。し
かしながらこの場合は被測定物の形状を読み取ることに
ついてはすぐnでいるが、溶接線等を高速で読み取るこ
とには適していない。さらに第4としては、移動する小
物体の重心位置を測定し物体を自動追跡する装置が知ら
nているが、第3のものと同様に、高速で溶接線等を読
み取ることには適していない。
(Prior Art) For example, the following is a well-known technique for optically detecting the displacement of a workpiece in a non-contact manner in an automated welding machine, sealing machine, etc. using a robot or the like. 1st
is JP-A-58-157513111 and JP-A-59
-No. 184816 Some optical displacement meters, such as those described in various publications, are used to detect distance based on the difference in detected angles. When doing so, it was necessary to move the displacement meter using a separate swinging machine. Secondly, in JP-A-5
6-67703 and Japanese Patent Application Laid-Open No. 59-93293, there is a light cutting method, that is, a method in which a slit light is applied to read the step, and a method in which a ring light is applied instead of the slit light to read the step. (Unexamined Japanese Patent Publication No. 58-17407
1), but in this case as well, in the case of a TV camera attached to a robot or the like, it was necessary to move the TV camera itself by mechanical means in addition to the movement of the crobot. Furthermore, thirdly, Japanese Patent Application Laid-Open No. 59-11468
No. 9, JP-A-59-154578, JP-A-59-13
No. 5579, as shown in Japanese Patent Application Laid-Open No. 59-98286,
Some methods track the contour based on the relationship between the pixel of interest and adjacent pixels, or approximate the contour line with line segments. However, in this case, although it is easy to read the shape of the object to be measured, it is not suitable for reading weld lines and the like at high speed. Fourthly, there are known devices that measure the center of gravity of moving small objects and automatically track the objects, but like the third method, they are not suitable for reading weld lines etc. at high speeds. .

(発明が解決しようとする問題点) 本発明の目的は産業ロボット等による自動化された溶接
、ンーリング作業において、被作業物の容接線、シール
材塗付線等の位置ズレを正確かつ高速で検出し、そのズ
レ量と産業用ロボットに補正させることに使用できるよ
うな溶接線等の検出方法を提供することにある。
(Problems to be Solved by the Invention) The purpose of the present invention is to accurately and quickly detect misalignment of the tangent line of the workpiece, sealing material application line, etc. in automated welding and thinning operations using industrial robots, etc. However, it is an object of the present invention to provide a method for detecting a weld line, etc., which can be used to correct the amount of deviation and an industrial robot.

(問題点を解決するための手段) このため本発明は、静止した被測定物の映像をTVカメ
ラにより二次元画像として取り込み、φ変換装置、画像
メモIJ +、および輪郭抽出部を介して検出されたデ
ィジタル画像の輪郭画素列において輪郭線の一部が入る
窓をディジタル画像内に設定し、窓内輪郭画素列の重心
により窓移動方向を補正しながら指定方向に動かし、窓
内輪郭画素数計数値が設定較差からはず几た位置を輪郭
線の終了点、屈曲点、分岐点として認識する位置検出部
で出力する溶接線等の検出方法としたものである。
(Means for Solving the Problem) Therefore, the present invention captures an image of a stationary object to be measured as a two-dimensional image using a TV camera, and detects it via a φ conversion device, an image memo IJ+, and a contour extraction unit. Set a window in the digital image into which a part of the contour line fits in the contour pixel row of the digital image, move it in the specified direction while correcting the window movement direction based on the center of gravity of the contour pixel row in the window, and calculate the number of contour pixels in the window. This is a method for detecting weld lines, etc., in which a position detecting section recognizes the position where the count value deviates from the set range as the end point, bending point, or branching point of the contour line.

(実 施 例) 本発明の方法の主要構成を第1図に示す。静止した被測
定物(2)の映像をTVカメラ(1)により二次元両津
として取り込まBA、/D変換部(6)によりアナログ
1からディジタル量に変換さ几画儂メモIJ (13に
格納さnる。(映像を256×256の点に分割して、
そnぞnの点を画像メモリのIBYTEとして、その明
るさに応じた値をもたせる。)画像メモリ叫内のディジ
タル画像は輪郭抽出部αeで公知の手法により輪郭画像
αOとなる。この輪郭画像から位置検出部αQで本発明
の方法により輪郭線α尋の始点、終点(7)、屈曲点(
8)、分岐点(9)位置を検出して出力する。
(Example) The main structure of the method of the present invention is shown in FIG. The image of the stationary object to be measured (2) is captured as a two-dimensional image by the TV camera (1), converted from analog to digital by the BA, /D converter (6), and stored in the image memo IJ (13). (Divide the image into 256 x 256 points,
The nth point is set as the IBYTE of the image memory and has a value corresponding to its brightness. ) The digital image in the image memory is turned into a contour image αO by a known method in a contour extraction unit αe. From this contour image, the position detection unit αQ uses the method of the present invention to determine the starting point, end point (7), and bending point (
8) Detect and output the branch point (9) position.

第2図に位置検出部αθの処理をフローチャードで示す
。第3図の被測定物(2)において点P2を求める場合
を例に実施方法を示す。第3図の被測定物(2)の上方
にTVカメラ(1)を設け、その画像の輪郭線α4を取
り出したものが第4図である。測定に先立ち、あらかじ
め窓(ウィンドウ)(3)の大きさ、探査開始位置αυ
(第6図)、第1探査方向(5)、第2探査方向(6)
、窓内の輪郭線Uの画素数(面、@)変化許容レベルを
設定しておく。探査する輪郭線a<を第5図に示す。第
6図に示す位置Ql) Ic窓を初期設定し、窓内面積
を計数しながら第7図に示す様に、窓を第1探査方向(
5)Ic一定量ずつ移動する。
FIG. 2 shows a flowchart of the processing of the position detection unit αθ. The implementation method will be described by taking as an example the case of finding the point P2 in the object to be measured (2) in FIG. 3. A TV camera (1) is installed above the object to be measured (2) shown in FIG. 3, and FIG. 4 shows the outline α4 of the image. Prior to measurement, the size of the window (3) and the exploration start position αυ are determined in advance.
(Figure 6), 1st exploration direction (5), 2nd exploration direction (6)
, the allowable level for change in the number of pixels (surface, @) of the contour line U within the window is set. The contour line a< to be searched is shown in FIG. Initialize the Ic window (position Ql shown in Figure 6) and move the window to the first search direction (Ql as shown in Figure 7) while counting the area inside the window.
5) Move Ic by a certain amount.

この様にして第1探査は窓内面積が先に設定した面積変
化許容レベルを越えるまで行なう。そのあとで次に同じ
く窓内面積を計数しながら、第2探査方向(6)に窓を
一定量ずつ移動してゆく(第9図)。
In this manner, the first search is performed until the area within the window exceeds the previously set area change tolerance level. After that, the window is moved by a fixed amount in the second search direction (6) while counting the area inside the window (Figure 9).

この時窓内輪郭画素列の重心を計算しその重心位置が窓
中心にくる様第2探査方向(6)と垂直な方向に補正し
ながら移動してゆく(重心補正、第9図)。
At this time, the center of gravity of the contour pixel row within the window is calculated, and the center of gravity is moved while being corrected in a direction perpendicular to the second search direction (6) so that the center of gravity is at the center of the window (center of gravity correction, FIG. 9).

この重心補正によって、輪郭線剣4が斜めあるいは曲線
であっても追従してゆくことができる。こ几も、窓内面
積があらかじめ設定しである面積変化許容レベルをはず
nた時点で探査動作を停止する(第1O図)。こnは、
容接線等の始点、終点(7)をとらえる場合、溶接線(
4)を輪郭線α4として得た時第11図の、様な輪郭線
Q4の終点(7)となるか、第12図の屈曲点(8)と
なるか、ila図の様な分岐点(男となるかのいずnか
である。いずnにしてもその周辺で窓内面積が大きく変
化する性質を利用(発明の作用効果) 従来溶接線の検出方法にはさきに述べたように種々のも
のが考案さnているが、例えば光学的に検出するものは
、光学的変位計により被測定物との距離を計測し、段差
を検出した位置を溶接線として認識するか、光切断法を
用いて、スリット光を照射し段差部分でス’J y )
光が曲がる部分を溶接線として認識している。いず几の
場合も、溶接線上の一点が検出できるだけで、そnが溶
接線の始点(終点)とは限らない。そのため溶接線の始
点(終点)を得るようとするためには、被測定物上をセ
ンサーを移動させて探さなけnばならない。
This correction of the center of gravity allows the contour line sword 4 to follow even if it is diagonal or curved. This method also stops the exploration operation when the area inside the window exceeds a preset area change tolerance level (Fig. 1O). This is
When capturing the starting point and ending point (7) of the capacitive tangent line, etc., welding line (
4) as the contour line α4, it becomes the end point (7) of the contour line Q4 as shown in Fig. 11, the bending point (8) as shown in Fig. 12, or the branching point ( Either it becomes a man or it becomes a man.Using the property that the area inside the window changes greatly around it even if it becomes a man (effects of the invention) Conventional methods for detecting welding lines are as described earlier. Various methods have been devised for this purpose. For example, optical detection methods measure the distance to the object with an optical displacement meter and recognize the detected position as a welding line, or Using the cutting method, irradiate the slit light and cut the stepped part.
The part where the light bends is recognized as a weld line. In the case of Izuko, only one point on the weld line can be detected, but that point is not necessarily the start point (end point) of the weld line. Therefore, in order to find the starting point (ending point) of the weld line, it is necessary to move the sensor over the object to be measured.

こnは高速に処理する上で問題がある。本発明によnば
、二次元情報(平面の情報)により処理する為、被測定
物の溶接線の始点(終点)近傍で一度画像を取り込むだ
けで済み、この為高速処理が可能である。
This poses a problem in high-speed processing. According to the present invention, since processing is performed using two-dimensional information (plane information), it is only necessary to capture an image once near the start point (end point) of the weld line of the object to be measured, and therefore high-speed processing is possible.

まfc、、従来の輪郭線処理は輪郭画素列上の一点とそ
の近傍の画素との関係により輪郭線を線分近似したり、
被測定物の形状を判別する用途に使わnていたが、本発
明では、輪郭線の形状を問題とせず、その始点(終点)
、屈曲点、分岐点を求める操作に限定し面積と重心とい
う簡単なパラメーターで制御する為、高速処理を可能と
している。
In conventional contour processing, the contour line is approximated by line segments based on the relationship between one point on the contour pixel array and its neighboring pixels,
However, in the present invention, the shape of the contour line does not matter, and the starting point (end point)
, bending points, and branching points are controlled using simple parameters such as area and center of gravity, making high-speed processing possible.

本発明によnば、TV右カメラ写し出せる範囲内の被測
定物のズレであnは平行移動は、もちろん回転移動によ
るズレも高速で検出でき被測定物にズレの有る場合でも
こnをズレとして補正を行うことができるので、正確に
溶接、/−ル材塗布作業が可能となる。
According to the present invention, displacements of the object to be measured within the range that can be captured by the TV right camera can be detected at high speed, not only due to parallel movement but also rotational movement. Since the deviation can be corrected, accurate welding and/or material application work becomes possible.

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

第1図は本発明の方法の主要構成を示すブロック図、第
2図は第1図の位置検出部が行う処理金示すフローチャ
ート、第3図は本発明の方法全実施するときのTV右カ
メラ被測定物および溶接線等の配置を示す概略斜視図、
第4図乃至第13図は第1図の輪郭抽出部が取出し次輪
郭線をそnぞn示す。 1・・・・・・TV右カメラ  2・・・・・・被測定
物3・・・・・・窓       4・・・・・・溶接
線5.6・・・・・・指定方向    7・・・・・・
始点・終点8・・・・・・屈曲点     9・・・・
・・分岐点12・・・・・・A/D変換部   13・
・・・・・画像メモリ14・・・・・・輪郭線    
 15・・・・・・輪郭抽出部16・・・・・・位置検
出部 代理人 弁理士  河 内 潤 二 第2図   イずγ1オ1?jニ師7℃7%−)拮3 
口  I  TVカメラ
Fig. 1 is a block diagram showing the main configuration of the method of the present invention, Fig. 2 is a flowchart showing the processing performed by the position detection section of Fig. 1, and Fig. 3 is a TV right camera when the method of the present invention is fully implemented. A schematic perspective view showing the arrangement of the object to be measured and the welding line, etc.;
4 to 13 each show the contour lines extracted by the contour extraction section of FIG. 1. 1...TV right camera 2...Object to be measured 3...Window 4...Welding line 5.6...Specified direction 7.・・・・・・
Starting point/end point 8...Bending point 9...
... Branch point 12 ... A/D conversion section 13.
... Image memory 14 ... Contour line
15...Contour extraction unit 16...Position detection unit Agent Patent attorney Jun Kawauchi 2 Figure 2 Izuγ1O1? J Nishi 7℃ 7%-) Comparison 3
Mouth I TV Camera

Claims (1)

【特許請求の範囲】[Claims] 静止した被測定物の映像をTVカメラにより二次元画像
として取り込み、A/D変換装置、画像メモリーおよび
輪郭抽出部を介して検出されたディジタル画像の輪郭画
素列において輪郭線の一部が入る窓をディジタル画像内
に設定し、窓内輪郭画素列の重心により窓移動方向を補
正しながら指定方向に動かし窓内輪郭画素数計数値が設
定較差からはずれた位置を輪郭線の終了点、屈曲点、分
岐点として認識する位置検出部で出力する溶接線等の検
出方法。
A window into which a part of the contour line is inserted in the contour pixel row of the digital image, which is captured by a TV camera as a two-dimensional image of a stationary object and detected via the A/D converter, image memory, and contour extraction unit. is set in the digital image, and the window is moved in the specified direction while correcting the window movement direction based on the center of gravity of the row of contour pixels within the window.The position where the count value of the number of contour pixels within the window deviates from the set range is the end point and bending point of the contour line. , a method for detecting weld lines, etc. output by a position detection unit that recognizes them as branch points.
JP59249686A 1984-11-28 1984-11-28 Detection of welded wire, etc. Pending JPS61128107A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59249686A JPS61128107A (en) 1984-11-28 1984-11-28 Detection of welded wire, etc.

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59249686A JPS61128107A (en) 1984-11-28 1984-11-28 Detection of welded wire, etc.

Publications (1)

Publication Number Publication Date
JPS61128107A true JPS61128107A (en) 1986-06-16

Family

ID=17196691

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59249686A Pending JPS61128107A (en) 1984-11-28 1984-11-28 Detection of welded wire, etc.

Country Status (1)

Country Link
JP (1) JPS61128107A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02234005A (en) * 1989-03-08 1990-09-17 Matsushita Electric Ind Co Ltd Detecting method for position of feature part of object

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02234005A (en) * 1989-03-08 1990-09-17 Matsushita Electric Ind Co Ltd Detecting method for position of feature part of object

Similar Documents

Publication Publication Date Title
KR0185688B1 (en) A high precision component alignment sensor system
US5113565A (en) Apparatus and method for inspection and alignment of semiconductor chips and conductive lead frames
US4942618A (en) Method and apparatus for determining the shape of wire or like article
EP0532169B1 (en) Optical Inspection Probe
US5531087A (en) Metal sheet bending machine
US6814121B2 (en) Bonding apparatus
CN102735166A (en) Three-dimensional scanner and robot system
GB2051350A (en) System for and a method of automatic inspection of products
US6061467A (en) Automated optical inspection apparatus using nearest neighbor interpolation
US4645993A (en) Position control method
EP0547269A1 (en) Apparatus and method for measuring optical axis deflection
JPS61128107A (en) Detection of welded wire, etc.
KR100415796B1 (en) Method of determining a scanning interval in surface inspection
JP2539015B2 (en) Pellet bonding method and device
JPS6133442B2 (en)
JP4154295B2 (en) Marking position detection method
KR19980026184A (en) Method for measuring side shape of winding coil moving on conveyor belt and device
JP3204692B2 (en) How to capture continuous images
JPH02101613A (en) Measuring machine for gap depth core slider
JPS59182301A (en) Measuring device for external size of work
JPS62157760A (en) Precision processing machine
CN115248017A (en) Rapid detection method and detection system for geometric dimension of branch pipe fitting
JPS62127603A (en) Method and device for measuring and correcting relative position
Asher et al. Noncontacting Optical Measurement And Inspection Systems
JPH0625722B2 (en) Indentation diameter measurement method