JPH06218683A - Work position deflection detecting device - Google Patents

Work position deflection detecting device

Info

Publication number
JPH06218683A
JPH06218683A JP796593A JP796593A JPH06218683A JP H06218683 A JPH06218683 A JP H06218683A JP 796593 A JP796593 A JP 796593A JP 796593 A JP796593 A JP 796593A JP H06218683 A JPH06218683 A JP H06218683A
Authority
JP
Japan
Prior art keywords
work
image data
camera
reference image
detecting device
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.)
Withdrawn
Application number
JP796593A
Other languages
Japanese (ja)
Inventor
Takuya 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.)
Tokico Ltd
Original Assignee
Tokico Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tokico Ltd filed Critical Tokico Ltd
Priority to JP796593A priority Critical patent/JPH06218683A/en
Publication of JPH06218683A publication Critical patent/JPH06218683A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Application Of Or Painting With Fluid Materials (AREA)
  • Control Of Position Or Direction (AREA)
  • Length Measuring Devices By Optical Means (AREA)
  • Manipulator (AREA)

Abstract

PURPOSE:To provide a detecting device for the position deflection of a work which can be installed without reconstructing the already existing equipment and can detect the position deflection of the work during shift. CONSTITUTION:The shift quantity (x) of a work 6 is initiallized (step S204), and the value of the shift quantity (x) is calculated on the basis of the count value of the conveyor pulse (step S205). It is judged if the work 6 reaches the n-th standard position, i.e., the value of the shift quantity (x) obtained in the step S205 becomes equal to the distance L in the half of the viewfield of s camera 1 or not (step S206). After processings ranging from the step S205 to the step s206 are repeated until the result of the judgement becomes 'YES', the image data is compared in the step S207.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、塗装ロボットシステム
等、移動するワークに対する作業を行うシステムに用い
て好適なワーク位置ずれ検知装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a work position deviation detecting device suitable for use in a system for performing work on a moving work such as a coating robot system.

【0002】[0002]

【従来の技術】自動車等の塗装ラインにおいては、作業
空間内に搬入されたワークの位置を検出し、このワーク
位置に対応した適切な塗装作業が行われるように塗装ロ
ボットの動作を制御する必要がある。ここで、ワークが
コンベア等の搬送手段により作業空間内を移動する場合
には、一定距離の搬送が行われる毎に発生されるコンベ
アパルスをカウントすることによりワークの位置を測定
することができ、この測定データを塗装ロボットの動作
の制御に使用することができる。しかしながら、コンベ
アのサージング等が発生した場合、ワーク位置の測定デ
ータが実際のワークの位置からずれてしまい、かかる誤
差を含んだ測定データを使用したのでは、ワーク位置に
対応した正確な塗装作業を塗装ロボットに行わせること
ができない。かかる問題を解決するためには、測定によ
り得られたワーク位置と実際のワーク位置とのずれを検
出しロボットの制御装置にフィードバックしてロボット
の動作を補正する必要がある。
2. Description of the Related Art In a painting line of an automobile or the like, it is necessary to detect the position of a work carried into a work space and control the operation of a painting robot so that an appropriate painting work corresponding to the work position is performed. There is. Here, when the work is moved in the work space by a conveyer such as a conveyer, the position of the work can be measured by counting the conveyer pulses generated each time a certain distance is conveyed, This measured data can be used to control the movement of the painting robot. However, when surging of the conveyor etc. occurs, the measured data of the work position will deviate from the actual position of the work, and using the measured data including such an error, it is possible to perform accurate painting work corresponding to the work position. I can't let the painting robot do it. In order to solve such a problem, it is necessary to detect the deviation between the work position obtained by measurement and the actual work position and feed it back to the robot controller to correct the robot operation.

【0003】以上のような要請から、本願出願人は、特
願昭61−193782号により複数の1次元センサを
使用したワーク位置ずれ検出装置を提案している。この
ワーク位置ずれ検出装置は、各々作業空間内の所定位置
に停止したワークを挟むように対向配置された複数組の
光源および一次元センサとを有してなるものであり、各
1次元センサを構成する各フォトダイオードのON/O
FF状態に基づき作業空間内におけるワークの実際の位
置を検出するものである。
In view of the above demands, the applicant of the present application has proposed a work position deviation detecting device using a plurality of one-dimensional sensors in Japanese Patent Application No. 61-193782. This work position deviation detecting device comprises a plurality of sets of light sources and a one-dimensional sensor which are arranged to face each other so as to sandwich a work stopped at a predetermined position in the work space. ON / O of each configured photodiode
The actual position of the work in the work space is detected based on the FF state.

【0004】さらに本願出願人は、特願昭62−152
650号により、ワークを停止することなくワークの位
置ずれを検出することができるワーク位置ずれ検出装置
を提案している。このワーク位置ずれ検出装置は、ワー
クの搬送路に沿って各々の測定範囲の両側が相互に重複
した複数のイメージセンサを順次配置してなるものであ
る。このワーク位置検出装置によれば、作業空間内に搬
入されたワークは、まず、第1番目のイメージセンサに
より検知され、次いで第2番目のイメージセンサにより
検知され、…という具合に複数のイメージセンサの連係
により連続的に検知される。
Further, the applicant of the present invention is the Japanese Patent Application No. 62-152.
No. 650 proposes a work position deviation detecting device capable of detecting a work position deviation without stopping the work. This work position deviation detection device is configured by sequentially arranging a plurality of image sensors, which overlap each other on both sides of each measurement range, along a work conveyance path. According to this work position detecting device, the work carried into the work space is first detected by the first image sensor, then detected by the second image sensor, and so on. Are continuously detected by the cooperation of.

【0005】[0005]

【発明が解決しようとする課題】しかしながら、上述し
た特願昭61−193782号に係るワーク位置ずれ検
出装置は、停止状態のワークについての位置ずれを検出
するものであるため、コンベアで連続的に搬送されるワ
ークには適用できないという問題があった。また、この
装置を使用する場合、位置ずれを検出を行う毎にワーク
を停止させなければならないので工程時間が長くなって
しまうという問題があった。
However, the work position deviation detecting device according to the above-mentioned Japanese Patent Application No. 61-193782 detects the position deviation of the stopped work, so that it is continuously conveyed by the conveyor. There is a problem that it cannot be applied to a work to be transported. Further, when using this device, there is a problem that the process time becomes long because the work must be stopped every time the positional deviation is detected.

【0006】また、特願昭62−152650号に係る
ワーク位置ずれ検出装置は、ワークの移動に合わせ、複
数のイメージセンサを切り換えて使用することによりワ
ークを検出するものであるため、多くのイメージセンサ
に加え、それらの切り換え制御のための装置およびソフ
トウェアが必要となり、装置が大規模なものとなってし
まう。また、この切り換え制御はワークの搬送と連動し
た複雑な制御となるため、他の制御系に影響を与え、シ
ステムの効率を低下させてしまうという問題があった。
Further, since the work position deviation detecting device according to Japanese Patent Application No. 62-152650 detects a work by switching and using a plurality of image sensors according to the movement of the work, many images are detected. In addition to the sensors, a device and software for switching control between them are required, which makes the device large in size. Further, since this switching control is a complicated control linked with the conveyance of the work, it has a problem that it affects other control systems and reduces the efficiency of the system.

【0007】本発明は、このような事情に鑑みてなされ
たものであり、既存の設備に改造等を加えることなく設
置することができ、しかも、移動中のワークの位置ずれ
を検出することができるワーク位置ずれ検知装置を提供
することを目的とする。
The present invention has been made in view of the above circumstances, and can be installed without modifying existing equipment, and moreover, it is possible to detect the positional deviation of a moving work. An object of the present invention is to provide a work position deviation detection device that can perform the work position deviation detection.

【0008】[0008]

【課題を解決するための手段】上記課題を解決するため
に本発明によるワーク位置ずれ検知装置は、一定の搬送
方向に搬送されるワークを撮像するカメラと、前記ワー
クを前記搬送方向に沿った異なる各位置に配置したとき
に前記カメラにより撮影される各画像を各々基準画像デ
ータとして記憶する記憶装置と、ワーク位置検出手段に
より検出される前記ワークの位置に対応した基準画像デ
ータを前記記憶装置から読み出し、この基準画像データ
と前記カメラにより撮影された移動中のワークの画像デ
ータとを比較することにより、前記ワーク位置検出手段
により検出されたワークの位置のずれ量を演算する演算
手段とを具備することを特徴とする。
In order to solve the above problems, a work position deviation detecting apparatus according to the present invention includes a camera for picking up an image of a work conveyed in a constant conveying direction, and a camera for detecting the work along the conveying direction. A storage device that stores, as reference image data, each image captured by the camera when arranged at different positions, and the storage device that stores the reference image data corresponding to the position of the work detected by the work position detection means. And a calculation means for calculating the deviation amount of the position of the work detected by the work position detection means by comparing the reference image data with the image data of the moving work photographed by the camera. It is characterized by having.

【0009】[0009]

【作用】上記構成によれば、ワークの現在位置に対応し
た基準画像データが記憶装置から読み出され、この基準
画像データとカメラにより撮影された移動中のワークの
画像データとが比較されることにより、ワークの位置の
ずれ量が演算される。
According to the above structure, the reference image data corresponding to the current position of the work is read from the storage device, and the reference image data is compared with the image data of the moving work photographed by the camera. Thus, the amount of displacement of the work position is calculated.

【0010】[0010]

【実施例】以下、図面を参照して本発明の一実施例につ
いて説明する。 A:実施例の構成 図1は本実施例の全体図であり、図2は図1におけるA
−A’線断面図である。これらの図において、6はワー
クたる自動車車体であり、図示しない塗装ロボットの作
業空間内をコンベア10により図中の矢印方向に搬送さ
れる。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings. A: Configuration of Embodiment FIG. 1 is an overall view of this embodiment, and FIG. 2 is A in FIG.
It is a sectional view taken along the line A-A '. In these drawings, reference numeral 6 denotes an automobile body serving as a work, which is conveyed in a work space of a painting robot (not shown) by a conveyor 10 in an arrow direction in the drawings.

【0011】また、コンベア10によりワーク6が一定
距離搬送される毎にコンベアパルスが発生されるように
なっており、このコンベアパルスを計数することにより
ワーク6の位置が求められる。
Further, a conveyor pulse is generated each time the work 6 is conveyed by the conveyor 10 for a predetermined distance, and the position of the work 6 can be obtained by counting the conveyor pulses.

【0012】本実施例によるワーク位置ずれ検出装置
は、このようにコンベアパルスの計数により求められる
ワーク6の位置の実際値からのずれを検出するものであ
り、以下、説明する要素によって構成されている。ま
ず、1はカメラであり、コンベア10の側部に配置さ
れ、その前方を通過するワーク6を撮像し画像データと
して出力するものである。このカメラ1にはワーク6を
照らすための照明2が取り付けられている。また、4は
照明2に電力を供給する電源である。3はワーク6の作
業空間への到来を検知するために設けられた光センサで
ある。7は記憶装置であり、位置ずれ検出の際に使用す
る複数の基準画像データをワーク6の車種毎に記憶して
いる。
The work position deviation detecting apparatus according to the present embodiment detects the deviation of the position of the work 6 from the actual value obtained by counting the conveyor pulses in this way, and is constituted by the elements described below. There is. First, reference numeral 1 denotes a camera, which is arranged on a side portion of the conveyor 10 and images the work 6 passing in front of it and outputs it as image data. An illumination 2 for illuminating the work 6 is attached to the camera 1. Further, 4 is a power source for supplying electric power to the illumination 2. An optical sensor 3 is provided to detect the arrival of the work 6 in the work space. Reference numeral 7 denotes a storage device, which stores a plurality of reference image data used for detecting the positional deviation for each vehicle type of the work 6.

【0013】ここで、基準画像データは、ワーク6を搬
送路上に設定された各基準位置に正確に配置した場合に
カメラ1から得られるであろう画像データである。図3
にこれらの基準画像データの具体的な内容を例示する。
この図において、p0〜p9はワーク6を基準位置x0〜
x9に配置した各場合にカメラ1によって撮影される画
像であり、記憶装置7に記憶される各基準画像データは
これらの画像p0〜p9を各々表すものである。図7は画
像p0〜p9のうち画像p1を拡大したものである。これ
ら複数の基準画像データは車種ごとに定まるものなの
で、車種が変ったときには車種に対応した一連の基準画
像データが位置ずれ検出のためのデータとして選択され
る。
Here, the reference image data is image data that will be obtained from the camera 1 when the work 6 is accurately arranged at each reference position set on the conveyance path. Figure 3
The concrete contents of these reference image data are illustrated in FIG.
In this figure, p0 to p9 refer to the workpiece 6 at the reference position x0 to
Each of the reference image data stored in the storage device 7 is an image captured by the camera 1 in each case of being arranged at x9, and represents each of these images p0 to p9. FIG. 7 is an enlarged view of the image p1 out of the images p0 to p9. Since the plurality of reference image data are determined for each vehicle type, when the vehicle type changes, a series of reference image data corresponding to the vehicle type is selected as the data for detecting the displacement.

【0014】なお、これらの基準画像データを記憶装置
7へ記憶させる動作については後述する。5は画像処理
装置であり、コンベアパルスの計数により求められるワ
ーク6の位置を監視し、ワーク位置が基準位置と一致す
る毎にその基準位置に対応した基準画像データを記憶装
置7から読み出し、カメラ1から得られる画像データと
比較することによりワーク6の位置ずれを演算する。
The operation of storing these reference image data in the storage device 7 will be described later. An image processing device 5 monitors the position of the work 6 obtained by counting the conveyor pulses, and reads the reference image data corresponding to the reference position from the storage device 7 each time the work position matches the reference position. The positional deviation of the work 6 is calculated by comparing with the image data obtained from 1.

【0015】図5はワーク6の移動に伴って基準画像デ
ータが切り換えられる様子を示したものである。図5の
右側に示されたグラフは、光センサ3によってワーク6
が検知されてからの経過時間tと、ワーク6の移動距離
xとの関係を示している。一方、図5の左側には、
「0」〜「10」の数字が付された長方形が記載されて
いるが、これらの長方形は各々基準画像データを表して
おり、各長方形の上下辺により囲まれた範囲は各基準画
像データに対応したワーク6の画像の範囲を示すもので
あり、その長さはカメラの視野に相当する。
FIG. 5 shows how the reference image data is switched as the work 6 moves. The graph shown on the right side of FIG.
4 shows the relationship between the elapsed time t after the detection of “t” and the movement distance x of the work 6. On the other hand, on the left side of FIG.
Although rectangles with numbers “0” to “10” are described, these rectangles respectively represent reference image data, and the range surrounded by the upper and lower sides of each rectangle is the reference image data. It shows the range of the image of the corresponding work 6, and its length corresponds to the visual field of the camera.

【0016】図5の最左側には各基準画像データがワー
ク6のどの部分に対応するかを示すためのスケールが図
示されている。各基準データによって画像の範囲は各々
のまた、図5の右側のグラフには、×、△、●なる記号
が付されているが、これらのうち×はその右側に番号の
示された基準画像データを用いて位置ずれ検出を行うワ
ーク位置、すなわち、上述した基準位置を示している。
また、△は次回の位置ずれ検出に備えて新たな基準画像
データに切り換えるワーク位置を示しており、●はワー
ク6の各部のうち位置ずれ検出に使用した基準画像デー
タに対応した部分がカメラの視野から脱するワーク位置
を表している。
On the leftmost side of FIG. 5, a scale is shown to show which part of the work 6 each reference image data corresponds to. The range of the image according to each reference data is also shown in the graph on the right side of FIG. 5 by symbols such as ×, Δ, and ●. Among these, x is the reference image whose number is shown on the right side. The work position for which the positional deviation is detected using the data, that is, the above-mentioned reference position is shown.
Further, Δ indicates a work position where the reference image data is switched to new reference image data in preparation for the next positional deviation detection, and ● indicates a portion of each part of the workpiece 6 corresponding to the reference image data used for the positional deviation detection of the camera. It represents the position of the work that leaves the field of view.

【0017】図5において、各基準画像データの範囲
(1画面分の視野)を2Lとし、連続した2個の基準画
像データの範囲の重複範囲を△Lとすると、ワーク6の
移動量xと、そのワーク位置において使用すべき基準画
像データの番号nとの関係は次式により表わされる。 x=n×(2L―△L) ...(1)
In FIG. 5, assuming that the range of each reference image data (field of view for one screen) is 2L and the overlapping range of two continuous reference image data is ΔL, the movement amount x of the work 6 is , The relationship with the number n of the reference image data to be used at the work position is expressed by the following equation. x = n × (2L−ΔL). . . (1)

【0018】また、画像処理装置5が位置ずれ検出に使
用する基準画像データを切り換えるための条件は次式の
様になる。 x=L+n×2L−△L ...(2)
The conditions for the image processing device 5 to switch the reference image data used for detecting the positional deviation are as follows. x = L + n × 2L−ΔL. . . (2)

【0019】B:実施例の動作 次に、図面を参照して実施例の動作について説明する。
本装置によりワーク6の位置ずれ検出を行うためには、
各基準位置に対応した基準画像データを記憶装置7に記
憶させる教示処理を行う必要がある。以下、図4のフロ
ーチャートを参照し、この教示処理について説明する。
作業者は、まず、ステップs101において、ワーク6
の先端がカメラ3の視野の中心にくる様にセットする。
次にステップs102に進む。ステップs102におい
ては、初期画面p0をカメラ1によって撮影し画像処理
装置5を介し第0番目の基準画像データとして記憶装置
7に記憶させる。
B: Operation of Embodiment Next, the operation of the embodiment will be described with reference to the drawings.
In order to detect the positional deviation of the work 6 with this device,
It is necessary to perform a teaching process of storing reference image data corresponding to each reference position in the storage device 7. The teaching process will be described below with reference to the flowchart of FIG.
First, in step s101, the worker does the work 6
Set so that the tip of is in the center of the field of view of the camera 3.
Then, the process proceeds to step s102. In step s102, the initial screen p0 is photographed by the camera 1 and stored in the storage device 7 as the 0th reference image data via the image processing device 5.

【0020】次にステップs103に進み、ワーク6を
コンベアの進行方向にカメラ視野2Lだけ進ませ、コン
ベアのサージング等が起った事を考慮して、進行方向と
は逆方向に△Lだけ戻す。次に、ステップs104に進
む。
Next, in step s103, the work 6 is advanced in the traveling direction of the conveyor by the camera field of view 2L, and in consideration of the occurrence of surging of the conveyor, it is returned by ΔL in the opposite direction to the traveling direction. . Then, the process proceeds to step s104.

【0021】ステップs104においては、図3に示す
画像p1をカメラ1によって撮影し画像処理装置5を介
し第1番目の基準画像データとして記憶装置7に記憶さ
せる。 次にステップs105に進み、ワーク6の画面
が最終画面、すなわち、画面p9の基準画像データの記
憶を終えたか否かを判断する。この判断結果が「NO」
の場合には、ステップs103に戻り、ステップs10
3〜ステップs105の処理を、ステップs105の判
断結果が「YES」となるまで繰り返す。このようにし
てすべての基準位置に対応した基準画像データが記憶装
置7に記憶されると、ステップs105の判断結果が
「YES」となり、教示処理を終了する。
In step s104, the image p1 shown in FIG. 3 is photographed by the camera 1 and stored in the storage device 7 as the first reference image data via the image processing device 5. Next, in step s105, it is determined whether or not the screen of the work 6 is the final screen, that is, the storage of the reference image data of the screen p9 is completed. This judgment result is "NO"
In the case of, it returns to step s103 and step s10
The processing from 3 to step s105 is repeated until the determination result of step s105 becomes “YES”. When the reference image data corresponding to all the reference positions is stored in the storage device 7 in this way, the determination result of step s105 becomes "YES", and the teaching process ends.

【0022】次に、図5〜図8を参照して位置ずれ検知
について更に詳述する。ワーク6が作業空間に投入され
る際、画像処理装置5に対し、当該ワーク6の位置ずれ
検出を指令するコマンドが送られる。この結果、画像処
理装置5により図6にフローを示すルーチンが実行され
る。まず、ステップs201において計測フラグをオフ
にする。次にステップs202に進み、光センサ3の光
線がワーク6によって遮られたか否かを判断し、その判
断結果が「YES」になるまで、ステップs202の判
断を繰り返す。ワーク6が光センサ3の光線を遮ると、
ステップs202において「YES」と判断されて、ス
テップs203に進み、計測フラグをオンにする。
Next, the positional deviation detection will be described in more detail with reference to FIGS. When the work 6 is put into the work space, a command for instructing the image processing device 5 to detect the positional deviation of the work 6 is sent. As a result, the image processing apparatus 5 executes the routine whose flow is shown in FIG. First, in step s201, the measurement flag is turned off. Next, in step s202, it is determined whether or not the light beam of the optical sensor 3 is blocked by the work 6, and the determination in step s202 is repeated until the determination result is "YES". When the work 6 blocks the light beam of the optical sensor 3,
If "YES" is determined in step s202, the process proceeds to step s203, and the measurement flag is turned on.

