JPH06149332A - Interlock control system - Google Patents

Interlock control system

Info

Publication number
JPH06149332A
JPH06149332A JP32138792A JP32138792A JPH06149332A JP H06149332 A JPH06149332 A JP H06149332A JP 32138792 A JP32138792 A JP 32138792A JP 32138792 A JP32138792 A JP 32138792A JP H06149332 A JPH06149332 A JP H06149332A
Authority
JP
Japan
Prior art keywords
area
machine
data
positioning
machines
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.)
Pending
Application number
JP32138792A
Other languages
Japanese (ja)
Inventor
Hikari Yamashita
光 山下
Yoichi Funabiki
洋一 船引
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.)
SG KK
Original Assignee
SG 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 SG KK filed Critical SG KK
Priority to JP32138792A priority Critical patent/JPH06149332A/en
Publication of JPH06149332A publication Critical patent/JPH06149332A/en
Pending legal-status Critical Current

Links

Landscapes

  • Numerical Control (AREA)
  • Safety Devices In Control Systems (AREA)
  • Control Of Position Or Direction (AREA)

Abstract

PURPOSE:To prevent the interference caused between the machines without using an interference preventing program by carrying out the interlock control after deciding the interference state between an action unable area and a mobile area based on the present position and an estimated position. CONSTITUTION:The position sensors 9 are connected to the rotary shafts of the servo motors 8 and detect the present positions respectively. The controllers 1 read the control programs of machines A and B out of each built-in memory and output the target position data PP on the motors 8 to the position command parts 2 to perform the positioning control. The position computing parts 6 convert the output of the sensors 9 into the present position data P1. The position estimating parts 11 estimate the machine positions to be set after a prescribed time based on the data P1. Then the area production parts 12 produce the area data AA and AB for the movements of both machines A and B between the present and estimated positions and output these data to an interlock control part 20. The part 20 supplies the area data AD through an area designating part 10 to decide the interference state among those areas AA, AB and AD and then carries out the avoidance processing against the interference if caused among these areas.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、位置決め装置によって
位置決めされる機械、工具、ワーク及びロボットアーム
等の相互干渉を防止するインターロック制御システムに
関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an interlock control system for preventing mutual interference of a machine, a tool, a work, a robot arm, etc. positioned by a positioning device.

【0002】[0002]

【従来の技術】ファクトリーオートメーション(FA)
の代表的なものとして自動車生産ライン等のようなトラ
ンスファーラインシステムがある。このトランスファー
ラインシステムは、移動するライン(トランスファーラ
イン)に沿って複数種類の加工機械(例えば溶接機械)
を配置し、こられ複数の加工機械を位置決め装置で位置
決めし、トランスファーライン上を移動するワークに対
して所望の加工を施している。
2. Description of the Related Art Factory automation (FA)
A typical example is a transfer line system such as an automobile production line. This transfer line system uses multiple types of processing machines (such as welding machines) along a moving line (transfer line).
And a plurality of processing machines are positioned by a positioning device, and desired processing is performed on the work moving on the transfer line.

【0003】加工機械は移動するワークに対して加工ヘ
ッド等を所定の位置に位置決めするための位置決め装置
を具備している。位置決め装置の代表的なものとして、
サーボ制御システムやこれを応用した数値制御装置があ
る。サーボ制御システムは、サーボモータ等のアクチュ
エータの移動量、すなわち位置を検出し、その検出位置
と指令位置との間の偏差に応じてサーボモータの駆動電
流を制御し、その回転速度及び位置をPTP(Poin
t to Point)制御するものである。また、数
値制御装置は上記サーボ制御システムを応用してCP
(Continuos Path)制御(輪郭制御や同
期運転制御等)を行えるようにしたものである。従っ
て、数値制御装置は多数の軸を制御できる位置決め制御
システムであり、主に高精度、高速性を要求される工作
機械等に使用されている。
The processing machine is equipped with a positioning device for positioning the processing head or the like at a predetermined position with respect to the moving work. As a typical positioning device,
There are servo control systems and numerical control devices that apply them. The servo control system detects a movement amount of an actuator such as a servo motor, that is, a position, controls a drive current of the servo motor according to a deviation between the detected position and a command position, and determines its rotation speed and position by PTP. (Point
t to Point) control. In addition, the numerical controller applies the above servo control system to the CP
(Continuous Path) control (contour control, synchronous operation control, etc.) can be performed. Therefore, the numerical control device is a positioning control system capable of controlling a large number of axes, and is mainly used in machine tools and the like that require high precision and high speed.

【0004】トランスファーライン上にはこのような位
置決め装置によって位置決め制御される加工機械が多数
配置されている。トランスファーラインに沿って多数配
置された加工機械の位置決め動作のシーケンス制御を行
うために、各位置決め装置にはプログラマブルコントロ
ーラが接続されている。プログラマブルコントローラは
位置決めすべき位置指令信号を各位置決め装置に供給
し、その位置決め制御のオン、オフ指令を出力する。す
なわち、位置決め装置はプログラマブルコントローラか
らのオン、オフ指令及び位置指令によって動作し、加工
機械の加工ヘッド等を所定位置に位置決めしている。
A large number of processing machines, the positioning of which is controlled by such a positioning device, are arranged on the transfer line. A programmable controller is connected to each positioning device in order to perform sequence control of the positioning operation of the processing machines arranged in large numbers along the transfer line. The programmable controller supplies a position command signal for positioning to each positioning device, and outputs an ON / OFF command for the positioning control. That is, the positioning device operates according to an on / off command and a position command from the programmable controller to position the machining head of the machining machine at a predetermined position.

【0005】さらに、トランスファーラインの周辺に
は、加工機械の他にもプログラマブルコントローラによ
ってオン、オフ制御される多数の周辺機器が分散配置さ
れている。従来、このようなシステムにおいては、加工
機械同士の干渉、加工機械とワークとの干渉、加工機械
又はワークとトランスファーライン上の周辺機器等との
間の機械的干渉を防止するために、各位置決め装置の動
作プログラムの中に直接干渉防止用のプログラムを内蔵
し、加工機械間で相互にインターロックを取っていた。
Further, in addition to the processing machine, a large number of peripheral devices which are on / off controlled by a programmable controller are distributed around the transfer line. Conventionally, in such a system, in order to prevent interference between processing machines, interference between processing machines and workpieces, and mechanical interference between processing machines or peripheral equipment on the transfer line, each positioning is performed. A program for directly preventing interference was built into the operation program of the equipment, and interlocking was performed between the processing machines.

【0006】[0006]

【発明が解決しようとする課題】ところが、加工機械の
動作シーケンス、ワーク形状、加工機械の設置状態、ト
ランスファー設備機械等の配置等が頻繁に変更するよう
なシステムにおいては、その都度動作プログラムを変更
すると同時に干渉防止用プログラムも変更しなければな
らず、その変更作業に多大の時間を費やしてしまうとい
う問題があった。特に、ロボットのアームのように3次
元空間を自由に移動するものにおいては、深刻な問題で
あった。った。本発明は上述の点に鑑みてなされたもの
であり、動作プログラムの中に干渉防止用プログラムを
設けなくても、機械同士の干渉を防止することのできる
インターロック制御システムを提供することを目的とす
る。
However, in a system in which the operation sequence of the processing machine, the work shape, the installation state of the processing machine, the layout of the transfer equipment, etc. are frequently changed, the operation program is changed each time. At the same time, the interference prevention program has to be changed, and there is a problem that a great deal of time is spent on the changing work. In particular, it is a serious problem in a robot arm that freely moves in a three-dimensional space. It was. The present invention has been made in view of the above points, and an object of the present invention is to provide an interlock control system capable of preventing interference between machines without providing an interference prevention program in an operation program. And

【0007】[0007]

【課題を解決するための手段】第1の発明に係るインタ
ーロック制御システムは、位置決めされる機械と、この
機械の現在位置を検出する位置検出手段と、この位置検
出手段からの現在位置に基づいて前記機械を所定の位置
に位置決めする位置決め手段と、前記機械の動作不可能
領域又は動作可能領域を指定する領域指定手段と、前記
現在位置を入力し、所定時間経過後に位置するであろう
前記機械の予測位置を出力する位置予測手段と、前記現
在位置と前記予測位置とに基づいて前記機械の形状に応
じた移動領域を作成する領域作成手段と、前記領域指定
手段からの動作不可能領域と前記領域作成手段からの移
動領域との干渉状態を判定し、両領域が干渉する場合に
は前記位置決め手段による前記機械の位置決め動作を停
止させるインターロック制御手段とから構成されるもの
である。
An interlock control system according to a first aspect of the present invention is based on a machine to be positioned, a position detecting means for detecting a current position of the machine, and a current position from the position detecting means. Positioning means for positioning the machine at a predetermined position, area specifying means for specifying an inoperable area or an operable area of the machine, the current position is input, and the machine will be positioned after a predetermined time elapses. Position predicting means for outputting a predicted position of a machine, area creating means for creating a moving area according to the shape of the machine based on the current position and the predicted position, and an inoperable area from the area designating means And the moving area from the area creating means are judged to interfere with each other, and when both areas interfere with each other, the interposition for stopping the positioning operation of the machine by the positioning means is stopped. Tsu are those composed of a click control means.

【0008】第2の発明に係るインターロック制御シス
テムは、それぞれ独立に位置決めされる複数の機械と、
これらの機械の現在位置をそれぞれ検出する位置検出手
段と、この位置検出手段からの現在位置に基づいて前記
各機械を所定の位置にそれぞれ位置決めする位置決め手
段と、前記各機械の現在位置を入力し、所定時間経過後
に位置するであろう前記機械の予測位置を出力する位置
予測手段と、前記予測位置に基づいて前記各機械の形状
に応じた移動領域を作成する領域作成手段と、前記領域
作成手段からの各機械の移動領域に基づいて前記各機械
の移動領域同士の干渉状態を判定し、干渉すると判定さ
れた機械の少なくとも一方の前記位置決め手段による位
置決め動作を停止させるインターロック制御手段とから
構成されるものである。
An interlock control system according to a second aspect of the present invention includes a plurality of machines that are independently positioned,
Position detecting means for respectively detecting the current positions of these machines, positioning means for respectively positioning the respective machines at predetermined positions based on the current positions from the position detecting means, and the current positions of the respective machines are inputted. Position predicting means for outputting a predicted position of the machine that will be positioned after a predetermined time has passed, area creating means for creating a moving area according to the shape of each machine based on the predicted position, and area creating From the interlock control means for determining the interference state between the movement areas of the respective machines based on the movement area of each machine from the means, and stopping the positioning operation by the positioning means of at least one of the machines determined to interfere. It is composed.

【0009】第3の発明に係るインターロック制御シス
テムは、それぞれ独立に位置決めされる複数の機械と、
これらの機械の現在位置をそれぞれ検出する位置検出手
段と、これらの位置検出手段からの現在位置に基づいて
前記各機械を所定の位置にそれぞれ位置決めする位置決
め手段と、前記各機械の動作不可能領域又は動作可能領
域を指定する領域指定手段と、前記各機械の現在位置を
入力し、所定時間経過後に位置するであろう前記機械の
予測位置を出力する位置予測手段と、前記現在位置と前
記予測位置とに基づいて前記各機械の形状に応じた移動
領域を作成する領域作成手段と、前記領域指定手段から
の動作不可能領域又は動作可能領域と前記領域作成手段
からの各機械の移動領域とに基づいて前記各機械の移動
領域同士の干渉状態及び前記各機械の移動領域と前記動
作不可能領域との間の干渉状態を判定し、干渉すると判
定された機械の前記位置決め手段による位置決め動作を
停止させるインターロック制御手段とから構成されるも
のである。
An interlock control system according to a third aspect of the present invention includes a plurality of machines that are independently positioned,
Position detecting means for detecting the current positions of these machines, positioning means for positioning the respective machines at predetermined positions based on the current positions from these position detecting means, and inoperable areas of the respective machines Alternatively, area specifying means for specifying an operable area, position predicting means for inputting the current position of each machine and outputting a predicted position of the machine that will be positioned after a predetermined time has passed, the current position and the prediction Area creating means for creating a moving area corresponding to the shape of each machine based on the position, an inoperable area or operable area from the area designating means, and a moving area of each machine from the area creating means The interference state between the moving areas of the respective machines and the interference state between the moving areas of the respective machines and the inoperable area based on It is those composed of the interlock control means for stopping the positioning operation by the positioning means.

【0010】[0010]

【作用】位置決めされる機械は、各種工作機械等の加工
機械やロボットのアーム等である。位置検出手段はこの
ような機械の現在位置を時々刻々と検出する。位置決め
手段は、この位置検出手段からの現在位置に基づいて機
械を所定の位置に位置決めする。従来はこのような位置
決め手段内に機械の干渉防止を考慮した動作プログラム
を内蔵させて機械の位置決め動作を行っていた。
The machine to be positioned is a processing machine such as various machine tools or an arm of a robot. The position detecting means detects such a current position of the machine moment by moment. The positioning means positions the machine at a predetermined position based on the current position from the position detecting means. Conventionally, the positioning operation of the machine has been performed by incorporating an operation program in consideration of prevention of machine interference in such positioning means.

