Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPH08387B2 - Robot controller - Google Patents
[go: Go Back, main page]

JPH08387B2 - Robot controller - Google Patents

Robot controller

Info

Publication number
JPH08387B2
JPH08387B2 JP1266264A JP26626489A JPH08387B2 JP H08387 B2 JPH08387 B2 JP H08387B2 JP 1266264 A JP1266264 A JP 1266264A JP 26626489 A JP26626489 A JP 26626489A JP H08387 B2 JPH08387 B2 JP H08387B2
Authority
JP
Japan
Prior art keywords
image
robot
control unit
tool
contour
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 - Fee Related
Application number
JP1266264A
Other languages
Japanese (ja)
Other versions
JPH03129406A (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.)
Nippon Steel Corp
Original Assignee
Nippon Steel 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 Nippon Steel Corp filed Critical Nippon Steel Corp
Priority to JP1266264A priority Critical patent/JPH08387B2/en
Publication of JPH03129406A publication Critical patent/JPH03129406A/en
Publication of JPH08387B2 publication Critical patent/JPH08387B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Numerical Control (AREA)
  • Manipulator (AREA)

Description

【発明の詳細な説明】 [産業上の利用分野] この発明は、動作領域内の線画を画像認識し、この線
画に沿ってツールを自動的に移動させることができるよ
うにしたロボット制御装置に関するものである。
Description: TECHNICAL FIELD The present invention relates to a robot control device capable of image-recognizing a line drawing in an operation area and automatically moving a tool along the line drawing. It is a thing.

[従来の技術] 従来より、単純作業や危険作業を人に代えてロボット
で行うことが盛んに行われている。その構造及び機能
は、要求される目的及び作業内容に応じて異なるが、よ
り高度の操作や複雑な操作を行えるロボット、更には学
習などのAI機能などの行えるロボットの提供が望まれて
いる。
[Prior Art] Conventionally, robots have been actively used in place of people for simple work and dangerous work. Although its structure and function differ depending on the required purpose and work content, it is desired to provide a robot that can perform more advanced operations and complicated operations, and a robot that can perform AI functions such as learning.

例えば、前者の1つに特開昭61−74399号,後者の1
つに特開昭62−72004号がある。
For example, one of the former is JP-A-61-74399, the other is
For example, there is JP-A-62-72004.

[発明が解決しようとする課題] しかし、従来のロボットにあっては、ツールの移動軌
跡は、予めロボット制御部内のメモリにパターンを記憶
させておき、これを実行時に読出す方法をとっている。
このため、例えば、動作範囲内に示された線画をデータ
として保持しておらずに、ロボットが移動時に認識して
ツールを移動させたい場合(例えば、デモンストレーシ
ョンなど)、動作範囲内の線画が予め登録していないも
のに対しては、ツールを移動させることができない不具
合があった。
[Problems to be Solved by the Invention] However, in the conventional robot, the movement locus of the tool is stored in a memory in the robot control unit in advance, and the pattern is read at the time of execution. .
Therefore, for example, when the robot wants to recognize the moving object and move the tool (for example, a demonstration) without holding the line drawing shown in the operation range as data, the line drawing in the operation range is set in advance. There was a problem that the tool could not be moved to those that were not registered.

この発明は、予め線画の登録処理を行うことなく、動
作範囲内に図示された線画に沿ってツールを自動的に移
動できるようにしたロボット制御装置の提供を目的とす
る。
An object of the present invention is to provide a robot control device capable of automatically moving a tool along a illustrated line drawing within an operation range without performing a line drawing registration process in advance.

[課題を解決するための手段] 上記目的を達成するために、この発明は、ツールの動
作範囲内に図示された線画を原画像として撮像する撮像
手段と、該撮像手段による画像情報から2値化画像を作
成する2値化処理手段と、前記原画像中から特異点を除
去する軌跡輪郭追跡演算手段と、該演算部の演算結果に
基づいて軌跡の始点及び終点を算出する軌跡端点演算手
段と、前記軌跡輪郭追跡演算手段の演算結果に基づいて
曲線輪郭の座標を求め曲線認識を行う画像認識手段と、
該手段による認識に基づいて前記ツールを前記線画に沿
って動作範囲内を移動させる制御手段とを設けるように
したものである。
[Means for Solving the Problems] In order to achieve the above-mentioned object, the present invention provides an image pickup means for picking up a line drawing shown in an operation range of a tool as an original image, and a binary value based on image information by the image pickup means. Binarization processing means for creating a digitized image, trajectory contour tracking computing means for removing singular points from the original image, and trajectory end point computing means for computing the starting point and the ending point of the trajectory based on the computation result of the computing unit. And image recognition means for recognizing the curve by obtaining the coordinates of the curved contour based on the calculation result of the trajectory contour tracking calculation means,
A control means for moving the tool along the line drawing in the operation range based on the recognition by the means is provided.

