JPH0780752A - Numerical control method and numerical control system - Google Patents

Numerical control method and numerical control system

Info

Publication number
JPH0780752A
JPH0780752A JP5228711A JP22871193A JPH0780752A JP H0780752 A JPH0780752 A JP H0780752A JP 5228711 A JP5228711 A JP 5228711A JP 22871193 A JP22871193 A JP 22871193A JP H0780752 A JPH0780752 A JP H0780752A
Authority
JP
Japan
Prior art keywords
data
shape
correction
program
error
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.)
Withdrawn
Application number
JP5228711A
Other languages
Japanese (ja)
Inventor
Yasuo Okazawa
泰夫 岡沢
Kenzo Sato
賢蔵 佐藤
Hideki Tanaka
秀規 田中
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.)
Nikon Corp
Original Assignee
Nikon Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nikon Corp filed Critical Nikon Corp
Priority to JP5228711A priority Critical patent/JPH0780752A/en
Publication of JPH0780752A publication Critical patent/JPH0780752A/en
Withdrawn legal-status Critical Current

Links

Abstract

PURPOSE:To provide a numerical control method and a numerical control system which can finely cope with local variation in shape, and even with the peripheral section of a work piece, and thereby can process the work piece accurately. CONSTITUTION:In the numerical control system where design value working shape data is inputted, a design value NC program is formed, and a work piece is then processed by a working machine 1 based on the program, errors in shape are measured by a shape measuring means 100, it is then judged by a NC program executing section 19 whether or not each error is in an allowable range, and when the error is found to have been out of an allowable range, the executing section 19 allows a message for an operator to expedite an input of correction data to be indicated. The correction data is inputted by the operator, correction working data is formed, a correction NC program is formed by a correction NC program forming section 13, the program is then stored in a memory section 17, it is analyzed by an analysis section 18, and the program is executed by the NC execution section, so that correction working is thereby performed by the working machine 1.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、数値制御装置(NC装
置)の数値制御方法および数値制御システムに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a numerical control method and a numerical control system for a numerical control device (NC device).

【0002】[0002]

【従来の技術】NC装置による数値制御加工において
は、加工終了後に被加工物の形状(実形状)を測定し、
所望の形状に対して誤差が生じた場合には、その誤差を
修正する加工を行う場合がある。従来の補正の方法は、
入力部から誤差データを読み込み、その誤差データから
補正加工の補正形状データを作成し、補正形状データ記
憶部で記憶する。次に、補正形状データに基づいて、補
正形状を近似する多項式を求める。ついで、この式に従
って、数値制御装置(NC装置)の指令プログラムを作
成して、補正加工を行うことで、所望の形状を達成して
いた。
2. Description of the Related Art In numerical control machining with an NC device, the shape (actual shape) of a workpiece is measured after the machining is completed.
When an error occurs with respect to a desired shape, a process for correcting the error may be performed. The conventional correction method is
Error data is read from the input unit, corrected shape data for correction processing is created from the error data, and stored in the corrected shape data storage unit. Next, a polynomial that approximates the corrected shape is obtained based on the corrected shape data. Then, a desired program was achieved by creating a command program for the numerical control device (NC device) according to this formula and performing correction processing.

【0003】図3に、実形状、誤差、設計値形状、補正
量、補正形状の関係を示す。曲線40が設計値形状を示
し、曲線41が実形状を示す。曲線40と曲線41と
の、X座標の値が等しい点のZ座標の値の差が、誤差4
3である。この誤差の値と等しい量だけ、設計値形状を
示す曲線40から、曲線41とZ軸方向において反対側
に補正量44をとって曲線42を定め、この曲線42を
補正形状とする。
FIG. 3 shows the relationship among the actual shape, the error, the design value shape, the correction amount, and the correction shape. A curve 40 shows a design value shape, and a curve 41 shows an actual shape. The difference between the Z-coordinate values of the curves 40 and 41 at the points having the same X-coordinate value is the error 4
It is 3. A correction amount 44 is set on the opposite side in the Z-axis direction from the curve 40 showing the design value shape by an amount equal to the value of this error to determine a curve 42, and this curve 42 is set as the correction shape.

【0004】[0004]

【発明が解決しようとする課題】このような従来の補正
方法においては、補正形状データの多項式近似を行なう
際に、形状のすべてに対応し切れるとは限らない。例え
ば、局部的に、周りの形状から大きく離れてしまってい
るため、多項式で近似できず、その部分だけ近似式から
大きくはずれてしまう点(特異点)が生じることがあ
る。この場合、その局部的な部分は、希望通りの加工を
行うことが困難となる。
In such a conventional correction method, when performing the polynomial approximation of the corrected shape data, it is not always possible to deal with all the shapes. For example, there is a case where a point (a singular point) that cannot be approximated by a polynomial and is largely deviated from the approximate expression because it is largely separated from the surrounding shape locally. In this case, it becomes difficult to perform the desired processing on the local portion.

【0005】また、例えば、図10のように、被加工物
の縁部においては、測定を行なうことができないので、
縁部の周辺で測定された形状誤差のデータに基づいて補
間を行ない、補正データである近似多項式(あるいは直
線)を推定して発生する。しかしながら、上記縁部の周
辺で測定された形状誤差のデータが誤っていて、該デー
タが示す直線または曲線の中での特異点になっている場
合などは、縁部の補正データも誤ったものとなってしま
う。このため、希望通りの加工を行うためには、時間が
かかってしまう。
Further, for example, as shown in FIG. 10, measurement cannot be performed at the edge portion of the workpiece,
Interpolation is performed based on the data of the shape error measured around the edge portion, and an approximate polynomial (or straight line) that is correction data is estimated and generated. However, if the shape error data measured around the edge is incorrect and it is a singular point in the straight line or curve indicated by the data, the edge correction data is also incorrect. Will be. Therefore, it takes time to perform the desired processing.

【0006】本発明の目的は、形状の局部的な変動、お
よび被加工物の縁部についても、木目細かく対応するこ
とができ、精度良く加工することができる補正形状デー
タを作成する数値制御方法および数値制御システムを提
供することにある。
An object of the present invention is to provide a numerical control method for producing corrected shape data capable of finely dealing with local variations in shape and the edge of a work piece, and enabling accurate processing. And to provide a numerical control system.

【0007】[0007]

【課題を解決するための手段】上記課題を解決するため
に、本発明によれば、被加工物の理想形状についての誤
差データから、補正加工を行なうための補正形状データ
を作成する数値制御システムにおいて、前記誤差データ
を外部へ出力する出力手段と、該出力手段に出力された
誤差データに基づく、前記被加工物を理想形状にするた
めの補正データを、外部から入力する第1の入力手段
と、前記被加工物の理想形状に関する設計値データを入
力する第2の入力手段と、該設計値データと前記補正デ
ータとに基づいて、前記補正形状データを作成する補正
形状データ作成手段とを備えることができる。
In order to solve the above problems, according to the present invention, a numerical control system for creating corrected shape data for performing correction processing from error data about an ideal shape of a workpiece. In the above, the output means for outputting the error data to the outside, and the first input means for externally inputting the correction data based on the error data output to the output means for making the workpiece to have an ideal shape A second input means for inputting design value data relating to the ideal shape of the workpiece, and a corrected shape data creation means for creating the corrected shape data based on the design value data and the correction data. Can be prepared.

【0008】[0008]

【作用】本発明では、被加工物の理想的な形状である設
計値形状と実形状との差である形状誤差を測定し、この
形状誤差が予め定められた範囲内にある場合には、加工
を終了する(前記加工の補正形状を多項式で近似して、
補正加工を行なうようにしてもよい)。前記形状誤差が
予め定められた範囲内に無い場合には、操作者に補正デ
ータの入力を促し、入力された補正データに基づいて補
正加工を行なうためのプログラムを作成する。そして、
このプログラムに基づいて補正加工を行なう。
In the present invention, the shape error, which is the difference between the design value shape which is the ideal shape of the workpiece and the actual shape, is measured, and when this shape error is within the predetermined range, Finish processing (approx.
Correction processing may be performed). If the shape error is not within the predetermined range, the operator is prompted to input correction data, and a program for performing correction processing is created based on the input correction data. And
Correction processing is performed based on this program.

【0009】[0009]

【実施例】以下、本発明の実施例について、図面を参照
して説明する。
Embodiments of the present invention will be described below with reference to the drawings.

【0010】図2に、本発明の数値制御方法が適用され
る数値制御システムの一実施例の構成のブロック図を示
す。図8に、本実施例で用いられるNCプログラム作成
装置40のハードウエアシステム構成の一例を示す。
FIG. 2 shows a block diagram of the configuration of an embodiment of a numerical control system to which the numerical control method of the present invention is applied. FIG. 8 shows an example of the hardware system configuration of the NC program creating device 40 used in this embodiment.

【0011】図2において、本実施例は、被加工物50
に対する加工を行なう加工機1と、これに接続されるN
Cコントローラ30と、加工機1に設けられて、被加工
物50の形状を測定する形状測定装置100と、形状測
定結果を参照して、NC加工プログラムを作成するNC
プログラム作成装置40とを有する。
In FIG. 2, the present embodiment shows a workpiece 50.
Processing machine 1 for processing to N, and N connected to this
An NC machining program is created by referring to the C controller 30, the shape measuring device 100 provided in the processing machine 1 for measuring the shape of the workpiece 50, and the shape measurement result.
And a program creation device 40.

