JPH0775372A - Method for outputting encoder signal - Google Patents

Method for outputting encoder signal

Info

Publication number
JPH0775372A
JPH0775372A JP5218549A JP21854993A JPH0775372A JP H0775372 A JPH0775372 A JP H0775372A JP 5218549 A JP5218549 A JP 5218549A JP 21854993 A JP21854993 A JP 21854993A JP H0775372 A JPH0775372 A JP H0775372A
Authority
JP
Japan
Prior art keywords
data
absolute
encoder
phase
power
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
JP5218549A
Other languages
Japanese (ja)
Inventor
Takaomi Kojima
隆臣 小島
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.)
Tamagawa Seiki Co Ltd
Original Assignee
Tamagawa Seiki 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 Tamagawa Seiki Co Ltd filed Critical Tamagawa Seiki Co Ltd
Priority to JP5218549A priority Critical patent/JPH0775372A/en
Publication of JPH0775372A publication Critical patent/JPH0775372A/en
Pending legal-status Critical Current

Links

Landscapes

  • Transmission And Conversion Of Sensor Element Output (AREA)
  • Control Of Motors That Do Not Use Commutators (AREA)
  • Analogue/Digital Conversion (AREA)

Abstract

PURPOSE:To make high-precision control with precise data by comparing prestored precise data with rough data obtained at this time upon power-on in particular. CONSTITUTION:A-phase and B-phase incremental signals 2 are counted to obtain precise data A, and the precise data A is stored upon power-off and compared with rough data B upon power-on to initialize by using the precise data A when within a constant range of errors, thereby obtaining high-precision axial data from motor rise.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、エンコーダ信号出力方
法に関し、特に、電源オフ後に電源を再投入した場合、
符号板からの粗データと予め記憶されたアブソリュート
精データとを比較し、一定の誤差範囲内であればこのア
ブソリュート精データを出力し、高精度の制御を行うた
めの新規な改良に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an encoder signal output method, and in particular, when the power is turned off and then on again,
The present invention relates to a new improvement for comparing the rough data from the code plate with the absolute fine data stored in advance, outputting the absolute fine data within a certain error range, and performing highly accurate control.

【0002】[0002]

【従来の技術】従来、用いられていたこの種のエンコー
ダ信号出力方法としては、一般に、アブソリュートエン
コーダ信号を高分解能化するためには、ビット数分のト
ラックを符号板に形成し、精精度のエンコーダ信号を得
ていた。
2. Description of the Related Art Conventionally, as an encoder signal output method of this kind used in the past, in order to increase the resolution of an absolute encoder signal, tracks for the number of bits are formed on a code plate to achieve high precision. I was getting an encoder signal.

【0003】[0003]

【発明が解決しようとする課題】従来のエンコーダ信号
出力方法は、以上のように構成されていたため、次のよ
うな課題が存在していた。すなわち、ビット数分のトラ
ックを符号板に形成すると極めて高価となり、制御装置
側の受信回路も複雑な構成となっていた。また、このよ
うに、A相、B相インクリメンタル信号をカウントし、
アブソリュートデータ化する構成のエンコーダにおいて
電源投入時には、符号板の3ビット(U,V,W相用の
モータ磁極データすなわち粗データ)程度の軸位置の再
現性しか存在していなかった。
Since the conventional encoder signal output method is configured as described above, there are the following problems. That is, forming tracks corresponding to the number of bits on the code plate becomes extremely expensive, and the receiving circuit on the control device side also has a complicated configuration. Also, in this way, the A-phase and B-phase incremental signals are counted,
In the encoder configured to convert to absolute data, when the power source was turned on, there was only a reproducibility of the shaft position of about 3 bits (motor pole data for the U, V, and W phases, that is, rough data) of the code plate.

【0004】本発明は、以上のような課題を解決するた
めになされたもので、特に、電源オフ後に電源を再投入
した場合、符号板からの粗データと予め記憶されたアブ
ソリュート精データとを比較し、一定の誤差範囲内であ
ればこのアブソリュート精データを出力し、高精度の制
御を行うようにしたエンコーダ信号出力方法を提供する
ことを目的とする。
The present invention has been made to solve the above problems, and particularly, when the power is turned on again after the power is turned off, the rough data from the code plate and the absolute fine data stored in advance are stored. In comparison, an object of the present invention is to provide an encoder signal output method that outputs this absolute precision data within a certain error range and performs highly accurate control.

【0005】[0005]

【課題を解決するための手段】本発明によるエンコーダ
信号出力方法は、U,V,W相コイルを有するモータの
回転軸に設けられたエンコーダからエンコーダ信号を出
力するようにしたエンコーダ信号出力方法において、前
記エンコーダの符号板から得られるA相、B相インクリ
メンタル信号をカウントしてアブソリュート精データを
出力すると共に、電源オフ時に前記アブソリュート精デ
ータを記憶し、前記電源の再投入時に前記符号板からの
粗データと前記アブソリュート精データとを比較し、一
定の誤差範囲内の場合に前記アブソリュート精データを
用いて初期化する方法である。
An encoder signal output method according to the present invention is an encoder signal output method in which an encoder signal is output from an encoder provided on a rotating shaft of a motor having U, V and W phase coils. , A phase and B phase incremental signals obtained from the code plate of the encoder are counted to output absolute precision data, and the absolute precision data is stored when the power is turned off. When the power is turned on again, the absolute precision data is stored. In this method, the rough data and the absolute precise data are compared with each other, and if they are within a certain error range, the absolute precise data is used for initialization.

【0006】さらに詳細には、前記粗データとアブソリ
ュート精データとが一定の誤差範囲外である場合、前記
粗データでモータを立上らせてプリロード信号をHレベ
ルとし、前記符号板からのZ相ストローブ信号にて前記
プリロード信号をLレベルとし前記アブソリュート精デ
ータを得る方法である。
More specifically, when the rough data and the absolute fine data are out of a certain error range, the motor is started by the rough data to set the preload signal to the H level, and the Z from the code plate is set. In this method, the preload signal is set to the L level by the phase strobe signal to obtain the absolute precise data.

【0007】[0007]

【作用】本発明によるエンコーダ信号出力方法において
は、A相、B相インクリメンタル信号をカウントし、ア
ブソリュート精データ化すると共に、電源オフ時にモー
タが慣性で回転する時間(5秒〜10秒)にカウンタを
作動させ、その時の精精度なアブソリュート精データを
記憶し、次の電源再投入時に符号板からの粗データと前
記アブソリュート精データとを比較する。この比較結果
が一定の誤差範囲(±|LSB以内)内であれば、この
アブソリュート精データを出力してエンコーダ信号であ
る軸データを得ることができる。また、この比較結果が
一定の誤差範囲外である場合、この粗データでモータを
立上らせてプリロード信号をHレベルとし、符号板から
のZ相ストローブ信号にてプリロード信号をLレベルと
し、アブソリュート精データによる軸データを得ること
ができる。
In the encoder signal output method according to the present invention, the A-phase and B-phase incremental signals are counted and converted into absolute fine data, and the time (5 seconds to 10 seconds) during which the motor rotates due to inertia when the power is turned off is counted. The precise absolute absolute data at that time is stored, and the rough data from the code plate and the absolute precise data are compared at the next power-on. If the comparison result is within a certain error range (within ± | LSB), this absolute precision data can be output to obtain axis data that is an encoder signal. If the comparison result is out of the certain error range, the motor is started up with this rough data to set the preload signal to the H level, and the Z phase strobe signal from the code plate sets the preload signal to the L level. Axis data based on absolute precision data can be obtained.

【0008】[0008]

【実施例】以下、図面と共に本発明によるエンコーダ信
号出力方法の好適な実施例について詳細に説明する。図
1において符号1で示されるものはU,V,W相コイル
を有するモータ(図示せず)の回転軸に設けられたエン
コーダ2Aの符号板(図示せず)から得られたA相・B
相インクリメンタル信号2が入力されるカウンタであ
り、このカウンタ1でカウントして得たアブソリュート
精データAはラッチ部3でラッチされて記憶され、この
ラッチ部3はバッテリー4によってバックアップされて
いる。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS A preferred embodiment of an encoder signal output method according to the present invention will be described in detail below with reference to the drawings. In FIG. 1, reference numeral 1 denotes A-phase / B obtained from a code plate (not shown) of an encoder 2A provided on a rotary shaft of a motor (not shown) having U-, V-, and W-phase coils.
This is a counter to which the phase incremental signal 2 is input, and the absolute precision data A obtained by counting with this counter 1 is latched and stored by the latch unit 3, and this latch unit 3 is backed up by the battery 4.

【0009】前記エンコーダ2Aは、電源オフ後タイマ
ー時間動作回路4により、電源オフ後、モータが慣性に
よって回転して停止する迄の間、このエンコーダ2Aを
作動させ、前記アブソリュート精データAをラッチする
ように構成されていると共に、このラッチ部3からの前
記アブソリュート精データAは比較部5に入力されてデ
ータ出力10として出力される。
After the power is turned off, the encoder 2A operates the encoder 2A by the timer time operation circuit 4 after the power is turned off until the motor rotates due to inertia and stops, and latches the absolute precision data A. The absolute precision data A from the latch unit 3 is input to the comparison unit 5 and output as the data output 10.

【0010】前記エンコーダ2A、ラッチ部3及び比較
部5にはタイミング部11からのタイミング信号11a
が入力されて各々の動作のタイミングが得られるように
構成されており、前記符号板(図示せず)に形成されモ
ータのU,V,W相コイルを切換えるための3ビット以
上のアブソリュート粗データB(すなわち、U,V,W
磁極データ)が前記比較部5及びセレクタ12に入力さ
れ、このセレクタ12からのカウンタロード値としての
前述の何れかのデータA又はBがエンコーダ2Aに入力
されている。
The encoder 2A, the latch unit 3 and the comparing unit 5 have a timing signal 11a from a timing unit 11.
Is input to obtain the timing of each operation. The absolute rough data of 3 bits or more is formed on the code plate (not shown) for switching the U, V and W phase coils of the motor. B (that is, U, V, W
The magnetic pole data) is input to the comparison unit 5 and the selector 12, and any one of the above data A or B as the counter load value from the selector 12 is input to the encoder 2A.

【0011】次に、動作について述べる。通常の状態で
は、A相・B相インクリメンタル信号2をカウンタ1で
カウントし、このカウンタ1から得られたアブソリュー
ト精データAはラッチ部3を経て初期化されエンコーダ
信号であるデータ出力10として出力される。
Next, the operation will be described. In a normal state, the A phase / B phase incremental signal 2 is counted by the counter 1, and the absolute precise data A obtained from this counter 1 is initialized via the latch unit 3 and output as a data output 10 which is an encoder signal. It

【0012】次に、電源オフ後の状態では、電源オフ後
タイマー時間動作回路4が作動して、モータが電源オフ
後に慣性で回転する時間(5秒から10秒)の間、エン
コーダ2Aが動作し、その間に得られるアブソリュート
精データAがラッチ部3にラッチされて記憶される。
Next, in the state after the power is turned off, the timer time operation circuit 4 is activated after the power is turned off, and the encoder 2A is operated during the time (5 to 10 seconds) during which the motor rotates by inertia after the power is turned off. Then, the absolute precision data A obtained during that time is latched and stored in the latch unit 3.

【0013】次に、電源再投入時において、アブソリュ
ートの粗データBと前記アブソリュート精データAとを
比較部5で比較し、一定の誤差範囲内(±|LSB以
内)であればこのアブソリュート精データAがセレクタ
12で選択されてカウンタ1に戻ってデータ出力10と
して出力される。
Next, when the power is turned on again, the absolute coarse data B and the absolute fine data A are compared by the comparison unit 5, and if they are within a certain error range (within ± | LSB), this absolute fine data is obtained. A is selected by the selector 12, returns to the counter 1, and is output as the data output 10.

【0014】また、この比較結果が、前述の誤差範囲外
の場合、図2で示すように、粗データBの初期化を行な
った後、a,b間の中心のcの位置すなわちZ相ストロ
ーブ信号30通過後に、図示しないロード制御部からの
プリロード信号31がHレベルからLレベルになり、そ
の後、粗データBを再初期化して出力された後、アブソ
リュート精データAを用いてエンコーダ信号である軸デ
ータ32が得られる。
If the comparison result is out of the above-mentioned error range, as shown in FIG. 2, after initializing the rough data B, the position of the center c between a and b, that is, the Z-phase strobe. After passing the signal 30, the preload signal 31 from the load control unit (not shown) changes from H level to L level, and after that, the coarse data B is re-initialized and output, and then the absolute precision data A is used as an encoder signal. The axis data 32 is obtained.

【0015】[0015]

【発明の効果】本発明によるエンコーダ信号出力方法
は、以上のように構成されているため、次のような効果
を得ることができる。すなわち、電源オフ後、電源を再
投入する場合には、精データを用いて軸データが得られ
るため、モータの立上り初期から高精度の制御を行うこ
とができ、小型化及びコストダウンに大きく寄与するこ
とができる。
Since the encoder signal output method according to the present invention is configured as described above, the following effects can be obtained. In other words, when the power is turned on again after the power is turned off, the axis data can be obtained using the precise data, so high-precision control can be performed from the initial startup of the motor, greatly contributing to downsizing and cost reduction. can do.

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

【図1】本発明によるエンコーダ信号出力方法を示すブ
ロック図である。
FIG. 1 is a block diagram showing an encoder signal output method according to the present invention.

【図2】波形図である。FIG. 2 is a waveform diagram.

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

2A エンコーダ 2 A相・B相インクリメンタル信号 A アブソリュート精データ B 粗データ 30 Z相ストローブ信号 31 プリロード信号 2A Encoder 2 A phase / B phase incremental signal A Absolute precision data B Rough data 30 Z phase strobe signal 31 Preload signal

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 U,V,W相コイルを有するモータの回
転軸に設けられたエンコーダ(2A)からエンコーダ信号を
出力するようにしたエンコーダ信号出力方法において、
前記エンコーダ(2A)の符号板から得られるA相・B相イ
ンクリメンタル信号(2)をカウントしてアブソリュート
精データ(A)を出力すると共に、電源オフ時に前記アブ
ソリュート精データ(A)を記憶し、前記電源の再投入時
に前記符号板からの粗データ(B)と前記アブソリュート
精データ(A)とを比較し、一定の誤差範囲内の場合に前
記アブソリュート精データ(A)を用いて初期化すること
を特徴とするエンコーダ信号出力方法。
1. An encoder signal output method for outputting an encoder signal from an encoder (2A) provided on a rotary shaft of a motor having U-, V-, and W-phase coils,
The absolute precision data (A) is output by counting the A-phase / B-phase incremental signals (2) obtained from the code plate of the encoder (2A), and the absolute precision data (A) is stored when the power is turned off. When the power is turned on again, the rough data (B) from the code plate is compared with the absolute precision data (A), and if the error is within a certain error range, initialization is performed using the absolute precision data (A). An encoder signal output method characterized by the above.
【請求項2】 前記粗データ(B)とアブソリュート精デ
ータ(A)とが一定の誤差範囲外である場合、前記粗デー
タ(B)でモータを立上らせてプリロード信号(31)をHレ
ベルとし、前記符号板からのZ相ストローブ信号(30)に
て前記プリロード信号(31)をLレベルとし前記アブソリ
ュート精データ(A)を得ることを特徴とする請求項1記
載のエンコーダ信号出力方法。
2. When the rough data (B) and the absolute fine data (A) are out of a certain error range, the motor is started by the rough data (B) and the preload signal (31) is set to H level. The encoder signal output method according to claim 1, wherein the level is set, and the preload signal (31) is set to the L level by the Z-phase strobe signal (30) from the code plate to obtain the absolute precision data (A). .
JP5218549A 1993-09-02 1993-09-02 Method for outputting encoder signal Pending JPH0775372A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5218549A JPH0775372A (en) 1993-09-02 1993-09-02 Method for outputting encoder signal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5218549A JPH0775372A (en) 1993-09-02 1993-09-02 Method for outputting encoder signal

Publications (1)

Publication Number Publication Date
JPH0775372A true JPH0775372A (en) 1995-03-17

Family

ID=16721681

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5218549A Pending JPH0775372A (en) 1993-09-02 1993-09-02 Method for outputting encoder signal

Country Status (1)

Country Link
JP (1) JPH0775372A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100445696C (en) * 2006-06-02 2008-12-24 中国科学院长春光学精密机械与物理研究所 Quasi absolute type photoelectric shaft-position encoder processing circuit

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100445696C (en) * 2006-06-02 2008-12-24 中国科学院长春光学精密机械与物理研究所 Quasi absolute type photoelectric shaft-position encoder processing circuit

Similar Documents

Publication Publication Date Title
KR100214786B1 (en) Disk drive apparatus
US5905350A (en) Position measuring system and measuring process
JPH0775372A (en) Method for outputting encoder signal
JPH07270181A (en) Method for detecting absolute signal, and absolute encoder
JP3273836B2 (en) Encoder signal output method
JP3273837B2 (en) Encoder signal output method
JP2001336951A (en) Rotational position detecting apparatus and method
JP3171485B2 (en) Creating a high-resolution absolute signal
US5808436A (en) Starting circuit and starting method for a brushless motor
JP2000213959A (en) Position detecting device
JPH074990A (en) Method for detecting absolute position in encoder apparatus
JP3224919B2 (en) Resolver angle data output method and resolver device
JP2000078892A (en) Driving apparatus of stepping motor
JPH07270179A (en) Method for detecting absolute signal and absolute encoder
JP3622703B2 (en) Pulse train generation method and apparatus, and motor rotation speed command generation apparatus using the same
JP2000228893A (en) Tacho-generator with built-in brushless motor
JP2501228B2 (en) Encoder interpolation circuit
JPH0315287A (en) Servo circuit
JPH0719849A (en) Apparatus and method for reading position
SU1256203A1 (en) Device for checking shaft turn angle-to-digital converter
JP3070109B2 (en) Absolute position detection method and device
JPH065175B2 (en) Absolute type encoder
JPH05248893A (en) Backup type absolute position encoder
JPH02228289A (en) Driver for synchronous motor
SU1277401A2 (en) Shift-to-digital converter