JPH04307603A - Pitch error correcting method - Google Patents

Pitch error correcting method

Info

Publication number
JPH04307603A
JPH04307603A JP9964491A JP9964491A JPH04307603A JP H04307603 A JPH04307603 A JP H04307603A JP 9964491 A JP9964491 A JP 9964491A JP 9964491 A JP9964491 A JP 9964491A JP H04307603 A JPH04307603 A JP H04307603A
Authority
JP
Japan
Prior art keywords
pitch error
error correction
driven object
correction
servo motor
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
JP9964491A
Other languages
Japanese (ja)
Inventor
Takao Sasaki
隆夫 佐々木
Toshiaki Otsuki
俊明 大槻
Seiji Ishii
清次 石井
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.)
Fanuc Corp
Original Assignee
Fanuc 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 Fanuc Corp filed Critical Fanuc Corp
Priority to JP9964491A priority Critical patent/JPH04307603A/en
Publication of JPH04307603A publication Critical patent/JPH04307603A/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
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/35Nc in input of data, input till input file format
    • G05B2219/35354Polar coordinates, turntable
    • 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/49Nc machine tool, till multiple
    • G05B2219/49197Gear

Abstract

PURPOSE:To accurately correct the pitch error that is produced when the position of a driven object is controlled via a speed changing mechanism by eliminating the accumulation of rounding errors at the correcting point of the pitch error. CONSTITUTION:The quotient of the integer value obtained by dividing the pulse number corresponding to the reference shift value and a corrected distance D measured at the side of a rotary table 1 by a speed changing ratio N and the fraction remainder are defined as the reference positions of the table 1 respectively. Thus the correction data on a pitch error are set by a parameter at the side of a numerical controller 4. As a result, the pitch error can be corrected with high accuracy with a servo motor 3 when the position of the table 1 is controlled via a reduction gear 2.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は被駆動物の機械位置に生
じるピッチ誤差を補正するピッチ誤差補正方法に関し、
特に被駆動物側に設定された基準移動量との間で減速ギ
ヤのギヤ比が半端な値を採ったときも正確にピッチ誤差
補正ができるピッチ誤差補正方法に関する。
[Field of Industrial Application] The present invention relates to a pitch error correction method for correcting pitch errors occurring in the mechanical position of a driven object.
In particular, the present invention relates to a pitch error correction method that can accurately correct the pitch error even when the gear ratio of the reduction gear takes an odd value with respect to the reference movement amount set on the driven object side.

【0002】0002

【従来の技術】従来、数値制御装置(CNC)により工
具、ワークテーブルなどの運動制御を行ってプログラム
された形状の加工を工作機械に実行させる場合、サーボ
モータの回転力は何らかの変速機構を介して被駆動物に
伝達される。ところで、工作機械のうち、ホブ盤のよう
な高精度な加工を必要とするものの制御に際しては、従
来からピッチ誤差補正が行われている。
[Prior Art] Conventionally, when a numerical control unit (CNC) controls the motion of tools, work tables, etc. and causes a machine tool to perform machining of a programmed shape, the rotational force of a servo motor is transmitted through some kind of speed change mechanism. is transmitted to the driven object. By the way, pitch error correction has conventionally been performed when controlling machine tools that require highly accurate machining, such as hobbing machines.

【0003】数値制御装置に接続されたホブ盤でピッチ
誤差を補正する場合には、ホブ盤の各回転軸に対して1
回転当たりの移動量に対応するパルス数、及び補正点の
数又は補正間隔が設定される。今、例えば、ホブ盤の回
転軸に1回転当たり360000パルスの検出精度で補
正値データが設定され、この回転軸を駆動するサーボモ
ータ側では、その1回転当たり6点でピッチ誤差補正が
行われるものとする。そして、サーボモータと回転軸と
の間の減速比が20:1であれば、サーボモータ側では
、補正点を360000÷20÷6=3000パルス毎
に設定すれば良い。したがって、オペレータが予めこれ
ら各機械位置に応じた指令値の測定値からのピッチ誤差
を数値制御装置に設定し、その設定された値とサーボモ
ータのフィードバックパルスに基づいて、プログラム実
行時に自動的にピッチ誤差補正がなされる。
[0003] When correcting pitch errors in a hobbing machine connected to a numerical control device, one
The number of pulses corresponding to the amount of movement per rotation and the number of correction points or correction intervals are set. Now, for example, correction value data is set on the rotating shaft of a hobbing machine with a detection accuracy of 360,000 pulses per rotation, and the pitch error correction is performed at 6 points per rotation on the servo motor side that drives this rotating shaft. shall be taken as a thing. If the reduction ratio between the servo motor and the rotating shaft is 20:1, the correction point may be set every 360000/20/6=3000 pulses on the servo motor side. Therefore, the operator sets the pitch error from the measured value of the command value corresponding to each machine position in advance in the numerical control device, and then automatically adjusts the pitch error when the program is executed based on the set value and the feedback pulse of the servo motor. Pitch error correction is performed.

