Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP3586705B2 - Motor speed control circuit - Google Patents
[go: Go Back, main page]

JP3586705B2 - Motor speed control circuit - Google Patents

Motor speed control circuit Download PDF

Info

Publication number
JP3586705B2
JP3586705B2 JP04749098A JP4749098A JP3586705B2 JP 3586705 B2 JP3586705 B2 JP 3586705B2 JP 04749098 A JP04749098 A JP 04749098A JP 4749098 A JP4749098 A JP 4749098A JP 3586705 B2 JP3586705 B2 JP 3586705B2
Authority
JP
Japan
Prior art keywords
circuit
flip
flop
output
stage
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
JP04749098A
Other languages
Japanese (ja)
Other versions
JPH11252962A (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.)
Sanyo Electric Co Ltd
Original Assignee
Sanyo Electric 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 Sanyo Electric Co Ltd filed Critical Sanyo Electric Co Ltd
Priority to JP04749098A priority Critical patent/JP3586705B2/en
Publication of JPH11252962A publication Critical patent/JPH11252962A/en
Application granted granted Critical
Publication of JP3586705B2 publication Critical patent/JP3586705B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Feedback Control In General (AREA)
  • Control Of Electric Motors In General (AREA)
  • Control Of Motors That Do Not Use Commutators (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、モータの回転によって発生するFG信号に基づいてモータの速度制御を行う、モータ速度制御回路に関する。
【0002】
【従来の技術】
図3は従来のモータ速度制御回路のブロック構成図である。制御対象となるモータ2には3個のホール素子(図示せず)が設けられているため、モータ2が回転駆動されると、モータ2から120°ずつ互いに位相のずれた3種類のホール出力波形が得られる。これらホール出力は、そのレベルが小さいため、ホールアンプ4により増幅される。ホールロジック回路6は、3種類のホール出力の増幅波形をH(High)レベル、M(Middle)レベル、L(Low)レベルの3値からなる3種類の波形に波形整形する。なお、3種類の3値波形の位相は互いに120°ずつずれた関係にある。
【0003】
駆動回路8は、ホールロジック回路6の出力に基づいて3種類の駆動信号を生成し、当該駆動信号によりモータ2を回転駆動する。すなわち、上述したループがモータ2の駆動系である。
【0004】
発振回路10から出力される発振クロックは、2段の分周回路12、14で分周される。1段目の分周回路12からの分周クロックは、後述するノイズ除去回路16へ供給される。2段目の分周回路14からの分周クロック(基準信号)は、比較回路18へ供給される。
【0005】
さて、モータ2の回転に同期してFG(Frequency Generator)信号が発生し、モータの速度は、原理的には分周回路14の出力の所定周期中に含まれるFG信号の周期の数に基づいて判定される。このFG信号の周期の数と基準値との比較による判定は比較回路18により行われる。FG信号はFGアンプ20、シュミットアンプ22、ノイズ除去回路16を経由して、FG信号に対応した周期を有した方形波に変換される。比較回路18はFG信号に応じた方形波の周期が基準値より長い状態を検出すると、モータ2の現在の回転数が目標値より低いと判断して、モータ2を希望の回転数にまで加速するための加速信号(正パルス)を出力し、一方、方形波の周期が基準値より短い状態を検出すると、モータ2の現在の回転数が目標値より高いと判断して、モータ2を希望の回転数にまで減速するための減速信号(負パルス)を出力する。比較回路18から出力される比較結果である加速信号、減速信号は、積分アンプ24にて積分され、駆動回路8にフィードバックされる。
【0006】
以上、モータ2のFG信号の周期の大きさに基づいて駆動回路8に加速・減速を指示するフィードバックループが速度制御系であり、これによってモータ2は希望の回転数に速度制御されることになる。
【0007】
ここでFG信号は、発生源のインピーダンスが高いとともに、FG信号のレベルが低くなる。FGアンプ20は、このFG信号を増幅するために設けられている。上述したようにFG信号のインピーダンスが高いことから、当該FG信号は外来ノイズ及びモータ2の回転によって発生するノイズ等の影響を受けやすい。シュミットアンプ22は、そのFG信号に重畳されたノイズ(重畳ノイズ)の影響を軽減するためにFGアンプ20の出力に接続される。
【0008】
シュミットアンプ22は、ヒステリシス幅に応じてH、Lレベルとなる方形波信号Sを出力する。つまり状態遷移が異なるスレッショルドで行われることにより、FG信号波形に重畳されるノイズの振幅がヒステリシス幅以内であれば、不必要な方形波の振動が発生することが抑制される。
【0009】
しかし、シュミットアンプ22のヒステリシス幅を超えた重畳ノイズは、シュミットアンプ22で除去しきれず、当該ノイズに対応して方形波が生成されてしまう。つまり、Hレベル(又はLレベル)でなければならないシュミットアンプ22の出力期間にLレベル(又はHレベル)のパルスノイズが現れてしまう。すなわち、シュミットアンプ22の出力Sの方形波の周期は本来のFG信号の周期の大きさより短くなり、モータ2の回転数が実際より高いと誤って判断され、その速度制御が正確に行われないおそれがある。
【0010】
ノイズ除去回路16はシュミットアンプ22の出力に現れる、FG信号より短い時間スケールを有するノイズパルスを除去するためのものである。図4は従来のノイズ除去回路16の回路構成図である。また図5は、ノイズ除去回路16の基本動作を説明するタイミング図である。
【0011】
以下、図4、図5を参照しながら、従来のノイズ除去回路16を説明する。ノイズ除去回路16はフリップフロップの直列接続である第1のフリップフロップ群(ディレイドタイプ)(ここでは、3段のフリップフロップ40−1、40−2、40−3の直列接続)と第2のフリップフロップ群(ディレイドタイプ)(ここでは、3段のフリップフロップ42−1、42−2、42−3の直列接続)と、ANDゲート(論理積回路)44、46とを含んで構成される。各フリップフロップはクロック端子(CL)にそれぞれ供給される分周回路12の出力クロックCLK(図5(a))により駆動される。
【0012】
第1のフリップフロップ40−1のデータ端子(D)にはシュミットアンプ22の出力が印加される。ANDゲート44は、入力端をフリップフロップ40−1、40−2、40−3の各出力端子Q、Q、Qに接続され、その出力が第2のフリップフロップ群の初段フリップフロップ42−1のデータ端子D’に接続される。一方、ANDゲート46は、入力端をフリップフロップ42−1、42−2、42−3の各反転出力端子−Q’、−Q’、−Q’に接続され、その出力がノイズ除去回路16の出力となる。
【0013】
図5(b)に示すシュミットアンプ22の出力Sは、本来Lレベルであるべき期間にノイズパルス60、62を含んでいる。このノイズパルスはフリップフロップ40−1でラッチされる。ノイズパルスに対応してフリップフロップ40−1の出力Q(図5(c))に現れるパルス70、72の幅はクロックCLKの周期τの整数倍となりうる。しかし、ノイズパルスの時間幅はFG信号の周期に比べて一般に短いことに対応して、パルス70、72の幅も短く、図示するようにτとなることが多いであろう。後段の各フリップフロップ40−2、40−3は、それぞれ自身の前段のフリップフロップの出力をτだけ遅延させて出力することから、1段目のフリップフロップ40−1の出力Qに現れるパルス70、72と2段目、3段目のフリップフロップの出力Q、Q(図5(d),(e))に現れる、パルス70、72を遅延させたパルス80、82、90、92とは、Hレベルに保たれる期間が互いにずれる。つまり、パルス70〜92が生じる期間は、一般にフリップフロップの出力Q、Q、QのいずれかにおいてLレベルとなると考えてよい。よって、ANDゲート(論理積回路)42によって出力Q、Q、Qを論理積演算することにより、図5(f)のANDゲート44の出力ANDに示すようにLレベル期間にノイズパルスにより生じたパルスを含まない波形を基本的には生成することができる。
【0014】
このようにANDゲート44は、第1のフリップフロップ群の出力Q、Q、Qの論理積を演算することによりLレベル期間のノイズパルスを除去することができたが、一方、ANDゲート46は、第2のフリップフロップ群の反転出力−Q’、−Q’、−Q’の論理積を演算することにより、シュミットアンプ22が本来Hレベルであるべき期間に生じるノイズパルスを除去することができる。従来のノイズ除去回路16はこのような原理により、比較回路18にノイズパルスの影響を受けない方形波信号を供給することを図ったものであった。
【0015】
【発明が解決しようとする課題】
しかし、上記従来の方法によって、理論的にはノイズパルスに起因したパルス(上記例ではパルス70〜92)を除去できる場合であっても、実際には、ANDゲート44に入力される各信号のタイミングが相互にわずかにずれることにより、短時間であるが各信号間のコインシデンスが成立し、ANDゲート44の出力にハザードと呼ばれるスパイク状のパルス(例えば図5(g)に示すパルス100、102)が生じうる。ハザードは具体的には、例えば、ある段の出力におけるパルスの立ち下がりと、他段の出力におけるパルスの立ち上がりが同時となるような部分において発生する。
【0016】
従来のモータ速度制御回路では、このようなハザードに対しては対策が講じられておらず、後段の比較回路18において、それが検出されることにより速度制御の精度、信頼性が低下するという問題があった。
【0017】
本発明は上記問題点を解消するためになされたもので、ハザードの影響をも抑制し、一層、精度、信頼性の高いモータ速度制御回路を提供することを目的とする。
【0018】
【課題を解決するための手段】
本発明に係るモータ速度制御回路は、直列に接続された複数のフリップフロップであってノイズパルスを含む信号が初段の当該フリップフロップに入力される遅延フリップフロップ群と、前記遅延フリップフロップ群の各段の前記フリップフロップの出力信号の論理積を演算する論理積回路と、前記論理積回路の出力を入力データとする後処理フリップフロップとを有したノイズ除去回路を有し、前記後処理フリップフロップが、前記遅延フリップフロップ群の各段を駆動するクロックとは周期は同一で位相がずれた移相クロックにより駆動され、前記論理積回路の出力信号が変化するタイミングとずれたタイミングで前記論理積回路の出力信号をラッチすることで、前記論理積回路の出力信号に生じるハザードを抑制する。
【0019】
論理積回路の出力に現れるハザードは、前記遅延フリップフロップ群の動作に同期して発生する。前記遅延フリップフロップ群の各段は、それらを駆動するクロックの例えば立ち下がりといった所定のタイミングに同期して状態を変化させる。本発明によれば、論理積回路の出力に接続される後処理フリップフロップは、位相クロックにより駆動されるので、遅延フリップフロップ群とは異なるタイミングで状態を変化させる。つまり、論理積回路の出力に生じるハザードは、後処理フリップフロップの状態変化のタイミングに同期しない。またハザードは一般に(移相)クロックの1周期に比べて短時間である。よって、後処理フリップフロップはハザードによってトリガされない、すなわちハザードによって状態を変化させないので、後処理フリップフロップの出力からは、元のノイズパルスが除去されるだけでなくハザードによるノイズも除去される。ここで、フリップフロップの出力信号に関し、当該フリップフロップに入力されるデータと同一の論理値をラッチ出力するものを標準出力信号(Q)、逆に入力されるデータと反対の論理値をラッチ出力するものを反転出力信号(−Q)と呼ぶことにすると、上記論理積回路に入力される出力信号は、遅延フリップフロップ群の各フリップフロップの標準出力信号であってもよいし、反転出力信号であってもよい。
【0020】
本発明の好適な態様は、前記遅延フリップフロップ群の各段を駆動するクロックを入力され、これを反転して前記移相クロックとして出力するインバータを含むものである。
【0021】
他の本発明に係るモータ速度制御回路においては、前記ノイズ除去回路が、前記シュミット回路の出力を入力データとする前記初段フリップフロップを有した第1の前記遅延フリップフロップ群と、前記第1の遅延フリップフロップ群の出力に接続される第1の前記論理積回路と、前記第1の論理積回路の出力に接続される第1の前記後処理フリップフロップと、前記後処理フリップフロップの出力を入力データとする前記初段フリップフロップを有した第2の前記遅延フリップフロップ群と、前記第2の遅延フリップフロップ群の出力に接続される第2の前記論理積回路と、前記第2の論理積回路の出力に接続される第2の前記後処理フリップフロップとを有し、前記第1の前記論理積回路と前記第2の前記論理積回路とのいずれか一方が、対応する前記遅延フリップフロップの各段の前記フリップフロップの標準出力信号を入力され、他方が対応する前記遅延フリップフロップの各段の前記フリップフロップの標準出力信号と反転関係にある反転出力信号を入力される。
【0022】
本発明によれば、それぞれ基本的にノイズパルス除去、特にハザード除去の機能を有した回路が直列に2段接続される。本発明では第1の論理積回路を第1の遅延フリップフロップ群の各段のフリップフロップの例えば、標準出力信号の論理積をとるように構成した場合には、第2の回路部の論理積回路を第2の回路部の遅延フリップフロップ群の各段のフリップフロップが出力する反転出力信号の論理積をとるように構成する。この場合、第1の論理積回路では、本来、Lレベル(論理値が“偽”)である期間に生じたノイズパルスを除去することができ、第2の論理積回路では、本来、Hレベル(論理値が“真”)である期間に生じたノイズパルスを除去することができる。また、第1の後処理フリップフロップ、第2の後処理フリップフロップはそれぞれ第1、第2の論理積回路にて生じる可能性があるハザードを除去することができる。第1の論理積回路に入力される信号は例えば同一の標準出力信号が所定時間ずつ遅延されたものである。それらの論理積を求めると、論理積回路に入力された標準出力信号よりHレベル期間が浸食され、その分Lレベル期間が長くなる。本発明によれば、第2の論理積回路では、例えば第1の論理積回路とは逆に反転出力信号の論理積を求めることにより、その第1の論理積回路で浸食されたHレベル期間を補償することができる。本発明の好適な態様は、前記第1の回路部の前記遅延フリップフロップ群と前記第2の回路部の前記遅延フリップフロップ群のそれぞれの段数が互いに等しいものである。この態様によれば、第1の論理積回路における期間の浸食量と第2の論理積回路における期間の浸食量とが等しくなり、ノイズ除去回路からの出力信号のデューティ比を50%とすることができる。
【0023】
【発明の実施の形態】
次に、本発明の実施形態であるモータ速度制御回路について図面を参照して説明する。以下、従来技術で説明した構成要素等と同一のものには同一の符号を付し、説明を省略する。本モータ速度制御回路のブロック構成は、図3に示す従来のモータ速度制御回路のブロック構成と基本的には同じであるので、そのブロック構成図は省略する。ここで本回路においては、ノイズ除去回路の構成が従来のノイズ除去回路16と異なる。よって、本回路のノイズ除去回路を従来のものと区別するため、以下の説明ではノイズ除去回路116と表す。
【0024】
モータ2の回転によりホール出力波形が得られ、これらはホールアンプ4により増幅された後、ホールロジック回路6により波形整形される。駆動回路8は、ホールロジック回路6の出力に基づいて駆動信号を生成してモータ2を回転駆動する。このループがモータ2の駆動系である。本回路は従来回路と同様、駆動系とは別に、速度制御系ループを有する。
【0025】
速度制御系は、モータ2から出力されるFG信号に基づいて速度制御を行う。FG信号は、FGアンプ20、シュミットアンプ22、ノイズ除去回路116を経由して、FG信号に対応した周期を有した方形波に変換される。所定周期中に含まれる方形波の長さと基準値との比較が比較回路18により行われ、その比較に基づいて、モータ2の回転速度が速いか遅いかが判定される。速いと判定された場合、遅いと判定された場合それぞれに対応して、比較回路18はモータ2を希望の回転数にまで加速するための加速信号(正パルス)、モータ2を希望の回転数にまで減速するための減速信号(負パルス)を出力する。これら加速信号、減速信号は、積分アンプ24にて積分され、駆動回路8にフィードバックされる。
【0026】
分周回路12は発振回路10から出力される発振クロックを分周してノイズ除去回路116へ供給する。比較回路18における上記所定周期は、分周回路14が分周回路12の出力をさらに分周して生成した基準信号により定められる。
【0027】
さて、本回路は従来同様に、FG信号にノイズが重畳されるという問題がある。シュミットアンプ22は、既に述べたように、FG信号の重畳ノイズの影響を軽減するためにFGアンプ20の出力に接続されるものである。
【0028】
シュミットアンプ22は、そのヒステリシス幅の上限レベルであるスレッショルド電圧までFGアンプ20の出力が立ち上がったとき、その出力をHレベルに遷移させ、一方、そのヒステリシス幅の下限レベルであるスレッショルド電圧までFGアンプ20の出力が立ち下がったとき、その出力をLレベルに遷移させる。すなわち、シュミットアンプ22は、ヒステリシス幅に応じてH、Lレベルとなる方形波信号Sを出力する。このようにH、Lレベル間の状態遷移にヒステリシスを持たせる、つまり状態遷移を異なるスレッショルドで行うことにより、シュミットアンプ22は、ヒステリシス幅以内の振幅を有する重畳ノイズの影響を回避してレベル遷移時の不安定さを軽減することができ、不必要な方形波の振動が発生することが抑制される。
【0029】
ノイズ除去回路116は、主としてシュミットアンプ22のヒステリシス幅を超えシュミットアンプ22で除去しきれない重畳ノイズの影響を除去することを目的として設けられる。例えば、FG信号がシュミットアンプ22のスレッショルド付近の値をとるとき、当該スレッショルドのヒステリシス幅より大きな振幅を有したノイズが重畳されると、当該ノイズにより、信号電圧が上限又は下限のスレッショルドと交差し、FG信号の周期より短い時間幅の方形波が生成されてしまう。つまり、Hレベル(又はLレベル)でなければならないシュミットアンプ22の出力期間にLレベル(又はHレベル)のパルスノイズが現れてしまう。これにより、シュミットアンプ22の出力の方形波の長さはFG信号の周期の長さより短くなり、モータ2の回転数が実際より高いと誤って判断され、その速度制御が正確に行われないおそれがある。ノイズ除去回路16はこのようなシュミットアンプ22の出力に、重畳ノイズの影響により現れるノイズパルスを除去する。
【0030】
図1は本発明の特徴を有するノイズ除去回路116の回路構成図である。以下、図1を参照しながら、本モータ速度制御回路で採用するノイズ除去回路116の構成を説明する。ノイズ除去回路116はフリップフロップの直列接続である第1の遅延フリップフロップ群(ディレイドタイプ)(ここでは、3段のフリップフロップ140−1、140−2、140−3の直列接続)と第2の遅延フリップフロップ群(ディレイドタイプ)(ここでは、3段のフリップフロップ142−1、142−2、142−3の直列接続)と、ノイズパルス除去する機能を果たすANDゲート(論理積回路)144、146と、これらANDゲートでのノイズパルス除去の後処理としてANDゲートで生じるハザードを除去を行う後処理フリップフロップ148、150と、クロックを反転させるインバータ152、154を含んで構成される。
【0031】
第1の遅延フリップフロップ群を構成する第1から第3のフリップフロップ140−1〜140−3の直列接続は、1段目のフリップフロップ140−1の出力Q(標準出力)が、2段目のフリップフロップ140−2のデータ端子Dに接続され、2段目のフリップフロップ140−2の出力Qが、3段目のフリップフロップ140−3のデータ端子Dに接続されることにより構成される。第2の遅延フリップフロップ群を構成する第1から第3のフリップフロップ142−1〜142−3の直列接続も同様であり、1段目のフリップフロップ142−1の出力Q’が、2段目のフリップフロップ142−2のデータ端子D’に接続され、2段目のフリップフロップ142−2の出力Q’が、3段目のフリップフロップ142−3のデータ端子D’に接続されることにより構成される。
【0032】
第1の遅延フリップフロップ群の1段目のフリップフロップ140−1のデータ端子(D)にはシュミットアンプ22の出力が印加される。また、第1のフリップフロップ群の各段の出力Q〜Qはそれぞれ、ANDゲート144の入力とされる。ANDゲート144はこれら入力の論理積演算結果を後処理フリップフロップ148のデータ端子Dへ出力する。
【0033】
第2の遅延フリップフロップ群の1段目のフリップフロップ142−1のデータ端子(D’)には後処理フリップフロップ148の出力Qが接続される。また、ANDゲート146には、第2のフリップフロップ群の各段の出力(−Q)〜(−Q)(反転出力)が入力される。ANDゲート146はこれら入力の論理積演算結果を後処理フリップフロップ150のデータ端子D’へ出力する。そして後処理フリップフロップ150の出力Q’が本ノイズ除去回路116の出力として、比較回路18へ供給される。
【0034】
第1、第2の各遅延フリップフロップ群の各段のクロック端子CLには分周回路12で生成されたクロックが供給される。一方、各後処理フリップフロップ148、150のクロック端子CLには、各遅延フリップフロップ群の各段に対するクロックとは同一周期で位相がずれたクロックが供給される。本回路では、後処理フリップフロップ148のCLの手前にインバータ152を、また後処理フリップフロップ150のCLの手前にインバータ154を設けてこれを実現している。インバータ152、154はそれぞれ、分周回路12からのクロックを入力され、これを反転して、つまり、位相を180°ずらして後処理フリップフロップ148、150へ出力する。
【0035】
図2は、ノイズ除去回路116の基本動作を説明するタイミング図である。以下、図2を参照しながら本ノイズ除去回路116の動作を説明する。図2(a)は、本回路の各フリップフロップの駆動に用いられるクロックである分周回路12の出力クロックCLKである。ちなみに、各後処理フリップフロップ148、150にはこれを反転したものがそれらのクロック端子CLに印加される。
【0036】
図2(b)は、シュミットアンプ22の出力Sを示す。ここでは、シュミットアンプ22の出力が、本来Lレベルであるべき期間にノイズパルス60、62を含んでいる例を示している。ノイズパルス60、62の幅は、それぞれクロックCLKの周期τ以下である。
【0037】
図2(c)は、フリップフロップ140−1の出力Qの波形を示す。シュミットアンプ22にて生じたノイズパルス60はフリップフロップ140−1において、CLKの立ち下がりのタイミングでラッチされる。また、次のCLKの立ち下がりにおいては、シュミットアンプ22の出力はLレベルに戻っており、フリップフロップ140−1はこれをラッチする。つまり、フリップフロップ140−1は、CLKの立ち下がりに同期して、1τの幅を有するパルス70を生成する。ノイズパルス62に対して、フリップフロップ140−1はパルス72を出力する。
【0038】
図2(d)は、フリップフロップ140−2の出力Qの波形を示す。フリップフロップ140−2は、フリップフロップ140−1の出力を1τだけ遅延させてQから出力する。よって、フリップフロップ140−2の出力端子Qからは、パルス70に対応してパルス80が、またパルス72に対応してパルス82が出力される。
【0039】
図2(e)は、フリップフロップ140−3の出力Qの波形を示す。フリップフロップ140−3は、フリップフロップ140−2の出力を1τだけ遅延させてQから出力する。よって、フリップフロップ140−3の出力端子Qからは、パルス80に対応してパルス90が、またパルス82に対応してパルス92が出力される。
【0040】
図2(f)は、ANDゲート144の出力ANDであり、これは後処理フリップフロップ148の入力Dとなる。ANDゲート144は、各フリップフロップ140−1〜140−3の出力Q〜Qの論理積を求める。出力Q〜Qは互いにτずつタイミングがずれているので、論理積演算において、短時間のパルス70、80、90は互いに重なり合う期間を基本的には有さず、信号Q〜QのいずれかはLレベルとなる。よってANDゲート144の出力に、パルス70、80、90に対応するパルスは現れない。パルス72、82、92についても同様である。このように、ANDゲート144は、シュミットアンプ22のノイズパルス60、62に起因して生じたパルス70〜92を除去することができる。
【0041】
信号Q〜Qの間のタイミングずれなどによっては、一時的にすべての信号がHレベルになることがあり、その瞬間にハザードと呼ばれるスパイク状のパルスがANDゲート144の出力に現れることがある。ここでは、例えば、図2(f)においては、パルス100、102がハザードによるものである。ハザードは具体的には、例えば、ある段の出力におけるパルスの立ち下がりと、他段の出力におけるパルスの立ち上がりが同時となるような部分において発生する。本回路は、それら立ち上がり、立ち下がりはCLKの立ち下がりに同期して起こるので、パルス100、102も、クロックCLKの立ち下がりのタイミングに現れることになる。
【0042】
比較回路18において、このようなハザードによるパルスが検知されると、FG信号のパルス数のカウントが不正確となり、速度制御の制御が劣化する。本回路はこれを回避するため、ANDゲート144の次に後処理フリップフロップ148を設けている。
【0043】
上述したように、フリップフロップ140−1〜140−3がクロックCLKによる駆動されるのに対し、後処理フリップフロップ148はインバータ152によって反転されたクロックCLKにより駆動される。つまり、後処理フリップフロップ148は、データ端子Dにパルス100、102が入力されるタイミングとずれたタイミングでANDゲート144の出力をラッチする。例えば、後処理フリップフロップ148は、パルス100よりτ/2先行したタイミングtでANDゲート144の出力をラッチし、パルス100よりτ/2後のタイミングtでANDゲート144の出力をラッチする。ハザードによるパルス100はτより短い時間しかHレベルを持続しないので、これらt1、t2のいずれにても後処理フリップフロップ148はパルス100をラッチせず、本来期待されるLレベルを継続して出力する。このようにして、後処理フリップフロップ148の出力からハザードによるパルス100、102が除去される。後処理フリップフロップ148は本来Hレベルであるべき期間にハザードも同様にして除去することができる。
【0044】
以上、第1段の回路部の後ろに接続される、第2の遅延フリップフロップ群、ANDゲート146、後処理フリップフロップ150及びインバータ154で構成される第2段の回路部も、同様のノイズパルス除去の効果を有する。
【0045】
なお、互いにτずつずらした信号Q〜QをANDゲート144にて論理積演算することにより、ANDゲート144の出力において、Lレベル期間が長くなり、一方、Hレベル期間が短くなる。第2段の回路部は、この第1段の回路で浸食されたHレベル期間を回復することができる。これは、第2段の回路部では、第1段の回路部と異なり、ANDゲート146は、第2の遅延フリップフロップ群の各フリップフロップの反転出力(−Q’〜−Q’)の論理積を求めるからである。さらに述べれば、第1段の回路部のANDゲート144同様、ANDゲート146では、入力された信号のLレベル期間が拡張し、Hレベル期間が縮小する。しかし、ここでANDゲート146に「入力される信号」は反転出力であるため、そのLレベル期間はANDゲート144出力のHレベルに相当し、逆にHレベル期間はANDゲート144出力のLレベルに相当し、結局、ANDゲート144にて拡張されたLレベル期間はANDゲート146にて逆に縮小され、ANDゲート144にて縮小されたHレベル期間はANDゲート146にて拡張される。このようにして、第2段の回路部では、第1段の回路で浸食されたHレベル期間を回復することができる。特に、第1段の回路部の遅延フリップフロップ群の段数と第2段の回路部の遅延フリップフロップ群の段数とを同一とすることにより、当初のFG信号のデューティ比を回復することができる。
【0046】
なお、上述の例では、第1の遅延フリップフロップ群、第2の遅延フリップフロップ群の段数をともに3段としたが、本発明はそれに限られず、より各遅延フリップフロップ群をより多段構成とすることも可能である。
【0047】
また、ノイズ除去回路116にてFG信号のデューティ比を50%に回復する必要がない場合などには、ノイズ除去回路116を第1の回路部のみで構成することも可能である。例えば、ノイズ除去回路116の出力信号を1/2分周して、これを用いて比較回路18での比較を行う場合が、そのような場合に相当する。この場合、ノイズ除去回路116の出力波形のデューティ比が50%でなくても、分周により周波数が1/2となるがデューティ比が50%の信号が得られる。
【0048】
また、遅延フリップフロップ群を駆動するクロックと後処理フリップフロップを駆動するクロックとの位相をずらす手段は、インバータに限られない。例えば、代わりに遅延回路を用いることが可能である。
【0049】
また、回路をIIL(Integrated Injection Logic)にて構成すれば、結線のみで論理積を求めることができる(ワイヤド・アンド)。よって、IILによれば論理積回路をANDゲート144、146に代えて、遅延フリップフロップ群の各段の出力の単純な接続により実現することができ、回路構成を簡素化することができる。
【0050】
【発明の効果】
本発明のモータ速度制御回路によれば、遅延フリップフロップ群の出力を論理積演算することにより、シュミットアンプ22出力中のノイズパルスに起因したパルスを除去できるとともに、その際に生じるハザードによるノイズパルスが、遅延フリップフロップ群とタイミングをずらして駆動される後処理フリップフロップによって除去される。よって、比較回路18へ供給される信号波形からノイズパルスを除去することができ、比較回路18における基準値との比較が正確に行われるので、精度が高い速度制御を行うことができ、制御動作の信頼性が向上するという効果が得られる。
【図面の簡単な説明】
【図1】本発明の実施形態に係るノイズ除去回路の回路構成図である。
【図2】本発明に係るノイズ除去回路の基本動作を説明するタイミング図である。
【図3】従来のモータ速度制御回路のブロック構成図である。
【図4】従来のノイズ除去回路の回路構成図である。
【図5】従来のノイズ除去回路の基本動作を説明するタイミング図である。
【符号の説明】
2 モータ、4 ホールアンプ、6 ホールロジック回路、8 駆動回路、10 発振回路、12,14 分周回路、18 比較回路、20 FGアンプ、22 シュミットアンプ、24 積分アンプ、116 ノイズ除去回路、140−1〜140−3,142−1〜142−3 フリップフロップ、144,146 ANDゲート、148,150 後処理フリップフロップ、152,154 インバータ。
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to a motor speed control circuit that performs motor speed control based on an FG signal generated by rotation of a motor.
[0002]
[Prior art]
FIG. 3 is a block diagram of a conventional motor speed control circuit. Since the motor 2 to be controlled is provided with three Hall elements (not shown), when the motor 2 is driven to rotate, three types of Hall outputs whose phases are shifted from each other by 120 ° from the motor 2 are output. A waveform is obtained. Since these Hall outputs have small levels, they are amplified by the Hall amplifier 4. The Hall logic circuit 6 shapes the amplified waveforms of the three types of Hall outputs into three types of waveforms having three values of H (High) level, M (Middle) level, and L (Low) level. Note that the phases of the three types of ternary waveforms are shifted from each other by 120 °.
[0003]
The drive circuit 8 generates three types of drive signals based on the output of the Hall logic circuit 6, and drives the motor 2 to rotate based on the drive signals. That is, the above-described loop is the drive system of the motor 2.
[0004]
The oscillation clock output from the oscillation circuit 10 is divided by two-stage frequency divider circuits 12 and 14. The frequency-divided clock from the frequency divider circuit 12 in the first stage is supplied to a noise removing circuit 16 described later. The frequency-divided clock (reference signal) from the frequency divider 14 at the second stage is supplied to the comparator 18.
[0005]
Now, an FG (Frequency Generator) signal is generated in synchronization with the rotation of the motor 2, and the speed of the motor is in principle based on the number of periods of the FG signal included in a predetermined period of the output of the frequency dividing circuit 14. Is determined. The comparison circuit 18 makes a determination based on a comparison between the number of periods of the FG signal and the reference value. The FG signal is converted into a square wave having a cycle corresponding to the FG signal via the FG amplifier 20, the Schmitt amplifier 22, and the noise removing circuit 16. When the comparison circuit 18 detects that the period of the square wave corresponding to the FG signal is longer than the reference value, it determines that the current rotation speed of the motor 2 is lower than the target value, and accelerates the motor 2 to a desired rotation speed. When a state where the period of the square wave is shorter than the reference value is detected, it is determined that the current rotation speed of the motor 2 is higher than the target value, and the motor 2 is driven. A deceleration signal (negative pulse) for decelerating to the number of rotations is output. The acceleration signal and the deceleration signal output from the comparison circuit 18 are integrated by the integration amplifier 24 and fed back to the drive circuit 8.
[0006]
As described above, the feedback loop for instructing the drive circuit 8 to accelerate / decelerate based on the magnitude of the cycle of the FG signal of the motor 2 is a speed control system, whereby the speed of the motor 2 is controlled to a desired rotation speed. Become.
[0007]
Here, the FG signal has a high source impedance and a low FG signal level. The FG amplifier 20 is provided to amplify the FG signal. Since the impedance of the FG signal is high as described above, the FG signal is easily affected by external noise, noise generated by rotation of the motor 2, and the like. The Schmitt amplifier 22 is connected to the output of the FG amplifier 20 to reduce the influence of noise (superimposed noise) superimposed on the FG signal.
[0008]
The Schmitt amplifier 22 outputs a square wave signal S having H and L levels according to the hysteresis width. In other words, by performing the state transition at different thresholds, if the amplitude of the noise superimposed on the FG signal waveform is within the hysteresis width, generation of unnecessary square wave vibration is suppressed.
[0009]
However, the superimposed noise exceeding the hysteresis width of the Schmitt amplifier 22 cannot be completely removed by the Schmitt amplifier 22, and a square wave is generated corresponding to the noise. That is, L-level (or H-level) pulse noise appears during the output period of the Schmitt amplifier 22 that must be at H-level (or L-level). That is, the cycle of the square wave of the output S of the Schmitt amplifier 22 becomes shorter than the original cycle of the FG signal, and it is erroneously determined that the rotation speed of the motor 2 is higher than the actual one, and the speed control is not performed accurately. There is a risk.
[0010]
The noise removing circuit 16 is for removing a noise pulse having a time scale shorter than that of the FG signal, which appears in the output of the Schmitt amplifier 22. FIG. 4 is a circuit configuration diagram of the conventional noise removal circuit 16. FIG. 5 is a timing chart for explaining the basic operation of the noise elimination circuit 16.
[0011]
Hereinafter, the conventional noise elimination circuit 16 will be described with reference to FIGS. The noise elimination circuit 16 includes a first flip-flop group (delayed type) (a series connection of three-stage flip-flops 40-1, 40-2, and 40-3 in this case) which is a series connection of flip-flops and a second flip-flop group. A flip-flop group (delayed type) (here, three-stage flip-flops 42-1, 42-2, and 42-3 are connected in series) and AND gates (logical AND circuits) 44 and 46 are configured. . Each flip-flop is driven by the output clock CLK (FIG. 5 (a)) of the frequency divider 12 supplied to the clock terminal (CL).
[0012]
The data terminal (D) of the first flip-flop 40-1 1 The output of the Schmitt amplifier 22 is applied to (). The AND gate 44 has an input terminal connected to each output terminal Q of the flip-flops 40-1, 40-2, and 40-3. 1 , Q 2 , Q 3 , The output of which is connected to the data terminal D ′ of the first-stage flip-flop 42-1 of the second flip-flop group. 1 Connected to. On the other hand, the AND gate 46 has an input terminal connected to each of the inverted output terminals -Q 'of the flip-flops 42-1, 42-2, 42-3. 1 , -Q ' 2 , -Q ' 3 And its output becomes the output of the noise elimination circuit 16.
[0013]
The output S of the Schmitt amplifier 22 shown in FIG. 5B includes noise pulses 60 and 62 during a period that should be at L level. This noise pulse is latched by the flip-flop 40-1. The output Q of the flip-flop 40-1 corresponding to the noise pulse 1 The width of the pulses 70 and 72 appearing in FIG. 5C can be an integral multiple of the period τ of the clock CLK. However, corresponding to the fact that the time width of the noise pulse is generally shorter than the period of the FG signal, the width of the pulses 70 and 72 is also shorter, and will often be τ as shown. Each of the subsequent flip-flops 40-2 and 40-3 delays the output of its own preceding flip-flop by τ and outputs it, so that the output Q of the first-stage flip-flop 40-1 is output. 1 And the output Q of the second and third stage flip-flops 2 , Q 3 Pulses 80, 82, 90, and 92 appearing in FIGS. 5 (d) and 5 (e), which are obtained by delaying the pulses 70 and 72, are shifted from each other in the period during which they are maintained at the H level. That is, the period during which the pulses 70 to 92 occur generally corresponds to the output Q of the flip-flop. 1 , Q 2 , Q 3 May be considered to be at the L level in either of the cases. Therefore, the output Q is output by the AND gate (logical product circuit) 42. 1 , Q 2 , Q 3 By performing a logical AND operation, a waveform that does not include a pulse generated by a noise pulse during the L-level period can be basically generated as shown by the output AND of the AND gate 44 in FIG. 5F.
[0014]
As described above, the AND gate 44 controls the output Q of the first flip-flop group. 1 , Q 2 , Q 3 , The noise pulse in the L-level period can be removed. On the other hand, the AND gate 46 outputs the inverted output −Q ′ of the second flip-flop group. 1 , -Q ' 2 , -Q ' 3 By calculating the logical product of the above, it is possible to remove a noise pulse generated during a period when the Schmitt amplifier 22 should be at the H level. The conventional noise elimination circuit 16 is designed to supply a square wave signal which is not affected by a noise pulse to the comparison circuit 18 based on such a principle.
[0015]
[Problems to be solved by the invention]
However, even if a pulse (pulses 70 to 92 in the above example) caused by a noise pulse can be theoretically removed by the above-described conventional method, actually, each signal input to the AND gate 44 is removed. Since the timings are slightly shifted from each other, coincidence between the signals is established for a short time, and a spike-like pulse called a hazard (for example, pulses 100 and 102 shown in FIG. ) Can occur. Specifically, the hazard occurs, for example, in a portion where the falling edge of the pulse at the output of a certain stage and the rising edge of the pulse at the output of another stage are simultaneous.
[0016]
In the conventional motor speed control circuit, no countermeasure is taken against such a hazard, and the accuracy and reliability of the speed control are reduced by the detection in the comparison circuit 18 at the subsequent stage. was there.
[0017]
SUMMARY OF THE INVENTION The present invention has been made to solve the above problems, and an object of the present invention is to provide a motor speed control circuit that suppresses the influence of hazards and that has higher accuracy and reliability.
[0018]
[Means for Solving the Problems]
The motor speed control circuit according to the present invention includes a plurality of flip-flops connected in series, and a delay flip-flop group in which a signal including a noise pulse is input to the first-stage flip-flop, and each of the delay flip-flop group A post-processing flip-flop comprising: a logical product circuit for calculating a logical product of output signals of the flip-flops in a stage; and a post-processing flip-flop using an output of the logical product circuit as input data. However, it is driven by a phase-shifted clock having the same cycle as the clock that drives each stage of the delay flip-flop group and having a phase shift, By latching the output signal of the AND circuit at a timing shifted from the timing at which the output signal of the AND circuit changes, A hazard generated in an output signal of the AND circuit is suppressed.
[0019]
The hazard appearing at the output of the AND circuit is generated in synchronization with the operation of the delay flip-flop group. Each stage of the group of delay flip-flops changes its state in synchronization with a predetermined timing such as, for example, a falling edge of a clock for driving them. According to the present invention, since the post-processing flip-flop connected to the output of the AND circuit is driven by the phase clock, the state is changed at a timing different from that of the delay flip-flop group. That is, the hazard generated in the output of the AND circuit is not synchronized with the timing of the state change of the post-processing flip-flop. The hazard is generally shorter than one cycle of the (phase-shift) clock. Therefore, since the post-processing flip-flop is not triggered by a hazard, that is, does not change its state due to the hazard, not only the original noise pulse but also the noise due to the hazard are removed from the output of the post-processing flip-flop. Here, with respect to the output signal of the flip-flop, a signal that latches the same logical value as the data input to the flip-flop is output as a standard output signal (Q), and a logical value opposite to the data input is output as a latch output. The output signal input to the AND circuit may be a standard output signal of each flip-flop of the delay flip-flop group, or may be an inverted output signal (-Q). It may be.
[0020]
A preferred embodiment of the present invention includes an inverter that receives a clock for driving each stage of the delay flip-flop group, inverts the clock, and outputs the inverted clock as the phase-shifted clock.
[0021]
In another aspect of the motor speed control circuit according to the present invention, the noise elimination circuit includes a first delay flip-flop group including the first-stage flip-flop having an output of the Schmitt circuit as input data; A first AND circuit connected to an output of the delay flip-flop group, a first post-processing flip-flop connected to an output of the first AND circuit, and an output of the post-processing flip-flop. A second delay flip-flop group having the first-stage flip-flop as input data, a second AND circuit connected to an output of the second delay flip-flop group, and the second logical product A second post-processing flip-flop connected to an output of a circuit, wherein one of the first logical product circuit and the second logical product circuit is The standard output signal of the flip-flop of each stage of the corresponding delay flip-flop is input, and the other inputs the inverted output signal of the flip-flop of each stage of the corresponding delay flip-flop, which is inverted with respect to the standard output signal of the flip-flop of the corresponding stage. Is done.
[0022]
According to the present invention, two stages of circuits each having a function of basically removing a noise pulse, particularly a function of removing a hazard, are connected in series. In the present invention, when the first AND circuit is configured to take, for example, the logical product of the standard output signals of the flip-flops of each stage of the first delay flip-flop group, the logical product of the second circuit unit is obtained. The circuit is configured to take the logical product of the inverted output signals output from the flip-flops at each stage of the delay flip-flop group of the second circuit section. In this case, the first AND circuit can remove a noise pulse originally generated during the L level (logical value is “false”), and the second AND circuit originally has the H level. It is possible to remove a noise pulse generated during a period when the logic value is “true”. Further, the first post-processing flip-flop and the second post-processing flip-flop can remove hazards that may occur in the first and second AND circuits, respectively. The signal input to the first AND circuit is, for example, the same standard output signal delayed by a predetermined time. When the logical product is obtained, the H level period is eroded from the standard output signal input to the logical product circuit, and the L level period is lengthened accordingly. According to the present invention, in the second AND circuit, for example, by obtaining the AND of the inverted output signal in the opposite direction to the first AND circuit, the H level period eroded by the first AND circuit is obtained. Can be compensated for. In a preferred aspect of the present invention, the delay flip-flop group of the first circuit unit and the delay flip-flop group of the second circuit unit have the same number of stages. According to this aspect, the erosion amount in the period in the first AND circuit is equal to the erosion amount in the period in the second AND circuit, and the duty ratio of the output signal from the noise removal circuit is set to 50%. Can be.
[0023]
BEST MODE FOR CARRYING OUT THE INVENTION
Next, a motor speed control circuit according to an embodiment of the present invention will be described with reference to the drawings. Hereinafter, the same components as those described in the related art are denoted by the same reference numerals, and description thereof will be omitted. The block configuration of the present motor speed control circuit is basically the same as the block configuration of the conventional motor speed control circuit shown in FIG. 3, so that the block configuration diagram is omitted. Here, in this circuit, the configuration of the noise elimination circuit is different from that of the conventional noise elimination circuit 16. Therefore, in order to distinguish the noise elimination circuit of the present circuit from the conventional one, the noise elimination circuit is referred to as a noise elimination circuit 116 in the following description.
[0024]
Hall output waveforms are obtained by the rotation of the motor 2, these are amplified by the Hall amplifier 4, and then shaped by the Hall logic circuit 6. The drive circuit 8 generates a drive signal based on the output of the Hall logic circuit 6 and drives the motor 2 to rotate. This loop is the drive system of the motor 2. This circuit has a speed control system loop separately from the drive system as in the conventional circuit.
[0025]
The speed control system performs speed control based on the FG signal output from the motor 2. The FG signal is converted into a square wave having a period corresponding to the FG signal via the FG amplifier 20, the Schmitt amplifier 22, and the noise removing circuit 116. The comparison circuit 18 compares the length of the square wave included in the predetermined period with the reference value, and determines whether the rotation speed of the motor 2 is high or low based on the comparison. In response to each of the cases where the speed is determined to be fast and the case where the speed is determined to be slow, the comparison circuit 18 provides an acceleration signal (positive pulse) for accelerating the motor 2 to a desired rotation speed, A deceleration signal (negative pulse) for decelerating to is output. These acceleration signal and deceleration signal are integrated by the integration amplifier 24 and fed back to the drive circuit 8.
[0026]
The frequency dividing circuit 12 divides the frequency of the oscillation clock output from the oscillation circuit 10 and supplies it to the noise removing circuit 116. The predetermined period in the comparison circuit 18 is determined by a reference signal generated by the frequency dividing circuit 14 further dividing the output of the frequency dividing circuit 12.
[0027]
Now, this circuit has a problem that noise is superimposed on the FG signal as in the related art. As described above, the Schmitt amplifier 22 is connected to the output of the FG amplifier 20 to reduce the influence of superimposed noise of the FG signal.
[0028]
When the output of the FG amplifier 20 rises to the threshold voltage which is the upper limit level of the hysteresis width, the Schmitt amplifier 22 transitions the output to the H level, while the FG amplifier 20 shifts the output to the threshold voltage which is the lower limit level of the hysteresis width. When the output 20 falls, the output is changed to the L level. That is, the Schmitt amplifier 22 outputs a square wave signal S having H and L levels according to the hysteresis width. In this way, by making the state transition between the H level and the L level have hysteresis, that is, by performing the state transition at different thresholds, the Schmitt amplifier 22 avoids the influence of superimposed noise having an amplitude within the hysteresis width to perform the level transition. Instability at the time can be reduced, and generation of unnecessary square wave vibration is suppressed.
[0029]
The noise removal circuit 116 is provided mainly for removing the influence of superimposed noise that exceeds the hysteresis width of the Schmitt amplifier 22 and cannot be completely removed by the Schmitt amplifier 22. For example, when the FG signal takes a value near the threshold of the Schmitt amplifier 22, if noise having an amplitude larger than the hysteresis width of the threshold is superimposed, the noise causes the signal voltage to cross the upper or lower threshold. , A square wave having a time width shorter than the period of the FG signal is generated. That is, L-level (or H-level) pulse noise appears during the output period of the Schmitt amplifier 22 that must be at H-level (or L-level). As a result, the length of the square wave output from the Schmitt amplifier 22 becomes shorter than the length of the period of the FG signal, and the rotation speed of the motor 2 is erroneously determined to be higher than the actual speed, and the speed control may not be performed accurately. There is. The noise removing circuit 16 removes a noise pulse appearing in the output of the Schmitt amplifier 22 due to the influence of superimposed noise.
[0030]
FIG. 1 is a circuit configuration diagram of the noise removal circuit 116 having features of the present invention. Hereinafter, the configuration of the noise removal circuit 116 employed in the present motor speed control circuit will be described with reference to FIG. The noise elimination circuit 116 includes a first delay flip-flop group (delayed type) (a series connection of three-stage flip-flops 140-1, 140-2, and 140-3 in this case), which is a series connection of flip-flops, and a second delay flip-flop group (delayed type). (In this case, three-stage flip-flops 142-1, 142-2, and 142-3 are connected in series) and an AND gate (logical product circuit) 144 that performs a function of removing a noise pulse. , 146, post-processing flip-flops 148, 150 for removing a hazard generated in the AND gate as post-processing of noise pulse removal by these AND gates, and inverters 152, 154 for inverting the clock.
[0031]
The series connection of the first to third flip-flops 140-1 to 140-3 constituting the first delay flip-flop group is based on the output Q of the first-stage flip-flop 140-1. 1 (Standard output) is the data terminal D of the second-stage flip-flop 140-2. 2 And the output Q of the second-stage flip-flop 140-2. 2 Is the data terminal D of the third-stage flip-flop 140-3. 3 It is constituted by being connected to. The same applies to the serial connection of the first to third flip-flops 142-1 to 142-3 that constitute the second delay flip-flop group, and the output Q ′ of the first-stage flip-flop 142-1. 1 Is the data terminal D ′ of the second-stage flip-flop 142-2. 2 And the output Q ′ of the second-stage flip-flop 142-2 2 Is the data terminal D ′ of the third-stage flip-flop 142-3. 3 It is constituted by being connected to.
[0032]
The data terminal (D) of the first-stage flip-flop 140-1 of the first delay flip-flop group 1 The output of the Schmitt amplifier 22 is applied to (). In addition, the output Q of each stage of the first flip-flop group 1 ~ Q 3 Are input to the AND gate 144, respectively. AND gate 144 compares the logical product of these inputs with the data terminal D of post-processing flip-flop 148. E Output to
[0033]
The data terminal (D ′) of the first-stage flip-flop 142-1 of the second delay flip-flop group 1 ) Is the output Q of the post-processing flip-flop 148 E Is connected. The output (−Q) of each stage of the second flip-flop group is supplied to the AND gate 146. 1 )-(-Q 3 ) (Inverted output) is input. The AND gate 146 compares the logical product of these inputs with the data terminal D ′ of the post-processing flip-flop 150. E Output to Then, the output Q ′ of the post-processing flip-flop 150 E Is supplied to the comparison circuit 18 as an output of the noise removal circuit 116.
[0034]
The clock generated by the frequency dividing circuit 12 is supplied to the clock terminal CL of each stage of the first and second delay flip-flop groups. On the other hand, the clock terminal CL of each of the post-processing flip-flops 148 and 150 is supplied with a clock whose phase is shifted by the same cycle as the clock for each stage of each delay flip-flop group. In this circuit, the inverter 152 is provided before the CL of the post-processing flip-flop 148, and the inverter 154 is provided before the CL of the post-processing flip-flop 150. Each of the inverters 152 and 154 receives the clock from the frequency dividing circuit 12 and inverts the clock, that is, outputs the clock to the post-processing flip-flops 148 and 150 with the phase shifted by 180 °.
[0035]
FIG. 2 is a timing chart for explaining the basic operation of the noise removal circuit 116. Hereinafter, the operation of the noise removal circuit 116 will be described with reference to FIG. FIG. 2A shows an output clock CLK of the frequency dividing circuit 12, which is a clock used for driving each flip-flop of the present circuit. Incidentally, the inverted flip-flops 148 and 150 are applied to their clock terminals CL.
[0036]
FIG. 2B shows the output S of the Schmitt amplifier 22. Here, an example is shown in which the output of the Schmitt amplifier 22 includes the noise pulses 60 and 62 during the period that should be at the L level. The width of each of the noise pulses 60 and 62 is equal to or less than the cycle τ of the clock CLK.
[0037]
FIG. 2C shows the output Q of the flip-flop 140-1. 1 3 shows the waveforms of FIG. The noise pulse 60 generated by the Schmitt amplifier 22 is latched in the flip-flop 140-1 at the falling edge of CLK. Also, at the next falling edge of CLK, the output of the Schmitt amplifier 22 has returned to the L level, and the flip-flop 140-1 latches this. That is, the flip-flop 140-1 generates the pulse 70 having a width of 1τ in synchronization with the fall of the CLK. In response to the noise pulse 62, the flip-flop 140-1 outputs the pulse 72.
[0038]
FIG. 2D shows the output Q of the flip-flop 140-2. 2 3 shows the waveforms of FIG. The flip-flop 140-2 delays the output of the flip-flop 140-1 by 1τ, and 2 Output from Therefore, the output terminal Q of the flip-flop 140-2 2 , A pulse 80 corresponding to the pulse 70 and a pulse 82 corresponding to the pulse 72 are output.
[0039]
FIG. 2E shows the output Q of the flip-flop 140-3. 3 3 shows the waveforms of FIG. The flip-flop 140-3 delays the output of the flip-flop 140-2 by 1τ, 3 Output from Therefore, the output terminal Q of the flip-flop 140-3 3 , A pulse 90 corresponding to the pulse 80 and a pulse 92 corresponding to the pulse 82 are output.
[0040]
FIG. 2F shows the output AND of the AND gate 144, which is the input D of the post-processing flip-flop 148. E It becomes. The AND gate 144 is connected to the output Q of each flip-flop 140-1 to 140-3. 1 ~ Q 3 Find the logical product of Output Q 1 ~ Q 3 Are shifted in timing by τ from each other, and in the AND operation, the short-time pulses 70, 80, and 90 basically do not have a period overlapping each other, and the signal Q 1 ~ Q 3 Are at L level. Therefore, no pulse corresponding to the pulses 70, 80, and 90 appears at the output of the AND gate 144. The same applies to the pulses 72, 82, and 92. As described above, the AND gate 144 can remove the pulses 70 to 92 generated due to the noise pulses 60 and 62 of the Schmitt amplifier 22.
[0041]
Signal Q 1 ~ Q 3 All signals may temporarily go to the H level depending on the timing shift between the signals, and a spike-like pulse called a hazard may appear at the output of the AND gate 144 at that moment. Here, for example, in FIG. 2F, the pulses 100 and 102 are due to a hazard. Specifically, the hazard occurs, for example, in a portion where the falling edge of the pulse at the output of a certain stage and the rising edge of the pulse at the output of another stage are simultaneous. In the present circuit, the rise and fall occur in synchronization with the fall of CLK, so that the pulses 100 and 102 also appear at the fall timing of the clock CLK.
[0042]
When a pulse due to such a hazard is detected in the comparison circuit 18, the counting of the number of pulses of the FG signal becomes inaccurate, and the control of the speed control is deteriorated. In order to avoid this, the present circuit is provided with a post-processing flip-flop 148 next to the AND gate 144.
[0043]
As described above, the flip-flops 140-1 to 140-3 are driven by the clock CLK, whereas the post-processing flip-flop 148 is driven by the clock CLK inverted by the inverter 152. That is, the post-processing flip-flop 148 is connected to the data terminal D E The output of the AND gate 144 is latched at a timing different from the timing at which the pulses 100 and 102 are input. For example, the post-processing flip-flop 148 outputs the timing t which is τ / 2 ahead of the pulse 100. 1 Latches the output of the AND gate 144 at the timing t after τ / 2 from the pulse 100. 2 Latches the output of the AND gate 144. Since the pulse 100 due to the hazard keeps the H level only for a time shorter than τ, the post-processing flip-flop 148 does not latch the pulse 100 at any of these times t1 and t2, and continuously outputs the originally expected L level. I do. Thus, the pulses 100 and 102 due to the hazard are removed from the output of the post-processing flip-flop 148. The post-processing flip-flop 148 can also remove a hazard during a period when it should be at the H level.
[0044]
As described above, the second-stage circuit unit including the second delay flip-flop group, the AND gate 146, the post-processing flip-flop 150, and the inverter 154 connected behind the first-stage circuit unit also has the same noise. It has the effect of removing pulses.
[0045]
The signal Q shifted by τ from each other 1 ~ Q 3 Is ANDed by AND gate 144, so that the L level period becomes longer and the H level period becomes shorter at the output of AND gate 144. The second stage circuit section can recover the H level period eroded by the first stage circuit. This is different from the first-stage circuit unit in the second-stage circuit unit, in which the AND gate 146 outputs the inverted output (−Q ′) of each flip-flop of the second delay flip-flop group. 1 ~ -Q ' 3 ) Is obtained. More specifically, like the AND gate 144 of the first-stage circuit portion, the AND gate 146 extends the L-level period of the input signal and reduces the H-level period. However, since the signal input to the AND gate 146 is an inverted output, the L level period corresponds to the H level of the output of the AND gate 144, and conversely, the H level period corresponds to the L level of the output of the AND gate 144. After all, the L-level period extended by the AND gate 144 is conversely reduced by the AND gate 146, and the H-level period reduced by the AND gate 144 is extended by the AND gate 146. In this way, the second-stage circuit section can recover the H-level period eroded by the first-stage circuit. In particular, by making the number of stages of the delay flip-flop group of the first stage circuit unit and the number of stages of the delay flip-flop group of the second stage circuit unit the same, the original duty ratio of the FG signal can be recovered. .
[0046]
In the above example, the first delay flip-flop group and the second delay flip-flop group each have three stages. However, the present invention is not limited to this, and each delay flip-flop group may have a multi-stage configuration. It is also possible.
[0047]
Further, when it is not necessary to recover the duty ratio of the FG signal to 50% in the noise removing circuit 116, the noise removing circuit 116 can be constituted only by the first circuit unit. For example, the case where the output signal of the noise removal circuit 116 is frequency-divided by 、 and the comparison is performed by the comparison circuit 18 using this is equivalent to such case. In this case, even if the duty ratio of the output waveform of the noise elimination circuit 116 is not 50%, a signal whose frequency is reduced to 1/2 and whose duty ratio is 50% is obtained by frequency division.
[0048]
The means for shifting the phase of the clock for driving the delay flip-flop group and the clock for driving the post-processing flip-flop is not limited to the inverter. For example, a delay circuit can be used instead.
[0049]
In addition, if the circuit is configured by IIL (Integrated Injection Logic), a logical product can be obtained only by connection (wired and). Therefore, according to the IIL, the AND circuit can be realized by simple connection of the output of each stage of the delay flip-flop group instead of the AND gates 144 and 146, and the circuit configuration can be simplified.
[0050]
【The invention's effect】
According to the motor speed control circuit of the present invention, by performing a logical AND operation on the outputs of the delay flip-flops, it is possible to remove the pulse caused by the noise pulse in the output of the Schmitt amplifier 22 and to remove the noise pulse due to the hazard generated at that time. Is removed by a post-processing flip-flop driven at a timing shifted from the delay flip-flop group. Therefore, a noise pulse can be removed from the signal waveform supplied to the comparison circuit 18, and the comparison with the reference value in the comparison circuit 18 can be accurately performed. The effect of improving the reliability of this is obtained.
[Brief description of the drawings]
FIG. 1 is a circuit configuration diagram of a noise removal circuit according to an embodiment of the present invention.
FIG. 2 is a timing chart illustrating a basic operation of the noise removal circuit according to the present invention.
FIG. 3 is a block diagram of a conventional motor speed control circuit.
FIG. 4 is a circuit configuration diagram of a conventional noise removal circuit.
FIG. 5 is a timing chart illustrating a basic operation of a conventional noise removal circuit.
[Explanation of symbols]
2 motor, 4 hall amplifier, 6 hall logic circuit, 8 drive circuit, 10 oscillation circuit, 12/14 frequency divider circuit, 18 comparison circuit, 20 FG amplifier, 22 Schmitt amplifier, 24 integration amplifier, 116 noise removal circuit, 140− 1 to 140-3, 142-1 to 142-3 Flip-flop, 144, 146 AND gate, 148, 150 Post-processing flip-flop, 152, 154 Inverter.

