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
JP3896644B2 - Motor drive device - Google Patents
[go: Go Back, main page]

JP3896644B2 - Motor drive device - Google Patents

Motor drive device Download PDF

Info

Publication number
JP3896644B2
JP3896644B2 JP19746997A JP19746997A JP3896644B2 JP 3896644 B2 JP3896644 B2 JP 3896644B2 JP 19746997 A JP19746997 A JP 19746997A JP 19746997 A JP19746997 A JP 19746997A JP 3896644 B2 JP3896644 B2 JP 3896644B2
Authority
JP
Japan
Prior art keywords
signal
phase
supplied
electromotive voltage
pwm
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
JP19746997A
Other languages
Japanese (ja)
Other versions
JPH114595A5 (en
JPH114595A (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.)
Sony Corp
Original Assignee
Sony Corp
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 Sony Corp filed Critical Sony Corp
Priority to JP19746997A priority Critical patent/JP3896644B2/en
Publication of JPH114595A publication Critical patent/JPH114595A/en
Publication of JPH114595A5 publication Critical patent/JPH114595A5/ja
Application granted granted Critical
Publication of JP3896644B2 publication Critical patent/JP3896644B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Control Of Ac Motors In General (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、例えば磁気ディスク,光磁気ディスク,デジタルオーディオディスク等の円盤状記録媒体の記録装置,再生装置,記録再生装置や、ビデオテープレコーダ装置,ビデオカメラ装置,カメラ装置等のモータを有するあらゆる機器に適用して好適なモータ駆動装置に関し、特に、いわゆるセンサレスモータにおけるダイレクトパルス幅変調駆動(ダイレクトPWM駆動)を可能としたモータ駆動装置に関する。
【0002】
【従来の技術】
従来、図36に示すようなセンサレスドライブ方式のモータ駆動装置が知られている。例えば3相モータ500のU相コイル500U及びV相コイル500Vに電流を供給すると、このU相コイル500U及びV相コイル500Vはトルクを発生するように働くためモータを動作させるが、残るW相コイル500Wは逆に逆起電圧を発生する。センサレスドライブ方式のモータ駆動装置は、このようにして各相コイル500U,500V,500Wにそれぞれ発生する逆起電圧に基づいてロータの回転位置を検出し、この各相コイル500U,500V,500Wの通電状態を切り換え制御して回転制御を行うものである。
【0003】
すなわち、各相コイル500U,500V,500Wから発生する逆起電圧Uin,Vin,Winは、それぞれフィルタ501を介して比較部502に供給される。また、3相モータ500の中性点の電圧であるコモン端子500Aのコモン電圧COMは、フィルタ501を介して比較部502に供給される。
【0004】
フィルタ501は、図37に示すような構成を有しており、U相コイル500Uからの逆起電圧Uinは、抵抗515a及びコンデンサ515bで構成されるローパスフィルタ515に供給される。また、V相コイル500Vからの逆起電圧Vinは、抵抗516a及びコンデンサ516bで構成されるローパスフィルタ516に供給され、W相コイル500Wからの逆起電圧Winは、抵抗517a及びコンデンサ517bで構成されるローパスフィルタ517に供給される。また、コモン端子500Aからのコモン電圧COMは、抵抗518a及びコンデンサ518bで構成されるローパスフィルタ518に供給される。
【0005】
ここで、このセンサレスドライブ方式のモータ駆動装置は、各相コイル500U,500V,500Wからの逆起電圧Uin,Vin,Winに基づいてロータの回転位置を検出し、この回転位置検出結果に応じてこの各相コイル500U,500V,500Wの通電タイミングを切り換え制御することにより、3相モータ500を回転駆動するわけであるが、図38(a)に示すように各相コイル500U,500V,500Wの通電切り換え時のオフのタイミングで、ノイズであるキックバックノイズが発生する。このキックバックノイズは、各相コイル500U,500V,500Wの逆起電圧Uin,Vin,Win及びコモン電圧COMに重畳してしまうため、このままでは後段の信号処理に支障をきたす。このため、各ローパスフィルタ515,516,517は、各逆起電圧Uin,Vin,Winからキックバックノイズを除去し、これを比較部502の各比較器519,520,521にそれぞれ供給する。また、ローパスフィルタ518は、コモン電圧COMからキックバックノイズを除去し、これを基準電圧として各比較器519,520,521に供給する。
【0006】
各比較器519,520,521は、それぞれコモン電圧COMと、各逆起電圧Uin,Vin,Winとを比較し、図38(b)〜(d)に示すような各比較出力U,V,Wを信号処理部508に供給する。
【0007】
一方、両波整流部503には、3相モータ500の回転状態に基づいて回転サーボ系で生成された回転サーボ信号(Vcontrol)が供給されている。両波整流部503は、基準電圧を中心としてプラスマイナス入力される回転サーボ信号を両波整流し、これを基準値Vrecとしてコンパレータ504に供給する。また、例えば3相モータ500の回転数が規定以上に速くなると、回転サーボ信号は、回転数を落とすためにマイナス入力となる。このため、両波整流部503は、マイナス入力の回転サーボ信号が供給されると、回転ブレーキをかけるためのリバース信号を生成し、これを信号処理部508に供給する。
【0008】
電流検出抵抗511(Risense)は、後に説明するドライバ510から各相コイル500U,500V,500Wに供給する通電電流を電圧のかたちで検出する。この検出値(Current Sense)は、抵抗505a及びコンデンサ505bで積分処理されコンパレータ504に供給される。
【0009】
コンパレータ504は、基準値Vrecと、電流検出抵抗511で検出された検出値(Current Sense)の積分値とを比較し、この比較出力Verrをパルス幅変調信号生成部(PWM信号生成部)506に供給する。
【0010】
PWM信号生成部506は、比較出力Verrをパルス幅変調することによりパルス幅変調信号(PWM Carrier)を生成し、これを電圧変換部507に供給する。なお、これは、パルス幅変調を用いた電流駆動を行っていることを示す。電圧変換部507は図39に示すような構成を有しており、電源電圧Vccに接続されるトランジスタ507aをパルス幅変調信号でスイッチング駆動することにより、このパルス幅変調信号に応じたパルス幅変調電圧を生成し、コイル507b及び平滑コンデンサ507cにより供給電圧VSに変換し、この供給電圧VSをドライバ510に供給する。
【0011】
次に、信号処理部508は、比較部502から供給される上述した図38(b)〜(d)に示すような各比較出力U,V,Wの排他的論理和(Exor)を検出して図38(e)に示すようなExor信号を生成する。図38(a),(e)に示すように、Exor信号の立ち上がりエッジ及び立ち下がりエッジは、それぞれ各逆起電圧Uin,Vin,Winとコモン電圧COMとのゼロクロスポイントを示す。このため、信号処理部508は、Exor信号の立ち上がりエッジ及び立ち下がりエッジを検出し、この検出タイミングで各逆起電圧Uin,Vin,Winの取り込みを行う。そして、各逆起電圧Uin,Vin,Winに基づいて、図38(f),(g)に示すようなU相コイル500U用の上層トランジスタコントロール信号Uu及び下層トランジスタコントロール信号Ulと、同図(h),(i)に示すようなV相コイル500V用の上層トランジスタコントロール信号Vu及び下層トランジスタコントロール信号Vlと、同図(j),(k)に示すようなW相コイル500W用の上層トランジスタコントロール信号Wu及び下層トランジスタコントロール信号Wlとを生成し、これらをドライバ510に供給する。
【0012】
また、信号処理部508は、両波整流部503からリバース信号が供給されると、各コントロール信号Uu,Ul,Vu,Vl,Wu,Wlを極性反転してドライバ510に供給する。
【0013】
ドライバ510は、図40に示すようにU相コイル500U用の上層,下層トランジスタ521,522と、V相コイル500V用の上層,下層トランジスタ523,524と、W相コイル500W用の上層,下層トランジスタ525,526と、各トランジスタ521〜526の各ベースにそれぞれ接続されたバッファアンプ及び抵抗等で構成されている。
【0014】
各上層用トランジスタ521,523,525の各コレクタには、それぞれ電圧変換部507からの供給電圧VSの入力端子に接続されている。また、各下層トランジスタ522,524,526の各エミッタは、それぞれ電流検出抵抗511に接続されている。そして、各上層トランジスタ521,523,525の各エミッタは、各下層トランジスタ522,524,526の各コレクタに接続されており、この各接続点から各相コイル500U,500V,500Wに供給する駆動電圧を取り出すようになっている。
【0015】
このような構成を有するドライバ510は、信号処理部508からの各コントロール信号Uu,Ul,Vu,Vl,Wu,Wlが、それぞれ各上層,下層トランジスタ521〜526のベースに供給される。このため、各上層,下層トランジスタ521〜526が、それぞれ各コントロール信号Uu,Ul,Vu,Vl,Wu,Wlに応じてオンオフ制御され、このオンオフ制御に応じた供給電源VSが各接続点から取り出される。この各接続点から取り出される供給電源VSは、駆動電圧U,V,Wとして3相モータ500の各相コイル500U,500V,500Wにそれぞれ供給される。
【0016】
なお、各相コイル500U,500V,500Wにそれぞれ供給される供給電源VSの値は、上述のように電流検出抵抗511で検出される。そして、コンパレータ504において基準値Vrecと比較され、この比較出力Verrに基づいて間接的なPWM駆動がなされる。これにより、各相コイル500U,500V,500Wの通電状態を一定に保つことができる。
【0017】
このように当該センサレスドライブ方式のモータ駆動装置は、各相コイル500U,500V,500Wがそれぞれ発生する逆起電圧によりロータの回転位置を検出してこの各相コイル500U,500V,500Wへの通電状態を切り換え制御することができるため、ホール素子等の回転位置検出手段を設けることなく、3相モータ500を回転制御することができる。
【0018】
【発明が解決しようとする課題】
ここで、上述のセンサレス方式のモータ駆動装置において、電圧変換部507を取り除いて3相モータ500を直接PWM駆動(以下、このようにPWM信号を電圧値に変換せず、直接PWMでスイッチングした電流をモータの各相のコイルに供給して駆動することをダイレクトPWM駆動という。)したとすると、図41(a)〜(c)に示すように各相コイル500U,500V,500Wへの電圧をオフするタイミングで各相端子電圧がグランドレベルに、また、コモン電圧COMもグランドレベルまで落ち込み、このときに逆起電圧の検出が困難となる。特に、パルス幅変調駆動を行うため、当然オンオフの幅が異なることとなり、電圧のオフ時の逆起電圧の検出が困難になる。このため、3相モータ500を駆動すると、ジッタや音響ノイズを悪化させてしまう。
【0019】
また、ダイレクトPWM駆動では、逆起電圧を検出する際にフィルタを強化することも考えられるが、非常に強力なフィルタが必要となり、さらに、出力波形にも影響を及ぼし駆動効率が悪くなる。
【0020】
また、ダイレクトPWM駆動では、電流検出抵抗511に流れる電流が間欠的になっているため、容易にこの電流検出抵抗511に流れる電流値を検出することができない。
【0021】
本発明は上述の問題点に鑑みてなされたものであり、電圧変換回路を設けることなくセンサレス方式におけるPWM駆動を可能とし、また、フィルタ回路を設けることなくキックバックノイズによる誤動作を防止し、さらに、逆起電圧の取り込みを改善して誤った相への通電を防止し、モータの起動特性等を改善することができるようなモータ駆動装置の提供を目的とする。
【0022】
【課題を解決するための手段】
上記の課題を解決するため、本発明は、パルス幅変調(PWM)信号に基づきスイッチングしたドライブ電流を直接モータの各相コイルに供給して、このモータを駆動するモータの駆動装置において、モータの回転を制御するモータの回転制御信号に基づいて、PWM信号を生成するPWM信号生成手段と、モータの各相コイルに生じる逆起電圧を検出する逆起電圧検出手段と、上記逆起電圧を検出するタイミングを制御するタイミングコントロール手段と、上記逆起電圧検出手段により検出した逆起電圧と上記PWM信号に応じて、各相コイルを駆動するPWMコントロール信号を生成するPWM出力手段と、上記PWMコントロール信号に基づいてドライブ電流を生成し、上記モータの各相コイルにドライブ電流を供給するドライブ手段と、上記逆起電圧検出手段により検出した逆起電圧に基づき、各相コイルに生じる逆起電圧の切り替わりエッジを検出するエッジ検出手段を備え、上記タイミングコントロール手段は、PWM信号の切り替えがあった時点からPWM信号の周期の1/2の直前のタイミングで逆起電圧の検出を制御し、PWM信号の周期の1/2直前のタイミングで逆起電圧を検出した後PWM信号の切り替えがあるまではPWM信号の周期の1/2のタイミングで逆起電圧の検出を制御し、上記PWM出力手段は、上記逆起電圧検出手段が2回以上連続して同一相コイルの逆起電圧の同一データを検出したときに、検出した逆起電圧に応じたPWMコントロール信号を生成し、上記PWM出力手段は、各相コイルを駆動するPWMコントロール信号を切り替える場合に、その切り替えエッジの前後のPWMコントロール信号のデューティを滑らかに変化させることを特徴とする。
【0026】
本発明に係るモータ駆動装置では、PWM出力手段が、各相コイルを駆動するPWMコントロール信号を切り替える場合に、その切り替えエッジの前後のPWMコントロール信号の周期を滑らかに変化させ、ドライブ手段が、モータの各相コイルにドライブ電流を供給して、モータをPWM信号に基づいて駆動する。
【0031】
【発明の実施の形態】
以下、本発明に係るモータ駆動装置の実施の形態について、図面を参照しながら詳細に説明する。
【0032】
本発明を適用した実施の形態にかかるモータ駆動装置のブロック構成図を図1に示す。
【0033】
モータ駆動装置10は、いわゆるセンサレス方式のモータ駆動回路であり、特に、PWM信号でスイッチングしたドライブ電流を直接モータの各相コイルに供給するダイレクトPWM駆動をするモータの駆動回路である。このモータ駆動装置10は、3相モータ1の回転サーボ信号(Vcontrol)を両波整流し、これを基準信号Vrecとして出力するとともに、回転サーボ信号(Vcontrol)のマイナス入力時に3相モータ1に回転ブレーキをかけるためにリバース信号(Reverse)を出力する両波整流部2と、基準信号Vrecと後に説明する3相モータ1の駆動電流を検出した駆動電流検出電圧(Current Sense)を抵抗3a及びコンデンサ3bで積分処理した値とを比較するコンパレータ3と、コンパレータ3からの比較出力Verrに基づいてパルス幅変調信号(PWM Carrier)を出力するPWM信号生成部4とを有している。
【0034】
また、モータ駆動装置10は、3相モータ1の中性点に発生する電圧であるコモン電圧COMを基準として、U相コイル1U,V相コイル1V,W相コイル1Wに生じる各相電圧Uin,Vin,Winをそれぞれ比較して比較信号Uin1,Vin1,Win1を生成する比較部5と、PWM信号生成部4からのパルス幅変調信号(PWM Carrier),比較部5からの各比較信号Uin1,Vin1,Win1及び両波整流部2からのリバース信号(Reverse)に基づいて、ドライバ7を駆動するためのコントロール信号Uu,Ul,Vu,Vl,Wu,Wlを生成して出力する信号処理部6とを有している。
【0035】
また、モータ駆動装置10は、信号処理部6からのコントロール信号Uu,Ul,Vu,Vl,Wu,Wlに応じて3相モータ1を駆動するドライバ7と、3相モータ1の駆動電流を電圧のかたちで検出して抵抗3a及びコンデンサ3bからなる積分回路を介してコンパレータ3に供給する駆動電流検出部8と、ドライバ7が3相モータ1に駆動電流を供給したタイミングを検出するスイッチング検出部9とを有している。
【0036】
このような構成を有するモータ駆動装置10では、3相モータ1の例えばU相コイル1U及びV相コイル1Vに電流を供給すると、このU相コイル1U及びV相コイル1Vがトルクを発生するように働くため3相モータ1が回転駆動する。このとき、3相モータ1では、通電をしていない残るW相コイル1Wが逆に起電圧を発生する。モータ駆動装置10は、この各相コイル1U,1V,1Wに発生する逆起電圧に基づいてロータの回転位置を検出し、この検出結果に応じて通電状態を切り換え制御して3相モータ1を回転駆動させるものである。
【0037】
具体的には、各相コイル1U,1V,1Wから図2(a)に示すような逆起電圧(Win)Uin,Vinが発生する。この各相コイルに発生する逆起電圧(Win)Uin,Vinは、PWM信号でスイッチングしたドライブ電流が直接モータの各相コイルに供給されるため、このPWM信号に応じてレベルが変動する。すなわち、各相コイルの中点の電圧であるコモン電圧COMは、図2(b)に示すように、PWM信号がオンのときはVCCの1/2の電圧レベルとなり、PWM信号がオフのときはVCCからVCC+Vf/2(Vfはダイオードの順方向電圧)の電圧レベルとなる。従って、逆起電圧(Win)Uin,Vinは、このコモン電圧COMを基準に電圧が発生するため、電圧レベルがPWMに応じて変動し、そのため、このオンオフの切り換わりエッジでは、大きなノイズが生じている。なお、PWM信号がオフのときにコモン電圧COMがVCCからVCC+Vf/2レベルとなるのは、ドライバ7の下層トランジスタを切り換えて、すなわち、グランド側をオンオフしているためである。このことについては詳細を後述する。そして、このような、各相電圧Uin,Vin,Win及び3相モータ1の中性点の電圧であるコモン端子1aのコモン電圧COMは、それぞれ比較部5及びスイッチング検出部9に供給される。
【0038】
なお、3相モータ1の各相のコイルに生じる電圧は、逆起電圧のみならずドライバ7からのドライブ電圧も当然生じる(例えば、図2(b)においてUinの信号)。以下、比較部5及びスイッチング検出部9に供給される電圧を総して相電圧Uin,Vin,Winとして説明する。
【0039】
また、この3相モータ1は、例えば、回転サーボ系或いはデジタル・シグナル・プロセッサ(DSP)等でその回転がサーボコントロールがされている。
【0040】
両波整流部2は、図3に示すような構成である。この両波整流部2は、第1の増幅器2aと第2の増幅器2cと各整流素子等により、3相モータ1の回転状態に基づいて回転サーボ系或いはDSP等で生成された回転サーボ信号(Vcontrol)と、基準電源2bからの基準電圧との差分を検出し、この差分を両波整流する。そして、この両波整流した回転サーボ信号(Vcontrol)を基準信号Vrecとして出力する。両波整流部2は、この基準信号Vrecをコンパレータ3に供給する。
【0041】
ここで、3相モータ1の回転数が規定以上に速くなると、回転サーボ信号(Vcontrol)は、回転数を落とすために基準電圧と比較してマイナスの信号となる。このため、両波整流部2では、比較器2dが、基準電圧と回転サーボ信号(Vcontrol)とを比較し、マイナス入力の回転サーボ信号(Vcontrol)が供給されたときに3相モータ1に回転ブレーキをかけるためのリバース信号(Reverse)を生成し、これを後に説明する信号処理部6に供給する。
【0042】
駆動電流検出部8は、後に説明するドライバ7から各相コイル1U,1V,1Wに供給する駆動電流を電圧のかたちで検出する。この駆動電流検出電圧(Current Sense )は、抵抗3a及びコンデンサ3bからなる積分回路で積分処理されコンパレータ3に供給される。この駆動電流検出部8については、詳細を後述する。
【0043】
コンパレータ3は、両波整流部2からの基準信号Vrecと、駆動電流検出部8で検出された駆動電流検出電圧(Current Sense )の積分信号とを比較し、この比較出力Verrをパルス幅変調回路(PWM回路)4に供給する。
【0044】
PWM信号生成部4は、比較出力Verrをパルス幅変調してパルス幅変調信号(PWM Carrier)を生成し、これを信号処理部6に供給する。ここで、このPWM信号生成部4により生成されるパルス幅変調信号(PWM Carrier)は、メインクロック(Main Clock)に対して周期が一定であり、ハイ(オン)領域が変動する信号である。この実施の形態において説明するパルス幅変調信号(PWM Carrier)は、例えば、図4に示すような、メインクロックに対して周期が16クロック固定であり、オン領域が0クロックから16クロックまで変動する信号である。このメインクロックは、他の両波整流部2や信号処理部6等の処理にも用いられるこの装置の主同期信号である。なお、PWM信号生成部4により生成されるパルス幅変調信号(PWM Carrier)は、後述する信号処理部6等との整合性がとれれば、例えば、他のPWMの方式の信号であってもよい。
【0045】
一方、比較部5は、図5に示すように、U相用,V相用,W相用の3つの比較器5a〜5cと、各相電圧を分圧する抵抗5d〜5kで構成されている。この比較部5には、図2に示した相電圧Uin,Vin,Win及びコモン電圧COMが供給される。3相モータ1からのコモン電圧COMは、基準電圧として各比較器5a〜5cに抵抗5j及び5kを介して供給される。また、U相の相電圧Uinは抵抗5d及び5eを介してU相用の比較器5aに供給され、V相の相電圧Vinは抵抗5f及び5gを介してV相用の比較器5bに供給され、W相の相電圧Winは抵抗5h及び5iを介してW相用の比較器5cに供給される。なお、図2(b)で説明したようにPWM信号がオフのときには、逆起電圧がVCCレベルを中心に発生する。そのため、逆起電圧がこのVCCレベルより大きなレベルとなってしまう場合がある。しかしながら、抵抗5d〜5kにより電圧が分圧しておくことで、特に問題は生じない。
【0046】
各比較器5a〜5cは、図6(a)に示す各相電圧Uin,Vin,Winをコモン電圧COMと比較し、図6(b)〜(d)に示すような各比較信号Uin1,Vin1,Win1を生成しこれらを信号処理部6に供給する。
【0047】
なお、各比較信号Uin1,Vin1,Win1は、図6においては図示していないが、PWM信号に応じてオンオフがされており、また、各相コイル1U,1V,1Wへの通電切り換えのタイミングで逆起電圧に生じるキックバックノイズが重畳している。
【0048】
スイッチング検出部9は、図7に示すような構成であり、整流素子9b〜9dを介して検出する各相電圧Uin,Vin,Winと所定の基準電圧Vとを比較器9aにより比較し、CompOut信号を生成する。ここで、この比較器9aに供給される基準電圧は、ドライバ7からのドライブ電流が流れていない相コイルに生じる逆起電圧よりは大きいが、ドライバ7が駆動するドライブ電圧よりも小さい値に設定されている。つまり、この基準電圧は、図2(b)に示す場合においてのWinのピーク値よりも大きい値であるであるが、Uinよりも小さい値である。
【0049】
このように基準電圧Vを設定することにより、比較器9aは、ドライバ7からのドライブ電圧のオンオフを示すCompOut信号を生成する。すなわち、スイッチング検出部9は、3相モータ1を駆動するPWM駆動スイッチングのタイミングを検出する。スイッチング検出部9により生成されたCompOut信号は、信号処理部6と駆動電流検出部8に供給される。
【0050】
信号処理部6には、両波整流部2からリバース信号(Reverse)と、PWM信号生成部4からパルス幅変調信号(PWM Carrier)と、比較部5から比較信号Uin1,Vin1,Win1と、スイッチング検出部9からCompOut信号が供給される。信号処理部6は、これらの信号に基づき、ドライバ7のコントロール信号Uu,Ul,Vu,Vl,Wu,Wlを生成する。すなわち、信号処理部6は、3相モータ1の逆起電圧を検出してロータの回転位置を検出し、この検出に応じて3相モータ1の通電状態の切り換えを制御する。
【0051】
つぎに、この信号処理部6の具体的な回路構成について説明する。
【0052】
信号処理部6は、図8に示すように、逆起電圧検出ロジック21と、エッジ検出ロジック22と、3フェーズロジック23と、アウトプットロジック24と、スタートロジック25と、アングル生成ロジック26と、PLLロジック27と、発振ロジック28とを備える。
【0053】
逆起電圧検出ロジック21は、図9に示すように、タイミングコントローラ51と第1のノイズマスク回路52と、第2のノイズマスク回路53とを有する。タイミングコントローラ51には、スイッチング検出部9からのCompOut信号とメインクロックとが入力される。タイミングコントローラ51は、このCompOut信号とメインクロックに基づきタイミングクロックを生成し、第1のノイズマスク回路52に供給する。
【0054】
具体的に、タイミングコントローラ51は、図10に示すように、第1と第2のカウンタ54,55と、ORゲート56と、CompOut信号を反転させるインバータ57とを有している。
【0055】
第1のカウンタ54は、CompOut信号でリセットされメインクロックをカウントする第1〜第3のTフリップフロップ54a〜54cと、第1,第2のTフリップフロップ54a,54bからの各出力の論理積をとって第3のTフリップフロップ54cに供給する第1のANDゲート54dと、第1〜第3のTフリップフロップ54a〜54cからの各出力の論理積をとってORゲート56に供給する第2のANDゲート54eとを有している。
【0056】
第2のカウンタ55は、インバータ57で反転されたCompOut信号でリセットされメインクロックをカウントする第1〜第3のTフリップフロップ55a〜55cと、第1,第2のTフリップフロップ55a,55bからの各出力の論理積をとって第3のTフリップフロップ55cに供給する第1のANDゲート55dと、第1〜第3のTフリップフロップ55a〜55cからの各出力の論理積をとってORゲート56に供給する第2のANDゲート55eとを有している。
【0057】
タイミングコントローラ51の第1のカウンタ54は、CompOut信号がハイとなるとメインクロックのカウントを開始する。また、第2のカウンタ55は、CompOut信号がローとなるとメインクロックのカウントを開始する。第1と第2のカウンタ54,55は、カウントを開始すると、まず、メインクロックを7カウントしたときに出力がハイとなり、続いて、8カウント毎に出力がハイとなる。そして、CompOut信号がハイ又はローに切り替わる度にメインクロックをカウントするカウンタが切り替わる。すなわち、CompOut信号がハイのときは、第1のカウンタ54が動作し、第2のカウンタ55は動作しない。また、CompOut信号がローのときは、第2のカウンタ55が動作し、第1のカウンタ54は動作しない。この第1と第2のカウンタの出力は、ORゲート56に供給される。
【0058】
ORゲート56は、第1と第2のカウンタ54,55の出力の論理和をとり、図11に示すようなタイミングクロックを出力する。このタイミングクロックは、第1のノイズマスク回路52に供給される。
【0059】
第1のノイズマスク回路52は、図12に示すように、第1のU相ノイズマスク回路58と、第1のV相ノイズマスク回路59と、第1のW相ノイズマスク回路60とから構成される。
【0060】
第1のU相ノイズマスク回路58は、比較部5の比較器5aから供給される比較信号Uin1をメインクロックの反転信号に同期化させる第1のDフリップフロップ58aと、第1のDフリップフロップ58aの出力をタイミングコントローラ51により生成されるタイミングクロックに同期化させる第2のDフリップフロップ58bとを有する。
【0061】
また、第1のU相ノイズマスク回路58は、第2のDフリップフロップ58bの入出力間のEXORの反転をとるEX−OR反転ゲート58cと、インバータ58dを介したEX−OR反転ゲート58cの出力と後述する第3のDフリップフロップ58hの出力とが供給される第1のANDゲート58eと、EX−OR反転ゲート58cと第2のDフリップフロップ58bの出力が供給される第2のANDゲート58fとを有する。
【0062】
また、第1のU相ノイズマスク回路58は、第1と第2のANDゲート58e,58fの出力が供給されるORゲート58gと、このORゲート58gの出力をタイミングクロックと同期化させて比較信号Uin1′を出力する第3のDフリップフロップ58hとを有する。
【0063】
第1のV相ノイズマスク回路59は、比較部5の比較器5bから供給される比較信号Vin1をメインクロックの反転信号に同期化させる第1のDフリップフロップ59aと、第1のDフリップフロップ59aの出力をタイミングコントローラ51により生成されるタイミングクロックに同期化させる第2のDフリップフロップ59bとを有する。
【0064】
また、第1のV相ノイズマスク回路59は、第2のDフリップフロップ59bの入出力間のEXORの反転をとるEX−OR反転ゲート59cと、インバータ59dを介したEX−OR反転ゲート59cの出力と後述する第3のDフリップフロップ59hの出力とが供給される第1のANDゲート59eと、EX−OR反転ゲート59cと第2のDフリップフロップ59bの出力が供給される第2のANDゲート59fとを有する。
【0065】
また、第1のV相ノイズマスク回路59は、第1と第2のANDゲート59e,59fの出力が供給されるORゲート59gと、このORゲート59gの出力をタイミングクロックと同期化させて比較信号Vin1′を出力する第3のDフリップフロップ59hとを有する。
【0066】
第1のW相ノイズマスク回路60は、比較部5の比較器5cから供給される比較信号Win1をメインクロックの反転信号に同期化させる第1のDフリップフロップ60aと、第1のDフリップフロップ60aの出力をタイミングコントローラ51により生成されるタイミングクロックに同期化させる第2のDフリップフロップ60bとを有する。
【0067】
また、第1のW相ノイズマスク回路60は、第2のDフリップフロップ60bの入出力間のEXORの反転をとるEX−OR反転ゲート60cと、インバータ60dを介したEX−OR反転ゲート60cの出力と後述する第3のDフリップフロップ60hの出力とが供給される第1のANDゲート60eと、EX−OR反転ゲート60cと第2のDフリップフロップ60bの出力が供給される第2のANDゲート60fとを有する。
【0068】
また、第1のW相ノイズマスク回路60は、第1と第2のANDゲート60e,60fの出力が供給されるORゲート60gと、このORゲート60gの出力をタイミングクロックと同期化させて比較信号Win1′を出力する第3のDフリップフロップ60hとを有する。
【0069】
このような構成の第1のノイズマスク回路52は、各第2のDフリップフロップ58b,59b,60bが各比較信号Uin1,Vin1,Win1をタイミングコントローラ51により生成されたタイミングクロックに同期化させる。また、この第1のノイズマスク回路52は、タイミングクロックに同期して2度連続して同一のデータが入力されなければ、第3のDフリップフロップ58h,59h,60hからの出力を更新せず、それ以外は前のデータを保持する。
【0070】
この第1のノイズマスク回路52は、U相,V相,W相の各相の第1のノイズマスク回路58,59,60から出力される比較信号Uin1′,Vin1′,Win1′を第2のノイズマスク回路53に供給する。
【0071】
第2のノイズマスク回路53には、比較信号Uin1′,Vin1′,Win1′とが供給される。また、この第2のノイズマスク回路53には、後述する3フェーズロジック23から出力されるフェーズ出力信号Uuout,Ulout,Vuout,Vlout,Wuout,Wloutがフィードバックされ供給される。
【0072】
この各フェーズ出力信号Uuout,Ulout,Vuout,Vlout,Wuout,Wloutは、ドライバ7に設けられている3相モータ1の各相コイルを駆動する上層及び下層トランジスタを相の切り換えのタイミング制御するための信号である。フェーズ出力信号Uuoutは、U相コイル用の上層トランジスタを相の切り換えのタイミング制御するため信号であり、フェーズ出力信号Uloutは、U相コイル用の下層トランジスタを相の切り換えのタイミング制御するため信号である。また、フェーズ出力信号Vuoutは、V相コイル用の上層トランジスタを相の切り換えのタイミング制御するため信号であり、フェーズ出力信号Vloutは、V相コイル用の下層トランジスタを相の切り換えのタイミング制御するため信号である。また、フェーズ出力信号Wuoutは、W相コイル用の上層トランジスタを相の切り換えのタイミング制御するため信号であり、フェーズ出力信号Wloutは、W相コイル用の下層トランジスタを相の切り換えのタイミング制御するため信号である。なお、この3フェーズロジック23とこの出力である各フェーズ出力信号Uuout,Ulout,Vuout,Vlout,Wuout,Wloutについては詳細を後述する。
【0073】
第2のノイズマスク回路53は、図13に示すように、第1のU相ノイズマスク回路58からの比較信号Uin1′とフェーズ出力信号Uuoutとが供給されるORゲート61aと、フェーズ出力信号Uloutが供給されるインバータ61bと、このORゲート61aとインバータ61bの出力が供給され、逆起電圧信号Uin2を出力するANDゲート61cとからなる第2のU相ノイズマスク回路61を有する。
【0074】
また、第2のノイズマスク回路53は、第1のV相ノイズマスク回路59からの比較信号Vin1′とフェーズ出力信号Vuoutとが供給されるORゲート62aと、フェーズ出力信号Vloutが供給されるインバータ62bと、このORゲート62aとインバータ62bの出力が供給され、逆起電圧信号Vin2を出力するANDゲート62cとからなる第2のV相ノイズマスク回路62を有する。
【0075】
また、第2のノイズマスク回路53は、第1のW相ノイズマスク回路60からの比較信号Win1′とフェーズ出力信号Wuoutとが供給されるORゲート63aと、フェーズ出力信号Wloutが供給されるインバータ63bと、このORゲート63aとインバータ63bの出力が供給され、逆起電圧信号Win2を出力するANDゲート63cとからなる第2のW相ノイズマスク回路63を有する。
【0076】
第2のU相ノイズマスク回路61は、フェーズ出力信号Uuout,Uloutがいずれもローのときに、比較信号Uin1′に応じた信号を出力する。すなわち、フェーズ出力信号Uuout,Uloutがいずれもローのときには、3相モータ1のU相コイル1Uには、ドライブ電流が供給されていないので、逆起電圧が生じている。そのため、逆起電圧を検出すべく比較信号Uin1′に応じた信号を逆起電圧信号Uin2として出力する。
【0077】
また、第2のU相ノイズマスク回路61は、フェーズ出力信号Uuoutがハイのとき(このときは、必ずフェーズ出力信号Uloutはローになる。)には、逆起電圧信号Uin2をハイにして出力する。すなわち、フェーズ出力信号Uuoutがハイのときには、U相コイル1UからV相コイル1V又はW相コイル1Wにドライブ電流が供給されているので、このU相コイル1Uの電圧として逆起電圧信号Uin2をハイにして出力する。
【0078】
また、第2のU相ノイズマスク回路61は、フェーズ出力信号Uloutがハイのときには、逆起電圧信号Uin2をローにして出力する。すなわち、フェーズ出力信号Uloutがハイのときには、V相コイル1V又はW相コイル1WからU相コイル1Uにドライブ電流が供給されているので、このU相コイル1Uの電圧として逆起電圧信号Uin2をローにして出力する。
【0079】
なお、第2のV相ノイズマスク回路62及び第2のW相ノイズマスク回路63についても、上述した第2のU相ノイズマスク回路61と同様の動作を行う。
【0080】
以上のように、この逆起電圧検出ロジック21では、各回路が逆起電圧を検出する際のノイズを除去することができる。
【0081】
タイミングコントローラ51では、CompOut信号が切り換わったのちにメインクロックを7カウントしてタイミングクロックを発生させるので、PWM信号がオン或いはオフになってからすぐの不安定な出力状態では逆起電圧を検出せず、安定した状態で逆起電圧を検出できる。また、7カウントしたのちは、CompOut信号の切り換えがなければ、すなわち、PWM信号の切り換えがなければ、8カウント毎にタイミングクロックを発生させ、逆起電圧を検出する。特に、PWM信号生成部4により発生するPWM信号は、メインクロックの16クロック分のオン領域を0から16クロックまで変動させているので、PWMの1周期で必ず1回は逆起電圧を検出できる。例えば、オン領域とオフ領域がそれぞれ1/2ずつ(8クロック)であっても、逆起電圧を検出することができる。従って、このタイミングコントローラ51では、安定的に逆起電圧を検出させるためのタイミングクロックを生成することができる。
【0082】
第1のノイズマスク回路52では、各EXORの反転ゲート58c,59c,60c等により、2回連続して同じ情報が入ってこなければデータを足り込まず、前のデータを保持している。このことにより、例えば図6(b)〜(d)に示す比較信号Uin1,Vin1,Win1において生じているキックバックノイズを除去することや、PWMの切り換えにおいて生じる切換ノイズを除去することができる。例えば、図6(e)〜(g)に示すような、キックバックノイズを除去した逆起電圧信号Uin2,Vin2,Win2を出力できる。
【0083】
第2のノイズマスク回路53では、3フェーズロジック23で生成する3相モータ1の各相コイルの通電パターンをフィードバックさせて、逆起電力が検出できる相コイルの相電圧のみを検出しているので、すなわち、上層コイルと下層コイルとがオフの部分のみ相の相電圧を検出しているので、さらに、ノイズに対して強くすることができる。
【0084】
なお、タイミングコントローラ51によるメインクロックのカウント数(この場合7カウント又は8カウント)は、PWM信号の生成手法やパルス幅に応じて設定される。このため、この数値に限定されることなく設計に応じた任意の値を設定すればよい。つまり、PWM信号で規定されたデューティ1/2未満のエッジの近傍で、ハイ領域及びローの電圧が検出できるタイミングに設定し、PWM周期の1周期に少なくとも1回逆起電圧が検出できれば良い。このことにより、安定して逆起電圧を検出ができる。
【0085】
また、この第1のノイズマスク回路52では、2度連続して同一のデータが入力されなければデータを更新しない構成としているが、例えば、Dフリップフロップを複数段連ねて、3以上連続して同一のデータが入力されなければデータを更新しない構成としてもよい。このことにより、精度をさらに高めることができる。
【0086】
このような逆起電圧検出ロジック21により生成される逆起電圧信号Uin2,Vin2,Win2は、エッジ検出ロジック22及び3フェーズロジック23に供給される。
【0087】
次に、エッジ検出ロジック22は、図14に示すように、EX−OR回路71と、切替エッジ検出回路72と、タイムディレイ回路73と、ORゲート回路74とから構成されている。
【0088】
EX−OR回路31は、逆起電圧検出ロジック21からの逆起電圧信号Uin2,Vin2,Win2が供給される。このEX−OR回路31は、各逆起電圧信号Uin2,Vin2,Win2の排他的論理和を演算し、図6(h)に示すような3(EXOR)信号を生成し、これを切替エッジ検出回路72に供給する。このEX−OR回路31により生成される3(EXOR)信号は、各逆起電圧信号Uin2,Vin2,Win2のいずれかがオンからオフに切り替わるタイミングでローとなり、また、オフからオンに切り替わるタイミングでハイとなる。
【0089】
具体的に、このEX−OR回路31は、図15に示すように、インバータ71fにより反転されたUin2とインバータ71gにより反転されたVin2とWin2とが供給される第1のANDゲート71aと、インバータ71hにより反転されたUin2とVin2とインバータ71iにより反転されたWin2とが供給される第2のANDゲート71bとを有する。また、このEX−OR回路31は、Uin2とインバータ71jにより反転されたVin2とインバータ71kにより反転されたWin2とが供給される第3のANDゲート71cと、Uin2とVin2とWin2とが供給される第4のANDゲート71dとを有する。
【0090】
また、EX−OR回路31は、第1〜第4のANDゲート71a〜7dの出力が供給され、3(EXOR)信号を出力するORゲート71eを有する。
【0091】
切替エッジ検出回路72は、EX−OR回路71からの3(EXOR)信号が供給され、この3(EXOR)信号の立ち上がりエッジ又は立ち下がりエッジのタイミングを示すSDEXOR信号と、このSDEXORと逆のエッジを検出するIinvert信号を生成する。切替エッジ検出回路72には、3(EXOR)信号とともに、3フェーズロジック23から供給されるエッジマスク信号(EdgeMask)と、このエッジ検出ロジック22の出力となる第1のマスク信号(Mask1)と、システムクロック(SyClock)とが供給される。
【0092】
具体的に、切替エッジ検出回路72は、図16に示すように、EX−OR回路71からの3(EXOR)信号、インバータ72aにより反転した第1のマスク信号(Mask1)が供給される第1のANDゲート72bと、後述する第1のDフリップフロップ72eの出力、第1のマスク信号(Mask1)が供給される第2のANDゲート72cと、この第1と第2のANDゲート72b,72cの出力が供給されるORゲート72dとを有する。
【0093】
また、切替エッジ検出回路72は、ORゲート72dの出力が供給されこのORゲート72dからの出力をシステムクロック(SyClock)と同期化する第1のDフリップフロップ72eと、この第1のDフリップフロップの出力が供給され、この出力をシステムクロックと同期化する第2のDフリップフロップ72fとを有する。このシステムクロック(SyClock)については、詳細を後述する。
【0094】
切替エッジ検出回路72は、エッジマスク信号(EdgeMask)と第1のDフリップフロップ72eの出力とインバータ72kにより反転した第2のDフリップフロップ72fの出力とが供給される第3のANDゲート72gと、インバータ72lにより反転したエッジマスク信号(EdgeMask)とインバータ72mにより反転した第1のDフリップフロップ72eの出力と第2のDフリップフロップ72fの出力とが供給される第4のANDゲート72hと、インバータ72nにより反転したエッジマスク信号(EdgeMask)と第1のDフリップフロップ72eの出力とインバータ72oにより反転した第2のDフリップフロップ72fの出力とが供給される第5のANDゲート72iと、エッジマスク信号(EdgeMask)とインバータ72pにより反転した第1のDフリップフロップ72eの出力と第2のDフリップフロップ72fの出力とが供給される第6のANDゲート72jとを有する。
【0095】
また、切替エッジ検出回路72は、第3と第4のANDゲート72g,72hの出力が供給され、SDExorを出力する第2のORゲート72qと、第5と第6のANDゲート72i,72jの出力が供給され、Iinvertを出力する第3のORゲート72rとを有する。
【0096】
このような切替エッジ検出回路72の出力であるSDExor及びIinvertは、タイムディレイ回路73に供給される。
【0097】
タイムディレイ回路73は、切替エッジ検出回路72から供給されたSDExor及びIinvertを所定時間遅らせる。また、タイムディレイ回路73は、Iinvertに基づき詳細を後述するスロープ信号(Slope)と、スタートフラグ(Startflug)を生成する。
【0098】
具体的には、タイムディレイ回路73は、図17に示すように、切替エッジ検出回路72からのSDExorが供給される第1と第2のDフリップフロップ73a,73bを有する。第2のDフリップフロップ73bからシステムクロックで2カウント分遅延したSDEXORが出力される。
【0099】
また、タイムディレイ回路73は、切替エッジ検出回路72からのIinvertが供給される第3のDフリップフロップ73cを有する。この第3のDフリップフロップ73cからシステムクロックで1カウント分遅延したIinvertが出力される。
【0100】
また、タイムディレイ回路73は、第3のDフリップフロップ73cの出力が供給され、この出力を1システムクロック分遅延させる第4のDフリップフロップ73dと、この第4のDフリップフロップ73dの出力がインバータ73eにより反転されてリセットに供給される第5〜第7のDフリップフロップ73f〜73hとを有する。
【0101】
第5〜第7のDフリップフロップ73f,73g,73hは、リセットが解除されるとシステムクロックを3カウントしてスタートフラグ(Startflug)を発生する。また、第6のDフリップフロップ73gの出力は、インバータ73iを介してスロープ信号(Slope)として出力される。
【0102】
ORゲート回路74には、タイムディレイ回路73からのSDEXOR,Iinvert,スロープ信号(Slope)と、切替エッジ検出回路72から出力されるスロープ信号(Slope)とが供給され、これらの信号の論理和を演算し、第1のマスク信号(Mask1)を生成する。なお、この第1のマスク信号(Mask1)は、切替エッジ検出回路72にフィードバックされる。
【0103】
このような構成を有するエッジ検出ロジック22は、第1のマスク信号(Mask1)と、スロープ信号(Slope)と、スタートフラグ(Startflug)と、ラッチ(Latch)信号とを生成する。なお、ここで、ラッチ(Latch)信号とIinvertとは同一の信号である。
【0104】
エッジ検出ロジック22は、システムクロック(SYClock)と、逆起電圧信号Uin2,Vin2,Win2と、エッジマスク(EdgeMask)信号が図18(a)〜(e)に示すようなタイミングで供給されると、スロープ信号(Slope)が、同図(f)に示すように、逆起電圧信号の切り替わりのタイミングを挟んで一定期間ローとなって出力される。また、エッジ検出ロジック22は、逆起電圧信号Uin2,Vin2,Win2の切り替わりのタイミングでハイとなり、スロープ信号(Slope)がローとなるタイミングと同時にローとなる第1のマスク信号(Mask1)を生成する。
【0105】
エッジ検出ロジック22から、第1のマスク信号(Mask1)とラッチ(Latch)信号が3フェーズロジック23に供給され、スタートフラグ(Startflug)とラッチ(Latch)信号がスタートロジック25に供給され、スロープ信号(Slope)がアングル生成ロジック26に供給され、ラッチ(Latch)信号がPLLロジック27に供給される。
【0106】
次に、スタートロジック25は、図19に示すようにラッチ(Latch)信号でリセットされシステムクロック(SYClock)をカウントする第1〜第5のTフリップフロップ25a〜25eと、第1,第2のTフリップフロップ25a,25bからの各出力の論理積をとって第3のTフリップフロップ25cに供給する第1のANDゲート25fと、第1〜第3のTフリップフロップ25a〜25cからの各出力の論理積をとって第4のTフリップフロップ25dに供給する第2のANDゲート25gとを有している。また、第1〜第4のTフリップフロップ25a〜25dからの各出力の論理積をとって第5のTフリップフロップ25eに供給する第3のANDゲート25hと、第1〜第5のTフリップフロップ25a〜25eからの各出力の論理積をとって出力する第4のANDゲート25iと、第4のANDゲート25iからの出力をシステムクロック(SYClock)に基づいて同期化し、これを通電パターンを切り換えるためのStep信号として出力するDフリップフロップ25jとを有している。
【0107】
3相モータ1が回転している場合、スタートフラグ(Startflug)は周期的にスタートロジック25に供給されるはずである。しかし、例えば誤った相コイルに通電した場合や回転が停止している状態ではスタートフラグ(Startflug)はスタートロジック25に供給されなくなる。このような状態では、同じ相コイルに連続して通電を行うこととなるため、いつまでも起動されないうえ、この通電される相コイルが損傷する等の不都合を生ずる。このため、スタートロジック25は、ハイレベルのスタートフラグが供給されるタイミング、すなわち、逆起電圧をサンプリングし通電を切り換えた直後から始動し、各Tフリップフロップ25a〜25eによりシステムクロック(SYClock)を例えば32カウントする。そして、システムクロック(SYClock)を32カウントするまでにラッチ(Latch)信号が供給されない場合は、3相モータ1が停止しているものとみなし、次の通電パターンとするためのstep信号を出力する。このstep信号は、3フェーズロジック22に供給される。
【0108】
また、このスタートロジック25は、逆起電圧のゼロクロスポイントが検出されラッチ(Latch)信号によって各Tフリップフロップ25a〜25eがリセットされることにより動作が停止する。
【0109】
なお、システムクロック(SYClock)のカウント数(この場合32カウント)は、3相モータ1のトルク定数や負荷となるイナーシャに応じて設定される。このため、この数値に限定されることなく設計に応じた任意の値を設定すればよい。
【0110】
次に、アングル生成ロジック26は、図20に示すように、カレントミラー回路からなる定電流源82と、この定電流源82に接続されたコンデンサ83と、このコンデンサ83に並列に接続されスイッチとして働くトランジスタ84とからなるスロープ回路81を有する。
【0111】
このスロープ回路81のトランジスタ84は、エッジ検出ロジック22からのスロープ信号(Slope)によりスイッチングがされる。スロープ信号(Slope)がハイのときは、コンデンサ83が放電される。また、スロープ信号(Slope)がローのときは、コンデンサ83が充電される。定電流源82に流れる電流i1は、トランジスタ84に流れる電流i2と比較して十分小さい電流に設定する。このことにより、充電時には瞬間的にコンデンサ83に電荷がチャージされ、放電時にはコンデンサ83から徐々に電圧が出力される。すなわち、このスロープ回路81から瞬間的に立ち上がり、なだらかに立ち下がっていく台形波が出力される。なお、定電流源82に流れる電流を可変することにより、出力される台形波の立ち下がりの傾きを調整できる。
【0112】
アングル生成ロジック26は、スロープ回路81から出力される台形波とPWM信号生成部4により用いられるPWM用鋸波が供給され、アングル信号(ANGLE)を生成するコンパレータ85を有する。このコンパレータ85は、PWM用の鋸波がスロープ回路81から出力される台形波より大きいときに、ハイとなるアングル信号(ANGLE)信号を生成する。なお、台形波の立ち下がり時間をPWM用鋸波の周期に比較して十分大きいものとすることで、徐々にデューティが大きくなるアングル信号(ANGLE)信号を生成できる。
【0113】
図21は、PWM用の鋸波とアングル信号(ANGLE)信号等を示したタイムチャート及び波形図である。
【0114】
図21(a)は、コンパレータ85に入力されるPWM用鋸波と、スロープ回路81の出力である台形波の立ち下がり部分の波形図である。コンパレータ85により生成されるアングル信号(ANGLE)は、図21(b)に示すように、台形波が下がるにつれてデューティが大きくなっている。
【0115】
なお、アングル生成ロジック26は、信号処理部6の他のブロックとは異なりアナログ回路で構成されている。そのため、例えば、半導体等でこの信号処理部6を実施するときは、このブロックを別途他の半導体等で構成しても良い。
【0116】
このアングル生成ロジック26により生成されたアングル信号(ANGLE)は、アウトプットロジック24に供給される。
【0117】
次に、PLLロジック27は、図22に示すような構成を有しており、位相比較器86において、エッジ検出ロジック22から供給されるラッチ(Latch)信号の位相と、電圧可変型発振器(VCO)88から出力されるPLLOUT信号を、1/Nカウンタ58で例えば8分周或いは16分周した分周信号(Fin)の位相とを比較する。そして、この位相比較出力をローパスフィルタ87を介してVCO88に供給してこのVCO88を発振駆動する。これにより、ラッチ(Latch)信号に同期したPLLOUT信号を生成して発振ロジック28に供給する。
【0118】
なお、エッジ検出ロジック22から供給されるラッチ(Latch)信号は、信号の安定化を図るために、システムクロックと同期させたのちにこのPLLロジック27に供給するようにしてもよい。また、このPLLロジック27は、アングル生成ロジック26と同様に、アナログ回路で構成されている。そのため、例えば、半導体等でこの信号処理部6を実施するときは、このブロックを別途他の半導体等で構成しても良い。
【0119】
次に、発振ロジック28は、両波整流部2からのリバース信号(Reverse),中央演算ユニット(CPU)等で生成されたモータのオンオフ制御するためのモータオンオフ制御信号(MON/OFF),PLL回路25からのPLLOUT信号,例えば500KHzのメインクロック(Main Clock)及びPWM信号生成部4からのPWM信号(PWM in)に基づいて、各種タイミング信号を生成する。
【0120】
発振ロジック28は、PLLOUT信号をメインクロックと同期させたシステムクロック(SyClock)を生成する。このシステムクロックは、エッジ検出ロジック22、3フェーズロジック23、スタートロジック25等に供給される。
【0121】
また、発振ロジック28は、モータオンオフ制御信号(MON/OFF)をシステムクロック(SyClock)に同期させた信号を生成して、アウトプットロジック24に供給する。
【0122】
また、発振ロジック28は、リバース信号(Reverse)をシステムクロック(SyClock)に同期させたシステムリバース信号(Reverse)を生成して、アウトプットロジック24に供給する。
【0123】
次に、3フェーズロジック23について説明する。
【0124】
この3フェーズロジック23は、図23に示すように、逆起電圧検出ロジック21からの逆起電圧信号Uin2,Vin2,Win2と、3フェーズロジック23からの第1のマスク信号(Mask1)と、システムクロック(SyClock)が供給され、逆起電圧信号Uin2′,Vin2′,Win2′を生成するマスク回路31を有する。
【0125】
また、3フェーズロジック23は、マスク回路31からの逆起電圧信号Uin2′,Vin2′,Win2′と、システムクロック(SyClock)と、後述するデコード回路33からの第2のマスク信号(Mask2)が供給され、逆起電圧信号Ures,Vres,Wresを生成するフェーズ生成回路32を有する。
【0126】
また、3フェーズロジック23は、フェーズ生成回路32からの逆起電圧信号Ures,Vres,Wresが供給され、フェーズ出力信号Uuout,Ulout,Vuout,Vlout,Wuout,Wloutと、第2のマスク信号(Mask2)と、第3のマスク信号(Mask3)を生成するデコード回路33を有する。
【0127】
また、3フェーズロジック23は、フェーズ生成回路32からの逆起電圧信号Ures,Vres,Wresが供給され、エッジ検出ロジック22の切替エッジ検出回路72に供給するエッジマスク信号(EdgeMask)信号を生成するエッジマスク生成回路34を有する。
【0128】
マスク回路31には、図18(g)で示したような、逆起電圧信号Uin2,Vin2,Win2が切り替わったタイミングつまり切替エッジでハイになり、次のエッジがくるであろうタイミングの手前でローとなる第1のマスク信号(Mask1)が供給される。マスク回路31は、この第1のマスク信号(Mask1)がハイのときには、逆起電圧信号Uin2,Vin2,Win2の取り込みを行わず、マスクする回路である。そのため、このマスク回路31では、例えば、逆起電圧検出ロジック21の出力がハンチングした場合などであっても3相モータ1の駆動に影響が無いようにしている。
【0129】
具体的に、マスク回路31は、図24に示すように、逆起電圧信号Uin2とインバータ35cにより反転された第1のマスク信号(Mask1)が供給される第1のANDゲート35aと、後述するDフリップフロップ35eの出力と第1のマスク信号(Mask1)が供給される第2のANDゲート35bと、この第1と第2のANDゲート35a,35bの出力が供給されるORゲート35dと、このORゲート35dの出力をシステムクロック(SyClock)に同期化させるDフリップフロップ35eとからなるU相マスク回路35を有する。
【0130】
このU相マスク回路35は、Dフリップフロップ35eから第1のマスク信号(Mask1)によりマスクされた逆起電圧信号Uin2′を出力する。
【0131】
また、マスク回路31は、逆起電圧信号Vin2とインバータ36cにより反転された第1のマスク信号(Mask1)が供給される第1のANDゲート36aと、後述するDフリップフロップ36eの出力と第1のマスク信号(Mask1)が供給される第2のANDゲート36bと、この第1と第2のANDゲート36a,36bの出力が供給されるORゲート36dと、このORゲート36dの出力をシステムクロック(SyClock)に同期化させるDフリップフロップ36eとからなるV相マスク回路36を有する。
【0132】
このV相マスク回路36は、Dフリップフロップ36eから第1のマスク信号(Mask1)によりマスクされた逆起電圧信号Vin2′を出力する。
【0133】
また、マスク回路31は、逆起電圧信号Win2とインバータ37cにより反転された第1のマスク信号(Mask1)が供給される第1のANDゲート37aと、後述するDフリップフロップ37eの出力と第1のマスク信号(Mask1)が供給される第2のANDゲート37bと、この第1と第2のANDゲート37a,37bの出力が供給されるORゲート37dと、このORゲート37dの出力をシステムクロック(SyClock)に同期化させるDフリップフロップ37eとからなるW相マスク回路37を有する。
【0134】
このW相マスク回路37は、Dフリップフロップ37eから第1のマスク信号(Mask1)によりマスクされた逆起電圧信号Win2′を出力する。
【0135】
このように、マスク回路31は、第1のマスク信号(Mask1)に基づいて逆起電圧信号Uin2′,Vin2′,Win2′を生成し、フェーズ生成回路32に供給する。
【0136】
フェーズ生成回路32は、Step信号に基づいて各逆起電圧信号Uin2′,Vin2′,Win2′をサンプリングし、この各サンプル出力である逆起電圧信号Ures,Vres,Wresを生成し、これらをデコーダ部29に供給する。なお、この際に、後述するデコード回路33からの第2のマスク信号(Mask2-U,Mask2-V,Mask2-W)フィードバックされて供給される。この第2のマスク信号(Mask2-U,Mask2-V,Mask2-W)は、3相モータ1の通電パターンに基づいて、次に生成する逆起電圧信号Ures,Vres,Wresがどのパターンになるのか予想した信号である。すなわち、この第2のマスク信号(Mask2-U,Mask2-V,Mask2-W)により、予想されたパターン以外の信号が生成されないようにしている。
【0137】
具体的に、フェーズ生成回路32は、図25に示すように、マスク回路31からの逆起電圧信号Uin2′,Vin2′,Win2′のうち、逆起電圧信号Uin2′をサンプリングするUサンプリング回路38と、Uサンプリング回路38でサンプリングされた逆起電圧Uin2′を保持するU用Dフリップフロップ32eと、3相モータ1のロータが回転しなかった場合にスタートロジック25からのStep信号によりU用Dフリップフロップ32eの通電パターンを次の通電パターンとする(ステップ送り)U用レジスタ制御回路39とを有している。
【0138】
また、フェーズ生成回路32は、逆起電圧Vin2′をサンプリングするVサンプリング回路40と、このVサンプリング回路40でサンプリングされた逆起電圧Vを保持するV用Dフリップフロップ32fと、3相モータ1のロータが回転しなかった場合にStep信号によりV用Dフリップフロップ32fの通電パターンを次の通電パターンとする(ステップ送り)V用レジスタ制御回路41とを有している。
【0139】
また、フェーズ生成回路32は、逆起電圧Win2′をサンプリングするWサンプリング回路42と、このWサンプリング回路42でサンプリングされた逆起電圧Wを保持するW用Dフリップフロップ32gと、3相モータ1のロータが回転しなかった場合にStep信号によりW用Dフリップフロップ32gの通電パターンを次の通電パターンとする(ステップ送り)W用レジスタ制御回路43とを有している。
【0140】
Uサンプリング回路38は、逆起電圧Uin2′,第2のU相マスク信号(Mask2−U),インバータ38bを介したStep信号の反転出力が供給されるANDゲート38aと、インバータ38cにより反転した第2のU相マスク信号(Mask2−U),インバータ38eを介したStep信号の反転出力,U用Dフリップフロップ32eからの出力が供給されるANDゲート38dとで構成されている。
【0141】
U用レジスタ制御回路39は、インバータ39cにより反転したV用Dフリップフロップ32fからの出力,ステップ信号が供給されるANDゲート39aと、ステップ信号,インバータ39dにより反転したU用Dフリップフロップ32eの出力が供給されるANDゲート39bとで構成されている。
【0142】
Vサンプリング回路40は、逆起電圧Vin2′,第2のV相マスク信号(Mask2−V),インバータ40bにより反転したStep信号の出力が供給されるANDゲート40aと、インバータ40cにより反転した第2のV相マスク信号(Mask2−V),インバータ40eを介したStep信号の反転出力,V用Dフリップフロップ32fからの出力が供給されるANDゲート40dとで構成されている。
【0143】
V用レジスタ制御回路41は、インバータ41cにより反転したW用Dフリップフロップ32gからの出力,ステップ信号が供給されるANDゲート41aと、ステップ信号,インバータ41dにより反転したV用Dフリップフロップ32fの出力が供給されるANDゲート41bとで構成されている。
【0144】
Wサンプリング回路42は、逆起電圧Win2′,第2のW相マスク信号(Mask2−W),インバータ42bを介したStep信号の反転出力が供給されるANDゲート42aと、インバータ42cにより反転した第2のW相マスク信号(Mask2−W),インバータ42eを介したStep信号の反転出力,W用Dフリップフロップ32gからの出力が供給されるANDゲート42dとで構成されている。
【0145】
W用レジスタ制御回路43は、インバータ43cにより反転したU用Dフリップフロップ32eからの反転出力,ステップ信号が供給されるANDゲート43aと、ステップ信号,インバータ43dにより反転したW用Dフリップフロップ32gの反転出力が供給されるANDゲート43bとで構成されている。
【0146】
また、フェーズ生成回路32は、インバータ32hにより反転したU相Dフリップフロップ32eからの出力,インバータ32iにより反転したV相Dフリップフロップ32fからの出力,インバータ32jにより反転したW相Dフリップフロップ32gからの出力が供給される第1のANDゲート32kと、U相Dフリップフロップ32eの出力,V相Dフリップフロップ32fの出力,W相Dフリップフロップ32gの出力が供給される第2のANDゲート32lとを有する。
【0147】
そして、フェーズ生成回路32は、Uサンプリング回路38のANDゲート38a,38d及びU用レジスタ制御回路39のANDゲート39a,39bの各出力の論理和をとってU用Dフリップフロップ32eに供給する第1のORゲート32aと、Vサンプリング回路40のANDゲート40a,40d及びV用レジスタ制御回路41のANDゲート41a,41bの各出力の論理和をとってV用Dフリップフロップ32fに供給する第2のORゲート32bと、Wサンプリング回路42のANDゲート42a,42dと、W用レジスタ制御回路43のANDゲート43a,43b及び第2のANDゲート32lの各出力の論理和をとって第3のORゲート32cと、この第3のORゲート32cと第2のANDゲート32kの出力の論理積をとってW用Dフリップフロップ32gに供給する第3のANDゲート32dとを有している。
【0148】
このような構成を有するフェーズ生成回路32は、各サンプリング回路42により、各逆起電圧信号Uin2′,Vin2′,Win2′を各第2のマスク信号(Mask2-U,Mask2-V,Mask2-W)が供給されるタイミングと一致したタイミングでサンプリングし、これらを各ORゲート32a〜32cを介して各Dフリップフロップ32e〜32gに供給する。これにより、変化があらわれる相コイルの逆起電圧のみをサンプリングすることができ、これ以外の相コイルの逆起電圧は、各Dフリップフロップ32e〜32gにより保持される。従って、各Dフリップフロップ32e〜32gからは、Step信号が供給されない限り、それぞれ保持されて、逆起電圧信号Uin2′,Vin2′,Win2′のサンプル出力である逆起電圧信号Ures,Vres,Wres がそのまま出力されることとなる。
【0149】
また、誤った相コイルに通電した場合や回転が停止している状態では、上述のようにスタートロジック25にスタートフラグ(Startflug)が供給されないため、スタートロジック25の各フリップフロップ25a〜25eによりシステムクロック(SyClock)が32カウントされ、次の通電パターンとするためのStep信号が出力される。
【0150】
フェーズ生成回路32は、このStep信号が供給されると、各レジスタ制御回路39,41,43がそれぞれ動作状態となり、インバータ39cを介したW用Dフリップフロップ32gからの反転出力がU用レジスタ制御回路39からU用Dフリップフロップ32eに供給され、インバータ41cを介したU用Dフリップフロップ32eからの反転出力がV用レジスタ制御回路41からV用Dフリップフロップ32fに供給され、インバータ43cを介したV用Dフリップフロップ32fからの反転出力がW用レジスタ制御回路43からW用Dフリップフロップ32gに供給される。
【0151】
これにより、各Dフリップフロップ32e〜32gからの出力を次の通電パターンの出力とすることができる(ステップ送り)。このようなステップ送りは、3相モータ1が起動され、Step 信号が供給されなくなるまで続けられる。そして、起動時に確実に回転を開始させることができ、起動特性を改善することができる。
【0152】
このようにフェーズ生成回路32で生成された各逆起電圧信号Ures,Vres,Wresは、それぞれデコード回路33及びエッジマスク生成回路34に供給される。
【0153】
デコード回路33は、フェーズ生成回路32から供給される逆起電圧信号Ures,Vres,Wresと、アングル生成ロジック26から供給されるスロープ信号(Slope)と、エッジ検出ロジック22から供給されるラッチ(Latch)信号に基づいて、3相モータ1をドライブするドライバ7の上層トランジスタ及び下層トランジスタをオンオフ制御するための第1〜第6のフェーズ出力信号を生成する。
【0154】
また、デコード回路33は、上述した第2のマスク信号(Mask2)と第3のマスク信号(Mask3)を生成する。
【0155】
具体的、にデコード回路33は、図26に示すような構成を有しており、図1に示すドライバ7に設けられているU相コイル用のトランジスタをオンオフ制御するための第1のフェーズ出力信号Uuout及び第2のフェーズ出力信号Uloutを生成するU相フェーズ出力回路44と、V相コイル用のトランジスタをオンオフ制御するための第3のフェーズ出力信号Vuout及び第4のフェーズ出力信号Vloutを生成するV相フェーズ出力回路45と、W相コイル用のトランジスタをオンオフ制御するための第5のフェーズ出力信号Wuout及び第6のフェーズ出力信号Wloutを生成するU相フェーズ出力回路46とを有している。
【0156】
U相フェーズ出力回路44は、逆起電圧信号Ures,第2のインバータ33bを介して反転された逆起電圧信号Vresが供給され第1のフェーズ出力信号Uuoutを出力する第1のANDゲート44aと、第1のインバータ33aを介して反転された逆起電圧信号Ures,逆起電圧信号Vresが供給され第2のフェーズ出力信号Uloutを出力するANDゲート44bとから構成されている。
【0157】
V相フェーズ出力回路45は、逆起電圧信号Vres,第3のインバータ33cを介して反転された逆起電圧信号Wresが供給され第3のフェーズ出力信号Vuoutを出力する第1のANDゲート45aと、第2のインバータ33bを介して反転された逆起電圧信号Vres,逆起電圧信号Wresが供給され第4のフェーズ出力信号Vloutを出力するANDゲート45bとから構成されている。
【0158】
W相フェーズ出力回路46は、逆起電圧信号Wres,第1のインバータ33aを介して反転された逆起電圧信号Uresが供給され第5のフェーズ出力信号Wuout第1のANDゲート46aと、第3のインバータ33cを介して反転された逆起電圧信号Wres,逆起電圧信号Uresが供給され第6のフェーズ出力信号Wloutを出力するANDゲート46bとから構成されている。
【0159】
また、デコード回路33は、各相コイル1U,1V,1Wの逆起電圧の変化があらわれるタイミングで所定期間ハイレベルとなるU相用,V相用,W相用の第2のマスク信号(Mask2-U,Mask2-V,Mask2-W)と第3のマスク信号(Mask3-U,Mask3-V,Mask3-W)を生成するためのU相マスク生成回路47と、V相マスク生成回路48と、W相マスク生成回路49とを有する。
【0160】
U相マスク生成回路47は、逆起電圧信号Ures ,逆起電圧信号Vres及び第3のインバータ33cにより反転された逆起電圧信号Wresが供給される第1のANDゲート47aと、第1のインバータ33aにより反転された逆起電圧信号Ures,第2のインバータ33bにより反転された逆起電圧信号Vres及び逆起電圧信号Wresが供給される第2のANDゲート47bと、この第1と第2のANDゲート47a,47bの各出力の論理和を出力するORゲート47cとで構成されている。
【0161】
そして、第1のANDゲート33dは、U相マスク生成回路47の出力,ラッチ(Latch)信号との論理積を第2のU相マスク信号(Mask2−U)として出力する。また、第2のANDゲート33gは、U相マスク生成回路47の出力と,スロープ信号(Slope)との論理積を第3のU相マスク信号(Mask3−U)として出力する。
【0162】
V相マスク生成回路48は、逆起電圧信号Ures ,第2のインバータ33bにより反転された逆起電圧信号Vres及び第3のインバータ33cにより反転された逆起電圧信号Wresが供給される第1のANDゲート48aと、第1のインバータ33aにより反転された逆起電圧信号Ures,逆起電圧信号Vres及び逆起電圧信号Wresが供給される第2のANDゲート48bと、この第1と第2のANDゲート48a,48bの各出力の論理和を出力するORゲート48cとで構成されている。
【0163】
そして、第3のANDゲート33eは、U相マスク生成回路48の出力,ラッチ(Latch)信号との論理積を第2のV相マスク信号(Mask2−V)として出力する。また、第4のANDゲート33hは、V相マスク生成回路48の出力と,スロープ信号(Slope)との論理積を第3のV相マスク信号(Mask3−V)として出力する。
【0164】
W相マスク生成回路49は、第1のインバータにより反転された逆起電圧信号Ures ,逆起電圧信号Vres及び第3のインバータ33cにより反転された逆起電圧信号Wresが供給される第1のANDゲート49aと、逆起電圧信号Ures,第2のインバータ33bにより反転された逆起電圧信号Vres及び逆起電圧信号Wresが供給される第2のANDゲート49bと、この第1と第2のANDゲート49a,49bの各出力の論理和を出力するORゲート49cとで構成されている。
【0165】
そして、第4のANDゲート33fは、W相マスク生成回路48の出力,ラッチ(Latch)信号との論理積を第2のW相マスク信号(Mask2−W)として出力する。また、第6のANDゲート33iは、W相マスク生成回路48の出力と,スロープ信号(Slope)との論理積を第3のW相マスク信号(Mask3−W)として出力する。
【0166】
このような構成を有するデコード回路33は、各逆起電圧信号Ures ,Vres ,Wres で構成される上述の第1〜第6の通電パターンに基づいて各相の上層トランジスタ及び下層トランジスタをオンオフ制御する第1〜第6のコントロール信号Uu〜Wlを生成する。
【0167】
すなわち、デコード回路33に供給される各逆起電圧信号Ures ,Vres ,Wresが図6(i)〜(k)に示す第1の通電パターン(H,L,H)及び第2の通電パターン(H,L,L)であるときは、デコード回路33からこの間ハイレベルとなる同図(o)に示すような第1のフェーズ出力信号Uuoutが出力される。同じく、デコード回路33に供給される各逆起電圧信号Ures ,Vres ,Wresが図6(i)〜(k)に示す第4の通電パターン(L,H,L)及び第5の通電パターン(L,H,H)であるときは、デコード回路33からこの間ハイレベルとなる同図(p)に示すような第2のフェーズ出力信号Uloutが出力される。
【0168】
また、デコード回路33に供給される各逆起電圧信号Ures ,Vres ,Wresが図6(i)〜(k)に示す第3の通電パターン(H,H,L)及び第4の通電パターン(L,H,L)であるときは、デコード回路33からこの間ハイレベルとなる同図(q)に示すような第3のフェーズ出力信号Vuoutが出力される。同じく、デコード回路33に供給される各逆起電圧信号Ures ,Vres ,Wresが図6(i)〜(k)に示す第1の通電パターン(H,L,H)及び第6の通電パターン(L,L,H)であるときは、デコード回路33からこの間ハイレベルとなる同図(r)に示すような第4のフェーズ出力信号Vloutが出力される。
【0169】
また、デコード回路33に供給される各逆起電圧信号Ures ,Vres ,Wresが図6(i)〜(k)に示す第5の通電パターン(L,H,H)及び第6の通電パターン(L,L,H)であるときは、デコード回路33からこの間ハイレベルとなる同図(s)に示すような第5のフェーズ出力信号Wuoutが出力される。同じく、デコード回路33に供給される各逆起電圧信号Ures ,Vres ,Wresが図6(i)〜(k)に示す第2の通電パターン(H,L,L)及び第3の通電パターン(H,H,L)であるときは、デコード回路33からこの間ハイレベルとなる同図(t)に示すような第6のフェーズ出力信号Wloutが出力される。
【0170】
このようにして生成された各フェーズ出力信号Uuout〜Wloutは、それぞれアウトプットコントローラ30に供給される。
【0171】
また、デコード回路33は、それぞれ各通電パターンに基づいて、次に逆起電圧信号Ures ,Vres ,Wres のどのエッジがくるのかを予測し、図6(l)〜(n)に示すように、各第2のマスク信号(Mask2-U,Mask2-V,Mask2-W)としてフェーズ生成回路32に供給する。
【0172】
エッジマスク生成回路34は、フェーズ生成回路32からの逆起電圧信号Ures,Vres,Wresが供給され、エッジ検出ロジック22に供給するエッジマスク信号(EdgeMask)を生成する。
【0173】
具体的には、エッジマスク生成回路34は、図27に示すように、第1のインバータ34aにより反転された逆起電圧信号Ures,第2のインバータ34bにより反転された逆起電圧信号Vres及び逆起電圧信号Wresが供給される第1のANDゲート34dと、第1のインバータ34aにより反転された逆起電圧信号Ures,逆起電圧信号Vres及び第3のインバータ34cにより反転された逆起電圧信号Wresが供給される第2のANDゲート34eと、逆起電圧信号Ures,第2のインバータ34bにより反転された逆起電圧信号Vres及び第3のインバータ34cにより反転された逆起電圧信号Wresが供給される第3のANDゲート34fと、逆起電圧信号Ures,逆起電圧信号Vres及び逆起電圧信号Wresが供給される第4のANDゲート34gと、これら第1〜第4のANDゲート34d〜34gの出力の論理和を出力するORゲート34hとを有している。
【0174】
この様な構成を有することにより、エッジマスク生成回路34は、図6(u)に示すような各逆起電圧信号Ures,Vres,Wresのエッジ部分を表す信号を生成し、エッジ検出ロジック22に供給する。
【0175】
次に、アウトプットロジック24は、図28に示すように、3フェーズロジック23からのフェーズ出力信号Uuout,Ulout,Vuout,Vlout,Wuout,Wloutによる上層及び下層トランジスタのコントロールを切り換える反転回路91と、反転回路91を介して供給されるフェーズ出力信号にPWM信号生成部4からのパルス幅変調信号(PWM Carrier)を合成してコントロール信号Uu,Ul,Vu,Vl,Wu,Wlを生成するPWM合成回路92とを有している。
【0176】
3相モータ1の回転数が規定以上に速くなり、例えばサーボ制御系等から供給される回転サーボ信号が、回転数を落とすためにマイナス入力となると、両波整流部2から、リバース信号(Reverse)が出力される。このリバース信号は、回転数を落とすブレーキモードとなった場合に、後述するドライバ7の上層,下層トランジスタの駆動の駆動論理を反転させ、逆方向通電を行い3相モータ1にブレーキをかけるための信号である。このリバース信号(Reverse)は、発振ロジック28を介してこのアウトプットロジック24に供給される。
【0177】
反転回路91には、このリバース信号(Reverse)と、フェーズ出力信号Uuout,Ulout,Vuout,Vlout,Wuout,Wloutとが供給される。この反転回路91は、リバース信号(Reverse)がハイときには、上層トランジスタと下層トランジスタのコントロール信号の駆動論理を入れ換えてPWM合成回路92に出力する。また、リバース信号(Reverse)がローのときは上層トランジスタと下層トランジスタのコントロール信号はそのままでPWM合成回路92に出力する。
【0178】
具体的には、反転回路91は、図29に示すように、インバータ93cにより反転されたリバース信号(Reverse),フェーズ出力信号Uuoutが供給される第1のANDゲート93aと、リバース信号(Reverse),フェーズ出力信号Uloutが供給される第2のANDゲート93bと、この第1と第2のANDゲート93a,93bの論理和をフェーズ出力信号Uuout′として出力するORゲート93dとを有している。
【0179】
また、反転回路91は、リバース信号(Reverse),フェーズ出力信号Uuoutが供給される第1のANDゲート94aと、インバータ94cにより反転されたリバース信号(Reverse),フェーズ出力信号Uloutが供給される第2のANDゲート94bと、この第1と第2のANDゲート94a,94bの論理和をフェーズ出力信号Ulout′として出力するORゲート94dとを有している。
【0180】
反転回路91は、インバータ95cにより反転されたリバース信号(Reverse),フェーズ出力信号Vuoutが供給される第1のANDゲート95aと、リバース信号(Reverse),フェーズ出力信号Vloutが供給される第2のANDゲート95bと、この第1と第2のANDゲート95a,95bの論理和をフェーズ出力信号Vuout′として出力するORゲート95dとを有している。
【0181】
また、反転回路91は、リバース信号(Reverse),フェーズ出力信号Vuoutが供給される第1のANDゲート96aと、インバータ96cにより反転されたリバース信号(Reverse),フェーズ出力信号Vloutが供給される第2のANDゲート96bと、この第1と第2のANDゲート96a,96bの論理和をフェーズ出力信号Vlout′として出力するORゲート96dとを有している。
【0182】
反転回路91は、インバータ97cにより反転されたリバース信号(Reverse),フェーズ出力信号Wuoutが供給される第1のANDゲート97aと、リバース信号(Reverse),フェーズ出力信号Wloutが供給される第2のANDゲート97bと、この第1と第2のANDゲート97a,97bの論理和をフェーズ出力信号Wuout′として出力するORゲート97dとを有している。
【0183】
また、反転回路91は、リバース信号(Reverse),フェーズ出力信号Wuoutが供給される第1のANDゲート98aと、インバータ98cにより反転されたリバース信号(Reverse),フェーズ出力信号Wloutが供給される第2のANDゲート98bと、この第1と第2のANDゲート98a,98bの論理和をフェーズ出力信号Wlout′として出力するORゲート98dとを有している。
【0184】
このような構成を有する反転回路91は、フェーズ出力信号Uuout′,Ulout′,Vuout′,Vlout′,Wuout′,Wlout′をPWM合成回路92に供給する。
【0185】
PWM合成回路92は、反転回路91から供給されるフェーズ出力信号Uuout′,Ulout′,Vuout′,Vlout′,Wuout′,Wlout′にパルス幅変調信号(PWM Carrier)を合成する。また、PWM合成回路92は、反転回路91から供給されるフェーズ出力信号Uuout′,Ulout′,Vuout′,Vlout′,Wuout′,Wlout′にアングル信号(ANGLE)を合成する。
【0186】
すなわち、PWM合成回路92は、3相モータ1をドライブするドライバ7を構成する上層及び下層トランジスタの相切り換えのタイミングを示しているフェーズ出力信号に、ドライブのパワー及び切り換えスピードをコントロールするPWM信号を合成している。また、PWM合成回路92は、アングル信号(ANGLE)信号を合成することにより、3相モータ1の各相の切り換えタイミングでなめらかに切り換えを行うため、相切り換え時におけるパルス幅変調信号(PWM Carrier)を変化させている。
【0187】
具体的に、PWM合成回路92は、図30に示すように、3フェーズロジック23から出力される第3のW相マスク信号(Mask3−W),インバータ101により反転されたアングル信号(ANGLE)が供給されるANDゲート102と、第3のU相マスク信号(Mask3−U),インバータ101により反転されたアングル信号(ANGLE)が供給されるANDゲート103と、第3のV相マスク信号(Mask3−V),インバータ101により反転されたアングル信号(ANGLE)が供給されるANDゲート104とを有している。
【0188】
また、PWM合成回路92は、フェーズ出力信号Uuout′,インバータ105cにより反転されたANDゲート102の出力が供給される第1のANDゲート105aと、フェーズ出力信号Vuout′,ANDゲート103の出力が供給される第2のANDゲート105bと、この第1と第2のANDゲート105a,105bの論理和を出力する第1のORゲート105dとを有している。PWM合成回路92は、フェーズ出力信号Ulout′,インバータ106cにより反転されたANDゲート103の出力が供給される第1のANDゲート106aと、フェーズ出力信号Vlout′,ANDゲート103の出力が供給される第2のANDゲート106bと、この第1と第2のANDゲート106a,106bの論理和を出力する第2のORゲート106dとを有している。
【0189】
PWM合成回路92は、フェーズ出力信号Vuout′,インバータ107cにより反転されたANDゲート103の出力が供給される第1のANDゲート107aと、フェーズ出力信号Wuout′,ANDゲート104の出力が供給される第2のANDゲート107bと、この第1と第2のANDゲート107a,107bの論理和を出力する第3のORゲート107dとを有している。
【0190】
PWM合成回路92は、フェーズ出力信号Vlout′,インバータ108cにより反転されたANDゲート103の出力が供給される第1のANDゲート108aと、フェーズ出力信号Wlout′,ANDゲート104の出力が供給される第2のANDゲート108bと、この第1と第2のANDゲート108a,108bの論理和を出力する第4のORゲート108dとを有している。
【0191】
PWM合成回路92は、フェーズ出力信号Wuout′,インバータ109cにより反転されたANDゲート104の出力が供給される第1のANDゲート109aと、フェーズ出力信号Uuout′,ANDゲート102の出力が供給される第2のANDゲート109bと、この第1と第2のANDゲート109a,109bの論理和を出力する第5のORゲート109dとを有している。
【0192】
PWM合成回路92は、フェーズ出力信号Wlout′,インバータ110cにより反転されたANDゲート104の出力が供給される第1のANDゲート110aと、フェーズ出力信号Ulout′,ANDゲート102の出力が供給される第2のANDゲート110bと、この第1と第2のANDゲート110a,110bの論理和を出力する第6のORゲート110dとを有している。
【0193】
また、PWM合成回路92は、3相モータ1のスイッチの切り換えを行うOUT−ON/OFF信号,第1のORゲート105dの出力が供給され、コントロール信号Uuを出力するANDゲート111と、OUT−ON/OFF信号,第2のORゲート106dの出力,パルス幅変調信号(PWM Carrier)が供給され、コントロール信号Ulを出力するANDゲート112と、OUT−ON/OFF信号,第3のORゲート107dの出力が供給され、コントロール信号Vuを出力するANDゲート113と、OUT−ON/OFF信号,第4のORゲート108dの出力,パルス幅変調信号(PWM Carrier)が供給され、コントロール信号Vlを出力するANDゲート114と、OUT−ON/OFF信号,第5のORゲート109dの出力が供給され、コントロール信号Wuを出力するANDゲート115と、OUT−ON/OFF信号,第6のORゲート110dの出力,パルス幅変調信号(PWM Carrier)が供給され、コントロール信号Wlを出力するANDゲート116とを有している。
【0194】
このような構成のPWM合成回路92は、フェーズ出力信号に図31(a)及び(b)に示すようなパルス幅変調信号(PWM Carrier)を合成して、ドライバ7に供給する。また、PWM合成回路92は、パルス幅変調信号(PWM Carrier)を合成するとともに、切り換えエッジにおいて、図31(c)に示すようなアングル信号(ANGLE)信号を合成する。そして、エッジの立ち上がり時においては、図31(d)に示すような、立ち上がり傾斜をつけたコントロール信号Uu,Ul,Vu,Vl,Wu,Wlを生成する。また、エッジの立ち下がり時においては、図31(e)に示すような、立ち下がり傾斜をつけたコントロール信号Uu,Ul,Vu,Vl,Wu,Wlを生成する。
【0195】
このように、PWM合成回路92では、3相モータ1の相コイルを滑らかに切り換えることにより、音響ノイズやキックバックノイズを除去することができる。
【0196】
なお、図30に示したPWM合成回路92の構成では、コイルの相の切り換えの立ち上がりエッジ及び立ち下がりエッジの両者で傾斜をつけた場合を示しているが、例えば、キックバックノイズを除去する目的で有れば図32に示すようにインバータ105c,106c,107c,108c,109c,110cと、ANDゲート105a,106a,107a,108a,109a,110aを取り外して、直接、ORゲート105d,106d,107d,108d,109d,110dにフェーズ出力信号Uuout′,Ulout′,Vuout′,Vlout′,Wuout′,Wlout′を供給して、立ち下がりエッジのみに傾斜をつけてもよい。
【0197】
以上のように、信号処理部6では、逆起電圧検出ロジック21がCompOut信号を検出したのちにメインクロックを7カウントしてタイミングクロックを発生させることにより、PWM信号がオン或いはオフになってすぐの不安定な出力状態では逆起電圧を検出せず、安定した状態で逆起電圧を検出する。
【0198】
特に、PWM信号生成部4により発生するPWM信号は、メインクロックの16クロック分のオン領域を0から16クロックまで変動させているので、必ずPWM信号の1周期に少なくとも1回の検出ができる。また、PWM信号のスイッチングが無ければ以後8クロック毎に逆起電圧を検出できる。
【0199】
また、信号処理部6では、逆起電圧検出ロジック21が2回連続して同じ情報が入ってこなければデータを足り込まず、前のデータを保持している。このことにより、信号処理部6では、キックバックノイズを除去することや、PWMの切換において生じる切換ノイズを除去することができる。
【0200】
信号処理部6では、逆起電圧検出ロジック21が3相モータ1の各相コイルの通電パターンをフィードバックさせて、逆起電力が検出できる相コイルの相電圧のみを検出しているので、すなわち、上層コイルと下層コイルとがオフの部分のみ相の相電圧を検出しているので、ノイズに対して強くすることができる。
【0201】
また、信号処理部6では、エッジ検出ロジック22が検出した相コイルの切り換えエッジを検出し、この検出したエッジに基づきアングル生成ロジック26がアングル信号(ANGLE)信号を生成し、このアングル信号(ANGLE)信号に基づいてPWM合成回路92が3相モータ1の相コイルを滑らかに切り換えることにより、音響ノイズやキックバックノイズを除去することができる。
【0202】
つぎに、図1に示すドライバ7について説明する。このドライバ7は、図33に示すように信号処理部6のアウトプットコントローラ30からの第1〜第6のコントロール信号Uu〜Wlをそれぞれ所定の利得で増幅するバッファアンプ121a〜121fと、各バッファアンプ121a〜121fの出力段に設けられた抵抗122a〜122fとを有している。
【0203】
また、ドライバ7は、抵抗122aにベースが接続された第1のコントロール信号Uu用の上層トランジスタ123aと、抵抗122bにベースが接続された第2のコントロール信号Ul用の下層トランジスタ123bと、抵抗122cにベースが接続された第3のコントロール信号Vu用の上層トランジスタ124aと、抵抗122dにベースが接続された第4のコントロール信号Vl用の下層トランジスタ124bと、抵抗122eにベースが接続された第5のコントロール信号Wu用の上層トランジスタ125aと、抵抗122fにベースが接続された第6のコントロール信号Wl用の下層トランジスタ125bとを有している。
【0204】
各上層トランジスタ123a,124a,125aの各コレクタは、それぞれ電源電圧VCCに接続されており、各下層トランジスタ123b,124b,125bは、3相モータ1の各相コイル1U,1V,1Wに供給する電流値を検出するための駆動電流検出部8の電流検出抵抗RSにそれぞれ接続されている。また、各上層トランジスタ123a,124a,125aの各エミッタは、それぞれ各下層トランジスタ123b,124b,125bのコレクタに接続されており、各上層トランジスタ123a,124a,125aの各エミッタと、各下層トランジスタ123b,124b,125bのコレクタとの接続点から3相モータ1の各相コイル1U,1V,1Wに供給する駆動電圧を取り出すようになっている。
【0205】
このような構成を有するドライバ7は、第1から第6のコントロール信号Uu,Ul,Vu,Vl,Wu,Wlが供給されると、これに応じて各上層トランジスタ123a,124a,125a及び各下層トランジスタ123b,124b,125bがそれぞれオンオフ制御される。そして、この各上層トランジスタ123a,124a,125a及び各下層トランジスタ123b,124b,125bのオンオフ制御に応じた電源電圧VCCが、各接続点から取り出され、これらが駆動電圧U,V,Wとして図1に示す3相モータ1の各相コイル1U,1V,1Wにそれぞれ供給される。
【0206】
つぎに、駆動電流検出部8は、図34に示すように、ドライバ7のドライブ電流が供給される電流検出抵抗RSと、この電流検出抵抗RSの両端の電圧を検出する増幅器131とを有する。また、駆動電流検出部8は、スイッチング検出部9からのCompOut信号に基づいて、増幅器131の出力電圧をスイッチングするスイッチング素子132と、増幅器131の出力電圧がスイッチング素子132を介して供給される積分器133とを有する。
【0207】
このような構成を有する駆動電流検出部8では、各相コイル1U,1V,1Wにそれぞれ供給される駆動電流が、それぞれ電流検出抵抗RSにより電圧のかたちで検出される。この電流検出抵抗RSにより検出された駆動電圧は、増幅器131で増幅及びインピーダンス変換をされ、スイッチング素子132を介して、抵抗及びコンデンサからなる積分器133に供給される。
【0208】
このとき、電流検出抵抗RSには、PWM駆動された電流が間欠的に流れている。スイッチング素子132は、CompOut信号に基づき積分器133に供給する電圧をスイッチングしている。つまり、積分器133には、ドライバ7に供給されるPWM信号がONになっているときに生じる電流検出抵抗RSの電圧のみが供給される。そして、この積分器133から、駆動電流検出電圧(Current Sense)が出力される。
【0209】
また、積分器133は、CompOut信号がオフしたときに、サンプルホールド回路としての機能が働くため、実際に3相モータ1に電流が流れた場合の状態に近づけるため、所定の時定数をもってホールドした電圧の値を徐々に小さくする。
【0210】
すなわち、駆動電流検出部8では、ダイレクトPWM駆動をしている3相モータ1に流れる電流を検出するため、ドライバ7がONしているときには通常の電流検出を行って駆動電流検出電圧(Current Sense)を出力する。そして、OFFしたときには、積分器133によりサンプリングを行い出力を保持し、ONしているときと同様の値の駆動電流検出電圧(Current Sense)を出力する。
【0211】
このような駆動電流検出部8を用いることにより、回転サーボ信号が回転数を落とすためにマイナス入力となったときに、上述したアウトプットロジック24において、上層,下層トランジスタの駆動の駆動論理を完全に反転して制御できる。そのため、駆動電流検出部8では、図35に示すように、従来生じていたモータのトルクの正逆の切り換え時に生ずる不連続部分がなくなり、モータトルクのリニアリティーを確保することができる。
【0212】
また、積分器133が所定の時定数をもってサンプルホールドするので、正確な電流駆動ができる。
【0213】
最後に、上述の実施の形態の説明では、モータ駆動装置10は3相モータ1を駆動制御するモータ駆動装置10であることとしたが、これは、例えば2相モータ,4相モータ等、他の複数相のモータの回転駆動装置に適用可能である。また、メインクロックは500KHzであり、これを16カウントして各種のタイミング信号を生成する等のように、具体的な数値を掲げて説明したが、これは設計に応じて変更可能であり、この他、本発明に係る技術的思想を逸脱しない範囲であれば種々の変更が可能であることは勿論である。
【0214】
【発明の効果】
本発明に係るモータ駆動装置は、タイミングコントロール手段が、PWM信号の切り替えがあった時点からPWM信号の周期の1/2の直前のタイミングで逆起電圧の検出を制御し、PWM信号の周期の1/2直前のタイミングで逆起電圧を検出した後PWM信号の切り替えがあるまではPWM信号の周期の1/2のタイミングで逆起電圧の検出を制御し、ドライブ手段が、モータの各相コイルにドライブ電流を供給して、モータをPWM信号に基づいて駆動する。このことにより、逆起電圧を検出する際のノイズを除去し、モータを安定的に駆動することができる。すなわち、PWM信号がオン或いはオフになってすぐの不安定な出力状態では逆起電圧を検出せず、安定した状態で逆起電圧を検出できる。
【0215】
また、逆起電圧検出手段が2回以上連続して同一相コイルの逆起電圧の同一データを検出したときに、検出した逆起電圧に応じたPWMコントロール信号を生成することにより、キックバックノイズを除去や、PWMの切り換えにおいて生じる切換ノイズを除去することができ、モータを安定的に駆動できる。
【0217】
また、本発明に係るモータ駆動装置は、各相コイルを駆動するPWMコントロール信号を切り替える場合に、その切り替えエッジの前後のPWMコントロール信号のデューティを滑らかに変化させることにより、音響ノイズやキックバックノイズを除去することができ、モータを安定的に駆動できる。
【図面の簡単な説明】
【図1】本発明の実施の形態のモータ駆動装置のブロック図である。
【図2】本発明の実施の形態のモータ駆動装置の通常回転時の動作説明をするためのタイムチャートである。
【図3】本発明の実施の形態のモータ駆動装置の両波整流回路の回路図である。
【図4】本発明の実施の形態のモータ駆動装置のPWM信号生成部により生成されるPWM信号を説明するタイムチャートである。
【図5】本発明の実施の形態のモータ駆動装置の比較部の回路図である。
【図6】本発明の実施の形態のモータ駆動装置の通常回転時の動作説明をするためのタイムチャートである。
【図7】本発明の実施の形態のモータ駆動装置のスイッチング検出部の回路図である。
【図8】本発明の実施の形態のモータ駆動装置の信号処理部のブロック図である。
【図9】上記信号処理部の逆起電圧検出ロジックのブロック図である。
【図10】上記逆起電圧検出ロジックのタイミングコントローラの回路図である。
【図11】上記タイミングコントローラにより生成されるタイミングクロックを説明するためのタイミングチャートである。
【図12】上記逆起電圧検出ロジックの第1のノイズマスク回路の回路図である。
【図13】上記逆起電圧検出ロジックの第2のノイズマスク回路の回路図である。
【図14】上記信号処理部のエッジ検出ロジックのブロック図である。
【図15】上記エッジ検出ロジックのEX−OR回路の回路図である。
【図16】上記エッジ検出ロジックの切替エッジ検出回路の回路図である。
【図17】上記エッジ検出ロジックのタイムディレイ回路の回路図である。
【図18】上記エッジ検出ロジックにより生成される信号を説明するためのタイムチャートである。
【図19】上記信号処理部のスタートロジックの回路図である。
【図20】上記信号処理部のアングル生成ロジックの回路図である。
【図21】上記アングル生成ロジックにより生成されるアングル信号(ANGLE)を説明するためのタイムチャートである。
【図22】上記信号処理部のPLLロジックのブロック図である。
【図23】上記信号処理部の3フェーズロジックのブロック図である。
【図24】上記3フェーズロジックのマスク回路の回路図である。
【図25】上記3フェーズロジックのフェーズ生成回路の回路図である。
【図26】上記3フェーズロジックのデコード回路の回路図である。
【図27】上記3フェーズロジックのエッジマスク生成回路の回路図である。
【図28】上記信号処理部のアウトプットロジックの反転回路のブロック図である。
【図29】上記アウトプットロジックの反転回路の回路図である。
【図30】上記アウトプットロジックのPWM合成回路の回路図である。
【図31】上記PWM合成回路により合成するPWM信号等を説明するためのタイムチャートである。
【図32】上記アウトプットロジックの他の回路例を示すPWM合成回路の回路図である。
【図33】本発明の実施の形態のモータ駆動装置のドライバの回路図である。
【図34】本発明の実施の形態のモータ駆動装置の駆動電流検出部の回路図である。
【図35】本発明の実施の形態のモータ駆動装置の回転サーボ信号とトルクの関係を説明するための特性図である。
【図36】従来のモータ駆動装置のブロック図である。
【図37】従来のモータ駆動装置に設けられているフィルタ及び比較部の回路図である。
【図38】従来のモータ駆動装置の通常回転時の動作説明をするためのタイムチャートである。
【図39】従来のモータ駆動装置に設けられている電圧変換部の回路図である。
【図40】従来のモータ駆動装置に設けられているドライバの回路図である。
【図41】従来のモータ駆動装置においてダイレクトPWM駆動ができない理由を説明するためのタイムチャートである。
【符号の説明】
1 3相モータ、2 両波整流部、3 コンパレータ、4 PWM信号生成部、5 比較部、6 信号処理部、7 ドライバ、8 駆動電流検出部、9 スイッチング検出部、10 モータ駆動装置
[0001]
BACKGROUND OF THE INVENTION
The present invention includes a recording device, a reproducing device, a recording / reproducing device, a video tape recorder device, a video camera device, a camera device, etc. for a disk-shaped recording medium such as a magnetic disk, a magneto-optical disk, and a digital audio disk. More particularly, the present invention relates to a motor drive device that enables direct pulse width modulation drive (direct PWM drive) in a so-called sensorless motor.
[0002]
[Prior art]
Conventionally, a sensorless drive type motor driving apparatus as shown in FIG. 36 is known. For example, when current is supplied to the U-phase coil 500U and the V-phase coil 500V of the three-phase motor 500, the U-phase coil 500U and the V-phase coil 500V operate to generate torque, and the motor is operated, but the remaining W-phase coil On the contrary, 500 W generates a counter electromotive voltage. The sensorless drive type motor drive device detects the rotational position of the rotor based on the back electromotive voltages generated in the respective phase coils 500U, 500V, and 500W in this way, and energizes the respective phase coils 500U, 500V, and 500W. The rotation is controlled by switching the state.
[0003]
That is, the back electromotive voltages Uin, Vin, and Win generated from the phase coils 500U, 500V, and 500W are supplied to the comparison unit 502 via the filter 501. Further, the common voltage COM of the common terminal 500 </ b> A that is a neutral point voltage of the three-phase motor 500 is supplied to the comparison unit 502 via the filter 501.
[0004]
The filter 501 has a configuration as shown in FIG. 37, and the back electromotive voltage Uin from the U-phase coil 500U is supplied to a low-pass filter 515 including a resistor 515a and a capacitor 515b. Further, the back electromotive voltage Vin from the V phase coil 500V is supplied to a low pass filter 516 composed of a resistor 516a and a capacitor 516b, and the back electromotive voltage Win from the W phase coil 500W is composed of a resistor 517a and a capacitor 517b. Is supplied to a low-pass filter 517. Further, the common voltage COM from the common terminal 500A is supplied to a low-pass filter 518 composed of a resistor 518a and a capacitor 518b.
[0005]
Here, this sensorless drive type motor drive device detects the rotational position of the rotor based on the back electromotive voltages Uin, Vin, Win from the respective phase coils 500U, 500V, 500W, and according to the rotational position detection result. The three-phase motor 500 is rotationally driven by switching and controlling the energization timing of each phase coil 500U, 500V, 500W. As shown in FIG. 38 (a), each phase coil 500U, 500V, 500W Kickback noise, which is noise, is generated at the off timing when the power is switched. The kickback noise is superimposed on the back electromotive voltages Uin, Vin, Win and the common voltage COM of the respective phase coils 500U, 500V, 500W, so that the subsequent signal processing is hindered. For this reason, each low-pass filter 515, 516, 517 removes kickback noise from each back electromotive voltage Uin, Vin, Win, and supplies it to each comparator 519, 520, 521 of the comparator 502. The low-pass filter 518 removes kickback noise from the common voltage COM, and supplies this to the comparators 519, 520, and 521 as a reference voltage.
[0006]
Each of the comparators 519, 520, and 521 compares the common voltage COM with each of the counter electromotive voltages Uin, Vin, and Win, and compares each of the comparison outputs U, V, and V as shown in FIGS. W is supplied to the signal processing unit 508.
[0007]
On the other hand, a rotation servo signal (Vcontrol) generated by a rotation servo system based on the rotation state of the three-phase motor 500 is supplied to the both-wave rectification unit 503. The both-wave rectification unit 503 rectifies both-waves the rotation servo signal that is input plus or minus around the reference voltage, and supplies this to the comparator 504 as the reference value Vrec. Further, for example, when the rotation speed of the three-phase motor 500 becomes faster than specified, the rotation servo signal becomes a negative input in order to decrease the rotation speed. For this reason, when the negative input rotation servo signal is supplied, the both-wave rectification unit 503 generates a reverse signal for applying the rotation brake, and supplies this to the signal processing unit 508.
[0008]
The current detection resistor 511 (Risense) detects an energization current supplied from the driver 510 described later to each phase coil 500U, 500V, 500W in the form of a voltage. This detected value (Current Sense) is integrated by the resistor 505a and the capacitor 505b and supplied to the comparator 504.
[0009]
The comparator 504 compares the reference value Vrec and the integrated value of the detection value (Current Sense) detected by the current detection resistor 511, and outputs the comparison output Verr to the pulse width modulation signal generation unit (PWM signal generation unit) 506. Supply.
[0010]
The PWM signal generation unit 506 generates a pulse width modulation signal (PWM Carrier) by performing pulse width modulation on the comparison output Verr, and supplies this to the voltage conversion unit 507. This indicates that current driving using pulse width modulation is performed. The voltage conversion unit 507 has a configuration as shown in FIG. 39, and the transistor 507a connected to the power supply voltage Vcc is switched and driven by the pulse width modulation signal, so that the pulse width modulation corresponding to the pulse width modulation signal is performed. A voltage is generated, converted into a supply voltage VS by the coil 507b and the smoothing capacitor 507c, and the supply voltage VS is supplied to the driver 510.
[0011]
Next, the signal processing unit 508 detects the exclusive OR (Exor) of the comparison outputs U, V, and W as shown in FIGS. 38B to 38D supplied from the comparison unit 502. Thus, an Exor signal as shown in FIG. As shown in FIGS. 38A and 38E, the rising edge and the falling edge of the Exor signal indicate zero cross points of the back electromotive voltages Uin, Vin, Win and the common voltage COM, respectively. Therefore, the signal processing unit 508 detects the rising edge and the falling edge of the Exor signal, and takes in each counter electromotive voltage Uin, Vin, Win at this detection timing. Based on the back electromotive voltages Uin, Vin, Win, the upper layer transistor control signal Uu and the lower layer transistor control signal Ul for the U-phase coil 500U as shown in FIGS. h), upper-layer transistor control signal Vu and lower-layer transistor control signal Vl for V-phase coil 500V as shown in (i), and upper-layer transistor for W-phase coil 500W as shown in FIGS. A control signal Wu and a lower layer transistor control signal Wl are generated and supplied to the driver 510.
[0012]
Further, when a reverse signal is supplied from the both-wave rectifying unit 503, the signal processing unit 508 inverts the polarity of each control signal Uu, Ul, Vu, Vl, Wu, Wl and supplies the inverted signal to the driver 510.
[0013]
As shown in FIG. 40, driver 510 includes upper and lower transistors 521 and 522 for U-phase coil 500U, upper and lower transistors 523 and 524 for V-phase coil 500V, and upper and lower-layer transistors for W-phase coil 500W. 525, 526, and buffer amplifiers and resistors connected to the bases of the transistors 521 to 526, respectively.
[0014]
The collectors of the upper-layer transistors 521, 523, and 525 are connected to the input terminal of the supply voltage VS from the voltage conversion unit 507, respectively. Each emitter of each lower layer transistor 522, 524, 526 is connected to a current detection resistor 511, respectively. The emitters of the upper-layer transistors 521, 523, and 525 are connected to the collectors of the lower-layer transistors 522, 524, and 526, and the driving voltages supplied to the phase coils 500U, 500V, and 500W from the connection points. Is supposed to be taken out.
[0015]
In the driver 510 having such a configuration, the control signals Uu, Ul, Vu, Vl, Wu, and Wl from the signal processing unit 508 are supplied to the bases of the upper and lower transistors 521 to 526, respectively. Therefore, the upper and lower transistors 521 to 526 are on / off controlled in response to the control signals Uu, Ul, Vu, Vl, Wu, and Wl, respectively, and the supply power VS corresponding to the on / off control is taken out from each connection point. It is. The supply power VS taken out from each connection point is supplied as drive voltages U, V, W to the phase coils 500U, 500V, 500W of the three-phase motor 500, respectively.
[0016]
Note that the value of the power supply VS supplied to each phase coil 500U, 500V, 500W is detected by the current detection resistor 511 as described above. Then, it is compared with the reference value Vrec in the comparator 504, and indirect PWM driving is performed based on this comparison output Verr. Thereby, the energization state of each phase coil 500U, 500V, 500W can be kept constant.
[0017]
As described above, the sensorless drive type motor driving device detects the rotational position of the rotor based on the back electromotive force generated by each phase coil 500U, 500V, 500W, and energizes each phase coil 500U, 500V, 500W. Therefore, it is possible to control the rotation of the three-phase motor 500 without providing rotational position detection means such as a Hall element.
[0018]
[Problems to be solved by the invention]
Here, in the above-described sensorless motor driving device, the voltage converter 507 is removed and the three-phase motor 500 is directly PWM driven (hereinafter, the PWM signal is not converted into a voltage value, and the current is directly switched by PWM. Is referred to as direct PWM driving), the voltages to the respective phase coils 500U, 500V, 500W are expressed as shown in FIGS. 41 (a) to 41 (c). At each turn-off timing, each phase terminal voltage drops to the ground level, and the common voltage COM drops to the ground level. At this time, it becomes difficult to detect the back electromotive voltage. In particular, since pulse width modulation driving is performed, the on / off widths are naturally different, and it becomes difficult to detect the back electromotive voltage when the voltage is off. For this reason, when the three-phase motor 500 is driven, jitter and acoustic noise are deteriorated.
[0019]
In direct PWM driving, it is conceivable to strengthen the filter when detecting the back electromotive voltage. However, a very strong filter is required, and the output waveform is also affected, resulting in poor driving efficiency.
[0020]
In direct PWM driving, since the current flowing through the current detection resistor 511 is intermittent, the value of the current flowing through the current detection resistor 511 cannot be easily detected.
[0021]
The present invention has been made in view of the above-mentioned problems, enables PWM driving in a sensorless system without providing a voltage conversion circuit, prevents malfunction due to kickback noise without providing a filter circuit, and An object of the present invention is to provide a motor driving device that can improve the start-up characteristics of a motor by improving the uptake of back electromotive voltage to prevent energization of a wrong phase.
[0022]
[Means for Solving the Problems]
In order to solve the above-described problems, the present invention provides a motor driving apparatus for driving a motor by directly supplying a drive current switched based on a pulse width modulation (PWM) signal to each phase coil of the motor. Based on the rotation control signal of the motor for controlling the rotation, the PWM signal generating means for generating the PWM signal, the counter electromotive voltage detecting means for detecting the counter electromotive voltage generated in each phase coil of the motor, and detecting the counter electromotive voltage. Timing control means for controlling the timing to perform, PWM output means for generating a PWM control signal for driving each phase coil according to the back electromotive voltage detected by the back electromotive voltage detection means and the PWM signal, and the PWM control Drive means for generating a drive current based on the signal and supplying the drive current to each phase coil of the motor And an edge detecting means for detecting a switching edge of the counter electromotive voltage generated in each phase coil based on the counter electromotive voltage detected by the counter electromotive voltage detecting means, wherein the timing control means is a point in time when the PWM signal is switched. To control the detection of the back electromotive force at a timing immediately before half of the cycle of the PWM signal. Cycle After detecting the back electromotive voltage at the timing just before 1/2 of the PWM signal until the PWM signal is switched Cycle The detection of the counter electromotive voltage is controlled at a half of the timing, and the PWM output means detects the counter electromotive voltage of the same phase coil continuously by the counter electromotive voltage detecting means twice or more. The same data When detected, a PWM control signal corresponding to the detected back electromotive voltage is generated, and the PWM output means switches the PWM control signal before and after the switching edge when switching the PWM control signal for driving each phase coil. The duty is smoothly changed.
[0026]
In the motor drive device according to the present invention, when the PWM output means switches the PWM control signal for driving each phase coil, the PWM control signal before and after the switching edge is changed. period The drive means supplies a drive current to each phase coil of the motor to drive the motor based on the PWM signal.
[0031]
DETAILED DESCRIPTION OF THE INVENTION
Embodiments of a motor drive device according to the present invention will be described below in detail with reference to the drawings.
[0032]
FIG. 1 shows a block diagram of a motor drive device according to an embodiment to which the present invention is applied.
[0033]
The motor drive device 10 is a so-called sensorless motor drive circuit, and in particular, is a motor drive circuit that performs direct PWM drive that supplies a drive current switched by a PWM signal directly to each phase coil of the motor. The motor driving device 10 rectifies both waves of the rotation servo signal (Vcontrol) of the three-phase motor 1 and outputs it as a reference signal Vrec, and rotates to the three-phase motor 1 when the rotation servo signal (Vcontrol) is negatively input. A double-wave rectification unit 2 that outputs a reverse signal (Reverse) to apply a brake, a reference signal Vrec, and a drive current detection voltage (Current Sense) that detects a drive current of a three-phase motor 1 to be described later, a resistor 3a and a capacitor The comparator 3 that compares the value integrated in 3b and the PWM signal generation unit 4 that outputs a pulse width modulation signal (PWM Carrier) based on the comparison output Verr from the comparator 3 are provided.
[0034]
Further, the motor drive device 10 uses the common voltage COM that is a voltage generated at the neutral point of the three-phase motor 1 as a reference, and the respective phase voltages Uin generated in the U-phase coil 1U, the V-phase coil 1V, and the W-phase coil 1W, A comparison unit 5 that compares Vin and Win to generate comparison signals Uin1, Vin1, and Win1, respectively, a pulse width modulation signal (PWM Carrier) from the PWM signal generation unit 4, and each comparison signal Uin1, Vin1 from the comparison unit 5 , Win1 and a signal processing unit 6 for generating and outputting control signals Uu, Ul, Vu, Vl, Wu, Wl for driving the driver 7 based on the reverse signal (Reverse) from the both-wave rectification unit 2; have.
[0035]
Further, the motor drive device 10 is configured to drive the driver 7 for driving the three-phase motor 1 in response to the control signals Uu, Ul, Vu, Vl, Wu, Wl from the signal processing unit 6 and the drive current of the three-phase motor 1 as a voltage. Drive current detection unit 8 that detects and supplies the comparator 3 with an integration circuit including a resistor 3a and a capacitor 3b, and a switching detection unit that detects the timing when the driver 7 supplies the drive current to the three-phase motor 1. 9.
[0036]
In the motor drive device 10 having such a configuration, when current is supplied to, for example, the U-phase coil 1U and the V-phase coil 1V of the three-phase motor 1, the U-phase coil 1U and the V-phase coil 1V generate torque. In order to work, the three-phase motor 1 is rotationally driven. At this time, in the three-phase motor 1, the remaining W-phase coil 1W that is not energized generates an electromotive voltage. The motor driving device 10 detects the rotational position of the rotor based on the back electromotive voltage generated in each of the phase coils 1U, 1V, 1W, and switches the energization state according to the detection result to control the three-phase motor 1. It is driven to rotate.
[0037]
Specifically, counter electromotive voltages (Win) Uin and Vin as shown in FIG. 2A are generated from the respective phase coils 1U, 1V and 1W. The back electromotive force (Win) Uin, Vin generated in each phase coil varies in level according to the PWM signal because the drive current switched by the PWM signal is directly supplied to each phase coil of the motor. That is, as shown in FIG. 2B, the common voltage COM, which is the voltage at the midpoint of each phase coil, is a voltage level that is ½ of VCC when the PWM signal is on, and when the PWM signal is off. Becomes a voltage level from VCC to VCC + Vf / 2 (Vf is a forward voltage of the diode). Therefore, since the back electromotive voltages (Win) Uin and Vin are generated with reference to the common voltage COM, the voltage level fluctuates in accordance with the PWM. Therefore, a large noise is generated at the on / off switching edge. ing. The reason why the common voltage COM changes from VCC to VCC + Vf / 2 level when the PWM signal is off is because the lower layer transistor of the driver 7 is switched, that is, the ground side is turned on / off. Details will be described later. The phase voltages Uin, Vin, Win and the common voltage COM of the common terminal 1a, which is the neutral voltage of the three-phase motor 1, are supplied to the comparison unit 5 and the switching detection unit 9, respectively.
[0038]
In addition, the voltage generated in the coils of the respective phases of the three-phase motor 1 naturally generates not only the counter electromotive voltage but also the drive voltage from the driver 7 (for example, Uin signal in FIG. 2B). Hereinafter, the voltages supplied to the comparison unit 5 and the switching detection unit 9 will be collectively described as phase voltages Uin, Vin, Win.
[0039]
The rotation of the three-phase motor 1 is servo-controlled by, for example, a rotary servo system or a digital signal processor (DSP).
[0040]
The both-wave rectification unit 2 is configured as shown in FIG. The two-wave rectification unit 2 includes a first servo amplifier 2a, a second amplifier 2c, each rectifier element and the like, and a rotation servo signal (rotation servo signal (DSP) generated by a rotation servo system or a DSP based on the rotation state of the three-phase motor 1). Vcontrol) and the reference voltage from the reference power supply 2b are detected, and this difference is subjected to both-wave rectification. Then, the rotation servo signal (Vcontrol) subjected to both-wave rectification is output as a reference signal Vrec. The both-wave rectification unit 2 supplies the reference signal Vrec to the comparator 3.
[0041]
Here, when the rotation speed of the three-phase motor 1 becomes faster than a specified value, the rotation servo signal (Vcontrol) becomes a negative signal compared to the reference voltage in order to reduce the rotation speed. For this reason, in the two-wave rectification unit 2, the comparator 2d compares the reference voltage with the rotation servo signal (Vcontrol), and rotates to the three-phase motor 1 when a negative input rotation servo signal (Vcontrol) is supplied. A reverse signal (Reverse) for applying the brake is generated and supplied to the signal processing unit 6 described later.
[0042]
The drive current detection unit 8 detects the drive current supplied from the driver 7 described later to each phase coil 1U, 1V, 1W in the form of voltage. This drive current detection voltage (Current Sense) is integrated by an integrating circuit comprising a resistor 3a and a capacitor 3b and supplied to the comparator 3. Details of the drive current detector 8 will be described later.
[0043]
The comparator 3 compares the reference signal Vrec from the both-wave rectification unit 2 with the integration signal of the drive current detection voltage (Current Sense) detected by the drive current detection unit 8, and uses this comparison output Verr as a pulse width modulation circuit. (PWM circuit) 4 is supplied.
[0044]
The PWM signal generation unit 4 performs pulse width modulation on the comparison output Verr to generate a pulse width modulation signal (PWM Carrier), and supplies this to the signal processing unit 6. Here, the pulse width modulation signal (PWM Carrier) generated by the PWM signal generation unit 4 is a signal whose cycle is constant with respect to the main clock (Main Clock) and whose high (on) region varies. The pulse width modulation signal (PWM Carrier) described in this embodiment has a fixed period of 16 clocks with respect to the main clock as shown in FIG. 4, for example, and the ON region varies from 0 clock to 16 clocks. Signal. This main clock is a main synchronization signal of this apparatus that is also used for processing of the other both-wave rectification unit 2 and signal processing unit 6. Note that the pulse width modulation signal (PWM carrier) generated by the PWM signal generation unit 4 may be, for example, another PWM type signal as long as consistency with the signal processing unit 6 and the like described later can be obtained. .
[0045]
On the other hand, as shown in FIG. 5, the comparison unit 5 includes three comparators 5 a to 5 c for U phase, V phase, and W phase, and resistors 5 d to 5 k that divide each phase voltage. . The comparison unit 5 is supplied with the phase voltages Uin, Vin, Win and the common voltage COM shown in FIG. A common voltage COM from the three-phase motor 1 is supplied as a reference voltage to each of the comparators 5a to 5c via resistors 5j and 5k. The U-phase phase voltage Uin is supplied to the U-phase comparator 5a via the resistors 5d and 5e, and the V-phase phase voltage Vin is supplied to the V-phase comparator 5b via the resistors 5f and 5g. The W-phase phase voltage Win is supplied to the W-phase comparator 5c via the resistors 5h and 5i. As described with reference to FIG. 2B, when the PWM signal is OFF, a back electromotive voltage is generated around the VCC level. For this reason, the back electromotive voltage may be higher than the VCC level. However, no particular problem occurs when the voltage is divided by the resistors 5d to 5k.
[0046]
Each comparator 5a-5c compares each phase voltage Uin, Vin, Win shown in FIG. 6 (a) with the common voltage COM, and each comparison signal Uin1, Vin1 as shown in FIG. 6 (b)-(d). , Win1 are generated and supplied to the signal processing unit 6.
[0047]
Each comparison signal Uin1, Vin1, Win1 is not shown in FIG. 6, but is turned on / off according to the PWM signal, and at the timing of switching the energization to each phase coil 1U, 1V, 1W. Kickback noise generated in the back electromotive voltage is superimposed.
[0048]
The switching detection unit 9 is configured as shown in FIG. 7, and compares each phase voltage Uin, Vin, Win detected via the rectifying elements 9b to 9d with a predetermined reference voltage V by a comparator 9a, and CompOut Generate a signal. Here, the reference voltage supplied to the comparator 9a is set to a value smaller than the drive voltage driven by the driver 7 but larger than the back electromotive voltage generated in the phase coil in which the drive current from the driver 7 does not flow. Has been. That is, this reference voltage is a value larger than the peak value of Win in the case shown in FIG. 2B, but a value smaller than Uin.
[0049]
By setting the reference voltage V in this way, the comparator 9a generates a CompOut signal indicating ON / OFF of the drive voltage from the driver 7. That is, the switching detection unit 9 detects the timing of PWM drive switching that drives the three-phase motor 1. The CompOut signal generated by the switching detection unit 9 is supplied to the signal processing unit 6 and the drive current detection unit 8.
[0050]
The signal processing unit 6 includes a reverse signal (Reverse) from the two-wave rectification unit 2, a pulse width modulation signal (PWM Carrier) from the PWM signal generation unit 4, a comparison signal Uin1, Vin1, Win1 from the comparison unit 5, and switching A CompOut signal is supplied from the detection unit 9. Based on these signals, the signal processor 6 generates control signals Uu, Ul, Vu, Vl, Wu, Wl for the driver 7. That is, the signal processing unit 6 detects the counter electromotive voltage of the three-phase motor 1 to detect the rotational position of the rotor, and controls the switching of the energized state of the three-phase motor 1 in accordance with this detection.
[0051]
Next, a specific circuit configuration of the signal processing unit 6 will be described.
[0052]
As shown in FIG. 8, the signal processing unit 6 includes a back electromotive voltage detection logic 21, an edge detection logic 22, a three-phase logic 23, an output logic 24, a start logic 25, an angle generation logic 26, A PLL logic 27 and an oscillation logic 28 are provided.
[0053]
As shown in FIG. 9, the back electromotive voltage detection logic 21 includes a timing controller 51, a first noise mask circuit 52, and a second noise mask circuit 53. The timing controller 51 receives the CompOut signal and the main clock from the switching detection unit 9. The timing controller 51 generates a timing clock based on the CompOut signal and the main clock, and supplies the timing clock to the first noise mask circuit 52.
[0054]
Specifically, as shown in FIG. 10, the timing controller 51 includes first and second counters 54 and 55, an OR gate 56, and an inverter 57 that inverts the CompOut signal.
[0055]
The first counter 54 is a logical product of outputs from the first to third T flip-flops 54a to 54c that are reset by the CompOut signal and count the main clock, and the outputs from the first and second T flip-flops 54a and 54b. The first AND gate 54d to be supplied to the third T flip-flop 54c and the outputs from the first to third T flip-flops 54a to 54c are ANDed and supplied to the OR gate 56. 2 AND gate 54e.
[0056]
The second counter 55 includes first to third T flip-flops 55a to 55c that are reset by the CompOut signal inverted by the inverter 57 and count the main clock, and first and second T flip-flops 55a and 55b. The first AND gate 55d that takes the logical product of the outputs of the first and third T flip-flops 55c and supplies the output to the third T flip-flop 55c, and ORs the outputs of the first and third T flip-flops 55a to 55c. And a second AND gate 55e that supplies the gate 56.
[0057]
The first counter 54 of the timing controller 51 starts counting the main clock when the CompOut signal becomes high. The second counter 55 starts counting the main clock when the CompOut signal goes low. When the first and second counters 54 and 55 start counting, the output goes high when the main clock is counted 7 times, and then the output goes high every 8 counts. Each time the CompOut signal is switched to high or low, the counter that counts the main clock is switched. That is, when the CompOut signal is high, the first counter 54 operates and the second counter 55 does not operate. Further, when the CompOut signal is low, the second counter 55 operates and the first counter 54 does not operate. The outputs of the first and second counters are supplied to an OR gate 56.
[0058]
The OR gate 56 calculates the logical sum of the outputs of the first and second counters 54 and 55 and outputs a timing clock as shown in FIG. This timing clock is supplied to the first noise mask circuit 52.
[0059]
As shown in FIG. 12, the first noise mask circuit 52 includes a first U-phase noise mask circuit 58, a first V-phase noise mask circuit 59, and a first W-phase noise mask circuit 60. Is done.
[0060]
The first U-phase noise mask circuit 58 includes a first D flip-flop 58a that synchronizes the comparison signal Uin1 supplied from the comparator 5a of the comparator 5 with the inverted signal of the main clock, and a first D flip-flop. And a second D flip-flop 58b for synchronizing the output of 58a with the timing clock generated by the timing controller 51.
[0061]
The first U-phase noise mask circuit 58 includes an EX-OR inversion gate 58c that inverts EXOR between the input and output of the second D flip-flop 58b, and an EX-OR inversion gate 58c through an inverter 58d. A first AND gate 58e to which an output and an output of a third D flip-flop 58h described later are supplied, and a second AND to which an output of the EX-OR inversion gate 58c and the second D flip-flop 58b is supplied. A gate 58f.
[0062]
The first U-phase noise mask circuit 58 compares the OR gate 58g supplied with the outputs of the first and second AND gates 58e and 58f with the output of the OR gate 58g synchronized with the timing clock. And a third D flip-flop 58h that outputs a signal Uin1 '.
[0063]
The first V-phase noise mask circuit 59 includes a first D flip-flop 59a that synchronizes the comparison signal Vin1 supplied from the comparator 5b of the comparator 5 with the inverted signal of the main clock, and a first D flip-flop. And a second D flip-flop 59b for synchronizing the output of 59a with the timing clock generated by the timing controller 51.
[0064]
The first V-phase noise mask circuit 59 includes an EX-OR inversion gate 59c that inverts EXOR between the input and output of the second D flip-flop 59b, and an EX-OR inversion gate 59c via an inverter 59d. A first AND gate 59e to which an output and an output of a third D flip-flop 59h to be described later are supplied, and a second AND to which an output of the EX-OR inversion gate 59c and the second D flip-flop 59b is supplied. A gate 59f.
[0065]
The first V-phase noise mask circuit 59 compares the OR gate 59g supplied with the outputs of the first and second AND gates 59e and 59f with the output of the OR gate 59g synchronized with the timing clock. And a third D flip-flop 59h for outputting the signal Vin1 ′.
[0066]
The first W-phase noise mask circuit 60 includes a first D flip-flop 60a that synchronizes the comparison signal Win1 supplied from the comparator 5c of the comparison unit 5 with an inverted signal of the main clock, and a first D flip-flop. And a second D flip-flop 60b that synchronizes the output of 60a with the timing clock generated by the timing controller 51.
[0067]
The first W-phase noise mask circuit 60 includes an EX-OR inversion gate 60c that inverts EXOR between the input and output of the second D flip-flop 60b, and an EX-OR inversion gate 60c through the inverter 60d. A first AND gate 60e to which an output and an output of a third D flip-flop 60h described later are supplied, and a second AND to which an output of the EX-OR inversion gate 60c and the second D flip-flop 60b is supplied. And a gate 60f.
[0068]
The first W-phase noise mask circuit 60 compares the OR gate 60g supplied with the outputs of the first and second AND gates 60e and 60f with the output of the OR gate 60g synchronized with the timing clock. And a third D flip-flop 60h that outputs a signal Win1 '.
[0069]
In the first noise mask circuit 52 having such a configuration, the second D flip-flops 58b, 59b, and 60b synchronize the comparison signals Uin1, Vin1, and Win1 with the timing clock generated by the timing controller 51. The first noise mask circuit 52 does not update the output from the third D flip-flops 58h, 59h, and 60h unless the same data is input twice in synchronization with the timing clock. Otherwise, the previous data is retained.
[0070]
The first noise mask circuit 52 outputs the comparison signals Uin1 ′, Vin1 ′, and Win1 ′ output from the first noise mask circuits 58, 59, and 60 of the U phase, V phase, and W phase to the second phase. To the noise mask circuit 53.
[0071]
The second noise mask circuit 53 is supplied with comparison signals Uin1 ′, Vin1 ′, and Win1 ′. The second noise mask circuit 53 is fed back and supplied with phase output signals Uuout, Ulout, Vuout, Vlout, Wuout, Wlout output from a three-phase logic 23 described later.
[0072]
These phase output signals Uuout, Ulout, Vuout, Vlout, Wuout, Wlout are used to control the phase switching timing of the upper and lower transistors that drive the respective phase coils of the three-phase motor 1 provided in the driver 7. Signal. The phase output signal Uuout is a signal for controlling the phase switching timing of the upper layer transistor for the U phase coil, and the phase output signal Ulout is a signal for controlling the timing of phase switching for the lower layer transistor for the U phase coil. is there. The phase output signal Vuout is a signal for controlling the phase switching timing of the upper-layer transistor for the V-phase coil, and the phase output signal Vlout is for controlling the phase switching timing of the lower-layer transistor for the V-phase coil. Signal. The phase output signal Wuout is a signal for controlling the phase switching timing of the upper layer transistor for the W phase coil, and the phase output signal Wout is for controlling the phase switching timing of the lower layer transistor for the W phase coil. Signal. The details of the three-phase logic 23 and the phase output signals Uuout, Ulout, Vuout, Vlout, Wuout, and Wlout, which are the outputs, will be described later.
[0073]
As shown in FIG. 13, the second noise mask circuit 53 includes an OR gate 61a to which the comparison signal Uin1 ′ and the phase output signal Uuout from the first U-phase noise mask circuit 58 are supplied, and a phase output signal Ulout. And a second U-phase noise mask circuit 61 composed of an AND gate 61c that outputs the OR gate 61a and the output of the inverter 61b and outputs the counter electromotive voltage signal Uin2.
[0074]
The second noise mask circuit 53 includes an OR gate 62a to which the comparison signal Vin1 ′ and the phase output signal Vuout from the first V-phase noise mask circuit 59 are supplied, and an inverter to which the phase output signal Vlout is supplied. The second V-phase noise masking circuit 62 includes an AND gate 62c that is supplied with the output of the OR gate 62a and the inverter 62b and outputs a back electromotive voltage signal Vin2.
[0075]
The second noise mask circuit 53 includes an OR gate 63a to which the comparison signal Win1 ′ and the phase output signal Wuout from the first W phase noise mask circuit 60 are supplied, and an inverter to which the phase output signal Wlout is supplied. A second W-phase noise masking circuit 63 comprising an AND gate 63c, which is supplied with the output of 63b and the output of the OR gate 63a and the inverter 63b and outputs the counter electromotive voltage signal Win2 is provided.
[0076]
The second U-phase noise mask circuit 61 outputs a signal corresponding to the comparison signal Uin1 ′ when the phase output signals Uuout and Ulout are both low. That is, when both the phase output signals Uuout and Ulout are low, no drive current is supplied to the U-phase coil 1U of the three-phase motor 1, so that a counter electromotive voltage is generated. Therefore, a signal corresponding to the comparison signal Uin1 ′ is output as the back electromotive voltage signal Uin2 in order to detect the back electromotive voltage.
[0077]
Further, the second U-phase noise mask circuit 61 outputs the back electromotive voltage signal Uin2 as high when the phase output signal Uuout is high (in this case, the phase output signal Ulout is always low). To do. That is, when the phase output signal Uuout is high, the drive current is supplied from the U-phase coil 1U to the V-phase coil 1V or the W-phase coil 1W, so the back electromotive voltage signal Uin2 is set to the high level as the voltage of the U-phase coil 1U. And output.
[0078]
Further, the second U-phase noise mask circuit 61 outputs the back electromotive voltage signal Uin2 as low when the phase output signal Ulout is high. That is, when the phase output signal Ulout is high, a drive current is supplied from the V-phase coil 1V or the W-phase coil 1W to the U-phase coil 1U, so that the back electromotive voltage signal Uin2 is set to a low voltage as the voltage of the U-phase coil 1U. And output.
[0079]
Note that the second V-phase noise mask circuit 62 and the second W-phase noise mask circuit 63 also perform the same operation as the second U-phase noise mask circuit 61 described above.
[0080]
As described above, the back electromotive voltage detection logic 21 can remove noise when each circuit detects the back electromotive voltage.
[0081]
In the timing controller 51, after the CompOut signal is switched, the main clock is counted 7 times to generate the timing clock. Therefore, the counter electromotive voltage is detected in an unstable output state immediately after the PWM signal is turned on or off. The back electromotive voltage can be detected in a stable state. Further, after 7 counts, if the CompOut signal is not switched, that is, if the PWM signal is not switched, a timing clock is generated every 8 counts to detect the back electromotive voltage. In particular, the PWM signal generated by the PWM signal generation unit 4 varies the ON region of 16 clocks of the main clock from 0 to 16 clocks, so that the back electromotive voltage can be detected at least once in one PWM cycle. . For example, the back electromotive voltage can be detected even when the ON region and the OFF region are ½ each (8 clocks). Therefore, the timing controller 51 can generate a timing clock for stably detecting the back electromotive voltage.
[0082]
In the first noise mask circuit 52, if the same information does not enter twice consecutively by the inverting gates 58c, 59c, 60c of each EXOR, the data is not sufficient and the previous data is held. As a result, for example, kickback noise generated in the comparison signals Uin1, Vin1, and Win1 shown in FIGS. 6B to 6D can be removed, and switching noise generated in PWM switching can be removed. For example, as shown in FIGS. 6E to 6G, back electromotive voltage signals Uin2, Vin2, and Win2 from which kickback noise is removed can be output.
[0083]
Since the second noise mask circuit 53 feeds back the energization pattern of each phase coil of the three-phase motor 1 generated by the three-phase logic 23 and detects only the phase voltage of the phase coil that can detect the back electromotive force. In other words, since the phase voltage of the phase is detected only in the part where the upper layer coil and the lower layer coil are off, it is possible to further strengthen against noise.
[0084]
The count number of the main clock by the timing controller 51 (in this case, 7 counts or 8 counts) is set according to the PWM signal generation method and the pulse width. For this reason, what is necessary is just to set the arbitrary values according to design, without being limited to this numerical value. That is, it is only necessary to set the timing at which the high region and low voltage can be detected in the vicinity of an edge having a duty less than 1/2 defined by the PWM signal and to detect the back electromotive voltage at least once in one PWM cycle. As a result, the back electromotive voltage can be detected stably.
[0085]
The first noise mask circuit 52 has a configuration in which data is not updated unless the same data is input twice in succession. For example, a plurality of D flip-flops are connected in succession for three or more. If the same data is not inputted, the data may not be updated. This can further increase the accuracy.
[0086]
The back electromotive voltage signals Uin2, Vin2, and Win2 generated by the back electromotive voltage detection logic 21 are supplied to the edge detection logic 22 and the three-phase logic 23.
[0087]
Next, the edge detection logic 22 includes an EX-OR circuit 71, a switching edge detection circuit 72, a time delay circuit 73, and an OR gate circuit 74, as shown in FIG.
[0088]
The EX-OR circuit 31 is supplied with the back electromotive voltage signals Uin2, Vin2, and Win2 from the back electromotive voltage detection logic 21. The EX-OR circuit 31 calculates the exclusive OR of the back electromotive voltage signals Uin2, Vin2, and Win2 to generate a 3 (EXOR) signal as shown in FIG. Supply to circuit 72. The 3 (EXOR) signal generated by the EX-OR circuit 31 becomes low when any one of the back electromotive voltage signals Uin2, Vin2, and Win2 is switched from on to off, and at the timing when the signal is switched from off to on. Become high.
[0089]
Specifically, as shown in FIG. 15, the EX-OR circuit 31 includes a first AND gate 71a to which Uin2 inverted by the inverter 71f, Vin2 and Win2 inverted by the inverter 71g are supplied, and an inverter And a second AND gate 71b to which Uin2 and Vin2 inverted by 71h and Win2 inverted by the inverter 71i are supplied. The EX-OR circuit 31 is supplied with Uin2, a third AND gate 71c to which Vin2 inverted by the inverter 71j and Win2 inverted by the inverter 71k are supplied, and Uin2, Vin2 and Win2. And a fourth AND gate 71d.
[0090]
The EX-OR circuit 31 includes an OR gate 71e that is supplied with outputs of the first to fourth AND gates 71a to 71d and outputs a 3 (EXOR) signal.
[0091]
The switching edge detection circuit 72 is supplied with the 3 (EXOR) signal from the EX-OR circuit 71, the SDEXOR signal indicating the timing of the rising edge or the falling edge of the 3 (EXOR) signal, and the edge opposite to this SDEXOR An Iinvert signal is generated to detect. The switching edge detection circuit 72 includes an edge mask signal (EdgeMask) supplied from the three-phase logic 23 together with a 3 (EXOR) signal, and a first mask signal (Mask1) that is an output of the edge detection logic 22. A system clock (SyClock) is supplied.
[0092]
Specifically, as shown in FIG. 16, the switching edge detection circuit 72 is supplied with the 3 (EXOR) signal from the EX-OR circuit 71 and the first mask signal (Mask1) inverted by the inverter 72a. AND gate 72b, an output of a first D flip-flop 72e described later, a second AND gate 72c to which a first mask signal (Mask1) is supplied, and the first and second AND gates 72b and 72c. The OR gate 72d is supplied with the output.
[0093]
The switching edge detection circuit 72 is supplied with the output of the OR gate 72d, and synchronizes the output from the OR gate 72d with the system clock (SyClock), and the first D flip-flop. And a second D flip-flop 72f that synchronizes this output with the system clock. Details of the system clock (SyClock) will be described later.
[0094]
The switching edge detection circuit 72 includes a third AND gate 72g to which an edge mask signal (EdgeMask), the output of the first D flip-flop 72e, and the output of the second D flip-flop 72f inverted by the inverter 72k are supplied. A fourth AND gate 72h to which the edge mask signal (EdgeMask) inverted by the inverter 72l, the output of the first D flip-flop 72e inverted by the inverter 72m, and the output of the second D flip-flop 72f are supplied; A fifth AND gate 72i to which the edge mask signal (EdgeMask) inverted by the inverter 72n, the output of the first D flip-flop 72e, and the output of the second D flip-flop 72f inverted by the inverter 72o are supplied; Mask signal (EdgeM And a sixth AND gate 72j for sk) and a first output of the D flip-flop 72e and the output of the second D flip-flop 72f inverted by the inverter 72p is supplied.
[0095]
The switching edge detection circuit 72 is supplied with outputs of the third and fourth AND gates 72g and 72h, and outputs a second OR gate 72q that outputs SDExor, and fifth and sixth AND gates 72i and 72j. A third OR gate 72r which is supplied with an output and outputs Iinvert.
[0096]
SDExor and Iinvert, which are the outputs of the switching edge detection circuit 72, are supplied to the time delay circuit 73.
[0097]
The time delay circuit 73 delays SDExor and Iinvert supplied from the switching edge detection circuit 72 for a predetermined time. Further, the time delay circuit 73 generates a slope signal (Slope), which will be described in detail later, and a start flag (Startflag) based on Iinvert.
[0098]
Specifically, as shown in FIG. 17, the time delay circuit 73 includes first and second D flip-flops 73a and 73b to which the SDExor from the switching edge detection circuit 72 is supplied. SDEXOR delayed by 2 counts with the system clock is output from the second D flip-flop 73b.
[0099]
The time delay circuit 73 includes a third D flip-flop 73c to which Iinvert from the switching edge detection circuit 72 is supplied. The third D flip-flop 73c outputs Iinvert delayed by one count with the system clock.
[0100]
Further, the output of the third D flip-flop 73c is supplied to the time delay circuit 73, and a fourth D flip-flop 73d that delays this output by one system clock and an output of the fourth D flip-flop 73d And fifth to seventh D flip-flops 73f to 73h which are inverted by the inverter 73e and supplied to the reset.
[0101]
When the reset is released, the fifth to seventh D flip-flops 73f, 73g, 73h count the system clock by 3 and generate a start flag (Startflag). The output of the sixth D flip-flop 73g is output as a slope signal (Slope) via the inverter 73i.
[0102]
The OR gate circuit 74 is supplied with the SDEXOR, Iinvert, slope signal (Slope) from the time delay circuit 73 and the slope signal (Slope) output from the switching edge detection circuit 72, and the logical sum of these signals is obtained. Calculation is performed to generate a first mask signal (Mask1). The first mask signal (Mask1) is fed back to the switching edge detection circuit 72.
[0103]
The edge detection logic 22 having such a configuration generates a first mask signal (Mask1), a slope signal (Slope), a start flag (Startflag), and a latch (Latch) signal. Here, the latch signal and Iinvert are the same signal.
[0104]
When the edge detection logic 22 receives the system clock (SYClock), the back electromotive voltage signals Uin2, Vin2, and Win2, and the edge mask (EdgeMask) signal at timings as shown in FIGS. The slope signal (Slope) is output low for a certain period across the timing of switching of the back electromotive voltage signal, as shown in FIG. The edge detection logic 22 generates a first mask signal (Mask1) that goes high at the timing of switching of the back electromotive voltage signals Uin2, Vin2, and Win2, and goes low at the same time that the slope signal (Slope) goes low. To do.
[0105]
From the edge detection logic 22, the first mask signal (Mask1) and the latch (Latch) signal are supplied to the three-phase logic 23, the start flag (Startflag) and the latch (Latch) signal are supplied to the start logic 25, and the slope signal. (Slope) is supplied to the angle generation logic 26, and a latch signal is supplied to the PLL logic 27.
[0106]
Next, as shown in FIG. 19, the start logic 25 is reset by a latch signal and resets the first to fifth T flip-flops 25a to 25e for counting the system clock (SYClock). The first AND gate 25f that takes the logical product of the outputs from the T flip-flops 25a and 25b and supplies the logical product to the third T flip-flop 25c, and the outputs from the first to third T flip-flops 25a to 25c. And a second AND gate 25g supplied to the fourth T flip-flop 25d. A third AND gate 25h that takes the logical product of the outputs from the first to fourth T flip-flops 25a to 25d and supplies the logical product to the fifth T flip-flop 25e, and the first to fifth T flip-flops. The fourth AND gate 25i that outputs the logical product of the outputs from the outputs 25a to 25e and the output from the fourth AND gate 25i are synchronized based on the system clock (SYClock), and the energization pattern is changed. And a D flip-flop 25j that outputs a Step signal for switching.
[0107]
When the three-phase motor 1 is rotating, the start flag (Startflag) should be periodically supplied to the start logic 25. However, for example, when the wrong phase coil is energized or in a state where the rotation is stopped, the start flag (Startflag) is not supplied to the start logic 25. In such a state, since the same phase coil is continuously energized, it is not activated indefinitely and the energized phase coil is damaged. For this reason, the start logic 25 starts from the timing when the high level start flag is supplied, that is, immediately after sampling the back electromotive voltage and switching the energization, and the T flip-flops 25a to 25e generate the system clock (SYClock). For example, count 32. If the latch signal is not supplied until the system clock (SYClock) counts 32 times, it is assumed that the three-phase motor 1 is stopped, and a step signal for setting the next energization pattern is output. . This step signal is supplied to the three-phase logic 22.
[0108]
The start logic 25 is stopped when a zero cross point of the back electromotive voltage is detected and the T flip-flops 25a to 25e are reset by a latch signal.
[0109]
Note that the count number (32 counts in this case) of the system clock (SYClock) is set according to the torque constant of the three-phase motor 1 and the inertia that becomes the load. For this reason, what is necessary is just to set the arbitrary values according to design, without being limited to this numerical value.
[0110]
Next, as shown in FIG. 20, the angle generation logic 26 includes a constant current source 82 composed of a current mirror circuit, a capacitor 83 connected to the constant current source 82, and a switch connected in parallel to the capacitor 83. A slope circuit 81 including a working transistor 84 is included.
[0111]
The transistor 84 of the slope circuit 81 is switched by a slope signal (Slope) from the edge detection logic 22. When the slope signal (Slope) is high, the capacitor 83 is discharged. When the slope signal (Slope) is low, the capacitor 83 is charged. The current i flowing through the constant current source 82 1 Is the current i flowing through transistor 84 2 Is set to a sufficiently small current compared to. As a result, a charge is instantaneously charged in the capacitor 83 during charging, and a voltage is gradually output from the capacitor 83 during discharging. That is, a trapezoidal wave that rises instantaneously and gently falls from the slope circuit 81 is output. Note that the slope of the falling of the output trapezoidal wave can be adjusted by varying the current flowing through the constant current source 82.
[0112]
The angle generation logic 26 includes a comparator 85 that is supplied with the trapezoidal wave output from the slope circuit 81 and the PWM sawtooth wave used by the PWM signal generation unit 4 and generates an angle signal (ANGLE). The comparator 85 generates an angle signal (ANGLE) signal that goes high when the sawtooth wave for PWM is larger than the trapezoidal wave output from the slope circuit 81. Note that an angle signal (ANGLE) signal with gradually increasing duty can be generated by making the falling time of the trapezoidal wave sufficiently longer than the period of the PWM sawtooth wave.
[0113]
FIG. 21 is a time chart and waveform diagram showing a sawtooth wave for PWM, an angle signal (ANGLE) signal, and the like.
[0114]
FIG. 21A is a waveform diagram of the PWM sawtooth wave input to the comparator 85 and the falling portion of the trapezoidal wave that is the output of the slope circuit 81. As shown in FIG. 21B, the duty of the angle signal (ANGLE) generated by the comparator 85 increases as the trapezoidal wave decreases.
[0115]
Unlike the other blocks of the signal processing unit 6, the angle generation logic 26 is composed of an analog circuit. Therefore, for example, when the signal processing unit 6 is implemented by a semiconductor or the like, this block may be separately configured by another semiconductor or the like.
[0116]
The angle signal (ANGLE) generated by the angle generation logic 26 is supplied to the output logic 24.
[0117]
Next, the PLL logic 27 has a configuration as shown in FIG. 22. In the phase comparator 86, the phase of the latch (Latch) signal supplied from the edge detection logic 22 and the voltage variable oscillator (VCO) ) The PLLOUT signal output from 88 is compared with the phase of the divided signal (Fin) obtained by dividing the PLLOUT signal, for example, by 8 or 16 by the 1 / N counter 58. Then, this phase comparison output is supplied to the VCO 88 via the low-pass filter 87 to drive the VCO 88 in oscillation. As a result, a PLLOUT signal synchronized with the latch signal is generated and supplied to the oscillation logic 28.
[0118]
Note that the latch signal supplied from the edge detection logic 22 may be supplied to the PLL logic 27 after being synchronized with the system clock in order to stabilize the signal. The PLL logic 27 is configured by an analog circuit, like the angle generation logic 26. Therefore, for example, when the signal processing unit 6 is implemented by a semiconductor or the like, this block may be separately configured by another semiconductor or the like.
[0119]
Next, the oscillation logic 28 includes a reverse signal (Reverse) from the both-wave rectification unit 2, a motor on / off control signal (MON / OFF) for controlling on / off of the motor generated by the central processing unit (CPU), PLL, and the like. Various timing signals are generated based on a PLLOUT signal from the circuit 25, for example, a main clock (Main Clock) of 500 KHz and a PWM signal (PWM in) from the PWM signal generation unit 4.
[0120]
The oscillation logic 28 generates a system clock (SyClock) in which the PLLOUT signal is synchronized with the main clock. This system clock is supplied to the edge detection logic 22, the 3-phase logic 23, the start logic 25, and the like.
[0121]
The oscillation logic 28 generates a signal obtained by synchronizing the motor on / off control signal (MON / OFF) with the system clock (SyClock) and supplies the signal to the output logic 24.
[0122]
The oscillation logic 28 generates a system reverse signal (Reverse) in which the reverse signal (Reverse) is synchronized with the system clock (SyClock), and supplies the generated system reverse signal (Reverse) to the output logic 24.
[0123]
Next, the three-phase logic 23 will be described.
[0124]
As shown in FIG. 23, the three-phase logic 23 includes counter electromotive voltage signals Uin2, Vin2, Win2 from the counter electromotive voltage detection logic 21, a first mask signal (Mask1) from the three phase logic 23, a system, A clock circuit (SyClock) is supplied and a mask circuit 31 is provided for generating counter electromotive voltage signals Uin2 ′, Vin2 ′, and Win2 ′.
[0125]
The three-phase logic 23 receives back electromotive voltage signals Uin2 ′, Vin2 ′, Win2 ′ from the mask circuit 31, a system clock (SyClock), and a second mask signal (Mask2) from the decode circuit 33 described later. A phase generation circuit 32 is provided to generate the counter electromotive voltage signals Ures, Vres, Wres.
[0126]
The three-phase logic 23 is supplied with the back electromotive voltage signals Ures, Vres, Wres from the phase generation circuit 32, and outputs the phase output signals Uuout, Ulout, Vuout, Vlout, Wout, Wlout, and the second mask signal (Mask2). And a decoding circuit 33 for generating a third mask signal (Mask3).
[0127]
Further, the three-phase logic 23 is supplied with the back electromotive voltage signals Ures, Vres, Wres from the phase generation circuit 32 and generates an edge mask signal (EdgeMask) signal to be supplied to the switching edge detection circuit 72 of the edge detection logic 22. An edge mask generation circuit 34 is provided.
[0128]
In the mask circuit 31, as shown in FIG. 18 (g), the timing at which the back electromotive voltage signals Uin2, Vin2, and Win2 are switched, that is, high at the switching edge and before the timing at which the next edge will come. A first mask signal (Mask1) that goes low is supplied. The mask circuit 31 is a circuit that masks the back electromotive voltage signals Uin2, Vin2, and Win2 when the first mask signal (Mask1) is high. Therefore, in this mask circuit 31, for example, even when the output of the back electromotive voltage detection logic 21 is hunted, the driving of the three-phase motor 1 is not affected.
[0129]
Specifically, as shown in FIG. 24, the mask circuit 31 includes a first AND gate 35a to which a back electromotive voltage signal Uin2 and a first mask signal (Mask1) inverted by an inverter 35c are supplied, and will be described later. A second AND gate 35b to which the output of the D flip-flop 35e and the first mask signal (Mask1) are supplied; an OR gate 35d to which the outputs of the first and second AND gates 35a and 35b are supplied; It has a U-phase mask circuit 35 comprising a D flip-flop 35e for synchronizing the output of the OR gate 35d with the system clock (SyClock).
[0130]
The U-phase mask circuit 35 outputs a back electromotive voltage signal Uin2 'masked by the first mask signal (Mask1) from the D flip-flop 35e.
[0131]
The mask circuit 31 includes a first AND gate 36a to which a back electromotive voltage signal Vin2 and a first mask signal (Mask1) inverted by the inverter 36c are supplied, an output of a D flip-flop 36e described later, and a first The second AND gate 36b to which the mask signal (Mask1) is supplied, the OR gate 36d to which the outputs of the first and second AND gates 36a and 36b are supplied, and the output of the OR gate 36d to the system clock A V-phase mask circuit 36 including a D flip-flop 36e synchronized with (SyClock) is included.
[0132]
The V-phase mask circuit 36 outputs a back electromotive voltage signal Vin2 'masked by the first mask signal (Mask1) from the D flip-flop 36e.
[0133]
The mask circuit 31 includes a first AND gate 37a to which a back electromotive voltage signal Win2 and a first mask signal (Mask1) inverted by the inverter 37c are supplied, an output of a D flip-flop 37e described later, and a first The second AND gate 37b to which the mask signal (Mask1) is supplied, the OR gate 37d to which the outputs of the first and second AND gates 37a and 37b are supplied, and the output of the OR gate 37d to the system clock A W-phase mask circuit 37 including a D flip-flop 37e synchronized with (SyClock) is included.
[0134]
The W-phase mask circuit 37 outputs a back electromotive voltage signal Win2 ′ masked by the first mask signal (Mask1) from the D flip-flop 37e.
[0135]
As described above, the mask circuit 31 generates the back electromotive voltage signals Uin2 ′, Vin2 ′, and Win2 ′ based on the first mask signal (Mask1), and supplies it to the phase generation circuit 32.
[0136]
The phase generation circuit 32 samples the back electromotive voltage signals Uin2 ′, Vin2 ′, and Win2 ′ based on the Step signal, generates back electromotive voltage signals Ures, Vres, and Wres that are the sample outputs, and decodes them. To the unit 29. At this time, a second mask signal (Mask2-U, Mask2-V, Mask2-W) from a decoding circuit 33 described later is fed back and supplied. This second mask signal (Mask2-U, Mask2-V, Mask2-W) is based on the energization pattern of the three-phase motor 1 and the pattern of the back electromotive voltage signals Ures, Vres, Wres to be generated next is. This is the expected signal. That is, the second mask signal (Mask2-U, Mask2-V, Mask2-W) prevents a signal other than the expected pattern from being generated.
[0137]
Specifically, the phase generation circuit 32, as shown in FIG. 25, samples a back electromotive voltage signal Uin2 'out of the back electromotive voltage signals Uin2', Vin2 ', Win2' from the mask circuit 31. When the U D flip-flop 32e that holds the back electromotive voltage Uin2 'sampled by the U sampling circuit 38 and the rotor of the three-phase motor 1 does not rotate, the D signal for U is generated by the Step signal from the start logic 25. It has a U register control circuit 39 which makes the energization pattern of the flip-flop 32e the next energization pattern (step feed).
[0138]
The phase generation circuit 32 includes a V sampling circuit 40 that samples the counter electromotive voltage Vin2 ′, a V D flip-flop 32f that holds the counter electromotive voltage V sampled by the V sampling circuit 40, and the three-phase motor 1. And the V register control circuit 41 which sets the energization pattern of the V D flip-flop 32f to the next energization pattern (step feed) when the rotor does not rotate.
[0139]
The phase generation circuit 32 also includes a W sampling circuit 42 that samples the counter electromotive voltage Win2 ', a W D flip-flop 32g that holds the counter electromotive voltage W sampled by the W sampling circuit 42, and the three-phase motor 1 And the W register control circuit 43 which makes the energization pattern of the W D flip-flop 32g the next energization pattern (step feed) when the rotor does not rotate.
[0140]
The U sampling circuit 38 includes an AND gate 38a to which a back electromotive voltage Uin2 ', a second U-phase mask signal (Mask2-U), and an inverted output of the Step signal via the inverter 38b are supplied, and an inverter 38c 2 U-phase mask signal (Mask2-U), an inverted output of the Step signal via the inverter 38e, and an AND gate 38d to which an output from the U D flip-flop 32e is supplied.
[0141]
The U register control circuit 39 has an output from the V D flip-flop 32f inverted by the inverter 39c, an AND gate 39a to which a step signal is supplied, and an output of the U signal flip-flop 32e inverted by the step signal and inverter 39d. And an AND gate 39b.
[0142]
The V sampling circuit 40 includes an AND gate 40a to which a back electromotive voltage Vin2 ', a second V-phase mask signal (Mask2-V), an output of the Step signal inverted by the inverter 40b are supplied, and a second inverted by the inverter 40c. The V-phase mask signal (Mask2-V), the inverted output of the Step signal via the inverter 40e, and the AND gate 40d to which the output from the V D flip-flop 32f is supplied.
[0143]
The V register control circuit 41 has an output from the W D flip-flop 32g inverted by the inverter 41c, an AND gate 41a to which a step signal is supplied, and an output of the V signal D flip-flop 32f inverted by the step signal and inverter 41d. And an AND gate 41b.
[0144]
The W sampling circuit 42 includes an AND gate 42a to which a back electromotive voltage Win2 ', a second W phase mask signal (Mask2-W), and an inverted output of the Step signal via the inverter 42b are supplied, and an inverter 42c 2 W-phase mask signal (Mask2-W), an inverted output of the Step signal via the inverter 42e, and an AND gate 42d to which the output from the W D flip-flop 32g is supplied.
[0145]
The W register control circuit 43 includes an AND gate 43a supplied with an inverted output and a step signal from the U D flip-flop 32e inverted by the inverter 43c, and a W signal D flip-flop 32g inverted by the step signal and the inverter 43d. It is composed of an AND gate 43b to which an inverted output is supplied.
[0146]
Further, the phase generation circuit 32 outputs the output from the U-phase D flip-flop 32e inverted by the inverter 32h, the output from the V-phase D flip-flop 32f inverted by the inverter 32i, and the W-phase D flip-flop 32g inverted by the inverter 32j. The first AND gate 32k to which the output of the U-phase D flip-flop 32e, the output of the V-phase D flip-flop 32f, and the output of the W-phase D flip-flop 32g are supplied. And have.
[0147]
The phase generation circuit 32 calculates the logical sum of the outputs of the AND gates 38a and 38d of the U sampling circuit 38 and the AND gates 39a and 39b of the U register control circuit 39, and supplies the logical sum to the U D flip-flop 32e. The second OR gate 32a, the AND gates 40a and 40d of the V sampling circuit 40 and the AND gates 41a and 41b of the V register control circuit 41 are logically summed and supplied to the V D flip-flop 32f. OR gate 32b, AND gates 42a and 42d of W sampling circuit 42, AND gates 43a and 43b of W register control circuit 43, and second AND gate 32l are ORed to obtain a third OR. The output theory of the gate 32c and the third OR gate 32c and the second AND gate 32k Has third and AND gate 32d is supplied to the W for D flip-flop 32g taking the product.
[0148]
In the phase generation circuit 32 having such a configuration, each of the back electromotive voltage signals Uin2 ′, Vin2 ′, and Win2 ′ is converted into each of the second mask signals (Mask2-U, Mask2-V, Mask2-W) by each sampling circuit 42. ) Are sampled at a timing that coincides with the timing at which they are supplied, and these are supplied to the D flip-flops 32e to 32g via the OR gates 32a to 32c. Thereby, only the counter electromotive voltage of the phase coil in which the change appears can be sampled, and the counter electromotive voltages of the other phase coils are held by the D flip-flops 32e to 32g. Therefore, the D flip-flops 32e to 32g are respectively held unless the Step signal is supplied, and the back electromotive voltage signals Ures, Vres, Wres which are sample outputs of the back electromotive voltage signals Uin2 ′, Vin2 ′, Win2 ′. Will be output as is.
[0149]
In addition, when the wrong phase coil is energized or in a state where the rotation is stopped, the start flag (Startflag) is not supplied to the start logic 25 as described above, so that each of the flip-flops 25a to 25e of the start logic 25 performs system operation. The clock (SyClock) is counted 32, and a Step signal for setting the next energization pattern is output.
[0150]
When this Step signal is supplied to the phase generation circuit 32, each of the register control circuits 39, 41, 43 is in an operating state, and the inverted output from the W D flip-flop 32g via the inverter 39c is the U register control. The circuit 39 is supplied to the U D flip-flop 32e, and the inverted output from the U D flip-flop 32e via the inverter 41c is supplied from the V register control circuit 41 to the V D flip-flop 32f via the inverter 43c. The inverted output from the V D flip-flop 32f is supplied from the W register control circuit 43 to the W D flip-flop 32g.
[0151]
Thereby, the output from each D flip-flop 32e-32g can be made into the output of the following electricity supply pattern (step feed). Such step feed is continued until the three-phase motor 1 is started and the Step signal is not supplied. And rotation can be started reliably at the time of starting, and starting characteristics can be improved.
[0152]
The counter electromotive voltage signals Ures, Vres, and Wres generated by the phase generation circuit 32 are supplied to the decode circuit 33 and the edge mask generation circuit 34, respectively.
[0153]
The decode circuit 33 includes back electromotive voltage signals Ures, Vres, Wres supplied from the phase generation circuit 32, a slope signal (Slope) supplied from the angle generation logic 26, and a latch (Latch) supplied from the edge detection logic 22. ) Based on the signals, first to sixth phase output signals for on / off control of the upper and lower transistors of the driver 7 that drives the three-phase motor 1 are generated.
[0154]
The decode circuit 33 generates the above-described second mask signal (Mask2) and third mask signal (Mask3).
[0155]
Specifically, the decode circuit 33 has a configuration as shown in FIG. 26, and a first phase output for on / off control of the transistor for the U-phase coil provided in the driver 7 shown in FIG. A U-phase output circuit 44 for generating the signal Uuout and the second phase output signal Ulout, and a third phase output signal Vuout and a fourth phase output signal Vlout for controlling on / off of the transistor for the V-phase coil are generated. And a U-phase output circuit 46 for generating a fifth phase output signal Wuout and a sixth phase output signal Wlout for controlling on / off of the transistor for the W-phase coil. Yes.
[0156]
The U-phase output circuit 44 is supplied with the counter electromotive voltage signal Ures and the counter electromotive voltage signal Vres inverted through the second inverter 33b, and outputs a first phase output signal Uuout. And an AND gate 44b that receives the inverted electromotive voltage signal Ures and the counter electromotive voltage signal Vres that are inverted via the first inverter 33a and outputs the second phase output signal Ulout.
[0157]
The V-phase output circuit 45 is supplied with the counter electromotive voltage signal Vres and the counter electromotive voltage signal Wres inverted through the third inverter 33c, and outputs a third phase output signal Vuout. , The counter electromotive voltage signal Vres and the counter electromotive voltage signal Wres which are inverted through the second inverter 33b are supplied to the AND gate 45b which outputs the fourth phase output signal Vlout.
[0158]
The W-phase output circuit 46 is supplied with the counter electromotive voltage signal Wres, the counter electromotive voltage signal Ures inverted through the first inverter 33a, and the fifth phase output signal Wuout first AND gate 46a. The back electromotive voltage signal Wres and the back electromotive voltage signal Ures which are inverted through the inverter 33c are supplied to the AND gate 46b which outputs the sixth phase output signal Wlout.
[0159]
The decode circuit 33 also outputs a second mask signal (Mask2) for U-phase, V-phase, and W-phase that is at a high level for a predetermined period at a timing when a change in the back electromotive voltage of each phase coil 1U, 1V, 1W appears. -U, Mask2-V, Mask2-W) and a third mask signal (Mask3-U, Mask3-V, Mask3-W), a U-phase mask generation circuit 47, and a V-phase mask generation circuit 48 And a W-phase mask generation circuit 49.
[0160]
The U-phase mask generation circuit 47 includes a first AND gate 47a to which the counter electromotive voltage signal Ures, the counter electromotive voltage signal Vres, and the counter electromotive voltage signal Wres inverted by the third inverter 33c are supplied, and a first inverter. A second AND gate 47b to which the counter electromotive voltage signal Ures inverted by 33a, the counter electromotive voltage signal Vres inverted by the second inverter 33b and the counter electromotive voltage signal Wres are supplied, and the first and second An OR gate 47c that outputs a logical sum of the outputs of the AND gates 47a and 47b.
[0161]
The first AND gate 33d outputs a logical product of the output of the U-phase mask generation circuit 47 and the latch (Latch) signal as a second U-phase mask signal (Mask2-U). The second AND gate 33g outputs a logical product of the output of the U-phase mask generation circuit 47 and the slope signal (Slope) as a third U-phase mask signal (Mask3-U).
[0162]
The V-phase mask generation circuit 48 is supplied with the back electromotive voltage signal Ures, the back electromotive voltage signal Vres inverted by the second inverter 33b, and the back electromotive voltage signal Wres inverted by the third inverter 33c. The AND gate 48a, the second AND gate 48b to which the back electromotive voltage signal Ures, the back electromotive voltage signal Vres and the back electromotive voltage signal Wres which are inverted by the first inverter 33a are supplied, and the first and second An OR gate 48c that outputs a logical sum of outputs from the AND gates 48a and 48b.
[0163]
The third AND gate 33e outputs a logical product of the output of the U-phase mask generation circuit 48 and the latch (Latch) signal as a second V-phase mask signal (Mask2-V). The fourth AND gate 33h outputs the logical product of the output of the V-phase mask generation circuit 48 and the slope signal (Slope) as a third V-phase mask signal (Mask3-V).
[0164]
The W-phase mask generation circuit 49 is supplied with the back electromotive voltage signal Ures inverted by the first inverter, the back electromotive voltage signal Vres, and the back electromotive voltage signal Wres inverted by the third inverter 33c. The gate 49a, the back electromotive voltage signal Ures, the second AND gate 49b supplied with the back electromotive voltage signal Vres and the back electromotive voltage signal Wres inverted by the second inverter 33b, and the first and second ANDs. An OR gate 49c that outputs a logical sum of the outputs of the gates 49a and 49b.
[0165]
The fourth AND gate 33f outputs the logical product of the output of the W-phase mask generation circuit 48 and the latch (Latch) signal as a second W-phase mask signal (Mask2-W). The sixth AND gate 33i outputs the logical product of the output of the W-phase mask generation circuit 48 and the slope signal (Slope) as a third W-phase mask signal (Mask3-W).
[0166]
The decoding circuit 33 having such a configuration performs on / off control of the upper layer transistor and the lower layer transistor of each phase based on the above-described first to sixth energization patterns constituted by the back electromotive voltage signals Ures, Vres, Wres. First to sixth control signals Uu to Wl are generated.
[0167]
That is, the counter electromotive voltage signals Ures, Vres, Wres supplied to the decoding circuit 33 are converted into the first energization patterns (H, L, H) and the second energization patterns (H, L, H) shown in FIGS. In the case of (H, L, L), the first phase output signal Uuout as shown in FIG. Similarly, the back electromotive voltage signals Ures, Vres, Wres supplied to the decoding circuit 33 are the fourth energization patterns (L, H, L) and the fifth energization patterns (L, H, L) shown in FIGS. L, H, H), the second phase output signal Ulout is output from the decode circuit 33 as shown in FIG.
[0168]
Further, the counter electromotive voltage signals Ures, Vres, Wres supplied to the decoding circuit 33 are converted into the third energization patterns (H, H, L) and the fourth energization patterns (H) shown in FIGS. (L, H, L), the third phase output signal Vuout as shown in (q) of FIG. Similarly, the back electromotive voltage signals Ures, Vres, Wres supplied to the decoding circuit 33 are the first energization patterns (H, L, H) and the sixth energization patterns (FIG. 6 (i) to (k)). In the case of (L, L, H), a fourth phase output signal Vlout as shown in (r) of FIG.
[0169]
Further, the back electromotive voltage signals Ures, Vres, Wres supplied to the decoding circuit 33 correspond to the fifth energization patterns (L, H, H) and the sixth energization patterns (L, H, H) shown in FIGS. In the case of (L, L, H), the fifth phase output signal Wuout as shown in FIG. Similarly, the counter electromotive voltage signals Ures, Vres, Wres supplied to the decoding circuit 33 are converted into the second energization patterns (H, L, L) and the third energization patterns (FIG. 6 (i) to (k)). In the case of (H, H, L), the decode circuit 33 outputs a sixth phase output signal Wlout as shown in FIG.
[0170]
The phase output signals Uuout to Wlout generated in this way are supplied to the output controller 30, respectively.
[0171]
Further, the decoding circuit 33 predicts which edge of the back electromotive voltage signals Ures, Vres, Wres will come next based on each energization pattern, and as shown in FIGS. Each second mask signal (Mask2-U, Mask2-V, Mask2-W) is supplied to the phase generation circuit 32.
[0172]
The edge mask generation circuit 34 is supplied with the back electromotive voltage signals Ures, Vres, Wres from the phase generation circuit 32 and generates an edge mask signal (EdgeMask) to be supplied to the edge detection logic 22.
[0173]
Specifically, as shown in FIG. 27, the edge mask generation circuit 34 includes the back electromotive voltage signal Ures inverted by the first inverter 34a, the back electromotive voltage signal Vres inverted by the second inverter 34b, and the inverse. The first AND gate 34d to which the electromotive voltage signal Wres is supplied, the counter electromotive voltage signal Ures inverted by the first inverter 34a, the counter electromotive voltage signal Vres, and the counter electromotive voltage signal inverted by the third inverter 34c. The second AND gate 34e supplied with Wres, the back electromotive voltage signal Ures, the back electromotive voltage signal Vres inverted by the second inverter 34b, and the back electromotive voltage signal Wres inverted by the third inverter 34c are supplied. A third AND gate 34f, a back electromotive voltage signal Ures, a back electromotive voltage signal Vres, and a back electromotive voltage signal W es has a fourth AND gate 34g is supplied, and an OR gate 34h for outputting a logical sum of the outputs of the first to fourth AND gates 34D~34g.
[0174]
With such a configuration, the edge mask generation circuit 34 generates signals representing the edge portions of the back electromotive voltage signals Ures, Vres, and Wres as shown in FIG. Supply.
[0175]
Next, as shown in FIG. 28, the output logic 24 includes an inverting circuit 91 that switches control of the upper and lower transistors by the phase output signals Uuout, Ulout, Vuout, Vlout, Wuout, and Wlout from the three-phase logic 23; PWM synthesis that generates a control signal Uu, Ul, Vu, Vl, Wu, Wl by synthesizing a pulse width modulation signal (PWM Carrier) from the PWM signal generation unit 4 with a phase output signal supplied via the inverting circuit 91 Circuit 92.
[0176]
When the rotation speed of the three-phase motor 1 becomes faster than specified, for example, when a rotation servo signal supplied from a servo control system or the like becomes a negative input to reduce the rotation speed, the reverse signal (Reverse) ) Is output. This reverse signal is used to reverse the drive logic of the upper and lower transistors of the driver 7 (to be described later) and apply reverse power to brake the three-phase motor 1 when the brake mode is to reduce the rotational speed. Signal. The reverse signal (Reverse) is supplied to the output logic 24 through the oscillation logic 28.
[0177]
The reverse circuit 91 is supplied with the reverse signal (Reverse) and the phase output signals Uuout, Ulout, Vuout, Vlout, Wuout, Wlout. When the reverse signal (Reverse) is high, the inverting circuit 91 interchanges the drive logic of the control signal of the upper layer transistor and the lower layer transistor and outputs the result to the PWM synthesis circuit 92. When the reverse signal (Reverse) is low, the control signals of the upper layer transistor and the lower layer transistor are output to the PWM synthesis circuit 92 as they are.
[0178]
Specifically, as shown in FIG. 29, the inverting circuit 91 includes a reverse signal (Reverse) inverted by an inverter 93c, a first AND gate 93a to which a phase output signal Uuout is supplied, and a reverse signal (Reverse). , A second AND gate 93b to which the phase output signal Ulout is supplied, and an OR gate 93d for outputting the logical sum of the first and second AND gates 93a and 93b as the phase output signal Uuout ′. .
[0179]
Further, the inverting circuit 91 is supplied with a first AND gate 94a to which a reverse signal (Reverse) and a phase output signal Uuout are supplied, and a reverse signal (Reverse) and a phase output signal Ulout inverted by an inverter 94c. 2 AND gate 94b, and OR gate 94d for outputting the logical sum of the first and second AND gates 94a and 94b as phase output signal Ulout '.
[0180]
The inverting circuit 91 includes a first AND gate 95a to which a reverse signal (Reverse) inverted by the inverter 95c and a phase output signal Vuout are supplied, and a second AND gate 95a to which a reverse signal (Reverse) and a phase output signal Vlout are supplied. An AND gate 95b and an OR gate 95d that outputs a logical sum of the first and second AND gates 95a and 95b as a phase output signal Vuout ′ are provided.
[0181]
The inverting circuit 91 is supplied with a first AND gate 96a to which a reverse signal (Reverse) and a phase output signal Vuout are supplied, and a reverse signal (Reverse) and a phase output signal Vlout that are inverted by an inverter 96c. 2 AND gate 96b, and an OR gate 96d for outputting the logical sum of the first and second AND gates 96a and 96b as a phase output signal Vlout ′.
[0182]
The inverting circuit 91 includes a first AND gate 97a to which the reverse signal (Reverse) inverted by the inverter 97c and the phase output signal Wuout are supplied, and a second AND gate 97a to which the reverse signal (Reverse) and the phase output signal Wlout are supplied. An AND gate 97b and an OR gate 97d that outputs a logical sum of the first and second AND gates 97a and 97b as a phase output signal Wuout ′ are provided.
[0183]
The inverting circuit 91 is supplied with a first AND gate 98a to which a reverse signal (Reverse) and a phase output signal Wuout are supplied, and a reverse signal (Reverse) and a phase output signal Wlout that are inverted by an inverter 98c. 2 AND gate 98b and an OR gate 98d for outputting the logical sum of the first and second AND gates 98a and 98b as a phase output signal Wlout '.
[0184]
The inverting circuit 91 having such a configuration supplies the phase output signals Uuout ′, Ulout ′, Vuout ′, Vlout ′, Wuout ′, Wlout ′ to the PWM synthesis circuit 92.
[0185]
The PWM synthesizing circuit 92 synthesizes a pulse width modulation signal (PWM Carrier) with the phase output signals Uuout ′, Ulout ′, Vuout ′, Vlout ′, Wuout ′, Wlout ′ supplied from the inverting circuit 91. The PWM synthesis circuit 92 synthesizes an angle signal (ANGLE) with the phase output signals Uuout ′, Uout ′, Vuout ′, Vlout ′, Wuout ′, Wlout ′ supplied from the inverting circuit 91.
[0186]
That is, the PWM synthesis circuit 92 adds a PWM signal for controlling the drive power and switching speed to the phase output signal indicating the phase switching timing of the upper and lower transistors constituting the driver 7 that drives the three-phase motor 1. Synthesizing. In addition, the PWM synthesis circuit 92 synthesizes an angle signal (ANGLE) signal to perform smooth switching at the switching timing of each phase of the three-phase motor 1, so that the pulse width modulation signal (PWM Carrier) at the time of phase switching Is changing.
[0187]
Specifically, as shown in FIG. 30, the PWM synthesizing circuit 92 has a third W-phase mask signal (Mask3-W) output from the three-phase logic 23 and an angle signal (ANGLE) inverted by the inverter 101. The AND gate 102 supplied, the third U-phase mask signal (Mask3-U), the AND gate 103 supplied with the angle signal (ANGLE) inverted by the inverter 101, and the third V-phase mask signal (Mask3) -V), and an AND gate 104 to which an angle signal (ANGLE) inverted by the inverter 101 is supplied.
[0188]
The PWM synthesis circuit 92 is supplied with the phase output signal Uuout ′, the first AND gate 105a to which the output of the AND gate 102 inverted by the inverter 105c is supplied, and the phase output signal Vuout ′ and the output of the AND gate 103. A second AND gate 105b, and a first OR gate 105d for outputting a logical sum of the first and second AND gates 105a and 105b. The PWM synthesis circuit 92 is supplied with the phase output signal Ulout ′, the first AND gate 106a to which the output of the AND gate 103 inverted by the inverter 106c is supplied, and the phase output signal Vlout ′ and the output of the AND gate 103. It has a second AND gate 106b and a second OR gate 106d for outputting the logical sum of the first and second AND gates 106a and 106b.
[0189]
The PWM synthesis circuit 92 is supplied with the phase output signal Vuout ′, the first AND gate 107a to which the output of the AND gate 103 inverted by the inverter 107c is supplied, and the phase output signal Wuout ′ and the output of the AND gate 104. A second AND gate 107b and a third OR gate 107d for outputting a logical sum of the first and second AND gates 107a and 107b are provided.
[0190]
The PWM synthesis circuit 92 is supplied with the phase output signal Vlout ′, the first AND gate 108a to which the output of the AND gate 103 inverted by the inverter 108c is supplied, and the phase output signal Wlout ′ and the output of the AND gate 104. A second AND gate 108b and a fourth OR gate 108d for outputting a logical sum of the first and second AND gates 108a and 108b are provided.
[0191]
The PWM synthesis circuit 92 is supplied with the phase output signal Wuout ′, the first AND gate 109a to which the output of the AND gate 104 inverted by the inverter 109c is supplied, and the phase output signal Uuout ′ and the output of the AND gate 102. It has a second AND gate 109b and a fifth OR gate 109d for outputting the logical sum of the first and second AND gates 109a and 109b.
[0192]
The PWM synthesis circuit 92 is supplied with the phase output signal Wlout ′, the first AND gate 110a to which the output of the AND gate 104 inverted by the inverter 110c is supplied, and the phase output signal Ulout ′ and the output of the AND gate 102. It has a second AND gate 110b and a sixth OR gate 110d that outputs the logical sum of the first and second AND gates 110a and 110b.
[0193]
Further, the PWM synthesis circuit 92 is supplied with an OUT-ON / OFF signal for switching the switch of the three-phase motor 1, an output of the first OR gate 105d, an AND gate 111 that outputs a control signal Uu, and an OUT- The ON / OFF signal, the output of the second OR gate 106d, the pulse width modulation signal (PWM Carrier) is supplied, the AND gate 112 that outputs the control signal Ul, the OUT-ON / OFF signal, the third OR gate 107d Is supplied, and the AND gate 113 that outputs the control signal Vu, the OUT-ON / OFF signal, the output of the fourth OR gate 108d, and the pulse width modulation signal (PWM Carrier) are supplied and the control signal Vl is output. AND gate 114, OUT-ON / OFF signal, output of the fifth OR gate 109d AND gate 115 that outputs the control signal Wu, the OUT-ON / OFF signal, the output of the sixth OR gate 110d, and the pulse width modulation signal (PWM Carrier) are supplied to output the control signal Wl. And an AND gate 116.
[0194]
The PWM synthesis circuit 92 configured as described above synthesizes a pulse width modulation signal (PWM Carrier) as shown in FIGS. 31A and 31B with the phase output signal and supplies it to the driver 7. Further, the PWM synthesis circuit 92 synthesizes a pulse width modulation signal (PWM Carrier) and, at the switching edge, synthesizes an angle signal (ANGLE) signal as shown in FIG. When the edge rises, control signals Uu, Ul, Vu, Vl, Wu, and Wl with rising slopes are generated as shown in FIG. Further, when the edge falls, control signals Uu, Ul, Vu, Vl, Wu, Wl having a falling slope as shown in FIG. 31 (e) are generated.
[0195]
As described above, the PWM synthesis circuit 92 can remove acoustic noise and kickback noise by smoothly switching the phase coils of the three-phase motor 1.
[0196]
In the configuration of the PWM synthesizing circuit 92 shown in FIG. 30, a case is shown in which both the rising edge and the falling edge of the switching of the coil phase are inclined. For example, the purpose of removing kickback noise 32, the inverters 105c, 106c, 107c, 108c, 109c, 110c and the AND gates 105a, 106a, 107a, 108a, 109a, 110a are removed and the OR gates 105d, 106d, 107d are directly connected as shown in FIG. , 108d, 109d, and 110d may be supplied with phase output signals Uuout ′, Ulout ′, Vuout ′, Vlout ′, Wuout ′, and Wlout ′ so that only the falling edges are inclined.
[0197]
As described above, in the signal processing unit 6, after the counter electromotive voltage detection logic 21 detects the CompOut signal, the main clock is counted 7 times to generate the timing clock, so that the PWM signal is immediately turned on or off. In the unstable output state, the counter electromotive voltage is not detected, and the counter electromotive voltage is detected in a stable state.
[0198]
In particular, the PWM signal generated by the PWM signal generation unit 4 varies the ON region for 16 clocks of the main clock from 0 to 16 clocks, so that it can be detected at least once in one cycle of the PWM signal. If there is no switching of the PWM signal, the back electromotive voltage can be detected every 8 clocks thereafter.
[0199]
In the signal processing unit 6, if the back electromotive voltage detection logic 21 does not receive the same information twice in succession, the data is not sufficient and the previous data is retained. As a result, the signal processing unit 6 can remove kickback noise and switching noise generated in PWM switching.
[0200]
In the signal processing unit 6, the counter electromotive voltage detection logic 21 feeds back the energization pattern of each phase coil of the three-phase motor 1 and detects only the phase voltage of the phase coil that can detect the counter electromotive force. Since the phase voltage of the phase is detected only in the portion where the upper layer coil and the lower layer coil are off, it can be made strong against noise.
[0201]
In the signal processing unit 6, the phase coil switching edge detected by the edge detection logic 22 is detected, and the angle generation logic 26 generates an angle signal (ANGLE) signal based on the detected edge. ) The PWM synthesis circuit 92 smoothly switches the phase coil of the three-phase motor 1 based on the signal, so that acoustic noise and kickback noise can be removed.
[0202]
Next, the driver 7 shown in FIG. 1 will be described. As shown in FIG. 33, the driver 7 includes buffer amplifiers 121a to 121f for amplifying the first to sixth control signals Uu to Wl from the output controller 30 of the signal processing unit 6 with predetermined gains, and each buffer. And resistors 122a to 122f provided at output stages of the amplifiers 121a to 121f.
[0203]
The driver 7 also includes an upper layer transistor 123a for the first control signal Uu having a base connected to the resistor 122a, a lower layer transistor 123b for the second control signal Ul having a base connected to the resistor 122b, and a resistor 122c. The base layer is connected to the upper layer transistor 124a for the third control signal Vu, the base layer is connected to the resistor 122d, and the base layer is connected to the resistor 122e. The upper layer transistor 125a for the control signal Wu and the lower layer transistor 125b for the sixth control signal Wl whose base is connected to the resistor 122f.
[0204]
The collectors of the upper-layer transistors 123a, 124a, and 125a are connected to the power supply voltage VCC, and the lower-layer transistors 123b, 124b, and 125b are supplied to the phase coils 1U, 1V, and 1W of the three-phase motor 1, respectively. Each is connected to a current detection resistor RS of the drive current detector 8 for detecting a value. Each emitter of each upper layer transistor 123a, 124a, 125a is connected to the collector of each lower layer transistor 123b, 124b, 125b, and each emitter of each upper layer transistor 123a, 124a, 125a, and each lower layer transistor 123b, Drive voltages supplied to the respective phase coils 1U, 1V, 1W of the three-phase motor 1 are taken out from the connection points of the collectors 124b, 125b.
[0205]
When the first to sixth control signals Uu, Ul, Vu, Vl, Wu, Wl are supplied to the driver 7 having such a configuration, the upper layer transistors 123a, 124a, 125a and the lower layers are correspondingly supplied. The transistors 123b, 124b, and 125b are on / off controlled, respectively. The power supply voltage VCC corresponding to the on / off control of each upper layer transistor 123a, 124a, 125a and each lower layer transistor 123b, 124b, 125b is taken out from each connection point, and these are shown as drive voltages U, V, W in FIG. Are supplied to the respective phase coils 1U, 1V, 1W of the three-phase motor 1 shown in FIG.
[0206]
Next, as shown in FIG. 34, the drive current detection unit 8 includes a current detection resistor RS to which the drive current of the driver 7 is supplied, and an amplifier 131 that detects a voltage across the current detection resistor RS. Further, the drive current detection unit 8 is based on the CompOut signal from the switching detection unit 9, the switching element 132 that switches the output voltage of the amplifier 131, and the integration in which the output voltage of the amplifier 131 is supplied via the switching element 132. And the device 133.
[0207]
In the drive current detector 8 having such a configuration, the drive currents respectively supplied to the phase coils 1U, 1V, and 1W are detected in the form of voltages by the current detection resistors RS. The drive voltage detected by the current detection resistor RS is amplified and impedance-converted by the amplifier 131, and is supplied to the integrator 133 composed of a resistor and a capacitor via the switching element 132.
[0208]
At this time, PWM-driven current flows intermittently through the current detection resistor RS. The switching element 132 switches the voltage supplied to the integrator 133 based on the CompOut signal. That is, only the voltage of the current detection resistor RS generated when the PWM signal supplied to the driver 7 is ON is supplied to the integrator 133. The integrator 133 outputs a driving current detection voltage (Current Sense).
[0209]
Further, since the integrator 133 functions as a sample hold circuit when the CompOut signal is turned off, the integrator 133 is held with a predetermined time constant in order to approach the state where the current actually flows through the three-phase motor 1. Decrease the voltage value gradually.
[0210]
That is, since the drive current detection unit 8 detects the current flowing through the three-phase motor 1 that is performing direct PWM drive, when the driver 7 is ON, the drive current detection unit 8 performs normal current detection to detect the drive current detection voltage (Current Sense). ) Is output. When the signal is turned off, sampling is performed by the integrator 133 to hold the output, and a drive current detection voltage (Current Sense) having the same value as that when the signal is turned on is output.
[0211]
By using such a drive current detection unit 8, when the rotation servo signal becomes a negative input in order to reduce the rotation speed, the drive logic for driving the upper layer and lower layer transistors is completely set in the output logic 24 described above. It can be reversed and controlled. Therefore, as shown in FIG. 35, the drive current detector 8 eliminates the discontinuous portion that occurs when the motor torque is switched between normal and reverse, and can ensure the linearity of the motor torque.
[0212]
Further, since the integrator 133 samples and holds with a predetermined time constant, accurate current driving can be performed.
[0213]
Finally, in the description of the above-described embodiment, the motor drive device 10 is the motor drive device 10 that drives and controls the three-phase motor 1, but this may be, for example, a two-phase motor, a four-phase motor, or the like. The present invention can be applied to a multi-phase motor rotational drive device. The main clock is 500 KHz, and it has been described with specific numerical values such as 16 counts to generate various timing signals. However, this can be changed according to the design. Of course, various modifications can be made without departing from the technical idea of the present invention.
[0214]
【The invention's effect】
In the motor drive device according to the present invention, the timing control means controls the detection of the back electromotive voltage at a timing immediately before ½ of the period of the PWM signal from the time when the PWM signal is switched, and the PWM signal Cycle After detecting the back electromotive voltage at the timing just before 1/2 of the PWM signal until the PWM signal is switched Cycle The drive means controls the detection of the counter electromotive voltage at 1/2 of the timing, and drives the motor based on the PWM signal by supplying drive current to each phase coil of the motor. As a result, noise when detecting the back electromotive voltage can be removed, and the motor can be driven stably. That is, the counter electromotive voltage is not detected in an unstable output state immediately after the PWM signal is turned on or off, and the counter electromotive voltage can be detected in a stable state.
[0215]
Also, Back electromotive voltage detection means The back electromotive force of the same phase coil The same data When detected According to the detected back electromotive force By generating the PWM control signal, it is possible to remove kickback noise and switching noise generated in PWM switching, and the motor can be driven stably.
[0217]
In addition, when switching the PWM control signal for driving each phase coil, the motor driving device according to the present invention smoothly changes the duty of the PWM control signal before and after the switching edge, thereby changing acoustic noise and kickback noise. The motor can be driven stably.
[Brief description of the drawings]
FIG. 1 is a block diagram of a motor drive device according to an embodiment of the present invention.
FIG. 2 is a time chart for explaining operations during normal rotation of the motor drive device according to the embodiment of the present invention;
FIG. 3 is a circuit diagram of a double-wave rectifier circuit of the motor drive device according to the embodiment of the present invention.
FIG. 4 is a time chart illustrating a PWM signal generated by a PWM signal generation unit of the motor drive device according to the embodiment of the present invention.
FIG. 5 is a circuit diagram of a comparison unit of the motor drive device according to the embodiment of the present invention.
FIG. 6 is a time chart for explaining operations during normal rotation of the motor drive device according to the embodiment of the present invention;
FIG. 7 is a circuit diagram of a switching detection unit of the motor drive device according to the embodiment of the present invention.
FIG. 8 is a block diagram of a signal processing unit of the motor drive device according to the embodiment of the present invention.
FIG. 9 is a block diagram of back electromotive voltage detection logic of the signal processing unit.
FIG. 10 is a circuit diagram of a timing controller of the back electromotive voltage detection logic.
FIG. 11 is a timing chart for explaining a timing clock generated by the timing controller;
FIG. 12 is a circuit diagram of a first noise mask circuit of the back electromotive voltage detection logic;
FIG. 13 is a circuit diagram of a second noise mask circuit of the back electromotive voltage detection logic;
FIG. 14 is a block diagram of edge detection logic of the signal processing unit.
FIG. 15 is a circuit diagram of an EX-OR circuit of the edge detection logic.
FIG. 16 is a circuit diagram of a switching edge detection circuit of the edge detection logic.
FIG. 17 is a circuit diagram of a time delay circuit of the edge detection logic.
FIG. 18 is a time chart for explaining signals generated by the edge detection logic.
FIG. 19 is a circuit diagram of a start logic of the signal processing unit.
FIG. 20 is a circuit diagram of an angle generation logic of the signal processing unit.
FIG. 21 is a time chart for explaining an angle signal (ANGLE) generated by the angle generation logic;
FIG. 22 is a block diagram of a PLL logic of the signal processing unit.
FIG. 23 is a block diagram of three-phase logic of the signal processing unit.
FIG. 24 is a circuit diagram of the mask circuit of the three-phase logic.
FIG. 25 is a circuit diagram of the phase generation circuit of the three-phase logic.
FIG. 26 is a circuit diagram of the decoding circuit of the three-phase logic.
FIG. 27 is a circuit diagram of the edge mask generation circuit of the three-phase logic.
FIG. 28 is a block diagram of an inverting circuit of output logic of the signal processing unit.
FIG. 29 is a circuit diagram of an inversion circuit of the output logic.
FIG. 30 is a circuit diagram of a PWM synthesis circuit of the output logic.
FIG. 31 is a time chart for explaining PWM signals and the like synthesized by the PWM synthesis circuit;
FIG. 32 is a circuit diagram of a PWM synthesis circuit showing another circuit example of the output logic.
FIG. 33 is a circuit diagram of a driver of the motor drive device according to the embodiment of the present invention.
FIG. 34 is a circuit diagram of a drive current detection unit of the motor drive device according to the embodiment of the present invention.
FIG. 35 is a characteristic diagram for explaining a relationship between a rotation servo signal and torque of the motor drive device according to the embodiment of the present invention.
FIG. 36 is a block diagram of a conventional motor driving device.
FIG. 37 is a circuit diagram of a filter and a comparison unit provided in a conventional motor drive device.
FIG. 38 is a time chart for explaining the operation of the conventional motor drive device during normal rotation.
FIG. 39 is a circuit diagram of a voltage converter provided in a conventional motor drive device.
FIG. 40 is a circuit diagram of a driver provided in a conventional motor drive device.
FIG. 41 is a time chart for explaining the reason why direct PWM drive cannot be performed in a conventional motor drive device.
[Explanation of symbols]
DESCRIPTION OF SYMBOLS 1 3 phase motor, 2 double wave rectification part, 3 comparator, 4 PWM signal generation part, 5 comparison part, 6 signal processing part, 7 driver, 8 drive current detection part, 9 switching detection part, 10 motor drive device

Claims (1)

パルス幅変調(PWM)信号に基づきスイッチングしたドライブ電流を直接モータの各相コイルに供給して、このモータを駆動するモータの駆動装置において、
モータの回転を制御するモータの回転制御信号に基づいて、PWM信号を生成するPWM信号生成手段と、
モータの各相コイルに生じる逆起電圧を検出する逆起電圧検出手段と、
上記逆起電圧を検出するタイミングを制御するタイミングコントロール手段と、
上記逆起電圧検出手段により検出した逆起電圧と上記PWM信号に応じて、各相コイルを駆動するPWMコントロール信号を生成するPWM出力手段と、
上記PWMコントロール信号に基づいてドライブ電流を生成し、上記モータの各相コイルにドライブ電流を供給するドライブ手段と、
上記逆起電圧検出手段により検出した逆起電圧に基づき、各相コイルに生じる逆起電圧の切り替わりエッジを検出するエッジ検出手段を備え、
上記タイミングコントロール手段は、PWM信号の切り替えがあった時点からPWM信号の周期の1/2の直前のタイミングで逆起電圧の検出を制御し、PWM信号の周期の1/2直前のタイミングで逆起電圧を検出した後PWM信号の切り替えがあるまではPWM信号の周期の1/2のタイミングで逆起電圧の検出を制御し、
上記PWM出力手段は、上記逆起電圧検出手段が2回以上連続して同一相コイルの逆起電圧の同一データを検出したときに、検出した逆起電圧に応じたPWMコントロール信号を生成し、
上記PWM出力手段は、各相コイルを駆動するPWMコントロール信号を切り替える場合に、その切り替えエッジの前後のPWMコントロール信号のデューティを滑らかに変化させることを特徴とするモータ駆動装置。
In a motor driving apparatus for driving a motor by supplying a drive current switched based on a pulse width modulation (PWM) signal directly to each phase coil of the motor,
PWM signal generation means for generating a PWM signal based on a motor rotation control signal for controlling the rotation of the motor;
Back electromotive force detection means for detecting back electromotive voltage generated in each phase coil of the motor;
Timing control means for controlling the timing of detecting the back electromotive voltage;
PWM output means for generating a PWM control signal for driving each phase coil according to the back electromotive voltage detected by the back electromotive voltage detection means and the PWM signal;
Drive means for generating a drive current based on the PWM control signal and supplying the drive current to each phase coil of the motor;
Based on the back electromotive voltage detected by the back electromotive voltage detection means, the edge detection means for detecting the switching edge of the back electromotive voltage generated in each phase coil,
The timing control means controls the detection of the back electromotive voltage at a timing immediately before ½ of the period of the PWM signal from the time when the PWM signal is switched, and reverses at the timing immediately before ½ of the period of the PWM signal. Until the PWM signal is switched after detecting the electromotive voltage, the detection of the counter electromotive voltage is controlled at a timing that is 1/2 of the cycle of the PWM signal.
The PWM output means generates a PWM control signal corresponding to the detected counter electromotive voltage when the counter electromotive voltage detection means detects the same data of the counter electromotive voltage of the same phase coil continuously twice or more,
When the PWM control signal for driving each phase coil is switched, the PWM output means smoothly changes the duty of the PWM control signal before and after the switching edge.
JP19746997A 1997-04-14 1997-07-23 Motor drive device Expired - Fee Related JP3896644B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP19746997A JP3896644B2 (en) 1997-04-14 1997-07-23 Motor drive device

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP9606297 1997-04-14
JP9-96062 1997-04-14
JP19746997A JP3896644B2 (en) 1997-04-14 1997-07-23 Motor drive device

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2006164564A Division JP4075944B2 (en) 1997-04-14 2006-06-14 Motor drive device

