JPS6119540A - Compensating method of feed screw pitch error in numerically controlled machine tool - Google Patents

Compensating method of feed screw pitch error in numerically controlled machine tool

Info

Publication number
JPS6119540A
JPS6119540A JP13957484A JP13957484A JPS6119540A JP S6119540 A JPS6119540 A JP S6119540A JP 13957484 A JP13957484 A JP 13957484A JP 13957484 A JP13957484 A JP 13957484A JP S6119540 A JPS6119540 A JP S6119540A
Authority
JP
Japan
Prior art keywords
correction
point
feed screw
amount
pitch 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.)
Pending
Application number
JP13957484A
Other languages
Japanese (ja)
Inventor
Tadamasa Yamada
山田 忠正
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.)
Niigata Engineering Co Ltd
Original Assignee
Niigata Engineering Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Niigata Engineering Co Ltd filed Critical Niigata Engineering Co Ltd
Priority to JP13957484A priority Critical patent/JPS6119540A/en
Publication of JPS6119540A publication Critical patent/JPS6119540A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/18Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form
    • G05B19/182Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form characterised by the machine tool function, e.g. thread cutting, cam making, tool direction control
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/41Servomotor, servo controller till figures
    • G05B2219/41037With computer
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/41Servomotor, servo controller till figures
    • G05B2219/41055Kind of compensation such as pitch error compensation
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/41Servomotor, servo controller till figures
    • G05B2219/41245Discrimination of direction

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Manufacturing & Machinery (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Control Of Position Or Direction (AREA)
  • Automatic Control Of Machine Tools (AREA)
  • Numerical Control (AREA)

Abstract

PURPOSE:To compensate a feed screw pitch error very accurately in a numerically controlled machine tool by adding compensatory amount at a point, to be compensated, of a moving body to a command signal to control a servo-motor. CONSTITUTION:In the compensating method of feed screw pitch error, when the total traveling stroke length SL of a moving body 12 is input from an input unit 3 to CPU1 of a NC device 2 CPU1 processes a step SP10 (computation process for a space (CI) to be compensated. Secondly, according to positional data, the magnitude of error in the positional data, and the total traveling stroke of the moving body (a table) 12, the point to be compensated is set and a compensatory amount at the point to be compensated is computed and stored in the memory in compliance with a memory capacity. Consequently, a memory domain prepared for the compensatory amount in the memory can be utilized to its maximum and efficiently. The pitch error of a feed screw 14 can be therefore compensated very accurately.

Description

【発明の詳細な説明】 本発明は、数値制御工作機械において、送シネジのピッ
チ誤差の補正量をあらかじめ記憶しておき、移動体の移
動時に、上記補正量を鹸み出して上記送)ネジのピッチ
誤差を補正する送りネジピッチ誤差補正方法に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention is a numerically controlled machine tool in which a correction amount for pitch error of a feed screw is stored in advance, and when a movable object is moved, the correction amount is extracted and the pitch error of a feed screw is adjusted. The present invention relates to a feed screw pitch error correction method for correcting pitch errors of.

従来、qの種の補正方法としては、各測定点に御装置内
の補正量テーブルに記憶して、おき、機械が補正位置に
来九ときに上記補正量テーブルから該尚する補正量を取
り出し、送シネジのピッチ誤差を補正する方法が知られ
ている(特公昭59−11125号公報参照)。そして
、この方法に用いられる補正量テーブルには、第1表に
示す工うに機械原点からの補正位置及びその位置(おけ
る補正量を順に入力し記憶しておくようになっている。
Conventionally, as a correction method of type q, a correction amount table in the device is stored at each measurement point, and when the machine comes to the correction position, the corresponding correction amount is retrieved from the correction amount table. A method of correcting the pitch error of the feed screw is known (see Japanese Patent Publication No. 59-11125). In the correction amount table used in this method, the correction position from the machine origin and the correction amount at that position (as shown in Table 1) are sequentially input and stored.

第1表 しかしながら、このようにして補正量テーブルに補正量
を設定する場合に、補正位置(測定位置)の数が小ない
と、各補正位置における補正量が大きくなってピッチ誤
差の補正が粗くなる次め、高精度の補正ができないとい
う問題がある。ま友、数値制御装置には、通常1軸あ7
p F) 100〜200点の補正tを設定可能なメモ
リ領域が設けられているので、このメモリ領域を最大限
に利用して補正精度を上げようとすると、それだけ入力
しなければならない補正位置及び補正量が増え、測定デ
ータからの補正量の算出及び補正位置、補正量の入力操
作が多くなって、作業量が増大すると共に算出及び入力
ミスを生じ易くなるという問題がある。
Table 1 However, when setting the correction amount in the correction amount table in this way, if the number of correction positions (measurement positions) is small, the correction amount at each correction position will become large and the pitch error correction will be rough. Next, there is the problem that highly accurate correction cannot be performed. Mayu, a numerical control device usually has one axis.
pF) Since a memory area is provided in which 100 to 200 correction points can be set, if you try to maximize the use of this memory area to increase the correction accuracy, you will have to input as many correction positions and As the amount of correction increases, the number of operations for calculating the amount of correction from measurement data and inputting the correction position and amount of correction increases, leading to problems in that the amount of work increases and calculation and input errors are more likely to occur.

本発明は、上記事情に鑑みてなされ友もので、その目的
とするところは、送りネジのピッチ誤差データを簡単に
入力できる上に、高精度のピッチ誤差補正ができる数値
制御工作機械における送りネジピッチ誤差補正方法を提
供するものである。
The present invention has been made in view of the above circumstances, and its purpose is to easily input pitch error data of a feed screw and to enable highly accurate pitch error correction in a numerically controlled machine tool. An error correction method is provided.

上記目的を達成するtめに、本発明は、あらかじめ測定
され九送りネジのピッチ誤差データを直線近似して、そ
の直線の折曲点の位置と該位置における煩差量と移動体
の全移動ストローク長とを数値制御装置に入力し、上記
位置と誤差竜と全移動ストローク長に応じて、上記各位
置間毎の補正点を設定し、かつ該補正点における補正1
を算出して上記数値制御装置内の記憶装置に記憶してお
い友後(、移動体が補正点に達する毎に該補正点におけ
る補正量を指令信号に加算してサーボモータの制御を行
なう工うにするものである。
In order to achieve the above object, the present invention approximates the pitch error data of nine feed screws measured in advance by a straight line, and calculates the position of the bending point of the straight line, the amount of deviation at the position, and the total movement of the moving body. input the stroke length into the numerical control device, set correction points for each of the above positions according to the above positions, the error length, and the total movement stroke length, and perform correction 1 at the correction points.
This is a process in which the amount of correction at the correction point is added to the command signal each time the moving object reaches the correction point to control the servo motor. This is what you do.

以下、図面に基づいて本発明の一実施例を説明する。Hereinafter, one embodiment of the present invention will be described based on the drawings.

第1因中1は、数値制御装置2のCPU  (中央処理
装置)であり、このCPU  1は、入力部3からテー
プ入力されたプログラムに従って各種の処理を行なうよ
うになっている。ま友crty  1には、ポイントレ
ジスタ(置数器)4と記憶装置5.とカウンタ回路6が
接続さnている。このポイントレジスタ4はCPU  
1から送られ几数字を一時的に記憶しておくようになっ
ておシ、上記記憶装置5内には、補正番号Nとそれに対
応する補正量CPとを記憶しておく補正量テーブルTが
設定されている。また、上記カウンタ回路6はCPU 
1から信号が入力される毎に計数し、所定の値に−i4
るとCPU  1に計数完了を報知する本のである。さ
らに% CPU  1は補間器7に接続されており、こ
の補間器7は、CPU  1が出力したデータに基づい
て補間(直線補間、円弧補間等)して引算器8に対して
指令パルスPAを出力する。この引算器8ハ該指令パル
スPAと同期化回路9からの帰還パルスPBとの差を算
出して1その差をD/A変換器(ディジタルアナログ変
換器)10に対して出力するように構成されている。そ
して、D/A変換器10によってパルス信号から変換さ
れた連続信号は、増幅器11で増幅されて、サーボモー
タMに入力される工うになっている。さらにまた、サー
ボモータMに連結され次エンコーダPGは上記同期化回
路9に位置検出パルスPDを出力すると共に%CPU 
1の割込勾子に対して、エンコーダPGの1回転毎の回
転信号(パルス信号IPCを出力する工うになっている
The first factor is the CPU (Central Processing Unit) of the numerical control device 2, and the CPU 1 is designed to perform various processes according to programs inputted from the input section 3 on tape. Mayu crty 1 includes a point register (digit register) 4 and a storage device 5. and the counter circuit 6 are connected. This point register 4 is the CPU
The storage device 5 has a correction amount table T that stores correction numbers N and corresponding correction amounts CP. It is set. Further, the counter circuit 6 is a CPU
Count each time a signal is input from 1 and set it to a predetermined value -i4
This is the book that notifies CPU 1 of the completion of counting. Furthermore, the % CPU 1 is connected to an interpolator 7, and this interpolator 7 performs interpolation (linear interpolation, circular interpolation, etc.) based on the data output by the CPU 1 and outputs a command pulse PA to the subtracter 8. Output. This subtracter 8 is configured to calculate the difference between the command pulse PA and the feedback pulse PB from the synchronization circuit 9 and output the difference to the D/A converter (digital-to-analog converter) 10. It is configured. The continuous signal converted from the pulse signal by the D/A converter 10 is amplified by the amplifier 11 and input to the servo motor M. Furthermore, the next encoder PG connected to the servo motor M outputs a position detection pulse PD to the synchronization circuit 9, and at the same time outputs a position detection pulse PD to the synchronization circuit 9.
A rotation signal (pulse signal IPC) is output for each rotation of the encoder PG for one interrupt gradient.

上記サーボモータMは、工作機械本体のテーブル(移動
体112の下部に設けられ九ナツト13と噛み合ってい
る送りネジ14を回転あるいは停止制御する工うになっ
ている。そして、テーブル12が原点にある時に、上記
エンコーダPGの回転信号PCが出力する工うにエンコ
ーダPGとテーブル12との関係が設定されている。
The servo motor M is designed to rotate or stop the table of the machine tool body (the feed screw 14 provided at the bottom of the moving body 112 and meshing with the nine nut 13). At times, the relationship between the encoder PG and the table 12 is set such that the rotation signal PC of the encoder PG is outputted.

次に、上記の工うに構成された装置を用いて、本発明に
係る送υネジピッチ誤差補正方法を説明する。
Next, the feed screw pitch error correction method according to the present invention will be explained using the apparatus configured as described above.

(1)まず、移動体12の全移動ストローク長SLを入
力部3から入力すると、CPU  1は第3図に示すス
テップ5pioの処理(補正間隔CIの算出処理)f行
なう。ここで、記憶ポイントPNは記憶装置5内に設定
された補正量エリア(補正量を記憶する記憶領域)の大
きさで決まる。そして、例えば、記憶ポイントPN =
 200゜全移動ストローク長SL = 500 (m
)とすると、補正間隔CI= 5007200=2.5
(ロ)となる。
(1) First, when the total movement stroke length SL of the moving body 12 is input from the input section 3, the CPU 1 performs the process f of step 5pio (calculation process of the correction interval CI) shown in FIG. Here, the storage point PN is determined by the size of the correction amount area (storage area for storing the correction amount) set in the storage device 5. And, for example, memory point PN =
200° full movement stroke length SL = 500 (m
), then correction interval CI = 5007200 = 2.5
(b) becomes.

(2)一方、あらかじめテーブル12を原点から移動さ
せて所定間隔(実施例にお1ハでは50■個隔)毎に測
定しておい友ピッチ誤差量に基づいて、@2図(イ)に
示すピッチ誤差曲線を描き、第2図(ロ)に示すように
直線近似する。この場合、送シネジのピッチ誤差は第2
図(イ)に示す工うに太きなうねり状の変化をするもの
がほとんどであるので、第2図(ロ)に示すLうに数本
の直線で近似することが可能である。
(2) On the other hand, move the table 12 from the origin in advance and measure at predetermined intervals (50 cm intervals in the first example), and based on the pitch error amount, The pitch error curve shown in FIG. 2 (b) is drawn and approximated by a straight line as shown in FIG. In this case, the pitch error of the feed screw is the second
Since most of the curves shown in Figure 2(A) have thick undulating changes, it is possible to approximate the curves shown in Figure 2(B) with several straight lines.

(3)  そして、第2図(ロ)に示すように直線近似
され友ピッチ誤差曲線の折曲点の位置データ(原点から
Q距離)とその点における誤差量を入力部3から入力す
る。例えば、第2図(ロ)においては、p3(150、
10)、P5 (250,5)、P6(3o o 、 
s )、P、(350,−1)、Plo(500,−1
0)の5点のデータを入力する。
(3) Then, as shown in FIG. 2(b), the position data of the bending point of the straight-line approximated pitch error curve (Q distance from the origin) and the amount of error at that point are input from the input section 3. For example, in Figure 2 (b), p3 (150,
10), P5 (250,5), P6 (3o o,
s ), P, (350,-1), Plo(500,-1
0) Input the data of 5 points.

(41P3.P5 * P6 + P7 a Plo 
の5点の位置データとその点における誤差量が入力され
ると、      ′CPU  1は、まず第一図に示
すステップSP 20に従って、入力され次位置データ
間の誤差量(補正ピッチ量)CPNf演算する。例えば
、26点とP7 点間においては、前誤差量PPN=5
(μ)・・・・・・P 点の誤差量、現誤差1NPN 
=−1(μ)・・・・・・27点の誤差量となるので、
補正ピッチ量CPN =5− (−1)=6(μ)とな
る。
(41P3.P5 * P6 + P7 a Plo
When the position data of the five points and the error amount at the point are input, the CPU 1 first calculates the error amount (corrected pitch amount) CPNf between the input position data and the next position data according to step SP 20 shown in Figure 1. do. For example, between the 26th point and the P7 point, the previous error amount PPN = 5
(μ)・・・・・・P point error amount, current error 1NPN
=-1(μ)...The amount of error is 27 points, so
The corrected pitch amount CPN =5-(-1)=6(μ).

(5)さらに、2点間の距離(区間データ)PID分算
出する(ステップ5P21参照)。例えば、P6 点と
P7 点間の場合は、現位置データNPD=350(u
’I・・・・・・P7 点の位置データ、前位置データ
PPD =300 (驕)・・・・・・P6 点の位置
データとなるので、区間データPID =350−30
0=50(間)となる。
(5) Furthermore, the distance between two points (section data) is calculated by PID (see step 5P21). For example, between points P6 and P7, current position data NPD = 350 (u
'I...P7 point position data, previous position data PPD = 300 (arrogance)...P6 point position data, so interval data PID = 350-30
0=50 (pause).

(6)次いで、各位置データ間で設定可能な入力点数を
示す区間ポイント数IPN を算出する〔ステップ5P
22参照)。例えば%P6点とP7点間の場合は、区間
データPID = 50 (ya )、補正間隔CI 
=2.5 (aua)であるので、区間ポイント数IP
N =50/2.5=20となる。そして、位置番号P
Nを0に設定する。
(6) Next, calculate the number of section points IPN indicating the number of input points that can be set between each position data [Step 5P
22). For example, in the case between %P6 point and P7 point, interval data PID = 50 (ya), correction interval CI
= 2.5 (aua), so the number of section points IP
N=50/2.5=20. And position number P
Set N to 0.

(71KR’八で、ステップ8P23に示すように位置
番号PNと区間ポイント数IPN とを比較する。
(At 71KR'8, the position number PN and the section point number IPN are compared as shown in step 8P23.

そして、位置番号PNが区間ポイント数IPNと一致す
るまで以下の処理(補正データ設定処理ステップ5P2
4〜30参照)を繰返す。例えば% P6 点とP7 
点間の場合には1区間ポイント数IPN=20であるの
で、第4図に示すループLPe20回織返して処理を終
了する。
Then, the following process (correction data setting process step 5P2) is performed until the position number PN matches the section point number IPN.
4 to 30). For example, % P6 points and P7
In the case between points, since the number of points in one section IPN=20, the loop LPe shown in FIG. 4 is repeated 20 times and the process is completed.

(8)ステップ5P23において位置番号PNが区間ポ
イント数IPN  と一致しない場合には、まず、ステ
ップ5P24に示すように位置番号PNをカウントアツ
プ(+1)する。例えば% 26点とP7 点間の場合
位置番号PNは0から20になるまでループLP ft
繰返す毎に更新される。
(8) If the position number PN does not match the section point number IPN in step 5P23, first, the position number PN is counted up (+1) as shown in step 5P24. For example, between the %26 point and the P7 point, the position number PN is loop LP ft from 0 to 20.
Updated each time it is repeated.

(9)そして、ステップ5P25に示す工うに、現補正
量NCP  を演算する。例えばk P6 点とP7点
間の場合には、補正ピッチ量CPU=6Cμ)、区間ポ
イント数IPN=20であるので、位置番号PNに対す
る=A捕正量NCP は第2表に示す工うになる。ただ
し、現補正量NCP の多数点以下は切シ捨てる。
(9) Then, in step 5P25, the current correction amount NCP is calculated. For example, in the case between point k P6 and P7, the correction pitch amount CPU = 6Cμ) and the number of interval points IPN = 20, so the = A correction amount NCP for the position number PN will be as shown in Table 2. . However, the points below the current correction amount NCP are rounded down and discarded.

aCさらに、ステップ5P26に示す工うに補正量CP
を算出する。ここで、記憶補正量MCPは、1つ前の位
!番号PN時の現補正量NCPを記憶しておくものであ
る(ステップ5P28参照)。セして% 26点とP7
 点間の場合には、補正量CPは第2表に示すLうにな
る。
aC Furthermore, the correction amount CP shown in step 5P26
Calculate. Here, the memory correction amount MCP is the previous digit! The current correction amount NCP at the time of number PN is stored (see step 5P28). Set % 26 points and P7
In the case between points, the correction amount CP becomes L shown in Table 2.

al)次1ハで、ステップ5P27に示す工らに補正量
CPと補正最小単位(数値制御装置2において定められ
ている最小単位、本実施例においては1)とを比較する
al) Next, in step 1C, the correction amount CP and the minimum correction unit (the minimum unit defined in the numerical control device 2, in this embodiment, 1) are compared in step 5P27.

第    2    表 cz ・iそして、比較した結果、補正1icpが補正
最小単位(1)以上の場合には、現補正−11NCP 
 を記憶補正量MCP に記憶する(ステップ5P28
参照)。また、補正量CPが補正最小単位fllj!り
小さい場合には、補正量CPを0に設定する(ステップ
5P29参照)。
Table 2 cz ・i Then, as a result of the comparison, if the correction 1icp is greater than or equal to the minimum correction unit (1), the current correction - 11NCP
is stored in the memory correction amount MCP (Step 5P28
reference). Also, the correction amount CP is the minimum correction unit fllj! If the difference is smaller, the correction amount CP is set to 0 (see step 5P29).

1階 続いて、補正量CPを記憶装置5内の補正量テー
ブルTのポイントレジスタ4の値に一致する補正番号N
の補正量エリアに記憶すると共に、ポイントレジスタ4
を更新(+1)する。26点とP7点間の場合には、ル
ープLPを繰ル返す毎にポイントレジスタ4の値121
〜140に対応して@5図に示すように補正番号N=1
21〜140の補正量エリア(Cそれぞれの補正量CP
が記憶される。なお、第5図中、補正番号N=120に
おける補正量CPは、P5 点とP6 点間の補正量算
出処理で得られ次位で、本実施例にお贋ては※P=0で
ある。
1st floor Next, the correction amount CP is set to the correction number N that matches the value of the point register 4 of the correction amount table T in the storage device 5.
is stored in the correction amount area of point register 4.
Update (+1). In the case between point 26 and point P7, the value of point register 4 is 121 every time loop LP is repeated.
Corresponding to ~140, correction number N = 1 as shown in Figure @5
Correction amount areas 21 to 140 (correction amount CP for each
is memorized. In addition, in FIG. 5, the correction amount CP at the correction number N=120 is obtained by the correction amount calculation process between the P5 point and the P6 point, and is in the second place, and in this example, *P=0. .

上記手順(1]〜aりが完了して、記憶装置5内の補正
量テーブルTの補正量エリアに補正番号N=1〜250
に対応する補正量CPを記憶し友後に、この補正量テー
ブルTe使用して移動体12の移動に伴うピッチ誤差の
補正を行なう。その手順を以下に説明する。
After the above steps (1) to a are completed, the correction number N=1 to 250 is stored in the correction amount area of the correction amount table T in the storage device 5.
After storing the correction amount CP corresponding to , the correction amount table Te is used to correct the pitch error accompanying the movement of the moving body 12. The procedure will be explained below.

まず、テーブル(移動体)12を原点に戻し、かつポイ
ントレジスタ4をクリア(0に)した後に、 CPU 
 1は、入力部3からテープ入力されている移動指令に
従って、移動量データを補間器7に出力すると共に、1
つの補正間隔(本実施例においては2.5 rnx )
に出力されるエンコーダPCの回転信号(パルス信号)
の数だけ計数すると計数完了信号をCPU  1に出力
する工うにカウンタ回路6ケ設定する。そして、該移動
量データを受は取った補間器7は、移動量データに応じ
た指令パルスPAを引算器8に対して出力するから、引
算器8は、この指令パルスPAとエンコーダPGから同
期化回路9を介して入力される帰還パルスFBとが一致
するまでの間、D/A変換器10及び増幅器11を経て
サーボモータMに対して回転指令を出力し続ける。この
結果、サーボモータMは回転を開始するので、送りネジ
14とナットl3を介してテーブル12が移動し始める
First, after returning the table (moving body) 12 to its origin and clearing the point register 4 (to 0), the CPU
1 outputs movement amount data to the interpolator 7 in accordance with the movement command inputted from the input section 3 on the tape.
correction interval (2.5 rnx in this example)
Rotation signal (pulse signal) of encoder PC output to
Six counter circuits are set to output a counting completion signal to the CPU 1 after counting the number. The interpolator 7 that has received the movement amount data outputs a command pulse PA corresponding to the movement amount data to the subtracter 8. The rotation command continues to be output to the servo motor M via the D/A converter 10 and amplifier 11 until the feedback pulse FB inputted via the synchronization circuit 9 matches. As a result, the servo motor M starts rotating, so the table 12 starts moving via the feed screw 14 and nut l3.

サーボモータMが回転すると、それに伴いサーボそ一タ
Mに連結されたエンコーダPGが回転し、位置検出パル
スPDを同期化回路9に入力し、同期化回路9は帰還パ
ルスPBに変換して引算器8に対して出力するから、上
記指令パルスPAと帰還パルスPBとによるフィードバ
ック制御が行なわれる。
When the servo motor M rotates, the encoder PG connected to the servo motor M rotates accordingly, inputting the position detection pulse PD to the synchronization circuit 9, which converts it into a feedback pulse PB and outputs it as a trigger. Since it is output to the calculator 8, feedback control is performed using the command pulse PA and feedback pulse PB.

一方、エンコーダPGが停止位置(テーブル12の原点
に相轟する位置)から1回転すると、回転信号PCがエ
ンコーダPGから出力されて、この回転信号PCがCP
U  1の割込端子に入力される。これによ、9、CP
U  1はカウンタ回路6を+1する。そして、エンコ
ーダPGが1回転する毎に% CPU  1はカウンタ
回路6を+1していき、カウンタ回路6が計数完了信号
をCPU  1に対して出力すると(テーブル12が補
正間隔以上に移動して補正点を通過すると)、CPU 
 1はカウンタ回路6を設定し直すと共に、ピッチ誤差
補正処理を開始する。すなわち、CPU  iはポイン
トレジスタ4の内容を更新しく + I L ) %そ
のポイントレジスタ4の内容fllK基づいて、記憶装
置5内の補正量テーブルTを参照し、ポイントレジスタ
4の内容(11と一致する補正番号N=lの補正量CP
(f’g5図においてはCP=0 )を補間器7の出力
する指令パルスPAに加算する。そして、移動体12が
移動し続けて、カウンタ回路6が計数完了する九びに、
CPU  1はピッチ誤差補正処理を行ない、補正され
た指令パルスPAと帰還パルスPBが一致するとサーボ
モータMは回転を止め、テーブル12は移動を停止する
On the other hand, when the encoder PG rotates once from the stop position (the position where it resonates with the origin of the table 12), a rotation signal PC is output from the encoder PG, and this rotation signal PC is
Input to the interrupt terminal of U1. This is it, 9, CP
U1 increments the counter circuit 6 by +1. Then, each time the encoder PG rotates once, the % CPU 1 increments the counter circuit 6 by 1, and when the counter circuit 6 outputs a counting completion signal to the CPU 1 (the table 12 moves beyond the correction interval and ), CPU
1 resets the counter circuit 6 and starts pitch error correction processing. In other words, CPU i updates the contents of point register 4 ( + IL ) % based on the contents fllK of point register 4, refers to the correction amount table T in storage device 5, and updates the contents of point register 4 (matches 11). Correction amount CP of correction number N=l
(CP=0 in figure f'g5) is added to the command pulse PA output by the interpolator 7. Then, when the mobile object 12 continues to move and the counter circuit 6 completes counting,
The CPU 1 performs pitch error correction processing, and when the corrected command pulse PA and feedback pulse PB match, the servo motor M stops rotating and the table 12 stops moving.

このピッチ誤差補正処理のうち、ポイントレジスタ4の
更新処理はテーブル12の移動方向に1つて符号が異な
シ、テーブル1zが原点から離れる方向に移動している
場合には+1し、原点に近づく方向の場合には−1する
。また、ポイントレジスタ4の更新後、ポイントレジス
タ4の内容に一致する補正量テーブルTO補正番号Nを
見つけ出して、該補正番号Nに対応する補正量CPを指
令パルスPAに加算する際、テーブル12の移動方向が
嘱点に近づく方向の場合には、補正量CPの符号を反転
して補間器7の出方する指令パルスPAに加算する。例
えば、テーブル12が原点に近づく状態で、かつポイン
トレジスタ4の内容が125の場合に、カウンタ回路6
が計数完了すると、CPU  1はポイントレジスタ4
の内容を更新(−1)する。従って、ポイントレジスタ
4の内容は124となり%CPU  1はこの値に一致
する補正番号N=124に対応した補正量cp=+iの
符号を反転して(すなわち「−1」にして)、補間器7
の指令パルスPAに加算する。
Among this pitch error correction processing, the updating processing of the point register 4 has a different sign in the moving direction of the table 12, and if the table 1z is moving away from the origin, it is +1, and the point register 4 is incremented by +1 in the direction closer to the origin. In this case, add -1. Further, after updating the point register 4, when finding the correction amount table TO correction number N that matches the contents of the point register 4 and adding the correction amount CP corresponding to the correction number N to the command pulse PA, the table 12 is When the direction of movement is toward the starting point, the sign of the correction amount CP is inverted and added to the command pulse PA output from the interpolator 7. For example, when the table 12 approaches the origin and the content of the point register 4 is 125, the counter circuit 6
When the count is completed, CPU 1 registers point register 4.
The contents of are updated (-1). Therefore, the content of the point register 4 becomes 124, and the %CPU 1 inverts the sign of the correction amount cp=+i corresponding to the correction number N=124 that matches this value (in other words, makes it "-1"), and the interpolator 7
is added to the command pulse PA.

なお1本実施例はエンコーダPGの回転信号PCとカウ
ンタ回路6とを組み合わせて、ピッチ誤差補正処理を行
なうようにしているが、補正間隔がエンコーダPGの回
転信号PCと一致している場合には、カウンタ回路6を
使用する必要はなく、CPU  1はエンコーダPGの
回転信号pcが入力される毎に、ピッチ誤差補正処理を
行なえばよい。また、エンコーダPGの回転信号PCの
代ゎシにエンコーダPGの出力する位置検出パルスPD
  fc用い、カウンタ回路6と組み合わせてピッチ誤
差補正処理を行なう工うにしてもよい。
Note that in this embodiment, the pitch error correction process is performed by combining the rotation signal PC of the encoder PG and the counter circuit 6, but if the correction interval matches the rotation signal PC of the encoder PG, , there is no need to use the counter circuit 6, and the CPU 1 only needs to perform pitch error correction processing every time the rotation signal pc of the encoder PG is input. In addition, in place of the rotation signal PC of the encoder PG, a position detection pulse PD is output from the encoder PG.
fc may be used in combination with the counter circuit 6 to perform pitch error correction processing.

以上説明したように、本発明は、あらかじめ測定され九
送pネジのピッチ誤差データを直線近似して、その直線
の折曲点の位置と該位置における誤差量と移動体の全移
動ストローク長とを数値制御装置に入力するものである
から、ピッチ誤差データのすべてを入力する必要がなく
、入力操作を少なく抑えることができ、入力ミスが生じ
にくいと共に、誤差量(測定値)をそのまま入力できる
から、従来の工うに誤差量から補正量を求める際の演算
ミスが生じることがなく、誤差データ入力時の作業を極
めて容易に行なうことができる。また、上記位置データ
と位置データにおける誤差量と移動体の全移動ストロー
ク長とに応じて、記憶装置の大きさ[jつで補正点の設
定及びその補正点における補正量を算出し、己憶する二
うにするものであるから、記憶装置内の補正量のために
用意さtz友記憶領域を最大にかつ有効に利用できる。
As explained above, the present invention linearly approximates the pitch error data of a nine-feed P screw measured in advance, and calculates the position of the bending point of the straight line, the amount of error at the position, and the total movement stroke length of the moving body. Since it is input into the numerical control device, there is no need to input all pitch error data, the number of input operations can be kept to a minimum, input errors are less likely to occur, and the amount of error (measured value) can be input as is. Therefore, calculation errors do not occur when calculating the correction amount from the error amount as in the conventional method, and the work when inputting error data can be performed extremely easily. In addition, according to the above position data, the amount of error in the position data, and the total movement stroke length of the moving body, the size of the storage device [j is used to set a correction point, calculate the correction amount at that correction point, and store it in the self-memory. Therefore, it is possible to maximize and effectively utilize the storage area prepared for the correction amount in the storage device.

従って、補正点を可能な限り多く設定できるので、従来
のように補正点が少ないために、補正点において軸止さ
れる補正量か大きくなって精度が低下していたのに比べ
て、大幅に軸止積度を向上させることができるという嗣
れた効果を有する・
Therefore, since it is possible to set as many correction points as possible, compared to the conventional method where there are fewer correction points, the amount of correction that is fixed at the correction point increases and the accuracy decreases significantly. It has the inherited effect of being able to improve the shaft loading capacity.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明にかかわる送りネジピッチ誤差補正方法
な実施する装置の一例を示す概略構成図、第2図は送り
ネジのピッチ誤差を示す特性図であり、ヒ)はピッチ誤
差曲線、(ロ)は(イ)を直線近似した状態をそれぞれ
表わし、第3図は補正間隔の算出処理を説明する流れ図
、第4(2)は補正量の設定処理を説明する流れ図、第
5図は補止ル・テーブルの内容を示す謄明図である。 2・・・・・・数値firsJra装置、訃・・・・・
記憶装置、12・・・・・・テーブル(移動体)、14
・・・・・・送りネジ、PG・・・・・・エンコーダ%
 l”14・・・・・・サーボモータ、CP・・・・・
・補正量。
Fig. 1 is a schematic configuration diagram showing an example of an apparatus for implementing the feed screw pitch error correction method according to the present invention, and Fig. 2 is a characteristic diagram showing the pitch error of the feed screw. ) respectively represent states obtained by linear approximation of (a), Figure 3 is a flowchart explaining the process of calculating the correction interval, Figure 4 (2) is a flowchart explaining the process of setting the correction amount, and Figure 5 is a flowchart explaining the process of setting the correction amount. FIG. 2 is a diagram showing the contents of a file table. 2...Numeric firsJra device, death...
Storage device, 12... Table (mobile object), 14
...Feed screw, PG...Encoder%
l”14... Servo motor, CP...
·Correction amount.

Claims (1)

【特許請求の範囲】[Claims] 工作機械本体のテーブル等の移動体の移動及び停止を制
御する数値制御装置と、該数値制御装置からの指令信号
により上記移動体を送りネジを介して移動させるサーボ
モータとを備えた数値制御工作機械における送りネジピ
ッチ誤差補正方法において、あらかじめ測定された上記
送りネジのピッチ誤差データを直線近似して、その直線
の折曲点の位置と該位置における誤差量と全移動ストロ
ーク長とを上記数値制御装置に入力し、上記位置と誤差
量と全移動ストローク長に応じて、上記各位置間毎の補
正点を設定し、かつ該補正点における補正量を算出して
上記数値制御装置内の記憶装置に記憶しておいた後に、
上記移動体が上記補正点に達する毎に該補正点における
補正量を上記指令信号に加算して上記サーボモータの制
御を行なうことを特徴とする数値制御工作機械における
送りネジピッチ誤差補正方法。
A numerically controlled machine comprising a numerical control device that controls the movement and stopping of a movable body such as a table of a machine tool body, and a servo motor that moves the movable body via a feed screw in response to a command signal from the numerical control device. In the feed screw pitch error correction method in a machine, the previously measured pitch error data of the feed screw is linearly approximated, and the position of the bending point of the straight line, the amount of error at the position, and the total movement stroke length are numerically controlled as described above. input into the device, set correction points for each of the above positions according to the above position, error amount, and total movement stroke length, calculate the correction amount at the correction point, and store it in the storage device in the numerical control device. After memorizing the
A method for correcting a feed screw pitch error in a numerically controlled machine tool, characterized in that each time the movable body reaches the correction point, the correction amount at the correction point is added to the command signal to control the servo motor.
JP13957484A 1984-07-05 1984-07-05 Compensating method of feed screw pitch error in numerically controlled machine tool Pending JPS6119540A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP13957484A JPS6119540A (en) 1984-07-05 1984-07-05 Compensating method of feed screw pitch error in numerically controlled machine tool

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP13957484A JPS6119540A (en) 1984-07-05 1984-07-05 Compensating method of feed screw pitch error in numerically controlled machine tool

Publications (1)

Publication Number Publication Date
JPS6119540A true JPS6119540A (en) 1986-01-28

Family

ID=15248431

Family Applications (1)

Application Number Title Priority Date Filing Date
JP13957484A Pending JPS6119540A (en) 1984-07-05 1984-07-05 Compensating method of feed screw pitch error in numerically controlled machine tool

Country Status (1)

Country Link
JP (1) JPS6119540A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0293914A (en) * 1988-09-30 1990-04-04 Harmonic Drive Syst Ind Co Ltd Method and device for accurate positioning
US5444640A (en) * 1993-01-13 1995-08-22 Mitsubishi Denki Kabushiki Kaisha Numerical control method for controlling various kinds of machine tools by correcting for thermal displacement
CN105171521A (en) * 2015-10-13 2015-12-23 北京卫星制造厂 High-precision shaft part machining method based on multiple times of detection and compensation

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58114840A (en) * 1981-12-28 1983-07-08 Toshiba Mach Co Ltd Correcting system of pitch error in machine tool

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58114840A (en) * 1981-12-28 1983-07-08 Toshiba Mach Co Ltd Correcting system of pitch error in machine tool

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0293914A (en) * 1988-09-30 1990-04-04 Harmonic Drive Syst Ind Co Ltd Method and device for accurate positioning
US5444640A (en) * 1993-01-13 1995-08-22 Mitsubishi Denki Kabushiki Kaisha Numerical control method for controlling various kinds of machine tools by correcting for thermal displacement
CN105171521A (en) * 2015-10-13 2015-12-23 北京卫星制造厂 High-precision shaft part machining method based on multiple times of detection and compensation

Similar Documents

Publication Publication Date Title
EP1341311B1 (en) Signal processing apparatus for encoder
CN109483322B (en) Zero calibration method of five-axis numerical control machine tool
JPH03260708A (en) Position error correcting method
GB1369263A (en) Apparatus for interpolating data
US4130788A (en) Numerical control servo system
JPS6119540A (en) Compensating method of feed screw pitch error in numerically controlled machine tool
JPS6383807A (en) Compensating system for angle of lead in position control
US4493032A (en) Method and apparatus for positioning using circular interpolation
JPS616705A (en) Method for correcting pitch error of feed screw in numerically controlled machine tool
JP2012192498A (en) Robot control device and calibration method
JPH03290705A (en) Numerical controller
JPS6110715A (en) Absolute-position detecting system
JPS59180605A (en) Device for converting working data of robot
JPS5829528B2 (en) Digital Bibun Kaiseki Kyousouchi
JP3107175B2 (en) NC machine tool displacement correction device
JPS59220806A (en) Controlling method of industrial robot
JPH01147608A (en) Correction system for positioning error
JP3111672B2 (en) NC machine tool displacement correction device
JP2703096B2 (en) Teaching method of robot system with conveyor
JPS6329282B2 (en)
JPS59157509A (en) Measuring device of pitch error
JP3672804B2 (en) Turntable rotation angle indexing device
JPH0220620A (en) Numerical control apparatus for bending machine
JPS6147653B2 (en)
JPH0432906A (en) Pitch error correcting method of multi-axial numerically controlled machine