Claims (4)

モータを駆動する駆動回路と、前記モータの回転に応じて発生したFG信号の重畳ノイズを除去するシュミット回路と、前記シュミット回路のヒステリシス幅を超えた前記重畳ノイズに起因して前記シュミット回路にて生じたノイズパルスを除去するノイズ除去回路と、前記ノイズパルスを除去された信号に基づく修正FG信号と基準信号とを比較する比較回路とを備え、前記比較回路での比較結果に基づいて前記駆動回路を制御し前記モータの速度制御を行うモータ速度制御回路において、
前記ノイズ除去回路は、
直列に接続された複数のフリップフロップであって、前記ノイズパルスを含む信号が初段の当該フリップフロップに入力される遅延フリップフロップ群と、
前記遅延フリップフロップ群の各段の前記フリップフロップの出力信号の論理積を演算する論理積回路と、
前記論理積回路の出力を入力データとする後処理フリップフロップと、
を有し、
前記後処理フリップフロップは、前記遅延フリップフロップ群の各段を駆動するクロックとは周期は同一で位相がずれた移相クロックにより駆動され、前記論理積回路の出力信号が変化するタイミングとずれたタイミングで前記論理積回路の出力信号をラッチすることで、前記論理積回路の出力信号に生じるハザードを抑制すること、
を特徴とするモータ速度制御回路。
A drive circuit for driving the motor, a Schmitt circuit for removing superimposed noise of the FG signal generated in accordance with the rotation of the motor, and a Schmitt circuit for causing the superimposed noise exceeding a hysteresis width of the Schmitt circuit. A noise removing circuit that removes the generated noise pulse; and a comparing circuit that compares a corrected FG signal based on the signal from which the noise pulse has been removed with a reference signal, wherein the driving is performed based on a comparison result of the comparing circuit. In a motor speed control circuit that controls a circuit to control the speed of the motor,
The noise elimination circuit,
A plurality of flip-flops connected in series, wherein a delay flip-flop group in which a signal including the noise pulse is input to the first-stage flip-flop;
An AND circuit that calculates the logical product of the output signals of the flip-flops at each stage of the delay flip-flop group;
A post-processing flip-flop having an output of the AND circuit as input data;
Has,
The post-processing flip-flop is driven by a phase-shifted clock that has the same cycle as the clock that drives each stage of the delay flip-flop group and is out of phase, and is shifted from the timing at which the output signal of the AND circuit changes. By latching the output signal of the AND circuit at a timing, suppressing a hazard generated in the output signal of the AND circuit,
A motor speed control circuit characterized by the following.
請求項1記載のモータ速度制御回路において、
前記遅延フリップフロップ群の各段を駆動するクロックを入力され、これを反転して前記移相クロックとして出力するインバータを含むことを特徴とするモータ速度制御回路。
The motor speed control circuit according to claim 1,
A motor speed control circuit, comprising: an inverter that receives a clock for driving each stage of the delay flip-flop group, inverts the clock, and outputs the inverted clock as the phase-shifted clock.
請求項1記載のモータ速度制御回路において、
前記ノイズ除去回路は、
前記シュミット回路の出力を入力データとする前記初段フリップフロップを有した第1の前記遅延フリップフロップ群と、
前記第1の遅延フリップフロップ群の出力に接続される第1の前記論理積回路と、
前記第1の論理積回路の出力に接続される第1の前記後処理フリップフロップと、
前記後処理フリップフロップの出力を入力データとする前記初段フリップフロップを有した第2の前記遅延フリップフロップ群と、
前記第2の遅延フリップフロップ群の出力に接続される第2の前記論理積回路と、
前記第2の論理積回路の出力に接続される第2の前記後処理フリップフロップと、
を有し、
前記第1の前記論理積回路と前記第2の前記論理積回路とのいずれか一方が、対応する前記遅延フリップフロップの各段の前記フリップフロップの標準出力信号を入力され、他方が対応する前記遅延フリップフロップの各段の前記フリップフロップの標準出力信号と反転関係にある反転出力信号を入力されること、
を特徴とするモータ速度制御回路。
The motor speed control circuit according to claim 1,
The noise elimination circuit,
A first delay flip-flop group including the first-stage flip-flop having an output of the Schmitt circuit as input data;
A first AND circuit connected to an output of the first delay flip-flop group;
A first post-processing flip-flop connected to an output of the first AND circuit;
A second delay flip-flop group including the first-stage flip-flop having an output of the post-processing flip-flop as input data;
A second AND circuit connected to an output of the second delay flip-flop group;
A second post-processing flip-flop connected to an output of the second AND circuit;
Has,
One of the first AND circuit and the second AND circuit receives a standard output signal of the flip-flop of each stage of the corresponding delay flip-flop, and the other corresponds to the corresponding one of the delay flip-flops. Inputting an inverted output signal having an inverted relationship with a standard output signal of the flip-flop of each stage of the delay flip-flop;
A motor speed control circuit characterized by the following.
請求項3記載のモータ速度制御回路において、
前記第1の遅延フリップフロップ群と前記第2の遅延フリップフロップ群のそれぞれの段数は互いに等しいことを特徴とするモータ速度制御回路。
The motor speed control circuit according to claim 3,
A motor speed control circuit, wherein the first delay flip-flop group and the second delay flip-flop group have the same number of stages.
JP04749098A 1998-02-27 1998-02-27 Motor speed control circuit Expired - Fee Related JP3586705B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP04749098A JP3586705B2 (en) 1998-02-27 1998-02-27 Motor speed control circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP04749098A JP3586705B2 (en) 1998-02-27 1998-02-27 Motor speed control circuit