【0012】形状測定装置100は、被加工物50に対
して相対移動可能に設けられて、被加工物50の相対位
置関係を検出する測定端子70と、予め定めた原点を基
準として、この測定端子70の位置を測定する位置測定
器90と、測定データの処理を行なって形状測定値を求
める情報処理装置10とで構成される。
The shape measuring apparatus 100 is provided so as to be movable relative to the work piece 50, and the measurement terminal 70 for detecting the relative positional relationship of the work piece 50, and this measurement with reference to a predetermined origin. It is composed of a position measuring device 90 for measuring the position of the terminal 70, and an information processing device 10 for processing measurement data to obtain a shape measurement value.

【0013】測定端子70と位置測定器(測長計91)
90とは、図2に示すように、加工機1に搭載される。
Measuring terminal 70 and position measuring device (length measuring device 91)
90 is mounted on the processing machine 1 as shown in FIG.

【0014】加工機1は、被加工物50およびこれを保
持すると共に回転駆動するワーク駆動機構87と、駆動
機構87を載置するステージ81と、ステージ81を移
動自在に支持するための支持台82と、ステージ81を
必要量移動させるためのステージ駆動装置83と、工具
台51および測定端子70を支持するためのステージ8
4と、ステージ84を移動自在に支持するための支持台
85と、ステージ84を必要量移動させるためのステー
ジ駆動装置86とを有する。
The processing machine 1 includes a workpiece 50, a workpiece drive mechanism 87 for holding and holding the workpiece 50 and rotating the same, a stage 81 for mounting the drive mechanism 87, and a support base for movably supporting the stage 81. 82, a stage drive device 83 for moving the stage 81 by a necessary amount, and a stage 8 for supporting the tool base 51 and the measurement terminal 70.
4, a support base 85 for movably supporting the stage 84, and a stage drive device 86 for moving the stage 84 by a necessary amount.

【0015】NCコントローラ30は、加工プログラム
にしたがって、加工機1の、ステージ駆動装置83,8
6およびワーク駆動機構87の動作を制御する。また、
形状測定を行なう際に、NCプログラム作成装置40か
らの指示に応じて、ステージ駆動装置83,86の動作
を制御する。
The NC controller 30 operates the stage driving devices 83, 8 of the processing machine 1 according to the processing program.
6 and the work drive mechanism 87. Also,
When performing the shape measurement, the operations of the stage driving devices 83 and 86 are controlled according to the instruction from the NC program creating device 40.

【0016】NCプログラム作成装置40は、NCコン
トローラ30の制御プログラム、および、加工、測定等
のために必要な各種パラメータを作成して、これに出力
すると共に、情報処理装置10からの形状測定情報を取
り込んで、修正プログラム、パラメータ等を作成して、
NCコントローラ30に送る。
The NC program creation device 40 creates a control program for the NC controller 30 and various parameters necessary for machining, measurement, etc., and outputs them to the shape measurement information from the information processing device 10. Import, create a correction program, parameters, etc.,
Send to the NC controller 30.

【0017】NCプログラム作成装置40は、図8に示
すように、中央処理ユニット(CPU)401と、CP
U401のプログラムおよび各固定データを記憶する第
1のメモリ(ROM)402と、外部から読み込んだデ
ータ、演算結果等を格納する第2のメモリ(RAM)4
03と、NCコントローラ30とのデータの授受を行な
うインタフェース404と、情報処理装置10との接続
を行なうNCプログラム作成装置インタフェース405
と、入力装置406と、表示装置407とを有する。
As shown in FIG. 8, the NC program creating device 40 includes a central processing unit (CPU) 401 and a CP.
A first memory (ROM) 402 for storing the program of U401 and each fixed data, and a second memory (RAM) 4 for storing data read from the outside, operation results, etc.
03, an interface 404 for exchanging data with the NC controller 30, and an NC program creating device interface 405 for connecting the information processing device 10.
And an input device 406 and a display device 407.

【0018】情報処理装置10は、図示していないが、
NCプログラム作成装置40から送られる測定指令を受
けて測定端子70からの出力信号を取り込んで、被加工
物の形状を測定する形状測定手段と、各測定点について
の測定値を記憶する形状測定値記憶手段と、形状測定値
をNCプログラム作成装置40に出力する形状測定値出
力部とを有する。
Although not shown, the information processing apparatus 10
A shape measuring means for receiving the measurement command sent from the NC program creating device 40 and taking in an output signal from the measuring terminal 70 to measure the shape of the workpiece, and a shape measured value for storing the measured value at each measuring point. It has a storage means and a shape measurement value output section for outputting the shape measurement value to the NC program creating device 40.

【0019】測定端子70は、例えば、差動トランス型
の測定プローブにより構成され、予め定めた基準点、例
えば、中心位置から±の変位量を示す信号を出力する。
測定端子70は、本実施例では、接触式の例を示すが、
非接触式であってもよい。
The measurement terminal 70 is composed of, for example, a differential transformer type measurement probe, and outputs a signal indicating a displacement amount of ± from a predetermined reference point, for example, the center position.
In this embodiment, the measuring terminal 70 is of a contact type, but
It may be a non-contact type.

【0020】位置測定器90は、本実施例では、光学式
の測長計91が用いられる。すなわち、ステージ81に
ミラー94が、ステージ84にミラー96がそれぞれ取
り付けられ、前者には、ミラー92および93を介し
て、また、後者には、ミラー95を介して、それぞれ光
線が入射される。本実施例の測長計91は、ミラー94
および96の変位を光学的に測定すると共に、予め定め
た原点を基準とする座標データを出力する。本実施例で
は、加工機1に備え付けられているものを共用している
が、独自に設けてもよい。
As the position measuring device 90, an optical length measuring instrument 91 is used in this embodiment. That is, a mirror 94 is attached to the stage 81 and a mirror 96 is attached to the stage 84, and light rays are incident on the former via the mirrors 92 and 93 and on the latter via the mirror 95, respectively. The length measuring instrument 91 of this embodiment is provided with a mirror 94.
And 96 displacements are optically measured, and coordinate data based on a predetermined origin is output. In the present embodiment, the equipment provided in the processing machine 1 is shared, but it may be provided independently.

【0021】次に、図1に、本発明のNCプログラム作
成装置40の機能ブロック図を示す。
Next, FIG. 1 shows a functional block diagram of the NC program creating device 40 of the present invention.

【0022】図1において、操作入力表示出力部14
は、操作者20からの操作の指示を入力し、また、操作
者20へのメッセージ等の指示を出力する。設計値加工
形状データ入力部15は、理想的な加工形状に関するデ
ータを入力して記憶する。このデータは、操作者の必要
に応じて、操作入力表示出力部14に出力される。ま
た、後述する補正加工形状データ作成部12で使用され
る。設計値NCプログラム作成部16は、設計値加工形
状データ入力部15により入力された理想的な加工形状
に基づいて、NCプログラムを作成する。NCプログラ
ム記憶部17は、前記設計値NCプログラム作成部16
または口述する補正NCプログラム作成部13において
作成されたプログラムを記憶する。NCプログラム解析
部18は、前記NCプログラム記憶部17に記憶された
プログラムを解析する。NCプログラム実行部19は、
前記NCプログラム解析部18により解析されたプログ
ラムを実行して、被加工物を加工機により加工する。
In FIG. 1, the operation input display output unit 14
Inputs an operation instruction from the operator 20, and outputs an instruction such as a message to the operator 20. The design value machining shape data input unit 15 inputs and stores data regarding an ideal machining shape. This data is output to the operation input display output unit 14 as required by the operator. Further, it is used by the corrected machining shape data creation unit 12 described later. The design value NC program creating unit 16 creates an NC program based on the ideal machining shape input by the design value machining shape data input unit 15. The NC program storage unit 17 includes the design value NC program creation unit 16
Alternatively, the program created by the corrected NC program creating unit 13 is stored. The NC program analysis unit 18 analyzes the program stored in the NC program storage unit 17. The NC program execution unit 19
The program analyzed by the NC program analysis unit 18 is executed, and the workpiece is processed by the processing machine.

【0023】形状測定装置100は、加工された被加工
物の加工面の形状を測定し、この測定結果を、NCプロ
グラム実行部19に伝達する。NCプログラム実行部1
9は、伝達された測定結果に基づき、加工面の形状の誤
差を算出し、この誤差の値と予め定められた許容誤差値
とを比較して、前記形状誤差が許容誤差内にあるか否か
を判定する。許容誤差内にあると判定された場合には、
この形状誤差を示すグラフと、加工を終了する旨とを操
作入力表示出力部14に伝達し、この旨を示すメッセー
ジとグラフとを前記操作入力表示出力部14に表示させ
る。許容誤差内に無いと判定された場合には、この形状
誤差を示すグラフと、操作者に補正データの入力を促す
メッセージとを、操作入力表示出力部14に伝達して表
示させる。
The shape measuring apparatus 100 measures the shape of the machined surface of the machined workpiece and transmits the measurement result to the NC program execution unit 19. NC program execution unit 1
Reference numeral 9 calculates an error in the shape of the machined surface based on the transmitted measurement result, compares the value of this error with a predetermined allowable error value, and determines whether the shape error is within the allowable error. To determine. If it is judged to be within the tolerance,
A graph showing this shape error and the fact that the processing is finished are transmitted to the operation input display output unit 14, and a message and a graph indicating this are displayed on the operation input display output unit 14. When it is determined that the difference is not within the allowable error, the graph showing the shape error and the message prompting the operator to input the correction data are transmitted to the operation input display output unit 14 and displayed.

