JP4093845B2 - Motor control device - Google Patents
Motor control device Download PDFInfo
- Publication number
- JP4093845B2 JP4093845B2 JP2002334575A JP2002334575A JP4093845B2 JP 4093845 B2 JP4093845 B2 JP 4093845B2 JP 2002334575 A JP2002334575 A JP 2002334575A JP 2002334575 A JP2002334575 A JP 2002334575A JP 4093845 B2 JP4093845 B2 JP 4093845B2
- Authority
- JP
- Japan
- Prior art keywords
- motor
- microcomputers
- microcomputer
- signal
- switching signal
- 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 - Lifetime
Links
Images
Landscapes
- Control Of Motors That Do Not Use Commutators (AREA)
- Control Of Electric Motors In General (AREA)
Description
【0001】
【発明の属する技術分野】
本発明は、複数のモータを複数のマイクロコンピュータで制御するモータ制御装置に関する。
【0002】
【従来の技術】
一般に、制御対象のモータの電流値を取り込み、制御対象のモータの駆動に用いるスイッチング信号を出力して制御対象のモータを制御するマイクロコンピュータを備えたモータ制御装置が知られている。
【0003】
この種のモータ制御装置において、スイッチング信号を出力する際には、モータのスイッチングノイズが発生し、このスイッチングノイズが、マイクロコンピュータに取り込まれる電流値に重畳することにより、モータの動作が不安定になるおそれが生じる。
【0004】
そこで、従来のモータ制御装置は、マイクロコンピュータの出力するスイッチング信号(PWM信号)の立ち上がり点及び立ち下がり点で、所定の期間受信した電流値をラッチし、スイッチングノイズの影響を回避している(例えば、特許文献1参照。)。
【0005】
【特許文献1】
特開2002−44982号公報(第3−7頁、第1図)
【0006】
【発明が解決しようとする課題】
しかしながら、制御対象のモータの電流値を取り込み、制御対象のモータの駆動に用いるスイッチング信号を出力して制御対象のモータを制御する上記マイクロコンピュータを複数備えたモータ制御装置により複数のモータを制御する場合、各マイクロコンピュータは、制御対象のモータの電流値取り込み時に、自己のマイクロコンピュータにより制御される制御対象のモータのスイッチングノイズの影響を回避することはできるが、他のマイクロコンピュータにより制御される制御対象外のモータにより輻射されるスイッチングノイズが、各マイクロコンピュータにおいて取り込まれる電流値に重畳し、制御対象のモータの動作が不安定になるおそれが生じる。
【0007】
本発明の目的は、上述の事情を考慮してなされたものであり、スイッチングノイズの影響を回避するモータ制御装置を提供することにある。
【0008】
【課題を解決するための手段】
上記課題を解決するため、モータの電流値を取り込み、前記モータの駆動に用いるスイッチング信号を出力して前記モータを制御するマイクロコンピュータを複数備えたモータ制御装置において、前記各マイクロコンピュータは、前記スイッチング信号を出力する出力ポートと、前記スイッチング信号を入力する入力ポートとを備え、これらポートを、スイッチング信号検出ラインに接続し、前記各マイクロコンピュータは、前記スイッチング信号検出ラインより前記スイッチング信号を検出していない場合、前記モータの電流値を取り込むようにしたことを特徴としている。
【0009】
また、モータの電流値を取り込み、前記モータの駆動に用いるスイッチング信号を出力して前記モータを制御するマイクロコンピュータを複数備えたモータ制御装置において、複数のマイクロコンピュータのうち、1つのマイクロコンピュータを主マイクロコンピュータとし、この主マイクロコンピュータは、当該主マイクロコンピュータ以外のマイクロコンピュータに同期信号を出力し、前記主マイクロコンピュータ以外のマイクロコンピュータは、前記同期信号に基づいて同期して前記スイッチング信号を出力すると共に、前記各マイクロコンピュータは、前記スイッチング信号を出力する出力ポートと、前記スイッチング信号を入力する入力ポートとを備え、これらポートを、スイッチング信号検出ラインに接続し、前記各マイクロコンピュータは、前記スイッチング信号検出ラインより前記スイッチング信号を検出していない場合、前記モータの電流値を取り込むようにしたことを特徴としている。
【0017】
【発明の実施の形態】
以下、本発明の実施の形態を、図面に基づき説明する。
【0018】
〔A〕第1の実施の形態
図1は、本発明に係るモータ制御装置の第1の実施の形態を示すブロック図である。
【0019】
図1中、1は、モータ制御装置である。モータ制御装置1は、複数(例えば、M個であり、Mは、2以上の整数。)のマイクロコンピュータ3−1、3−2、・・・、3−M(以下、「マイコン」という。)と、所定の周期でクロック信号を発生するクロック発生手段としてのクロック発生IC5とを有している。
【0020】
これらマイコン3−1、3−2、・・・、3−Mは、複数(例えば、N台であり、Nは、2以上の整数であり、例えば、N≧Mとする。)のモータ10−1、10−2、・・・、10−Nを制御するものである。モータ10−1、10−2、・・・、10−Nは、例えば、ブラシレスDCモータである。
【0021】
各マイコン3−1、3−2、・・・、3−Mは、少なくとも1台のモータを制御するものであり、例えば、1個のマイコン3−2で複数(例えば、2台)のモータ10−2及び10−3を制御する場合を含んでいる。
【0022】
つまり、マイコン3−1の制御対象のモータは、モータ10−1であり、マイコン3−2の制御対象のモータは、モータ10−2、10−3であり、マイコン3−Mの制御対象のモータは、モータ10−Nである。
【0023】
各マイコン3−1、3−2、・・・、3−Mは、実質的にCPU(不図示)を備えており、図示を省略したROM等の記録媒体に記録されている制御プログラムに基づいて制御対象のモータを制御する。
【0024】
本実施の形態において、各マイコン3−1、3−2、・・・、3−Mは、それぞれワンチップマイコンである。
【0025】
これらモータ10−1、10−2、・・・、10−Nには、それぞれ交流電源13−1、13−2、・・・、13−Nが整流回路12−1、12−2、・・・、12−N及びインバータ部11−1、11−2、・・・、11−Nを介して接続されており、整流回路12−1、12−2、・・・、12−Nは、交流電源13−1、13−2、・・・、13−Nにて印加される交流電圧を直流電圧に変換し、インバータ部11−1、11−2、・・・、11−Nは、直流電圧を所定の周波数と所定の交流電圧に変換してモータ10−1、10−2、・・・、10−Nへ電源供給する。これらインバータ部11−1、11−2、・・・、11−Nにて供給される交流電圧は、例えば、パルス幅変調(PWM)された擬似正弦波となる三相交流電圧である。このインバータ部11−1、11−2、・・・、11−Nによってモータ10−1、10−2、・・・、10−Nの回転数が制御される。
【0026】
インバータ部11−1、11−2、・・・、11−Nは、駆動部14−1、14−2、・・・、14−Nを介してマイコン3−1、3−2、・・・、3−Mのスイッチング信号SWを出力する出力ポート20−1、20−2、・・・、20−Mに接続されている。インバータ部11−1、11−2、・・・、11−Nは、複数のスイッチング素子(不図示)を有し、これら複数のスイッチング素子が駆動部14−1、14−2、・・・、14−Nを介してマイコン3−1、3−2、・・・、3−Mによりスイッチングされ、パルス幅変調された擬似正弦波となる三相交流電圧をモータ10−1、10−2、・・・、10−Nへ印加する。
【0027】
各マイコン3−1、3−2、・・・、3−Mは、例えば、インバータ部11−1、11−2、・・・、11−Nからモータ10−1、10−2、・・・、10−Nへ供給される三相交流電流のうち、二相の交流電流Iv及びIwを検出し、各制御対象のモータを駆動すべく、パルス幅変調されたスイッチング信号(PWM信号)SWを駆動部14−1、14−2、・・・、14−Nへ出力し、駆動部14−1、14−2、・・・、14−Nはスイッチング信号SWを増幅してインバータ部11−1、11−2、・・・、11−Nへ出力する。
【0028】
つまり、インバータ部11−1、11−2、・・・、11−Nは、マイコン3−1、3−2、・・・、3−Mの出力するスイッチング信号(PWM信号)SWに基づいてモータ10−1、10−2、・・・、10−Nを駆動する。
【0029】
各マイコン3−1、3−2、・・・、3−Mは、それぞれ電流検出部17−1、17−2、・・・、17−Nを備えている。電流検出部17−1、17−2、・・・、17−Nは、二相の交流電流値Iv及びIwを検出してA/D変換(analog to digital変換)する。つまり、各マイコン3−1、3−2、・・・、3−Mは、制御対象のモータの電流を検出する電流検出部17−1、17−2、・・・、17−Nを備えている。
【0030】
例えば、マイコン3−1は、制御対象のモータ10−1の電流を検出する電流検出部17−1を備えており、マイコン3−2は、制御対象のモータ10−2、10−3の電流を検出する電流検出部17−2、17−3を備えている。
【0031】
つまり、各マイコン3−1、3−2、・・・、3−Mは、複数のモータ10−1、10−2、・・・、10−Nのうち、制御対象のモータの電流値Iv、Iwを取り込み、制御対象のモータの駆動に用いるスイッチング信号SWを出力して制御対象のモータを制御する。
【0032】
各マイコン3−1、3−2、・・・、3−Mは、図2に示すように、電流検出部17にて検出された電流値を取り込む電流値取り込み部101と、制御対象のモータを所定の回転数にすべく、この取り込んだ電流値に基づいて電圧指令信号を生成する電圧指令信号生成部102と、所定周波数(例えば、10kHz)のキャリア信号(例えば、三角波のキャリア信号)を生成するキャリア信号生成部103と、電圧指令信号とキャリア信号とを比較してスイッチング信号(PWM信号)SWを生成するスイッチング信号生成部104とを備えている。
【0033】
各マイコン3−1、3−2、・・・、3−Mは、このスイッチング信号SWをインバータ部11−1、11−2、・・・、11−Nにおけるスイッチング素子(不図示)に出力してスイッチング素子をスイッチングしている。電圧指令信号生成部102は、取り込んだ電流値を目標電流値に追従するように電圧指令信号(例えば正弦波の電圧指令信号)を生成している。この目標電流値は、モータの目標回転数に基づいて演算される。
【0034】
従って、インバータ部11−1、11−2、・・・、11−Nは、変調信号である電圧指令信号とキャリア信号とを比較して得られるスイッチング信号SWによってスイッチング制御される。つまり、マイクロコンピュータ3−1、3−2、・・・、3−Mは、制御対象のモータへ出力される電流値を取り込み、変調信号である電圧指令信号とキャリア信号とを比較して得られるスイッチング信号SWを出力して制御対象のモータを制御する。
【0035】
三角波のキャリア信号は、正のピークと負のピークを有している。この三角波のキャリア信号と正弦波の電圧指令信号との比較の結果、スイッチング信号SWが生成される。このスイッチング信号SWは、キャリア信号の正のピークのタイミングを含む所定の幅に変調されたPWM信号である。
【0036】
つまり、スイッチング信号SWは、三角波のキャリア信号の正のピークと同期しており、各マイコン3−1、3−2、・・・、3−Mで、パルス幅が異なっても、同一の周期(三角波のキャリア信号の正のピークの周期)で出力される。
【0037】
これらマイコン3−1、3−2、・・・、3−Mは、同一基板上(不図示)に設けられ、それぞれ独立に対応する制御対象のモータを制御している。つまり、これらマイコン3−1、3−2、・・・、3−Mは、互いに近接して配置されている。
【0038】
一般に、図示は省略するが、モータのスイッチングノイズは、スイッチング信号に同期しており、モータの電流値を取り込む際にこのスイッチングノイズが発生すると、誤ったモータの電流値が取り込まれるおそれがある。これらモータのスイッチングノイズは、スイッチング信号が出力されたときに発生するものである。
【0039】
更に、複数のモータにおいて各マイコンは、制御対象のモータの電流値を取り込む際に、制御対象外のモータを制御するマイコンの出力するスイッチング信号に同期したスイッチングノイズが輻射されると、各マイコンにて取り込まれる電流値にスイッチングノイズが重畳するので、誤ったモータの電流値が取り込まれるおそれがある。
【0040】
つまり、制御対象のモータのみならず、制御対象外のモータのスイッチングノイズのタイミングを外して電流値を取り込む必要がある。
【0041】
本実施の形態において、各マイコン3−1、3−2、・・・、3−Mは、自己を含む他のマイコン3−1、3−2、・・・、3−Mのスイッチング信号SWの出力を外したタイミングで制御対象のモータの電流値Iv、Iwを取り込むようにしている。
【0042】
更に、各マイコン3−1、3−2、・・・、3−Mは、同期してスイッチング信号SWを出力するようにしている。
【0043】
本実施の形態で、各マイコン3−1、3−2、・・・、3−Mのスイッチング信号SWの出力が同期するというのは、各マイコン3−1、3−2、・・・、3−Mは、周期的な所定タイミング(三角波のキャリア信号の正のピークのタイミング)を含むパルス幅のスイッチング信号SWを出力することから、各マイコン3−1、3−2、・・・、3−Mにおいてスイッチング信号SWを出力するときの所定タイミングが同期することを意味する。各マイコン3−1、3−2、・・・、3−Mで規定されている所定タイミングは、各マイコン3−1、3−2、・・・、3−M間で同一の周期とする。
【0044】
本実施の形態では、各マイコン3−1、3−2、・・・、3−Mにおいて生成される三角波のキャリア信号の位相を同期させる手段を備えている。
【0045】
各マイコン3−1、3−2、・・・、3−Mにおいて生成される三角波のキャリア信号の位相を同期させることで、各マイコン3−1、3−2、・・・、3−Mの出力するスイッチング信号SWが同期し、各モータ10−1、10−2、・・・、10−Nにより発生するスイッチングノイズのタイミングが略揃うので、電流値Iv、Iwを取り込む際にこのスイッチングノイズのタイミングを回避することが容易となる。
【0046】
具体的に、各マイコン3−1、3−2、・・・、3−Mにおいて生成される三角波のキャリア信号の位相を同期させる手段として、各マイコン3−1、3−2、・・・、3−Mには、クロック信号を入力するクロック信号入力ポート24−1、24−2、・・・、24−Mが備えられており、クロック発生IC5と、各マイコン3−1、3−2、・・・、3−Mのクロック信号入力ポート24−1、24−2、・・・、24−Mとがクロック信号ライン25に接続されている。このような構成で、クロック発生IC5は、クロック信号ライン25にクロック信号を出力し、各マイコン3−1、3−2、・・・、3−Mは、クロック信号入力ポート24−1、24−2、・・・、24−Mからクロック信号を入力している。
【0047】
そして、各マイコン3−1、3−2、・・・、3−Mは、クロック発生IC5の出力するクロック信号に基づいて同期して同位相のキャリア信号を生成してスイッチング信号SWを出力するようにしている。
【0048】
このクロック信号を入力したマイコン3−1、3−2、・・・、3−Mは、キャリア信号の位相を、所定角度(例えば、0°)に調整する。
【0049】
つまり、マイコン3−1、3−2、・・・、3−Mにおいて生成される三角波のキャリア信号の位相を、クロック発生IC5の出力するクロック信号に基づいて調整することで、各マイコン3−1、3−2、・・・、3−Mにおけるキャリア信号が同期し、各マイコン3−1、3−2、・・・、3−Mの出力するスイッチング信号SWの同期が図れる。
【0050】
より具体的に、各マイコン3−1、3−2、・・・、3−Mには、クロック発生IC5の出力するクロック信号に基づいてキャリア信号の位相を所定角度(例えば、0°)に調整する機能(第1調整手段)が備えられている。このクロック信号に基づいてキャリア信号の位相が調整されるので、各マイコン3−1、3−2、・・・、3−Mでキャリア信号の位相が揃い、スイッチング信号SWが同期する。第1調整手段は、実質的には、各マイコン3−1、3−2、・・・、3−Mにおける図示を省略したROM等に記録されている制御プログラムと、この制御プログラムに基づいて制御を行う図示を省略したCPUとで機能するものである。
【0051】
各マイコン3−1、3−2、・・・、3−Mの出力するスイッチング信号SWを同期させることで、各モータ10−1、10−2、・・・、10−Nにより発生するスイッチングノイズのタイミングが略揃うので、電流値Iv、Iwを取り込む際にこのスイッチングノイズのタイミングを回避することが容易となる。
【0052】
各マイコン3−1、3−2、・・・、3−Mは、図3に示すように、スイッチング信号SWを出力する出力ポート20−1、20−2、・・・、20−Nと、スイッチング信号SWを入力する入力ポート21−1、21−2、・・・、21−Mとを備えている。例えば、マイコン3−1は、モータ10−1の駆動に用いるスイッチング信号SWを出力する出力ポート20−1と、スイッチング信号SWを入力する入力ポート21−1とを備え、マイコン3−2は、モータ10−2、10−3の制御に用いるスイッチング信号SWを出力する出力ポート20−2、20−3と、スイッチング信号SWを入力する入力ポート21−2とを備えている。
【0053】
つまり、各マイコン3−1、3−2、・・・、3−Mは、制御対象のモータの駆動に用いるスイッチング信号SWを出力する出力ポート20−1、20−2、・・・、20−Nを備えている。
【0054】
これら出力ポート20−1、20−2、・・・、20−N及び入力ポート21−1、21−2、・・・、21−Mは、スイッチング信号検出ライン22に接続されており、各マイコン3−1、3−2、・・・、3−Mは、スイッチング信号SWを駆動部14−1、14−2、・・・、14−N(即ちインバータ部11−1、11−2、・・・、11−N)に出力する際に、同スイッチング信号SWを出力ポート20−1、20−2、・・・、20−Nからスイッチング信号検出ライン22に出力するようにしている。そして、各マイコン3−1、3−2、・・・、3−Mは、入力ポート21−1、21−2、・・・、21−Mからスイッチング信号検出ライン22に出力されているスイッチング信号SWを入力する。
【0055】
以下、図4に示す各マイコン3−1、3−2、・・・、3−Mの制御対象のモータの電流値Iv、Iwを取り込む処理動作を示すフローチャートを参照しながら説明する。
【0056】
各マイコン3−1、3−2、・・・、3−Mは、まず、電流検出部17−1、17−2、・・・、17−Nで制御対象のモータの電流値Iv、Iwを検出し、A/D変換の処理を行う(ステップS1)。
【0057】
次いで、各マイコン3−1、3−2、・・・、3−Mは、入力ポート21−1、21−2、・・・、21−Mからスイッチング信号SWを検出したか否かを判断し(ステップS2;スイッチング信号検出手段)、スイッチング信号SWを検出していれば、電流値Iv、Iwは取り込まれず、ステップS1の処理に戻り、スイッチング信号SWを検出していなければ、電流検出部17−1、17−2、・・・、17−NでA/D変換した電流値Iv、Iwを取り込む(ステップS3;電流値取り込み手段)。
【0058】
これらステップS2、S3により、各マイコン3−1、3−2、・・・、3−Mは、自己を含む他のマイコン3−1、3−2、・・・、3−Mのスイッチング信号SWの出力を外したタイミングで制御対象のモータの電流値Iv、Iwを取り込むことができる。更に、各マイコン3−1、3−2、・・・、3−Mのスイッチング信号SWの出力を同期させているので、スイッチング信号SWの出力と電流値Iv、Iwの取り込みのタイミングとの相関関係が各マイコン3−1、3−2、・・・、3−Mで同一条件となる。
【0059】
以上、第1の実施の形態によれば、各マイコン3−1、3−2、・・・、3−Mは、自己を含む他のマイコン3−1、3−2、・・・、3−Mのスイッチング信号SWの出力を外したタイミングで制御対象のモータの電流値Iv、Iwを取り込むようにしたことから、電流値Iv、Iwを取り込む際に、制御対象のモータのみならず制御対象外のモータにより発生するスイッチングノイズが電流値Iv、Iwに重畳するのを防止することができるので、スイッチングノイズの影響を回避することができる。
【0060】
また、第1の実施の形態によれば、各マイコン3−1、3−2、・・・、3−Mは、自己を含む他のマイコン3−1、3−2、・・・、3−Mにおける同一周波数のキャリア信号を生成するとともに、各マイコン3−1、3−2、・・・、3−Mにおけるキャリア信号の位相を同期するようにしたことから、各マイコン3−1、3−2、・・・、3−Mのスイッチング信号SWの出力が同期するので、各マイコン3−1、3−2、・・・、3−Mは、自己を含む他のマイコン3−1、3−2、・・・、3−Mにより出力されるスイッチング信号SWの出力を外したタイミングで制御対象のモータの電流値Iv、Iwを取り込むのが容易となり、スイッチング信号SWが出力されるときに発生するスイッチングノイズの影響をより効果的に回避することができる。
【0061】
また、第1の実施の形態によれば、各マイコン3−1、3−2、・・・、3−Mは、クロック発生IC5の出力するクロック信号に基づいてキャリア信号の位相を所定角度に調整する第1調整手段を備えたことから、各マイコン3−1、3−2、・・・、3−Mにより生成されるキャリア信号の位相が揃うので(即ち、キャリア信号が同期するので)、スイッチング信号SWの出力が同期し、自己を含む他のマイコン3−1、3−2、・・・、3−Mにより出力されるスイッチング信号SWの出力を外したタイミングで制御対象のモータの電流値Iv、Iwを取り込むのが容易となり、スイッチング信号SWが出力されるときに発生するスイッチングノイズの影響をより効果的に回避することができる。
【0062】
また、第1の実施の形態によれば、各マイコン3−1、3−2、・・・、3−Mは、スイッチング信号検出ライン22におけるスイッチング信号SWを検出したか否かを判断するスイッチング信号検出手段と、スイッチング信号SWを検出しなければ、電流値Iv、Iwを取り込む電流値取り込み手段とを備えたことから、電流値Iv、Iwを取り込む際に、制御対象のモータのみならず制御対象外のモータにより発生するスイッチングノイズが電流値Iv、Iwに重畳するのを防止することができるので、スイッチングノイズの影響を回避することができる。更に、スイッチング信号SWを同期させれば、各モータ10−1、10−2、・・・、10−Nにより発生するスイッチングノイズのタイミングが略揃うので、電流値Iv、Iwを取り込む際にこのスイッチングノイズのタイミングを回避することが容易となり、スイッチング信号SWが出力されるときに発生するスイッチングノイズの影響をより効果的に回避することができる。
【0063】
〔B〕第2の実施の形態
図5は、本発明に係るモータ制御装置の第2の実施の形態を示すブロック図である。この第2の実施の形態において、第1の実施の形態と同様な部分は、同一符号を付して省略する。第2の実施の形態は、第1の実施の形態における図1が異なるものである。
【0064】
図5において、モータ制御装置51は、複数のマイコン3−1、3−2、・・・、3−Mを備えている。複数のマイコン3−1、3−2、・・・、3−Mのうち、例えば、マイコン3−1が主マイクロコンピュータであり、主マイクロコンピュータであるマイコン3−1は、マイコン3−1以外の各マイコン3−2、・・・、3−Mに同期信号を出力し、主マイクロコンピュータ以外のマイクロコンピュータであるマイコン3−2、・・・、及び3−Mは、同期信号に基づいて同期してスイッチング信号SWを出力するようにしている。
【0065】
つまり、各マイコン3−1、3−2、・・・、3−Mにおいて生成される三角波のキャリア信号の位相を同期させる手段を備えている。
【0066】
具体的に、主マイクロコンピュータであるマイコン3−1は、同期信号を出力する同期信号出力ポート30を備え、主マイクロコンピュータ以外のマイクロコンピュータであるマイコン3−2、・・・、3−Mは、同期信号を入力する同期信号入力ポート31−2、・・・、31−Mを備えている。
【0067】
マイコン3−1の同期信号出力ポート30及びマイコン3−2、・・・、3−Mの同期信号入力ポート31−2、・・・、31−Mは、同期信号ライン32に接続されている。
【0068】
マイコン3−1は、同期信号出力ポート30から同期信号ライン32に同期信号を出力し、マイコン3−2、・・・、3−Mは、同期信号入力ポート31−2、・・・、31−Mから同期信号ライン32に出力された同期信号を入力する。同期信号を出力したマイコン3−1は、この出力した同期信号に基づいてキャリア信号の位相を所定角度(例えば、0°)に調整する機能(第2調整手段)を備え、更に、マイコン3−2、・・・、3−Mは、入力した同期信号に基づいてキャリア信号の位相を所定角度(例えば、0°)に調整する機能(第3調整手段)を備えている。この同期信号に基づいてキャリア信号の位相が調整されるので、各マイコン3−1、3−2、・・・、3−Mでキャリア信号の位相が揃い、スイッチング信号SWの出力が同期する。
【0069】
第2調整手段は、実質的には、マイコン3−1における図示を省略したROM等に記録されている制御プログラムと、この制御プログラムに基づいて制御を行う図示を省略したCPUとで機能するものであり、また、第3調整手段は、実質的には、マイコン3−2、・・・、3−Mにおける図示を省略したROM等に記録されている制御プログラムと、この制御プログラムに基づいて制御を行う図示を省略したCPUとで機能するものである。
【0070】
以上、第2の実施の形態によれば、第1の実施の形態に示す効果を奏する他、主マイクロコンピュータであるマイコン3−1は、出力した同期信号に基づいてキャリア信号の位相を所定角度(例えば、0°)に調整する第2調整手段を備え、主マイクロコンピュータ以外のマイクロコンピュータであるマイコン3−2、・・・、3−Mは、入力した同期信号に基づいてキャリア信号の位相を所定角度(例えば、0°)に調整する第3調整手段を備えたことから、各マイコン3−1、3−2、・・・、3−Mにより生成されるキャリア信号の位相が揃うので(即ち、キャリア信号が同期するので)、スイッチング信号SWの出力が同期し、各マイコン3−1、3−2、・・・、3−Mにより出力されるスイッチング信号SWの出力を外したタイミングで制御対象のモータの電流値Iv、Iwを取り込むのが容易となり、スイッチング信号SWが出力されるときに発生するスイッチングノイズの影響をより効果的に回避することができる。
【0071】
〔C〕第3の実施の形態
図6は、本発明に係るモータ制御装置の第3の実施の形態を示すブロック図である。この第3の実施の形態において、第1及び第2の実施の形態と同様な部分は、同一符号を付して省略する。第3の実施の形態は、第1の実施の形態における図1が異なり、第2の実施の形態における図5が異なるものである。
【0072】
図6において、モータ制御装置81は、複数のマイコン3−1、3−2、・・・、3−Mを備えている。各マイコン3−1、3−2、・・・、3−Mは、互いに異なる周期でスイッチング信号SWを出力するようにしている。
【0073】
つまり、各マイコン3−1、3−2、・・・、3−Mは、互いに異なる周波数のキャリア信号を生成している。
【0074】
例えば、マイコン3−1は、例えば、10[kHz]の三角波のキャリア信号を生成し、マイコン3−2は、例えば、9.8[kHz]の三角波のキャリア信号を生成し、マイコン3−Mは、例えば、9[kHz]の三角波のキャリア信号を生成して、互いに異なる周波数のキャリア信号となるようにしている。
【0075】
具体的に、各マイコン3−1、3−2、・・・、3−Mは、互いに異なる周波数のキャリア信号を生成するように設定される。
【0076】
例えば、複数のマイコン3−1、3−2、・・・、3−Mのうち、1つのマイコン(例えば、マイコン3−1)を主マイクロコンピュータとし、この主マイクロコンピュータ3−1は、各マイコン3−1、3−2、・・・、3−Mにより生成されるキャリア信号を互いに異なる周波数に設定する。
【0077】
つまり、主マイクロコンピュータであるマイコン3−1は、キャリア信号の周波数を設定するための周波数設定信号を出力する周波数設定出力ポート40を備え、主マイクロコンピュータ以外のマイクロコンピュータであるマイコン3−2、・・・、3−Mは、キャリア信号の周波数を設定するための周波数設定信号を入力する周波数設定入力ポート41−2、・・・、41−Mを備えている。そして、マイコン3−1の周波数設定出力ポート40と、マイコン3−2、・・・、3−Mの周波数設定入力ポート41−2、・・・、41−Mとは、周波数設定信号ライン42に接続されている。
【0078】
キャリア信号の周波数を設定するときは、例えば、モータ制御装置81の立ち上げ時にマイコン3−1により自己を含む他のマイコン3−1、3−2、・・・、3−Mのキャリア信号の周波数が設定される。
【0079】
具体的に、モータ制御装置81の立ち上げ時にマイコン3−1は、マイコン3−1自身のキャリア信号の周波数を設定するとともに、マイコン3−1の周波数設定出力ポート40からキャリア信号の周波数を設定するための周波数設定信号を、各マイコン3−2、・・・、3−Mに送信すべく、周波数設定信号ライン42に出力する。各マイコン3−2、・・・、3−Mは、周波数設定入力ポート41−2、・・・、41−Mから周波数設定信号ライン42に出力された周波数設定信号を入力し、各マイコン3−2、・・・、3−Mに対応したデータを参照して、各マイコン3−2、・・・、3−Mに対応するキャリア信号の周波数を設定する。
【0080】
このように、マイコン3−1、3−2、・・・、3−Mの生成するキャリア信号の周波数を相違させることで、スイッチング信号SWを出力する周期を相違させることができる。
【0081】
第3の実施の形態では、各マイコン3−1、3−2、・・・、3−Mは、自己のマイコン3−1、3−2、・・・、3−Mの出力するスイッチング信号SWの出力を外したタイミングで制御対象のモータの電流値Iv、Iwを取り込むようにしている。
【0082】
例えば、マイコン3−1は、マイコン3−1の出力するスイッチング信号SWの出力を外したタイミングで制御対象のモータの電流値Iv、Iwを取り込むようにしている。
【0083】
仮に、キャリア信号を同一周波数に設定して同じ周期でスイッチング信号SWを出力するようにした場合、電流値Iv、Iwの取り込みの際にスイッチングノイズが連続して電流値に重畳する可能性がある。
【0084】
つまり、マイコン3−1、3−2、・・・、3−Mは、互いに異なる周期でスイッチング信号SWを出力するとともに、各マイコン3−1、3−2、・・・、3−Mは、当該マイコン3−1、3−2、・・・、3−Mの出力するスイッチング信号SWの出力を外したタイミングで制御対象のモータの電流値Iv、Iwを取り込むようにしたので、キャリア信号を同一周波数に設定して同じ周期でスイッチング信号SWを出力するようにした場合と比較して、電流値Iv、Iwの取り込みの際に、スイッチングノイズが連続して電流値Iv、Iwに重畳する可能性を減少させることができる。
【0085】
更に、第3の実施の形態では、各マイコン3−1、3−2、・・・、3−Mは、取り込んだ電流値Iv、Iwにおける異常値を排除するようにしている。
【0086】
このスイッチングノイズが重畳した電流値Iv、Iwは、異常に高い値を示すため、取り込んだ電流値Iv、Iwが所定電流値を上回る場合、各マイコン3−1、3−2、・・・、3−Mは、この取り込んだ電流値Iv、Iwを異常値であると判断する。
【0087】
そして、マイコン3−1、3−2、・・・、3−Mは、この異常値を除いた電流値Iv、Iwに基づいてスイッチング信号SWを出力する。従って、スイッチングノイズの影響を回避することができる。
【0088】
更に、図2に示すように構成し、各マイコン3−1、3−2、・・・、3−Mは、他のマイコンのスイッチング信号SWの出力を外したタイミングで制御対象のモータの電流値を取り込むようにすれば、より効果的にスイッチングノイズの影響を回避することができる。
【0089】
以上、第3の実施の形態によれば、複数のマイコン3−1、3−2、・・・、3−Mのうち、1つのマイコン(例えば、マイコン3−1)を主マイクロコンピュータとし、この主マイクロコンピュータ3−1は、各マイコン3−1、3−2、・・・、3−Mにより生成されるキャリア信号の周波数を設定し、各マイコン3−1、3−2、・・・、3−Mは、当該マイコン3−1、3−2、・・・、3−Mの出力するスイッチング信号SWの出力を外したタイミングで制御対象のモータの電流値Iv、Iwを取り込むようにしたので、電流値Iv、Iwの取り込みの際に、スイッチングノイズが連続して電流値Iv、Iwに重畳する可能性を減少させることができる。
【0090】
以上、上記第1乃至第3の実施の形態のモータ制御装置を説明したが、これらに限定するものではなく、上記第1の実施の形態から第3の実施の形態までの各実施の形態を組み合わせたモータ制御装置であってもよい。
【0091】
以上、本発明を上記実施の形態に基づいて説明したが、本発明はこれに限定されるものではない。
【0092】
例えば、モータがインバータ駆動のブラシレスDCモータである場合について説明したが、これに限るものではなく、スイッチング信号に基づいて制御されるモータであれば、いかなるモータであってもよい。
【0093】
また、キャリア信号を三角波としたが、鋸波等であっても構わない。
【0094】
【発明の効果】
本発明に係るモータ制御装置によれば、スイッチングノイズの影響を回避する。
【図面の簡単な説明】
【図1】本発明に係るモータ制御装置の第1の実施の形態を示すブロック図である。
【図2】マイクロコンピュータにおける構成を示すブロック図である。
【図3】マイクロコンピュータのスイッチング信号検出ラインへの接続状況を示すブロック図である。
【図4】各マイクロコンピュータにおけるモータの電流値を取り込む処理動作を示すフローチャートである。
【図5】本発明に係るモータ制御装置の第2の実施の形態を示すブロック図である。
【図6】本発明に係るモータ制御装置の第3の実施の形態を示すブロック図である。
【符号の説明】
1、51、81 モータ制御装置
3−1、3−2、・・・、3−M マイクロコンピュータ
5 クロック発生IC(クロック発生手段)
10−1、10−2、・・・、10−N モータ
20−1、20−2、・・・、20−N 出力ポート
21−1、21−2、・・・、21−M 入力ポート
22 スイッチング信号検出ライン[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a motor control device that controls a plurality of motors with a plurality of microcomputers.
[0002]
[Prior art]
In general, a motor control device including a microcomputer that takes in a current value of a motor to be controlled and outputs a switching signal used for driving the motor to be controlled to control the motor to be controlled is known.
[0003]
In this type of motor control device, when a switching signal is output, motor switching noise is generated, and this switching noise is superimposed on the current value taken into the microcomputer, resulting in unstable motor operation. May arise.
[0004]
Therefore, the conventional motor control device latches the current value received for a predetermined period at the rising point and falling point of the switching signal (PWM signal) output from the microcomputer to avoid the influence of switching noise ( For example, see
[0005]
[Patent Document 1]
JP 2002-44982 A (page 3-7, FIG. 1)
[0006]
[Problems to be solved by the invention]
However, a plurality of motors are controlled by a motor control device including a plurality of microcomputers that control the control target motor by taking in the current value of the control target motor and outputting a switching signal used to drive the control target motor. In this case, each microcomputer can avoid the influence of the switching noise of the controlled motor controlled by its own microcomputer when the current value of the controlled motor is taken in, but is controlled by another microcomputer. Switching noise radiated by a motor outside the control target is superimposed on a current value taken in each microcomputer, and the operation of the control target motor may become unstable.
[0007]
An object of the present invention is to provide a motor control device that has been made in consideration of the above-described circumstances and that avoids the influence of switching noise.
[0008]
[Means for Solving the Problems]
In order to solve the above-described problem, in each of the motor control devices including a plurality of microcomputers that take in a current value of a motor and output a switching signal used for driving the motor to control the motor, each of the microcomputers includes:An output port for outputting the switching signal; and an input port for inputting the switching signal. These ports are connected to a switching signal detection line, and each microcomputer receives the switching signal from the switching signal detection line. If not detected,It is characterized by taking in the current value of the motor.
[0009]
Further, in a motor control apparatus including a plurality of microcomputers that take in a motor current value and output a switching signal used for driving the motor to control the motor, one of the plurality of microcomputers is mainly used. The main microcomputer outputs a synchronization signal to a microcomputer other than the main microcomputer, and the microcomputers other than the main microcomputer output the switching signal in synchronization with the synchronization signal. The microcomputer includes an output port for outputting the switching signal and an input port for inputting the switching signal. These ports are connected to a switching signal detection line, and each microcomputer is connected. Computer, if the not detected the switching signal from the switching signal detecting line is characterized in that so as to capture the current value of the motor.
[0017]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
[0018]
[A] First embodiment
FIG. 1 is a block diagram showing a first embodiment of a motor control device according to the present invention.
[0019]
In FIG. 1,
[0020]
These microcomputers 3-1, 3-2,..., 3-M are a plurality of (for example, N units, N is an integer of 2 or more, for example, N ≧ M) 10. -1, 10-2,..., 10-N are controlled. The motors 10-1, 10-2,..., 10-N are, for example, brushless DC motors.
[0021]
Each of the microcomputers 3-1, 3-2,..., 3-M controls at least one motor. For example, a single microcomputer 3-2 has a plurality of (for example, two) motors. The case where 10-2 and 10-3 are controlled is included.
[0022]
That is, the motor to be controlled by the microcomputer 3-1 is the motor 10-1, the motors to be controlled by the microcomputer 3-2 are the motors 10-2 and 10-3, and the motor to be controlled by the microcomputer 3-M. The motor is a motor 10-N.
[0023]
Each of the microcomputers 3-1, 3-2,..., 3-M is substantially provided with a CPU (not shown) and is based on a control program recorded in a recording medium such as a ROM (not shown). To control the motor to be controlled.
[0024]
In the present embodiment, each of the microcomputers 3-1, 3-2, ..., 3-M is a one-chip microcomputer.
[0025]
These motors 10-1, 10-2, ..., 10-N have AC power supplies 13-1, 13-2, ..., 13-N respectively connected to rectifier circuits 12-1, 12-2, ... .., 12-N and inverter units 11-1, 11-2,..., 11-N are connected, and rectifier circuits 12-1, 12-2,. , AC power applied by AC power supplies 13-1, 13-2,..., 13-N is converted into DC voltage, and inverter units 11-1, 11-2,. The DC voltage is converted into a predetermined frequency and a predetermined AC voltage, and power is supplied to the motors 10-1, 10-2, ..., 10-N. The AC voltage supplied by these inverter units 11-1, 11-2,..., 11-N is, for example, a three-phase AC voltage that becomes a pseudo sine wave that has been subjected to pulse width modulation (PWM). The inverter units 11-1, 11-2,..., 11-N control the rotation speeds of the motors 10-1, 10-2,.
[0026]
The inverter units 11-1, 11-2,..., 11-N are connected to the microcomputers 3-1, 3-2,. .., 20-M connected to output ports 20-1, 20-2,..., 20-M that output a 3-M switching signal SW. The inverter units 11-1, 11-2,..., 11-N have a plurality of switching elements (not shown), and the plurality of switching elements are driving units 14-1, 14-2,. , 14 -N through the microcomputers 3-1, 3-2,..., 3-M, and the three-phase AC voltage that is a pulse width modulated pseudo sine wave is supplied to the motors 10-1 and 10-2. ..., applied to 10-N.
[0027]
Each of the microcomputers 3-1, 3-2,..., 3-M includes, for example, inverter units 11-1, 11-2,..., 11-N to motors 10-1, 10-2,. -Two-phase alternating currents Iv and Iw are detected from among the three-phase alternating currents supplied to 10-N, and a switching signal (PWM signal) SW subjected to pulse width modulation to drive each control target motor. , 14-N are output to the drive units 14-1, 14-2,..., 14-N, and the drive units 14-1, 14-2,. -1, 11-2,..., 11-N.
[0028]
That is, the inverter units 11-1, 11-2,..., 11-N are based on the switching signals (PWM signals) SW output from the microcomputers 3-1, 3-2,. The motors 10-1, 10-2, ..., 10-N are driven.
[0029]
Each of the microcomputers 3-1, 3-2,..., 3-M includes current detection units 17-1, 17-2,. The current detection units 17-1, 17-2,..., 17-N detect the two-phase alternating current values Iv and Iw and perform A / D conversion (analog to digital conversion). That is, each of the microcomputers 3-1, 3-2,..., 3-M includes current detection units 17-1, 17-2,. ing.
[0030]
For example, the microcomputer 3-1 includes a current detection unit 17-1 that detects the current of the motor 10-1 to be controlled, and the microcomputer 3-2 includes the current of the motors 10-2 and 10-3 to be controlled. Current detectors 17-2 and 17-3 are provided.
[0031]
That is, each of the microcomputers 3-1, 3-2,..., 3-M is a current value Iv of the motor to be controlled among the plurality of motors 10-1, 10-2,. , Iw is taken and a switching signal SW used for driving the motor to be controlled is output to control the motor to be controlled.
[0032]
As shown in FIG. 2, each of the microcomputers 3-1, 3-2,..., 3-M includes a current
[0033]
Each of the microcomputers 3-1, 3-2,..., 3-M outputs the switching signal SW to switching elements (not shown) in the inverter units 11-1, 11-2,. The switching element is switched. The voltage command
[0034]
Therefore, the inverter units 11-1, 11-2,..., 11-N are subjected to switching control by the switching signal SW obtained by comparing the voltage command signal that is the modulation signal and the carrier signal. That is, the microcomputers 3-1, 3-2,..., 3-M obtain the current value output to the motor to be controlled, and compare the voltage command signal that is the modulation signal with the carrier signal. The switching signal SW is output to control the motor to be controlled.
[0035]
The triangular wave carrier signal has a positive peak and a negative peak. As a result of the comparison between the triangular wave carrier signal and the sine wave voltage command signal, the switching signal SW is generated. This switching signal SW is a PWM signal modulated to a predetermined width including the positive peak timing of the carrier signal.
[0036]
That is, the switching signal SW is synchronized with the positive peak of the triangular carrier signal, and has the same period even if the pulse widths of the microcomputers 3-1, 3-2,. (Period of positive peak of triangular wave carrier signal).
[0037]
These microcomputers 3-1, 3-2,..., 3-M are provided on the same substrate (not shown) and control the motors to be controlled corresponding to each other independently. That is, these microcomputers 3-1, 3-2,..., 3-M are arranged close to each other.
[0038]
In general, although illustration is omitted, the switching noise of the motor is synchronized with the switching signal, and if this switching noise occurs when taking in the current value of the motor, there is a possibility that an incorrect current value of the motor is taken in. These motor switching noises are generated when a switching signal is output.
[0039]
Furthermore, when each microcomputer in a plurality of motors captures the current value of the motor to be controlled, if switching noise synchronized with the switching signal output from the microcomputer controlling the motor that is not controlled is radiated to each microcomputer. Since switching noise is superimposed on the current value taken in, the wrong motor current value may be taken in.
[0040]
In other words, it is necessary to take in the current value by removing the timing of the switching noise of not only the motor to be controlled but also the motor not to be controlled.
[0041]
In this embodiment, each of the microcomputers 3-1, 3-2,..., 3-M is a switching signal SW of other microcomputers 3-1, 3-2,. The current values Iv and Iw of the motor to be controlled are taken in at the timing when the output is removed.
[0042]
Further, each of the microcomputers 3-1, 3-2,..., 3-M outputs a switching signal SW in synchronization.
[0043]
In the present embodiment, the outputs of the switching signals SW of the microcomputers 3-1, 3-2,..., 3-M are synchronized with each other of the microcomputers 3-1, 3-2,. 3-M outputs a switching signal SW having a pulse width including a predetermined periodical timing (positive peak timing of a triangular wave carrier signal), so that each microcomputer 3-1, 3-2,. This means that the predetermined timing when the switching signal SW is output in 3-M is synchronized. The predetermined timing defined by each of the microcomputers 3-1, 3-2,..., 3-M has the same period between the microcomputers 3-1, 3-2,. .
[0044]
In the present embodiment, there is provided means for synchronizing the phases of triangular wave carrier signals generated in the respective microcomputers 3-1, 3-2,..., 3-M.
[0045]
By synchronizing the phases of the triangular wave carrier signals generated in the microcomputers 3-1, 3-2,..., 3-M, the microcomputers 3-1, 3-2,. Since the switching signals SW output from the motors are synchronized and the timings of the switching noises generated by the motors 10-1, 10-2,..., 10-N are substantially aligned, this switching is performed when the current values Iv and Iw are captured. It becomes easy to avoid the timing of noise.
[0046]
Specifically, as means for synchronizing the phase of the triangular wave carrier signal generated in each microcomputer 3-1, 3-2,..., 3-M, each microcomputer 3-1, 3-2,. , 3 -M are provided with clock signal input ports 24-1, 24-2,..., 24 -M for inputting clock signals, and the
[0047]
Each of the microcomputers 3-1, 3-2,..., 3-M generates a carrier signal having the same phase in synchronization with the clock signal output from the
[0048]
The microcomputers 3-1, 3-2,..., 3-M, to which the clock signal is input, adjust the phase of the carrier signal to a predetermined angle (for example, 0 °).
[0049]
That is, by adjusting the phase of the triangular carrier signal generated in the microcomputers 3-1, 3-2,..., 3-M based on the clock signal output from the
[0050]
More specifically, each of the microcomputers 3-1, 3-2,..., 3-M sets the phase of the carrier signal to a predetermined angle (for example, 0 °) based on the clock signal output from the
[0051]
Switching generated by the motors 10-1, 10-2,..., 10-N by synchronizing the switching signals SW output from the microcomputers 3-1, 3-2,. Since the timing of noise is substantially the same, it becomes easy to avoid the timing of this switching noise when taking in the current values Iv and Iw.
[0052]
Each of the microcomputers 3-1, 3-2,..., 3-M has output ports 20-1, 20-2,. , 21-M for inputting the switching signal SW. For example, the microcomputer 3-1 includes an output port 20-1 that outputs a switching signal SW used to drive the motor 10-1, and an input port 21-1 that inputs the switching signal SW. Output ports 20-2 and 20-3 for outputting a switching signal SW used for controlling the motors 10-2 and 10-3, and an input port 21-2 for inputting the switching signal SW are provided.
[0053]
That is, the microcomputers 3-1, 3-2,..., 3-M output ports 20-1, 20-2,..., 20 that output a switching signal SW used to drive the motor to be controlled. -N.
[0054]
These output ports 20-1, 20-2, ..., 20-N and input ports 21-1, 21-2, ..., 21-M are connected to the switching
[0055]
Hereinafter, description will be made with reference to a flowchart showing a processing operation for fetching the current values Iv and Iw of the motors to be controlled by the microcomputers 3-1, 3-2 to 3 -M shown in FIG. 4.
[0056]
First, each of the microcomputers 3-1, 3-2,..., 3-M is controlled by the current detectors 17-1, 17-2,. And A / D conversion processing is performed (step S1).
[0057]
Next, each of the microcomputers 3-1, 3-2,..., 3-M determines whether the switching signal SW is detected from the input ports 21-1, 21-2,. If the switching signal SW is detected, the current values Iv and Iw are not captured, and the process returns to step S1. If the switching signal SW is not detected, the current detector The current values Iv and Iw subjected to A / D conversion at 17-1, 17-2,..., 17-N are captured (step S3; current value capturing means).
[0058]
Through these steps S2 and S3, each of the microcomputers 3-1, 3-2,..., 3-M causes the switching signals of the other microcomputers 3-1, 3-2,. The current values Iv and Iw of the motor to be controlled can be captured at the timing when the SW output is removed. Furthermore, since the outputs of the switching signals SW of the microcomputers 3-1, 3-2,..., 3-M are synchronized, the correlation between the output of the switching signal SW and the timing of taking in the current values Iv and Iw. The relationship is the same for each of the microcomputers 3-1, 3-2, ..., 3-M.
[0059]
As described above, according to the first embodiment, each of the microcomputers 3-1, 3-2,..., 3-M has other microcomputers 3-1, 3-2,. Since the current values Iv and Iw of the motor to be controlled are captured at the timing when the output of the -M switching signal SW is removed, not only the motor to be controlled but also the control target when the current values Iv and Iw are captured. Since the switching noise generated by the external motor can be prevented from being superimposed on the current values Iv and Iw, the influence of the switching noise can be avoided.
[0060]
Further, according to the first embodiment, each of the microcomputers 3-1, 3-2,..., 3-M has other microcomputers 3-1, 3-2,. Since the carrier signal of the same frequency in -M is generated and the phase of the carrier signal in each of the microcomputers 3-1, 3-2, ..., 3-M is synchronized, each microcomputer 3-1, Since the outputs of the switching signals SW of 3-2,..., 3-M are synchronized, each of the microcomputers 3-1, 3-2,. It becomes easy to capture the current values Iv and Iw of the motor to be controlled at the timing when the output of the switching signal SW output by 3-2,..., 3-M is removed, and the switching signal SW is output. More effectively avoid the effects of switching noise Rukoto can.
[0061]
Further, according to the first embodiment, each of the microcomputers 3-1, 3-2,..., 3-M sets the phase of the carrier signal to a predetermined angle based on the clock signal output from the
[0062]
Further, according to the first embodiment, each of the microcomputers 3-1, 3-2,..., 3-M determines whether or not the switching signal SW in the switching
[0063]
[B] Second embodiment
FIG. 5 is a block diagram showing a second embodiment of the motor control device according to the present invention. In the second embodiment, the same parts as those of the first embodiment are denoted by the same reference numerals and omitted. The second embodiment is different from FIG. 1 in the first embodiment.
[0064]
5, the
[0065]
That is, a means for synchronizing the phase of the triangular carrier signal generated in each of the microcomputers 3-1, 3-2,..., 3-M is provided.
[0066]
Specifically, the microcomputer 3-1 that is a main microcomputer includes a synchronization
[0067]
The synchronization
[0068]
The microcomputer 3-1 outputs a synchronization signal from the synchronization
[0069]
The second adjustment means substantially functions as a control program recorded in a ROM (not shown) in the microcomputer 3-1 and a CPU (not shown) that performs control based on this control program. Further, the third adjusting means is substantially based on a control program recorded in a ROM or the like not shown in the microcomputer 3-2,..., 3-M, and this control program. It functions with a CPU (not shown) that performs control.
[0070]
As described above, according to the second embodiment, in addition to the effects shown in the first embodiment, the microcomputer 3-1, which is the main microcomputer, sets the phase of the carrier signal to a predetermined angle based on the output synchronization signal. The microcomputer 3-2,..., 3-M, which is a microcomputer other than the main microcomputer, includes second adjusting means for adjusting to (for example, 0 °), and the phase of the carrier signal based on the input synchronization signal. Since the third adjustment means for adjusting the angle to a predetermined angle (for example, 0 °) is provided, the phases of the carrier signals generated by the microcomputers 3-1, 3-2,. (In other words, since the carrier signal is synchronized), the output of the switching signal SW is synchronized, and the timing when the output of the switching signal SW output by each of the microcomputers 3-1, 3-2,. This makes it easy to capture the current values Iv and Iw of the motor to be controlled, and the effect of switching noise that occurs when the switching signal SW is output can be more effectively avoided.
[0071]
[C] Third embodiment
FIG. 6 is a block diagram showing a third embodiment of the motor control device according to the present invention. In the third embodiment, the same parts as those in the first and second embodiments are denoted by the same reference numerals and omitted. 3rd Embodiment differs in FIG. 1 in 1st Embodiment, and FIG. 5 in 2nd Embodiment differs.
[0072]
6, the
[0073]
That is, each of the microcomputers 3-1, 3-2,..., 3-M generates carrier signals having different frequencies.
[0074]
For example, the microcomputer 3-1 generates a triangular wave carrier signal of 10 [kHz], for example, and the microcomputer 3-2 generates a triangular wave carrier signal of 9.8 [kHz], for example, and the microcomputer 3-M For example, a triangular wave carrier signal of 9 [kHz] is generated so as to be carrier signals having different frequencies.
[0075]
Specifically, each of the microcomputers 3-1, 3-2,..., 3-M is set to generate carrier signals having different frequencies.
[0076]
For example, among the plurality of microcomputers 3-1, 3-2,..., 3-M, one microcomputer (for example, the microcomputer 3-1) is a main microcomputer, and the main microcomputer 3-1, Carrier signals generated by the microcomputers 3-1, 3-2,..., 3-M are set to different frequencies.
[0077]
That is, the microcomputer 3-1 that is the main microcomputer includes a frequency
[0078]
When setting the frequency of the carrier signal, for example, when the
[0079]
Specifically, when starting up the
[0080]
As described above, by changing the frequencies of the carrier signals generated by the microcomputers 3-1, 3-2,..., 3-M, the cycle of outputting the switching signal SW can be made different.
[0081]
In the third embodiment, each of the microcomputers 3-1, 3-2,..., 3-M is a switching signal output from its own microcomputer 3-1, 3-2,. The current values Iv and Iw of the motor to be controlled are taken in at the timing when the SW output is removed.
[0082]
For example, the microcomputer 3-1 takes in the current values Iv and Iw of the motor to be controlled at the timing when the output of the switching signal SW output from the microcomputer 3-1 is removed.
[0083]
If the carrier signal is set to the same frequency and the switching signal SW is output in the same cycle, switching noise may be continuously superimposed on the current value when the current values Iv and Iw are captured. .
[0084]
That is, the microcomputers 3-1, 3-2,..., 3-M output the switching signal SW at different periods, and the microcomputers 3-1, 3-2,. Since the current values Iv and Iw of the motor to be controlled are taken in at the timing when the output of the switching signal SW output from the microcomputers 3-1, 3-2,..., 3-M is removed, the carrier signal Is set to the same frequency and the switching signal SW is output at the same cycle, the switching noise is continuously superimposed on the current values Iv and Iw when the current values Iv and Iw are captured. The possibility can be reduced.
[0085]
Furthermore, in the third embodiment, each of the microcomputers 3-1, 3-2,..., 3-M excludes abnormal values in the captured current values Iv and Iw.
[0086]
Since the current values Iv and Iw on which the switching noise is superimposed indicate abnormally high values, when the captured current values Iv and Iw exceed a predetermined current value, the microcomputers 3-1, 3-2,. 3-M determines that the acquired current values Iv and Iw are abnormal values.
[0087]
Then, the microcomputers 3-1, 3-2,..., 3-M output the switching signal SW based on the current values Iv and Iw excluding the abnormal values. Therefore, the influence of switching noise can be avoided.
[0088]
Further, the microcomputers 3-1, 3-2,..., 3-M are configured as shown in FIG. 2, and the currents of the motors to be controlled are controlled at the timing when the output of the switching signals SW of other microcomputers is removed. If the value is taken in, the influence of switching noise can be avoided more effectively.
[0089]
As described above, according to the third embodiment, among the plurality of microcomputers 3-1, 3-2,..., 3-M, one microcomputer (for example, the microcomputer 3-1) is the main microcomputer. The main microcomputer 3-1 sets the frequency of the carrier signal generated by each microcomputer 3-1, 3-2,..., 3-M, and each microcomputer 3-1, 3-2,. .., 3-M captures the current values Iv and Iw of the motor to be controlled at the timing when the output of the switching signal SW output from the microcomputers 3-1, 3-2,. Therefore, when the current values Iv and Iw are captured, the possibility that switching noise is continuously superimposed on the current values Iv and Iw can be reduced.
[0090]
As mentioned above, although the motor control apparatus of the said 1st thru | or 3rd embodiment was demonstrated, it is not limited to these, Each embodiment from the said 1st Embodiment to 3rd Embodiment is described. A combined motor control device may be used.
[0091]
As mentioned above, although this invention was demonstrated based on the said embodiment, this invention is not limited to this.
[0092]
For example, the case where the motor is an inverter-driven brushless DC motor has been described. However, the present invention is not limited to this, and any motor may be used as long as the motor is controlled based on a switching signal.
[0093]
Further, although the carrier signal is a triangular wave, it may be a sawtooth wave or the like.
[0094]
【The invention's effect】
According to the motor control device of the present invention, the influence of switching noise is avoided.
[Brief description of the drawings]
FIG. 1 is a block diagram showing a first embodiment of a motor control device according to the present invention.
FIG. 2 is a block diagram showing a configuration of a microcomputer.
FIG. 3 is a block diagram showing a connection status of a microcomputer to a switching signal detection line.
FIG. 4 is a flowchart showing a processing operation for taking in a motor current value in each microcomputer;
FIG. 5 is a block diagram showing a second embodiment of the motor control device according to the present invention.
FIG. 6 is a block diagram showing a third embodiment of the motor control device according to the present invention.
[Explanation of symbols]
1, 51, 81 Motor control device
3-1, 3-2, ..., 3-M microcomputer
5 Clock generation IC (clock generation means)
10-1, 10-2, ..., 10-N motor
20-1, 20-2, ..., 20-N Output port
21-1, 21-2, ..., 21-M input port
22 Switching signal detection line
Claims (2)
前記各マイクロコンピュータは、前記スイッチング信号を出力する出力ポートと、前記スイッチング信号を入力する入力ポートとを備え、これらポートを、スイッチング信号検出ラインに接続し、前記各マイクロコンピュータは、前記スイッチング信号検出ラインより前記スイッチング信号を検出していない場合、前記モータの電流値を取り込むようにしたことを特徴とするモータ制御装置。In a motor control device including a plurality of microcomputers that take in a current value of a motor and output a switching signal used for driving the motor to control the motor,
Each microcomputer includes an output port for outputting the switching signal and an input port for inputting the switching signal, and these ports are connected to a switching signal detection line, and each microcomputer detects the switching signal. A motor control device , wherein when the switching signal is not detected from a line, the current value of the motor is captured.
複数のマイクロコンピュータのうち、1つのマイクロコンピュータを主マイクロコンピュータとし、この主マイクロコンピュータは、当該主マイクロコンピュータ以外のマイクロコンピュータに同期信号を出力し、前記主マイクロコンピュータ以外のマイクロコンピュータは、前記同期信号に基づいて同期して前記スイッチング信号を出力すると共に、前記各マイクロコンピュータは、前記スイッチング信号を出力する出力ポートと、前記スイッチング信号を入力する入力ポートとを備え、これらポートを、スイッチング信号検出ラインに接続し、前記各マイクロコンピュータは、前記スイッチング信号検出ラインより前記スイッチング信号を検出していない場合、前記モータの電流値を取り込むようにしたことを特徴とするモータ制御装置。 In a motor control device comprising a plurality of microcomputers for taking in a current value of a motor and outputting a switching signal used for driving the motor to control the motor,
Among the plurality of microcomputers, one microcomputer serves as a main microcomputer, and the main microcomputer outputs a synchronization signal to a microcomputer other than the main microcomputer. The microcomputer other than the main microcomputer performs the synchronization. The microcomputer outputs the switching signal synchronously based on a signal, and each microcomputer includes an output port for outputting the switching signal and an input port for inputting the switching signal. connected to the line, the respective microcomputer, the switching signal detecting if not detected from the switching signal line, the motor control device being characterized in that so as to capture the current value of the motor
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2002334575A JP4093845B2 (en) | 2002-11-19 | 2002-11-19 | Motor control device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2002334575A JP4093845B2 (en) | 2002-11-19 | 2002-11-19 | Motor control device |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2004173380A JP2004173380A (en) | 2004-06-17 |
JP4093845B2 true JP4093845B2 (en) | 2008-06-04 |
Family
ID=32698919
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2002334575A Expired - Lifetime JP4093845B2 (en) | 2002-11-19 | 2002-11-19 | Motor control device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4093845B2 (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4579591B2 (en) * | 2004-06-25 | 2010-11-10 | 東芝三菱電機産業システム株式会社 | Power converter |
JP2006320137A (en) * | 2005-05-13 | 2006-11-24 | Mitsutoyo Corp | Motor drive control device and measuring instrument therewith |
JP5482041B2 (en) * | 2009-09-09 | 2014-04-23 | 日産自動車株式会社 | Electric motor control device |
JP7414514B2 (en) | 2019-12-23 | 2024-01-16 | ファナック株式会社 | Monitoring device, motor drive device and monitoring method |
-
2002
- 2002-11-19 JP JP2002334575A patent/JP4093845B2/en not_active Expired - Lifetime
Also Published As
Publication number | Publication date |
---|---|
JP2004173380A (en) | 2004-06-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6828752B2 (en) | Driving equipment and semiconductor equipment for alternating-current motor | |
US6714424B2 (en) | Dead-time compensation with narrow pulse elimination in solid- state switch devices | |
JP6358859B2 (en) | Inverter power generation system and inverter power generation device | |
US20090040797A1 (en) | Pulse Width Modulation Method for a Power Converter | |
JP2008259343A (en) | Converter-inverter device | |
EP3544170B1 (en) | Feedback control for parallel power converter synchronization | |
WO2016051500A1 (en) | Power conversion device, power generation system, and current control method | |
JPH09201058A (en) | Ac-dc converter | |
JP4093845B2 (en) | Motor control device | |
JP2004104963A (en) | Inverter device for system interconnection | |
EP2346158A1 (en) | Inverter generator | |
JP2009124870A (en) | V/f control system for permanent magnet synchronous electric motor | |
JP5124979B2 (en) | Multi-axis motor controller | |
JP2003079163A (en) | Inverter | |
JP4300375B2 (en) | Motor control method | |
JP2003319687A (en) | Motor drive and driving method for motor and portable terminal | |
JP3863048B2 (en) | Sine wave input rectifier | |
JP2006074951A (en) | Controller for ac motor | |
JP2008005673A (en) | Power conversion system and power conversion method performing parallel operation of inverters | |
JP3682508B2 (en) | Control device for vehicle power converter | |
JP2012080740A (en) | Inverter controller | |
JP4276097B2 (en) | Inverter driving method and inverter device | |
JP4183523B2 (en) | INVERTER DEVICE AND INVERTER DEVICE CONTROL METHOD | |
JP2005020947A (en) | Pwm carrier wave synchronizing method and power conversion system | |
JP2000050150A (en) | Image pickup device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A711 | Notification of change in applicant |
Free format text: JAPANESE INTERMEDIATE CODE: A712 Effective date: 20040819 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A821 Effective date: 20040819 |
|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20050506 |
|
A711 | Notification of change in applicant |
Free format text: JAPANESE INTERMEDIATE CODE: A712 Effective date: 20051219 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20071025 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20071113 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20080108 |
|
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: 20080205 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20080304 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110314 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110314 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110314 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130314 Year of fee payment: 5 |