Publications (2)

Publication Number Publication Date
JPH11252962A JPH11252962A (en) 1999-09-17
JP3586705B2 true JP3586705B2 (en) 2004-11-10

Family

ID=12776569

Family Applications (1)

Application Number Title Priority Date Filing Date
JP04749098A Expired - Fee Related JP3586705B2 (en) 1998-02-27 1998-02-27 Motor speed control circuit

Country Status (1)

Country Link
JP (1) JP3586705B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101004138B1 (en) 2008-08-18 2010-12-27 한일과학산업 주식회사 Frequency variable 3-phase drive signal generator for speed control of induction motor
JP6602044B2 (en) 2015-05-08 2019-11-06 キヤノン株式会社 Vibration type driving device, control device, and medical system
CN110319894B (en) * 2019-06-28 2024-02-13 金卡智能集团股份有限公司 Pulse signal detection circuit applied to metering instrument

Also Published As

Publication number Publication date
JPH11252962A (en) 1999-09-17

Similar Documents

Publication Publication Date Title
US6323706B1 (en) Apparatus and method for edge based duty cycle conversion
KR100340658B1 (en) Delayedtype phase locked loop
US4786823A (en) Noise pulse suppressing circuit in digital system
US6795520B2 (en) High speed digital counters
JP3586705B2 (en) Motor speed control circuit
JP3918777B2 (en) Pulse width modulation circuit
US6646956B2 (en) One-shot signal generating circuit
JP3657188B2 (en) Device and its operating method
US4654599A (en) Four phase clock signal generator
US5583461A (en) Internal clock signal generation circuit having external clock detection and a selectable internal clock pulse
JP3983575B2 (en) Frequency comparator and lock detection circuit using the same
US6337588B1 (en) Apparatus and method for doubling the frequency of a clock signal
JPH0662593A (en) Sensorless motor drive
EP0366582B1 (en) High speed digital counter
JP2000049595A (en) DLL circuit
JPH11340819A (en) Phase-locked loop circuit
JP2524467B2 (en) Automatic phase control circuit
KR100566297B1 (en) Clock divider circuit
JP3450612B2 (en) Phase synchronous clock signal generator and phase synchronous clock signal generation method
JP2001223567A (en) Noise removing circuit
JP3185768B2 (en) Frequency comparator and clock extraction circuit using the same
JP2643470B2 (en) Synchronous counter
JPH0879029A (en) 4-phase clock pulse generator
JP5007376B2 (en) Noise removal circuit
CN118041344A (en) Output duty cycle adjustable clock frequency divider

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20040409

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040413

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20040521

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20040521

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20040527

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: 20040622

A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A711

Effective date: 20040709

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20040715

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A821

Effective date: 20040709

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

Free format text: PAYMENT UNTIL: 20070820

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20080820

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20090820

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20100820

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20100820

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20110820

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20110820

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20120820

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20120820

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20130820

Year of fee payment: 9

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees