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
JP2552743B2 - Robot controller - Google Patents
[go: Go Back, main page]

JP2552743B2 - Robot controller - Google Patents

Robot controller

Info

Publication number
JP2552743B2
JP2552743B2 JP1309532A JP30953289A JP2552743B2 JP 2552743 B2 JP2552743 B2 JP 2552743B2 JP 1309532 A JP1309532 A JP 1309532A JP 30953289 A JP30953289 A JP 30953289A JP 2552743 B2 JP2552743 B2 JP 2552743B2
Authority
JP
Japan
Prior art keywords
robot
signal
teaching
point
tool
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
JP1309532A
Other languages
Japanese (ja)
Other versions
JPH03170283A (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
Toyoda Koki KK
Original Assignee
Toyota Motor Corp
Toyoda Koki KK
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, Toyoda Koki KK filed Critical Toyota Motor Corp
Priority to JP1309532A priority Critical patent/JP2552743B2/en
Publication of JPH03170283A publication Critical patent/JPH03170283A/en
Application granted granted Critical
Publication of JP2552743B2 publication Critical patent/JP2552743B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Manipulator (AREA)
  • Constituent Portions Of Griding Lathes, Driving, Sensing And Control (AREA)
  • Numerical Control (AREA)

Description

【発明の詳細な説明】 「産業上の利用分野」 本発明は工業用ロボットに関し、動作軌跡を自動教示
することができるロボット制御装置に関する。本発明装
置は磨き作業を行わせるロボットに適用するに好適であ
る。
The present invention relates to an industrial robot, and more particularly to a robot controller capable of automatically teaching a motion locus. The device of the present invention is suitable for application to a robot that performs polishing work.

「従来の技術」 一般にロボットに所定の軌跡を移動させて磨き作業を
おこなわせる場合、例えば、特開昭60−20858号公報に
示されるように、先端に砥石の押し付け力を検出するセ
ンサを設け、磨き作業を行おうとする工作物の作業開始
点と作業終了点および、この2点間を結ぶ線上の所定の
位置に一定の押し付け力を付加して接触させ、座標デー
タを入力し、この座標データに基づいて工作物の形状に
あわせて直線補間と円弧補間を選択し、補間データを作
成してティーチングを完了する。こののち、作成された
ティーチングデータより砥石を移動し、砥石に一定の押
し付け力が付加されるように軌跡を補正しながら磨き作
業を行っていた。
"Prior Art" In general, when a robot is moved along a predetermined locus to perform a polishing work, for example, as shown in JP-A-60-20858, a sensor is provided at the tip to detect the pressing force of a grindstone. , The work start point and work end point of the work to be polished, and a predetermined position on the line connecting the two points are brought into contact with each other by applying a constant pressing force, coordinate data is input, and the coordinates are entered. Based on the data, linear interpolation or circular interpolation is selected according to the shape of the workpiece, interpolation data is created, and teaching is completed. After that, the grindstone was moved based on the created teaching data, and the polishing operation was performed while correcting the locus so that a constant pressing force was applied to the grindstone.

「発明が解決しようとする課題」 ところで、上述のようなティーチングでは、工作物が
平面的なものであれば、作業開始点と作業終了点の間の
線は直線補間により、この2点間を結ぶ線上に補間用の
点の座標データを入力する必要はない。しかしながら、
曲面である場合には、単純な円弧補間を用いた場合に
も、正確に曲率を決定するために複数の補間用の点の座
標を記憶させることとなり、ティーチング作業を行うに
対して作業者の負荷が大きくなるという問題点があっ
た。
[Problems to be Solved by the Invention] By the way, in the above teaching, if the workpiece is planar, the line between the work start point and the work end point is linearly interpolated between these two points. It is not necessary to input the coordinate data of the points for interpolation on the connecting line. However,
In the case of a curved surface, even when simple circular interpolation is used, the coordinates of a plurality of interpolation points are stored in order to accurately determine the curvature, and the operator's teaching There was a problem that the load increased.

本発明は、上記の課題を解決するためなされたもので
あり、その目的とするところは、工作物が曲面、平面に
かかわらず、少ない点にて実際の加工に則した動作軌跡
を自動教示することができるロボット制御装置を提供す
ることにある。
The present invention has been made to solve the above problems, and an object of the present invention is to automatically teach a motion trajectory conforming to actual machining at a small number of points regardless of whether a workpiece is a curved surface or a flat surface. It is to provide a robot control device capable of performing the above.

「課題を解決するための手段」 上記の目的を達成するため、本発明では、第1図に示
す様に、ロボット10の先端に取付けられ工具27を所定押
圧力で一定方向に付勢して保持するフローティングシリ
ンダ装置20と、そのフローティングシリンダ装置20のス
トローク量を検出する距離センサ28と、その距離センサ
28の出力からストローク量が所定目標値から所定しきい
値以上外れたことを判別しNG信号を出力するNG判別手段
1と、ロボット10の目標動作軌跡を教示点として記憶す
る教示点記憶手段2と、その教示点間を補間してロボッ
ト10に目標動作軌跡を走行させる走行手段3と、その走
行中の前記NG信号の発生の有無を前記各教示点間を補間
して得られた補間点で分割されたそれぞれの区間毎に記
憶するNG区間記憶手段4と、NG信号の発生した区間の補
間点を前記ストローク量を適正にする方向に移動すべく
教示点を修正する修正手段5と、前記すべての区間にお
いてNG信号が発生しなくなるまで前記走行手段3、前記
NG区間記憶手段4及び前記修正手段5を繰返し実行する
繰返し手段6と、を備えることを特徴とするロボット制
御装置が提供される。
[Means for Solving the Problem] In order to achieve the above object, in the present invention, as shown in FIG. 1, the tool 27 attached to the tip of the robot 10 is biased in a certain direction with a predetermined pressing force. Floating cylinder device 20 to hold, distance sensor 28 for detecting the stroke amount of the floating cylinder device 20, and its distance sensor
From the output of 28, the NG discrimination means 1 for discriminating that the stroke amount deviates from the predetermined target value by the predetermined threshold value or more and outputting the NG signal, and the teaching point storage means 2 for storing the target motion locus of the robot 10 as the teaching point. And a traveling means 3 that interpolates between the teaching points to cause the robot 10 to travel on a target motion locus, and an interpolation point obtained by interpolating between the teaching points whether or not the NG signal is generated during the traveling. NG section storage means 4 for storing each section divided by, and correction means 5 for correcting the teaching point so as to move the interpolation point of the section where the NG signal is generated in the direction to make the stroke amount proper. Until the NG signal is not generated in all the sections, the traveling means 3, the
Provided is a robot control device comprising: an NG section storage means 4 and a repeating means 6 for repeatedly executing the correcting means 5.

「作用」 上記のように構成されたロボット制御装置では、ま
ず、ラフな教示により各教示点が教示点記憶手段2に記
憶される。次いで、実際に工具27をモデルとなる母材50
に接触させた状態でロボット10を走行させて上記教示点
を補間して得られた補間点の補正が行われる。
[Operation] In the robot control device configured as described above, first, each teaching point is stored in the teaching point storage means 2 by rough teaching. Next, the tool 27 is actually used as a model base material 50.
The interpolation point obtained by interpolating the above-mentioned teaching point by running the robot 10 in a state of being in contact with is corrected.

すなわち、教示点から補間された動作軌跡に母材50形
状に対して適正でない箇所があると、その箇所でフロー
ティングシリンダ装置20のストローク量が変動し所定し
きい値を外れる。所定しきい値を外れた不適正箇所は補
間点に対応した区間毎にNG区間としてNG区間記憶手段4
に記憶され、動作軌跡の走行終了後に当該区間の補間点
が修正手段5により補正される。
That is, if the motion locus interpolated from the teaching point has a portion that is not appropriate for the shape of the base material 50, the stroke amount of the floating cylinder device 20 fluctuates at that portion and deviates from the predetermined threshold value. Inappropriate locations outside the predetermined threshold are treated as NG sections for each section corresponding to the interpolation point, and the NG section storage means 4
And the interpolation point of the section is corrected by the correction means 5 after the traveling of the motion locus is completed.

そして、補正された補間点に基づいた新たな動作軌跡
により2回目の走行が行われ、以下、全区間においてス
トローク量が所定しきい値内に収まるまで、ロボット10
の走行及び各教示点の補正が繰り返される。
Then, the second motion is performed based on the new motion locus based on the corrected interpolation point, and thereafter, the robot 10 is operated until the stroke amount falls within the predetermined threshold value in all the sections.
And the correction of each teaching point are repeated.

従って、最初ラフに教示された教示点は、工具27が所
定の押圧力で母材50に接触しフローティングシリンダ装
置20のストローク量が全動作軌跡において所定しきい値
内の一定値となるように、自動動作により補正される。
Therefore, the teaching point taught first roughly is such that the tool 27 contacts the base material 50 with a predetermined pressing force and the stroke amount of the floating cylinder device 20 becomes a constant value within a predetermined threshold value over the entire operation locus. , Corrected by automatic operation.

「実施例」 本発明の実施例について図面を参照して説明する。第
2図はロボット10を示す斜視図である。このロボットは
6自由度を持つ多関節型のロボットであり、アーム先端
に取付けられた回転砥石27により磨き作業を行う。工作
物は自動車用フレームであり、ピラールとルーフとの接
合部をアーク溶接したビード部分を滑らかに仕上げる磨
き作業を行うものである。
[Examples] Examples of the present invention will be described with reference to the drawings. FIG. 2 is a perspective view showing the robot 10. This robot is a multi-joint type robot having 6 degrees of freedom, and performs polishing work with a rotary grindstone 27 attached to the end of the arm. The work piece is an automobile frame, and is used to perform a polishing work to smoothly finish a bead portion obtained by arc-welding a joint portion between a pillar and a roof.

ロボットの構造について説明する。固定ベース11上に
台形をした旋回ベース12が鉛直な第1軸線A1を中心に水
平面内で回転自在に支承され、第1軸駆動モータM1によ
り旋回駆動される。旋回ベース12上には、第1アーム13
が水平な第2軸線A2を中心に揺動自在に支承され、第2
軸駆動モータM2により揺動駆動される。その第1アーム
13上には、筒形状をした第2アーム14が水平な第3軸線
A3を中心に揺動自在に支承され、図示しない第3軸駆動
モータM3により揺動駆動される。第2アーム14の先端部
には、ツイストリスト15が第2アーム14中心の第4軸線
A4を中心に回転自在に支持され、第4軸駆動モータM4に
より旋回駆動される。ツイストリスト15上には、ベンド
リスト16が第5軸線A5を中心に旋回自在に支持され、第
5軸駆動モータM5により旋回駆動される。第5軸線A5は
第4軸線A4に対して傾斜した方向に設けられている。そ
のベンドリスト16上に、スイベルリスト17が第6軸線A6
を中心に旋回自在に支持され、図示されない第6軸駆動
モータM6により旋回駆動される。第6軸線A6は第5軸線
A5に対して傾斜した方向に設けられている。そのスイベ
ルリスト17上に、フローティングシリンダ装置20が取付
けられている。各軸駆動モータM1〜M6はパルスモータで
あり、それぞれが位置を検出するためのパルスエンコー
ダE1〜E6を備えている。各モータM1〜M6及びパルスエン
コーダE1〜E6はロボット制御装置30に接続され制御され
る。
The structure of the robot will be described. A trapezoidal swivel base 12 is rotatably supported on a fixed base 11 in a horizontal plane about a vertical first axis A1, and swung by a first shaft drive motor M1. On the swivel base 12, the first arm 13
Is swingably supported about a horizontal second axis A2,
It is oscillated by an axis drive motor M2. The first arm
A cylindrical second arm 14 is provided on the third axis line 13 which is horizontal.
It is swingably supported around A3 and is swingably driven by a third shaft drive motor M3 (not shown). At the tip of the second arm 14, the twist wrist 15 has a fourth axis centered on the second arm 14.
It is rotatably supported around A4 and is driven to rotate by a fourth shaft drive motor M4. A bend list 16 is supported on the twist list 15 so as to be rotatable about a fifth axis A5, and is driven to rotate by a fifth axis drive motor M5. The fifth axis A5 is provided in a direction inclined with respect to the fourth axis A4. On the bend list 16, the swivel list 17 has the sixth axis A6.
It is rotatably supported around and is driven to rotate by a sixth shaft drive motor M6 (not shown). 6th axis A6 is the 5th axis
It is provided in a direction inclined with respect to A5. The floating cylinder device 20 is mounted on the swivel list 17. Each of the axis drive motors M1 to M6 is a pulse motor, and each of them has pulse encoders E1 to E6 for detecting the position. The motors M1 to M6 and the pulse encoders E1 to E6 are connected to and controlled by the robot controller 30.

第3図はフローティングシリンダ装置20を示す断面図
である。フローティングシリンダ装置20はエアシリンダ
構造からなる。ロボット10のスイベルリスト17上に固定
されるシリンダ本体21にはピストン22が嵌挿され、圧縮
空気によりピストンロッド23を後退させる方向に付勢さ
れている。シリンダ内には、ピストン22に当接可能に導
通センサ24が設けられている。導通センサ24はピストン
22のストローク端のストッパを兼ねると共に、ピストン
22の当接により電気的導通を検出してフローティングシ
リンダ装置20のストローク端を検出する。
FIG. 3 is a sectional view showing the floating cylinder device 20. The floating cylinder device 20 has an air cylinder structure. A piston 22 is fitted into a cylinder body 21 fixed on the swivel list 17 of the robot 10, and is urged by compressed air in a direction to retract the piston rod 23. A continuity sensor 24 is provided in the cylinder so as to be able to contact the piston 22. Continuity sensor 24 is a piston
Also serves as a stopper at the stroke end of 22, and the piston
The electrical contact is detected by the contact of 22 and the stroke end of the floating cylinder device 20 is detected.

ピストンロッド23にはブラケット25を介して工具ヘッ
ド26が取付けられている。工具ヘッド26は回転砥石から
なる工具27を備える。また、シリンダ本体21には距離セ
ンサ28が設けられ、工具ヘッド26との距離を光により検
出することにより、フローティングシリンダ装置20のス
トローク量を検出する。
A tool head 26 is attached to the piston rod 23 via a bracket 25. The tool head 26 includes a tool 27 made of a rotary grindstone. A distance sensor 28 is provided in the cylinder body 21, and the stroke amount of the floating cylinder device 20 is detected by detecting the distance to the tool head 26 by light.

フローティングシリンダ装置20は、自由状態では圧縮
空気の付勢力によりピストン22が導通センサ24に押し付
けられたストローク端の位置にいる。工具(回転砥石)
27が工作物たる母材50に押し付けられると、圧縮空気の
付勢力に抗してピストン22及びピストンロッド23が移動
する。即ち、工具27が工作物たる母材50を押圧する押圧
力は圧縮空気の付勢力で決定する。
In the free state, the floating cylinder device 20 is at the stroke end position where the piston 22 is pressed against the conduction sensor 24 by the urging force of compressed air. Tool (rotary whetstone)
When 27 is pressed against the base material 50 as a workpiece, the piston 22 and the piston rod 23 move against the biasing force of the compressed air. That is, the pressing force with which the tool 27 presses the base material 50 as the workpiece is determined by the urging force of the compressed air.

第4図はロボット制御装置30を示すブロック図であ
る。ロボット制御装置30は、CPU31(中央処理装置3
1),メモリ32,ディスプレイとキーボードが一体となっ
たCRTコンソール33,可搬式の操作盤であるオペレーテン
グボックス34,及び各軸のサーボ駆動ユニットD1〜D6か
らなるロボット制御部35と、プログラマブルコントロー
ラ(PC)36,工具駆動ユニット37,NG判別回路38からなる
補助制御部39とを備える。
FIG. 4 is a block diagram showing the robot controller 30. The robot controller 30 includes a CPU 31 (central processing unit 3
1), memory 32, CRT console 33 with integrated display and keyboard, operating box 34 which is a portable operation panel, and robot controller 35 consisting of servo drive units D1 to D6 for each axis, and programmable controller (PC) 36, tool drive unit 37, auxiliary control section 39 consisting of NG discrimination circuit 38.

ロボット制御部35は主にロボットの動作軌跡を制御す
る部分であり、CPU31では、CRTコンソール33及びオペレ
ーテングボックス34からのJOG動作により教えられた教
示点をメモリ32に記憶し、それらの情報に基づいて補間
演算等を行って補間点を演算してメモリ32に記憶し、こ
の補間点より各軸J1〜J6の目標位置を算出し各軸サーボ
駆動ユニットD1〜D6に目標位置θ1…θを出力す
る。各軸のサーボ駆動ユニットD1〜D6はそれぞれサーボ
制御用のCPUを備え、パルスエンコーダE1〜E6からの位
置信号を検出して指令された目標位置θ〜θを実現
すべく各軸駆動モータM1〜M6を制御する。
The robot control unit 35 is a part that mainly controls the movement trajectory of the robot, and in the CPU 31, the teaching points taught by the JOG operation from the CRT console 33 and the operating box 34 are stored in the memory 32, and the information is stored in the information. based on calculated interpolation points by performing an interpolation operation or the like stored in the memory 32, the target position theta 1 in each axis servo drive unit D1~D6 calculates a target position of each axis J1~J6 from the interpolation point, theta 2 ... Outputs θ 6 . The servo drive units D1 to D6 for each axis each have a CPU for servo control, and each axis drive motor to detect the position signals from the pulse encoders E1 to E6 and realize the commanded target positions θ 1 to θ 6. Controls M1 to M6.

補助制御部39は、プログラマブルコントローラ(PC)
36による工具駆動ユニット37の制御等の補助的な制御を
すると共に、ロボット制御用CPU31との間でデータの授
受を行う。すなわち、NG判別回路38では距離センサ28か
らの出力に従いフローティングシリンダ装置20のストロ
ーク量がたとえば1mm±0.1mmの所定しきい値内であるか
否かを判別し、+NG,OK,−NGの判別信号を出力する。PC
36ではその内部メモリにNG区間記憶領域を確保し、前記
補間点間で分割された区間毎に、+NG,OK,−NGの判別信
号を記憶する。現在どの区間をロボット10が走行中か
は、CPU31からの加工区間判別信号によりPC36に知らさ
れる。走行終了後に、CPU31はPC36の内部メモリに記憶
された上記判別信号を読み出し、動作軌跡の補正等の処
理を行う。
The auxiliary controller 39 is a programmable controller (PC)
Auxiliary control such as control of the tool drive unit 37 by the 36 is performed, and data is exchanged with the robot control CPU 31. That is, the NG discriminating circuit 38 discriminates whether or not the stroke amount of the floating cylinder device 20 is within a predetermined threshold value of, for example, 1 mm ± 0.1 mm according to the output from the distance sensor 28, and discriminates between + NG, OK, and −NG. Output a signal. PC
At 36, an NG section storage area is secured in the internal memory, and + NG, OK, and -NG discrimination signals are stored for each section divided between the interpolation points. The section in which the robot 10 is currently traveling is notified to the PC 36 by a processing section determination signal from the CPU 31. After the traveling ends, the CPU 31 reads the above-mentioned determination signal stored in the internal memory of the PC 36, and performs processing such as correction of the motion locus.

また、導通センサ24からの信号をPC36を経由してCPU3
1に伝えられる。
In addition, the signal from the continuity sensor 24 is sent to the CPU3 via the PC36.
Passed to 1.

本実施例では、NG判別手段1はNG判別回路38により実
現され、教示点記憶手段2及びNG区間記憶手段4はロボ
ット制御部35のCPU31の処理及びメモリ32により実現さ
れる。また、走行手段3,修正手段5及び繰り返し手段6
はCPU31での処理により実現される。
In this embodiment, the NG discrimination means 1 is realized by the NG discrimination circuit 38, and the teaching point storage means 2 and the NG section storage means 4 are realized by the processing of the CPU 31 of the robot control unit 35 and the memory 32. Also, the traveling means 3, the correcting means 5, and the repeating means 6
Is realized by the processing in the CPU 31.

以上の構成に基づき動作について説明する。 The operation will be described based on the above configuration.

第5図は被加工物である母材を示す平面図(a),正
面図(b),及び断面図(c)である。母材50は湾曲し
た曲面形状を有する板金部材であり、ろう付溶接による
ビード部51を残している。このビード部51を工具(回転
砥石)27による研磨作業により、母材50に歪みを生じさ
せないように除去し、滑らかな曲面を得ようとするので
ある。
FIG. 5 is a plan view (a), a front view (b), and a cross-sectional view (c) showing a base material which is a workpiece. The base material 50 is a sheet metal member having a curved curved surface shape, and has a bead portion 51 left by brazing welding. This bead portion 51 is removed by a polishing operation with a tool (rotary grindstone) 27 so as not to cause distortion in the base material 50, and a smooth curved surface is obtained.

ロボット10の動作軌跡を教示するため、ビード部51が
除去され理想的なプロフィールを示すマスタ母材50を用
意する。まず、工具(回転砥石)27を回転させないまま
マスタ母材50に近づけて砥石27の加工面27Aを接触さ
せ、その接触位置をマスタ母材位置として検出する。接
触検出は導通センサ24により行う。接触検出を行う測定
点52,53は母材形状から適当に選択する。そして、検出
されたマスタ母材位置を教示点として記憶する。
In order to teach the movement trajectory of the robot 10, a bead portion 51 is removed and a master base material 50 having an ideal profile is prepared. First, the processing surface 27A of the grindstone 27 is brought into contact with the tool (rotary grindstone) 27 without rotating the master base material 50, and the contact position is detected as the master base material position. Contact detection is performed by the continuity sensor 24. The measurement points 52 and 53 for contact detection are appropriately selected from the base material shape. Then, the detected master base material position is stored as a teaching point.

次に、各教示点をフローティングシリンダ装置20を押
し込む方向に1mmだけシフトする演算処理を行う。これ
は、上記マスタ母材形状の測定は工具27の接触位置で検
出しているが、研磨作業の際は一定の押圧力を工具に与
えるため、フローティングシリンダ装置20が正確に1mm
だけ押し込まれた状態で走行するように目標動作軌跡を
決定するためである。
Next, arithmetic processing is performed to shift each teaching point by 1 mm in the direction in which the floating cylinder device 20 is pushed. This is because the measurement of the master base material shape is detected at the contact position of the tool 27, but since a constant pressing force is applied to the tool during the polishing work, the floating cylinder device 20 accurately measures 1 mm.
This is because the target motion locus is determined so that the vehicle runs while being pushed in only.

次に、そのシフトされた教示点に基づき、教示点間を
補間して補間点を求め実際にロボット10を走行させ、工
具27のマスタ母材50への当たり具合を測定する。これ
は、工具27を回転させずマスタ母材50に当接させてロボ
ット10を走行させ、各補間点毎に分割された区間毎にNG
判別回路38からのNG信号が出力されたか否かを記憶する
ことにより行われる。そして、一つでもNG信号が出力さ
れた区間であれば、フローティングシリンダ装置20のス
トローク量を適正にすべく補間点を修正し、再度ロボッ
ト10を走行させて工具のマスタ母材50への当たり具合を
測定する。何度も走行及び補間点の修正を繰り返すこと
により、全走行区間においてフローティングシリンダ装
置20のストローク量が1mm±0.1mmのしきい値内に入るよ
うに各補間点が修正される。
Next, based on the shifted teaching points, the teaching points are interpolated to obtain interpolation points, and the robot 10 is actually run to measure the degree of contact of the tool 27 with the master base material 50. This is because the robot 27 is run by bringing the tool 27 into contact with the master base material 50 without rotating, and the NG is generated for each section divided at each interpolation point.
This is performed by storing whether or not the NG signal from the determination circuit 38 is output. Then, even if only one NG signal is output, the interpolation point is corrected to make the stroke amount of the floating cylinder device 20 appropriate, and the robot 10 is run again to hit the tool with the master base material 50. Measure the condition. By repeating traveling and correction of interpolation points many times, each interpolation point is corrected so that the stroke amount of the floating cylinder device 20 falls within the threshold value of 1 mm ± 0.1 mm in all traveling sections.

このようにして、目標動作軌跡を与える各教示点を、
単なるサンプリングされた点としてではなく、連続した
動作軌跡そのものがマスタ母材50に沿った軌跡として自
動教示される。
In this way, each teaching point that gives the target motion locus,
The continuous motion locus itself is automatically taught as a locus along the master base material 50, not as merely sampled points.

第6図及び第7図は上記の制御思想を実現するCPUで
の処理を示すフローチャートである。
6 and 7 are flowcharts showing the processing in the CPU that realizes the above control concept.

教示点測定処理が開始されると(ステップ100)、ま
ず、母材50の測定点52,53位置にアプローチできる位置
に位置決めし、姿勢を決める(ステップ101)。次い
で、母材50へのアプローチを開始し、工具27の母材50へ
の接触を待つ(ステップ102,103)。母材50への接触
は、導通センサ24の電気的導通が切れることにより検出
される。母材50への工具27の接触が検出されると直ちに
ロボット10を停止させ(ステップ104)、その時の各関
節の座標θ1…θを記憶することにより接触点位
置を記憶する(ステップ105)。上記の処理を各測定点5
2,53で繰り返すことにより(ステップ106)、多数の接
触点位置からなるデータとして教示点が記憶される。
When the teaching point measurement process is started (step 100), first, the base material 50 is positioned so that it can approach the measurement points 52 and 53, and the posture is determined (step 101). Then, the approach to the base material 50 is started, and the contact of the tool 27 with the base material 50 is awaited (steps 102 and 103). The contact with the base material 50 is detected when the electrical continuity of the continuity sensor 24 is cut off. As soon as the contact of the tool 27 with the base material 50 is detected, the robot 10 is stopped (step 104), and the contact point position is stored by storing the coordinates θ 1 , θ 2 ... θ 6 of each joint at that time. (Step 105). Perform the above process at each measurement point 5
By repeating the processing at 2,53 (step 106), the teaching point is stored as data including a large number of contact point positions.

すべての測定点の接触検出が終了すると、ステップ10
7に進み、その多数の接触点位置からなる教示点をフロ
ーティングシリンダ装置20を1mm押し込む方向にシフト
する修正を行う。以上で、教示点測定処理を終了する。
When the contact detection of all measurement points is completed, step 10
Proceeding to step 7, correction is made to shift the teaching point consisting of the numerous contact point positions in the direction in which the floating cylinder device 20 is pushed in by 1 mm. This is the end of the teaching point measurement process.

次に、第7図に示す軌跡修正処理が開始される。処理
が開始される(ステップ200)と、ステップ201では、前
記測定された教示点間を補間演算し、補間点を求めてメ
モリ32に記憶させ、その補間点を結ぶ軌跡に従ってロボ
ット10の走行が行われる。このとき、工具27は回転させ
ない。
Next, the trajectory correction process shown in FIG. 7 is started. When the processing is started (step 200), in step 201, interpolation calculation is performed between the measured teaching points, the interpolation points are obtained and stored in the memory 32, and the robot 10 travels according to the locus connecting the interpolation points. Done. At this time, the tool 27 is not rotated.

この走行動作中に、CPU31はPC36に現在どの区間を走
行中かを知らせる加工区間判別信号を次々に出力する。
PC36は、加工区間判別信号に従って各区間毎に、NG判別
回路38からの+NG,OK,−NG信号を内部メモリに次々に記
憶していく。
During this traveling operation, the CPU 31 outputs to the PC 36 one after another machining section discrimination signals for informing which section is currently traveling.
The PC 36 stores the + NG, OK, and -NG signals from the NG discrimination circuit 38 in the internal memory one after another according to the machining section discrimination signal.

一連の走行動作からなる1サイクルの走行動作が終了
すると、ステップ202で、CPU31はPC36の内部メモリを読
み出し、+NG信号又は−NG信号が記憶された区間が存在
するか否かを調べる。一つでもNG信号が記憶された区間
が存在すれば、ステップ203からステップ204に進み、NG
信号が記憶された区間の補間点を+NG信号か−NG信号か
に従って所定微少量だけ修正する。そして、ステップ20
1に戻り、最初から走行動作を繰り返す。
When one cycle of traveling operation consisting of a series of traveling operations is completed, the CPU 31 reads the internal memory of the PC 36 at step 202 and checks whether or not there is a section in which the + NG signal or the -NG signal is stored. If there is at least one section in which the NG signal is stored, proceed from step 203 to step 204
The interpolation point in the section where the signal is stored is corrected by a predetermined minute amount according to whether it is the + NG signal or the -NG signal. And step 20
Return to 1 and repeat the running operation from the beginning.

そして、すべての区間においてOK信号のみ存在するよ
うになれば、ステップ203からステップ205に進み処理を
終了する。
Then, if only the OK signal is present in all the sections, the process proceeds from step 203 to step 205 to end the process.

以上説明したように本実施例は、工具27を直接母材50
に接触させて教示点を検出し、かつ、工具27を母材50に
接触させた状態で前記教示点から演算される補間点に基
づいて目標動作軌跡を走行させ、不具合箇所の補間点を
修正するものである。このため、ロボット10の動作軌跡
の修正を自動的に行うことができ、曲率を有する母材50
に常に一定角度で工具27を当てて動くロボット10の動作
軌跡を±0.1mmの精度で設定することができた。
As described above, in this embodiment, the tool 27 is directly connected to the base material 50.
The teaching point is detected by touching the workpiece, and the target motion locus is run based on the interpolation point calculated from the teaching point while the tool 27 is in contact with the base material 50, and the interpolation point of the defective point is corrected. To do. Therefore, the motion trajectory of the robot 10 can be automatically corrected and the base material 50 having a curvature can be corrected.
It was possible to set the motion locus of the robot 10 moving with the tool 27 always at a constant angle with an accuracy of ± 0.1 mm.

本発明の適用は、研磨作業用のロボットだけではな
い。ばり取り用の力センサを用いたロボットに適用する
ことにより、押圧力一定の動作軌跡を自動設定させるこ
とも可能である。
The application of the present invention is not limited to robots for polishing work. By applying this to a robot that uses a force sensor for deflashing, it is possible to automatically set a motion trajectory with a constant pressing force.

「発明の効果」 本発明は、上記の構成を有しロボットを実際に走行さ
せて教示点を修正する手段を備えるものであるから、曲
面からなる工作物への工具の当たり具合を適正とするロ
ボットの動作軌跡を数少ない教示点で高精度に自動教示
することができるという優れた効果がある。また、工具
(回転砥石)を直接母材に接触させて母材の位置を検出
し目標軌跡を修正するため、砥石摩耗の補正を同時に行
うことができる。
[Advantages of the Invention] The present invention has the above-mentioned configuration and is provided with a means for actually moving the robot to correct the teaching point. Therefore, the tool is appropriately contacted with a workpiece having a curved surface. There is an excellent effect that the motion locus of the robot can be automatically taught with high accuracy at a few teaching points. Further, since the tool (rotary grindstone) is brought into direct contact with the base material to detect the position of the base material and correct the target locus, the wear of the grindstone can be corrected at the same time.

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

図面は本発明の実施例を示し、第1図は発明の構成を示
す構成図、第2図はロボットを示す斜視図、第3図はフ
ローティングシリンダ装置を示す断面図、第4図はロボ
ット制御装置を示すブロック図、第5図は母材を示す
図、第6図及び第7図は実際の処理を示すフローチャー
トである。 10……ロボット、20……フローティングシリンダ装置、
24……導通センサ、26……工具ヘッド、27……工具(回
転砥石)、28……距離センサ、30……ロボット制御装
置、31……CPU、35……ロボット制御部、36……PC(プ
ログラマブルコントローラ)、38……NG判別回路(NG判
別手段)、39……補助制御部、50……母材、51……ビー
ド部、52,53……測定点。
The drawings show an embodiment of the present invention, FIG. 1 is a configuration diagram showing the configuration of the invention, FIG. 2 is a perspective view showing a robot, FIG. 3 is a sectional view showing a floating cylinder device, and FIG. 4 is robot control. FIG. 5 is a block diagram showing the apparatus, FIG. 5 is a diagram showing a base material, and FIGS. 6 and 7 are flowcharts showing actual processing. 10 …… Robot, 20 …… Floating cylinder device,
24 …… Continuity sensor, 26 …… Tool head, 27 …… Tool (rotating grindstone), 28 …… Distance sensor, 30 …… Robot control device, 31 …… CPU, 35 …… Robot control unit, 36 …… PC (Programmable controller), 38 ... NG discrimination circuit (NG discrimination means), 39 ... Auxiliary control unit, 50 ... Base material, 51 ... Bead portion, 52, 53 ... Measuring point.

───────────────────────────────────────────────────── フロントページの続き (72)発明者 丹羽 広 愛知県刈谷市朝日町1丁目1番地 豊田 工機株式会社内 審査官 藤本 信男 (56)参考文献 特開 昭63−15306(JP,A) ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Hiro Niwa 1-1-1, Asahi-cho, Kariya city, Aichi Prefecture Nobuo Fujimoto, Examiner, Toyota Koki Co., Ltd. (56) Reference JP-A-63-15306 (JP, A)

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】ロボットの先端に取付けられ工具を所定押
圧力で一定方向に付勢して保持するフローティングシリ
ンダ装置と、 そのフローティングシリンダ装置のストローク量を検出
する距離センサと、 その距離センサの出力からストローク量が所定目標値か
ら所定しきい値以上外れたことを判別しNG信号を出力す
るNG判別手段と、 ロボットの目標動作軌跡を教示点として記憶する教示点
記憶手段と、 その教示点間を補間してロボットに目標動作軌跡を走行
させる走行手段と、 その走行中の前記NG信号の発生の有無を前記各教示点間
を補間して得られた補間点で分割されたそれぞれの区間
毎に記憶するNG区間記憶手段と、 NG信号の発生した区間の補間点を前記ストローク量を適
正にする方向に移動すべく教示点を修正する修正手段
と、 前記すべての区間においてNG信号が発生しなくなるまで
前記走行手段、前記NG区間記憶手段及び前記修正手段を
繰返し実行する繰返し手段と、を備えることを特徴とす
るロボット制御装置。
1. A floating cylinder device attached to the tip of a robot for holding a tool by urging the tool in a certain direction with a predetermined pressing force, a distance sensor for detecting a stroke amount of the floating cylinder device, and an output of the distance sensor. NG discriminating means for discriminating that the stroke amount deviates from the predetermined target value by a predetermined threshold value or more and outputting an NG signal, teaching point storing means for storing the robot's target motion locus as a teaching point, and between the teaching points. And a traveling means for causing the robot to travel on the target motion locus, and for each section divided by interpolation points obtained by interpolating between the teaching points whether or not the NG signal is generated during the traveling. NG section storing means for storing the NG signal, correction means for correcting the teaching point so as to move the interpolation point in the section where the NG signal is generated in the direction to make the stroke amount proper, The traveling means to the NG signal in the interval of Te is not generated, the NG section storage unit and the robot control apparatus characterized by comprising a repeating unit, a repeatedly executing said modifying means.
JP1309532A 1989-11-29 1989-11-29 Robot controller Expired - Fee Related JP2552743B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1309532A JP2552743B2 (en) 1989-11-29 1989-11-29 Robot controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1309532A JP2552743B2 (en) 1989-11-29 1989-11-29 Robot controller

Publications (2)

Publication Number Publication Date
JPH03170283A JPH03170283A (en) 1991-07-23
JP2552743B2 true JP2552743B2 (en) 1996-11-13

Family

ID=17994150

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1309532A Expired - Fee Related JP2552743B2 (en) 1989-11-29 1989-11-29 Robot controller

Country Status (1)

Country Link
JP (1) JP2552743B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109001527A (en) * 2018-10-17 2018-12-14 北京弘浩千瑞科技有限公司 A kind of equipment working state detection method

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3265565B2 (en) * 1994-02-16 2002-03-11 株式会社安川電機 Manipulator control device
JP5593899B2 (en) * 2010-07-12 2014-09-24 株式会社Ihi Deburring method by robot
JP2019202372A (en) * 2018-05-22 2019-11-28 株式会社Ihi Robot system and control method for robot

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109001527A (en) * 2018-10-17 2018-12-14 北京弘浩千瑞科技有限公司 A kind of equipment working state detection method

Also Published As

Publication number Publication date
JPH03170283A (en) 1991-07-23

Similar Documents

Publication Publication Date Title
JPH079606B2 (en) Robot controller
JPH0527125B2 (en)
US4886529A (en) Polishing robot and polishing method using the same
JPH0976065A (en) Welding robot
US11654562B2 (en) Apparatus, robot control device, robot system, and method of setting robot coordinate system
JP2552743B2 (en) Robot controller
JP2773917B2 (en) Work positioning device for bending equipment
JP2889622B2 (en) Polishing robot controller
JP2001038660A (en) Teaching end effector, and robot teaching method
JPS60127987A (en) Method and device for controlling profiling
JPS5997873A (en) Method of correcting positional displacement of work in robot
JPH03256682A (en) Robot control device
JP2002144034A (en) Device for checking reference position in working tool with robot
JP2770570B2 (en) Welding robot
JP3171450B2 (en) Robot controller
JPH0924476A (en) Teach position teaching method of robot welding gun
JPH0250483B2 (en)
JPH09267282A (en) Workpiece position detection device for articulated robot
JPH0784632A (en) Robot position and posture teaching method
JPS5946758B2 (en) Operation control method for automatic working machines
CN116670603B (en) Evaluation device and evaluation method for motion tracks
JPH08147024A (en) Teaching method of articulated robot
JPH07232272A (en) Automatic welding device and welding method
JP3359012B2 (en) Spot welding robot
JPH0631592A (en) Grinding robot and execution of grinding work

Legal Events

Date Code Title Description
S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

R371 Transfer withdrawn

Free format text: JAPANESE INTERMEDIATE CODE: R371

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313115

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080822

Year of fee payment: 12

LAPS Cancellation because of no payment of annual fees