Publications (3)

Publication Number Publication Date
JPH114595A JPH114595A (en) 1999-01-06
JPH114595A5 JPH114595A5 (en) 2004-11-11
JP3896644B2 true JP3896644B2 (en) 2007-03-22

Family

ID=26437308

Family Applications (1)

Application Number Title Priority Date Filing Date
JP19746997A Expired - Fee Related JP3896644B2 (en) 1997-04-14 1997-07-23 Motor drive device

Country Status (1)

Country Link
JP (1) JP3896644B2 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4001562B2 (en) 2003-04-04 2007-10-31 松下電器産業株式会社 Motor and disk device
US7768221B2 (en) * 2006-06-02 2010-08-03 Power Efficiency Corporation Method, system, and apparatus for controlling an electric motor
KR100885683B1 (en) 2007-04-04 2009-02-26 (주)모토닉 AlPM measuring device and method of brushed DC motor
JP5850073B2 (en) * 2014-03-18 2016-02-03 ダイキン工業株式会社 Power converter
CN105100608B (en) * 2015-07-03 2018-07-13 浙江宇视科技有限公司 A kind of the core voltage adjusting method and device of intelligent camera

Also Published As

Publication number Publication date
JPH114595A (en) 1999-01-06

Similar Documents

Publication Publication Date Title
EP0557811B1 (en) Digital-analog driver for brushless D.C. spindle motor
KR100433742B1 (en) Appratus for driving a sensorless motor
JP3912190B2 (en) Brushless motor drive device and motor using the same
KR100755532B1 (en) Method and apparatus for driving multiphase, brushless DC motor
KR101322985B1 (en) Motor drive circuit, method, and disc device using the same
KR100762020B1 (en) Method and apparatus for synchronizing pwm sinusoidal drive to a dc motor
JP2002119081A (en) Brushless motor drive circuit
JP3874482B2 (en) 3-phase brushless motor drive circuit and drive IC
CN101411054B (en) Motor drive circuit, method, and disc device using the same
KR100885086B1 (en) Magnetic disk storage device
JP3151758B2 (en) Sensorless motor drive circuit
JP3896644B2 (en) Motor drive device
JP3351131B2 (en) Sensorless motor drive circuit
JP2000504560A (en) Drive signal generator for multi-phase DC motor, lock detector, drive and disk drive
JPH10243678A (en) Semiconductor integrated circuit for motor control
JP4075944B2 (en) Motor drive device
JPH08223970A (en) Motor drive
JP2003111485A (en) Drive control device for brushless motor
JP3348296B2 (en) Drive device for sensorless motor
US20100201295A1 (en) Motor driving circuit and disc apparatus using the same
JP4677265B2 (en) Integrated circuit for motor drive
JP3548091B2 (en) Drive circuit for sensorless motor
JPH08223975A (en) Motor drive
JP2007267553A (en) Motor driving circuit, its method, and disk drive using it
JP4230743B2 (en) Motor drive device

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20051222

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060418

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060619

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20061211

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

Free format text: PAYMENT UNTIL: 20100105

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20110105

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20120105

Year of fee payment: 5

LAPS Cancellation because of no payment of annual fees