JP2003223208A - Numerical control system - Google Patents

Numerical control system

Info

Publication number
JP2003223208A
JP2003223208A JP2002020453A JP2002020453A JP2003223208A JP 2003223208 A JP2003223208 A JP 2003223208A JP 2002020453 A JP2002020453 A JP 2002020453A JP 2002020453 A JP2002020453 A JP 2002020453A JP 2003223208 A JP2003223208 A JP 2003223208A
Authority
JP
Japan
Prior art keywords
unit
shape data
calculation unit
data
processing
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
JP2002020453A
Other languages
Japanese (ja)
Inventor
Nobuyuki Takahashi
宣行 高橋
Sadami Ouchi
定美 大内
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP2002020453A priority Critical patent/JP2003223208A/en
Publication of JP2003223208A publication Critical patent/JP2003223208A/en
Pending legal-status Critical Current

Links

Landscapes

  • Numerical Control (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a numerical control system performing accurate and stable velocity control and calculating a highly precise interpolation point corresponding to machining shape data. <P>SOLUTION: The system comprises a shape data calculating part 13, which holds the entered machining data and calculates either an attribute data corresponding to the machining data or a coordinate data, on the path of a tool corresponding to the machining data and an interface which is laid between the shape data calculating part 13 and at least one of the functioning parts, except the shape data calculating part 13, the functioning parts being predefined so as to obtain necessary data from the shape data calculating part 13. <P>COPYRIGHT: (C)2003,JPO

Description

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

【0001】[0001]

【発明の属する技術分野】この発明は、各機能部と形状
データ算出部とを予め定義されたインタフェースで接続
することにより、高品位加工を行う数値制御システムに
関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a numerical control system for performing high-quality machining by connecting each functional section and a shape data calculation section with a predefined interface.

【0002】[0002]

【従来の技術】図14は従来の数値制御装置(NC)付
き工作機械と、NC工作機械外に配置されたNCプログ
ラム作成装置(CAM:Computer Aided
Manufacturing)から構成される加工シ
ステムを示すブロック図であり、図において、1はCA
M、2はNCプログラム、3は入力部、4は解析部、5
は加減速部、6は補間部、7はサーボ制御部である。
2. Description of the Related Art FIG. 14 shows a conventional machine tool with a numerical control device (NC) and an NC program creating device (CAM: Computer Aided) arranged outside the NC machine tool.
FIG. 1 is a block diagram showing a processing system including a manufacturing system, in which 1 is a CA.
M, 2 are NC programs, 3 are input units, 4 are analysis units, 5
Is an acceleration / deceleration unit, 6 is an interpolation unit, and 7 is a servo control unit.

【0003】次に動作について説明する。図14におい
て、従来の工作機械で加工を行うには、まず、工具が加
工形状に対してどのように動作するかを記述したNCプ
ログラム2が必要である。なお、NCプログラム2に記
述される一命令はブロックと呼ばれる。金型加工を行う
場合には、一般に、NCプログラム2は、NC工作機械
外に配置されたCAM1で生成される。入力部3より、
NCプログラム2を入力すると、解析部4は、与えられ
たブロック間の角度や曲率といった経路変化の度合いを
調べ、工具をNCプログラム2で与えられる送り速度で
指令経路に沿って移動させた場合に、機械性能を超える
か否かの評価を行って、機械性能を上回る個所において
は機械性能内で通過できるように送り速度を減じる処理
を行う。このように送り速度を減じることを速度をクラ
ンプすると言い、例えば、特開平3−84604号公報
(第1の従来技術)や特開平2−137006号公報
(第2の従来技術)のような方法が公開されている。次
に、加減速部5は、解析部4により送り速度が評価され
たブロック情報に基づき、クランプ位置においてクラン
プ速度を守れるように毎補間時の送り速度を決定して、
補間部6に出力する。補間部6は、加減速部5により与
えられた送り速度で制御周期当たりの補間長さを算出
し、ブロック上を補間し、工具を制御するサーボ制御部
7にその補間された移動指令を供給する。ところで、先
に説明した第1の従来技術や第2の従来技術で示されて
いる方法においては、NCプログラム2に記述されてい
るブロックを元に形状評価を行うため、評価結果がNC
外部に設置されるCAM1(プログラミングシステム)
で作成されるNCプログラム2の性質に大きく依存して
しまうという課題があった。すなわち、CAM1では、
本来自由曲線で表されるべき工具経路をユーザの設定し
た許容誤差(トレランス)を満たす範囲で微小線分化し
てNCプログラム2を作成するために、NCに伝わる情
報が欠落し、NC工作機械で形状特徴を再現できなかっ
たり、加工物に微小な傷を付けたりする場合があった。
Next, the operation will be described. In FIG. 14, in order to perform machining with a conventional machine tool, first, an NC program 2 that describes how a tool operates with respect to a machining shape is required. Note that one instruction described in the NC program 2 is called a block. When performing die machining, the NC program 2 is generally generated by the CAM 1 arranged outside the NC machine tool. From the input section 3,
When the NC program 2 is input, the analysis unit 4 checks the degree of path change such as the angle between the given blocks and the curvature, and when the tool is moved along the command path at the feed speed given by the NC program 2. Then, it evaluates whether or not the machine performance is exceeded, and at points where the machine performance is exceeded, the feed speed is reduced so that the machine can pass within the machine performance. Decreasing the feed speed in this way is called clamping of the speed, and for example, a method as disclosed in JP-A-3-84604 (first prior art) or JP-A-2-137006 (second prior art). Has been published. Next, the acceleration / deceleration unit 5 determines the feed speed at each interpolation so that the clamp speed can be maintained at the clamp position based on the block information in which the feed speed is evaluated by the analysis unit 4,
Output to the interpolation unit 6. The interpolation unit 6 calculates the interpolation length per control cycle at the feed rate given by the acceleration / deceleration unit 5, interpolates on the block, and supplies the interpolated movement command to the servo control unit 7 for controlling the tool. To do. By the way, in the methods described in the first conventional technique and the second conventional technique described above, since the shape evaluation is performed based on the block described in the NC program 2, the evaluation result is NC.
CAM1 (programming system) installed outside
However, there is a problem in that it depends largely on the properties of the NC program 2 created in. That is, in CAM1,
In order to create the NC program 2 by dividing the tool path, which should originally be represented by a free curve, into a range that satisfies the tolerance (tolerance) set by the user, the information transmitted to the NC is lost, and the NC machine tool In some cases, the shape characteristics could not be reproduced, or the work piece was scratched minutely.

【0004】このような課題を解決するために、特開平
1−98001号公報(第3の従来技術)では、誤差を
除去した形状情報から送り速度を決定することで、大域
的に形状がほぼ同一の場合に、同一の送り速度に揃える
方法が公開されている。また、特開平2001−125
616号公報(第4の従来技術)では、微小線分列中に
微小なジグザグが検出された場合に、その部分を修正す
る方法が公開されている。しかし、第3の従来技術で
は、送り速度を揃えることを目的としており、指令ブロ
ックを修正することをしないので、決定された送り速度
で補間した場合に、誤差を含むブロック上に補間点を生
成しない補償がない。また、第4の従来技術では、修正
を施した経路上に工具を配置した際に、工具と加工形状
が接しているという補償がない。さらに、上述したよう
に、NCでは経路が急峻に変化する個所で送り速度を減
じる処理を施すので、このような個所では送り速度と、
実行周期dtの積で表される補間長さが短くなる。サー
ボの特性として送り速度が小さくなると追従性が良くな
り、形状の再現性が向上するので、このような個所にお
いては、補間長さに比して指令ブロックも十分に小さい
必要がある。しかし、単純に指令ブロックを小さくする
と、NCプログラム2のデータ量が膨大になるために、
上述したようなNC内部で行われるブロック分析処理
が、与えられた実行時間内に終了できなくなる。このよ
うな場合、NCは自動的に送り速度を減じたり、ブロッ
クを読み飛ばしたりするので、結果的に加工面に不具合
を発生する原因となってしまう。そこで、一般に、CA
M1でNCプログラム2を作成する際には、データ量が
大きくなり過ぎないように、与えられたトレランスを守
りながら、生成した点を間引く処理を施している。しか
し、間引き過ぎては加工形状を良く表すことができなく
なる。つまり、CAM1が生成するブロックの精度と、
NCで処理可能なブロック数とは相反する関係があり、
形状特徴を良く表し、かつ処理速度面で現実的なNCプ
ログラム2を生成するのは容易ではないと言える。ま
た、別の課題として、切り込み量が多すぎたり、工具の
全幅を使って加工するような経路が指令された場合、工
具への負担が大きくなり、工具の摩耗が早く進行する、
工具が欠損する、工具に切り屑が融着する等の問題が発
生する。一方、反対に加工条件をもっと上げられる場合
もある。従来、このような加工時に発生した課題に対応
するためには、一度作成したNCプログラム2を捨て
て、例えば、切り込み量を下げる等の新たな加工条件に
基づいて、NCプログラム2を作成しなければならなか
った。
In order to solve such a problem, in Japanese Unexamined Patent Publication No. 1-98001 (third prior art), the feed rate is determined from the shape information from which the error is removed, so that the shape can be made almost global. In the case of the same, a method of making the feed rate the same is disclosed. In addition, Japanese Patent Laid-Open No. 2001-125
Japanese Laid-Open Patent Publication No. 616 (fourth prior art) discloses a method of correcting a minute zigzag in a minute line segment array, when the minute zigzag is detected. However, the third prior art aims at making the feed rates uniform and does not correct the command block. Therefore, when interpolation is performed at the determined feed rate, interpolation points are generated on blocks containing an error. There is no compensation. Further, in the fourth conventional technique, there is no compensation that the tool and the machining shape are in contact with each other when the tool is placed on the corrected path. Further, as described above, in the NC, since the processing for reducing the feed rate is performed at the point where the path changes abruptly, the feed rate is reduced at such a point.
The interpolation length represented by the product of the execution cycles dt becomes shorter. As a characteristic of the servo, when the feed speed is small, the followability is good and the reproducibility of the shape is improved. Therefore, in such a place, the command block needs to be sufficiently small compared to the interpolation length. However, if the command block is simply reduced, the amount of data of the NC program 2 becomes huge, so
The block analysis processing performed inside the NC as described above cannot be completed within the given execution time. In such a case, the NC automatically reduces the feed rate or skips the block, resulting in a problem on the machined surface. Therefore, in general, CA
When the NC program 2 is created by M1, the generated points are thinned while keeping the given tolerance so that the data amount does not become too large. However, if thinned out too much, the processed shape cannot be well represented. That is, the accuracy of the block generated by CAM1 and
There is a contradictory relationship with the number of blocks that can be processed by NC,
It can be said that it is not easy to generate the NC program 2 that represents the shape feature well and is realistic in terms of processing speed. In addition, as another problem, if the cutting amount is too large or if a route for machining using the full width of the tool is instructed, the load on the tool increases and the wear of the tool progresses quickly,
Problems such as chipping of the tool and fusion of chips on the tool occur. On the other hand, on the other hand, there are cases where the processing conditions can be increased. Conventionally, in order to cope with the problems that occur during such machining, the NC program 2 that has been once created must be discarded and the NC program 2 must be created based on new machining conditions such as reducing the depth of cut. I had to do it.

【0005】このように加工時に、柔軟な加工条件変更
を可能にするために、例えば、特開平11−15513
号公報(第5の従来技術)では、形状データに基づいて
工具経路データを生成する処理部と、切削加工処理部と
を同時並列的に実行するシステムを公開している。
In order to make it possible to flexibly change the processing conditions during the processing as described above, for example, Japanese Patent Laid-Open No. 11-15513.
The publication (fifth prior art) discloses a system in which a processing unit that generates tool path data based on shape data and a cutting processing unit are simultaneously executed in parallel.

【0006】[0006]

【発明が解決しようとする課題】従来の数値制御システ
ムは以上のように構成されているので、第5の従来技術
では、加工時に加工条件を柔軟に変更することを目的と
しているため、数値制御装置上で工具経路データを作成
して、逐次、制御部に入力する方式となっており、加工
面の精度を高めるための技術、すなわち、形状に応じた
速度制御や、加減速後の送り速度を用いた補間長さの位
置に正確な補間点を求めるための機能がないなどの課題
があった。
Since the conventional numerical control system is configured as described above, the fifth conventional technique aims to flexibly change the processing conditions during processing, and therefore the numerical control is performed. It is a method to create tool path data on the device and input it to the control unit one after another. It is a technology to improve the accuracy of the machining surface, that is, speed control according to the shape and feed speed after acceleration / deceleration. However, there is a problem that there is no function for obtaining an accurate interpolation point at the position of the interpolation length using.

【0007】この発明は上記のような課題を解決するた
めになされたもので、加工形状データに応じて正確で安
定した速度制御や精度の高い補間点の算出を行う数値制
御システムを得ることを目的とする。
The present invention has been made to solve the above problems, and it is an object of the present invention to obtain a numerical control system for performing accurate and stable speed control according to machining shape data and highly accurate calculation of interpolation points. To aim.

【0008】[0008]

【課題を解決するための手段】この発明に係る数値制御
システムは、入力された加工形状データを保持し、その
加工形状データに応じた属性データ、およびその加工形
状データに応じた処理作用部の経路上の座標データのう
ちの少なくともいずれか一方を算出する形状データ算出
部と、形状データ算出部と、その形状データ算出部以外
の少なくともいずれか一つの機能部との間に設け、それ
ら機能部が形状データ算出部から必要なデータが得られ
るように予め定義されたインタフェースとを備えたもの
である。
A numerical control system according to the present invention holds input machining shape data, attribute data corresponding to the machining shape data, and a processing operation unit corresponding to the machining shape data. Provided between the shape data calculation unit that calculates at least one of the coordinate data on the route, the shape data calculation unit, and at least one functional unit other than the shape data calculation unit. Is provided with an interface defined in advance so that necessary data can be obtained from the shape data calculation unit.

【0009】この発明に係る数値制御システムは、イン
タフェースを、評価部と形状データ算出部との間に設
け、その定義として、評価部から形状データ算出部に対
して、処理作用部の経路計画データのパラメータ、現在
評価点、現在評価点からの距離、サンプリング間隔、適
切なサンプリング間隔を形状データ算出部が自動で決定
することを規定する情報、のうちの少なくともいずれか
一つを与え、形状データ算出部から評価部が、処理作用
部の座標値、パラメータ、接ベクトル、曲率ベクトル、
のうちの少なくともいずれか一つを得るようにしたもの
である。
In the numerical control system according to the present invention, an interface is provided between the evaluation unit and the shape data calculation unit, and as its definition, the evaluation unit sends the shape data calculation unit to the route planning data of the processing unit. Parameter, the current evaluation point, the distance from the current evaluation point, the sampling interval, and information that specifies that the shape data calculation unit automatically determines an appropriate sampling interval. From the calculation unit to the evaluation unit, the coordinate value of the processing action unit, the parameter, the tangent vector, the curvature vector,
At least one of the above is obtained.

【0010】この発明に係る数値制御システムは、イン
タフェースを、経路計画部と形状データ算出部との間に
設け、その定義として、経路計画部から形状データ算出
部に対して、加工形状データを構成する少なくとも一つ
以上の面を規定する情報を与え、形状データ算出部から
経路計画部が、それらの包含領域を得るようにしたもの
である。
In the numerical control system according to the present invention, an interface is provided between the route planning unit and the shape data calculating unit, and as a definition, the route planning unit configures machining shape data to the shape data calculating unit. Information for defining at least one surface to be provided, and the path planning unit obtains the inclusion area from the shape data calculation unit.

【0011】この発明に係る数値制御システムは、イン
タフェースを、経路計画部と形状データ算出部との間に
設け、その定義として、経路計画部から形状データ算出
部に対して、加工形状データを構成する少なくとも一つ
以上の面を規定する情報、加工形状データを構成する面
以外の少なくとも一つ以上の面を規定する情報、のうち
の少なくともいずれか一つと、加工種類を規定する情報
と、加工種類に付随する情報とを与え、形状データ算出
部から経路計画部が、経路計画データを得るようにした
ものである。
In the numerical control system according to the present invention, an interface is provided between the route planning unit and the shape data calculating unit, and as a definition, the route planning unit configures machining shape data to the shape data calculating unit. At least one of the information defining at least one surface, the information defining at least one surface other than the surface forming the machining shape data, the information defining the machining type, and the machining Information related to the type is given, and the route planning unit obtains the route planning data from the shape data calculating unit.

【0012】この発明に係る数値制御システムは、入力
された加工形状データを保持し、その加工形状データに
応じた属性データ、その加工形状データに応じた処理作
用部の経路上の座標データ、その加工形状データに応じ
たその処理作用部の経路計画データ、その経路計画デー
タに沿ったその処理作用部の経路と制御対象の性能との
比較に応じてその処理作用部の移動速度からなる評価デ
ータ、のうちの少なくともいずれか一つを算出する形状
データ算出部と、形状データ算出部と、その形状データ
算出部以外の少なくともいずれか一つの機能部との間に
設けられ、それら機能部が形状データ算出部から必要な
データが得られるように予め定義されたインタフェース
とを備えたものである。
The numerical control system according to the present invention holds the input machining shape data, attribute data corresponding to the machining shape data, coordinate data on the path of the processing action portion corresponding to the machining shape data, and Path planning data of the processing action part according to the machining shape data, evaluation data consisting of the moving speed of the processing action part according to the comparison of the route of the processing action part along the route planning data and the performance of the controlled object , A shape data calculation unit that calculates at least one of the shape data calculation unit, a shape data calculation unit, and at least one function unit other than the shape data calculation unit. An interface defined in advance so that necessary data can be obtained from the data calculation unit.

【0013】この発明に係る数値制御システムは、イン
タフェースを、加減速部と形状データ算出部との間に設
け、その定義として、加減速部から形状データ算出部に
対して、現在補間点と、現在パラメータと、現在送り速
度と、減速に要する距離とを与え、形状データ算出部か
ら加減速部が、減速に要する距離内で現在補間点よりも
先にある送り速度を減じる点のうちの最も手前にある送
り速度を減じる点への距離と、減じられた送り速度と、
送り速度を減じる点の検出または未検出の識別子とを得
るようにしたものである。
In the numerical control system according to the present invention, an interface is provided between the acceleration / deceleration unit and the shape data calculation unit, and as its definition, the acceleration / deceleration unit sends the shape data calculation unit a current interpolation point, Given the current parameter, the current feed speed, and the distance required for deceleration, the shape data calculation unit determines the most of the points where the acceleration / deceleration unit reduces the feed speed that precedes the current interpolation point within the distance required for deceleration. The distance to the point that reduces the feed rate in front, the reduced feed rate,
This is to obtain a detected or undetected identifier of the point at which the feed rate is reduced.

【0014】この発明に係る数値制御システムは、イン
タフェースを、補間部と形状データ算出部との間に設
け、その定義として、補間部から形状データ算出部に対
して、処理作用部の経路計画データのパラメータ、現在
補間点、現在補間点からの距離、のうちの少なくともい
ずれか一つを与え、形状データ算出部から補間部が、処
理作用部の経路上の座標値、経路計画データ、のパラメ
ータうちの少なくともいずれか一つを得るようにしたも
のである。
In the numerical control system according to the present invention, an interface is provided between the interpolation unit and the shape data calculation unit, and as its definition, the interpolation unit sends the shape data calculation unit a path plan data of the processing unit. Parameter, the current interpolation point, and the distance from the current interpolation point, and the shape data calculation unit to the interpolation unit determines the parameters of the coordinate values on the route of the processing action unit and the route plan data. At least one of them is obtained.

【0015】[0015]

【発明の実施の形態】以下、この発明の実施の一形態を
説明する。 実施の形態1.図1はこの発明の実施の形態1による数
値制御システムを示すブロック図であり、図において、
11は加工形状データと共に加工条件が入力される入力
部、12は加工形状データを形状データ算出部13に供
給すると共に、工作機械(制御対象)の工具(処理作用
部)の経路計画データを生成する経路計画部、14は生
成された経路計画データを一旦保持する経路計画データ
バッファである。15は経路計画データに沿った工具の
経路と工作機械の性能との比較に応じて評価データを生
成する評価部、16は生成された評価データを一旦保持
する評価データバッファである。17は評価データに基
づいて、評価された移動速度で所定の位置を通過可能な
ように毎補間時の移動速度を決定する加減速部、18は
加減速部17によって決定された移動速度を用いて単位
時間当たりの移動量を算出し、工具の位置を決定してサ
ーボ制御部19に出力する補間部である。なお、形状デ
ータ算出部13は、入力された加工形状データを保持
し、その加工形状データに応じて各種演算を実行するも
のである。
BEST MODE FOR CARRYING OUT THE INVENTION An embodiment of the present invention will be described below. Embodiment 1. 1 is a block diagram showing a numerical control system according to Embodiment 1 of the present invention. In FIG.
Reference numeral 11 denotes an input unit for inputting machining conditions together with machining shape data, and 12 supplies the machining shape data to a shape data calculation unit 13 and also generates path planning data for a tool (processing operation unit) of a machine tool (control target). The route planning unit 14 is a route planning data buffer that temporarily holds the generated route planning data. Reference numeral 15 is an evaluation unit that generates evaluation data according to the comparison between the tool path along the path plan data and the performance of the machine tool, and 16 is an evaluation data buffer that temporarily holds the generated evaluation data. Reference numeral 17 is an acceleration / deceleration unit that determines the movement speed at each interpolation so that a predetermined position can be passed at the evaluated movement speed based on the evaluation data. Reference numeral 18 is the movement speed determined by the acceleration / deceleration unit 17. Is an interpolating unit that calculates the amount of movement per unit time, determines the position of the tool, and outputs it to the servo control unit 19. The shape data calculation unit 13 holds the input machining shape data and executes various calculations according to the machining shape data.

【0016】次に動作について説明する。この実施の形
態1は、経路計画部12が経路計画データを作り、形状
データ算出部13は、経路以外の特徴量は単純なものし
か求めないようにしたものである。図1において、ま
ず、入力部11から加工形状データ、工具データ、加工
モード、ピッチや切削経路計画データ間の繋ぎ方を指定
する情報等の加工モードに付随する情報、送り速度、主
軸回転数等の加工条件を入力する。経路計画部12は、
形状データ算出部13に対して加工形状データを与え
て、形状データ算出部13に加工形状データを記憶させ
る。また、経路計画部12は、入力された加工モードに
基づいて、どのようなパターンで工具を移動させて加工
を行うかを示す経路計画データを作成する。ここで、経
路計画データは、図2に示すように、経路を算出する際
の元になる経路を表すパラメトリック曲線分(以下、経
路計画パスと呼ぶ)、切削加工用か早送り用かを区別す
る情報、指令送り速度、主軸回転数等が含まれるデータ
の集合体であるとする。例えば、図3に示すような加工
形状対象の全領域に対する走査線加工モードの場合に
は、経路計画部12は、予め定義された「加工形状デー
タの包含領域を算出する」インタフェースを使って、経
路計画部12から形状データ算出部13に対して、加工
形状データを構成する少なくとも一つ以上の面を規定す
る情報を与え、形状データ算出部13から図4に示すよ
うな包含領域を取得し、その包含領域を構成する最下面
内にXY平面に並行に経路計画データを作成する。さら
に、走査線加工モードに付随する情報としては、図3に
示すような往復パスか、図5に示すような一方向パスか
という加工方向を指定する情報や、切削経路計画パス間
を図6に示すように円弧で繋ぐか、図7に示すように直
線で繋ぐかという情報等が含まれる。また、図8に示す
ような面沿い加工モードの場合には、予め定義された
「指定した面を取得する」インタフェースを使って、指
定した面を取得し、その面内に経路計画データを作成す
る。他にも様々な加工モードに対する経路計画データの
対応があるが、それらはこの発明の本質に何ら影響を及
ぼすものではないので省略する。また、経路計画データ
は、経路を算出する際の元になる経路を表す方法とし
て、上記では例えば、パラミトリック曲線分を用いた
が、その他の手段によって表現されても良い。例えば、
加工面をボールエンドミル工具半径分外側にオフセット
したオフセット面と、工具の中心軸を含む工具操作面と
の交線(この交線が工具経路になる)を求めて工具位置
を算出する方法を用いる場合には、工具走査面を一意に
決定する情報、例えば、工具走査面が平面の場合、平面
上の一点と法線ベクトルとしても良い。このとき工具経
路上の一点を指定するには、工具経路の一端をパラメー
タaとし、もう一端をパラメータbとして、aからbの
間の値を指定して、一意の一点を得られるようになって
いれば良い。加工が実行されると、経路計画部12は、
送り速度、機械の許容最大加速度等の性能を表すデータ
から、先読み距離を算出し、先読み距離以上の長さを持
つ経路計画データを上記のような加工モードに基づいて
生成し、経路計画データバッファ14にバッファリング
する。
Next, the operation will be described. In the first embodiment, the route planning unit 12 creates route planning data, and the shape data calculating unit 13 only obtains simple feature amounts other than the route. In FIG. 1, first of all, information accompanying the machining mode such as machining shape data, tool data, machining mode, information specifying the connection between pitch and cutting path plan data, etc. from the input unit 11, feed rate, spindle rotational speed, etc. Enter the processing conditions of. The route planning unit 12
The processed shape data is given to the shape data calculation unit 13, and the processed shape data is stored in the shape data calculation unit 13. In addition, the route planning unit 12 creates route planning data indicating in what pattern the tool should be moved to perform machining based on the input machining mode. Here, as shown in FIG. 2, the path planning data distinguishes between a parametric curve portion (hereinafter, referred to as a path planning path) representing a path that is a basis for calculating a path, a cutting process, and a rapid feed. It is assumed that it is a collection of data including information, command feed speed, spindle speed, and the like. For example, in the case of the scanning line processing mode for the entire area of the machining shape object as shown in FIG. 3, the path planning unit 12 uses a predefined “calculate the inclusion area of machining shape data” interface, The path planning unit 12 gives the shape data calculation unit 13 information that defines at least one surface forming the processed shape data, and the shape data calculation unit 13 acquires the inclusion area as shown in FIG. , Path planning data is created in parallel with the XY plane in the lowermost surface forming the inclusion area. Further, as the information associated with the scanning line machining mode, information for designating a machining direction such as a reciprocating path as shown in FIG. 3 or a unidirectional path as shown in FIG. Information such as whether to connect with a circular arc as shown in or to connect with a straight line as shown in FIG. 7 is included. Further, in the case of the machining along a surface as shown in FIG. 8, the specified surface is acquired by using a predefined “acquire specified surface” interface, and route planning data is created in the surface. To do. There are other correspondences of path planning data for various processing modes, but they are omitted because they do not affect the essence of the present invention. Further, the route planning data uses, for example, the parametric curve as a method of expressing the route that is the basis for calculating the route, but may be expressed by other means. For example,
Use the method of calculating the tool position by finding the intersection line (this intersection line becomes the tool path) between the offset surface, which is the outside of the radius of the ball end mill tool radius, and the tool operation surface including the tool center axis. In this case, information for uniquely determining the tool scanning plane, for example, when the tool scanning plane is a plane, one point on the plane and a normal vector may be used. At this time, in order to specify one point on the tool path, one end of the tool path is set as the parameter a and the other end is set as the parameter b, and a value between a and b is specified so that a unique point can be obtained. I'm good. When the processing is executed, the route planning unit 12
The look-ahead distance is calculated from the data that shows the performance such as the feed rate and the maximum allowable acceleration of the machine, and the path planning data with a length longer than the look-ahead distance is generated based on the above processing mode, and the path planning data buffer is created. Buffer to 14.

【0017】評価部15は、経路計画データバッファ1
4から経路計画データを取り出す。評価部15では、取
り出した経路計画データの他に、常に現在の評価位置と
その経路計画パスのパラメータを保持している。評価部
15は、予め定義された「経路計画データと、現在のパ
ラメータと、サンプリング間隔とを形状データ算出部1
3に与えて、経路計画パスに沿って与えられたサンプリ
ング間隔で工具と加工形状が接する位置を算出してその
座標値と曲率を返す」インタフェースを使って、座標値
と曲率を取得する。なお、ここでは、固定のサンプリン
グ間隔を用いてサンプリングを行ったが、例えば、評価
部15から形状データ算出部13に、現在評価点、現在
評価点からの距離や適切なサンプリング間隔を形状デー
タ算出部13が自動で決定することを規定する情報を与
えたり、また、評価部15は形状データ算出部13から
パラメータや接ベクトルを取得するようにしても良い。
以下では、サンプリング間隔を形状データ算出部13が
自動決定する際のインタフェースの一例を挙げる。例え
ば、評価部15から適切なサンプリング間隔を形状デー
タ算出部13が自動で決定することを規定する情報とし
て、自動サンプリングオンの情報を渡すようにし、形状
データ算出部13では毎回の自動サンプリングした際の
経路計画パスのパラメータと座標値を保持しておくとす
ると、このときのインタフェースを「形状データ算出部
13に自動サンプリングオンのフラグを与えて、経路計
画データに含まれる経路計画パスに沿って与えられたサ
ンプリング間隔で工具と加工形状が接する位置を算出し
てその座標値と曲率を返す」とすることにより、形状デ
ータ算出部13が自動的に加工形状を必要な精度で加工
するために十分なサンプリング間隔を毎回の要求毎に動
的に変更して、座標値とその座標値を与える経路計画パ
スのパラメータ、曲率を得ることができる。また、経路
計画データを毎回評価部15から形状データ算出部13
に渡す以外に、例えば、「経路計画データを形状データ
算出部13に与えて記憶保持させる(記号I・Aとす
る)」インタフェースを定義しておき、未評価の経路計
画データを評価する初回に一度だけ、これから評価する
経路計画データを形状データ算出部13に保持させる方
法を採っても良い。このインタフェースと「現在のパラ
メータとサンプリング間隔を形状データ算出部13に与
えて、経路計画パスに沿って与えられたサンプリング間
隔で工具と加工形状が接する位置を算出して、その座標
値と曲率を返す(記号I・Bとする)」インタフェース
を使って、評価データを作成すると、インタフェースの
呼び出し順として次のようになる。 「I・A」→「I・B」→「I・B」→「I・B」→・・・ →「I・B」→「I・A」→「I・B」→・・・ ここで、とのタイミングで経路計画データが更新さ
れており、,に続く「I・B」インタフェースによ
って各々の経路計画データが評価される。次に評価部1
5は、形状データ算出部13から受け取った曲率等の経
路形状の変化を表す量と、許容加速度等の機械性能を表
す量からユーザから指令された送り速度で安全に通過で
きるかを検証し、指令された送り速度で通過できない個
所においては、送り速度を減じる。このように送り速度
を減じることをクランプすると言い、クランプされる位
置をクランプ点もしくはクランプ位置と言う。例えば、
経路形状の変化を表す量として曲率を用い、機械性能を
表す量として機械の許容最大加速度を用いれば、特開平
2−137006号公報に示された方法により、機械性
能以内で最大の送り速度を決定することができる。評価
部15は、このようにして評価した各点における通過速
度と曲率と座標値と経路計画パスのパラメータをセット
にして評価データバッファにバッファリングする。
The evaluation unit 15 uses the route planning data buffer 1
4. Take route planning data from 4. In addition to the extracted route planning data, the evaluation unit 15 always holds the current evaluation position and the parameters of the route planning path. The evaluation unit 15 calculates the previously defined “path planning data, current parameters, and sampling intervals” by the shape data calculation unit 1
3 to calculate the position where the tool and the machining shape are in contact with each other at a given sampling interval along the path planning path and return the coordinate value and the curvature thereof ", and obtain the coordinate value and the curvature. Although the sampling is performed using the fixed sampling interval here, for example, the evaluation unit 15 causes the shape data calculation unit 13 to calculate the current evaluation point, the distance from the current evaluation point, and an appropriate sampling interval. Information for defining that the unit 13 automatically determines may be given, or the evaluation unit 15 may acquire the parameter or the tangent vector from the shape data calculation unit 13.
In the following, an example of an interface when the shape data calculation unit 13 automatically determines the sampling interval will be given. For example, when the automatic sampling-on information is passed as the information defining that the shape data calculation unit 13 automatically determines an appropriate sampling interval from the evaluation unit 15, when the shape data calculation unit 13 automatically samples each time. Assuming that the parameters and coordinate values of the route planning path of are stored, the interface at this time is set to "the shape data calculating unit 13 is given a flag of automatic sampling ON, and the route planning path is included in the route planning data. By calculating the position where the tool and the machining shape are in contact with each other at the given sampling interval and returning the coordinate value and curvature, the shape data calculation unit 13 automatically processes the machining shape with the required accuracy. Dynamically change a sufficient sampling interval for each request to provide coordinate values and the parameters of the path planning path that give those coordinate values. , It is possible to obtain a curvature. In addition, the route planning data is transferred from the evaluation unit 15 to the shape data calculation unit 13 every time.
In addition to the above, for example, an interface "gives route plan data to shape data calculation unit 13 to store and store (symbol I / A)" is defined, and unevaluated route plan data is first evaluated. A method may be adopted in which the shape data calculation unit 13 holds the path planning data to be evaluated only once. This interface and "The current parameters and sampling intervals are given to the shape data calculation unit 13, the positions where the tool and the machining shape are in contact are calculated at the given sampling intervals along the path planning path, and their coordinate values and curvatures are calculated. When the evaluation data is created using the "return (denoted by symbol I / B)" interface, the calling order of the interface is as follows. "IA" → "IB" → "IB" → "IB" → ... → "IB" → "IA" → "IB" → ... here The route plan data is updated at the timings of and, and each route plan data is evaluated by the "IB" interface following the. Next, evaluation section 1
Reference numeral 5 verifies whether or not it is possible to safely pass at the feed speed instructed by the user from the amount indicating the change in the path shape such as the curvature received from the shape data calculation unit 13 and the amount indicating the mechanical performance such as the allowable acceleration, The feed rate is reduced where it cannot pass at the commanded feed rate. Decreasing the feed rate in this way is called clamping, and the position to be clamped is called the clamp point or clamp position. For example,
If the curvature is used as the quantity representing the change in the path shape and the maximum allowable machine acceleration is used as the quantity representing the machine performance, the maximum feed rate within the machine performance can be obtained by the method disclosed in JP-A-2-137006. You can decide. The evaluation unit 15 sets the passing speed, the curvature, the coordinate value, and the parameter of the route planning path at each point evaluated in this way as a set and buffers them in the evaluation data buffer.

【0018】加減速部17は、常に現在の補間位置、現
在の補間位置に対応するパラメータ、現在の送り速度、
現在の補間点を求めた際に使用した評価データを保持し
ており、現在の送り速度と、送り速度の最大オーバーラ
イド率と、機械の最大許容加速度と、制御周期を用いて
予め設定されている加減速パターンに基づいて、減速に
要する距離(以下、減速距離と呼ぶ)を算出する。も
し、保持している評価データがクランプ点への参照を保
持している場合には、そのクランプ点への距離と減速距
離とを比較して、そのクランプ点においてクランプ速度
になるように、現在位置から減速を開始すべきか否かを
決定し、減速すべきであると判断した場合には、予め設
定されている速度パターンに従って減速した速度を求め
て、補間部18に出力する。補間部18は、加減速部1
7から今回の送り速度を受け取り、制御周期当たりの補
間長さを算出し、予め定義された「形状データ算出部1
3に補間長さを与えて、工具経路上に現在の補間位置か
ら与えられた補間長さの位置を求め、その座標値と、そ
の位置を与えた経路計画のパラメータを補間部18に返
す」インタフェースを使って、補間点とパラメータを得
る。ここで、経路計画部12により作成される経路計画
データと、評価部15により作成される評価データは、
少なくとも機械の最大速度から最小速度に減速できるよ
うに、補間点より先行した距離(先読み距離)分を常に
保てるように、加工実行時に生成される。このように、
補間に先んじて、これらのデータを一定量保つように生
成するには、例えば、経路計画部12は、常に評価部1
5によって消費されていく経路計画データバッファ14
を監視して、所定量以下になった場合に、経路計画デー
タを新たに生成するようにする。また、評価部15も常
に補間部18によって消費されていく評価データバッフ
ァ16を監視して、所定量以下になった場合に、評価デ
ータを新たに生成するようにする。なお、当然、補間点
も加工実行時に生成されるものである。また、この実施
の形態1においては、図1に示したように、形状データ
算出部13とその他の機能部とが同一のハードウェア上
に実現されているが、例えば、図9に示すように、形状
データ算出部13とその他の機能部とを別々のハードウ
ェア上に実現し、両ハードウェア間をネットワークやシ
リアル等で接続した上で、上記のように定義したインタ
フェースを使ってシステムを構成しても良い。
The accelerating / decelerating unit 17 constantly calculates the current interpolation position, the parameter corresponding to the current interpolation position, the current feed speed,
It holds the evaluation data used when obtaining the current interpolation point, and is preset using the current feed rate, the maximum feed rate override rate, the maximum allowable machine acceleration, and the control cycle. A distance required for deceleration (hereinafter referred to as deceleration distance) is calculated based on the acceleration / deceleration pattern. If the held evaluation data holds a reference to the clamp point, the distance to the clamp point is compared with the deceleration distance, and the current clamp speed is set at the clamp point. It is determined whether or not deceleration should be started from the position, and when it is determined that deceleration should be performed, the decelerated speed is obtained according to a preset speed pattern and is output to the interpolation unit 18. The interpolation unit 18 is the acceleration / deceleration unit 1
7, the current feed speed is received, the interpolation length per control cycle is calculated, and the previously defined “shape data calculation unit 1
The interpolation length is given to 3 to obtain the position of the interpolation length given from the current interpolation position on the tool path, and the coordinate value and the parameter of the path plan giving the position are returned to the interpolation unit 18. " Use the interface to get the interpolation points and parameters. Here, the route planning data created by the route planning unit 12 and the evaluation data created by the evaluating unit 15 are
It is generated at the time of machining so that the distance preceding the interpolation point (prefetch distance) can always be maintained so that at least the maximum speed of the machine can be reduced to the minimum speed. in this way,
In order to generate these data so as to keep a fixed amount prior to the interpolation, for example, the route planning unit 12 always uses the evaluation unit 1
Route planning data buffer 14 consumed by 5
Is monitored, and when the amount becomes equal to or less than a predetermined amount, route planning data is newly generated. The evaluation unit 15 also constantly monitors the evaluation data buffer 16 consumed by the interpolation unit 18, and newly generates evaluation data when the amount becomes less than a predetermined amount. Naturally, the interpolation points are also generated when the processing is executed. Further, in the first embodiment, as shown in FIG. 1, the shape data calculation unit 13 and the other functional units are realized on the same hardware. For example, as shown in FIG. , The shape data calculation unit 13 and other functional units are implemented on separate hardware, and the hardware is connected by a network or serial, and then the system is configured by using the interface defined above. You may.

【0019】以上のように、この実施の形態1によれ
ば、予め定義されたインタフェースを用いて、形状デー
タ算出部13と各機能部とを接続することにより、形状
評価の際に、直接、形状データからの情報を利用できる
ので、正確で安定した速度制御が可能になり、補間の際
にも、直接、形状データ上を補間することができるの
で、精度の高い補間点算出が可能になるという効果が得
られる。
As described above, according to the first embodiment, the shape data calculation unit 13 and each functional unit are connected using a pre-defined interface, so that the shape data calculation unit 13 and the functional units are directly connected to each other during shape evaluation. Since information from the shape data can be used, accurate and stable speed control is possible, and since the shape data can be directly interpolated during interpolation, highly accurate interpolation point calculation is possible. The effect is obtained.

【0020】実施の形態2.この実施の形態2は、形状
データ算出部13が経路計画データを作り、座標以外の
特徴量も返すようにしたものである。この実施の形態2
のシステム構成は、実施の形態1の図1に示したものと
変わらない。また、実施の形態1の図9に示したよう
に、形状データ算出部13とその他の機能部とを別々の
ハードウェア上に実現しても良い。実施の形態1と比較
して異なるのは、経路計画部12と形状データ算出部1
3との機能分担と、その間に定義されるインタフェース
の違いのみである。以下、実施の形態1と異なる点につ
いてのみ説明する。
Embodiment 2. In the second embodiment, the shape data calculation unit 13 creates path planning data and also returns a feature amount other than the coordinates. This Embodiment 2
The system configuration of is the same as that shown in FIG. 1 of the first embodiment. Further, as shown in FIG. 9 of the first embodiment, the shape data calculation unit 13 and other functional units may be realized on separate hardware. The difference from the first embodiment is that the route planning unit 12 and the shape data calculation unit 1 are different.
The difference is only the functional division with 3 and the interface defined between them. Only the points different from the first embodiment will be described below.

【0021】まず、入力部11から加工形状データ、工
具データ、加工モード、ピッチや切削経路計画データ間
の繋ぎ方を規定する情報等の加工モードに付随する情
報、送り速度、主軸回転数等の加工条件を入力する。経
路計画部12は、予め定義された「形状データ算出部1
3に対して、形状加工データと、工具データと、加工モ
ードと、加工モードに付随する情報を与えて、形状デー
タ算出部13にそれらを記憶させる」インタフェースを
使って、形状データ算出部13にそれらのデータを記憶
保持させる。加工を実行すると、経路計画部12は、送
り速度、機械の許容最大加速度等の性能を表すデータか
ら、先読み距離を算出し、予め定義された「形状データ
算出部13に対して先読み距離を与えて、先読み距離以
上の長さを持つ経路計画データを加工モードに応じて算
出し、少なくとも1つ以上の経路計画データを返す」イ
ンタフェースを使って、経路計画データを取得する。例
えば、加工モードを走査線加工モードとし、走査線加工
モードに付随する情報を、走査線間のピッチ情報、切削
進行方向情報、往復加工か一方向加工かを指定する情報
とすると、これらを渡すインタフェースを定義してお
く。また、加工モードが等高線加工モードの場合には、
付随する情報として、等高線のピッチ情報、周回方向情
報、図10に示すような等高周回優先か、図11に示す
ような島優先かを指定する情報、切削用経路計画パス間
の繋ぎ方を指定する情報等とすれば、これらを形状デー
タ算出部13に与えて、経路計画データを得るインタフ
ェースを定義しておく。なお、経路計画部12から形状
データ算出部13に対して、加工形状データを構成する
少なくとも一つ以上の面を規定する情報、加工形状デー
タを構成する面以外の少なくとも一つ以上の面を規定す
る情報、のうちの少なくともいずれか一つと、加工種類
を規定する情報と、加工種類に付随する情報とを与え形
状データ算出部13から経路計画部12は、経路計画デ
ータを得るインタフェースとしても良い。
First, from the input section 11, machining shape data, tool data, machining mode, information accompanying the machining mode such as information defining the connection between the pitch and the cutting path plan data, the feed rate, the spindle rotational speed, etc. Enter the processing conditions. The route planning unit 12 uses the previously defined “shape data calculation unit 1
3 is given to the shape data calculation tool, the tool data, the processing mode, and information associated with the processing mode, and the information is stored in the shape data calculation unit 13. Store and hold those data. When the machining is executed, the path planning unit 12 calculates the look-ahead distance from the data indicating the performance such as the feed rate and the maximum allowable acceleration of the machine, and gives the pre-defined distance to the pre-defined "shape data calculation unit 13". Then, the route planning data having a length equal to or longer than the look-ahead distance is calculated according to the processing mode, and at least one or more route planning data is returned. For example, if the processing mode is the scanning line processing mode, and the information accompanying the scanning line processing mode is the pitch information between scanning lines, the cutting direction information, and the information designating reciprocating processing or unidirectional processing, these are passed. Define the interface. Also, when the processing mode is the contour line processing mode,
As accompanying information, contour line pitch information, orbiting direction information, information for designating contour orbiting priority as shown in FIG. 10 or island priority as shown in FIG. 11, and how to connect cutting path planning paths. Given the information to be designated, these are given to the shape data calculation unit 13 to define an interface for obtaining the route planning data. In addition, the route planning unit 12 instructs the shape data calculation unit 13 to define information for defining at least one surface forming the processed shape data and at least one surface other than the surface forming the processed shape data. At least one of the information to be provided, the information that defines the machining type, and the information that is associated with the machining type are given, and the shape data calculation unit 13 to the route planning unit 12 may be an interface that obtains the route planning data. .

【0022】以上のように、この実施の形態2によれ
ば、経路計画部12と形状データ算出部13との間に、
予め定義されたインタフェースを用いて接続することに
より、形状データを用いた柔軟でバリエーションに富む
経路計画データを作成することが可能になるという効果
が得られる。
As described above, according to the second embodiment, between the route planning unit 12 and the shape data calculation unit 13,
By connecting using a pre-defined interface, it is possible to create flexible and varied route planning data using shape data.

【0023】実施の形態3.この実施の形態3は、形状
データ算出部13が経路計画データと評価データとを管
理するようにしたものである。図12はこの発明の実施
の形態3による数値制御システムを示すブロック図であ
り、形状データ算出部13が経路計画部12の機能と評
価部15との機能を内包して、経路計画データバッファ
14と評価データバッファ16との管理を行い、加減速
部17と補間部18とは、形状データ算出部13に対し
て予め定義されたインタフェースを用いて必要な情報を
得るものである。
Embodiment 3. In the third embodiment, the shape data calculation unit 13 manages the route planning data and the evaluation data. FIG. 12 is a block diagram showing a numerical control system according to the third embodiment of the present invention, in which the shape data calculation unit 13 includes the function of the route planning unit 12 and the function of the evaluation unit 15, and the route planning data buffer 14 And the evaluation data buffer 16 are managed, and the acceleration / deceleration unit 17 and the interpolation unit 18 obtain necessary information using an interface defined in advance for the shape data calculation unit 13.

【0024】次に動作について説明する。まず、入力部
11から加工形状データ、工具データ、加工モード、ピ
ッチや切削経路計画データ間の繋ぎ方を規定する情報等
の加工モードに付随する情報、送り速度、主軸回転数等
の加工条件を入力し、形状データ算出部13に記憶保持
させる。加工を実行すると、経路計画部12が、送り速
度と機械の許容最大加速度等の性能を表すデータから先
読み距離を算出し、予め定義された「形状データ算出部
13に対して、先読み距離を与えて、先読み距離以上の
長さを持つ経路計画データを加工モードに応じて算出
し、少なくとも一つ以上の経路計画データを返す」イン
タフェースを使って経路計画データを取得し、経路計画
データバッファ14にバッファリングする。次に、評価
部15が、経路計画データバッファ14から経路計画デ
ータを取り出し、予め定義された「サンプリング間隔を
形状データ算出部13に与えて、経路計画データに含ま
れる経路計画パスに沿って与えられたサンプリング間隔
で、工具と加工形状が接する位置を算出して、その座標
値と曲率とを返す」インタフェースを使って、座標値と
曲率を取得する。ここでは、固定のサンプリング間隔を
用いてサンプリングを行ったが、その他の方法によって
サンプリング間隔を決定しても良く、また、座標値と曲
率以外の経路形状の特徴量を得るようにしても良い。次
に、曲率等の経路形状の変化を表す量と、許容加速度等
の機械性能を表す量からユーザから指令された送り速度
で安全に通過できるか検証し、指令された送り速度で通
過できない場合には、送り速度をクランプする。形状デ
ータ算出部13は、このようにして、評価した各点にお
ける通加速度と曲率と座標値とパラメータとをセットに
して評価データバッファ16に収める。
Next, the operation will be described. First, from the input section 11, processing shape data, tool data, processing mode, information related to the processing mode such as information that defines the connection between the pitch and the cutting path plan data, and the processing conditions such as the feed rate and the spindle rotation speed are set. It is input and stored in the shape data calculation unit 13 for storage. When the machining is executed, the route planning unit 12 calculates the look-ahead distance from the data indicating the performance such as the feed speed and the maximum allowable acceleration of the machine, and gives the pre-read distance to the predefined “shape data calculation unit 13”. Then, the route planning data having a length equal to or greater than the look-ahead distance is calculated according to the processing mode, and at least one or more route planning data is returned. Buffer. Next, the evaluation unit 15 takes out the route planning data from the route planning data buffer 14, gives the predefined “sampling interval to the shape data calculating unit 13 and gives it along the route planning path included in the route planning data. The coordinate value and the curvature are acquired using the interface which calculates the position where the tool and the machining shape are in contact with each other at the sampling interval and returns the coordinate value and the curvature. Here, although the sampling is performed using the fixed sampling interval, the sampling interval may be determined by another method, or the feature amount of the path shape other than the coordinate value and the curvature may be obtained. Next, verify whether the vehicle can safely pass at the feed speed commanded by the user based on the amount of change in path shape such as curvature and the amount of mechanical performance such as allowable acceleration. To clamp the feed rate. In this way, the shape data calculation unit 13 stores the evaluation values in the evaluation data buffer 16 as a set of the through acceleration, curvature, coordinate value and parameter at each evaluated point.

【0025】加減速部17は、常に現在の補間位置、現
在の補間位置に対応する経路計画パスのパラメータ、現
在の送り速度を保持しており、現在の送り速度と、現在
の送り速度の最大オーバーライド率と、機械の最大許容
加速度と、制御周期とを用いて、予め設定されている加
減速パターンに基づいて、減速に要する距離(減速距
離)を算出する。次に、予め定義された「現在補間点
と、現在パラメータと、現在送り速度と、減速距離とを
与えて、減速距離内で減速補間点より先にあるクランプ
点のうち最も手前にあるクランプ点への距離と、クラン
プ速度とを返すと共に、返り値にクランプ点検出(識別
子)を返し、減速距離内にクランプ点がない場合には、
返り値にクランプ点未検出(識別子)を返す」インタフ
ェースを使って、クランプ点への距離とクランプ速度と
を取得する。クランプ点が検出された場合には、クラン
プ点においてクランプ速度になるように、現在位置から
減速を開始すべきか否かを決定し、減速すべきであると
判断した場合には、予め設定されている速度パターンに
従って減速した速度を求めて補間部18に出力する。
The acceleration / deceleration unit 17 always holds the current interpolation position, the parameter of the path planning path corresponding to the current interpolation position, and the current feed speed, and the current feed speed and the maximum of the current feed speed. A distance required for deceleration (deceleration distance) is calculated based on a preset acceleration / deceleration pattern using the override rate, the maximum allowable acceleration of the machine, and the control cycle. Next, by giving a pre-defined "current interpolation point, current parameter, current feed speed, and deceleration distance, the clamp point located closest to the deceleration interpolation point before the deceleration interpolation point is given. To the return value and the clamp point detection (identifier) as the return value. If there is no clamp point within the deceleration distance,
Using the interface that returns the clamp point undetected (identifier) to the return value, the distance to the clamp point and the clamp speed are acquired. When the clamp point is detected, it is decided whether or not to start deceleration from the current position so that the clamp speed is set at the clamp point, and if it is determined that the deceleration should be performed, it is set in advance. The speed decelerated according to the existing speed pattern is calculated and output to the interpolation unit 18.

【0026】補間部18は、加減速部17から今回の速
度を受け取り、制御周期当たりの補間長さを算出し、予
め定義された「形状データ算出部13に補間長さを与え
て、現在の補間位置から与えられた補間長さの位置を経
路計画パスに沿って求め、その座標値とその位置を与え
た経路計画データのパラメータを補間部18に返す」イ
ンタフェースを使って、補間点とパラメータとを得る。
ここで、経路計画部12により作成される経路計画デー
タと、評価部15により作成される評価データは、少な
くとも機械の最大速度から最小速度に減速できるよう
に、補間点より先行した距離(先読み距離)分を常に保
てるように、加工実行時に生成される。このように補間
に先んじてこれらのデータを一定量保つように生成する
には、例えば、形状データ算出部13は、常に評価機能
によって消費されていく経路計画データバッファ14を
監視して、所定量以下になった場合に、経路計画データ
を新たに生成するようにする。また、評価部15も常に
補間部18によって消費されていく評価データバッファ
16を監視して、所定量以下になった場合に、評価デー
タを新たに生成するようにする。なお、当然、補間点も
加工実行時に生成されるものである。なお、補間部18
から形状データ算出部13に対して、処理作用部の経路
計画データのパラメータ、現在補間点、現在補間点から
の距離、のうちの少なくともいずれか一つを与え、形状
データ算出部13から補間部18は、処理作用部の経路
上の座標値、経路計画データのパラメータうちの少なく
ともいずれか一つを得るインタフェースとしても良い。
また、この実施の形態3においては、図12に示したよ
うに、形状データ算出部13とその他の機能部とは同一
のハードウェア上に実現されているが、例えば、図13
に示すように、形状データ算出部13とその他の機能部
とを別々のハードウェア上に実現し、両ハードウェア間
をネットワークやシリアル等で接続した上で、上記のよ
うに定義したインタフェースを使ってシステムを構成し
ても良い。
The interpolation unit 18 receives the current speed from the acceleration / deceleration unit 17, calculates the interpolation length per control cycle, gives the interpolation length to the previously defined "shape data calculation unit 13, and calculates the current length. The position of the interpolation length given from the interpolation position is obtained along the route planning path, and the coordinate values and the parameters of the route planning data which gave the position are returned to the interpolating unit 18. And get.
Here, the route planning data created by the route planning unit 12 and the evaluation data created by the evaluation unit 15 are distances (prefetch distances) preceding the interpolation point so that at least the maximum speed of the machine can be reduced to the minimum speed. ) Generated during processing so that the minutes can always be kept. In order to generate these data so as to keep a certain amount of them prior to interpolation, for example, the shape data calculation unit 13 constantly monitors the route planning data buffer 14 that is consumed by the evaluation function to generate a predetermined amount. When the following occurs, the route planning data is newly generated. The evaluation unit 15 also constantly monitors the evaluation data buffer 16 consumed by the interpolation unit 18, and newly generates evaluation data when the amount becomes less than a predetermined amount. Naturally, the interpolation points are also generated when the processing is executed. The interpolation unit 18
From the shape data calculation unit 13 to the shape data calculation unit 13, at least one of the parameters of the path planning data of the processing action unit, the current interpolation point, and the distance from the current interpolation point is given. The interface 18 may be an interface for obtaining at least one of coordinate values on the route of the processing operation unit and parameters of the route planning data.
Further, in the third embodiment, as shown in FIG. 12, the shape data calculation unit 13 and the other functional units are realized on the same hardware.
As shown in, the shape data calculation unit 13 and other functional units are realized on separate hardware, and the two hardware are connected by a network or serial, and then the interface defined as above is used. The system may be configured as follows.

