JP2567166B2 - False tooth sensor circuit - Google Patents

False tooth sensor circuit

Info

Publication number
JP2567166B2
JP2567166B2 JP3253900A JP25390091A JP2567166B2 JP 2567166 B2 JP2567166 B2 JP 2567166B2 JP 3253900 A JP3253900 A JP 3253900A JP 25390091 A JP25390091 A JP 25390091A JP 2567166 B2 JP2567166 B2 JP 2567166B2
Authority
JP
Japan
Prior art keywords
counter
signal
clock signal
clock
false tooth
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 - Fee Related
Application number
JP3253900A
Other languages
Japanese (ja)
Other versions
JPH0593603A (en
Inventor
真市 山野
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.)
Denso Ten Ltd
Original Assignee
Denso Ten 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 Denso Ten Ltd filed Critical Denso Ten Ltd
Priority to JP3253900A priority Critical patent/JP2567166B2/en
Publication of JPH0593603A publication Critical patent/JPH0593603A/en
Application granted granted Critical
Publication of JP2567166B2 publication Critical patent/JP2567166B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Measurement Of Length, Angles, Or The Like Using Electric Or Magnetic Means (AREA)
  • Length Measuring Devices With Unspecified Measuring Means (AREA)
  • Transmission And Conversion Of Sensor Element Output (AREA)

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、エンジン等の回転位置
を検出するため回転軸に取り付けられ、回転に伴ってパ
ルス信号を発生する歯車の一部を切り欠くことにより回
転位置を検出可能にしたかけ歯センサ用回路に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention makes it possible to detect a rotational position by cutting a part of a gear that is attached to a rotary shaft for detecting a rotational position of an engine or the like and generates a pulse signal in accordance with the rotation. A circuit for a false tooth sensor.

【0002】[0002]

【従来の技術】図10はかけ歯センサの構成を示す図で
あり、回転軸に取り付けられた歯車11の回転に伴って
鉄心12に電流が励起されるので比較器13でこれを検
出しパルス信号として出力する。歯車11の歯の一部を
切り欠いておくとその部分ではパルス信号が出力されな
いため、歯車11のかけ歯の位置が検出される。エンジ
ンに使用されるかけ歯センサの例では32歯のうち2歯
を切り欠いており、以下これを例として説明する。
2. Description of the Related Art FIG. 10 is a diagram showing the structure of a false tooth sensor. A current is excited in an iron core 12 as a gear 11 mounted on a rotary shaft rotates. Output as a signal. If a part of the teeth of the gear 11 is cut out, a pulse signal is not output at that part, so the position of the false tooth of the gear 11 is detected. In the example of the false tooth sensor used in the engine, two of the 32 teeth are cut out, which will be described below as an example.

【0003】出力されるパルス信号の途切れた部分がか
け歯の位置であり、かけ歯位置の検出にはパルス信号の
途切れたことを検出することが必要である。歯車が一定
速度で回転していればこの検出は容易であるが、エンジ
ンの回転位置検出に用いる場合、歯車の回転数は非常に
広い範囲で変化するため、これまでは図11に示すよう
なアップ/ダウンカウンタを用いたかけ歯センサ回路に
よってかけ歯位置を検出していた。
The discontinuous portion of the output pulse signal is the position of the false tooth, and it is necessary to detect the discontinuity of the pulse signal in order to detect the false tooth position. This detection is easy if the gear rotates at a constant speed, but when it is used to detect the rotational position of the engine, the rotation speed of the gear changes in a very wide range. The false tooth position is detected by a false tooth sensor circuit using an up / down counter.

【0004】図1の回路の動作原理は、アップ/ダウ
ンカウンタでまずパルス信号の一区間だけ第一のクロッ
ク信号で初期値からカウントアップし、次の区間で第一
のクロック信号より長い周期の第二のクロック信号でカ
ウントダウンを行なう。そして次のパルス信号でリセッ
トして直ちにこの動作を繰り返す。もしかけ歯部分でな
ければカウントダウンしても初期値以下になる前に次の
パルス信号が来てリセットされるが、もしかけ歯部分で
あれば初期値以下になるのでこれを検出することでかけ
歯の位置がわかる。しかしこれでは二個のパルス信号で
一回の動作になるので、同様のアップ/ダウンカウンタ
を二個設けて逆相で動作させる。
[0004] The operating principle of the circuit of Figure 1 1, first counts up from an initial value in the first clock signal by one period of the pulse signal at the up / down counter, longer than the first clock signal at the next interval period The second clock signal is used to count down. Then, the operation is repeated immediately after resetting with the next pulse signal. If it is not a false tooth portion, the next pulse signal comes and is reset before it becomes less than the initial value even if it counts down, but if it is a false tooth portion, it will be less than the initial value. I know the position of. However, in this case, two pulse signals make one operation, and therefore two similar up / down counters are provided to operate in opposite phases.

【0005】図11においてかけ歯センサ1よりのパル
ス信号はパルス幅が不安定であり、D型フリップフロッ
プで1/2に分周され、二個のアップ/ダウンカウンタ
35と36のアップカウントとダウンカウントの切換信
号になる。二個のアップ/ダウンカウンタ35と36に
は反転した切換信号が印加され逆相で動作するようにす
る。61と62は、アップ/ダウンカウンタ35と36
がダウンカウント動作の後初期値に戻るようにするリセ
ット信号を発生させるワンショット回路である。5はク
ロック信号を発生するクロック発生回路であり、このク
ロック信号がアップカウント時のクロック信号になり、
このクロック信号をD型フリップフロップ51で1/2
に分周した信号がダウンカウント時のクロック信号にな
る。52と53はアップカウント時とダウンカウント時
で印加するクロック信号を選択するセレクタである。
In FIG. 11, the pulse signal from the false tooth sensor 1 has an unstable pulse width and is divided into ½ by the D-type flip-flop, and the two up / down counters 35 and 36 count up. Becomes a down count switching signal. Inverted switching signals are applied to the two up / down counters 35 and 36 so that they operate in opposite phases. 61 and 62 are up / down counters 35 and 36.
Is a one-shot circuit that generates a reset signal for returning to the initial value after the down-count operation. Reference numeral 5 is a clock generation circuit that generates a clock signal. This clock signal becomes the clock signal for up-counting,
D-type flip-flop 51 halves this clock signal
The signal divided by is the clock signal for down counting. Reference numerals 52 and 53 are selectors for selecting clock signals to be applied during up-counting and down-counting.

【0006】図11の回路の各部のタイムチャートを示
したのが図12である。かけ歯部分のところでは、第一
カウンタ35がダウンカウント中であり、二倍周期のク
ロック信号でダウンカウントされるので、二番目のかけ
歯のところでかけ歯信号が発生する。
FIG. 12 shows a time chart of each part of the circuit of FIG. At the false tooth portion, the first counter 35 is down-counting and is down-counted by the clock signal having a double cycle, so that the false tooth signal is generated at the second false tooth.

【0007】[0007]

【発明が解決しようとする課題】かけ歯センサから出力
されるパルス信号は、回転に応じてパルス間隔が変化す
るため、前後のパルス間隔との比較を行なわなければか
け歯部分であるかが判定できない。そのため従来は図1
1に示すような二個のアップ/ダウンカウンタを組み合
せた回路が使用されて来た。
The pulse signal output from the false tooth sensor has a pulse interval that changes in accordance with the rotation, so it is determined whether or not it is a false tooth portion unless it is compared with the preceding and following pulse intervals. Can not. Therefore, conventionally
Circuits have been used that combine two up / down counters as shown in FIG.

【0008】しかしアップ/ダウンカウンタは広く知ら
れているようにアップカウントとダウンカウントを切り
換え可能にするために複雑な回路になる。図13は代表
的なアップ/ダウンカウンタと単純なアップカウンタの
構成例を示す図である。図13の(a)に示すようにア
ップ/ダウンカウンタはアップカウントとダウンカウン
トを切り換えるためのゲート回路を備えており、カウン
タの段数が大きくなるに従ってこのゲート回路は更に複
雑になる。
However, as is widely known, the up / down counter has a complicated circuit to enable switching between up count and down count. FIG. 13 is a diagram showing a configuration example of a typical up / down counter and a simple up counter. As shown in FIG. 13A, the up / down counter has a gate circuit for switching between up-counting and down-counting, and the gate circuit becomes more complicated as the number of stages of the counter increases.

【0009】図13の(b)はアップカウンタの例であ
り、この回路が許容できるのはクロック信号に比べてD
型フリップフロップの動作速度が充分に速い場合である
が、図13の(a)に比べてはるかに簡単な構成であ
る。本発明は、回路構成が複雑でコスト高となるアップ
/ダウンカウンタの替りに簡単な構成のアップカウンタ
を用いてかけ歯センサ用回路を実現し、製造コストの低
減を図ることを目的とする。
FIG. 13B shows an example of an up counter, and what this circuit can tolerate is D compared with a clock signal.
This is a case where the operation speed of the type flip-flop is sufficiently fast, but the configuration is far simpler than that of FIG. SUMMARY OF THE INVENTION It is an object of the present invention to realize a false tooth sensor circuit by using an up counter having a simple structure instead of an up / down counter which has a complicated circuit structure and becomes costly, thereby reducing the manufacturing cost.

【0010】[0010]

【課題を解決するための手段】本発明のかけ歯センサ用
回路は、上記目的を達成するため、図1に示すような基
本構成を有する。すなわち本発明のかけ歯センサ用回路
は、回転軸に取り付けられ回転に伴ってパルス信号を発
生させる歯車の一部を切り欠くことにより回転位置を検
出可能にしたかけ歯センサ用回路であって、かけ歯セン
サ1よりのパルス信号を1/2分周して切換信号を発生
させる分周手段2、第一アップカウンタ3、第二アップ
カウンタ4、第一アップカウンタ3及び第二アップカウ
ンタ4にクロック信号を供給するクロック発生手段5、
第一アップカウンタ3と第二アップカウンタ4をそれぞ
れ切換信号に対して逆相でカウントアップ、カウント値
の保持、及びリセットの順で動作を繰り返すように制御
するカウンタ制御手段6、第一アップカウンタ3のカウ
ント値を2倍した値と第二アップカウンタ4のカウント
値が第二カウンタのカウント動作時に一致した時に一致
信号を出力する第一の一致検出手段7、及び第二アップ
カウンタ4のカウント値を2倍した値と第一アップカウ
ンタ3のカウント値が第一アップカウンタ3のカウント
動作時に一致した時に一致信号を出力する第二の一致検
出手段8を備え、両方の一致信号の合成信号をかけ歯位
置信号として出力する。
A circuit for a false tooth sensor according to the present invention has a basic structure as shown in FIG. 1 in order to achieve the above object. That is, the false tooth sensor circuit of the present invention is a false tooth sensor circuit that is capable of detecting a rotational position by cutting out a part of a gear that is attached to a rotary shaft and generates a pulse signal with rotation, The frequency dividing means 2 for dividing the pulse signal from the false tooth sensor 1 by 2 to generate a switching signal, the first up counter 3, the second up counter 4, the first up counter 3 and the second up counter 4. Clock generation means 5 for supplying a clock signal,
Counter control means 6 for controlling the first up-counter 3 and the second up-counter 4 so as to count up in reverse phase with respect to the switching signal, hold the count value, and repeat the operation in the order of reset, first up-counter 3 of the count value obtained by doubling the value and the first coincidence detecting means 7 count value of the second up counter 4 outputs a coincidence signal when a match when the count operation of the second counter, and a count of the second up counter 4 A second coincidence detecting means 8 is provided which outputs a coincidence signal when the value obtained by doubling the value and the count value of the first up counter 3 coincide with each other during the counting operation of the first up counter 3, and a combined signal of both coincidence signals. Is output as a false tooth position signal.

【0011】[0011]

【作用】第一アップカウンタ3と第二アップカウンタは
切換信号に対して逆相でカウント動作、カウント値の保
護、及びリセットを繰り返す。そのため前のパルス信号
の区間でカウントされた値は次の区間でも保持される。
そして保持されるカウント値は一ビット分だけ上位にシ
フト、すなわち二倍にされてもう一方のアップカウンタ
の値と比較される。もしかけ歯部分でなければもう一方
のアップカウンタのカウント値は保持されているカウン
ト値とほぼ等しい値までカウントアップされたところで
切換信号が変化してしまう。従って保持されている値の
二倍になることはなく、かけ歯信号は発生しない。
The first up counter 3 and the second up counter repeat the counting operation, the protection of the count value, and the reset in the opposite phase with respect to the switching signal. Therefore, the value counted in the section of the previous pulse signal is held in the next section.
Then, the held count value is shifted upward by one bit, that is, doubled and compared with the value of the other up counter. If it is not a false tooth portion, the switching signal changes when the count value of the other up counter is counted up to a value substantially equal to the held count value. Therefore, the held value is never doubled, and the false tooth signal is not generated.

【0012】もしかけ歯部分であれば、切換信号はパル
ス信号三個分の間変化しないためアップカウンタはその
ままアップカウントされ、もう一方のアップカウンタに
保持されているカウント値の二倍になり、一致検出手段
で一致したことが検出され、かけ歯信号が発生される。
二個のアップカウンタ及び一致検出手段はそれぞれ相補
的な動作を行ない、パルス信号の区間、すなわち切換信
号の変化に応じて交互にかけ歯部分の検出を行なう。
If it is a false tooth portion, since the switching signal does not change for three pulse signals, the up counter is up-counted as it is, which is twice the count value held in the other up-counter. The coincidence detecting means detects the coincidence, and the false tooth signal is generated.
The two up counters and the coincidence detecting means respectively perform complementary operations, and alternately detect the false tooth portions in accordance with the section of the pulse signal, that is, the change of the switching signal.

【0013】ここで32歯から2歯だけ切り欠いたかけ
歯の場合には、一旦かけ歯信号を発生するようになった
一致検出手段は、以後かならずかけ歯信号を発生するこ
とになる。しかしどちらがかけ歯信号を発生するように
なるかは、最初のパワーオンリセット時のかけ歯位置で
決定される。
In the case of a false tooth in which only two teeth are cut out from 32 teeth, the coincidence detecting means that once generates a false tooth signal always generates a false tooth signal. However, which one is to generate the false tooth signal is determined by the false tooth position at the first power-on reset.

【0014】[0014]

【実施例】本発明の実施例を図2に示す。2はD型フリ
ップフロップであり、かけ歯センサからのパルス信号を
分周して切換信号を生成する。31から33は第一のア
ップカウンタを形成するD型フリップフロップであり、
更にカウンタの段数分だけ接続される。41から43は
第二のアップカウンタ用である。ここでこれらのD型フ
リップフロップはクロック信号に対して充分に高速動作
することが必要である。エンジン用のかけ歯センサでは
パルス信号は最大でも5KHz 程度であり、フリップフロ
ップの遅延時間は30ns程度であり、ほとんど問題な
い。
EXAMPLE An example of the present invention is shown in FIG. A D-type flip-flop 2 divides the pulse signal from the false tooth sensor to generate a switching signal. 31 to 33 are D-type flip-flops forming the first up counter,
Further, the number of stages corresponding to the counters is connected. 41 to 43 are for the second up counter. Here, these D-type flip-flops are required to operate at sufficiently high speed with respect to the clock signal. In the false tooth sensor for the engine, the pulse signal is about 5 KHz at the maximum, and the delay time of the flip-flop is about 30 ns, so there is almost no problem.

【0015】61と62は切換信号の変化に応じてアッ
プカウンタのカウント値の保持動作を終了させる時に、
ゼロにリセットするリセット信号を発生する部分であ
る。63と64は切換信号に応じて各カウンタへのクロ
ック信号の供給を制御するゲートであり、カウント時に
はクロック信号を供給し、その後クロック信号の供給を
停止してカウント値を保持する。
Reference numerals 61 and 62 denote, when the holding operation of the count value of the up counter is ended in response to the change of the switching signal,
It is a part that generates a reset signal for resetting to zero. Reference numerals 63 and 64 denote gates that control the supply of the clock signal to each counter according to the switching signal, supply the clock signal at the time of counting, and then stop the supply of the clock signal and hold the count value.

【0016】1から3は、第一アップカウンタの値
を1ビット上位シフトした値と第二アップカウントの値
を比較する一致検出器を構成し、ゲート4,5及び
D型フリップフロップ86により第二アップカウンタの
カウント時に一致した時のみかけ歯信号が出力される。
1から6で構成される第二の一致検出回路も同様で
ある。各一致検出回路のEXORゲートはアップカウン
タの段数分必要である。
Reference numerals 8 1 to 8 3 constitute a coincidence detector that compares a value obtained by shifting the value of the first up-counter by 1 bit and the value of the second up-count, and includes gates 8 4, 8 5 and a D-type flip-flop. A false tooth signal is output by the amplifier 86 only when the counts of the second up counter coincide with each other.
The same applies to the second match detection circuit composed of 7 1 to 7 6. EXOR gates of each coincidence detection circuit are required for the number of stages of the up counter.

【0017】図2の回路でのアップカウンタの変化を示
したのが図3のタイムチャートである。図3ではかけ歯
部分が第二アップカウンタのカウント動作時に当ってお
り、その時点で第一アップカウンタに保持されているカ
ウント値aの二倍になった時にかけ歯信号が出力され
る。図3のタイムチャートではクロック信号は一定であ
るため、アップカウンタはかけ歯部分では3倍の値をカ
ウントすることが必要であり、その分カウンタの段数を
高くする必要がある。また機械的な誤差等を考慮してか
け歯部分であることを判定する時期を調整することが望
ましい場合がある。図4は上記のような目的のため、一
方のアップカウンタに保持された値にもう一方のカウン
タの値が等しくなった時点で、クロック信号をより周期
の長いクロック信号に切り換えた場合のアップカウンタ
のタイムチャートを示す図である。これによりかけ歯信
号の発生時期は遅延し、アップカウンタの最大カウント
値も小さくなる。
The time chart of FIG. 3 shows the change of the up counter in the circuit of FIG. In FIG. 3, the false tooth portion is in contact with the counting operation of the second up counter, and the false tooth signal is output when the count value a held at the first up counter is doubled at that time. In the time chart of FIG. 3, since the clock signal is constant, the up counter needs to count a tripled value in the false tooth portion, and the number of stages of the counter needs to be increased accordingly. In addition, it may be desirable to adjust the timing for determining the false tooth portion in consideration of mechanical errors and the like. For the purpose described above, FIG. 4 shows an up counter in the case where the clock signal is switched to a clock signal with a longer cycle when the value held in one up counter becomes equal to the value in the other counter. It is a figure which shows the time chart of. As a result, the timing of generation of the false tooth signal is delayed, and the maximum count value of the up counter is also reduced.

【0018】図4に示したようなカウント動作の途中で
クロック信号を切り換えるための回路構成を図5に示
す。図1と比較して明らかなように、図5では第三の一
致検出手段51が更に備えられている。第三の一致検出
手段51は第一アップカウンタと第二アップカウンタの
一方に保持されもう一方でアップカウントされている値
が一致したかを検出するものであり、一致を検出すると
それに応じてクロック発生手段5はクロック信号を切り
換える。第三の一致検出手段51は図2に示した一致検
出回路がそのまま利用でき第一と第二アップカウンタの
同一段のカウント値を比較すれば良い。
FIG. 5 shows a circuit configuration for switching the clock signal during the counting operation as shown in FIG. As is apparent from comparison with FIG. 1, a third match detection means 51 is further provided in FIG. The third coincidence detecting means 51 detects whether or not the values held in one of the first up counter and the second up counter and up counted in the other coincide with each other, and when the coincidence is detected, the clock is correspondingly detected. The generating means 5 switches the clock signal. The third match detection means 51 can use the match detection circuit shown in FIG. 2 as it is, and compare the count values of the same stage of the first and second up counters.

【0019】クロック信号を変更する場合、クロック信
号の周期を1倍から2倍の間になるように変更すること
が必要であり、そのようなクロックを発生させる小数倍
クロック回路について説明する。図11に示したアップ
/ダウンカウンタを用いた従来のかけ歯センサ用回路で
も、ダウンカウント時に周期を2倍と3倍の間の適当な
値に変更したクロック信号でカウントダウンすることが
望ましく、このような小数倍クロック回路が使用でき
る。
When changing the clock signal, it is necessary to change the cycle of the clock signal to be between 1 and 2 times, and a decimal multiple clock circuit for generating such a clock will be described. Even in the conventional false tooth sensor circuit using the up / down counter shown in FIG. 11, it is desirable to count down by a clock signal whose cycle is changed to an appropriate value between 2 and 3 times during down counting. Such a fractional clock circuit can be used.

【0020】図6は小数倍クロック回路の原理を説明す
る図である。基本的にはクロック信号より周波数の充分
高い原クロック信号を作り出し、原クロック信号を分周
してクロック信号を得る。そして1.1倍のクロック信
号を得るにはこの原クロック信号を11カウントする間
に1カウントだけ原クロック信号を出力を停止する。そ
してこのようにして出力した原クロック信号を分周して
周期を1.1倍にしたクロック信号を得る。同様に1.
2倍の場合には12カウントに対して2カウント分を除
くという具合にして小数倍のクロック信号を得る。
FIG. 6 is a diagram for explaining the principle of the fractional multiple clock circuit. Basically, an original clock signal having a frequency sufficiently higher than that of the clock signal is generated, and the original clock signal is divided to obtain a clock signal. Then, in order to obtain the clock signal of 1.1 times, the output of the original clock signal is stopped for one count while the original clock signal is counted 11 times. The original clock signal output in this way is divided to obtain a clock signal whose period is 1.1 times. Similarly, 1.
In the case of doubling, 2 counts are removed from 12 counts, and a decimal multiple clock signal is obtained.

【0021】図7はこのようなクロック信号の小数倍回
路の構成例である。101は原クロック発生回路であ
り、この原クロック信号を分周回路106で分周して通
常のクロック信号を得る。102は原クロック信号をカ
ウントするカウンタであり、カウンタ周期設定回路10
3はカウント値が所定の値、例えば、1.1倍にするな
らば11になるとカウンタ102をリセットする信号を
出力する。これによりカウンタ102は所定値までの値
のカウントを繰り返す。
FIG. 7 shows an example of the configuration of such a circuit for multiplying a decimal fraction of a clock signal. Reference numeral 101 denotes an original clock generation circuit, which divides the original clock signal by a frequency divider circuit 106 to obtain a normal clock signal. Reference numeral 102 is a counter for counting the original clock signal, and the counter cycle setting circuit 10
3 outputs a signal for resetting the counter 102 when the count value reaches 11, which is a predetermined value, for example, 1.1 times. As a result, the counter 102 repeats counting up to a predetermined value.

【0022】104と105はクロック除去設定回路で
あり、カウンタ102のカウント値が所定の値になった
時に一致信号を出力し、この一致信号が出力されるとゲ
ート107で原クロック信号の分周回路106への出力
が停止される。1.1倍の場合は11カウント中1カウ
ントを除外すれば良いのでクロック除去設定回路は一個
で良い。しかし1.6倍のクロック信号を得るには、カ
ウンタ周期設定回路103を16に設定し、6カウント
分除外するために6個のクロック除去設定回路を設ける
ことが基本的には必要である。
Clock removal setting circuits 104 and 105 output a match signal when the count value of the counter 102 reaches a predetermined value, and when the match signal is output, the gate 107 divides the original clock signal. The output to the circuit 106 is stopped. In the case of 1.1 times, one count may be excluded from the 11 counts, so that only one clock removal setting circuit is required. However, in order to obtain a clock signal of 1.6 times, it is basically necessary to set the counter period setting circuit 103 to 16 and to provide 6 clock removal setting circuits to exclude 6 counts.

【0023】1.1倍のクロック信号を得るための回路
例を図8に示す。ここではカウンタ周期の設定と原クロ
ック信号の除去設定を共通化しており、102aから1
02dで構成される4段のカウンタの値が10になった
時、すなわちバイナリーコードで1010になった時に
次の原クロック信号の出力を停止すると共に、カウンタ
をリセットする。
FIG. 8 shows an example of a circuit for obtaining a 1.1-fold clock signal. Here, the setting of the counter cycle and the setting of removal of the original clock signal are common, and
When the value of the 4-stage counter constituted by 02d reaches 10, that is, when the binary code reaches 1010, the output of the next original clock signal is stopped and the counter is reset.

【0024】図8は1.1倍のクロック信号を得るため
の回路であり11カウント中1カウントだけ原クロック
を除去すれば良いためカウンタの周期設定と原クロック
の除去設定が共通化できたが、より一般化し1.6倍ま
でを任意に得られる回路例を図9に示す。111はD型
フリップフロップを用いた四段のカウンタであり、11
2はカウンタ111の周期を定める一致検出用コンパレ
ータであり、端子に適当な値を設定すればカウンタ11
1は任意の周期でカウントを繰り返す。113から11
5は原クロックの出力を停止するカウント値を設定する
ための一致検出用コンパレータである。コンパレータ1
13から115はカウンタ111の下位3ビット分のみ
の一致を検出する。これについては図6を参照して説明
する。
FIG. 8 shows a circuit for obtaining a clock signal of 1.1 times. Since only one count of the original clock needs to be removed from 11 counts, the cycle setting of the counter and the removal setting of the original clock can be made common. 9 shows an example of a circuit which is more generalized and can arbitrarily obtain up to 1.6 times. Reference numeral 111 is a four-stage counter using a D-type flip-flop.
Reference numeral 2 is a coincidence detection comparator that determines the cycle of the counter 111. If an appropriate value is set to the terminal, the counter 11
1 repeats counting at an arbitrary cycle. 113 to 11
Reference numeral 5 is a coincidence detection comparator for setting a count value for stopping the output of the original clock. Comparator 1
13 to 115 detect the coincidence of only the lower 3 bits of the counter 111. This will be described with reference to FIG.

【0025】いま1.1倍のクロック信号を得る場合、
コンパレータ112に10を設定すればカウンタ111
は0から10までのカウントすなわち原クロック信号を
11カウントする動作を繰り返す。そしてコンパレータ
113にバイナリーコードで011、すなわち3を設定
すると、カウンタ111の下位3ビットが011になる
のは1回だけであり、11カウントから1カウント分だ
けが除去される。従って1.1倍の場合には、コンパレ
ータ114と115は必要ない。
To obtain a clock signal of 1.1 times,
If 10 is set in the comparator 112, the counter 111
Repeats the operation of counting from 0 to 10, that is, counting the original clock signal by 11. When the binary code 011 is set to the comparator 113, that is, 3 is set, the lower 3 bits of the counter 111 become 011 only once, and only 1 count is removed from 11 counts. Therefore, in the case of 1.1 times, the comparators 114 and 115 are not necessary.

【0026】1.2倍の場合にはコンパレータ112の
設定を11に変更するだけである。するとカウンタ値が
11、すなわち12番目のところでもカウンタ値の下位
3ビットが011になり原クロック信号の出力が停止さ
れる。従って1.2倍の場合も、コンパレータ114と
115は必要ない。1.3倍から1.6倍の場合も同様
にコンパレータ112に周期に相当する値を設定し、コ
ンパレータ114と115に図6に示すような値を設定
すれば所望の小数倍のクロック信号が得られる。
In the case of 1.2 times, the setting of the comparator 112 is simply changed to 11. Then, even when the counter value is 11, that is, at the 12th place, the lower 3 bits of the counter value becomes 011 and the output of the original clock signal is stopped. Therefore, even in the case of 1.2 times, the comparators 114 and 115 are not necessary. Similarly, in the case of 1.3 times to 1.6 times, if the value corresponding to the period is set in the comparator 112 and the values shown in FIG. Is obtained.

【0027】[0027]

【発明の効果】本発明により、複雑なアップ/ダウンカ
ウンタを使用せずにアップカウンタのみで構成できるか
け歯センサ用回路が実現でき、回路の簡素化及びコスト
低減が図れる。
According to the present invention, it is possible to realize a circuit for a false tooth sensor which can be constituted only by an up counter without using a complicated up / down counter, and the circuit can be simplified and the cost can be reduced.

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

【図1】本発明のかけ歯センサ用回路の基本構成を示す
図である。
FIG. 1 is a diagram showing a basic configuration of a false tooth sensor circuit of the present invention.

【図2】本発明の実施例の回路を示す図である。FIG. 2 is a diagram showing a circuit according to an embodiment of the present invention.

【図3】図2の回路でのタイムチャートを示す図であ
る。
FIG. 3 is a diagram showing a time chart in the circuit of FIG.

【図4】アップカウント途中でクロック信号を変更する
効果を説明する図である。
FIG. 4 is a diagram illustrating an effect of changing a clock signal in the middle of counting up.

【図5】クロック信号を変更するための回路構成を示す
図である。
FIG. 5 is a diagram showing a circuit configuration for changing a clock signal.

【図6】クロック信号の周期を小数倍する回路の原理を
示す図である。
FIG. 6 is a diagram showing the principle of a circuit for multiplying the period of a clock signal by a decimal.

【図7】クロック信号の周期を小数倍する回路の構成を
示す図である。
FIG. 7 is a diagram showing a configuration of a circuit for multiplying a cycle of a clock signal by a decimal.

【図8】クロック信号の周期を小数倍する回路例を示す
図である。
FIG. 8 is a diagram showing an example of a circuit for multiplying a cycle of a clock signal by a decimal.

【図9】クロック信号の周期を小数倍する回路の他の例
を示す図である。
FIG. 9 is a diagram showing another example of a circuit for multiplying the period of a clock signal by a decimal.

【図10】かけ歯センサの構成を示す図である。FIG. 10 is a diagram showing a configuration of a false tooth sensor.

【図11】アップ/ダウンカウンタを用いた従来のかけ
歯センサ用回路の構成を示す図である。
FIG. 11 is a diagram showing a configuration of a conventional false tooth sensor circuit using an up / down counter.

【図12】図11の回路のタイムチャートを示す図であ
る。
12 is a diagram showing a time chart of the circuit of FIG. 11. FIG.

【図13】アップ/ダウンカウンタとアップカウンタの
構成の差違を示す図である。
FIG. 13 is a diagram showing a difference in configuration between an up / down counter and an up counter.

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

1…かけ歯センサ 2…分周手段 3…第一のアップカウンタ 4…第二のアップカウンタ 5…クロック発生手段 6…カウンタ制御手段 7…第一の一致検出手段 8…第二の一致検出手段 DESCRIPTION OF SYMBOLS 1 ... False tooth sensor 2 ... Dividing means 3 ... 1st up counter 4 ... 2nd up counter 5 ... Clock generation means 6 ... Counter control means 7 ... 1st coincidence detection means 8 ... 2nd coincidence detection means

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 回転軸に取り付けられ、回転に伴ってパ
ルス信号を発生させる歯車の一部を切り欠くことにより
回転位置を検出可能にしたかけ歯センサ用回路であっ
て、 該かけ歯センサ(1)よりのパルス信号を1/2分周し
て切換信号を発生させる分周手段(2)、 第一アップカウンタ(3)、 第二アップカウンタ(4)、 該第一アップカウンタ(3)及び該第二アップカウンタ
(4)にクロック信号を供給するクロック発生手段
(5)、 該第一アップカウンタ(3)と該第二アップカウンタ
(4)をそれぞれ該切換信号に対して逆相でアップカウ
ント、カウント値の保持、及びリセットの順で動作を繰
り返すように制御するカウンタ制御手段(6)、 該第一アップカウンタ(3)のカウント値を2倍した値
と該第二アップカウンタ(4)のカウント値が該第二カ
ウンタ(4)のカウント動作時に一致した時に一致信号
を出力する第一の一致検出手段(7)、及び 該第二アップカウンタ(4)のカウント値を2倍した値
と該第一アップカウンタ(3)のカウント値が該第一カ
ウンタ(3)のカウント動作時に一致した時に一致信号
を出力する第二の一致検出手段(8)を備え、両方の一
致信号の合成信号がかけ歯位置を示す信号となるかけ歯
センサ用回路。
1. A false tooth sensor circuit, which is attached to a rotary shaft and is capable of detecting a rotational position by cutting out a part of a gear that generates a pulse signal in accordance with rotation, said false tooth sensor ( Frequency dividing means (2) for frequency-dividing the pulse signal from 1) to generate a switching signal, first up counter (3), second up counter (4), first up counter (3) And clock generating means (5) for supplying a clock signal to the second up counter (4), and the first up counter (3) and the second up counter (4) are respectively in anti-phase with the switching signal. Counter control means (6) for controlling to repeat operations in the order of up-counting, holding of count value, and resetting, a value obtained by doubling the count value of the first up-counter (3), and the second up-counter ( Four ), The count value of the second up counter (4) is doubled , and the first match detection means (7) that outputs a match signal when the count value of the second counter (4) matches during counting operation. A second match detection means (8) is provided for outputting a match signal when the value and the count value of the first up counter (3) match during the counting operation of the first counter (3). A circuit for a false tooth sensor in which the combined signal becomes a signal indicating the false tooth position.
【請求項2】 該第一アップカウンタ(3)と該第二ア
ップカウンタ(4)の値が一致したことを検出する第三
の一致検出手段(51)を更に備え、 該クロック発生手段(5)は第一の周期の第一クロック
信号と該第一の周期の1.1倍から1.9倍の範囲内の
を有する第二クロック信号を供給可能でリセット後
は該第一クロック信号を供給しており、 該第三の一致検出手段(51)が一致を検出した時に
は、該クロック発生手段(5)から供給するクロック信
号を第一クロック信号から第二クロック信号に切り換え
る請求項1に記載のかけ歯センサ用回路。
2. A third coincidence detecting means (51) for detecting that the values of the first up counter (3) and the second up counter (4) coincide with each other, and the clock generating means (5). ) after a possible supply resets the second clock signal having a <br/> periodic ranging from 1.1 times 1.9 times the first clock signal and said first period of the first cycle The first clock signal is supplied, and when the third match detection means (51) detects a match, the clock signal supplied from the clock generation means (5) is changed from the first clock signal to the second clock signal. The false tooth sensor circuit according to claim 1, which is switched to.
【請求項3】 該クロック発生手段(5)は、該第一及
び第二クロック信号より充分高い周波数の原クロック信
号を発生する原クロック発生手段(101)、該原クロ
ック信号を計数するカウンタ(102)、 該カウンタ(102)が、該第一クロック信号と該第二
クロック信号の周期の比に対応する値になった時に該カ
ウンタ(102)を再度初期値に戻すリセット動作を行
なうリセット信号を出力するカウンタ周期設定手段(1
03)、 該カウンタ(102)のカウント値が、該第一クロック
信号と該第二クロック信号の周期の該比に対応して複数
存在する所定の値になった時に該原クロック信号の出力
を停止するクロック除去手段(104,105)、及び 出力された原クロック信号を分周する分周手段(10
6)を備える請求項2に記載のかけ歯センサ用回路。
3. The clock generating means (5) comprises the first and second clock generators.
And an original clock generation means (101) for generating an original clock signal having a frequency sufficiently higher than the second clock signal , a counter (102) for counting the original clock signal, and the counter (102) for the first clock signal and the second
Counter cycle setting means (1) for outputting a reset signal for performing a reset operation for returning the counter (102) to the initial value again when the value reaches the value corresponding to the cycle ratio of the clock signal.
03), the count value of the counter (102) is the first clock
A plurality of signals corresponding to the ratio of the period of the signal and the second clock signal
Clock removing means (104, 105) for stopping the output of the original clock signal when the existing predetermined value is reached, and frequency dividing means (10) for dividing the output original clock signal.
6. The circuit for a false tooth sensor according to claim 2, comprising 6).
JP3253900A 1991-10-01 1991-10-01 False tooth sensor circuit Expired - Fee Related JP2567166B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3253900A JP2567166B2 (en) 1991-10-01 1991-10-01 False tooth sensor circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3253900A JP2567166B2 (en) 1991-10-01 1991-10-01 False tooth sensor circuit

Publications (2)

Publication Number Publication Date
JPH0593603A JPH0593603A (en) 1993-04-16
JP2567166B2 true JP2567166B2 (en) 1996-12-25

Family

ID=17257647

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3253900A Expired - Fee Related JP2567166B2 (en) 1991-10-01 1991-10-01 False tooth sensor circuit

Country Status (1)

Country Link
JP (1) JP2567166B2 (en)

Also Published As

Publication number Publication date
JPH0593603A (en) 1993-04-16

Similar Documents

Publication Publication Date Title
EP0641082B1 (en) PLL frequency synthesizer and PLL frequency synthesizing method capable of obtaining high-speed lock-up and highly-reliable oscillation
JP2001196925A (en) Frequency comparator and phase locked loop provided with the same
JPH07101847B2 (en) Digital Phase Locked Loop Device
JPH066212A (en) Phase comparator circuit and phase locked loop oscillation circuit with the same
JP2567166B2 (en) False tooth sensor circuit
JP3858593B2 (en) Absolute value encoder device
JP2561887B2 (en) Servo motor rotation speed counting circuit
JP3413053B2 (en) Encoder origin detection device
JPH06189573A (en) Speed detector for encoder type motor
JPH1164040A (en) Device for detecting abnormality in encoder
CN113193868A (en) Phase-locked detection device, phase-locked detection method and phase-locked loop
KR100618555B1 (en) Apparatus for detecting velocity of motor
JP4035751B2 (en) Encoder signal processing circuit and signal processing method thereof
KR100294377B1 (en) Reference signal generator
JP2010172056A (en) Speed pattern generating apparatus
JPH10122903A (en) Rotation detecting device
JPH06104741A (en) Didital pll device
JP2961987B2 (en) Rotational position detecting device for internal combustion engine
JPS6312404B2 (en)
JPH06104740A (en) Measuring circuit for edge time of input signal and digital pll device
JP2903736B2 (en) Disconnection detection circuit of pulse generator
JP2000060177A (en) Speed controller for dc brushless motor
KR100466927B1 (en) Apparatus and method for detecting a speed and direction for spindle motor
JP4658982B2 (en) Clock generation circuit
JP2670263B2 (en) Digital delay circuit

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19960730

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081003

Year of fee payment: 12

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081003

Year of fee payment: 12

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091003

Year of fee payment: 13

LAPS Cancellation because of no payment of annual fees