JPH05248889A - Detecting method for angle of rotation - Google Patents

Detecting method for angle of rotation

Info

Publication number
JPH05248889A
JPH05248889A JP5118891A JP5118891A JPH05248889A JP H05248889 A JPH05248889 A JP H05248889A JP 5118891 A JP5118891 A JP 5118891A JP 5118891 A JP5118891 A JP 5118891A JP H05248889 A JPH05248889 A JP H05248889A
Authority
JP
Japan
Prior art keywords
phase
value
pulse
encoder
tan
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.)
Granted
Application number
JP5118891A
Other languages
Japanese (ja)
Other versions
JP2770889B2 (en
Inventor
Kenji Inoue
堅治 井上
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.)
Shinko Electric Co Ltd
Original Assignee
Shinko Electric 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 Shinko Electric Co Ltd filed Critical Shinko Electric Co Ltd
Priority to JP3051188A priority Critical patent/JP2770889B2/en
Publication of JPH05248889A publication Critical patent/JPH05248889A/en
Application granted granted Critical
Publication of JP2770889B2 publication Critical patent/JP2770889B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PURPOSE:To obtain the title method capable of markedly enhancing resolving power, capable of smoothing the steady operation of a rotary body when a detected value is used as a feedback value for position control and capable of enhancing positioning accuracy. CONSTITUTION:When an encoder is connected to the shaft of a rotary body 1 to detect the angle of rotation of the rotary body, as the encoder, a sine wave encoder 10 outputting sine wave signals of Aand B-phases is used. The output of the sine wave encoder 10 is shaped into a pulse waveform by a waveform shaping device 11 to be multiplied by four by a direction discriminating and multiplying circuit 12 and the pulse count value of this multiplied pulse is latched at a predetermined cycle by a latch 13 while the A-and B-phase outputs of the sine wave encoder 10 are subjected to A/D conversion and the tan<-1> operation of A-and B-phase digital values is performed at the predetermined cycle by a tan operator. The tan<-1> operation value is added to the pulse count value to detect the angle of rotation of a rotary body.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、サーボモータ等の回転
体の回転角度検出方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method for detecting a rotation angle of a rotating body such as a servomotor.

【0002】[0002]

【従来の技術】図5は従来の回転角度検出装置を示した
ものである。同図において、1はモータ、2はモータ1
に軸結された2相パルスエンコーダである。この2相パ
ルスエンコーダは位相が互いに90o 異なるA相パルス
とB相パルスを発生する。3は方向判別逓倍回路(4逓
倍パルスを発生する)であって、A相パルスとB相パル
スが入力され、図6の(a)に示すように、A相パルス
がB相パルスに対して進み位相にある時は、モータ1が
正回転中であるとして、パルス列Uを出力し、図6の
(b)に示すように、B相パルスがA相パルスに対して
進み位相にある時は、モータ1が逆回転中であるとし
て、パルス列Dを出力する。4はアップダウンカウンタ
であって、そのアップUP端子にはパルス列Uを受け、
ダウンDOWN端子にはパルス列UDを受ける。このア
ップダウンカウンタ4の計数値が回転角度検出信号とな
る。
2. Description of the Related Art FIG. 5 shows a conventional rotation angle detecting device. In the figure, 1 is a motor, 2 is a motor 1
It is a two-phase pulse encoder connected to the. This two-phase pulse encoder generates an A-phase pulse and a B-phase pulse whose phases are different from each other by 90 ° . Reference numeral 3 denotes a direction discriminating and multiplying circuit (which generates a quadruple multiplying pulse), into which the A phase pulse and the B phase pulse are input, and as shown in FIG. When it is in the lead phase, it is assumed that the motor 1 is rotating normally, and the pulse train U is output. As shown in FIG. 6B, when the B-phase pulse is in the lead phase with respect to the A-phase pulse, , The pulse train D is output assuming that the motor 1 is rotating in the reverse direction. 4 is an up-down counter, which receives a pulse train U at its up-up terminal,
The down DOWN terminal receives the pulse train UD. The count value of the up / down counter 4 becomes a rotation angle detection signal.

【0003】[0003]

