JPH05322909A - Rotation speed detector - Google Patents
Rotation speed detectorInfo
- Publication number
- JPH05322909A JPH05322909A JP13087092A JP13087092A JPH05322909A JP H05322909 A JPH05322909 A JP H05322909A JP 13087092 A JP13087092 A JP 13087092A JP 13087092 A JP13087092 A JP 13087092A JP H05322909 A JPH05322909 A JP H05322909A
- Authority
- JP
- Japan
- Prior art keywords
- phase
- speed
- pulses
- pulse
- encoder
- 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
Landscapes
- Transmission And Conversion Of Sensor Element Output (AREA)
Abstract
(57)【要約】
【目的】 エンコーダのばらつきによる速度検出のばら
つきを最小限にすること。
【構成】 複数相の回転角を検出する複数個のセンサ
と、各センサからの各相検出パルスのうち、A相の検出
パルスを1逓倍して正転/逆転パルス1を作成する逓倍
位相変換回路3と、正転/逆転パルス1間の定周期サン
プリングパルス8の数をカウントして速度検出する速度
検出カウンタ7とを具える。
(57) [Summary] [Purpose] Minimize speed detection variations due to encoder variations. A plurality of sensors for detecting rotation angles of a plurality of phases, and a multiplication phase conversion for generating a forward / reverse rotation pulse 1 by multiplying the A phase detection pulse among the phase detection pulses from each sensor by 1. The circuit 3 and the speed detection counter 7 for detecting the speed by counting the number of fixed-cycle sampling pulses 8 between the forward / reverse rotation pulse 1 are provided.
Description
【0001】[0001]
【産業上の利用分野】この発明は、エンコーダを使用し
た回転速度検出装置に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a rotation speed detecting device using an encoder.
【0002】[0002]
【従来の技術】分解能の高いエンコーダは価格も高く、
ある程度安価なエンコーダで同様の位置検出の精度を得
ようとする場合、エンコーダを2又は4逓倍して使用す
るのが普通である。4逓倍の方法として図2のようにA
相,B相のセンサからのパルスの立ち上がり,立ち下が
りエッヂより逓倍位相変換回路31によって正転/逆転
パルス32を生成する。このパルス32を位置検出カウ
ンタ61によって読み取ることにより位置検出を行う。
速度検出は速度検出カウンタ71において、正転/逆転
パルス32間(とパルス間)にサンプリング周波数
f〔Hz〕にて定周期パルス8を入力し、カウントする
ことで速度を算出する。この時の定周期パルスのカウン
ト数n〔PLS〕とすれば、速度=f/n〔PLS/s
ec〕で表せる。2. Description of the Related Art Encoders with high resolution are expensive and
In order to obtain the same position detection accuracy with an inexpensive encoder, it is common to use the encoder by multiplying it by 2 or 4. As a method of quadrupling, as shown in FIG.
The forward / reverse rotation pulse 32 is generated by the multiplication phase conversion circuit 31 from the rising and falling edges of the pulses from the phase and B phase sensors. The position detection is performed by reading the pulse 32 with the position detection counter 61.
For speed detection, the speed detection counter 71 inputs the constant period pulse 8 at the sampling frequency f [Hz] between (and between) the forward / reverse rotation pulses 32, and counts to calculate the speed. If the count number of the fixed-cycle pulse at this time is n [PLS], speed = f / n [PLS / s
ec].
【0003】[0003]
【発明が解決しようとする課題】エンコーダの構造は図
3ののように回転体12(モータ等に設けられてい
る)の円周に沿って等間隔にスリット(透過孔)13を
形成し、光源9からの光をスリット13を通して受ける
位置にA相用およびB相用のセンサ10および11を設
けたものであって、A相とB相のセンサ10,11間に
ズレを作り、90°の位相差をもたせている。本来図3
ののA相,B相のセンサ10,11からの検出パルス
より図3ののような等間隔な正転(逆転)パルス4を
回路上作成する。しかし実際のエンコーダのA相−B相
の検出パルス間の位相差は90°になっておらず、精度
の低いものだと30%近くものずれがある(図4の
)。そのため図4ののように正転(逆転)パルス4
1間にバラツキが生じ、これから生成する速度にもバラ
ツキが生じるという問題点があった。したがって、結果
として目標とする速度でモータを回転しようとしている
にもかかわらず、目標からずれた速度であると認識し、
目標からずれた運転を行ってしまう。As shown in FIG. 3, the structure of the encoder is such that slits (transmission holes) 13 are formed at equal intervals along the circumference of the rotating body 12 (provided in the motor or the like), The sensors 10 and 11 for the A phase and the B phase are provided at a position where the light from the light source 9 is received through the slit 13, and a gap is created between the A phase and the B phase sensors 10 and 11 to form 90 °. Has a phase difference of. Originally 3
Based on the detection pulses from the A-phase and B-phase sensors 10 and 11, the normal rotation (reverse rotation) pulses 4 as shown in FIG. However, the phase difference between the A-phase and B-phase detection pulses of the actual encoder is not 90 °, and if the accuracy is low, there is a deviation of nearly 30% (Fig. 4). Therefore, the forward (reverse) pulse 4 as shown in FIG.
There is a problem in that there is variation between the two and the rate of generation from this also varies. Therefore, as a result, despite trying to rotate the motor at the target speed, it is recognized that the speed deviates from the target,
You will drive out of your goal.
【0004】理想とするA相−B相間の位相差(周期)
T0 実際のエンコーダの位相ずれ±α(0≦α≦1.0) サンプリングパルス周波数f(この時のサンプリングパ
ルス数はそれぞれf・T0 ,(1±α)f・T0 ) 理想とする位相差の時検出される速度=f/n=f/f
T0 =1/T0 実際のエンコーダの時検出される速度=f/n=f/
(1±α)・f・T0 =1/1±α・1/T0 α=±20%の時、実際の速度は理想値100%に対し
て、83%〜125%の値をとる。Ideal phase difference between A and B phases (cycle)
T 0 Actual encoder phase shift ± α (0 ≦ α ≦ 1.0) Sampling pulse frequency f (the number of sampling pulses at this time is f · T 0 , (1 ± α) f · T 0 ) Ideal Speed detected at phase difference = f / n = f / f
T 0 = 1 / T 0 Detected speed in actual encoder = f / n = f /
When (1 ± α) · f · T 0 = 1/1 ± α · 1 / T 0 α = ± 20%, the actual speed takes a value of 83% to 125% with respect to the ideal value of 100%. ..
【0005】そこで本発明の目的は以上のような問題を
解消した回転速度検出装置を提供することにある。Therefore, an object of the present invention is to provide a rotation speed detecting device which solves the above problems.
【0006】[0006]
【課題を解決するための手段】エンコーダのもつバラツ
キは基本的にはA相−B相間だけであり、A相から次の
A相(B相から次のB相)間に於てはほとんどバラツキ
をもたない。また、A相の入力後次のA相が入力されな
ければ停止している(速度=0)と見なすことができる
という2点に着眼し、演算を行うことによってエンコー
ダのもつバラツキを無視することができるという知見に
基づいて本発明はなされたものであって、複数相の回転
角を検出する複数個のセンサと、該各センサからの各相
検出パルスのうち、いずれか1相の検出パルスを逓倍し
て正転/逆転パルスを作成する手段と、前記正転/逆転
パルス間の定周期サンプリングパルス数をカウントして
速度検出する手段とを具えたことを特徴とする。Basically, the variation of the encoder is only between the A phase and the B phase, and there is almost no variation between the A phase and the next A phase (B phase to the next B phase). Don't have Also, pay attention to the two points that it can be regarded as stopped (speed = 0) if the next A phase is not input after the input of the A phase, and ignore the variation of the encoder by performing the calculation. The present invention has been made based on the finding that it is possible to provide a plurality of sensors for detecting rotation angles of a plurality of phases, and a detection pulse of any one phase among the phase detection pulses from each sensor. And a means for generating a forward / reverse rotation pulse and a means for detecting the speed by counting the number of fixed-cycle sampling pulses between the forward / reverse rotation pulses.
【0007】[0007]
【作用】本発明によれば、エンコーダの位相の絶対にば
らつかない部分、例えばA相から次のA相間(またはB
相〜次のB相間)でサンプリングを行い、A相−B相間
であたかもサンプリングしたかのように演算を行い速度
検出する。According to the present invention, there is absolutely no variation in the encoder phase, for example, between the A phase and the next A phase (or B phase).
Sampling is performed between the phase and the next B phase), and the calculation is performed between the A phase and the B phase as if the sampling was performed to detect the speed.
【0008】[0008]
【実施例】以下、図面を参照して本発明の実施例を詳細
に説明する。Embodiments of the present invention will now be described in detail with reference to the drawings.
【0009】図1のようにA相およびB相の各センサか
らの検出パルスを逓倍位相変換回路3に入力し、そこ
で、両入力パルスから4逓倍した正転/逆転パルス1
と、A相検出パルスのみ1逓倍した正転/逆転パルス2
とを作成する。位置検出カウンタ6には4逓倍したパル
ス1を入力し、位置検出を行い、速度検出カウンタ7に
は1逓倍したパルス2および定周期パルス8を入力す
る。このパルス8のパルス2間のサンプリング数をカウ
ンタ7によってカウントし、速度検出する。As shown in FIG. 1, the detection pulses from the A-phase and B-phase sensors are input to a multiplication phase conversion circuit 3, where the forward / reverse rotation pulse 1 is multiplied by 4 from both input pulses.
And the forward / reverse rotation pulse 2 which is obtained by multiplying only the A phase detection pulse by 1.
And create. The pulse 1 multiplied by 4 is input to the position detection counter 6 to detect the position, and the pulse 2 and the fixed period pulse 8 which are multiplied by 1 are input to the speed detection counter 7. The number of samplings between the pulses 2 of the pulse 8 is counted by the counter 7 to detect the speed.
【0010】サンプリング周波数f,サンプリングパル
ス数n′とすると、 速度=f/(n′/4)=4f/n′ この時のサンプリングパルス数はA相から次のA相まで
のパルス数である。When the sampling frequency is f and the number of sampling pulses is n ', the speed is f / (n' / 4) = 4f / n 'The number of sampling pulses at this time is the number of pulses from the A phase to the next A phase. ..
【0011】A相から次のA相までの周期を4T0 と考
えると、n′=4f・T0 実際のエンコーダから検出される速度=4f/f・4T
0 =1/T0 となる。Considering the period from the A phase to the next A phase as 4T 0 , n ′ = 4f · T 0 Velocity detected from an actual encoder = 4f / f · 4T
0 = 1 / T 0 .
【0012】つまり理想とする位相差の時に検出される
速度と一致する。A相−B相間のずれ20%のエンコー
ダに本発明を適用したものがA相−B相間のずれ5%の
エンコーダを使用した従来例と同等の速度制御を達成で
きることが確認されている。That is, it matches the speed detected at the ideal phase difference. It has been confirmed that the encoder to which the present invention is applied to the encoder having the 20% shift between the A phase and the B phase can achieve the same speed control as the conventional example using the encoder having the 5% shift between the A phase and the B phase.
【0013】[0013]
【発明の効果】以上説明したように本発明によれば、エ
ンコーダのばらつきによる速度検出のばらつきを最小限
にすることができる。As described above, according to the present invention, it is possible to minimize variations in speed detection due to variations in encoders.
【図1】本発明の実施例を説明する図である。FIG. 1 is a diagram illustrating an example of the present invention.
【図2】従来例を説明する図である。FIG. 2 is a diagram illustrating a conventional example.
【図3】エンコーダの動作を説明する図である。FIG. 3 is a diagram illustrating an operation of an encoder.
【図4】実際のエンコーダにおける動作パルスを示す図
である。FIG. 4 is a diagram showing operation pulses in an actual encoder.
1 逓倍位相変換回路 6 位置検出カウンタ 7 速度検出カウンタ 1 Multiplying phase conversion circuit 6 Position detection counter 7 Speed detection counter
Claims (1)
サと、 該各センサからの各相検出パルスのうち、いずれか1相
の検出パルスを逓倍して正転/逆転パルスを作成する手
段と、 前記正転/逆転パルス間の定周期サンプリングパルス数
をカウントして速度検出する手段とを具えたことを特徴
とする回転速度検出装置。1. A plurality of sensors for detecting rotation angles of a plurality of phases, and a detection pulse of any one phase among the detection pulses of each phase from the respective sensors is multiplied to generate a forward / reverse rotation pulse. A rotation speed detecting device comprising: a means and a means for detecting the speed by counting the number of constant-cycle sampling pulses between the forward / reverse rotation pulses.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP13087092A JPH05322909A (en) | 1992-05-22 | 1992-05-22 | Rotation speed detector |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP13087092A JPH05322909A (en) | 1992-05-22 | 1992-05-22 | Rotation speed detector |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH05322909A true JPH05322909A (en) | 1993-12-07 |
Family
ID=15044626
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP13087092A Pending JPH05322909A (en) | 1992-05-22 | 1992-05-22 | Rotation speed detector |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH05322909A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100460592B1 (en) * | 2002-08-22 | 2004-12-09 | 삼성전자주식회사 | Motor speed control apparatus |
WO2010147046A1 (en) * | 2009-06-19 | 2010-12-23 | Ntn株式会社 | Rotation detection device and bearing fitted with rotation detection device |
JP2016112759A (en) * | 2014-12-15 | 2016-06-23 | 株式会社名機製作所 | Control method of injection molding machine, and the injection molding machine |
-
1992
- 1992-05-22 JP JP13087092A patent/JPH05322909A/en active Pending
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100460592B1 (en) * | 2002-08-22 | 2004-12-09 | 삼성전자주식회사 | Motor speed control apparatus |
WO2010147046A1 (en) * | 2009-06-19 | 2010-12-23 | Ntn株式会社 | Rotation detection device and bearing fitted with rotation detection device |
JP2011002357A (en) * | 2009-06-19 | 2011-01-06 | Ntn Corp | Rotation detection device and bearing fitted with rotation detection device |
CN102803904A (en) * | 2009-06-19 | 2012-11-28 | Ntn株式会社 | Rotation Detection Device And Bearing Fitted With Rotation Detection Device |
US9234908B2 (en) | 2009-06-19 | 2016-01-12 | Ntn Corporation | Rotation detecting device and bearing equipped with rotation detecting device |
JP2016112759A (en) * | 2014-12-15 | 2016-06-23 | 株式会社名機製作所 | Control method of injection molding machine, and the injection molding machine |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPS62162968A (en) | speed detection device | |
JPH0627653B2 (en) | Position and speed detection method and device | |
US9692341B2 (en) | Apparatus for detecting speed of motor | |
JPS5913957A (en) | Speed detecting circuit | |
JPH05322909A (en) | Rotation speed detector | |
EP0078854A1 (en) | Speed detecting device | |
JPH0565827B2 (en) | ||
JPH0835857A (en) | Method for detecting angle of rotation | |
JP3596942B2 (en) | Speed detector | |
JP3860324B2 (en) | Motor speed control device | |
JPH061279B2 (en) | Digital speed detector | |
JP2941790B1 (en) | Pulse counter | |
JP3050027B2 (en) | Encoder pulse count circuit | |
JP3449177B2 (en) | Position detection device with incremental encoder | |
JP6841690B2 (en) | Vehicle speed measurement system | |
US4689539A (en) | Speed detecting device | |
JPH049266B2 (en) | ||
JP2523207Y2 (en) | Speed detector | |
JP3320454B2 (en) | Motor position control device and motor position control method | |
JP3228050B2 (en) | Rotation angle detection method | |
JPH0725698Y2 (en) | Rotating machine speed detector | |
JP3248209B2 (en) | Position detection method | |
JPS6227036Y2 (en) | ||
JPS6247717A (en) | Digital servo control system | |
JPH06230019A (en) | Position/speed detecting circuit |