【0024】このメッセージを受けて、操作入力表示出
力部14から操作者により補正データが入力される。補
正データ入力部11は、操作入力表示出力部14から入
力された補正データを入力する。このデータは、操作者
の必要に応じて、操作入力表示出力部14に出力され
る。補正加工形状データ作成部12は、補正データ入力
部11により入力された補正データと、設計値加工形状
データ入力部15により入力された設計値加工形状デー
タとに基づいて、設計値加工形状データに補正データを
加えた補正加工データを作成する。補正NCプログラム
作成部13は、前記補正加工データから、補正NCプロ
グラムを作成し、NCプログラム記憶部17に記憶させ
る。この補正NCプログラムは、NCプログラム解析部
18で解析され、NCプログラム実行部19で実行され
る。
Upon receipt of this message, the operator inputs correction data from the operation input display output unit 14. The correction data input unit 11 inputs the correction data input from the operation input display output unit 14. This data is output to the operation input display output unit 14 as required by the operator. Based on the correction data input by the correction data input unit 11 and the design value processed shape data input by the design value processed shape data input unit 15, the corrected processed shape data creation unit 12 creates the design value processed shape data. Compensation processing data including compensation data is created. The correction NC program creation unit 13 creates a correction NC program from the correction processed data and stores it in the NC program storage unit 17. This corrected NC program is analyzed by the NC program analysis unit 18 and executed by the NC program execution unit 19.

【0025】次に、図1および図9を用いて、本発明に
よるNCプログラム作成装置40の動作について説明す
る。
Next, the operation of the NC program creating device 40 according to the present invention will be described with reference to FIGS. 1 and 9.

【0026】まず、操作者は、設計値加工形状データ
を、操作入力表示出力部14から入力する。このデータ
は、設計値加工形状データ入力部に入力される(ステッ
プ910)。次に、前記設計値形状データを用いて、設
計値NCプログラム作成部16により、設計値NCプロ
グラムを作成する(ステップ920)。作成されたNC
プログラムは、NCプログラム記憶部17に記憶された
のち、NCプログラム解析部18において解析され、N
Cプログラム実行部19により実行されて、加工機にお
いて被加工物の加工が行なわれる(ステップ930)。
First, the operator inputs the design value processed shape data from the operation input display output unit 14. This data is input to the design value machining shape data input unit (step 910). Next, the design value NC program creating unit 16 creates a design value NC program using the design value shape data (step 920). NC created
The program is stored in the NC program storage unit 17 and then analyzed by the NC program analysis unit 18,
This is executed by the C program execution unit 19 and the workpiece is processed by the processing machine (step 930).

【0027】加工が行なわれたのち、形状測定装置10
0により、被加工物の設計値形状(理想形状)と、実形
状との差である形状誤差を測定する。この形状誤差は、
NCプログラム実行部を介して、操作入力表出力部14
に表示される(ステップ940)。この表示の具体例を
図4に示す。
After processing, the shape measuring device 10
With 0, the shape error, which is the difference between the design value shape (ideal shape) of the workpiece and the actual shape, is measured. This shape error is
Through the NC program execution unit, the operation input table output unit 14
(Step 940). A specific example of this display is shown in FIG.

【0028】次に、NCプログラム実行部19により、
形状誤差が許容範囲内にあるか否かを判定する(ステッ
プ950)。許容範囲内にあると判定された場合には、
加工を終了する。許容範囲内に無いと判定された場合に
は、この旨を操作入力表示出力部14に伝え、操作者
に、補正データを入力するように促すメッセージを表示
させる。操作者は、このメッセージを見て、補正データ
を操作入力表示出力部14に入力する。この補正データ
は、補正データ入力部11により入力される(ステップ
960)。補正データの具体例を、図5および図6に示
す。図5は、直接に数値を入力する場合の例である。図
6について説明すると、形状誤差50を横軸を基準に反
転させた破線51を補正量としたり、破線51を横軸に
平行に移動量54だけ移動した実線52を補正量とした
り、カーソル53により変更したい位置と補正量とを指
定して局部55のように自由な形状に変更する。図7
は、カーソルの位置を数値で表示している。補正入力操
作に連動して補正位置と補正量が変化しグラフ表示も同
時に変化するようにする。また、図11に示すように、
すでに入力された補正データの表示をみながら補正デー
タを追加・変更してもよい。これは、以前に入力されて
いる補正データの表示をみながら補正データを追加・変
更したり、計算式により算出した補正データの表示をみ
ながら補正データを追加・変更するようにしてもよい。
Next, the NC program execution unit 19
It is determined whether the shape error is within the allowable range (step 950). If it is judged to be within the allowable range,
Finish processing. When it is determined that the value is not within the allowable range, the fact is notified to the operation input display output unit 14, and a message prompting the operator to input the correction data is displayed. The operator sees this message and inputs the correction data to the operation input display output unit 14. This correction data is input by the correction data input unit 11 (step 960). Specific examples of the correction data are shown in FIGS. 5 and 6. FIG. 5 shows an example of directly inputting a numerical value. Referring to FIG. 6, a broken line 51 obtained by reversing the shape error 50 with respect to the horizontal axis is used as a correction amount, a solid line 52 obtained by moving the broken line 51 in parallel with the horizontal axis by a movement amount 54 is used as a correction amount, and a cursor 53 is used. By specifying the position and the correction amount to be changed, the shape is changed to a free shape like the local portion 55. Figure 7
Displays the position of the cursor numerically. The correction position and correction amount change in conjunction with the correction input operation, and the graph display changes at the same time. Also, as shown in FIG.
The correction data may be added or changed while viewing the display of the correction data already input. For this, the correction data may be added or changed while observing the display of the correction data that has been input before, or the correction data may be added or changed while observing the display of the correction data calculated by the calculation formula.

【0029】図9に戻り、さらに、入力された補正デー
タおよび設計値加工形状データ(レンズの直径等)か
ら、補正加工形状データ作成部12により補正加工形状
データを作成する(ステップ970)。
Returning to FIG. 9, the corrected processed shape data creating unit 12 creates corrected processed shape data from the input corrected data and design value processed shape data (lens diameter, etc.) (step 970).

【0030】ここで、入力された補正データからの補正
加工形状データの作成のしかたについて説明する。たと
えば、被加工物の形状を、次のような多項式で近似する
場合について考える。
Here, a method of creating the corrected machining shape data from the input correction data will be described. For example, consider the case where the shape of the workpiece is approximated by the following polynomial.

【0031】[0031]

【数1】 [Equation 1]

【0032】補正データが3点与えられ、これらの座標
位置が、
Three correction data are given, and these coordinate positions are

【0033】[0033]

【数2】 [Equation 2]

【0034】であったとすると、If,

【0035】[0035]

【数3】 [Equation 3]

【0036】が成り立つ。この連立方程式を、ガウス・
ジョルダン法等により解いて、C1,C2,C3を求
め、これらを補正加工形状データの一部とする。また、
設計値加工形状データによる被加工物の被加工面の大き
さ、工具径、加工原点等も補正加工形状データの一部と
する。上記のガウス・ジョルダン法については、「基礎
数値解析」(松山実著、昭晃堂)の23頁から29頁に
詳述されている。
Is satisfied. This simultaneous equation is Gauss
C1, C2, C3 are obtained by solving by the Jordan method or the like, and these are made a part of the corrected machining shape data. Also,
The size of the surface to be machined, the tool diameter, the machining origin, etc. based on the design value machining shape data are also part of the corrected machining shape data. The above-mentioned Gauss-Jordan method is described in detail in "Basic Numerical Analysis" (Mr. Matsuyama, Shokoido), pp. 23-29.

【0037】この補正加工形状データから、補正NCプ
ログラム作成部13により、補正NCプログラムを作成
する(ステップ980)。この補正NCプログラムをN
Cプログラム記憶部17に記憶し、NCプログラム解析
部18で解析し、NCプログラム実行部により実行し
て、加工機1において補正加工を行なう(ステップ99
0)。
From the corrected machining shape data, the correction NC program creating section 13 creates a correction NC program (step 980). This correction NC program is N
The correction program is stored in the C program storage unit 17, analyzed by the NC program analysis unit 18, and executed by the NC program execution unit to perform the correction processing in the processing machine 1 (step 99).
0).

【0038】[0038]

【発明の効果】本発明によれば、形状の局部的な変動、
および被加工物の縁部についても、木目細かく対応する
ことができて、精度良く加工することができる補正形状
データを作成する機能を有する数値制御方法および数値
制御システムを提供することができる。
According to the present invention, local variations in shape,
Also, it is possible to provide a numerical control method and a numerical control system having a function of creating corrected shape data capable of finely dealing with the edges of an object to be processed and performing accurate processing.

【0039】また、本発明によれば、補正加工に必要な
補正加工形状データを変更するとき、加工形状の複雑さ
と、加工機の工具に関する加工条件と、形状誤差とに応
じて、変更が可能になり融通がきくため、補正加工形状
データを算出する演算部が複雑にならない。さらに、加
工形状誤差を小さくすることもできる。
Further, according to the present invention, when the correction machining shape data necessary for the correction machining is changed, the correction machining shape data can be changed according to the complexity of the machining shape, the machining condition regarding the tool of the machining machine, and the shape error. Therefore, the calculation unit for calculating the corrected machining shape data does not become complicated. Further, it is possible to reduce the machining shape error.

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

【図1】本発明のNCプログラム作成装置40の機能ブ
ロック図。
FIG. 1 is a functional block diagram of an NC program creating device 40 according to the present invention.

【図2】本発明の一実施例を適用した数値制御システム
の構成を示すブロック図。
FIG. 2 is a block diagram showing the configuration of a numerical control system to which an embodiment of the present invention is applied.

【図3】実形状、誤差、設計値形状、補正量、補正形状
の関係を示す説明図。
FIG. 3 is an explanatory diagram showing a relationship among an actual shape, an error, a design value shape, a correction amount, and a correction shape.

【図4】形状誤差の表示の具体例を示す説明図。FIG. 4 is an explanatory diagram showing a specific example of display of a shape error.

【図5】補正データの入力の具体例を示す説明図。FIG. 5 is an explanatory diagram showing a specific example of inputting correction data.

【図6】補正データの入力の具体例を示す説明図。FIG. 6 is an explanatory diagram showing a specific example of inputting correction data.

【図7】カーソル位置の表示の説明図。FIG. 7 is an explanatory diagram of display of a cursor position.

【図8】本実施例で用いられるNCプログラム作成装置
40のハードウエアシステム構成の一例を示すブロック
図。
FIG. 8 is a block diagram showing an example of a hardware system configuration of an NC program creating device 40 used in this embodiment.

【図9】本発明のNCプログラム作成装置40の動作手
順を示すフローチャート。
FIG. 9 is a flowchart showing an operation procedure of the NC program creating device 40 of the present invention.

【図10】被加工物の縁部の測定に関する説明図。FIG. 10 is an explanatory diagram regarding measurement of an edge portion of a workpiece.

【図11】補正データの入力の具体例を示す説明図。FIG. 11 is an explanatory diagram showing a specific example of inputting correction data.

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

1…加工機、11…補正データ入力部、12…補正加工
形状データ作成部、13…補正NCプログラム作成部、
14…操作入力表示出力部、15…設計値加工形状デー
タ入力部、16…設計値NCプログラム作成部、17…
NCプログラム記憶部、18…NCプログラム解析部、
19…NCプログラム実行部、40…NCプログラム作
成装置、100…形状測定装置。
DESCRIPTION OF SYMBOLS 1 ... Processing machine, 11 ... Correction data input part, 12 ... Correction processing shape data creation part, 13 ... Correction NC program creation part,
14 ... Operation input display output unit, 15 ... Design value machining shape data input unit, 16 ... Design value NC program creation unit, 17 ...
NC program storage unit, 18 ... NC program analysis unit,
19 ... NC program execution unit, 40 ... NC program creating device, 100 ... Shape measuring device.

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】被加工物の理想形状についての誤差データ
から、補正加工を行なうための補正形状データを作成す
る数値制御システムにおいて、 前記誤差データを求め、 前記誤差データが、予め定められた範囲である許容誤差
範囲内であるか否かを判定し、 該判定により、前記誤差データが前記許容誤差範囲内に
無いと判定された場合に、該誤差データを操作者に提示
し、 該提示された誤差データに基づく、前記被加工物を理想
形状にするための補正データを作成し、 前記被加工物の理想形状を表す設計値データと前記補正
データとに基づいて、前記補正形状データを作成するこ
とを特徴とする数値制御方法。
1. A numerical control system for creating corrected shape data for performing correction processing from error data about an ideal shape of a workpiece, wherein the error data is obtained, and the error data is within a predetermined range. It is determined whether the error data is within the allowable error range. If the error data is determined not to be within the allowable error range by the determination, the error data is presented to the operator, Correction data for creating the ideal shape of the workpiece based on the error data, and creating the corrected shape data based on the design value data and the correction data representing the ideal shape of the workpiece. A numerical control method characterized by:
【請求項2】被加工物の理想形状についての誤差データ
から、補正加工を行なうための補正形状データを作成す
る数値制御システムにおいて、 前記誤差データを外部へ出力する出力手段と、 該出力手段に出力された誤差データに基づく、前記被加
工物を理想形状にするための補正データを、外部から入
力する第1の入力手段と、 前記被加工物の理想形状に関する設計値データを入力す
る第2の入力手段と、 該設計値データと前記補正データとに基づいて、前記補
正形状データを作成する補正形状データ作成手段と、 を備えることを特徴とする数値制御システム。
2. A numerical control system for creating corrected shape data for performing correction processing from error data about an ideal shape of a work piece, the output means outputting the error data to the outside, and the output means. First input means for externally inputting correction data based on the output error data for making the workpiece an ideal shape, and second inputting design value data relating to the ideal shape of the workpiece. And a corrected shape data creating means for creating the corrected shape data based on the design value data and the correction data.
【請求項3】請求項2において、 前記誤差データが、予め定められた範囲である許容誤差
範囲内であるか否かを判定する判定手段を備え、 該判定手段により、前記誤差データが前記許容誤差範囲
内に無いと判定された場合に、前記第1の入力手段によ
り補正データを外部から入力することを特徴とする数値
制御システム。
3. The determination device according to claim 2, further comprising: a determination unit that determines whether or not the error data is within an allowable error range that is a predetermined range. A numerical control system, wherein correction data is input from the outside by the first input means when it is determined that the correction data is not within the error range.
JP5228711A 1993-09-14 1993-09-14 Numerical control method and numerical control system Withdrawn JPH0780752A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5228711A JPH0780752A (en) 1993-09-14 1993-09-14 Numerical control method and numerical control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5228711A JPH0780752A (en) 1993-09-14 1993-09-14 Numerical control method and numerical control system

