[go: up one dir, main page]

JPH0658772A - Signal processing circuit of encoder - Google Patents

Signal processing circuit of encoder

Info

Publication number
JPH0658772A
JPH0658772A JP4211697A JP21169792A JPH0658772A JP H0658772 A JPH0658772 A JP H0658772A JP 4211697 A JP4211697 A JP 4211697A JP 21169792 A JP21169792 A JP 21169792A JP H0658772 A JPH0658772 A JP H0658772A
Authority
JP
Japan
Prior art keywords
output signals
encoder
phase
comparator
comparators
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
JP4211697A
Other languages
Japanese (ja)
Inventor
Hidenori Hasegawa
秀法 長谷川
Masao Matono
正生 的野
Akihiro Nomura
章博 野村
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.)
Yaskawa Electric Corp
Original Assignee
Yaskawa Electric 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 Yaskawa Electric Corp filed Critical Yaskawa Electric Corp
Priority to JP4211697A priority Critical patent/JPH0658772A/en
Publication of JPH0658772A publication Critical patent/JPH0658772A/en
Pending legal-status Critical Current

Links

Landscapes

  • Transmission And Conversion Of Sensor Element Output (AREA)

Abstract

PURPOSE:To obtain pulses in constant duty even if temperature drift is generated in the output signals of an encoder by computing comparing levels with a CPU based on the output signals of the encoder at every specified time. CONSTITUTION:Differential amplifiers 101 and 102 amplify the output signals in a phase A and a phase B from an encoder, respectively. The output signals are inputted into a CPU 109 through a multiplexer 107 and an A/D converter 108 after sampling and holding in a sample/hold circuits 105 and 106, respectively. The CPU 109 computes the midpoints of the signals based on the peak values on the respective positive side and negative side of the output signals of the amplifiers 101 and 102. The midpoints are imparted as the comparing levels to comparators 103 and 104 through D/A converters 110 and 111, respectively. Therefore, the phase A pulses and the phase B pulses without the effects of temperature drifts are obtained from the comparators 103 and 104, respectively.

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 processing circuit.

【0002】[0002]

【従来の技術】従来のエンコーダ信号処理回路は、図5
に示すように、エンコーダのA相、B相の出力信号をそ
れぞれ差動増幅器201,202で差動増幅した後、そ
れぞれコンパレータ203,204で固定されたあるレ
ベル、例えば0Vと比較してパルス化し、パルス信号を
逓倍回路205で逓倍していた。
2. Description of the Related Art A conventional encoder signal processing circuit is shown in FIG.
As shown in, the A-phase and B-phase output signals of the encoder are differentially amplified by the differential amplifiers 201 and 202, respectively, and then compared with a certain level fixed by the comparators 203 and 204, for example, pulsed in comparison with 0V. The pulse signal was multiplied by the multiplication circuit 205.

【0003】[0003]

【発明が解決しようとする課題】上述した従来のエンコ
ーダ信号処理回路は、エンコーダ出力信号に環境温度の
変化により温度ドリフトが生じた場合、インクリメンタ
ル相のパルスデューティが変化し、正確な位置検出が行
えないと言う欠点があった。本発明の目的は、エンコー
ダ出力信号に温度ドリフトが生じた場合にも、それに影
響されず一定のデューティのパルスが得られるエンコー
ダ信号処理回路を提供することである。
In the conventional encoder signal processing circuit described above, when a temperature drift occurs in the encoder output signal due to a change in environmental temperature, the pulse duty of the incremental phase changes, and accurate position detection can be performed. There was a drawback to say no. An object of the present invention is to provide an encoder signal processing circuit that can obtain a pulse with a constant duty without being affected by temperature drift even if the encoder output signal has a temperature drift.

【0004】[0004]

【課題を解決するための手段】本発明のエンコーダ信号
処理回路は、それぞれエンコーダのA相、B相の出力信
号を差動増幅する第1、第2の差動増幅器と、第1の差
動増幅器の出力信号を第1のコンパレートレベルと比較
する第1のコンパレータと、第2の差動増幅器の出力信
号を第2のコンパレートレベルと比較する第2のコンパ
レータと、それぞれ第1、第2の差動増幅器の出力信号
をサンプル・ホールドする第1、第2のサンプル・ホー
ルド回路と、第1、第2のサンプル・ホールド回路の出
力信号を切換出力するマルチプレクサと、該マルチプレ
クサの出力信号をアナログ/ディジタル変換するA/D
コンバータと、第1、第2の差動増幅器の出力信号を第
1、第2のサンプル・ホールド回路、前記マルチプレク
サ、前記A/Dコンバータを介して一周期以上取り込
み、第1、第2のコンパレートレベルを計算するCPU
と、それぞれ第1、第2のコンパレートレベルをディジ
タル/アナログ変換し、第1、第2のコンパレータに出
力する第1、第2のD/Aコンバータと、第1、第2の
コンパレータの出力信号を入力し、該出力信号を所定の
倍数逓倍したパルス信号を出力する逓倍回路とを有す
る。
An encoder signal processing circuit according to the present invention includes a first differential amplifier and a second differential amplifier for differentially amplifying A-phase and B-phase output signals of an encoder, respectively. A first comparator for comparing the output signal of the amplifier with a first comparator level; a second comparator for comparing the output signal of the second differential amplifier with a second comparator level; First and second sample and hold circuits for sampling and holding the output signal of the second differential amplifier, a multiplexer for switching and outputting the output signals of the first and second sample and hold circuits, and an output signal of the multiplexer A / D to convert analog to digital
The output signals of the converter and the first and second differential amplifiers are taken in through the first and second sample and hold circuits, the multiplexer, and the A / D converter for one cycle or more, and the first and second comparators are loaded. CPU to calculate rate level
And the first and second D / A converters that perform digital / analog conversion on the first and second comparator levels and output to the first and second comparators respectively, and the outputs of the first and second comparators. A multiplication circuit for inputting a signal and outputting a pulse signal obtained by multiplying the output signal by a predetermined multiple.

【0005】[0005]

【作用】一定時間ごとにエンコーダ出力信号をCPUに
取り込み、コンパレートレベルを計算し、コンパレータ
に与えることにより、エンコーダ出力信号の温度ドリフ
トの影響を受けないパルス成形ができる。なお、第1、
第2のコンパレータをそれぞれ複数にし、CPUから複
数のコンパレートレベルを複数のコンパレータに与えて
やることにより、逓倍数を簡単に増やすことができる。
Function: The encoder output signal is taken into the CPU at regular intervals, the comparator level is calculated, and the result is given to the comparator, whereby pulse shaping can be performed without being affected by the temperature drift of the encoder output signal. The first,
The number of multiplications can be easily increased by providing a plurality of second comparators and providing a plurality of comparator levels from the CPU to the plurality of comparators.

【0006】[0006]

【実施例】次に、本発明の実施例について図面を参照し
て説明する。図1は本発明の第1の実施例のエンコーダ
信号処理回路のブロック図、図2はその各部の信号の波
形図である。差動増幅器101,102はそれぞれエン
コーダのA相、B相の出力信号を入力し、コモンモード
ノイズを除去し、増幅する。差動増幅器101,102
の出力信号(図2(1))はサンプル・ホールド(S・
H)回路105,106でそれぞれ一周期以上サンプル
・ホールドされた後、マルチプレクサ107、A/Dコ
ンバータ108を経てCPU109に入力される。CP
U109は差動増幅器101の出力信号の正側と負側の
ピーク値+VAPEAK 、−VAPEAK 、差動増幅器102の
出力信号の正側と負側のピーク値+VBPEAK 、−V
BPEAK を知り、ピーク値+VAPEAK と−VAPEAK の中点
Ahalf 、ピーク値+VBPEAK と−VBPEAKの中点V
Bhalf を計算し、それぞれD/Aコンバータ110,1
11を経てコンパレータ103,104にコンパレート
レベルとして与える。したがって、コンパレータ10
3,104からそれぞれ図2(2),(3)に示すよう
な、温度ドリフトの影響を受けないA相パルス、B相パ
ルスが得られる。後段の逓倍回路112はA相パルス、
B相パルスを入力し、それぞれの立上り、立下りでイン
クリメンタルパルスを生成することにより、図2(4)
に示すような4逓倍パルスを出力する。図3は本発明の
第2の実施例のエンコーダ信号処理回路のブロック図、
図4はその各部の信号の波形図である。
Embodiments of the present invention will now be described with reference to the drawings. FIG. 1 is a block diagram of an encoder signal processing circuit of a first embodiment of the present invention, and FIG. 2 is a waveform diagram of signals of respective parts thereof. The differential amplifiers 101 and 102 respectively receive the A-phase and B-phase output signals of the encoder, remove common mode noise, and amplify the common mode noise. Differential amplifier 101, 102
Output signal (Fig. 2 (1)) is sample and hold (S
H) After being sampled and held by the circuits 105 and 106 for one cycle or more, they are input to the CPU 109 via the multiplexer 107 and the A / D converter 108. CP
U109 peak value of the positive side and negative side of the output signal of the differential amplifier 101 + V APEAK, -V APEAK, peak value + V BPEAK the positive and negative of the output signal of the differential amplifier 102, -V
Knowing BPEAK , peak value + V APEAK and −V APEAK midpoint V Ahalf , peak value + V BPEAK and −V BPEAK midpoint V
Bhalf is calculated, and D / A converters 110 and 1 are respectively calculated.
It is given to the comparators 103 and 104 via 11 as a comparator level. Therefore, the comparator 10
3 and 104, the A-phase pulse and the B-phase pulse that are not affected by the temperature drift are obtained as shown in FIGS. 2B and 2C, respectively. The multiplication circuit 112 in the latter stage is an A-phase pulse,
By inputting a B-phase pulse and generating an incremental pulse at each rising and falling edge, the waveform shown in FIG.
A pulse multiplied by 4 as shown in is output. FIG. 3 is a block diagram of an encoder signal processing circuit according to a second embodiment of the present invention,
FIG. 4 is a waveform diagram of the signals of the respective parts.

【0007】本実施例が第1の実施例と異なる点は、A
相、B相のコンパレータとしてコンパレータ113,1
14を追加し、これに合わせてD/Aコンバータ11
5,116を追加したことと、逓倍回路117が8逓倍
パルスを出力することである。
The difference between this embodiment and the first embodiment is that
Comparators 113 and 1 as phase and B phase comparators
14 is added, and the D / A converter 11 is added to this.
5, 116 is added, and the multiplication circuit 117 outputs an 8 multiplication pulse.

【0008】A相パルスまたはB相パルス(図4(2)
または(5))を8逓倍する場合は第1の実施例と同様
にしてエンコーダのA相、B相の出力信号をS・H回路
105,106、マルチプレクサ107、A/Dコンバ
ータ108を経てCPU109に取り込み、それらの信
号が完全な正弦波であるとするならば、A相またはB相
信号の一方のピーク値(正のピーク値と負のピーク値)
の1/21/2を新たに求め、それらの値をコンパレート
レベルとして、CPU109からD/Aコンバータ11
5,116を介してそれぞれコンパレータ113,11
4に与えてやることにより、図4(3),(4)に示す
ような360°周期、45°幅の一定デューティのパル
スA1,A2が得られる。これらのパルスA1,A2と
A相、B相パルス(図4(2),(5))は逓倍回路1
17に入力される。逓倍回路117はそれぞれのパルス
の立上がり、立下がりでインクリメンタルパルスを生成
し、図4(6)に示すような8逓倍パルスを出力する。
A-phase pulse or B-phase pulse (FIG. 4 (2))
Alternatively, when (5)) is multiplied by 8, the encoder A-phase and B-phase output signals are passed through the SH circuits 105 and 106, the multiplexer 107, and the A / D converter 108 in the same manner as in the first embodiment. , And if those signals are perfect sine waves, the peak value of one of the A-phase or B-phase signals (positive peak value and negative peak value)
1/2 1/2 of the above is newly obtained, and these values are set as the comparison level from the CPU 109 to the D / A converter
5, 116 through comparators 113, 11 respectively
4 gives pulses A1 and A2 with a constant duty of 360 ° cycle and 45 ° width as shown in FIGS. 4 (3) and 4 (4). These pulses A1 and A2 and the A-phase and B-phase pulses (FIGS. 4 (2) and 4 (5)) are applied to the multiplication circuit 1
17 is input. The multiplication circuit 117 generates an incremental pulse at the rising and falling edges of each pulse, and outputs an 8-times multiplication pulse as shown in FIG. 4 (6).

【0009】なお、更に逓倍する場合も上記と同様の方
法でCPUでコンパレートレベルを決定し(例えば2
2.5°、11.25°おきとなるようなコンパレート
レベルを計算)、複数チャンネルのD/Aコンバータを
介し、複数個のコンパレータに与え、上記と同様の逓倍
回路により実現できる。
In the case of further multiplication, the CPU determines the comparison level in the same manner as described above (for example, 2
It can be realized by a multiplication circuit similar to the above, which is given to a plurality of comparators via a D / A converter of a plurality of channels, by calculating a comparator level at every 2.5 ° and 11.25 °.

【0010】[0010]

【発明の効果】以上説明したように本発明は、以下のよ
うな効果がある。 (1)請求項1の発明は、サンプル・ホールド回路とマ
ルチプレクサとA/DコンバータとCPUとD/Aコン
バータを備え、エンコーダのA相、B相の出力信号を一
周期以上入力し、該出力信号からコンパレートレベルを
計算し、D/Aコンバータを介してコンパレータに与え
ることにより、エンコーダ出力信号の温度ドリフトに影
響されず、一定デューティのパルスを得ることができ
る。 (2)請求項2の発明は、請求項1と同じ構成で、コン
パレータとD/Aコンバータを追加することにより、エ
ンコーダ出力信号の温度ドリフトに影響されず、一定デ
ューティのパルスを得ることができ、かつ逓倍数を簡単
に増やせる。
As described above, the present invention has the following effects. (1) The invention of claim 1 comprises a sample and hold circuit, a multiplexer, an A / D converter, a CPU, and a D / A converter, and inputs the output signals of the A phase and B phase of the encoder for one cycle or more, and outputs the output signals. By calculating the comparator level from the signal and giving it to the comparator via the D / A converter, it is possible to obtain a pulse with a constant duty without being affected by the temperature drift of the encoder output signal. (2) The invention of claim 2 has the same configuration as claim 1, and by adding a comparator and a D / A converter, it is possible to obtain a pulse of a constant duty without being affected by temperature drift of the encoder output signal. , And the multiplication number can be easily increased.

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

【図1】本発明の第1の実施例のエンコーダ信号処理回
路のブロック図である。
FIG. 1 is a block diagram of an encoder signal processing circuit according to a first embodiment of the present invention.

【図2】図1のエンコーダ信号処理回路の各部の信号の
波形図である。
FIG. 2 is a waveform diagram of signals at various parts of the encoder signal processing circuit of FIG.

【図3】本発明の第2の実施例のエンコーダ信号処理回
路のブロック図である。
FIG. 3 is a block diagram of an encoder signal processing circuit according to a second embodiment of the present invention.

【図4】図3のエンコーダ信号処理回路の各部の信号の
波形図である。
FIG. 4 is a waveform diagram of signals of various parts of the encoder signal processing circuit of FIG.

【図5】エンコーダ信号処理回路の従来例のブロック図
である。
FIG. 5 is a block diagram of a conventional example of an encoder signal processing circuit.

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

101,102 差動増幅器 103,104,113,114 コンパレータ 105,106 サンプル・ホールド回路 107 マルチプレクサ 108 A/Dコンバータ 109 CPU 110,111,115,116 D/Aコンバータ 112,117 逓倍回路 101, 102 Differential amplifier 103, 104, 113, 114 Comparator 105, 106 Sample and hold circuit 107 Multiplexer 108 A / D converter 109 CPU 110, 111, 115, 116 D / A converter 112, 117 Multiplier circuit

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 それぞれエンコーダのA相、B相の出力
信号を差動増幅する第1、第2の差動増幅器と、 第1の差動増幅器の出力信号を第1のコンパレートレベ
ルと比較する第1のコンパレータと、 第2の差動増幅器の出力信号を第2のコンパレートレベ
ルと比較する第2のコンパレータと、 それぞれ第1、第2の差動増幅器の出力信号をサンプル
・ホールドする第1、第2のサンプル・ホールド回路
と、 第1、第2のサンプル・ホールド回路の出力信号を切換
出力するマルチプレクサと、 該マルチプレクサの出力信号をアナログ/ディジタル変
換するA/Dコンバータと、 第1、第2の差動増幅器の出力信号を第1、第2のサン
プル・ホールド回路、前記マルチプレクサ、前記A/D
コンバータを介して一周期以上取り込み、第1、第2の
コンパレートレベルを計算するCPUと、 それぞれ第1、第2のコンパレートレベルをディジタル
/アナログ変換し、第1、第2のコンパレータに出力す
る第1、第2のD/Aコンバータと、 第1、第2のコンパレータの出力信号を入力し、該出力
信号を所定の倍数逓倍したパルス信号を出力する逓倍回
路とを有するエンコーダ信号処理回路。
1. A first differential amplifier and a second differential amplifier for differentially amplifying A-phase and B-phase output signals of an encoder, respectively, and an output signal of the first differential amplifier is compared with a first comparator level. A first comparator, a second comparator for comparing the output signal of the second differential amplifier with a second comparator level, and sample and hold the output signals of the first and second differential amplifiers, respectively. First and second sample and hold circuits, a multiplexer for switching and outputting the output signals of the first and second sample and hold circuits, an A / D converter for analog / digital conversion of the output signals of the multiplexer, Output signals of the first and second differential amplifiers, first and second sample and hold circuits, the multiplexer, and the A / D
A CPU that takes in one or more cycles via a converter and calculates the first and second comparator levels, and performs digital / analog conversion of the first and second comparator levels, respectively, and outputs them to the first and second comparators. An encoder signal processing circuit having first and second D / A converters, and a multiplication circuit which inputs the output signals of the first and second comparators and outputs a pulse signal obtained by multiplying the output signals by a predetermined multiple. .
【請求項2】 第1、第2のコンパレータは複数であ
り、したがって第1、第2のD/Aコンバータも複数で
ある請求項1記載のエンコーダ信号処理回路。
2. The encoder signal processing circuit according to claim 1, wherein there are a plurality of first and second comparators, and therefore a plurality of first and second D / A converters.
JP4211697A 1992-08-07 1992-08-07 Signal processing circuit of encoder Pending JPH0658772A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4211697A JPH0658772A (en) 1992-08-07 1992-08-07 Signal processing circuit of encoder

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4211697A JPH0658772A (en) 1992-08-07 1992-08-07 Signal processing circuit of encoder

Publications (1)

Publication Number Publication Date
JPH0658772A true JPH0658772A (en) 1994-03-04

Family

ID=16610096

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4211697A Pending JPH0658772A (en) 1992-08-07 1992-08-07 Signal processing circuit of encoder

Country Status (1)

Country Link
JP (1) JPH0658772A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2000019282A3 (en) * 1998-09-29 2000-06-08 Siemens Ag Circuit configuration and method for adjusting the switching points of a decision module
DE19544948C2 (en) * 1995-12-01 2002-09-26 Gemac Ges Fuer Mikroelektronik Digital interpolation device with amplitude and zero position control of the input signals
WO2005121809A3 (en) * 2004-06-08 2006-09-28 Schaeffler Kg Method and computer programme for determining operating parameters in a roller bearing and a roller bearing which may be analysed thus
JP2010019676A (en) * 2008-07-10 2010-01-28 Ono Sokki Co Ltd Comparator circuit, encoder, combustion analyzing system, and method for controlling comparator circuit
JP2013036828A (en) * 2011-08-08 2013-02-21 Actron Technology Corp Phase detecting device and method of ac generator

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE19544948C2 (en) * 1995-12-01 2002-09-26 Gemac Ges Fuer Mikroelektronik Digital interpolation device with amplitude and zero position control of the input signals
WO2000019282A3 (en) * 1998-09-29 2000-06-08 Siemens Ag Circuit configuration and method for adjusting the switching points of a decision module
US6462683B2 (en) 1998-09-29 2002-10-08 Infineon Technologies Ag Circuit configuration and method for setting the switching points of a decision maker
WO2005121809A3 (en) * 2004-06-08 2006-09-28 Schaeffler Kg Method and computer programme for determining operating parameters in a roller bearing and a roller bearing which may be analysed thus
US7716018B2 (en) 2004-06-08 2010-05-11 Schaeffler Kg Method and computer program for determining operating parameters in a roller bearing and a roller bearing which may be analyzed
JP2010019676A (en) * 2008-07-10 2010-01-28 Ono Sokki Co Ltd Comparator circuit, encoder, combustion analyzing system, and method for controlling comparator circuit
JP2013036828A (en) * 2011-08-08 2013-02-21 Actron Technology Corp Phase detecting device and method of ac generator

Similar Documents

Publication Publication Date Title
JPH10311741A (en) Output signal processing device of encoder
JPH0658772A (en) Signal processing circuit of encoder
US7460979B2 (en) Method and system for enhanced resolution, automatically-calibrated position sensor
US4660162A (en) Interpolation pulse duration modulated multiplier
JP3326619B2 (en) PWM circuit
US4646321A (en) Interpolation pulse duration modulated adder
US4603425A (en) Interpolation pulse duration modulation circuit
US8531223B2 (en) Signal generator
KR100384173B1 (en) Apparatus and method for high resolution processing of encoder signal for a motor control
JP3365913B2 (en) Position detection device
JPH0658769A (en) Signal processing method and displacement detector using method thereof
JP2847913B2 (en) Analog multiplier
JP2602720Y2 (en) Input circuit of time measuring device
JP2609832B2 (en) Sun sensor signal processing device
SU705464A1 (en) Device for detecting modulus of alternating signal
JPS6318707B2 (en)
JPH0710411Y2 (en) Signal generator
SU1656682A1 (en) Movement-to-digital converter
JPS6331224A (en) Accuracy improvement method for A/D conversion sample values
KR100257511B1 (en) V-seal sebum, f-ji peak detection circuit
JPH0535895B2 (en)
CN113381651A (en) Bus current decomposition circuit, commutation error compensation system and method and motor
JPH0936741A (en) Analog/digital converting circuit
SU1690193A1 (en) Functional converter
SU748442A1 (en) Function generator

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees