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
JPH0650444B2 - Uniaxial tracing device - Google Patents
[go: Go Back, main page]

JPH0650444B2 - Uniaxial tracing device - Google Patents

Uniaxial tracing device

Info

Publication number
JPH0650444B2
JPH0650444B2 JP58033517A JP3351783A JPH0650444B2 JP H0650444 B2 JPH0650444 B2 JP H0650444B2 JP 58033517 A JP58033517 A JP 58033517A JP 3351783 A JP3351783 A JP 3351783A JP H0650444 B2 JPH0650444 B2 JP H0650444B2
Authority
JP
Japan
Prior art keywords
pulse
synchronization
value counter
counter
encoder
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 - Lifetime
Application number
JP58033517A
Other languages
Japanese (ja)
Other versions
JPS59161251A (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
Original Assignee
Toyota Motor 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 Toyota Motor Corp filed Critical Toyota Motor Corp
Priority to JP58033517A priority Critical patent/JPH0650444B2/en
Publication of JPS59161251A publication Critical patent/JPS59161251A/en
Publication of JPH0650444B2 publication Critical patent/JPH0650444B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Program-control systems
    • G05B19/02Program-control systems electric
    • G05B19/18Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of program data in numerical form
    • G05B19/19Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of program data in numerical form characterised by positioning or contouring control systems, e.g. to control position from one programmed point to another or to control movement along a programmed continuous path
    • G05B19/21Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of program data in numerical form characterised by positioning or contouring control systems, e.g. to control position from one programmed point to another or to control movement along a programmed continuous path using an incremental digital measuring device
    • G05B19/23Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of program data in numerical form characterised by positioning or contouring control systems, e.g. to control position from one programmed point to another or to control movement along a programmed continuous path using an incremental digital measuring device for point-to-point control
    • G05B19/231Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of program data in numerical form characterised by positioning or contouring control systems, e.g. to control position from one programmed point to another or to control movement along a programmed continuous path using an incremental digital measuring device for point-to-point control the positional error is used to control continuously the servomotor according to its magnitude

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Manufacturing & Machinery (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Machine Tool Copy Controls (AREA)
  • Numerical Control (AREA)

Description

【発明の詳細な説明】 この発明は一軸ならい装置に関するものである。DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a uniaxial tracing device.

従来、産業用ロボットにおいては経路上に有限個の通過
点が指定されているPTP制御(Pointto point contro
l)と作業位置の空間内の直線若しくは曲線として指定
され、その経路上で連続して位置方向決めして作業を行
うCP制御(Continuous path control)とがある。
Conventionally, in industrial robots, a finite number of passing points are specified on the path for PTP control (Point to point control).
l) and CP control (Continuous path control) that is specified as a straight line or a curve in the space of the work position and continuously positions and orients on the path.

ところで、一軸ならい装置においては前者のPTP制御
を採用した場合、各教指示毎に一旦停止してティーチン
グしなければならず、軌道が不確定なため、その点数も
多くとらなければならず、大変時間のかかるものとなっ
てしまう。CP制御では教示した2点間を直線で走ると
いう演算が必要であり、回転テーブルが回ることにより
非常に難しくなる。またたとえ実現できてもティーチン
グ点を多く教示しなければならず煩雑は方法となり問題
である。
By the way, in the case of adopting the former PTP control in the uniaxial tracing device, it is necessary to stop and teach each teaching instruction, and since the trajectory is uncertain, a large number of points must be taken. It takes time. In the CP control, it is necessary to perform a calculation of running a straight line between the two points taught, and it becomes very difficult when the rotary table rotates. Even if it can be realized, many teaching points must be taught, and the complication becomes a method, which is a problem.

そこで、本発明では制御系が簡単でかつ連続動作が可能
な一軸ならい装置の提供を目的とするものである。
Therefore, an object of the present invention is to provide a uniaxial tracing device having a simple control system and capable of continuous operation.

本発明では上記目的を達成するために、2つの制御対象
のうちの一方の制御対象は単に同期パルスを発生するの
みの構成とし、他方の制御対象はこの同期パルスを一種
のクロックパルスとしてこれにより逐次制御が実施され
る構成にしたことを特徴とするものである。
In the present invention, in order to achieve the above object, one of the two controlled objects is configured to simply generate a synchronization pulse, and the other controlled object uses this synchronization pulse as a kind of clock pulse. It is characterized in that the configuration is such that sequential control is performed.

以下、本発明の一実施例を図面によって詳細に説明す
る。
An embodiment of the present invention will be described in detail below with reference to the drawings.

第1図において、1は一軸ならい装置の全体の構成を示
している。この一軸ならい装置1は回転テーブル2と移
動テーブル3と制御装置4とティーチング装置5とから
構成されている。
In FIG. 1, reference numeral 1 indicates the overall configuration of the uniaxial tracing device. The uniaxial tracing device 1 is composed of a rotary table 2, a moving table 3, a control device 4, and a teaching device 5.

回転テーブル2は四角形状の台6とこれの上部に回動可
能に設けられたテーブル7を主体として構成されてい
る。台6の側方にはテーブル7を回転させるためのモー
ター8と同テーブル7の回転位置を検出するためのエン
コーダー9とが設けられており、これらの回転軸8a,
9aはベルト10,11によって前記テーブル7の回転
軸7aと接続されている。テーブル7の下面にはデータ
取込み位置設定用の指示片25が設けられており、前記
台6の上面には指示片25を検知してデータの取り込み
開始信号を送る近接スイッチ26が設けられている。な
お、12はテーブル7の上部に設けられたワーク、13
はワーク12をテーブル7に固定するための取め具であ
る。
The rotary table 2 is mainly composed of a rectangular table 6 and a table 7 rotatably provided on the table 6. A motor 8 for rotating the table 7 and an encoder 9 for detecting the rotational position of the table 7 are provided on the side of the table 6, and these rotary shafts 8a,
9a is connected to the rotating shaft 7a of the table 7 by belts 10 and 11. An instruction piece 25 for setting the data acquisition position is provided on the lower surface of the table 7, and a proximity switch 26 for detecting the instruction piece 25 and sending a data acquisition start signal is provided on the upper surface of the table 6. . In addition, 12 is a work provided on the upper part of the table 7, 13
Is a fixture for fixing the work 12 to the table 7.

移動テーブル3は直方体状の台座14とボールネジ15
とこれを回転させるためのサーボモーター16とボール
ネジ15に螺着されたテーブル17を主体として構成さ
れている。サーボモーター16の後方にはこれの回転速
度検出用のタコジェネレーター18と回動位置検出用の
エンコーダー19とが設けられており、又前記テーブル
17の上部には作業用のノズル20が設けられている。
このノズル20は本例では車両の燃料タンクの接合部の
腐蝕を防止するシーラ剤等をその先端より噴出できるよ
うになっている。(この実施例ではワーク12は燃料タ
ンク若しくはこれに類似するものを示している) 一方、前記台14の側方には前記テーブル17の移動位
置を検出するための近接スイッチ21,22,23が設
けられている。近接スイッチ21はテーブル17の前進
端を検出できるようになっており、近接スイッチ23は
テーブル17の後退端を検出できるようになっており、
近接スイッチ22はテーブル17が原点あわせの位置に
設定されたことを検出できるようになっている。
The moving table 3 has a rectangular parallelepiped base 14 and a ball screw 15.
And a table 17 screwed to a ball screw 15 and a servo motor 16 for rotating the table. A tacho generator 18 for detecting the rotational speed and an encoder 19 for detecting the rotational position of the servo motor 16 are provided behind the servo motor 16, and a working nozzle 20 is provided above the table 17. There is.
In this example, the nozzle 20 is capable of ejecting a sealer agent or the like from its tip which prevents corrosion of the joint portion of the fuel tank of the vehicle. (In this embodiment, the work 12 shows a fuel tank or something similar thereto.) On the other hand, on the side of the table 14, proximity switches 21, 22, 23 for detecting the moving position of the table 17 are provided. It is provided. The proximity switch 21 can detect the forward end of the table 17, and the proximity switch 23 can detect the backward end of the table 17,
The proximity switch 22 can detect that the table 17 has been set to the position of origin alignment.

制御装置4はCPUZ80を主体としてなる第2図に示
す制御回路27を内蔵しており、前面には表示板、ボタ
ン、ランプ等を備えた操作板24が設けられている。そ
して、この制御装置17には前記エンコーダー9,1
9、タコジェネレーター18、近接スイッチ21,2
2,23,26及び後述するティーチング装置5が接続
されている。
The control device 4 has a control circuit 27 mainly composed of the CPU Z80 shown in FIG. 2, and an operation plate 24 including a display plate, buttons, lamps and the like is provided on the front surface. The control device 17 includes the encoders 9 and 1
9, tacho generator 18, proximity switches 21,2
2, 23, 26 and a teaching device 5 described later are connected.

ティーチング装置5は本体5aとダイヤル5bとからな
っており、内部にはダイヤル5bの回転量に比例してパ
ルスを出力する第2図に示す手動操作用のエンコーダー
5cが設けられている。
The teaching device 5 is composed of a main body 5a and a dial 5b, and is internally provided with an encoder 5c for manual operation shown in FIG. 2 that outputs a pulse in proportion to the rotation amount of the dial 5b.

制御回路27は偏差値カウンタ29,D−Aコンバータ
30,アンプ31及びサーボユニット32からなる位置
制御回路28と、移動量カウンタ33,i/oポート3
4,CPU35及びメモリ36からなる主回路38と、
エンコーダ5c及び波形処理回路39からなるティーチ
ング用信号入力回路40と、エンコーダ9及び波形処理
回路41からなる同期信号入力回路42と、現在値カウ
ンタ37とを主体として構成されている。
The control circuit 27 includes a position control circuit 28 including a deviation value counter 29, a DA converter 30, an amplifier 31, and a servo unit 32, a movement amount counter 33, and an i / o port 3.
4, a main circuit 38 including a CPU 35 and a memory 36,
The main components are a teaching signal input circuit 40 including an encoder 5c and a waveform processing circuit 39, a synchronizing signal input circuit 42 including an encoder 9 and a waveform processing circuit 41, and a current value counter 37.

まず位置制御回路28について説明すると、これの偏差
値カウンタ29はこれに入力されるパルス(後述する波
形処理回路39若しくは移動量カウンタ33からのパル
ス)を加算すると同時にエンコーダー19から入力され
るパルスを減算し、この加算と減算の結果偏差が生じた
場合にその偏差分にあたるデジタル値をD−Aコンバー
タ30へ出力するようになっている。
First, the position control circuit 28 will be described. The deviation value counter 29 adds a pulse (pulse from a waveform processing circuit 39 or a movement amount counter 33 described later) input thereto and at the same time outputs a pulse input from the encoder 19. Subtraction is performed, and when a deviation occurs as a result of the addition and subtraction, a digital value corresponding to the deviation is output to the DA converter 30.

D−Aコンバーター30とアンプ31は前記偏差値カウ
ンタ29のデジタル量をアナログ量に変換するとともに
この変換したアナログ値を増幅してからサーボユニット
32へ出力するようになっている。
The DA converter 30 and the amplifier 31 are adapted to convert the digital amount of the deviation value counter 29 into an analog amount and amplify the converted analog value before outputting it to the servo unit 32.

サーボユニット32は前記アンプ31からの電圧とタコ
ジェネレーター18から入力される電圧値とを比較し、
その偏差を求めながらモーター16を制御するようにな
っている。
The servo unit 32 compares the voltage from the amplifier 31 with the voltage value input from the tacho generator 18,
The motor 16 is controlled while obtaining the deviation.

現在値カウンタ37はエンコーダ19からのパルスをカ
ウントするためのもので、モーター16がどれだけ回転
したかをパルス数によって保持しておくことができる。
この現在値カウンタ37はモーター16が例えば正回転
したときには加算をし、逆回転したときには減算するよ
うになっている。
The current value counter 37 is for counting the pulses from the encoder 19, and can hold how much the motor 16 has rotated by the number of pulses.
The present value counter 37 is configured to add when the motor 16 rotates forward, for example, and to subtract when the motor 16 rotates backward.

次に主回路38について説明すると、これのCPU35
は、後述するティーチングモードのときには同期信号入
力回路42からパルスが入力される毎に現在値カウンタ
37のカウント値をメモリ36内にこれの所定番地から
順次格納してゆく機能と、後述する再成モードのときに
は同期信号入力回路42からのパルスが入力される毎に
前記ティーチングモードの際に格納されているメモリ3
6内のデータをその所定番地(先頭アドレス)から順次
とり出して、そのデータ毎の差分を1/4倍したものを4
回に分けてi/oポート34を介して移動量カウンタ33
へ出力する機能とを有している。なお、再成モードの開
始時においてはメモリ36内の先頭アドレスのデータは
現在値との差が出力され、次からは、そのデータと前回
のデータとの差分が移動量カウンタ33へ出力されるよ
うになっている。
Next, the main circuit 38 will be described.
In the teaching mode described later, each time a pulse is input from the synchronization signal input circuit 42, the function of sequentially storing the count value of the present value counter 37 in the memory 36 from its predetermined address, and the reconfiguration described later. In the mode, every time a pulse is input from the synchronization signal input circuit 42, the memory 3 stored in the teaching mode is input.
The data in 6 is taken out sequentially from the predetermined address (start address), and the difference of each data is multiplied by 1/4 to obtain 4
The movement amount counter 33 is divided into two times via the i / o port 34.
It has a function of outputting to. At the start of the reconstruction mode, the difference between the current value and the data of the head address in the memory 36 is output, and from the next time, the difference between the data and the previous data is output to the movement amount counter 33. It is like this.

なお、メモリ36は当然のことながらRAMとROMか
ら構成され、ROMは所定の制御手順若しくはデータ等
(これらはROMからRAM上に転送される場合や、あ
るいは運転開始に先だちRAMに設定される場合もあ
る)がプログラムとして設定されているが、説明の簡単
化のためにCPU35はこのROMの機能を兼ね備えた
ものとして(即ち、CPU35に所定の制御手順やデー
タ等が設定されているものとする)以下の説明を行う。
The memory 36 is naturally composed of a RAM and a ROM, and the ROM has a predetermined control procedure or data (when these are transferred from the ROM to the RAM or when the ROM is set in the RAM before the start of operation). Is set as a program, but for simplification of description, the CPU 35 is assumed to have the function of this ROM (that is, the CPU 35 is set with a predetermined control procedure, data, etc.). ) The following description will be given.

i/oポート34はCPU35へのデータの入力と出力を
行うためのもので、このi/oポート34から移動量カウ
ンタ33へのデータの転送はパラレルで行なわれるよう
になっている。なお、このi/oポート34には近接スイ
ッチ21,22,23,26及び操作盤24に設けられ
たスイッチ等からの外部信号が入力されるようになって
いる。
The i / o port 34 is for inputting and outputting data to and from the CPU 35, and the data transfer from the i / o port 34 to the movement amount counter 33 is performed in parallel. External signals are input to the i / o port 34 from the proximity switches 21, 22, 23, 26 and switches provided on the operation panel 24.

次に、同期信号入力回路40はティーチング装置5内に
内蔵された手動操作用のエンコーダ5cと波形処理回路
39を主体としてなるもので、エンコーダ5cは1000p/
revの割合でパルスを出力できるようになっており、波
形処理回路39はエンコーダ5cからのパルスを4てい
倍するとともに波形整形して前記偏差値カウンタ29へ
パルス列として出力するようになっている。
Next, the synchronizing signal input circuit 40 is mainly composed of an encoder 5c for manual operation and a waveform processing circuit 39 built in the teaching device 5, and the encoder 5c is 1000p /
The pulse can be output at a rate of rev, and the waveform processing circuit 39 multiplies the pulse from the encoder 5c by 4 and shapes the waveform to output it to the deviation value counter 29 as a pulse train.

同期信号入力回路42は前記回転テーブル2に設けられ
たエンコーダ9と、これからのパルスの波形整形を行う
波形処理回路41とから構成されており、この波形処理
回路41からCPU35へ入力されるパルスは前記メモ
リ36へのデータの取り込みと出力の際の一種のタイミ
ングパルスとして作用するようになっている。
The synchronizing signal input circuit 42 is composed of an encoder 9 provided on the rotary table 2 and a waveform processing circuit 41 for shaping the waveform of the pulse from now on. The pulse input from the waveform processing circuit 41 to the CPU 35 is It acts as a kind of timing pulse at the time of fetching and outputting data to the memory 36.

次に作用及び効果について説明する。本例ではティーチ
ングモードと再生モードとを有しており、ティーチング
モードではティーチング装置5を操作して必要な作業線
に沿ってノズル20を移動することによって経路情報を
逐次入力できるようになっており、再生モードではティ
ーチングによってメモリ36内に記憶されている経路デ
ータに従ってノズル20を移動できるようになってい
る。そこでまず、ティーチングモードから説明を進め
る。
Next, the operation and effect will be described. This example has a teaching mode and a reproduction mode. In the teaching mode, the teaching device 5 is operated to move the nozzle 20 along a required work line so that route information can be sequentially input. In the reproduction mode, the nozzle 20 can be moved by teaching according to the route data stored in the memory 36. Therefore, the teaching mode will be described first.

最初にティーチング装置5について説明する。ティーチ
ングモードではティーチング装置5のダイヤル5bを操
作すると、これのエンコーダ5cからの回転量に応じて
パルスが出力される。これは波形処理回路39で4てい
倍された後、偏差値カウンタ29へパルス列として出力
される。一方、偏差値カウンタ29にパルスが積算され
ると、これによってモーター16が回転してテーブル1
7を移動させる。他方、このモーター16が回転すると
エンコーダ19より偏差値カウンタ29へパルスが出力
されるので、このパルス数だけ偏差値カウンタ29内の
パルスが減算される。そしてこの減算によって偏差値カ
ウンタ29のパルス数がゼロになるとモーター16は停
止する。即ち、ティーチング装置5によって偏差値カウ
ンタ29にパルスを加えることによって、このパルス数
と同じ数のパルスをエンコーダ19が発生するまでモー
ター16を駆動してテーブル17を移動させることがで
きるわけである。
First, the teaching device 5 will be described. When the dial 5b of the teaching device 5 is operated in the teaching mode, a pulse is output according to the rotation amount from the encoder 5c. This is multiplied by 4 in the waveform processing circuit 39 and then output to the deviation value counter 29 as a pulse train. On the other hand, when pulses are accumulated in the deviation value counter 29, the motor 16 is rotated by this and the table 1
Move 7. On the other hand, when the motor 16 rotates, a pulse is output from the encoder 19 to the deviation value counter 29, so that the pulses in the deviation value counter 29 are subtracted by this number of pulses. When the number of pulses of the deviation value counter 29 becomes zero by this subtraction, the motor 16 stops. That is, by applying a pulse to the deviation value counter 29 by the teaching device 5, it is possible to drive the motor 16 and move the table 17 until the encoder 19 generates the same number of pulses as the number of pulses.

引き続き、ティーチングモードについて説明する。ま
ず、操作盤24に設けられたティーチングモード用のプ
ッシュボタンを押すと、まず原点合わせが行なわれる。
これは具体的にはテーブル17を近接スイッチ22より
検知信号が入力される位置まで移動し、かつテーブル7
をエンコーダ9よりC相パルスが入力される位置まで回
転することにより行なう。この際、偏差値カウンタ2
9,移動量カウンタ33及び現在値カウンタ37はすべ
てリセットされる。なお、これらの制御は所定のプログ
ラムに基づいて自動的に行なわれる。
Next, the teaching mode will be described. First, when the push button for teaching mode provided on the operation panel 24 is pressed, the origin is first adjusted.
Specifically, the table 17 is moved to a position where the detection signal is input from the proximity switch 22, and the table 7 is moved.
Is performed by rotating to a position where the C-phase pulse is input from the encoder 9. At this time, the deviation value counter 2
9, the movement amount counter 33 and the current value counter 37 are all reset. Note that these controls are automatically performed based on a predetermined program.

次に、上記の原点合わせが終了したなら今度はモーター
8を低速で回転させるとともにティーチング装置5を使
ってノズル20をならい線に沿って移動させる。ここ
で、テーブル7の回転によって近接スイッチ26がオン
するとこれによってデータの格納開始が指示される。す
るとCPU35はエンコーダ9よりパルスが入力される
毎に現在値カウンタ37の値をメモリ36へ所定のアド
レスから順次格納してゆく。この取り込みはワークが一
周すると終了する。(これは再び近接スイッチ26によ
って指示される)従って、この間にティーチング装置5
を操作してノズル20をワーク12の必要な作業線に沿
って移動させることにより、この間のノズル20の軌跡
が数値としてメモリ36内へ順次格納されていくわけで
ある。なお、前記エンコーダ9からのパルスは通常10
0Hz程度であり、ワーク2の外周のほぼ0.5mm毎に1パ
ルス出力されるようになっている。ただしこれはモータ
ー8の回転速度を変えることによって所望に応じて変化
させることができる。
Next, when the above origin adjustment is completed, the motor 8 is rotated at a low speed and the nozzle 20 is moved along the tracing line by using the teaching device 5. Here, when the proximity switch 26 is turned on by the rotation of the table 7, the storage start of data is instructed. Then, the CPU 35 sequentially stores the value of the current value counter 37 in the memory 36 from a predetermined address each time a pulse is input from the encoder 9. This acquisition ends when the work makes one round. (This is again indicated by the proximity switch 26) Therefore, during this time the teaching device 5
Is operated to move the nozzle 20 along the required work line of the work 12, and the locus of the nozzle 20 during this time is sequentially stored in the memory 36 as a numerical value. The pulse from the encoder 9 is usually 10
The frequency is about 0 Hz, and one pulse is output every 0.5 mm of the outer circumference of the work 2. However, this can be changed as desired by changing the rotation speed of the motor 8.

次に再生モードについて説明する。この再生モードを実
施する場合、まず操作盤24の再生モード用のプッシュ
ボタンを押す。すると、前述のティーチングモードと同
様に所定のプログラムに基づいて原点合わせが行なわれ
る。これが終了すると、次にモーター8が起動されてテ
ーブル7が回転する。このテーブル7の回転によって近
接スイッチ26がオンすると、これがスタート信号とな
ってメモリ36より前記ティーチングの際に格納された
データが抽出される。
Next, the reproduction mode will be described. When carrying out this reproduction mode, first, the push button for the reproduction mode of the operation panel 24 is pressed. Then, similarly to the teaching mode described above, the origin adjustment is performed based on a predetermined program. When this is completed, the motor 8 is then activated and the table 7 rotates. When the proximity switch 26 is turned on by the rotation of the table 7, this becomes a start signal and the data stored during the teaching is extracted from the memory 36.

まず、先頭番地のデータが抽出されるとCPU35はこ
れと現在値カウンタ37の値を比較し、その差分パルス
をi/oポート34を介して移動量カウンタ33へロード
する。このデータの差分パルスはCPU35よりパラレ
ルで移動量カウンタ33へロードされる。
First, when the data of the head address is extracted, the CPU 35 compares this with the value of the current value counter 37, and loads the difference pulse to the movement amount counter 33 via the i / o port 34. The differential pulse of this data is loaded from the CPU 35 to the movement amount counter 33 in parallel.

一方、移動量カウンタ33では差分パルスがロードされ
ると、これをシリアルで偏差値カウンタ29へ転送す
る。(本例ではこの周波数は約25KHzに設定されてい
る)これは第3図のP1に相当し、この図では百数十パ
ルスが移動量カウンタ33より偏差値カウンタ29へ順
次転送されていることがわかる。なお、時間tP1はパ
ルスをすべて転送しおわり移動量カウンタ33のパルス
積算数がゼロ(従ってパルスは出力されない)になった
ことを示している。
On the other hand, when the movement amount counter 33 loads the differential pulse, the differential pulse is serially transferred to the deviation value counter 29. (In this example, this frequency is set to about 25 KHz.) This corresponds to P1 in FIG. 3, in which hundreds of ten pulses are sequentially transferred from the movement amount counter 33 to the deviation value counter 29. I understand. The time tP1 indicates that all the pulses have been transferred and the total number of pulses of the movement amount counter 33 has become zero (hence no pulses are output).

他方、前記転送によって偏差値カウンタ29にパルスが
積算されると、このパルスの積算数を減少するようにD
−Aコンバータ30,アンプ31及びサーボユニット3
2を介してモーター16が駆動される。これは第4図の
Q1に相当し、実際に移動量カウンタ33より転送され
たパルス数はM1となるが、エンコーダ19からは第5
図のR1に示すようなパルスが出力されるので、現実の
積算数はQ1のようになったことを示している。(第5
図ではエンコーダ19からのパルス数をグラフにしたの
を示しているが、このパルス数の積算値はモーター16
によって駆動されるテーブル17の移動量としてみるこ
ともできる。そして、この図においてOBはティーチン
グ時の移動量を示しており、ACは再生時の実際の移動
量を示している。) 次に、前述の先頭データの出力によってノズル20は所
定位置まで移動するわけであるが、前述の近接スイッチ
26によるスタート信号が出力された後、エンコーダ9
よりパルスが出力されると(この時点では前述の制御は
既に終了している)これは波形処理回路41を経てCP
U35へ同期パルスとして入力される。するとCPU3
5はこれをきっかけとして先頭アドレスの次のアドレス
のデータをメモリ36より抽出する。このデータが抽出
されるとCPU35はこのデータから前回(即ち先頭デ
ータ)のデータとを減算し、その差分を1/4して約2m
sevc毎に合計4回I/Oポート34を介して移動量カ
ウンタ33へ移送する。この差分を1/4するのはサーボ
モーター16がなめらかに動くようにするためであっ
て、例えば第3図のP2,P3間に示すように次のパル
スが出力されるまでの間のタイムラグが大きいとサーボ
モーター16の動きがぎくしゃくしてしまうので、本例
ではP2′で示すようにパルスを1/4してこれを2ms
毎に出力しているわけである。ただし、第3図に示すP
3,P4,P5…についても同様に1/4づつ出力される
わけであるが、説明簡単化のために以後の説明ではこの
プロセスについては省略して述べる。
On the other hand, when pulses are accumulated in the deviation value counter 29 by the transfer, the number of accumulated pulses is reduced by D.
-A converter 30, amplifier 31, and servo unit 3
The motor 16 is driven via 2. This corresponds to Q1 in FIG. 4, and the number of pulses actually transferred from the movement amount counter 33 is M1.
Since a pulse as shown by R1 in the figure is output, it indicates that the actual integrated number is Q1. (Fifth
In the figure, the number of pulses from the encoder 19 is shown as a graph, but the integrated value of this number of pulses is the motor 16
It can also be viewed as the amount of movement of the table 17 driven by. Further, in this figure, OB indicates the movement amount during teaching, and AC indicates the actual movement amount during reproduction. Next, although the nozzle 20 is moved to a predetermined position by the output of the above-mentioned head data, after the start signal is output by the proximity switch 26, the encoder 9
When more pulses are output (at this point, the above-mentioned control has already been completed), this is transmitted to the CP via the waveform processing circuit 41.
It is input to U35 as a synchronizing pulse. Then CPU3
5 is used as a trigger to extract the data at the address next to the start address from the memory 36. When this data is extracted, the CPU 35 subtracts the previous data (that is, the first data) from this data, and halves the difference to about 2 m.
Each sevc is transferred to the movement amount counter 33 through the I / O port 34 four times in total. This difference is made 1/4 in order to make the servomotor 16 move smoothly. For example, as shown between P2 and P3 in FIG. 3, there is a time lag until the next pulse is output. If it is large, the movement of the servo motor 16 will be jerky, so in this example, as shown by P2 ', the pulse is 1/4 and this is 2 ms.
It is output every time. However, P shown in FIG.
Similarly, 3/4, P4, P5 ... Are also output one by one, but for simplification of description, this process will be omitted in the following description.

一方、移動量カウンタ33はこれに転送された差分パル
スを偏差値カウンタ29へ約25kHzの周波数のパルス
列で転送しており、従って、偏差値カウンタ29にはパ
ルスが積算される。このため、前述と同様にサーボモー
ター16がこの積算されたパルス数がゼロになるまで回
転してノズル20を移動させる。
On the other hand, the movement amount counter 33 transfers the difference pulse transferred thereto to the deviation value counter 29 in the form of a pulse train having a frequency of about 25 kHz, so that the deviation value counter 29 accumulates the pulses. Therefore, similarly to the above, the servo motor 16 rotates until the accumulated number of pulses becomes zero to move the nozzle 20.

以後、同様にしてエンコーダ9よりパルスが出力される
毎に順次、次のアドレスよりデータを抽出し、この抽出
されたデータと前回のデータとの差を演算して第3図の
P3,P4,P5,P6に示すようにこの差分データを
移動量カウンタ33より偏差値カウンタ29へ転送す
る。そして、偏差値カウンタ29はこの転送によるパル
スの積算値をゼロにするようモーター16を駆動し、
(従って、偏差値カウンタ29のパルスの積算数は第4
図のように変化する)これによりノズル20は第5図の
ティーチングによる軌跡OBに対してACで示すような
軌跡で移動する。(第5図ではエンコーダ19からのパ
ルスの積算値を示したものであるが、これはノズル20
の軌跡として見ることができる) なお、上記のティーチングモードと再生モードでは前進
端検出用の近接スイッチ21若しくは後退検出用の近接
スイッチ23によってテーブル17が検知されると、テ
ーブル17はそれ以後の同じ方向への移動は制限される
ようになっている。
Thereafter, similarly, each time a pulse is output from the encoder 9, data is sequentially extracted from the next address, and the difference between the extracted data and the previous data is calculated to calculate P3, P4 in FIG. As indicated by P5 and P6, this difference data is transferred from the movement amount counter 33 to the deviation value counter 29. Then, the deviation value counter 29 drives the motor 16 so that the integrated value of the pulses due to this transfer becomes zero,
(Therefore, the cumulative number of pulses of the deviation counter 29 is the fourth
As a result, the nozzle 20 moves along a locus as indicated by AC with respect to the locus OB by teaching shown in FIG. (In FIG. 5, the integrated value of the pulses from the encoder 19 is shown.
In addition, in the teaching mode and the reproduction mode, when the table 17 is detected by the proximity switch 21 for detecting the forward end or the proximity switch 23 for detecting the backward movement, the table 17 is the same after that. Movement in the direction is restricted.

このように、本例ではティーチングの際にはワーク12
を低速で回転させながらティーチング装置5を操作して
ノズル20に必要な軌跡を描かせるとともに、この軌跡
をエンコーダ19でパルス数におき代えて、このパルス
数をエンコーダ9からパルスが出力される毎に順次メモ
リ36へ格納してゆくわけである。そして、再生の際に
はワーク2を回転させてエンコーダ9よりパルスが出力
される毎に今度はメモリ36よりティーチングの際格納
されたデータを順次抽出して、これによってサーボモー
ター16を駆動するわけである。こうすることによりテ
ィーチング時とほぼ等しく、テーブル7の回転位置に対
してノズル20を動かすことができるわけである。
As described above, in this example, the workpiece 12 is used during teaching.
While operating the teaching device 5 while rotating at a low speed, the nozzle 20 is caused to draw a required locus, and this locus is replaced with the pulse number by the encoder 19, and this pulse number is output from the encoder 9 every time a pulse is output. The data is sequentially stored in the memory 36. Then, at the time of reproduction, every time the work 2 is rotated and a pulse is output from the encoder 9, the data stored at the time of teaching is sequentially extracted from the memory 36, and the servo motor 16 is driven by this. Is. By doing so, the nozzle 20 can be moved with respect to the rotation position of the table 7 almost in the same manner as during teaching.

このため、エンコーダ9からのパルスが一種のクロック
パルスとして働き、このパルスに同期してサーボモータ
ー16が駆動される構成になるので、テーブル7の回転
量とテーブル17の移動量とを関連して制御できるにも
拘らず、実際に移動量のの制御を行なうのはテーブル1
7のみでよいことになる。このため、通常のCP制御の
ように複数の自由度を有する制御系を同時に作動させる
場合とは異なり、制御系の負担は通常の2軸制御の半分
でよいという好ましい特徴がある。
Therefore, the pulse from the encoder 9 acts as a kind of clock pulse, and the servo motor 16 is driven in synchronization with this pulse, so that the rotation amount of the table 7 and the movement amount of the table 17 are related to each other. Although it can be controlled, it is the table 1 that actually controls the movement amount.
Only 7 will suffice. Therefore, unlike the case of operating a control system having a plurality of degrees of freedom at the same time as in the normal CP control, the control system has a preferable feature that the load on the control system may be half that of the normal two-axis control.

また、このように同期型であることからテーブル7の回
転速度が変化しても従来のようにティーチングをやり直
す必要がないので、ラインスピードの変化(生産量の変
化)に対してもきわめて簡単に対応できるとともに、テ
ーブル7の回転速度は正確にコントロールしなくてもよ
いので通常の汎用モーターがそのまま使用できるという
特徴がある。
Further, since it is the synchronous type as described above, it is not necessary to redo the teaching as in the conventional case even if the rotation speed of the table 7 changes, so that it is extremely easy to change the line speed (change in the production amount). In addition to being able to cope with this, the rotation speed of the table 7 does not have to be controlled accurately, so that a normal general-purpose motor can be used as it is.

また、ティーチング時においてはティーチング装置5の
ダイヤル5bを操作してノズル20を動かすのみで自動
的にデータが取り込まれるので、(この際、テーブル7
の回転速度は所望に応じて自由に変えることができる)
従来のようなキーボード等にによるティーチングの煩雑
さがなく、ティーチングの簡単化とこれの時間の短縮が
図れるという特徴がある。(なお、ティーチング装置5
は単なるエンコーダのみでよいという特徴もある) また、従来の2軸制御装置のようにそれぞれ個別の制御
系により制御する場合とは異なり、回転テーブル2から
の同期信号(エンコーダ9からのパルス)に同期してテ
ーブル17が移動する構成であることから、回転テーブ
ル2が故障して停止してもノズル20はその場で停止す
るのでワーク12との干渉等や作業の安全性の面におい
てきわめて優れている。
Further, at the time of teaching, since the data is automatically fetched only by operating the dial 5b of the teaching device 5 to move the nozzle 20, (at this time, the table 7
The rotation speed of can be freely changed as desired)
There is a feature that teaching can be simplified and the time can be shortened without the complexity of teaching that is required with a conventional keyboard or the like. (Note that the teaching device 5
Has a characteristic that only an encoder is required.) Unlike the conventional two-axis control device in which each is controlled by an individual control system, a synchronization signal (pulse from the encoder 9) from the rotary table 2 is transmitted. Since the table 17 moves in synchronization, even if the rotary table 2 fails and stops, the nozzle 20 stops on the spot, which is extremely excellent in terms of interference with the work 12 and work safety. ing.

しかも、メモリ36にはノズル20の経路情報が一定時
間毎の離散量として格納される形式ではあるものの、本
例ではエンコーダ9からの同期用のパルスによってワー
ク12の外周の0.5mm毎に経路情報を取り込むとともに
再生の際には移動量カウンタ33へ2ms毎に連続して
データが転送される構成であるため、実質的にはエンコ
ーダ9からの同期用のパルスが入力される毎に経路情報
がティーチングされていることになるので、その分解能
はきわめて高く、きわめて追従性のよい連続動作を行う
ことができるという優れた特徴もある。
Moreover, although the path information of the nozzle 20 is stored in the memory 36 as a discrete amount for every fixed time, in the present example, the path information is acquired every 0.5 mm on the outer periphery of the work 12 by the synchronizing pulse from the encoder 9. Is taken in and the data is continuously transferred to the movement amount counter 33 every 2 ms at the time of reproduction. Therefore, the route information is substantially updated every time a synchronizing pulse is input from the encoder 9. Since the teaching is performed, the resolution is extremely high, and there is also an excellent feature that continuous operation with extremely good followability can be performed.

なお、本例はシーラ剤等の噴出用に限らず、溶接加工あ
るいは塗装等の他の作業にも適用できることはもちろん
である。又、ワーク2についても燃料タンクに限らず他
のものが適用できることはもちろんである。また、エン
コーダ9については他にポテンショメータ、リニアスケ
ール等を用いることができる。従って例えばリニアスケ
ールを用いればワーク2を回転する場合のみならず直線
的に移動する(往復動を含む)場合についても適用でき
る。さらに、ワーク2はモーターによる駆動のみならず
手動により動かすこともできる。
It is needless to say that this example can be applied not only to jetting a sealer agent or the like but also to other work such as welding or painting. Further, it is needless to say that the work 2 is not limited to the fuel tank and other types can be applied. In addition, as the encoder 9, a potentiometer, a linear scale, or the like can be used. Therefore, for example, if a linear scale is used, it can be applied not only when rotating the work 2, but also when moving linearly (including reciprocating motion). Further, the work 2 can be manually moved as well as driven by a motor.

即ち本発明は、偏差値カウンタとこの偏差値カウンタの
値をデジタルからアナログへ変換するD−Aコンバータ
とこのD−Aコンバータからのアナログ値によりモータ
を制御する、タコジェネレータによるサーボ系を有する
サーボユニットと前記モータの回転をパルスに変換して
前記偏差値カウンタへ還元するエンコーダとからなる位
置制御回路と、ワーク等の動きに比例して同期用のパル
スを発生する同期信号入力回路と、前記エンコーダから
のパルスをカウントする現在値カウンタと、ティーチン
グモードの際には前記現在値カウンタの値を前記同期用
パルスに同期して所定の番地より順次メモリ内へ格納
し、再生モードの際には前記メモリに格納された値を前
記同期用のパルスに同期して所定の番地より順次抽出
し、該各同期用パルス間における値の差分を前記偏差値
カウンタへ転送し、該差分がゼロになるまで前記モータ
ーを作動させる、CPU等からなる主回路とから一軸な
らい装置を構成したことによって、2つの制御対象を関
連的に制御するにも拘らず、一方の制御対象は単に同期
パルスを発生するのみの構成でよいので制御系を半減で
きるという優れた特徴がある。
That is, the present invention provides a servo having a deviation value counter, a D-A converter for converting the value of the deviation value counter from digital to analog, and a servo system by a tacho-generator for controlling a motor by an analog value from the D-A converter. A position control circuit that includes a unit and an encoder that converts the rotation of the motor into a pulse and returns the pulse to the deviation value counter; a synchronization signal input circuit that generates a pulse for synchronization in proportion to the movement of a work or the like; A current value counter that counts pulses from the encoder, and in the teaching mode, the value of the current value counter is sequentially stored in the memory from a predetermined address in synchronization with the synchronizing pulse, and in the playback mode. The values stored in the memory are sequentially extracted from a predetermined address in synchronization with the synchronization pulse, and each synchronization pulse is extracted. By transferring the difference in the values in the deviation value counter to the deviation value counter, and operating the motor until the difference becomes zero, by configuring a uniaxial tracing device with a main circuit such as a CPU, Despite the above control, one of the control targets may have a configuration in which only the synchronization pulse is simply generated, so that there is an excellent feature that the control system can be halved.

さらに、同期用のパルスが入力される毎に移動量カウン
タ内の経路データがメモリ内へ格納されてゆく構成であ
るので、実質的には同期用のパルスが入力される毎にテ
ィーチングがなされることになり、ティーチングポイン
トはきわめて細分化されるので、再現性に優れた連続動
作が行なえるというきわめて好ましい特徴も有する。
Further, since the route data in the movement amount counter is stored in the memory every time the synchronizing pulse is input, the teaching is substantially performed every time the synchronizing pulse is input. In addition, since the teaching points are extremely subdivided, there is also a very preferable feature that continuous operation with excellent reproducibility can be performed.

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

図面は本発明の一実施例を示すもので、第1図は一軸な
らい装置の全体の構成を示す説明図、第2図は制御回路
を示すブロック図、第3図は移動量カウンタからの出力
パルスの様子を示す線図、第4図は偏差値カウンタのカ
ウント数を示す線図、第5図はティーチングの際の移動
量と実際の移動量とを示す線図である。 19…エンコーダ、28…位置制御回路 29…偏差値カウンタ、30…D−Aコンバータ 32…サーボユニット、37…現在地カウンタ 38…主回路、42…同期信号入力回路
The drawings show one embodiment of the present invention. FIG. 1 is an explanatory view showing the overall structure of a uniaxial tracing device, FIG. 2 is a block diagram showing a control circuit, and FIG. 3 is an output from a movement amount counter. A pulse diagram, FIG. 4 is a diagram showing the count number of the deviation counter, and FIG. 5 is a diagram showing the movement amount during teaching and the actual movement amount. Reference numeral 19 ... Encoder, 28 ... Position control circuit 29 ... Deviation value counter, 30 ... DA converter 32 ... Servo unit, 37 ... Current position counter 38 ... Main circuit, 42 ... Sync signal input circuit

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】偏差値カウンタとこの偏差値カウンタの値
をデジタルからアナログへ変換するD−Aコンバータと
このD−Aコンバータからのアナログ値によりモータを
制御する、タコジェネレータによるサーボ系を有するサ
ーボユニットと前記モータの回転をパルスに変換して前
記偏差値カウンタへ還元するエンコーダとからなる位置
制御回路と、ワーク等の動きに比例して同期用のパルス
を発生する同期信号入力回路と、前記エンコーダからの
パルスをカウントする現在値カウンタと、ティーチング
モードの際には前記現在値カウンタの値を前記同期用パ
ルスに同期して所定の番地より順次メモリ内へ格納し、
再生モードの際には前記メモリに格納された値を前記同
期用のパルスに同期して所定の番地より順次抽出し、該
各同期用のパルス間における値の差分を前記偏差値カウ
ンタへ転送し、該差分がゼロになるまで前記モーターを
作動させる、CPU等からなる主回路とを備え、前記同
期用のパルスの発生はワークの回転に応じてなされ、再
生時には該同期用のパルスがティーチング時の値が等し
くなった時メモリ内の値を前記偏差値カウンタに送り、
現在値の偏差に基づいて位置制御することを特徴とする
一軸ならい装置。
1. A servo having a deviation value counter, a DA converter for converting the value of the deviation value counter from digital to analog, and a servo system by a tachogenerator for controlling a motor by an analog value from the DA converter. A position control circuit that includes a unit and an encoder that converts the rotation of the motor into a pulse and returns the pulse to the deviation value counter; a synchronization signal input circuit that generates a pulse for synchronization in proportion to the movement of a work or the like; A current value counter for counting the pulses from the encoder, and in the teaching mode, the value of the current value counter is sequentially stored in the memory from a predetermined address in synchronization with the synchronization pulse,
In the reproduction mode, the value stored in the memory is sequentially extracted from a predetermined address in synchronization with the synchronizing pulse, and the difference in value between the synchronizing pulses is transferred to the deviation value counter. And a main circuit including a CPU that operates the motor until the difference becomes zero. The pulse for synchronization is generated according to the rotation of the work, and the pulse for synchronization is provided at the time of teaching during reproduction. When the values of are equal, the value in memory is sent to the deviation value counter,
A uniaxial tracing device characterized by position control based on the deviation of the current value.
JP58033517A 1983-02-28 1983-02-28 Uniaxial tracing device Expired - Lifetime JPH0650444B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58033517A JPH0650444B2 (en) 1983-02-28 1983-02-28 Uniaxial tracing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58033517A JPH0650444B2 (en) 1983-02-28 1983-02-28 Uniaxial tracing device

Publications (2)

Publication Number Publication Date
JPS59161251A JPS59161251A (en) 1984-09-12
JPH0650444B2 true JPH0650444B2 (en) 1994-06-29

Family

ID=12388733

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58033517A Expired - Lifetime JPH0650444B2 (en) 1983-02-28 1983-02-28 Uniaxial tracing device

Country Status (1)

Country Link
JP (1) JPH0650444B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10731770B2 (en) * 2015-08-27 2020-08-04 Denso Corporation Electric flow control valve and actuator

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6228195A (en) * 1985-07-29 1987-02-06 トヨタ自動車株式会社 Device for confirming attitude of robot
CN107953332A (en) * 2017-12-12 2018-04-24 石化盈科信息技术有限责任公司 A kind of drive control panel of anti-riot robot

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5267885A (en) * 1975-12-04 1977-06-04 Komatsu Ltd Control unit for crank shaft mirror

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10731770B2 (en) * 2015-08-27 2020-08-04 Denso Corporation Electric flow control valve and actuator

Also Published As

Publication number Publication date
JPS59161251A (en) 1984-09-12

Similar Documents

Publication Publication Date Title
US4086522A (en) Computer assisted teaching arrangement for conveyor line operation
US4260940A (en) Programmable automatic assembly system
US4260941A (en) Programmable automatic assembly system
JP2000271888A (en) Robot controller
KR0139526B1 (en) Numerical Control Unit for Grinding Machine
KR940704021A (en) Apparatus and Method For Numerical Control
JPH02198783A (en) Correction method for positioning industrial robot
JPH0650444B2 (en) Uniaxial tracing device
JPH03217907A (en) Numerical control method having circular arc interpolation locus display function and its device
JPH0433013A (en) Cylinder interpolating system
JPH03204009A (en) 2-axis synchronous drive device
JPS5856125B2 (en) Manipulator synchronous control method for conveyor
JP3089027B2 (en) Robot profiling control device
JPS5857762B2 (en) Method and device for correcting movement speed in robots
JPS56159709A (en) Controller of industrial robot
JPH05100723A (en) Tool length correcting system for machine tool
JPH048485A (en) Teaching method of robot system with conveyor
JPS649115B2 (en)
JPS6036603B2 (en) numerical control device
JPS5821663Y2 (en) Master/slave type robot
JPS6351282B2 (en)
JPS63113605A (en) Operation control method for synchronous robot device
JPH02212905A (en) Nc program route profiling device and semi-automatic manipulator
JPH0866881A (en) Robot control device
JPH0735033B2 (en) Industrial robot and data conversion method for industrial robot