【発明が解決しようとする課題】この回転角度検出装置
の分解能はパルス分解能により決まるので、その分解能
は低く、上記アップダウンカウンタ4の計数値をフィー
ドバックして位置制御を行なう場合には、定常状態にお
いて、1パルス分の振動が発生する。このため、その振
動周期が高い場合には騒音の発生となり、また位置決め
精度が低下する。本発明はこの問題を解消するためにな
されたもので、従来に比して、分解能を著しく高めるこ
とができ、検出値を位置制御のためのフィードバック値
として用いた場合に、従来に比し、回転体の定常動作を
滑らかにすることができ、位置決め精度も向上すること
ができる回転角度検出方法を提供することを目的とす
る。
Since the resolution of this rotation angle detection device is determined by the pulse resolution, the resolution is low, and when the count value of the up / down counter 4 is fed back to perform position control, the steady state is obtained. In, the vibration for one pulse is generated. Therefore, when the vibration cycle is high, noise is generated and the positioning accuracy is lowered. The present invention has been made to solve this problem, it is possible to significantly increase the resolution compared to the conventional, when using the detected value as a feedback value for position control, compared to the conventional, An object of the present invention is to provide a rotation angle detecting method capable of smoothing a steady operation of a rotating body and improving positioning accuracy.

【0004】[0004]

【課題を解決するための手段】本発明は上記目的を達成
するため、回転体にエンコーダを軸結して該回転体の回
転角度を検出する場合において、上記エンコーダとし
て、A相及びB相の正弦波信号を出力する正弦波エンコ
ーダを用い、この正弦波エンコーダの出力をパルス波形
に波形整形したのち、逓倍して、この逓倍パルスのパル
ス計数値を所定周期でラッチし、他方、上記正弦波エン
コーダのA相及びB相出力をA/D変換した後、上記所
定周期で、A相デジタル値とB相デジタル値のtan-1
演算を行ない、このtan-1演算値を上記パルス計数値
に加算して回転体の回転角度を検出する構成とした。
In order to achieve the above-mentioned object, the present invention uses an A-phase or B-phase encoder as the encoder in the case where an encoder is connected to a rotating body to detect the rotation angle of the rotating body. A sine wave encoder that outputs a sine wave signal is used.The output of this sine wave encoder is shaped into a pulse waveform, then multiplied, and the pulse count value of this multiplied pulse is latched at a specified cycle. After the A-phase and B-phase outputs of the encoder are A / D converted, tan −1 of the A-phase digital value and the B-phase digital value is calculated at the above-mentioned predetermined cycle
The calculation is performed and the calculated tan −1 value is added to the pulse count value to detect the rotation angle of the rotating body.

【0005】請求項2では、パルス計数値の前回ラッチ
値に対する今回ラッチ値の変化量を演算し、この変化量
積分値に上記tan-1演算の演算値を加算して回転体の
回転角度を検出するようにした。
According to a second aspect of the present invention, the change amount of the current latch value of the pulse count value with respect to the previous latch value is calculated, and the calculated value of the tan -1 calculation is added to the change amount integrated value to determine the rotation angle of the rotating body. I tried to detect it.

【0006】請求項3では、A相及びB相の信号の位相
関係から回転体の回転方向を判別し、この判別結果と、
A相及びB相の信号の正負に基づいて、tan-1演算の
演算パラメータであるA相デジタル値とB相デジタル値
の組合わせを変更するようにした。
In the third aspect, the rotation direction of the rotating body is discriminated from the phase relationship between the A-phase signal and the B-phase signal.
The combination of the A-phase digital value and the B-phase digital value, which is the calculation parameter of the tan −1 calculation, is changed based on the positive / negative of the A-phase and B-phase signals.

【0007】[0007]

