[go: up one dir, main page]

JP2004129450A - Motor controller - Google Patents

Motor controller Download PDF

Info

Publication number
JP2004129450A
JP2004129450A JP2002293269A JP2002293269A JP2004129450A JP 2004129450 A JP2004129450 A JP 2004129450A JP 2002293269 A JP2002293269 A JP 2002293269A JP 2002293269 A JP2002293269 A JP 2002293269A JP 2004129450 A JP2004129450 A JP 2004129450A
Authority
JP
Japan
Prior art keywords
phase
control
motor
disconnection
energized
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2002293269A
Other languages
Japanese (ja)
Other versions
JP3849629B2 (en
Inventor
Shigeru Kamio
神尾 茂
Yasuhiro Nakai
中井 康裕
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Denso Corp
Original Assignee
Denso 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 Denso Corp filed Critical Denso Corp
Priority to JP2002293269A priority Critical patent/JP3849629B2/en
Priority to US10/674,437 priority patent/US6992451B2/en
Publication of JP2004129450A publication Critical patent/JP2004129450A/en
Application granted granted Critical
Publication of JP3849629B2 publication Critical patent/JP3849629B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Gear-Shifting Mechanisms (AREA)
  • Control Of Electric Motors In General (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To carry out F/B control (FeedBack control), if only one phase of motor winding is broken, by using the windings in the other phases. <P>SOLUTION: Presence or absence of a breaking in the winding 33 in each phase is determined based on the output voltage of a break detection circuit 60 for each phase. If the breaking is detected in any one phase when F/B control is started, a first conducting phase is established from among the two phases in which no breaking is detected. More specifically, in terms of the order of conducting phase switching, the phase to which the conducting phase is to be switched next to the phase in which the breaking has been detected (wire-broken phase) is established as the first conducting phase. Thus, the following advantages are brought: the number of times of conducting phase switching (number of times of excitation) after F/B control is started and before the wire-broken phase is selected as conducting phase can be maximized; the rotation of a rotor can be sufficiently raised to sufficiently increase the inertia force of the rotor before the wire-broken phase becomes the conducting phase; and F/B control can be carried out with reliability. <P>COPYRIGHT: (C)2004,JPO

Description

【0001】
【発明の属する技術分野】
本発明は、エンコーダのパルス信号のカウント値に基づいてロータの回転位置を検出してモータの通電相を順次切り換えることでロータを目標位置まで回転駆動するモータ制御装置に関するものである。
【0002】
【従来の技術】
近年、構造が簡単で安価なモータとして需要が増加しているスイッチトリラクタンスモータ等のブラシレス型のモータは、ロータの回転に同期してパルス信号を出力するエンコーダを搭載し、このエンコーダのパルス信号をカウントして、そのエンコーダカウント値に基づいてロータの回転位置を検出して通電相を順次切り換えることでロータを回転駆動するようにしたものがある。このようなエンコーダ付きのモータは、起動後のエンコーダカウント値に基づいてロータの回転位置を検出することができるため、フィードバック制御系(F/B制御系)によりロータを目標位置まで回転させる位置切換制御(位置決め制御)を行う各種の位置切換装置の駆動源として用いられている。
【0003】
このような位置切換装置で、モータの駆動コイルが断線すると、モータを正常に駆動できなくなるため、特許文献1(特開2001−271917号公報)に示すように、モータのステータコアに、独立した2系統の駆動コイルを設けると共に、各系統の駆動コイルを別々に駆動する2系統の駆動回路を設け、片方の系統の駆動コイルが断線したときに、残りの1系統の駆動コイルのみを用いてモータをフィードバック制御(以下「F/B制御」と表記する)するようにしたものがある。
【0004】
【特許文献1】
特開2001−271917号公報(第4頁〜第8頁等)
【0005】
【発明が解決しようとする課題】
上記特許文献1では、モータの3相の巻線のうち、1相のみが断線した場合でも、その巻線が属する片方の系統の駆動コイルの断線と判断されて、残りの1系統の駆動コイルのみを用いてモータをF/B制御するようにしている。しかし、この構成では、駆動コイルが2系統必要となり、製造コストが高くなる。しかも、片方の駆動コイルのみでF/B制御する場合、駆動トルクが正常時の半分となるため、駆動トルクが不足して脱調が発生しやすくなり、正常なF/B制御を行えない可能性がある。かといって、片方の駆動コイルのみで正常なF/B制御を可能にする大きな駆動トルクを確保しようとすると、大きな駆動コイルが必要となって、モータが大型化してしまうという欠点が発生する。
【0006】
本発明はこのような事情を考慮してなされたものであり、従ってその目的は、安価な構成で、1相が断線しても、それ以外の相の巻線を用いてF/B制御を実行することができるモータ制御装置を提供することにある。
【0007】
【課題を解決するための手段】
本発明者らの最近の試験結果によれば、一旦、モータが回転し始めると、1相の巻線が断線していても、ロータは慣性により回り続けるため、F/B制御が可能であることが判明した。但し、F/B制御開始時の最初の通電相の巻線が断線している場合は、ロータの回転を立ち上げることができないため、F/B制御は不可能である。
【0008】
そこで、本発明の請求項1のモータ制御装置は、モータの各相の巻線の断線を各相毎に検出する断線検出手段を備え、制御手段によってF/B制御を開始する際に、前記断線検出手段によりいずれか1つの相の断線が検出されている場合には、断線の検出されていない相の中から少なくとも最初の2回の通電相を設定するようにしたものである。このようにすれば、1つの相の巻線が断線していても、それ以外の相の巻線を用いてロータの回転を立ち上げることができて、F/B制御を行うことができる。これにより、請求項6のように、モータの駆動コイルを1系統のみにすることが可能となり、モータの低コスト化・小型化を実現することができる。
【0009】
但し、本発明は、前記特許文献1のように2系統の駆動コイルを設けたモータにも適用することが可能であり、この場合、1相のみが断線しても、2系統の駆動コイルを用いてF/B制御することができるため、前記特許文献1と比較して大きな駆動トルクを確保でき、その分、モータの小型化が可能となる。
【0010】
また、請求項2のように、2相以上の断線が検出されたときには、モータへの通電を禁止して警告表示手段に警告表示させるようにしても良い。これは、2相以上の断線が発生した場合に、ロータの回転を立ち上げることができなくなるためである。
【0011】
また、請求項3のように、F/B制御を開始する際に、いずれか1つの相の断線が検出されている場合は、通電相の切り換え順序から見て、断線が検出された相(以下「断線相」という)の次に切り換えられる通電相を前記最初の通電相として設定するようにすると良い。このようにすれば、F/B制御開始後に、断線相が通電相として選択されるまでの通電相の切り換え回数(励磁回数)を最も多くすることができて、断線相が通電相となるまでにロータの回転を十分に立ち上げてロータの慣性力を十分に大きくすることができ、より確実にF/B制御を実行することができる。
【0012】
また、請求項4のように、F/B制御を開始する際に、最初の通電相に所定時間通電してロータをF/B制御開始位置に保持するF/B制御開始位置保持処理を実行した後、通電相を切り換えてロータを回転駆動するようにしても良い。このようにすれば、F/B制御開始時のロータの回転位置と最初の通電相との同期を確実にとることができて、信頼性の高いF/B制御を行うことができる。
【0013】
この場合、請求項5のように、いずれか1つの相の断線が検出されている場合は、F/B制御開始位置保持処理の時間(最初の通電相の通電時間)を通常よりも長い時間に設定するようにすると良い。つまり、正常時に最初の通電相となる相の巻線が断線している場合は、最初の通電相が正常時の最初の通電相からずらされるため、最初の通電相と実際のロータの回転位置との位置関係がずれ、その結果、最初の通電相とロータの回転位置との同期を取るのに要する時間が正常時よりも長くかかる。従って、いずれか1つの相の断線が検出されている場合は、最初の通電相の通電時間(F/B制御開始位置保持処理の時間)を通常よりも長い時間に設定すれば、最初の通電相とロータの回転位置との同期をより確実に取ることができる。
【0014】
また、請求項7のように、モータとしてスイッチトリラクタンスモータを使用するようにしても良い。スイッチトリラクタンスモータは、永久磁石が不要で構造が簡単であるため、安価であり、温度環境等に対する耐久性・信頼性も高いという利点がある。
【0015】
以上説明した請求項1〜7に係る発明は、スイッチトリラクタンスモータ等のブラシレス型のモータを駆動源とする各種の位置切換装置に適用でき、例えば、請求項8のように、車両の自動変速機のレンジを切り換えるレンジ切換機構を駆動するモータの制御装置に適用しても良い。これにより、信頼性の高いモータ駆動式のレンジ切換装置を構成することができる。
【0016】
【発明の実施の形態】
《実施形態(1)》
以下、本発明を車両のレンジ切換装置に適用した実施形態(1)を図1乃至図19に基づいて説明する。
【0017】
まず、図1に基づいてレンジ切換機構11の構成を説明する。レンジ切換機構11の駆動源となるモータ12は、例えばスイッチトリラクタンスモータにより構成され、減速機構26(図4参照)を内蔵し、その出力軸13の回転位置を検出する出力軸センサ14が設けられている。この出力軸13には、ディテントレバー15が固定されている。
【0018】
また、ディテントレバー15にはL字形のパーキングロッド18が固定され、このパーキングロッド18の先端部に設けられた円錐体19がロックレバー21に当接している。このロックレバー21は、円錐体19の位置に応じて軸22を中心にして上下動してパーキングギヤ20をロック/ロック解除するようになっている。パーキングギヤ20は、自動変速機27の出力軸に設けられ、このパーキングギヤ20がロックレバー21によってロックされると、車両の駆動輪が回り止めされた状態(パーキング状態)に保持される。
【0019】
一方、ディテントレバー15をパーキングレンジ(以下「Pレンジ」と表記する)と他のレンジ(以下「NotPレンジ」と表記する)に保持するためのディテントバネ23が支持ベース17に固定され、このディテントバネ23の先端に設けられた係合部23aがディテントレバー15のPレンジ保持凹部24に嵌まり込んだときに、ディテントレバー15がPレンジの位置に保持され、該ディテントバネ23の係合部23aがディテントレバー15のNotPレンジ保持凹部25に嵌まり込んだときに、ディテントレバー15がNotPレンジの位置に保持されるようになっている。
【0020】
Pレンジでは、パーキングロッド18がロックレバー21に接近する方向に移動して、円錐体19の太い部分がロックレバー21を押し上げてロックレバー21の凸部21aがパーキングギヤ20に嵌まり込んでパーキングギヤ20をロックした状態となり、それによって、自動変速機27の出力軸(駆動輪)がロックされた状態(パーキング状態)に保持される。
【0021】
一方、NotPレンジでは、パーキングロッド18がロックレバー21から離れる方向に移動して、円錐体19の太い部分がロックレバー21から抜け出てロックレバー21が下降し、それによって、ロックレバー21の凸部21aがパーキングギヤ20から外れてパーキングギヤ20のロックが解除され、自動変速機27の出力軸が回転可能な状態(走行可能な状態)に保持される。
【0022】
尚、前述した出力軸センサ14は、モータ12の減速機構26の出力軸13の回転角度に応じた電圧を出力する回転センサ(例えばポテンショメータ)によって構成され、その出力電圧によって現在のレンジがPレンジとNotPレンジのいずれであるかを確認できるようになっている。
【0023】
次に、図2に基づいてモータ12の構成を説明する。本実施形態では、モータ12として、スイッチトリラクタンスモータ(以下「SRモータ」と表記する)が用いられている。このSRモータ12は、ステータ31とロータ32が共に突極構造を持つモータで、永久磁石が不要で構造が簡単であるという利点がある。円筒状のステータ31の内周部には、例えば12個の突極31aが等間隔に形成され、これに対して、ロータ32の外周部には、例えば8個の突極32aが等間隔に形成され、ロータ32の回転に伴い、ロータ32の各突極32aがステータ31の各突極31aと微小ギャップを介して順番に対向するようになっている。ステータ31の12個の突極31aには、U相、V相、W相の合計12個の巻線33が順番に巻回されている。尚、ステータ31とロータ32の突極31a,32aの数は適宜変更しても良いことは言うまでもない。
【0024】
図2に示すように、U相、V相、W相の合計12個の巻線33の巻回順序は、ステータ31の12個の突極31aに対して、例えば、V相→W相→U相→V相→W相→U相→V相→W相→U相→V相→W相→U相の順序で巻回されている。図3に示すように、U相、V相、W相の合計12個の巻線33がY結線され(各相の4個の巻線33はそれぞれ直列に接続され)、1系統の駆動コイル35が構成されている。この駆動コイル35は、車両に搭載されたバッテリ(図示せず)を電源としてモータドライバ37によって駆動される。尚、図3に示すモータドライバ37の回路構成例では、各相毎にトランジスタ等のスイッチング素子39を1個ずつ設けたユニポーラ駆動方式の回路構成としているが、各相毎にスイッチング素子を2個ずつ設けたバイポーラ駆動方式の回路構成を採用しても良い。
【0025】
本実施形態では、駆動コイル35の中性点を、バッテリの正極(電圧Vb)側に接続し、駆動コイル35の各相の巻線33の一端をモータドライバ37の各スイッチング素子39に接続した構成となっている。このモータドライバ37の各スイッチング素子39のオン/オフは、ECU41のCPU41a(制御手段)によって制御される。
【0026】
各相の巻線33の断線を検出するために、各相の巻線33の通電ラインにそれぞれ断線検出回路60が設けられている。各相の断線検出回路60は、直流電源電圧Vcc(例えば5V)側とグラウンド側との間に2個の抵抗61,62を直列に接続すると共に、両抵抗61,62の中間接続点を各相の通電ラインに接続し、両抵抗61,62の中間接続点を信号線を介してCPU41aの各入力ポートに接続し、両抵抗61,62の中間接続点の電圧レベル(各相の通電ラインの電圧レベル)を各入力ポートを介して断線検出信号としてCPU41aに読み込むようになっている。この場合、直流電源電圧Vcc側の抵抗61の抵抗値は例えば30kΩに設定され、グラウンド側の抵抗62の抵抗値は例えば10kΩに設定されている。
【0027】
例えば、巻線33が正常(断線なし)の場合は、スイッチング素子39をオフすると、両抵抗61,62の中間接続点の電圧レベル(断線検出信号)が巻線33を介して印加されるバッテリ電圧Vbによって上昇して、断線検出信号がハイレベルとなる。そして、スイッチング素子39をオンすると、両抵抗61,62の中間接続点が該スイッチング素子39を介してグラウンド側に導通した状態となるため、断線検出信号がローレベルとなる。
【0028】
これに対し、巻線33が断線している場合は、スイッチング素子39をオフしても、両抵抗61,62の中間接続点には巻線33を介してバッテリ電圧Vbが印加されないため、断線検出信号がローレベルに維持され、ハイレベルには反転しない。
【0029】
このような関係から、ECU41のCPU41aは、各相のスイッチング素子39をオフしたときに、各相の断線検出信号がハイレベルになれば、各相の巻線33が正常(断線なし)と判定し、各相のスイッチング素子39をオフしたときに、各相の断線検出信号がローレベルのまま変化しなければ、各相の巻線33が断線していると判定する。もし、2相以上の巻線33が断線すると、ロータ32を回転駆動できないため、2相以上の巻線33の断線が検出された場合は、全相の通電を禁止し、インストルメントパネル(図示せず)に設けられた警告表示部38(警告表示手段)に警告表示させる。
【0030】
本実施形態では、ECU41の回路基板に、CPU41aとモータドライバ37と各相の断線検出回路60を搭載するようにしたが、モータドライバ37及び/又は断線検出回路60をECU41の外部に設けるようにしても良い。
【0031】
図4に示すように、ECU41は、レンジ切換制御装置42に搭載され、このレンジ切換制御装置42には、Pレンジへの切換操作を行うPレンジスイッチ43と、NotPレンジへの切換操作を行うNotPレンジスイッチ44の操作信号が入力される。Pレンジスイッチ43又はNotPレンジスイッチ44の操作により選択されたレンジは、インストルメントパネル(図示せず)に設けられたレンジ表示部45に表示される。
【0032】
SRモータ12には、ロータ32の回転位置を検出するためのエンコーダ46が設けられている。このエンコーダ46は、例えば磁気式のロータリエンコーダにより構成されており、その具体的な構成は、図5及び図6に示すように、N極とS極が円周方向に交互に等ピッチで着磁された円環状のロータリマグネット47がロータ32の側面に同軸状に固定され、このロータリマグネット47に対向する位置に、3個のホールIC等の磁気検出素子48,49,50が配置された構成となっている。本実施形態では、ロータリマグネット47のN極とS極の着磁ピッチが7.5°に設定されている。このロータリマグネット47の着磁ピッチ(7.5°)は、SRモータ12の励磁1回当たりのロータ32の回転角度と同じに設定されている。後述するように、1−2相励磁方式でSRモータ12の通電相の切り換えを6回行うと、全ての通電相の切り換えが一巡してロータ32とロータリマグネット47が一体的に7.5°×6=45°回転する。このロータリマグネット47の45°の回転角度範囲に存在するN極とS極の数は、合計6極となっている。
【0033】
更に、ロータ32の基準回転位置に相当する位置のN極(N’)とその両側のS極(S’)がそれ以外の磁極よりも径方向の幅が広くなるように形成されている。尚、本実施形態では、SRモータ12の通電相の切り換えが一巡する間にロータ32とロータリマグネット47が一体的に45°回転することを考慮して、ロータ32の基準回転位置に相当する幅広な着磁部分(N’)が45°ピッチで形成されており、従って、ロータリマグネット47全体として、基準回転位置に相当する幅広な着磁部分(N’)が合計8個形成されている。尚、基準回転位置に相当する幅広な着磁部分(N’)は、ロータリマグネット47全体として、1個のみ形成した構成としても良い。
【0034】
このロータリマグネット47に対して3個の磁気検出素子48,49,50が次のような位置関係で配置されている。A相信号を出力する磁気検出素子48とB相信号を出力する磁気検出素子49は、ロータリマグネット47の幅狭な着磁部分(N,S)と幅広な着磁部分(N’,S’)の両方に対向し得る位置の同一円周上に配置されている。一方、Z相信号を出力する磁気検出素子50は、ロータリマグネット47の幅狭な着磁部分(N,S)よりも径方向外側又は内側の位置で、且つ、幅広な着磁部分(N’,S’)のみに対向し得る位置に配置されている。A相信号とB相信号を出力する2個の磁気検出素子48,49の間隔は、図7に示すように、A相信号とB相信号の位相差が、電気角で90°(機械角で3.75°)となるように設定されている。ここで、“電気角”はA・B相信号の発生周期を1周期(360°)とした場合の角度で、“機械角”は機械的な角度(ロータ32の1回転を360°とした場合の角度)であり、A相信号の立ち下がり(立ち上がり)からB相信号の立ち下がり(立ち上がり)までにロータ32が回転する角度がA相信号とB相信号の位相差の機械角に相当する。また、Z相信号を出力する磁気検出素子50は、Z相信号とB相信号(又はA相信号)との位相差が0となるように配置されている。
【0035】
各磁気検出素子48,49,50の出力は、N極(N’極)と対向したときにハイレベル“1”となり、S極(S’極)と対向したときにローレベル“0”となる。尚、Z相信号用の磁気検出素子50の出力は、ロータ32の基準回転位置に相当する幅広なN’極に対向する毎にハイレベル“1”となり、それ以外の位置では、ローレベル“0”となる。
【0036】
本実施形態では、ECU41のCPU41aが後述するエンコーダカウンタルーチンによってA相信号とB相信号の立ち上がり/立ち下がりの両方のエッジをカウントして、そのエンコーダカウント値に応じてSRモータ12の通電相を切り換えることでロータ32を回転駆動する。この際、A相信号とB相信号の発生順序によってロータ32の回転方向を判定し、正回転(Pレンジ→NotPレンジの回転方向)ではエンコーダカウント値をカウントアップし、逆回転(NotPレンジ→Pレンジの回転方向)ではエンコーダカウント値をカウントダウンする。これにより、ロータ32が正回転/逆回転のいずれの方向に回転しても、エンコーダカウント値とロータ32の回転位置との対応関係が維持されるため、正回転/逆回転のいずれの回転方向でも、エンコーダカウント値によってロータ32の回転位置(回転角度)を検出して、その回転位置に対応した相の巻線33に通電してロータ32を回転駆動する。
【0037】
図7は、ロータ32を逆回転方向(NotPレンジ→Pレンジの回転方向)に回転させたときのエンコーダ46の出力波形と通電相の切換パターンを示している。逆回転方向(NotPレンジ→Pレンジの回転方向)と正回転方向(Pレンジ→NotPレンジの回転方向)のいずれの場合も、ロータ32が7.5°回転する毎に1相通電と2相通電とを交互に切り換えるようになっており、ロータ32が45°回転する間に、ロータ32の回転方向に応じて、U相通電→UW相通電→W相通電→VW相通電→V相通電→UV相通電の順序又はその反対の順序で通電相の切り換えを一巡するようになっている。
【0038】
そして、この通電相の切り換え毎に、ロータ32が7.5°ずつ回転して、A相、B相信号用の磁気検出素子48,49に対向するロータリマグネット47の磁極がN極→S極(N’極→S’極)又はS極→N極(S’極→N’極)に変化してA相信号とB相信号のレベルが交互に反転し、それによって、ロータ32が7.5°回転する毎に、エンコーダカウント値が2ずつカウントアップ(又はカウントダウン)する。また、通電相の切り換えが一巡してロータ32が45°回転する毎に、Z相用の磁気検出素子50がロータ32の基準回転位置に相当する幅広なN’極に対向して、Z相信号がハイレベル“1”となる。尚、本明細書では、A相、B相、Z相信号がハイレベル“1”となることを、A相、B相、Z相信号が出力されると言う場合がある。
【0039】
このようなエンコーダ46付きのSRモータ12でレンジ切換制御を行う場合は、指令シフトレンジ(目標位置)がPレンジからNotPレンジ又はその反対方向に切り換えられる毎に、ロータ32を回転駆動して、エンコーダカウント値に基づいてSRモータ12の通電相を順次切り換えることで、ロータ32を目標位置に向かって回転駆動するフィードバック制御(以下「F/B制御」と表記する)を実行し、エンコーダカウント値が目標位置に応じて設定された目標カウント値に到達した時点で、ロータ32の回転位置が目標位置に到達したと判断してF/B制御を終了し、ロータ32を目標位置で停止させるようにしている。
【0040】
このF/B制御中は、エンコーダ46のA相・B相信号出力タイミングに同期して、ロータ32の回転方向に応じて、U相通電→UW相通電→W相通電→VW相通電→V相通電→UV相通電の順序又はその反対の順序で通電相を切り換える。一旦、ロータ32が回転し始めると、1相の巻線33が断線していても、ロータ32は慣性により回り続けるため、F/B制御が可能であるが、F/B制御開始時の最初の通電相の巻線33が断線している場合は、ロータ32の回転を立ち上げることができないため、F/B制御は不可能である。
【0041】
そこで、本実施形態では、CPU41aは、F/B制御を開始する際に、いずれか1つの相の断線が検出されている場合には、断線の検出されていない2つの相の中から最初の通電相を設定するようにしている。具体的には、通電相の切り換え順序から見て、断線が検出された相(以下「断線相」という)の次に切り換えられる通電相を最初の通電相として設定するようにしている。このようにすれば、F/B制御開始後に、断線相が通電相として選択されるまでの通電相の切り換え回数(励磁回数)を最も多くすることができて、断線相が通電相となるまでにロータ32の回転を十分に立ち上げてロータ32の慣性力を十分に大きくすることができ、確実にF/B制御を実行することができる。
【0042】
更に、本実施形態では、F/B制御を開始する際に、最初の通電相に所定時間通電してロータ32をF/B制御開始位置に保持するF/B制御開始位置保持処理を所定時間実行した後、通電相を切り換えてロータ32を回転駆動するようにしている。このようにすれば、F/B制御開始時のロータ32の回転位置と最初の通電相との同期を確実にとることができて、信頼性の高いF/B制御を行うことができる。
【0043】
この場合、いずれか1つの相の断線が検出されている場合は、F/B制御開始位置保持処理の時間(最初の通電相の通電時間)を通常よりも長い時間に設定するようにしている。つまり、正常時に最初の通電相となる相の巻線が断線している場合は、最初の通電相が正常時の最初の通電相からずらされるため、最初の通電相と実際のロータ32の回転位置との位置関係がずれ、その結果、断線時には最初の通電相とロータ32の回転位置との同期を取るのに要する時間が正常時よりも長くかかる。従って、いずれか1つの相の断線が検出されている場合は、最初の通電相の通電時間(F/B制御開始位置保持処理の時間)を通常よりも長い時間に設定すれば、最初の通電相とロータ32の回転位置との同期をより確実に取ることができる。
【0044】
以上説明した本実施形態のモータ制御は、レンジ切換制御装置42のECU41のCPU41aによって後述する各ルーチンに従って実行される。以下、これら各ルーチンの処理内容を説明する。
【0045】
[巻線断線検出]
図8及び図9に示す巻線断線検出ルーチンは、所定周期(例えば8ms周期)で起動され、特許請求の範囲でいう断線検出手段としての役割を果たす。本ルーチンでは、次のような方法で各相の巻線33の断線を検出する。
【0046】
図3に示すように、各相の巻線33の通電ラインにそれぞれ断線検出回路60を設け、各相の断線検出回路60の両抵抗61,62の中間接続点の電圧レベル(各相の通電ラインの電圧レベル)をCPU41aの各入力ポートを介してCPU41aに読み込む。そして、各相の巻線33が正常(断線なし)の場合は、モータドライバ37のスイッチング素子39をオフすると、両抵抗61の中間接続点の電圧レベルが巻線33を介して印加されるバッテリ電圧Vbによって上昇して、CPU41aの入力ポートの電圧レベル(以下「ポートレベル」という)がハイレベルとなる。その後、スイッチング素子39をオンすると、両抵抗61,62の中間接続点が該スイッチング素子39を介してグラウンド側に導通した状態となるため、CPU41aのポートレベルがローレベルとなる。
【0047】
これに対し、各相の巻線33が断線している場合は、スイッチング素子39をオフしても、両抵抗61,62の中間接続点には巻線33を介してバッテリ電圧Vbが印加されないため、CPU41aのポートレベルがローレベルに維持され、ハイレベルには反転しない。
【0048】
このような関係から、ECU41のCPU41aは、全相のスイッチング素子39をオフして全相の巻線33への通電をオフしているときに、各相のポートレベルがローレベルであるか否かで、各相の巻線33が断線しているか否かを判定する。
【0049】
図8及び図9の巻線断線検出ルーチンが起動されると、まずステップ101で、全相が通電オフの状態か否かを判定し、通電オフでなければ、以降の処理を行うことなく、本ルーチンを終了する。その後、全相が通電オフの状態となれば、ステップ101からステップ102に進み、CPU41aのU相のポートレベルがハイレベルであるか否かで、U相の巻線33が正常(断線なし)であるか否かを判定し、もし、U相のポートレベルがローレベルになっていれば、ステップ103に進み、U相の巻線33の断線と判断する。
【0050】
この後、ステップ104に進み、V相のポートレベルがハイレベルであるか否かで、V相の巻線33が正常(断線なし)であるか否かを判定し、もし、V相のポートレベルがローレベルになっていれば、ステップ105に進み、V相の巻線33の断線と判断する。
【0051】
この後、ステップ106に進み、W相のポートレベルがハイレベルであるか否かで、W相の巻線33が正常(断線なし)であるか否かを判定し、もし、W相のポートレベルがローレベルになっていれば、ステップ107に進み、W相の巻線33の断線と判断する。
【0052】
以上のようにしてU相、V相、W相の各相の巻線33の断線の有無を判定した後、図9のステップ108に進み、3相のうち、2相以上が断線しているか否かを判定し、もし、2相以上が断線していれば、ロータ32を回転駆動できないため、ステップ109に進み、全相の通電を禁止し、次のステップ110で、インストルメントパネルの警告表示部38に警告表示させる。
【0053】
一方、2相以上が断線していなければ、ステップ111に進み、1相のみが断線しているか否かを判定し、もし、1相のみが断線していれば、ステップ112に進み、1相断線フラグXdansenをONにセットする。
【0054】
これに対し、上記ステップ111で、「No」と判定されれば、ステップ113に進み、全相が正常(断線なし)と判断し、次のステップ114に進み、1相断線フラグXdansenをOFFにセットする。
【0055】
[エンコーダカウンタ]
次に、図10に示すエンコーダカウンタルーチンの処理内容を説明する。本ルーチンは、AB相割り込み処理によりA相信号とB相信号の立ち上がり/立ち下がりの両方のエッジに同期して起動され、A相信号とB相信号の立ち上がり/立ち下がりの両方のエッジを次のようにしてカウントする。本ルーチンが起動されると、まずステップ201で、A相信号とB相信号の値A(i) 、B(i) を読み込み、次のステップ202で、図11のカウントアップ値ΔN算出マップを検索して、A相信号とB相信号の今回値A(i) 、B(i) と、前回値A(i−1) 、B(i−1) に応じたカウントアップ値ΔNを算出する。
【0056】
ここで、A相信号とB相信号の今回値A(i) 、B(i) と、前回値A(i−1) 、B(i−1) を用いる理由は、A相信号とB相信号の発生順序によってロータ32の回転方向を判定するためであり、図12に示すように、正回転(Pレンジ→NotPレンジの回転方向)ではカウントアップ値ΔNをプラス値にしてエンコーダカウント値Ncntをカウントアップし、逆回転(NotPレンジ→Pレンジの回転方向)ではカウントアップ値ΔNをマイナス値にしてエンコーダカウント値Ncntをカウントダウンする。
【0057】
カウントアップ値ΔNの算出後、ステップ203に進み、前回のエンコーダカウント値Ncntに上記ステップ202で算出したカウントアップ値ΔNを加算して、今回のエンコーダカウント値Ncntを求める。この後、ステップ204に進み、次回のカウント処理のために、A相信号とB相信号の今回値A(i) 、B(i) をそれぞれA(i−1) 、B(i−1) として記憶して本ルーチンを終了する。
【0058】
[F/B制御開始位置保持処理]
図13及び図14に示すF/B制御開始位置保持処理ルーチンは、所定周期(例えば1ms周期)で起動され、F/B制御開始位置保持処理時の通電相判定値Mptn(通電相)を次のようにして設定する。
【0059】
本ルーチンが起動されると、まずステップ300で、F/B制御開始位置保持処理実行条件が成立しているか否かを判定する。ここで、F/B制御開始位置保持処理実行条件は、次の2つの条件▲1▼、▲2▼を同時に満たすことである。
【0060】
▲1▼F/B制御開始前(F/B許可フラグXfb=OFF)であること
▲2▼ロータ32の目標位置(目標カウント値Acnt)が変更されて目標カウント値Acntとエンコーダカウント値Ncntとの差(Acnt−Ncnt)の絶対値が所定値以上になっていること
これら2つの条件▲1▼、▲2▼のいずれか一方でも満たさない条件があれば、以降の処理を行うことなく、本ルーチンを終了する。
【0061】
これに対して、上記2つの条件▲1▼、▲2▼を両方とも満たせば、F/B制御開始位置保持処理実行条件が成立し、ステップ301に進み、F/B制御開始位置保持処理の時間をカウントする通電時間カウンタCT1をカウントアップする。この後、ステップ302に進み、1相断線フラグXdansenがON(いずれか1相の断線有り)であるか否かを判定し、1相断線フラグXdansenがON(いずれか1相の断線有り)の場合は、ステップ303に進み、F/B制御開始位置保持処理の時間Tholdを正常時よりも長い時間(例えば100ms)にセットし、1相断線フラグXdansenがOFF(断線無し)の場合は、ステップ304に進み、F/B制御開始位置保持処理の時間Tholdを比較的短い時間(例えば10ms)にセットする。
【0062】
この後、ステップ305に進み、F/B制御開始位置保持処理の実行時間CT1が上記ステップ303又は304で設定した時間Tholdを越えたか否かを判定する。
【0063】
まだ、F/B制御開始位置保持処理の実行時間CT1が設定時間Tholdを越えていなければ、ステップ306に進み、保持処理時通電相記憶済みフラグXhold=OFF(未記憶)であるか否か(つまりF/B制御開始位置保持処理の開始直前のタイミングであるか否か)を判定し、保持処理時通電相記憶済みフラグXhold=OFFであれば、ステップ307に進み、F/B制御開始位置保持処理時の通電相判定値Mptnを現在の位置カウンタ値(Ncnt−Gcnt)にセットする。
Mptn=Ncnt−Gcnt
【0064】
ここで、位置カウンタ値(Ncnt−Gcnt)は、エンコーダカウント値Ncntを基準位置学習値Gcntで補正した値であり、ロータ32の現在位置を正確に表した値となっている。尚、基準位置学習値Gcntは、ECU41への電源投入後の初期駆動時に学習したロータ32の基準位置の学習値である。
【0065】
この後、ステップ308に進み、通電相判定値Mptnを“12”で割り算して、その余りMptn%12を求める。ここで、“12”は、通電相を一巡させる間のエンコーダカウント値Ncnt(通電相判定値Mptn)の増減量に相当する。このMptn%12の値に基づいて、図18の変換テーブルによって通電相が決定される。
【0066】
この後、図14のステップ309に進み、Mptn%12=2,3,6,7,10,11であるか否かによって1相通電(U相通電、V相通電、W相通電)であるか否かを判定し、1相通電であれば、ステップ310に進み、通電相判定値Mptnを1回の励磁分の回転角度に相当する“2”だけ増加して2相通電(UV相通電、VW相通電、UW相通電)に補正する。これにより、F/B制御開始位置保持処理を1相通電と比べて保持トルクの大きい2相通電で実行することで、ロータ32がF/B制御開始位置付近で振動することを防止して、ロータ32をF/B制御開始位置に確実に停止保持できるようにする。
【0067】
そして、次のステップ311で、後述する図15の1相断線時通電相補正ルーチンを実行して、1相断線フラグXdansenがON(いずれか1相の断線有り)の場合は、通電相判定値Mptnを補正する。この後、ステップ312に進み、保持処理時通電相記憶済みフラグXhold=ON(記憶済み)にセットして本ルーチンを終了する。
【0068】
この後、本ルーチンが起動されたときには、ステップ306で「No」と判定され、ステップ307〜312の処理が実行されない。これにより、F/B制御開始位置保持処理時の通電相判定値Mptn(通電相)を設定する処理は、F/B制御開始位置保持処理の開始直前に1回のみ実行される。
【0069】
その後、F/B制御開始位置停止保持処理の実行時間CT1が前記ステップ303又は304で設定した時間Tholdを越えた時点で、ステップ305で「Yes」と判定されて、F/B制御開始位置保持処理を終了し、図13のステップ313に進み、F/B制御開始位置保持処理時の通電相判定値Mptnに、回転方向に応じて通電相の位相進み分のカウント値(例えば4又は3)を加算又は減算して、次の通電相判定値Mptnを設定し、ロータ32の回転駆動を開始する。この後、ステップ314に進み、F/B許可フラグXfb=ON(F/B制御実行)にセットする。
【0070】
[1相断線時通電相補正]
図15に示す1相断線時通電相補正は、図14のステップ311で起動されるサブルーチンである。本ルーチンが起動されると、まずステップ401で、1相断線フラグXdansenがON(いずれか1相の断線有り)であるか否かを判定し、1相断線フラグXdansenがOFF(断線無し)であれば、以降の処理を行うことなく、本ルーチンを終了する。
【0071】
これに対し、1相断線フラグXdansenがON(いずれか1相の断線有り)の場合は、ステップ401からステップ402に進み、U相の断線であるか否かを判定し、U相の断線であれば、ステップ403に進み、回転方向指示値Dが正回転(Pレンジ→NotPレンジの回転方向)を意味する「1」であるか否かを判定する。その結果、回転方向指示値D=1(正回転)と判定されれば、ステップ404に進み、通電相判定値Mptn=10(V相通電)に設定し、回転方向指示値D=−1(逆回転)と判定されれば、ステップ405に進み、通電相判定値Mptn=3(W相通電)に設定する。これにより、F/B制御を開始する際に、通電相の切り換え順序から見て、断線が検出されたU相の次に切り換えられる通電相が最初の通電相(F/B制御開始位置保持処理時の通電相)として設定される。その結果、U相断線時の通電相の切り換え順序は、正回転時には、V相→VW相→W相→UW相→U相→UV相の順序となり、逆回転時には、W相→VW相→V相→UV相→U相→UW相の順序となる。
【0072】
また、V相が断線している場合は、ステップ406〜409の処理により、正回転時に通電相判定値Mptn=2(W相通電)に設定し、逆回転時に通電相判定値Mptn=7(U相通電)に設定する。その結果、V相断線時の通電相の切り換え順序は、正回転時には、W相→UW相→U相→UV相→V相→VW相の順序となり、逆回転時には、U相→UW相→W相→VW相→V相→UV相の順序となる。
【0073】
また、W相が断線している場合は、ステップ410〜413の処理により、正回転時に通電相判定値Mptn=6(U相通電)に設定し、逆回転時に通電相判定値Mptn=11(V相通電)に設定する。その結果、W相断線時の通電相の切り換え順序は、正回転時には、U相→UV相→V相→VW相→W相→UW相の順序となり、逆回転時には、V相→UV相→U相→UW相→W相→VW相の順序となる。
尚、通電相の切り換え順序は、最終的には、後述する図17の通電相設定ルーチンによって決定される。
【0074】
[F/B制御]
次に、図16に示すF/B制御ルーチンの処理内容を説明する。本ルーチンは、AB相割り込み処理により実行され、F/B制御実行条件が成立しているときに、ロータ32の回転位置(エンコーダカウント値Ncnt−Gcnt)が目標位置(目標カウント値Acnt)から例えば0.5°以内に到達するまで、エンコーダカウント値Ncntと基準位置学習値Gcntとに基づいて通電相を切り換えてロータ32を回転させる。
【0075】
図16のF/B制御ルーチンが起動されると、まずステップ601で、F/B許可フラグXfbがONにセットされているか否か(F/B制御実行条件が成立しているか否か)を判定し、F/B許可フラグXfbがOFF(F/B制御実行条件が不成立)であれば、以降の処理を行うことなく、本ルーチンを終了する。
【0076】
これに対して、F/B許可フラグXfbがONにセットされていれば、ステップ602に進み、後述する図17の通電相設定ルーチンを実行して、現在のエンコーダカウント値Ncntと基準位置学習値Gcntとに基づいて通電相を設定し、次のステップ603で、当該通電相を励磁する通電処理を実行する。
【0077】
[通電相設定]
図17に示す通電相設定ルーチンは、図16のF/B制御ルーチンのステップ602で起動されるサブルーチンである。本ルーチンが起動されると、まずステップ611で、回転方向指示値Dが正回転(Pレンジ→NotPレンジの回転方向)を意味する「1」であるか否かを判定する。その結果、回転方向指示値D=1(正回転)と判定されれば、ステップ612に進み、回転方向が回転方向指示に反して逆転したか否か(エンコーダカウント値Ncntが減少したか否か)を判定し、逆転していなければ、ステップ613に進み、現在のエンコーダカウント値Ncnt、基準位置学習値Gcnt、正回転方向位相進み量K1、速度補正量Ksを用いて通電相判定値Mptnを次式により更新する。
Mptn=Ncnt−Gcnt+K1+Ks
【0078】
ここで、正回転方向位相進み量K1は、ロータ32を正回転させるのに必要な通電相の位相進み量(ロータ32の現在位置に対する通電相の位相進み量)であり、例えばK1=4に設定されている。
【0079】
また、速度補正量Ksは、ロータ32の回転速度に応じて設定される位相進み補正量である。低速域では、速度補正量Ksが0に設定され、高速になるに従って、速度補正量Ksが例えば1又は2に増加される。これにより、ロータ32の回転速度に適した通電相となるように通電相判定値Mptnが補正される。
【0080】
一方、上記ステップ612で、回転方向が回転方向指示に反して逆転したと判定された場合は、逆転防止のために通電相判定値Mptnを更新しない。この場合は、逆転直前の通電相(前回の通電相)に通電され、ロータ32の逆転を抑制する方向に制動トルクが発生する。
【0081】
また、上記ステップ611で、回転方向指示値D=−1(逆回転)、つまりNotPレンジ→Pレンジの回転方向と判定された場合は、ステップ614に進み、回転方向が回転方向指示に反して逆転したか否か(エンコーダカウント値Ncntが増加したか否か)を判定し、逆転していなければ、ステップ615に進み、現在のエンコーダカウント値Ncnt、基準位置学習値Gcnt、逆回転方向位相進み量K2、速度補正量Ksを用いて通電相判定値Mptnを次式により更新する。
Mptn=Ncnt−Gcnt−K2−Ks
【0082】
ここで、逆回転方向位相進み量K2は、ロータ32を逆回転させるのに必要な通電相の位相進み量(ロータ32の現在位置に対する通電相の位相進み量)であり、例えばK2=3に設定されている。速度補正量Ksは正回転の場合と同じである。
【0083】
一方、上記ステップ614で、回転方向が回転方向指示に反して逆転したと判定された場合は、逆転防止のために通電相判定値Mptnを更新しない。この場合は、逆転直前の通電相(前回の通電相)に通電され、ロータ32の逆転を抑制する方向に制動トルクが発生する。
【0084】
以上のようにして、今回の通電相判定値Mptnを決定した後、ステップ615に進み、通電相判定値Mptnを“12”で割り算して、その余りMptn%12を求める。ここで、“12”は、通電相を一巡させる間のエンコーダカウント値Ncntの増減量に相当する。
【0085】
Mptn%12の算出後、ステップ616に進み、図18の変換テーブルを検索して、Mptn%12に対応する通電相を選択し、これを今回の通電相に設定する。
【0086】
図19はU相から回転を開始する場合に最初に通電する相を説明するタイムチャートである。この場合、速度補正量Ks=0となるため、正回転(Pレンジ→NotPレンジ方向への回転)を開始する場合は、通電相判定値Mptnは次式により算出される。
Mptn=Ncnt−Gcnt+K1=Ncnt−Gcnt+4
【0087】
U相から正回転を開始する場合は、(Ncnt−Gcnt)/12の余りは、6となるため、Mptn%12=6+4=10となり、最初の通電相はV相となる。
【0088】
一方、U相から逆回転(NotPレンジ→Pレンジ方向への回転)を開始する場合は、通電相判定値Mptnは次式により算出される。
Mptn=Ncnt−Gcnt−K2=Ncnt−Gcnt−3
U相から逆回転を開始する場合は、Mptn%12=6−3=3となり、最初の通電相はW相となる。
【0089】
このように、正回転方向位相進み量K1と逆回転方向位相進み量K2をそれぞれ4と3に設定することで、正回転方向と逆回転方向の通電相の切換パターンを対称にすることができ、正回転方向と逆回転方向のいずれの場合も、ロータ32の現在位置から2ステップ分ずらした位置の相を最初に励磁して回転を開始することができる。
【0090】
以上説明した本実施形態(1)によれば、SRモータ12のF/B制御を開始する際に、いずれか1つの相の断線が検出されている場合は、断線の検出されていない相の中から最初の通電相を設定するようにしたので、1つの相の巻線が断線していても、それ以外の相の巻線を用いてロータ32の回転を立ち上げることができて、F/B制御を行うことができる。これにより、本実施形態(1)のように、SRモータ12の駆動コイル35を1系統のみにすることが可能となり、SRモータ12の低コスト化・小型化を実現することができる。
【0091】
しかも、本実施形態(1)では、F/B制御を開始する際に、いずれか1つの相の断線が検出されている場合は、通電相の切り換え順序から見て、断線が検出された相(断線相)の次に切り換えられる通電相を最初の通電相として設定するようにしたので、F/B制御開始後に、断線相が通電相として選択されるまでの通電相の切り換え回数(励磁回数)を最も多くすることができて、断線相が通電相となるまでにロータ32の回転を十分に立ち上げてロータ32の慣性力を十分に大きくすることができ、より確実にF/B制御を実行することができる。
【0092】
また、本実施形態(1)では、F/B制御を開始する際に、最初の通電相に所定時間通電してロータ32をF/B制御開始位置に保持するF/B制御開始位置保持処理を実行した後、通電相を切り換えてロータ32を回転駆動するようにしたので、F/B制御開始時のロータ32の回転位置と最初の通電相との同期を確実にとることができて、信頼性の高いF/B制御を行うことができる。
【0093】
更に、本実施形態(1)では、いずれか1つの相の断線が検出されている場合に、最初の通電相が正常時の最初の通電相からずらされるため、最初の通電相とロータ32の回転位置との同期を取るのに要する時間が正常時よりも長くかかるという事情を考慮して、いずれか1つの相の断線が検出されている場合は、F/B制御開始位置保持処理の時間(最初の通電相の通電時間)を通常よりも長い時間に設定するようにしたので、最初の通電相とロータ32の回転位置との同期をより確実に取ることができる。
【0094】
《実施形態(2)》
上記実施形態(1)では、各相の通電ラインの電圧レベル(各相の断線検出回路60の両抵抗61,62の中間接続点の電圧レベル)を検出することで、各相の巻線33が断線しているか否かを判定するようにしたが、図20及び図21に示す本発明の実施形態(2)では、各相の通電ラインに流れる励磁電流を電流センサ63で検出することで、各相の巻線33が断線しているか否かを判定するようにしている。以下、前記実施形態(1)と異なる部分についてのみ説明する。
【0095】
本実施形態(2)では、図20に示すように、駆動コイル35の中性点をバッテリ40の負極側に接続し、各相の巻線33の一端をモータドライバ37の各スイッチング素子39を介してバッテリ40の正極側に接続し、ECU41のCPU41aによってモータドライバ37の各スイッチング素子39をオン/オフすることで、各相の巻線33への通電をオン/オフするようになっている。
【0096】
各相の通電ラインには、それぞれ電流センサ63が設けられ、各相の電流センサ63の出力信号がECU41のCPU41aの各入力ポートに入力されるようになっている。
【0097】
各相の巻線33が正常(断線なし)の場合は、スイッチング素子39がオンされた通電相の電流センサ63で励磁電流が検出されるが、巻線33が断線している場合は、スイッチング素子39をオンしても、その相の巻線33には励磁電流が流れないため、その相の電流センサ63で励磁電流が検出されない。
【0098】
このような関係から、ECU41のCPU41aは、各相のスイッチング素子39をオンしたときに、各相の電流センサ63で励磁電流が検出されれば、各相の巻線33が断線していないと判断し、各相のスイッチング素子39をオンしても、各相の電流センサ63で励磁電流が検出されなければ、各相の巻線33が断線していると判断する。
【0099】
以上説明した本実施形態(2)の巻線断線検出は、図21の巻線断線検出ルーチンによって実行される。本ルーチンは、所定周期(例えば8ms周期)で起動され、特許請求の範囲でいう断線検出手段としての役割を果たす。本ルーチンが起動されると、まずステップ701で、U相の通電中(U相のスイッチング素子39のオン中)であるか否かを判定し、U相の通電中であれば、ステップ702に進み、U相の電流センサ63でU相の励磁電流が検出されたか否かを判定する。その結果、U相の励磁電流が検出されなければ、ステップ703に進み、U相の断線と判定する。
【0100】
この後、ステップ704に進み、V相の通電中(V相のスイッチング素子39のオン中)であるか否かを判定し、V相の通電中であれば、ステップ705に進み、V相の電流センサ63でV相の励磁電流が検出されたか否かを判定する。その結果、V相の励磁電流が検出されなければ、ステップ706に進み、V相の断線と判定する。
【0101】
この後、ステップ707に進み、W相の通電中(W相のスイッチング素子39のオン中)であるか否かを判定し、W相の通電中であれば、ステップ708に進み、W相の電流センサ63でW相の励磁電流が検出されたか否かを判定する。その結果、W相の励磁電流が検出されなければ、ステップ709に進み、W相の断線と判定する。
【0102】
以上のようにして、各相の断線の有無を判定した後、前記実施形態(1)で説明した図9のステップ108以降の処理を実行し、1相のみが断線していれば、1相断線フラグXdansenをONにセットし、2相以上が断線していれば、全相の通電を禁止し、警告表示部38に警告表示させる。
【0103】
本実施形態(2)では、各相の通電ラインにそれぞれ電流センサ63を設けたが、これらの代わりに、駆動コイル35の中性点に流れる励磁電流を検出するようにしても良い。この場合は、電流センサを1個だけ設けるだけで良く、低コスト化することができる。
【0104】
尚、前記実施形態(1)では、F/B制御中に、1相通電と2相通電とを交互に切り換える1−2相励磁方式で駆動するようにしたが、1相通電のみで駆動する1相励磁方式、又は2相通電のみで駆動する2相励磁方式を採用しても良い。
【0105】
また、本発明に用いるエンコーダは、磁気式のエンコーダ46に限定されず、例えば、光学式のエンコーダやブラシ式のエンコーダを用いても良い。
また、本発明に用いるモータは、SRモータ12に限定されず、エンコーダの出力信号のカウント値に基づいてロータの回転位置を検出してモータの通電相を順次切り換えるブラシレス型のモータであれば、SRモータ以外のブラシレス型のモータを用いても良い。
【0106】
また、前記実施形態のレンジ切換装置は、PレンジとNotPレンジの2つのレンジを切り換える構成であるが、例えば、ディテントレバー15の回動動作に連動して自動変速機のレンジ切換弁とマニュアルバルブを切り換えて、自動変速機のP、R、N、D、…の各レンジを切り換えるレンジ切換装置にも本発明を適用して実施できる。
【0107】
その他、本発明は、レンジ切換装置に限定されず、SRモータ等のブラシレス型のモータを駆動源とする各種の装置に適用して実施できることは言うまでもない。
【図面の簡単な説明】
【図1】本発明の実施形態(1)を示すレンジ切換装置の斜視図
【図2】SRモータの構成を説明する図
【図3】実施形態(1)のSRモータを駆動する回路構成を示す回路図
【図4】レンジ切換装置の制御システム全体の構成を概略的に示す図
【図5】エンコーダのロータリマグネットの構成を説明する平面図
【図6】エンコーダの側面図
【図7】(a)はエンコーダの出力波形を示すタイムチャート、(b)は通電相切り換えパターンを示すタイムチャート
【図8】巻線断線検出ルーチンの処理の流れを示すフローチャート(その1)
【図9】巻線断線検出ルーチンの処理の流れを示すフローチャート(その2)
【図10】エンコーダカウンタルーチンの処理の流れを示すフローチャート
【図11】カウントアップ値ΔN算出マップの一例を示す図
【図12】指令レンジシフト、A相信号、B相信号、エンコーダカウント値の関係を示すタイムチャート
【図13】F/B制御開始位置保持処理ルーチンの処理の流れを示すフローチャート(その1)
【図14】F/B制御開始位置保持処理ルーチンの処理の流れを示すフローチャート(その2)
【図15】1相断線時通電相補正ルーチンの処理の流れを示すフローチャート
【図16】モータF/B制御ルーチンの処理の流れを示すフローチャート
【図17】通電相設定ルーチンの処理の流れを示すフローチャート
【図18】mod(Mptn/12)から通電相への変換テーブルの一例を示す図
【図19】通電処理を説明するタイムチャート
【図20】実施形態(2)のSRモータを駆動する回路構成を示す回路図
【図21】実施形態(2)の巻線断線検出ルーチンの処理の流れを示すフローチャート
【符号の説明】
11…レンジ切換機構、12…SRモータ、14…出力軸センサ、15…ディテントレバー、18…パーキングロッド、20…パーキングギヤ、21…ロックレバー、23…ディテントバネ、24…Pレンジ保持凹部、25…NotPレンジ保持凹部、26…減速機構、27…自動変速機、31…ステータ、32…ロータ、33…巻線、35…駆動コイル、37…モータドライバ、38…警告表示部(警告表示手段)、41…ECU、41a…CPU(制御手段,断線検出手段)、43…Pレンジスイッチ、44…NotPレンジスイッチ、46…エンコーダ、47…ロータリマグネット、48…A相信号用の磁気検出素子、49…B相信号用の磁気検出素子、50…Z相信号用の磁気検出素子。
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to a motor control device that detects a rotational position of a rotor based on a count value of a pulse signal of an encoder and sequentially switches a current-carrying phase of the motor to rotate the rotor to a target position.
[0002]
[Prior art]
In recent years, brushless motors such as switch reluctance motors, which have been increasing in demand as simple and inexpensive motors, are equipped with an encoder that outputs a pulse signal in synchronization with the rotation of the rotor. In some cases, the rotational position of the rotor is detected based on the encoder count value, and the rotor is rotationally driven by sequentially switching the energized phase. Since such a motor with an encoder can detect the rotational position of the rotor based on the encoder count value after startup, the position switching for rotating the rotor to a target position by a feedback control system (F / B control system) is performed. It is used as a drive source for various position switching devices that perform control (positioning control).
[0003]
In such a position switching device, if the drive coil of the motor is disconnected, the motor cannot be driven normally. Therefore, as shown in Patent Document 1 (Japanese Patent Application Laid-Open No. 2001-271917), an independent stator core is provided for the motor. In addition to providing the drive coils of the two systems, two drive circuits for separately driving the drive coils of each system are provided, and when one of the drive coils is disconnected, the motor is driven by using only the remaining one drive coil. (Hereinafter referred to as “F / B control”).
[0004]
[Patent Document 1]
JP 2001-271917 A (pages 4 to 8 etc.)
[0005]
[Problems to be solved by the invention]
In the above Patent Document 1, even when only one phase of the three-phase winding of the motor is broken, it is determined that one of the driving coils to which the winding belongs is broken, and the other one of the driving coils is broken. The F / B control of the motor is performed using only the motor. However, in this configuration, two drive coils are required, which increases the manufacturing cost. In addition, when F / B control is performed using only one drive coil, the drive torque is reduced to half that in a normal condition, so that the drive torque is insufficient and step-out easily occurs, and normal F / B control cannot be performed. There is. On the other hand, if it is attempted to secure a large drive torque that enables normal F / B control with only one drive coil, a disadvantage arises in that a large drive coil is required and the motor becomes large.
[0006]
The present invention has been made in view of such circumstances, and accordingly, has as its object an inexpensive configuration, and even if one phase is disconnected, F / B control is performed using windings of other phases. An object of the present invention is to provide a motor control device that can be executed.
[0007]
[Means for Solving the Problems]
According to the recent test results of the present inventors, once the motor starts to rotate, even if the one-phase winding is broken, the rotor continues to rotate by inertia, so that F / B control is possible. It has been found. However, if the winding of the first energized phase at the start of the F / B control is disconnected, the rotation of the rotor cannot be started, so that the F / B control is not possible.
[0008]
Therefore, a motor control device according to a first aspect of the present invention includes a disconnection detection unit that detects a disconnection of a winding of each phase of a motor for each phase, and when the control unit starts F / B control, When a disconnection of any one phase is detected by the disconnection detecting means, at least the first two energized phases are set from among the phases in which the disconnection is not detected. In this way, even if the winding of one phase is broken, the rotation of the rotor can be started using the windings of the other phase, and F / B control can be performed. This makes it possible to use only one drive coil for the motor, as described in claim 6, so that the cost and size of the motor can be reduced.
[0009]
However, the present invention can also be applied to a motor provided with two drive coils as in Patent Document 1, and in this case, even if only one phase is disconnected, two drive coils are required. Since the F / B control can be performed by using the motor, a large driving torque can be secured as compared with Patent Document 1, and the motor can be downsized accordingly.
[0010]
Further, when a disconnection of two or more phases is detected, the power supply to the motor may be prohibited and a warning display means may display a warning. This is because, when a disconnection of two or more phases occurs, the rotation of the rotor cannot be started.
[0011]
Further, when the F / B control is started and a disconnection of any one of the phases is detected when the F / B control is started, the phase in which the disconnection is detected is determined from the switching order of the energized phases. It is preferable to set the energized phase switched next to the “disconnected phase” as the first energized phase. In this way, after the start of the F / B control, the number of times of switching of the energized phase (the number of times of excitation) until the disconnected phase is selected as the energized phase can be maximized, and until the disconnected phase becomes the energized phase. Therefore, the rotation of the rotor can be sufficiently started to sufficiently increase the inertial force of the rotor, and the F / B control can be executed more reliably.
[0012]
Further, when the F / B control is started, an F / B control start position holding process for energizing the first energized phase for a predetermined time and holding the rotor at the F / B control start position is executed. After that, the energized phase may be switched to rotate the rotor. With this configuration, the rotational position of the rotor at the start of the F / B control can be reliably synchronized with the first energized phase, and highly reliable F / B control can be performed.
[0013]
In this case, when disconnection of any one phase is detected, the time of the F / B control start position holding processing (the energizing time of the first energizing phase) is longer than usual. It is good to set to. In other words, if the winding of the phase that becomes the first energized phase during normal operation is broken, the first energized phase is shifted from the first energized phase during normal operation, so that the first energized phase and the actual rotational position of the rotor are changed. As a result, the time required to synchronize the first energized phase with the rotational position of the rotor is longer than in the normal state. Therefore, if the disconnection of any one phase is detected, the first energization time (time of the F / B control start position holding processing) of the first energization phase is set to a longer time than usual, and the first energization time is set. The phase and the rotational position of the rotor can be more reliably synchronized.
[0014]
Further, a switch reluctance motor may be used as the motor. Switched reluctance motors have the advantage that they are inexpensive and have high durability and reliability against temperature environments and the like because they do not require permanent magnets and have a simple structure.
[0015]
The inventions according to claims 1 to 7 described above can be applied to various position switching devices using a brushless type motor such as a switch reluctance motor as a drive source. The present invention may be applied to a motor control device that drives a range switching mechanism that switches the range of the machine. Thus, a highly reliable motor-driven range switching device can be configured.
[0016]
BEST MODE FOR CARRYING OUT THE INVENTION
<< Embodiment (1) >>
Hereinafter, an embodiment (1) in which the present invention is applied to a range switching device for a vehicle will be described with reference to FIGS.
[0017]
First, the configuration of the range switching mechanism 11 will be described with reference to FIG. The motor 12 serving as a drive source of the range switching mechanism 11 is constituted by, for example, a switch reluctance motor, has a built-in speed reduction mechanism 26 (see FIG. 4), and is provided with an output shaft sensor 14 for detecting the rotational position of the output shaft 13. Have been. A detent lever 15 is fixed to the output shaft 13.
[0018]
An L-shaped parking rod 18 is fixed to the detent lever 15, and a conical body 19 provided at the tip of the parking rod 18 is in contact with the lock lever 21. The lock lever 21 moves up and down about the shaft 22 in accordance with the position of the cone 19 to lock / unlock the parking gear 20. The parking gear 20 is provided on the output shaft of the automatic transmission 27. When the parking gear 20 is locked by the lock lever 21, the driving wheels of the vehicle are held in a state where they are prevented from rotating (parking state).
[0019]
On the other hand, a detent spring 23 for holding the detent lever 15 in a parking range (hereinafter referred to as “P range”) and another range (hereinafter referred to as “NotP range”) is fixed to the support base 17. When the engaging portion 23a provided at the tip of the spring 23 is fitted into the P range holding concave portion 24 of the detent lever 15, the detent lever 15 is held at the position of the P range. The detent lever 15 is held at the position of the NotP range when 23a is fitted into the NotP range holding recess 25 of the detent lever 15.
[0020]
In the P range, the parking rod 18 moves in a direction approaching the lock lever 21, and the thick portion of the cone 19 pushes up the lock lever 21, and the projection 21 a of the lock lever 21 fits into the parking gear 20 to park. The gear 20 is locked, whereby the output shaft (drive wheel) of the automatic transmission 27 is maintained in a locked state (parking state).
[0021]
On the other hand, in the NotP range, the parking rod 18 moves in a direction away from the lock lever 21, the thick portion of the cone 19 comes out of the lock lever 21, and the lock lever 21 descends. 21a is disengaged from the parking gear 20, the lock of the parking gear 20 is released, and the output shaft of the automatic transmission 27 is maintained in a rotatable state (runnable state).
[0022]
The output shaft sensor 14 described above is constituted by a rotation sensor (for example, a potentiometer) that outputs a voltage corresponding to the rotation angle of the output shaft 13 of the speed reduction mechanism 26 of the motor 12, and the current range is set to the P range by the output voltage. And the NotP range.
[0023]
Next, the configuration of the motor 12 will be described with reference to FIG. In the present embodiment, a switched reluctance motor (hereinafter referred to as “SR motor”) is used as the motor 12. The SR motor 12 is a motor in which both the stator 31 and the rotor 32 have a salient pole structure, and has an advantage that a permanent magnet is not required and the structure is simple. For example, twelve salient poles 31a are formed at equal intervals on the inner peripheral portion of the cylindrical stator 31, whereas, for example, eight salient poles 32a are formed at equal intervals on the outer peripheral portion of the rotor 32. The respective salient poles 32a of the rotor 32 are sequentially opposed to the respective salient poles 31a of the stator 31 via a minute gap with the rotation of the rotor 32. A total of twelve windings 33 of U-phase, V-phase, and W-phase are sequentially wound around the twelve salient poles 31 a of the stator 31. It goes without saying that the number of salient poles 31a and 32a of the stator 31 and the rotor 32 may be changed as appropriate.
[0024]
As shown in FIG. 2, the winding order of a total of 12 windings 33 of the U phase, the V phase, and the W phase is, for example, V phase → W phase → It is wound in the order of U phase → V phase → W phase → U phase → V phase → W phase → U phase → V phase → W phase → U phase. As shown in FIG. 3, a total of 12 windings 33 of the U phase, the V phase, and the W phase are Y-connected (the four windings 33 of each phase are connected in series), and one drive coil 35 are configured. The drive coil 35 is driven by a motor driver 37 using a battery (not shown) mounted on the vehicle as a power supply. In the example of the circuit configuration of the motor driver 37 shown in FIG. 3, a unipolar drive system circuit configuration is provided in which one switching element 39 such as a transistor is provided for each phase, but two switching elements are provided for each phase. Alternatively, a circuit configuration of a bipolar drive system provided for each may be adopted.
[0025]
In the present embodiment, the neutral point of the drive coil 35 is connected to the positive electrode (voltage Vb) of the battery, and one end of each phase winding 33 of the drive coil 35 is connected to each switching element 39 of the motor driver 37. It has a configuration. ON / OFF of each switching element 39 of the motor driver 37 is controlled by the CPU 41a (control means) of the ECU 41.
[0026]
In order to detect a disconnection of the winding 33 of each phase, a disconnection detection circuit 60 is provided on each of the energizing lines of the winding 33 of each phase. The disconnection detection circuit 60 of each phase connects two resistors 61 and 62 in series between the DC power supply voltage Vcc (for example, 5 V) side and the ground side, and connects an intermediate connection point between the two resistors 61 and 62 to each other. And the intermediate connection point of the two resistors 61 and 62 is connected to each input port of the CPU 41a via a signal line, and the voltage level of the intermediate connection point of the two resistors 61 and 62 (the current supply line of each phase) is connected. Is read into the CPU 41a via each input port as a disconnection detection signal. In this case, the resistance of the resistor 61 on the DC power supply voltage Vcc side is set to, for example, 30 kΩ, and the resistance of the resistor 62 on the ground side is set to, for example, 10 kΩ.
[0027]
For example, when the winding 33 is normal (no disconnection), the switching element 39 is turned off, and the voltage level (disconnection detection signal) at the intermediate connection point between the resistors 61 and 62 is applied via the winding 33 to the battery. The voltage is increased by the voltage Vb, and the disconnection detection signal goes high. Then, when the switching element 39 is turned on, the intermediate connection point between the two resistors 61 and 62 becomes conductive through the switching element 39 to the ground side, so that the disconnection detection signal becomes low level.
[0028]
On the other hand, when the winding 33 is disconnected, even if the switching element 39 is turned off, the battery voltage Vb is not applied to the intermediate connection point between the resistors 61 and 62 via the winding 33. The detection signal is maintained at a low level and does not invert to a high level.
[0029]
From such a relationship, the CPU 41a of the ECU 41 determines that the winding 33 of each phase is normal (no disconnection) if the disconnection detection signal of each phase goes high when the switching element 39 of each phase is turned off. However, if the disconnection detection signal of each phase remains unchanged at the low level when the switching element 39 of each phase is turned off, it is determined that the winding 33 of each phase is disconnected. If the windings 33 of two or more phases are disconnected, the rotor 32 cannot be driven to rotate. If the disconnection of the windings 33 of two or more phases is detected, energization of all phases is prohibited and the instrument panel (FIG. (Not shown), a warning is displayed on a warning display section 38 (warning display means).
[0030]
In the present embodiment, the CPU 41a, the motor driver 37, and the disconnection detection circuit 60 for each phase are mounted on the circuit board of the ECU 41. However, the motor driver 37 and / or the disconnection detection circuit 60 may be provided outside the ECU 41. May be.
[0031]
As shown in FIG. 4, the ECU 41 is mounted on a range switching control device 42. The range switching control device 42 performs a switching operation to a P range and a switching operation to a NotP range. An operation signal of the NotP range switch 44 is input. The range selected by operating the P range switch 43 or the NotP range switch 44 is displayed on a range display section 45 provided on an instrument panel (not shown).
[0032]
The SR motor 12 is provided with an encoder 46 for detecting the rotational position of the rotor 32. The encoder 46 is constituted by, for example, a magnetic rotary encoder. As shown in FIGS. 5 and 6, the specific configuration of the encoder 46 is such that north poles and south poles are alternately arranged at equal pitches in the circumferential direction. A magnetized annular rotary magnet 47 is coaxially fixed to the side surface of the rotor 32, and three magnetic detecting elements 48, 49, 50 such as Hall ICs are arranged at positions facing the rotary magnet 47. It has a configuration. In the present embodiment, the magnetization pitch between the N pole and the S pole of the rotary magnet 47 is set to 7.5 °. The magnetization pitch (7.5 °) of the rotary magnet 47 is set to be the same as the rotation angle of the rotor 32 per excitation of the SR motor 12. As will be described later, when the energized phase of the SR motor 12 is switched six times by the 1-2-phase excitation method, all energized phases are switched once, and the rotor 32 and the rotary magnet 47 are integrally 7.5 °. × 6 = 45 ° rotation. The number of N poles and S poles present in the rotation angle range of 45 ° of the rotary magnet 47 is a total of six poles.
[0033]
Further, the N pole (N ') at the position corresponding to the reference rotation position of the rotor 32 and the S poles (S') on both sides thereof are formed so as to be wider in the radial direction than the other magnetic poles. In the present embodiment, considering that the rotor 32 and the rotary magnet 47 rotate integrally by 45 ° during one cycle of the switching of the energized phase of the SR motor 12, a wide width corresponding to the reference rotation position of the rotor 32 is taken into consideration. The large magnetized portions (N ′) are formed at a 45 ° pitch, so that a total of eight wide magnetized portions (N ′) corresponding to the reference rotation position are formed as the rotary magnet 47 as a whole. The wide magnetized portion (N ′) corresponding to the reference rotation position may be configured such that only one magnet is formed as the whole rotary magnet 47.
[0034]
Three magnetic detecting elements 48, 49, 50 are arranged with respect to the rotary magnet 47 in the following positional relationship. The magnetic detecting element 48 that outputs the A-phase signal and the magnetic detecting element 49 that outputs the B-phase signal are composed of a narrow magnetized portion (N, S) and a wide magnetized portion (N ′, S ′) of the rotary magnet 47. ) Are arranged on the same circumference at positions that can face both. On the other hand, the magnetic detection element 50 that outputs the Z-phase signal is located at a position radially outside or inside the narrow magnetized portion (N, S) of the rotary magnet 47 and has a wide magnetized portion (N ′). , S ′) only. As shown in FIG. 7, the interval between the two magnetic detecting elements 48 and 49 for outputting the A-phase signal and the B-phase signal is such that the phase difference between the A-phase signal and the B-phase signal is 90 ° in electrical angle (mechanical angle). 3.75 °). Here, “electric angle” is an angle when the generation period of the A / B phase signal is one cycle (360 °), and “mechanical angle” is a mechanical angle (one rotation of the rotor 32 is 360 °). The angle at which the rotor 32 rotates from the fall (rise) of the A-phase signal to the fall (rise) of the B-phase signal corresponds to the mechanical angle of the phase difference between the A-phase signal and the B-phase signal. I do. The magnetic detection element 50 that outputs the Z-phase signal is arranged so that the phase difference between the Z-phase signal and the B-phase signal (or the A-phase signal) becomes zero.
[0035]
The output of each of the magnetic detection elements 48, 49, and 50 becomes a high level "1" when facing the N pole (N 'pole), and becomes a low level "0" when facing the S pole (S' pole). Become. The output of the magnetic detection element 50 for the Z-phase signal becomes high level "1" every time it faces the wide N 'pole corresponding to the reference rotation position of the rotor 32. At other positions, the output becomes low level "1". 0 ".
[0036]
In the present embodiment, the CPU 41a of the ECU 41 counts both rising and falling edges of the A-phase signal and the B-phase signal by an encoder counter routine described later, and determines the energized phase of the SR motor 12 according to the encoder count value. The switching drives the rotor 32 to rotate. At this time, the rotation direction of the rotor 32 is determined based on the generation order of the A-phase signal and the B-phase signal, and the encoder count value is counted up in the forward rotation (P direction → NotP range rotation direction), and the reverse rotation (NotP range → In the (P-range rotation direction), the encoder count value is counted down. Accordingly, even if the rotor 32 rotates in either the forward direction or the reverse direction, the correspondence between the encoder count value and the rotational position of the rotor 32 is maintained. However, the rotation position (rotation angle) of the rotor 32 is detected based on the encoder count value, and the current is supplied to the winding 33 of the phase corresponding to the rotation position to drive the rotor 32 to rotate.
[0037]
FIG. 7 shows an output waveform of the encoder 46 and a switching pattern of the energized phase when the rotor 32 is rotated in the reverse rotation direction (the rotation direction from the NotP range to the P range). In both the reverse rotation direction (the rotation direction from the NotP range to the P range) and the normal rotation direction (the rotation direction from the P range to the NotP range), one phase energization and two phases are performed every time the rotor 32 rotates 7.5 °. The energization and the energization are alternately switched, and during the rotation of the rotor 32 by 45 °, the U-phase energization → UW-phase energization → W-phase energization → VW-phase energization → V-phase energization according to the rotation direction of the rotor 32. → The energized phase is switched once in the order of UV phase energization or in the reverse order.
[0038]
Each time the energized phase is switched, the rotor 32 rotates by 7.5 ° so that the magnetic pole of the rotary magnet 47 facing the magnetic detection elements 48 and 49 for the A-phase and B-phase signals changes from N pole to S pole. (N ′ pole → S ′ pole) or S pole → N pole (S ′ pole → N ′ pole), and the levels of the A-phase signal and the B-phase signal are alternately inverted. The encoder count value is incremented (or decremented) by 2 for every .5 ° rotation. Each time the switching of the energized phase completes one cycle and the rotor 32 rotates 45 °, the magnetic detection element 50 for the Z phase faces the wide N ′ pole corresponding to the reference rotation position of the rotor 32, and The signal becomes high level "1". In this specification, the fact that the A-phase, B-phase, and Z-phase signals are at the high level “1” may be referred to as the output of the A-phase, B-phase, and Z-phase signals.
[0039]
When the range switching control is performed by the SR motor 12 with the encoder 46, the rotor 32 is rotationally driven every time the command shift range (target position) is switched from the P range to the NotP range or the opposite direction. By sequentially switching the energized phase of the SR motor 12 based on the encoder count value, feedback control (hereinafter, referred to as “F / B control”) for rotating the rotor 32 toward the target position is executed, and the encoder count value When the motor reaches a target count value set in accordance with the target position, it is determined that the rotational position of the rotor 32 has reached the target position, the F / B control is terminated, and the rotor 32 is stopped at the target position. I have to.
[0040]
During this F / B control, in synchronization with the A-phase / B-phase signal output timing of the encoder 46, the U-phase power supply → UW-phase power supply → W-phase power supply → VW-phase power supply → V The energized phase is switched in the order of phase energization → UV phase energization or the reverse order. Once the rotor 32 starts to rotate, even if the one-phase winding 33 is broken, the rotor 32 continues to rotate due to inertia, so that F / B control is possible. When the winding 33 of the current-carrying phase is disconnected, the rotation of the rotor 32 cannot be started, so that the F / B control is impossible.
[0041]
Therefore, in the present embodiment, when starting the F / B control, if the disconnection of any one phase is detected, the CPU 41a selects the first of the two phases in which the disconnection is not detected. The energizing phase is set. Specifically, in view of the switching sequence of the energized phases, the energized phase switched next to the phase in which the disconnection is detected (hereinafter referred to as “disconnected phase”) is set as the first energized phase. In this way, after the start of the F / B control, the number of times of switching the energized phase (the number of times of excitation) until the disconnection phase is selected as the energized phase can be maximized, and until the disconnected phase becomes the energized phase. Thus, the inertia force of the rotor 32 can be sufficiently increased by sufficiently starting the rotation of the rotor 32, and the F / B control can be executed reliably.
[0042]
Further, in the present embodiment, when starting the F / B control, the F / B control start position holding process for energizing the first energized phase for a predetermined time and holding the rotor 32 at the F / B control start position is performed for a predetermined time. After the execution, the energized phase is switched to rotate the rotor 32. By doing so, the rotational position of the rotor 32 at the start of the F / B control can be reliably synchronized with the first energized phase, and highly reliable F / B control can be performed.
[0043]
In this case, when disconnection of any one phase is detected, the time of the F / B control start position holding processing (the energization time of the first energization phase) is set to a longer time than usual. . In other words, if the winding of the phase that becomes the first energized phase in a normal state is broken, the first energized phase is shifted from the first energized phase in a normal state. As a result, the time required for synchronizing the first energized phase with the rotational position of the rotor 32 at the time of disconnection takes longer than at normal times. Therefore, if the disconnection of any one phase is detected, the first energization time (time of the F / B control start position holding processing) of the first energization phase is set to a longer time than usual, and the first energization time is set. The phase and the rotational position of the rotor 32 can be more reliably synchronized.
[0044]
The motor control of the present embodiment described above is executed by the CPU 41a of the ECU 41 of the range switching control device 42 in accordance with each routine described later. Hereinafter, the processing contents of each of these routines will be described.
[0045]
[Winding disconnection detection]
The winding disconnection detection routine shown in FIG. 8 and FIG. 9 is started at a predetermined cycle (for example, 8 ms cycle), and plays a role as a disconnection detecting means referred to in the claims. In this routine, the disconnection of the winding 33 of each phase is detected by the following method.
[0046]
As shown in FIG. 3, a disconnection detecting circuit 60 is provided on each of the current-carrying lines of the windings 33 of each phase, and the voltage level at the intermediate connection point between the resistors 61 and 62 of the disconnection detecting circuit 60 of each phase (the current flowing through each phase). (Voltage level of the line) is read into the CPU 41a via each input port of the CPU 41a. When the winding 33 of each phase is normal (no disconnection), the switching element 39 of the motor driver 37 is turned off, and the voltage level at the intermediate connection point between the two resistors 61 is applied via the winding 33. The voltage level rises by the voltage Vb, and the voltage level of the input port of the CPU 41a (hereinafter, referred to as “port level”) becomes high. Thereafter, when the switching element 39 is turned on, the intermediate connection point between the two resistors 61 and 62 becomes conductive through the switching element 39 to the ground side, so that the port level of the CPU 41a becomes low level.
[0047]
On the other hand, when the winding 33 of each phase is disconnected, even when the switching element 39 is turned off, the battery voltage Vb is not applied to the intermediate connection point between the resistors 61 and 62 via the winding 33. Therefore, the port level of the CPU 41a is maintained at a low level, and does not reverse to a high level.
[0048]
From such a relationship, the CPU 41a of the ECU 41 determines whether or not the port level of each phase is low when the energization to the winding 33 of all phases is turned off by turning off the switching elements 39 of all phases. It is determined whether or not the windings 33 of each phase are disconnected.
[0049]
When the winding disconnection detection routine shown in FIGS. 8 and 9 is started, first, in step 101, it is determined whether or not all phases are in a power-off state. This routine ends. Thereafter, when all the phases are turned off, the process proceeds from step 101 to step 102, where the U-phase winding 33 is normal (no disconnection) depending on whether or not the U-phase port level of the CPU 41a is at a high level. If the U-phase port level is low, the process proceeds to step 103, where it is determined that the U-phase winding 33 is disconnected.
[0050]
Thereafter, the process proceeds to step 104, where it is determined whether the V-phase winding 33 is normal (no disconnection) based on whether the V-phase port level is at a high level. If the level is low, the process proceeds to step 105, where it is determined that the V-phase winding 33 is disconnected.
[0051]
Thereafter, the process proceeds to step 106, where it is determined whether or not the W-phase winding 33 is normal (no disconnection) by determining whether or not the W-phase port level is at a high level. If the level is low, the process proceeds to step 107, where it is determined that the W-phase winding 33 is disconnected.
[0052]
After determining whether the windings 33 of the U-phase, V-phase, and W-phase are disconnected as described above, proceed to step 108 in FIG. 9 to determine whether two or more of the three phases are disconnected. If two or more phases are disconnected, the rotor 32 cannot be driven to rotate. Therefore, the process proceeds to step 109, in which the energization of all the phases is prohibited, and in the next step 110, a warning of the instrument panel is issued. A warning is displayed on the display unit 38.
[0053]
On the other hand, if two or more phases are not disconnected, the process proceeds to step 111, and it is determined whether or not only one phase is disconnected. If only one phase is disconnected, the process proceeds to step 112 and one phase is disconnected. The disconnection flag Xdansen is set to ON.
[0054]
On the other hand, if "No" is determined in step 111, the process proceeds to step 113, where it is determined that all phases are normal (no disconnection), and the process proceeds to the next step 114, where the one-phase disconnection flag Xdansen is turned off. set.
[0055]
[Encoder counter]
Next, processing contents of the encoder counter routine shown in FIG. 10 will be described. This routine is started in synchronization with both the rising / falling edges of the A-phase signal and the B-phase signal by the AB-phase interrupt processing, and the rising / falling edges of the A-phase signal and the B-phase signal are set next. Count as follows. When this routine is started, first, in step 201, the values A (i) and B (i) of the A-phase signal and the B-phase signal are read, and in the next step 202, the count-up value ΔN calculation map of FIG. A search is performed to calculate a current value A (i), B (i) of the A-phase signal and the B-phase signal and a count-up value ΔN corresponding to the previous value A (i−1), B (i−1). .
[0056]
Here, the reason why the present values A (i) and B (i) of the A-phase signal and the B-phase signal and the previous values A (i-1) and B (i-1) are used is that the A-phase signal and the B-phase signal are used. This is because the rotation direction of the rotor 32 is determined based on the order in which the signals are generated. As shown in FIG. 12, the encoder count value Ncnt is set by setting the count-up value ΔN to a positive value in the forward rotation (the rotation direction from the P range to the NotP range). Is counted up, and in the reverse rotation (the rotation direction from the NotP range to the P range), the count-up value ΔN is set to a negative value, and the encoder count value Ncnt is counted down.
[0057]
After calculating the count-up value ΔN, the process proceeds to step 203, where the count-up value ΔN calculated in step 202 is added to the previous encoder count value Ncnt to determine the current encoder count value Ncnt. Thereafter, the process proceeds to step 204, where the current values A (i) and B (i) of the A-phase signal and the B-phase signal are A (i-1) and B (i-1) for the next count processing. And the routine ends.
[0058]
[F / B control start position holding process]
The F / B control start position holding processing routine shown in FIGS. 13 and 14 is started at a predetermined cycle (for example, 1 ms cycle), and the energized phase determination value Mptn (energized phase) at the time of the F / B control start position holding processing is set to the following. Set as follows.
[0059]
When this routine is started, first, in step 300, it is determined whether or not the condition for executing the F / B control start position holding process is satisfied. Here, the condition for executing the F / B control start position holding process is to satisfy the following two conditions (1) and (2) simultaneously.
[0060]
(1) Before F / B control is started (F / B permission flag Xfb = OFF)
(2) The target position (target count value Acnt) of the rotor 32 has been changed and the absolute value of the difference (Acnt−Ncnt) between the target count value Acnt and the encoder count value Ncnt is equal to or greater than a predetermined value.
If there is a condition that does not satisfy either one of these two conditions (1) and (2), this routine ends without performing the subsequent processing.
[0061]
On the other hand, if the above two conditions (1) and (2) are both satisfied, the condition for executing the F / B control start position holding process is satisfied, and the routine proceeds to step 301, where the F / B control start position holding process is executed. An energization time counter CT1 for counting time is counted up. Thereafter, the process proceeds to step 302, where it is determined whether or not the one-phase disconnection flag Xdansen is ON (there is any one-phase disconnection), and the one-phase disconnection flag Xdansen is ON (the one-phase disconnection exists). In this case, the process proceeds to step 303, in which the time Thold of the F / B control start position holding processing is set to a time longer than the normal time (for example, 100 ms), and if the one-phase disconnection flag Xdansen is OFF (no disconnection), the process proceeds to step 303. Proceeding to 304, the time Thold of the F / B control start position holding processing is set to a relatively short time (for example, 10 ms).
[0062]
Thereafter, the process proceeds to step 305, and it is determined whether or not the execution time CT1 of the F / B control start position holding processing has exceeded the time Thold set in step 303 or 304.
[0063]
If the execution time CT1 of the F / B control start position holding process has not exceeded the set time Thold, the process proceeds to step 306, and it is determined whether or not the holding process energized phase stored flag Xhold = OFF (not stored) ( That is, it is determined whether or not the timing is immediately before the start of the F / B control start position holding process). If the holding process energized phase stored flag Xhold = OFF, the process proceeds to step 307, and the F / B control start position is determined. The energized phase determination value Mptn at the time of the holding process is set to the current position counter value (Ncnt-Gcnt).
Mptn = Ncnt−Gcnt
[0064]
Here, the position counter value (Ncnt-Gcnt) is a value obtained by correcting the encoder count value Ncnt with the reference position learning value Gcnt, and is a value that accurately represents the current position of the rotor 32. The reference position learned value Gcnt is a learned value of the reference position of the rotor 32 learned at the time of the initial drive after the power supply to the ECU 41 is turned on.
[0065]
Thereafter, the process proceeds to step 308, where the energized phase determination value Mptn is divided by "12" to obtain the remainder Mptn% 12. Here, “12” corresponds to the increase or decrease of the encoder count value Ncnt (the energized phase determination value Mptn) during one cycle of the energized phase. Based on the value of Mptn% 12, the energized phase is determined by the conversion table of FIG.
[0066]
Thereafter, the process proceeds to step 309 in FIG. 14, where one-phase conduction (U-phase conduction, V-phase conduction, W-phase conduction) is performed depending on whether or not Mptn% 12 = 2, 3, 6, 7, 10, 11. If the current is one-phase energized, the routine proceeds to step 310, where the energized phase determination value Mptn is increased by “2” corresponding to the rotation angle for one excitation, and the two-phase energized (UV phase energized) , VW phase energization, UW phase energization). Thus, by executing the F / B control start position holding process with two-phase energization having a larger holding torque compared to one-phase energization, the rotor 32 is prevented from vibrating near the F / B control start position, The rotor 32 can be reliably stopped and held at the F / B control start position.
[0067]
Then, in the next step 311, the energized phase correction routine for one-phase disconnection shown in FIG. 15 to be described later is executed, and when the one-phase disconnection flag Xdansen is ON (there is a disconnection of any one phase), the energized phase determination value Correct Mptn. Thereafter, the process proceeds to step 312, in which the stored energized phase storage completion flag Xhold = ON (stored) is set, and this routine ends.
[0068]
Thereafter, when this routine is started, “No” is determined in step 306, and the processes in steps 307 to 312 are not performed. Thus, the process of setting the energized phase determination value Mptn (energized phase) at the time of the F / B control start position holding process is executed only once immediately before the start of the F / B control start position holding process.
[0069]
Thereafter, when the execution time CT1 of the F / B control start position stop holding processing exceeds the time Thold set in the step 303 or 304, "Yes" is determined in the step 305, and the F / B control start position holding is performed. After the process is completed, the process proceeds to step 313 in FIG. 13, where the energized phase determination value Mptn at the time of the F / B control start position holding process includes a count value (eg, 4 or 3) corresponding to the phase advance of the energized phase according to the rotation direction. Is added or subtracted to set the next energized phase determination value Mptn, and the rotation drive of the rotor 32 is started. Thereafter, the process proceeds to step 314, where the F / B permission flag Xfb is set to ON (F / B control is executed).
[0070]
[Electrical phase correction when one phase is broken]
The one-phase disconnection energized phase correction shown in FIG. 15 is a subroutine started in step 311 of FIG. When this routine is started, first, in step 401, it is determined whether or not the one-phase disconnection flag Xdansen is ON (there is any one-phase disconnection), and if the one-phase disconnection flag Xdansen is OFF (no disconnection). If there is, the routine ends without performing the subsequent processing.
[0071]
On the other hand, when the one-phase disconnection flag Xdansen is ON (there is a disconnection of any one phase), the process proceeds from step 401 to step 402, where it is determined whether or not the U-phase is disconnected. If there is, the process proceeds to step 403, and it is determined whether or not the rotation direction instruction value D is “1” meaning forward rotation (P range → NotP range rotation direction). As a result, if it is determined that the rotation direction instruction value D = 1 (forward rotation), the process proceeds to step 404, where the energization phase determination value Mptn = 10 (V phase energization) is set, and the rotation direction instruction value D = −1 ( If it is determined that the rotation is the reverse rotation, the process proceeds to step 405, and the energization phase determination value Mptn is set to 3 (W-phase energization). Thus, when starting the F / B control, the energized phase to be switched next to the U-phase in which the disconnection is detected is the first energized phase (F / B control start position holding processing) in view of the energized phase switching order. Is set as the current-carrying phase). As a result, the order of switching the energized phases when the U-phase is broken is V-phase → VW-phase → W-phase → UW-phase → U-phase → UV-phase during normal rotation, and W-phase → VW-phase → The order is V phase → UV phase → U phase → UW phase.
[0072]
If the V phase is broken, the energized phase determination value Mptn = 2 (W-phase energization) is set during normal rotation and the energized phase determination value Mptn = 7 (reverse rotation) through the processing of steps 406 to 409. (U-phase energization). As a result, the order of switching the current-carrying phase when the V-phase is broken is W-phase → UW-phase → U-phase → UV-phase → V-phase → VW-phase during normal rotation, and U-phase → UW-phase → The order is W phase → VW phase → V phase → UV phase.
[0073]
If the W phase is broken, the energized phase determination value Mptn is set to 6 (U-phase energization) during normal rotation and the energized phase determination value Mptn is set to 11 (Upt-energy) during reverse rotation by the processing of steps 410 to 413. (V-phase conduction). As a result, the order of switching the current-carrying phases when the W-phase is broken is U-phase → UV-phase → V-phase → VW-phase → W-phase → UW-phase during normal rotation, and V-phase → UV-phase → The order is U phase → UW phase → W phase → VW phase.
The switching order of the energized phases is finally determined by the energized phase setting routine of FIG. 17 described later.
[0074]
[F / B control]
Next, the processing content of the F / B control routine shown in FIG. 16 will be described. This routine is executed by an AB-phase interrupt process. When the F / B control execution condition is satisfied, the rotational position (encoder count value Ncnt−Gcnt) of the rotor 32 is changed from the target position (target count value Acnt), for example. Until the angle reaches 0.5 °, the energizing phase is switched based on the encoder count value Ncnt and the reference position learning value Gcnt to rotate the rotor 32.
[0075]
When the F / B control routine of FIG. 16 is started, first, in step 601, it is determined whether or not the F / B permission flag Xfb is set to ON (whether or not the F / B control execution condition is satisfied). If it is determined that the F / B permission flag Xfb is OFF (the F / B control execution condition is not satisfied), the routine ends without performing the subsequent processing.
[0076]
On the other hand, if the F / B permission flag Xfb is set to ON, the routine proceeds to step 602, where the energized phase setting routine shown in FIG. 17 to be described later is executed, and the current encoder count value Ncnt and the reference position learning value are set. An energizing phase is set based on Gcnt, and in the next step 603, energizing processing for exciting the energizing phase is executed.
[0077]
[Current phase setting]
The energized phase setting routine shown in FIG. 17 is a subroutine started in step 602 of the F / B control routine in FIG. When this routine is started, first, in step 611, it is determined whether or not the rotation direction instruction value D is “1” meaning forward rotation (the rotation direction from the P range to the NotP range). As a result, if it is determined that the rotation direction instruction value D = 1 (forward rotation), the process proceeds to step 612, where it is determined whether the rotation direction has been reversed against the rotation direction instruction (whether the encoder count value Ncnt has decreased or not). ), The flow proceeds to step 613, and the energized phase determination value Mptn is calculated using the current encoder count value Ncnt, reference position learning value Gcnt, forward rotation direction phase advance amount K1, and speed correction amount Ks. It is updated by the following formula.
Mptn = Ncnt−Gcnt + K1 + Ks
[0078]
Here, the forward rotation direction phase lead amount K1 is the phase lead amount of the conduction phase necessary for rotating the rotor 32 in the forward direction (the phase lead amount of the conduction phase with respect to the current position of the rotor 32). For example, K1 = 4 Is set.
[0079]
The speed correction amount Ks is a phase lead correction amount set according to the rotation speed of the rotor 32. In the low speed range, the speed correction amount Ks is set to 0, and as the speed increases, the speed correction amount Ks is increased to, for example, 1 or 2. Thus, the energized phase determination value Mptn is corrected so that the energized phase is suitable for the rotation speed of the rotor 32.
[0080]
On the other hand, if it is determined in step 612 that the rotation direction has been reversed against the rotation direction instruction, the energized phase determination value Mptn is not updated in order to prevent the rotation. In this case, electricity is supplied to the energized phase immediately before the reverse rotation (previous energized phase), and a braking torque is generated in a direction to suppress the reverse rotation of the rotor 32.
[0081]
If it is determined in step 611 that the rotation direction instruction value D = -1 (reverse rotation), that is, the rotation direction is from NotP range to P range, the process proceeds to step 614, and the rotation direction is opposite to the rotation direction instruction. It is determined whether or not the rotation has been reversed (whether or not the encoder count value Ncnt has increased). If the rotation has not been reversed, the process proceeds to step 615, where the current encoder count value Ncnt, the reference position learning value Gcnt, and the phase in the reverse rotation direction are advanced. The energized phase determination value Mptn is updated by the following equation using the amount K2 and the speed correction amount Ks.
Mptn = Ncnt-Gcnt-K2-Ks
[0082]
Here, the amount of phase advance K2 in the reverse rotation direction is the amount of phase advance of the energized phase required to rotate the rotor 32 in the reverse direction (the amount of phase advance of the energized phase with respect to the current position of the rotor 32). Is set. The speed correction amount Ks is the same as in the case of the forward rotation.
[0083]
On the other hand, if it is determined in step 614 that the rotation direction has been reversed against the rotation direction instruction, the energized phase determination value Mptn is not updated to prevent reverse rotation. In this case, electricity is supplied to the energized phase immediately before the reverse rotation (previous energized phase), and a braking torque is generated in a direction to suppress the reverse rotation of the rotor 32.
[0084]
After the current energized phase determination value Mptn is determined as described above, the process proceeds to step 615, where the energized phase determination value Mptn is divided by "12" to obtain the remainder Mptn% 12. Here, “12” corresponds to the increase / decrease amount of the encoder count value Ncnt during one cycle of the energized phase.
[0085]
After the calculation of Mptn% 12, the process proceeds to step 616, in which the conversion table of FIG. 18 is searched, and the energized phase corresponding to Mptn% 12 is selected and set as the current energized phase.
[0086]
FIG. 19 is a time chart for explaining a phase to be energized first when rotation is started from the U phase. In this case, since the speed correction amount Ks = 0, when the forward rotation (rotation in the direction from the P range to the NotP range) is started, the energized phase determination value Mptn is calculated by the following equation.
Mptn = Ncnt−Gcnt + K1 = Ncnt−Gcnt + 4
[0087]
When starting the normal rotation from the U phase, the remainder of (Ncnt−Gcnt) / 12 is 6, so that Mptn% 12 = 6 + 4 = 10, and the first energized phase is the V phase.
[0088]
On the other hand, when the reverse rotation (rotation from the NotP range to the P range direction) is started from the U phase, the energized phase determination value Mptn is calculated by the following equation.
Mptn = Ncnt-Gcnt-K2 = Ncnt-Gcnt-3
When the reverse rotation is started from the U phase, Mptn% 12 = 6-3 = 3, and the first energized phase is the W phase.
[0089]
In this way, by setting the forward rotation direction phase lead amount K1 and the reverse rotation direction phase lead amount K2 to 4 and 3, respectively, the switching pattern of the energized phase in the forward rotation direction and the reverse rotation direction can be made symmetric. In both the forward rotation direction and the reverse rotation direction, the phase at a position shifted by two steps from the current position of the rotor 32 can be first excited to start rotation.
[0090]
According to the embodiment (1) described above, when the F / B control of the SR motor 12 is started, if the disconnection of any one phase is detected, the phase of the phase in which the disconnection is not detected is determined. Since the first energized phase is set from the middle, even if the winding of one phase is broken, the rotation of the rotor 32 can be started using the windings of the other phases, and F / B control can be performed. Thus, as in the embodiment (1), the drive coil 35 of the SR motor 12 can be provided with only one system, and the cost and size of the SR motor 12 can be reduced.
[0091]
Moreover, in the present embodiment (1), when the disconnection of any one phase is detected when the F / B control is started, the phase in which the disconnection is detected is viewed from the switching order of the energized phases. Since the energized phase to be switched next to (opened phase) is set as the first energized phase, the number of times of energized phase switching (the number of excitations) after the start of F / B control until the open phase is selected as the energized phase ) Can be maximized, the rotation of the rotor 32 can be sufficiently started up until the disconnection phase becomes the energized phase, and the inertia force of the rotor 32 can be sufficiently increased, and the F / B control can be performed more reliably. Can be performed.
[0092]
Further, in the present embodiment (1), when starting the F / B control, the first energized phase is energized for a predetermined time to hold the rotor 32 at the F / B control start position holding process. Is executed, the energized phase is switched to rotate the rotor 32, so that the rotational position of the rotor 32 at the start of the F / B control can be reliably synchronized with the first energized phase, Highly reliable F / B control can be performed.
[0093]
Further, in the present embodiment (1), when the disconnection of any one phase is detected, the first energized phase is shifted from the normal first energized phase. In consideration of the fact that the time required to synchronize with the rotational position is longer than in the normal state, if disconnection of any one phase is detected, the time of the F / B control start position holding processing is determined. Since the (energization time of the first energized phase) is set to a time longer than usual, it is possible to more reliably synchronize the first energized phase with the rotational position of the rotor 32.
[0094]
<< Embodiment (2) >>
In the embodiment (1), by detecting the voltage level of the energizing line of each phase (the voltage level of the intermediate connection point between the resistors 61 and 62 of the disconnection detection circuit 60 of each phase), the winding 33 of each phase is detected. Is determined to be disconnected. However, in the embodiment (2) of the present invention shown in FIGS. 20 and 21, the excitation current flowing through the energizing line of each phase is detected by the current sensor 63. It is determined whether the winding 33 of each phase is disconnected. Hereinafter, only portions different from the first embodiment will be described.
[0095]
In the present embodiment (2), as shown in FIG. 20, the neutral point of the drive coil 35 is connected to the negative electrode side of the battery 40, and one end of each phase winding 33 is connected to each switching element 39 of the motor driver 37. The switching element 39 of the motor driver 37 is turned on / off by the CPU 41a of the ECU 41 via the positive electrode of the battery 40 via the battery 40, thereby turning on / off the current supply to the winding 33 of each phase. .
[0096]
A current sensor 63 is provided in each of the energizing lines of each phase, and an output signal of the current sensor 63 of each phase is input to each input port of the CPU 41 a of the ECU 41.
[0097]
When the winding 33 of each phase is normal (no disconnection), the exciting current is detected by the current sensor 63 of the energized phase in which the switching element 39 is turned on, but when the winding 33 is disconnected, the switching is performed. Even when the element 39 is turned on, the exciting current does not flow through the winding 33 of that phase, so that the exciting current is not detected by the current sensor 63 of that phase.
[0098]
From such a relationship, if the exciting current is detected by the current sensor 63 of each phase when the switching element 39 of each phase is turned on, the CPU 41a of the ECU 41 determines that the winding 33 of each phase is not disconnected. If it is determined that the exciting current is not detected by the current sensor 63 of each phase even when the switching element 39 of each phase is turned on, it is determined that the winding 33 of each phase is disconnected.
[0099]
The winding disconnection detection of the embodiment (2) described above is executed by the winding disconnection detection routine of FIG. This routine is started at a predetermined cycle (for example, at a cycle of 8 ms), and plays a role as a disconnection detecting means in the claims. When this routine is started, first, in step 701, it is determined whether or not the U-phase is energized (the U-phase switching element 39 is on). If the U-phase is energized, the process proceeds to step 702. Then, it is determined whether the U-phase current sensor 63 has detected the U-phase excitation current. As a result, if the U-phase excitation current is not detected, the process proceeds to step 703, and it is determined that the U-phase is broken.
[0100]
Thereafter, the process proceeds to step 704, where it is determined whether or not the V-phase is energized (the V-phase switching element 39 is on). If the V-phase is energized, the process proceeds to step 705, where the V-phase is energized. It is determined whether or not the current sensor 63 has detected the V-phase excitation current. As a result, if the V-phase excitation current is not detected, the process proceeds to step 706, and it is determined that the V-phase is broken.
[0101]
Thereafter, the process proceeds to step 707, where it is determined whether or not the W-phase is energized (while the W-phase switching element 39 is ON). If the W-phase is energized, the process proceeds to step 708, where the W-phase is energized. It is determined whether the current sensor 63 has detected the W-phase exciting current. As a result, if the W-phase excitation current is not detected, the process proceeds to step 709, and it is determined that the W-phase is broken.
[0102]
As described above, after the presence / absence of the disconnection of each phase is determined, the processing after step 108 in FIG. 9 described in the embodiment (1) is executed. The disconnection flag Xdansen is set to ON, and if two or more phases are disconnected, the energization of all phases is prohibited and a warning is displayed on the warning display unit 38.
[0103]
In the present embodiment (2), the current sensors 63 are provided for the energizing lines of each phase, but an exciting current flowing to the neutral point of the drive coil 35 may be detected instead. In this case, only one current sensor needs to be provided, and the cost can be reduced.
[0104]
In the embodiment (1), during the F / B control, the drive is performed by the 1-2-phase excitation method in which the one-phase energization and the two-phase energization are alternately switched. However, the drive is performed only by the one-phase energization. A one-phase excitation method or a two-phase excitation method driven by only two-phase conduction may be employed.
[0105]
Further, the encoder used in the present invention is not limited to the magnetic encoder 46, and for example, an optical encoder or a brush encoder may be used.
The motor used in the present invention is not limited to the SR motor 12, but may be any brushless motor that detects the rotational position of the rotor based on the count value of the output signal of the encoder and sequentially switches the energized phase of the motor. A brushless motor other than the SR motor may be used.
[0106]
The range switching device of the embodiment is configured to switch between the two ranges of the P range and the NotP range. For example, the range switching valve and the manual valve of the automatic transmission are interlocked with the turning operation of the detent lever 15. The present invention can also be applied to a range switching device that switches the ranges P, R, N, D,.
[0107]
In addition, it goes without saying that the present invention is not limited to the range switching device but can be applied to various devices using a brushless type motor such as an SR motor as a drive source.
[Brief description of the drawings]
FIG. 1 is a perspective view of a range switching device according to an embodiment (1) of the present invention.
FIG. 2 is a diagram illustrating a configuration of an SR motor.
FIG. 3 is a circuit diagram showing a circuit configuration for driving an SR motor according to the embodiment (1).
FIG. 4 is a diagram schematically showing the configuration of the entire control system of the range switching device.
FIG. 5 is a plan view illustrating a configuration of a rotary magnet of the encoder.
FIG. 6 is a side view of the encoder.
FIG. 7A is a time chart showing an output waveform of an encoder, and FIG. 7B is a time chart showing an energized phase switching pattern;
FIG. 8 is a flowchart showing a processing flow of a winding disconnection detection routine (part 1);
FIG. 9 is a flowchart showing the flow of a winding disconnection detection routine (part 2);
FIG. 10 is a flowchart showing the flow of processing of an encoder counter routine;
FIG. 11 is a diagram showing an example of a count-up value ΔN calculation map.
FIG. 12 is a time chart showing a relationship among a command range shift, an A-phase signal, a B-phase signal, and an encoder count value.
FIG. 13 is a flowchart (part 1) illustrating a flow of processing of an F / B control start position holding processing routine;
FIG. 14 is a flowchart (part 2) illustrating a flow of processing of an F / B control start position holding processing routine;
FIG. 15 is a flowchart showing the flow of processing of a current-carrying phase correction routine at the time of one-phase disconnection;
FIG. 16 is a flowchart showing the flow of processing of a motor F / B control routine;
FIG. 17 is a flowchart showing a flow of a process of an energized phase setting routine;
FIG. 18 is a diagram showing an example of a conversion table from mod (Mptn / 12) to an energized phase.
FIG. 19 is a time chart illustrating an energization process.
FIG. 20 is a circuit diagram showing a circuit configuration for driving the SR motor according to the embodiment (2).
FIG. 21 is a flowchart showing the flow of processing of a winding disconnection detection routine according to the embodiment (2).
[Explanation of symbols]
DESCRIPTION OF SYMBOLS 11 ... Range switching mechanism, 12 ... SR motor, 14 ... Output shaft sensor, 15 ... Detent lever, 18 ... Parking rod, 20 ... Parking gear, 21 ... Lock lever, 23 ... Detent spring, 24 ... P range holding concave part, 25 ... NotP range holding concave portion, 26 ... reduction mechanism, 27 ... automatic transmission, 31 ... stator, 32 ... rotor, 33 ... winding, 35 ... drive coil, 37 ... motor driver, 38 ... warning display section (warning display means) 41, ECU, 41a, CPU (control means, disconnection detecting means), 43, P range switch, 44, NotP range switch, 46, encoder, 47, rotary magnet, 48, magnetic detection element for A phase signal, 49 ... Magnetic detecting element for B-phase signal, 50... Magnetic detecting element for Z-phase signal.