【0004】0004

【発明が解決しようとする課題】しかし、上記減速比は
サーボモータの駆動力を回転軸に伝達する変速機構に応
じて変更されるため、工作機械の種類によっては数値制
御装置側でサーボモータに設定した検出精度との関係で
、半端な減速比が使用される場合もある。ここで半端な
減速比とは、サーボモータ側で設定されるべき補正点を
指定するためのパルス数が整数値にならないような、例
えば35:1のような値で設定された場合である。この
場合、サーボモータ側では補正点が単位パルス数の計数
によって正確に割り出されても、実際の回転軸の位置は
整数値では決定されないから、正確な補正位置を求める
ことができない。そして、この補正位置についての誤差
は、原点復帰しないと解消されず、サーボモータの回転
によって累積することになる。
[Problem to be Solved by the Invention] However, since the above-mentioned reduction ratio is changed depending on the transmission mechanism that transmits the driving force of the servo motor to the rotating shaft, depending on the type of machine tool, the numerical control device side Depending on the set detection accuracy, an odd reduction ratio may be used. Here, an odd reduction ratio is a case where the number of pulses for designating the correction point to be set on the servo motor side is set to a value that is not an integer value, such as 35:1. In this case, even if the correction point is accurately determined by counting the number of unit pulses on the servo motor side, the actual position of the rotating shaft is not determined by an integer value, so the correct correction position cannot be determined. The error regarding this corrected position will not be eliminated unless it returns to the origin, and will accumulate as the servo motor rotates.

【0005】本発明はこのような点に鑑みてなされたも
のであり、変速機構を介して被駆動物の位置を制御する
際に発生するピッチ誤差を、その補正点における丸め誤
差の累積をなくして精度良く補正できるピッチ誤差補正
方法を提供することを目的とする。
The present invention has been made in view of these points, and it is an object of the present invention to correct pitch errors that occur when controlling the position of a driven object through a transmission mechanism by eliminating the accumulation of rounding errors at correction points. It is an object of the present invention to provide a pitch error correction method that allows accurate correction.

【0006】[0006]

【課題を解決するための手段】本発明では上記課題を解
決するために、予め設定された誤差補正データに基づい
て駆動手段に補正指令パルスを与えて、変速機構を介し
て数値制御される被駆動物の位置に生じるピッチ誤差を
補正するピッチ誤差補正方法において、前記被駆動物側
に設定された基準位置と前記駆動手段側に設定された補
正間隔にそれぞれ対応するパルス数に基づいて前記誤差
補正データを設定するにあたって、前記変速機構の変速
比N及び前記補正間隔をN倍した値を記憶し、前記駆動
手段に移動指令を与えて前記被駆動物を数値制御する際
に、前記移動指令に対応するパルス数を前記変速比Nで
除算し、前記基準位置を前記変速比Nで除算し、これら
の商の整数部及び分数部をそれぞれ比較して前記基準位
置に対する前記被駆動物の現在位置までの相対距離を決
定し、前記補正間隔を前記変速比Nで除算し、その商の
整数部及び分数部をそれぞれ前記相対距離についての整
数部及び分数部と比較して前記被駆動物の補正点を決定
し、前記補正間隔毎に設定されている前記誤差補正デー
タを出力するようにしたことを特徴とするピッチ誤差補
正方法が、提供される。
[Means for Solving the Problems] In order to solve the above-mentioned problems, the present invention provides a correction command pulse to the drive means based on preset error correction data, so that the target is numerically controlled via the transmission mechanism. In a pitch error correction method for correcting a pitch error occurring in the position of a driven object, the error is calculated based on the number of pulses corresponding to a reference position set on the driven object side and a correction interval set on the driving means side. In setting the correction data, the speed ratio N of the transmission mechanism and the value obtained by multiplying the correction interval by N are stored, and when giving a movement command to the drive means to numerically control the driven object, the movement command is divide the number of pulses corresponding to the gear ratio N, divide the reference position by the gear ratio N, and compare the integer and fractional parts of these quotients to determine the current state of the driven object relative to the reference position. Determine the relative distance to the driven object, divide the correction interval by the gear ratio N, and compare the integer and fractional parts of the quotient with the integer and fractional parts of the relative distance, respectively. A pitch error correction method is provided, characterized in that a correction point is determined and the error correction data set for each correction interval is output.

