JPH0674787A - Absolute position detector - Google Patents

Absolute position detector

Info

Publication number
JPH0674787A
JPH0674787A JP4145487A JP14548792A JPH0674787A JP H0674787 A JPH0674787 A JP H0674787A JP 4145487 A JP4145487 A JP 4145487A JP 14548792 A JP14548792 A JP 14548792A JP H0674787 A JPH0674787 A JP H0674787A
Authority
JP
Japan
Prior art keywords
signal
absolute position
interpolation
incremental
multiplied
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
JP4145487A
Other languages
Japanese (ja)
Inventor
Hidekazu Machida
英和 町田
Norio Tani
憲郎 谷
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.)
Sanyo Electric Co Ltd
Sanyo Denki Co Ltd
Original Assignee
Sanyo Electric Co Ltd
Sanyo Denki 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 Sanyo Electric Co Ltd, Sanyo Denki Co Ltd filed Critical Sanyo Electric Co Ltd
Priority to JP4145487A priority Critical patent/JPH0674787A/en
Publication of JPH0674787A publication Critical patent/JPH0674787A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To obtain an absolute positional signal interpolated through an absolute position detector equipped with an incremental encoder. CONSTITUTION:An absolute positional signal outputted from an absolute position detector 1 equipped with an incremental encoder is multiplied by (n) through an absolute positional signal multiplying means 2 and then delivered to an operating means 5. An interpolation signal generating means 3 generates an interpolation pulse signal having period 1/n times that of an incremental signal in synchronism therewith and then generates an interpolation signal based on the interpolation pulse signal. The interpolation signal is delivered to an operating means 5 which also receives a moving direction signal of a mobile detected through a moving direction deciding means 4. The operating means 5 executes addition or subtraction on the interpolation signal and the multiplied absolute positional signal to produce an interpolated and multiplied absolute positional signal.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、移動体の絶対位置を検
出する絶対位置検出装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an absolute position detecting device for detecting the absolute position of a moving body.

【0002】[0002]

【従来の技術】数値制御工作機や産業用ロボット等の制
御装置では、サンプリング周期毎に移動体の絶対位置を
示す絶対位置信号を出力する絶対位置検出装置を用いて
いる。従来の絶対位置検出装置では、サンプリングとサ
ンプリングの間における移動体の位置データを得ること
ができない。それでも移動体の移動速度が速ければ、制
御装置に用いる場合に特に支障はない。しかしながら移
動体の移動速度が遅くなると、可能な範囲でサンプリン
グ周期を短くしても、サンプリング周期毎に出力される
位置データの値の差が小さくなって、絶対位置検出装置
の出力を利用する制御装置の制御動作に悪影響が生じ
る。そこで特開平1−223310号公報に示された絶
対位置検出装置のように、サンプリング周期毎に出力さ
れる絶対位置信号間において補間パルス信号を発生し、
この補間パルス信号に基づいて補間信号(補間データ)
を作り、絶対位置信号と補間信号とを用いて絶対位置信
号間の移動体の位置データを得る絶対位置検出装置が提
案されている。この絶対位置検出装置では、絶対位置信
号及び補間パルス信号を発生するためにクロックパルス
を発生する発振器を用いており、しかもこのクロックパ
ルスに基づいてA相のインクリメンタル信号とB相のイ
ンクリメンタル信号を作り、絶対位置信号からC相の原
点信号を作っている。
2. Description of the Related Art In a control device such as a numerically controlled machine tool or an industrial robot, an absolute position detecting device is used which outputs an absolute position signal indicating the absolute position of a moving body at each sampling cycle. The conventional absolute position detection device cannot obtain position data of a moving body between samplings. Still, if the moving speed of the moving body is high, there is no particular problem when it is used for the control device. However, when the moving speed of the moving body becomes slow, even if the sampling cycle is shortened within a possible range, the difference in the value of the position data output for each sampling cycle becomes small, and the control using the output of the absolute position detection device is performed. This adversely affects the control operation of the device. Therefore, like the absolute position detecting device disclosed in Japanese Patent Laid-Open No. 1-223310, an interpolation pulse signal is generated between absolute position signals output at each sampling cycle,
Interpolation signal (interpolation data) based on this interpolation pulse signal
And an absolute position detection device for obtaining position data of a moving body between the absolute position signals by using the absolute position signal and the interpolation signal. This absolute position detection device uses an oscillator that generates a clock pulse in order to generate an absolute position signal and an interpolation pulse signal, and also creates an A-phase incremental signal and a B-phase incremental signal based on this clock pulse. , C phase origin signal is made from absolute position signal.

