JPH0780753A - Numerical control method and numerical control system - Google Patents
Numerical control method and numerical control systemInfo
- Publication number
- JPH0780753A JPH0780753A JP5228712A JP22871293A JPH0780753A JP H0780753 A JPH0780753 A JP H0780753A JP 5228712 A JP5228712 A JP 5228712A JP 22871293 A JP22871293 A JP 22871293A JP H0780753 A JPH0780753 A JP H0780753A
- Authority
- JP
- Japan
- Prior art keywords
- error
- correction
- shape
- data
- tool diameter
- 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
Links
Landscapes
- Automatic Control Of Machine Tools (AREA)
- Machine Tool Sensing Apparatuses (AREA)
- Numerical Control (AREA)
Abstract
Description
【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, target shape data for correction processing is created from the error data, and stored in the target shape data storage unit. Next, a polynomial that approximates the corrected shape is obtained based on the target 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に、実形状、誤差、設計値形状、補正
量、補正形状の関係を示す。曲線50が設計値形状を示
し、曲線51が実形状を示す。曲線50と曲線51と
の、X座標の値が等しい点のZ座標の値の差が、誤差5
3である。この誤差の値と等しい量だけ、設計値形状を
示す曲線50から、曲線51とZ軸方向において反対側
に補正量54をとって曲線52を定め、この曲線52を
補正形状とする。FIG. 3 shows the relationship among the actual shape, the error, the design value shape, the correction amount, and the correction shape. A curve 50 shows a design value shape, and a curve 51 shows an actual shape. The difference between the values of the Z coordinate of the curve 50 and the curve 51 at the points having the same X coordinate is the error 5
It is 3. A correction amount 54 is set on the side opposite to the curve 51 in the Z-axis direction from the curve 50 showing the design value shape by an amount equal to the value of this error, and a curve 52 is defined.
【0004】[0004]
【発明が解決しようとする課題】このような従来の補正
方法においては、すべての場合において、目標形状デー
タの多項式近似を行なう。例えば、被加工物の加工原点
の位置がずれている場合や、工具の径が誤っている場合
等には、操作者により加工原点の位置や工具径を変更す
ればよいところであるのに、補正NCプログラムの作成
をおこなってしまう。このため、希望通りの加工を行う
ためには、時間がかかってしまう。In such a conventional correction method, the polynomial approximation of the target shape data is performed in all cases. For example, when the position of the machining origin of the workpiece is misaligned or the diameter of the tool is incorrect, the operator may change the position of the machining origin and the tool diameter. NC program is created. Therefore, it takes time to perform the desired processing.
【0005】本発明の目的は、被加工物の加工原点の位
置がずれている場合や、工具の径が誤っている場合につ
いてはこれらを検出し、操作者にこれらを通知すること
で、操作者が木目細かく対応することができて、高速に
精度良く加工することができるNCプログラム作成方法
およびNC制御システムを提供することにある。An object of the present invention is to detect the case where the position of the processing origin of the workpiece is displaced or the case where the diameter of the tool is wrong, and notify the operator of them so that the operation is performed. It is an object of the present invention to provide an NC program creating method and an NC control system, which allows a person to deal with the details finely and can process them accurately at high speed.
【0006】[0006]
【課題を解決するための手段】上記課題を解決するため
に、本発明によれば、被加工物の理想形状についての誤
差データから、補正加工を行なうための補正形状データ
を作成し、該補正形状データに基づいて補正NCプログ
ラム作成する数値制御システムにおいて、前記誤差デー
タの値と、予め定められた許容誤差の値とを比較し、前
記誤差データの値が前記許容誤差よりも小さい場合にの
み、前記被加工物の形状の補正加工を行なうと判断する
補正加工判断手段と、該補正加工判断手段により補正加
工を行なうと判断された場合に、前記誤差データが、前
記加工を行なう加工機における加工原点の軸がずれてい
ることに起因して発生している(軸ずれ有り)か否かを
判断するための軸ずれ判断手段と、該軸ずれ判断手段に
より、軸ずれ有りと判断された場合に、外部に軸ずれの
発生を通知する軸ずれ通知手段とを備えることができ
る。In order to solve the above problems, according to the present invention, correction shape data for performing correction processing is created from error data about an ideal shape of a workpiece and the correction is performed. In a numerical control system that creates a correction NC program based on shape data, the value of the error data is compared with a value of a predetermined allowable error, and only when the value of the error data is smaller than the allowable error. Correction processing determining means for determining that the shape of the workpiece is to be corrected, and the error data in the processing machine for performing the processing when the correction processing is determined to be performed by the correction processing determining means. There is an axis deviation by means of an axis deviation judging means for judging whether or not it is caused by the deviation of the axis of the machining origin (there is an axis deviation) and the axis deviation judging means. If it is determined, it can be provided with a shaft misalignment notifying means for notifying the occurrence of axis deviation to the outside.
【0007】また、被加工物の理想形状についての誤差
データから、補正加工を行なうための補正形状データを
作成し、該補正形状データに基づいて補正NCプログラ
ム作成する数値制御システムにおいて、前記誤差データ
の値と、予め定められた許容誤差の値とを比較し、前記
誤差データの値が前記許容誤差よりも小さい場合にの
み、前記被加工物の形状の補正加工を行なうと判断する
補正加工判断手段と、該補正加工判断手段により補正加
工を行なうと判断された場合に、前記誤差データが、前
記加工を行なう加工機における工具径の誤りに起因して
発生している(工具径誤り有り)か否かを判断するため
の工具径誤り判断手段と、該工具径誤り判断手段によ
り、工具径誤り有りと判断された場合に、外部に工具径
誤りの発生を通知する工具径誤り通知手段とを備えるこ
ともできる。In addition, in the numerical control system that creates the correction shape data for performing the correction processing from the error data about the ideal shape of the workpiece and creates the correction NC program based on the correction shape data, the error data And a predetermined allowable error value are compared, and a correction processing determination is made to determine that the correction processing of the shape of the workpiece is performed only when the value of the error data is smaller than the allowable error. Means and the correction processing determination means determines that the correction processing is to be performed, the error data is generated due to an error in the tool diameter in the processing machine performing the processing (error in tool diameter). A tool radius error determining means for determining whether or not there is a tool radius error determining means, and when the tool radius error determining means determines that there is a tool radius error, the tool radius error is notified to the outside. It may be provided with a tool 径誤 Ri notifying means.
【0008】[0008]
【作用】本発明では、被加工物の加工原点の位置がずれ
ている場合や、工具の径が誤っている場合等には、操作
者にこれらを通知し、操作者により加工原点の位置や工
具径を変更される。加工原点の位置や工具径を変更後
に、補正加工を実行する。According to the present invention, when the position of the processing origin of the workpiece is displaced or the diameter of the tool is incorrect, the operator is notified of these and the position of the processing origin or The tool diameter can be changed. Corrective machining is performed after changing the machining origin position and tool diameter.
【0009】この補正加工に際して、加工原点の位置が
ずれている場合には、NCプログラムを使用する。工具
の径が誤っている場合には、補正NCプログラムを作成
し、この補正NCプログラムを使用する。In this correction processing, if the position of the processing origin is shifted, the NC program is used. If the tool diameter is incorrect, a correction NC program is created and this correction NC program is used.
【0010】[0010]
【実施例】以下、本発明の実施例について、図面を参照
して説明する。Embodiments of the present invention will be described below with reference to the drawings.
【0011】図2に、本発明の数値制御方法が適用され
る数値制御システムの一実施例の構成のブロック図を示
す。図10に、本実施例で用いられる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. 10 shows an example of the hardware system configuration of the NC program creation device (numerical control device) 40 used in this embodiment.
【0012】図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.
【0013】形状測定装置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.
【0014】測定端子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.
【0015】加工機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 rotating the workpiece 50, a stage 81 on which the drive mechanism 87 is mounted, 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.
【0016】NCコントローラ30は、加工プログラム
にしたがって、加工機1の、ステージ駆動装置83,8
6およびワーク駆動機構87の動作を制御する。また、
形状測定を行なう際に、NCプログラム作成装置40か
らの指示に応じて、ステージ駆動装置83,86の動作
を制御する。The NC controller 30 operates the stage drive 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.
【0017】NCプログラム作成装置40は、NCコン
トローラ30の制御プログラム、および、加工、測定等
のために必要な各種パラメータを作成して、これに出力
すると共に、情報処理装置10からの形状測定情報を取
り込んで、修正プログラム、パラメータ等を作成して、
NCコントローラ30に送る。The NC program creating 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 measuring information from the information processing device 10. Import, create a correction program, parameters, etc.,
Send to the NC controller 30.
【0018】NCプログラム作成装置40は、図10に
示すように、中央処理ユニット(CPU)401と、C
PU401のプログラムおよび各固定データを記憶する
第1のメモリ(ROM)402と、外部から読み込んだ
データ、演算結果等を格納する第2のメモリ(RAM)
403と、NCコントローラ30とのデータの授受を行
なうインタフェース404と、情報処理装置10との接
続を行なうNCプログラム作成装置インタフェース40
5と、入力装置406と、表示装置407とを有する。As shown in FIG. 10, the NC program creating device 40 includes a central processing unit (CPU) 401 and a C
A first memory (ROM) 402 for storing a program of the PU 401 and each fixed data, and a second memory (RAM) for storing data read from the outside, a calculation result, and the like.
403, an interface 404 for exchanging data with the NC controller 30, and an NC program creating device interface 40 for connecting with the information processing device 10.
5, an input device 406, and a display device 407.
【0019】情報処理装置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.
【0020】測定端子70は、例えば、差動トランス型
の測定プローブにより構成され、予め定めた基準点、例
えば、中心位置から±の変位量を示す信号を出力する。
測定端子70は、本実施例では、接触式の例を示すが、
非接触式であってもよい。The measuring terminal 70 is composed of, for example, a differential transformer type measuring probe, and outputs a signal indicating a displacement amount of ± from a predetermined reference point, for example, a center position.
In this embodiment, the measuring terminal 70 is of a contact type, but
It may be a non-contact type.
【0021】位置測定器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.
【0022】次に、図1に、本発明のNCプログラム作
成装置40の機能ブロック図を示す。Next, FIG. 1 shows a functional block diagram of the NC program creating apparatus 40 of the present invention.
【0023】図1において、操作入力表示出力部21
は、操作者110からの操作の指示を入力し、また、操
作者110へのメッセージ等の指示を出力する。設計値
加工形状データ入力部16は、理想的な加工形状に関す
るデータを入力して記憶する。また、後述する補正加工
形状データ作成部13で使用される。設計値NCプログ
ラム作成部17は、設計値加工形状データ入力部16に
より入力された理想的な加工形状に基づいて、NCプロ
グラムを作成する。NCプログラム記憶部18は、前記
設計値NCプログラム作成部17または後述する補正N
Cプログラム作成部14において作成されたプログラム
を記憶する。NCプログラム解析部19は、前記NCプ
ログラム記憶部18に記憶されたプログラムを解析す
る。NCプログラム実行部20は、前記NCプログラム
解析部19により解析されたプログラムを実行して、被
加工物を加工機により加工する。In FIG. 1, the operation input display output unit 21
Inputs an operation instruction from the operator 110, and outputs an instruction such as a message to the operator 110. The design value machining shape data input unit 16 inputs and stores data regarding an ideal machining shape. Further, it is used by the corrected machining shape data creation unit 13 described later. The design value NC program creation unit 17 creates an NC program based on the ideal machining shape input by the design value machining shape data input unit 16. The NC program storage unit 18 stores the design value NC program creation unit 17 or a correction N described later.
The program created by the C program creating unit 14 is stored. The NC program analysis unit 19 analyzes the program stored in the NC program storage unit 18. The NC program execution unit 20 executes the program analyzed by the NC program analysis unit 19 to process the workpiece with a processing machine.
【0024】形状測定装置100は、加工された被加工
物の加工面の形状を測定し、この測定結果から形状の誤
差を算出して、算出された誤差をNCプログラム実行部
20に伝達する。NCプログラム実行部20は、伝達さ
れた誤差を、補正加工の有無判断部15に伝達する。補
正加工の有無判断部15は前記誤差の値と予め定められ
た許容誤差値とを比較して、前記形状誤差が許容誤差内
にあるか否かを判定する。許容誤差内にあると判定され
た場合には、加工を終了する指示を生成する。許容誤差
内に無いと判定された場合には、形状誤差を予め定めら
れた閾値と比較して、形状誤差が補正加工できる範囲内
にあるか否かを判断する。The shape measuring apparatus 100 measures the shape of the machined surface of the machined workpiece, calculates a shape error from the measurement result, and transmits the calculated error to the NC program execution unit 20. The NC program execution unit 20 transmits the transmitted error to the correction processing presence / absence determination unit 15. The correction processing presence / absence determining unit 15 compares the error value with a predetermined allowable error value to determine whether the shape error is within the allowable error. If it is determined to be within the allowable error, an instruction to end the processing is generated. When it is determined that the shape error is not within the allowable error, the shape error is compared with a predetermined threshold value to determine whether or not the shape error is within the correction processable range.
【0025】補正NCプログラム作成の有無判断部11
は、前記補正加工の有無判断部15により、補正加工で
きる範囲内にあると判断された場合に、補正NCプログ
ラムを作成して補正加工するか、加工原点の軸をずらし
て補正NCプログラムは作成しないで補正加工するか
を、各々の効果を予測して判断する。Presence / absence determination unit 11 for creating a corrected NC program
If the correction processing presence / absence determining unit 15 determines that the correction processing is within the range in which the correction processing can be performed, a correction NC program is created and correction processing is performed, or a correction NC program is created by shifting the axis of the processing origin. Whether or not the correction processing is performed is judged by predicting each effect.
【0026】補正加工形状データ作成の有無判断部12
は、前記補正NCプログラム作成の有無判断手段11
が、補正NCプログラムを作成すると判断したとき、加
工形状データに補正を加えた補正加工形状データを求め
てから補正NCプログラムを作成するか、加工条件を変
更するだけで補正加工形状データを求めないで補正NC
プログラムを作成するかを、各々の効果を予測して判断
する。Presence / absence determination unit 12 of correction machining shape data creation
Means for determining the presence / absence of creation of the correction NC program
However, when it is determined that the correction NC program is to be created, the correction NC program is created after obtaining the corrected machining shape data obtained by adding the correction to the machining shape data, or only the machining conditions are changed and the corrected machining shape data is not obtained. Corrected by NC
Judge whether to create a program by predicting each effect.
【0027】補正加工形状データ作成部13は、設計値
加工形状データ入力部16により入力された設計値加工
形状データと、前記形状測定装置100において算出さ
れた形状の誤差とに基づいて、補正加工データを作成す
る。補正NCプログラム作成部14は、前記補正加工デ
ータから、補正NCプログラムを作成し、NCプログラ
ム記憶部18に記憶させる。この補正NCプログラム
は、NCプログラム解析部19で解析され、NCプログ
ラム実行部20で実行される。The corrected machining shape data creating unit 13 corrects the machining based on the design value machining shape data input by the design value machining shape data input unit 16 and the shape error calculated by the shape measuring apparatus 100. Create the data. The correction NC program creation unit 14 creates a correction NC program from the correction processed data and stores it in the NC program storage unit 18. The corrected NC program is analyzed by the NC program analysis unit 19 and executed by the NC program execution unit 20.
【0028】次に、図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.
【0029】まず、操作者は、設計値加工形状データ
を、操作入力表示出力部21から入力する。このデータ
は、設計値加工形状データ入力部16に入力される。次
に、前記設計値形状データを用いて、設計値NCプログ
ラム作成部17により、設計値NCプログラムを作成す
る。作成されたNCプログラムは、NCプログラム記憶
部18に記憶されたのち、NCプログラム解析部19に
おいて解析され、NCプログラム実行部20により実行
されて、加工機1において被加工物の加工が行なわれる
(ステップ910)。First, the operator inputs the design value processed shape data from the operation input display output unit 21. This data is input to the design value processed shape data input unit 16. Next, the design value NC program is created by the design value NC program creating unit 17 using the design value shape data. The created NC program is stored in the NC program storage unit 18, then analyzed by the NC program analysis unit 19 and executed by the NC program execution unit 20 to machine the workpiece in the machining machine 1 ( Step 910).
【0030】加工が行なわれたのち、形状測定装置10
0により、被加工物の設計値形状(理想形状)と、実形
状との差である形状誤差を測定する。この形状誤差は、
NCプログラム実行部を介して、操作入力表示出力部2
1に表示される(ステップ920)。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 display output unit 2
1 is displayed (step 920).
【0031】次に、NCプログラム実行部20により、
前記形状誤差を、補正加工の有無判断部15に伝達す
る。補正加工の有無判断部15は、形状誤差が予め定め
られた許容範囲内にあるか否かを判定する(ステップ9
30)。許容範囲内にあると判定された場合には、加工
を終了する。許容範囲内に無いと判定された場合には、
前記形状誤差と、予め定められた閾値とを比較して、前
記形状誤差が補正加工できる範囲内にあるか否かを判断
する(ステップ940)。Next, the NC program execution unit 20
The shape error is transmitted to the correction processing presence / absence determining unit 15. The correction processing presence / absence determination unit 15 determines whether or not the shape error is within a predetermined allowable range (step 9).
30). If it is determined to be within the allowable range, the processing ends. If it is judged that it is not within the allowable range,
The shape error is compared with a predetermined threshold value to determine whether or not the shape error is within a correction processable range (step 940).
【0032】図4は、形状誤差が許容誤差の範囲内にあ
る場合で、補正加工の有無判断部15により補正加工が
必要ないと判断される。FIG. 4 shows the case where the shape error is within the allowable error range, and the correction processing presence / absence determining unit 15 determines that the correction processing is not necessary.
【0033】図5は、範囲Sで形状誤差が異常な変化を
しているので、補正加工の有無判断部15により補正加
工しても補正ができないのものと判断される。In FIG. 5, since the shape error changes abnormally in the range S, the correction processing presence / absence determining unit 15 determines that the correction cannot be performed even if the correction processing is performed.
【0034】この補正加工できる範囲内に無いと判断さ
れた場合には、不良品であると判断して、加工を終了す
る。補正加工できる範囲内にあると判断された場合に
は、補正NCプログラム作成の有無判断部11により、
被加工物の加工原点の位置をずらして加工した場合の形
状誤差を計算で求め、この形状誤差と実際の形状誤差と
の差が、所定の値よりも大きいか否かを判断する(ステ
ップ950)。If it is determined that the correction is not within the allowable processing range, it is determined that the product is defective and the processing is terminated. When it is determined that the correction processing is within the allowable range, the correction NC program creation presence / absence determining unit 11
A shape error in the case where the position of the processing origin of the workpiece is shifted and processed is calculated, and it is determined whether or not the difference between this shape error and the actual shape error is larger than a predetermined value (step 950). ).
【0035】加工原点の位置をずらして加工すれば、形
状誤差が所定の値よりも小さくなると判定された場合に
は、操作者に加工原点を移動させるように指示するメッ
セージを、操作入力表示出力部21に表示する。操作者
により加工原点が移動されると(ステップ960)、加
工機1において補正加工を行ない(ステップ100
0)、ステップ920へ戻る。If it is determined that if the shape error is smaller than a predetermined value if the machining origin is displaced and machining is performed, a message for instructing the operator to move the machining origin is displayed as an operation input display output. It is displayed on the section 21. When the processing origin is moved by the operator (step 960), the correction processing is performed in the processing machine 1 (step 100).
0), and returns to step 920.
【0036】図6は、加工原点の軸がずれた場合を表し
たもである。補正NCプログラム作成の有無判断部11
によりを補正NCプログラムを作成する必要が無いと判
断される。判断と同時に加工原点の軸のずらし量も計算
される。その場合には、計算で求められたずらし量だけ
加工原点をずらして、NCプログラムは直前と同じもの
で再加工する。FIG. 6 shows a case where the axis of the processing origin is displaced. Presence / absence determination unit 11 for creating a corrected NC program
Therefore, it is determined that it is not necessary to create the corrected NC program. Simultaneously with the judgment, the shift amount of the machining origin axis is also calculated. In that case, the machining origin is shifted by the shift amount calculated and the NC program is re-machined with the same one as the immediately preceding one.
【0037】この加工原点の軸のずらし量の計算につい
て、図11により説明する。図11において、曲線11
0を設計値の形状を表す曲線とし、曲線120を加工原
点をずらして計算で求めた形状とする。また、曲線13
0を実際に測定された形状とする。曲線120に変数i
がついているのは、加工原点を複数種類のずらし量によ
りずらした曲線が考えられるからである。このように加
工原点をずらした時に、形状誤差Eikは、次の式により
算出される。Calculation of the shift amount of the axis of the processing origin will be described with reference to FIG. In FIG. 11, the curve 11
The curve 0 represents the shape of the design value, and the curve 120 is the shape calculated by shifting the machining origin. Also, curve 13
Let 0 be the actually measured shape. In the curve 120, the variable i
The reason why is attached is that a curve in which the machining origin is shifted by a plurality of types of shift amounts is conceivable. When the machining origin is shifted in this way, the shape error Eik is calculated by the following equation.
【0038】[0038]
【数1】 [Equation 1]
【0039】また、実際に測定した形状誤差Fkは、次
の式により算出される。The actually measured shape error Fk is calculated by the following equation.
【0040】[0040]
【数2】 [Equation 2]
【0041】ここでWhere
【0042】[0042]
【数3】 [Equation 3]
【0043】とし、このSiを、加工原点の考えられる
ずれの範囲でずれ量を漸次変化させて計算し、Siが一
番小さくなったときの(Eik−Fk)の、kが0からNま
での間の最大値が決められた許容値内にある場合、加工
原点をずらして補正加工する。Then, this Si is calculated by gradually changing the deviation amount within a possible deviation range of the processing origin, and k from 0 to N of (Eik-Fk) when Si becomes the smallest. If the maximum value between the two is within the predetermined allowable value, the machining origin is shifted to perform the compensation machining.
【0044】ステップ950において、被加工物の加工
原点の位置をずらして加工した場合の形状誤差と実際の
形状誤差との差が、所定の値よりも大きいと判断された
場合には、補正加工形状データ作成の有無判断部12に
より、工具径の設定を変更して加工した場合の形状誤差
を算出し、この形状誤差と実際の形状誤差との差が、予
め定められた許容誤差よりも大きいか否かを判断する
(ステップ970)。In step 950, when it is determined that the difference between the shape error when the position of the processing origin of the workpiece is shifted and the actual shape error is larger than a predetermined value, the correction processing is performed. The shape data creation presence / absence determining unit 12 calculates a shape error when machining is performed by changing the setting of the tool diameter, and the difference between this shape error and the actual shape error is larger than a predetermined allowable error. It is determined whether or not (step 970).
【0045】この工具径の設定の変更量の計算につい
て、図12により説明する。図12において、曲線15
0を設計値の形状を表す曲線とし、曲線160を工具径
を変更して計算で求めた形状とする。また、曲線170
を実際に測定された形状とする。曲線160に変数iが
ついているのは、工具径を複数種類の変更量により変更
した曲線が考えられるからである。このように工具径を
変更した時に、形状誤差Eikは、次の式により算出され
る。Calculation of the change amount of the tool diameter setting will be described with reference to FIG. In FIG. 12, the curve 15
The curve 0 represents the shape of the design value, and the curve 160 is the shape calculated by changing the tool diameter. Also, the curve 170
Is the actually measured shape. The variable i is attached to the curve 160 because a curve in which the tool diameter is changed by a plurality of types of change amounts is conceivable. When the tool diameter is changed in this way, the shape error Eik is calculated by the following equation.
【0046】[0046]
【数1】 [Equation 1]
【0047】また、実際に測定した形状誤差Fkは、次
の式により算出される。The actually measured shape error Fk is calculated by the following equation.
【0048】[0048]
【数2】 [Equation 2]
【0049】ここでWhere
【0050】[0050]
【数3】 [Equation 3]
【0051】とし、このSiを、工具径を変更すること
ができる範囲で変更量を漸次変化させて計算し、Siが
一番小さくなったときの(Eik−Fk)の、kが0からN
までの間の最大値が決められた許容値内にある場合、工
具径を変更して補正加工する。Then, this Si is calculated by gradually changing the amount of change within the range in which the tool diameter can be changed, and k of 0 to N of (Eik-Fk) when Si becomes the smallest.
If the maximum value up to is within the specified tolerance, correct the machining by changing the tool diameter.
【0052】ステップ970において小さいと判定され
た場合には、操作者に工具径を変更するように指示する
メッセージを、操作入力表示出力部21に表示する。操
作者により工具径が変更されると、工具径を変更して補
正NCプログラムを作成し(ステップ980)、加工機
1において補正加工を行ない(ステップ1000)、ス
テップ920へ戻る。If it is determined in step 970 that it is smaller, a message instructing the operator to change the tool diameter is displayed on the operation input display output unit 21. When the operator changes the tool diameter, the tool diameter is changed to create a correction NC program (step 980), correction processing is performed in the processing machine 1 (step 1000), and the process returns to step 920.
【0053】図7は、加工条件が悪かった場合の中で、
工具径が、指示したものと実際のものとの間に誤差があ
った場合の例である。補正加工形状データ作成の有無判
断部12により、加工条件を変更するだけで補正加工形
状データを求めないで補正NCプログラムを作成すると
判断される。判断と同時に工具径の補正値も計算され
る。その場合には、計算で求められた補正された工具径
を使用して、補正NCプログラム作成部14により補正
NCプログラムを作成される。FIG. 7 shows that when the processing conditions are bad,
This is an example when the tool diameter has an error between the instructed one and the actual one. The correction machining shape data creation presence / absence determining unit 12 determines to create the correction NC program without changing the machining conditions and obtaining the corrected machining shape data. At the same time as the judgment, the correction value of the tool diameter is calculated. In that case, the corrected NC program is created by the corrected NC program creating unit 14 using the corrected tool diameter calculated.
【0054】ステップ970において大きいと判定され
た場合には、補正加工形状データを作成して補正NCプ
ログラムを作成し(ステップ990)、加工機1におい
て補正加工を行ない(ステップ1000)、ステップ9
20へ戻る。If it is determined to be large in step 970, the correction machining shape data is created to create the correction NC program (step 990), and the correction machining is performed in the processing machine 1 (step 1000).
Return to 20.
【0055】図8は、加工原点の軸をずらしても、加工
条件を変更しても、補正ができない場合である。補正加
工形状データ作成の有無判断部12により、補正加工形
状データを作成して補正加工すれば補正ができると判断
される。その場合には、補正加工形状データ作成部13
により、補正加工形状データが作成され、補正NCプロ
グラム作成部14により補正NCプログラムが作成され
る。FIG. 8 shows a case where the correction cannot be performed even if the axis of the processing origin is shifted or the processing conditions are changed. The correction processing shape data creation presence / absence determining unit 12 determines that the correction can be performed by creating the correction processing shape data and performing the correction processing. In that case, the corrected machining shape data creation unit 13
Thus, the corrected machining shape data is created, and the corrected NC program creation unit 14 creates the corrected NC program.
【0056】[0056]
【発明の効果】本発明によれば、被加工物の加工原点の
位置がずれている場合や、工具の径が誤っている場合に
ついてはこれらを検出し、操作者にこれらを通知するこ
とで、操作者が木目細かく対応することができて、高速
に精度良く加工することができる数値制御方法および数
値制御システムを提供することができる。According to the present invention, when the position of the processing origin of the workpiece is misaligned or the diameter of the tool is wrong, these are detected and the operator is notified of them. Thus, it is possible to provide a numerical control method and a numerical control system that allow an operator to handle the details finely and to perform high-speed and accurate machining.
【図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 a shape error.
【図5】形状誤差の具体例を示す説明図。FIG. 5 is an explanatory diagram showing a specific example of a shape error.
【図6】形状誤差の具体例を示す説明図。FIG. 6 is an explanatory diagram showing a specific example of a shape error.
【図7】形状誤差の具体例を示す説明図。FIG. 7 is an explanatory diagram showing a specific example of a shape error.
【図8】形状誤差の具体例を示す説明図。FIG. 8 is an explanatory diagram showing a specific example of a shape error.
【図9】本発明のNCプログラム作成装置40の動作手
順を示すフローチャート。FIG. 9 is a flowchart showing an operation procedure of the NC program creating device 40 of the present invention.
【図10】本実施例で用いられるNCプログラム作成装
置40のハードウエアシステム構成の一例を示すブロッ
ク図。FIG. 10 is a block diagram showing an example of a hardware system configuration of an NC program creating device 40 used in this embodiment.
【図11】加工原点の軸のずらし量に関する説明図。FIG. 11 is an explanatory diagram regarding a shift amount of an axis of a processing origin.
【図12】工具径の変更量に関する説明図。FIG. 12 is an explanatory diagram related to a change amount of a tool diameter.
1…加工機、11…補正NCプログラム作成の有無判断
部、12…補正加工形状データ作成の有無判断部、13
…補正加工形状データ作成部、14…補正NCプログラ
ム作成部、15…補正加工の有無判断部、16設計値加
工形状データ入力部、17…設計値NCプログラム作成
部、18…NCプログラム記憶部、19…NCプログラ
ム解析部、20…NCプログラム実行部、40…NCプ
ログラム作成装置、100…形状測定装置。DESCRIPTION OF SYMBOLS 1 ... Processing machine, 11 ... Correction NC program creation presence / absence determination unit, 12 ... Correction machining shape data creation presence / absence determination unit, 13
... correction machining shape data creation unit, 14 ... correction NC program creation unit, 15 ... correction machining presence / absence judgment unit, 16 design value machining shape data input unit, 17 ... design value NC program creation unit, 18 ... NC program storage unit, 19 ... NC program analysis unit, 20 ... NC program execution unit, 40 ... NC program creation device, 100 ... Shape measurement device.
Claims (8)
から、補正加工を行なうための補正形状データを作成
し、該補正形状データに基づいて補正NCプログラム作
成する数値制御方法において、 前記誤差データの値と、予め定められた許容誤差の値と
を比較し、前記誤差データの値が前記許容誤差よりも小
さい場合にのみ、前記被加工物の形状の補正加工を行な
うと判断し、 該補正加工を行なうと判断された場合に、前記誤差デー
タが、前記加工を行なう加工機における加工原点の軸が
ずれていることに起因して発生している(軸ずれ有り)
か否かを判断し、 該軸ずれ有りと判断された場合に、外部に軸ずれの発生
を通知することを特徴とする数値制御方法。1. A numerical control method for creating corrected shape data for performing correction processing from error data about an ideal shape of a workpiece and creating a correction NC program based on the corrected shape data. Is compared with a predetermined allowable error value, and only when the value of the error data is smaller than the allowable error, it is determined to correct the shape of the workpiece, and the correction is performed. When it is determined that machining is to be performed, the error data is generated because the axis of the machining origin in the machining machine that performs the machining is deviated (axis misalignment).
It is determined whether or not there is a shaft misalignment, and when it is judged that the shaft misalignment is present, the occurrence of the shaft misalignment is externally notified.
が、前記加工を行なう加工機における工具径の誤りであ
る(工具径誤り有り)か否かを判断し、 該工具径の誤りであると判断された場合に、外部に工具
径の誤りの発生を通知することを特徴とする数値制御方
法。2. The method according to claim 1, wherein when it is determined that there is no axis deviation, it is determined whether or not the error data is an error in a tool diameter in a processing machine that performs the processing (a tool diameter error is present). Then, when it is determined that the tool diameter is incorrect, a numerical control method is characterized in that the occurrence of the error in the tool diameter is notified to the outside.
から、補正加工を行なうための補正形状データを作成
し、該補正形状データに基づいて補正NCプログラム作
成する数値制御システムにおいて、 前記誤差データの値と、予め定められた許容誤差の値と
を比較し、前記誤差データの値が前記許容誤差よりも小
さい場合にのみ、前記被加工物の形状の補正加工を行な
うと判断する補正加工判断手段と、 該補正加工判断手段により補正加工を行なうと判断され
た場合に、前記誤差データが、前記加工を行なう加工機
における加工原点の軸がずれていることに起因して発生
している(軸ずれ有り)か否かを判断するための軸ずれ
判断手段と、 該軸ずれ判断手段により、軸ずれ有りと判断された場合
に、外部に軸ずれの発生を通知する軸ずれ通知手段と、 を備えることを特徴とする数値制御システム。3. A numerical control system for creating corrected shape data for performing correction processing from error data on an ideal shape of a workpiece and creating a correction NC program based on the corrected shape data, wherein the error data And a predetermined allowable error value are compared, and a correction processing determination is made to determine that the correction processing of the shape of the workpiece is performed only when the value of the error data is smaller than the allowable error. Means and the correction processing determination means determines that the correction processing is to be performed, the error data is generated due to the deviation of the axis of the processing origin in the processing machine that performs the processing ( Axis deviation determination means for determining whether or not there is an axis deviation, and if the axis deviation determination means determines that there is an axis deviation, an axis deviation notification that notifies the outside of the occurrence of the axis deviation. Numerical control system comprising: the means.
合に、前記誤差データが、前記加工を行なう加工機にお
ける工具径の誤りである(工具径誤り有り)か否かを判
断するための工具径誤り判断手段と、 該工具径誤り判断手段により、工具径の誤りであると判
断された場合に、外部に工具径の誤りの発生を通知する
工具径誤り通知手段と、 を備えることを特徴とする数値制御システム。4. The error data according to claim 1, wherein the error data is an error of a tool diameter in a processing machine that performs the processing when the axis deviation determining means determines that there is no axis deviation (error of tool diameter). ) Tool diameter error determining means for determining whether or not the tool diameter is incorrect, and a tool diameter for notifying the occurrence of an error in the tool diameter to the outside when the tool diameter error determining means determines that the tool diameter is incorrect. A numerical control system comprising: an error notifying means.
は、前記加工原点の軸ずれの度合いを判定し、 前記軸ずれ通知手段は、前記軸ずれの度合いを外部に通
知することを特徴とする数値制御システム。5. The axis deviation determining means determines the degree of axis deviation of the machining origin, and the axis deviation notifying means externally notifies the degree of axis deviation. Numerical control system.
段は、前記工具径の誤りの度合いを判定し、 前記工具径誤り通知手段は、前記工具径誤りの度合いを
外部に通知することを特徴とする数値制御システム。6. The tool radius error determining means according to claim 2, wherein the tool radius error determining means determines the degree of error of the tool radius, and the tool radius error notifying means notifies the degree of the tool radius error to the outside. Characteristic numerical control system.
段により、工具径の誤りであると判断された場合に、前
記工具径の誤りの度合いに基づいて工具径を変更して補
正NCプログラムを作成する手段と、 前記工具径誤り判断手段により、工具径の誤りで無いと
判断された場合に補正加工形状データを作成し、該補正
加工形状データに基づいて補正NCプログラムを作成す
る手段と、 を備えることを特徴とする数値制御システム。7. The correction NC program according to claim 4, wherein, when the tool radius error determining means determines that the tool radius is incorrect, the tool radius is changed based on the degree of the tool radius error. And a means for creating a corrected machining shape data when the tool diameter error determination means determines that the tool diameter is not an error, and a corrected NC program based on the corrected machining shape data. A numerical control system comprising:
から、補正加工を行なうための補正形状データを作成
し、該補正形状データに基づいて補正NCプログラム作
成する数値制御システムにおいて、 前記誤差データの値と、予め定められた許容誤差の値と
を比較し、前記誤差データの値が前記許容誤差よりも小
さい場合にのみ、前記被加工物の形状の補正加工を行な
うと判断する補正加工判断手段と、 該補正加工判断手段により補正加工を行なうと判断され
た場合に、前記誤差データが、前記加工を行なう加工機
における工具径の誤りに起因して発生している(工具径
誤り有り)か否かを判断するための工具径誤り判断手段
と、 該工具径誤り判断手段により、工具径誤り有りと判断さ
れた場合に、外部に工具径誤りの発生を通知する工具径
誤り通知手段と、 を備えることを特徴とする数値制御システム。8. A numerical control system for creating corrected shape data for performing correction processing from error data about an ideal shape of a workpiece and creating a correction NC program based on the corrected shape data, wherein the error data And a predetermined allowable error value are compared, and a correction processing determination is made to determine that the correction processing of the shape of the workpiece is performed only when the value of the error data is smaller than the allowable error. Means and the correction processing determination means determines that the correction processing is to be performed, the error data is generated due to an error in the tool diameter in the processing machine that performs the processing (error in tool diameter). Tool diameter error determining means for determining whether or not there is a tool diameter error, and a tool for notifying the outside of the tool diameter error when the tool diameter error determining means determines that there is a tool diameter error Numerical control system comprising: an error notifying means.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP5228712A JPH0780753A (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 |
---|---|---|---|
JP5228712A JPH0780753A (en) | 1993-09-14 | 1993-09-14 | Numerical control method and numerical control system |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH0780753A true JPH0780753A (en) | 1995-03-28 |
Family
ID=16880635
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP5228712A Withdrawn JPH0780753A (en) | 1993-09-14 | 1993-09-14 | Numerical control method and numerical control system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH0780753A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2006305725A (en) * | 2006-06-26 | 2006-11-09 | Nissin Kogyo Co Ltd | Finishing method of workpiece forming surface of mold |
KR101325150B1 (en) * | 2012-05-23 | 2013-11-06 | 한국생산기술연구원 | Apparatus and method for monitoring machining process reflecting setting error |
JP2016175147A (en) * | 2015-03-20 | 2016-10-06 | シチズンホールディングス株式会社 | Surface processing device |
JP2019217591A (en) * | 2018-06-19 | 2019-12-26 | ファナック株式会社 | Adjustment necessity/unnecessity determination device |
JP2024065176A (en) * | 2022-10-31 | 2024-05-15 | Dmg森精機株式会社 | Machining program correction method and information processing program |
-
1993
- 1993-09-14 JP JP5228712A patent/JPH0780753A/en not_active Withdrawn
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2006305725A (en) * | 2006-06-26 | 2006-11-09 | Nissin Kogyo Co Ltd | Finishing method of workpiece forming surface of mold |
JP4486944B2 (en) * | 2006-06-26 | 2010-06-23 | 日信工業株式会社 | Finishing method of workpiece forming surface of mold |
KR101325150B1 (en) * | 2012-05-23 | 2013-11-06 | 한국생산기술연구원 | Apparatus and method for monitoring machining process reflecting setting error |
JP2016175147A (en) * | 2015-03-20 | 2016-10-06 | シチズンホールディングス株式会社 | Surface processing device |
JP2019217591A (en) * | 2018-06-19 | 2019-12-26 | ファナック株式会社 | Adjustment necessity/unnecessity determination device |
US10962953B2 (en) | 2018-06-19 | 2021-03-30 | Fanuc Corporation | Adjustment of a deviation of an axis position of driving unit of machine tool |
JP2024065176A (en) * | 2022-10-31 | 2024-05-15 | Dmg森精機株式会社 | Machining program correction method and information processing program |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP2040028B1 (en) | Measuring method for use on machine tools | |
US5513113A (en) | Method of and device for correcting position of cutting-edge of tool in numerically controlled machine tool | |
EP1579168B2 (en) | Workpiece inspection method and apparatus | |
EP1327495B1 (en) | Measuring method and device, machine tool having such device, and work processing method | |
JPWO2006077629A1 (en) | Positioning device and positioning method | |
JP2008114322A (en) | Position correcting method and position correcting device in machine tool | |
US11289303B2 (en) | Calibrating method and calibrating system | |
JP2000198047A (en) | Machine tool | |
JPH0780753A (en) | Numerical control method and numerical control system | |
JP7463505B2 (en) | Method for detecting rejects during machining of structurally identical workpieces and associated numerically controlled workpiece machining device - Patents.com | |
CN111624940B (en) | Information processing apparatus and information processing method | |
JPH10111706A (en) | Automatic measuring instrument for numerically controlled machine tool | |
JP3648054B2 (en) | Automatic determination method of spindle or attachment correction value | |
JPH0410568B2 (en) | ||
KR101823052B1 (en) | Method of measuring workpiece for correction of cnc machine job | |
JPH09131642A (en) | Numerical control machine tool precision inspection device and thermal displacement inspection method of numerical control machine tool and precision inspection method | |
EP4434672A1 (en) | Device and method for correcting concentricity of machine tool spindle | |
JP2980933B2 (en) | Impact test piece automatic processing system and impact test piece automatic processing method | |
JPH0780752A (en) | Numerical control method and numerical control system | |
JPH0740193A (en) | Nc programing method and nc control system | |
JP7519966B2 (en) | Calibration method and calibration program for contact-type tool sensor in machine tool, machine tool | |
KR100458453B1 (en) | A correction apparatus and correction method for a automatic lathe | |
JP4493168B2 (en) | Shape measuring method and shape measuring apparatus | |
JPH03131452A (en) | Dynamic error of nc machine tool and automatic correcting method for working error | |
KR20230121253A (en) | Tool compensation device and compensation method for machine tools |
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 |