JPH0711762B2 - NC data correction device - Google Patents
NC data correction deviceInfo
- Publication number
- JPH0711762B2 JPH0711762B2 JP61207986A JP20798686A JPH0711762B2 JP H0711762 B2 JPH0711762 B2 JP H0711762B2 JP 61207986 A JP61207986 A JP 61207986A JP 20798686 A JP20798686 A JP 20798686A JP H0711762 B2 JPH0711762 B2 JP H0711762B2
- Authority
- JP
- Japan
- Prior art keywords
- correction
- data
- point
- taper
- hunting
- 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 - Lifetime
Links
- 238000012937 correction Methods 0.000 title claims description 126
- 238000005259 measurement Methods 0.000 claims description 23
- 238000013500 data storage Methods 0.000 claims description 9
- 238000001514 detection method Methods 0.000 claims description 8
- 238000010586 diagram Methods 0.000 description 11
- 238000003754 machining Methods 0.000 description 5
- 238000000034 method Methods 0.000 description 4
- 238000006073 displacement reaction Methods 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 239000000700 radioactive tracer Substances 0.000 description 2
- 241001422033 Thestylus Species 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000007730 finishing process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000003672 processing method Methods 0.000 description 1
Landscapes
- Numerical Control (AREA)
Description
【発明の詳細な説明】 (発明の技術分野) 本発明は、ディジタイザによりモデルを測定して得られ
たNC(数値制御)データの修正装置に関し、特に上記NC
データの乱れを自動的に修正して、滑らかなNCデータを
作成できるようにしたNCデータ修正装置に関する。Description: TECHNICAL FIELD OF THE INVENTION The present invention relates to an NC (Numerical Control) data correction device obtained by measuring a model by a digitizer, and more particularly to the NC described above.
The present invention relates to an NC data correction device that automatically corrects data disturbances and creates smooth NC data.
(発明の技術的背景とその問題点) ディジタイザを用いて、トレーサヘッドに取付けたスタ
イラスをモデル表面に当接させながら、このモデルを測
定して得られたディジタイジングデータ(NCデータ)
は、上記モデル表面自体の粗度,スタイラスとモデルと
の接触摩擦やトレーサヘッドの追従精度等により、実際
のモデル表面通りの滑らかな点群としては出力されず
に、いわゆる“ゆらぎ”や“ハンチング”等が混入した
乱れた点群データとして出力される。そして、このよう
にして得られたNCデータをそのまま用いて、NC工作機械
により金型等のワークを加工する場合、NCデータの点群
には上述のような乱れがあるために工具が滑らかに移動
できず、送り速度をある速度以上に上げることができな
い。そこで、上述のようなNCデータに基づくNC加工はそ
の加工時間が長くなってしまうだけでなく、NCデータの
点群の乱れ量を予め仕上げ代に含めて、つまり仕上げ代
をその分多く加味してNC加工を実行しなければならない
ため、その最終仕上げ加工の工数を削減することができ
ないという問題点があった。(Technical background of the invention and its problems) Digitizing data (NC data) obtained by measuring a stylus attached to a tracer head while abutting the surface of the model with a digitizer.
Is not output as a smooth point cloud on the actual model surface due to the roughness of the model surface itself, contact friction between the stylus and the model, tracer head tracking accuracy, etc., so-called "fluctuation" or "hunting". Is output as disordered point cloud data. Then, when using the NC data obtained in this way as it is, when machining a workpiece such as a mold with an NC machine tool, the tool is smooth because the NC data point cloud has the above-mentioned disorder. It cannot move and the feed speed cannot be increased beyond a certain speed. Therefore, NC machining based on NC data as described above not only increases the machining time, but also includes the amount of disturbance of the point group of NC data in the finishing allowance in advance, that is, adding the finishing allowance accordingly. Therefore, there is a problem that the number of man-hours for final finishing cannot be reduced because the NC machining must be performed.
また、上述のようなNCデータの点群の乱れを修正すれ
ば、これら問題点を解決できることになるが、従来この
ようなNCデータを容易に且つ適確に修正できるような修
正装置は存在しなかった。Moreover, these problems can be solved by correcting the disorder of the point data of the NC data as described above, but conventionally there is a correction device that can easily and accurately correct such NC data. There wasn't.
(発明の目的) 本発明は上述のような事情からなされたものであり、本
発明の目的は、ディジタイザにより測定されたNCデータ
の乱れを自動的に修正して、滑らかなNCデータを作成で
きるようにしたNCデータ修正装置を提供することにあ
る。(Object of the Invention) The present invention has been made under the circumstances as described above, and an object of the present invention is to automatically correct the disturbance of NC data measured by a digitizer to create smooth NC data. To provide the NC data correction device.
(発明の概要) 本発明はNCデータ修正装置に関するもので、入力された
ディジタイザにより測定の点群データからなるNCデータ
を解析し、NCデータの各測定点の座標値と対応する座標
値テーブルを作成して記憶するNCデータ記憶部と、 入力されたハンチング、逆行、テーパ、ゆれ等の各修正
項目毎に設定した修正条件を記憶する修正条件記憶部
と、 該修正条件記憶部に記憶された修正条件に従い、前記NC
データ記憶部に記憶されている座標値テーブルの座標数
直列中の修正箇所を検出する修正箇所検出部と、 該修正箇所検出部で検出された修正箇所データを記憶す
る修正箇所記憶部と、 前記入力されたNCデータを、前記記憶された修正条件デ
ータ及び修正箇所データに基づいて自動修正するNCデー
タ修正部と、 を備えたものであり、そして、前記修正項目のハンチン
グ修正にあっては、ハンチングONとハンチングOFF及び
ハンチングの測定方向長さ(ハンチング検索長さ)に対
する各設定値を修正条件とし、ハンチングONとOFFとの
領域に存在する点群を削除し、ON前の2点とOFF後の2
点を夫々延長した交点を更新点とする修正を行い、前記
修正項目の逆行修正にあっては、測定方向(ディジタイ
ジング方向)と逆方向のデータの増分に対する設定値を
修正条件とし、設定値以上の増分をもつ測定点を削除す
る修正を行い、前記修正項目のテーパ修正にあっては、
テーパONとするZ方向変化量とテーパONと判定するテー
パ値及びテーパOFFとするX方向変化量とテーパOFFと判
定するテーパ値のテーパON,OFFに対する設定値を修正条
件とし、テーパOFFの測定点より水平方向又は接線方向
の点を更新点とする修正を行い、前記修正項目のゆれ修
正にあっては、ゆれONに対する設定値及びトレランスに
対する設定値を修正条件とし、ゆれの単位長当りのトレ
ランス量がトレランス設定値になるように修正を行うよ
うにしている。(Summary of the Invention) The present invention relates to an NC data correction device, which analyzes NC data composed of point cloud data of measurement by an input digitizer, and creates a coordinate value table corresponding to the coordinate value of each measurement point of the NC data. An NC data storage unit that is created and stored, a correction condition storage unit that stores correction conditions set for each correction item such as hunting, retrograde, taper, and shake that have been input, and a correction condition storage unit that stores the correction conditions. According to the correction conditions, the above NC
The number of coordinates in the coordinate value table stored in the data storage unit; a correction point detection unit that detects a correction point in series; a correction point storage unit that stores the correction point data detected by the correction point detection unit; An NC data correction unit that automatically corrects the input NC data based on the stored correction condition data and correction location data, and, in the hunting correction of the correction item, Hunting ON, hunting OFF, and each set value for the hunting measurement length (hunting search length) are used as correction conditions, the point cloud existing in the hunting ON and OFF areas is deleted, and the two points before ON and OFF Latter two
Corrections are made by using the intersections that extend the respective points as update points, and in the retrograde correction of the above correction items, the set value for the increment of the data in the measurement direction (digitizing direction) and the reverse direction is the correction condition, and the set value is set. Correction was made to delete measurement points with the above increments, and in the taper correction of the above-mentioned correction items,
Taper OFF measurement with the set values for taper ON and OFF of the Z-direction change amount to make the taper ON and the taper value to determine the taper ON and the X-direction change amount to taper OFF and the taper value to determine the taper OFF to be the taper ON and OFF Correction is performed with the point in the horizontal direction or tangential direction from the point as the update point.When correcting the fluctuation of the correction item, the setting value for shaking ON and the setting value for tolerance are set as the correction conditions, and Correction is made so that the tolerance amount becomes the tolerance setting value.
(発明の実施例) 第1図は本発明のNCデータ修正装置の概略を示すブロッ
ク構成図であり、このNCデータ修正装置はディジタイザ
やNC装置とは別に設けられているものである。第1図に
おいて、1は固定ディスク,フロッピーディスク等の外
部記憶媒体であり、ディジタイザにより測定されたNCデ
ータはこの外部記憶媒体1に記憶されている。2はこの
外部記憶媒体1に記憶されたNCデータを読取るNCデータ
入力部であり、3はこの読取ったNCデータを解析し、こ
のNCデータとその座標値との対応をとる座標値テーブル
を作成して記憶しておくNCデータ記憶部である。一方、
4は後述する修正条件を入力するキーボード等から成る
入力装置であり、5は入力装置4から入力された修正条
件を記憶しておく修正条件記憶部である。6は後述する
ように修正条件記憶部5に記憶された修正条件に従い、
NCデータ記憶部3に記憶されている座標テーブルに対し
て修正個所の検出を行ない、この検出された修正個所を
修正個所記憶部7に出力して記憶させる修正個所検出部
である。また、修正個所検出部6は上記修正個所に該当
するNCデータをNCデータ入力部2から受取り、NCデータ
修正部8に出力する。そして、このNCデータ修正部8
は、修正条件記憶部5に記憶されている修正条件と修正
個所記憶部7に記憶されている修正個所とに基づいて、
修正個所検出部6から出力されるNCデータに後述するよ
うにして自動的に必要な修正処理を加えた後、この修正
されたNCデータをCRT表示装置9に表示したり、プロッ
タ10で描画すると共に、固定ディスク1に記憶されてい
るNCデータを修正して書込むようになっている。(Embodiment of the Invention) FIG. 1 is a block diagram showing the outline of an NC data correction device according to the present invention. This NC data correction device is provided separately from a digitizer and an NC device. In FIG. 1, reference numeral 1 is an external storage medium such as a fixed disk or a floppy disk, and NC data measured by a digitizer is stored in this external storage medium 1. Reference numeral 2 is an NC data input section for reading the NC data stored in the external storage medium 1. Reference numeral 3 is for analyzing the read NC data and creating a coordinate value table for correlating the NC data with the coordinate values. It is an NC data storage unit that stores the data. on the other hand,
Reference numeral 4 denotes an input device such as a keyboard for inputting correction conditions described later, and reference numeral 5 denotes a correction condition storage unit for storing the correction conditions input from the input device 4. 6 is in accordance with the correction condition stored in the correction condition storage unit 5 as described later,
This is a correction point detecting section for detecting a correction point in the coordinate table stored in the NC data storage section 3 and outputting the detected correction point to the correction point storage section 7 for storage. The correction point detecting unit 6 receives the NC data corresponding to the correction point from the NC data input unit 2 and outputs it to the NC data correcting unit 8. And this NC data correction unit 8
Is based on the correction condition stored in the correction condition storage unit 5 and the correction point stored in the correction point storage unit 7,
After the necessary correction processing is automatically added to the NC data output from the correction point detection unit 6 as described later, the corrected NC data is displayed on the CRT display device 9 or drawn by the plotter 10. At the same time, the NC data stored on the fixed disk 1 is modified and written.
このような構成において、その動作を第2図のフローチ
ャートを参照して説明する。With such a configuration, its operation will be described with reference to the flowchart of FIG.
先ず入力装置4で修正条件を設定するが(ステップS
1)、設定事項は入出力NCデータファイルとテーパ部,
ハンチング等の修正項目であり、これら修正条件は修正
条件記憶部5に記憶される。この後1バッファ分のNCデ
ータがセットされるが(ステップS2)、これは外部記憶
媒体1より1バッファ分のNCデータがNCデータ入力部2
を介して入力され、解析されてNCデータ記憶部3に記憶
されることによって行なわれる。そして、NCデータの有
無を判断して(ステップS3)、無い場合は終了となり、
有る場合には修正個所検出部6は当該NCデータの修正部
を検出する(ステップS4)。第3図はCRT表示装置9に
表示されたNCデータの例を示しており、ディジタイザで
得られた各測定点群DD1,DD2,…DDnを折線で結んだ工具
軌跡DTのグラフィック表示と、これら各測定点群DD1〜D
DnのX,Y,Z座標値である文字データDCのキャラクタ表示
とがなされている。このNCデータ例では、領域AR1及びA
R2のデータが修正の必要な部分となっている。なお、キ
ャラクタの表示は必らずしも必要なものではない。この
ような修正個所の検出の後、NCデータ修正部8はNCデー
タ記憶部3に記憶されているNCデータと、修正条件記憶
部5に記憶されている修正条件及び修正個所記憶部7に
記憶されている修正個所データとに基づいて、1バッフ
ァ分のNCデータの修正を後述する如く自動的に行ない、
自動修正されたNCデータをCRT表示装置9に表示した
り、プロッタ10で描画したりすると共に、外部記憶媒体
1に記憶する(ステップS5)。このような1バッファ分
ずつの修正動作を全NCデータについて繰り返すのであ
る。First, the correction condition is set by the input device 4 (step S
1), setting items are input / output NC data file and taper part,
These are correction items such as hunting, and these correction conditions are stored in the correction condition storage unit 5. After this, NC data for one buffer is set (step S2). This is because the NC data for one buffer from the external storage medium 1 is the NC data input section 2
It is carried out by inputting the data through, analyzing and storing in the NC data storage unit 3. Then, the presence / absence of NC data is judged (step S3), and if there is no NC data, the process ends.
If there is, the correction point detection section 6 detects the correction section of the NC data (step S4). FIG. 3 shows an example of NC data displayed on the CRT display device 9, which is a graphic display of a tool path DT in which each measurement point group DD1, DD2, ... DDn obtained by the digitizer is connected by a broken line, and these. Each measurement point group DD1 to D
The character display of the character data DC, which is the X, Y, and Z coordinate values of Dn, is displayed. In this NC data example, areas AR1 and A
The R2 data is the part that needs correction. The display of the character is not always necessary. After detecting such a correction point, the NC data correction section 8 stores the NC data stored in the NC data storage section 3, the correction condition stored in the correction condition storage section 5 and the correction point storage section 7. The NC data for one buffer is automatically corrected on the basis of the corrected position data as described below.
The automatically corrected NC data is displayed on the CRT display device 9 and drawn by the plotter 10, and is stored in the external storage medium 1 (step S5). Such a correction operation for each buffer is repeated for all NC data.
ここにおいて、上記修正条件,上記修正個所の検出方法
及び上記修正処理方法としては、上記乱れ状態に応じて
以下に列記するような条件及び各方法が用いられる。Here, as the above-mentioned correction condition, the above-mentioned correction point detecting method, and the above-mentioned correction processing method, the conditions and respective methods listed below according to the above-mentioned disordered state are used.
(I)ハンチング修正 NCデータが第4図の(A)で示すような点P1〜P10のハ
ンチングデータである場合、ハンチングのON,OFF点を次
のように探索する。すなわち、先ず、第5図に示すよう
に、NCデータ中の測定点群P1〜Pnのうち連続する3測定
点Pi-1,Pi,Pi+1について、2測定点間Pi,Pi+1の距離|dl
|及びこの3測定点Pi-1,Pi,Pi+1のなす角度θiが以下
の条件(1)及び(2)を同時に満足するとき、この測
定点群P1〜Pnは測定点群Pi-1,Pi,Pi+1においてハンチン
グしている(ハンチングON)と検出する。(I) Hunting correction When the NC data is the hunting data of points P 1 to P 10 as shown in FIG. 4 (A), the hunting ON / OFF points are searched as follows. That is, first, as shown in FIG. 5, 3 measurement points Pi -1 consecutive among the measurement point group P 1 to PN in NC data, Pi, for Pi +1, between two measurement points Pi, Pi +1 Distance | dl
And the angle θi formed by these three measurement points Pi −1 , Pi, Pi +1 simultaneously satisfies the following conditions (1) and (2), the measurement point groups P 1 to Pn are measured point group Pi − It is detected that hunting is occurring (hunting ON) at 1 , Pi, Pi +1 .
|dl|>設定値(Ld) ………(1) θi<設定値(θh) ………(2) このようにしてハンチングONが検出された測定点群P1〜
Pnについては、第6図に示すように以下の条件を満足す
るとき、そのハンチングの終了(OFF)とする。すなわ
ち、ある変曲点Pn-1より設定長さLsの範囲内に中間点Pn
(この中間点Pcがなす角度θc>設定値θs)を除いて
次の変曲点Pn(この変曲点Pnがなす角度θn<設定値θ
t)が存在しないとき、ハンチングOFFを検出してハン
チング終了とする。但し、ここにおいて次の変曲点Pnが
所定のハンチング探索長Liを超える場合は、ハンチング
ではないと判定する。| dl |> Set value (Ld) ……… (1) θi <Set value (θh) ……… (2) Measurement point group P 1 ~ where hunting ON is detected in this way
Regarding Pn, when the following conditions are satisfied as shown in FIG. 6, the hunting is terminated (OFF). That is, the intermediate point within the range of the set length Ls inflection point Pn -1 in Pn
Except for (angle θc formed by this intermediate point Pc> set value θs), the next inflection point Pn (angle θn formed by this inflection point Pn <set value θ
When t) does not exist, hunting OFF is detected and the hunting ends. However, if the next inflection point Pn exceeds the predetermined hunting search length Li, it is determined that hunting is not performed.
したがって、第4図の(A)に示すNCデータでは点P5が
ハンチングONとして検索され、点P8がハンチングOFFと
して探索されるので、同図(B)の如くこれらハンチン
グ点P5〜P7を削除する。そして、ONの前の2点P3,P4とO
FFの後の2点P8,P9をそれぞれ伸長して交点を求め、内
側で求まった方の点P4′を第4図(C)の如く新しい更
新点とする。これによりハンチングが除去されて、滑ら
かなNCデータに修正される。Therefore, in the NC data shown in FIG. 4A, the point P 5 is searched for hunting ON and the point P 8 is searched for hunting OFF. Therefore, as shown in FIG. 4B, these hunting points P 5 to P Remove 7 . And two points P3, P4 and O before ON
The two points P 8 and P 9 after the FF are respectively expanded to obtain the intersection, and the point P 4 ′ obtained inside is set as a new update point as shown in FIG. 4 (C). This removes hunting and corrects the NC data to be smooth.
以上のハンチング修正によって、例えば第7図(A)及
び第8図(A)に示すようなNCデータのハンチングは、
それぞれ第7図(B)及び第8図(B)に示す如く滑ら
かに修正される。With the above hunting correction, for example, NC data hunting as shown in FIG. 7 (A) and FIG. 8 (A)
The correction is performed smoothly as shown in FIGS. 7 (B) and 8 (B), respectively.
(II)逆行修正 逆行修正はハンチング修正を行なった後に反対方向のデ
ータの修正を行なう。すなわち、第9図に示すように増
分dxが測定方向と反対の符号となったときに逆行データ
とする。上記増分dxが反対方向になる原因は、今回の測
定値P2に誤差があるか、前回の測定値P1に誤差がある場
合と考えられる。このため、第10図(A)に示す如く増
分dxが反対方向となった今回の測定値P2を削除し、さら
に同図(B)に示す如く増分dxは反対方向となるので、
測定点P1を捨てる。これによって、第10図(C)に示す
ように残りの測定点(P0,P3,P4)が同一方向となる。(II) Retrograde correction In retrograde correction, hunting correction is performed and then data in the opposite direction is corrected. That is, as shown in FIG. 9, when the increment dx has a sign opposite to the measurement direction, it is set as retrograde data. It is considered that the above-mentioned increment dx is in the opposite direction when there is an error in the measured value P 2 of this time or an error in the measured value P 1 of the previous time. Therefore, as shown in FIG. 10 (A), the measured value P 2 for which the increment dx is in the opposite direction is deleted, and as shown in FIG. 10 (B), the increment dx is in the opposite direction.
Discard measurement point P 1 . As a result, the remaining measurement points (P 0 , P 3 , P 4 ) are in the same direction as shown in FIG. 10 (C).
(III)テーパ部修正 NCデータのテーパ部のON,OFFを第13図(A)及び(B)
の如く判定して、第14図で示すような修正を行なう。こ
こに、テーパ部ONは第13図(A)に示すようなNCデータ
において、 |dz|>Dz ………(3) |dx/dz|<TON ………(4) を満たした場合にのみ検出される。上記(3)式におけ
るDzはテーパ部ONとするZ変位量の設定値であり、上記
(4)式におけるTONはテーパ部ONを判定するためのテ
ーパ値である。上記(3)式及び(4)式でテーパ部ON
が検出される、テーパ部ONの始点を第13図(A)の点P1
とする。また、テーパ部OFFは第13図(B)に示すよう
なNCデータにおいて、 |dx|>Dx ………(5) |dx/dz|>TOF ………(6) を満たした場合にのみ検出される。上記(5)式におけ
るDxはテーパ部OFFとするX変位量であり、上記(6)
式におけるTOFはテーパ部OFFを判定するためのテーパ値
である。そして、テーパ部ONの点から上記(5)及び
(6)式が同時に成立する場合をテーパ部OFFとする。
第13図(B)の例ではテーパ部の終点をP2とする。(III) Taper part correction Turning ON / OFF of the taper part of NC data is shown in Figures 13 (A) and (B).
Then, the correction as shown in FIG. 14 is made. Here, when the taper part ON satisfies | dz |> Dz ……… (3) | dx / dz | <T ON ……… (4) in NC data as shown in Fig. 13 (A). Only detected in. Dz in the above equation (3) is a set value of the Z displacement amount for turning the taper portion ON, and T ON in the above equation (4) is a taper value for determining the ON of the taper portion. The taper part is turned on by the above formulas (3) and (4)
There is detected, a point P 1 of the starting point of FIG. 13 of the tapered portion ON (A)
And Also, the taper section OFF is when NC data as shown in Fig. 13 (B) satisfies | dx |> Dx ……… (5) | dx / dz | > T OF ……… (6). Only detected. Dx in the above equation (5) is the X displacement amount for turning off the taper portion, and the above (6)
T OF in the equation is a taper value for determining whether the taper portion is OFF. Then, when the above equations (5) and (6) are simultaneously satisfied from the point of turning on the taper portion, the taper portion is turned off.
In the example of FIG. 13 (B), the end point of the tapered portion is P 2 .
第14図はテーパ部の修正方法を示しており、水平方向の
点Q1又は接線方向の点Q2を求めて、点P2を点P2′のよう
に修正する。FIG. 14 shows a method of correcting the tapered portion, in which the point Q 1 in the horizontal direction or the point Q 2 in the tangential direction is obtained and the point P 2 is corrected to the point P 2 ′.
(IV)ゆれ修正 NCデータのゆれを修正する場合、モデル表面の実際の凹
凸であるかデータ上のゆれであるかを区別することがで
きないため、明らかにデータ上のゆれであるというパタ
ーンについてのみゆれ修正を行なう。すなわち、ゆれの
検出は第15図で示すトレランスTrが設定値TRよりも大き
い時とし、修正は単位長さ当りのトレランス量が でトレランスTrが設定値TRになるようにする。ここに、
データ上の修正可能なゆれは、第16図において、 であり、P1P2とP4P5のなす角度θが θ>Yθm ………(10) であり、 Ht<TR ………(12) の場合とする。上記各式においてYLaはゆれ前後の判定
長さであり、Yθmはゆれ判定角度、YLはゆれ判定長
さ、TRは単位長さ当りのトレランス判定値である。そし
て、上記(8)及び(9)式よりゆれの前後にゆれの無
い良好な区間があり、その間のゆれを判別できるように
規定すればよい。これと共に、上記(10)式よりその前
後の直線 の傾きの差が少なくて、平旦な区間であることを規定
し、上記(11)及び(12)式より実際の凹凸と区別する
ため、それより小さい値を設定することによってゆれを
規定する。なお、ゆれONは第17図及び第18図において、 θ<{180゜−tan-1TR} θ>Yθa のときである。(IV) Shake correction When the shake of NC data is corrected, it is not possible to distinguish between the actual unevenness of the model surface and the shake on the data, so it is clear only for the pattern of shake on the data. Perform shake correction. That is, the detection of the shaking and when tolerance Tr shown in FIG. 15 is larger than the set value T R, modifications tolerance amount per unit length In tolerance Tr is set to be a set value T R. here,
The fluctuation that can be corrected on the data is shown in FIG. And the angle θ formed by P 1 P 2 and P 4 P 5 is θ> Yθm ……… (10), And if Ht of <T R ......... (12). A determining length of about YLa is shaking in the above formulas, Yshitaemu the shaking determined angle, YL is shaking the determining length, T R is the tolerance determination value per unit length. Then, according to the above equations (8) and (9), there is a good section without shaking before and after the shaking, and it may be defined so that the shaking during the section can be discriminated. Along with this, the straight line before and after that from the above equation (10) The difference between the slopes is small and it is defined as a normal section, and in order to distinguish it from the actual unevenness by the above equations (11) and (12), the fluctuation is defined by setting a smaller value. In addition, shake ON is shown in Fig. 17 and Fig. 18, This is when θ <{180 ° -tan −1 T R } θ> Yθa.
ゆれ修正の実施例は第19図〜第21図であり、いずれも上
図が修正前のNCデータ、下図がゆれ修正後のNCデータを
示している。Examples of the shake correction are shown in FIGS. 19 to 21, and in all of them, the upper diagram shows the NC data before the correction and the lower diagram shows the NC data after the shake correction.
(発明の効果) 以上のように本発明のNCデータ修正装置によれば、NCデ
ータの乱れを自動的に修正して滑らかなNCデータを得る
ことができるので、NC工作機械によりNC加工を実行する
際に、従来よりも速い送り速度を用いることができ、そ
のために加工時間を短縮できると共に、仕上げ代を最小
限に抑えることができ、最終手仕上げ加工の工数を大幅
に短縮することができる。(Effects of the Invention) As described above, according to the NC data correction device of the present invention, it is possible to automatically correct the disturbance of the NC data and obtain smooth NC data. Therefore, NC machining is performed by the NC machine tool. In doing so, it is possible to use a higher feed rate than before, which can shorten the processing time, minimize the finishing allowance, and significantly reduce the number of final hand finishing processes. .
第1図は本発明の一実施例を示すブロック構成図、第2
図はその動作例を示すフローチャート、第3図はNCデー
タの表示例を示す図、第4図〜第6図はハンチング修正
を説明するための図、第7図(A)及び第8図(A)は
ハンチングを有するNCデータの例を示す図、第7図
(B)及び第8図(B)はそれぞれ第7図(A)及び第
8図(A)の修正図、第9図〜第12図は逆行修正を説明
するための図、第13図(A),(B)及び第14図はテー
パ部修正を説明するための図、第15図〜第18図はゆれ修
正を説明するための図、第19図〜第21図はゆれ修正の例
を示す図である。 1……外部記憶媒体、2……NCデータ入力部、3……NC
データ記憶部、4……入力装置、5……修正条件記憶
部、6……修正個所検出部、7……修正個所記憶部、8
……NCデータ修正部。FIG. 1 is a block diagram showing an embodiment of the present invention, and FIG.
FIG. 3 is a flowchart showing an example of the operation, FIG. 3 is a view showing an example of NC data display, FIGS. 4 to 6 are diagrams for explaining hunting correction, FIGS. 7 (A) and 8 ( (A) is a diagram showing an example of NC data having hunting, FIGS. 7 (B) and 8 (B) are modified diagrams of FIGS. 7 (A) and 8 (A), and FIG. 9 to FIG. FIG. 12 is a diagram for explaining retrograde correction, FIGS. 13 (A), (B) and FIG. 14 are diagrams for explaining taper portion correction, and FIGS. 15-18 are diagrams for explaining shake correction. FIG. 19 and FIG. 21 are diagrams for illustrating an example of shake correction. 1 ... External storage medium, 2 ... NC data input section, 3 ... NC
Data storage unit, 4 input device, 5 correction condition storage unit, 6 correction portion detection unit, 7 correction portion storage unit, 8
...... NC data correction section.
Claims (5)
データからなるNCデータを解析し、NCデータの各測定点
の座標値と対応する座標値テーブルを作成して記憶する
NCデータ記憶部と、 入力されたハンチング、逆行、テーパ、ゆれ等の各修正
項目毎に設定した修正条件を記憶する修正条件記憶部
と、 該修正条件記憶部に記憶された修正条件に従い、前記NC
データ記憶部に記憶されている座標値テーブルの座標数
値列中の修正箇所を検出する修正箇所検出部と、 該修正箇所検出部で検出された修正箇所データを記憶す
る修正箇所記憶部と、 前記入力されたNCデータを、前記記憶された修正条件デ
ータ及び修正箇所データに基づいて自動修正するNCデー
タ修正部と、 を備えたことを特徴とするNCデータ修正装置。1. The input digitizer analyzes NC data consisting of measurement point cloud data, creates and stores a coordinate value table corresponding to the coordinate values of each measurement point of the NC data.
The NC data storage unit, the correction condition storage unit that stores the correction conditions set for each correction item such as the entered hunting, retrograde, taper, and shake, and the correction conditions stored in the correction condition storage unit NC
A correction point detection section for detecting a correction point in a coordinate value sequence of a coordinate value table stored in the data storage section; a correction point storage section for storing the correction point data detected by the correction point detection section; An NC data correction device comprising: an NC data correction unit that automatically corrects the input NC data based on the stored correction condition data and correction location data.
は、ハンチングONとハンチングOFF及びハンチングの測
定方向長さ(ハンチング検索長さ)に対する各設定値を
修正条件とし、ハンチングONとOFFとの領域に存在する
点群を削除し、ON前の2点とOFF後の2点を夫々延長し
た交点を更新点とする修正を行う特許請求の範囲第1項
に記載のNCデータ修正装置。2. In the hunting correction of the correction item, hunting ON and hunting OFF, and each set value for the hunting measurement length (hunting search length) is used as a correction condition, and the hunting ON and OFF areas are set. 2. The NC data correction device according to claim 1, wherein the point data existing in 1 is deleted, and the correction is performed by using the intersections obtained by extending 2 points before ON and 2 points after OFF as update points.
方向(ディジタイジング方向)と逆方向のデータの増分
に対する設定値を修正条件とし、設定値以上の増分をも
つ測定点を削除する修正を行う特許請求の範囲第1項に
記載のNCデータ修正装置。3. In the retrograde correction of the correction item, the set value for the increment of the data in the direction opposite to the measurement direction (digitizing direction) is used as the correction condition, and the measurement point having the increment of the set value or more is deleted. The NC data correction device according to claim 1, which performs correction.
ーパONとするZ方向変化量とテーパONと判定するテーパ
値及びテーパOFFとするX方向変化量とテーパOFFと判定
するテーパ値のテーパON,OFFに対する設定値を修正条件
とし、テーパOFFの測定点より水平方向又は接線方向の
点を更新点とする修正を行う特許請求の範囲第1項に記
載のNCデータ修正装置。4. In the taper correction of the correction items, the Z direction change amount for turning on the taper, the taper value for determining taper ON, and the X direction for changing the taper OFF and the taper value for determining taper OFF are set. The NC data correction device according to claim 1, wherein the correction value is a set value for ON / OFF of the taper, and correction is performed by setting a point in the horizontal direction or a tangential direction from a measurement point of the taper OFF as an update point.
ONに対する設定値及びトレランスに対する設定値を修正
条件とし、ゆれの単位長当りのトレランス量がトレラン
ス設定値になるように修正を行う特許請求の範囲第1項
に記載のNCデータ修正装置。5. A shake is included in the shake correction of the correction item.
The NC data correcting device according to claim 1, wherein the setting value for ON and the setting value for tolerance are used as a correction condition, and correction is performed so that the tolerance amount per unit length of fluctuation becomes a tolerance setting value.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP61207986A JPH0711762B2 (en) | 1986-09-05 | 1986-09-05 | NC data correction device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP61207986A JPH0711762B2 (en) | 1986-09-05 | 1986-09-05 | NC data correction device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS6364104A JPS6364104A (en) | 1988-03-22 |
| JPH0711762B2 true JPH0711762B2 (en) | 1995-02-08 |
Family
ID=16548788
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP61207986A Expired - Lifetime JPH0711762B2 (en) | 1986-09-05 | 1986-09-05 | NC data correction device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0711762B2 (en) |
Families Citing this family (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2642167B2 (en) * | 1988-11-30 | 1997-08-20 | オ−クマ株式会社 | How to create numerical control data |
| JP4102521B2 (en) * | 1999-07-26 | 2008-06-18 | 三菱電機株式会社 | Trajectory control device |
| JP5477247B2 (en) * | 2010-09-30 | 2014-04-23 | ブラザー工業株式会社 | Numerical control apparatus, moving path correcting method, moving path correcting program, and storage medium |
| JP5659666B2 (en) * | 2010-09-30 | 2015-01-28 | ブラザー工業株式会社 | Numerical control apparatus, moving path correcting method, moving path correcting program, and storage medium |
| JP6281315B2 (en) * | 2014-02-26 | 2018-02-21 | ブラザー工業株式会社 | Numerical control device and moving path correction method |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS61173842A (en) * | 1985-01-24 | 1986-08-05 | Yamazaki Mazak Corp | Numerical control device |
| JP2617292B2 (en) * | 1985-02-28 | 1997-06-04 | 株式会社リコー | Program creation device for numerically controlled machine tools |
-
1986
- 1986-09-05 JP JP61207986A patent/JPH0711762B2/en not_active Expired - Lifetime
Also Published As
| Publication number | Publication date |
|---|---|
| JPS6364104A (en) | 1988-03-22 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US6917905B2 (en) | Mold design system and computer-readable recording medium storing mold design program | |
| JP3059495B2 (en) | 3D shape processing method | |
| US6895359B2 (en) | Workpiece coordinate system origin setting method, workpiece coordinate system origin setting program and workpiece coordinate system origin setting device of a surface property measuring machine | |
| CN106844031A (en) | Positioning and rectifying method and mobile terminal | |
| CN115122333B (en) | Robot calibration method, device, electronic device and storage medium | |
| JPH0711762B2 (en) | NC data correction device | |
| US5412742A (en) | Method for the detection of line width of line image in image processor | |
| JPH0721224A (en) | Figure correction method | |
| HUT75820A (en) | Method of stroke segmentation for handwritten input | |
| US4578574A (en) | Pattern tracer with variable effective forward offset and method | |
| CN120095835A (en) | Method and system for robot processing three-dimensional special-shaped stone | |
| CN110334430A (en) | The automatic marking method of cable tray, system, equipment and storage medium in drawing | |
| EP0353302A1 (en) | Non-contact profiling method | |
| US20030187541A1 (en) | Design supporting program, design supporting method, design supporting apparatus and computer-readable recording medium recorded with design supporting program | |
| CN115930879A (en) | Apparatus, method, server and storage medium for contour detection of workpiece | |
| CN108168456A (en) | A new method is taken in a kind of laser scanning inspection | |
| JPS6294230A (en) | Hole searching system | |
| JPH05146946A (en) | Tool path calculating device based on digitized data | |
| CN121916893A (en) | A method and system for intelligent path planning of a bridge pier climbing robot | |
| JPH0330002A (en) | Editing method for path data | |
| JPS6344209A (en) | Nc data correcting device | |
| JP3405827B2 (en) | Graphic processing apparatus and intersection determination processing method | |
| CN120470798A (en) | A method, system, terminal and storage medium for longitudinal torsional ultrasonic milling surface topography modeling and surface roughness prediction based on Z-MAP method | |
| JPS6055470A (en) | Graphic information extracting method | |
| JPS5917477B2 (en) | Similar character discrimination method for character recognition |