【0027】以上のように、この実施の形態3によれ
ば、上記のように構成することにより、経路計画部12
と評価部15といった形状データの情報を扱う機能部
と、加減速部および補間部18のように速度決定やサー
ボへの指令値生成を担当する機能部とを切り分けること
ができるので、例えば、経路計画部12と形状データ算
出部13と評価部15とをCAMメーカが提供し、加減
速部17や補間部18以降の機能部を、数値制御メーカ
が提供する数値制御システムを構築することが可能にな
るという効果が得られる。このような数値制御システム
においては、形状評価の際に、直接、形状データからの
情報を利用できるので、正確で安定した速度制御が可能
になり、補間の際にも、直接、形状データ上を補間する
ことができるので、精度の高い補間点算出が可能になる
と共に、CAMメーカの持つ豊富な加工モードを使用で
きるようになるという効果が得られる。
As described above, according to the third embodiment, the route planning unit 12 is configured by the above configuration.
Since it is possible to separate the functional unit that handles the information of the shape data such as the evaluation unit 15 and the functional unit that is in charge of the speed determination and the generation of the command value for the servo like the acceleration / deceleration unit and the interpolation unit 18, for example, the route The CAM maker provides the planning unit 12, the shape data calculation unit 13, and the evaluation unit 15, and the numerical control system provided by the numerical control maker can be constructed with the functional units after the acceleration / deceleration unit 17 and the interpolation unit 18. The effect of becoming is obtained. In such a numerical control system, since the information from the shape data can be directly used in shape evaluation, accurate and stable speed control can be performed, and the shape data can be directly corrected in interpolation. Since the interpolation can be performed, it is possible to calculate the interpolation points with high accuracy, and it is possible to use the various machining modes of the CAM maker.

