JPS6120868A - Speed signal detecting device - Google Patents
Speed signal detecting deviceInfo
- Publication number
- JPS6120868A JPS6120868A JP14200884A JP14200884A JPS6120868A JP S6120868 A JPS6120868 A JP S6120868A JP 14200884 A JP14200884 A JP 14200884A JP 14200884 A JP14200884 A JP 14200884A JP S6120868 A JPS6120868 A JP S6120868A
- Authority
- JP
- Japan
- Prior art keywords
- signal
- bias
- amplitude
- value
- correction
- 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
Links
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01P—MEASURING LINEAR OR ANGULAR SPEED, ACCELERATION, DECELERATION, OR SHOCK; INDICATING PRESENCE, ABSENCE, OR DIRECTION, OF MOVEMENT
- G01P3/00—Measuring linear or angular speed; Measuring differences of linear or angular speeds
- G01P3/42—Devices characterised by the use of electric or magnetic means
- G01P3/44—Devices characterised by the use of electric or magnetic means for measuring angular speed
- G01P3/46—Devices characterised by the use of electric or magnetic means for measuring angular speed by measuring amplitude of generated current or voltage
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Transmission And Conversion Of Sensor Element Output (AREA)
Abstract
Description
【発明の詳細な説明】
(技術分野)
本発明はエンコーダの出力信号から速度信号を作り出す
速度信号検出装置に関する。DETAILED DESCRIPTION OF THE INVENTION (Technical Field) The present invention relates to a speed signal detection device that generates a speed signal from an output signal of an encoder.
(従来技術〕
エンコーダから優られろ正弦波状の信号を微分し合成し
て速度信号を作り出す場合エンコーダからの信号シエ温
度変化、経時変化が大きくて振巾やバイアス値が大きく
変@するため、速度信号が大きく変動してしまう。(Prior art) Better from an encoder When creating a speed signal by differentiating and synthesizing sinusoidal signals, the signal from the encoder undergoes large temperature changes and changes over time, causing large changes in amplitude and bias values. The signal fluctuates significantly.
(目 的)
本発EAハエンコーダからの信号の振巾、バイアス値の
変動による速度信号の変動がない速度信号検出装置を提
供することを目的とする。(Purpose) It is an object of the present invention to provide a speed signal detection device in which the speed signal does not fluctuate due to fluctuations in the amplitude and bias value of the signal from the EA encoder.
(構 成)
本発明はエンコーダからの正弦波状信号を微分して合成
することにより速度信号を検出する速度信号検出装置に
おいてバイアス補正手段と振巾補正手段を設けたもので
ある。このバイアス補正手段と振巾補正手段シ工上記正
弦波状信号をアナログ/デジタル変換して演算手段によ
り加算及び減算をし、その減算結果に比例したデユーテ
ィ比を有す 。(Structure) The present invention provides a speed signal detection device that detects a speed signal by differentiating and synthesizing sinusoidal signals from an encoder, which is provided with bias correction means and amplitude correction means. The bias correction means and the amplitude correction means perform analog/digital conversion of the sinusoidal signal and perform addition and subtraction using the arithmetic means, and have a duty ratio proportional to the result of the subtraction.
るパルス列をパルス列発生手段で発生させて平滑化手段
で平滑化する。そしてこの平滑化手段の出力信号を上記
正弦波状信号に対する振巾補正の前又は後で且つ速度信
号演出の処理の前又は後の信号に加算することによりバ
イアス補正を行う。また上記演算手段の加算結果に反比
例したデユーティ比を有するパルス列をパルス列発生手
段で発生させ、このパルス列により上記正弦波状信号に
対するバイアス補正の前又は後で速度信号検出の処理の
前又は後の信号をオン、オフし平滑化して振巾補正を行
う。A pulse train is generated by a pulse train generating means and smoothed by a smoothing means. Bias correction is performed by adding the output signal of this smoothing means to the signal before or after the amplitude correction for the sinusoidal signal and before or after the speed signal rendering process. Further, the pulse train generating means generates a pulse train having a duty ratio inversely proportional to the addition result of the arithmetic means, and the pulse train generates a signal before or after bias correction for the sinusoidal signal and before or after speed signal detection processing. Turn on and off to smooth and perform amplitude correction.
エンコーダから得られる正弦波状信号が第4図に示すよ
うに+L0の振巾筒と■のバイアス値を持っていた場合
これらの値はこの信号の正、負のピーク値■、■を検出
すればその和および差から知ることができる。すなわち
■−(■+■)/2
■−(O−■)/2
となる。エンコーダから得られる信号から上式で波信号
が得られろ。If the sinusoidal signal obtained from the encoder has an amplitude range of +L0 and a bias value of ■ as shown in Figure 4, these values can be determined by detecting the positive and negative peak values ■ and ■ of this signal. It can be determined from the sum and difference. That is, ■-(■+■)/2 ■-(O-■)/2. A wave signal can be obtained from the signal obtained from the encoder using the above formula.
第1図は上述の原理にて振巾補正及びバイアス補正を行
う本発明の一美施例な示し、第2図はその各部の信号を
示す。一般に回転エンコーダであれば回転方向、リニア
エンコーダであれば逆打方向を演出するために90°位
相の異なる2つの信号A、Bをエンコーダからとり出す
ことが多く、この実施例はこの場合についての例である
。FIG. 1 shows an embodiment of the present invention that performs amplitude correction and bias correction based on the above-mentioned principle, and FIG. 2 shows signals of various parts thereof. In general, two signals A and B with a 90° phase difference are often extracted from the encoder in order to produce a rotating direction in the case of a rotary encoder and a reverse direction in the case of a linear encoder.This embodiment deals with this case. This is an example.
エンコーダからの2つの正弦波状信号A、B&’!ソレ
ソれゼロクロスコンパレータZCA、ZCB によっ
てOVで2値化さ詐て符号が検出されるとともに、極性
切換増幅器PA、PBによって絶対値化されろ。この極
性切換増幅器PA、PB の出力信号C1dはスイッチ
SA、SBにより時分割でアナログ/デジタル変換器A
/D に入力されて“アナログ/デジタル変換され、マ
イクロプロセッサμPに送うレる。マイクロプロセッサ
μP シxノくルスfをスイッチSBに直接に加えると
同時にインノく一タN1を介してスイッチSAに加えて
スイッチSA、SBヲ交互にオンさせ、アナログ/デジ
タル変換器A/D の出力信号及びゼロクロヌコンノ<
I/−タZCA、ZCB の出力信号a、bから谷波
形A、Bについてピーク値■、■を検出して振巾■とバ
イアス(直■を前述の式で演算し、これから)くイ7ス
補正値(−■)と振巾補正値■/■を各正弦波信号A、
Hについ℃演算してノ(ルス巾変調器pWMIA。Two sinusoidal signals A, B&'! from the encoder. The false code that is binarized in OV is detected by zero-cross comparators ZCA and ZCB, and converted into absolute values by polarity switching amplifiers PA and PB. The output signal C1d of the polarity switching amplifiers PA and PB is sent to the analog/digital converter A in time division by the switches SA and SB.
/D is converted into an analog/digital signal and sent to the microprocessor μP. In addition, the switches SA and SB are turned on alternately, and the output signal of the analog/digital converter A/D and the zero clock signal are
Detect the peak values ■ and ■ for the valley waveforms A and B from the output signals a and b of the I/-tactors ZCA and ZCB, and calculate the amplitude ■ and bias (direction ■ using the above formula, and calculate from this).7. For each sine wave signal A,
℃ calculation for H (Lusse width modulator pWMIA.
PWMZA、PWinIB、PWM2Bに送る。Send to PWMZA, PWinIB, and PWM2B.
バイアス補正に関するパルス巾変調器PWM2A。Pulse width modulator PWM2A for bias correction.
P’WM2BはマイクロプロセッサμP力)ら0)各波
形A、Bに対するバイアス、補正(直(−■、)でノ(
ルス巾変調されてこの)(イ7ス補正値に各々比flJ
したデユーティ比を有するノクルス列g、hを出力し
。P'WM2B is the microprocessor μP power) and 0) Bias and correction for each waveform A and B (directly (-■,) and
The las width is modulated and the ratio flJ is
Output the Noculus sequences g and h having the duty ratio.
このパルス列g 、’ h ’t’L)(イアス補正値
の符号によって正又は負になり、それぞれロー)くスフ
イルタLPFA、LPFBによって平滑化されてアナロ
グ信号’+Jとなる。このアナログ信号i 、 jfJ
″−もとの正弦波状信号A、BK7]11算回路Σl、
Σ2でカロ算されろことによりノ(イアス補正カーなさ
れて)(イアスずれのない信号に、tが得られる。The pulse trains g,'h't'L) (which are positive or negative depending on the sign of the Iass correction value, and are respectively low) are smoothed by filters LPFA and LPFB to become an analog signal '+J. This analog signal i, jfJ
″-original sine wave signal A, BK7] 11 arithmetic circuit Σl,
By performing a calculation using Σ2, t is obtained as a signal with no ias deviation.
振巾補正に関するノクルス巾変調器PWtJIA 、
PvVjv![IB1!マイクロプロセッサμP力)ら
σつ各波形A。Noculus width modulator PWtJIA regarding amplitude correction,
PvVjv! [IB1! Microprocessor μP power) and σ each waveform A.
Bに対する振巾補正値■/■で・くルス巾変調され、て
このバイアス補正値に各宜比例したデユーティ比を有す
るパルス列m 、 nを出力し、このノ(パルス列m
、 n ′LsインバータN2.N3で反転されてデユ
ーティ比がバイアス補正随に反比例することになる。ス
イッチS2A、82B はイン/く一タN2.N3か
らのパルス列により開閉して加算回路Σ1.Σ2の出力
信号に、tをオン、オフすることによりこの信号に、1
97パルス巾変調し、スイッチS2A。The pulse width is modulated by the amplitude correction value ■/■ for B and has a duty ratio proportional to the bias correction value of the lever.
, n'Ls inverter N2. It is inverted at N3 and the duty ratio becomes inversely proportional to the bias correction. Switches S2A and 82B are input/output terminals N2. The adder circuit Σ1 is opened and closed by the pulse train from N3. By turning t on and off for the output signal of Σ2, this signal becomes 1.
97 pulse width modulation, switch S2A.
82B の出力信号0.PはローパスフィルタL P
F2A、LPF2Bにより平滑化されて変調周波数成
分がとり除かれ、バイアス補正及び振巾補正がなされた
信号q、rとなる。82B output signal 0. P is a low-pass filter L P
The signals q and r are smoothed by F2A and LPF2B to remove modulation frequency components, and subjected to bias correction and amplitude correction.
以後の信号は第3図に示す通りであり、ローパス7 イ
ルタLPF2A、LPF2B の出力信号q、rシマ
ゼロクロスコンパレータZC2A、ZC2B KよりO
vで2値化されるとともに、微分器D’A、DBで微分
されて極性切換増巾器P2A、P2B で絶対値化され
、加算回路Σ3で加算されて速度信号yとなる。このよ
うにして得られる速度信号yはエンコーダから出力され
る正弦波状信号A、Bの振巾やバイアス値が変動しても
安定したものとなる。The subsequent signals are as shown in FIG.
The signal is binarized by v, differentiated by differentiators D'A and DB, converted to absolute values by polarity switching amplifiers P2A and P2B, and added by addition circuit Σ3 to form a speed signal y. The speed signal y obtained in this manner remains stable even if the amplitude and bias value of the sinusoidal signals A and B output from the encoder vary.
上記実施例では微分器DA、DB以前で行ったが、加算
回路Σ3より出力される速度信号yに対して行ってもよ
い。また微分器DA、DBの人力はバイアス補正を行っ
た信号であったが、バイアス補正を行う前の信号であっ
てもよい。つまり■加算回路Σ1.Σ2によるバイアス
補正、■スイッチS2A。In the above embodiment, the process is performed before the differentiators DA and DB, but it may also be performed for the speed signal y output from the adder circuit Σ3. Further, although the manual input of the differentiators DA and DB was a signal that has been subjected to bias correction, it may be a signal that has not been subjected to bias correction. In other words, ■Addition circuit Σ1. Bias correction by Σ2, ■Switch S2A.
82B 及びローパスフィルタLPF’2A、LPF2
8による振巾補正、■微分器DA、DB、ゼロクロスコ
ンパレータZC2A、ZC2B 、極性切換増巾器P2
A、P2B 及び加算回路Σ3 による速度信号の検出
は上記実施例では■→■→■の順番で行ったが、他の順
番■→■→■、■→■→■、■→■→■、■→■→■、
■→■→■のいずれかで行うようにしてもよい。82B and low-pass filter LPF'2A, LPF2
Amplitude correction by 8, ■Differentiators DA, DB, zero cross comparators ZC2A, ZC2B, polarity switching amplifier P2
In the above embodiment, the detection of the speed signal by A, P2B and the adder circuit Σ3 was performed in the order of ■→■→■, but other orders such as ■→■→■, ■→■→■, ■→■→■, ■→■→■,
It is also possible to perform one of ■→■→■.
(効 果)
以上のように本発明によればエンコーダからの正弦波状
信号から速度信号を作り出す速度信号検出装置において
、上記正弦波状信号の振巾変動、バイア°スずれを補正
するので、エンコーダからの信号の振巾変動、バイアス
ずれによる速度信号の変動をなくすことができろ。(Effects) As described above, according to the present invention, in a speed signal detection device that generates a speed signal from a sinusoidal signal from an encoder, amplitude fluctuations and bias deviations of the sinusoidal signal are corrected, so that It is possible to eliminate amplitude fluctuations in the signal and fluctuations in the speed signal due to bias deviation.
第1図は本発明の一実施例を示すブロック図、第2図及
び第3図は同実施例の各部の信号波形を示す波形図、第
4図は同実施例の補正原理を説明する図である。
PA、PB、P2.A、P2B・・・極性切換増巾器、
ZCA、ZCB、ZC2A、Z02B・・・ゼロクロス
コンパレータ、SA、SB、S2A、82B・・・スイ
ッチ、A/D・・・アナログ/デジタル変換器、μP・
・・マイクロプロセラf、PWMIA−P’WM2B・
・・ノクルス巾変調器、LPFA、LPFB、LPF2
A、LPF2B・・・ ローパスフィルタ、Σ1〜Σ3
・・・加’MF 回路、N1−N3・・・インノ(−タ
、DA、DB・・・微分器。
悌1図
勿2図
(θ)
p゛
傭 2 図
(b>
Ml、 JUUULAL−−−−−−−ル へ〜■几
)−一”−−−−
ゝ’−,−−/”
γ0っ/ど二\8工。Fig. 1 is a block diagram showing an embodiment of the present invention, Figs. 2 and 3 are waveform diagrams showing signal waveforms of various parts of the embodiment, and Fig. 4 is a diagram explaining the correction principle of the embodiment. It is. PA, PB, P2. A, P2B...Polarity switching amplifier,
ZCA, ZCB, ZC2A, Z02B...Zero cross comparator, SA, SB, S2A, 82B...Switch, A/D...Analog/digital converter, μP・
・MicroProcera f, PWMIA-P'WM2B・
...Noculus width modulator, LPFA, LPFB, LPF2
A, LPF2B...Low pass filter, Σ1 to Σ3
...additional MF circuit, N1-N3...inno(-ta, DA, DB...differentiator.) −−−−−ru to~■几)−1”−−−− ゝ'−,−−/” γ0/douji\8k.
Claims (1)
により速度信号を検出し、この検出の処理の前又は後で
前記正弦波状信号のバイアス値に対応したバイアス補正
を行ない、このバイアス補正の前又は後で且つ前記検出
の処理の前又は後で前記正弦波状信号の振巾変動分に対
応した振巾補正を行う速度信号検出装置であって、前記
正弦波状信号をアナログ/デジタル変換する手段と、こ
の手段の出力信号の加算及び減算をする演算手段と、こ
の演算手段の加算結果に反比例したデューティ比を有す
るパルス列を発生する第1のパルス列発生手段と、前記
演算手段の減算結果に比例したデューティ比を有するパ
ルス列を発生する第2のパルス列発生手段と、この第2
のパルス列発生手段からのパルス列を平滑化する手段と
、この手段の出力信号を前記正弦波状信号に対する前記
振巾補正の前又は後で且つ前記検出の処理の前又は後の
信号に加算して前記バイアス補正を行う加算手段と、前
記第1のパルス列発生手段からのパルス列により前記正
弦波状信号に対する前記バイアス補正の前又は後で且つ
前記検出の処理の前又は後の信号をオン、オフし平滑化
して前記振巾補正を行う手段とをバイアス補正手段及び
振巾補正手段として有することを特徴とする速度信号検
出装置。A velocity signal is detected by differentiating and synthesizing the sinusoidal signal from the encoder, and before or after this detection processing, bias correction corresponding to the bias value of the sinusoidal signal is performed, and before or after this bias correction. A speed signal detection device that performs amplitude correction corresponding to amplitude variation of the sinusoidal signal after and before or after the detection processing, and means for converting the sinusoidal signal from analog to digital; an arithmetic means for adding and subtracting output signals of the arithmetic means; a first pulse train generating means for generating a pulse train having a duty ratio inversely proportional to the addition result of the arithmetic means; a second pulse train generating means for generating a pulse train having a ratio;
means for smoothing the pulse train from the pulse train generating means; and adding the output signal of this means to the signal before or after the amplitude correction for the sinusoidal signal and before or after the detection process, Adding means for performing bias correction and a pulse train from the first pulse train generating means turn on/off and smooth the signal before or after the bias correction for the sinusoidal signal and before or after the detection processing. A speed signal detection device characterized in that it has means for performing the amplitude correction as bias correction means and amplitude correction means.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP14200884A JPS6120868A (en) | 1984-07-09 | 1984-07-09 | Speed signal detecting device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP14200884A JPS6120868A (en) | 1984-07-09 | 1984-07-09 | Speed signal detecting device |
Publications (1)
Publication Number | Publication Date |
---|---|
JPS6120868A true JPS6120868A (en) | 1986-01-29 |
Family
ID=15305229
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP14200884A Pending JPS6120868A (en) | 1984-07-09 | 1984-07-09 | Speed signal detecting device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS6120868A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS63154916A (en) * | 1986-12-19 | 1988-06-28 | Sony Corp | Method for adjusting position sensor |
US5724035A (en) * | 1996-03-29 | 1998-03-03 | Mitsubishi Denki Kabushiki Kaisha | Method of correcting signals for encoder and apparatus for same |
-
1984
- 1984-07-09 JP JP14200884A patent/JPS6120868A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS63154916A (en) * | 1986-12-19 | 1988-06-28 | Sony Corp | Method for adjusting position sensor |
US5724035A (en) * | 1996-03-29 | 1998-03-03 | Mitsubishi Denki Kabushiki Kaisha | Method of correcting signals for encoder and apparatus for same |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPS59144396A (en) | PWM pulse generator | |
JPS6120868A (en) | Speed signal detecting device | |
JP2592603B2 (en) | D / A converter | |
US3761916A (en) | Analog to digital converter | |
JP2847913B2 (en) | Analog multiplier | |
JPH06178550A (en) | VVVF inverter current controller | |
JPS6038660A (en) | Ripple removal of dc signal | |
JPS6340867A (en) | Amplitude value operation apparatus | |
JPS6046885B2 (en) | Phase detection method | |
JPS6331224A (en) | Accuracy improvement method for A/D conversion sample values | |
JPS6029685Y2 (en) | totalizer | |
JPH02129552A (en) | Velocity detector | |
JPH04150111A (en) | D/a conversion method | |
SU549748A1 (en) | Current Variable Voltage Inverter to Constant | |
JP2689712B2 (en) | PWM conversion circuit | |
JPH0644307Y2 (en) | Sync signal detector | |
SU1349006A1 (en) | A.c.balance-modulated signal-to-code converter | |
JPS63210620A (en) | Synchronous resolver/digital converter | |
SU817896A1 (en) | Thyratron electric motor | |
JPH08140265A (en) | Harmonic detection circuit | |
JPS5829531B2 (en) | Digital Shinpuku Henchyou Houshiki | |
SU734607A1 (en) | Digital follow-up drive | |
SU997064A2 (en) | Displacement-to-code converter | |
SU765847A1 (en) | Shaft angular position-to-code converter | |
JPH0418814A (en) | Method and device for detecting digital lock-in |