【作用】本発明では、逓倍パルスのパルス計数値だけか
ら回転角度を求めるのではなく、この回転角度に、エン
コーダのA相、B相信号のデジタル変換値を用いるta
-1演算により所定演算周期で求めた回転角度を加算し
て回転角度を検出するので、分解能は、パルス分解能×
A/D分解能となり、従来に比し、著しく高分解の回転
角度検出が可能となる。
In the present invention, the rotation angle is not calculated only from the pulse count value of the multiplied pulse, but the digital conversion value of the A-phase and B-phase signals of the encoder is used for this rotation angle.
Since the rotation angle is detected by adding the rotation angle obtained in a predetermined calculation cycle by n −1 calculation, the resolution is the pulse resolution ×
A / D resolution is achieved, and it is possible to detect a rotation angle with a remarkably high resolution as compared with the conventional method.

【0008】[0008]

【実施例】以下、本発明の1実施例を図面を参照して説
明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings.

【0009】図1において、モータ1に軸結されるエン
コーダは2相正弦波エンコーダ10であり、この正弦波
エンコーダ10は位相が互いに90o 異なるA相正弦波
信号(図4の(a)に実線で示す)とB相正弦波信号
(図4の(a)に破線で示す)とを発生する。このA相
正弦波信号とB相正弦波信号は、波形整形器11で矩形
波信号SA とSB に変換されたのち、方向判別逓倍回路
(4逓倍パルスを発生する)12に入力される。方向判
別逓倍回路12は、図5の方向判別逓倍回路3と同様
に、A相正弦波信号がB相正弦波信号パルスに対して進
み位相にある時は、モータ1が正回転中であるとして、
パルス列Uを出力し、B相正弦波信号がA相正弦波信号
パルスに対して進み位相にある時は、モータ1が逆回転
中であるとして、パルス列Dを出力するとともに、クロ
ックcに同期したA相矩形波パルスSA1、B相矩形波パ
ルスSB1(共に、図3に示す)およびモータ正転時
「H」でモータ逆転時「L」となる方向判別信号FRを
出力する。この方向判別信号FRは図2に示すフリップ
フロップ回路を用いて発生させる。方向判別逓倍回路1
2が出力するパルス列UとDはアップダウンカウンタ4
に入力され、該アップダウンカウンタ4の出力である回
転角信号naN(N:第N回目の出力であることを示す)
は第1のラッチ13に供給される。また、A相矩形波パ
ルスSA1、B相矩形波パルスSB1および方向判別信号F
Rは第2のラッチ14に供給される。この第1のラッチ
13および第2のラッチ14は、発振器30が所定周期
Tで発振する割込み信号をラッチ指令として受ける。第
1のラッチ13から出力される回転角信号naNは加算器
15で第N−1回目にラッチ13から取り出されて第1
のメモリM1に格納されている回転角信号na(N-1)と差
分される。この偏差Δna =naN−na(N-1)は上記割込
み信号の周期間の変化量であって、積分器16で累積加
算される。この累積値をnbNとする。17は加算器、M
2はnb(N-1)を格納する第2のメモリである。
In FIG. 1, the encoder axially connected to the motor 1 is a two-phase sine wave encoder 10, and this sine wave encoder 10 has an A phase sine wave signal whose phase is different from each other by 90 ° (see (a) in FIG. 4). And a B-phase sine wave signal (shown by a broken line in FIG. 4A). The A-phase sine wave signal and the B-phase sine wave signal are converted into rectangular wave signals S A and S B by a waveform shaper 11, and then input to a direction discriminating and multiplying circuit (which generates a quadruple multiplying pulse) 12. .. Similarly to the direction discriminating and multiplying circuit 3 in FIG. 5, the direction discriminating and multiplying circuit 12 determines that the motor 1 is rotating normally when the A-phase sine wave signal is in the advance phase with respect to the B-phase sine wave signal pulse. ,
When the pulse train U is output and the B-phase sine wave signal is in the advance phase with respect to the A-phase sine wave signal pulse, it is assumed that the motor 1 is in reverse rotation, the pulse train D is output, and it is synchronized with the clock c. The A-phase rectangular wave pulse S A1 , the B-phase rectangular wave pulse S B1 (both are shown in FIG. 3) and the direction determination signal FR that becomes “L” at motor forward rotation “H” are output. The direction discrimination signal FR is generated using the flip-flop circuit shown in FIG. Direction discrimination multiplication circuit 1
The pulse trains U and D output by 2 are up / down counters 4.
Is input to the rotation angle signal n aN which is the output of the up / down counter 4 (N: indicates the Nth output).
Are supplied to the first latch 13. Also, the A-phase rectangular wave pulse S A1 , the B-phase rectangular wave pulse S B1 and the direction determination signal F
R is supplied to the second latch 14. The first latch 13 and the second latch 14 receive an interrupt signal oscillated by the oscillator 30 in a predetermined cycle T as a latch command. The rotation angle signal n aN output from the first latch 13 is taken out from the latch 13 by the adder 15 at the (N−1) th time and
Of the rotation angle signal n a (N-1) stored in the memory M1 of This deviation Δn a = n aN −n a (N−1) is the amount of change between the periods of the interrupt signal and is cumulatively added by the integrator 16. This cumulative value is n bN . 17 is an adder, M
2 is a second memory for storing n b (N-1) .

【0010】正弦波エンコーダ10が出力するA相正弦
波信号とB相正弦波信号は、また、A/D変換器18で
デジタル信号A* 、B* に変換されたのち、θa =ta
-1演算器19に与えられる。ただし、−90O <θa
<90O の範囲の値である。このtan-1演算器19
は、ラッチ指令により第2のラッチ14から出力される
A相矩形波パルスSA1 * 、B相矩形波パルスSB1 * (そ
れぞれ図4の(b)、(c)に示す)、方向判別信号F
* (図4の(d)に示す)を取り込み、A相矩形波パ
ルスSA1 * の正負、B相矩形波パルスSB1 * の正負、方
向判別信号FR*のH/Lに基づき、下記(a)から
(h)のtan-1演算を実行する。
The A-phase sine wave signal and the B-phase sine wave signal output from the sine wave encoder 10 are also converted into digital signals A * and B * by the A / D converter 18, and then θ a = ta.
It is given to the n −1 calculator 19. However, -90 Oa
It is a value in the range of <90 O. This tan -1 calculator 19
Is the A-phase rectangular wave pulse S A1 * , the B-phase rectangular wave pulse S B1 * (shown in (b) and (c) of FIG. 4, respectively) output from the second latch 14 in response to the latch command, and the direction determination signal. F
R * (shown in (d) of FIG. 4) is fetched, and based on the positive / negative of the A-phase rectangular wave pulse S A1 * , the positive / negative of the B-phase rectangular wave pulse S B1 * , and H / L of the direction determination signal FR * , The tan -1 operation from (a) to (h) is executed.

【0011】なお、本実施例では、このtan-1演算、
上記Δna の演算とその累積演算は、上記割込み信号の
周期T(逓倍パルスの周期より相当に小さい)を演算周
期として、マイクロコンピュータのソウトウエアで実行
する。
In this embodiment, this tan -1 operation,
The calculation of Δn a and its cumulative calculation are executed by the software of the microcomputer with the cycle T of the interrupt signal (which is considerably smaller than the cycle of the multiplied pulse) as the calculation cycle.

【0012】 (a)SA1 * >0、SB1 * <0、FR* =Hの時 θa =tan-1(A* /−B* )、これは、図4の
(e)の直線1を演算していることになる。
(A) When S A1 * > 0, S B1 * <0, FR * = H, θ a = tan −1 (A * / − B * ), which is the straight line in (e) of FIG. It means that 1 is calculated.

【0013】 (b)SA1 * >0、SB1 * <0、FR* =Lの時 θa =tan-1(B* /A* )、これは、図4の(e)
の直線2を演算していることになる。
(B) When S A1 * > 0, S B1 * <0, FR * = L, θ a = tan −1 (B * / A * ), which is shown in FIG.
This means that the straight line 2 of is calculated.

【0014】 (c)SA1 * >0、SB1 * >0、FR* =Hの時 θa =tan-1(B* /A* )、これは、図4の(e)
の直線2を演算していることになる。
(C) When S A1 * > 0, S B1 * > 0, and FR * = H, θ a = tan −1 (B * / A * ), which is shown in FIG.
This means that the straight line 2 of is calculated.

【0015】 (d)SA1 * >0、SB1 * <0、FR* =Lの時 θa =tan-1(−A* /B* )、これは、図4の
(e)の直線3を演算していることになる。
(D) When S A1 * > 0, S B1 * <0, FR * = L θ a = tan −1 (−A * / B * ), which is the straight line of (e) in FIG. It means that 3 is calculated.

【0016】 (e)SA1 * <0、SB1 * >0、FR* =Hの時 θa =tan-1(−A* /B* )、これは、図4の
(e)の直線3を演算していることになる。
(E) When S A1 * <0, S B1 * > 0 and FR * = H, θ a = tan −1 (−A * / B * ), which is the straight line in (e) of FIG. It means that 3 is calculated.

【0017】 (f)SA1 * <0、SB1 * >0、FR* =Lの時 θa =tan-1(−B* /−A* )、これは、図4の
(e)の直線4を演算していることになる。
(F) When S A1 * <0, S B1 * > 0, and FR * = L, θ a = tan −1 (−B * / − A * ), which corresponds to (e) of FIG. This means that the straight line 4 is being calculated.

【0018】 (g)SA1 * <0、SB1 * <0、FR* =Hの時 θa =tan-1(−B* /−A* )、これは、図4の
(e)の直線4を演算していることになる。
(G) When S A1 * <0, S B1 * <0, FR * = H, θ a = tan −1 (−B * / − A * ), which corresponds to (e) of FIG. This means that the straight line 4 is being calculated.

【0019】 (h)SA1 * <0、SB1 * <0、FR* =Lの時 θa =tan-1(−A* /−B* )、これは、図4の
(e)の直線1を演算していることになる。
(H) When S A1 * <0, S B1 * <0, FR * = L, θ a = tan −1 (−A * / − B * ), which corresponds to (e) of FIG. This means that the straight line 1 is calculated.

【0020】この(a)〜(h)のA* とB* の組合わ
せは図4の(f)に示してある。
The combination of A * and B * in (a) to (h) is shown in FIG. 4 (f).

【0021】このようにして演算された角度θa は加算
器20で前記nbNと加え合わされ、θf =(nbN
θa )が回転角検出値となる。
The angle θ a calculated in this way is added to the n bN in the adder 20, and θ f = (n bN +
θ a ) is the rotation angle detection value.

【0022】本実施例では、所定の演算周期Tで、モー
タ1の回転角度θa をtan-1演算により算出し、基本
的には、このtan-1演算値を逓倍パルスのパルス計数
値naNに加算するから、分解能は、前記したパルス分解
能×A/D分解能となり、従来に比し、著しく高分解能
となる。
In the present embodiment, the rotation angle θ a of the motor 1 is calculated by tan −1 calculation at a predetermined calculation cycle T, and basically, this tan −1 calculated value is the pulse count value n of the multiplied pulse. Since it is added to aN , the resolution becomes the above-mentioned pulse resolution × A / D resolution, which is significantly higher than the conventional resolution.

【0023】その上、本実施例では、演算周期Tにおけ
る回転角度の変化量Δna を累積演算し、累積演算値n
bNに上記回転角度θa を加算した値を回転角検出値θf
とするので、この回転角検出値θf は滑らかに変化す
る。
Further, in this embodiment, the amount of change Δn a of the rotation angle in the calculation cycle T is cumulatively calculated, and the cumulative calculation value n
The value obtained by adding the above rotation angle θ a to bN is the rotation angle detection value θ f
Therefore, the detected rotation angle θ f changes smoothly.

【0024】従って、この回転角検出値θf フィードバ
ックして位置制御を行えば、前記した従来の振動は抑制
され、位置決め精度も向上する。
Therefore, if the rotation angle detection value θ f is fed back to perform the position control, the above-mentioned conventional vibration is suppressed and the positioning accuracy is improved.

【0025】上記naNとnbNとは、入力パルスの積算値
であるが、本実施例の方式をとることにより、nbNをカ
ウントするソフトカウンタのビット数(桁数)を増やす
ことができる。逆に、1演算周期内のアップダウンカウ
ンタの変化量(=Δna )の最大値をΔnamaxとする
と、アップダウンカウンタのビット数(桁数)Kは、次
式を満足すればよいことになる。
The above n aN and n bN are integrated values of the input pulse, but the number of bits (digits) of the soft counter for counting n bN can be increased by adopting the method of this embodiment. .. On the contrary, if the maximum value of the change amount (= Δn a ) of the up / down counter in one operation cycle is Δn amax , the bit number (digit number) K of the up / down counter should satisfy the following equation. Become.

【0026】 2×Δnamax<2K ・・・・(1) 例えば、Δnamax=3とすると、Kは、Kを満足すれ
ばよいことになる。
2 × Δn amax <2 K (1) For example, if Δn amax = 3, then K should satisfy K > .

【0027】従って、例えば、アップダウンカウンタを
3ビットとし、上記ソフトカウンタを16ビットにする
ことができるため、アップダウンカウンタのコストや回
路規模を節約することができる。即ち、一旦、Δna
求めることにより前後のカウンタの桁数に自由度が生ま
れることになる。
Therefore, for example, since the up / down counter can be 3 bits and the soft counter can be 16 bits, the cost and circuit scale of the up / down counter can be saved. That is, once Δn a is obtained, the number of digits of the counters before and after the counter has a degree of freedom.

【0028】[0028]

【発明の効果】本発明は以上説明した通り、逓倍パルス
のパルス計数値だけから回転角度を求めるのではなく、
この回転角度に、エンコーダのA相、B相信号のデジタ
ル変換値を演算パラメータとするtan-1演算により所
定演算周期で求めた回転角度を加算して回転角度を検出
するので、従来に比し、著しく高分解の回転角度検出を
行なうことができる。
As described above, the present invention does not obtain the rotation angle from only the pulse count value of the multiplied pulse, but
The rotation angle is detected by adding the rotation angle obtained in a predetermined calculation cycle by tan -1 calculation using the digitally converted value of the A-phase and B-phase signals of the encoder as the calculation parameter, and the rotation angle is detected. The rotation angle can be detected with extremely high resolution.

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

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

【図2】上記実施例において用いる方向判別信号を生成
する回路の例を示す図である。
FIG. 2 is a diagram showing an example of a circuit that generates a direction determination signal used in the above embodiment.

【図3】上記実施例の動作を説明するための波形タイム
チャートである。
FIG. 3 is a waveform time chart for explaining the operation of the above embodiment.

【図4】上記実施例の動作を説明するための波形タイム
チャートである。
FIG. 4 is a waveform time chart for explaining the operation of the above embodiment.

【図5】従来の回転角度検出装置を示すブロック図であ
る。
FIG. 5 is a block diagram showing a conventional rotation angle detection device.

【図6】上記従来例の動作を説明するための波形タイム
チャートである。
FIG. 6 is a waveform time chart for explaining the operation of the conventional example.

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