【0011】第1の発明に係るインターロック制御シス
テムでは、領域指定手段、位置予測手段、領域作成手段
及びインターロック制御手段を新たに設け、位置決めさ
れる機械がワークや他の周辺機器等と干渉するのを事前
に防止している。領域指定手段は、位置決めされる機械
がワークや他の周辺機器等との間で機械的に干渉するお
それのある領域を動作不可能領域として記憶しており、
それを直接動作不可能領域として指定する。また、領域
指定手段は、機械的に干渉するおそれのない領域を動作
可能領域として記憶しておき、これ以外の領域を動作不
可能領域として指定してもよい。位置予測手段は、位置
検出手段から機械の現在位置を入力し、所定時間経過後
に位置するであろう機械の予測位置を出力する。領域作
成手段は、機械の現在位置と予測位置とに基づいて機械
の形状に応じた移動領域を作成する。従って、この移動
領域と領域指定手段からの動作不可能領域とが一致した
場合には、両領域は所定時間経過後に干渉することを意
味する。そこで、インターロック制御手段は、領域指定
手段からの動作不可能領域と領域作成手段からの移動領
域とに基づいて機械の干渉状態を判定し、両領域が干渉
する場合には位置決め手段による機械の位置決め動作を
停止させる。これによって、機械がワークや他の周辺機
器等と干渉することはなくなる。また、機械の動作シー
ケンス、ワーク形状、機械の設置状態、他の周辺機器の
配置等が変更した場合には、それに合わせてこの領域指
定手段内の動作不可能領域又は動作可能領域を書き換え
てやるだけでよくなり、プログラムの書き換え作業が非
常に簡単になる。また、第1の発明の推奨される一実施
例においては、インターロック制御手段が、機械の位置
決め動作を停止させた後に、動作不可能領域と移動領域
とが互いに干渉しないように機械の位置決め手段による
位置決め制御を行う。これによって、機械の位置決め動
作が停止した場合でも、機械の退避動作を一々手動で行
わなくてもよくなり、また、動作プログラムを書き換え
なくてもよくなる。
In the interlock control system according to the first aspect of the present invention, an area designating means, a position predicting means, an area creating means and an interlock control means are newly provided so that a machine to be positioned interferes with a work or other peripheral equipment. It is prevented in advance. The area designating means stores an area in which the machine to be positioned may mechanically interfere with the work or other peripheral equipment as an inoperable area,
Designate it as a direct inoperable area. Further, the area designating unit may store an area in which there is no possibility of mechanical interference as an operable area, and may designate the other area as an inoperable area. The position predicting means inputs the current position of the machine from the position detecting means and outputs the predicted position of the machine which will be positioned after a predetermined time has elapsed. The area creating means creates a moving area according to the shape of the machine based on the current position and predicted position of the machine. Therefore, when this moving area matches the inoperable area from the area designating means, both areas interfere with each other after a lapse of a predetermined time. Therefore, the interlock control means determines the interference state of the machine based on the inoperable area from the area designating means and the moving area from the area creating means. Stop the positioning operation. This prevents the machine from interfering with the work piece or other peripheral equipment. Further, when the operation sequence of the machine, the shape of the work, the installation state of the machine, the arrangement of other peripheral devices, etc. are changed, the inoperable area or operable area in this area designating means is rewritten accordingly. It's good enough, and rewriting the program is very easy. Also, in a preferred embodiment of the first invention, the interlock control means prevents the inoperable area and the moving area from interfering with each other after stopping the positioning operation of the machine. Positioning control by. As a result, even when the positioning operation of the machine is stopped, it is not necessary to manually perform the retracting operation of the machine, and it is not necessary to rewrite the operation program.

【0012】第2の発明に係るインターロック制御シス
テムでは、位置予測手段、領域作成手段及びインターロ
ック制御手段を新たに設け、位置決めされる複数の機械
同士が相互に干渉するのを事前に防止している。位置予
測手段は、位置検出手段から出力されるそれぞれの機械
の現在位置を入力し、所定時間経過後に位置するであろ
う機械の予測位置をそれぞれ出力する。領域作成手段
は、機械の現在位置と予測位置とに基づいてそれぞれの
機械形状に応じた移動領域を作成する。従って、これら
各機械の移動領域の中で一致するものが存在する場合に
は、その一致した機械同士が所定時間経過後に干渉する
ことを意味する。そこで、インターロック制御手段は、
領域作成手段からの各機械の移動領域に基づいて各機械
の移動領域同士の干渉状態を判定し、干渉すると判定さ
れた機械の少なくとも一方の位置決め手段による機械の
位置決め動作を停止させる。これによって、それぞれ独
立に位置決めされる複数の機械同士が干渉することはな
くなる。また、それぞれの位置決め手段の動作プログラ
ム内に干渉防止用プログラムを内蔵する必要もなくな
り、機械の動作シーケンスや位置決め動作等を変更する
場合でも他の機械との関係を考慮しなくてもよくなり、
動作プログラムの書き換え作業が非常に簡単になる。ま
た、第2の発明の推奨される一実施例においては、イン
ターロック制御手段が、干渉すると判定された機械の一
方を停止させた後に、干渉すると判定された機械の移動
領域同士が互いに干渉しなくなった時点で、停止中の機
械の位置決め手段による位置決め動作を再び開始させ
る。これによって、機械の位置決め動作が停止した場合
でも、機械の退避動作を一々手動で行わなくてもよくな
り、また、動作プログラムを書き換えなくてもよくな
る。
In the interlock control system according to the second aspect of the present invention, a position predicting means, a region creating means and an interlock control means are newly provided to prevent a plurality of positioned machines from interfering with each other in advance. ing. The position predicting means inputs the current position of each machine output from the position detecting means, and outputs the predicted position of the machine that will be positioned after a predetermined time has elapsed. The area creating means creates a moving area corresponding to each machine shape based on the current position and predicted position of the machine. Therefore, if there is a match in the moving regions of these machines, it means that the matched machines interfere with each other after a predetermined time has elapsed. Therefore, the interlock control means
The interference state between the moving areas of the respective machines is determined based on the moving area of each machine from the area creating means, and the positioning operation of the machine by at least one positioning means of the machines determined to interfere is stopped. As a result, the plurality of independently positioned machines do not interfere with each other. Further, it is not necessary to incorporate an interference prevention program in the operation program of each positioning means, and even when changing the operation sequence or positioning operation of the machine, it is not necessary to consider the relationship with other machines.
The rewriting work of the operating program becomes very easy. In a preferred embodiment of the second invention, the interlock control means stops one of the machines determined to interfere with each other, and then the moving areas of the machines determined to interfere with each other interfere with each other. When it disappears, the positioning operation by the positioning means of the stopped machine is restarted. As a result, even when the positioning operation of the machine is stopped, it is not necessary to manually perform the retracting operation of the machine, and it is not necessary to rewrite the operation program.

【0013】第3の発明に係るインターロック制御シス
テムでは、前記第1の発明と同様に領域指定手段、位置
予測手段、領域作成手段及びインターロック制御手段を
新たに設け、第1の発明と同様に位置決めされる複数の
機械がワークや他の周辺機器等とそれぞれ干渉するのを
事前に防止すると共に、第2の発明と同様に位置決めさ
れる複数の機械同士が相互に干渉するのを事前に防止し
ている。すなわち、第3の発明は、前記第1の発明と第
2の発明とを組み合わせたものである。これによって、
機械がワークや他の周辺機器等と干渉することはなくな
ると共に、それぞれ独立に位置決めされる複数の機械同
士が干渉することもなくなる。また、機械の動作シーケ
ンス、ワーク形状、機械の設置状態、他の周辺機器の配
置等が変更した場合には、それに合わせてこの領域指定
手段内の動作不可能領域又は動作可能領域を書き換えて
やるだけでよく、また、それぞれの位置決め手段の動作
プログラム内に他の機械に対する干渉防止用プログラム
を内蔵する必要もなくなり、機械の動作シーケンスや位
置決め動作等を変更する場合でも他の機械やワークや他
の周辺機器等との関係を考慮しなくてもよくなり、プロ
グラムの書き換え作業が非常に簡単になる。
In the interlock control system according to the third invention, as in the first invention, the area designating means, the position predicting means, the area creating means, and the interlock controlling means are newly provided, and the same as the first invention. It is possible to prevent the plurality of machines positioned in the above from interfering with the work and other peripheral devices in advance, and to prevent the plurality of machines positioned in the same manner as the second invention from interfering with each other in advance. To prevent. That is, the third invention is a combination of the first invention and the second invention. by this,
The machine does not interfere with the work or other peripheral devices, and the plurality of machines positioned independently of each other do not interfere with each other. Further, when the operation sequence of the machine, the shape of the work, the installation state of the machine, the arrangement of other peripheral devices, etc. are changed, the inoperable area or operable area in this area designating means is rewritten accordingly. Moreover, it is not necessary to include a program for preventing interference with other machines in the operation program of each positioning means, and even when changing the operation sequence or positioning operation of the machine, other machines or workpieces Since it is not necessary to consider the relationship with the peripheral device etc., the rewriting work of the program becomes very easy.

【0014】[0014]

【実施例】以下、本発明の実施例を添付図面に従って詳
細に説明する。図1は本発明の一実施例であるインター
ロック制御システムを内蔵した位置決め制御システムの
概略構成を示すブロック図である。本実施例では、2軸
(X,Y)の位置決め制御システムがそれぞれ別々の機
械A及び機械Bを位置決め制御する場合におけるインタ
ーロック制御システムについて説明する。本図では説明
の便宜上X軸分の位置決め制御システムのみ示し、Y軸
分については省略してある。従って、X軸及びY軸の2
軸分存在する位置制御部3A,3B、速度制御部4A,
4B、電流制御部5A,5B、位置演算部6A,6B、
速度演算部7A,7B、サーボモータ8A,8B及び位
置センサ9A,9Bに関しては、その符号の後にX,Y
を付加して示すこととする。
Embodiments of the present invention will now be described in detail with reference to the accompanying drawings. FIG. 1 is a block diagram showing a schematic configuration of a positioning control system incorporating an interlock control system which is an embodiment of the present invention. In the present embodiment, an interlock control system will be described in the case where a two-axis (X, Y) positioning control system performs positioning control of different machines A and B, respectively. In this figure, for convenience of description, only the X-axis positioning control system is shown, and the Y-axis part is omitted. Therefore, 2 for the X-axis and Y-axis
Position control units 3A and 3B, speed control units 4A,
4B, current control units 5A and 5B, position calculation units 6A and 6B,
Regarding the speed calculation units 7A and 7B, the servo motors 8A and 8B, and the position sensors 9A and 9B, X and Y are added after the reference numerals.
Will be added.

【0015】サーボモータ8AX,8AYは機械AをX
−Y平面上で移動させるための駆動装置であり、サーボ
モータ8BX,8BYは機械BをX−Y平面上で移動さ
せるための駆動装置である。サーボモータ8AX,8A
Y,8BX,8BYは例えば同期型のACサーボモータ
で構成される。
Servomotors 8AX and 8AY are used to drive machine A
The servo motors 8BX and 8BY are drive devices for moving the machine B on the XY plane. Servo motors 8AX, 8A
Y, 8BX, and 8BY are composed of, for example, synchronous AC servo motors.

【0016】位置センサ9AX,9AY,9BX,9B
Yは、サーボモータ8AX,8AY,8BX,8BYの
回転軸にそれぞれ結合されており、サーボモータ8A
X,8AY,8BX,8BYの現在位置をアブソリュー
トに検出する。この位置センサ9AX,9AY,9B
X,9BYとしては、例えば特開昭57−70406号
公報又は特開昭58−106691号公報に示されたよ
うな誘導型の位相シフト型位置センサを使用する。位置
センサ9AX,9AY,9BX,9BYの出力PAX,
PAY,PBX,PBYは位置演算部6AX,6AY,
6BX,6BYに入力され、そこでデジタルの現在位置
データP1AX,P1AY,P1BX,P1BYに変換
される。
Position sensors 9AX, 9AY, 9BX, 9B
Y is coupled to the rotary shafts of the servo motors 8AX, 8AY, 8BX, 8BY, respectively.
The current position of X, 8AY, 8BX, 8BY is detected absolutely. This position sensor 9AX, 9AY, 9B
As X and 9BY, for example, an inductive type phase shift type position sensor as disclosed in JP-A-57-70406 or JP-A-58-106691 is used. Output PAX of position sensors 9AX, 9AY, 9BX, 9BY,
PAY, PBX, PBY are position calculation units 6AX, 6AY,
It is input to 6BX and 6BY, where it is converted into digital current position data P1AX, P1AY, P1BX and P1BY.

【0017】コントローラ1Aは、内蔵のプログラムメ
モリから機械Aの制御プログラムを読み出して、機械A
のシーケンス動作を制御したり、サーボモータ8AX,
8AYの目標位置データPPAを位置指令部2Aに出力
して機械Aを位置決め制御する。コントローラ1Aに内
蔵されているプログラムメモリにはシーケンス制御を行
うためのシーケンス制御プログラムと、位置決め用の各
種データや位置決め制御用の各種パラメータ等からなる
位置決め制御プログラムとが格納されている。コントロ
ーラ1Bも同様に内蔵のプログラムメモリから機械Bの
制御プログラムを読み出して、機械Bのシーケンス動作
を制御したり、サーボモータ8BX,8BYの目標位置
データPPBを位置指令部1Bに出力して機械Bを位置
決め制御する。コントローラ1A,1Bはそれぞれ非同
期に動作し、機械A及び機械Bをそれぞれ別々に制御す
る。但し、後述のようなインターロック(機械的干渉)
が発生した場合に限り、インターロック制御部20の働
きによって両者は同期を取りながら制御することとな
る。このインターロック時の同期制御については後述す
る。
The controller 1A reads the control program of the machine A from the built-in program memory and
Control the sequence operation of the servo motor 8AX,
The target position data PPA of 8AY is output to the position command unit 2A to control the positioning of the machine A. A program memory built in the controller 1A stores a sequence control program for performing sequence control, and a positioning control program including various positioning data and various positioning control parameters. Similarly, the controller 1B also reads the control program of the machine B from the built-in program memory to control the sequence operation of the machine B and outputs the target position data PPB of the servomotors 8BX and 8BY to the position command section 1B to output the machine B. Position control. The controllers 1A and 1B operate asynchronously and control the machine A and the machine B separately. However, interlock (mechanical interference) as described later
Only when the error occurs, the interlock control unit 20 functions to control the two while synchronizing with each other. The synchronization control during this interlock will be described later.

