JP2004012168A - Zero cross detection circuit - Google Patents
Zero cross detection circuit Download PDFInfo
- Publication number
- JP2004012168A JP2004012168A JP2002162520A JP2002162520A JP2004012168A JP 2004012168 A JP2004012168 A JP 2004012168A JP 2002162520 A JP2002162520 A JP 2002162520A JP 2002162520 A JP2002162520 A JP 2002162520A JP 2004012168 A JP2004012168 A JP 2004012168A
- Authority
- JP
- Japan
- Prior art keywords
- hysteresis
- zero
- comparator
- voltage
- output
- 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
Links
Images
Abstract
Description
【0001】
【発明の属する技術分野】
本発明は、ゼロクロス検出回路に関し、特に回転センサーや位置検出センサー等からのセンサー信号に基づいて、ゼロクロス検出信号を発生するゼロクロス検出回路に関する。
【0002】
【従来の技術】
従来より、ホール素子等を用いた回転センサーや位置検出センサー等の検出部にはコンパレータが用いられている。このコンパレータに入力される一対の入力信号がクロスした時点(ゼロクロス点)で、その出力がHIGH、LOWに切り替わることでゼロクロス検出が行われる。しかし、それらの入力信号にはある程度のノイズ成分が重畳されているので、このノイズ成分によるチャタリングが発生する。そこで、このチャタリングを防止するためにヒステリシス電圧を有するヒステリシスコンパレータが用いられている。
【0003】
図6に、係るヒステリシスコンパレータを利用したゼロクロス検出回路を示す。このゼロクロス検出回路は、入力信号Saが印加される入力端子100aと基準入力信号Sbが印加される基準入力端子100bを有するコンパレータ101と、ヒステリシス電圧を生成する帰還回路102とから構成されている。帰還回路102は、電流Isを流す電流源102aとコンパレータ101の出力電圧Voutに応じて開閉するスイッチSWから成る。また、入力端子100aとコンパレータ101のプラス入力端子(+)の間には抵抗値Rを有する抵抗103が挿入されている。
【0004】
上述した回路の動作について図7を参照しながら説明する。コンパレータ101の出力電圧VoutがHIGHの期間は、スイッチSWは開いており電流源Isはコンパレータ101のプラス入力端子(+)から切り離され、オフ状態である。したがって、入力信号Saが時間と共に減少し、基準入力信号Sbとクロスするとコンパレータ101の出力電圧VoutはLOWに切り替わる。すると、スイッチSWが閉じ、電流源Isが入力端子100aとコンパレータ101のプラス入力端子(+)に接続され、抵抗103に電流Isが流れる。これにより、コンパレータ101のプラス入力端子(+)の電位はヒステリシス電圧Is×Rだけ低下する。
【0005】
そして、入力信号Saが時間と共に減少から増加に転じ、基準入力信号Sbとクロスする。ところが、ヒステリシス電圧Is×Rが生じているために、
出力電圧Voutは速やかにHIGHに切り替わらない。出力電圧Voutが切り替わるのは、その後さらに入力信号Saがヒステリシス電圧Is×Rだけ上昇した時点となる。
【0006】
【発明が解決しようとする課題】
上述したように、従来例のゼロクロス検出回路ではコンパレータ101にヒステリシス電圧を持たせたために、正確なゼロクロス点の検出ができなかった。また、ヒステリシス電圧は温度に依存して変動するため、さらにゼロクロスの検出誤差が大きくなってしまうという問題があった。
【0007】
特に、自動車用回転センサーや自動車用位置検出センサー等の特に高いゼロクロス検出精度が必要となるセンサー検出部では、ゼロクロス点を正確に検出できないことや、ヒステリシス電圧の温度依存性により誤差が大きくなることは大きな問題となっている。
【0008】
【課題を解決するための手段】
そこで、本発明はチャタリング防止のためにヒステリシスコンパレータを用いたゼロクロス検出回路であって、しかも正確にゼロクロス点を検出することができるゼロクロス検出回路を提供するものである。
【0009】
本発明の特徴は、第1入力信号と第2入力信号のゼロクロス点を検出するゼロクロス検出回路であって、第1ヒステリシス電圧VH1を有する第1ヒステリシスコンパレータと、前記第1入力信号を基準として前記第1ヒステリシス電圧VH1とは極性の異なる第2ヒステリシス電圧VH2を有する第2ヒステリシスコンパレータと、前記第1入力信号を基準として両極性の第3ヒステリシス電圧VH3a、VH3bを有する第3のヒステリシスコンパレータと、前記第1、第2及び第3ヒステリシスコンパレータの出力に基づいて演算を行い、前記ゼロクロス点に応じたゼロクロス検出信号を出力する演算回路と、を具備するものである。
【0010】
本発明によれば、第1及び第2ヒステリシスコンパレータにより、正確にゼロクロス点を検出し、さらに、第1、第2及び3ヒステリシスコンパレータの出力の演算により、そのゼロクロス検出信号を取り出すようにしているので、
正確にゼロクロス点を検出することができると共に、ゼロクロス検出信号がヒステリシス電圧に依存しないことから、温度依存性による誤差についても無くすことができる。
【0011】
また、本発明の他の特徴は、前記第1、第2及び第3ヒステリシス電圧を電源電圧に応じて変化させるヒステリシス電圧制御回路を具備するものである。
【0012】
これにより、例えば自動車用回転センサー側の電源電圧の上昇により、入力信号の振幅が増加した場合に、それに応じてヒステリシス電圧も増加させるように制御することで、入力信号に重畳されるノイズ成分に起因したチャタリング防止効果を高めることができる。
【0013】
【発明の実施の形態】
次に、本発明の実施の形態について図面を参照しながら説明する。図1は、ゼロクロス検出回路の全体構成を示す回路図である。このゼロクロス検出回路は、第1入力信号S1が入力される第1入力端子1aと第2入力信号S2が入力される第2入力端子1bを有している。第1入力信号S1及び第2入力信号S2は、例えば、ホール素子等を用いた回転センサーや位置検出センサー等からの発生される一対の信号である。
【0014】
そして、第1入力信号S1及び第2入力信号S2は、それぞれ第1ヒステリシスコンパレータ10、第2ヒステリシスコンパレータ20、第3ヒステリシスコンパレータ30に入力される。
【0015】
第1ヒステリシスコンパレータ10は、第1入力信号S1が印加されるプラス入力端子(+)と第2入力信号S2が印加されるマイナ入力端子(−)を有する第1コンパレータ11と、電流Iaを流す第1電流源12と、第1コンパレータ11の出力Aに応じて開閉し、第1電流源12をオンオフさせるスイッチSW1から成る。また、入力端子1aと第1コンパレータ11のプラス入力端子(+)の間には抵抗値Raを有する第1抵抗13が挿入されている。第1ヒステリシスコンパレータ10の出力AがLOWの期間、スイッチSW1は閉じ、第1電流源12がオンになるため、第1抵抗13には第1コンパレータ11のプラス入力端子(+)に向かう方向に電流Iaが流れる。
【0016】
すると、第1コンパレータ11のプラス入力端子(+)の電位は、Ia×Raだけ低下する。このIa×Raが第1ヒステリシス電圧V1である。一方、第1ヒステリシスコンパレータ10の出力AがHIGHの期間、スイッチSW1は開き、第1電流源12がオフする。第1ヒステリシスコンパレータ10は、第1入力信号S1を片方の側にだけ減少させさせる上記第1ヒステリシス電圧V1を有するため、片側ヒステリシスコンパレータと呼ばれる。
【0017】
第2ヒステリシスコンパレータ20は、第1入力信号S1が印加されるプラス入力端子(+)と第2入力信号S2が印加されるマイナ入力端子(−)を有する第2コンパレータ21と、電流Ibを流す第2電流源22と、第2コンパレータ21の出力電圧Bに応じて開閉し、第2電流源22をオンオフさせるスイッチSW2から成る。第1ヒステリシスコンパレータ10では、第1電流源12が接地側に設けられていたのに対して、この第2電流源22は、電源側に設けられている。
また、入力端子1aと第2コンパレータ21のプラス入力端子(+)の間には抵抗値Rbを有する第2抵抗23が挿入されている。第2ヒステリシスコンパレータ20の出力BがHIGHの期間、スイッチSW2は閉じ、第2電流源22がオンになるため、第2抵抗23には、入力端子1aに向かう方向に電流Ibが流れる。
【0018】
すると、第2コンパレータ21のプラス入力端子(+)の電位は、Ib×Rbだけ上昇する。このIb×Rbが第2ヒステリシス電圧V2である。一方、第2ヒステリシスコンパレータ10の出力BがLOWの期間、スイッチSW2は開き、第2電流源22がオフする。
【0019】
第2ヒステリシスコンパレータ20も、第1入力信号S1を片方の側にだけ増加させさせる上記第2ヒステリシス電圧V2を有するため、片側ヒステリシスコンパレータと呼ばれるが、第2ヒステリシス電圧V2の極性は、第1ヒテリシス電圧V1の極性とは逆である。つまり、第1ヒテリシス電圧V1は第1入力信号S1を減少させるが、第2ヒステリシス電圧V2は第1入力信号S1を増加させるように働く。
【0020】
第3ヒステリシスコンパレータ30は、第1及び第2ヒステリシスコンパレータ10,20の構成を併せ持つ構成である。この回路は、第1入力信号S1が印加されるプラス入力端子(+)と第2入力信号S2が印加されるマイナ入力端子(−)を有する第3コンパレータ31と、電流Icaを流す第3電流源32aと、電流Icbを流す第3電流源32bと、第3コンパレータ31の出力Cに応じて開閉し、一対の第3電流源32a、32bを交互にオンオフさせる一対のスイッチSW3a、SW3bから成る。ここで、第3電流源32aは電源側に、第3電流源32bは接地側に設けられている。また、入力端子1aと第3コンパレータ31のプラス入力端子(+)の間には抵抗値Rcを有する第3抵抗33が挿入されている。
【0021】
第3ヒステリシスコンパレータ30の出力CがLOWの期間、スイッチSW3bは閉じ、第3電流源32bがオンになるため、第3抵抗33には第3コンパレータ31のプラス入力端子(+)に向かう方向に電流Icbが流れる。すると、第3コンパレータ31のプラス入力端子(+)の電位は、Icb×Rcだけ低下する。
【0022】
一方、第3ヒステリシスコンパレータ30の出力CがHIGHの期間、スイッチSW3aは閉じ、第3電流源32aがオンになるため、第3抵抗33には、入力端子1aに向かう方向に電流Icaが流れる。すると、第3コンパレータ31のプラス入力端子(+)の電位は、Ica×Rcだけ上昇する。
【0023】
すなわち、この第3ヒステリシスコンパレータはVH3a=Icb×Rc、VH3b=Ica×Rcという、両極性の第3ヒステリシス電圧を有している。VH3aは、入力信号S1を減少させ、VH3bは、入力信号S1を増加させるため、この回路は、両側ヒステリシスコンパレータと呼ばれる。ここで、後述するようにゼロクロス検出を正確に行うために、VH3a>VH1及びVH3b>VH2に設定されている。
【0024】
これらの第1ヒステリシスコンパレータ10、第2ヒステリシスコンパレータ20及び第3ヒステリシスコンパレータ30の各出力A、B、Cは、演算回路40に印加される。そして、演算回路40の出力は、出力トランジスタ50のベースに印加され、そのコレクタ51から後述するゼロクロス検出信号Eが取り出される。
【0025】
図2に演算回路40の具体的な回路例を示す。この回路は基本的には2つの加算回路から構成されている。以下、第1ヒステリシスコンパレータ10、第2ヒステリシスコンパレータ20及び第3ヒステリシスコンパレータ30の各出力A、B、Cは論理レベル(HIGHまたはLOW)を示すものとする。
【0026】
第1加算回路は、図2(a)に示すように、第1ヒステリシスコンパレータ10の出力Aが印加されたNPNトランジスタ41、第3ヒステリシスコンパレータ30の出力Cの反転信号/Cが印加されたNPNトランジスタ42、電流源43、インバータ43から構成されている。ここで、2つのNPNトランジスタ41、42のコレクタは共通接続されており、その接続点に電流源43が接続されている。この回路では、上記の共通接続点にD=/(A+/C)が出力される。Dは、(A+/C)の反転信号である。
【0027】
第2加算回路は、図2(b)に示すように、第2ヒステリシスコンパレータ20の出力Bの反転信号/Bが印加されたNPNトランジスタ45、第1加算回路の出力Dが印加されたNPNトランジスタ46、電流源47、インバータ48から構成されている。ここで、2つのNPNトランジスタ45、46のコレクタは共通接続されており、その接続点に電流源47が接続されている。この回路では、上記の共通接続点にE=/(/B+D)が出力される。Eは、(/B+D)の反転信号である。さらに、インバータ48からEの反転信号である/Eが出力される。
【0028】
次に、上述した構成のゼロクロス検出回路の動作例について図3を参照しながら説明する。なお以下の説明で、第1ヒステリシスコンパレータ10のプラス入力端子(+)の電圧をinhysA、第2ヒステリシスコンパレータ20のプラス入力端子(+)の電圧をinhysB、第3ヒステリシスコンパレータ20のプラス入力端子(+)の電圧をinhysC、とする。
【0029】
第1入力信号S1と第2入力信号S2の関係が、S1>S2の状態では、第1ヒステリシスコンパレータ10の出力A、第2ヒステリシスコンパレータ20の出力B、第2ヒステリシスコンパレータ20の出力Cは、いずれもHIGHである。したがって、第1ヒステリシスコンパレータ10の第1電流源12はオフしている。第2ヒステリシスコンパレータ20の第2電流源22はオン状態であり、ヒステリシス電圧VH2が発生している。また、第3ヒステリシスコンパレータ30の第3電流源32aはオン状態であり、ヒステリシス電圧VH3bが発生している。
【0030】
このS1>S2の状態から第1入力信号S1と第2入力信号S2とがクロスする点aにおいて、第1ヒステリシスコンパレータ10がゼロクロス点を検出する。同時に、第1ヒステリシスコンパレータ10のスイッチSW1が閉じ、第1電流源12がオンする。すると、inhysAは第1入力信号S1よりヒステリシス電圧VH1だけ低下する。この点aに対応する時刻t1において、第1ヒステリシスコンパレータ10の出力AはLOWに変化する。
【0031】
その後、すでに第1入力信号S1よりヒステリシス電圧VH2だけ高いinhysBは第2の入力信号S2と点bでクロスする。同時に、第2ヒステリシスコンパレータ20のスイッチSW2が開き、第2電流源22がオフする。すると、inhysBはヒステリシス電圧VH2だけ低下し、第1入力信号S1と同電位になる。この点bに対応する時刻t2において、第2ヒステリシスコンパレータ20の出力BはLOWに変化する。
【0032】
その後、すでに第1入力信号S1よりヒステリシス電圧VH3bだけ高いinhysCは第2の入力信号S2と点cでクロスする。同時に、第3ヒステリシスコンパレータ30のスイッチSW3bが閉じ、第3電流源32bがオンし、スイッチSW3aが開き、第3電流源32aがオフする。すると、inhysCはヒステリシス電圧VH3b+VH3aだけ低下する。これにより、inhysCはinhysAより低い電位となる。この点cに対応する時刻t3において、第3ヒステリシスコンパレータ30の出力CはLOWに変化する。
【0033】
逆に、S2>S1の状態から第1入力信号S1と第2入力信号S2とがクロスす場合には、上記と逆の結果が得られる。
【0034】
第1入力信号S1と第2入力信号S2とがクロスする点a’において、第2ヒステリシスコンパレータ20がゼロクロス点を検出する。同時に、inhysBは第1入力信号S1よりヒステリシス電圧VH2だけ上昇する。この点a’に対応する時刻t4において、第2ヒステリシスコンパレータ20の出力BはHIGHに変化する。
【0035】
その後、すでに第1入力信号S1よりヒステリシス電圧VH1だけ低いinhysAは第2の入力信号S2と点b’でクロスする。同時にinhysAはヒステリシス電圧VH1だけ上昇し、第1入力信号S1と同電位になる。この点b’に対応する時刻t5において、第1ヒステリシスコンパレータ20の出力AはHIGHに変化する。
【0036】
その後、すでに第1入力信号S1よりヒステリシス電圧VH3aだけ低いinhysCは第2の入力信号S2と点c’でクロスする。同時に、inhysCはヒステリシス電圧VH3b+VH3aだけ上昇する。この点c’に対応する時刻t6において、第3ヒステリシスコンパレータ30の出力CはH IGHに変化する。
【0037】
上記のような波形が得られるのは、各ヒステリシス電圧の設定が、
VH3a>VH1及びVH3b>VH2を満たしていることが前提である。
【0038】
そこで、第1〜第3ヒステリシスコンパレータの出力A,B,Cに対して、図2に示した演算回路4で演算処理を施すと図3の波形Eが得られる。波形Eは、第1ヒステリシスコンパレータ10が検出したゼロクロス点aと第2ヒステリシスコンパレータ20が検出したゼロクロス点a’における検出エッジを抽出したゼロクロス検出信号である。
【0039】
その演算方法は、まず図2(a)の第1加算回路により、/(A+/C)という演算を行いことにより信号Dを得る。信号Dは、出力AがLOWで出力CがHIGHの期間にHIGHとなるパルス信号である。次に、図2(b)の第2加算回路により、/(/B+D)という演算を行うことにより信号Eを得る。なお、第2加算回路から信号Eの反転信号/Eを出力し、さらに出力トランジスタ50のコレクタ51から信号Eを得るようにしてもよい。
【0040】
このように、第1ヒステリシスコンパレータ10出力A及び第2ヒステリシスコンパレータ20の出力Bで、それぞれゼロクロス点a,a’を検出し、その出力A,Bと第3ヒステリシスコンパレータ30の出力Cに所定の演算処理を施すことで、ゼロクロス点a,a’に対応する検出エッジを有するゼロクロス検出信号Eを得ることができる。
【0041】
また、上記実施の形態において、第1、第2、第3ヒステリシスコンパレータが有する各ヒステリシス電圧は、第1入力信号S1、第2入力信号S2の信号源の電源電圧に依存して変化させることで、電源電圧に応じて適切なノイズマージンを確保することができる。次に、このヒステリシス電圧の電源電圧に応じた制御方法について説明する。
【0042】
図4は、自動車回転センサーの検出部を示す回路図である。60は、センサーであり、電源電圧Vddが供給された抵抗ブリッジの等価回路で表される。
自動車回転センサー60からの信号は、第1入力信号S1、第2入力信号S2として、それぞれ入力端子1a,1bから、図1に示したゼロクロス検出回路に入力される。図4は説明を簡略化するため、第1ヒステリシスコンパレータ10のみを図示している。自動車回転センサー60の電源電圧Vddが変動することにより、それに応じて第1入力信号S1、第2入力信号S2の振幅が変動する。
【0043】
そこで、第1入力信号S1、第2入力信号S2の振幅に応じて、第1ヒステリシスコンパレータ10のヒステリシス電圧VH1を変化させることにより、
チャタリングに対するノイズマージンを適切に確保できる。例えば、第1入力ヒステリシス電圧VH1を電源電圧Vdd(つまり、信号S1、第2入力信号S2の振幅)に比例するように制御する。
【0044】
具体的には、第1ヒステリシスコンパレータ10のヒステリシス電圧VH1を発生させている第1電流源12の電流Iaを電源電圧Vddに依存させる。図5にそのような第1電流源12の回路図を示す。電源電圧Vddと接地電圧間に抵抗61、62を接続し、その接続点の電圧Vをエミッタ接地されたNPNトランジスタ63のベースに印加する。電圧Vは、Vdd×R2/(R1+R2)である。すると、NPNトランジスタ63のコレクタには電源電圧Vddに依存した電流Iaが発生する。この電流はカレントミラー回路64,65を通して、端子66から出力される。
【0045】
したがって、このような第1電流源12を図1の第1ヒステリシスコンパレータ10に適用するだけで、ヒステリシス電圧VH1は電源電圧Vddの上昇と共に大きくなり、電源電圧Vddの減少と共に小さくなるので、電源電圧Vddの変動に関わらず常に適切なノイズマージンを自動的に確保することができる。
【0046】
図1における第2ヒステリシスコンパレータ20の第2電流源22、第3ヒステリシスコンパレータ20の第3電流源32a,32bについても同様な構成を用いることにより、第2ヒステリシスコンパレータ20及び第3ヒステリシスコンパレータ30についても同様に適切なノイズマージンを確保することができる。
【0047】
【発明の効果】
本発明によれば、第1及び第2ヒステリシスコンパレータにより、正確にゼロクロス点を検出し、さらに、第1、第2及び第3ヒステリシスコンパレータの出力の演算により、そのゼロクロス検出信号を取り出すようにしているので、正確にゼロクロス点を検出することができると共に、ゼロクロス検出信号がヒステリシス電圧に依存しないことから、温度依存性による誤差についても無くすことができる。
【0048】
また、第1、第2及び第3ヒステリシスコンパレータの出力に基本的には加算演算を施すのみで、ゼロクロス検出信号を取り出すようにしているので、ラッチ回路を用いる場合と比較しても回路構成が簡単である。
【0049】
また、各ヒステリシスコンパレータの各ヒステリシス電圧を電源電圧に応じて変化させるようにしたので、例えば自動車用回転センサー側の電源電圧の上昇により、入力信号の振幅が増加した場合に、それに応じてヒステリシス電圧も増加させるように制御することで、電源電圧の変動に関わらず常に適切なノイズマージンを確保することができる。
【図面の簡単な説明】
【図1】本発明の実施の形態に係るゼロクロス検出回路の全体構成を示す回路図である。
【図2】図1の演算回路40の具体的な回路図である。
【図3】図1のゼロクロス検出回路の動作例を示す波形図である。
【図4】自動車回転センサーの検出部を示す回路図である。
【図5】図1の第1電流源12の具体的な回路図である。
【図6】従来例に係るゼロクロス検出回路の回路図である。
【図7】図6のゼロクロス検出回路の動作を示す波形図である。
【符号の説明】
1a 第1入力端子 1b 第2入力端子 10 第1ヒステリシスコンパレータ 11 第1コンパレータ 12 第1電流源
13 第1抵抗 20 第2ヒステリシスコンパレータ 21 第2コンパレータ 22 第2電流源 23 第2抵抗 30 第3ヒステリシスコンパレータ 31 第3コンパレータ 32a,32b 第3電流源
33 第3抵抗 40 演算回路 50 出力トランジスタ[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to a zero cross detection circuit, and more particularly to a zero cross detection circuit that generates a zero cross detection signal based on a sensor signal from a rotation sensor, a position detection sensor, or the like.
[0002]
[Prior art]
2. Description of the Related Art Conventionally, a comparator is used for a detection unit such as a rotation sensor or a position detection sensor using a Hall element or the like. When a pair of input signals input to the comparator cross (zero-cross point), the output is switched between HIGH and LOW, thereby performing zero-cross detection. However, since some noise components are superimposed on those input signals, chattering occurs due to the noise components. Therefore, in order to prevent the chattering, a hysteresis comparator having a hysteresis voltage is used.
[0003]
FIG. 6 shows a zero-cross detection circuit using such a hysteresis comparator. The zero-cross detection circuit includes a
[0004]
The operation of the above-described circuit will be described with reference to FIG. While the output voltage Vout of the
[0005]
Then, the input signal Sa changes from decreasing to increasing with time, and crosses the reference input signal Sb. However, because of the occurrence of the hysteresis voltage Is × R,
The output voltage Vout does not immediately switch to HIGH. The output voltage Vout switches when the input signal Sa further rises by the hysteresis voltage Is × R.
[0006]
[Problems to be solved by the invention]
As described above, since the
[0007]
In particular, sensor detectors that require particularly high zero-cross detection accuracy, such as automobile rotation sensors and automobile position detection sensors, cannot accurately detect the zero-cross point, or the error increases due to the temperature dependence of the hysteresis voltage. Has become a big problem.
[0008]
[Means for Solving the Problems]
Accordingly, the present invention provides a zero-crossing detection circuit using a hysteresis comparator for preventing chattering, and further provides a zero-crossing detection circuit capable of accurately detecting a zero-crossing point.
[0009]
A feature of the present invention is a zero-cross detection circuit that detects a zero-cross point between a first input signal and a second input signal, wherein the first hysteresis comparator has a first hysteresis voltage VH1, and the first input signal is used as a reference. A second hysteresis comparator having a second hysteresis voltage VH2 having a different polarity from the first hysteresis voltage VH1, a third hysteresis comparator having third hysteresis voltages VH3a and VH3b of both polarities based on the first input signal, An arithmetic circuit that performs an arithmetic operation based on the outputs of the first, second, and third hysteresis comparators and outputs a zero-cross detection signal corresponding to the zero-cross point.
[0010]
According to the present invention, the zero-cross point is accurately detected by the first and second hysteresis comparators, and the zero-cross detection signal is extracted by calculating the outputs of the first, second, and third hysteresis comparators. So
Since the zero-cross point can be accurately detected, and the zero-cross detection signal does not depend on the hysteresis voltage, errors due to temperature dependency can be eliminated.
[0011]
Another feature of the present invention is to include a hysteresis voltage control circuit for changing the first, second and third hysteresis voltages according to a power supply voltage.
[0012]
Thereby, for example, when the amplitude of the input signal increases due to an increase in the power supply voltage on the side of the automobile rotation sensor, the hysteresis voltage is controlled so as to increase accordingly, so that the noise component superimposed on the input signal is reduced. The resulting chattering prevention effect can be enhanced.
[0013]
BEST MODE FOR CARRYING OUT THE INVENTION
Next, embodiments of the present invention will be described with reference to the drawings. FIG. 1 is a circuit diagram showing the entire configuration of the zero-cross detection circuit. This zero-cross detection circuit has a
[0014]
Then, the first input signal S1 and the second input signal S2 are input to the
[0015]
The
[0016]
Then, the potential of the plus input terminal (+) of the
[0017]
The
A
[0018]
Then, the potential of the plus input terminal (+) of the
[0019]
The
[0020]
The
[0021]
While the output C of the
[0022]
On the other hand, while the output C of the
[0023]
That is, the third hysteresis comparator has a bipolar third hysteresis voltage of VH3a = Icb × Rc and VH3b = Ica × Rc. This circuit is called a double-sided hysteresis comparator because VH3a decreases the input signal S1 and VH3b increases the input signal S1. Here, VH3a> VH1 and VH3b> VH2 are set in order to accurately perform zero-cross detection as described later.
[0024]
The outputs A, B, and C of the
[0025]
FIG. 2 shows a specific circuit example of the
[0026]
As shown in FIG. 2A, the first adder circuit includes an NPN transistor 41 to which the output A of the
[0027]
As shown in FIG. 2B, the second adder circuit includes an NPN transistor 45 to which an inverted signal / B of the output B of the
[0028]
Next, an operation example of the zero-crossing detection circuit having the above-described configuration will be described with reference to FIG. In the following description, the voltage of the plus input terminal (+) of the
[0029]
When the relationship between the first input signal S1 and the second input signal S2 is S1> S2, the output A of the
[0030]
At the point a where the first input signal S1 and the second input signal S2 cross from the state of S1> S2, the
[0031]
Thereafter, inhysB, which is already higher than the first input signal S1 by the hysteresis voltage VH2, crosses the second input signal S2 at the point b. At the same time, the switch SW2 of the
[0032]
Thereafter, inhysC, which is already higher than the first input signal S1 by the hysteresis voltage VH3b, crosses the second input signal S2 at the point c. At the same time, the switch SW3b of the
[0033]
Conversely, when the first input signal S1 and the second input signal S2 cross from the state of S2> S1, the result opposite to the above is obtained.
[0034]
At a point a 'where the first input signal S1 and the second input signal S2 cross, the
[0035]
After that, inhysA, which is already lower than the first input signal S1 by the hysteresis voltage VH1, crosses the second input signal S2 at the point b '. At the same time, inhysA increases by the hysteresis voltage VH1 and becomes the same potential as the first input signal S1. At time t5 corresponding to this point b ', the output A of the
[0036]
After that, inhysC, which is already lower than the first input signal S1 by the hysteresis voltage VH3a, crosses the second input signal S2 at the point c ′. At the same time, inhysC increases by the hysteresis voltage VH3b + VH3a. At time t6 corresponding to this point c ′, the output C of the
[0037]
The above waveform is obtained because the setting of each hysteresis voltage is
It is assumed that VH3a> VH1 and VH3b> VH2 are satisfied.
[0038]
Therefore, when the arithmetic processing is performed on the outputs A, B, and C of the first to third hysteresis comparators by the arithmetic circuit 4 shown in FIG. 2, the waveform E in FIG. 3 is obtained. A waveform E is a zero-cross detection signal obtained by extracting detection edges at the zero-cross point a detected by the
[0039]
In the calculation method, first, a signal D is obtained by performing a calculation of / (A + / C) by the first adder circuit of FIG. The signal D is a pulse signal that becomes HIGH while the output A is LOW and the output C is HIGH. Next, the signal E is obtained by performing the operation of / (/ B + D) by the second adder circuit of FIG. The inverted signal / E of the signal E may be output from the second adder circuit, and the signal E may be obtained from the
[0040]
As described above, the zero-cross points a and a 'are detected from the output A of the
[0041]
In the above embodiment, each of the hysteresis voltages of the first, second, and third hysteresis comparators is changed depending on the power supply voltage of the signal source of the first input signal S1 and the second input signal S2. In addition, an appropriate noise margin can be secured according to the power supply voltage. Next, a control method according to the power supply voltage of the hysteresis voltage will be described.
[0042]
FIG. 4 is a circuit diagram illustrating a detection unit of the vehicle rotation sensor.
The signals from the
[0043]
Therefore, by changing the hysteresis voltage VH1 of the
A noise margin for chattering can be appropriately secured. For example, the first input hysteresis voltage VH1 is controlled so as to be proportional to the power supply voltage Vdd (that is, the amplitudes of the signal S1 and the second input signal S2).
[0044]
Specifically, the current Ia of the first
[0045]
Therefore, by simply applying the first
[0046]
By using the same configuration for the second
[0047]
【The invention's effect】
According to the present invention, the zero-cross point is accurately detected by the first and second hysteresis comparators, and the zero-cross detection signal is extracted by calculating the outputs of the first, second, and third hysteresis comparators. Therefore, the zero-cross point can be accurately detected, and the error due to temperature dependency can be eliminated because the zero-cross detection signal does not depend on the hysteresis voltage.
[0048]
Further, since the output of the first, second, and third hysteresis comparators is basically only subjected to the addition operation to extract the zero-cross detection signal, the circuit configuration can be compared with the case of using the latch circuit. Easy.
[0049]
Also, since each hysteresis voltage of each hysteresis comparator is changed in accordance with the power supply voltage, for example, when the amplitude of the input signal increases due to an increase in the power supply voltage on the side of the automobile rotation sensor, the hysteresis voltage is correspondingly increased. By controlling so as to increase the power supply voltage, an appropriate noise margin can always be ensured regardless of the fluctuation of the power supply voltage.
[Brief description of the drawings]
FIG. 1 is a circuit diagram showing an entire configuration of a zero-crossing detection circuit according to an embodiment of the present invention.
FIG. 2 is a specific circuit diagram of the
FIG. 3 is a waveform chart showing an operation example of the zero-cross detection circuit of FIG.
FIG. 4 is a circuit diagram showing a detection unit of a vehicle rotation sensor.
FIG. 5 is a specific circuit diagram of the first
FIG. 6 is a circuit diagram of a conventional zero-cross detection circuit.
FIG. 7 is a waveform chart showing an operation of the zero-crossing detection circuit of FIG. 6;
[Explanation of symbols]
1a First input terminal 1b
Claims (6)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2002162520A JP4160322B2 (en) | 2002-06-04 | 2002-06-04 | Zero cross detection circuit |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2002162520A JP4160322B2 (en) | 2002-06-04 | 2002-06-04 | Zero cross detection circuit |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2004012168A true JP2004012168A (en) | 2004-01-15 |
JP4160322B2 JP4160322B2 (en) | 2008-10-01 |
Family
ID=30431241
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2002162520A Expired - Fee Related JP4160322B2 (en) | 2002-06-04 | 2002-06-04 | Zero cross detection circuit |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4160322B2 (en) |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2008004422A1 (en) | 2006-07-03 | 2008-01-10 | Toshiba Kikai Kabushiki Kaisha | Digital filter device, phase detection device, position detection device, ad conversion device, zero cross detection device, and digital filter program |
JP2011220953A (en) * | 2010-04-14 | 2011-11-04 | Yokogawa Electric Corp | Zero-cross signal generation circuit and phase measuring instrument |
CN103558447A (en) * | 2013-10-23 | 2014-02-05 | 国家电网公司 | Zero-voltage control circuit for small signals |
JP2014062825A (en) * | 2012-09-21 | 2014-04-10 | Asahi Kasei Electronics Co Ltd | Voltage detection circuit, and voltage detection method |
CN107402322A (en) * | 2016-05-20 | 2017-11-28 | 精工半导体有限公司 | Zero hands over detection circuit and sensor device |
KR20170131254A (en) * | 2016-05-20 | 2017-11-29 | 에스아이아이 세미컨덕터 가부시키가이샤 | Zero-cross detecting circuit and sensor device |
WO2019026706A1 (en) * | 2017-07-31 | 2019-02-07 | ローム株式会社 | Zero-crossing detection circuit |
JP2019190971A (en) * | 2018-04-24 | 2019-10-31 | エイブリック株式会社 | Zero-crossing detection circuit and sensor device |
JP2019190970A (en) * | 2018-04-24 | 2019-10-31 | エイブリック株式会社 | Zero-crossing detection circuit and sensor device |
WO2020065816A1 (en) * | 2018-09-27 | 2020-04-02 | 理化工業株式会社 | Comparison circuit, zero-point detection circuit, ac power regulator, and signal comparison method |
CN113665475A (en) * | 2021-09-09 | 2021-11-19 | 东风柳州汽车有限公司 | Control method and device for automobile lamp |
US11733275B2 (en) | 2017-07-31 | 2023-08-22 | Rohm Co., Ltd. | Zero-crossing detection circuit |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104332940B (en) * | 2014-11-19 | 2017-10-17 | 阳光电源股份有限公司 | Suppress method, device and the micro-grid system of capture erroneous judgement |
-
2002
- 2002-06-04 JP JP2002162520A patent/JP4160322B2/en not_active Expired - Fee Related
Cited By (26)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2008004422A1 (en) | 2006-07-03 | 2008-01-10 | Toshiba Kikai Kabushiki Kaisha | Digital filter device, phase detection device, position detection device, ad conversion device, zero cross detection device, and digital filter program |
US8468187B2 (en) | 2006-07-03 | 2013-06-18 | Toshiba Kikai Kabushiki Kaisha | Digital filter device, phase detection device, position detection device, AD conversion device, zero cross detection device, and digital filter program |
JP2011220953A (en) * | 2010-04-14 | 2011-11-04 | Yokogawa Electric Corp | Zero-cross signal generation circuit and phase measuring instrument |
JP2014062825A (en) * | 2012-09-21 | 2014-04-10 | Asahi Kasei Electronics Co Ltd | Voltage detection circuit, and voltage detection method |
CN103558447A (en) * | 2013-10-23 | 2014-02-05 | 国家电网公司 | Zero-voltage control circuit for small signals |
JP2019200217A (en) * | 2016-05-20 | 2019-11-21 | エイブリック株式会社 | Zero-cross detecting circuit and sensor device |
CN107402322A (en) * | 2016-05-20 | 2017-11-28 | 精工半导体有限公司 | Zero hands over detection circuit and sensor device |
JP2017211365A (en) * | 2016-05-20 | 2017-11-30 | エスアイアイ・セミコンダクタ株式会社 | Zero-cross detecting circuit and sensor device |
KR20170131254A (en) * | 2016-05-20 | 2017-11-29 | 에스아이아이 세미컨덕터 가부시키가이샤 | Zero-cross detecting circuit and sensor device |
CN107402322B (en) * | 2016-05-20 | 2021-01-12 | 艾普凌科有限公司 | Zero-crossing detection circuit and sensor device |
US10852328B2 (en) | 2016-05-20 | 2020-12-01 | Ablic Inc. | Zero-crossing detection circuit and sensor device |
KR102104776B1 (en) * | 2016-05-20 | 2020-04-27 | 에이블릭 가부시키가이샤 | Zero-cross detecting circuit and sensor device |
CN111149005B (en) * | 2017-07-31 | 2022-04-01 | 罗姆股份有限公司 | Zero-crossing detection circuit |
US11181562B2 (en) | 2017-07-31 | 2021-11-23 | Rohm Co., Ltd. | Zero-crossing detection circuit |
US11733275B2 (en) | 2017-07-31 | 2023-08-22 | Rohm Co., Ltd. | Zero-crossing detection circuit |
CN111149005A (en) * | 2017-07-31 | 2020-05-12 | 罗姆股份有限公司 | Zero-crossing detection circuit |
JPWO2019026706A1 (en) * | 2017-07-31 | 2020-07-02 | ローム株式会社 | Zero-cross detection circuit |
WO2019026706A1 (en) * | 2017-07-31 | 2019-02-07 | ローム株式会社 | Zero-crossing detection circuit |
JP7080098B2 (en) | 2018-04-24 | 2022-06-03 | エイブリック株式会社 | Zero cross detection circuit and sensor device |
JP2019190971A (en) * | 2018-04-24 | 2019-10-31 | エイブリック株式会社 | Zero-crossing detection circuit and sensor device |
JP2019190970A (en) * | 2018-04-24 | 2019-10-31 | エイブリック株式会社 | Zero-crossing detection circuit and sensor device |
JP7103836B2 (en) | 2018-04-24 | 2022-07-20 | エイブリック株式会社 | Zero cross detection circuit and sensor device |
CN110398623B (en) * | 2018-04-24 | 2023-04-07 | 艾普凌科有限公司 | Zero-cross detection circuit and sensor device |
CN110398623A (en) * | 2018-04-24 | 2019-11-01 | 艾普凌科有限公司 | Zero cross detection circuit and sensor device |
WO2020065816A1 (en) * | 2018-09-27 | 2020-04-02 | 理化工業株式会社 | Comparison circuit, zero-point detection circuit, ac power regulator, and signal comparison method |
CN113665475A (en) * | 2021-09-09 | 2021-11-19 | 东风柳州汽车有限公司 | Control method and device for automobile lamp |
Also Published As
Publication number | Publication date |
---|---|
JP4160322B2 (en) | 2008-10-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6969988B2 (en) | Angle determining apparatus and angle determining system | |
JP4160322B2 (en) | Zero cross detection circuit | |
US8384324B2 (en) | Motor drive circuit | |
US7164245B1 (en) | Brushless motor drive device | |
US9354279B2 (en) | Magnetic sensor device for generating an output in accordance with a magnetic field intensity applied to a magnetoelectric conversion hall effect element | |
JPH03201818A (en) | Comparing circuit | |
JP4434000B2 (en) | Motor rotation information detection method and motor rotation information detection device | |
US9584052B2 (en) | Driving system, apparatus and method for spindle motor | |
KR20210016835A (en) | A over-current protection apparatus of inverter | |
TWI802680B (en) | Zero-cross detection circuit and sensing device | |
US8030864B2 (en) | Motor drive circuit | |
JP2008086103A (en) | Motor drive current detection circuit | |
JPS58172995A (en) | Load current detecting circuit | |
JPH1038931A (en) | Apparatus for processing sensor signal | |
TWI760915B (en) | Motor controller | |
JP2003202355A (en) | Current detection circuit | |
US6157221A (en) | Three input comparator | |
JP2005102349A (en) | Current detector | |
JPH07130082A (en) | Zero-cross detection circuit | |
JP2005201665A (en) | Voltage detection circuit | |
JPH0191690A (en) | Driving device for brushless motor | |
JP3019185B2 (en) | Rotation detection device | |
US10006783B2 (en) | Resolver signal detection circuit | |
JPH01103168A (en) | Pulse width modulated wave generation circuit | |
JPH10170533A (en) | Rotation detecting system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20050602 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20080313 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20080424 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20080613 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20080630 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20080717 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 4160322 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110725 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110725 Year of fee payment: 3 |
|
S533 | Written request for registration of change of name |
Free format text: JAPANESE INTERMEDIATE CODE: R313533 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110725 Year of fee payment: 3 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120725 Year of fee payment: 4 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130725 Year of fee payment: 5 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
S531 | Written request for registration of change of domicile |
Free format text: JAPANESE INTERMEDIATE CODE: R313531 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
S111 | Request for change of ownership or part of ownership |
Free format text: JAPANESE INTERMEDIATE CODE: R313117 |
|
S111 | Request for change of ownership or part of ownership |
Free format text: JAPANESE INTERMEDIATE CODE: R313117 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
LAPS | Cancellation because of no payment of annual fees |