[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

JP4969484B2 - Numerical controller - Google Patents

Numerical controller Download PDF

Info

Publication number
JP4969484B2
JP4969484B2 JP2008042413A JP2008042413A JP4969484B2 JP 4969484 B2 JP4969484 B2 JP 4969484B2 JP 2008042413 A JP2008042413 A JP 2008042413A JP 2008042413 A JP2008042413 A JP 2008042413A JP 4969484 B2 JP4969484 B2 JP 4969484B2
Authority
JP
Japan
Prior art keywords
curved surface
command
program
boundary
smoothing
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.)
Active
Application number
JP2008042413A
Other languages
Japanese (ja)
Other versions
JP2009199483A (en
Inventor
英明 山本
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Mitsubishi Heavy Industries Ltd
Original Assignee
Mitsubishi Heavy Industries 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 Mitsubishi Heavy Industries Ltd filed Critical Mitsubishi Heavy Industries Ltd
Priority to JP2008042413A priority Critical patent/JP4969484B2/en
Publication of JP2009199483A publication Critical patent/JP2009199483A/en
Application granted granted Critical
Publication of JP4969484B2 publication Critical patent/JP4969484B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Numerical Control (AREA)

Description

本発明は、工作機械等産業機械に適用されて数値指令を滑らかに補間する数値制御装置に関する。   The present invention relates to a numerical control apparatus that is applied to industrial machines such as machine tools and smoothly interpolates numerical commands.

数値制御装置(NC装置)で制御される工作機械はNCプログラムと言う指令コードにより動作し、金型加工などではこのNCプログラムはCAD/CAMシステムにより作成される。   A machine tool controlled by a numerical control device (NC device) operates according to a command code called an NC program, and this NC program is created by a CAD / CAM system in die machining or the like.

CAD/CAMシステムでは、CADデータに基づきNCプログラムを作成するが、図6に示すように、CADデータaが曲面データであるのに対し、一般的に作成されるNCプログラムbは微小な直線指令の集まり(一般的に点群プログラムと呼ばれている)である近似指令として作成される。このように作成されるNCプログラムbは微小な直線指令の集まりである近似指令であるため、その指令軌跡には曲面データであるCADデータaに対し幾分かの誤差が必然的に含まれる。   In the CAD / CAM system, an NC program is created based on the CAD data. As shown in FIG. 6, while the CAD data a is curved surface data, the generally created NC program b is a small linear command. Is created as an approximation command that is a collection of (generally called a point cloud program). Since the NC program b created in this way is an approximate command that is a collection of minute linear commands, the command trajectory necessarily includes some errors with respect to the CAD data a that is curved surface data.

また、CAD/CAMシステムでNCプログラムbを作成する場合、演算上の問題より、トレランスc(CADデータaからの許容誤差量)を設定して、その許容誤差量内にNCプログラムbにおける直線指令の軌跡が入るように作成される。   Also, when creating NC program b with a CAD / CAM system, tolerance c (allowable error amount from CAD data a) is set due to computational problems, and the straight line command in NC program b is within that allowable error amount. It is created so that the trajectory of can enter.

そして、CAD/CAMシステムで作成されたNCプログラムにはトレランス設定量レベルの指令誤差が含まれているため、金型加工などではNCプログラム通り加工を行うと、図7に示すように、NCプログラムの継ぎ目dが加工面に現れたり、図8に示すように、NCプログラムの乱れ(誤差)eに起因した喰い込みなどが発生して加工パスが均一に揃わないことから理想的な加工面が得られず、加工面精度の悪化が発生する。   The NC program created by the CAD / CAM system contains a command error at the tolerance setting amount level. Therefore, when machining according to the NC program in die machining, etc., as shown in FIG. As shown in FIG. 8, an ideal machining surface is obtained because the machining path is not evenly arranged due to the occurrence of biting due to NC program disturbance (error) e as shown in FIG. It cannot be obtained and the machined surface accuracy deteriorates.

その対策として、図9に示すように、数値制御装置の内部にて移動指令軌跡を修正・補正する処理を行い、加工面精度の悪化を抑制している。即ち、処理する指令点の近傍7〜9点より最小二乗法により2次曲線もしくは3次曲線を近似し、この近似した2次曲線もしくは3次曲線fの曲線上に指令点を修正・補正する(図中g1部参照)と共に、この処理を繰返し、NCプログラム全体の指令点を修正・補正するのである。   As a countermeasure against this, as shown in FIG. 9, a process for correcting / correcting the movement command trajectory is performed inside the numerical control device to suppress the deterioration of the machining surface accuracy. That is, a quadratic curve or cubic curve is approximated by the least square method from 7 to 9 points in the vicinity of the command point to be processed, and the command point is corrected and corrected on the curve of the approximated quadratic curve or cubic curve f. (Refer to part g1 in the figure) This process is repeated to correct and correct the command points of the entire NC program.

上述した修正・補正処理は一般的にNCプログラムbより近似した2次曲線もしくは3次曲線fを作成し、その近似した2次曲線もしくは3次曲線fに基づき指令軌跡を修正・補正することで実現されるが、図10に示すように、形状角度が鋭角な形状部や曲面の境界部にて補正を行うと逆に、加工ワークの角が丸くなる等あるべき形状からかけ離れ、加工面精度を悪化させることがある(図中g2部参照)。   The correction / correction processing described above generally creates a quadratic curve or cubic curve f approximated from the NC program b, and corrects / corrects the command trajectory based on the approximated quadratic curve or cubic curve f. As shown in FIG. 10, when correction is performed at the shape part having a sharp angle or the boundary part of the curved surface, on the contrary, it is far from the desired shape such as a rounded corner of the workpiece, and the machining surface accuracy is (Refer to part g2 in the figure).

そのため、不必要に補正処理を行わないように様々な閾値を設けて処理を行っているが、一般的には、
(1)図11に示すように、NCプログラムbのブロック間角度θが閾値より小さい(θ<θp(パラメータ設定値))場合には、補正処理(スムージング処理)を無効とする、
(2)図12に示すように、NCプログラムbのブロック長Lが閾値より大きい(L>Lp(パラメータ設定値))場合には、補正処理(スムージング処理)を無効とする、
(3)図13に示すように、近似した2次曲線もしくは3次曲線f上の修正指令点とオリジナルの指令点との距離δが閾値より大きい(δ>δp(スムージングトレランス:パラメータ設定値))場合には、補正処理(スムージング処理)を無効とする(図中g3部参照)、もしくは図14に示すように、閾値内で修正・補正処理を実行する(図中g4部参照:特許文献1参照)、
ことにより不必要な補正処理により誤った指令軌跡を作成しないようしている。
Therefore, various threshold values are set so as not to perform unnecessary correction processing, but in general,
(1) As shown in FIG. 11, when the inter-block angle θ of the NC program b is smaller than the threshold value (θ <θp (parameter setting value)), the correction process (smoothing process) is invalidated.
(2) As shown in FIG. 12, when the block length L of the NC program b is larger than the threshold (L> Lp (parameter setting value)), the correction process (smoothing process) is invalidated.
(3) As shown in FIG. 13, the distance δ between the approximated quadratic curve or the corrected command point on the cubic curve f and the original command point is larger than the threshold (δ> δp (smoothing tolerance: parameter setting value)) ), The correction process (smoothing process) is invalidated (see g3 in the figure), or the correction / correction process is executed within the threshold as shown in FIG. 14 (see g4 in the figure: Patent Documents) 1),
Thus, an erroneous command locus is not created by unnecessary correction processing.