Claims (8)

制御対象を回転駆動するモータのロータの回転に同期してパルス信号を出力するエンコーダと、このエンコーダのパルス信号のカウント値(以下「エンコーダカウント値」という)に基づいて前記ロータの回転位置を検出して前記モータの通電相を順次切り換えることで前記ロータを目標位置まで回転駆動するフィードバック制御(以下「F/B制御」と表記する)を実行する制御手段とを備えたモータ制御装置において、
前記モータの各相の巻線の断線を各相毎に検出する断線検出手段を備え、
前記制御手段は、前記F/B制御を開始する際に、前記断線検出手段によりいずれか1つの相の断線が検出されている場合は、少なくとも最初の2回の通電相を断線の検出されていない相の中から設定することを特徴とするモータ制御装 置。
An encoder that outputs a pulse signal in synchronization with the rotation of a rotor of a motor that rotationally drives a control target; and detects a rotational position of the rotor based on a count value of the pulse signal of the encoder (hereinafter, referred to as an “encoder count value”). Control means for performing feedback control (hereinafter, referred to as “F / B control”) for rotating the rotor to a target position by sequentially switching the energized phase of the motor.
Disconnection detecting means for detecting disconnection of windings of each phase of the motor for each phase,
The control means, when starting the F / B control, if any disconnection of any one phase is detected by the disconnection detection means, at least the first two energized phases are detected as having a disconnection. A motor control device characterized by setting from among the phases that do not exist.
前記制御手段は、前記断線検出手段により2相以上の断線が検出されたときには、前記モータへの通電を禁止して警告表示手段に警告表示させることを特徴とする請求項1に記載のモータ制御装置。2. The motor control according to claim 1, wherein when the disconnection detecting unit detects disconnection of two or more phases, the control unit inhibits energization of the motor and causes a warning display unit to display a warning. 3. apparatus. 前記制御手段は、前記F/B制御を開始する際に、前記断線検出手段によりいずれか1つの相の断線が検出されている場合は、通電相の切り換え順序から見て、断線が検出された相の次に切り換えられる通電相を前記最初の通電相として設定することを特徴とする請求項1又は2に記載のモータ制御装置。When the F / B control is started, if the disconnection of any one phase is detected by the disconnection detection unit, the disconnection is detected in view of the switching order of the energized phases. The motor control device according to claim 1, wherein an energized phase switched after a phase is set as the first energized phase. 前記制御手段は、前記F/B制御を開始する際に、前記最初の通電相に所定時間通電して前記ロータをF/B制御開始位置に保持するF/B制御開始位置保持処理を実行した後、通電相を切り換えて前記ロータを回転駆動することを特徴とする請求項1乃至3のいずれかに記載のモータ制御装置。When starting the F / B control, the control means executes an F / B control start position holding process of energizing the first energized phase for a predetermined time and holding the rotor at the F / B control start position. The motor control device according to any one of claims 1 to 3, wherein the rotor is rotationally driven by switching an energized phase thereafter. 前記制御手段は、前記断線検出手段によりいずれか1つの相の断線が検出されている場合は、前記F/B制御開始位置保持処理の時間を通常よりも長い時間に設定することを特徴とする請求項4に記載のモータ制御装置。The control means sets the time of the F / B control start position holding processing to a time longer than usual when the disconnection of any one phase is detected by the disconnection detecting means. The motor control device according to claim 4. 前記モータは、各相の巻線を結線した1系統の駆動コイルによって駆動されることを特徴とする請求項1乃至5のいずれかに記載のモータ制御装置。The motor control device according to any one of claims 1 to 5, wherein the motor is driven by a single drive coil having windings of each phase connected. 前記モータは、スイッチトリラクタンスモータであることを特徴とする請求項1乃至6のいずれかに記載のモータ制御装置。The motor control device according to claim 1, wherein the motor is a switched reluctance motor. 前記モータは、車両の自動変速機のレンジを切り換えるレンジ切換機構を駆動することを特徴とする請求項1乃至7のいずれかに記載のモータ制御装置。The motor control device according to claim 1, wherein the motor drives a range switching mechanism that switches a range of the automatic transmission of the vehicle.
JP2002293269A 2002-10-07 2002-10-07 Motor control device Expired - Fee Related JP3849629B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2002293269A JP3849629B2 (en) 2002-10-07 2002-10-07 Motor control device
US10/674,437 US6992451B2 (en) 2002-10-07 2003-10-01 Motor control apparatus operable in fail-safe mode

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002293269A JP3849629B2 (en) 2002-10-07 2002-10-07 Motor control device