【0018】位置指令部2Aは、コントローラ1Aから
の目標位置データPPAに基づきサーボモータ8AX
(8AY)を駆動するための補間位置指令データANX
(ANY)を所定の時間間隔で次々と位置制御部3AX
(3AY)に出力する。ただし、位置指令部2Aは、イ
ンターロック制御部20及び軌跡演算部13Aに接続さ
れており、機械的干渉が発生するおそれがある場合には
インターロック制御部20及び軌跡演算部13Aと共同
して、その機械的干渉の回避動作を行う。位置指令部2
Bは、コントローラ1Bからの目標位置データPPBに
基づきサーボモータ8BX(8BY)を駆動するための
補間位置指令データBNX(BNY)を所定の時間間隔
で次々と位置制御部3BX(3BY)に出力する。ただ
し、位置指令部2Bは、インターロック制御部20及び
軌跡演算部13Bに接続されており、機械的干渉が発生
するおそれがある場合にはインターロック制御部20及
び軌跡演算部13Bと共同して、その機械的干渉の回避
動作を行う。この機械的干渉回避動作の詳細については
インターロック制御部20及び軌跡演算部13A,13
Bとの関係があるので後述する。
The position command unit 2A uses the servo motor 8AX based on the target position data PPA from the controller 1A.
Interpolation position command data ANX for driving (8AY)
(ANY) at predetermined time intervals one after another for the position control unit 3AX
Output to (3AY). However, the position command unit 2A is connected to the interlock control unit 20 and the locus calculation unit 13A, and cooperates with the interlock control unit 20 and the locus calculation unit 13A when mechanical interference may occur. , Avoiding the mechanical interference. Position command unit 2
B outputs interpolated position command data BNX (BNY) for driving the servomotor 8BX (8BY) to the position controller 3BX (3BY) one after another at predetermined time intervals based on the target position data PPB from the controller 1B. . However, the position command unit 2B is connected to the interlock control unit 20 and the locus calculation unit 13B, and cooperates with the interlock control unit 20 and the locus calculation unit 13B when mechanical interference may occur. , Avoiding the mechanical interference. For details of this mechanical interference avoidance operation, the interlock control unit 20 and the locus calculation units 13A, 13
Since it has a relationship with B, it will be described later.

【0019】位置制御部3AX(3AY)は、補間位置
指令データANX(ANY)とサーボモータ8AX(8
AY)の現在位置を示す現在位置データP1AX(P1
AY)を入力し、補間位置指令データANX(ANY)
と現在位置データP1AX(P1AY)との間の位置偏
差をそれぞれ求め、その位置偏差に応じた速度指令デー
タFAX(FAY)を速度制御部4AX(4AY)に出
力する。位置制御部3BX(3BY)は、補間位置指令
データBNX(BNY)とサーボモータ8BX(8B
Y)の現在位置を示す現在位置データP1BX(P1B
Y)を入力し、補間位置指令データBNX(BNY)と
現在位置データP1BX(P1BY)との間の位置偏差
をそれぞれ求め、その位置偏差に応じた速度指令データ
FBX(FBY)を速度制御部4BX(4BY)に出力
する。
The position control unit 3AX (3AY) has the interpolation position command data ANX (ANY) and the servo motor 8AX (8).
Current position data P1AX (P1) indicating the current position of AY)
AY) to input the interpolation position command data ANX (ANY)
And the current position data P1AX (P1AY) are respectively obtained, and speed command data FAX (FAY) corresponding to the position deviation is output to the speed control unit 4AX (4AY). The position control unit 3BX (3BY) receives the interpolation position command data BNX (BNY) and the servo motor 8BX (8B).
Y) present position data P1BX (P1B
Y) is input to obtain the position deviation between the interpolated position command data BNX (BNY) and the current position data P1BX (P1BY), and the speed command data FBX (FBY) corresponding to the position deviation is obtained as the speed control unit 4BX. Output to (4BY).

【0020】位置演算部6AX(6AY)は回転位置セ
ンサ9AX(9AY)からの出力PAX(PAY)を入
力し、それをデジタルの現在位置データP1AX(P1
AY)に変換して位置制御部3AX(3AY)、速度演
算部7AX(7AY)、位置予測部11A、領域作成部
12A及び軌跡演算部13Aにそれぞれ出力する。な
お、位置演算部6AX(6AY)は回転位置センサ9A
X(9AY)の出力PAX(PAY)からサーボモータ
8AX(8AY)の界磁の切換位置を制御するための位
相信号PHAX(PHAY)を生成し、電流制御部5A
X(5AY)に出力する。位置演算部6BX(6BY)
は回転位置センサ9BX(9BY)からの出力PBX
(PBY)を入力し、それをデジタルの現在位置データ
P1BX(P1BY)に変換して位置制御部3BX(3
BY)、速度演算部7BX(7BY)、位置予測部11
B、領域作成部12B及び軌跡演算部13Bにそれぞれ
出力する。なお、位置演算部6BX(6BY)は回転位
置センサ9BX(9BY)の出力PBX(PBY)から
サーボモータ8BX(8BY)の界磁の切換位置を制御
するための位相信号PHBX(PHBY)を生成し、電
流制御部5BX(5BY)に出力する。位置演算部6A
X(6AY),6BX(6BY)の詳細構成については
後述する。
The position calculation unit 6AX (6AY) inputs the output PAX (PAY) from the rotational position sensor 9AX (9AY) and outputs it as digital current position data P1AX (P1).
It is converted into AY) and is output to the position control unit 3AX (3AY), the speed calculation unit 7AX (7AY), the position prediction unit 11A, the area creation unit 12A, and the trajectory calculation unit 13A. The position calculation unit 6AX (6AY) is a rotational position sensor 9A.
A phase signal PHAX (PHAY) for controlling the field switching position of the servo motor 8AX (8AY) is generated from the output PAX (PAY) of X (9AY), and the current control unit 5A is generated.
Output to X (5AY). Position calculator 6BX (6BY)
Is the output PBX from the rotational position sensor 9BX (9BY)
(PBY) is input, converted into digital current position data P1BX (P1BY), and the position control unit 3BX (3
BY), speed calculation unit 7BX (7BY), position prediction unit 11
B, the area creation unit 12B, and the trajectory calculation unit 13B. The position calculator 6BX (6BY) generates a phase signal PHBX (PHBY) for controlling the field switching position of the servo motor 8BX (8BY) from the output PBX (PBY) of the rotational position sensor 9BX (9BY). , To the current control unit 5BX (5BY). Position calculator 6A
The detailed configuration of X (6AY), 6BX (6BY) will be described later.

【0021】速度演算部7AX(7AY)は位置演算部
6AX(6AY)の現在位置データP1AX(P1A
Y)を入力し、所定の単位時間当たりの現在位置データ
P1AX(P1AY)の変化量に基づき、デジタル演算
によりサーボモータ8AX(8AY)の現在速度を示す
速度データVAX(VAY)を算出し、速度制御部4A
X(4AY)に出力する。速度演算部7BX(7BY)
は位置演算部6BX(6BY)の現在位置データP1B
X(P1BY)を入力し、所定の単位時間当たりの現在
位置データP1BX(P1BY)の変化量に基づき、デ
ジタル演算によりサーボモータ8BX(8BY)の現在
速度を示す速度データVBX(VBY)を算出し、速度
制御部4BX(4BY)に出力する。
The speed calculation unit 7AX (7AY) is provided with the current position data P1AX (P1A) of the position calculation unit 6AX (6AY).
Y) is input, and based on the change amount of the current position data P1AX (P1AY) per predetermined unit time, speed data VAX (VAY) indicating the current speed of the servo motor 8AX (8AY) is calculated by digital calculation, and the speed is calculated. Control unit 4A
Output to X (4AY). Speed calculator 7BX (7BY)
Is the current position data P1B of the position calculation unit 6BX (6BY)
Input X (P1BY) and calculate speed data VBX (VBY) indicating the current speed of the servo motor 8BX (8BY) by digital calculation based on the amount of change in the current position data P1BX (P1BY) per predetermined unit time. , To the speed control unit 4BX (4BY).

【0022】速度制御部4AX(4AY)は、位置制御
部3AX(3AY)からの速度指令データFAX(FA
Y)と速度演算部7AX(7AY)からの速度データV
AX(VAY)とを入力し、速度指令データFAX(F
AY)と速度データVAX(VAY)との間の速度偏差
を求め、この速度偏差に応じたサーボモータ8AX(8
AY)のトルク信号(電流指令信号)TAX(TAY)
を電流制御部5AX(5AY)に出力する。速度制御部
4BX(4BY)は、位置制御部3BX(3BY)から
の速度指令データFBX(FBY)と速度演算部7BX
(7BY)からの速度データVBX(VBY)とを入力
し、速度指令データFBX(FBY)と速度データVB
X(VBY)との間の速度偏差を求め、この速度偏差に
応じたサーボモータ8BX(8BY)のトルク信号(電
流指令信号)TBX(TBY)を電流制御部5BX(5
BY)に出力する。
The speed control unit 4AX (4AY) receives speed command data FAX (FA) from the position control unit 3AX (3AY).
Y) and speed data V from the speed calculator 7AX (7AY)
Input AX (VAY) and enter the speed command data FAX (F
AY) and speed data VAX (VAY) are found, and a servo motor 8AX (8) corresponding to the speed deviation is obtained.
AY) torque signal (current command signal) TAX (TAY)
Is output to the current control unit 5AX (5AY). The speed control unit 4BX (4BY) uses the speed command data FBX (FBY) from the position control unit 3BX (3BY) and the speed calculation unit 7BX.
The speed data VBX (VBY) from (7BY) is input, and the speed command data FBX (FBY) and the speed data VB are input.
The speed deviation from X (VBY) is obtained, and the torque signal (current command signal) TBX (TBY) of the servo motor 8BX (8BY) corresponding to this speed deviation is sent to the current controller 5BX (5).
Output to BY).

【0023】電流制御部5AX(5AY)は、トルク信
号TAX(TAY)及び位相信号PHAX(PHAY)
を入力し、それに基づいて3相のPWM信号を生成して
パワートランジスタを駆動し、サーボモータ8AX(8
AY)の各相(U相、V相、W相)に駆動電流を供給す
る。このとき、電流検出アイソレータCT(図示せず)
によってU相及びV相の電流値の電流フィードバック信
号が電流制御部5AX(5AY)にフィードバックされ
る。電流制御部5AX(5AY)は、各相のトルク信号
(電流指令信号)TAX(TAY)と各相の電流フィー
ドバック信号との偏差を増幅した駆動電流をサーボモー
タ8AX(8AY)に供給する。電流制御部5BX(5
BY)は、トルク信号TBX(TBY)及び位相信号P
HBX(PHBY)を入力し、それに基づいて3相のP
WM信号を生成してパワートランジスタを駆動し、サー
ボモータ8BX(8BY)の各相(U相、V相、W相)
に駆動電流を供給する。このとき、電流検出アイソレー
タCT(図示せず)によってU相及びV相の電流値の電
流フィードバック信号が電流制御部5BX(5BY)に
フィードバックされる。電流制御部5BX(5BY)
は、各相のトルク信号(電流指令信号)TBX(TB
Y)と各相の電流フィードバック信号との偏差を増幅し
た駆動電流をサーボモータ8BX(8BY)に供給す
る。
The current controller 5AX (5AY) has a torque signal TAX (TAY) and a phase signal PHAX (PHAY).
Is input to generate a three-phase PWM signal to drive the power transistor, and the servo motor 8AX (8
A drive current is supplied to each phase (U phase, V phase, W phase) of AY). At this time, the current detection isolator CT (not shown)
The current feedback signals of the U-phase and V-phase current values are fed back to the current controller 5AX (5AY). The current control unit 5AX (5AY) supplies a drive current obtained by amplifying the deviation between the torque signal (current command signal) TAX (TAY) of each phase and the current feedback signal of each phase to the servo motor 8AX (8AY). Current control unit 5BX (5
BY) is the torque signal TBX (TBY) and the phase signal P
Input HBX (PHBY), and based on it, enter the 3-phase P
Each phase (U phase, V phase, W phase) of the servo motor 8BX (8BY) is generated by generating a WM signal to drive the power transistor.
Drive current is supplied to. At this time, the current detection isolator CT (not shown) feeds back the current feedback signals of the U-phase and V-phase current values to the current controller 5BX (5BY). Current control unit 5BX (5BY)
Is the torque signal (current command signal) TBX (TB
The drive current obtained by amplifying the deviation between Y) and the current feedback signal of each phase is supplied to the servo motor 8BX (8BY).

【0024】電流制御部5AX(5AY),5BX(5
BY)は、サーボモータのオーバーロード、電源電圧低
下、過電流、過電圧及びオーバーヒート等の制御状態検
出する機能を有しており、また、これらの制御状態を示
すサーボステイタス信号と、電流アンプの定格を示すI
Dコードと、制御対象となるサーボモータの定格を示す
モータ定格コード等の各種データを格納するメモリを有
し、このメモリ内に格納されているデータは、必要に応
じてデータ線(図示せず)を介してコントローラ1A及
び1Bに送信される。
Current control units 5AX (5AY), 5BX (5
BY) has a function of detecting control states such as servomotor overload, power supply voltage drop, overcurrent, overvoltage, and overheat. In addition, the servo status signal indicating these control states and the rating of the current amplifier. Indicating I
It has a memory for storing various data such as a D code and a motor rating code indicating the rating of the servo motor to be controlled, and the data stored in this memory has a data line (not shown) if necessary. ) To the controllers 1A and 1B.