[作用] 上記した手段によれば、撮像手段によって撮像された
ツールの動作範囲内の画像に対し2値化を行った後、そ
の2値化画像の特徴が抽出されると共に曲線の始点と終
点が抽出される。更に、始点から終点までについて直
線,円,楕円曲線などに分割され、始点から終点までの
並べ替えが行われ、これが曲線認識結果になる。従っ
て、予め移動軌跡を設定登録するのでは無く、与えられ
た画像を読取り、これに対する画像認識を行って追跡の
トレース作業を行うので、どの様な線画を与えられて
も、ツールを追従移動させることが可能になる。
[Operation] According to the means described above, after binarizing the image captured by the image capturing means within the operation range of the tool, the features of the binarized image are extracted and the start and end points of the curve are extracted. Is extracted. Further, the line from the start point to the end point is divided into straight lines, circles, elliptic curves, and the like, and the rearrangement from the start point to the end point is performed, and this is the curve recognition result. Therefore, instead of setting and registering the movement trajectory in advance, the given image is read and the image recognition is performed on the given image to perform the tracing trace work. Therefore, no matter what line drawing is given, the tool is moved to follow. It will be possible.

[実施例] 以下、この発明の実施例について図面を参照しながら
説明する。
Embodiments Embodiments of the present invention will be described below with reference to the drawings.

第1図はこの発明の一実施例を示すブロック図であ
る。ここでは、ロボット本体として、関節型を用いた場
合を例示している。
FIG. 1 is a block diagram showing an embodiment of the present invention. Here, the case where a joint type is used as the robot body is illustrated.

ここに示す実施例は、ロボット本体3を動作させるた
めのプログラム作成及びデータ入力を行う指令制御部1,
ロボット本体3に内蔵されると共に指令制御部1とデー
タを交換しながら該指令制御部1の指示通りにロボット
本体3を駆動するための制御を行うロボット制御部2及
び腕,手,指に相当する可動部を備え、その各々の駆動
源として複数のモータ(不図示)を内蔵し、これらモー
タがロボット制御部2によって制御されるロボット本体
3から構成される。
The embodiment shown here is a command control unit 1, which creates a program for operating the robot body 3 and inputs data.
Corresponding to the robot controller 2 and arms, hands, and fingers that are built in the robot body 3 and that perform control for driving the robot body 3 according to the instructions of the command controller 1 while exchanging data with the command controller 1. And a plurality of motors (not shown) as driving sources for the respective movable parts, which are configured by a robot main body 3 controlled by the robot controller 2.

指令制御部1は各種のデータ,設定値及びプログラム
などの入力を行う為の操作盤101,ロボット本体3の可動
先端の動作範囲を視野とするテレビ(TV)カメラ102,操
作盤101の出力信号を所定のタイミングで取込む入力イ
ンターフェース103,プログラムを実行してロボットの可
動部を駆動させるための処理を行う中央処理装置(CP
U)104,プログラムを格納したリード・オンリーメモリ
(ROM)105,処理結果やデータを一時的に記憶するラン
ダム・アクセス・メモリ(RAM)106,ロボット制御に必
要な特定の処理アルゴリズム,定数などが格納されるテ
ーブル用メモリ107,ロボットを動かすための後記する画
像処理及びモニタ109に画像を表示させるための画像処
理及び制御を行う画像処理制御部108,CPU104による処理
内容あるいはロボットの動作状態を表示するモニタ109,
後記するプリンタ111を制御する出力インターフェース1
10,該出力インターフェース110の制御のもとに処理結果
などをプリントアウトするプリンタ111,及びロボット制
御部2に対しデータを送出すると共にロボット制御部2
からロボット本体3の動作状態情報を受信する伝送入出
力部112から構成される。
The command control unit 1 is an operation panel 101 for inputting various data, set values, programs, etc., a television (TV) camera 102 having an operation range of the movable tip of the robot body 3, and an output signal of the operation panel 101. Input interface 103 that captures the data at a predetermined timing
U) 104, read-only memory (ROM) 105 that stores programs, random access memory (RAM) 106 that temporarily stores processing results and data, specific processing algorithms necessary for robot control, constants, etc. A table memory 107 to be stored, an image processing control section 108 for performing image processing and control for displaying an image on a monitor 109 and an image processing described later for moving the robot, display processing contents by the CPU 104 or a robot operating state. Monitor 109,
Output interface 1 for controlling the printer 111 described later
10, the printer control unit 2 sends data to the printer 111, which prints out processing results under the control of the output interface 110, and the robot control unit 2.
And a transmission input / output unit 112 that receives the operation state information of the robot body 3.

