JPH0682289B2 - Curve interpolation method in numerical controller - Google Patents
Curve interpolation method in numerical controllerInfo
- Publication number
- JPH0682289B2 JPH0682289B2 JP61149070A JP14907086A JPH0682289B2 JP H0682289 B2 JPH0682289 B2 JP H0682289B2 JP 61149070 A JP61149070 A JP 61149070A JP 14907086 A JP14907086 A JP 14907086A JP H0682289 B2 JPH0682289 B2 JP H0682289B2
- Authority
- JP
- Japan
- Prior art keywords
- curve
- points
- measurement points
- free
- interpolation
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 title claims description 17
- 238000005259 measurement Methods 0.000 claims description 55
- 238000003754 machining Methods 0.000 description 11
- 230000006870 function Effects 0.000 description 7
- 238000010586 diagram Methods 0.000 description 5
- 230000014509 gene expression Effects 0.000 description 2
- 239000000203 mixture Substances 0.000 description 2
- 230000000694 effects Effects 0.000 description 1
- 238000002156 mixing Methods 0.000 description 1
Landscapes
- Numerical Control (AREA)
Description
【発明の詳細な説明】 (発明の技術分野) 本発明は、数値制御(NC)装置における曲線補間方式に
関し、特に3次元の自由曲面形状(以下、単に“3次元
曲面形状”という)を有するモデルの曲面におけるディ
ジタイズデータの曲線補間方式に関する。Description: TECHNICAL FIELD OF THE INVENTION The present invention relates to a curve interpolation method in a numerical control (NC) device, and particularly has a three-dimensional free-form surface shape (hereinafter, simply referred to as “three-dimensional curved surface shape”). The present invention relates to a curve interpolation method of digitized data on a curved surface of a model.
(発明の技術的背景とその問題点) 従来からNC装置を用いて加工する際には、モデル形状を
ディジタイザーで測定した後、当該測定点群データを元
にして“輪郭制御”方式を用いてNC加工データが作成さ
れるようになっている。この“輪郭制御”方式において
は、単に、測定点データを与えるだけで指令の線に沿っ
てNC加工できるように、すなわち、当該測定点間を傾い
た線分や円弧に沿って工具が移動できるように、“直線
補間”又は“円弧補間”等の機能が用いられている。(Technical background of the invention and its problems) Conventionally, when machining using an NC device, after measuring the model shape with a digitizer, the "contour control" method is used based on the measured point group data. NC processing data is created. In this "contour control" method, NC machining can be performed along the command line by simply giving the measurement point data, that is, the tool can be moved along the line segment or arc that is inclined between the measurement points. Thus, functions such as "linear interpolation" or "circular interpolation" are used.
ところが、一般の3次元曲面形状を有するモデルをNC加
工する際には、従来から上記“直線補間”機能を用いて
NC加工データが作成されているため、上記測定点間を補
間した線分に沿ってNC加工が行なわれ、その加工面は複
数の線分で分割された複数の平面となってしまい、モデ
ル形状のように滑らかな曲面を加工できないという問題
点があった。However, when NC machining a general model with a three-dimensional curved surface shape, the above-mentioned "linear interpolation" function has been used conventionally.
Since NC processing data is created, NC processing is performed along the line segment that interpolates between the above measurement points, and the processed surface becomes multiple planes divided by multiple line segments, resulting in model shape. However, there is a problem that a smooth curved surface cannot be processed.
第4図(A)および(B)は、上述のような一般の3次
元曲面形状を有するモデルをNC加工する際に従来から用
いられている上記“直線補間”機能の一例を示す図であ
り、同図(A)は上記測定点の間隔を広く、すなわちデ
ィジタイズデータが少なく測定が荒い場合の例を示して
おり、同図(B)は上記測定点の間隔を細かく、すなわ
ちディジタイズデータが多く測定が細かい場合の例を示
している。FIGS. 4 (A) and 4 (B) are views showing an example of the above-mentioned "linear interpolation" function which is conventionally used when NC machining a model having a general three-dimensional curved surface shape as described above. , (A) shows an example in which the intervals between the measurement points are wide, that is, the digitization data is small and the measurement is rough, and (B) in the figure shows the intervals between the measurement points are fine, that is, the digitization data is large. An example when the measurement is fine is shown.
第4図(A)に示すように、本来のモデル形状の一断面
MO(図示点線部)に対して、ディジタイザーにより得ら
れた測定点D1,D2,D3,D4,D5,…を元にしてNC加工データ
を作成する場合、上記測定点D1,D2,D3,D4,D5,…間がそ
れぞれ傾いた線分(図示実線部)で補間されるので、当
該NC加工データを元にしてNC加工を行なうと、図示斜線
部で示すようにいわゆる“食込み"W1,W2,W3や“削り残
し"W4が大きく発生してしまうことになる。そこで、上
記“食込み"W1,W2,W3が発生しそうな部位には予め制限
値を設けておき、所定量以上には加工しないようにして
“食い込み”が発生しないようにしなければならず、そ
の加工精度が問題となる上に、当該部位の仕上げ加工の
工数が増加するという問題点があった。As shown in FIG. 4 (A), one section of the original model shape
When creating NC machining data based on the measurement points D1, D2, D3, D4, D5, ... Obtained by the digitizer for MO (dotted line in the figure), the measurement points D1, D2, D3, D4, D5, ... are interpolated by inclined line segments (solid line portion in the figure), so if NC machining is performed based on the NC machining data, so-called "bite" W1, W2, W3 and "Uncut" W4 will be generated greatly. Therefore, it is necessary to preliminarily set a limit value in a portion where the above "bite" W1, W2, W3 is likely to occur, and to prevent the "bite" from occurring by not processing more than a predetermined amount. In addition to the problem of processing accuracy, there is a problem that the number of man-hours for finishing the relevant part increases.
そこで、第4図(B)に示すように上記モデル形状の一
断面MOをより細かく分割して測定し、当該測定点D11〜D
25,…間をそれぞれ傾いた線分で補間すると、その加工
精度は大幅に向上しモデル形状に近似した曲面を加工で
きるようになるが、この場合、当該測定点、すなわちデ
ィジタイズデータが増え、その都度測定するためにその
処理の手間が大変な上に多くの時間がかかるという問題
点があった。Therefore, as shown in FIG. 4 (B), one cross section MO of the model shape is finely divided and measured, and the measurement points D11 to D
By interpolating line segments inclined between 25, ..., the machining accuracy is greatly improved and it becomes possible to machine a curved surface that approximates the model shape. In this case, the measurement point, that is, digitized data, increases and There is a problem in that it takes a lot of time and labor for the processing because it needs to be measured each time.
(発明の目的) 本発明は上述のような事情からなされたものであり、本
発明の目的は、一般の3次元曲面形状を有するモデルを
NC加工する際に、ディジタイザーで細かく分割して測定
することなく、測定した測定点群データを元にしてモデ
ル形状に近似した滑らかな曲面を再現できるようにした
NC装置における曲線補間方式に関する。(Object of the Invention) The present invention has been made under the circumstances described above, and an object of the present invention is to provide a model having a general three-dimensional curved surface shape.
When NC machining is performed, it is possible to reproduce a smooth curved surface that approximates the model shape based on the measured point cloud data, without having to divide the measurement into small pieces with a digitizer.
The present invention relates to a curve interpolation method in NC equipment.
(発明の概要) 本発明は、NC装置における曲線補間方式に関し、3次元
の自由曲面形状を有するモデルをディジタイザーを用い
て測定した後、当該測定点のうち連続する4点を順次抽
出し、当該4測定点のうち第1,第2及び第3の測定点を
通る第1の自由曲線と、上記第2,上記第3及び第4の測
定点を通る第2の自由曲線とを生成して、上記第2及び
上記第3の測定点間において上記第1の自由曲線及び上
記第2の自由曲線を混ぜ合せ、予め設定しておいた当該
測定点間の分割精度に従い、上記第2及び上記第3の測
定点間においてX,Y,Zの補間データを算出して作成する
ようにしたものである。(Summary of the Invention) The present invention relates to a curve interpolation method in an NC device, after measuring a model having a three-dimensional free-form surface shape using a digitizer, successively extracting four consecutive points from the measurement points, Of the four measurement points, a first free curve passing through the first, second and third measurement points and a second free curve passing through the second, third and fourth measurement points are generated. Then, the first free-form curve and the second free-form curve are mixed between the second and third measurement points, and the second and the second free-form curves are set according to preset division accuracy between the measurement points. The X, Y, and Z interpolation data are calculated and created between the third measurement points.
(発明の実施例) 本発明の曲線補間方式においては、ディジタイザーで測
定された離散している測定点群を、2次Bezier曲線等の
自由曲線の混ぜ合せを用いて、滑らかな曲線に近似でき
るように当該測定点群を曲線補間する。すなわち、当該
測定点群を補間した2次Bezier曲線の混ぜ合せ曲線にお
ける、所定の分割精度で分割された分割点毎のデータを
演算して求めることにより上記曲線補間を実現するよう
にしている。(Embodiment of the Invention) In the curve interpolation method of the present invention, a discrete measurement point group measured by a digitizer is approximated to a smooth curve by using a mixture of free curves such as a quadratic Bezier curve. The measurement point group is subjected to curve interpolation so that it can be performed. That is, the above-mentioned curve interpolation is realized by calculating and obtaining data for each division point divided with a predetermined division accuracy in the blending curve of the quadratic Bezier curve obtained by interpolating the measurement point group.
第1図は本発明方式を実現するNC装置の概略を示すブロ
ック構成図であり、1は各種データや指令を入力するキ
ーボード等から成る入力装置であり、2は、補間する2
測定点間の分割データを求めるために、当該2測定点間
を所定の分割数で分割した各分割点を求めるための分割
精度を規定する曲線補間条件設定部であり、3は上記曲
線補間条件設定部2で設定された当該分割精度等を記憶
しておく曲線補間設定データメモリである。ここにおい
て、上記曲線補間条件設定部2で設定された当該分割精
度等は、CRT表示画面9にも表示されて目視確認される
ようになっている。一方、4は図示しないディジタイザ
ーにより測定されたモデルの各種測定データ(ディジタ
イズデータ等)を記憶しているNCデータメモリであり、
5は上記NCデータメモリ4に記憶されている測定データ
のうち、測定点列データだけを抽出して記憶しておく曲
線補間点列データメモリであり、6は上記曲線補間点列
データメモリ5に記憶されている測定点列データより、
連続する4測定点を抽出し、当該4測定点のうち隣接す
る3点(第1,第2及び第3の点、及び第2,第3及び第4
の点)により2本の自由曲線を生成する自由曲線生成部
である。そして、7は後述するようにして、上記自由曲
線生成部6で生成された2本の自由曲線が存在する連続
する4点(第1,第2,第3及び第4の点)間の中間の2点
(第2及び第3の点)において、上記曲線補間設定デー
タメモリ3に記憶された分割精度に従い、当該2本の自
由曲線を混ぜ合せ、X,Y,Zの補間データを算出する曲線
補間演算処理部であり、8は上記曲線補間演算処理部7
で算出されたX,Y,Zの補間データと、原点オフセット値
及び工具オフセット値等とを加味して、X,Y,Z各軸制御
指令値を発生するX,Y,Z関数発生部である。また、10は
上記X,Y,Z関数発生部8で発生されたX,Y,Z各軸制御指令
値に従い、X,Y,Z制御軸11を駆動して所定のNC加工を実
行させるX,Y,Z制御軸駆動部である。FIG. 1 is a block configuration diagram showing an outline of an NC device that realizes the method of the present invention. Reference numeral 1 is an input device composed of a keyboard or the like for inputting various data and commands, and 2 is an interpolation device.
In order to obtain the division data between the measurement points, the curve interpolation condition setting unit that defines the division accuracy for obtaining each division point obtained by dividing the two measurement points by a predetermined number of divisions, 3 is the curve interpolation condition It is a curve interpolation setting data memory that stores the division accuracy and the like set by the setting unit 2. Here, the division accuracy and the like set by the curve interpolation condition setting unit 2 are also displayed on the CRT display screen 9 so as to be visually confirmed. On the other hand, 4 is an NC data memory that stores various measurement data (digitizing data, etc.) of a model measured by a digitizer (not shown),
Reference numeral 5 is a curve interpolation point sequence data memory for extracting and storing only the measurement point sequence data from the measurement data stored in the NC data memory 4, and 6 is stored in the curve interpolation point sequence data memory 5. From the stored measurement point sequence data,
Four consecutive measurement points are extracted, and three adjacent points (first, second and third points, and second, third and fourth points among the four measurement points are extracted.
Is a free curve generation unit that generates two free curves. And, as will be described later, 7 is an intermediate point between four consecutive points (first, second, third and fourth points) where the two free curves generated by the free curve generating section 6 exist. At two points (second and third points), the two free curves are mixed according to the division accuracy stored in the curve interpolation setting data memory 3 to calculate X, Y, Z interpolation data. A curve interpolation calculation processing unit, 8 is the curve interpolation calculation processing unit 7
In the X, Y, Z function generator that generates the X, Y, Z axis control command values, taking into account the X, Y, Z interpolation data calculated in step 1 and the origin offset value, tool offset value, etc. is there. Further, 10 is an X that drives the X, Y, Z control axes 11 according to the X, Y, Z axis control command values generated by the X, Y, Z function generating section 8 to execute predetermined NC machining. , Y, Z control axis drive unit.
以上のような構成のNC装置において、上記曲線補間演算
処理部7におけるX,Y,Zの補間データ算出方法について
以下に説明する。A method of calculating the X, Y, Z interpolation data in the curve interpolation calculation processing section 7 in the NC device having the above-described configuration will be described below.
第3図(A)はディジタイザーで測定された測定点群
{Pi}(i=1,N)のうち連続する4点Pi,Pi+1,
Pi+2,Pi+3の一例を示す図であり、まず、当該4点Pi,
Pi+1,Pi+2,Pi+3のうち、最初の3点Pi,Pi+1,P
i+2と、最後の3点Pi+1,Pi+2,Pi+3とをそれぞれ図示
点線で示す2次Bezier曲線に近似した第1の2次Bezier
曲線Ri(u)と、第2の2次Bezier曲線Pi+1(v)とを
求める。FIG. 3 (A) shows four consecutive points P i , P i + 1 of the measurement point group {P i } (i = 1, N) measured by the digitizer.
It is a figure which shows an example of P i + 2 , P i + 3. First, the four points P i ,
Of P i + 1 , P i + 2 , P i + 3 , the first three points P i , P i + 1 , P
The first quadratic Bezier obtained by approximating i + 2 and the last three points P i + 1 , P i + 2 , and P i + 3 to the quadratic Bezier curve indicated by the dotted lines in the figure, respectively.
A curve R i (u) and a second quadratic Bezier curve P i + 1 (v) are obtained.
ここにおいて、上記第1の2次Bezier曲線Ri(u)は、 Ri(0)=Pi,Ri(0.5)=Pi+1,Ri(1)=Pi+2 とし、上記第2の2次Bezier曲線Ri+1(v)は Ri+1(0)=Pi+1,Ri+1(0.5)=Pi+2, Ri+1(1)=Pi+3 とする。Here, the first quadratic Bezier curve R i (u) is R i (0) = P i , R i (0.5) = P i + 1 , R i (1) = P i + 2 , The second quadratic Bezier curve R i + 1 (v) is R i + 1 (0) = P i + 1 , R i + 1 (0.5) = P i + 2 , R i + 1 (1) = Let P i + 3 .
このような第1の2次Bezier曲線Ri(u)と第2の2次
Bezier曲線Ri+1(v)とを混ぜ合せると、当該両曲線が
重なる点Pi+1,Pi+2間において、次式で表されるような
混ぜ合せた曲線C(t)を求めることができる(図示実
線)。Such first quadratic Bezier curve R i (u) and second quadratic
When the Bezier curve R i + 1 (v) is mixed, a mixed curve C (t) represented by the following equation is obtained between the points P i + 1 and P i + 2 where the two curves overlap. It can be obtained (solid line in the figure).
C(t)=(1−t)・R1(u)+t・Ri+1(v)……
(1) ここにおいて、tは上記分割精度により分割数に応じて
応0〜1の間の分割された数値と成り、そして、上記混
ぜ合せた曲線C(t)は C(0)=Ri(0.5)=Ri+1(0)=Pi+1 C(1)=Ri(1)=Ri+1(0.5)=Pi+2 となる。そこで、t,u,vは線形であるとすると、次式が
成立する。C (t) = (1- t) · R 1 (u) + t · R i + 1 (v) ......
(1) Here, t is a divided numerical value between 0 and 1 according to the number of divisions according to the division accuracy, and the mixed curve C (t) is C (0) = R i (0.5) = R i + 1 (0) = P i + 1 C (1) = R i (1) = R i + 1 (0.5) = P i + 2 . Therefore, assuming that t, u, and v are linear, the following equation holds.
一方、上記第1の2次Bezier曲線Ri(u)及び上記第2
の2次Bezier曲線Ri+1(v)は、それぞれ2次Bezier曲
線であるから、制御点▲Qi j▼を用いて次式のように表
すことができる。 On the other hand, the first quadratic Bezier curve R i (u) and the second
Since the quadratic Bezier curve R i + 1 (v) of is a quadratic Bezier curve, it can be expressed by the following equation using the control point ▲ Q i j ▼.
Ri(u)=(1-u)2・▲Qi 0▼+2(1−u)・u・▲Q
i 1▼+u2・▲Q1 2▼ Ri+1(v)=(1-v)2・▲Qi+1 0▼+2(1−v)・v・
▲Qi+1 1▼ +v2・▲Qi+1 2▼ …(3) そこで、上記(1),(2),(3)式より上記混ぜ合
せた曲線C(t)は制御点▲Qi j▼を用いて次式のよう
に表すことができる。R i (u) = (1-u) 2・ ▲ Q i 0 ▼ + 2 (1-u) ・ u ・ ▲ Q
i 1 ▼ + u 2・ ▲ Q 1 2 ▼ R i + 1 (v) = (1-v) 2・ ▲ Q i + 1 0 ▼ + 2 (1-v) ・ v ・
▲ Q i + 1 1 ▼ + v 2・ ▲ Q i + 1 2 ▼ (3) Therefore, the above-mentioned mixed curve C (t) is a control point ▲ from the above equations (1), (2) and (3). It can be expressed as follows using Q i j ▼.
一方、上記(3)式において、上記第1の2次Bezier曲
線Ri(u)は となり、上記第2の2次Bezier曲線Ri+1(v)は となる。そこで、第3図(B)に示すように上記4測定
点Pi,Pi+1,Pi+2,Pi+3と制御点▲Qi j▼との関係は、 と求まる。 On the other hand, in the equation (3), the first quadratic Bezier curve R i (u) is And the second quadratic Bezier curve R i + 1 (v) is Becomes Therefore, as shown in FIG. 3B, the relationship between the four measurement points P i , P i + 1 , P i + 2 , P i + 3 and the control point ▲ Q i j ▼ is as follows. Is asked.
そこで、上記(4),(5)式より、上記混ぜ合せた曲
線C(t)は次式のように表すことができる。Therefore, from the expressions (4) and (5), the mixed curve C (t) can be expressed as the following expression.
ここにおいて、この混ぜ合せた曲線C(t)はその内部
点において1次微係数が連続である。そこで、上記
(1),(2)式より次式が求まる。 Here, the blended curve C (t) has a continuous first derivative at its internal point. Therefore, the following equation is obtained from the above equations (1) and (2).
ここにおいて、t=0ではv=0,u=0.5であるから、R
i+1(0)=Ri(0.5)=Pi+1であり、又t=1ではv=
0.5,u=1であるから、Ri+1(0.5)=Ri(1)=Pi+2で
ある。よって、 となり、上記4測定点Pi,Pi+1,Pi+2,Pi+3のうち点P
i+1,Pi+2間について1次微係数まで連続にその曲線補
間を行なうことができる。そして、このような曲線補間
を、次の4測定点Pi+1,Pi+2,Pi+3,Pi+4について実施
した点Pi+2,Pi+3を曲線補間するという動作を繰返すこ
とにより、全測定点について曲線補間を終了する。 Here, since v = 0 and u = 0.5 at t = 0, R
i + 1 (0) = R i (0.5) = P i + 1 , and at t = 1 v =
Since 0.5, u = 1, R i + 1 (0.5) = R i (1) = P i + 2 . Therefore, Therefore, the point P among the above four measurement points P i , P i + 1 , P i + 2 , P i + 3
The curve interpolation can be continuously performed up to the first derivative between i + 1 and P i + 2 . Then, such curve interpolation is performed on the following four measurement points P i + 1 , P i + 2 , P i + 3 , and P i + 4 by curve interpolation of the points P i + 2 and P i + 3. By repeating the above operation, the curve interpolation is completed for all the measurement points.
以上のような曲線補間動作について、第2図のフローチ
ャートを用いて以下に詳細に説明する。The above curve interpolation operation will be described in detail below with reference to the flowchart of FIG.
まず、上記入力装置1を操作して求める曲線補間の精度
(分割数等)を入力すると、上記曲線補間条件設定部2
で設定された分割精度が上記曲線補間設定データメモリ
3に記憶される(ステップS1)。一方、上記NCデータメ
モリ4に記憶されている測定点群データのうち、第3図
(A)に示すようにまず最初に補間すべき連続する4点
Pi,Pi+1,Pi+2,Pi+3の点列データを抽出して上記曲線
補間点列データメモリ5に記憶する(ステップS2)。そ
こで、上記自由曲線生成部6において、上述のように2
次Bezier曲線を用いて、上記4点Pi,Pi+1,Pi+2,Pi+3
のうち最初の3点Pi,Pi+1,Pi+2を通る第1の自由曲線
と、最後の3点Pi+1,Pi+2,Pi+3を通る第2の自由曲線
とを生成し(ステップS3)、上記曲線補間演算処理部7
において、上述のように2次Bezier曲線の混ぜ合せを用
いて、上記4点のうち中間の2点Pi+1,Pi+2を通る当該
2本の自由曲線を混ぜ合せ、上記曲線補間データメモリ
3に設定された分割精度に従い当該2点Pi+1,Pi+2間の
X,Y,Z補間データを演算する(ステップS4)。そして、
上記X,Y,Z関数発生部8が当該X,Y,Z補間データに原点オ
フセット値及び工具オフセット値等を加味してX,Y,Z各
軸制御指令値を算出し(ステップS5)、上記X,Y,Z制御
軸駆動部10を介してX,Y,Z制御軸11を駆動させる(ステ
ップS6)。そして、上記補間すべき測定点が残っていれ
ば(ステップS7)、上記ステップS2に戻って次の連続す
る4測定点(この場合は、点Pi+1,Pi+2,Pi+3,Pi+4)
を抽出して補間処理し、さらに上記ステップS2〜S7を繰
返すことにより、ディジタイザーで測定された全測定点
を曲線補間して終了する。First, when the accuracy (the number of divisions, etc.) of the curve interpolation to be obtained by operating the input device 1 is input, the curve interpolation condition setting unit 2
The division accuracy set in step 3 is stored in the curve interpolation setting data memory 3 (step S1). On the other hand, among the measurement point group data stored in the NC data memory 4, four consecutive points to be interpolated first as shown in FIG. 3 (A).
The point sequence data of P i , P i + 1 , P i + 2 , P i + 3 are extracted and stored in the curve interpolation point sequence data memory 5 (step S2). Therefore, in the free curve generation unit 6, as described above,
Using the following Bezier curve, the above four points P i , P i + 1 , P i + 2 , P i + 3
Of the first three free-form curves passing through the first three points P i , P i + 1 , P i + 2 and the second three free-passing points through the last three points P i + 1 , P i + 2 , P i + 3 And a free curve (step S3), and the curve interpolation calculation processing unit 7
In the above, using the mixture of the quadratic Bezier curves as described above, the two free-form curves passing through the intermediate two points P i + 1 and P i + 2 among the above four points are mixed, and the above curve interpolation is performed. Between the two points P i + 1 and P i + 2 according to the division accuracy set in the data memory 3.
X, Y, Z interpolation data is calculated (step S4). And
The X, Y, Z function generator 8 calculates the X, Y, Z axis control command values by adding the origin offset value, the tool offset value, etc. to the X, Y, Z interpolation data (step S5), The X, Y, Z control axes 11 are driven via the X, Y, Z control axis drive section 10 (step S6). Then, if there are remaining measurement points to be interpolated (step S7), the process returns to step S2 and the next four consecutive measurement points (in this case, points P i + 1 , P i + 2 , P i + 3 , Pi + 4 )
Is extracted, interpolation processing is performed, and the above steps S2 to S7 are repeated, whereby all the measurement points measured by the digitizer are curvedly interpolated and the processing is completed.
第5図は、このようにしてディジタイザで測定された全
測定点DD1〜DD10(その座標値の一例を同図に示す)が
曲線補間された軌跡の一例を示す図であり、上述のよう
に、まず測定点DD1,DD2,DD3から求めた第1の自由曲線B
1(=A0)と、測定点DD2,DD3,DD4から求めた第2の自由
曲線B2(C1)とを混ぜ合せ、測定点DD2,DD3間におい
て、図示実線で示す軌跡B0を生成する。次に上記第2の
自由曲線C1(=B2)と、測定点DD3,DD4,DD5から求めた
第3の自由曲線C2とを混ぜ合せ、測定点DD3,DD4間にお
いて、図示実線で示す軌跡C0を生成する。そして、以下
同様にこれらの動作を全測定点間について繰返すことに
より、第5図に示すように、全測定点間を図示実線で示
すような軌跡により曲線補間して求めることができるよ
うになる。FIG. 5 is a diagram showing an example of a locus in which all measurement points DD1 to DD10 (examples of coordinate values thereof) measured by the digitizer in this way are curve-interpolated, and as described above. , First free curve B obtained from measurement points DD1, DD2, DD3
1 (= A0) and the second free curve B2 (C1) obtained from the measurement points DD2, DD3, DD4 are mixed to generate a locus B0 shown by a solid line between the measurement points DD2, DD3. Next, the second free curve C1 (= B2) and the third free curve C2 obtained from the measurement points DD3, DD4, DD5 are mixed, and the locus C0 shown by a solid line between the measurement points DD3, DD4 is shown. To generate. Then, by repeating these operations for all the measurement points in the same manner, it is possible to perform curve interpolation between all the measurement points with a locus shown by a solid line in the figure as shown in FIG. .
(発明の効果) 以上のように本発明方式によれば、一般の3次元曲面形
状を有するモデルをNC加工する際に、ディジタイザーで
測定した測定点群データのうち連続する4点を順次抽出
し、それぞれ演算して曲線補間することにより、ディジ
タイザーで細かく分割して測定することなく、従来どお
りの簡単な操作でモデル形状に近似した滑らかな曲面を
短時間でNC加工により再現できるようになる。(Effect of the Invention) As described above, according to the method of the present invention, when NC machining of a model having a general three-dimensional curved surface shape, four consecutive points are sequentially extracted from the measurement point group data measured by the digitizer. Then, by calculating and interpolating each curve, it is possible to reproduce a smooth curved surface that approximates the model shape by NC processing in a short time with simple operations as before without finely dividing and measuring with a digitizer. Become.
第1図は本発明方式を実現するNC装置の一実施例の概略
を示すブロック構成図、第2図は本発明方式の動作例を
説明するためのフローチャート、第3図(A),(B)
及び第5図は本発明方式を説明するための図、第4図
(A)及び(B)は従来の補間方式の一例を説明するた
めの図である。 1…入力装置、2…曲線補間条件設定部、3…曲線補間
設定データメモリ、4…NCデータメモリ、5…曲線補間
点列データメモリ、6…自由曲線生成部、7…曲線補間
演算処理部、8…X,Y,Z関数発生部、9…CRT、10…X,Y,
Z制御軸駆動部、11…X,Y,Z制御軸。FIG. 1 is a block configuration diagram showing an outline of an embodiment of an NC device for realizing the method of the present invention, FIG. 2 is a flow chart for explaining an operation example of the method of the present invention, and FIGS. 3 (A) and 3 (B). )
5 and 5 are diagrams for explaining the method of the present invention, and FIGS. 4 (A) and 4 (B) are diagrams for explaining an example of a conventional interpolation method. 1 ... Input device, 2 ... Curve interpolation condition setting unit, 3 ... Curve interpolation setting data memory, 4 ... NC data memory, 5 ... Curve interpolation point sequence data memory, 6 ... Free curve generation unit, 7 ... Curve interpolation calculation processing unit , 8 ... X, Y, Z function generator, 9 ... CRT, 10 ... X, Y,
Z control axis drive, 11 ... X, Y, Z control axes.
Claims (1)
ィジタイザーを用いて測定した後、当該測定点のうち連
続する4点を順次抽出し、当該4測定点のうち第1,第2
及び第3の測定点を通る第1の自由曲線と、前記第2,前
記第3及び第4の測定点を通る第2の自由曲線とを生成
して、前記第2及び前記第3の測定点間において前記第
1の自由曲線及び前記第2の自由曲線を混ぜ合せ、予め
設定しておいた当該測定点間の分割精度に従い、前記第
2及び前記第3の測定点間においてX,Y,Zの補間データ
を算出して作成するようにしたことを特徴とする数値制
御装置における曲線補間方式。1. A model having a three-dimensional free-form surface is measured by using a digitizer, and then four consecutive points of the measurement points are sequentially extracted, and the first and second points of the four measurement points are extracted.
And a third free-form curve passing through the third measurement point and a second free-form curve passing through the second, third and fourth measurement points to generate the second and third measurement points. The first free-form curve and the second free-form curve are mixed between points, and X, Y between the second and third measurement points is set according to the preset division accuracy between the measurement points. , Z is used to calculate and create interpolation data, and a curve interpolation method in a numerical controller is provided.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP61149070A JPH0682289B2 (en) | 1986-06-25 | 1986-06-25 | Curve interpolation method in numerical controller |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP61149070A JPH0682289B2 (en) | 1986-06-25 | 1986-06-25 | Curve interpolation method in numerical controller |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS635407A JPS635407A (en) | 1988-01-11 |
| JPH0682289B2 true JPH0682289B2 (en) | 1994-10-19 |
Family
ID=15467028
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP61149070A Expired - Fee Related JPH0682289B2 (en) | 1986-06-25 | 1986-06-25 | Curve interpolation method in numerical controller |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0682289B2 (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2698977B2 (en) * | 1988-02-05 | 1998-01-19 | ファナック株式会社 | Program creation method and program data input device |
| JPH01258106A (en) * | 1988-04-08 | 1989-10-16 | Fanuc Ltd | Spatial curve generating method |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS5672704A (en) * | 1979-11-19 | 1981-06-17 | Koyo Seiko Co Ltd | Determining method for profiling work information of profiling work system |
-
1986
- 1986-06-25 JP JP61149070A patent/JPH0682289B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JPS635407A (en) | 1988-01-11 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPH0373882B2 (en) | ||
| JP3162630B2 (en) | Surface definition method and apparatus for wireframe model | |
| JP4610873B2 (en) | Method, computer storage medium and system for generating a numerical control tool path on a solid model | |
| JPH0682289B2 (en) | Curve interpolation method in numerical controller | |
| US5175689A (en) | Apparatus for processing tool path to obtain workpiece examination data | |
| JP2796016B2 (en) | CAD system | |
| JPS63204413A (en) | Curved surface generation method | |
| JPS62106505A (en) | Preparing device for numerical control data for working of 3-dimensional form | |
| JP2638851B2 (en) | Numerical control processing method | |
| CN101441673A (en) | Method and apparatus for drafting milling cutter corrugated teeth edge opening type line | |
| JPH07129677A (en) | Production simulation device | |
| JPH0658603B2 (en) | Trajectory interpolation method for automatic machines | |
| JP2538645B2 (en) | Curved line approximation device | |
| JPH09269809A (en) | Free-form surface processing data creation device and free-form surface processing data creation method | |
| JPS62169210A (en) | System for generating tool locus in nc data generating device | |
| Luo et al. | Free form surface representation and machining for complex parts | |
| JP3057947B2 (en) | Data converter | |
| JPH06309023A (en) | Method for generating machining data | |
| JP2000351070A (en) | Welding condition setting method and system | |
| JP2792764B2 (en) | Numerical control data editing device | |
| JPH10269371A (en) | Free curve creation method, free curved surface creation method, and recording medium therefor | |
| JPH03277445A (en) | Control device for numerical control(nc) machine tool | |
| JPH0772916A (en) | Nc data generating method | |
| JP3048020B2 (en) | Digitized data processing device | |
| Tuli | Tool path generation and simulation of CNC lathe machine based on any 3D CAD model |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| LAPS | Cancellation because of no payment of annual fees |