【0025】領域指定部10は、サーボモータ8AX,
8AY,8BX,8BYによって移動する機械A,Bの
動作不可能領域(又は動作可能領域)を示す領域データ
ADを記憶した記憶媒体であり、ICカード等の交換可
能なもので構成されている。従って、この領域指定部1
0内の領域データADの内容を変更するだけで、機械
A,Bの動作不可能領域(又は動作可能領域)を所望の
ものに変更することができる。位置予測部11A,11
Bは、位置演算部6AX,6AY,6BX,6BYから
の現在位置データP1AX,P1AY,P1BX,P1
BYを入力し、それに基づいて所定時間後の機械A,B
の位置を予測し、その予測位置データPEA,PEBを
領域作成部12A,12Bに出力する。すなわち、位置
データは時々刻々と変化しているので、これに基づいて
機械A及びBの移動速度が求められる。従って、位置予
測部11A,11Bは、移動速度を求め、これに所定時
間を乗算することによって、所定時間経過後における機
械A及びBの位置を予測している。なお、位置予測部1
1A,11Bは機械A及びBの移動速度を求めなくと
も、速度演算部7AX,7AY,7BX,7BYから速
度データVAX,VAY,VBX,VBYを入力し、こ
れに所定時間を乗算してもよい。
The area designating section 10 includes servo motors 8AX,
8AY, 8BX, 8BY is a storage medium that stores area data AD indicating the inoperable area (or operable area) of the machines A and B that are moved by 8AY, and is composed of a replaceable IC card or the like. Therefore, this area designation unit 1
The inoperable area (or operable area) of the machines A and B can be changed to a desired one simply by changing the content of the area data AD in 0. Position predictor 11A, 11
B is the current position data P1AX, P1AY, P1BX, P1 from the position calculation units 6AX, 6AY, 6BX, 6BY.
Enter BY, and based on that, machines A and B after a predetermined time
The predicted position data PEA, PEB is output to the area creation units 12A, 12B. That is, since the position data changes every moment, the moving speeds of the machines A and B are obtained based on this. Therefore, the position predicting units 11A and 11B predict the positions of the machines A and B after the elapse of the predetermined time by obtaining the moving speed and multiplying it by the predetermined time. The position prediction unit 1
1A and 11B may input speed data VAX, VAY, VBX, and VBY from speed calculation units 7AX, 7AY, 7BX, and 7BY without multiplying the moving speeds of machines A and B, and multiply this by a predetermined time. .

【0026】領域作成部12A,12Bは、位置演算部
6AX,6AY,6BX,6BYからの現在位置データ
P1AX,P1AY,P1BX,P1BYと位置予測部
11A,11Bからの予測位置データPEAX,PEB
Yを入力し、これらの位置データに基づいて機械A,B
が現在の位置から予測位置までに移動する領域を作成
し、それを領域データAA,ABとしてインターロック
制御部20に出力する。
The area creating units 12A and 12B are provided with the current position data P1AX, P1AY, P1BX, P1BY from the position calculating units 6AX, 6AY, 6BX and 6BY and the predicted position data PEAX and PEB from the position predicting units 11A and 11B.
Input Y and machine A, B based on these position data
Creates an area that moves from the current position to the predicted position and outputs it to the interlock control unit 20 as area data AA, AB.

【0027】インターロック制御部20は、領域作成部
12A,12Bからの領域データAA,AB及び領域指
定部10からの領域データADを入力し、各領域データ
AA,AB,ADが干渉するかどうか(すなわち機械的
干渉が起こるかどうか)を判定し、干渉すると判定した
場合にはその干渉状態(領域データAAと領域データA
Bとの干渉、領域データAAと領域データADとの干
渉、領域データABと領域データADとの干渉)に応じ
て位置指令部2A,2B及び軌跡演算部13A,13B
を制御し、その干渉が生じないような回避処理を実行す
る。
The interlock control section 20 inputs the area data AA, AB from the area creating sections 12A, 12B and the area data AD from the area designating section 10, and determines whether the area data AA, AB, AD interfere with each other. (That is, whether mechanical interference occurs), and when it is determined that interference occurs, the interference state (area data AA and area data A)
B, interference between the area data AA and the area data AD, interference between the area data AB and the area data AD).
Control is performed and avoidance processing is performed so that the interference does not occur.

【0028】軌跡演算部13A,13Bはインタロック
制御部20で機械的干渉が発生すると判定された場合
に、その機械的干渉の発生を回避するための新たな補間
位置指令データAnX,AnY,BnX,BnYを作成
して、位置指令部2A,2Bに出力する。従って、位置
指令部2A,2Bはインターロック制御部20で機械的
干渉が発生すると判定された場合には、軌跡演算部13
A,13Bからの補間位置指令データAnX(An
Y),BnX(BnY)を位置制御部3AX(3A
Y),3BX(3BY)に出力するようになる。
When the interlock control unit 20 determines that mechanical interference will occur, the locus calculation units 13A and 13B newly interpolate position command data AnX, AnY, BnX for avoiding the occurrence of the mechanical interference. , BnY are created and output to the position command units 2A and 2B. Therefore, when the interlock control unit 20 determines that the mechanical interference occurs, the position command units 2A and 2B determine whether the locus calculation unit 13 is operated.
Interpolation position command data AnX (An
Y), BnX (BnY) to the position control unit 3AX (3A
Y), 3BX (3BY).

【0029】以下、インターロック制御部20が行う機
械的干渉回避動作の詳細について図面を用いて説明す
る。図2は機械Aの移動経路の途中にワークや他の周辺
機器が存在する場合に、インターロック制御部20が両
者の干渉を回避して機械Aを目標位置に移動させる際の
動作概念を示す図である。
The details of the mechanical interference avoiding operation performed by the interlock controller 20 will be described below with reference to the drawings. FIG. 2 shows an operation concept when the interlock control unit 20 moves the machine A to a target position while avoiding interference between the work and other peripheral devices in the middle of the movement path of the machine A. It is a figure.

【0030】図2において、機械AのX−Y平面上にお
ける形状は正方形であり、その移動経路はA1−A5で
ある。すなわち、機械Aの移動経路はA1−A5である
が、実際には機械Aの正方形の部分が移動経路A1−A
5に沿って移動するのであるから移動経路A1−A5に
沿って移動する機械Aの正方形部分が他の機械やワーク
等と干渉してはならない。図2では、この移動経路A1
−A5の途中に機械Aの動作不可能領域AD(領域指定
部10からの領域データ)が存在するので、インターロ
ック制御部20は機械Aの正方形部分が移動経路A1−
A5を移動する際に動作不可能領域ADに干渉しないよ
うに、その移動経路を適宜変更させる。
In FIG. 2, the shape of the machine A on the XY plane is a square, and its movement path is A1-A5. That is, although the movement route of the machine A is A1-A5, the square portion of the machine A is actually the movement route A1-A5.
Since it moves along the path 5, the square portion of the machine A moving along the movement path A1-A5 must not interfere with other machines, works and the like. In FIG. 2, this movement route A1
-Since the inoperable area AD (area data from the area designating unit 10) of the machine A exists in the middle of A5, the interlock control unit 20 causes the square portion of the machine A to move along the movement path A1-.
When moving A5, its moving route is appropriately changed so as not to interfere with the inoperable area AD.

【0031】まず、図2(a)では、機械Aは移動経路
A1−A5を移動中であり、位置A1に位置している。
従って、位置演算部6AX,6AYは位置A1を示す現
在位置データP1A1X,P1A1Yを出力する。位置
予測部11Aはこの現在位置データP1A1X,P1A
1Yに基づいて所定時間後において、機械Aが位置A2
に位置するものと予測し、その予測位置データPEA2
X,PEA2Yを領域作成部12Aに出力する。領域作
成部12Aは位置演算部6AX,6AYからの現在位置
データP1A1X,P1A1Yと位置予測部11Aから
の予測位置データPEA2X,PEA2Yとに基づいて
図2(a)のような領域データAA12を出力する。こ
の領域データAA12は機械Aの正方形部分が位置A1
から予測位置A2まで移動する場合に通過する領域を示
す。従って、この領域データAA12と動作不可能領域
(領域指定部10からの領域データ)ADとは相互に干
渉してはならない。図2(a)では領域データAA12
と動作不可能領域ADとは干渉しない状態なので、イン
ターロック制御部20は何ら動作せず、位置指令部2A
は通常通り補間位置指令データA2X,A2Yを位置制
御部3AX,3AYに出力する。これによって、機械A
は位置A2まで移動する。
First, in FIG. 2 (a), the machine A is moving along the movement path A1-A5 and is located at the position A1.
Therefore, the position calculation units 6AX and 6AY output the current position data P1A1X and P1A1Y indicating the position A1. The position prediction unit 11A uses the current position data P1A1X, P1A
After a predetermined time based on 1Y, the machine A moves to the position A2.
Predicted position data PEA2
X and PEA2Y are output to the area creation unit 12A. The area creation unit 12A outputs area data AA12 as shown in FIG. 2A based on the current position data P1A1X, P1A1Y from the position calculation units 6AX, 6AY and the predicted position data PEA2X, PEA2Y from the position prediction unit 11A. . In this area data AA12, the square portion of the machine A is at position A1.
The area through which the vehicle moves from to the predicted position A2 is shown. Therefore, the area data AA12 and the inoperable area (area data from the area designating unit 10) AD must not interfere with each other. In FIG. 2A, area data AA12
And the inoperable area AD do not interfere with each other, the interlock control unit 20 does not operate at all, and the position command unit 2A
Outputs the interpolated position command data A2X, A2Y to the position control units 3AX, 3AY as usual. This allows machine A
Moves to position A2.

【0032】図2(b)では、機械Aは位置A2に位置
している。従って、位置演算部6AX,6AYは位置A
2を示す現在位置データP1A2X,P1A2Yを出力
し、位置予測部11Aは所定時間後に機械Aが位置A3
に位置すると予測し、その予測位置データPEA3X,
PEA3Yを領域作成部12Aに出力する。領域作成部
12Aは位置演算部6AX,6AYからの現在位置デー
タP1A2X,P1A2Yと位置予測部11Aからの予
測位置データPEA3X,PEA3Yとに基づいて図2
(b)のような領域データAA23を出力する。この領
域データAA23は機械Aが位置A2から予測位置A3
まで移動する場合に通過する領域を示す。従って、この
領域データAA23は動作不可能領域(領域指定部10
からの領域データ)ADと干渉してはならないが、図2
(b)では領域データAA23と動作不可能領域ADと
は互いに干渉している。従って、インターロック制御部
20は位置指令部2Aに停止信号STAを出力する。こ
の停止信号STAを入力した位置指令部2Aは補間位置
指令データA3X,A3Yを位置制御部3AX,3AY
に出力しなくなり、前回の補間位置指令データA2X,
A2Yを位置制御部3AX,3AYに出力し続ける。従
って、機械Aは位置A2に停止したままとなる。
In FIG. 2B, the machine A is located at the position A2. Therefore, the position calculation units 6AX and 6AY are
The current position data P1A2X, P1A2Y indicating 2 is output, and the position predicting unit 11A determines that the machine A has moved to the position A3 after a predetermined time.
Is predicted to be located at, and the predicted position data PEA3X,
The PEA 3Y is output to the area creating unit 12A. The area creation unit 12A is based on the current position data P1A2X, P1A2Y from the position calculation units 6AX, 6AY and the predicted position data PEA3X, PEA3Y from the position prediction unit 11A.
The area data AA23 as shown in (b) is output. This area data AA23 indicates that the machine A has a predicted position A3 from the position A2.
Indicates the area to pass through when moving to. Therefore, this area data AA23 is an inoperable area (area designation unit 10
Area data from) AD must not interfere, but FIG.
In (b), the area data AA23 and the inoperable area AD interfere with each other. Therefore, the interlock control unit 20 outputs the stop signal STA to the position command unit 2A. The position command unit 2A which receives the stop signal STA outputs the interpolated position command data A3X and A3Y to the position control units 3AX and 3AY.
Will not be output to the previous interpolation position command data A2X,
A2Y is continuously output to the position control units 3AX and 3AY. Therefore, the machine A remains stopped at the position A2.

【0033】また、停止信号STAを入力した位置指令
部2Aは、これ以降出力予定であった補間位置指令デー
タをインターロック制御部20に出力する。すなわち、
位置指令部2Aは位置A3に対応した補間位置指令デー
タA3X,A3Yをインターロック制御部20に出力す
る。この補間位置指令データA3X,A3Yを入力した
インターロック制御部20は動作不可能領域(領域指定
部10からの領域データ)ADに基づいて、機械Aが位
置A3に位置することができるかどうかを判断する。こ
の場合、機械Aは位置A3に位置することはできないの
で、インターロック制御部20は次の補間位置指令デー
タの出力を位置指令部2Aに指示する。すると、今度は
位置指令部2Aは位置A4に対応した補間位置指令デー
タA4X,A4Yをインターロック制御部20に出力す
る。この補間位置指令データA4X,A4Yを入力した
インターロック制御部20は同様に動作不可能領域(領
域指定部10からの領域データ)ADに基づいて、機械
Aが位置A4に位置することができるかどうかを判断す
る。この場合、機械Aは位置A4に位置することができ
るので、インターロック制御部20は位置A4に対応し
た補間位置指令データA4X,A4Yと領域データAD
を軌跡演算部13Aに出力する。
The position command unit 2A which receives the stop signal STA outputs to the interlock control unit 20 the interpolated position command data which is to be output thereafter. That is,
The position command unit 2A outputs the interpolated position command data A3X, A3Y corresponding to the position A3 to the interlock control unit 20. The interlock control unit 20 that receives the interpolated position command data A3X and A3Y determines whether the machine A can be located at the position A3 based on the inoperable region (region data from the region designating unit 10) AD. to decide. In this case, since the machine A cannot be located at the position A3, the interlock control unit 20 instructs the position command unit 2A to output the next interpolation position command data. Then, this time, the position command unit 2A outputs the interpolated position command data A4X, A4Y corresponding to the position A4 to the interlock control unit 20. Whether the machine A can be located at the position A4 on the basis of the inoperable region (region data from the region designating unit 10) AD in the same manner as the interlock control unit 20 to which the interpolated position command data A4X and A4Y are input. Determine whether In this case, since the machine A can be located at the position A4, the interlock control unit 20 causes the interpolated position command data A4X, A4Y and the area data AD corresponding to the position A4.
Is output to the locus calculation unit 13A.

【0034】軌跡演算部13Aは、インターロック制御
部20からの補間位置指令データA4X,A4Yと、領
域データADと、さらに位置演算部6AX,6AYから
現在位置データP1A2X,P1A2Yとを入力し、領
域データADで特定される動作不可能領域を回避して機
械Aの正方形部分が現在位置データP1A2X,P1A
2Yで特定される位置A2から補間位置指令データA4
X,A4Yで特定される位置A4まで移動可能な新たな
移動経路(軌跡)を演算する。すなわち、軌跡演算部1
3Aは図2(c)〜(f)のように位置A1−Ab−A
c−A4に対応した補間位置指令データを次々と位置指
令部2Aに出力する。位置指令部2Aは軌跡演算部13
Aからの補間位置指令データを次々と位置制御部3A
X,3AYに出力し、機械Aを図2(c)〜(f)のよ
うに移動させる。なお、この場合でも、領域作成部12
Aは機械Aの正方形部分が通過する領域データAA2
a,AAab,AAbc,AAc4をインターロック制
御部20に出力するので、インターロック制御部20は
他の機械や動作不可能領域との干渉をチェックする。
The locus calculation unit 13A receives the interpolated position command data A4X and A4Y from the interlock control unit 20, the area data AD, and the current position data P1A2X and P1A2Y from the position calculation units 6AX and 6AY, and inputs the area data. The square portion of the machine A avoids the inoperable area specified by the data AD and the current position data P1A2X, P1A
Interpolation position command data A4 from position A2 specified by 2Y
A new movement route (trajectory) that can move to the position A4 specified by X and A4Y is calculated. That is, the trajectory calculation unit 1
3A is located at positions A1-Ab-A as shown in FIGS.
Interpolated position command data corresponding to c-A4 is sequentially output to the position command unit 2A. The position command unit 2A is the locus calculation unit 13
The interpolated position command data from A is successively transferred to the position control unit 3A.
X, 3AY is output, and the machine A is moved as shown in FIGS. 2 (c) to 2 (f). Even in this case, the area creating unit 12
A is area data AA2 through which the square part of machine A passes
Since a, AAAb, AAbc, and AAc4 are output to the interlock control unit 20, the interlock control unit 20 checks for interference with other machines and inoperable areas.

【0035】図2(g)に示すように機械Aが動作不可
能領域ADを回避して位置A4に達した時点で、位置指
令部2Aは補間位置指令データA5X,A5Yを位置制
御部3AX,3AYに出力し、機械Aを最終的目標位置
A5に移動させる。上述のように移動経路A1−A5の
途中に機械Aの動作不可能領域AD(領域指定部10か
らの領域データ)が存在する場合でも、インターロック
制御部20は機械Aの正方形部分が移動経路A1−A5
を移動する際に動作不可能領域ADに干渉しないよう
に、その移動経路を適宜変更させ、最終目標位置A5に
機械Aを移動させることができる。
As shown in FIG. 2 (g), when the machine A avoids the inoperable area AD and reaches the position A4, the position command section 2A transfers the interpolated position command data A5X, A5Y to the position control section 3AX, 3AY, and the machine A is moved to the final target position A5. As described above, even if the inoperable area AD (area data from the area designating unit 10) of the machine A exists in the middle of the moving paths A1 to A5, the interlock control unit 20 causes the square portion of the machine A to move. A1-A5
The machine A can be moved to the final target position A5 by appropriately changing the movement route so as not to interfere with the inoperable area AD when moving.

【0036】図3は機械Aの移動経路と機械Bの移動経
路とが互いに交差している場合に、インターロック制御
部20が両者の干渉を回避して機械A及び機械Bを互い
に目標位置に移動させる際の動作概念を示す図である。
図3において、機械AのX−Y平面上における形状は図
2と同じであり、その移動経路はA1−A6である。す
なわち、機械Aの移動経路はA1−A6であるが、実際
には機械Aの正方形の部分が移動経路A1−A6に沿っ
て移動するのであるから移動経路A1−A6に沿って移
動する機械Aの正方形部分が他の機械Bやワーク等と干
渉してはならない。機械BのX−Y平面上における形状
は機械Aよりも大きな長方形であり、その移動経路はB
1−B6である。すなわち、機械Bの移動経路はB1−
B6であるが、実際には機械Bの長方形の部分が移動経
路B1−B6に沿って移動するのであるから移動経路B
1−B6に沿って移動する機械Bの長方形部分が他の機
械Aやワーク等と干渉してはならない。図3では、互い
に交差している機械Aの移動経路A1−A6と機械Bの
移動経路B1−B6とを両者が移動してきたので、イン
ターロック制御部20が機械Aと機械Bとが互いに干渉
しないように、その移動動作を適宜変更させる。
FIG. 3 shows that, when the moving path of the machine A and the moving path of the machine B intersect with each other, the interlock control section 20 avoids the interference between the two and sets the machines A and B at the target positions. It is a figure which shows the operation concept at the time of moving.
In FIG. 3, the shape of the machine A on the XY plane is the same as that of FIG. 2, and its movement path is A1-A6. That is, although the movement route of the machine A is A1-A6, the square portion of the machine A actually moves along the movement route A1-A6. Therefore, the machine A that moves along the movement route A1-A6. The square part of must not interfere with other machines B, work, etc. The shape of the machine B on the XY plane is a rectangle larger than that of the machine A, and its movement path is B.
1-B6. That is, the movement route of the machine B is B1-
Although it is B6, since the rectangular part of the machine B actually moves along the movement paths B1-B6, the movement path B
The rectangular portion of machine B moving along 1-B6 must not interfere with other machines A, workpieces, etc. In FIG. 3, since both of them have moved along the moving paths A1-A6 of the machine A and the moving paths B1-B6 of the machine B, the interlock control unit 20 causes the machines A and B to interfere with each other. The movement operation is appropriately changed so as not to do so.

【0037】まず、図3(a)では、機械Aは移動経路
A1−A6を移動中であり、位置A1に位置し、同様に
機械Bは移動経路B1−B6を移動中であり、位置B1
に位置している。従って、位置演算部6AX,6AYは
位置A1を示す現在位置データP1A1X,P1A1Y
を出力し、位置演算部6BX,6BYは位置B1を示す
現在位置データP1B1X,P1B1Yを出力する。位
置予測部11Aはこの現在位置データP1A1X,P1
A1Yに基づいて所定時間後において、機械Aが位置A
2に位置するものと予測し、その予測位置データPEA
2X,PEA2Yを領域作成部12Aに出力する。位置
予測部11Bはこの現在位置データP1B1X,P1B
1Yに基づいて所定時間後において、機械Bが位置B2
に位置するものと予測し、その予測位置データPEB2
X,PEB2Yを領域作成部12Bに出力する。
First, in FIG. 3A, the machine A is moving along the moving paths A1-A6 and is located at the position A1, and similarly, the machine B is moving along the moving paths B1-B6 and is located at the position B1.
Is located in. Therefore, the position calculation units 6AX and 6AY are configured to detect the current position data P1A1X and P1A1Y indicating the position A1.
The position calculation units 6BX and 6BY output current position data P1B1X and P1B1Y indicating the position B1. The position prediction unit 11A uses the current position data P1A1X, P1.
After a predetermined time based on A1Y, the machine A moves to the position A.
Predicted to be located at position 2, and the predicted position data PEA
2X and PEA2Y are output to the area creation unit 12A. The position prediction unit 11B uses the current position data P1B1X, P1B
After a predetermined time based on 1Y, the machine B moves to the position B2.
Position data PEB2
The X and PEB2Y are output to the area creating unit 12B.

【0038】領域作成部12Aは位置演算部6AX,6
AYからの現在位置データP1A1X,P1A1Yと位
置予測部11Aからの予測位置データPEA2X,PE
A2Yとに基づいて図3(a)のような領域データAA
12を出力する。この領域データAA12は機械Aの正
方形部分が位置A1から予測位置A2まで移動する場合
に通過する領域を示す。領域作成部12Bは位置演算部
6BX,6BYからの現在位置データP1B1X,P1
B1Yと位置予測部11Bからの予測位置データPEB
2X,PEB2Yとに基づいて図3(a)のような領域
データAB12を出力する。この領域データAB12は
機械Bの長方形部分が位置B1から予測位置B2まで移
動する場合に通過する領域を示す。従って、機械Aの領
域データAA12と機械Bの領域データAB12とは相
互に干渉してはならない。図2(a)では領域データA
A12と領域データAB12とは干渉しない状態なの
で、インターロック制御部20は何ら動作せず、位置指
令部2A.2Bは通常通り補間位置指令データA2X,
A2Y,B2X,B2Yを位置制御部3AX,3AY,
3BX,3BYに出力する。これによって、機械Aは位
置A2まで移動し、機械Bは位置B2まで移動する。
The area creating section 12A includes position calculating sections 6AX, 6AX.
Current position data P1A1X, P1A1Y from AY and predicted position data PEA2X, PE from the position prediction unit 11A
Area data AA as shown in FIG. 3A based on A2Y
12 is output. The area data AA12 indicates an area through which the square portion of the machine A passes when moving from the position A1 to the predicted position A2. The area creation unit 12B uses the current position data P1B1X, P1 from the position calculation units 6BX, 6BY.
B1Y and predicted position data PEB from the position prediction unit 11B
Area data AB12 as shown in FIG. 3A is output based on 2X and PEB2Y. The area data AB12 indicates an area through which the rectangular portion of the machine B passes when moving from the position B1 to the predicted position B2. Therefore, the area data AA12 of the machine A and the area data AB12 of the machine B must not interfere with each other. In FIG. 2A, area data A
Since the A12 and the area data AB12 do not interfere with each other, the interlock control section 20 does not operate at all and the position command section 2A. 2B is the interpolation position command data A2X,
A2Y, B2X, B2Y are connected to position control units 3AX, 3AY,
Output to 3BX and 3BY. As a result, the machine A moves to the position A2 and the machine B moves to the position B2.

【0039】図3(b)では、機械Aは位置A2に位置
し、機械Bは位置B2に位置している。従って、位置演
算部6AX,6AYは位置A2を示す現在位置データP
1A2X,P1A2Yを出力し、位置予測部11Aは所
定時間後に機械Aが位置A3に位置すると予測し、その
予測位置データPEA3X,PEA3Yを領域作成部1
2Aに出力する。同様に位置演算部6BX,6BYは位
置B2を示す現在位置データP1B2X,P1B2Yを
出力し、位置予測部11Bは所定時間後に機械Bが位置
B3に位置すると予測し、その予測位置データPEB3
X,PEB3Yを領域作成部12Bに出力する。領域作
成部12Aは位置演算部6AX,6AYからの現在位置
データP1A2X,P1A2Yと位置予測部11Aから
の予測位置データPEA3X,PEA3Yとに基づいて
図3(b)のような領域データAA23を出力する。こ
の領域データAA23は機械Aが位置A2から予測位置
A3まで移動する場合に通過する領域を示す。領域作成
部12Bは位置演算部6BX,6BYからの現在位置デ
ータP1B2X,P1B2Yと位置予測部11Bからの
予測位置データPEB3X,PEB3Yとに基づいて図
3(b)のような領域データAB23を出力する。この
領域データAB23は機械Bが位置B2から予測位置B
3まで移動する場合に通過する領域を示す。
In FIG. 3B, the machine A is located at the position A2 and the machine B is located at the position B2. Therefore, the position calculation units 6AX and 6AY are configured to detect the current position data P indicating the position A2.
1A2X and P1A2Y are output, the position prediction unit 11A predicts that the machine A will be located at the position A3 after a predetermined time, and the predicted position data PEA3X and PEA3Y are output to the area creation unit 1
Output to 2A. Similarly, the position calculation units 6BX and 6BY output current position data P1B2X and P1B2Y indicating the position B2, and the position prediction unit 11B predicts that the machine B will be located at the position B3 after a predetermined time, and the predicted position data PEB3.
The X and PEB3Y are output to the area creating unit 12B. The area creation unit 12A outputs area data AA23 as shown in FIG. 3B based on the current position data P1A2X, P1A2Y from the position calculation units 6AX, 6AY and the predicted position data PEA3X, PEA3Y from the position prediction unit 11A. . This area data AA23 indicates an area that the machine A passes through when moving from the position A2 to the predicted position A3. The area creation unit 12B outputs area data AB23 as shown in FIG. 3B based on the current position data P1B2X, P1B2Y from the position calculation units 6BX, 6BY and the predicted position data PEB3X, PEB3Y from the position prediction unit 11B. . This area data AB23 indicates that the machine B has predicted the position B2 from the position B2.
The area that passes through when moving up to 3 is shown.

【0040】この領域データAA23と領域データAB
23とは互いに干渉してはならないが、図3(b)では
干渉している。従って、インターロック制御部20は位
置指令部2A,2Bに停止信号STA,STBを出力す
る。この停止信号STA,STBを入力した位置指令部
2A,2Bは補間位置指令データA3X,A3Y,B3
X,B3Yを位置制御部3AX,3AY,3BX,3B
Yに出力しなくなり、前回の補間位置指令データA2
X,A2Y,B2X,B2Yを位置制御部3AX,3A
Y,3BX,3BYに出力し続ける。従って、機械Aは
位置A2に停止し、機械Bは位置B2に停止したままと
なる。
This area data AA23 and area data AB
23 should not interfere with each other, but in FIG. 3 (b) they do. Therefore, the interlock control unit 20 outputs the stop signals STA and STB to the position command units 2A and 2B. The position command units 2A and 2B, which receive the stop signals STA and STB, interpolate position command data A3X, A3Y and B3.
X and B3Y are position control units 3AX, 3AY, 3BX and 3B.
No longer output to Y, the previous interpolation position command data A2
X, A2Y, B2X, B2Y are position control units 3AX, 3A
Continue to output to Y, 3BX, 3BY. Therefore, the machine A stops at the position A2 and the machine B remains stopped at the position B2.

【0041】図3(b)の場合、機械Aが位置A2に停
止した状態で、機械Bは機械Aに機械的に干渉すること
なく移動経路B1−B6を移動することができるが、逆
に機械Bが位置B2に停止した状態で、機械Aは機械B
に機械的に干渉することなく移動経路A1−A6を移動
することはできない。従って、インターロック制御部2
0はこのような場合、機械Aを停止させ、機械Bを通常
の移動経路B1−B6に従って再び移動させる。もし、
機械Aを位置A2に停止させた状態で機械Bを移動させ
ても、機械Bを位置B2に停止させた状態で機械Aを移
動させても、機械的に干渉する場合には、インターロッ
ク制御部20は、いずれか一方の機械を停止させ、その
停止している機械に干渉しないように他方の機械を図2
のようにして回避移動を行わせればよい。
In the case of FIG. 3B, while the machine A is stopped at the position A2, the machine B can move along the movement paths B1-B6 without mechanically interfering with the machine A. With machine B stopped at position B2, machine A
It is not possible to move along the movement paths A1 to A6 without mechanically interfering with. Therefore, the interlock control unit 2
In such a case, 0 stops the machine A and moves the machine B again according to the normal movement route B1-B6. if,
Interlock control is performed when mechanical interference occurs even if the machine B is moved with the machine A stopped at the position A2 or the machine B is moved with the machine B stopped at the position B2. The unit 20 stops one of the machines, and the other machine is stopped so as not to interfere with the stopped machine.
The avoidance movement may be performed as follows.

【0042】図3(c)では、機械Aは位置A2に停止
したままであり、機械Bは位置B3に位置している。従
って、位置演算部6AX,6AYは位置A2を示す現在
位置データP1A2X,P1A2Yを出力し、位置予測
部11Aも所定時間後に機械Aが位置A2に位置すると
予測し、その予測位置データPEA2X,PEA2Yを
領域作成部12Aに出力する。すなわち、位置演算部6
AX,6AYと位置予測部11Aは同じ位置データを出
力する。一方、位置演算部6BX,6BYは位置B3を
示す現在位置データP1B3X,P1B3Yを出力し、
位置予測部11Bは所定時間後に機械Bが位置B4に位
置すると予測し、その予測位置データPEB4X,PE
B4Yを領域作成部12Bに出力する。
In FIG. 3C, machine A remains stopped at position A2 and machine B is located at position B3. Therefore, the position calculation units 6AX and 6AY output the current position data P1A2X and P1A2Y indicating the position A2, and the position prediction unit 11A also predicts that the machine A will be located at the position A2 after a predetermined time, and outputs the predicted position data PEA2X and PEA2Y. It is output to the area creation unit 12A. That is, the position calculation unit 6
The AX, 6AY and the position predicting unit 11A output the same position data. On the other hand, the position calculation units 6BX, 6BY output current position data P1B3X, P1B3Y indicating the position B3,
The position prediction unit 11B predicts that the machine B will be located at the position B4 after a predetermined time, and predicts the position data PEB4X, PE
B4Y is output to the area creating unit 12B.

【0043】同じ位置データを入力した領域作成部12
Aは機械Aが位置A2に位置している状態の正方形部分
を領域データAAとして出力する。ところが、この領域
データAAは機械Aの停止状態におけるものなので、イ
ンターロック制御部20は記憶しておいた前回の領域デ
ータAA23をそのまま干渉チェックに使用する。一
方、領域作成部12Bは位置演算部6BX,6BYから
の現在位置データP1B3X,P1B3Yと位置予測部
11Bからの予測位置データPEB4X,PEB4Yと
に基づいて図3(c)のような領域データAB34を出
力する。この領域データAB34は機械Bが位置B3か
ら予測位置B4まで移動する場合に通過する領域を示
す。この領域データAA23と領域データAB34とは
互いに干渉してはならないが、図3(c)でも依然とし
て干渉している。従って、インターロック制御部20は
位置指令部2Aに停止信号STAを出力し続け、機械A
を位置A2に停止させ続ける。
Area creating unit 12 in which the same position data is input
A outputs the square portion where the machine A is located at the position A2 as the area data AA. However, since this area data AA is in the stopped state of the machine A, the interlock control unit 20 uses the stored previous area data AA23 as it is for the interference check. On the other hand, the area creation unit 12B generates the area data AB34 as shown in FIG. 3C based on the current position data P1B3X, P1B3Y from the position calculation units 6BX, 6BY and the predicted position data PEB4X, PEB4Y from the position prediction unit 11B. Output. This area data AB34 indicates an area that the machine B passes through when moving from the position B3 to the predicted position B4. The area data AA23 and the area data AB34 should not interfere with each other, but they still interfere with each other in FIG. 3 (c). Therefore, the interlock control unit 20 continues to output the stop signal STA to the position command unit 2A, and the machine A
Continue to be stopped at position A2.

【0044】図3(d)では、機械Aは位置A2に停止
したままであり、機械Bは位置B4に位置している。従
って、位置演算部6AX,6AY及び位置予測部11A
ハ前回と同様に同じ位置データを出力する。一方、位置
演算部6BX,6BYは位置B4を示す現在位置データ
P1B4X,P1B4Yを出力し、位置予測部11Bは
所定時間後に機械Bが位置B5に位置すると予測し、そ
の予測位置データPEB5X,PEB5Yを領域作成部
12Bに出力する。
In FIG. 3D, machine A remains stopped at position A2 and machine B is located at position B4. Therefore, the position calculation units 6AX and 6AY and the position prediction unit 11A
(C) The same position data is output as in the previous time. On the other hand, the position calculation units 6BX and 6BY output current position data P1B4X and P1B4Y indicating the position B4, and the position prediction unit 11B predicts that the machine B will be located at the position B5 after a predetermined time, and outputs the predicted position data PEB5X and PEB5Y. It is output to the area creating unit 12B.

【0045】領域作成部12Bは位置演算部6BX,6
BYからの現在位置データP1B4X,P1B4Yと位
置予測部11Bからの予測位置データPEB5X,PE
B5Yとに基づいて図3(d)のような領域データAB
45を出力する。この領域データAB45は機械Bが位
置B4から予測位置B5まで移動する場合に通過する領
域を示す。従って、インターロック制御部20は記憶し
ておいた前回の領域データAA23と領域データAB4
5との間で干渉チェックを行う。図3(d)では領域デ
ータAA23と領域データAB45とは互いに干渉して
いないので、インターロック制御部20は位置指令部2
Aに対する停止信号STAの出力を取り止める。停止信
号STAを入力しなくなった時点で位置指令部2Aは前
回出力を停止していた補間位置指令データA3X,A3
Yを位置制御部3AX,3AYに出力する。位置指令部
2Bは通常通り補間位置指令データB5X,B5Yを位
置制御部3BX,3BYに出力する。これによって、機
械Aは位置A3まで移動するようになり、機械Bは位置
B5まで移動する。
The area creating unit 12B includes position calculating units 6BX and 6BX.
Current position data P1B4X, P1B4Y from BY and predicted position data PEB5X, PE from the position prediction unit 11B
Based on B5Y and area data AB as shown in FIG.
45 is output. This area data AB45 indicates an area that the machine B passes through when moving from the position B4 to the predicted position B5. Therefore, the interlock control unit 20 stores the previously stored area data AA23 and area data AB4.
Interference check with 5 In FIG. 3D, since the area data AA23 and the area data AB45 do not interfere with each other, the interlock control unit 20 operates the position command unit 2
The output of the stop signal STA to A is stopped. The position command unit 2A stops outputting the previous time when the stop signal STA is no longer input, and the interpolation position command data A3X, A3
Y is output to the position control units 3AX and 3AY. The position command unit 2B outputs the interpolation position command data B5X, B5Y to the position control units 3BX, 3BY as usual. This causes the machine A to move to the position A3 and the machine B to move to the position B5.

【0046】図3(e)では、機械Aは位置A3に位置
し、同様に機械Bは位置B5に位置している。従って、
領域作成部12Aは位置演算部6AX,6AYからの現
在位置データP1A3X,P1A3Yと位置予測部11
Aからの予測位置データPEA4X,PEA4Yとに基
づいて図3(e)のような領域データAA34を出力す
る。領域作成部12Bは位置演算部6BX,6BYから
の現在位置データP1B5X,P1B5Yと位置予測部
11Bからの予測位置データPEB6X,PEB6Yと
に基づいて図3(e)のような領域データAB56を出
力する。機械Aの領域データAA34と機械Bの領域デ
ータAB56とは相互に干渉しないので、インターロッ
ク制御部20は何ら動作せず、位置指令部2Aは通常通
り補間位置指令データA4X,A4Yを、位置指令部2
Bは補間位置指令データB6X,B6Yを位置制御部3
AX,3AY,3BX,3BYに出力する。これによっ
て、機械Aは位置A4まで移動し、機械Bは最終目標位
置B6まで移動する。
In FIG. 3 (e), the machine A is located at position A3 and the machine B is likewise located at position B5. Therefore,
The area creation unit 12A includes the current position data P1A3X and P1A3Y from the position calculation units 6AX and 6AY and the position prediction unit 11
Based on the predicted position data PEA4X and PEA4Y from A, the area data AA34 as shown in FIG. 3 (e) is output. The area creation unit 12B outputs area data AB56 as shown in FIG. 3E based on the current position data P1B5X, P1B5Y from the position calculation units 6BX, 6BY and the predicted position data PEB6X, PEB6Y from the position prediction unit 11B. . Since the area data AA34 of the machine A and the area data AB56 of the machine B do not interfere with each other, the interlock control section 20 does not operate at all, and the position command section 2A outputs the interpolated position command data A4X and A4Y as usual. Part 2
B is interpolation position command data B6X, B6Y
Output to AX, 3AY, 3BX, 3BY. As a result, the machine A moves to the position A4 and the machine B moves to the final target position B6.

【0047】図3(f)では、機械Aは位置A4に位置
し、機械Bは最終目標位置B6に到達後停止している。
従って、位置演算部6AX,6AYは位置A4を示す現
在位置データP1A4X,P1A4Yを出力し、位置予
測部11Aも所定時間後に機械Aが位置A5に位置する
と予測し、その予測位置データPEA5X,PEA5Y
を領域作成部12Aに出力する。 一方、位置演算部6
BX,6BYは位置B6を示す現在位置データP1B6
X,P1B6Yを出力し、位置予測部11Bは所定時間
後に機械Bが位置B6に位置すると予測し、その予測位
置データPEB6X,PEB6Yを領域作成部12Bに
出力する。すなわち、位置演算部6AX,6AYと位置
予測部11Aは停止位置B6に対応した同じ位置データ
を出力する。
In FIG. 3 (f), the machine A is located at the position A4, and the machine B is stopped after reaching the final target position B6.
Therefore, the position calculation units 6AX and 6AY output the current position data P1A4X and P1A4Y indicating the position A4, and the position prediction unit 11A also predicts that the machine A will be located at the position A5 after a predetermined time, and the predicted position data PEA5X and PEA5Y.
Is output to the area creating unit 12A. On the other hand, the position calculator 6
BX and 6BY are current position data P1B6 indicating the position B6.
X, P1B6Y is output, the position prediction unit 11B predicts that the machine B will be located at the position B6 after a predetermined time, and outputs the predicted position data PEB6X, PEB6Y to the area creation unit 12B. That is, the position calculation units 6AX and 6AY and the position prediction unit 11A output the same position data corresponding to the stop position B6.

【0048】同じ位置データを入力した領域作成部12
Bは機械Bが位置B6に位置している状態の長方形部分
を領域データABとして出力する。一方、領域作成部1
2Aは位置演算部6AX,6AYからの現在位置データ
P1A4X,P1A4Yと位置予測部11Bからの予測
位置データPEA5X,PEA5Yとに基づいて図3
(f)のような領域データAA45を出力する。この領
域データAA45は機械Aが位置A4から予測位置A5
まで移動する場合に通過する領域を示す。機械Aの領域
データAA45と機械Bの領域データAB6とは相互に
干渉しないので、インターロック制御部20は何ら動作
せず、位置指令部2Aは通常通り補間位置指令データA
5X,A5Y及びA6X,A6Yを位置制御部3AX,
3AYに出力する。これによって、機械Aは位置A5を
経由して、最終目標位置A6まで移動する。
Area creating unit 12 in which the same position data is input
B outputs the rectangular portion in the state where the machine B is located at the position B6 as the area data AB. On the other hand, the area creation unit 1
2A is based on the current position data P1A4X, P1A4Y from the position calculation units 6AX, 6AY and the predicted position data PEA5X, PEA5Y from the position prediction unit 11B.
The area data AA45 as shown in (f) is output. This area data AA45 indicates that the machine A has predicted position A5 from position A4.
Indicates the area to pass through when moving to. Since the area data AA45 of the machine A and the area data AB6 of the machine B do not interfere with each other, the interlock control unit 20 does not operate at all, and the position command unit 2A operates the interpolated position command data A as usual.
5X, A5Y and A6X, A6Y to the position control unit 3AX,
Output to 3AY. As a result, the machine A moves to the final target position A6 via the position A5.

【0049】次に、本実施例で使用される位置センサ9
AX,9AY,9BX,9BYの詳細構成について説明
する。図4は本実施例で使用する位置センサの一例であ
る誘導型の位相シフト型位置センサからなるアブソリュ
ート型の位置センサを示す図である。尚、この位置セン
サの詳細については特開昭57−70406号公報又は
特開昭58−106691号公報にて公知なので、ここ
では簡単に説明する。
Next, the position sensor 9 used in this embodiment
The detailed configuration of the AX, 9AY, 9BX, and 9BY will be described. FIG. 4 is a diagram showing an absolute type position sensor composed of an inductive type phase shift type position sensor which is an example of the position sensor used in this embodiment. The details of this position sensor are known in JP-A-57-70406 or JP-A-58-106691, and therefore will be briefly described here.

【0050】位置センサは、複数の極A〜Dが円周方向
に所定間隔(一例として90度)で設けられたステータ
71aと、各極A〜Dによって囲まれたステータ71a
の空間内に挿入されたロータ71bとを備えている。ロ
ータ71bは、回転角度に応じて各極A〜Dのリラクタ
ンスを変化させる形状及び材質からなり、一例として偏
心円筒形である。ステータ71aの各極A〜Dには、1
次コイル1A〜1D及び2次コイル2A〜2Dがそれぞ
れ巻回されている。そして、半径方向で対向する2つの
極Aと極Cの第1の対及び極Bと極Dの第2の対は差動
的に動作するようにコイルが巻かれて、かつ差動的なリ
ラクタンス変化が生じるように構成されている。
The position sensor includes a stator 71a in which a plurality of poles A to D are provided at predetermined intervals in the circumferential direction (90 degrees as an example), and a stator 71a surrounded by the poles A to D.
And a rotor 71b inserted in the space. The rotor 71b has a shape and a material that change the reluctance of the poles A to D according to the rotation angle, and is, for example, an eccentric cylindrical shape. 1 for each pole A to D of the stator 71a
The secondary coils 1A to 1D and the secondary coils 2A to 2D are respectively wound. A first pair of two poles A and C and a second pair of poles B and D, which are opposed to each other in the radial direction, are coiled so as to operate differentially and are differential. It is configured to cause a reluctance change.

【0051】第1の極の対A及びCに巻かれている1次
コイル1A及び1Cは、正弦信号sinωtで励磁さ
れ、第2の極の対B及びDに巻かれている1次コイル1
B及び1Cは余弦信号cosωtで励磁されている。そ
の結果、2次コイル2A〜2Dからは、それらの合成出
力信号Yが得られる。この合成出力信号Yは、基準信号
となる1次交流信号(1次コイルの励磁信号)sinω
t又はcosωtに対して、ロータ71bの回転角度θ
に応じた電気的位相角度だけ位相シフトした信号Y=s
in(ωt−θ)である。
The primary coils 1A and 1C wound on the first pole pair A and C are excited by the sinusoidal signal sinωt and the primary coil 1 wound on the second pole pair B and D.
B and 1C are excited by the cosine signal cosωt. As a result, their combined output signal Y is obtained from the secondary coils 2A to 2D. This combined output signal Y is a primary AC signal (excitation signal of the primary coil) sinω that serves as a reference signal.
The rotation angle θ of the rotor 71b with respect to t or cosωt
Signal Y = s phase-shifted by an electrical phase angle according to
in (ωt−θ).

【0052】従って、上述のような誘導型の位相シフト
型位置センサを用いる場合には、1次交流信号sinω
t又はcosωtを発生する基準信号発生部と、合成出
力信号Yの電気的位相ずれθを測定しロータの位置デー
タを算出する位相差検出部とを備える必要がある。この
基準信号発生部及び位相差検出部は位置演算部6AX,
6AY,6BX,6BYの中に設けられる。
Therefore, when the inductive type phase shift type position sensor as described above is used, the primary AC signal sinω
It is necessary to include a reference signal generator that generates t or cosωt, and a phase difference detector that measures the electrical phase shift θ of the combined output signal Y and calculates rotor position data. The reference signal generator and the phase difference detector are composed of the position calculator 6AX,
It is provided in 6AY, 6BX, and 6BY.

【0053】図5は位置演算部6AX,6AY,6B
X,6BYの一例を示す図である。図5において、位置
演算部は基準交流信号sinωt及びcosωtを発生
する基準信号発生部と、2次コイル2A〜2Dの相互誘
導電圧と基準交流信号sinωtとの間の位相差(位相
ずれ量)Dθを検出する位相差検出部とからなる。
FIG. 5 shows position calculation units 6AX, 6AY, 6B.
It is a figure which shows an example of X, 6BY. In FIG. 5, the position calculation unit is a reference signal generation unit that generates reference AC signals sinωt and cosωt, and a phase difference (phase shift amount) Dθ between the mutual induction voltage of the secondary coils 2A to 2D and the reference AC signal sinωt. And a phase difference detection unit for detecting

【0054】基準信号発生部はクロック発振器72、同
期カウンタ73、ROM74a,74b、D/A変換器
75a,75b及びアンプ76a,76bからなり、位
相差検出部はアンプ77、ゼロクロス回路78及びラッ
チ回路79からなる。クロック発振器72は高速の正確
なクロック信号を発生するものであり、このクロック信
号に基づいて他の回路は動作する。同期カウンタ73は
クロック発振器72のクロック信号をカウントし、その
カウント値をアドレス信号としてROM74a及び位相
差検出部のラッチ回路79に出力する。
The reference signal generator comprises a clock oscillator 72, a synchronous counter 73, ROMs 74a and 74b, D / A converters 75a and 75b and amplifiers 76a and 76b, and a phase difference detector comprises an amplifier 77, a zero cross circuit 78 and a latch circuit. It consists of 79. The clock oscillator 72 generates a high-speed and accurate clock signal, and other circuits operate based on this clock signal. The synchronous counter 73 counts the clock signal of the clock oscillator 72 and outputs the count value as an address signal to the ROM 74a and the latch circuit 79 of the phase difference detector.

【0055】ROM74a及び74bは基準交流信号に
対応した振幅データを記憶しており、同期カウンタ73
からのアドレス信号(カウント値)に応じて基準交流信
号の振幅データを発生する。ROM74aはcosωt
の振幅データを、ROM74bはsinωtの振幅デー
タを記憶している。従って、ROM74a及び74bは
同期カウンタ73から同じアドレス信号を入力すること
によって、2種類の基準交流信号sinωt及びcos
ωtを出力する。なお、同じ振幅データのROMを位相
のそれぞれ異なるアドレス信号で読み出しても同様に2
種類の基準交流信号を得ることができる。
The ROMs 74a and 74b store amplitude data corresponding to the reference AC signal, and the synchronous counter 73
Amplitude data of the reference AC signal is generated according to the address signal (count value) from the. ROM74a is cosωt
, And the ROM 74b stores the sinωt amplitude data. Therefore, the ROMs 74a and 74b receive the same address signal from the synchronous counter 73 to generate two types of reference AC signals sinωt and cos.
Output ωt. Even if the ROM of the same amplitude data is read by the address signals having different phases, the same 2
A type of reference AC signal can be obtained.

【0056】D/A変換器75a及び75bはROM7
4a及び74bからのデジタルの振幅データをアナログ
信号に変換してアンプ76a及び76bに出力する。ア
ンプ76a及び76bはD/A変換器からのアナログ信
号を増幅し、それを基準交流信号sinωt及びcos
ωtとして1次コイル1A,1C及び1B,1Dのそれ
ぞれに印加する。同期カウンタ73の分周数をMとする
と、そのMカウント分が基準交流信号の最大位相角2π
ラジアン(360度)に相当する。すなわち、同期カウ
ンタ73の1カウント値は2π/Mラジアンの位相角を
示している。
The D / A converters 75a and 75b are the ROM 7
The digital amplitude data from 4a and 74b is converted into an analog signal and output to the amplifiers 76a and 76b. The amplifiers 76a and 76b amplify the analog signal from the D / A converter, and use it to amplify the reference AC signals sinωt and cos.
ωt is applied to each of the primary coils 1A, 1C and 1B, 1D. Assuming that the frequency division number of the synchronous counter 73 is M, that M count is the maximum phase angle 2π of the reference AC signal.
Corresponds to radians (360 degrees). That is, one count value of the synchronous counter 73 indicates a phase angle of 2π / M radian.

【0057】アンプ77は2次コイル2A〜2Dに誘起
された2次電圧の合成値を増幅して、ゼロクロス回路7
8に出力する。ゼロクロス回路78は位置センサの2次
コイル2A〜2Dに誘起された相互誘導電圧(2次電
圧)に基づいて負電圧から正電圧へのゼロクロス点を検
出し、検出信号をラッチ回路79に出力する。
The amplifier 77 amplifies the combined value of the secondary voltage induced in the secondary coils 2A to 2D, and the zero cross circuit 7
Output to 8. The zero-cross circuit 78 detects a zero-cross point from a negative voltage to a positive voltage based on the mutual induction voltage (secondary voltage) induced in the secondary coils 2A to 2D of the position sensor, and outputs a detection signal to the latch circuit 79. .

【0058】ラッチ回路79は基準交流信号の立上りの
クロック信号にてスタートした同期カウンタのカウント
値をゼロクロス回路78の検出信号の出力時点(ゼロク
ロス点)でラッチする。従って、ラッチ回路79にラッ
チされた値はちょうど基準交流信号と相互誘導電圧(合
成2次出力)との間の位相差(位相ずれ量)Dθとな
る。
The latch circuit 79 latches the count value of the synchronous counter started by the rising clock signal of the reference AC signal at the output point (zero cross point) of the detection signal of the zero cross circuit 78. Therefore, the value latched by the latch circuit 79 is exactly the phase difference (phase shift amount) Dθ between the reference AC signal and the mutual induction voltage (combined secondary output).

【0059】すなわち、2次コイル2A〜2Dの合成出
力信号Y=sin(ωt−θ)は、ゼロクロス検出手段
78に与えられる。ゼロクロス検出手段78は合成出力
信号Yの電気位相角がゼロのタイミングに同期してパル
スLを出力する。パルスLはラッチ回路79のラッチパ
ルスとして使用される。従って、ラッチ回路79がパル
スLの立ち上がり応じて同期カウンタ73のカウント値
をラッチする。同期カウンタ73のカウント値が一巡す
る期間と正弦波信号sinωtの1周期とを同期させ
る。すると、ラッチ回路79には基準交流信号sinω
tと合成出力信号Y=sin(ωt−θ)との位相差θ
に対応するカウント値がラッチされることとなる。従っ
て、ラッチされた値がデジタルの位置データDθとして
出力される。尚、ラッチパルスLはタイミングパルスと
して適宜利用することもできる。また、ラッチ回路79
にラッチされた値のうちサーボモータの一回転内の絶対
位置を示す値がデジタルの位相データPHAX,PHA
Y,PHBX,PHBYとして出力され、界磁の切換位
置制御に利用される。
That is, the combined output signal Y = sin (ωt-θ) of the secondary coils 2A to 2D is given to the zero cross detecting means 78. The zero-cross detector 78 outputs the pulse L in synchronization with the timing when the electric phase angle of the combined output signal Y is zero. The pulse L is used as a latch pulse for the latch circuit 79. Therefore, the latch circuit 79 latches the count value of the synchronous counter 73 in response to the rising of the pulse L. The period in which the count value of the synchronization counter 73 makes one cycle is synchronized with one cycle of the sine wave signal sinωt. Then, the reference alternating current signal sinω is input to the latch circuit 79.
The phase difference θ between t and the composite output signal Y = sin (ωt−θ)
The count value corresponding to is latched. Therefore, the latched value is output as digital position data Dθ. The latch pulse L can also be used as a timing pulse as appropriate. In addition, the latch circuit 79
Of the values latched in, the value indicating the absolute position within one rotation of the servo motor is the digital phase data PHAX, PHA.
It is output as Y, PHBX, and PHBY and is used for controlling the switching position of the field.

【0060】なお、図4及び図5は一回転の範囲をアブ
ソリュートに検出するものであるが、このようなアブソ
リュートセンサを複数個組み合わせて多回転にわたって
アブソリュート位置を検出してもよい。
Although FIG. 4 and FIG. 5 detect the range of one rotation absolutely, a plurality of such absolute sensors may be combined to detect the absolute position over multiple rotations.

【0061】なお、図1の実施例では、2軸(X軸及び
Y軸)で位置決め制御される2つの機械Aと機械Bとの
間の機械的干渉防止を例に説明したが、位置決め制御さ
れる軸は2軸に限らず、1軸でも3軸でも、ロボットア
ーム等のように4軸,5軸のものでもよく、また位置決
めされる機械の数も2つに限られず、3つ以上のもので
もよい。制御軸が3軸以上になった場合は、領域指定部
及び領域作成部はそれぞれ3次元空間の領域を指定及び
作成するようにすればよい。
In the embodiment shown in FIG. 1, the mechanical interference prevention between the two machines A and B whose positions are controlled by two axes (X axis and Y axis) has been described as an example. The number of axes to be set is not limited to two, and may be one or three, or four or five such as a robot arm, and the number of machines to be positioned is not limited to two and three or more. It may be one. When the number of control axes is three or more, the area specifying unit and the area creating unit may respectively specify and create the area of the three-dimensional space.

【0062】また、上述の実施例では、機械Aと機械B
とか機械的に干渉する場合に、機械Aの動作を停止させ
る場合について説明したが、これに限らず、両者を停止
させ、後は手動にて干渉回避動作を行い、手動による干
渉回避動作が終了した時点で再び、コントローラによる
自動制御を行うようにしてもよい。この場合、手動の干
渉回避動作によって機械位置が目標経路に対して大幅に
ずれることが考えられるが、このような場合にはその機
械位置から目標経路までの最短経路を求め、それを移動
させればよい。
Further, in the above embodiment, the machine A and the machine B are
The case where the operation of the machine A is stopped in the case of mechanical interference or the like has been described, but not limited to this, both are stopped, and then the interference avoidance operation is manually performed, and the manual interference avoidance operation ends. At that point, the controller may automatically perform the automatic control again. In this case, it is possible that the machine position is significantly displaced from the target route by the manual interference avoidance operation.In such a case, find the shortest route from the machine position to the target route and move it. Good.