【0007】[0007]

【作用】本発明のピッチ誤差補正方法では、被駆動物側
の基準移動量L及び補正間隔Dに対応するパルス数を変
速比Nで除算した整数値の商及び分数の剰余を被駆動物
の基準位置にして、ピッチ誤差の補正データがパラメー
タ設定されることになる。整数部の商と分数部の分子は
数値制御装置の内部では整数値として処理でき、ピッチ
誤差補正パルスを出力する補正点Mも同様に整数値の商
Miと分子Mfで処理され、補正点の座標値が決定され
る。
[Operation] In the pitch error correction method of the present invention, the quotient of the integer value and the fractional remainder obtained by dividing the number of pulses corresponding to the reference movement amount L and the correction interval D on the driven object side by the gear ratio N are calculated on the driven object side. The pitch error correction data is set as a parameter using the reference position. The quotient of the integer part and the numerator of the fractional part can be processed as integer values inside the numerical control device, and the correction point M that outputs the pitch error correction pulse is similarly processed with the quotient Mi of the integer value and the numerator Mf, and the correction point M Coordinate values are determined.

【0008】[0008]

【実施例】以下、本発明の一実施例を図面に基づいて説
明する。図1にはロータリテーブル1と、その駆動手段
であるサーボモータ3を減速ギヤ2を介して接続した状
態を示している。サーボモータ3はその回転角度に応じ
た帰還パルスPを数値制御装置4側に出力しており、数
値制御装置4からはロータリテーブル1に対する位置指
令が与えられている。ロータリテーブル1は1回転当た
り帰還パルスPの360000パルスに相当する精度で
、サーボモータ3によって数値制御されるものとし、減
速ギヤ2によって生じるピッチ誤差の大きさは、予め測
定してあるものとする。ここで、数値制御装置4にパラ
メータ設定された誤差補正データによって、減速ギヤ2
を介して数値制御されるロータリテーブル1についてピ
ッチ誤差を補正する方法を説明する。上記減速ギヤ2の
減速比Nは35に設定され、サーボモータ3が1回転す
るとき、等間隔に6点(60°)でピッチ誤差補正を行
う場合を考える。
DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 shows a state in which a rotary table 1 and a servo motor 3 serving as its driving means are connected via a reduction gear 2. As shown in FIG. The servo motor 3 outputs a feedback pulse P corresponding to its rotation angle to the numerical control device 4, and the numerical control device 4 gives a position command to the rotary table 1. The rotary table 1 shall be numerically controlled by a servo motor 3 with an accuracy equivalent to 360,000 feedback pulses P per rotation, and the magnitude of the pitch error caused by the reduction gear 2 shall be measured in advance. . Here, the reduction gear 2 is adjusted according to the error correction data set as parameters in the numerical control device 4.
A method of correcting pitch errors for the rotary table 1 that is numerically controlled via the following will be described. Let us consider a case where the reduction ratio N of the reduction gear 2 is set to 35, and when the servo motor 3 rotates once, pitch error correction is performed at six equally spaced points (60°).

【0009】まず、数値制御装置4に減速比Nとして3
5、ロータリテーブル1の1回転当たりの移動量に相当
するパルス数Laとして360000、ピッチ誤差の補
正間隔のN倍に相当するパルス数Daとして(La÷3
5÷6)×35=60000をパラメータ設定する。D
aは、サーボモータ3に設定された補正間隔を減速比N
倍しているため、ロータリテーブル1側の1回転の量を
基準にして設定された大きさとなって、減速比Nがどの
ような半端な値で選択されても必ず整数値として設定で
きる。
First, the numerical control device 4 is set to 3 as the reduction ratio N.
5. The number of pulses La corresponding to the amount of movement per one rotation of the rotary table 1 is 360,000, and the number of pulses Da corresponding to N times the pitch error correction interval is (La ÷ 3
5÷6)×35=60000 is set as a parameter. D
a is the correction interval set for the servo motor 3 with the reduction ratio N
Since it is multiplied, the magnitude is set based on the amount of one rotation on the rotary table 1 side, and no matter how odd the reduction ratio N is selected, it can always be set as an integer value.

【0010】数値制御装置4内では、これらの値La,
Daから、サーボモータ3の1回転当たりのパルス数に
換算されたLa/N,Da/Nを決定するが、一般にこ
れらのパルス数は整数値にならない。そこで、数値制御
装置4の内部ではこれらの値を次の式により、それぞれ
2組の整数値の対(Li,Lf),(Di,Df)とし
て、パラメータ設定される。
In the numerical control device 4, these values La,
From Da, La/N and Da/N, which are converted into the number of pulses per revolution of the servo motor 3, are determined, but generally these pulse numbers do not become integer values. Therefore, inside the numerical control device 4, these values are set as parameters as two pairs of integer values (Li, Lf) and (Di, Df), respectively, according to the following equations.

【0011】   L=La/N=Li+Lf/N         
                         
…(1)  D=Da/N=Di+Df/N     
                         
    …(2)ここでは、Li=10285,Lf=
25、Di=1714,Df=10となる。このように
整数の商Li,Diと剰余の部分に対応する分数部の分
子Lf,Dfに分割しているので、Lf,Dfは0から
N−1の範囲の整数に決定される。実際にサーボモータ
3を回転させて、その帰還パルスPからロータリテーブ
ル1の位置データを決定する時も、同様に数値制御装置
4の内部ではPを減速比Nで割って整数値の対(Pi,
Pf)で処理する。即ち、実際の回転量をLi=102
85,Lf=25で丸めて、ロータリテーブル1の現在
位置座標(Mi,Mf)を更新している。サーボモータ
3にピッチ誤差補正量を与えるべき位置(Pi,Pf)
は、同様に数値制御装置4内で次の式から決定される。
[0011] L=La/N=Li+Lf/N

...(1) D=Da/N=Di+Df/N

...(2) Here, Li=10285, Lf=
25, Di=1714, and Df=10. Since the fractional part molecules Lf and Df correspond to the integer quotients Li and Di and the remainder part in this way, Lf and Df are determined to be integers in the range of 0 to N-1. When the servo motor 3 is actually rotated and the position data of the rotary table 1 is determined from the feedback pulse P, the numerical control device 4 similarly divides P by the reduction ratio N and calculates the pair of integer values (Pi ,
Pf). That is, the actual amount of rotation is Li=102
85, Lf=25, and the current position coordinates (Mi, Mf) of the rotary table 1 are updated. Position where pitch error correction amount should be given to servo motor 3 (Pi, Pf)
is similarly determined within the numerical control device 4 from the following equation.

【0012】   P(j)=Pi(j)+Pf(j)/N     
                     …(3)
ここで、jは1〜6であり、現在位置座標(Mi,Mf
)がこれら6組の〔Pi(j),Pf(j)〕のいずれ
かと一致した場合に、対応するj番目の誤差補正データ
に基づくパルスが指令パルスに加算されてサーボモータ
3に出力される。
P(j)=Pi(j)+Pf(j)/N
...(3)
Here, j is 1 to 6, and the current position coordinates (Mi, Mf
) matches any of these six sets [Pi(j), Pf(j)], a pulse based on the corresponding j-th error correction data is added to the command pulse and output to the servo motor 3. .

【0013】図2は数値制御装置4におけるロータリテ
ーブル1の原点復帰終了時の処理を示すフローチャート
である。図3はパラメータ設定時の処理を示すフローチ
ャート、図4は出力パルスの計算後の処理を示すフロー
チャートである。図においてSに続く数値はステップ番
号である。原点復帰指令が検出されると、原点復帰の終
了が監視され(ステップ11)、終了した時点で内部レ
ジスタなどに保持されていたピッチ誤差補正用の座標値
がクリアされる(ステップ12)。原点復帰によって、
現在位置座標(Mi,Mf)が(0,0)にクリアされ
、数値制御装置4内部の状態とロータリテーブル1との
対応が確定される。
FIG. 2 is a flowchart showing the process performed by the numerical control device 4 when the return of the rotary table 1 to the origin is completed. FIG. 3 is a flowchart showing processing when setting parameters, and FIG. 4 is a flowchart showing processing after output pulse calculation. In the figure, the number following S is the step number. When the origin return command is detected, the completion of the origin return is monitored (step 11), and at the time of completion, the coordinate values for pitch error correction held in an internal register or the like are cleared (step 12). By returning to origin,
The current position coordinates (Mi, Mf) are cleared to (0, 0), and the correspondence between the internal state of the numerical control device 4 and the rotary table 1 is determined.

【0014】その後、ピッチ誤差補正パルスを出力する
べき位置をパラメータ設定する(図3)。即ち、減速ギ
ヤ2の減速比N、ロータリテーブル1の基準位置を特定
するための1回転当たりの移動量La、及びN倍した補
正間隔Daのデータを読み込む(ステップ21)。数値
制御装置4内部では、先の(1)式と(2)式に基づい
て移動量L及び補正間隔Dが、整数部とNを分母とする
分子部とに分けて整数値の対(Li,Lf),(Di,
Df)として特定され、更に先の(3)式に基づいてn
分割された補正点の座標〔Pi(j),Pf(j)〕(
j=1〜n)が決定される(ステップ22)。これら内
部データは、誤差補正テーブルのパラメータの設定に際
して使用される(ステップ23)。
Thereafter, parameters are set for the position at which the pitch error correction pulse should be output (FIG. 3). That is, the data of the reduction ratio N of the reduction gear 2, the movement amount La per rotation for specifying the reference position of the rotary table 1, and the correction interval Da multiplied by N are read (step 21). Inside the numerical control device 4, the movement amount L and the correction interval D are divided into an integer part and a numerator part with N as the denominator, based on the above equations (1) and (2), and are divided into a pair of integer values (Li , Lf), (Di,
Df), and based on equation (3) above, n
Coordinates of the divided correction points [Pi (j), Pf (j)] (
j=1 to n) is determined (step 22). These internal data are used when setting the parameters of the error correction table (step 23).

【0015】ここで添字i,fにより、移動量L及び補
正間隔Dを変速比Nで割った商の整数部、分数部を区別
している。したがって減速比Nが半端な値であっても、
必ず整数値の対としてパルス数を特定するデータとなっ
て、ピッチ誤差補正パルスが出力される位置についての
誤差は、サーボモータ3の回転角につきその1パルス以
内に抑えられる。このため、数値制御装置4で実行され
る加工プログラムに対する補正パルスを出力すべき座標
値を正確に特定することができる。
Here, the subscripts i and f distinguish between the integer part and the fractional part of the quotient obtained by dividing the movement amount L and the correction interval D by the gear ratio N. Therefore, even if the reduction ratio N is an odd value,
The data always specifies the number of pulses as a pair of integer values, and the error in the position where the pitch error correction pulse is output can be suppressed to within one pulse per rotation angle of the servo motor 3. Therefore, it is possible to accurately specify the coordinate values at which the correction pulses for the machining program executed by the numerical control device 4 should be output.

【0016】他方、サーボモータ3に対して実際にピッ
チ誤差補正データを渡すためには、その出力パルスPに
ついても同様の内部表現されたデータに変換する必要が
ある。そこでサーボモータ3に指令を与えて、ロータリ
テーブル1を数値制御する際に、サーボモータ3からの
帰還パルスを先の変速比Nで同様に除算し、駆動量に対
応する整数値の対(Pi,Pf)を計算する(ステップ
31)。次にこの駆動量をサーボモータ3の1回転に対
応する移動量、即ち整数値の対(Li,Lf)で丸め、
誤差補正テーブルに設定された基準位置に対する相対距
離Mを決定する(ステップ32)。この相対距離Mの値
は同様に減速比Nで割った商の整数部、分数部の数値で
内部的に表現され、サーボモータの1回転毎にL/Nで
丸められた値となる。したがって減速比Nが半端な値で
あるときも、その丸め誤差は1回転毎に打ち消されるか
ら、ピッチ誤差補正用の座標値(Mi,Mf)として表
現された現在位置までの回転角度の誤差は、サーボモー
タが何回転しても累積されない。
On the other hand, in order to actually pass the pitch error correction data to the servo motor 3, it is necessary to convert the output pulse P into similar internally expressed data. Therefore, when giving a command to the servo motor 3 to numerically control the rotary table 1, the feedback pulse from the servo motor 3 is similarly divided by the gear ratio N, and a pair of integer values (Pi , Pf) (step 31). Next, this drive amount is rounded by the amount of movement corresponding to one rotation of the servo motor 3, that is, a pair of integer values (Li, Lf),
A relative distance M with respect to the reference position set in the error correction table is determined (step 32). The value of this relative distance M is similarly expressed internally by the integral and fractional parts of the quotient divided by the reduction ratio N, and is a value rounded by L/N for each revolution of the servo motor. Therefore, even when the reduction ratio N is an odd value, the rounding error is canceled out every rotation, so the error in the rotation angle to the current position expressed as the coordinate values (Mi, Mf) for pitch error correction is No matter how many times the servo motor rotates, it does not accumulate.

【0017】次に、ピッチ誤差補正パルスを出力するタ
イミングを判断するために、ステップ33でピッチ誤差
補正用の座標値(Mi,Mf)とn分割された補正点の
座標〔Pi(j),Pf(j)〕とを比較する(ステッ
プ33)。いずれかの補正点と一致したとき、j番目(
j=1〜n)の補正パルスを出力するタイミングとされ
る。すなわち、j番目のピッチ誤差補正データによって
、サーボモータ3にピッチ誤差補正パルスを出力する(
ステップ34)。
Next, in order to determine the timing to output the pitch error correction pulse, in step 33, the pitch error correction coordinate values (Mi, Mf) and the coordinates of the correction point divided into n [Pi(j), Pf(j)] (step 33). When it matches any correction point, the jth (
This is the timing for outputting the correction pulses of j=1 to n). That is, a pitch error correction pulse is output to the servo motor 3 based on the j-th pitch error correction data (
Step 34).

【0018】図5は本発明のピッチ誤差補正方法の実施
に用いられる数値制御装置のハードウェアのブロック図
である。数値制御装置は、コンピュータ式の数値制御装
置、即ちCNCとして構成され、マイクロプロセッサに
より構成されたCPU11と、システムプログラムを格
納したROM12と、RAM13と、加工プログラム1
4a及びギヤピッチ誤差補正のためのピッチ誤差補正用
の補正テーブル14bを格納した不揮発性メモリ14と
、表示装置としてのCRT15の表示制御を行うCRT
制御回路16と、ユーザ命令が入力されるキーボード1
7と、軸制御回路18とを含んでいる。軸制御回路18
は、CPU11より位置指令信号を与えられ、パルスコ
ーダ21よりサーボモータ3の回転位置に関する信号を
フィードバック信号として与えられ、フィードバック演
算を行ってサーボ制御指令信号をサーボアンプ19へ出
力するようになっている。サーボアンプ19は、軸制御
回路18よりのサーボ制御信号を増幅し、これに応じて
サーボモータ3を駆動する。
FIG. 5 is a block diagram of the hardware of a numerical control device used to implement the pitch error correction method of the present invention. The numerical control device is configured as a computer-type numerical control device, that is, CNC, and includes a CPU 11 configured by a microprocessor, a ROM 12 storing a system program, a RAM 13, and a machining program 1.
4a and a non-volatile memory 14 storing a pitch error correction correction table 14b for gear pitch error correction, and a CRT 15 that controls the display of a CRT 15 as a display device.
A control circuit 16 and a keyboard 1 into which user commands are input.
7 and an axis control circuit 18. Axis control circuit 18
is given a position command signal from the CPU 11, a signal regarding the rotational position of the servo motor 3 from the pulse coder 21 as a feedback signal, performs feedback calculation, and outputs a servo control command signal to the servo amplifier 19. . The servo amplifier 19 amplifies the servo control signal from the axis control circuit 18 and drives the servo motor 3 accordingly.

【0019】サーボモータ3はロータリテーブル1と減
速比Nで結合されている。即ち、サーボモータ3の出力
軸22には小傘歯車23が取付けられており、小傘歯車
23はロータリテーブル24の回転軸25に取付けられ
た大傘歯車26に噛合している。これによりサーボモー
タ3の出力軸22の回転は小傘歯車23と大傘歯車26
との噛合によって回転軸25に伝達され、これによって
ロータリテーブル1が回転軸25の中心軸線周りに回転
するようになる。数値制御装置では、不揮発性メモリ1
4に予め格納したピッチ誤差補正値データに基づいて、
ギヤピッチ誤差補正パルスがソフトウェア的に決定され
、CPU11から軸制御回路18に対して小傘歯車23
と大傘歯車26とのギヤピッチ誤差補正後の制御信号と
してサーボモータ3に位置指令信号を与えている。 尚、これらのピッチ誤差補正データは各機械の被駆動物
毎に精密計測により、事前に得られる。
The servo motor 3 is coupled to the rotary table 1 at a reduction ratio N. That is, a small bevel gear 23 is attached to the output shaft 22 of the servo motor 3, and the small bevel gear 23 meshes with a large bevel gear 26 attached to the rotating shaft 25 of the rotary table 24. As a result, the rotation of the output shaft 22 of the servo motor 3 is controlled by the small bevel gear 23 and the large bevel gear 26.
The transmission is transmitted to the rotating shaft 25 by the engagement with the rotating shaft 25, and the rotary table 1 comes to rotate around the central axis of the rotating shaft 25. In numerical control equipment, non-volatile memory 1
Based on the pitch error correction value data stored in advance in 4.
A gear pitch error correction pulse is determined by software, and the small bevel gear 23 is sent from the CPU 11 to the shaft control circuit 18.
A position command signal is given to the servo motor 3 as a control signal after gear pitch error correction between the large bevel gear 26 and the large bevel gear 26. Note that these pitch error correction data are obtained in advance by precision measurement for each driven object of each machine.

【0020】上記の説明では、ロータリテーブルを被駆
動物としたピッチ誤差補正において、ロータリテーブル
の1回転当たりの移動量に相当するパルス数に基づいて
誤差補正データを設定するようにしたが、直線的に移動
する被駆動物を含む工作機械のピッチ誤差補正に適用す
ることもできる。
In the above explanation, when pitch error correction is performed using a rotary table as a driven object, error correction data is set based on the number of pulses corresponding to the amount of movement per rotation of the rotary table. It can also be applied to pitch error correction of machine tools that include driven objects that move erratically.

【0021】[0021]

【発明の効果】以上説明したように本発明では、被駆動
物側の基準移動量L及び補正間隔Dに対応するパルス数
を変速比Nで除算した整数値の商及び分数の剰余を被駆
動物の基準位置にして、ピッチ誤差の補正データがパラ
メータ設定されるように構成した。このため、変速機構
を介して被駆動物の位置を制御する際に発生するピッチ
誤差を、その補正点における丸め誤差の累積をなくして
精度良く補正することができる。すなわち、回転力を何
らかの変速機構を介して被駆動物に伝達して、高精度な
加工を必要とする数値制御処理が円滑に実施できる。
As explained above, in the present invention, the quotient of the integer value and the fractional remainder obtained by dividing the number of pulses corresponding to the reference movement amount L and correction interval D of the driven object side by the gear ratio N are calculated as follows: The configuration is such that pitch error correction data is set as a parameter using the reference position of the object. Therefore, the pitch error that occurs when controlling the position of the driven object via the transmission mechanism can be corrected with high accuracy by eliminating the accumulation of rounding errors at the correction point. That is, numerical control processing that requires highly accurate machining can be smoothly performed by transmitting the rotational force to the driven object via some kind of transmission mechanism.

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

【図1】本発明方法の一例を説明するためのロータリテ
ーブルと、その駆動手段であるサーボモータ等を示すブ
ロック図である。
FIG. 1 is a block diagram showing a rotary table, a servo motor, etc. as its driving means for explaining an example of the method of the present invention.

【図2】原点復帰終了時の処理を示すフローチャートで
ある。
FIG. 2 is a flowchart showing processing at the end of return to origin.

【図3】パラメータ設定時の処理を示すフローチャート
である。
FIG. 3 is a flowchart showing processing when setting parameters.

【図4】出力パルスの計算後の処理を示すフローチャー
トである。
FIG. 4 is a flowchart showing processing after calculation of output pulses.

【図5】数値制御装置のハードウェアを示すブロック図
である。
FIG. 5 is a block diagram showing the hardware of the numerical control device.

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

1  ロータリテーブル 2  減速ギヤ 3  サーボモータ 4  数値制御装置 1 Rotary table 2 Reduction gear 3 Servo motor 4 Numerical control device

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】  予め設定された誤差補正データに基づ
いて駆動手段に補正指令パルスを与えて、変速機構を介
して数値制御される被駆動物の位置に生じるピッチ誤差
を補正するピッチ誤差補正方法において、前記被駆動物
側に設定された基準位置と前記駆動手段側に設定された
補正間隔にそれぞれ対応するパルス数に基づいて前記誤
差補正データを設定するにあたって、前記変速機構の変
速比N及び前記補正間隔をN倍した値を記憶し、前記駆
動手段に移動指令を与えて前記被駆動物を数値制御する
際に、前記移動指令に対応するパルス数を前記変速比N
で除算し、前記基準位置を前記変速比Nで除算し、これ
らの商の整数部及び分数部をそれぞれ比較して前記基準
位置に対する前記被駆動物の現在位置までの相対距離を
決定し、前記補正間隔を前記変速比Nで除算し、その商
の整数部及び分数部をそれぞれ前記相対距離についての
整数部及び分数部と比較して前記被駆動物の補正点を決
定し、前記補正間隔毎に設定されている前記誤差補正デ
ータを出力するようにしたことを特徴とするピッチ誤差
補正方法。
1. A pitch error correction method that corrects a pitch error that occurs in the position of a driven object that is numerically controlled via a transmission mechanism by giving a correction command pulse to a driving means based on preset error correction data. In setting the error correction data based on the number of pulses corresponding to the reference position set on the driven object side and the correction interval set on the driving means side, the gear ratio N and the gear ratio N of the transmission mechanism are set. A value obtained by multiplying the correction interval by N is stored, and when giving a movement command to the driving means to numerically control the driven object, the number of pulses corresponding to the movement command is set as the speed ratio N.
divide the reference position by the gear ratio N, and compare the integer and fractional parts of these quotients to determine the relative distance from the reference position to the current position of the driven object, and Divide the correction interval by the speed ratio N, compare the integer part and fractional part of the quotient with the integer part and fractional part of the relative distance, respectively, to determine the correction point of the driven object, and calculate the correction point for each correction interval. A pitch error correction method characterized in that the error correction data set to .
【請求項2】  前記被駆動物は、減速機構を介してサ
ーボモータに接続されたロータリテーブルであって、前
記ロータリテーブルの1回転当たりの移動量に相当する
パルス数に基づいて誤差補正データを設定することを特
徴とする請求項1記載のピッチ誤差補正方法。
2. The driven object is a rotary table connected to a servo motor via a speed reduction mechanism, and the driven object is configured to generate error correction data based on the number of pulses corresponding to the amount of movement per rotation of the rotary table. 2. The pitch error correction method according to claim 1, further comprising: setting a pitch error correction method.
JP9964491A 1991-04-04 1991-04-04 Pitch error correcting method Pending JPH04307603A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9964491A JPH04307603A (en) 1991-04-04 1991-04-04 Pitch error correcting method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9964491A JPH04307603A (en) 1991-04-04 1991-04-04 Pitch error correcting method

Publications (1)

Publication Number Publication Date
JPH04307603A true JPH04307603A (en) 1992-10-29

Family

ID=14252766

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9964491A Pending JPH04307603A (en) 1991-04-04 1991-04-04 Pitch error correcting method

Country Status (1)

Country Link
JP (1) JPH04307603A (en)

Similar Documents

Publication Publication Date Title
US4884373A (en) Numerically controlled machine tool
US4873793A (en) Numerically controlled machine tool
WO1998043139A1 (en) Shift command correction method and servo control system in which shift command is corrected
JPH0569275A (en) Numerical control device
EP0383328A2 (en) Positioning controlling device
JPH03271813A (en) Nc device
EP0510204A1 (en) Method of evaluating operating accuracy in numerically controlled machine
EP0474882A1 (en) Numeric controller
US20070185609A1 (en) Numerical control method
JP4014719B2 (en) NC machine tool control apparatus and positioning control method
EP0593760B1 (en) Gear pitch error correction system of numerical controller
JP2907164B2 (en) Numerical control unit
JPH04307603A (en) Pitch error correcting method
JPH04323705A (en) Synchronous repeat control system for rotation axis
JPH0772913A (en) Error correcting system for machine tool
JP3185462B2 (en) Synchronization accuracy analyzer
JPH06301423A (en) Control system for multiple axes
JPH074649Y2 (en) Numerical control device
EP0509099B1 (en) Pitch error correction system
JP2611123B2 (en) Numerical control cam grinder
KR960012908B1 (en) Computerized numerical control apparatus
JPH0329005A (en) Setting system for pitch error correction data on numerical controller
JPS6010306A (en) Numerical controller
KR0155777B1 (en) Pitch error compensation device and pitch error compensation data setting method using laser measuring instrument
JPH07100281B2 (en) Numerical control machine tool