JPH075186A - Speed detector - Google Patents

Speed detector

Info

Publication number
JPH075186A
JPH075186A JP17274593A JP17274593A JPH075186A JP H075186 A JPH075186 A JP H075186A JP 17274593 A JP17274593 A JP 17274593A JP 17274593 A JP17274593 A JP 17274593A JP H075186 A JPH075186 A JP H075186A
Authority
JP
Japan
Prior art keywords
pulse
counter
circuit
signal
reference clock
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
JP17274593A
Other languages
Japanese (ja)
Other versions
JP2968418B2 (en
Inventor
Haruhiro Tokida
晴弘 常田
Hiroaki Mizumoto
博朗 水本
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.)
Nidec Instruments Corp
Original Assignee
Sankyo Seiki Manufacturing 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 Sankyo Seiki Manufacturing Co Ltd filed Critical Sankyo Seiki Manufacturing Co Ltd
Priority to JP17274593A priority Critical patent/JP2968418B2/en
Publication of JPH075186A publication Critical patent/JPH075186A/en
Application granted granted Critical
Publication of JP2968418B2 publication Critical patent/JP2968418B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Transmission And Conversion Of Sensor Element Output (AREA)

Abstract

PURPOSE:To reduce current consumption of a speed detector. CONSTITUTION:The speed detector comprises a sensor 1 principally producing a pulse corresponding to the position or the speed of an object 10 to be measured, a circuit 5 for generating reference clock signal Ck, and a counter 7 for measuring the time interval of a pulse from the sensor 1 based on the reference clock signal Ck. The speed detector further comprises a clock gate 6, disposed between the reference clock generating circuit 5 and the counter 7, for obtaining a speed signal based on a count received from the counter 7 and opened by a detection signal Sp received from the sensor 1 through an oscillation removing circuit 4, for example, whereas closed by a gate close signal received from the counter 7. When the count of the counter 7 is not required, the clock gate 6 is closed by the gate close signal to interrupt provision of the reference clock signal Ck to the counter 7 thus suppressing current consumption of the counter 7.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、速度検出装置に関す
る。更に詳述すると、本発明は、速度検出装置の低消費
電流化に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a speed detecting device. More specifically, the present invention relates to reduction in current consumption of a speed detection device.

【0002】[0002]

【従来の技術】従来、この種の速度検出装置は、主に、
エンコーダと、基準クロック発生回路と、カウンタとを
備え、エンコーダからの出力パルスを分周器で分周して
前記カウンタに入力し、かつ前記基準クロック発生回路
からの基準クロックを同カウンタに与え、同カウンタに
おいて前記出力パルスの間隔を前記基準クロックでもっ
て計数し、その計数値により速度信号を得る装置として
提案されている(特開平1−276071号参照)。
2. Description of the Related Art Conventionally, this type of speed detecting device is mainly
An encoder, a reference clock generation circuit, and a counter are provided, and an output pulse from the encoder is frequency-divided by a frequency divider and input to the counter, and a reference clock from the reference clock generation circuit is applied to the counter. The counter has been proposed as a device for counting the intervals of the output pulses with the reference clock and obtaining a speed signal based on the counted value (see Japanese Patent Laid-Open No. 1-276071).

【0003】このような速度検出装置によれば、前記エ
ンコーダで検出した出力パルスの時間間隔を前記カウン
タで正確に測定でき、その時間間隔の計測値の逆数をも
って速度信号を得ることができる。
According to such a speed detecting device, the time interval of the output pulse detected by the encoder can be accurately measured by the counter, and the speed signal can be obtained by the reciprocal of the measured value of the time interval.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、この速
度検出装置にあっては、前記エンコーダからの出力パル
スの有無にかかわらず、基準クロック発生回路から常に
基準クロックが流入していることから、被測定体が停止
状態であっても当該カウンタの内部回路の一部が動作を
し続けるとともに、当該カウンタ内部の静電容量等によ
り基準クロックが流れて消費電流が大きくなってしまっ
ていた。したがって、電池を電源として上記速度検出装
置を組み込む場合には、はなはだ不利になっていた。
However, in this speed detecting device, the reference clock is always flowing from the reference clock generating circuit regardless of the presence or absence of the output pulse from the encoder. Even when the body is stopped, a part of the internal circuit of the counter continues to operate, and the reference clock flows due to the electrostatic capacity inside the counter and the current consumption increases. Therefore, it is extremely disadvantageous when the speed detecting device is incorporated by using a battery as a power source.

【0005】本発明は、上述した欠点を解消し、低消費
電流を可能とした速度検出装置を提供することを目的と
する。
An object of the present invention is to solve the above-mentioned drawbacks and to provide a speed detecting device capable of low current consumption.

【0006】[0006]

【課題を解決するための手段】かかる目的を達成するた
めに、請求項1記載の発明による速度検出装置は、被測
定体の位置あるいは速度に応じたパルスを出力するセン
サと、基準クロックを発生する基準クロック発生回路
と、センサからのパルスの時間間隔を基準クロック発生
回路からの基準クロックを基に測定するカウンタとを備
え、カウンタからの計測値を基に速度信号を得る速度検
出装置において、センサからのパルスでゲートを開き、
カウンタからのゲート閉信号でゲートを閉じるクロック
ゲートを基準クロック発生回路とカウンタとの間に設け
るようにしている。
In order to achieve the above object, a velocity detecting device according to the invention of claim 1 generates a sensor for outputting a pulse according to the position or velocity of the object to be measured and a reference clock. A reference clock generating circuit, and a counter for measuring the time interval of the pulse from the sensor based on the reference clock from the reference clock generating circuit, in a speed detection device for obtaining a speed signal based on the measured value from the counter, The pulse from the sensor opens the gate,
A clock gate for closing the gate by the gate closing signal from the counter is provided between the reference clock generating circuit and the counter.

【0007】ここで、カウンタは、オーバーフロー信
号、または一定の計数値をゲート閉信号として出力でき
るようにすることが望ましい。
Here, it is desirable that the counter be capable of outputting an overflow signal or a constant count value as a gate closing signal.

【0008】また、上記目的を達成するために、請求項
4記載の発明による速度検出装置は、被測定体の位置あ
るいは速度に応じたパルスを出力するセンサと、基準ク
ロックを発生する基準クロック発生回路と、センサから
同一回転方向に所定数のパルスが連続的に入力されたと
きに検出パルスをする振動除去回路と、振動除去回路か
ら出力されるパルスの時間間隔を、基準クロック発生回
路からの基準クロックを基に測定するカウンタとを備
え、カウンタからの計測値を基に速度信号を得るように
している。
Further, in order to achieve the above object, a speed detecting apparatus according to a fourth aspect of the invention is a sensor for outputting a pulse according to the position or speed of an object to be measured, and a reference clock generating for generating a reference clock. The circuit, the vibration elimination circuit that makes a detection pulse when a predetermined number of pulses are continuously input in the same rotation direction from the sensor, and the time interval between the pulses output from the vibration elimination circuit A counter for measuring based on a reference clock is provided, and a speed signal is obtained based on a measurement value from the counter.

【0009】また、振動除去回路は、時計回り検出パル
スあるいは反時計回り検出パルスにより動作するフリッ
プフロップと、時計回り検出パルス及び当該時計回り検
出パルスで反転する側の出力信号の論理積をとる第一論
理積回路と、反時計回り検出パルス及び当該反時計回り
検出パルスで反転する側の出力信号の論理積をとる第二
論理積回路と、各論理積回路の出力の論理和をとる論理
和回路とを備えたものとすることが望ましい。
Further, the vibration elimination circuit logically ANDs a flip-flop operated by a clockwise detection pulse or a counterclockwise detection pulse with a clockwise detection pulse and an output signal on the side inverted by the clockwise detection pulse. One logical product circuit, a counterclockwise detection pulse, a second logical product circuit that takes the logical product of the output signal on the side that is inverted by the counterclockwise detection pulse, and a logical sum that takes the logical sum of the outputs of the respective logical product circuits It is desirable to have a circuit.

【0010】[0010]

【作用】請求項1記載の発明では、被測定体の位置ある
いは速度を検出できるセンサからのパルスの間隔を基準
クロックを用いてカウンタでカウントし、かつ基準クロ
ック信号をクロックゲートを介してカウンタへ供給でき
るようにし、カウント不要のときにゲート閉信号でクロ
ックゲートを閉じてカウンタへの基準クロック信号の供
給を停止するようにしている。したがって、カウンタに
基準クロック信号が供給されることがない。
According to the present invention, the interval between pulses from the sensor capable of detecting the position or speed of the object to be measured is counted by the counter using the reference clock, and the reference clock signal is sent to the counter via the clock gate. The clock gate is closed by the gate closing signal when the count is not necessary, and the supply of the reference clock signal to the counter is stopped. Therefore, the reference clock signal is not supplied to the counter.

【0011】また、請求4記載の発明では、被測定体の
位置あるいは速度を測定できるセンサからの出力パルス
から振動除去回路により振動状態が検出されないときで
あって、時計回りあるいは反時計回りに一定角度以上回
転し始めない限り、即ち所定パルス数以上連続的にパル
スが得られない限り振動除去回路から検出パルスが出力
されないようにし、速度検出を開始しないようにした。
したがって、確実に速度検出が必要なときまで、基準ク
ロック信号がカウンタ等に供給されないことになる。
Further, according to the invention described in claim 4, when the vibration state is not detected by the vibration elimination circuit from the output pulse from the sensor capable of measuring the position or speed of the object to be measured, it is constant in the clockwise or counterclockwise direction. The detection pulse is prevented from being output from the vibration eliminating circuit and the speed detection is not started unless the rotation starts at an angle or more, that is, unless the pulse is continuously obtained for a predetermined number of pulses or more.
Therefore, the reference clock signal is not supplied to the counter or the like until the speed detection is surely required.

【0012】[0012]

【実施例】以下、本発明について図示の実施例を参照し
て説明する。
The present invention will be described below with reference to the illustrated embodiments.

【0013】図1に、本発明の速度検出装置の実施例を
示す。この速度検出装置は、センサ素子2とパルス発生
回路3とから成り被測定体10の動きに応じたパルスを
出力するセンサ1、振動除去回路4、基準クロック発生
回路5、クロックゲート6、カウンタ7、ホールド回路
8及び変換回路9から構成されている。
FIG. 1 shows an embodiment of the speed detecting device of the present invention. This speed detecting device is composed of a sensor element 2 and a pulse generating circuit 3, which outputs a pulse in accordance with the movement of a device under test 10, a vibration eliminating circuit 4, a reference clock generating circuit 5, a clock gate 6, and a counter 7. , A hold circuit 8 and a conversion circuit 9.

【0014】センサ素子2は、例えば磁気抵抗素子など
の磁気センサで構成されており、被測定体10に設けた
磁極が回転することにより、回転速度に応じたA相及び
B相(A相とは90度位相が異なる信号)の検出信号を
出力する。このセンサ素子2はパルス発生回路3に接続
されており、A相検出信号及びB相検出信号をパルス発
生回路3に供給して被測定体10の動きに応じたパルス
を出力するセンサ1を構成している。
The sensor element 2 is composed of, for example, a magnetic sensor such as a magnetoresistive element. When the magnetic poles provided on the object to be measured 10 rotate, the A phase and the B phase (A phase and Outputs a detection signal of 90 degrees out of phase). The sensor element 2 is connected to the pulse generation circuit 3, and constitutes the sensor 1 which supplies the A-phase detection signal and the B-phase detection signal to the pulse generation circuit 3 and outputs a pulse according to the movement of the measured object 10. is doing.

【0015】パルス発生回路3は、与えられたA相検出
信号及びB相検出信号を基に時計回り(以下、CWと略
称する)のパルス、反時計回り(以下、CCWと略称す
る)のパルスを形成して出力するような回路構成となっ
ている。このパルス発生回路3は、振動除去回路4に接
続されており、CWパルス及びCCWパルスを振動除去
回路4に導入できるように設けられている。CWパルス
及びCCWパルスはいずれの回転方向においてもA相の
立ち上がりエッジにおいてA相、B相の論理積の条件で
所定の幅のパルスを出力する。
The pulse generating circuit 3 has a clockwise (hereinafter abbreviated as CW) pulse and a counterclockwise (hereinafter abbreviated as CCW) pulse based on the supplied A-phase detection signal and B-phase detection signal. Is formed and output. The pulse generation circuit 3 is connected to the vibration elimination circuit 4 and is provided so that the CW pulse and the CCW pulse can be introduced into the vibration elimination circuit 4. The CW pulse and the CCW pulse output a pulse having a predetermined width under the condition of the logical product of the A phase and the B phase at the rising edge of the A phase in any rotation direction.

【0016】振動除去回路4は、被測定体10の動作方
向が反転した最初のnパルスは振動とみなして検出パル
スSpを発生させないようにする回路であり、例えば入
力されたCWパルス及びCCWパルスを基に、CWパル
スからCCWパルスあるいはCCWパルスからCWパル
スに変わったときから所定パルス数n(本実施例の場
合、最初のパルス)を除去できるとともに、CWパルス
・CCWパルス間で往来する振動が発生しても当該振動
を除去できるようになっており、かつ所定パルス数を越
えた後のこれらCWパルス及びCCWパルスを検出パル
スSpとして出力できるように設けられている。この振
動除去回路4の出力は、クロックゲート6のゲート開制
御端子、カウンタ7のリセット端子及びホールド回路8
の制御端子に接続されており、振動除去回路4からの検
出パルスSpをクロックゲート6のゲート開制御端子、
カウンタ7のリセット端子及びホールド回路8の制御端
子に供給できる。
The vibration elimination circuit 4 is a circuit for preventing the detection pulse Sp from being generated by regarding the first n pulses in which the operation direction of the object to be measured 10 is reversed as vibration, and for example, the input CW pulse and CCW pulse. Based on the above, the predetermined pulse number n (the first pulse in the case of this embodiment) can be removed from the time when the CW pulse is changed to the CCW pulse or the CCW pulse is changed to the CW pulse, and the vibrations that come and go between the CW pulse and the CCW pulse The vibrations can be eliminated even when the above occurs, and the CW pulse and the CCW pulse after the number of predetermined pulses is exceeded can be output as the detection pulse Sp. The output of the vibration eliminating circuit 4 is the gate opening control terminal of the clock gate 6, the reset terminal of the counter 7, and the hold circuit 8.
Is connected to the control terminal of the gate, and the detection pulse Sp from the vibration elimination circuit 4 is supplied to the gate opening control terminal of the clock gate 6,
It can be supplied to the reset terminal of the counter 7 and the control terminal of the hold circuit 8.

【0017】基準クロック発生回路5は、基準クロック
Ckを発生できる回路である。基準クロック発生回路5
の出力端子はクロックゲート6の入力端子に接続されて
おり、基準クロックCkをクロックゲート6に入力する
ようになっている。
The reference clock generation circuit 5 is a circuit that can generate the reference clock Ck. Reference clock generation circuit 5
The output terminal of is connected to the input terminal of the clock gate 6, and the reference clock Ck is input to the clock gate 6.

【0018】クロックゲート6は、検出パルスSpによ
りゲートを開いて基準クロック発生回路5からの基準ク
ロック信号Ckをカウンタ7に入力できるとともに、ゲ
ート閉信号Scによりゲートを閉じて基準クロック発生
回路5からの基準クロック信号Ckをカウンタ7に供給
しないようにしている。
The clock gate 6 can open the gate by the detection pulse Sp to input the reference clock signal Ck from the reference clock generating circuit 5 to the counter 7, and close the gate by the gate closing signal Sc to output from the reference clock generating circuit 5. The reference clock signal Ck of 1 is not supplied to the counter 7.

【0019】カウンタ7は、リセット端子に入力された
検出パルスSpによりカウント値がゼロになった後にカ
ウントを開始し、オーバーフロー信号(キャリー)をゲ
ート閉信号SL としてクロックゲート6へ出力する。こ
こで、オーバーフロー信号SL は、クロックゲート6を
閉じカウンタ7へのクロック供給を止めるためのもの
で、ある設定した値でも良い。即ち、ある速度以下では
その速度情報に意味がない場合、その速度以下になるよ
うなカウンタ値ではカウンタを停止してしまうようにし
ても良い。また、このカウンタ7の出力端子は、ホール
ド回路8の入力端子に接続されており、カウンタ7のカ
ウント値をホールド回路8に与えられるようになってい
る。
The counter 7 starts counting after the count value becomes zero by the detection pulse Sp input to the reset terminal, and outputs an overflow signal (carry) to the clock gate 6 as a gate closing signal S L. Here, the overflow signal S L is for closing the clock gate 6 and stopping the clock supply to the counter 7, and may have a certain set value. That is, if the speed information is meaningless below a certain speed, the counter may be stopped at a counter value that is less than that speed. The output terminal of the counter 7 is connected to the input terminal of the hold circuit 8 so that the count value of the counter 7 can be given to the hold circuit 8.

【0020】ホールド回路8は、検出パルスSpが入力
されたときにおけるカウンタ7のカウント値をホールド
し、次に検出パルスSpが入力されるまでカウント値を
保持している。このホールド回路8の出力は変換回路9
の入力に接続されており、ホールド回路8のホールド値
を変換回路9に与える。
The hold circuit 8 holds the count value of the counter 7 when the detection pulse Sp is input, and holds the count value until the detection pulse Sp is input next. The output of the hold circuit 8 is the conversion circuit 9
Of the hold circuit 8 and supplies the hold value of the hold circuit 8 to the conversion circuit 9.

【0021】変換回路9は、ホールド値から速度信号に
変換して出力できる回路である。
The conversion circuit 9 is a circuit capable of converting the hold value into a speed signal and outputting the speed signal.

【0022】図2に、上記実施例における振動除去回路
の具体的構成の一例を示す。
FIG. 2 shows an example of a specific configuration of the vibration elimination circuit in the above embodiment.

【0023】図2に示す振動除去回路4は、J−Kフリ
ップフロップ41、第一の論理積回路42、第二の論理
積回路43、論理和回路44とによって次のように構成
されている。パルス発生回路3からのCWパルスは、J
−Kフリップフロップ41のJ入力端子及び第一の論理
積回路42の入力端子に入力されている。また、パルス
発生回路3からのCCWパルスは、J−Kフリップフロ
ップ41のK入力端子、及び第二の論理積回路43の入
力端子に入力されている。第一の論理積回路42及び第
二の論理積回路43からの出力信号は、論理和回路44
からの各入力端子に入力されている。論理和回路44の
出力端子からは、検出パルスSpが出力される。なお、
J−Kフリップフロップ41のクロック入力端子には、
基準クロック信号Ckが供給されるようになっている。
The vibration elimination circuit 4 shown in FIG. 2 comprises a JK flip-flop 41, a first AND circuit 42, a second AND circuit 43, and an OR circuit 44 as follows. . The CW pulse from the pulse generation circuit 3 is J
It is input to the J input terminal of the -K flip-flop 41 and the input terminal of the first AND circuit 42. The CCW pulse from the pulse generation circuit 3 is input to the K input terminal of the JK flip-flop 41 and the input terminal of the second AND circuit 43. The output signals from the first AND circuit 42 and the second AND circuit 43 are OR circuits 44.
Is input to each input terminal from. The detection pulse Sp is output from the output terminal of the OR circuit 44. In addition,
The clock input terminal of the JK flip-flop 41 is
The reference clock signal Ck is supplied.

【0024】上述した実施例の作用を以下に説明する。 <図1に示す実施例の動作>まず、図1における実施例
の動作を、図3のタイミングチャートを参照して説明す
る。なお、図3においては、横軸の時間tに対して、縦
軸に、A相検出信号、B相検出信号、パルス発生回路3
からのCWパルス及びCCWパルス、カウンタ7のカウ
ント値、カウンタ7のオーバーフロー信号、クロックゲ
ート6の出力がそれぞれ示されている。
The operation of the above embodiment will be described below. <Operation of the Embodiment Shown in FIG. 1> First, the operation of the embodiment shown in FIG. 1 will be described with reference to the timing chart of FIG. In FIG. 3, the horizontal axis represents time t, and the vertical axis represents A phase detection signal, B phase detection signal, and pulse generation circuit 3.
CW pulse and CCW pulse from, the count value of the counter 7, the overflow signal of the counter 7, and the output of the clock gate 6 are respectively shown.

【0025】被測定体10が回転すると、被測定体10
に設けた磁石からの磁束の変化により、センサ素子2か
らA相検出信号及びB相検出信号が出力される。これら
A相検出信号及びB相検出信号は、パルス発生回路3に
入力されてこれらA相検出信号及びB相検出信号を基に
CWパルス、CCWパルスが形成される。このパルス発
生回路3からのCWパルス、CCWパルスは、振動除去
回路4に入力される。
When the object to be measured 10 rotates, the object to be measured 10
The A-phase detection signal and the B-phase detection signal are output from the sensor element 2 due to the change of the magnetic flux from the magnet provided in the. The A-phase detection signal and the B-phase detection signal are input to the pulse generation circuit 3, and a CW pulse and a CCW pulse are formed based on the A-phase detection signal and the B-phase detection signal. The CW pulse and CCW pulse from the pulse generation circuit 3 are input to the vibration elimination circuit 4.

【0026】振動除去回路4は、入力されたCWパルス
及びCCWパルスを基に、CWパルスからCCWパルス
あるいはCCWパルスからCWパルスに変わったときか
ら所定パルス数例えば最初のパルスを除去するととも
に、CWパルス・CCWパルス間で往来する振動が発生
しても当該振動を除去する。そして、反転時の除去動作
後あるいは振動のないときに、振動除去回路4は、これ
らCWパルス及びCCWパルスから検出パルスSpを出
力する。この振動除去回路4の検出パルスSpは、クロ
ックゲート6のゲート開制御端子、カウンタ7のリセッ
ト端子及びホールド回路8の制御端子にそれぞれ供給さ
れる。
The vibration removing circuit 4 removes a predetermined number of pulses, for example, the first pulse from the time when the CW pulse is changed to the CCW pulse or the CCW pulse is changed to the CW pulse based on the input CW pulse and CCW pulse, and at the same time, the CW pulse is removed. Even if a vibration coming and going between the pulse and the CCW pulse occurs, the vibration is removed. Then, after the removal operation at the time of inversion or when there is no vibration, the vibration removal circuit 4 outputs the detection pulse Sp from these CW pulse and CCW pulse. The detection pulse Sp of the vibration removing circuit 4 is supplied to the gate open control terminal of the clock gate 6, the reset terminal of the counter 7, and the control terminal of the hold circuit 8.

【0027】この検出パルスSpが、例えば時刻t0
おいて、カウンタ7をリセットすると共にクロックゲー
ト6のゲートを開くと、カウンタ7には、基準クロック
発生回路5からクロックゲート6を介して基準クロック
信号Ckが入力される。そして、カウンタ7は、時刻t
0 以降、基準クロック信号Ckをカウントしてゆく。
When the detection pulse Sp resets the counter 7 and opens the gate of the clock gate 6 at, for example, time t 0 , the counter 7 receives a reference clock signal from the reference clock generation circuit 5 via the clock gate 6. Ck is input. Then, the counter 7 displays the time t
After 0 , the reference clock signal Ck is counted.

【0028】カウンタ7のカウント値は、刻々とホール
ド回路8に入力されており、時刻t 1 において、再び振
動除去回路4から検出パルスSpが入力されると、この
時点(時刻t1 )でのカウント値はホールド回路8で保
持され、かつカウンタ7はリセットされることになる。
また、このとき、クロックゲート6には、ゲート閉信号
L が入力されていないのでクロックゲート6のゲート
が開いたままであるが、仮にクロックゲート6のゲート
が閉じていても、検出パルスSpによりゲートが開くこ
とになる。したがって、カウンタ7は、再び時刻t1
降、基準クロック信号Ckをカウントすることになる。
The count value of the counter 7 is a hall value every moment.
Input to the circuit 8 at time t 1Shake again
When the detection pulse Sp is input from the motion elimination circuit 4, this
Time point (time t1The count value in) is held by the hold circuit 8.
It will be held and the counter 7 will be reset.
Also, at this time, the clock gate 6 receives the gate closing signal.
SLIs not input, clock gate 6 gate
Is still open, but temporarily the gate of clock gate 6
Even if is closed, the gate may be opened by the detection pulse Sp.
Becomes Therefore, the counter 7 again indicates the time t.1Since
Then, the reference clock signal Ck is counted.

【0029】そして、ホールド回路8でホールドされた
値は、変換回路9に入力される。変換回路9では、入力
された値について、例えば逆数をとって速度信号に変換
して出力する。
The value held by the hold circuit 8 is input to the conversion circuit 9. The conversion circuit 9 takes, for example, the reciprocal of the input value, converts it into a speed signal, and outputs the speed signal.

【0030】一方、カウンタ7は、時刻t1 以降、基準
クロック信号Ckを再びカウントしてゆく。このカウン
タ7のカウント値は、刻々とホールド回路8に入力され
ており、時刻t2 において、再び、振動除去回路4から
検出パルスSpが入力されると、この時点(時刻t2
のカウント値はホールド回路8で保持され、かつこの時
点(時刻t2 )でカウンタ7はリセットされることにな
る。そして、ホールド回路8でホールドされた値は、変
換回路9に入力され、変換回路9において当該値の逆数
をとって速度信号に変換し出力する。上述した動作は、
時刻t2 〜時刻t3 でも同様である。
On the other hand, the counter 7 counts the reference clock signal Ck again after the time t 1 . Count value of the counter 7 is inputted every moment to the hold circuit 8, at time t 2, the again, if the detection pulse Sp is input from the vibration eliminating circuit 4, the time (time t 2)
The count value of is held by the hold circuit 8, and the counter 7 is reset at this time (time t 2 ). Then, the value held by the hold circuit 8 is input to the conversion circuit 9, and the conversion circuit 9 takes the reciprocal of the value and converts the value into a speed signal for output. The above operation is
The same applies from time t 2 to time t 3 .

【0031】ここで、例えば時刻t4 に達しても、検出
パルスSpの入力がないときには、当該カウンタ7は、
カウント値がオーバーフローすることになり、カウンタ
7が自身をリセットするとともに、オーバーフロー信号
を出力する。このオーバーフロー信号は、クロックゲー
ト6にゲート閉信号SL として入力される。これによ
り、クロックゲート6は、ゲートを閉じる。
Here, for example, when the detection pulse Sp is not input even when the time t 4 is reached, the counter 7 is
The count value overflows, and the counter 7 resets itself and outputs an overflow signal. This overflow signal is input to the clock gate 6 as the gate closing signal S L. As a result, the clock gate 6 closes the gate.

【0032】したがって、クロックゲート6に検出パル
スSpが再び入力されるまでは(時刻t5 に達するまで
は)、カウンタ7には、基準クロック信号Ckが入力さ
れることがない(図3参照)。これにより、カウンタ7
の内部の一部回路も動作せず、また基準クロック信号C
kもカウンタ7の内部の静電容量の影響を受けないこと
になる。この結果、省電流化が図れることになる。
Therefore, the reference clock signal Ck is not input to the counter 7 until the detection pulse Sp is input to the clock gate 6 again (until the time t 5 is reached) (see FIG. 3). . This makes the counter 7
Part of the internal circuit does not operate, and the reference clock signal C
k is also not affected by the internal capacitance of the counter 7. As a result, current saving can be achieved.

【0033】なお、上記実施例において、カウンタ7か
らのオーバーフロー信号あるいはカウンタ7の一定のカ
ウント値をゲート閉信号SL としたが、このゲート閉信
号SL を低速センサと高速センサの切り換えに用いるこ
ともできる。また、速度検出装置からの速度信号等を用
いて、極めて低速で回転している場合(停止も含む)に
は、速度検出を止めるようにして、低消費電流を図るこ
とができる。
In the above embodiment, the overflow signal from the counter 7 or the constant count value of the counter 7 is used as the gate closing signal S L. This gate closing signal S L is used for switching between the low speed sensor and the high speed sensor. You can also Further, by using the speed signal or the like from the speed detection device, when the rotation is performed at an extremely low speed (including stop), the speed detection can be stopped to achieve low current consumption.

【0034】<振動除去回路4の詳細な動作について>
次に、図2に示す振動除去回路4の動作について、図4
のタイミングチャートを参照しながら説明する。この図
4では、横軸に示す時間tに対して、縦軸には、基準ク
ロック信号Ck、CWパルス、CCWパルス、J−Kフ
リップフロップ41のQ出力信号、第一の論理積回路4
2の出力信号Sa、第二の論理積回路43の出力信号S
b、及び論理和回路44の出力信号Scがそれぞれ示さ
れている。
<Detailed Operation of Vibration Eliminating Circuit 4>
Next, the operation of the vibration elimination circuit 4 shown in FIG.
This will be described with reference to the timing chart of FIG. In FIG. 4, with respect to the time t shown on the horizontal axis, the vertical axis shows the reference clock signals Ck, CW pulses, CCW pulses, the Q output signal of the JK flip-flop 41, and the first AND circuit 4.
2 output signal Sa, second AND circuit 43 output signal S
b and the output signal Sc of the OR circuit 44 are shown, respectively.

【0035】時刻t10において、J−Kフリップフロッ
プ41のQ出力は、不定であるので、図では、×××で
示している。
At time t 10 , the Q output of the JK flip-flop 41 is indefinite, so that it is indicated by XXX in the figure.

【0036】このような状態で、時刻t11に達すると、
CWパルスが“1”であるから、基準クロック信号Ck
の立ち上がりで、J−Kフリップフロップ41のQ出力
が“1”に反転等する。しかしながら、J−Kフリップ
フロップ41のQ出力が“1”に反転等した直後にCW
パルスが“0”となっているから、第一の論理積回路4
2の出力信号Saは、“0”の状態になる。したがっ
て、論理和回路44の出力信号Scも、“0”のままと
なる。
In this state, when time t 11 is reached,
Since the CW pulse is "1", the reference clock signal Ck
At the rising edge of, the Q output of the JK flip-flop 41 is inverted to "1". However, immediately after the Q output of the JK flip-flop 41 is inverted to "1", the CW
Since the pulse is "0", the first AND circuit 4
The output signal Sa of No. 2 becomes "0". Therefore, the output signal Sc of the logical sum circuit 44 also remains "0".

【0037】その後、時刻t12に達し、時刻t12〜時刻
13までの間CWパルスが“1”となり、J−Kフリッ
プフロップ41のQ出力が“1”であるので、時刻t12
〜時刻t13では第一の論理積回路42の出力信号Saが
“1”となる。したがって、論理和回路44から出力さ
れる信号Scは、“1”を出力することになる。
After that, at time t 12 , the CW pulse becomes “1” from time t 12 to time t 13 , and the Q output of the JK flip-flop 41 is “1”, so that time t 12
At to time t 13 the output signal Sa of the first AND circuit 42 becomes "1". Therefore, the signal Sc output from the OR circuit 44 outputs "1".

【0038】同様に、時刻t14に達し、時刻t14〜時刻
15までの間CWパルスが“1”となり、J−Kフリッ
プフロップ41のQ出力が“1”であるので、時刻t14
〜時刻t15では第一の論理積回路42の出力信号Saが
“1”となる。したがって、論理和回路44から出力さ
れる信号Scは、“1”を出力することになる。
[0038] Similarly, reached at time t 14, the time t 14 ~ time CW pulse becomes "1" until t 15, the Q output of the J-K flip-flop 41 is "1", the time t 14
At to time t 15 the output signal Sa of the first AND circuit 42 becomes "1". Therefore, the signal Sc output from the OR circuit 44 outputs "1".

【0039】ところで、時刻t15以降において、センサ
素子2が被測定体10の反転を検出し、時刻t16にCW
パルスからCCWパルスを発生したとする。このとき
に、CCWパルスが“1”でないので、基準クロック信
号Ckの立ち上がりでも、J−Kフリップフロップ41
のQ出力は反転しない。
By the way, after the time t 15 , the sensor element 2 detects the reversal of the device under test 10, and the CW is performed at the time t 16 .
It is assumed that the CCW pulse is generated from the pulse. At this time, since the CCW pulse is not "1", the J-K flip-flop 41 does not change even when the reference clock signal Ck rises.
Q output of is not inverted.

【0040】しかしながら、時刻t17で基準クロック信
号Ckが立ち上がると、このときにはCCWパルスは
“1”であるため、J−Kフリップフロップ41のQ出
力は反転し、“0”となる(時刻t18)。したがって、
J−Kフリップフロップ41の反転Q出力は、“1”と
なって、時刻t19〜t20の期間CCWパルスが“1”と
なって、第二の論理積回路43の出力信号Sbが“1”
となるので、論理和回路44の信号Scは“1”となる
(時刻t19〜t20)。このことは、例えば被測定体10
が時計回りに回転していて、これが反転して反時計回り
に回転した際に、センサ2から最初に出力されるパルス
(即ち、所定数のパルス)を削除することを意味してい
る。
However, when the reference clock signal Ck rises at time t 17 , the Q output of the JK flip-flop 41 is inverted to "0" because the CCW pulse is "1" at this time (time t). 18 ). Therefore,
The inverted Q output of the JK flip-flop 41 becomes "1", the CCW pulse becomes "1" in the period from time t 19 to t 20 , and the output signal Sb of the second AND circuit 43 becomes "1". 1 ”
Since the signal Sc of the OR circuit 44 becomes "1" (time t 19 ~t 20). This means that, for example, the device under test 10
Is rotating clockwise, and when it is reversed and rotated counterclockwise, the pulse output first from the sensor 2 (that is, a predetermined number of pulses) is deleted.

【0041】このような動作を行うことにより、例えば
CCWパルスからCWパルスに反転し、直ちにCWパル
スからCCWパルスに反転するという振動状態において
も(時刻t20〜t26の期間)、第一の論理積回路42及
び第二の論理積回路43から出力信号Sa,Sbが出力
されることがない。これは、CCWパルスからCWパル
スに反転した最初のパルスは(時刻t21〜t22)、上述
したように動作することにより削除されることから、第
一の論理積回路42からの出力信号Saが発生せず(時
刻t21〜t23)、同様に、CWパルスからCCWパルス
に反転した最初のパルスは(時刻t24〜t25)、上述し
たように動作することにより削除されることから、第二
の論理積回路43からの出力信号Sbが発生しない(時
刻t24〜t26)。したがって、論理和回路44の信号S
cは”0”となる。
By performing such an operation, for example, even in an oscillating state in which the CCW pulse is inverted to the CW pulse and the CW pulse is immediately inverted to the CCW pulse (time t 20 to t 26 ), the first The output signals Sa and Sb are never output from the AND circuit 42 and the second AND circuit 43. This is because the first pulse inverted from the CCW pulse to the CW pulse (time t 21 to t 22 ) is deleted by operating as described above, so the output signal Sa from the first AND circuit 42 is deleted. Is not generated (time t 21 to t 23 ), and similarly, the first pulse in which the CW pulse is inverted to the CCW pulse (time t 24 to t 25 ) is deleted by operating as described above. , The output signal Sb from the second AND circuit 43 is not generated (time t 24 to t 26 ). Therefore, the signal S of the OR circuit 44
c becomes "0".

【0042】上述したように、図2に示す振動除去回路
4は動作するので、CCWパルスとCWパルスとの間で
反転を繰り返すような振動状態になったときにでも、論
理和回路44から検出パルスSp(信号Sc)が出力さ
れることがない。
Since the vibration elimination circuit 4 shown in FIG. 2 operates as described above, the OR circuit 44 detects the vibration even when the vibration state in which the inversion is repeated between the CCW pulse and the CW pulse is repeated. The pulse Sp (signal Sc) is never output.

【0043】そして、この振動除去回路4は、被測定体
10が振動していず、CWあるいはCCWに一定パルス
値パルス値以上(実施例では、2パルス以上)回転し始
めてから検出パルスSp(信号Sc)が出力されるた
め、速度検出装置としては、その検出パルスSpがくる
まで速度検出を開始しないので、消費電流を下げること
ができるものである。
The vibration removing circuit 4 detects the detection pulse Sp (signal) after the measured object 10 does not vibrate and starts rotating CW or CCW by a constant pulse value or more (two or more pulses in the embodiment). Since Sc) is output, the speed detecting device does not start speed detection until the detection pulse Sp comes, so that the current consumption can be reduced.

【0044】以上説明したように本実施例では、被測定
体10を回転する装置とし、その回転をセンサ2で測定
する回路で説明したが、本発明は、これに限定されるこ
となく、他の例にも適用できる。
As described above, in the present embodiment, the device for rotating the object to be measured 10 is explained, and the circuit for measuring the rotation by the sensor 2 is explained, but the present invention is not limited to this, and other Can also be applied to the example.

【0045】尚、上述の実施例は本発明の好適な実施の
一例ではあるがこれに限定されるものではなく本発明の
要旨を逸脱しない範囲において種々変形実施可能であ
る。例えば、本実施例ではセンサ1のパルスを振動除去
回路に通してから振動成分を除去した検出パルスSpと
してクロックゲート6に入力するようにしているが、セ
ンサ1のパルスをクロックゲート6に直接入力してこの
センサ1からのパルスでクロックゲート6を開き、カウ
ンタ7からのゲート閉信号SL でゲートを閉じるように
しても良い。
The above embodiment is one example of the preferred embodiment of the present invention, but the present invention is not limited to this, and various modifications can be made without departing from the gist of the present invention. For example, in the present embodiment, the pulse of the sensor 1 is passed through the vibration removing circuit and then input to the clock gate 6 as the detection pulse Sp from which the vibration component is removed. However, the pulse of the sensor 1 is directly input to the clock gate 6. Then, the clock gate 6 may be opened by the pulse from the sensor 1 and the gate may be closed by the gate closing signal S L from the counter 7.

【0046】[0046]

【発明の効果】以上説明したように請求項1記載の発明
によれば、被測定体の位置あるいは速度を検出できるセ
ンサからの検出パルスの間隔を基準クロックを用いてカ
ウンタでカウントし、かつ基準クロック信号をクロック
ゲートを介してカウンタへ供給できるようにし、カウン
ト不要のときにクロックゲートを閉じてカウンタへの基
準クロック信号の供給を停止するようにしたので、カウ
ント不要時に低消費電流を図ることができ、電源を電池
等で構成したときに好適である。
As described above, according to the first aspect of the invention, the interval of the detection pulse from the sensor capable of detecting the position or speed of the object to be measured is counted by the counter using the reference clock, and the reference is used. The clock signal can be supplied to the counter via the clock gate, and the clock gate is closed to stop the supply of the reference clock signal to the counter when the count is not needed. This is suitable when the power source is composed of a battery or the like.

【0047】また、請求4記載の発明によれば、被測定
体の位置あるいは速度を測定できるセンサからの出力パ
ルスに基づき振動状態を検出しないとき、時計回りある
いは反時計回りに一定以上回転し始めないかぎり、速度
検出を開始しないようにしたので、消費電流を下げるこ
とができる。
According to the fourth aspect of the invention, when the vibration state is not detected based on the output pulse from the sensor capable of measuring the position or speed of the object to be measured, it starts to rotate clockwise or counterclockwise more than a certain amount. Unless the speed detection is started, the current consumption can be reduced.

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

【図1】本発明に係る速度検出装置の実施例を示すブロ
ック図である。
FIG. 1 is a block diagram showing an embodiment of a speed detection device according to the present invention.

【図2】同実施例で使用される振動除去回路の具体的構
成例を示す回路図である。
FIG. 2 is a circuit diagram showing a specific configuration example of a vibration elimination circuit used in the same embodiment.

【図3】同実施例の動作を説明するためのタイミングチ
ャートである。
FIG. 3 is a timing chart for explaining the operation of the embodiment.

【図4】図2の振動除去回路の動作を説明するためのタ
イミングチャートである。
FIG. 4 is a timing chart for explaining the operation of the vibration elimination circuit of FIG.

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

1 センサ 2 センサ素子 3 パルス発生回路 4 振動除去回路 5 基準クロック発生回路 6 クロックゲート 7 カウンタ 8 ホールド回路 9 変換回路 10 被測定体 1 sensor 2 sensor element 3 pulse generation circuit 4 vibration elimination circuit 5 reference clock generation circuit 6 clock gate 7 counter 8 hold circuit 9 conversion circuit 10 object to be measured

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 被測定体の位置あるいは速度に応じたパ
ルスを出力するセンサと、基準クロックを発生する基準
クロック発生回路と、前記センサからのパルスの時間間
隔を前記基準クロック発生回路からの基準クロックを基
に測定するカウンタとを備え、更に前記カウンタからの
計測値を基に速度信号を得る速度検出装置において、前
記センサからのパルスでゲートを開き、前記カウンタか
らのゲート閉信号でゲートを閉じるクロックゲートを前
記基準クロック発生回路と前記カウンタとの間に設けた
ことを特徴とする速度検出装置。
1. A sensor for outputting a pulse according to the position or speed of an object to be measured, a reference clock generation circuit for generating a reference clock, and a time interval of pulses from the sensor as a reference from the reference clock generation circuit. In a speed detection device that includes a counter that measures based on a clock, and further obtains a speed signal based on a measurement value from the counter, the gate is opened by a pulse from the sensor, and the gate is closed by a gate closing signal from the counter. A speed detecting device, wherein a closing clock gate is provided between the reference clock generating circuit and the counter.
【請求項2】 前記カウンタは、オーバーフロー信号を
ゲート閉信号として出力できるようにしたことを特徴と
する請求項1記載の速度検出装置。
2. The speed detecting device according to claim 1, wherein the counter is adapted to output an overflow signal as a gate closing signal.
【請求項3】 前記カウンタは、一定の計測値をゲート
閉信号として出力できるようにしたことを特徴とする請
求項1記載の速度検出装置。
3. The speed detecting device according to claim 1, wherein the counter is configured to output a constant measurement value as a gate closing signal.
【請求項4】 被測定体の位置あるいは速度に応じたパ
ルスを出力するセンサと、基準クロックを発生する基準
クロック発生回路と、前記センサから同一回転方向に所
定数のパルスが連続的に入力されたときに検出パルスを
出力する振動除去回路と、前記振動除去回路から出力さ
れるパルスの時間間隔を前記基準クロック発生回路から
の基準クロックを基に測定するカウンタとを備え、前記
カウンタからの計測値を基に速度信号を得るように構成
したことを特徴とする速度検出装置。
4. A sensor that outputs a pulse according to the position or speed of the object to be measured, a reference clock generation circuit that generates a reference clock, and a predetermined number of pulses continuously input in the same rotation direction from the sensor. And a counter for measuring the time interval of the pulse output from the vibration removing circuit based on the reference clock from the reference clock generating circuit. A speed detection device characterized in that it is configured to obtain a speed signal based on a value.
【請求項5】 前記振動除去回路は、時計回りパルスあ
るいは反時計回りパルスにより動作するフリップフロッ
プと、時計回りパルス及び当該時計回りパルスで反転す
る側の出力信号の論理積をとる第一論理積回路と、反時
計回りパルス及び当該反時計回りパルスで反転する側の
出力信号の論理積をとる第二論理積回路と、前記各論理
積回路の出力の論理和をとる論理和回路とを備えたこと
をことを特徴とする請求項4記載の速度検出装置。
5. A first logical product that obtains a logical product of a flip-flop that operates by a clockwise pulse or a counterclockwise pulse, a clockwise pulse and an output signal on the side that is inverted by the clockwise pulse. A circuit, a second AND circuit that takes a logical product of the counterclockwise pulse and the output signal on the side that is inverted by the counterclockwise pulse, and a logical sum circuit that takes the logical sum of the outputs of the respective logical product circuits. The speed detecting device according to claim 4, wherein
JP17274593A 1993-06-18 1993-06-18 Speed detector Expired - Fee Related JP2968418B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP17274593A JP2968418B2 (en) 1993-06-18 1993-06-18 Speed detector

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP17274593A JP2968418B2 (en) 1993-06-18 1993-06-18 Speed detector

Publications (2)

Publication Number Publication Date
JPH075186A true JPH075186A (en) 1995-01-10
JP2968418B2 JP2968418B2 (en) 1999-10-25

Family

ID=15947540

Family Applications (1)

Application Number Title Priority Date Filing Date
JP17274593A Expired - Fee Related JP2968418B2 (en) 1993-06-18 1993-06-18 Speed detector

Country Status (1)

Country Link
JP (1) JP2968418B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011226984A (en) * 2010-04-22 2011-11-10 Mitsubishi Electric Corp Magnetic detector

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011226984A (en) * 2010-04-22 2011-11-10 Mitsubishi Electric Corp Magnetic detector

Also Published As

Publication number Publication date
JP2968418B2 (en) 1999-10-25

Similar Documents

Publication Publication Date Title
US7231838B2 (en) Indicating instrument and initializing device
JPH1019598A (en) Driving unit for stepping motor type instrument
US5198750A (en) Extremely wide range frequency measurement method
JPH075186A (en) Speed detector
US4688948A (en) Electronic analogue timepiece of DC magnetic field detection type
JP2611082B2 (en) Rotation detection device
JP4201886B2 (en) DC brushless motor speed control device
US4578625A (en) Spindle drive control system
JPS601566A (en) Speed detector
JP3589527B2 (en) Displacement measuring device
JPH04233467A (en) Method and apparatus for measuring speed of motor
KR910001846B1 (en) Checking machine of velocity of motor
JP2577165Y2 (en) Driving device for cross-coil instruments
JP2550987B2 (en) Signal gradient measuring instrument
SU966597A1 (en) Thyratron electric motor tachogenerator
JP5113733B2 (en) Pulse generation circuit
JPH0315287A (en) Servo circuit
JP2928442B2 (en) Motor speed detection circuit
JPS5852530Y2 (en) Rotating body stop detection device
JPH03261866A (en) Speed detection circuit
JPH0718292U (en) Electronic clock
JPH01113670A (en) Rotation detector
JPH104695A (en) Rotating speed detecting for brushless motor
JPH05346434A (en) Drive controller for resolver
JPH0998596A (en) Drive and driving method for stepping motor

Legal Events

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