【0063】[0063]

【発明の効果】以上のように、本発明のインターロック
制御システムによれば、動作プログラムの中に干渉防止
用プログラムを設けなくても、機械的干渉を有効に防止
することができるという効果がある。
As described above, according to the interlock control system of the present invention, it is possible to effectively prevent mechanical interference without providing an interference prevention program in the operation program. is there.

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

【図1】 本発明のインターロック制御システムを内蔵
した位置決め制御システムの概略構成を示す図である。
FIG. 1 is a diagram showing a schematic configuration of a positioning control system incorporating an interlock control system of the present invention.

【図2】 位置決めされる機械の移動経路の途中にワー
クや他の周辺機器が存在する場合に、図1のインターロ
ック制御部が両者の干渉を回避して機械を目標位置に移
動させる際の動作概念を示す図である。
FIG. 2 is a diagram illustrating a case where a work or other peripheral device exists in the middle of a moving path of a machine to be positioned, when the interlock control unit of FIG. 1 avoids interference between the two and moves the machine to a target position. It is a figure which shows an operation concept.

【図3】 位置決めされる機械Aの移動経路と機械Bの
移動経路とが互いに交差している場合に、図1のインタ
ーロック制御部が両者の干渉を回避して機械A及び機械
Bを互いに目標位置に移動させる際の動作概念を示す図
である。
FIG. 3 is a diagram illustrating a case where a moving path of a machine A and a moving path of a machine B to be positioned intersect each other, the interlock control unit of FIG. It is a figure which shows the operation concept at the time of moving to a target position.

【図4】 図1の位置センサの一例である誘導型の位相
シフト型位置センサからなるアブソリュート型の位置セ
ンサを示す図である。
4 is a diagram showing an absolute type position sensor including an inductive type phase shift type position sensor which is an example of the position sensor of FIG.

【図5】 図1の位置演算部の詳細構成を示す図であ
る。
5 is a diagram showing a detailed configuration of a position calculation unit in FIG.

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

1A,1B…コントローラ、2A,2B…位置指令部、
3AX,3AY,3BX,3BY…位置制御部、4A
X,4AY,4BX,4BY…速度制御部、5AX,5
AY,5BX,5BY…電流制御部、6AX,6AY,
6BX,6BY…位置演算部、7AX,7AY,7B
X,7BY…速度演算部、8AX,8AY,8BX,8
BY…サーボモータ、9AX,9AY,9BX,9BY
…位置センサ、10…領域指定部、11A,11B…位
置予測部、12A,12B…領域作成部、13A,13
B…軌跡演算部、20…インターロック制御部
1A, 1B ... Controller, 2A, 2B ... Position command section,
3AX, 3AY, 3BX, 3BY ... Position control unit, 4A
X, 4AY, 4BX, 4BY ... Speed control unit, 5AX, 5
AY, 5BX, 5BY ... Current control unit, 6AX, 6AY,
6BX, 6BY ... Position calculation unit, 7AX, 7AY, 7B
X, 7BY ... Speed calculator, 8AX, 8AY, 8BX, 8
BY: Servo motor, 9AX, 9AY, 9BX, 9BY
... position sensor, 10 ... area designation section, 11A, 11B ... position prediction section, 12A, 12B ... area creation section, 13A, 13
B ... Locus calculation unit, 20 ... Interlock control unit

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 位置決めされる機械と、 この機械の現在位置を検出する位置検出手段と、 この位置検出手段からの現在位置に基づいて前記機械を
所定の位置に位置決めする位置決め手段と、 前記機械の動作不可能領域又は動作可能領域を指定する
領域指定手段と、 前記現在位置を入力し、所定時間経過後に位置するであ
ろう前記機械の予測位置を出力する位置予測手段と、 前記現在位置と前記予測位置とに基づいて前記機械の形
状に応じた移動領域を作成する領域作成手段と、 前記領域指定手段からの動作不可能領域と前記領域作成
手段からの移動領域との干渉状態を判定し、両領域が干
渉する場合には前記位置決め手段による前記機械の位置
決め動作を停止させるインターロック制御手段とから構
成されることを特徴とするインターロック制御システ
ム。
1. A machine to be positioned, position detecting means for detecting a current position of the machine, positioning means for positioning the machine at a predetermined position based on the current position from the position detecting means, and the machine. Area designating means for designating an inoperable area or an operable area, a position predicting means for inputting the current position, and outputting a predicted position of the machine that will be positioned after a predetermined time has passed, the current position and Area creating means for creating a moving area according to the shape of the machine based on the predicted position, and an interference state between the inoperable area from the area designating means and the moving area from the area creating means is determined. And an interlock control means for stopping the positioning operation of the machine by the positioning means when both areas interfere with each other. Control system.
【請求項2】 前記インターロック制御手段は、前記機
械の位置決め動作を停止させた後に、前記動作不可能領
域と前記移動領域とが互いに干渉しないように前記機械
の前記位置決め手段による位置決め制御を行うことを特
徴とする請求項1に記載のインターロック制御システ
ム。
2. The interlock control means performs positioning control by the positioning means of the machine after stopping the positioning operation of the machine, so that the inoperable area and the moving area do not interfere with each other. The interlock control system according to claim 1, wherein:
【請求項3】 それぞれ独立に位置決めされる複数の機
械と、 これらの機械の現在位置をそれぞれ検出する位置検出手
段と、 この位置検出手段からの現在位置に基づいて前記各機械
を所定の位置にそれぞれ位置決めする位置決め手段と、 前記各機械の現在位置を入力し、所定時間経過後に位置
するであろう前記機械の予測位置を出力する位置予測手
段と、 前記予測位置に基づいて前記各機械の形状に応じた移動
領域を作成する領域作成手段と、 前記領域作成手段からの各機械の移動領域に基づいて前
記各機械の移動領域同士の干渉状態を判定し、干渉する
と判定された機械の少なくとも一方の前記位置決め手段
による位置決め動作を停止させるインターロック制御手
段とから構成されることを特徴とするインターロック制
御システム。
3. A plurality of machines that are respectively positioned independently, position detection means for detecting the current positions of these machines, respectively, and the respective machines are set to predetermined positions based on the current positions from the position detection means. Positioning means for respectively positioning, position predicting means for inputting the current position of each machine and outputting a predicted position of the machine that will be positioned after a predetermined time has passed, and shape of each machine based on the predicted position Area creating means for creating a moving area according to the, and determining the interference state of the moving areas of each machine based on the moving area of each machine from the area creating means, at least one of the machines determined to interfere And an interlock control means for stopping the positioning operation by the positioning means.
【請求項4】 前記インターロック制御手段は、前記干
渉すると判定された機械の一方を停止させた後に、前記
干渉すると判定された機械の移動領域同士が互いに干渉
しなくなった時点で、停止中の機械の前記位置決め手段
による位置決め動作を再び開始させることを特徴とする
請求項3に記載のインターロック制御システム。
4. The interlock control means, after stopping one of the machines determined to interfere with each other, stops moving when the moving regions of the machines determined to interfere with each other do not interfere with each other. The interlock control system according to claim 3, wherein the positioning operation of the positioning means of the machine is restarted.
【請求項5】 それぞれ独立に位置決めされる複数の機
械と、 これらの機械の現在位置をそれぞれ検出する位置検出手
段と、 これらの位置検出手段からの現在位置に基づいて前記各
機械を所定の位置にそれぞれ位置決めする位置決め手段
と、 前記各機械の動作不可能領域又は動作可能領域を指定す
る領域指定手段と、 前記各機械の現在位置を入力し、所定時間経過後に位置
するであろう前記機械の予測位置を出力する位置予測手
段と、 前記現在位置と前記予測位置とに基づいて前記各機械の
形状に応じた移動領域を作成する領域作成手段と、 前記領域指定手段からの動作不可能領域又は動作可能領
域と前記領域作成手段からの各機械の移動領域とに基づ
いて前記各機械の移動領域同士の干渉状態及び前記各機
械の移動領域と前記動作不可能領域との間の干渉状態を
判定し、干渉すると判定された機械の前記位置決め手段
による位置決め動作を停止させるインターロック制御手
段とから構成されることを特徴とするインターロック制
御システム。
5. A plurality of machines positioned independently of each other, position detection means for detecting the current positions of these machines, respectively, and a predetermined position for each machine based on the current positions from these position detection means. Positioning means for respectively positioning the machine, area specifying means for specifying an inoperable area or an operable area of each machine, a current position of each machine is input, and the machine will be positioned after a predetermined time has elapsed. A position predicting unit that outputs a predicted position, a region creating unit that creates a moving region corresponding to the shape of each machine based on the current position and the predicted position, an inoperable region from the region designating unit, or Based on the operable area and the movement area of each machine from the area creating means, the interference state between the movement areas of each machine and the movement area of each machine and the inoperability An interlock control system comprising: an interlock control unit that determines an interference state with a region and stops a positioning operation by the positioning unit of the machine that is determined to interfere.
【請求項6】 前記インターロック制御手段は、 前記領域指定手段からの動作不可能領域と前記領域作成
手段からの移動領域とが干渉すると判定した場合には、
前記機械の位置決め動作を停止させた後に、前記動作不
可能領域と前記移動領域とが互いに干渉しないように前
記機械の前記位置決め手段による位置決め制御を行い、 前記領域作成手段からの各機械の移動領域同士が干渉す
ると判定した場合には、前記干渉すると判定された機械
の一方を停止させた後に、前記干渉すると判定された機
械の移動領域同士が互いに干渉しなくなった時点で、再
び停止された機械の前記位置決め手段による位置決め動
作を開始させることを特徴とする請求項5に記載のイン
ターロック制御システム。
6. The interlock control means, when determining that the inoperable area from the area designating means and the moving area from the area creating means interfere with each other,
After the positioning operation of the machine is stopped, the positioning means of the machine performs positioning control so that the inoperable area and the moving area do not interfere with each other, and the moving area of each machine from the area creating means. When it is determined that the machines interfere with each other, after stopping one of the machines determined to interfere with each other, when the moving areas of the machines determined to interfere with each other no longer interfere with each other, the machine stopped again. The interlock control system according to claim 5, wherein the positioning operation by the positioning means is started.
JP32138792A 1992-11-06 1992-11-06 Interlock control system Pending JPH06149332A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP32138792A JPH06149332A (en) 1992-11-06 1992-11-06 Interlock control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP32138792A JPH06149332A (en) 1992-11-06 1992-11-06 Interlock control system

Publications (1)

Publication Number Publication Date
JPH06149332A true JPH06149332A (en) 1994-05-27

Family

ID=18131987

Family Applications (1)

Application Number Title Priority Date Filing Date
JP32138792A Pending JPH06149332A (en) 1992-11-06 1992-11-06 Interlock control system

Country Status (1)

Country Link
JP (1) JPH06149332A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1997049014A1 (en) * 1996-06-18 1997-12-24 Fanuc Ltd Method of avoiding interference of industrial robot
JP2001310244A (en) * 2000-04-27 2001-11-06 Toshiba Corp Processing method for long strip-shaped workpieces
JP2005192369A (en) * 2003-12-26 2005-07-14 Fujitsu Ltd Motor drive control device
JP2007207160A (en) * 2006-02-06 2007-08-16 Mazda Motor Corp Equipment control system
JP2017016228A (en) * 2015-06-29 2017-01-19 ファナック株式会社 Interference check system between machine tool and robot

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1997049014A1 (en) * 1996-06-18 1997-12-24 Fanuc Ltd Method of avoiding interference of industrial robot
US6212444B1 (en) 1996-06-18 2001-04-03 Fanuc Limited Method of avoiding interference of industrial robot
JP2001310244A (en) * 2000-04-27 2001-11-06 Toshiba Corp Processing method for long strip-shaped workpieces
JP2005192369A (en) * 2003-12-26 2005-07-14 Fujitsu Ltd Motor drive control device
JP2007207160A (en) * 2006-02-06 2007-08-16 Mazda Motor Corp Equipment control system
JP2017016228A (en) * 2015-06-29 2017-01-19 ファナック株式会社 Interference check system between machine tool and robot
US9862094B2 (en) 2015-06-29 2018-01-09 Fanuc Corporation Interference check system for machine tool and robot

Similar Documents

Publication Publication Date Title
JP3408468B2 (en) Method for detecting rotor magnetic pole position of synchronous motor
JP5636707B2 (en) Production equipment control device and production equipment motor stop control method
JP2008022590A (en) Servo motor monitoring device
JP5445031B2 (en) Method of manufacturing rotation angle detection device, rotation angle detection device, motor control device, and electric power steering device
JPS61180592A (en) Controller of induction motor
JPH06141550A (en) Inverter and motor control system
JPH06149332A (en) Interlock control system
US4107654A (en) Numerical control system having a position processing unit operated upon a power failure
JPS61120214A (en) Positioning controller
KR0176469B1 (en) Phase offset correction method of servo motor
JP2003319682A (en) Control device for permanent magnet synchronous motor
JP7105942B1 (en) Control device
JPH05244792A (en) Electric current phase delay compensation device and delay compensation method thereof
JP2526855B2 (en) Brushless motor controller
JPH0710197B2 (en) Torque control method for reluctance motor
JP2764002B2 (en) Position control system
JPH1169897A (en) Controller for induction motor
JP5810552B2 (en) Motor rotation angle detection device and conveyance device
JPH07107776A (en) Brushless motor control system
JP2020190499A (en) Encoder device
Van Nguyen et al. Development of PMSM Servo Driver for CNC Machines Using TMS28379D
JPH07322683A (en) Driving device of synchronous motor
JP2022052320A (en) Absolute angle position detection method and device
WO1984004587A1 (en) Absolute value detection apparatus for detecting rotational position
JPH01251112A (en) Absolute servo control system