Publications (2)

Publication Number Publication Date
JP2004129450A true JP2004129450A (en) 2004-04-22
JP3849629B2 JP3849629B2 (en) 2006-11-22

Family

ID=32284229

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002293269A Expired - Fee Related JP3849629B2 (en) 2002-10-07 2002-10-07 Motor control device

Country Status (1)

Country Link
JP (1) JP3849629B2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1646140A3 (en) * 2004-10-06 2009-01-14 Panasonic Corporation Electrical equipment
DE102008042589A1 (en) 2007-10-03 2009-04-30 Denso Corp., Kariya-shi Gear shift device and gear shift method
JP2016189647A (en) * 2015-03-30 2016-11-04 株式会社Ihi Motor system
KR20250025714A (en) 2022-09-21 2025-02-24 가부시키가이샤 덴소 motor control unit

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1646140A3 (en) * 2004-10-06 2009-01-14 Panasonic Corporation Electrical equipment
DE102008042589A1 (en) 2007-10-03 2009-04-30 Denso Corp., Kariya-shi Gear shift device and gear shift method
US8035934B2 (en) 2007-10-03 2011-10-11 Toyota Jidosha Kabushiki Kaisha Shift switching device and shift switching method
DE102008042589B4 (en) 2007-10-03 2022-02-03 Denso Corporation Gear shifting device and gear shifting method
JP2016189647A (en) * 2015-03-30 2016-11-04 株式会社Ihi Motor system
KR20250025714A (en) 2022-09-21 2025-02-24 가부시키가이샤 덴소 motor control unit

Also Published As

Publication number Publication date
JP3849629B2 (en) 2006-11-22

Similar Documents

Publication Publication Date Title
US6992451B2 (en) Motor control apparatus operable in fail-safe mode
US8917049B2 (en) Motor control apparatus
US7990088B2 (en) Motor control apparatus
JP5093624B2 (en) Motor control device
JP6398782B2 (en) Motor control device
JP2007336611A (en) Control device of synchronous motor
JP3800529B2 (en) Motor control device
JP2004023890A (en) Motor controller
JP4082164B2 (en) Motor control device
JP6547663B2 (en) Control device
JP3947922B2 (en) Motor control device
JP4189953B2 (en) Position switching control device
JP3849931B2 (en) Motor control device
JP3871130B2 (en) Motor control device
JP5472044B2 (en) Motor control device
JP3849629B2 (en) Motor control device
JP3849627B2 (en) Motor control device
JP3888278B2 (en) Motor control device
JP6357798B2 (en) Motor control device
JP3800532B2 (en) Motor control device
JP2004023889A (en) Motor controller
JP5472038B2 (en) Motor control device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20041224

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20060804

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20060821

R150 Certificate of patent or registration of utility model

Ref document number: 3849629

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20090908

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20100908

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20100908

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20110908

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20110908

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20120908

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20120908

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20130908

Year of fee payment: 7

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees