JPS6254302A - Robot controller - Google Patents

Robot controller

Info

Publication number
JPS6254302A
JPS6254302A JP19323385A JP19323385A JPS6254302A JP S6254302 A JPS6254302 A JP S6254302A JP 19323385 A JP19323385 A JP 19323385A JP 19323385 A JP19323385 A JP 19323385A JP S6254302 A JPS6254302 A JP S6254302A
Authority
JP
Japan
Prior art keywords
robot
control
command value
gravity
motor
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.)
Granted
Application number
JP19323385A
Other languages
Japanese (ja)
Other versions
JPH0750412B2 (en
Inventor
Kinichi Tamura
田村 欣一
Susumu Kawada
河田 進
Teruo Asae
浅枝 暉雄
Takeshi Enokida
剛 榎田
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.)
Nissan Motor Co Ltd
Original Assignee
Nissan Motor Co 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 Nissan Motor Co Ltd filed Critical Nissan Motor Co Ltd
Priority to JP19323385A priority Critical patent/JPH0750412B2/en
Publication of JPS6254302A publication Critical patent/JPS6254302A/en
Publication of JPH0750412B2 publication Critical patent/JPH0750412B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Manipulator (AREA)
  • Numerical Control (AREA)

Abstract

PURPOSE:To improve the efficiency of teaching work by switching control to self-holding control state by a control switching means and controlling a motor driving current for driving respective movable parts of a robot on the basis of a command value outputted from a gravity balance compensating circuit. CONSTITUTION:A control device of a robot is constituted of a central processing part 20 such as a microcomputer, servocontrol parts for the 1st and 2nd arm driving motors 4, 11 which consist of position resistors 21, 31, etc. respectively and a teaching box 18. In this case, control switching means 29, 30 for switching a play back control status and self-holding control status and the gravity balance compensating circuit 40 are connected. The compensating circuit 40 is constituted of a CPU, etc. to read the rotational angles of both the arms detected potentiometers 27, 37 for both motors 4, 11, calculate the moment of gravity in a vertical joint axis and output a compensation command value for generating axial torque to resist the moment. Consequently, both the arms are held at a posture keeping gravity balance.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明はロボットの制御装置に関し、特に垂直多関節
型ロボットのダイレクトティーチを可能にする制御装置
に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a robot control device, and more particularly to a control device that enables direct teaching of a vertically articulated robot.

〔従来の技術〕[Conventional technology]

近年、各種の産業゛用ロボットが工場の製造ラインで使
用されるようになり、溶接、塗装9組立等の各種の作業
をロボットに行なわせるようになってきている。
In recent years, various industrial robots have come to be used on factory production lines, and robots have come to perform various tasks such as welding, painting, and assembly.

ところで、ロボットに一定の作業を行なわせるには、予
めその作業に必要な全ての動作をプログラムして記憶さ
せておくか、あるいは実際の作業に合せてロボットを動
かしてその動作を記憶させるティーチングを行なう必要
がある。
By the way, in order for a robot to perform a certain task, it is necessary to program and memorize all the movements necessary for the task in advance, or to teach the robot to move according to the actual task and memorize the movements. It is necessary to do it.

一般には1作業内容の変更にも直ちに対応できるように
、ティーチングによって動作を記憶させる方法が多〈実
施されており、その場合、ティーチングボックスの操作
によって駆動モータによってロボットの各可動部を駆動
して所望の動作を行なわせる方法もあるが、ロボットの
可動部を人力で直接所望の位置へ動かしてティーチング
を行なうダイレクトティーチが最も簡便である。
In general, in order to be able to immediately respond to changes in the content of a single task, there are many methods of memorizing movements through teaching. Although there are methods for making the robot perform a desired action, the simplest method is direct teaching, in which teaching is performed by directly moving the movable part of the robot to the desired position manually.

第7図は、塗装用ダイレクトティーチロボットの例を示
す。
FIG. 7 shows an example of a direct teaching robot for painting.

このロボットは、油圧駆動部Aとそれによって駆動され
るメインアームBとその先端部に取付けた治具Cとから
なり、メインアームBと冶具Cは。
This robot consists of a hydraulic drive section A, a main arm B driven by the hydraulic drive section A, and a jig C attached to its tip.

人力で可動なように極力軽く造られており、メインアー
ムBは空気圧と重心位置の適正化によって重力バランス
を保っている。
It is made as light as possible so that it can be moved by human power, and the main arm B maintains gravity balance through air pressure and optimization of the center of gravity.

したがって1作業者が直接このロボットのメインアーム
B及び冶具Cを手で動かして、順次各作業ポイントに位
置決めし、その各位置を記憶させてティーチングを行な
うことができる。
Therefore, one worker can directly move the main arm B and jig C of this robot by hand, sequentially position the robot at each work point, memorize each position, and perform teaching.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

しかしながら、このような従来のダイレクトティーチロ
ボットは、ロボットの機構自体がダイレクトティーチ用
に軽く造られ、且つ機械的に重力バランスをとる構造に
なっていた。このため、可搬重量が制限されるのみなら
ず、ア、−ムの構造が複雑になってしまうという問題点
があった。
However, in such conventional direct teaching robots, the robot mechanism itself is lightweight for direct teaching, and has a structure that mechanically balances gravity. For this reason, there were problems in that not only the payload was limited, but also the structure of the arm became complicated.

一方、ダイレクトティーチ用に設計されていない一般の
ロボット、特に垂直関節を有するロボットでは、常にそ
の可動部(アーム)の重力負荷が加わっているため、そ
れに抗して人力によって可動部を所望の位置へ動かして
テーチングを行なうことは不可能であった。
On the other hand, in general robots that are not designed for direct teaching, especially robots with vertical joints, the moving part (arm) is always subject to gravity load, so the moving part is manually moved to the desired position against this load. It was impossible to move the robot and teach.

この発明は、このような問題点を解決して、ダイレクト
ティーチ用に設計されていないロボット。
This invention solves these problems and provides a robot that is not designed for direct teaching.

特に垂直関節を有するロボットでも容易にダイレクトテ
ィーチを行なえるように、することを目的とする。
In particular, the purpose is to allow robots with vertical joints to easily perform direct teaching.

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

そのためこの発明は、速度指令値とロボットの可動部の
速度検出系からの速度フィードバック値との偏差に基づ
く指令値に応じてロボットの各可動部を駆動するモータ
の駆動電流を制御するロボットの制御装置において1次
の(a)〜(d)を備えることによりダイレフ(・ティ
ーチを容易に行なえるようにしたものである。
Therefore, the present invention provides robot control that controls the drive current of the motor that drives each movable part of the robot according to a command value based on the deviation between the speed command value and the speed feedback value from the speed detection system of the robot's movable part. By providing the primary elements (a) to (d) in the device, it is possible to easily carry out die reflex (teaching).

(a)ロボットの姿勢に応じてその各可動部の垂直関節
軸に加わる重力のモーメントを算出し、そのモーメント
に・抗し得る軸トルクを上記モータに発生させるための
重力補償指令値を出力する重力バランス補償回路 (b)上記各モータの駆動電流を上記偏差に基づく指令
値によって制御するプレイバック制御状態と上記重力補
償指令値によって制御する自己保持制御状態とを切換え
る制御切換手段 (c)上記ロボットの各可動部の現在位置を検出する現
在位置検出手段 (d)ティーチング時に前記現在位置検出手段によって
検出される各ティーチングポイントの位置データを記憶
するメモリ 〔作  用〕 制御切換手段によって自己保持制御状態に切換えると、
ロボットの各可動部(アーム等)を駆動するモータの駆
動電流が重力バランス補償回路からの重力補償指令値に
よって制御され、各可動部が重力バランスをとって姿勢
を保持し、外力によって軽く動かせる状態になる。
(a) Calculate the moment of gravity applied to the vertical joint axes of each movable part according to the robot's posture, and output a gravity compensation command value for causing the motor to generate an axis torque capable of resisting the moment. Gravity balance compensation circuit (b) Control switching means for switching between a playback control state in which the drive current of each of the motors is controlled by a command value based on the deviation and a self-holding control state in which the drive current of each motor is controlled by the gravity compensation command value (c) The above. Current position detection means for detecting the current position of each movable part of the robot (d) Memory for storing position data of each teaching point detected by the current position detection means during teaching [Operation] Self-holding control by control switching means When you switch to the state,
A state in which the drive current of the motors that drive each movable part (arm, etc.) of the robot is controlled by the gravity compensation command value from the gravity balance compensation circuit, and each movable part maintains its posture with gravity balance and can be easily moved by external force. become.

したがって、この状態でロボットの可動部を人力で直接
、動かして各作業ポイントへ位置決めし、その時現在位
置検出手段によって検出される位置データをメモリに順
次記憶させること&;よってダイレクトティーチを行な
うことができる。
Therefore, in this state, it is possible to manually move the movable parts of the robot to position each work point, and then sequentially store the position data detected by the current position detection means in the memory &; thus, direct teaching can be performed. can.

〔実施例〕〔Example〕

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

先ず、第2図を参照してこの実施例に使用するロボット
の構成について説明する。
First, the configuration of the robot used in this embodiment will be explained with reference to FIG.

1は垂直多関節型ロボットであり、図示しない台座上に
固定された基部2に垂直に立設した腰軸3と、この腰軸
に対して直角に固定された肘軸を兼ねたモータ4に連結
された第1アーム(上腕)・ 5と、この第1アームの
先端部に対軸6によって回転自在に連結された第2アー
ム(下腕)7と。
Reference numeral 1 denotes a vertically articulated robot, which has a waist shaft 3 that stands vertically on a base 2 fixed on a pedestal (not shown), and a motor 4 that also serves as an elbow shaft that is fixed at right angles to the waist shaft. A connected first arm (upper arm) 5, and a second arm (lower arm) 7 rotatably connected to the tip of the first arm by a pair of shafts 6.

この第2アーム7の先端部に手首軸8によって回動自在
に連結された工具取付部Sから成る。これを模式的に示
すと第3図のよう、になる。
The second arm 7 includes a tool mounting portion S rotatably connected to the distal end thereof by a wrist shaft 8. This is schematically shown in Figure 3.

腰軸3は、モータ10によって水平面内で矢示A方向に
回転される水平関節軸である。
The waist shaft 3 is a horizontal joint shaft that is rotated in the direction of arrow A in a horizontal plane by the motor 10.

第1アーム5は、モータ4によって矢示B方向に、第2
アーム7はモータ11によって矢示C方向に、工具取付
部Sは第2アーム7に内蔵された図示しないモータによ
って矢示り方向にそれぞれ垂直面内で回動し−これらを
連結する肘軸と対軸6及び手首軸8が垂直関節軸である
The first arm 5 is moved in the direction of arrow B by the motor 4 to the second arm 5.
The arm 7 is rotated within a vertical plane in the direction of arrow C by a motor 11, and the tool attachment part S is rotated in the direction of the arrow by a motor (not shown) built in the second arm 7, respectively, in a vertical plane. Opposite axis 6 and wrist axis 8 are vertical joint axes.

なお、モータ4,10.11及び工具取付部日を回動さ
せる図示しない手首軸駆動モータは、いずれもDCサー
ボモータを使用する。そして、これらの各モータの駆動
力を伝達する減速機としては、逆伝達効率の比1咬的高
いものを使用する。
Incidentally, the motors 4, 10, 11 and the wrist shaft drive motor (not shown) for rotating the tool mounting portion each use a DC servo motor. As the reducer for transmitting the driving force of each of these motors, a reducer with significantly higher reverse transmission efficiency is used.

また、これらの各モータの出力軸には、その回転速度を
検出するためのタコジェネレータ及び回転角度を検出す
るためのポテンショメータがそれぞれ取付けられている
Further, a tacho generator for detecting the rotation speed and a potentiometer for detecting the rotation angle are attached to the output shaft of each of these motors.

工具取付部9には、作業に必要な溶接電極、スプレーノ
ズル、ナツトランナ等の各種工具を取付けて使用する。
The tool attachment portion 9 is used to attach various tools necessary for the work, such as a welding electrode, a spray nozzle, and a nut runner.

なお、第1アーム5.第2アーム7、及び工具取付部9
の各重心○I+02+03にはそれぞれの自重による重
力VV’+ + W2 r W3が作用している。
Note that the first arm 5. Second arm 7 and tool attachment part 9
Gravity VV'+ + W2 r W3 due to its own weight acts on each center of gravity ○I+02+03.

次に、第1図によって、第2図に示したロボット1を制
御する制御装置の実施例を説明する。
Next, with reference to FIG. 1, an embodiment of a control device for controlling the robot 1 shown in FIG. 2 will be described.

第1図において、20はマイクロコンピュータ等を用い
た中央処理部であり、ロボット1の全般的な制御を司っ
ている。
In FIG. 1, 20 is a central processing unit using a microcomputer or the like, and is in charge of overall control of the robot 1.

すなわち、位置指令レジスタ212位置制御部22、速
度制御部23.及び電流制御部24等によって構成され
た第1アーム5を回動させる肘軸を駆動するモータ4用
のサーボ制御部と、このサーボ制御部と全く同様に、位
置指令レジスタ31゜位置制御部32.速度制御部33
.及び電流制御部34等によって構成された第2アーム
7を回動させる対軸6を駆動するモータ11用のサーボ
制御部と、図示を省略したが、やはりこれらのサーボ制
御部と同様に構成された腰軸駆動モータ10用のサーボ
制御部及び手首軸駆動モータ用のサーボ制御部をそれぞ
れ制御する。
That is, the position command register 212, the position control section 22, the speed control section 23. and a servo control unit for the motor 4 that drives the elbow shaft that rotates the first arm 5, which is configured by a current control unit 24 and the like; .. Speed control section 33
.. and a servo control unit for the motor 11 that drives the paired shaft 6 that rotates the second arm 7, which is configured by a current control unit 34, etc., and although not shown, it is also configured similarly to these servo control units. A servo control section for the waist shaft drive motor 10 and a servo control section for the wrist shaft drive motor are respectively controlled.

また、この中央処理部には、ティーチング用の各種キー
を6’ffえたティーチングボックス18を接続でき、
このティーチングボックス18からの指令によりティー
チングが行なわれた時に、各ティーチングポイントにお
ける各可動部の位置データを記憶するティーチング用メ
モリ1日を内蔵している。
Additionally, a teaching box 18 equipped with 6'ff of various keys for teaching can be connected to this central processing section.
A teaching memory for storing position data of each movable part at each teaching point when teaching is performed according to a command from the teaching box 18 is built-in.

次に、モータ4用のサーボ制御部において、位置レジス
タ21には、中央処理部20がらの第1アーム5の目標
位置指令値が逐次更新されながら書き込まれる。
Next, in the servo control section for the motor 4, the target position command value of the first arm 5 from the central processing section 20 is written into the position register 21 while being updated one after another.

位置制御部22は、位置指令レジスタ21に書き込まれ
ている第1アーム5の目標位置指令値と、モータ4の出
力軸に取付けられているポテンショメータ27からの位
置フィードバック信号(電圧)をA/D変換器28によ
ってデジタル値に変換した値、すなわち第1アーム5の
現在位置値(第3図の角度OLに相当する)との偏差に
基づく速度指令値Saを出力すると共に、目標位置指令
値と現在位置値とが一致して位置決めが完了する毎にそ
れを中央処理部20に知らせ、中央処理部20はそれに
よって次に目標位置指令値を出力するタイミングを測っ
ている。
The position control unit 22 converts the target position command value of the first arm 5 written in the position command register 21 and the position feedback signal (voltage) from the potentiometer 27 attached to the output shaft of the motor 4 into an A/D converter. It outputs a speed command value Sa based on the deviation from the value converted into a digital value by the converter 28, that is, the current position value of the first arm 5 (corresponding to the angle OL in FIG. Each time the current position value matches and positioning is completed, this is notified to the central processing unit 20, and the central processing unit 20 uses this to determine the next timing to output the target position command value.

速度制御部23は、位置制御部22からの速度指令値S
aと、モータ4の出力軸に取付けられたタコジェネレー
タ2日からの速度フィードバック値Faとの偏差に基づ
く電流指令値Slを出力する。
The speed control unit 23 receives the speed command value S from the position control unit 22.
A current command value Sl is output based on the deviation between a and a speed feedback value Fa from the tachogenerator 2 installed on the output shaft of the motor 4.

この電流指令値S1が切換スイッチ2日を介して電流制
御部24へ入力すると、電流制御部24はモータ4に流
れる駆動電流を検出する電流検出器25からの電流フィ
ードバック値との偏差に基づく駆動電流をモータ4に流
す。
When this current command value S1 is input to the current control unit 24 via the changeover switch 2, the current control unit 24 drives the motor 4 based on the deviation from the current feedback value from the current detector 25 that detects the drive current flowing through the motor 4. A current is applied to the motor 4.

したがって、これらの位置指令レジスタ21゜位置制御
部22.速度制御部23.及び電流制御部24等からな
るモータ4用のサーボ制御部は、切換スイッチ2日の可
動接片Cが固定接点す側に切換わって、速度制御部23
から出力される電流指令値S!を電流制御部24へ入力
させている時には、中央処理部20からの目標位置指令
値に基づいてモータ4を駆動して、第1アーム5をプレ
イバック制御(位置決め制御)することができる。
Therefore, these position command registers 21.degree. position control section 22. Speed control section 23. In the servo control unit for the motor 4, which includes the current control unit 24 and the like, the movable contact C on the changeover switch 2 is switched to the fixed contact side, and the speed control unit 23
Current command value S! When input to the current control unit 24, the motor 4 can be driven based on the target position command value from the central processing unit 20 to perform playback control (positioning control) of the first arm 5.

第2アーム7を駆動するモータ11用のサーボ制御部を
構成する各部31〜38も、上述したモータ4用のサー
ボ制御部を構成する各部21〜28と全く同様に機能し
、やはり切換スイッチ3日の可動接片Cが固定接点す側
に切換ねって、速度制御部33から速度指令値sbと速
度フィードバック値Fbとの偏差に基づいて出力される
電流指令値S2を電流制御部34へ入力させている時に
は、中央処理部20からの目標位置指令値に基づいてモ
ータ11を駆動して、第2アーム7をプレイバック制御
することができる。
The sections 31 to 38 that constitute the servo control section for the motor 11 that drives the second arm 7 also function in exactly the same way as the sections 21 to 28 that constitute the servo control section for the motor 4 described above. The movable contact C is switched to the fixed contact side, and the current command value S2 outputted from the speed control section 33 based on the deviation between the speed command value sb and the speed feedback value Fb is inputted to the current control section 34. At this time, the motor 11 can be driven based on the target position command value from the central processing section 20 to perform playback control of the second arm 7.

さらに、原軸3を回転駆動するモータ10用及び手首軸
駆動モータ用の各サーボ制御部も、同様に機能し・て夫
々各モータを駆動し、原軸3及びハンドSをプレイバッ
ク制御することができる。
Furthermore, the servo control units for the motor 10 that rotationally drives the original shaft 3 and the wrist shaft drive motor function in the same manner, drive each motor, respectively, and perform playback control of the original shaft 3 and the hand S. I can do it.

切換スイッチ2日と39は、連動して作動する手動スイ
ッチ又はリレースイツ1チであ、す、上述のプレイバッ
ク制御状態から図示のように各可動接片Cが固定接点a
側に切換えられると、後述する重力バランス補償回路4
0から出力される重力補償指令値C3,、cs2のみを
それぞれ電流制御部24.34へ入力させるようになる
Changeover switches 2 and 39 are manual switches or relay switches that operate in conjunction with each other. From the playback control state described above, each movable contact piece C changes to fixed contact a as shown in the figure.
When switched to the side, the gravity balance compensation circuit 4 described later
Only the gravity compensation command values C3, cs2 output from 0 are input to the current control units 24 and 34, respectively.

それにより、各電流制御部24.34は、各モータ4,
11にそれぞれ軸4,6に加わる重力のモーメントに抗
する軸トルクを発生させるための電流を流し、第1アー
ム5及び第2アーム7の重力バランスをとって姿勢を保
持する自己保持制御状態となる。
Thereby, each current control unit 24.34 controls each motor 4,
A self-holding control state is established in which a current is applied to the shafts 11 to generate shaft torques that resist the moment of gravity applied to the shafts 4 and 6, respectively, and the gravity balance of the first arm 5 and the second arm 7 is maintained to maintain their posture. Become.

したがって、この切換スイッチ29.39がプレイバッ
ク制御状態と自己保持制御状態を切換える制御切換手段
である。
Therefore, the changeover switches 29 and 39 are control switching means for switching between the playback control state and the self-holding control state.

なお、実際には図示しないモータ10用のサーボ制御部
及び手首軸駆動モータ用サーボ制御部にも、切換スイッ
チ29.39と連動するスイッチが介挿され、自己保持
制御状態に切換ねった時には、各電流制御部の入力を例
えば零にしてモータをフリー状態にする。この場合、工
具取付部9は他の可動部の姿勢に係わらず、自重により
常に垂直下向きとなる。
In addition, switches that operate in conjunction with the changeover switches 29 and 39 are actually inserted in the servo control unit for the motor 10 and the servo control unit for the wrist shaft drive motor (not shown), so that when the switch is not switched to the self-holding control state, The input of each current control section is set to zero, for example, to put the motor in a free state. In this case, the tool mounting part 9 always faces vertically downward due to its own weight, regardless of the posture of the other movable parts.

このようにすることによって、自己保持制御状態では、
ロボット1の各可動部が重力バランスをとって姿勢を保
ちながら、外力によって自由に動かせる力抜き状態にな
る。
By doing this, in the self-holding control state,
Each movable part of the robot 1 is brought into a relaxed state where it can be freely moved by external force while maintaining its posture with gravity balance.

そして、ポテンショメータ27とA/D変換器28、及
びポテンショメータ37とA/D変換器38が、それぞ
れ第1アーム5及び第2アーム7の現在位置を検出する
現在位置検出手段であり。
The potentiometer 27 and the A/D converter 28, and the potentiometer 37 and the A/D converter 38 are current position detection means for detecting the current positions of the first arm 5 and the second arm 7, respectively.

ティーチングポイントにおけるA/D変換器28及び3
日からの位置データを中央処理部20内のメモリ1日に
順次記憶させる。
A/D converters 28 and 3 at the teaching point
The position data from 1st onwards are sequentially stored in the memory in the central processing unit 20 on 1st day.

なお、第2図の原軸3及び手首軸8にもそれぞれポテン
ショメータを取付けてあり、その出力信号をA/D変換
した各ティーチングポイントにおける位置データも、同
様にメモリ1日に記憶させる。
Incidentally, potentiometers are also attached to the original shaft 3 and wrist shaft 8 in FIG. 2, respectively, and the position data at each teaching point obtained by A/D converting the output signals thereof are also stored in the memory on the same day.

次に、重力バランス補償回路40の具体例を第4図によ
って説明する。
Next, a specific example of the gravity balance compensation circuit 40 will be explained with reference to FIG.

この重力バランス補償回路40は、CPU (中央処理
装置)41と、プログラムメモリとしてのROM及びデ
ータメモリとしてのRAMを含むメモリ42と、1対ず
つのA/D変換器43.44及びD/A変換器45.4
6とからなるマイクロコンピュータによって構成されて
いる。
The gravity balance compensation circuit 40 includes a CPU (central processing unit) 41, a memory 42 including a ROM as a program memory and a RAM as a data memory, and a pair of A/D converters 43, 44 and a D/A converter. converter 45.4
It is composed of a microcomputer consisting of 6.

そして、この重力バランス補償回路40は、モータ4の
出力軸に取付けられたポテンショメータ27から出力さ
れる第1アーム5の水平位置からの回動角度θ1 (第
3図参照)に相当する電圧信号をA/D変換器43によ
ってデジタル値に変換してcpu41に読込み、同様に
モータ11の出力軸に取付けられたポテンショメータ3
7から出力される第1アーム5に対する第2アーム7の
回動角度θ2 (第3図参照)に相当する電圧(75号
をA/D変換器44によってデジタル値に変換してCP
U41に読込む。
The gravity balance compensation circuit 40 receives a voltage signal corresponding to the rotation angle θ1 (see FIG. 3) of the first arm 5 from the horizontal position, which is output from the potentiometer 27 attached to the output shaft of the motor 4. The A/D converter 43 converts it into a digital value and reads it into the CPU 41, and the potentiometer 3 similarly attached to the output shaft of the motor 11
A voltage (No. 75 is converted into a digital value by the A/D converter 44 and output from CP
Read into U41.

そして、メモリ42に予めロボット1の第1アーム5の
肘軸4aから重心OIまでの長さ11及び全長j22、
第2アーム7の対軸6から重心02までの長さ1?3及
び全長14、第1アーム5.第2アーム7、及びハンド
9の各重量wt l W21W3(第3図参照)、及び
sinθ、 cosθのテーブルを記憶させておき、垂
直関節軸である肘軸4a及び対軸6における重力のモー
メントM(A)。
The length 11 from the elbow axis 4a of the first arm 5 of the robot 1 to the center of gravity OI and the total length j22 are stored in the memory 42 in advance.
The length from the opposite axis 6 to the center of gravity 02 of the second arm 7 is 1-3 and the total length is 14, the first arm 5. The respective weights of the second arm 7 and the hand 9 wt l W21W3 (see Figure 3), and a table of sin θ and cos θ are stored, and the moment of gravity M on the elbow axis 4a and the opposite axis 6, which are vertical joint axes, is stored. (A).

M(B)をCPU41が下記の演算を行なって算出し、
それに抗し得る軸トルクを発生させるための補償指令値
C8,、cs2をD/A変換器45゜46を介してアナ
ログ信号に変換して出力する。
The CPU 41 calculates M(B) by performing the following calculation,
Compensation command values C8, cs2 for generating shaft torque capable of resisting this are converted into analog signals via D/A converters 45 and 46 and output.

M (A) = K Icosθ1+に2sin(θ1
+02−90’ )M(B)=に2sin (θ1+0
2−90@)但し、K、=βlW1+’2 (W2 +
W3 )K 2  ” I23  W 2  + 72
4  W 3で与えられる。このKl+に2は定数であ
るから、これを予めメモリ52に格納しておくとよい。
M (A) = K I cos θ1+ 2 sin(θ1
+02-90')M(B)=2sin (θ1+0
2-90@) However, K, = βlW1+'2 (W2 +
W3 ) K 2 ” I23 W 2 + 72
It is given by 4 W 3. Since 2 is a constant for Kl+, it is preferable to store this in the memory 52 in advance.

この重力バランス補償回路40における’CPU41の
動作フローを第5図に示す。
The operation flow of the CPU 41 in this gravity balance compensation circuit 40 is shown in FIG.

このようにして1重カバランス補償回路40から出力さ
れる補償指令値cs、、C52を、自己保持制御時に切
換ス右ツチ29.39を介して電流制御部24.34に
入力させて重力補償用の駆動電流をモータ4及び11に
流し、第1.第2アーム5,7及びハンド9の自重に抗
し得る軸トルクを発生させるので、第1.第2アーム5
.7が重力バランスを保って姿勢を保持することができ
る。
In this way, the compensation command values cs, . A drive current for the first motor is applied to the motors 4 and 11. Since the shaft torque capable of resisting the weight of the second arms 5, 7 and the hand 9 is generated, the first. 2nd arm 5
.. 7 can maintain posture by maintaining gravity balance.

なお、この重力バランス補償回路40の機能を第1図の
中央処理部20に持たせて、共通のCPUによって時分
割処理させるようにしてもよい。
Note that the function of the gravity balance compensation circuit 40 may be provided in the central processing unit 20 of FIG. 1, and time-sharing processing may be performed by a common CPU.

さらに、この重力バランス補償回路40をプレイバック
制御時にも動作させ、出力される補償指令値C8I、C
82を速度制御部2’5.33からの電流指令値Sl+
32に加算して電流制御部24.34に入力させて重力
バランスをとるようにすれば、速度制御部23.33か
らの電流指令値Sl+52がそれだけ小さくて済み、ハ
ンチング等を起こしにくくなると共に、可動部を下方へ
も上方へも同じ速度で容易に移動させることができる。
Furthermore, this gravity balance compensation circuit 40 is operated also during playback control, and the compensation command values C8I, C
82 is the current command value Sl+ from the speed control unit 2'5.33
32 and input to the current control section 24.34 to balance the gravity, the current command value Sl+52 from the speed control section 23.33 can be made that much smaller, and hunting etc. are less likely to occur. The movable part can be easily moved both downward and upward at the same speed.

この実施例によれば、前述のように制御切換手段である
切換スイッチ29.39を第1図に示す状態に切換える
ことにより自己保持制御状態となり、モータ4及び11
に重力補償用の駆動電流を流して、第1図のロボット1
の第1アーム5及び第2アーム7の重力バランスをとっ
て姿勢を保ちながら、外力によって自由に動かせる状態
になるので、作業者がハンド9等を持って人力で作業ポ
イントへ動かして、ダイレクトティーチを行うことがで
きる。
According to this embodiment, by switching the changeover switches 29 and 39, which are control switching means, to the state shown in FIG.
A driving current for gravity compensation is applied to the robot 1 in Fig. 1.
While maintaining the gravity balance of the first arm 5 and second arm 7, they can be moved freely by external force, so the worker can manually move the hand 9 etc. to the work point and perform direct teaching. It can be performed.

しかしながら、この実施例では第1図に示した重力バラ
ンス補償回路40及び切換スイッチ2日。
However, in this embodiment, the gravity balance compensation circuit 40 and the changeover switch shown in FIG.

39等が、ロボットの制御盤しこ予め組込まれていなけ
ればダイレクトティーチを行なうことができないという
不便さがある。
There is an inconvenience that direct teaching cannot be performed unless the robot control panel 39, etc. is installed in advance in the robot's control panel.

そこで、この重力バランス補償回路と制御切換手段とを
制御装置本体である制御盤とは別体のアダプタとして構
成して、制御盤とロボットとを接続する信号線に介挿す
るようにした他の実施例を第6図に示す。
Therefore, the gravity balance compensation circuit and the control switching means are configured as an adapter separate from the control panel, which is the main body of the control device, and inserted into the signal line connecting the control panel and the robot. An example is shown in FIG.

50は制御盤であり、ディスプレイS1及びキーボード
42を備え、図示しないティーチングボックスも接続で
きる。
A control panel 50 includes a display S1 and a keyboard 42, and can also be connected to a teaching box (not shown).

一方、第2図に示したのと同様なロボット1に。On the other hand, a robot 1 similar to that shown in FIG.

第1図の電流制御部24.34を含む接続盤53を備え
、制御盤50との間を指令信号線群54とフィードバッ
ク信号線群55とコネクタ56a〜56dとにより、ダ
イレクトティーチアダプタ57を介して接続される。
It is equipped with a connection board 53 including the current control sections 24 and 34 shown in FIG. connected.

ダイレクトティーチアダプタ57には、各モータ用の電
流指令値を重力補償指令値又は零値と切換えるための制
御切換手段としての切換スイッチ群4日と重力バランス
補償回路40を設けている。
The direct teach adapter 57 is provided with a switch group 4 and a gravity balance compensation circuit 40 as control switching means for switching the current command value for each motor to a gravity compensation command value or a zero value.

この実施例によれば、ロボットの制御盤内に予め重力バ
ランス補償回路及び制御切換手段が組込まれていなくて
も、制御盤50とロボット1とを接続する信号線群54
.55にこのアダプタ57を介挿することによってダイ
レクトティーチが可能になる。
According to this embodiment, the signal line group 54 connecting the control panel 50 and the robot 1 can be used even if the gravity balance compensation circuit and the control switching means are not installed in advance in the control panel of the robot.
.. By inserting this adapter 57 into 55, direct teaching becomes possible.

なお、第1図の電流制御部24.34も第6図の制御盤
50内に設け、ダイレクトティーチアダプタ57内の重
力バランス補償回路40は、第4図に示した前述の例と
同様な回路に加えて電流出力回路も備え、切換スイッチ
群4日によってロボット1の各モータの駆動電流を直接
プレイバック用と重力補償用に切換えるようにしてもよ
い。
Note that the current control units 24 and 34 in FIG. 1 are also provided in the control panel 50 in FIG. 6, and the gravity balance compensation circuit 40 in the direct teach adapter 57 is a circuit similar to the above-mentioned example shown in FIG. In addition, a current output circuit may also be provided, and the drive current of each motor of the robot 1 may be directly switched between playback and gravity compensation using a changeover switch group.

その場合、このアダプタ57は制御盤50とは別電源の
ため、その電源の容量を適当に低くおさえることにより
、ダイレクトティーチ中のロボットの不意の暴走を防ぐ
こともできる。
In this case, since the adapter 57 is powered separately from the control panel 50, by keeping the capacity of the power supply appropriately low, it is possible to prevent the robot from running out of control during direct teaching.

〔発明の効果〕〔Effect of the invention〕

以上説明してきたように、この発明によるロボットの制
御装置は、自己保持制御御状態に切換えることによって
、垂直関節軸を有するロボットの各可動部の重力バラン
スをとって姿勢を保持しながら、外力によって自由に動
かせるようになるため、特別なダイレクトティーチ用の
機械的端造になっていないロボットでもダイレクトティ
ーチが可能になり、ティーチング作業を能率良く行なう
ことができる。
As explained above, the robot control device according to the present invention maintains the posture by maintaining the gravity balance of each movable part of the robot having vertical joint axes by switching to the self-holding control state, and by controlling the robot by external force. Since it can be moved freely, direct teaching is possible even with robots that do not have special mechanical parts for direct teaching, and teaching work can be carried out efficiently.

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

第1図はこの発明の一実施例を示す制御装置のブロック
構成図、 第2図はこの発明を適用する垂直多関節型ロボットの一
例を示す外H斜視図。 第3図は同じくそのロボットの垂直間n軸に加わる重力
のモーメントを説明するための模式第4図は第1図にお
ける重力バランス補償回路40の具体例を示すブロック
回路図、 第5図は第4図におけるCPU41の動作例を示すフロ
ー図。 第6図はこの発明の他の実施例を示す構成図、第7図は
従来の塗装用ダイレクトティーチロボットの例を示す概
略図である。 1・・・垂直多関節型ロボット  3・・・原軸4.1
0.11・・・DCサーボモータ5・・・第1アーム 
 6・・・対軸  7・・・第2アーム8・・・手首軸
    日・・・工具取付部18・・・ティーチングボ
ックス 1日・・・ティーチング用メモリ 20・・・中央処理
部26.36・・・タコジェネレータ 27.37・・・ポテンショメータ (現在位置検出手段) 29.39・・・切換スイッチ(制御切換手段)40・
・・重力バランス補償回路 4日・・・切換スイッチ群(制御切換手段)50・・・
制御盤   53・・・接続盤54・・・指令信号線群 55・・・フィードバック信号線群 57・・・ダイレクトティーチアダプタ第2図 第3図 第5図
FIG. 1 is a block configuration diagram of a control device showing an embodiment of the present invention, and FIG. 2 is an external perspective view showing an example of a vertically articulated robot to which the invention is applied. FIG. 3 is a schematic diagram for explaining the moment of gravity applied to the vertical n-axis of the robot. FIG. 4 is a block circuit diagram showing a specific example of the gravity balance compensation circuit 40 in FIG. 1. 5 is a flow diagram showing an example of the operation of the CPU 41 in FIG. 4. FIG. FIG. 6 is a configuration diagram showing another embodiment of the present invention, and FIG. 7 is a schematic diagram showing an example of a conventional direct teaching robot for painting. 1... Vertical articulated robot 3... Original axis 4.1
0.11...DC servo motor 5...1st arm
6...Opposite shaft 7...Second arm 8...Wrist axis Day...Tool attachment part 18...Teaching box 1 day...Memory for teaching 20...Central processing part 26.36 ... Tacho generator 27.37... Potentiometer (current position detection means) 29.39... Changeover switch (control changeover means) 40.
...Gravity balance compensation circuit 4 days...Switch group (control switching means) 50...
Control panel 53...Connection panel 54...Command signal line group 55...Feedback signal line group 57...Direct teach adapter Fig. 2 Fig. 3 Fig. 5

Claims (1)

【特許請求の範囲】 1 速度指令値とロボットの可動部の速度検出系からの
速度フィードバック値との偏差に基づく指令値に応じて
前記ロボットの各可動部を駆動するモータの駆動電流を
制御するロボット制御装置において、 ロボットの姿勢に応じてその各可動部の垂直関節軸に加
わる重力のモーメントを算出し、そのモーメントに抗し
得る軸トルクを前記モータに発生させるための重力補償
指令値を出力する重力バランス補償回路と、 前記各モータの駆動電流を前記偏差に基づく指令値によ
つて制御するプレイバック制御状態と前記重力補償指令
値によつて制御する自己保持制御状態とを切換える制御
切換手段と、 前記ロボットの各可動部の現在位置を検出する現在位置
検出手段と、 テイーチング時に前記現在位置検出手段によつて検出さ
れる各テイーチングポイントの位置データを記憶するメ
モリとを備えたことを特徴とするロボットの制御装置。 2 重力バランス補償回路と制御切換手段とが、制御装
置本体とロボットとの間を接続する信号線に介挿するア
ダプタとして構成されている特許請求の範囲第1項記載
のロボットの制御装置。
[Scope of Claims] 1. Controlling the drive current of a motor that drives each movable part of the robot according to a command value based on a deviation between a speed command value and a speed feedback value from a speed detection system of a movable part of the robot. A robot control device calculates the moment of gravity applied to the vertical joint axes of each movable part according to the robot's posture, and outputs a gravity compensation command value for causing the motor to generate an axis torque capable of resisting the moment. and a control switching means for switching between a playback control state in which the drive current of each of the motors is controlled by a command value based on the deviation and a self-holding control state in which the drive current of each motor is controlled by the gravity compensation command value. and a current position detection means for detecting the current position of each movable part of the robot; and a memory for storing position data of each teaching point detected by the current position detection means during teaching. A control device for a robot. 2. The robot control device according to claim 1, wherein the gravity balance compensation circuit and the control switching means are configured as an adapter inserted into a signal line connecting the control device main body and the robot.
JP19323385A 1985-09-03 1985-09-03 Robot controller Expired - Fee Related JPH0750412B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP19323385A JPH0750412B2 (en) 1985-09-03 1985-09-03 Robot controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP19323385A JPH0750412B2 (en) 1985-09-03 1985-09-03 Robot controller

Publications (2)

Publication Number Publication Date
JPS6254302A true JPS6254302A (en) 1987-03-10
JPH0750412B2 JPH0750412B2 (en) 1995-05-31

Family

ID=16304538

Family Applications (1)

Application Number Title Priority Date Filing Date
JP19323385A Expired - Fee Related JPH0750412B2 (en) 1985-09-03 1985-09-03 Robot controller

Country Status (1)

Country Link
JP (1) JPH0750412B2 (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63251181A (en) * 1987-04-08 1988-10-18 松下電器産業株式会社 Industrial robot
JPS63318277A (en) * 1987-06-19 1988-12-27 ファナック株式会社 Vertical shaft direct teaching method and device for horizontal arm type multi-joint robot
WO1997010080A1 (en) * 1995-09-14 1997-03-20 Kabushiki Kaisha Yaskawa Denki Teaching unit for robots
JPH0985656A (en) * 1995-09-20 1997-03-31 Yaskawa Electric Corp Direct teaching device for robot
WO2016190141A1 (en) * 2015-05-28 2016-12-01 ライフロボティクス株式会社 Robot device and stepping motor control device
CN108972626A (en) * 2018-08-22 2018-12-11 珠海格力电器股份有限公司 A kind of gravitational compensation method, device, storage medium and robot
CN109109019A (en) * 2018-09-17 2019-01-01 珠海格力智能装备有限公司 Electrification control method, device, storage medium and the electronic device of robot
CN113334359A (en) * 2021-06-21 2021-09-03 上海机器人产业技术研究院有限公司 Robot teaching method based on joint motor speed control

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101724490B1 (en) * 2015-12-02 2017-04-07 기아자동차 주식회사 Vehicle production system using cooperattion robot

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63251181A (en) * 1987-04-08 1988-10-18 松下電器産業株式会社 Industrial robot
JPS63318277A (en) * 1987-06-19 1988-12-27 ファナック株式会社 Vertical shaft direct teaching method and device for horizontal arm type multi-joint robot
US4984175A (en) * 1987-06-19 1991-01-08 Fanuc Ltd. Method of directly teaching a horizontal arm type multi-articulated robot and an apparatus for carrying out same
WO1997010080A1 (en) * 1995-09-14 1997-03-20 Kabushiki Kaisha Yaskawa Denki Teaching unit for robots
JPH0985656A (en) * 1995-09-20 1997-03-31 Yaskawa Electric Corp Direct teaching device for robot
WO2016190141A1 (en) * 2015-05-28 2016-12-01 ライフロボティクス株式会社 Robot device and stepping motor control device
JP2016221604A (en) * 2015-05-28 2016-12-28 ライフロボティクス株式会社 Robot device and stepping motor control device
CN108972626A (en) * 2018-08-22 2018-12-11 珠海格力电器股份有限公司 A kind of gravitational compensation method, device, storage medium and robot
CN109109019A (en) * 2018-09-17 2019-01-01 珠海格力智能装备有限公司 Electrification control method, device, storage medium and the electronic device of robot
CN113334359A (en) * 2021-06-21 2021-09-03 上海机器人产业技术研究院有限公司 Robot teaching method based on joint motor speed control

Also Published As

Publication number Publication date
JPH0750412B2 (en) 1995-05-31

Similar Documents

Publication Publication Date Title
JP2610094B2 (en) Control device for industrial manipulator
GB1561260A (en) Programmable manipulators
JPH07295650A (en) Method for controlling articulated robot
JPS6254302A (en) Robot controller
CA1080828A (en) Method and apparatus for generating position or path control programs using force feedback
JPS58161004A (en) Method and device for teaching robot
US4984175A (en) Method of directly teaching a horizontal arm type multi-articulated robot and an apparatus for carrying out same
JPH08161015A (en) Driving control method for articulated robot
JP3552076B2 (en) Robot control method
JP3656328B2 (en) Positioning assist arm
JPH03218502A (en) Teaching device for robot
JPS61273610A (en) Industrial robot
JPH0677205B2 (en) Robot control method
JPH0683453A (en) Load compensation control method for robot
JPH01234185A (en) Teaching method for course of robot using force sensor and its device
CA1333415C (en) Human-in-the-loop machine control loop
JPH02232193A (en) Balance device for multi-joint type robot
JPS60118478A (en) Controller for position of joint type robot
JPH01103279A (en) Three-dimensional measuring robot
JPS6254303A (en) Robot controller
JPS61231612A (en) Controller of robot
JPS6213151B2 (en)
JPH1015863A (en) Teaching method and device for industrial robot
JPH05146980A (en) Parallel manipulator
JPH0546563B2 (en)

Legal Events

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