【0023】次にステップs204に進み、ワーク6の
移動量xを初期化し、その後、ステップs205に進
む。ステップs205においては、コンベアパルスの計
数値に基づいて移動量xの値を演算し、その後、ステッ
プs206に進む。ステップs206においては、ワー
ク6が第0番目の基準位置に到達したか否か、すなわ
ち、ステップs205において求めた移動量xの値がカ
メラ1の視野の半分の距離Lになったか否かを判断す
る。この判断結果が「NO」の場合には、ステップs2
05に戻り、ステップs206において「YES」と判
断されるまでステップs205及びステップs206の
処理を繰り返して行う。そして、ステップs206にお
いてワーク6が距離Lだけ動いたと判断されると、ステ
ップs207に進む。
Next, in step s204, the movement amount x of the work 6 is initialized, and then the process proceeds to step s205. In step s205, the value of the movement amount x is calculated based on the count value of the conveyor pulse, and then the process proceeds to step s206. In step s206, it is determined whether or not the work 6 has reached the 0th reference position, that is, whether or not the value of the movement amount x obtained in step s205 has become the distance L which is half the visual field of the camera 1. To do. If the result of this determination is "NO", then step s2
Returning to step 05, the processes of steps s205 and s206 are repeated until "YES" is determined in step s206. When it is determined in step s206 that the work 6 has moved by the distance L, the process proceeds to step s207.

【0024】ステップs207においては、第0番目の
基準画像データ(画面p0)とその時点においてカメラ
1により撮影された画像を比較して前者に対する後者の
ずれ量△x0,△y0を演算する。ここで、両画像を比較
するに際し、図8にように現在の画像の両側にマスク処
理を施し、基準画像データと比較しやすくする。
In step s207, the 0th reference image data (screen p0) and the image captured by the camera 1 at that time are compared to calculate the deviation amounts Δx0 and Δy0 of the latter with respect to the former. Here, when comparing both images, mask processing is performed on both sides of the current image as shown in FIG. 8 to facilitate comparison with the reference image data.

【0025】カメラ1の視野全体に映った物体を画像処
理するよりノイズ画像が入りやすい画面両端にマスク処
理をほどこした物体を処理する方が処理時間の短縮、精
度の向上などの点において有利だからである。そして、
このようにして得たずれ量を図示せぬ通信ケーブルを使
って作業ロボットの制御装置に転送する。この結果、ず
れ量に基づく塗装ロボットの動作の補正が行われる。
Since it is more advantageous to process an object in which a mask image is applied to both ends of the screen than to image-process an object reflected in the entire field of view of the camera 1 in order to shorten the processing time and improve the accuracy. Is. And
The shift amount thus obtained is transferred to the control device of the work robot using a communication cable (not shown). As a result, the operation of the painting robot is corrected based on the amount of deviation.

【0026】次に、ステップs209に進み、n(この
場合、n=「0」)に「1」を加えることにより、基準
画像データを切り換える。そして、ステップs210に
進み、nが基準画像データの数より大きいか否かを判断
する。この場合、n=「1」であるため、判断結果が
「NO」となってステップs205に戻る。
Next, in step s209, the reference image data is switched by adding "1" to n (n = "0" in this case). Then, in step s210, it is determined whether or not n is larger than the number of reference image data. In this case, since n = “1”, the determination result is “NO” and the process returns to step s205.

【0027】ステップs205に戻ると、再びワークの
移動量xを演算する。次いでステップs206に進み、
ステップs206においては、ワーク6が第1番目の基
準位置に到達したか否か、すなわち、ステップs206
において求めた移動量xの値が「L+n×2L−△L=
3L−△L」になったか否かを判断する。この判断結果
が「NO」の場合には、ステップs205に戻り、ステ
ップs206において「YES」と判断されるまでステ
ップs205及びステップs206の処理を繰り返して
行う。
Returning to step s205, the movement amount x of the work is calculated again. Next, in step s206,
In step s206, whether the work 6 has reached the first reference position, that is, step s206
The value of the movement amount x obtained in step 2 is “L + n × 2L−ΔL =
3L-ΔL "is determined. If the result of this determination is "NO", the flow returns to step s205, and the processes of steps s205 and s206 are repeated until "YES" is determined in step s206.

【0028】そして、ステップs206の判断結果が
「Yes」になると、ステップs207に進み、第1番
目の基準画像データ(画面p1)とその時点においてカ
メラ1により撮影された画像を比較して前者に対する後
者のずれ量△x1,△y1を演算し、図示せぬ通信ケー
ブルを使って作業ロボットの制御装置に転送する。この
結果、ずれ量に基づく塗装ロボットの動作の補正が行わ
れる。
When the determination result of step s206 becomes "Yes", the process proceeds to step s207 and the first reference image data (screen p1) is compared with the image photographed by the camera 1 at that time to compare the former. The latter deviation amounts Δx1 and Δy1 are calculated and transferred to the control device of the work robot using a communication cable (not shown). As a result, the operation of the painting robot is corrected based on the amount of deviation.

【0029】次にステップs209に進み、nに「1」
を加えることにより、基準画像データを切り換える。そ
して、ステップs210に進み、nが基準画像データの
数より大きいか否かを判断する。この場合、n=「2」
であるため、判断結果が「NO」となってステップs2
05に戻る。以後、ステップs210の判断結果が「Y
es」となるまで上述と同様の処理を繰り返し、すべて
のnについて処理が終了するとステップs210の判断
結果が「Yes」となり、このルーチンを終了する。
Next, in step s209, n is "1".
Is added to switch the reference image data. Then, in step s210, it is determined whether or not n is larger than the number of reference image data. In this case, n = “2”
Therefore, the determination result is “NO” and step s2
Return to 05. After that, the determination result of step s210 is “Y
The processing similar to the above is repeated until it becomes "es", and when the processing is completed for all n, the determination result of step s210 becomes "Yes", and this routine is completed.

【0030】[0030]

【発明の効果】以上説明したように、この発明によれ
ば、既存の設備を変更することなく、簡単な装置構成に
より移動中のワークの位置ずれを検出することができる
という効果がある。
As described above, according to the present invention, it is possible to detect the positional deviation of the moving workpiece with a simple device configuration without changing the existing equipment.

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

【図1】本発明における一実施例の全体図である。FIG. 1 is an overall view of an embodiment of the present invention.

【図2】図1のA−A’線断面図である。FIG. 2 is a sectional view taken along the line A-A ′ in FIG.

【図3】本発明における一実施例の教示画面を示す図で
ある。
FIG. 3 is a diagram showing a teaching screen according to an embodiment of the present invention.

【図4】本発明における一実施例の教示手順を示すフロ
ーチャートである。
FIG. 4 is a flowchart showing a teaching procedure according to an embodiment of the present invention.

【図5】本発明における一実施例のカメラ視野と移動距
離を示すグラフである。
FIG. 5 is a graph showing a camera visual field and a moving distance according to an embodiment of the present invention.

【図6】本発明における一実施例の処理手順を示すフロ
ーチャートである。
FIG. 6 is a flowchart showing a processing procedure of an embodiment of the present invention.

【図7】本発明における一実施例の教示画面を示す図で
ある。
FIG. 7 is a diagram showing a teaching screen according to an embodiment of the present invention.

【図8】図7に対応する現在画面の一例を示す図であ
る。
8 is a diagram showing an example of a current screen corresponding to FIG.

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

1 カメラ 2 照明装置 3 光センサ 4 光源電源 5 画像処理装置(演算手段) 6 ワーク 7 記憶装置(記憶装置)。 1 Camera 2 Illumination Device 3 Optical Sensor 4 Light Source Power Supply 5 Image Processing Device (Computing Unit) 6 Work 7 Storage Device (Storage Device)

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.5 識別記号 庁内整理番号 FI 技術表示箇所 G05D 3/12 K 9179−3H ─────────────────────────────────────────────────── ─── Continuation of the front page (51) Int.Cl. 5 Identification code Office reference number FI technical display location G05D 3/12 K 9179-3H

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 一定の搬送方向に搬送されるワークを撮
像するカメラと、 前記ワークを前記搬送方向に沿った異なる各位置に配置
したときに前記カメラにより撮影される各画像を各々基
準画像データとして記憶する記憶装置と、 ワーク位置検出手段により検出される前記ワークの位置
に対応した基準画像データを前記記憶装置から読み出
し、この基準画像データと前記カメラにより撮影された
移動中のワークの画像データとを比較することにより、
前記ワーク位置検出手段により検出されたワークの位置
のずれ量を演算する演算手段と、 を具備することを特徴とするワーク位置ずれ検知装置。
1. A camera for picking up an image of a work conveyed in a constant conveyance direction, and reference images of respective images taken by the camera when the work is arranged at different positions along the conveyance direction. And a reference image data corresponding to the position of the work detected by the work position detection means are read from the storage device, and the reference image data and the image data of the moving work photographed by the camera By comparing with
A work position deviation detecting device comprising: a calculation unit that calculates a deviation amount of the position of the work detected by the work position detection unit.
JP796593A 1993-01-20 1993-01-20 Work position deflection detecting device Withdrawn JPH06218683A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP796593A JPH06218683A (en) 1993-01-20 1993-01-20 Work position deflection detecting device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP796593A JPH06218683A (en) 1993-01-20 1993-01-20 Work position deflection detecting device

Publications (1)

Publication Number Publication Date
JPH06218683A true JPH06218683A (en) 1994-08-09

Family

ID=11680186

Family Applications (1)

Application Number Title Priority Date Filing Date
JP796593A Withdrawn JPH06218683A (en) 1993-01-20 1993-01-20 Work position deflection detecting device

Country Status (1)

Country Link
JP (1) JPH06218683A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013173196A (en) * 2012-02-24 2013-09-05 Hitachi Zosen Fukui Corp Position correcting method of robot handling arm
JP2013210218A (en) * 2012-03-30 2013-10-10 Ministry Of National Defense Chung Shan Inst Of Science & Technology Laser light group absolute positioning driving device, driving system and method thereof
JP2015116655A (en) * 2013-12-20 2015-06-25 蛇の目ミシン工業株式会社 Robot, robot control method, and robot control program
CN105964453A (en) * 2016-07-14 2016-09-28 青岛金光鸿智能机械电子有限公司 Spraying system and method based on vision positioning

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013173196A (en) * 2012-02-24 2013-09-05 Hitachi Zosen Fukui Corp Position correcting method of robot handling arm
JP2013210218A (en) * 2012-03-30 2013-10-10 Ministry Of National Defense Chung Shan Inst Of Science & Technology Laser light group absolute positioning driving device, driving system and method thereof
JP2015116655A (en) * 2013-12-20 2015-06-25 蛇の目ミシン工業株式会社 Robot, robot control method, and robot control program
US9958856B2 (en) 2013-12-20 2018-05-01 Janome Sewing Machine Co., Ltd. Robot, robot control method and robot control program
CN105964453A (en) * 2016-07-14 2016-09-28 青岛金光鸿智能机械电子有限公司 Spraying system and method based on vision positioning

Similar Documents

Publication Publication Date Title
US5335777A (en) Method and apparatus for belt conveyor load tracking
EP2575419B1 (en) Substrate transfer apparatus, substrate transfer method, and surface mounter
CA1184273A (en) Robot control apparatus
KR20070011226A (en) Method and apparatus for tracking a load on a conveyor system
JPH0972717A (en) Acquiring and processing method for image
JP4303411B2 (en) Tracking method and tracking system
JPH06218683A (en) Work position deflection detecting device
KR20070076161A (en) Tracking method and system for moving object of robot
CA1130417A (en) Chain measuring and conveyor control system
CN115362424A (en) Driving control system of unmanned transport vehicle
JPH0343114B2 (en)
KR20170126042A (en) Vibration Correctable Surface Shape Measurement Device and Vibration Correcting Method Using the Same
JPH08224665A (en) Automatic all around machining device
JPH0346982A (en) Elevator position detecting device
JPH10264869A (en) Body kind selection system
JPH0274818A (en) Method and apparatus for measuring thickness of thick steel plate
CA1130416A (en) Chain measuring and conveyor control system
JPS6144558A (en) Feed screw pitch error correction in nc machine tool
JPH11207528A (en) Device for wire electric discharge machining
JP3039716B2 (en) Apparatus and method for measuring shape of moving object
JP2891792B2 (en) Cargo handling control device
JPH0985657A (en) Control device for robot
KR0133345B1 (en) Position measuring device
JP2022121185A (en) Measuring device, in-line type vapor deposition device and adjustment method
JPH0986656A (en) Controller for robot

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20000404