【0003】[0003]

【発明が解決しようとする課題】前述の公報に示された
絶対位置検出装置は、絶対位置の検出とインクリメンタ
ル信号の発生とを同時に行うものであり、発振器を含む
その他の複雑な回路を用いている。しかしながら最近で
は、光学式や磁気式のインクリメンタルエンコーダを備
えてサンプリング周期毎に絶対位置信号を出力する絶対
位置検出器が、簡単に入手できるようになった。そのた
めこのインクリメンタルエンコーダを備えた絶対位置検
出器を用いて、簡単に絶対位置の補間することができる
絶対位置検出装置の実現が強く望まれるようになってき
た。
The absolute position detecting device disclosed in the above-mentioned publication simultaneously detects an absolute position and generates an incremental signal, and uses other complicated circuits including an oscillator. There is. However, recently, an absolute position detector equipped with an optical or magnetic incremental encoder and outputting an absolute position signal at each sampling cycle has become easily available. Therefore, it has been strongly desired to realize an absolute position detecting device that can easily interpolate an absolute position by using an absolute position detector equipped with this incremental encoder.

【0004】本発明の目的は、インクリメンタルエンコ
ーダを備えた絶対位置検出器を用いて補間された絶対位
置信号を得ることができる絶対位置検出装置を提供する
することにある。
An object of the present invention is to provide an absolute position detecting device which can obtain an absolute position signal interpolated by using an absolute position detector having an incremental encoder.

【0005】[0005]

【課題を解決するための手段】図1に示すブロック図に
示すように、請求項1の発明の絶対位置検出装置は、絶
対位置検出器1と、絶対位置信号逓倍手段2と、補間信
号発生手段3と、移動方向判定手段4と演算手段5とを
具備する。本発明で用いる絶対位置検出器1は、少なく
ともA相及びB相のインクリメンタル信号を出力するイ
ンクリメンタルエンコーダを有して、移動体の絶対位置
をディジタル値で示す絶対位置信号をA相及びB相のイ
ンクリメンタル信号の一方と同期するサンプリング信号
に応じて出力する。絶対位置信号逓倍手段2は、絶対位
置信号をn逓倍して逓倍絶対位置信号を演算手段5に出
力する。補間信号発生手段3は、A相及びB相のインク
リメンタル信号に同期し且つ該インクリメンタル信号の
周期の1/nの周期を有する補間パルス信号をインクリ
メンタル信号に基づいて発生し、該補間パルス信号に基
づいてディジタル値の補間信号を発生して演算手段5に
出力する。移動方向判定手段4は移動体の移動方向を検
出して演算手段5に出力する。演算手段5は、補間信号
と逓倍絶対位置信号とを加減算して補間逓倍絶対位置信
号を出力する。なお演算手段5は、補間パルス信号に同
期して周期的に補間逓倍絶対位置信号を出力させてもよ
いが、必要な時だけ補間逓倍絶対位置信号を出力するよ
うにしてもよい。
As shown in the block diagram of FIG. 1, an absolute position detecting device according to the invention of claim 1 includes an absolute position detector 1, an absolute position signal multiplying means 2 and an interpolation signal generating means. It is provided with means 3, moving direction determination means 4 and calculation means 5. The absolute position detector 1 used in the present invention has an incremental encoder that outputs at least incremental signals of A phase and B phase, and outputs an absolute position signal indicating the absolute position of a moving body by a digital value of A phase and B phase. Output according to the sampling signal synchronized with one of the incremental signals. The absolute position signal multiplying means 2 multiplies the absolute position signal by n and outputs the multiplied absolute position signal to the computing means 5. The interpolation signal generating means 3 generates an interpolation pulse signal having a cycle of 1 / n of the cycle of the incremental signal in synchronization with the A phase and B phase incremental signals, based on the incremental signal, and based on the interpolation pulse signal. And generates an interpolation signal of a digital value and outputs it to the calculating means 5. The moving direction judging means 4 detects the moving direction of the moving body and outputs it to the calculating means 5. The calculation means 5 adds and subtracts the interpolation signal and the multiplied absolute position signal to output an interpolated multiplied absolute position signal. The calculating means 5 may periodically output the interpolated multiplication absolute position signal in synchronization with the interpolated pulse signal, but may output the interpolated multiplication absolute position signal only when necessary.

【0006】請求項2の発明では、nを2または4とす
る。
In the invention of claim 2, n is 2 or 4.

【0007】請求項3の発明では、移動体の速度が設定
速度以上になると補間信号発生手段の動作を停止させる
手段を更に設ける。
According to the third aspect of the present invention, there is further provided means for stopping the operation of the interpolation signal generating means when the speed of the moving body exceeds the set speed.

【0008】[0008]

【作用】本発明は、絶対位置検出器1では検出すること
ができないサンプリングとサンプリングとの間における
移動体の位置データを、インクリメンタルエンコーダか
ら出力されるA相及びB相のインクリメンタル信号を利
用して補間するために、該インクリメンタル信号と同期
し且つ該インクリメンタル信号の1/nの周期を有する
補間パルス信号を該インクリメンタル信号から作り、こ
の補間パルス信号を用いて補間信号を作る。補間パルス
信号は、A相及びB相のインクリメンタル信号の立ち上
がりまたは立ち下がりをトリガ信号として利用すること
により簡単に作ることができる。例えばn=4として、
各サンプリング間にサンプリング周期の1/4の周期で
補間パルス信号を発生させた場合に、単純に絶対位置信
号が示す位置データ(例えば“100”の値)に補間パ
ルス信号の数(例えば“3”の値)を加減算して補間位
置データを作ると、補間位置データ(例えば“103”
または“97”の値)は次に発生する絶対位置信号が示
す位置データ(例えば“101”または“99”の値)
より大きいかまたは小さい値になってしまう。そこで絶
対位置信号を4逓倍すれば、サンプリング間に発生した
補間パルス信号により補間信号を作っても、移動体の移
動方向が一定で且つ速度が一定であるとすると、原理的
には実際の絶対位置データと補間位置データとの不一致
は発生しなくなる。
According to the present invention, the position data of the moving body between samplings that cannot be detected by the absolute position detector 1 is utilized by using the A-phase and B-phase incremental signals output from the incremental encoder. For the purpose of interpolation, an interpolation pulse signal which is synchronized with the incremental signal and has a cycle of 1 / n of the incremental signal is generated from the incremental signal, and the interpolation pulse signal is used to generate the interpolation signal. The interpolation pulse signal can be easily created by using the rising or falling of the A-phase and B-phase incremental signals as a trigger signal. For example, if n = 4,
When the interpolation pulse signal is generated at a period of 1/4 of the sampling period between each sampling, the number of interpolation pulse signals (for example, "3" is simply added to the position data (for example, "100" value) indicated by the absolute position signal. When the interpolation position data is created by adding and subtracting the value of "," the interpolation position data (for example, "103")
Or the value of "97" is the position data (for example, the value of "101" or "99") indicated by the next absolute position signal.
Larger or smaller value. Therefore, if the absolute position signal is multiplied by 4, if the moving direction of the moving body is constant and the speed is constant even if the interpolation signal is generated by the interpolation pulse signal generated during sampling, in principle, the actual absolute The discrepancy between the position data and the interpolated position data will not occur.

【0009】請求項1の発明によれば、絶対位置信号を
n逓倍して逓倍絶対位置信号を作り、A相及びB相のイ
ンクリメンタル信号の周期の1/nの周期の補間パルス
信号をインクリメンタル信号から発生して補間信号を作
り、演算手段で移動体の移動方向に応じて逓倍絶対位置
信号と補間信号とを加減算することにより、インクリメ
ンタル信号を用いて簡単に補間位置データ(補間逓倍絶
対位置信号)を得ることができる。
According to the first aspect of the present invention, the absolute position signal is multiplied by n to form a multiplied absolute position signal, and the interpolation pulse signal having a period of 1 / n of the period of the A-phase and B-phase incremental signals is used as the incremental signal. To generate an interpolation signal, and add / subtract the multiplication absolute position signal and the interpolation signal according to the moving direction of the moving body by the calculating means to easily use the incremental signal to interpolate the position data (interpolation multiplication absolute position signal). ) Can be obtained.

【0010】請求項3の発明では、移動体の速度が設定
速度以上になると補間信号発生手段の動作を停止させる
手段を更に設けるため、高速領域における無駄な演算を
防止できる。
According to the third aspect of the present invention, since the means for stopping the operation of the interpolation signal generating means when the speed of the moving body becomes equal to or higher than the set speed is further provided, useless calculation in the high speed region can be prevented.

【0011】[0011]

【実施例】以下図面を参照して本発明の実施例を詳細に
説明する。図2は、請求項1の発明をサーボモータの制
御に用いる実施例の構成を示すブロック図である。11
は、インクリメンタルエンコーダ12と、絶対位置信号
発生回路13と、シリアル送信回路14とを備えた絶対
位置検出器である。インクリメンタルエンコーダ12
は、図示しない移動体を駆動するサーボモータに固定さ
れて、図3に示すようにA相及びB相のインクリメンタ
ル信号とC相の原点信号(図示せず)、その他絶対位置
の検出に必要な信号を出力する。絶対位置信号発生回路
13はインクリメンタルエンコーダ12からのエンコー
ダ信号、例えばA相のインクリメンタルエンコーダ信号
Aの立ち上りに同期して内部でサンプリング信号を作
り、このサンプリング信号に応じて絶対位置データをデ
ィジタル値で示す絶対位置信号ABS を発生する。シリア
ル送信回路14は、離れた位置に配置された制御装置内
のサーボアンプ16内の伝送要求信号発生回路15から
出力される送信要求信号RSに応じて、絶対位置信号AB
S をシリアル受信回路17に送信する。シリアル送信回
路14及びシリアル受信回路17としては、B相のイン
クリメンタルエンコーダBの立ち上りが発生するまでの
間に、絶対位置信号ABS の送信を完了する信号転送性能
を有しているものを用いる。
Embodiments of the present invention will now be described in detail with reference to the drawings. FIG. 2 is a block diagram showing the configuration of an embodiment in which the invention of claim 1 is used for controlling a servomotor. 11
Is an absolute position detector including an incremental encoder 12, an absolute position signal generation circuit 13, and a serial transmission circuit 14. Incremental encoder 12
Is fixed to a servomotor that drives a moving body (not shown), and is necessary for detecting the incremental signals of A phase and B phase, the origin signal of C phase (not shown), and other absolute positions as shown in FIG. Output a signal. The absolute position signal generation circuit 13 internally creates a sampling signal in synchronization with the rising edge of the encoder signal from the incremental encoder 12, for example, the A-phase incremental encoder signal A, and indicates the absolute position data as a digital value in accordance with this sampling signal. Generate absolute position signal ABS. The serial transmission circuit 14 receives the absolute position signal AB according to the transmission request signal RS output from the transmission request signal generation circuit 15 in the servo amplifier 16 in the control device arranged at a distant position.
S is transmitted to the serial receiving circuit 17. As the serial transmission circuit 14 and the serial reception circuit 17, those having a signal transfer performance that completes the transmission of the absolute position signal ABS before the rising of the B-phase incremental encoder B occurs.

【0012】伝送要求信号発生回路15は、後述する補
間パルス信号発生回路18から出力されるインクリメン
タル信号Aの立ち上がりから若干遅れた信号に基づいて
伝送要求信号RSを発生する。補間パルス信号発生回路
18は、インクリメンタルエンコーダ12から受信した
A相及びB相のインクリメンタル信号A及びBを用いて
補間信号を作るための補間パルス信号PSを発生する。
この例では、逓倍数設定回路19によって設定された逓
倍数が4であり、補間パルス信号発生回路18はインク
リメンタル信号A及びBの立ち上がりと立ち下がりに同
期した補間パルス信号PSを発生している。その結果、
補間パルス信号PSはサンプリング信号と同期し且つサ
ンプリング信号の1/4の周期を有している。
The transmission request signal generation circuit 15 generates the transmission request signal RS based on a signal slightly delayed from the rising edge of the incremental signal A output from the interpolation pulse signal generation circuit 18 described later. The interpolation pulse signal generation circuit 18 generates an interpolation pulse signal PS for creating an interpolation signal by using the A-phase and B-phase incremental signals A and B received from the incremental encoder 12.
In this example, the multiplication number set by the multiplication number setting circuit 19 is 4, and the interpolation pulse signal generation circuit 18 generates the interpolation pulse signal PS synchronized with the rising and falling edges of the incremental signals A and B. as a result,
The interpolation pulse signal PS is synchronized with the sampling signal and has a cycle of ¼ of the sampling signal.

【0013】シリアル受信回路17は、シリアル送信回
路14からの1つの絶対位置信号の受信の完了を検出す
ると受信完了信号ESを絶対位置信号逓倍回路20に出
力する。絶対位置信号逓倍回路20は、実質的にシフト
レジスタと同じ構成を有しており、受信完了信号ESを
受信した後、受信した絶対位置信号ABS を逓倍数設定回
路19によって設定された逓倍数だけ逓倍して演算手段
21に逓倍絶対位置信号(n×ABS )を出力する。図3
に示した波形の例では、絶対位置信号ABS を4逓倍し
て、逓倍絶対位置信号としている。
When the serial reception circuit 17 detects the completion of reception of one absolute position signal from the serial transmission circuit 14, it outputs a reception completion signal ES to the absolute position signal multiplication circuit 20. The absolute position signal multiplication circuit 20 has substantially the same configuration as the shift register, and after receiving the reception completion signal ES, the received absolute position signal ABS is multiplied by the multiplication number set by the multiplication number setting circuit 19. The signal is multiplied and the multiplied absolute position signal (n × ABS) is output to the calculating means 21. Figure 3
In the example of the waveform shown in (4), the absolute position signal ABS is multiplied by 4 to obtain a multiplied absolute position signal.

【0014】22は、図示しないサーボモータの速度が
低速域で運転されているか、それとも高速域で運転され
ているかを判定して切換信号CSを出力する切換信号発
生回路である。サーボモータが補間の必要のない高速領
域で運転されている場合には、切換信号発生回路22は
カウンタ23にカウント停止指令を与える切換信号CS
を出力する。切換信号CSが出力されると、カウンタ2
3の値Cは常時0となり、絶対位置検出装置は絶対位置
検出器11の出力を逓倍した信号をそのまま出力する。
なお切換信号発生回路22が高速域から低速域かを判断
する場合には、インクリメンタル信号AまたはBや、公
知の速度検出器からの検出信号を利用する。カウンタ2
3は、補間パルス信号PSをアップカウントまたはダウ
ンカウントし、計数値Cを演算手段21に出力する。そ
してカウンタ23は、伝送要求信号発生回路15が伝送
要求信号RSを出力する毎に自動的にリセットされる。
24は、インクリメンタル信号A及びBの位相関係か
ら、図示しないサーボモータの回転方向すなわち移動体
の移動方向を検出する回転方向判定回路であり、サーボ
モータが一方の方向(正方向)に回転しているときには
ハイまたはロウの一方の信号を出力し続け、サーボモー
タが他方の方向(逆方向)に回転しているときにはハイ
またはロウの他方の信号を出力し続ける。回転方向判定
回路24からの出力はカウンタ23に入力されている。
回転方向判定回路24から出力される信号の極性が変化
(例えばハイからロウに変化)した場合、その後に最初
に発生する伝送要求信号RSの出力によってカウンタが
リセットされた後、カウンタ23の出力の極性が変化
(例えば正から負へ変化)する。
Reference numeral 22 denotes a switching signal generation circuit which determines whether the speed of the servo motor (not shown) is operating in a low speed range or in a high speed range and outputs a switching signal CS. When the servo motor is operated in a high speed region where interpolation is not necessary, the switching signal generation circuit 22 gives the switching signal CS for giving a count stop command to the counter 23.
Is output. When the switching signal CS is output, the counter 2
The value C of 3 is always 0, and the absolute position detection device outputs the signal obtained by multiplying the output of the absolute position detector 11 as it is.
When the switching signal generating circuit 22 determines whether it is in the high speed region or the low speed region, the incremental signal A or B or a detection signal from a known speed detector is used. Counter 2
3 up-counts or down-counts the interpolation pulse signal PS, and outputs the count value C to the calculation means 21. The counter 23 is automatically reset every time the transmission request signal generation circuit 15 outputs the transmission request signal RS.
Reference numeral 24 denotes a rotation direction determination circuit that detects the rotation direction of the servo motor, that is, the movement direction of the moving body (not shown) from the phase relationship between the incremental signals A and B, and the servo motor rotates in one direction (forward direction). While the servo motor is rotating in the other direction (reverse direction), the high signal or the low signal is continuously output while the high signal or the low signal is continuously output. The output from the rotation direction determination circuit 24 is input to the counter 23.
When the polarity of the signal output from the rotation direction determination circuit 24 changes (for example, changes from high to low), the counter is reset by the output of the transmission request signal RS that occurs first, and then the output of the counter 23 changes. The polarity changes (eg, changes from positive to negative).

【0015】演算手段21は、絶対位置信号逓倍回路2
0から入力される逓倍絶対位置信号(n×ABS)と補間信
号であるカウンタ23の計数値Cとの加減算を行い、補
間逓倍絶対位置信号CABSとして出力する。例えば、サー
ボモータが正方向に回転する場合に、絶対位置信号ABS
が示すデータが増加し、カウンタ23がアップカウント
を行う場合には、演算手段21はn×ABS +Cの演算を
行う。またこの状態でサーボモータが逆方向に回転した
場合には、最初の伝送要求信号RSの出力によりリセッ
トされた以降カウンタ23は負の値のカウント値(−
C)を出力してn×ABS −Cの演算を行うようにすれば
よい。サーボモータが正方向に回転する場合に、絶対位
置信号ABS が示すデータが減少し、カウンタ23がアッ
プカウントを行う場合には、演算手段21はn×ABS −
Cの演算を行うようにすればよい。またこの状態でサー
ボモータが逆方向に回転した場合には、n×ABS +Cの
演算を行うようにすればよい。
The calculating means 21 is an absolute position signal multiplication circuit 2
The multiplication absolute position signal (n × ABS) input from 0 and the count value C of the counter 23, which is an interpolation signal, are added and subtracted and output as an interpolation multiplication absolute position signal CABS. For example, when the servo motor rotates in the positive direction, the absolute position signal ABS
When the data indicated by is increased and the counter 23 counts up, the calculation means 21 calculates n × ABS + C. Further, in this state, when the servo motor rotates in the opposite direction, the counter 23 is reset by the output of the first transmission request signal RS and thereafter the counter 23 has a negative count value (-
C) may be output to perform n × ABS-C calculation. When the servo motor rotates in the positive direction, the data indicated by the absolute position signal ABS decreases and the counter 23 counts up.
The calculation of C may be performed. If the servo motor rotates in the reverse direction in this state, n * ABS + C may be calculated.

【0016】上記実施例においては、シリアル受信回路
17、絶対位置信号逓倍回路20及び逓倍数設定回路1
9が、図1の絶対位置信号逓倍手段を構成し、補間パル
ス信号発生回路18と、逓倍数設定回路19と、カウン
タ23と切換信号発生回路22とにより補間信号発生手
段3が構成され、回転方向判定回路24により移動方向
判定手段4が構成されている。
In the above embodiment, the serial receiving circuit 17, the absolute position signal multiplication circuit 20, and the multiplication number setting circuit 1
Reference numeral 9 constitutes the absolute position signal multiplication means of FIG. 1, and the interpolation pulse signal generation circuit 18, the multiplication number setting circuit 19, the counter 23 and the switching signal generation circuit 22 constitute the interpolation signal generation means 3 for rotation. The direction determining circuit 24 constitutes the moving direction determining means 4.

【0017】上記実施例においては、インクリメンタル
信号A及びBの立ち上りと立ち下がりを利用して補間パ
ルス信号PSを作っているため逓倍数は2または4に限
定されるが、補間パルス信号発生回路18の内部に分周
回路を設ければ、逓倍数を更に大きくすることは可能で
ある。また絶対位置検出装置の用途が低速領域での使用
に限られる場合には、切換信号発生回路22は不要であ
る。
In the above embodiment, since the interpolation pulse signal PS is generated by using the rising and falling edges of the incremental signals A and B, the multiplication number is limited to 2 or 4, but the interpolation pulse signal generating circuit 18 It is possible to further increase the multiplication number by providing a frequency dividing circuit inside. Further, when the application of the absolute position detecting device is limited to the use in the low speed region, the switching signal generating circuit 22 is unnecessary.

【0018】図2の実施例は、本発明の大部分をハード
ウエアで実施した例であるが、本発明はマイクロコンピ
ユータを積極的に用いてソフトウエアによっても実施が
可能である。図4は、図2の構成のうち、絶対位置信号
逓倍回路20、切換信号発生回路22、演算手段21に
相当する部分をマイクロコンピュータを利用して実施す
る場合のアルゴリズムを示すフローチャートである。こ
の例では、ステップST1が絶対値信号逓倍手段を実現
し、ステップST2及びテップST3が演算手段を実現
する。
Although the embodiment shown in FIG. 2 is an example in which most of the present invention is implemented by hardware, the present invention can also be implemented by software by positively using a microcomputer. FIG. 4 is a flow chart showing an algorithm for implementing a part corresponding to the absolute position signal multiplying circuit 20, the switching signal generating circuit 22 and the calculating means 21 in the configuration of FIG. 2 using a microcomputer. In this example, step ST1 realizes the absolute value signal multiplying means, and step ST2 and step ST3 realize the calculating means.

【0019】上記各実施例においては、絶対位置検出器
11以外の構成を離れた位置に配置される制御装置のサ
ーボアンプ内部に設けたが、本発明を実施する場合にす
べての構成を1箇所に集めてもよいのは当然である。そ
の場合には、シリアル送信回路14及びシリアル受信回
路17が不要になる。
In each of the above-mentioned embodiments, the components other than the absolute position detector 11 are provided inside the servo amplifier of the control device which is arranged at a remote position. However, when the present invention is carried out, all the components are arranged in one place. Of course, you can collect them at. In that case, the serial transmission circuit 14 and the serial reception circuit 17 become unnecessary.

【0020】また上記実施例では、演算手段21は周期
的に補間逓倍絶対位置信号を出力するが、必要なときだ
け演算手段を作動させて必要なときだけ補間逓倍絶対位
置信号を出力させるようにしてもよいのは勿論である。
In the above embodiment, the arithmetic means 21 periodically outputs the interpolation multiplied absolute position signal. However, the arithmetic means is operated only when necessary to output the interpolation multiplied absolute position signal only when necessary. Of course, it is okay.

【0021】[0021]

【発明の効果】請求項1の発明によれば、絶対位置信号
をn逓倍して逓倍絶対位置信号を作り、インクリメンタ
ル信号の周期の1/nの周期の補間パルス信号を発生し
て補間信号を作り、演算手段で移動体の移動方向に応じ
て逓倍絶対位置信号と補間信号とを加減算することによ
り、インクリメンタル信号を用いて簡単に補間位置デー
タ(補間逓倍絶対位置信号)を得ることができる。
According to the first aspect of the present invention, the absolute position signal is multiplied by n to form a multiplied absolute position signal, and an interpolation pulse signal having a cycle of 1 / n of the cycle of the incremental signal is generated to generate the interpolation signal. By making and adding / subtracting the multiplied absolute position signal and the interpolation signal according to the moving direction of the moving body by the calculation means, the interpolation position data (interpolated multiplied absolute position signal) can be easily obtained using the incremental signal.

【0022】請求項3の発明によれば、移動体の速度が
設定速度以上になると補間信号発生手段の動作を停止さ
せる手段を更に設けるため、高速領域における無駄な演
算を防止できる。
According to the third aspect of the present invention, since the means for stopping the operation of the interpolation signal generating means when the speed of the moving body becomes equal to or higher than the set speed is further provided, useless calculation in the high speed region can be prevented.

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

【図1】本発明の構成を説明するためのブロック図であ
る。
FIG. 1 is a block diagram for explaining a configuration of the present invention.

【図2】本発明の実施例を示すブロック図である。FIG. 2 is a block diagram showing an embodiment of the present invention.

【図3】図2の実施例の動作を説明するための波形図で
ある。
FIG. 3 is a waveform diagram for explaining the operation of the embodiment of FIG.

【図4】図2の実施例をマイクロコンピュタを用いて実
施する場合のアルゴリズムのフローチャートである。
FIG. 4 is a flowchart of an algorithm when the embodiment of FIG. 2 is implemented using a micro computer.

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

1,11 絶対位置検出器 2 絶対位置信号逓倍手段 3 補間信号発生手段 4 移動方向判定手段 5,21 演算手段 12 インクリメンタルエンコーダ 13 絶対位置信号発生回路 14 シリアル送信回路 15 シリアル受信回路 16 サーボアンプ 17 シリアル受信回路 18 補間パルス信号発生回路 19 逓倍数設定回路 20 絶対位置信号逓倍回路 22 切換信号発生回路 23 カウンタ 24 回転方向判定回路 1, 11 Absolute position detector 2 Absolute position signal multiplying means 3 Interpolation signal generating means 4 Moving direction judging means 5, 21 Computing means 12 Incremental encoder 13 Absolute position signal generating circuit 14 Serial transmitting circuit 15 Serial receiving circuit 16 Servo amplifier 17 Serial Reception circuit 18 Interpolation pulse signal generation circuit 19 Multiplication number setting circuit 20 Absolute position signal multiplication circuit 22 Switching signal generation circuit 23 Counter 24 Rotation direction determination circuit

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 少なくともA相及びB相のインクリメン
タル信号を出力するインクリメンタルエンコーダを有し
て、移動体の絶対位置をディジタル値で示す絶対位置信
号を前記A相及びB相のインクリメンタル信号の一方と
同期するサンプリング信号に応じて出力する絶対位置検
出器と、 前記絶対位置信号をn逓倍(nは正の偶数)して逓倍絶
対位置信号を出力する絶対位置信号逓倍手段と、 前記A相及びB相のインクリメンタル信号に同期し且つ
該インクリメンタル信号の周期の1/nの周期を有する
補間パルス信号を前記インクリメンタル信号に基づいて
発生し、該補間パルス信号に基づいてディジタル値の補
間信号を発生する補間信号発生手段と、 前記移動体の移動方向を検出する移動方向判定手段と、 前記移動方向判定手段が判定した移動方向に応じて、前
記補間信号と前記逓倍絶対位置信号とを加減算して補間
逓倍絶対位置信号を出力する演算手段とを具備してなる
絶対位置検出装置。
1. An incremental encoder for outputting at least A-phase and B-phase incremental signals, wherein an absolute position signal indicating a digital absolute position of a moving body is used as one of the A-phase and B-phase incremental signals. An absolute position detector that outputs a synchronized sampling signal; an absolute position signal multiplying unit that multiplies the absolute position signal by n (n is a positive even number) and outputs a multiplied absolute position signal; Interpolation for generating an interpolation pulse signal in synchronization with the phase incremental signal and having a cycle of 1 / n of the cycle of the incremental signal based on the incremental signal, and generating an interpolation signal of a digital value based on the interpolation pulse signal Signal generation means, movement direction determination means for detecting the movement direction of the moving body, and movement direction determination means Depending on the direction of movement, the interpolation signal and the multiplied absolute position signal and a by subtraction is formed by and a calculating means for outputting the interpolated multiplied absolute position signal absolute position detection device.
【請求項2】 前記nが2または4である請求項1に記
載の絶対位置検出装置。
2. The absolute position detection device according to claim 1, wherein n is 2 or 4.
【請求項3】 前記移動体の速度が設定速度以上になる
と前記補間信号発生手段の動作を停止させる手段を更に
備えている請求項1に記載の絶対位置検出装置。
3. The absolute position detecting device according to claim 1, further comprising means for stopping the operation of the interpolation signal generating means when the speed of the moving body exceeds a set speed.
JP4145487A 1992-06-05 1992-06-05 Absolute position detector Pending JPH0674787A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4145487A JPH0674787A (en) 1992-06-05 1992-06-05 Absolute position detector

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4145487A JPH0674787A (en) 1992-06-05 1992-06-05 Absolute position detector

Publications (1)

Publication Number Publication Date
JPH0674787A true JPH0674787A (en) 1994-03-18

Family

ID=15386401

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4145487A Pending JPH0674787A (en) 1992-06-05 1992-06-05 Absolute position detector

Country Status (1)

Country Link
JP (1) JPH0674787A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010154728A (en) * 2008-12-24 2010-07-08 Ind Technol Res Inst Low-speed control method and apparatus for servo motor
CN111693075A (en) * 2020-07-09 2020-09-22 赛卓微电子(深圳)有限公司 Method for outputting absolute position in incremental encoder IC

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62257065A (en) * 1986-05-01 1987-11-09 Yamaha Corp Encoder
JPH02173522A (en) * 1988-12-27 1990-07-05 Okuma Mach Works Ltd Position detector

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62257065A (en) * 1986-05-01 1987-11-09 Yamaha Corp Encoder
JPH02173522A (en) * 1988-12-27 1990-07-05 Okuma Mach Works Ltd Position detector

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010154728A (en) * 2008-12-24 2010-07-08 Ind Technol Res Inst Low-speed control method and apparatus for servo motor
US8093855B2 (en) 2008-12-24 2012-01-10 Industrial Technology Research Institute Low speed control method and apparatus for servo motor
TWI408893B (en) * 2008-12-24 2013-09-11 Ind Tech Res Inst Control method and apparatus for servo motor operation within low speed range
CN111693075A (en) * 2020-07-09 2020-09-22 赛卓微电子(深圳)有限公司 Method for outputting absolute position in incremental encoder IC
CN111693075B (en) * 2020-07-09 2022-05-06 赛卓微电子(深圳)有限公司 Method for outputting absolute position in incremental encoder IC

Similar Documents

Publication Publication Date Title
JP3367260B2 (en) Encoder device and servo motor control device
JP3129622B2 (en) Quadrant projection correction method in full closed loop system
JPH0674787A (en) Absolute position detector
JP2002116058A (en) Encoder data conversion circuit
JPH10155292A (en) Two-inertial system control circuit
JPH07229910A (en) Pulse counter circuit
JPH0835857A (en) Method for detecting angle of rotation
JP2001178166A (en) Speed control apparatus for motor
JP2941790B1 (en) Pulse counter
JP4463533B2 (en) Rotary encoder detection device
JPH10301630A (en) Detection position data transmission and output device
US4540924A (en) System for positioning an object at a predetermined point for a digital servo device
JPH05196454A (en) Detecting device for absolute position
JPS6233356A (en) Method for controlling magnetic recording and reproducing device
JPH04177512A (en) Speed controller
SU1566321A1 (en) Circular interpolator
JP2023088149A (en) Synchronous operation device
JP3248209B2 (en) Position detection method
JPH07123762A (en) Motor drive device
JPH05188068A (en) Servo motor speed detecting device
JPH01132967A (en) Rotation control apparatus
JP2770889B2 (en) Rotation angle detection method
JPH08223957A (en) Speed controller for motor
KR930004186B1 (en) Four shaft simultaneous potential control device by servo method
JPH06351279A (en) Synchronous operation system for pulse train input motor

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 19950718