1 モータ 4 アップダウンカウンタ 10 2相正弦波エンコーダ 11 波形整形器 12 方向判別逓倍回路 13、14 ラッチ 15、17、20 加算器 16 積分器 18 A/D変換器 19 tan-1演算器DESCRIPTION OF SYMBOLS 1 motor 4 up-down counter 10 2-phase sine wave encoder 11 waveform shaper 12 direction discriminating and multiplying circuit 13, 14 latches 15, 17, 20 adder 16 integrator 18 A / D converter 19 tan -1 calculator

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 回転体にエンコーダを軸結して該回転体
の回転角度を検出する場合において、上記エンコーダと
して、A相及びB相の正弦波信号を出力する正弦波エン
コーダを用い、この正弦波エンコーダの出力をパルス波
形に波形整形したのち、逓倍して、この逓倍パルスのパ
ルス計数値を所定周期でラッチし、他方、上記正弦波エ
ンコーダのA相及びB相出力をA/D変換した後、上記
所定周期で、A相デジタル値とB相デジタル値のtan
-1演算を行ない、このtan-1演算値を上記パルス計数
値に加算して回転体の回転角度を検出することを特徴と
する回転角度検出方法。
1. A sine wave encoder that outputs sine wave signals of A-phase and B-phase is used as the encoder when the rotation angle of the rotator is detected by connecting an encoder to the rotator. The output of the wave encoder is shaped into a pulse waveform and then multiplied, and the pulse count value of this multiplied pulse is latched at a predetermined cycle, while the A phase and B phase outputs of the sine wave encoder are A / D converted. After that, at the above-mentioned predetermined cycle, tan of the A-phase digital value and the B-phase digital value
-1 calculation is performed and the calculated tan -1 value is added to the pulse count value to detect the rotation angle of the rotating body.
【請求項2】 パルス計数値の前回ラッチ値に対する今
回ラッチ値の変化量を演算し、この変化量積分値に上記
tan-1演算の演算値を加算して回転体の回転角度を検
出することを特徴とする請求項1記載の回転角度検出方
法。
2. A change amount of a current latch value of a pulse count value with respect to a previous latch value is calculated, and the calculated value of the tan −1 calculation is added to the change amount integrated value to detect a rotation angle of a rotating body. The rotation angle detecting method according to claim 1, wherein
【請求項3】 A相及びB相の信号の位相関係から回転
体の回転方向を判別し、この判別結果と、A相及びB相
の信号の正負に基づいて、tan-1演算の演算パラメー
タであるA相デジタル値とB相デジタル値の組合わせを
変更することを特徴とする請求項1または2記載の回転
角度検出方法。
3. A tan -1 operation parameter is determined based on the result of the determination and the positive / negative of the A-phase and B-phase signals by determining the rotation direction of the rotating body from the phase relationship between the A-phase and B-phase signals. 3. The rotation angle detecting method according to claim 1, wherein the combination of the A-phase digital value and the B-phase digital value is changed.
JP3051188A 1991-03-15 1991-03-15 Rotation angle detection method Expired - Fee Related JP2770889B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3051188A JP2770889B2 (en) 1991-03-15 1991-03-15 Rotation angle detection method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3051188A JP2770889B2 (en) 1991-03-15 1991-03-15 Rotation angle detection method

Publications (2)

Publication Number Publication Date
JPH05248889A true JPH05248889A (en) 1993-09-28
JP2770889B2 JP2770889B2 (en) 1998-07-02

Family

ID=12879893

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3051188A Expired - Fee Related JP2770889B2 (en) 1991-03-15 1991-03-15 Rotation angle detection method

Country Status (1)

Country Link
JP (1) JP2770889B2 (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01224621A (en) * 1988-03-04 1989-09-07 Hitachi Ltd Method and device for detecting position

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01224621A (en) * 1988-03-04 1989-09-07 Hitachi Ltd Method and device for detecting position

Also Published As

Publication number Publication date
JP2770889B2 (en) 1998-07-02

Similar Documents

Publication Publication Date Title
JP2720642B2 (en) Multi-turn absolute value encoder
US4837492A (en) Apparatus for detecting revolution using a synchro
JP3365063B2 (en) Rotation angle detection method
JPH07229910A (en) Pulse counter circuit
JPH05248889A (en) Detecting method for angle of rotation
JPH06118090A (en) Speed detector
JP3248209B2 (en) Position detection method
JP3241138B2 (en) Absolute encoder output signal abnormality detection method
JP3449177B2 (en) Position detection device with incremental encoder
JPH08334526A (en) Speed detection device
JP3994231B2 (en) Data conversion circuit
JPH05209710A (en) Rotation angle detector
KR0169842B1 (en) A rotating direction decision circuit using encoder for motor control
JP2551680B2 (en) Position detection device
JP3126843B2 (en) Rotation angle detector
JPH1062203A (en) Position detector
JPH04285815A (en) Position counter circuit of rotary encoder
JPH0719849A (en) Apparatus and method for reading position
JPS62162917A (en) Phase detector
KR940003381Y1 (en) Speed transformer of optical encoder
JPH0234613Y2 (en)
JP3122457B2 (en) Pulse divider
JPH0560571A (en) Method for detecting abnormality of encoder
KR960013427B1 (en) Motor rotation servo control apparatus
JPH0522976A (en) Pulse train signal processing circuit

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees