JPS63221402A - Pitch error correcting method - Google Patents

Pitch error correcting method

Info

Publication number
JPS63221402A
JPS63221402A JP5733987A JP5733987A JPS63221402A JP S63221402 A JPS63221402 A JP S63221402A JP 5733987 A JP5733987 A JP 5733987A JP 5733987 A JP5733987 A JP 5733987A JP S63221402 A JPS63221402 A JP S63221402A
Authority
JP
Japan
Prior art keywords
memory
pitch error
error correction
processor memory
servo
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
JP5733987A
Other languages
Japanese (ja)
Inventor
Yasuo Muramatsu
村松 靖夫
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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP5733987A priority Critical patent/JPS63221402A/en
Publication of JPS63221402A publication Critical patent/JPS63221402A/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/41Servomotor, servo controller till figures
    • G05B2219/41036Position error in memory, lookup table for correction actual position
    • 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

Landscapes

  • Numerical Control (AREA)
  • Control Of Position Or Direction (AREA)

Abstract

PURPOSE:To correct the pitch errors by securing a ring structure for a servo processor memory to write the pitch error correction information into this memory and then extracting successively said correction information in the moving direction of a machine to rewrite the end area of the ring structure. CONSTITUTION:A positioning device consists of a main processor 1, a memory 2, a servo processor 3 and a memory (pitch correction information memory) 4. The correction information is set opposite in 1:1 to the position on the machine stroke. When the address of the memory 4 is replaced in a shift on the machine stroke for compensation of the difference of memory capacity between both memories 1 and 3, the information 9 on the memory 2 is rewritten with width 6 of the memory 4 based on the pass through a certain point 7 (or 8) and transferred to an address 10 of the memory 4. In this case, the information 9 is actually sent to a physical memory address 11 owing to a ring structure of the memory 4. Thus the rewriting timing has the hysteresis characteristics. The memory width 6 to be rewritten is selected properly so that a pitch error can be corrected with no limit of capacity of the memory 4.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明はボールネジを用いた位置決め装置のピッチ誤差
補正方法に関する。
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to a pitch error correction method for a positioning device using a ball screw.

〔従来の技術〕[Conventional technology]

従来、この種の位置決め装置では、ボールネジのピッチ
によるバラツキを予め測定し、そのデータをピッチ誤差
補正データとして機械のストローク位置に1対1に対応
させ、かつストローク位置の順にメインプロセッサメモ
リに登録してからサーボプロセッサメモリに転送し、機
械の移動に伴ない、サーボプロセッサが当該ストローク
位置に対応するピッチ誤差補正データをサーボプロセッ
サメモリから読取ってピッチ誤差補正処理を行なってい
た。
Conventionally, in this type of positioning device, the variation due to the pitch of the ball screw is measured in advance, the data is made to correspond one-to-one to the stroke position of the machine as pitch error correction data, and it is registered in the main processor memory in the order of the stroke position. Then, as the machine moves, the servo processor reads pitch error correction data corresponding to the stroke position from the servo processor memory and performs pitch error correction processing.

(発明が解決しようとする問題点〕 上述した従来のピッチ誤差補正方法は、メインプロセッ
サメモリとサーボプロセッサメモリのメモリサイズが同
一でサーボプロセッサメモリに制限がある場合、補正点
数を多く設定できず、またサブミクロン制御等において
、累積ピッチ誤差補正量が所望の値に入るようにするた
めに、補正間隔を短くしなければならず、従って、補正
点数が不足する、あるいは、メモリ容量を増加させなけ
ればならないという欠点がある。
(Problems to be Solved by the Invention) In the conventional pitch error correction method described above, if the memory sizes of the main processor memory and the servo processor memory are the same and the servo processor memory is limited, it is not possible to set a large number of correction points. Furthermore, in submicron control, etc., in order to make the cumulative pitch error correction amount fall within the desired value, the correction interval must be shortened, resulting in a shortage of correction points or the need to increase memory capacity. It has the disadvantage that it cannot be used.

〔問題点を解決するための手段〕[Means for solving problems]

本0発明のピッチ誤差補正方法は、サーボプロセッサメ
モリをリング構造とし、まず、機械の初期位置に対応し
てサーボプロセッサメモリの容量分だけメインプロセッ
サメモリからサーボプロセッサメモリにピッチ誤差補正
データを書き込み、その後は機械が所定距離移動する毎
にメインプロセッサメモリの残っているピッチ誤差補正
データを所定の大きさずつ機械の移動方向に順次、メイ
ンプロセッサメモリから取出し、サーボプロセッサメモ
リの機械の移動方向に対する論理上の領域、言いかえる
とサーボプロセッサメモリがリング構造となっているの
で物理的には、リングの末尾の領域を書き換える。
In the pitch error correction method of the present invention, the servo processor memory has a ring structure, and first, pitch error correction data is written from the main processor memory to the servo processor memory by the capacity of the servo processor memory corresponding to the initial position of the machine. After that, each time the machine moves a predetermined distance, the remaining pitch error correction data in the main processor memory is sequentially retrieved from the main processor memory in predetermined increments in the machine's moving direction, and the servo processor memory's logic for the machine's moving direction is read out. The upper area, in other words, since the servo processor memory has a ring structure, physically the area at the end of the ring is rewritten.

〔作用〕[Effect]

したがって、ピッチ誤差補正データについてメインプロ
セッサメモリとサーボプロセッサメモリ容量差をカバー
し、サーボプロセッサのピッチ誤差補正データメモリの
容量をみかけ上増加させることができる。
Therefore, it is possible to cover the difference in capacity between the main processor memory and the servo processor memory regarding the pitch error correction data, and to apparently increase the capacity of the pitch error correction data memory of the servo processor.

〔実施例〕〔Example〕

次に、本発明の実施例について図面を参照して説明する
Next, embodiments of the present invention will be described with reference to the drawings.

第1図は本発明のピッチ誤差補正方法が適用された位置
決め装置の要部のみを示す図、第2図はサーボプロセッ
サ3のピッチ誤差補正データ抽出方法を示す図、第3図
はメモリ2、メモリ4と機械ストロークの関係を示す図
、第4図、第5図は本発明のアルゴリズムの説明図、第
6図はメモリ4のピッチ誤差補正データの書換えの例を
示す図である。
FIG. 1 is a diagram showing only the main parts of a positioning device to which the pitch error correction method of the present invention is applied, FIG. 2 is a diagram showing a pitch error correction data extraction method of the servo processor 3, and FIG. 3 is a diagram showing the memory 2 4 and 5 are diagrams illustrating the relationship between the memory 4 and the mechanical stroke, FIGS. 4 and 5 are explanatory diagrams of the algorithm of the present invention, and FIG. 6 is a diagram illustrating an example of rewriting pitch error correction data in the memory 4.

この位置決め装置は、第1図に示すように、メインプロ
セッサ1、メインプロセッサlのメモリ2、サーボプロ
セッサ3、サーボプロセッサ3のメモリ(ピッチ誤差補
正データメモリ)4、およびその他の不図示の装置から
構成されている。
As shown in FIG. 1, this positioning device includes a main processor 1, a memory 2 of the main processor 1, a servo processor 3, a memory (pitch error correction data memory) 4 of the servo processor 3, and other devices not shown. It is configured.

ピッチ誤差補正データメモリ4は、第2図に示すように
論理上、破lll5のように前記データがリングしてい
る。またメモリ4のピッチ誤差補正データは、第3図に
示すように、a−A、b−B。
In the pitch error correction data memory 4, as shown in FIG. 2, the data is logically arranged in a circular pattern. Further, the pitch error correction data in the memory 4 are a-A and b-B, as shown in FIG.

c−C,d−Dのように機械ストロークLの位置と1対
1で対応している。
There is a one-to-one correspondence with the position of the mechanical stroke L, such as c-C and d-D.

第4図において全機械ストロークをカバーするメインプ
ロセッサ1のピッチ誤差補正データメモリ2とサーボプ
ロセッサ3のピッチ誤差補正データメモリ4とのメモリ
容量差を補うために:@記機械ストロークーEでの移動
に対してピッチ誤差補正データメモリ4のアドレスが更
新される時、あるポイント7(または8)を通過したと
いう条件でメモリ4をメモリ幅6で書換える。書換える
データは、第5図で、メモリ2のデータ9であり、論理
上は、メモリ4のメモリアドレス10へ転送される。し
かし、実際には第2図で示したようにサーボプロセッサ
3のピッチ誤差補正データメモリ4が論理上リングにな
っているために、物理上のメモリアドレス11に転送さ
れる。したがって、第6図の機械ストローク55上での
移動に伴なうメモリ書換えのタイミングは第6図の51
のようにヒステリシスな性質を持つことになる。つまり
、第3図で説明すればメモリ4のアドレス4のデータd
をeに書換えるタイミングは、機械ストロークトの位置
に対応していて、CからAに向ってBを通過した時に実
行されるが、Bを通過後Aに到達する前に反転して、再
度Bを通過しても、書換えは実行されないという性質を
ヒステリシスがあるという。例えば、機械ストローク[
の位置52でサーボプロセッサ3のピッチ誤差補正デー
タ格納類が左よりl)、 C,d、eとすると、子方向
に移動して位置53を通過すると、メモリ書換えが実行
さ九、メモリ4の内容はf、c、d、eとなる。次に、
一方向に移動し、位置52を通過時、メモリ4はす、 
C,d、eとなり、ざらにイ装置54を通過するとメモ
リ4はす、c、d、aとなる。また、第6図の場合、書
換えられるメモリ幅は、サーボプロセッサ3のピッチ誤
差補正データメモリ4の 174になっている。このメ
モリ幅を小さくすると書換えが頻繁になるという関係が
あるため、システム運用ト、前記書換え時間に伴うオー
バーヘッドに対して最適の前記メモリ幅を選択すること
により、サーボプロセッサ3のピッチ誤差補正データメ
モリ容量に制限されずに、ピッチ誤差補正処理が実行で
きる。
In order to compensate for the memory capacity difference between the pitch error correction data memory 2 of the main processor 1 and the pitch error correction data memory 4 of the servo processor 3, which cover the entire machine stroke in Fig. 4: @mechanical stroke - movement at E When the address of the pitch error correction data memory 4 is updated, the memory 4 is rewritten with a memory width of 6 on the condition that a certain point 7 (or 8) has been passed. The data to be rewritten is data 9 in memory 2 in FIG. 5, and is logically transferred to memory address 10 in memory 4. However, in reality, as shown in FIG. 2, the pitch error correction data memory 4 of the servo processor 3 is logically formed into a ring, so that the data is transferred to the physical memory address 11. Therefore, the timing of memory rewriting accompanying movement on the mechanical stroke 55 in FIG. 6 is 51 in FIG.
It has a hysteretic property as shown in . In other words, to explain with reference to FIG. 3, data d at address 4 of memory 4
The timing of rewriting e to e corresponds to the position of the machine stroke, and is executed when passing B from C to A, but after passing B and before reaching A, it is reversed and rewritten again. The property that rewriting is not executed even after passing through B is said to have hysteresis. For example, machine stroke [
If the pitch error correction data storage of the servo processor 3 is set to l), C, d, and e from the left at position 52, then when it moves in the child direction and passes position 53, memory rewriting is executed. The contents are f, c, d, and e. next,
When moving in one direction and passing through the position 52, the memory 4
The memory 4 becomes C, d, and e, and after passing through the A device 54, the memory 4 becomes Su, c, d, and a. In the case of FIG. 6, the rewritten memory width is 174 in the pitch error correction data memory 4 of the servo processor 3. Since there is a relationship that reducing the memory width will result in more frequent rewriting, system operation and the pitch error correction data memory of the servo processor 3 can be performed by selecting the memory width that is optimal for the overhead associated with the rewriting time. Pitch error correction processing can be performed without being limited by capacity.

(発明の効果) 以ト説明したように本発明は、サーボプロセッサメモリ
のピッチ誤差補正データについて、メインプロセッサの
ピッチ誤差補正データを機械の移動方向に所定の大きさ
づつ取出し、サーボプロセッサメモリの機械の移動方向
に対して末尾の領域に転送することにより、メインプロ
セッサとサーボプロセッサのメモリ容■差をカバーし、
サーボプロセッサのピッチ誤差補正データメモリをみか
け上増加させる効果がある。
(Effects of the Invention) As explained above, the present invention retrieves the pitch error correction data of the main processor in predetermined sizes in the moving direction of the machine with respect to the pitch error correction data of the servo processor memory, and Covers the memory capacity difference between the main processor and the servo processor by transferring it to the last area in the direction of movement.
This has the effect of apparently increasing the pitch error correction data memory of the servo processor.

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

第1図は本発明のピッチ誤差補正方法が適用された位置
決め装置の要部のみを示す図、第2図はサーボプロセッ
サ3のピッチ誤差補正データ抽出方法を示す図、第3図
はメモリ2、メモリ4と機械ストロークの関係を示す図
、第4図、第5図は本発明のアルゴリズムの説明図、第
6図はメモリ4のピッチ誤差補正データの書換えの例を
示す図である。 ■・・・ メインプロセッサ、 2・・・ メインプロセッサ lのメモリ、3・・・ 
サーボプロセッサ、 4・・・ サーボプロセッサ3のメモリ、5・・・ サ
ーボプロセッサ3のピッチ誤差補正データの論理トのリ
ング、 6・・・ 書換えメモリ幅、 7.8・−aPAえタイミング、 9、IO1+1 −・・  書換えメモリ、51  ・
・・ 占換えタイミングの状態遷移、52.53.54
  ・・・ 機械ストロークFの位置、55 −・・ 
 機械ストローク。
FIG. 1 is a diagram showing only the main parts of a positioning device to which the pitch error correction method of the present invention is applied, FIG. 2 is a diagram showing a pitch error correction data extraction method of the servo processor 3, and FIG. 3 is a diagram showing the memory 2 4 and 5 are diagrams illustrating the relationship between the memory 4 and the mechanical stroke, FIGS. 4 and 5 are explanatory diagrams of the algorithm of the present invention, and FIG. 6 is a diagram illustrating an example of rewriting pitch error correction data in the memory 4. ■... Main processor, 2... Memory of main processor l, 3...
Servo processor, 4... Memory of servo processor 3, 5... Logical ring of pitch error correction data of servo processor 3, 6... Rewriting memory width, 7.8 -aPA timing, 9. IO1+1 -... Rewrite memory, 51 ・
... State transition at handover timing, 52.53.54
... Position of machine stroke F, 55 -...
mechanical stroke.

Claims (1)

【特許請求の範囲】[Claims] モータをコントロールする1以上のサーボプロセッサと
、これらサーボプロセッサを統括するメインプロセッサ
と、サーボプロセッサ、メインプロセッサの各々に付属
したサーボプロセッサメモリ、メインプロセッサメモリ
とを有する位置決め装置において、ボールネジのピッチ
によるバラツキを予め測定し、そのデータをピッチ誤差
補正データとして機械のストローク位置に1対1に対応
させ、かつストローク位置の順にメインプロセッサメモ
リに登録してから、サーボプロセッサメモリに転送し、
機械の移動に伴ない、当該ストローク位置に対応するピ
ッチ誤差補正データをサーボプロセッサメモリから読取
ってピッチ誤差補正処理を行なうピッチ誤差補正方法に
おいて、サーボプロセッサメモリをリング構造とし、ま
ず、機械の初期位置に対応してサーボプロセッサメモリ
の容量分だけメインプロセッサメモリからサーボプロセ
ッサメモリにピッチ誤差補正データを書き込み、その後
は機械が所定距離移動する毎にメインプロセッサメモリ
の残っているピッチ誤差補正データを所定の大きさずつ
機械の移動方向に順次、メインプロセッサメモリから取
出し、サーボプロセッサメモリの機械の移動方向に対す
る論理上の領域、言いかえるとサーボプロセッサメモリ
がリング構造となっているので物理的には、リングの末
尾の領域を書き換えることを特徴とするピッチ誤差補正
方法。
In a positioning device that includes one or more servo processors that control a motor, a main processor that controls these servo processors, a servo processor memory attached to each of the servo processors and the main processor, and a main processor memory, variations due to the pitch of a ball screw can be detected. is measured in advance, the data is made to correspond one-to-one to the stroke position of the machine as pitch error correction data, and is registered in the main processor memory in the order of the stroke position, and then transferred to the servo processor memory,
In a pitch error correction method that performs pitch error correction processing by reading pitch error correction data corresponding to the relevant stroke position from a servo processor memory as the machine moves, the servo processor memory has a ring structure, and first, the initial position of the machine is Pitch error correction data is written from the main processor memory to the servo processor memory corresponding to the capacity of the servo processor memory, and thereafter, every time the machine moves a predetermined distance, the remaining pitch error correction data in the main processor memory is written to the predetermined value. The size is taken out from the main processor memory in the direction of movement of the machine, and the logical area of the servo processor memory in the direction of movement of the machine.In other words, since the servo processor memory has a ring structure, physically the ring A pitch error correction method characterized by rewriting the region at the end of the pitch error correction method.
JP5733987A 1987-03-11 1987-03-11 Pitch error correcting method Pending JPS63221402A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5733987A JPS63221402A (en) 1987-03-11 1987-03-11 Pitch error correcting method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5733987A JPS63221402A (en) 1987-03-11 1987-03-11 Pitch error correcting method

Publications (1)

Publication Number Publication Date
JPS63221402A true JPS63221402A (en) 1988-09-14

Family

ID=13052811

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5733987A Pending JPS63221402A (en) 1987-03-11 1987-03-11 Pitch error correcting method

Country Status (1)

Country Link
JP (1) JPS63221402A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1990014622A1 (en) * 1989-05-18 1990-11-29 Fanuc Ltd Method of rewriting pitch error correction data
JPH07110715A (en) * 1991-04-15 1995-04-25 Samsung Electron Co Ltd Apparatus and method for position control of robot system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1990014622A1 (en) * 1989-05-18 1990-11-29 Fanuc Ltd Method of rewriting pitch error correction data
JPH07110715A (en) * 1991-04-15 1995-04-25 Samsung Electron Co Ltd Apparatus and method for position control of robot system

Similar Documents

Publication Publication Date Title
US4617660A (en) Faulty-memory processing method and apparatus
KR970007653A (en) External storage device and its memory access control method
JPS63221402A (en) Pitch error correcting method
JPH0122649B2 (en)
JPS6319058A (en) Memory device
JP2001101087A (en) Memory and memory controlling method
US4882672A (en) System for initialization of channel controllers utilizing address pointers calculated from multiplying sizes of data fields with device numbers
JP3807012B2 (en) Storage device
US5146458A (en) Data transfer checking system
JPS6161273A (en) Control system of memory device
JP3130798B2 (en) Bus transfer device
JPH0756640B2 (en) Storage device
JP2545587B2 (en) Garbage collection method
JPS63317857A (en) Memory access circuit
JPS63156231A (en) Changing method for instruction in read-only memory
JPH04132092A (en) Program redundancy device
JPS5842487B2 (en) Program loading method
JPH0815305B2 (en) Memory data output method
JPH0520215A (en) Information processor
JPH0273420A (en) Semiconductor disk device
JPS635784B2 (en)
JPS57161947A (en) Microprogram controlled information processing device
JPH02211530A (en) Program correcting system
JPS6136641B2 (en)
JPS61256439A (en) Data processor