JPS61178152A - Tool interference checking device - Google Patents

Tool interference checking device

Info

Publication number
JPS61178152A
JPS61178152A JP1912085A JP1912085A JPS61178152A JP S61178152 A JPS61178152 A JP S61178152A JP 1912085 A JP1912085 A JP 1912085A JP 1912085 A JP1912085 A JP 1912085A JP S61178152 A JPS61178152 A JP S61178152A
Authority
JP
Japan
Prior art keywords
image
tool
interference
memory
data
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
JP1912085A
Other languages
Japanese (ja)
Inventor
Motonobu Shibata
柴田 元信
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.)
Yaskawa Electric Corp
Original Assignee
Yaskawa Electric Manufacturing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Yaskawa Electric Manufacturing Co Ltd filed Critical Yaskawa Electric Manufacturing Co Ltd
Priority to JP1912085A priority Critical patent/JPS61178152A/en
Publication of JPS61178152A publication Critical patent/JPS61178152A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/18Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form
    • G05B19/406Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form characterised by monitoring or safety
    • G05B19/4061Avoiding collision or forbidden zones

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Manufacturing & Machinery (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Auxiliary Devices For Machine Tools (AREA)

Abstract

PURPOSE:To check interference of many complex tools with high speed by storing the body image of tool or work independently in plural image memories then obtaining logical product of respective output and detecting interference of tool. CONSTITUTION:The body image of tool or work is stored independently in respective image memory 10 of plural image circuits A, B, C, D. A timing generator 18 will feed necessary output to said image memories synchronously with the system clock input 19. In other word, CPU (not shown) will execute no operation except provision of initial data to a counter 6 and the timing generator 18 will feed a memory read-out signal 11 to the image memory 10 while a bit output signal 14 to bit extraction circuit 13. Consequently, tool interference check can be executed with high speed by feeding bit data 15 from each image circuit A, B, C, D to AND gate 16 and producing an interference information 17 upon overlap of images.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、工作機械用数値制御装置(以下NCと称する
)において、工具と被加工物および非加工物が不用意に
ぶつからないようにその干渉をチェックする装置に関す
る。
[Detailed Description of the Invention] [Industrial Application Field] The present invention is a numerical control device for a machine tool (hereinafter referred to as NC), in which a tool, a workpiece, and a non-workpiece are prevented from accidentally colliding with each other. The present invention relates to a device for checking interference.

〔発明の概要〕[Summary of the invention]

本発明は、NGにおいて工具干渉をチェックするため、
独立した複数個のイメージメモリを備え。
In order to check tool interference in NG, the present invention
Equipped with multiple independent image memories.

それぞれのイメージメモリにはそれぞれ工具や被加工物
などの物体イメージを独立に格納し、これらのイメージ
データ(すなわち点情報の集合)を自由に移動できるよ
うにし、その各出力の論理積をとることにより、工具干
渉を検知するものである。
Object images such as tools and workpieces are stored independently in each image memory, these image data (i.e., a set of point information) can be moved freely, and the logical product of each output is calculated. This is used to detect tool interference.

〔従来の技術〕[Conventional technology]

従来、複数の工具を持つ工作機の制御を行なうNCは、
それぞれの工具の干渉を防止するため。
Conventionally, the NC that controls machine tools with multiple tools is
To prevent interference between each tool.

互いの位置とその工具の形状とをにらみながら定期的又
は各加工段階でそのチェックを行なってきた。
Checks have been carried out periodically or at each processing stage while keeping an eye on each other's positions and the shape of the tools.

しかしながら、加工技術の進歩に伴い、工具形状のみで
なく、被加工物(ワーク)以外の非加工物についてのチ
ェックや複雑な形の工具など、その干渉チェックすべき
対象が複雑多種になってきている。
However, as machining technology advances, the objects to be checked for interference have become more complex and diverse, including checking not only tool shapes but also non-processed objects other than workpieces and tools with complex shapes. There is.

通常これらのチェックは、工具や被加工物および非加工
物の形状をNGのCPUのメモリ内(ワーキングエリア
)に数式(すなわち複数の不等式で囲まれる領域)とし
て持ち、その工具の位置が他のどの物体内にもないこと
をCPUの演算によってチェックしていた。
Normally, these checks have the shapes of tools, workpieces, and non-workpieces in the memory (working area) of the NG CPU as mathematical expressions (i.e., an area surrounded by multiple inequalities), and the position of the tool is CPU calculations were used to check that it was not inside any object.

例えば、四角形であれば第3図に示すように4つの不等
式 %式%) を必要とし、このような平面の四角形どうしの干渉でも
相当な数の一次方程式の解をもとめなければならないこ
とがわかる。
For example, if it is a quadrilateral, four inequalities (%) are required as shown in Figure 3, and it can be seen that the interference of such plane quadrangles requires solving a considerable number of linear equations. .

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

しかし、このような処理は、与いの動きによるダイナミ
ックな座標変化に対するチェックが必要なため1通常実
加工時間または加工に先だっわずかな時間内に行なう必
要がある。
However, such processing must be performed within one normal actual machining time or a short period of time prior to machining because it is necessary to check for dynamic coordinate changes due to a given movement.

形状が単純な場合(実務上は複雑な形状を簡単化してし
まう場合が多いカリ、計算は加減算がほとんどとなるた
め、短時間の処理で完了するが。
When the shape is simple (in practice, complex shapes are often simplified, and most of the calculations involve addition and subtraction, so the process can be completed in a short time.

複雑な形状をそのとおりチェックしようとすると。When trying to check a complex shape as it is.

その量の多さのため処理に時間がかかり、実時間でのチ
ェックや実行に先たつわずかの時間内では計算が間に合
わないのが実情である。
Due to the large amount of data, processing takes time, and the reality is that calculations cannot be completed within the short period of time prior to real-time checking and execution.

また、実加工の時間にも影響を与えかねないばかりか、
今後より複雑な形状に対応するには、より多くの処理時
間を必要としてしまう。
In addition, it may not only affect the actual processing time, but also
In the future, more processing time will be required to handle more complex shapes.

本発明は、このような問題点を解決し、工具干渉チェッ
クを高速で行ないうる装置を提供するものである。
The present invention solves these problems and provides a device that can perform tool interference checks at high speed.

〔問題を解決するための手段〕[Means to solve the problem]

上記問題点を解決するため9本発明は、独立した複数個
のイメージメモリを備え、それぞれのイメージメモリに
はそれぞれ工具や被加工物などの物体イメージを独立に
格納し、これらのイメージメモリにシステムのクロック
に同期してアドレス信号を与え、このアドレスに対応し
たメモリデータを出力させ、これらのイメージデータ(
すなわち点情報の集合)の論理積をとり、同一位置での
データの重複があったときに干渉発生とするものである
In order to solve the above problems, the present invention includes a plurality of independent image memories, each of which independently stores object images such as tools and workpieces, and system An address signal is given in synchronization with the clock of , the memory data corresponding to this address is output, and these image data (
In other words, the logical product of a set of point information is taken, and when there is duplication of data at the same position, it is determined that interference has occurred.

〔作用〕[Effect]

このような構成により、複数個のイメージメモリの出力
を全て重ね合わせるだけで、干渉が発生するか否か瞬時
に認識できる。
With such a configuration, it is possible to instantly recognize whether or not interference occurs by simply superimposing all the outputs of the plurality of image memories.

また、これら複数個のイメージメモリへ与えるアドレス
は、数値制御装置のCPUから逐次設定できるため、イ
メージ空間内を物体イメージが自由に移動できることC
どなり、あたかも本物の工具が座標上を動くようなシミ
ュレーションが可能となる。
In addition, since the addresses given to these multiple image memories can be set sequentially from the CPU of the numerical control device, the object image can be moved freely within the image space.
This makes it possible to simulate a real tool moving on coordinates.

〔実施例〕〔Example〕

以下1本発明の具体的実施例を第1図に示して説明する
A specific embodiment of the present invention will be described below with reference to FIG.

本発明は、 A、 B、 C,Dに図示するように同じ
構成の複数個のイメージ回路と、これらの処理タイミン
グを統轄するタイミング発生器18と。
The present invention includes a plurality of image circuits having the same configuration as shown in A, B, C, and D, and a timing generator 18 that controls their processing timing.

論理積ゲート16から構成される。It is composed of an AND gate 16.

それぞれのイメージ回路には、ひとつの工具。One tool for each image circuit.

ひとつの被加工物、ひとつの非加工物がそれぞれ独立に
割り当てられる。よってこの例のように4個の回路に限
られるものでない。
One workpiece and one non-workpiece are each independently assigned. Therefore, the number of circuits is not limited to four as in this example.

ここではAの回路構成についての説明を行なうが他も全
く同様である。
Here, the circuit configuration of A will be explained, but the other circuit configurations are exactly the same.

なお、ここではイメージメモリ自体についての説明は省
略するが、特開昭59−186057や特公昭54−3
9098に詳しく説明されである。
Although the explanation of the image memory itself is omitted here, it is
9098.

さて1図示しないNGのCPU等から出力されたデータ
はデータバス1を介してデータラッチ3へ書込み信号2
によりラッチされる。
Now, 1. Data output from an NG CPU, etc. (not shown) is sent via data bus 1 to data latch 3 via write signal 2.
latched by

このデータは内部データバス4を介しカウンタ6へ内部
データラッチ信号5によりラッチされ。
This data is latched by the internal data latch signal 5 to the counter 6 via the internal data bus 4.

カウント信号7によりカウントアツプされる。It is counted up by the count signal 7.

このカウントされたデータはアドレスバス8とビットア
ドレスバス9に分けられ、前者はイメージメモリ10の
アドレス、後者はビット抽出回路13用のビットアドレ
スとして使用される。
This counted data is divided into an address bus 8 and a bit address bus 9, the former being used as an address for the image memory 10 and the latter being used as a bit address for the bit extraction circuit 13.

カウンタ6の内容がある値になった瞬間について考える
と、カウントアツプされたデータはイメージメモリ10
のアドレス8として入力され、その後メモリ読出し信号
11が入力されることにより、メモリーデータバス12
にデータを出力する。
Considering the moment when the contents of the counter 6 reach a certain value, the counted up data is stored in the image memory 10.
memory data bus 12 by inputting the memory read signal 11 as the address 8 of the memory data bus 12.
Output data to .

このデータは、ビットアドレスバス9に従い。This data follows the bit address bus 9.

ビットの抽出が行なわれ、カウンタ6の示すビット単位
での情報がビット出力信号14に同期してビットデータ
15として論理積ゲート16に送られる。
Bits are extracted, and information in units of bits indicated by the counter 6 is sent to the AND gate 16 as bit data 15 in synchronization with the bit output signal 14.

この論理積ゲート16には他のイメージ回路から同様に
して取り出されたイメージデータのビット単位の情報が
送られてくるので、イメージが重なれば、論理積出力す
なわち干渉情報17が出力される。
Bit-by-bit information of image data similarly extracted from other image circuits is sent to this AND gate 16, so if the images overlap, an AND output, that is, interference information 17 is output.

つまり、各イメージメモリ10には工具や被加工物の物
体イメージが格納されており、カウンタ6に与える初期
データ(これが図示しないCPUから逐次設定される)
によりあたかもイメージメモリの内容がイメージ空間内
を自由に動くことになる(すなわちCPUの演算を必要
としない)ので、タイミング発生器18のコントロール
の下で工具干渉の認識が高速に行なえるのである。
That is, each image memory 10 stores object images of tools and workpieces, and initial data given to the counter 6 (this is sequentially set by a CPU (not shown)).
This allows the contents of the image memory to move freely within the image space (that is, no CPU calculations are required), so tool interference can be recognized at high speed under the control of the timing generator 18.

第2図にイメージ空間でのイメージメモリの動きを概念
的に示して、具体的動作を説明する。
FIG. 2 conceptually shows the movement of the image memory in the image space, and the specific operation will be explained.

イメージ空間201は第1図のタイミング発生器18が
1周期のタイミング作りだすイメージ領域であり、イメ
ージメモリの初期アドレスを最小値と最大値に設定する
ことによって定義される領域を包括する最大領域である
The image space 201 is an image area in which the timing generator 18 in FIG. 1 generates one cycle of timing, and is the largest area that encompasses the area defined by setting the initial address of the image memory to the minimum and maximum values. .

202.204はそれぞれイメージメモリA。202 and 204 are image memories A, respectively.

イメージメモリBのイメージ領域で、206゜207が
それぞれその初期アドレスであり、203が工具イメー
ジ、205が非加工物のイメージである。
In the image area of image memory B, 206 and 207 are their initial addresses, 203 is a tool image, and 205 is an image of a non-workpiece.

この初期アドレス206.207は座標値としてそれぞ
れ(100,150)、  (300,400)という
具合に設定される。
The initial addresses 206 and 207 are set as coordinate values (100, 150) and (300, 400), respectively.

ただし、演算毎にNCのCPUから逐次設定されるので
、工具の移動等に合わせて設定していけば、あたかも工
具が実際に動(ようにシミュレーションが可能となる。
However, since the settings are set sequentially from the NC CPU for each calculation, if the settings are made in accordance with the movement of the tool, it becomes possible to simulate the movement of the tool as if it were actually moving.

工具イメージ203と非加工物のイメージ205は点情
報の集合であり、具体的にはビットデータの集合となる
The tool image 203 and the non-workpiece image 205 are a collection of point information, specifically a collection of bit data.

よって第1図の論理積ゲート16で論理積をとれば、当
然第2図の208の部分が「1」、それ以外が「0」と
なり、その「1」のデータは干渉情報17として出力さ
れるのである。
Therefore, if the AND gate 16 in FIG. 1 performs an AND operation, naturally the part 208 in FIG. It is.

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

以上説明したように1本発明によれば従来不可能であっ
た複雑多数の工具干渉のチェックを高速に行なうことが
可能となり、しかもNGのCPUの負荷は軽減されると
いう極めて大きな効果をもたらすものである。
As explained above, 1. According to the present invention, it is possible to check the interference of a large number of complex tools at high speed, which was previously impossible, and the load on the CPU of NG is reduced, which is an extremely significant effect. It is.

また、イメージメモリも安価になってきたので。Also, image memory has become cheaper.

経済的に得策であり、実用価値も非常に大きい。It is economically advantageous and has great practical value.

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

第1図は本発明の具体的実施例、第2図は本発明のイメ
ージ空間を説明する図、第3図は従来の物体の認識法を
説明する図である。 1・・・データバス   2・・・書込み信号3・・・
データラッチ  4・・・内部データバス訃・・内部デ
ータラッチ信号 6・・・カウンタ    7・・・カウント信号8・・
・アドレスバス  9・・・ビットアドレスバス10・
・・イメージメモリ 11・・・メモリ読出し信号 12・・・メモリデータバス 13・・・ビット抽出回路 14・・・ビット出力信号 15・・・ビットデータ 16・・・論理積ゲート 17・・・干渉情報 18・・・タイミング発生器 19・・・クロック入力 201・・・イメージ空間 202.204・・・イメージ領域 206.207・・・初期アドレス 203・・・工具イメージ 205・・・非加工物のイメージ 208・・・干渉発生箇所 第 2 図 第 3 図 手続補正書(方式) %式% 1 事件の表示 昭和60年特許願第19120号 2 発明の名称 工具干渉チェック装置 3 補正をする者 事件との関係  特許出願人 4 補正命令の日付 願書に最初に添付した明細書の浄書、別紙のとおり(内
容に変更なし)
FIG. 1 is a diagram illustrating a specific embodiment of the present invention, FIG. 2 is a diagram illustrating an image space of the present invention, and FIG. 3 is a diagram illustrating a conventional object recognition method. 1...Data bus 2...Write signal 3...
Data latch 4...Internal data bus death...Internal data latch signal 6...Counter 7...Count signal 8...
・Address bus 9...Bit address bus 10・
... Image memory 11 ... Memory read signal 12 ... Memory data bus 13 ... Bit extraction circuit 14 ... Bit output signal 15 ... Bit data 16 ... AND gate 17 ... Interference Information 18...Timing generator 19...Clock input 201...Image space 202.204...Image area 206.207...Initial address 203...Tool image 205...Non-workpiece Image 208... Location of interference Figure 2 Figure 3 Procedure amendment (method) % formula % 1 Indication of incident 1985 Patent Application No. 19120 2 Name of invention Tool interference check device 3 Person making the amendment Incident and Relationship between Patent applicant 4 Date of amendment order Engraving of the specification originally attached to the application, as attached (no change in content)

Claims (1)

【特許請求の範囲】 工作機械用数値制御装置において、 工具、被加工物、および非加工物のそれぞれの占有領域
を点情報の集まりとしてそれぞれ格納してある複数個の
イメージメモリと、 前記それぞれのイメージメモリの初期アドレスを任意に
設定してイメージ空間内での前記占有領域の位置を自由
に移動する手段と、 前記イメージメモリに数値制御システムのクロックに同
期してアドレス信号を与え、それに対応したメモリデー
タを出力させるタイミング発生手段と、 前記それぞれのメモリデータの論理積をとることにより
、イメージ空間内の同一位置における複数個の点情報の
重複を検出し、重複があった場合干渉発生信号を出力す
る手段、 を備えたことを特徴とする工具干渉チェック装置。
[Scope of Claim] A numerical control device for a machine tool, comprising: a plurality of image memories each storing respective occupied areas of a tool, a workpiece, and a non-workpiece as a collection of point information; means for freely moving the position of the occupied area in the image space by arbitrarily setting an initial address of the image memory; and means for giving an address signal to the image memory in synchronization with a clock of a numerical control system, and A timing generating means for outputting memory data and logical product of the respective memory data are used to detect duplication of a plurality of point information at the same position in the image space, and when there is duplication, an interference generation signal is generated. A tool interference checking device characterized by comprising: a means for outputting.
JP1912085A 1985-02-01 1985-02-01 Tool interference checking device Pending JPS61178152A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1912085A JPS61178152A (en) 1985-02-01 1985-02-01 Tool interference checking device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1912085A JPS61178152A (en) 1985-02-01 1985-02-01 Tool interference checking device

Publications (1)

Publication Number Publication Date
JPS61178152A true JPS61178152A (en) 1986-08-09

Family

ID=11990605

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1912085A Pending JPS61178152A (en) 1985-02-01 1985-02-01 Tool interference checking device

Country Status (1)

Country Link
JP (1) JPS61178152A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63109508A (en) * 1986-10-27 1988-05-14 Okuma Mach Works Ltd Automatic interference checking system in automatic programming
JPH0360951A (en) * 1989-07-27 1991-03-15 Okuma Mach Works Ltd Interference check system for numerically controlled information producing device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63109508A (en) * 1986-10-27 1988-05-14 Okuma Mach Works Ltd Automatic interference checking system in automatic programming
JPH0360951A (en) * 1989-07-27 1991-03-15 Okuma Mach Works Ltd Interference check system for numerically controlled information producing device

Similar Documents

Publication Publication Date Title
KR910002566A (en) Manufacturing method of metal sheet and the like
JPS63181005A (en) Parallel processing method for numerical controller
CN107430393A (en) Numerical control device
JPS61178152A (en) Tool interference checking device
JPS5936810A (en) Method for supervising working information of numerical control working machine
JPS62272366A (en) Graphic information processor
WO1982003282A1 (en) Numerical control system
US5654618A (en) Process for the two-dimensional determination of a work-area contour for lathes
JP3066646B2 (en) Motion simulation system
Abbas et al. A general algorithm for drilling holes lying in a matrix
JP2875941B2 (en) Robot program creation support system
KR900001262B1 (en) Electrical circuit for a micro processor graphic system
US6681144B1 (en) Process and system for working a workpiece through numerically controlled machine tools
JPS62217311A (en) Discriminating device for interference of nc working data
JP2018088068A (en) Information processing apparatus
JP2949730B2 (en) Tool interference check device of numerical control processing machine
JPH04114207A (en) Work data preparing system for nc work machine
JP2869658B2 (en) Logical operation method
JP2757228B2 (en) Image data processing method for image sensor
JPH01217606A (en) Area working condition setter
JPS63116214A (en) Programming device
JPS5918412A (en) Position detecting system
JPS5857792B2 (en) 3D spatial figure recognition method
JPS61105615A (en) Working area designating system of nc data generating device
JPH054206U (en) Numerical control device