JPS6029070B2 - rotation speed detector - Google Patents
rotation speed detectorInfo
- Publication number
- JPS6029070B2 JPS6029070B2 JP55097354A JP9735480A JPS6029070B2 JP S6029070 B2 JPS6029070 B2 JP S6029070B2 JP 55097354 A JP55097354 A JP 55097354A JP 9735480 A JP9735480 A JP 9735480A JP S6029070 B2 JPS6029070 B2 JP S6029070B2
- Authority
- JP
- Japan
- Prior art keywords
- rotational speed
- memory
- written
- clock count
- address
- 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.)
- Expired
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/48—Devices characterised by the use of electric or magnetic means for measuring angular speed by measuring frequency of generated current or voltage
- G01P3/481—Devices characterised by the use of electric or magnetic means for measuring angular speed by measuring frequency of generated current or voltage of pulse signals
- G01P3/489—Digital circuits therefor
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Linear Or Angular Velocity Measurement And Their Indicating Devices (AREA)
- Measuring Frequencies, Analyzing Spectra (AREA)
- Control Of Electric Motors In General (AREA)
Description
【発明の詳細な説明】
本発明は回転軸にェンコーダを取付けたデジタル式の回
転速度検出器に関する。DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a digital rotational speed detector in which an encoder is attached to a rotating shaft.
近年、速度発電機等アナログ方式のものに変えてデジタ
ル形の回転速度検出器が盛んに用いられつつあるが、そ
の最も代表的なものはェンコーダからの出力パルス列を
F/V変換して電圧信号に変換することが、一定サンプ
ル期間のクロックパルスを積算するなどあるいはレート
・マルチ素子を用いて逆数化演算する方式等があるが、
前者のパルスを積算する方式のものは瞬時応答に問題が
あり後者の逆数化演算方式は回路が煩雑で精度も出なく
またしンジ切替を必要とする。In recent years, digital rotation speed detectors have been increasingly used in place of analog systems such as speed generators, but the most typical one is a voltage signal obtained by F/V converting the output pulse train from an encoder. There are methods such as integrating clock pulses over a fixed sample period or reciprocal calculation using a rate multi-element.
The former method that integrates pulses has a problem with instantaneous response, and the latter reciprocal calculation method has a complicated circuit, lacks precision, and requires digital switching.
本発明はヱンコーダ使用の回転速度検出器に係り上記種
々難点の解消を図り応答時間の早いかつ簡易の構成の速
度検出器を提供するもので、以下図示する実施例により
具体的に説明する。The present invention relates to a rotational speed detector using an encoder, and is an object of the present invention to solve the above-mentioned various problems and provide a speed detector with a quick response time and a simple structure.
第1図、第2図に本発明原理を説明するためのタイムチ
ャート、グラフを示す。FIGS. 1 and 2 show time charts and graphs for explaining the principle of the present invention.
第1図のタイムチャートはイがェンコーダ出力で周期T
のティース波形であり1回転N個のティース部を提供す
る。同図口はクロック波形で的周波数のパルス列からな
る。このイ,口両波形より回転速度Vの〔rpm〕、ェ
ンコーダ出力N個〔個/周〕クロック周波数の〔Hz〕
、クロックカウント数Nxの関係を求めると、T=,/
器xN=等 .・・.・・.・・‘1)従って、回転
速度Vのとェンコーダ出力周期T間のクロックカゥント
数Nxとの間はVのi・/毒×N子‐叢側‐・・・‐‐
‐・・【21が成立する。The time chart in Figure 1 shows that I is the encoder output and the period is T.
It has a tooth waveform of 1 and provides N teeth portions per rotation. The figure shows a clock waveform consisting of a pulse train at a target frequency. From these waveforms, the rotational speed V [rpm], the encoder output N pieces [pieces/period], and the clock frequency [Hz]
, the relationship between the clock count number Nx is found as T=,/
vessel xN=etc.・・・.・・・. ...'1) Therefore, the difference between the rotational speed V and the clock count number Nx during the encoder output period T is V's i//Poison x N-Plexus side--
-...[21 holds true.
第2図のグラフは回転速度Vの〔rpm〕を縦軸に、ク
ロックカゥント数Nxを横軸にとり■式を表したもので
、例えばNx=Aを力ウントすればVの=Bを割り出す
ことができ、アドレスにクロックカウント数Nxを、デ
ータに回転速度Vのを書込んだNx−Vのテーブルより
回転速度V■の読出しが可能である。ところが、このN
x−Vのテーブル論出方法の場合、被検出速度が低く回
転速度V■の4・さいところでは(例、第2図Q点)ク
ロックカウント数Nxの増加分に対する回転速度Vのの
変化率が著しく4・さく、当然のことであるがこの傾向
は回転速度Vののより小さくクロックカゥント数Nxの
増大するに従って甚しく、メモリ容量は膨大なものとな
る。即ち、第2図において、回転速度Vのの最高遠Vw
・MAX=VoのアドレスN×oで、N×が1ビット増
加する時変化するVのの偏差△Vの‘ま、{21式より
△vの=舎側x(康Nもb)・・・・・・・・・【3’
Vののフルスケールに対する誤差8を0.1%以下とし
たいとき必要なNxoの値は△Vの<〇.〇。The graph in Figure 2 shows the formula ■, with the rotational speed V [rpm] on the vertical axis and the clock count number Nx on the horizontal axis. For example, if you count Nx = A, you can find V = B. The rotational speed V.sub.2 can be read from the Nx-V table in which the clock count number Nx is written in the address and the rotational speed V in the data. However, this N
In the case of the x-V table calculation method, at the 4th point of the rotational speed V■ where the detected speed is low (e.g. point Q in Figure 2), the rate of change of the rotational speed V with respect to the increase in the clock count number Nx 4. As a matter of course, this tendency becomes more severe as the rotational speed V becomes smaller and the clock count number Nx increases, and the memory capacity becomes enormous. That is, in FIG. 2, the maximum distance Vw of the rotational speed V
・MAX=Vo's address N×o, the deviation of V that changes when N× increases by 1 bit.・・・・・・・・・【3'
If you want to make the error 8 with respect to the full scale of V 0.1% or less, the necessary value of Nxo is △V<〇. 〇.
IXV。台x60x(忌N忌;)ミ。IXV. Stand x 60 x (death N death;) Mi.
・0。1XV。・0.1XV.
.・・.・・‘4}V。..・・・. ...'4}V.
者柳X志Nxo>999
・・・・・・・・・‘5’と演算できる。Shayanagi Xshi Nxo>999
・・・・・・・・・It can be calculated as '5'.
従って、Nxoを1000とおきVのを2047〜1と
すればV■・MAXのVoは2M7=特×.毒。。X6
0 ………【61で表わせ、よってVのが1のとき
はNxはNx:2047×1000
・・・・・・・・・{7}となる。Therefore, if Nxo is set to 1000 and V is set to 2047~1, the Vo of V■・MAX is 2M7=special×. poison. . X6
0......[Represented by 61, so when V is 1, Nx is Nx: 2047 x 1000
......{7}.
即ち、Vのを2047から1の範囲でNxが1ビットの
変位に対し0.1%の読取誤差に抑えるに、21×20
47Kのメモリ容量を必要とし、これは夕×2KのP−
ROM、2000個以上に相当し実現不可能のことであ
る。本発明は上記に鑑みアドレスにVのを与えデータ部
にNxを書込むようにしたもので、第3図示するVの−
Nx特性図により説明すると、回転速度Vのの最大値V
oを2047ビットに対応させるならば縦軸1ビットの
重みはVo/2047(検出誤差は0.05%)となり
、この縦軸1ビット毎の変化点に対応した機軸Nxの値
、例えば速度V■(N),Vの(N十1),V■(N+
2)…………に対するカウント数Nx(N),Nx(N
+1),Nx(N十2)・・・・・・・・・・・・を求
め、P−ROMのアドレスに上記Vの(N),Vの(N
十1),…………を与えデータ部にNx(N),Nx(
N十1),…………を書込んでおき、クロツクカウント
数Nxが上記書込みカウント数Nx(N),Nx(N+
1),Nx(N+2).・・・・・…・・・・に達する
毎に、P−ROMアドレス1ビットづつと歩進させデー
タ部に書込んだクロツクカウント数Nx(N+…・・・
)に対応のアドレスを速度信号Vの(N+・・・・・・
)としてラツチするものである。That is, in order to suppress the reading error to 0.1% for a 1-bit displacement of Nx in the range of 2047 to 1 for V, 21×20
It requires 47K memory capacity, which is 2K P-
This corresponds to more than 2,000 ROMs, which is impossible to realize. In view of the above, in the present invention, V is given to the address and Nx is written to the data section.
To explain using the Nx characteristic diagram, the maximum value V of the rotational speed V
If o corresponds to 2047 bits, the weight of 1 bit on the vertical axis becomes Vo/2047 (detection error is 0.05%), and the value of the axis Nx corresponding to the change point for each bit on the vertical axis, for example, the speed V ■(N), V's (N11), V■(N+
2) Count number Nx(N), Nx(N
+1), Nx (N +12)......, and set the above V's (N), V's (N) to the P-ROM address.
11),...... and write Nx(N), Nx(
N11), ...... are written, and the clock count number Nx becomes the write count number Nx(N), Nx(N+
1), Nx(N+2). Each time the clock count reaches 1 bit, the P-ROM address is incremented by 1 bit, and the clock count number Nx(N+...
) of the speed signal V (N+...
).
第4図に実施例のブロック線図を示す。FIG. 4 shows a block diagram of the embodiment.
同図において、1はP−ROMでそのアドレスに回転速
度Vのをとり、データ部に対応するクロックカウント数
Nxを書込む。2はコンパレータでクロックカゥント数
Nxをカウントする加算カウワタ3の出力と上記P−R
OMIの書込みデータが一致したとき一致信号出力を発
生する。4は減算カゥンタで最大回転速度Voに対応す
る設定値(例えば2047)から上記一致信号出力の発
生する毎に1ビットづつ減算を繰返しェンコーダ出力の
立上りから次の立上りまでの減算ビット数則ちその都度
の残余の減算カウンタ値が明らかとなり瞬時回転速度V
のを得る。In the figure, 1 is a P-ROM, and the rotation speed V is taken as the address, and the corresponding clock count number Nx is written in the data section. 2 is a comparator and the output of the addition counter 3 which counts the clock count number Nx and the above P-R.
When the OMI write data matches, a match signal is output. 4 is a subtraction counter that repeatedly subtracts one bit from the set value (for example, 2047) corresponding to the maximum rotational speed Vo every time the coincidence signal output occurs, and calculates the number of subtracted bits from the rising edge of the encoder output to the next rising edge, that is, The residual subtraction counter value each time becomes clear and the instantaneous rotational speed V
get the.
5は出力レジスタで上記減算カウンタ4で得られた瞬時
回転速度Vのをェンコーダ出力の立上りタイミングに対
応のデータ取込み指令によりラッチする。Reference numeral 5 denotes an output register which latches the instantaneous rotational speed V obtained by the subtraction counter 4 in response to a data acquisition command corresponding to the rise timing of the encoder output.
6はタイミングパルス発生回路で系全体の制御を司るべ
くェンコーダ出力信号、クロツク信号を受け加算カウン
タ3、減算カウンタ4におけるクリヤ信号、ロード信号
及び出力レジス夕5へのデータ取込み指令を出力する。Reference numeral 6 denotes a timing pulse generation circuit which receives an encoder output signal and a clock signal to control the entire system, and outputs a clear signal and a load signal to the addition counter 3 and subtraction counter 4, as well as a command to take in data to the output register 5.
また、7は分周回路、8はANDゲートである。すなわ
ち、P−ROMIのアドレスに回転速度Vの(N),V
■(N+・),Vの(N+2)………を与え、データ部
にNx(N),Nx(N+1),Nx(N+2),・・
・・・・…を書込んでおき、ェンコ−ダ(図示せず)か
らのティース波形の周期Tを別途クロック信号肋こより
計数する加算カゥンタ3の出力が上記P−ROM1の書
込みデータNx(N),NX(N十1),NX(N+2
),………に到達する毎に、コンパレータ2から一致出
力を発生、この一致出力が減算カゥン夕4へ加えられ子
め設定の最大値(2047)より1ビットづつ減算を行
いP−ROMIのアドレスを歩進させるのであり、この
操作はェンコーダ出力の次の立上り信号のタイミングま
で続行され最終的に残った減算カゥンタ4の値が求める
回転速度Vのとなる。Further, 7 is a frequency dividing circuit, and 8 is an AND gate. In other words, the address of P-ROMI is (N) of rotation speed V, V
■(N+・), V's (N+2)...... is given, Nx(N), Nx(N+1), Nx(N+2),...
. . . is written in advance, and the output of the addition counter 3, which counts the period T of the tooth waveform from the encoder (not shown) separately from the clock signal, becomes the write data Nx (N ), NX (N11), NX (N+2
), ......, a match output is generated from the comparator 2, and this match output is added to the subtraction counter 4, which subtracts 1 bit from the maximum value (2047) of the child setting, and calculates the P-ROMI. The address is incremented, and this operation is continued until the timing of the next rising signal of the encoder output, and finally the value of the remaining subtraction counter 4 becomes the desired rotational speed V.
従って、このVのを出力レジスタ5で取込むようにすれ
ばよく、上記ェンコ←ダ出力の立上りに対応してデータ
取込み指令が発せられデータラツチが完了する。このデ
ータラッチが完了して後力頂算カウンタ3のクリャ信号
、減算カウンタ4のロード信号が発せられ加算カゥンタ
3はクリャされ雫値となりまた減算カゥンタ4は最高遠
に対応する設定の最大値(2047)をロードされ、次
のェンコーダ出力のティース間を計数すべく準備状態に
入いる。暫くしてェンコーダ出力のティース波形周期T
を瞬時瞬時でその都度計数し前以つて演算済みのNx−
V■′逆数テーブルにより容易に回転速度Vのを求める
ことができ、また得られた回転速度Vの‘ま瞬時の値で
あり例えば過渡状態での速度変動の様子が極めて明瞭と
なる。Therefore, it is only necessary to take in this V at the output register 5, and a data take-in command is issued in response to the rising edge of the encoder output, and the data latch is completed. When this data latch is completed, a clear signal for rear force top calculation counter 3 and a load signal for subtraction counter 4 are issued, and addition counter 3 is cleared to the drop value, and subtraction counter 4 is set to the maximum value ( 2047) and enters into a preparation state to count between the teeth of the next encoder output. After a while, the tooth waveform period T of the encoder output
is calculated instantaneously each time, and Nx- is calculated in advance.
The rotational speed V can be easily determined using the V' reciprocal number table, and since the obtained rotational speed V is an instantaneous value, for example, the state of speed fluctuation in a transient state can be very clearly seen.
なお、上記実施例ではメモリの書込みデータとして回転
速度Vの‘こ対応するクロックカウント数をそのまま書
込んでいるがメモリ容量の軽減するため回転速度Vmの
分解館に対応するクロックカウント数差分則ち回転速度
Vの(N)とVの(N+1)の速度差に相当するクロッ
クカウント数を書込むようにしてもよい。In the above embodiment, the clock count number corresponding to the rotational speed Vm is written as it is as the write data in the memory, but in order to reduce the memory capacity, the difference in the clock count number corresponding to the disassembly of the rotational speed Vm is written. A clock count number corresponding to the speed difference between the rotational speeds V (N) and V (N+1) may be written.
上記のように本発明はヱンコーダ出力の周期Tから逆数
テーブルを用いて回転速度を求める方式に係り、メモリ
のアドレスとデータ部への書込みを逆にしアドレスを回
転速度に対応させデータ部に当回転速度に相当するクロ
ックカウント数を書込むようにしたもので、応答速度は
ヱンコーダ出力のティース波形毎即ち殆んど瞬時と云っ
てよく、また精度に関しても減算カウンタを11ビット
に選べばP‐ROMは郷バイトとなり、1アドレスは1
/2047に相当し0.05%以下であり、12ビット
とすれば、P−ROMは4Kバイトとなり、1アドレス
は1/4095に相当、0.025%以下であり、数個
のIC使用により0.05%とか0.025%などの極
めて高精度のものが得られ、また検出速度範囲もェンコ
ーダ出力を1500テイース/1周とすれば高速ROM
使用時400KHz程度即ち1600仇pmまで、また
P一ROMであれば90K日b即ち360仇pmまでは
十分測定可能でありまた目盛も対数目盛出力でなく直線
目盛出力でよくしンジ切替を不要とするなど優れた特長
を有する。As described above, the present invention relates to a method of determining the rotational speed from the period T of the encoder output using a reciprocal table, and the writing to the memory address and the data section is reversed, the address corresponds to the rotational speed, and the data section is written to the current rotation speed. The clock count number corresponding to the speed is written, and the response speed can be said to be almost instantaneous for each tooth waveform of the encoder output, and in terms of accuracy, if the subtraction counter is set to 11 bits, the P-ROM becomes the town byte, and 1 address is 1
/2047, which is less than 0.05%, and if it is 12 bits, P-ROM is 4K bytes, and one address is equivalent to 1/4095, which is less than 0.025%, and by using several ICs. Extremely high accuracy such as 0.05% or 0.025% can be obtained, and the detection speed range is also high-speed ROM if the encoder output is 1500 teeth/round.
When in use, it can measure up to about 400 KHz, or 1600 pm, and if it is a P-ROM, it can measure up to 90 kHz, or 360 pm, and the scale is linear rather than logarithmic, so there is no need to change the scale. It has excellent features such as:
第1図、第2図は本発明原理を説明するためのタイムチ
ャート、グラフ、第3図は本発明に係るVの−Nx特性
図、第4図は実施例のブロック線図である。
1……メモリ、2……コンパレータ、3……加算カウン
タ、4・・・・・・減算カゥンタ、5・・・・・・出力
レジスタ。
、’図
矛2図
矛3図
才4図1 and 2 are time charts and graphs for explaining the principle of the present invention, FIG. 3 is a -Nx characteristic diagram of V according to the present invention, and FIG. 4 is a block diagram of an embodiment. 1... Memory, 2... Comparator, 3... Addition counter, 4... Subtraction counter, 5... Output register. , 'Picture 2 Picture Spear 3 Picture Said 4 Picture
Claims (1)
形周期をクロツク周波数で計数、逆数をとり回転速度を
求める方式の回転速度検出器において、メモリのアドレ
スを回転速度に対応させそのデータ部に上記回転速度に
該当するテイース波形周期のクロツクカウント数を書込
み、一方加算カウンタによるエンコーダからのテイース
波形周期のクロツクカウント数を、コンパレータを用い
上記メモリの書込みデータと比較、両者が一致する毎に
一致出力を発生し、回転速度最大値が設定されている減
算カウンタにあつて当一致出力毎に1ビツト宛減算を繰
返し上記メモリのアドレスを歩進させ、この操作をエン
コーダからの次のテイース波形立上りまで継続し最終的
に残つた減算カウンタの値を回転速度として読出すよう
にしたことを特徴とする回転速度検出器。 2 メモリ・データ部に回転速度分解能に対応するクロ
ツクカウント数差分を書込みメモリ容量を軽減したこと
を特徴とする特許請求の範囲第1項記載の回転速度検出
器。[Scope of Claims] 1. In a rotational speed detector that uses a clock frequency to count the teeth waveform period from an encoder connected to a rotating body to be detected and calculates the rotational speed by taking the reciprocal, the address of the memory is made to correspond to the rotational speed. The clock count number of the tooth waveform period corresponding to the rotation speed is written in the data section, and the clock count number of the tooth waveform period from the encoder by the addition counter is compared with the written data in the memory using a comparator. A coincidence output is generated every time the rotation speed is set to the maximum value, and the subtraction is repeated for 1 bit for each coincidence output, and the address in the memory mentioned above is incremented. A rotational speed detector characterized in that the value of a subtraction counter that continues until the next rising edge of the teeth waveform and finally remains is read out as the rotational speed. 2. The rotational speed detector according to claim 1, wherein the clock count difference corresponding to the rotational speed resolution is written in the memory data section to reduce the memory capacity.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP55097354A JPS6029070B2 (en) | 1980-07-15 | 1980-07-15 | rotation speed detector |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP55097354A JPS6029070B2 (en) | 1980-07-15 | 1980-07-15 | rotation speed detector |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS5722562A JPS5722562A (en) | 1982-02-05 |
| JPS6029070B2 true JPS6029070B2 (en) | 1985-07-08 |
Family
ID=14190149
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP55097354A Expired JPS6029070B2 (en) | 1980-07-15 | 1980-07-15 | rotation speed detector |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS6029070B2 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| DE3213800A1 (en) * | 1982-04-15 | 1983-10-27 | Alfred Teves Gmbh, 6000 Frankfurt | METHOD FOR OUTPUTING THE IMPULSE FREQUENCY AND THE PERIOD OF TWO SUCCESSIVE IMPULSES OF A PULSE SEQUENCE OF CORRESPONDING VALUES AND DEVICE FOR IMPLEMENTING THE METHOD |
-
1980
- 1980-07-15 JP JP55097354A patent/JPS6029070B2/en not_active Expired
Also Published As
| Publication number | Publication date |
|---|---|
| JPS5722562A (en) | 1982-02-05 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPH0635996B2 (en) | Data distribution measuring device | |
| JPH0366619B2 (en) | ||
| KR930002719B1 (en) | Apparatus and method for increasing the accuracy of the encoder output | |
| US3975621A (en) | Digital compass averaging circuit | |
| JPS6029070B2 (en) | rotation speed detector | |
| US5325049A (en) | Frequency deviation measuring apparatus | |
| KR900010709A (en) | Digital servo system to control the rotation speed of the rotor | |
| JPS5815159A (en) | Digital speed detecting system | |
| US4055082A (en) | Net oil computer | |
| US3728625A (en) | Digital indicator with pulse multiplier for providing continous full scale resolution | |
| US5585819A (en) | Method and apparatus for detecting aliasing | |
| JP2523207Y2 (en) | Speed detector | |
| SU855603A1 (en) | Device for measuring time of magnetic carrier starting | |
| JPS61221661A (en) | Measuring instrument for digital voltage variation rate | |
| JP3047264B2 (en) | Time measurement device | |
| SU918873A1 (en) | Digital frequency meter | |
| Pahalawaththa et al. | Linear fast measurement of speed deviation for on-line control of a generating unit physical model | |
| SU610021A1 (en) | Digital r.p.m. meter | |
| JPH0535383B2 (en) | ||
| SU399868A1 (en) | STATISTICAL ANALYZER | |
| JP3316849B2 (en) | Analog output method of digital measuring instrument | |
| JPS6117307B2 (en) | ||
| SU670902A1 (en) | Method of converting frequency into analogue signal | |
| SU983641A1 (en) | Time interval to binary code converter | |
| SU752237A1 (en) | Device for measuring the time of variation of a signal by several times |