特開2004−127099号公報JP 2004-127099 A

ところで、上述したような処理により、形状角度が鋭角な形状部での補正処理(スムージング処理)はほぼ理想通りに無効となるが、曲面が接する曲面境界部は正常に認識することができず、誤って修正・補正処理が行われることがある。   By the way, by the processing as described above, the correction processing (smoothing processing) in the shape portion with a sharp shape angle becomes almost ideally invalid, but the curved surface boundary portion where the curved surface is in contact cannot be normally recognized. Correction / correction processing may be performed by mistake.

例えば図15に示すように、近似曲線として2次曲線faを用いた場合にはこの傾向が特に顕著であり、曲面境界部位(変曲点)hでは近似曲線形状が元のCAD/CAMの曲面データに対し大きくずれてしまい、加工形状の悪化を招く(図中g5部参照)。即ち、本来、高次の曲線である部位(曲面境界部位(変曲点)h)を2次曲線faで近似したため、誤って元のCAD/CAMの曲面データとは異なる指令軌跡を作成してしまうのである。   For example, as shown in FIG. 15, this tendency is particularly noticeable when the quadratic curve fa is used as the approximate curve, and the approximate curve shape is the original CAD / CAM curved surface at the curved boundary portion (inflection point) h. This greatly deviates from the data, resulting in deterioration of the machining shape (see part g5 in the figure). That is, since the part (curved boundary part (inflection point) h) that is originally a high-order curve is approximated by the quadratic curve fa, a command trajectory that is different from the original CAD / CAM curved surface data is created by mistake. It ends up.

また、図16に示すように、近似曲線として3次曲線fbを用いた場合には、2次曲線fa(図15参照)ほど大きなズレは発生しない(図中g6部参照)ものの、近似曲線はNCプログラムbの指令点iに依存し、加工パス毎にその指令点iは異なるため近似曲線形状も必然的に異なる。その結果、曲面境界部位(変曲点)hの位置が加工パス毎にズレてしまい、加工形状の悪化を招くことがある。   Further, as shown in FIG. 16, when the cubic curve fb is used as the approximate curve, the displacement is not as great as the quadratic curve fa (see FIG. 15) (see g6 in the figure), but the approximate curve is Depending on the command point i of the NC program b, the command point i is different for each machining path, so the approximate curve shape is inevitably different. As a result, the position of the curved boundary portion (inflection point) h may be shifted for each machining pass, resulting in deterioration of the machining shape.

本発明は、前述した状況に鑑みてなされたもので、曲面が接する曲面境界部においてスムージング処理を一旦キャンセルすることにより、本来のCADデータにおける曲面形状を崩すことなく、滑らかな指令軌跡を創出することができる数値制御装置を提供することを目的とする。   The present invention has been made in view of the above-described situation, and by smoothly canceling the smoothing process at the curved boundary portion where the curved surface contacts, a smooth command locus is created without destroying the curved surface shape in the original CAD data. An object of the present invention is to provide a numerical control device that can perform the above-described operation.

斯かる目的を達成するための本発明に係る数値制御装置は、
NCプログラムによる移動指令を曲面領域における近似曲線に沿うように、少なくともスムージングトレランスによる動作制限下でスムージング処理する数値制御装置において、
曲面の境界部位を認識する手段を有し、曲面の境界部位においてはスムージング処理を一旦キャンセルする動作制限処理機能を備えるとともに、
前記曲面の境界部位を認識する手段は、複数本のNCプログラムパスより、各指令点について加速度を算出し、加速度ベクトルの3次元的な変化により、加速度ベクトルの方向が変化する部位、つまりガウス曲率が0の部位を曲面の境界部位として認識するものである
ことを特徴とする。
A numerical control device according to the present invention for achieving such an object,
In a numerical control apparatus for performing a smoothing process at least under an operation restriction by a smoothing tolerance so that a movement command by an NC program follows an approximate curve in a curved surface region,
It has means for recognizing the boundary part of the curved surface, and has an operation restriction processing function for once canceling the smoothing process at the boundary part of the curved surface,
The means for recognizing the boundary portion of the curved surface calculates acceleration at each command point from a plurality of NC program paths , and a portion where the direction of the acceleration vector changes due to a three-dimensional change of the acceleration vector , that is, a Gaussian curvature. There are those that recognize a site 0 as a boundary portion of the curved surface,
It is characterized by that.

本発明に係る数値制御装置よれば、曲面の境界部位にてスムージング処理を行えば、逆に本来のCADデータにおける曲面形状とは異なる指令軌跡を作成することになり形状悪化を発生することになるが、曲面の境界部位にてスムージング処理を一旦キャンセルする(指令点の修正・補正処理を行わない)ことにより、本来のCADデータにおける曲面形状を崩すことなく,滑らかな指令軌跡を創出することができる。また、加工パスによるスムージング動作の相違をなくし、スムージング処理に関連する往復段差を抑制することもできる。   According to the numerical control device of the present invention, if the smoothing process is performed at the boundary portion of the curved surface, a command trajectory different from the curved surface shape in the original CAD data is created and the shape deteriorates. However, by canceling the smoothing process once at the boundary of the curved surface (no correction or correction of the command point is performed), it is possible to create a smooth command trajectory without destroying the curved surface shape in the original CAD data. it can. In addition, the difference in the smoothing operation due to the machining path can be eliminated, and the reciprocal step related to the smoothing process can be suppressed.

以下、本発明に係る数値制御装置を実施例により図面を用いて詳細に説明する。   DESCRIPTION OF EMBODIMENTS Hereinafter, a numerical controller according to the present invention will be described in detail with reference to the drawings by way of examples.

図1は本発明の実施例1を示す曲面境界認識によるスムージング処理の動作制限の説明図、図2は曲面境界認識によるスムージング処理の動作制限の作用説明図、図3は装置全体のブロック図、図4は曲面境界の判定基準の説明図である。   FIG. 1 is an explanatory diagram of operation restriction of smoothing processing by curved surface boundary recognition according to the first embodiment of the present invention, FIG. 2 is an explanatory diagram of operation restriction of smoothing processing by curved surface boundary recognition, and FIG. 3 is a block diagram of the entire apparatus. FIG. 4 is an explanatory diagram of a criterion for determining a curved boundary.

図3に示すように、図示しないCAD/CAMシステムでCADデータ(曲面データ)に基づき作成されたNCプログラムは、NCプログラム解析処理部10にて解析処理され、そこで得られた各ブロックの移動指令は、通常は、移動指令の各軸分配処理部11を経てX軸のサーボモータ12とY軸のサーボモータ13とZ軸のサーボモータ14へと各軸のサンプリング毎の移動指令が送出される。   As shown in FIG. 3, an NC program created based on CAD data (curved surface data) by a CAD / CAM system (not shown) is analyzed by an NC program analysis processing unit 10, and a movement command for each block obtained there is obtained. In general, the movement command for each sampling is sent to the X-axis servo motor 12, the Y-axis servo motor 13 and the Z-axis servo motor 14 via the movement command axis distribution processing unit 11. .

そして、本実施例では、NCプログラム解析処理部10で得られた各ブロックの移動指令は、スムージング処理部(動作制限処理機能)15における各ブロックの移動量格納バッファ16に一時的に貯えられる。   In this embodiment, the movement command of each block obtained by the NC program analysis processing unit 10 is temporarily stored in the movement amount storage buffer 16 of each block in the smoothing processing unit (operation restriction processing function) 15.

スムージング処理部15では、各ブロックの移動量格納バッファ16の各ブロックの移動量に基づいて、修正した指令軌跡の作成部17で修正した指令軌跡を作成する。具体的には、各曲面領域における近似曲線を作成した後、各ブロックの指令点(終点)を修正すると共にブロック間の指令軌跡を修正して各曲面領域における指令軌跡を作成するのである。この修正した指令軌跡が前述した移動指令の各軸分配処理部11に送出される。   The smoothing processing unit 15 creates a command trajectory corrected by the corrected command trajectory creation unit 17 based on the movement amount of each block in the movement amount storage buffer 16 of each block. Specifically, after the approximate curve in each curved surface area is created, the command point (end point) of each block is corrected and the command trajectory between the blocks is corrected to create the command trajectory in each curved surface area. This corrected command trajectory is sent to each axis distribution processing unit 11 of the movement command described above.

同時に、各ブロックの移動量格納バッファ16の各ブロックの移動量に基づいて、加速度ベクトル(曲率半径ベクトル)算出処理部18において加速度ベクトル(曲率半径ベクトル)が算出され、この算出結果に基づいて、曲面境界の認識処理部19で曲面の境界部位(変曲点)を認識したら(曲面の境界部位を認識する手段)、当該部位では、前述した修正した指令軌跡の作成部17で作成した、修正した指令軌跡がキャンセルされて前述した各ブロックの移動量格納バッファ16からの各ブロックの移動指令がそのまま前述した移動指令の各軸分配処理部11に送出されるようになっている。   At the same time, based on the movement amount of each block in the movement amount storage buffer 16 of each block, an acceleration vector (curvature radius vector) calculation processing unit 18 calculates an acceleration vector (curvature radius vector). Based on the calculation result, When the curved boundary recognition part 19 recognizes the curved boundary part (inflection point) (means for recognizing the curved boundary part), the correction is made by the corrected command trajectory creation part 17 described above. The command trajectory is canceled and the movement command of each block from the movement amount storage buffer 16 of each block described above is sent as it is to each axis distribution processing unit 11 of the movement command described above.

即ち、図1及び図2に示すように、NCプログラムbの各指令点にて加速度ベクトル(曲率半径ベクトル)を算出した後、加速度ベクトル(曲率半径ベクトル)の方向が変化する部位を認識したら、この部位を曲面の境界部位(変曲点)と判断してスムージング処理を一旦キャンセルし、指令点の修正・補正処理は行わないのである(図中スムージング処理を一旦OFFする領域NG参照)。   That is, as shown in FIG. 1 and FIG. 2, after calculating an acceleration vector (curvature radius vector) at each command point of the NC program b, if a portion where the direction of the acceleration vector (curvature radius vector) changes is recognized, This part is determined as a boundary part (inflection point) of the curved surface, and the smoothing process is temporarily canceled, and the command point correction / correction process is not performed (see the region NG in which the smoothing process is temporarily turned off in the figure).

そして、曲面の境界部位(変曲点)を境に各々の領域にて近似曲線fc,fdを作成し、スムージング処理(指令点の修正・補正処理)を実施する(図中スムージング処理実行領域S1,S2参照)。一方、曲面の境界部位(変曲点)即ち、スムージング処理を一旦OFFする領域NGはNCプログラムbの指令点に基づき指令を実行する。   Then, approximate curves fc and fd are created in each region at the boundary portion (inflection point) of the curved surface, and smoothing processing (command point correction / correction processing) is performed (smoothing processing execution region S1 in the figure). , S2). On the other hand, the boundary portion (inflection point) of the curved surface, that is, the region NG where the smoothing process is temporarily turned off, executes a command based on the command point of the NC program b.

また、前述した曲面の境界部位(変曲点)を認識する方法としては、例えば、下記式などにより判定することかできる。

Figure 0004969484
Moreover, as a method of recognizing the boundary part (inflection point) of the curved surface described above, for example, it can be determined by the following equation.
Figure 0004969484

即ち、図4に示すように、2つの加速度ベクトルの内積が負であれば、2つの加速度ベクトル間の角度は90度以上となるため、変曲点として認識することができるのである。尚、変曲点を認識する方法は他にもあり、上式に限るものではない。   That is, as shown in FIG. 4, if the inner product of two acceleration vectors is negative, the angle between the two acceleration vectors is 90 degrees or more, so that it can be recognized as an inflection point. There are other methods for recognizing the inflection point, and the method is not limited to the above formula.

このようにして本実施例では、曲面の境界部位(変曲点)hを認識し、スムージング処理を一旦OFFし、指令点の修正・補正処理を行わない(曲面の境界部位hではNCプログラムbに基づき指令を行う)ようにしたので、曲面の境界部位hでのスムージング処理の誤動作による加工形状悪化を抑制することが可能となり、本来のCADデータにおける曲面形状を崩すことなく、滑らかな指令軌跡を創出することができる。   In this way, in the present embodiment, the boundary portion (inflection point) h of the curved surface is recognized, the smoothing process is temporarily turned off, and the command point correction / correction processing is not performed (the NC program b at the curved boundary portion h). Therefore, it is possible to suppress deterioration of the machining shape due to the malfunction of the smoothing process at the boundary portion h of the curved surface, and the smooth command trajectory without destroying the curved surface shape in the original CAD data. Can be created.

また、加工パスによるスムージング動作の相違をなくし、スムージング処理に関連する往復段差を抑制することもできる。   In addition, the difference in the smoothing operation due to the machining path can be eliminated, and the reciprocal step related to the smoothing process can be suppressed.

図5は本発明の実施例2を示す3次元空間における加速度変化による曲面境界の認識の説明図である。   FIG. 5 is an explanatory diagram for recognizing a curved boundary due to a change in acceleration in a three-dimensional space, showing Embodiment 2 of the present invention.

これは、NCプログラムbより、各指令点における加速度(曲率半径)を算出、例えば図5に示すように、7点×5本の指令点について加速度(曲率半径)を算出し、加速度ベクトルの3次元的な変化より、加速度ベクトルの方向が変化する部位(数学的にはガウス曲率が0の部位)を曲面の境界部位hと認識して、この部位ではスムージング処理(指令点の修正・補正処理)を行わないようにした例である。尚、図中jは加速度ベクトル(曲率半径ベクトル)の変化曲面である。また、その他の構成は実施例1と同様なので図3を参照して重複する説明は省略する。   This is because the acceleration (curvature radius) at each command point is calculated from the NC program b, for example, as shown in FIG. 5, the acceleration (curvature radius) is calculated for 7 points × 5 command points, and the acceleration vector 3 A part where the direction of the acceleration vector changes due to a dimensional change (a part where the Gaussian curvature is mathematically 0) is recognized as a boundary part h of the curved surface, and smoothing processing (command point correction / correction processing) is performed at this part. ) Is not performed. In the figure, j is a changing curved surface of an acceleration vector (curvature radius vector). Other configurations are the same as those of the first embodiment, and therefore, a duplicate description is omitted with reference to FIG.

本実施例によれば、実施例1と同様の作用・効果に加えて、曲面の境界部位hの認識に複数本の加工パスを使用するので、曲面の境界部位hの認識精度が向上するという利点が得られる。   According to the present embodiment, in addition to the same operations and effects as in the first embodiment, since a plurality of machining paths are used for recognizing the curved boundary portion h, the recognition accuracy of the curved boundary portion h is improved. Benefits are gained.

尚、本発明は上記各実施例に限定されず、本発明の要旨を逸脱しない範囲で、NCプログラムをCAD/CAMシステムに代えてCG(Computer Graphics)や倣い装置等で作成する等各種変更が可能であることはいうまでもない。   The present invention is not limited to the above-described embodiments, and various modifications such as creation of an NC program by CG (Computer Graphics) or a copying apparatus instead of a CAD / CAM system can be made without departing from the gist of the present invention. It goes without saying that it is possible.

本発明の実施例1を示す曲面境界認識によるスムージング処理の動作制限の説明図である。It is explanatory drawing of the operation | movement restriction | limiting of the smoothing process by curved surface boundary recognition which shows Example 1 of this invention. 曲面境界認識によるスムージング処理の動作制限の作用説明図である。It is action explanatory drawing of the operation | movement restriction | limiting of the smoothing process by curved surface boundary recognition. 装置全体のブロック図である。It is a block diagram of the whole apparatus. 曲面境界の判定基準の説明図である。It is explanatory drawing of the criteria of a curved-surface boundary. 本発明の実施例2を示す3次元空間における加速度変化による曲面境界の認識の説明図である。It is explanatory drawing of the recognition of the curved surface boundary by the acceleration change in the three-dimensional space which shows Example 2 of this invention. CAD/CAMシステムにて作成されたNCプログラムの説明図である。It is explanatory drawing of the NC program created with the CAD / CAM system. NCプログラムの継ぎ目が加工面に現われる例の説明図である。It is explanatory drawing of the example in which the joint line of NC program appears on a processing surface. NCプログラムの乱れが加工面に現われる例の説明図である。It is explanatory drawing of the example in which disorder of NC program appears on a processing surface. NCプログラム(移動指令軌跡)の修正・補正処理の説明図である。It is explanatory drawing of the correction / correction process of NC program (movement command locus). スムージング処理の誤動作の例の説明図である。It is explanatory drawing of the example of malfunction of a smoothing process. 閾値によるスムージング処理の動作制限(ブロック間角度)の説明図である。It is explanatory drawing of the operation | movement restriction | limiting (inter-block angle) of the smoothing process by a threshold value. 閾値によるスムージング処理の動作制限(ブロック長)の説明図である。It is explanatory drawing of the operation | movement restriction | limiting (block length) of the smoothing process by a threshold value. 閾値によるスムージング処理の動作制限(スムージングトレランス)の説明図である。It is explanatory drawing of the operation | movement restriction | limiting (smoothing tolerance) of the smoothing process by a threshold value. 閾値によるスムージング処理の動作制限(スムージングトレランス)の説明図である。It is explanatory drawing of the operation | movement restriction | limiting (smoothing tolerance) of the smoothing process by a threshold value. 曲面境界部でのスムージング処理の誤動作(2次曲線近似の場合)の説明図である。It is explanatory drawing of the malfunctioning (in the case of quadratic curve approximation) of the smoothing process in a curved-surface boundary part. 曲面境界部でのスムージング処理の誤動作(3次曲線近似の場合)の説明図である。It is explanatory drawing of the malfunctioning (in the case of cubic curve approximation) of the smoothing process in a curved-surface boundary part.

符号の説明Explanation of symbols

a CADデータ(曲面データ)
b NCプログラム(点群プログラム)
c トレランス(CADデータaからの許容誤差量)
d NCプログラムの継ぎ目
e NCプログラムの乱れ
f 近似した2次曲線もしくは3次曲線
fc スムージング処理実行領域S1における近似した2次曲線もしくは3次曲線
fd スムージング処理実行領域S2における近似した2次曲線もしくは3次曲線
fa 2次曲線
fb 3次曲線
h 曲面境界部位(変曲点)
θ ブロック間角度
L ブロック長
δ 修正指令点とオリジナルの指令点との距離
S1 スムージング処理実行領域
S2 スムージング処理実行領域
NG スムージング処理を一旦OFFする領域
10 NCプログラム解析処理部
11 移動指令の各軸分配処理部
12 X軸のサーボモータ
13 Y軸のサーボモータ
14 Z軸のサーボモータ
15 スムージング処理部
16 各ブロックの移動量格納バッファ
17 修正した指令軌跡の作成部
18 加速度ベクトル算出処理部
19 曲面境界の認識処理部
a CAD data (curved surface data)
b NC program (point cloud program)
c Tolerance (allowable error from CAD data a)
d NC program joint e NC program disturbance f Approximate quadratic curve or cubic curve fc Approximate quadratic curve or cubic curve in smoothing process execution area S1 fd Approximate quadratic curve or 3 in smoothing process execution area S2 Quadratic curve fa quadratic curve fb cubic curve h curved surface boundary (inflection point)
θ Inter-block angle L Block length δ Distance between correction command point and original command point S1 Smoothing process execution area S2 Smoothing process execution area NG Area where smoothing process is temporarily turned off 10 NC program analysis processing part 11 Distribution of each axis of movement command Processing unit 12 X-axis servo motor 13 Y-axis servo motor 14 Z-axis servo motor 15 Smoothing processing unit 16 Movement amount storage buffer of each block 17 Modified command trajectory creation unit 18 Acceleration vector calculation processing unit 19 Curve boundary boundary Recognition processing unit

Claims (1)

NCプログラムによる移動指令を曲面領域における近似曲線に沿うように、少なくともスムージングトレランスによる動作制限下でスムージング処理する数値制御装置において、
曲面の境界部位を認識する手段を有し、曲面の境界部位においてはスムージング処理を一旦キャンセルする動作制限処理機能を備えるとともに、
前記曲面の境界部位を認識する手段は、複数本のNCプログラムパスより、各指令点について加速度を算出し、加速度ベクトルの3次元的な変化により、加速度ベクトルの方向が変化する部位、つまりガウス曲率が0の部位を曲面の境界部位として認識するものである
ことを特徴とする数値制御装置。
In a numerical control apparatus for performing a smoothing process at least under an operation restriction by a smoothing tolerance so that a movement command by an NC program follows an approximate curve in a curved surface region,
It has means for recognizing the boundary part of the curved surface, and has an operation restriction processing function for once canceling the smoothing process at the boundary part of the curved surface,
The means for recognizing the boundary portion of the curved surface calculates acceleration at each command point from a plurality of NC program paths , and a portion where the direction of the acceleration vector changes due to a three-dimensional change of the acceleration vector , that is, a Gaussian curvature. There are those that recognize a site 0 as a boundary portion of the curved surface,
A numerical controller characterized by that.
JP2008042413A 2008-02-25 2008-02-25 Numerical controller Active JP4969484B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008042413A JP4969484B2 (en) 2008-02-25 2008-02-25 Numerical controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008042413A JP4969484B2 (en) 2008-02-25 2008-02-25 Numerical controller

Publications (2)

Publication Number Publication Date
JP2009199483A JP2009199483A (en) 2009-09-03
JP4969484B2 true JP4969484B2 (en) 2012-07-04

Family

ID=41142885

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008042413A Active JP4969484B2 (en) 2008-02-25 2008-02-25 Numerical controller

Country Status (1)

Country Link
JP (1) JP4969484B2 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2634658B1 (en) 2010-10-25 2019-07-24 Makino Milling Machine Co., Ltd. Tool path generation method and tool path generation device
JP6672702B2 (en) * 2015-10-29 2020-03-25 ブラザー工業株式会社 Control device, machine tool, control method, and computer program
JP6623902B2 (en) * 2016-03-30 2019-12-25 ブラザー工業株式会社 Processing path calculation device, processing path calculation method, and computer program
JP7428793B2 (en) * 2020-05-14 2024-02-06 ファナック株式会社 Machining path creation device
CN116802573A (en) 2021-02-17 2023-09-22 三菱电机株式会社 Machining program correction device, machining program correction method, and machining system

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6441010A (en) * 1987-08-05 1989-02-13 Nec Corp Automatic programming device for numerical control
JPH04329404A (en) * 1991-05-01 1992-11-18 Toyota Motor Corp Nc work data preparing method
JP3366213B2 (en) * 1997-02-26 2003-01-14 三菱電機株式会社 Curve minute line differentiation method and numerical controller having spline interpolation function
JP4068321B2 (en) * 2001-09-27 2008-03-26 株式会社ジェイテクト Processing speed setting method and processing apparatus of processing apparatus
JP3628672B2 (en) * 2002-06-11 2005-03-16 川崎重工業株式会社 Curve interpolation by arc
JP3904993B2 (en) * 2002-08-16 2007-04-11 ファナック株式会社 Curve interpolation method

Also Published As

Publication number Publication date
JP2009199483A (en) 2009-09-03

Similar Documents

Publication Publication Date Title
US10112304B2 (en) Robot programming apparatus for teaching machining operation to robot
EP1854037B1 (en) Method of and apparatus for automated path learning
CN103460151B (en) Method and Work treatment installation for processing workpiece by numerically controlled Work treatment installation
JP5025598B2 (en) Interference check control apparatus and interference check control method
US20120215334A1 (en) Tool path generation method and device
JP6257796B2 (en) Tool path generation method and machine tool
JP5615377B2 (en) Tool path generation method and generation apparatus
CN109725600B (en) Post-processor device, machining program generating method, CNC machining system, and computer-readable information recording medium
JP4969484B2 (en) Numerical controller
JP2006048244A (en) Working program generating device
US9342061B2 (en) Wire electric discharge machine controller for correcting machining route using program commands
JP2010142910A (en) Robot system
US10884390B2 (en) Optimized control of a metal-cutting machine tool
CN108369407A (en) Cutter path correcting device and cutter path modification method
WO2018122988A1 (en) Numerical control device, program conversion device, numerical control method, and program conversion method
CN104321707A (en) Numeric control device
JP7175403B2 (en) MACHINING PROGRAM CONVERTER, NUMERIC CONTROLLER AND MACHINING PROGRAM CONVERSION METHOD
JP5765557B2 (en) Trajectory tracking device and method for machining robot
JP6903255B1 (en) Machining program correction device, numerical control device, machining program correction method and machine learning device
JP2019136841A (en) Robot system and control method of the same performing learning control based on processing result
JP6110250B2 (en) Method and apparatus for calculating and displaying the degree of change in rotational feed axis command in NC program
WO2024084706A1 (en) Machining instruction correction device and machining instruction correction method
WO2021230237A1 (en) Processing path creation device
JP7498286B2 (en) Numerical Control Device
US10859999B2 (en) Numerical controller

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20100615

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20101210

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20101221

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110217

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110906

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20111102

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20120321

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20120403

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20150413

Year of fee payment: 3

R151 Written notification of patent or utility model registration

Ref document number: 4969484

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20150413

Year of fee payment: 3

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250