【0028】[0028]

【発明の効果】以上のように、この発明によれば、入力
された加工形状データを保持し、その加工形状データに
応じた属性データ、およびその加工形状データに応じた
処理作用部の経路上の座標データのうちの少なくともい
ずれか一方を算出する形状データ算出部と、形状データ
算出部と、その形状データ算出部以外の少なくともいず
れか一つの機能部との間に設けられ、それら機能部が形
状データ算出部から必要なデータが得られるように予め
定義されたインタフェースとを備えるように構成したの
で、形状評価の際に、加工形状データに応じた形状デー
タ算出部からの属性データを直接に利用することができ
るので、正確で安定した速度制御が可能になり、また、
補間の際に、加工形状データに応じた形状データ算出部
からの座標データを直接に利用することができるので、
精度の高い補間点を算出することが可能になる効果があ
る。
As described above, according to the present invention, the input machining shape data is held, and the attribute data corresponding to the machining shape data and the path of the processing action section corresponding to the machining shape data are stored. Is provided between the shape data calculation unit that calculates at least one of the coordinate data, the shape data calculation unit, and at least one functional unit other than the shape data calculation unit. Since it is configured to have a pre-defined interface so that necessary data can be obtained from the shape data calculation unit, at the time of shape evaluation, the attribute data from the shape data calculation unit according to the processed shape data can be directly input. Since it can be used, accurate and stable speed control is possible, and
At the time of interpolation, since the coordinate data from the shape data calculation unit corresponding to the processed shape data can be directly used,
There is an effect that it is possible to calculate a highly accurate interpolation point.

【0029】この発明によれば、インタフェースは、評
価部と形状データ算出部との間に設けられ、その定義と
して、評価部から形状データ算出部に対して、処理作用
部の経路計画データのパラメータ、現在評価点、現在評
価点からの距離、サンプリング間隔、適切なサンプリン
グ間隔を形状データ算出部が自動で決定することを規定
する情報、のうちの少なくともいずれか一つを与え、形
状データ算出部から評価部は、処理作用部の座標値、パ
ラメータ、接ベクトル、曲率ベクトル、のうちの少なく
ともいずれか一つを得るように構成したので、評価部で
は、形状データ算出部から処理作用部の座標値、パラメ
ータ、接ベクトル、曲率ベクトル等のデータが正確に得
られる効果がある。
According to the present invention, the interface is provided between the evaluation unit and the shape data calculation unit, and as its definition, the evaluation unit sends the shape data calculation unit a parameter of the route planning data of the processing unit. , The current evaluation point, the distance from the current evaluation point, the sampling interval, and information that specifies that the shape data calculation unit automatically determines an appropriate sampling interval, and the shape data calculation unit Since the evaluation unit is configured to obtain at least one of the coordinate value, the parameter, the tangent vector, and the curvature vector of the processing action unit, the evaluation unit calculates the coordinate of the processing action unit from the shape data calculation unit. There is an effect that data such as a value, a parameter, a tangent vector, and a curvature vector can be accurately obtained.

【0030】この発明によれば、インタフェースは、経
路計画部と形状データ算出部との間に設けられ、その定
義として、経路計画部から形状データ算出部に対して、
加工形状データを構成する少なくとも一つ以上の面を規
定する情報を与え、形状データ算出部から経路計画部
は、それらの包含領域を得るように構成したので、経路
計画部では、投影走査線、投影自由曲線経路計画データ
等の単純な経路計画を作ることができる効果がある。ま
た、経路計画部では、形状データ算出部から包含領域の
データが正確に得られる効果がある。
According to the present invention, the interface is provided between the route planning unit and the shape data calculating unit, and as its definition, the route planning unit sends the shape data calculating unit to the shape data calculating unit.
Given the information defining at least one or more surfaces that form the processed shape data, the path planning unit from the shape data calculation unit is configured to obtain the inclusion area thereof, the path planning unit, the projection scan line, There is an effect that a simple path plan such as projection free curve path plan data can be created. Further, the route planning unit has an effect that the data of the inclusion area can be accurately obtained from the shape data calculation unit.

【0031】この発明によれば、インタフェースは、経
路計画部と形状データ算出部との間に設けられ、その定
義として、経路計画部から形状データ算出部に対して、
加工形状データを構成する少なくとも一つ以上の面を規
定する情報、加工形状データを構成する面以外の少なく
とも一つ以上の面を規定する情報、のうちの少なくとも
いずれか一つと、加工種類を規定する情報と、加工種類
に付随する情報とを与え、形状データ算出部から経路計
画部は、経路計画データを得るように構成したので、形
状データ算出部で走査線、面沿い、等高線、ペンシル、
隅取り等、多様な加工ストラテジに対応した経路計画デ
ータを得ることができる効果がある。
According to the present invention, the interface is provided between the route planning unit and the shape data calculation unit, and as its definition, the route planning unit sends the shape data calculation unit to the shape data calculation unit.
At least one of the information that defines at least one surface that forms the processing shape data and the information that specifies at least one surface other than the surface that forms the processing shape data, and the processing type Information and the information associated with the machining type are given, and the route planning unit is configured to obtain the route planning data from the shape data calculation unit, so the shape data calculation unit scans the lines, along the surface, the contour lines, the pencil,
There is an effect that route planning data corresponding to various processing strategies such as corner cutting can be obtained.

【0032】この発明によれば、入力された加工形状デ
ータを保持し、その加工形状データに応じた属性デー
タ、その加工形状データに応じた処理作用部の経路上の
座標データ、その加工形状データに応じたその処理作用
部の経路計画データ、その経路計画データに沿ったその
処理作用部の経路と制御対象の性能との比較に応じてそ
の処理作用部の移動速度からなる評価データ、のうちの
少なくともいずれか一つを算出する形状データ算出部
と、形状データ算出部と、その形状データ算出部以外の
少なくともいずれか一つの機能部との間に設けられ、そ
れら機能部が形状データ算出部から必要なデータが得ら
れるように予め定義されたインタフェースとを備えるよ
うに構成したので、経路計画部と評価部といった形状デ
ータの情報を扱う機能部と、加減速部と補間部といった
速度決定やサーボへの指令値生成を担当する機能部とを
切り分けることができるため、例えば、形状データ算出
部と経路計画部と評価部とをCAMメーカが提供し、加
減速部や補間部以降の機能部を数値制御メーカが提供す
る数値制御システムを構築することができる。また、形
状評価の際に、加工形状データに応じた形状データ算出
部からの属性データを直接に利用することができるの
で、正確で安定した速度制御が可能になり、また、補間
の際に、加工形状データに応じた形状データ算出部から
の座標データを直接に利用することができるので、精度
の高い補間点を算出することが可能になり、さらに、C
AMメーカの持つ豊富な加工モードを使用することがで
きる効果がある。
According to the present invention, the input machining shape data is held, the attribute data corresponding to the machining shape data, the coordinate data on the route of the processing action portion corresponding to the machining shape data, and the machining shape data thereof. Of the route plan data of the processing action part according to the, and the evaluation data consisting of the moving speed of the processing action part according to the comparison of the route of the processing action part along the route plan data and the performance of the controlled object, Is provided between the shape data calculation unit that calculates at least one of the shape data calculation unit and the shape data calculation unit, and at least one functional unit other than the shape data calculation unit. Since it is configured to have a pre-defined interface so that the necessary data can be obtained from, the function that handles the information of the shape data such as the route planning section and the evaluation section. And a functional unit such as an acceleration / deceleration unit and an interpolating unit, which is in charge of speed determination and servo command value generation, can be separated. For example, a CAM maker provides a shape data calculation unit, a route planning unit, and an evaluation unit. However, it is possible to construct a numerical control system in which the numerical control maker provides functional units after the acceleration / deceleration unit and the interpolation unit. Further, at the time of shape evaluation, since the attribute data from the shape data calculation unit corresponding to the processed shape data can be directly used, accurate and stable speed control can be performed, and at the time of interpolation, Since the coordinate data from the shape data calculation unit corresponding to the processed shape data can be directly used, it becomes possible to calculate an interpolation point with high accuracy.
This has the effect of being able to use the various processing modes that AM makers have.

【0033】この発明によれば、インタフェースは、加
減速部と形状データ算出部との間に設けられ、その定義
として、加減速部から形状データ算出部に対して、現在
補間点と、現在パラメータと、現在送り速度と、減速に
要する距離とを与え、形状データ算出部から加減速部
は、減速に要する距離内で現在補間点よりも先にある送
り速度を減じる点のうちの最も手前にある送り速度を減
じる点への距離と、減じられた送り速度と、送り速度を
減じる点の検出または未検出の識別子とを得るように構
成したので、加減速部では、減速に要する距離内で現在
補間点よりも先にある送り速度を減じる点のうちの最も
手前にある送り速度を減じる点への距離と、減じられた
送り速度と、送り速度を減じる点の検出または未検出の
識別子が正確に得られる効果がある。
According to the present invention, the interface is provided between the acceleration / deceleration unit and the shape data calculation unit, and as its definition, the acceleration / deceleration unit sends the shape data calculation unit a current interpolation point and a current parameter. The current feed speed and the distance required for deceleration are given, and the shape data calculation unit causes the acceleration / deceleration unit to reduce the feed speed before the current interpolation point within the distance required for deceleration. Since it is configured to obtain a distance to a point at which the feed rate is reduced, the reduced feed rate, and the detected or undetected identifier of the point at which the feed rate is reduced, in the acceleration / deceleration unit, within the distance required for deceleration. The distance to the foremost feed rate reducing point before the current interpolation point, the reduced feed rate, and the detected or undetected identifier of the feed rate reducing point are Got exactly There is that effect.

【0034】この発明によれば、インタフェースは、補
間部と形状データ算出部との間に設けられ、その定義と
して、補間部から形状データ算出部に対して、処理作用
部の経路計画データのパラメータ、現在補間点、現在補
間点からの距離、のうちの少なくともいずれか一つを与
え、形状データ算出部から補間部は、処理作用部の経路
上の座標値、経路計画データのパラメータうちの少なく
ともいずれか一つを得るように構成したので、補間部で
は、処理作用部の経路上の座標値、経路計画データのパ
ラメータが正確に得られる効果がある。
According to the present invention, the interface is provided between the interpolating unit and the shape data calculating unit, and as its definition, the parameter from the interpolating unit to the shape data calculating unit is used as a parameter of the route planning data of the processing operation unit. At least one of the current interpolation point and the distance from the current interpolation point is given, and the shape data calculation unit to the interpolation unit determines at least one of coordinate values on the route of the processing action unit and parameters of the route planning data. Since it is configured to obtain either one of them, the interpolating unit has an effect of accurately obtaining the coordinate values on the route of the processing action unit and the parameters of the route planning data.

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

【図1】 この発明の実施の形態1による数値制御シス
テムを示すブロック図である。
FIG. 1 is a block diagram showing a numerical control system according to a first embodiment of the present invention.

【図2】 経路計画データを示す説明図である。FIG. 2 is an explanatory diagram showing route planning data.

【図3】 走査線加工モード(往復)を示す説明図であ
る。
FIG. 3 is an explanatory diagram showing a scanning line processing mode (reciprocating).

【図4】 加工形状および包含領域を示す説明図であ
る。
FIG. 4 is an explanatory diagram showing a processed shape and an inclusion area.

【図5】 走査線加工モード(一方向)を示す説明図で
ある。
FIG. 5 is an explanatory diagram showing a scanning line processing mode (one direction).

【図6】 切削経路計画パス間を円弧で繋ぐ情報を示す
説明図である。
FIG. 6 is an explanatory diagram showing information that connects cutting path planning paths with arcs.

【図7】 切削経路計画パス間を直線で繋ぐ情報を示す
説明図である。
FIG. 7 is an explanatory diagram showing information for connecting cutting path planning paths with straight lines.

【図8】 面沿い加工モードを示す説明図である。FIG. 8 is an explanatory diagram showing a processing mode along a surface.

【図9】 この発明の実施の形態1による数値制御シス
テムの他の例を示すブロック図である。
FIG. 9 is a block diagram showing another example of the numerical control system according to the first embodiment of the present invention.

【図10】 等高周回優先を指定する情報を示す説明図
である。
FIG. 10 is an explanatory diagram showing information for designating a contour orbit priority.

【図11】 島優先を指定する情報を示す説明図であ
る。
FIG. 11 is an explanatory diagram showing information designating island priority.

【図12】 この発明の実施の形態3による数値制御シ
ステムを示すブロック図である。
FIG. 12 is a block diagram showing a numerical control system according to a third embodiment of the present invention.

【図13】 この発明の実施の形態3による数値制御シ
ステムの他の例を示すブロック図である。
FIG. 13 is a block diagram showing another example of the numerical control system according to the third embodiment of the present invention.

【図14】 従来の数値制御装置付き工作機械と、NC
工作機械外に配置されたNCプログラム作成装置から構
成される加工システムを示すブロック図である。
FIG. 14 is a conventional machine tool with a numerical control device and NC.
It is a block diagram which shows the machining system comprised from the NC program creation apparatus arrange | positioned outside the machine tool.

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

11 入力部、12 経路計画部、13 形状データ算
出部、14 経路計画データバッファ、15 評価部、
16 評価データバッファ、17 加減速部、18 補
間部、19 サーボ制御部。
11 input unit, 12 route planning unit, 13 shape data calculation unit, 14 route planning data buffer, 15 evaluation unit,
16 evaluation data buffer, 17 acceleration / deceleration unit, 18 interpolation unit, 19 servo control unit.

Claims (7)

【特許請求の範囲】[Claims] 【請求項1】 加工形状データと共に、加工の種類、制
御対象の処理作用部の種類、その処理作用部の移動速度
等の加工条件が入力される入力部と、 上記入力部による入力データに応じて上記処理作用部の
経路計画データを生成する経路計画部と、 上記経路計画部によって生成された経路計画データに沿
った上記処理作用部の経路と上記制御対象の性能との比
較に応じて、性能を越える位置における移動速度を決定
し、その位置とその位置のパラメータと移動速度からな
る評価データを生成する評価部と、 上記評価部によって生成された評価データに基づいて、
評価された移動速度で所定の位置を通過可能なように毎
補間時の移動速度を決定する加減速部と、 上記加減速部によって決定された移動速度を用いて単位
時間当たりの移動量を算出し、上記処理作用部の位置を
決定してサーボ制御部に出力する補間部と、 入力された加工形状データを保持し、その加工形状デー
タに応じた属性データ、およびその加工形状データに応
じた上記処理作用部の経路上の座標データのうちの少な
くともいずれか一方を算出する形状データ算出部と、 上記形状データ算出部と、その形状データ算出部以外の
少なくともいずれか一つの機能部との間に設けられ、そ
れら機能部が形状データ算出部から必要なデータが得ら
れるように予め定義されたインタフェースとを備えた数
値制御システム。
1. An input unit for inputting processing conditions such as a type of processing, a type of a processing action section to be controlled, a moving speed of the processing action section, and the like, together with the processing shape data, and the input data from the input section. According to a comparison between the performance of the control target and the route of the processing action unit along the route planning data generated by the route planning unit, the route planning unit that generates the route plan data of the processing action unit, Based on the evaluation data generated by the evaluation unit that determines the moving speed at the position exceeding the performance and generates the evaluation data composed of the position and the parameter of the position and the moving speed,
An acceleration / deceleration unit that determines the movement speed at each interpolation so that the vehicle can pass a predetermined position at the evaluated movement speed, and a movement amount per unit time is calculated using the movement speed determined by the acceleration / deceleration unit. Then, the interpolation section that determines the position of the processing action section and outputs it to the servo control section, and the input machining shape data are held, and the attribute data according to the machining shape data and the machining shape data according to the machining shape data are held. Between the shape data calculation unit that calculates at least one of the coordinate data on the path of the processing operation unit, the shape data calculation unit, and at least one functional unit other than the shape data calculation unit. And a numerical control system provided with the above-mentioned functional units, the interface being defined in advance so that necessary data can be obtained from the shape data calculation unit.
【請求項2】 インタフェースは、評価部と形状データ
算出部との間に設けられ、その定義として、 上記評価部から上記形状データ算出部に対して、処理作
用部の経路計画データのパラメータ、現在評価点、現在
評価点からの距離、サンプリング間隔、適切なサンプリ
ング間隔を形状データ算出部が自動で決定することを規
定する情報、のうちの少なくともいずれか一つを与え、 上記形状データ算出部から上記評価部は、処理作用部の
座標値、パラメータ、接ベクトル、曲率ベクトル、のう
ちの少なくともいずれか一つを得ることを特徴とする請
求項1記載の数値制御システム。
2. The interface is provided between the evaluation unit and the shape data calculation unit, and as its definition, the evaluation unit sends the shape data calculation unit a parameter of the route planning data of the processing operation unit, the current At least one of the evaluation point, the distance from the current evaluation point, the sampling interval, and the information defining that the shape data calculation unit automatically determines an appropriate sampling interval is given, and the shape data calculation unit The numerical control system according to claim 1, wherein the evaluation unit obtains at least one of a coordinate value, a parameter, a tangent vector, and a curvature vector of the processing action unit.
【請求項3】 インタフェースは、経路計画部と形状デ
ータ算出部との間に設けられ、その定義として、 上記経路計画部から上記形状データ算出部に対して、加
工形状データを構成する少なくとも一つ以上の面を規定
する情報を与え、 上記形状データ算出部から上記経路計画部は、それらの
包含領域を得ることを特徴とする請求項1記載の数値制
御システム。
3. The interface is provided between the route planning unit and the shape data calculation unit, and as its definition, at least one that forms machining shape data from the route planning unit to the shape data calculation unit. The numerical control system according to claim 1, wherein information for defining the above surfaces is given, and the path planning unit obtains the inclusion area from the shape data calculation unit.
【請求項4】 インタフェースは、経路計画部と形状デ
ータ算出部との間に設けられ、その定義として、 上記経路計画部から上記形状データ算出部に対して、加
工形状データを構成する少なくとも一つ以上の面を規定
する情報、加工形状データを構成する面以外の少なくと
も一つ以上の面を規定する情報、のうちの少なくともい
ずれか一つと、加工種類を規定する情報と、加工種類に
付随する情報とを与え、 上記形状データ算出部から上記経路計画部は、経路計画
データを得ることを特徴とする請求項1記載の数値制御
システム。
4. The interface is provided between the route planning unit and the shape data calculation unit, and as its definition, at least one of the processing plan data is configured from the route planning unit to the shape data calculation unit. At least one of the above information defining the surface and the information defining at least one surface other than the surface forming the processing shape data, the information defining the processing type, and the information associated with the processing type. The numerical control system according to claim 1, wherein the route planning unit obtains route planning data from the shape data calculation unit.
【請求項5】 加工形状データと共に、加工の種類、制
御対象の処理作用部の種類、その処理作用部の移動速度
等の加工条件が入力される入力部と、 評価データに基づいて、評価された移動速度で所定の位
置を通過可能なように毎補間時の移動速度を決定する加
減速部と、 上記加減速部によって決定された移動速度を用いて単位
時間当たりの移動量を算出し、上記処理作用部の位置を
決定してサーボ制御部に出力する補間部と、 入力された加工形状データを保持し、その加工形状デー
タに応じた属性データ、その加工形状データに応じた上
記処理作用部の経路上の座標データ、その加工形状デー
タに応じたその処理作用部の経路計画データ、その経路
計画データに沿ったその処理作用部の経路と上記制御対
象の性能との比較に応じてその処理作用部の移動速度か
らなる評価データ、のうちの少なくともいずれか一つを
算出する形状データ算出部と、 上記形状データ算出部と、その形状データ算出部以外の
少なくともいずれか一つの機能部との間に設けられ、そ
れら機能部が形状データ算出部から必要なデータが得ら
れるように予め定義されたインタフェースとを備えた数
値制御システム。
5. An evaluation part based on the evaluation data together with an input part for inputting processing conditions such as the type of processing, the type of a processing action part to be controlled, and the moving speed of the processing action part together with the processing shape data. An acceleration / deceleration unit that determines the movement speed at each interpolation so that the vehicle can pass a predetermined position at a different movement speed, and a movement amount per unit time is calculated using the movement speed determined by the acceleration / deceleration unit, An interpolation unit that determines the position of the processing action unit and outputs it to the servo control unit, and holds the input machining shape data, attribute data according to the machining shape data, and the processing action according to the machining shape data. Coordinate data on the route of the part, route planning data of the processing action part according to the machining shape data, the route of the processing action part along the route plan data and the performance of the controlled object according to the comparison. processing A shape data calculation unit that calculates at least one of evaluation data composed of the moving speed of the action unit, the shape data calculation unit, and at least one functional unit other than the shape data calculation unit. A numerical control system provided between the functional units, and an interface defined in advance so that necessary data can be obtained from the shape data calculation unit.
【請求項6】 インタフェースは、加減速部と形状デー
タ算出部との間に設けられ、その定義として、 上記加減速部から上記形状データ算出部に対して、現在
補間点と、現在パラメータと、現在送り速度と、減速に
要する距離とを与え、 上記形状データ算出部から上記加減速部は、減速に要す
る距離内で現在補間点よりも先にある送り速度を減じる
点のうちの最も手前にある送り速度を減じる点への距離
と、減じられた送り速度と、送り速度を減じる点の検出
または未検出の識別子とを得ることを特徴とする請求項
5記載の数値制御システム。
6. The interface is provided between the acceleration / deceleration unit and the shape data calculation unit, and as a definition thereof, a current interpolation point, a current parameter, and a current parameter from the acceleration / deceleration unit to the shape data calculation unit. The current feed speed and the distance required for deceleration are given, and the shape data calculation unit causes the acceleration / deceleration unit to reduce the feed speed before the current interpolation point within the distance required for deceleration to the frontmost point. The numerical control system according to claim 5, wherein a distance to a point at which a feed rate is reduced, a reduced feed rate, and a detected or undetected identifier of the point at which the feed rate is reduced are obtained.
【請求項7】 インタフェースは、補間部と形状データ
算出部との間に設けられ、その定義として、 上記補間部から上記形状データ算出部に対して、処理作
用部の経路計画データのパラメータ、現在補間点、現在
補間点からの距離、のうちの少なくともいずれか一つを
与え、 上記形状データ算出部から上記補間部は、処理作用部の
経路上の座標値、経路計画データのパラメータ、のうち
の少なくともいずれか一つを得ることを特徴とする請求
項1または請求項5記載の数値制御システム。
7. The interface is provided between the interpolation unit and the shape data calculation unit, and as its definition, the interpolation unit sends the shape data calculation unit a parameter of the path planning data of the processing unit, the current At least one of the interpolation point and the distance from the current interpolation point is given, and the shape data calculation unit to the interpolation unit determine the coordinate values on the route of the processing action unit and the parameters of the route planning data. The numerical control system according to claim 1 or 5, wherein at least one of the above is obtained.
JP2002020453A 2002-01-29 2002-01-29 Numerical control system Pending JP2003223208A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002020453A JP2003223208A (en) 2002-01-29 2002-01-29 Numerical control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002020453A JP2003223208A (en) 2002-01-29 2002-01-29 Numerical control system

Publications (1)

Publication Number Publication Date
JP2003223208A true JP2003223208A (en) 2003-08-08

Family

ID=27743945

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002020453A Pending JP2003223208A (en) 2002-01-29 2002-01-29 Numerical control system

Country Status (1)

Country Link
JP (1) JP2003223208A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008117032A (en) * 2006-11-01 2008-05-22 Sodick Co Ltd Working control device and its program
JP2009098982A (en) * 2007-10-18 2009-05-07 Sodick Co Ltd Working simulation device and its program
WO2016157456A1 (en) * 2015-03-31 2016-10-06 株式会社牧野フライス製作所 Tool path-generating method, drilling method, and tool path-generating device
CN108303952A (en) * 2018-03-18 2018-07-20 烟台大学 A kind of rate curve planing method of small line segment suitable for numerical control device cutter
JP2019206170A (en) * 2018-03-16 2019-12-05 ザ・ボーイング・カンパニーTheBoeing Company Generation of a plurality of curved transitions connecting planar parallel alternating paths for forming workpiece
CN112650145A (en) * 2020-12-24 2021-04-13 苏州谋迅智能科技有限公司 S-shaped speed curve self-adaptive combination evaluation method

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008117032A (en) * 2006-11-01 2008-05-22 Sodick Co Ltd Working control device and its program
JP2009098982A (en) * 2007-10-18 2009-05-07 Sodick Co Ltd Working simulation device and its program
WO2016157456A1 (en) * 2015-03-31 2016-10-06 株式会社牧野フライス製作所 Tool path-generating method, drilling method, and tool path-generating device
JPWO2016157456A1 (en) * 2015-03-31 2017-09-28 株式会社牧野フライス製作所 Tool path generation method, drilling method, and tool path generation apparatus
CN107427981A (en) * 2015-03-31 2017-12-01 株式会社牧野铣床制作所 Tool paths generation method, hole forming method and tool paths generation device
US10328542B2 (en) 2015-03-31 2019-06-25 Makino Milling Machine Co., Ltd. Tool path-generating method, drilling method, and tool path-generating device
JP2019206170A (en) * 2018-03-16 2019-12-05 ザ・ボーイング・カンパニーTheBoeing Company Generation of a plurality of curved transitions connecting planar parallel alternating paths for forming workpiece
JP7382728B2 (en) 2018-03-16 2023-11-17 ザ・ボーイング・カンパニー Generation of multiple curved transitions connecting parallel alternating passes on a plane for workpiece forming
CN108303952A (en) * 2018-03-18 2018-07-20 烟台大学 A kind of rate curve planing method of small line segment suitable for numerical control device cutter
CN108303952B (en) * 2018-03-18 2020-10-02 烟台大学 Speed curve planning method suitable for small line segment of numerical control device cutter
CN112650145A (en) * 2020-12-24 2021-04-13 苏州谋迅智能科技有限公司 S-shaped speed curve self-adaptive combination evaluation method
CN112650145B (en) * 2020-12-24 2022-01-14 苏州谋迅智能科技有限公司 S-shaped speed curve self-adaptive combination evaluation method

Similar Documents

Publication Publication Date Title
CN102722140B (en) Multi-period corner small straight-line segment interpolation method based on S curve acceleration/deceleration control
CN109623166B (en) Corner processing method and system for laser cutting
CN109213083B (en) Ruled surface processing path generation method, device and equipment
JP3662799B2 (en) Numerical control apparatus and numerical control method
WO2011052800A1 (en) Tool path generation method and device
CN110874082B (en) Method, apparatus and storage medium for determining cutting path of workpiece corner
JP5615377B2 (en) Tool path generation method and generation apparatus
CN112486101B (en) NURBS curve self-adaptive look-ahead interpolation method
JP2875656B2 (en) A method for determining the tool trajectory contour in numerically controlled machines
JP2001125613A (en) Numerical control simulation device
JP2008117032A (en) Working control device and its program
JP3668665B2 (en) Numerical controller
JP2003223208A (en) Numerical control system
CN114063556B (en) Self-adaptive corner rounding method for laser cutting
JP2002096243A (en) Numerical controller and cam system
JP2790643B2 (en) Numerical control unit
KR100880734B1 (en) Step length optimization method of NC data for enhancing 5-axis milling speed based on machine dynamics
JP2003076410A (en) Speed control device, speed control method and program for carrying the method with computer
CN112883502A (en) Speed curve design method and five-axis track processing method based on speed curve
JPH0442133B2 (en)
JP4982170B2 (en) Machining control device and machining control program
JPH09198116A (en) Block data processing method for numerical controller
CN116795044B (en) Speed planning method, device, machine tool control system and storage medium
KR100249354B1 (en) Method of contour error modeling for cross-coupled control of cnc machines
KR102481622B1 (en) Numerical control device for machine tools that generates high-precision tool paths and the control method of thereof

Legal Events

Date Code Title Description
A621 Written request for application examination

Effective date: 20041116

Free format text: JAPANESE INTERMEDIATE CODE: A621

A977 Report on retrieval

Effective date: 20050906

Free format text: JAPANESE INTERMEDIATE CODE: A971007

A131 Notification of reasons for refusal

Effective date: 20050913

Free format text: JAPANESE INTERMEDIATE CODE: A131

A521 Written amendment

Effective date: 20051111

Free format text: JAPANESE INTERMEDIATE CODE: A523

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060425

A02 Decision of refusal

Effective date: 20060815

Free format text: JAPANESE INTERMEDIATE CODE: A02