Publications (1)

Publication Number Publication Date
JPH0780752A true JPH0780752A (en) 1995-03-28

Family

ID=16880617

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5228711A Withdrawn JPH0780752A (en) 1993-09-14 1993-09-14 Numerical control method and numerical control system

Country Status (1)

Country Link
JP (1) JPH0780752A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005309673A (en) * 2004-04-20 2005-11-04 Toyoda Mach Works Ltd Nc machine tool and compensation working method
WO2009044857A1 (en) * 2007-10-04 2009-04-09 Incs Inc. Metallic mold making system, material object making system, three-dimensionally shaped material object making method, computer program and recording medium
JP2009104584A (en) * 2007-10-04 2009-05-14 Incs Inc Metal mold generation system, material generation system, three-dimensional shape material generation method, computer program, and recording medium
WO2017191802A1 (en) * 2016-05-02 2017-11-09 住友電工ハードメタル株式会社 Cutting edge trajectory correction method, recording medium, and program

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005309673A (en) * 2004-04-20 2005-11-04 Toyoda Mach Works Ltd Nc machine tool and compensation working method
WO2009044857A1 (en) * 2007-10-04 2009-04-09 Incs Inc. Metallic mold making system, material object making system, three-dimensionally shaped material object making method, computer program and recording medium
JP2009104584A (en) * 2007-10-04 2009-05-14 Incs Inc Metal mold generation system, material generation system, three-dimensional shape material generation method, computer program, and recording medium
WO2017191802A1 (en) * 2016-05-02 2017-11-09 住友電工ハードメタル株式会社 Cutting edge trajectory correction method, recording medium, and program
US10906151B2 (en) 2016-05-02 2021-02-02 Sumitomo Electric Hardmetal Corp. Method of correcting track of cutting edge, recording medium, and program

Similar Documents

Publication Publication Date Title
US7724380B2 (en) Method and system for three-dimensional measurement
JPWO2006077629A1 (en) Positioning device and positioning method
US10416649B2 (en) Numerical controller that prevents a tool compensation value setting error
JPH01178395A (en) Laser beam machine for three dimensional shape
CN109848989A (en) A kind of robot execution end automatic Calibration and detection method based on ruby probe
JPH0780752A (en) Numerical control method and numerical control system
JP3257924B2 (en) Normal line detection method and apparatus for three-dimensional laser beam machine
JPH03287343A (en) Base coordinate system correcting device
JP2002267438A (en) Free curved surface shape measuring method
JPH1190787A (en) Work shape measuring method and device in machine tool
JPH0740193A (en) Nc programing method and nc control system
JP4545501B2 (en) Tool centering method and tool measuring method
JPH06138921A (en) Measuring method and automatic correction method for linear interpolation feeding accuracy of numerically controlled machine tool
JPH09131642A (en) Numerical control machine tool precision inspection device and thermal displacement inspection method of numerical control machine tool and precision inspection method
JP2599924B2 (en) Measurement method of electrode guide position in wire electric discharge machine
JPH0780753A (en) Numerical control method and numerical control system
JPH01178394A (en) Laser beam machine for three dimensional shape
JP2004192152A (en) Numerical control device
JPH07110706A (en) Method and system for numerical control
JP2001075623A (en) Numerical controller and working controlling method and storage medium
KR100476210B1 (en) 0n-machine measurement system
JPH0736527A (en) Shape measuring method/device
JPH0783653A (en) Method and system for measuring shape
JPH08150541A (en) Machining device and measuring device for three dimensional curved surface including free curved surface
CN115963781A (en) Mass production system and mass production method

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20001128