またCPU104に対し、データ信号,コントロール信号及
びアドレス信号などが接続される各部材とCPU104間と
は、バス113によって相互に接続されている。更に、テ
レビカメラ102とバス113との間には、テレビカメラ102
の画像出力を2値化、即ち、ディジタル化する2値化処
理部114が接続されている。
Further, each member to which data signals, control signals, address signals, etc. are connected to the CPU 104 and the CPU 104 are mutually connected by a bus 113. Furthermore, between the TV camera 102 and the bus 113, the TV camera 102
A binarization processing unit 114 for binarizing, ie, digitizing, the image output of is connected.

なお、説明の便宜上、テレビカメラ102を指令制御部
1内に含める記載としているが、実際にはロボット本体
3の近傍に設置され、その視野がロボット本体3の可動
部の動作範囲になるようにセッティングされる。
Although the television camera 102 is described as being included in the command control unit 1 for convenience of description, it is actually installed near the robot body 3 so that its field of view is within the operation range of the movable portion of the robot body 3. Is set.

また、ロボット制御部2は伝送入出力部112からの信
号を受信すると共に、ロボット本体3の動作状態に関す
る情報などを送出する伝送入出力部201,該伝送入出力部
201からの信号に基づいてモータ駆動のための制御情報
を出力すると共に指令制御部1側へ送出する情報の管理
を行う制御部202,及び該制御部202からの指令に従って
ロボット本体3の各モータなどの駆動源を駆動するモー
タ駆動部203から構成される。
Further, the robot control unit 2 receives a signal from the transmission input / output unit 112, and transmits the information regarding the operation state of the robot body 3 and the like, the transmission input / output unit 201, the transmission input / output unit
A control unit 202 that outputs control information for driving a motor based on a signal from 201 and manages information sent to the command control unit 1 side, and each motor of the robot main body 3 according to a command from the control unit 202 And a motor drive unit 203 that drives a drive source such as.

制御部202はCPU及びその周辺回路を含んで構成され、
マスターである指令制御部1のCPU104に対し、スレーブ
として動作する。
The control unit 202 is configured to include a CPU and its peripheral circuits,
It operates as a slave to the CPU 104 of the command control unit 1 which is a master.

次に、以上の構成による実施例の動作について、第2
図のフローチャートを参照して説明する。なお、以下に
おいては、フローのステップをSとして表記している。
Next, regarding the operation of the embodiment having the above configuration,
This will be described with reference to the flowchart in the figure. In addition, in the following, the step of the flow is described as S.

まず、実行開始の指令を操作盤101でキーインし、装
置を起動させると共に初期化を行い、更にロボットを動
作させるための条件を指定する。入力された設定条件
は、テーブル用メモリ107に格納される。また、動作範
囲をテレビカメラ102で撮影し、その画像出力を取込
む。CPU104は、ロボットに動作させることが可能な内容
をモニタ109に表示して待機する。また、必要な情報を
伝送入出力部112を介してロボット制御部2へ伝達す
る。
First, an execution start command is keyed in on the operation panel 101, the apparatus is started and initialized, and the condition for operating the robot is specified. The input setting conditions are stored in the table memory 107. Also, the operation range is photographed by the TV camera 102 and the image output is captured. The CPU 104 displays on the monitor 109 the contents that can be operated by the robot and waits. In addition, necessary information is transmitted to the robot controller 2 via the transmission input / output unit 112.

ロボット制御部2では、第2図に示すフローに従って
制御部202が処理を実行すると共に指令制御部1との情
報交換を行う。
In the robot control unit 2, the control unit 202 executes processing according to the flow shown in FIG. 2 and exchanges information with the command control unit 1.

まず、電源オンと共にロボット本体3の初期化を行い
(S21)、動作範囲内にある物体に関するデータの初期
設定を行う(S22)。ついで、指令制御部1側に対し伝
送入出力部201を介して、どのような動きをすべきかの
ロボット動作選択要求を行う(S23)。
First, when the power is turned on, the robot body 3 is initialized (S21), and data regarding an object within the operation range is initialized (S22). Then, the command control unit 1 is requested via the transmission input / output unit 201 to request a robot motion selection of what motion should be performed (S23).

指令制御部1では、ロボット制御部2からのロボット
動作選択要求に対し、モニタ109に表示されているメニ
ュー(S32)の中から操作者に選択を促し、操作盤101に
よって選択された動作選択結果をロボット制御部2へ返
送する。これを受けた制御部202は、指令制御部1に対
し画像処理要求を出し、これを受けた指令制御部1では
テレビカメラ102から取込んだ画像情報を画像処理制御
部108で処理し、その画像処理内容(S33)をロボット制
御部2へ返送する。これを受けた指令制御部1に対し、
画像処理要求を出し、これを受けた指令制御部1では、
カメラ102から取り込んだ画像情報を画像処理制御部108
で処理し、その画像処理が終了した時点で画像処理終了
報告(S33)をロボット制御部2へ送信する。
In response to the robot operation selection request from the robot controller 2, the command controller 1 prompts the operator to select from the menu (S32) displayed on the monitor 109, and the operation selection result selected by the operation panel 101. Is returned to the robot controller 2. Receiving this, the control unit 202 issues an image processing request to the command control unit 1, and in the command control unit 1 receiving this, the image processing control unit 108 processes the image information captured from the television camera 102, and The image processing content (S33) is returned to the robot controller 2. To the command control unit 1 that received this,
The command control unit 1 that has issued the image processing request and received the request
The image processing controller 108 processes the image information captured from the camera 102.
When the image processing is completed, the image processing completion report (S33) is transmitted to the robot controller 2.

また、制御部202からは、引続いて画像処理結果要求
が出される(S25)。この画像処理結果要求に対して
は、指令制御部1とロボット制御部2間で複数回のデー
タ伝送が行われ、指令制御部1で画像処理結果情報(S3
4)が全て送出完了するまで繰返えされる。
Further, the control unit 202 subsequently issues an image processing result request (S25). In response to this image processing result request, data transmission is performed a plurality of times between the command control unit 1 and the robot control unit 2, and the command control unit 1 performs image processing result information (S3
It is repeated until 4) is completely sent.

画像処理の結果が得られると、制御部202は与えられ
た動作選択要求及び画像処理結果から、ロボットがとる
べき動作(即ち、始点と終点の2点間をどのように移動
するか)を計画する(S26)。この計画内容に基づいて
制御部202は、モータ駆動部203に制御指令を送出し、ロ
ボット本体3のアームなどの駆動を開始させる。
When the image processing result is obtained, the control unit 202 plans the action to be taken by the robot (that is, how to move between the start point and the end point) from the given action selection request and the image processing result. Yes (S26). Based on the contents of this plan, the control unit 202 sends a control command to the motor drive unit 203 to start driving the arm of the robot body 3.

1つの動作が終了すると、実行すべき次の処理が存在
するか否かを指令制御部1に問合わせる(S28)。この
問合わせに対して操作者は、モニタ109上のメニュー画
面(S35)を見ながら、前回と同一の動作、あるいは他
の異なる動作を選択する。この選択内容は、伝送入出力
部112及び伝送路を介してロボット制御部2の伝送入出
力部201に伝送され、制御部202に取込まれる。制御部20
2は受信内容を判定(S29)し、それが同じ動作の再実行
である場合には、再度ステップ27以降の動作を繰返し実
行する。
When one operation ends, the command control unit 1 is inquired whether or not there is a next process to be executed (S28). In response to this inquiry, the operator selects the same operation as the previous operation or another different operation while looking at the menu screen (S35) on the monitor 109. This selection content is transmitted to the transmission input / output unit 201 of the robot control unit 2 via the transmission input / output unit 112 and the transmission path, and is taken in by the control unit 202. Control unit 20
2 judges the received contents (S29), and if it is the re-execution of the same operation, the operation after step 27 is repeatedly executed again.

また、異なる動作の実行の要求に対しては、それが同
一種類の動作に該当するものか否かを判定(S30)し、
同一である場合にはステップ24以降の処理を繰返し実行
する。一方、同一種類の動作でない場合、ステップ23で
行った動作要求を再び指令制御部1へ要求するか否かを
判定し(S31)、動作再選択の指示が判定された場合に
は、ステップ23以降の処理を再度実行する。また、動作
再選択の指示が無い場合には、全ての処理を終了する。
In addition, in response to a request to execute a different operation, it is determined whether or not it corresponds to the same type of operation (S30),
If they are the same, the processing after step 24 is repeatedly executed. On the other hand, if it is not the same type of operation, it is determined whether or not the operation request made in step 23 is requested again to the command control unit 1 (S31), and if an operation reselection instruction is determined, step 23 The subsequent processing is executed again. If no operation reselection instruction is given, all processing is terminated.

ロボット制御部2では、第3図に示すフローに従って
制御部202が処理を実行すると共に指令制御部1との情
報交換を行う。
In the robot controller 2, the controller 202 executes processing according to the flow shown in FIG. 3 and exchanges information with the command controller 1.

まず、テレビカメラ102によって、動作範囲を撮像
し、その画像情報を2値化処理した後、これをメモリ
(RAM106)に記憶する。一方、操作盤101から使用ツー
ルを指定し(S41)、更にホームポジション待機に入
り、作業道具の把持を行い、更に手先部姿勢の計算など
が行われる(S42)。
First, the operation range is imaged by the television camera 102, the image information is binarized, and then stored in the memory (RAM 106). On the other hand, a tool to be used is specified from the operation panel 101 (S41), the home position standby state is entered, the work tool is gripped, and the hand posture is calculated (S42).

ついで、次に示すような設定及び演算内容に従った曲
線近似計算を行う(S43)。
Then, curve approximation calculation is performed according to the following settings and calculation contents (S43).

座標系の定義(ロボットのツール座標系を定義) 姿勢制御の指定(アーム姿勢,ツール姿勢など) 軌跡制御の指定(移動速度など) 把持物体の仕様を設定(例えば高さなど) 例えば、始点が(xi,yi)で終点が(xn,Yn)で示され
るとき、SET=TRANS(xn,yn,Z,θ,90,0)のような形式
で座標を表す。
Definition of coordinate system (definition of tool coordinate system of robot) Designation of posture control (arm posture, tool posture, etc.) Designation of trajectory control (moving speed, etc.) Set specifications of gripping object (height, etc.) For example, if the start point is When the end point is represented by (x n , Y n ) in (x i , y i ), the coordinates are expressed in a format such as SET = TRANS (x n , y n , Z, θ, 90,0).

次に、これからの作業動作が正しいかを確認するた
め、この計算による座標からα(mm)上方の位置で動作
させる。これにより実際にツールの移動開始点となる目
標位置へ移動、即ち曲線の始点へ移動させる(S44)。
ついで、この始点から曲線トレース作業を開始する(S4
5)。この後、確認の動作で使用した曲線の座標位置を
実際の座標位置へ修正し、始点及び曲線を移動させる
(S46)。
Next, in order to confirm whether or not the work operation from now on is correct, the operation is performed at a position α (mm) above the coordinates obtained by this calculation. As a result, the tool is actually moved to the target position that is the movement start point, that is, to the start point of the curve (S44).
Then, the curve tracing work is started from this start point (S4
Five). After that, the coordinate position of the curve used in the confirmation operation is corrected to the actual coordinate position, and the start point and the curve are moved (S46).

次に、以上の処理結果に基づいて、ツールを実際に求
めた曲線に従ってトレース(線引きトレース)を実行す
る(S47)。ツールが曲線の終点に到達すると、ツール
などの可動部をホームポジションに移動させ、作業道具
を取外し、そのまま待機する(S48)。
Next, based on the above processing result, a trace (line drawing trace) is executed according to the curve actually obtained by the tool (S47). When the tool reaches the end point of the curve, the movable part such as the tool is moved to the home position, the work tool is removed, and it stands by (S48).

次に、第4図(A),(B),(C)を参照して、画
像処理の詳細を説明する。まず、テレビカメラ102によ
って撮像されたツールの動作範囲内の画像が原画像とし
て入力される。この動作範囲(=カメラの視野範囲)内
には、ツールの移動対象となる線画が描かれている。こ
の原画像を曲線領域に設置したウィンドウに入力する
(S51)。
Next, details of the image processing will be described with reference to FIGS. 4 (A), (B), and (C). First, an image captured by the television camera 102 within the operation range of the tool is input as an original image. In this operation range (= field of view of the camera), a line drawing to be moved by the tool is drawn. This original image is input to the window installed in the curved area (S51).

ついで、中間輝度レベル変換を行う(S52)と共に、
予め定めたコード及び画像解析定数テーブルの設定値に
基づいて基本の画像処理を行う(S53)。更に、ステッ
プ53の処理結果に従って濃淡画像から2値画像を生成
(2値化処理手段)する(S54)。これによって得られ
た2値化画像に対し、特徴抽出処理を行う(S55)。こ
の軌跡輪郭追跡手段としての特徴抽出処理は、入力2値
化画像に対し、まず、作業対象の点線か否かを物体の交
点数及び物体数で判定し、更に輪郭追跡テーブルからロ
ボットの座標であるワーク用座標を得るものである。
Then, with intermediate brightness level conversion (S52),
Basic image processing is performed based on a predetermined code and the set value of the image analysis constant table (S53). Further, according to the processing result of step 53, a binary image is generated from the grayscale image (binarization processing means) (S54). Feature extraction processing is performed on the binarized image thus obtained (S55). In the feature extraction processing as the trajectory contour tracing means, first, it is determined whether or not it is a dotted line of a work target with respect to the input binarized image by the number of intersections of the objects and the number of objects. This is to obtain the coordinates for a certain work.

次に、第4図(B)に示すように、ステップ55で得ら
れた画像に対し、曲線の端点から縮退を行う(S56)。
更に、この縮退画像と入力画像との排他的論理和(Excu
lusive OR)をとって2つの画像を合成する。これによ
り、X軸,Y軸の投影による端点(始点と終点)が検出さ
れる(軌跡端点演算手段)。
Next, as shown in FIG. 4 (B), the image obtained in step 55 is degenerated from the end points of the curve (S56).
In addition, the exclusive OR (Excu
lusive OR) and combine two images. As a result, the end points (start point and end point) by projecting the X axis and the Y axis are detected (trajectory end point calculation means).

ついで、以下のような画像認識手段によって画像認識
処理が実行される。まず、第1のソーティング処理(曲
線の輪郭部の座標を抽出する処理)が実行される(S5
7)。この処理は、ステップ55によって得られた画像に
おける物体に対し、その曲線の内側と外側の各々をサン
プリングして輪郭座標を求め、更に間引き処理を行って
輪郭座標から曲線座標へ座標変換を行うことによって達
成される。
Next, image recognition processing is executed by the following image recognition means. First, the first sorting process (the process of extracting the coordinates of the contour of the curve) is executed (S5
7). In this processing, for the object in the image obtained in step 55, the inside and outside of the curve are sampled to obtain contour coordinates, and further thinning processing is performed to perform coordinate conversion from contour coordinates to curve coordinates. Achieved by

次に、第4図(C)のように、第2のソーティング処
理を実行する(S58)。
Next, as shown in FIG. 4C, the second sorting process is executed (S58).

ここでは、まず始点からの距離D、 (但し、x0及びy0は始点) が最小になる点(xi,yi)を求める。また、その点から
距離Dが最小となる次の点を求める。この作業は、輪郭
点数分について終点まで実行される。
Here, first, the distance D from the start point, Find the point (x i , y i ) that minimizes (where x 0 and y 0 are the starting points). Further, the next point from which the distance D becomes the minimum is obtained. This work is executed until the end point for the number of contour points.

次に、第3のソーティング処理を実行する(S59)。
この処理は、ソーティングチェックテーブルの昇順に曲
線座標群の並べ替えを行う。ついで、画像解析定数で決
められた点数分(例えば、40点分)に間引いてワールド
座標系へ換算後、昇順に再ソーディングを行う。このと
き、始点〜終点にデータソートが行われており、この結
果は、曲線認識結果テーブルに格納される。
Next, the third sorting process is executed (S59).
In this process, the curved coordinate groups are rearranged in ascending order of the sorting check table. Then, after the number of points determined by the image analysis constants (for example, 40 points) is thinned out and converted to the world coordinate system, re-sorting is performed in ascending order. At this time, data sorting is performed from the start point to the end point, and the result is stored in the curve recognition result table.

このようにして得られた画像認識結果は、伝送入出力
部112を介してロボット制御部2へ伝送され、ロボット
制御部2側に準備されている環境データベースを用い
て、手先姿勢算出,動作経路選定した後、第3図で示し
た処理を経て曲線トレース動作が実行される。
The image recognition result obtained in this way is transmitted to the robot control unit 2 via the transmission input / output unit 112, and using the environment database prepared on the robot control unit 2 side, the hand posture is calculated and the movement path is calculated. After the selection, the curve tracing operation is executed through the processing shown in FIG.

[発明の効果] 以上説明した通り、この発明は、ツールの動作範囲内
に図示された線画を原画像として撮像する撮像手段と、
該撮像手段による画像情報から2値化画像を作成する2
値化処理手段と、前期原画像中から特異点を除去する軌
跡輪郭追跡演算手段と、該演算部の演算結果に基づいて
軌跡の始点及び終点を算出する軌跡端点演算手段と、前
記軌跡輪郭追跡演算手段の演算結果に基づいて曲線輪郭
の座標を求め曲線認識を行う画像認識手段と、該手段に
よる認識に基づいて前記ツールを前記線画に沿って動作
範囲内を移動させる制御手段とを設けるようにしたこと
により、与えられた画像を読取り、これに対する認識を
行ってトレース作業を行うので、どの様な線画を与えら
れても、ツールを追従移動させることが可能になり、汎
用性に優れたロボットの提供が可能になる。また、従来
の如く、予め移動軌跡を設定する必要が無く、従ってデ
ータ入力作業を不要にし、操作性を向上させることがで
きる。
[Effects of the Invention] As described above, the present invention includes an image capturing unit that captures a line drawing shown in the operation range of a tool as an original image,
Create a binarized image from image information obtained by the image pickup means 2
Quantization processing means, trajectory contour tracking computing means for removing singular points from the original image, trajectory end point computing means for computing start and end points of the trajectory based on the computation result of the computing unit, and the trajectory contour tracking Image recognition means for recognizing the curved line contour based on the calculation result of the calculation means and recognizing the curve, and control means for moving the tool in the operation range along the line drawing based on the recognition by the means are provided. By doing so, the given image is read, recognition is performed for this, and tracing work is performed, so it is possible to move the tool following any line drawing, and it is excellent in versatility. Robots can be provided. Further, unlike the conventional case, it is not necessary to set the movement trajectory in advance, so that the data input work becomes unnecessary and the operability can be improved.

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

第1図はこの発明の一実施例を示すブロック図、第2図
は指令制御部1とロボット制御部2の処理の概略を説明
するフローチャート、第3図はこの発明の曲線トレース
処理を示すフローチャート、第4図(A),(B),
(C)はこの発明における画像処理の詳細を示すフロー
チャートである。 図中. 1:指令制御部、2:ロボット制御部 3:ロボット本体、4:外部記憶装置 101:操作盤、102:テレビカメラ 104:CPU、107:テーブル用メモリ 108:画像処理制御部 109:モニタ、112:伝送入出力部 114:2値化処理部、201:伝送入出力部 202:制御部、203:モータ駆動部
FIG. 1 is a block diagram showing an embodiment of the present invention, FIG. 2 is a flow chart for explaining the outline of the processing of the command control unit 1 and the robot control unit 2, and FIG. 3 is a flow chart showing the curve trace processing of the present invention. , FIG. 4 (A), (B),
(C) is a flow chart showing details of image processing in the present invention. In the figure. 1: Command control unit, 2: Robot control unit 3: Robot main body, 4: External storage device 101: Control panel, 102: TV camera 104: CPU, 107: Table memory 108: Image processing control unit 109: Monitor, 112 : Transmission input / output unit 114: Binarization processing unit, 201: Transmission input / output unit 202: Control unit, 203: Motor drive unit

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】ツールの動作範囲内に図示された線画を原
画像として撮像する撮像手段と、該撮像手段による画像
情報から2値化画像を作成する2値化処理手段と、前記
原画像中から特異点を除去する軌跡輪郭追跡演算手段
と、該演算部の演算結果に基づいて軌跡の始点及び終点
を算出する軌跡端点演算手段と、前記軌跡輪郭追跡演算
手段の演算結果に基づいて曲線輪郭の座標を求め曲線認
識を行う画像認識手段と、該手段による認識に基づいて
前記ツールを前記線画に沿って動作範囲内を移動させる
制御手段とを具備することを特徴とするロボット制御装
置。
1. An image pickup means for picking up a line drawing shown in the operating range of a tool as an original image, a binarization processing means for making a binarized image from image information by the image pickup means, and the original image Trajectory contour calculation means for removing singular points from the contour, trajectory end point calculation means for calculating a start point and an end point of the trajectory based on the calculation result of the calculation section, and a curve contour based on the calculation result of the trace contour tracking calculation means. A robot control device comprising: an image recognition means for obtaining the coordinates of the above and performing curve recognition; and a control means for moving the tool within the operation range along the line drawing based on the recognition by the means.
JP1266264A 1989-10-16 1989-10-16 Robot controller Expired - Fee Related JPH08387B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1266264A JPH08387B2 (en) 1989-10-16 1989-10-16 Robot controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1266264A JPH08387B2 (en) 1989-10-16 1989-10-16 Robot controller

Publications (2)

Publication Number Publication Date
JPH03129406A JPH03129406A (en) 1991-06-03
JPH08387B2 true JPH08387B2 (en) 1996-01-10

Family

ID=17428560

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1266264A Expired - Fee Related JPH08387B2 (en) 1989-10-16 1989-10-16 Robot controller

Country Status (1)

Country Link
JP (1) JPH08387B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106003102A (en) * 2016-06-13 2016-10-12 无锡虹业自动化工程有限公司 Control cabinet provided with automatic robot
CN119347793B (en) * 2024-12-24 2025-04-04 安徽工布智造工业科技有限公司 Robot motion path planning method and system based on model analysis

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2593499B2 (en) * 1987-12-29 1997-03-26 川崎製鉄株式会社 Crane position detection and control device
JP2703546B2 (en) * 1987-12-29 1998-01-26 川崎製鉄株式会社 Target recognition method of luggage place

Also Published As

Publication number Publication date
JPH03129406A (en) 1991-06-03

Similar Documents

Publication Publication Date Title
US11338435B2 (en) Gripping system with machine learning
CN110640730B (en) Method and system for generating three-dimensional model for robot scene
CN113696178B (en) Control method and system, medium and equipment for intelligent robot grabbing
JP5471355B2 (en) 3D visual sensor
CN111462154A (en) Target positioning method and device based on depth vision sensor and automatic grabbing robot
CN107030692B (en) A method and system for manipulator teleoperation based on perception enhancement
KR20210075865A (en) Remote control system and remote control method
JP2018167334A (en) Teaching device and teaching method
CN113319859B (en) Robot teaching method, system and device and electronic equipment
CN109079777B (en) Manipulator hand-eye coordination operation system
CN114463244A (en) Vision robot grabbing system and control method thereof
JPH1049218A (en) Movement control system for instructing position of robot
CN110363811B (en) Control method and device for grabbing equipment, storage medium and electronic equipment
US12583123B2 (en) Iterative control of robot for target object
JPH0780790A (en) 3D object grip system
CN115366105A (en) Workpiece grabbing method, device, electronic device and storage medium
US12311541B2 (en) Generation method, computer program, and generation system
JPH08387B2 (en) Robot controller
JPH08388B2 (en) Robot controller
CN111899629B (en) Flexible robot teaching system and method
CN109934155B (en) Depth vision-based collaborative robot gesture recognition method and device
JP3594747B2 (en) Object recognition method and apparatus
JPH01183395A (en) Robot provided with visual device
JPH06250730A (en) Teaching device for industrial robot
JPH08386B2 (en) Robot controller

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees