JP5472044B2 - Motor control device - Google Patents

Motor control device Download PDF

Info

Publication number
JP5472044B2
JP5472044B2 JP2010247164A JP2010247164A JP5472044B2 JP 5472044 B2 JP5472044 B2 JP 5472044B2 JP 2010247164 A JP2010247164 A JP 2010247164A JP 2010247164 A JP2010247164 A JP 2010247164A JP 5472044 B2 JP5472044 B2 JP 5472044B2
Authority
JP
Japan
Prior art keywords
motor
phase
energized phase
power
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.)
Active
Application number
JP2010247164A
Other languages
Japanese (ja)
Other versions
JP2012100462A (en
Inventor
政明 篠島
山田  純
純 木村
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 JP2010247164A priority Critical patent/JP5472044B2/en
Publication of JP2012100462A publication Critical patent/JP2012100462A/en
Application granted granted Critical
Publication of JP5472044B2 publication Critical patent/JP5472044B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、エンコーダのパルス信号のカウント値に基づいてモータの回転角度を検出してモータの通電相を順次切り換えることでモータを目標回転角度まで回転駆動するモータ制御装置に関する発明である。   The present invention relates to a motor control device that rotationally drives a motor to a target rotation angle by detecting the rotation angle of the motor based on the count value of the pulse signal of the encoder and sequentially switching the energized phase of the motor.

近年、自動車においても、省スペース化、組立性向上、制御性向上等の要求を満たすために、機械的な駆動システムを、モータによって電気的に駆動するシステムに変更する事例が増加する傾向にある。その一例として、特許文献1(特許第3800529号公報)に示すように、車両の自動変速機のレンジ切換機構をモータで駆動するようにしたものがある。このシステムでは、モータに、ロータの回転角度を検出するエンコーダを搭載し、レンジ切換時には、このエンコーダのパルス信号のカウント値(以下「エンコーダカウント値」という)に基づいてモータを目標のレンジに相当する目標回転角度(目標カウント値)まで回転させることで、レンジ切換機構を目標のレンジに切り換えるようにしている。   In recent years, the number of cases in which a mechanical drive system is changed to a system that is electrically driven by a motor has been increasing in order to satisfy the demands for space saving, assembling, and control. . As an example, there is one in which a range switching mechanism of an automatic transmission of a vehicle is driven by a motor, as shown in Patent Document 1 (Japanese Patent No. 3800529). In this system, the motor is equipped with an encoder that detects the rotation angle of the rotor, and when the range is switched, the motor corresponds to the target range based on the count value (hereinafter referred to as “encoder count value”) of the pulse signal of this encoder. The range switching mechanism is switched to the target range by rotating to the target rotation angle (target count value).

この種のエンコーダ付きのモータは、起動後のエンコーダカウント値に基づいてロータの起動位置からの回転量(回転角度)を検出できるだけであるので、電源投入後に、何等かの方法で、ロータの絶対的な回転角度を検出して、エンコーダカウント値とロータの回転角度(通電相)との対応関係をとらないと、モータを正常に駆動することができない。   This type of motor with an encoder can only detect the amount of rotation (rotation angle) from the starting position of the rotor based on the encoder count value after starting. Unless the typical rotation angle is detected and the correspondence between the encoder count value and the rotation angle (energized phase) of the rotor is taken, the motor cannot be driven normally.

そこで、特許文献1では、電源投入後の初期駆動時にモータの通電相の切り換えを所定のタイムスケジュールで一巡させることで、いずれかの通電相でロータの回転角度と該通電相とを一致させて該ロータを回転駆動してエンコーダのパルス信号をカウントして初期駆動終了時のエンコーダカウント値とロータの回転角度と通電相との対応関係を学習する通電相学習処理を実行し、その後の通常駆動時に、通電相学習処理で学習した通電相学習値を用いて補正したエンコーダカウント値からロータの回転角度を検出して通電相を決定するようにしている。   Therefore, in Patent Document 1, by switching the energized phase of the motor in a predetermined time schedule at the initial drive after the power is turned on, the rotation angle of the rotor and the energized phase are matched in any energized phase. The rotor is driven to rotate, the pulse signal of the encoder is counted, the energized phase learning process is performed to learn the correspondence between the encoder count value at the end of the initial drive, the rotation angle of the rotor, and the energized phase, and then the normal drive Sometimes, the energized phase is determined by detecting the rotation angle of the rotor from the encoder count value corrected using the energized phase learning value learned in the energized phase learning process.

特許第3800529号公報Japanese Patent No. 3800529

ところで、通電相学習処理(初期駆動)を実行するためにはモータに連続的に通電する必要があるため、モータまたは、モータ駆動回路が発熱しやすい。通常、電源投入後は暫くモータ電源を切断しないため、初期駆動は1回で済むが、使用者が遊び感覚等で電源投入と切断の操作を繰り返すと、短時間に初期駆動が何回も繰り返されて、モータまたは、モータ駆動回路の温度が上昇してしまい、モータまたは、モータ駆動回路の寿命低下や故障の原因となる懸念がある。   By the way, since it is necessary to energize the motor continuously in order to execute the energization phase learning process (initial drive), the motor or the motor drive circuit tends to generate heat. Normally, after the power is turned on, the motor power is not turned off for a while, so the initial drive only needs to be performed once. However, if the user repeats the power on / off operation with a sense of fun, the initial drive is repeated many times in a short time. As a result, the temperature of the motor or the motor drive circuit rises, which may cause a reduction in the life or failure of the motor or the motor drive circuit.

尚、通電相学習値やエンコーダカウント値を不揮発性メモリに記憶することが考えられるが、電源オフ中にモータが外力等で回転しても、その回転角度を検出できない(エンコーダのパルス信号をカウントできない)ため、電源オフ前に記憶した通電相学習値やエンコーダカウント値を電源再投入後に使用することはできず、電源再投入後に通電相学習処理を再実行する必要がある。   Although it is conceivable to store the energized phase learning value and encoder count value in a non-volatile memory, the rotation angle cannot be detected even if the motor rotates with an external force while the power is off (the encoder pulse signal is counted). Therefore, the energized phase learning value and encoder count value stored before the power is turned off cannot be used after the power is turned on again, and the energized phase learning process needs to be executed again after the power is turned on again.

そこで、本発明が解決しようとする課題は、使用者が遊び感覚等で電源スイッチのオン/オフの切換操作を繰り返しても、通電相学習処理(初期駆動)によるモータまたは、モータ駆動回路の発熱を抑えて、モータまたは、モータ駆動回路の寿命低下や故障を未然に防止できるモータ制御装置を提供することである。   Therefore, the problem to be solved by the present invention is that the motor or the motor drive circuit generates heat by the energized phase learning process (initial drive) even when the user repeats the ON / OFF switching operation of the power switch with a sense of play. It is an object of the present invention to provide a motor control device that can prevent a reduction in the life or failure of a motor or a motor drive circuit.

上記課題を解決するために、請求項1に係る発明は、制御対象を回転駆動するモータの回転に伴って所定角度間隔でパルス信号を出力するエンコーダと、電源オン/オフを切り替える電源スイッチと、前記電源スイッチのオン操作による電源オン後に前記モータの通電相をモータ駆動回路により所定のパターンで順次切り換えることで前記エンコーダのパルス信号のカウント値(以下「エンコーダカウント値」という)と前記モータの回転角度と通電相との対応関係を通電相学習値として学習する通電相学習処理を実行する通電相学習手段と、前記通電相学習値と前記エンコーダカウント値を記憶する記憶手段とを備え、前記通電相学習処理後は、前記エンコーダカウント値と前記通電相学習値に基づいて前記モータの通電相を順次切り換えることで前記モータを目標回転角度まで回転駆動するモータ制御装置において、前記電源スイッチのオフ操作後も所定時間が経過するまで電源オン状態を継続する電源継続手段を備え、前記通電相学習手段は、前記電源スイッチのオフ操作後に前記電源継続手段により電源オン状態を継続する期間に前記電源スイッチがオン操作されても前記通電相学習処理を実行しないようにしたものである。   In order to solve the above-described problem, an invention according to claim 1 includes an encoder that outputs a pulse signal at a predetermined angular interval according to rotation of a motor that rotationally drives a control target, a power switch that switches power on / off, After the power is turned on by turning on the power switch, the energized phase of the motor is sequentially switched in a predetermined pattern by a motor drive circuit, whereby the encoder pulse signal count value (hereinafter referred to as “encoder count value”) and the rotation of the motor An energized phase learning means for executing an energized phase learning process for learning a correspondence relationship between an angle and an energized phase as an energized phase learning value; and a storage means for storing the energized phase learned value and the encoder count value. After phase learning processing, the energized phases of the motor are sequentially switched based on the encoder count value and the energized phase learned value. Thus, in the motor control device that rotationally drives the motor to a target rotation angle, the motor control device includes a power continuation unit that continues a power-on state until a predetermined time has elapsed even after the power switch is turned off, and the energized phase learning unit includes: The energized phase learning process is not executed even when the power switch is turned on during a period in which the power on state is continued by the power continuation means after the power switch is turned off.

この構成では、電源スイッチのオフ操作後も所定時間が経過するまでは、電源継続手段により電源オン状態を継続して記憶手段の記憶データ(通電相学習値とエンコーダカウント値)を保持できると共に、モータが外力等で回転すれば、その回転角度に応じてエンコーダカウント値を更新することができる。これにより、電源スイッチのオフ操作後に電源オン状態を継続する期間は、通電相学習処理(初期駆動)を実行しなくても、記憶手段に記憶された通電相学習値とエンコーダカウント値を用いてモータを目標回転角度まで正しく回転駆動することが可能となり、当該期間に電源スイッチがオン操作されても通電相学習処理(初期駆動)を実行しないようにすることができる。このため、使用者が遊び感覚等で電源スイッチのオン/オフの切換操作を繰り返しても、通電相学習処理(初期駆動)によるモータまたは、モータ駆動回路の発熱を抑えて、モータまたは、モータ駆動回路の寿命低下や故障を未然に防止することができる。   In this configuration, until the predetermined time elapses after the power switch is turned off, the power on state can be continued by the power continuation means and the storage data (energized phase learning value and encoder count value) of the storage means can be held. If the motor is rotated by an external force or the like, the encoder count value can be updated according to the rotation angle. As a result, the energized phase learning value and the encoder count value stored in the storage means are used during the period in which the power on state continues after the power switch is turned off, without executing the energized phase learning process (initial drive). The motor can be correctly rotated to the target rotation angle, and the energized phase learning process (initial drive) can be prevented from being executed even if the power switch is turned on during the period. For this reason, even if the user repeatedly turns on / off the power switch for a sense of fun, etc., the motor or motor drive is suppressed by suppressing the heat generation of the motor or motor drive circuit due to the energized phase learning process (initial drive). It is possible to prevent a reduction in circuit life and failure.

この場合、請求項2のように、電源スイッチのオフ操作後に電源オン状態を継続する所定時間は、通電相学習処理で発熱したモータまたは、モータ駆動回路を放熱させるのに必要な時間を確保するように設定すると良い。このようにすれば、電源スイッチのオン/オフの切換操作の繰り返しによりモータまたは、モータ駆動回路が過熱状態になることをより確実に防止できる。   In this case, as in the second aspect, the predetermined time for continuing the power-on state after the power switch is turned off ensures the time necessary for radiating heat from the motor or the motor drive circuit that has generated heat in the energized phase learning process. It is good to set as follows. In this way, it is possible to more reliably prevent the motor or the motor drive circuit from being overheated by repeating the on / off switching operation of the power switch.

また、請求項3のように、モータとしてスイッチトリラクタンスモータを使用するようにしても良い。スイッチトリラクタンスモータは、永久磁石が不要で構造が簡単であるため、安価であり、温度環境等に対する耐久性・信頼性も高いという利点がある。   Further, as in the third aspect, a switched reluctance motor may be used as the motor. The switched reluctance motor is advantageous in that it does not require a permanent magnet and is simple in structure, so that it is inexpensive and has high durability and reliability against temperature environments.

以上説明した請求項1〜3に係る発明は、スイッチトリラクタンスモータ等の同期モータを駆動源とする各種の位置切換装置に適用でき、例えば、請求項4のように、車両の自動変速機のレンジを切り換えるレンジ切換機構を駆動するモータの制御装置に適用しても良い。これにより、信頼性の高いモータ駆動式のレンジ切換装置を構成することができる。   The invention according to claims 1 to 3 described above can be applied to various position switching devices using a synchronous motor such as a switched reluctance motor as a drive source. For example, as in claim 4, an automatic transmission of a vehicle You may apply to the control apparatus of the motor which drives the range switching mechanism which switches a range. Thus, a highly reliable motor-driven range switching device can be configured.

図1は本発明の一実施例の自動変速機の制御システム全体の構成を概略的に示す図である。FIG. 1 is a diagram schematically showing the overall configuration of an automatic transmission control system according to an embodiment of the present invention. 図2はレンジ切換機構を示す斜視図である。FIG. 2 is a perspective view showing the range switching mechanism. 図3はモータの構成を説明する図である。FIG. 3 is a diagram illustrating the configuration of the motor. 図4はモータを駆動する回路構成を説明する図である。FIG. 4 is a diagram illustrating a circuit configuration for driving a motor. 図5はレンジ切換装置の制御システム全体の構成を概略的に示す図である。FIG. 5 is a diagram schematically showing the overall configuration of the control system of the range switching device. 図6はエンコーダのロータリマグネットの構成を説明する平面図である。FIG. 6 is a plan view illustrating the configuration of the rotary magnet of the encoder. 図7はエンコーダの側面図である。FIG. 7 is a side view of the encoder. 図8(a)はエンコーダのA相信号とB相信号の波形を示すタイムチャート、同(b)は通電相切り換えパターンを示すタイムチャートである。FIG. 8A is a time chart showing waveforms of the A-phase signal and B-phase signal of the encoder, and FIG. 8B is a time chart showing an energized phase switching pattern. 図9はPレンジで通電相学習処理(初期駆動)を行ったときの制御例を示すタイムチャートである。FIG. 9 is a time chart showing a control example when the energized phase learning process (initial driving) is performed in the P range. 図10は電源スイッチのオン/オフ切換操作が繰り返された場合のECUリレーのオン/オフと通電相学習処理の実行時期とモータ温度の挙動との関係を説明するタイムチャートである。FIG. 10 is a time chart for explaining the relationship between the ON / OFF state of the ECU relay, the execution timing of the energized phase learning process, and the behavior of the motor temperature when the on / off switching operation of the power switch is repeated. 図11は通電相学習処理プログラムの処理の流れを示すフローチャートである。FIG. 11 is a flowchart showing a process flow of the energized phase learning process program.

以下、本発明を実施するための形態を車両のレンジ切換装置に適用して具体化した一実施例を説明する。
まず、図1に基づいて自動変速システム全体の概略構成を説明する。
エンジン11の出力軸(クランク軸)には自動変速機12の入力軸が連結されている。この自動変速機12内部の構成は図示しないが、エンジン11の出力軸によって回転駆動されるトルクコンバータと、このトルクコンバータの出力軸(タービン軸)に連結された変速歯車機構と、この変速歯車機構を構成する複数の歯車の中から動力を伝達する歯車の組み合わせ(変速比)を切り換える摩擦係合装置と、この摩擦係合装置の動作状態を油圧で切り換える油圧制御回路等が自動変速機12内に設けられている。また、油圧制御回路には、摩擦係合装置を構成するクラッチ、ブレーキ等の各摩擦係合要素に供給する油圧を制御する油圧制御弁13と、シフトレバーのシフト操作に連動してモータ14によって切り換えられるレンジ切換機構15(図2参照)のスプール弁16が設けられている。このスプール弁16は、シフトレバーのシフト操作に連動して切り換えられるいわゆるマニュアルバルブとして機能する。
Hereinafter, an embodiment in which the mode for carrying out the present invention is applied to a vehicle range switching device will be described.
First, a schematic configuration of the entire automatic transmission system will be described with reference to FIG.
The input shaft of the automatic transmission 12 is connected to the output shaft (crank shaft) of the engine 11. Although the internal configuration of the automatic transmission 12 is not shown, a torque converter that is rotationally driven by the output shaft of the engine 11, a transmission gear mechanism that is coupled to the output shaft (turbine shaft) of the torque converter, and the transmission gear mechanism A friction engagement device that switches a combination (gear ratio) of gears that transmit power from among a plurality of gears that constitute the motor, and a hydraulic control circuit that switches the operation state of the friction engagement device with hydraulic pressure are included in the automatic transmission 12. Is provided. The hydraulic control circuit includes a hydraulic control valve 13 for controlling the hydraulic pressure supplied to each friction engagement element such as a clutch and a brake constituting the friction engagement device, and a motor 14 in conjunction with a shift operation of the shift lever. A spool valve 16 of a range switching mechanism 15 (see FIG. 2) to be switched is provided. The spool valve 16 functions as a so-called manual valve that is switched in conjunction with the shift operation of the shift lever.

自動変速機12の変速動作を制御する変速制御ECU17は、摩擦係合装置に供給する油圧を油圧センサ18で検出して、その検出油圧と車速センサ19の出力信号等に基づいて油圧制御回路の各油圧制御弁13の開閉動作を制御して各摩擦係合要素に供給する油圧を制御することで変速段を目標変速段に切り換える。   The shift control ECU 17 that controls the shift operation of the automatic transmission 12 detects the hydraulic pressure supplied to the friction engagement device by the hydraulic sensor 18, and based on the detected hydraulic pressure and the output signal of the vehicle speed sensor 19, the hydraulic control circuit The gear position is switched to the target gear position by controlling the hydraulic pressure supplied to each friction engagement element by controlling the opening / closing operation of each hydraulic pressure control valve 13.

一方、レンジ切換ECU20は、シフトレバーの操作位置を検出するシフトレンジ検出装置21の出力信号に基づいてモータ14を駆動制御することで、運転者のレンジ切換操作に応じてレンジ切換機構15のスプール弁16の切換動作を制御する。このレンジ切換ECU20と、変速制御ECU17と、エンジン11の運転状態を制御するエンジンECU22と、表示装置41の表示を制御するメータECU42は、車両に搭載されたバッテリ23(電源)から電源ライン47を介して電力が供給される。また、通信ライン24を通じて、各ECU20,17,22,42は、スロットル開度、点火時期など、必要な情報を相互に送受信する。エンジンECU22には、エンジン11の運転状態を検出する各種センサ(例えばエンジン回転速度を検出するクランク角センサ48等)が接続されている。   On the other hand, the range switching ECU 20 drives and controls the motor 14 based on the output signal of the shift range detection device 21 that detects the operation position of the shift lever, so that the spool of the range switching mechanism 15 is controlled according to the driver's range switching operation. The switching operation of the valve 16 is controlled. The range switching ECU 20, the shift control ECU 17, the engine ECU 22 that controls the operating state of the engine 11, and the meter ECU 42 that controls the display of the display device 41 are connected to the power line 47 from the battery 23 (power source) mounted on the vehicle. Electric power is supplied through. Also, the ECUs 20, 17, 22, and 42 transmit and receive necessary information such as throttle opening and ignition timing to each other through the communication line 24. The engine ECU 22 is connected to various sensors (for example, a crank angle sensor 48 that detects the engine rotation speed) that detect the operating state of the engine 11.

エンジン11には、始動時にクランク軸を回転駆動(クランキング)するスタータ43が設けられ、運転者がイグニッションキースイッチ44をON位置(IG位置)からSTART位置に操作すると、エンジンECU22によってスタータリレー45がオンされてバッテリ23からスタータ43に通電され、スタータ43が回転してエンジン11がクランキングされて始動され、その後、運転者がイグニッションキースイッチ44をSTART位置からON位置に戻すと、スタータリレー45がオフされ、スタータ43への通電が停止される。   The engine 11 is provided with a starter 43 that rotationally drives (cranks) the crankshaft at start-up. When the driver operates the ignition key switch 44 from the ON position (IG position) to the START position, the engine ECU 22 starts a starter relay 45. Is turned on and the starter 43 is energized from the battery 23, the starter 43 rotates and the engine 11 is cranked and started, and then the driver returns the ignition key switch 44 from the START position to the ON position. 45 is turned off, and energization to the starter 43 is stopped.

次に、図2に基づいてレンジ切換機構15の構成を説明する。
レンジ切換機構15は、自動変速機12のシフトレンジを、例えばパーキングレンジ(P)、リバースレンジ(R)、ニュートラルレンジ(N)、ドライブレンジ(D)に切り換えるためのものである。このレンジ切換機構15の駆動源となるモータ14は、減速機構50(図5参照)を内蔵し、この減速機構50の回転軸に嵌合連結された出力軸25の回転角度を検出する出力軸センサ46(出力軸回転角度検出手段)が設けられ、この出力軸センサ46の出力信号に基づいてシフトレンジが検出される。この出力軸センサ46は、モータ14の減速機構50の出力軸25の回転角度に応じた電圧を出力する回転センサ(例えばポテンショメータ)によって構成され、その出力電圧によって現在のレンジがP、R、N、Dのいずれのレンジであるかを確認できるようになっている。
Next, the configuration of the range switching mechanism 15 will be described with reference to FIG.
The range switching mechanism 15 is for switching the shift range of the automatic transmission 12 to, for example, a parking range (P), a reverse range (R), a neutral range (N), and a drive range (D). The motor 14 serving as a drive source of the range switching mechanism 15 has a built-in speed reduction mechanism 50 (see FIG. 5), and an output shaft that detects the rotation angle of the output shaft 25 fitted and connected to the rotation shaft of the speed reduction mechanism 50. A sensor 46 (output shaft rotation angle detection means) is provided, and a shift range is detected based on an output signal of the output shaft sensor 46. The output shaft sensor 46 is constituted by a rotation sensor (for example, a potentiometer) that outputs a voltage corresponding to the rotation angle of the output shaft 25 of the speed reduction mechanism 50 of the motor 14, and the current range is P, R, N depending on the output voltage. , D can be confirmed.

このモータ14の出力軸25には、自動変速機12の油圧制御回路のスプール弁16を切り換えるためのディテントレバー28が固定されている。このディテントレバー28にはL字形のパーキングロッド29が固定され、このパーキングロッド29の先端部に設けられた円錐体30がロックレバー31に当接している。このロックレバー31は、円錐体30の位置に応じて軸32を中心にして上下動してパーキングギヤ33をロック/ロック解除するようになっている。このパーキングギヤ33は、自動変速機12の出力軸に設けられ、このパーキングギヤ33がロックレバー31によってロックされると、車両の駆動輪が回り止めされた状態(パーキング状態)に保持される。   A detent lever 28 for switching the spool valve 16 of the hydraulic control circuit of the automatic transmission 12 is fixed to the output shaft 25 of the motor 14. An L-shaped parking rod 29 is fixed to the detent lever 28, and a cone 30 provided at the tip of the parking rod 29 is in contact with the lock lever 31. The lock lever 31 is moved up and down around the shaft 32 according to the position of the cone 30 to lock / unlock the parking gear 33. The parking gear 33 is provided on the output shaft of the automatic transmission 12, and when the parking gear 33 is locked by the lock lever 31, the driving wheel of the vehicle is held in a stopped state (parking state).

また、ディテントレバー28には、スプール弁16のスプール34が連結され、モータ14の出力軸25によってディテントレバー28を回動させることで、スプール弁16の操作量(スプール34の操作位置)を切り換えて、自動変速機12のシフトレンジを、Pレンジ、Rレンジ、Nレンジ、Dレンジ等のいずれかに切り換える。ディテントレバー28には、スプール弁16のスプール34を上記各レンジに対応する位置に保持するための複数の凹部35が形成されている。   Further, the spool 34 of the spool valve 16 is connected to the detent lever 28, and the operation amount of the spool valve 16 (operation position of the spool 34) is switched by rotating the detent lever 28 by the output shaft 25 of the motor 14. Thus, the shift range of the automatic transmission 12 is switched to any one of the P range, the R range, the N range, the D range, and the like. The detent lever 28 is formed with a plurality of recesses 35 for holding the spool 34 of the spool valve 16 at positions corresponding to the above ranges.

一方、ディテントレバー28を各レンジに対応する位置に保持するためのディテントバネ36がスプール弁16に固定され、このディテントバネ36の先端に設けられた係合部37がディテントレバー28の目標レンジの凹部35に嵌まり込むことで、ディテントレバー28が目標レンジの回転角で保持されて、スプール弁16のスプール34の位置が目標レンジの位置で保持されるようになっている。これらディテントレバー28とディテントバネ36とからスプール弁16の操作量(スプール34の操作位置)を各レンジの位置に係合保持するためのディテント機構38(節度機構)が構成されている。   On the other hand, a detent spring 36 for holding the detent lever 28 at a position corresponding to each range is fixed to the spool valve 16, and an engaging portion 37 provided at the tip of the detent spring 36 is a target range of the detent lever 28. By fitting in the recess 35, the detent lever 28 is held at the rotation angle of the target range, and the position of the spool 34 of the spool valve 16 is held at the position of the target range. The detent lever 28 and the detent spring 36 constitute a detent mechanism 38 (moderation mechanism) for engaging and holding the operation amount of the spool valve 16 (operation position of the spool 34) at the position of each range.

Pレンジでは、パーキングロッド29がロックレバー31に接近する方向に移動して、円錐体30の太い部分がロックレバー31を押し上げてロックレバー31の凸部31aがパーキングギヤ33に嵌まり込んでパーキングギヤ33をロックした状態となり、それによって、自動変速機12の出力軸(駆動輪)がロックされた状態(パーキング状態)に保持される。   In the P range, the parking rod 29 moves in a direction approaching the lock lever 31, the thick part of the cone 30 pushes up the lock lever 31, and the convex portion 31 a of the lock lever 31 fits into the parking gear 33. The gear 33 is locked, whereby the output shaft (drive wheel) of the automatic transmission 12 is held in the locked state (parking state).

一方、Pレンジ以外のレンジでは、パーキングロッド29がロックレバー31から離れる方向に移動して、円錐体30の太い部分がロックレバー31から抜け出てロックレバー31が下降し、それによって、ロックレバー31の凸部31aがパーキングギヤ33から外れてパーキングギヤ33のロックが解除され、自動変速機12の出力軸が回転可能な状態(走行可能な状態)に保持される。   On the other hand, in ranges other than the P range, the parking rod 29 moves in a direction away from the lock lever 31, the thick part of the cone 30 comes out of the lock lever 31, and the lock lever 31 is lowered. The convex portion 31a is disengaged from the parking gear 33, the parking gear 33 is unlocked, and the output shaft of the automatic transmission 12 is held in a rotatable state (running state).

次に、図3及び図4に基づいてモータ14の構成を説明する。本実施例では、モータ14として、例えばスイッチトリラクタンスモータ(SRモータ)が用いられている。このモータ14は、ステータコア51とロータ52が共に突極構造を持つモータで、永久磁石が不要で構造が簡単であるという利点がある。円筒状のステータコア51の内周部には、例えば12個の突極51aが等間隔に形成され、これに対して、ロータ52の外周部には、例えば8個の突極52aが等間隔に形成され、ロータ52の回転に伴い、ロータ52の各突極52aがステータコア51の各突極51aと微小ギャップを介して順番に対向するようになっている。ステータコア51の12個の突極51aには、2系統(a系統とb系統)の駆動コイル53,54のU相、V相、W相の各巻線が対称な位置に巻回されている。尚、ステータコア51とロータ52の突極51a,52aの数は適宜変更しても良いことは言うまでもない。以下の説明では、一方の系統(a系統)の駆動コイル53の「U相」、「V相」、「W相」をそれぞれ「Ua相」、「Va相」、「Wa相」と表記し、他方の系統(b系統)の駆動コイル54の「U相」、「V相」、「W相」をそれぞれ「Ub相」、「Vb相」、「Wb相」と表記する。   Next, the configuration of the motor 14 will be described with reference to FIGS. 3 and 4. In the present embodiment, for example, a switched reluctance motor (SR motor) is used as the motor 14. The motor 14 is a motor in which both the stator core 51 and the rotor 52 have a salient pole structure, and has an advantage that a permanent magnet is unnecessary and the structure is simple. For example, twelve salient poles 51a are formed at equal intervals on the inner peripheral portion of the cylindrical stator core 51. On the other hand, for example, eight salient poles 52a are equally spaced at the outer peripheral portion of the rotor 52. As the rotor 52 rotates, the salient poles 52a of the rotor 52 are sequentially opposed to the salient poles 51a of the stator core 51 via a minute gap. The 12 salient poles 51a of the stator core 51 are wound around the U-phase, V-phase, and W-phase windings of the two-system (a-system and b-system) drive coils 53 and 54 at symmetrical positions. Needless to say, the number of salient poles 51a and 52a of the stator core 51 and the rotor 52 may be changed as appropriate. In the following description, the “U phase”, “V phase”, and “W phase” of the drive coil 53 of one system (a system) are expressed as “Ua phase”, “Va phase”, and “Wa phase”, respectively. The “U phase”, “V phase”, and “W phase” of the drive coil 54 of the other system (b system) are denoted as “Ub phase”, “Vb phase”, and “Wb phase”, respectively.

2系統の駆動コイル53,54の各相の巻線の巻回順序は、ステータコア51の12個の突極51aに対して、例えば、Ua相→Va相→Wa相→Ua相→Va相→Wa相→Ub相→Vb相→Wb相→Ub相→Vb相→Wb相の順序で巻回されている。図4に示すように、Ua相、Va相、Wa相の合計6個の巻線と、Ub相、Vb相、Wb相の合計6個の巻線は、2系統の駆動コイル53,54を構成するように結線されている。一方の駆動コイル53は、Ua相、Va相、Wa相の合計6個の巻線をY結線して構成され(同じ相の2個の巻線はそれぞれ直列に接続されている)、他方の駆動コイル54は、Ub相、Vb相、Wb相の合計6個の巻線をY結線して構成されている(同じ相の2個の巻線はそれぞれ直列に接続されている)。2つの駆動コイル53,54は、Ua相とUb相が同時に通電され、Va相とVb相が同時に通電され、Wa相とWb相が同時に通電される。   The winding sequence of each phase of the two drive coils 53 and 54 is, for example, Ua phase → Va phase → Wa phase → Ua phase → Va phase with respect to the 12 salient poles 51a of the stator core 51. It is wound in the order of Wa phase → Ub phase → Vb phase → Wb phase → Ub phase → Vb phase → Wb phase. As shown in FIG. 4, a total of six windings of Ua phase, Va phase, and Wa phase and a total of six windings of Ub phase, Vb phase, and Wb phase are provided with two systems of drive coils 53 and 54. Wired to make up. One drive coil 53 is configured by Y-connecting a total of six windings of Ua phase, Va phase, and Wa phase (two windings of the same phase are connected in series, respectively). The drive coil 54 is configured by Y-connecting a total of six windings of Ub phase, Vb phase, and Wb phase (two windings of the same phase are connected in series, respectively). The two drive coils 53 and 54 are energized simultaneously in the Ua phase and the Ub phase, energized in the Va phase and Vb phase simultaneously, and energized in the Wa phase and Wb phase simultaneously.

図4に示すように、2系統の駆動コイル53,54は、車両に搭載されたバッテリ23を電源として、それぞれ別個のモータドライバ55,56(モータ駆動回路)によって駆動される。このように、駆動コイル53,54とモータドライバ55,56をそれぞれ2系統ずつ設けることで、一方の系統が故障しても、他方の系統でモータ12を回転させることができるようになっている。   As shown in FIG. 4, the two systems of drive coils 53 and 54 are driven by separate motor drivers 55 and 56 (motor drive circuits), respectively, using a battery 23 mounted on the vehicle as a power source. As described above, by providing two systems each of the drive coils 53 and 54 and the motor drivers 55 and 56, even if one system fails, the motor 12 can be rotated by the other system. .

図4に示すモータドライバ55,56の回路構成例では、各相毎にトランジスタ等のスイッチング素子57を1個ずつ設けたユニポーラ駆動方式の回路構成としているが、各相毎にスイッチング素子を2個ずつ設けたバイポーラ駆動方式の回路構成を採用しても良い。尚、本発明は、駆動コイルとモータドライバをそれぞれ1系統ずつ設けた構成としても良いことは言うまでもない。   In the circuit configuration example of the motor drivers 55 and 56 shown in FIG. 4, a unipolar drive type circuit configuration is provided in which one switching element 57 such as a transistor is provided for each phase, but two switching elements are provided for each phase. A bipolar drive type circuit configuration provided one by one may be adopted. It goes without saying that the present invention may have a configuration in which one drive coil and one motor driver are provided.

モータ14には、ロータ52の回転角度を検出するためのエンコーダ61(図5参照)が設けられている。このエンコーダ61は、例えば磁気式のロータリエンコーダにより構成されており、その具体的な構成は、図6及び図7に示すように、N極とS極が円周方向に交互に等ピッチで着磁された円環状のロータリマグネット62がロータ52の側面に同軸状に固定され、このロータリマグネット62に対向する位置に、2個のホールIC等の磁気検出素子63,64が配置された構成となっている。   The motor 14 is provided with an encoder 61 (see FIG. 5) for detecting the rotation angle of the rotor 52. The encoder 61 is composed of, for example, a magnetic rotary encoder. As shown in FIGS. 6 and 7, the specific configuration is such that the N pole and the S pole are alternately arranged at equal pitches in the circumferential direction. A configuration in which a magnetized annular rotary magnet 62 is coaxially fixed to the side surface of the rotor 52, and two magnetic detection elements 63, 64 such as Hall ICs are disposed at a position facing the rotary magnet 62. It has become.

本実施例では、ロータリマグネット62のN極とS極の着磁ピッチが7.5°に設定されている。このロータリマグネット62の着磁ピッチ(7.5°)は、モータ12の励磁1回当たりのロータ52の回転角度と同じに設定されている。例えば、1−2相励磁方式でモータ12の通電相の切り換えを6回行うと、全ての通電相の切り換えが一巡してロータ52とロータリマグネット62が一体的に7.5°×6=45°回転する。このロータリマグネット62の45°の回転角度範囲に存在するN極とS極の数は、合計6極となっている。   In this embodiment, the magnetization pitch of the N pole and S pole of the rotary magnet 62 is set to 7.5 °. The magnetizing pitch (7.5 °) of the rotary magnet 62 is set to be the same as the rotation angle of the rotor 52 per excitation of the motor 12. For example, if the energized phase of the motor 12 is switched 6 times in the 1-2 phase excitation method, the switching of all energized phases is completed and the rotor 52 and the rotary magnet 62 are integrally 7.5 ° × 6 = 45. Rotate. The total number of N poles and S poles existing in the 45 ° rotation angle range of the rotary magnet 62 is six poles.

このロータリマグネット62に対して2個の磁気検出素子63,64が次のような位置関係で配置されている。A相信号を出力する磁気検出素子63とB相信号を出力する磁気検出素子64は、ロータリマグネット62の着磁部分(N,S)に対向し得る位置の同一円周上に配置されている。A相信号とB相信号を出力する2個の磁気検出素子63,64の間隔は、図8(a)に示すように、A相信号とB相信号の位相差が、電気角で90°(機械角で3.75°)となるように設定されている。ここで、“電気角”はA相・B相信号の発生周期を1周期(360°)とした場合の角度で、“機械角”は機械的な角度(ロータ52の1回転を360°とした場合の角度)であり、A相信号の立ち下がり(立ち上がり)からB相信号の立ち下がり(立ち上がり)までにロータ52が回転する角度がA相信号とB相信号の位相差の機械角に相当する。
各磁気検出素子63,64の出力は、N極と対向したときにハイレベル“1”となり、S極と対向したときにローレベル“0”となる。
Two magnetic detection elements 63 and 64 are arranged with respect to the rotary magnet 62 in the following positional relationship. The magnetic detection element 63 that outputs an A-phase signal and the magnetic detection element 64 that outputs a B-phase signal are arranged on the same circumference at positions that can face the magnetized portions (N, S) of the rotary magnet 62. . The interval between the two magnetic detection elements 63 and 64 that output 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, as shown in FIG. It is set to be (mechanical angle 3.75 °). Here, the “electrical angle” is an angle when the generation period of the A-phase / B-phase signal is one period (360 °), and the “mechanical angle” is a mechanical angle (one rotation of the rotor 52 is 360 °). The angle at which the rotor 52 rotates from the fall (rise) of the A phase signal to the fall (rise) of the B phase signal is the mechanical angle of the phase difference between the A phase signal and the B phase signal. Equivalent to.
The outputs of the magnetic detection elements 63 and 64 are at a high level “1” when facing the N pole, and at a low level “0” when facing the S pole.

本実施例では、レンジ切換ECU20がA相信号とB相信号の立ち上がり/立ち下がりの両方のエッジをカウントして、そのエンコーダカウント値に応じてモータ14の通電相を切り換えることでロータ52を回転駆動する。この際、A相信号とB相信号の発生順序によってロータ52の回転方向を判定し、正回転(Pレンジ→Dレンジの回転方向)ではエンコーダカウント値をカウントアップし、逆回転(Dレンジ→Pレンジの回転方向)ではエンコーダカウント値をカウントダウンする。これにより、ロータ52が正回転/逆回転のいずれの方向に回転しても、エンコーダカウント値とロータ52の回転角度との対応関係が維持されるため、正回転/逆回転のいずれの回転方向でも、エンコーダカウント値によってロータ52の回転角度を検出して、その回転角度に対応した相の巻線に通電してロータ52を回転駆動する。   In this embodiment, the range switching ECU 20 counts both rising / falling edges of the A-phase signal and B-phase signal, and rotates the rotor 52 by switching the energized phase of the motor 14 according to the encoder count value. To drive. At this time, the rotation direction of the rotor 52 is determined based on the generation order of the A-phase signal and the B-phase signal, the encoder count value is counted up in the normal rotation (P range → D range rotation direction), and the reverse rotation (D range → In the P range rotation direction), the encoder count value is counted down. As a result, even if the rotor 52 rotates in either the forward rotation or the reverse rotation, the correspondence relationship between the encoder count value and the rotation angle of the rotor 52 is maintained. However, the rotation angle of the rotor 52 is detected based on the encoder count value, and the rotor 52 is driven to rotate by energizing the winding of the phase corresponding to the rotation angle.

図8(b)は、1−2相励磁方式でロータ52を逆回転方向(Dレンジ→Pレンジの回転方向)に回転させたときのエンコーダ61の出力波形と通電相の切換パターンを示している。逆回転方向(Dレンジ→Pレンジの回転方向)と正回転方向(Pレンジ→Dレンジの回転方向)のいずれの場合も、ロータ52が7.5°回転する毎に1相通電と2相通電とを交互に切り換えるようになっており、ロータ52が45°回転する間に、例えば、U相通電→UW相通電→W相通電→VW相通電→V相通電→UV相通電の順序で通電相の切り換えを一巡するようになっている。この際、2系統の駆動コイル53,54の各相の巻線は、同時に通電される。   FIG. 8B shows an output waveform of the encoder 61 and a switching pattern of the energized phase when the rotor 52 is rotated in the reverse rotation direction (rotation direction of the D range → P range) by the 1-2 phase excitation method. Yes. In each of the reverse rotation direction (D range → P range rotation direction) and forward rotation direction (P range → D range rotation direction), one-phase energization and two-phase each time the rotor 52 rotates 7.5 °. During the rotation of the rotor 52 by 45 °, for example, U phase energization → UW phase energization → W phase energization → VW phase energization → V phase energization → UV phase energization The energized phase is switched once. At this time, the windings of each phase of the two drive coils 53 and 54 are energized simultaneously.

そして、この通電相の切り換え毎に、ロータ52が7.5°ずつ回転して、A相、B相信号用の磁気検出素子63,64に対向するロータリマグネット62の磁極がN極→S極又はS極→N極に変化してA相信号とB相信号のレベルが交互に反転し、それによって、ロータ52が7.5°回転する毎に、エンコーダカウント値が2ずつカウントアップ(又はカウントダウン)する。尚、本明細書では、A相、B相信号がハイレベル“1”となることを、A相、B相信号が出力されると言う場合がある。   Each time this energized phase is switched, the rotor 52 rotates by 7.5 °, and the magnetic pole of the rotary magnet 62 facing the magnetic detection elements 63 and 64 for the A phase and B phase signals changes from N pole to S pole. Alternatively, the level of the A-phase signal and the B-phase signal is alternately inverted by changing from the S pole to the N pole, so that every time the rotor 52 rotates 7.5 °, the encoder count value is incremented by 2 (or Count down). In this specification, when the A-phase and B-phase signals are at the high level “1”, the A-phase and B-phase signals are sometimes output.

このようなエンコーダ61付きのモータ14でレンジ切換制御を行う場合は、目標レンジがPレンジからDレンジ方向又はその反対方向に切り換えられる毎に、ロータ52を回転駆動して、エンコーダカウント値に基づいてモータ14の通電相を順次切り換えることでロータ52を目標回転角度に向かって回転駆動するフィードバック制御(以下「F/B制御」と表記する)を実行し、エンコーダカウント値が目標回転角度に応じて設定された目標カウント値に到達した時点で、ロータ52が目標回転角度に到達したと判断してF/B制御を終了し、ロータ52を目標回転角度で停止させるようにしている。   When range switching control is performed by such a motor 14 with an encoder 61, the rotor 52 is driven to rotate each time the target range is switched from the P range to the D range direction or the opposite direction, based on the encoder count value. Thus, feedback control (hereinafter referred to as “F / B control”) for rotating the rotor 52 toward the target rotation angle by sequentially switching the energization phase of the motor 14 is executed, and the encoder count value corresponds to the target rotation angle. When the set target count value is reached, it is determined that the rotor 52 has reached the target rotation angle, the F / B control is terminated, and the rotor 52 is stopped at the target rotation angle.

ところで、エンコーダカウント値は、レンジ切換ECU20のRAM71(記憶手段)に記憶されるため、レンジ切換ECU20の電源がオフされると、エンコーダカウント値の記憶データが消えてしまう。また、電源オフ中にモータ14が外力等で回転しても、その回転角度を検出できない。これらの事情により、電源投入後にエンコーダカウント値と実際のロータ52の回転角度との関係を調べて、エンコーダカウント値と通電相との対応関係を学習する通電相学習処理が必要となる。   By the way, since the encoder count value is stored in the RAM 71 (storage means) of the range switching ECU 20, when the power of the range switching ECU 20 is turned off, the stored data of the encoder count value is lost. Further, even if the motor 14 rotates with an external force or the like while the power is off, the rotation angle cannot be detected. Due to these circumstances, an energized phase learning process is necessary in which the relationship between the encoder count value and the energized phase is learned by examining the relationship between the encoder count value and the actual rotation angle of the rotor 52 after the power is turned on.

そこで、本実施例では、レンジ切換ECU20は、特許請求の範囲でいう通電相学習手段として機能し、電源投入後の初期駆動時に、モータ14の通電相の切り換えを所定のタイムスケジュールで一巡させてエンコーダ61のA相信号及びB相信号のエッジをカウントし、初期駆動終了時のエンコーダカウント値とロータ52の回転角度と通電相との対応関係を通電相学習値として学習する通電相学習処理を実行し、その後の通常駆動時に、エンコーダカウント値と通電相学習値とに基づいて通電相を決定するようにしている。エンコーダカウント値と通電相学習値は、レンジ切換ECU20のRAM71に記憶される。   Therefore, in the present embodiment, the range switching ECU 20 functions as energized phase learning means in the scope of claims, and switches the energized phase of the motor 14 in a predetermined time schedule during initial driving after power-on. An energized phase learning process is performed in which the edges of the A phase signal and the B phase signal of the encoder 61 are counted and the correspondence between the encoder count value at the end of the initial drive, the rotation angle of the rotor 52 and the energized phase is learned as the energized phase learning value. The energized phase is determined based on the encoder count value and the energized phase learning value during the subsequent normal drive. The encoder count value and the energized phase learning value are stored in the RAM 71 of the range switching ECU 20.

この通電相学習処理(初期駆動)は、具体的には次のようにして行われる。
図9に示すように、Pレンジでレンジ切換ECU20に電源が投入されたときに初期駆動を行う場合は、例えば、W相通電→UW相通電→U相通電→UV相通電→V相通電→VW相通電の順序で通電相の切り換えを所定のタイムスケジュールで一巡し、ロータ52を正回転方向(Pレンジ→Dレンジの回転方向)に駆動する。
This energized phase learning process (initial drive) is specifically performed as follows.
As shown in FIG. 9, when the initial drive is performed when the power is supplied to the range switching ECU 20 in the P range, for example, W phase energization → UW phase energization → U phase energization → UV phase energization → V phase energization → The energized phases are switched in a predetermined time schedule in the order of the VW phase energization, and the rotor 52 is driven in the normal rotation direction (P range → D range rotation direction).

一方、Dレンジでレンジ切換ECU20に電源が投入されたときに初期駆動を行う場合は、例えば、V相通電→UV相通電→U相通電→UW相通電→W相通電→VW相通電の順序で通電相の切り換えを所定のタイムスケジュールで一巡し、ロータ52を逆回転方向(Dレンジ→Pレンジの回転方向)に駆動する。   On the other hand, when the initial driving is performed when the power is supplied to the range switching ECU 20 in the D range, for example, the order of V phase energization → UV phase energization → U phase energization → UW phase energization → W phase energization → VW phase energization Thus, the energized phase is switched once in a predetermined time schedule, and the rotor 52 is driven in the reverse rotation direction (the rotation direction of the D range → P range).

この初期駆動時には、1相通電の時間T1を2相通電の時間T2よりも短くし、例えばT1=10ms、T2=100msに設定する。初期駆動中にロータ52の回転角度と通電相との同期がとれた後でも、トルクが小さい1相通電では、ロータ52が振動するため、1相通電の時間T1を短くして、できるだけ速やかに次の2相通電に切り換えることで、ロータ52の振動を速やかに停止させてエンコーダ61の出力信号を安定させるようにしている。   During this initial drive, the one-phase energization time T1 is set shorter than the two-phase energization time T2, and for example, T1 = 10 ms and T2 = 100 ms are set. Even after the rotation angle of the rotor 52 and the energized phase are synchronized during the initial drive, the rotor 52 vibrates in the one-phase energization with a small torque, so the time T1 of the one-phase energization is shortened as quickly as possible. By switching to the next two-phase energization, the vibration of the rotor 52 is promptly stopped and the output signal of the encoder 61 is stabilized.

このように、初期駆動時に通電相の切り換えを一巡させれば、初期駆動が終了するまでに、いずれかの通電相で必ずロータ52の回転角度と通電相とが一致して、それ以後、通電相の切り換えに同期してロータ52が回転して、このロータ52の回転に同期してエンコーダ61からA相信号及びB相信号が出力されるようになる。   In this way, if the energized phase is switched once during the initial drive, the rotation angle of the rotor 52 and the energized phase always coincide with each other before the initial drive is completed, and thereafter The rotor 52 rotates in synchronization with the phase switching, and the A phase signal and the B phase signal are output from the encoder 61 in synchronization with the rotation of the rotor 52.

この初期駆動中に、エンコーダ61のA相信号及びB相信号の立ち上がり/立ち下がりの両方のエッジをカウントする。従って、初期駆動終了時のエンコーダカウント値を見れば、初期駆動が終了するまでにロータ52が実際に通電相の切り換えに同期して回転した角度(回転量)が分かり、それによって、初期駆動終了時のエンコーダカウント値とロータ52の回転角度と通電相との対応関係が分かる。   During this initial drive, both the rising and falling edges of the A-phase signal and B-phase signal of the encoder 61 are counted. Therefore, by looking at the encoder count value at the end of the initial drive, the angle (rotation amount) that the rotor 52 has actually rotated in synchronization with the switching of the energized phase before the end of the initial drive can be found, thereby completing the end of the initial drive. The correspondence relationship between the encoder count value at the time, the rotation angle of the rotor 52, and the energized phase is known.

図9の例では、初期駆動時に最初の通電相(W相)からロータ52が回転し、通電相の切り換え毎にロータ52が7.5°ずつ回転してエンコーダカウント値が2ずつカウントアップし、初期駆動終了時にエンコーダカウント値が12となる。   In the example of FIG. 9, the rotor 52 rotates from the first energized phase (W phase) during the initial drive, and the rotor 52 rotates by 7.5 ° every time the energized phase is switched, and the encoder count value is incremented by 2. At the end of the initial drive, the encoder count value becomes 12.

これに対し、例えば、初めの3回の励磁(W相通電→UW相通電→U相通電)でロータ52が回転しない場合、つまり4回目以降の励磁(UV相通電→V相通電→VW相通電)でロータ52の回転角度と通電相とが同期してロータ52が3回の励磁分だけ回転する場合は、初期駆動終了時までにロータ52が7.5°×3=22.5°回転して、エンコーダカウント値が2×3=6となる。従って、初期駆動終了時のエンコーダカウント値を見れば、初期駆動が終了するまでにロータ52が実際に通電相の切り換えに同期して回転した角度(回転量)が判明する。   On the other hand, for example, when the rotor 52 does not rotate by the first three excitations (W-phase energization → UW-phase energization → U-phase energization), that is, the fourth and subsequent excitations (UV-phase energization → V-phase energization → VW phase). When the rotor 52 rotates by the amount of excitation three times in synchronization with the rotation angle of the rotor 52 and the energized phase, the rotor 52 is 7.5 ° × 3 = 22.5 ° by the end of the initial drive. Rotate and the encoder count value becomes 2 × 3 = 6. Therefore, by looking at the encoder count value at the end of the initial drive, the angle (rotation amount) at which the rotor 52 actually rotates in synchronization with the switching of the energized phase before the end of the initial drive is found.

初期駆動の最後の通電相は、常にVW相となるが、エンコーダカウント値は、必ずしも12になるとは限らず、例えば8、或は4である場合もある。初期駆動終了後の通常駆動時には、エンコーダカウント値に基づいて通電相が決定されるため、初期駆動によるエンコーダカウント値のずれを修正することにより、通常駆動時に正しい通電相を選択することができる。   The last energized phase of the initial drive is always the VW phase, but the encoder count value is not necessarily 12 and may be 8 or 4, for example. During normal driving after the end of initial driving, the energized phase is determined based on the encoder count value. Therefore, the correct energized phase can be selected during normal driving by correcting the deviation in the encoder count value due to initial driving.

初期駆動終了後は、通常のモータ制御に移行して、図9に示すように、まず初期駆動終了時の通電相(VW相)と同じ相に例えば10ms通電してロータ52の位置を初期駆動終了時の位置に保持し、その後、フィードバック制御により、その時点のエンコーダカウント値と通電相学習値とに基づいて通電相を切り換えてロータ52を目標回転角度の方向へ回転させる。これにより、ロータ52の回転角度(エンコーダカウント値)が目標回転角度から例えば0.5°以内に到達した時点で、通電相の切り換えを終了してロータ52を停止させ、その後は、同じ相に通電し続けてロータ52の停止状態を保持し、この保持状態を例えば50ms継続する。この後、目標回転角度が変化しなければ、通電を停止する。   After completion of the initial drive, the routine shifts to normal motor control, and as shown in FIG. 9, first, for example, 10 ms is applied to the same phase as the energization phase (VW phase) at the end of the initial drive, and the position of the rotor 52 is initially driven. The position at the end is held, and then, by feedback control, the energized phase is switched based on the encoder count value and the energized phase learning value at that time, and the rotor 52 is rotated in the direction of the target rotation angle. As a result, when the rotation angle (encoder count value) of the rotor 52 reaches within, for example, 0.5 ° from the target rotation angle, the switching of the energized phase is terminated and the rotor 52 is stopped. The energization is continued and the rotor 52 is held in a stopped state, and this holding state is continued for 50 ms, for example. Thereafter, if the target rotation angle does not change, the energization is stopped.

ところで、通電相学習処理(初期駆動)を実行するためにはモータ14に連続的に通電する必要があるため、モータ14または、レンジ切換ECU20のモータドライバ55,56が発熱しやすい。通常、電源投入後は暫くモータ14の電源を切断しないため、初期駆動は1回で済むが、使用者が遊び感覚等で電源スイッチ72(イグニッションスイッチ)のオン/オフの切換操作を繰り返すと、短時間に初期駆動が何回も繰り返されて、モータ14または、モータドライバ55,56の温度が上昇してしまい、モータ14または、モータドライバ55,56の寿命低下や故障の原因となる懸念がある。   By the way, since it is necessary to energize the motor 14 continuously in order to execute the energization phase learning process (initial drive), the motor 14 or the motor drivers 55 and 56 of the range switching ECU 20 are likely to generate heat. Normally, since the motor 14 is not turned off for a while after the power is turned on, the initial drive is only required once. However, when the user repeatedly turns the power switch 72 (ignition switch) on and off for a sense of fun, There is a concern that the initial drive is repeated many times in a short time, and the temperature of the motor 14 or the motor drivers 55 and 56 rises, leading to a decrease in the life or failure of the motor 14 or the motor drivers 55 and 56. is there.

そこで、本実施例では、図10に示すように、電源スイッチ72のオフ操作後も所定時間(T1又はT2)が経過するまでECUリレー73(図5参照)をオン状態に維持してレンジ切換ECU20への電源供給を継続し、電源スイッチ72のオフ操作後に電源オン状態を継続する期間に電源スイッチ72がオン操作されても通電相学習処理(初期駆動)を実行しないようにしている。   Therefore, in this embodiment, as shown in FIG. 10, the ECU relay 73 (see FIG. 5) is kept on until the predetermined time (T1 or T2) elapses after the power switch 72 is turned off, and the range is switched. The power supply to the ECU 20 is continued, and the energized phase learning process (initial driving) is not executed even if the power switch 72 is turned on during a period in which the power on state is continued after the power switch 72 is turned off.

この場合、電源スイッチ72のオフ操作後に電源オン状態を継続する所定時間(T1又はT2)は、通電相学習処理で発熱したモータ14または、モータドライバ55,56を放熱させてモータ14または、モータドライバ55,56の温度を許容温度範囲内に低下させるのに必要な時間を確保するように設定され、通電相学習処理後の最初の電源スイッチ72のオフ操作からの経過時間が所定時間T1に達したか否かを判定しても良いし、或は、電源スイッチ72のオフ状態が継続する時間が所定時間T2に達したか否かを判定しても良い。この所定時間(T1又はT2)は、予め設定した一定の時間としても良いし、モータ14または、モータドライバ55,56の温度等に応じて変化させても良い。モータ14または、モータドライバ55,56の温度は、温度センサで検出しても良いし、初期駆動時のモータ14の通電電流量等に基づいて推定しても良い。   In this case, for a predetermined time (T1 or T2) during which the power-on state is continued after the power switch 72 is turned off, the motor 14 or the motor drivers 55 and 56 that have generated heat in the energized phase learning process are radiated and the motor 14 or motor The time required for lowering the temperature of the drivers 55 and 56 within the allowable temperature range is set, and the elapsed time from the first operation of turning off the power switch 72 after the energized phase learning process is set to the predetermined time T1. It may be determined whether or not the power switch 72 has been reached, or it may be determined whether or not the time during which the power switch 72 remains off has reached a predetermined time T2. This predetermined time (T1 or T2) may be a predetermined time set in advance, or may be changed according to the temperature of the motor 14 or the motor drivers 55 and 56. The temperature of the motor 14 or the motor drivers 55 and 56 may be detected by a temperature sensor, or may be estimated based on an energization current amount of the motor 14 at the time of initial driving.

以上説明した本実施例の通電相学習処理は、レンジ切換ECU20によって図11の通電相学習処理プログラムに従って実行される。本プログラムは、レンジ切換ECU20への電源供給中(ECUリレー73のオン期間中)に所定周期で繰り返し実行される。本プログラムが起動されると、まずステップ101で、電源スイッチ72がオフ(OFF)からオン(ON)に切り換えられた直後であるか否かを判定し、オンに切り換えられた直後であれば、ステップ102に進み、ECUリレー73がオフ状態であるか否かを判定する。その結果、ECUリレー73がオフ状態であると判定されれば、ステップ103に進み、ECUリレー73をオンして、次のステップ104で、通電相学習処理を実施して、ステップ105に進む。   The energized phase learning process of the present embodiment described above is executed by the range switching ECU 20 according to the energized phase learning process program of FIG. This program is repeatedly executed at a predetermined cycle during power supply to the range switching ECU 20 (while the ECU relay 73 is on). When this program is started, it is first determined in step 101 whether or not the power switch 72 has just been switched from OFF to ON, and if it has just been switched ON, Proceeding to step 102, it is determined whether or not the ECU relay 73 is off. As a result, if it is determined that the ECU relay 73 is in the off state, the process proceeds to step 103, the ECU relay 73 is turned on, the energized phase learning process is performed in the next step 104, and the process proceeds to step 105.

これに対し、上記ステップ101と102のいずれかで「No」と判定された場合、つまり、電源スイッチ72がオンに切り換えられた直後ではない場合、又は、ECUリレー73がオン状態である場合は、ステップ103と104を飛び越して、ステップ105に進む。この場合は、通電相学習処理は実施されない。   On the other hand, when it is determined as “No” in any of the above steps 101 and 102, that is, not immediately after the power switch 72 is switched on, or when the ECU relay 73 is in the on state. Steps 103 and 104 are skipped and the process proceeds to Step 105. In this case, the energized phase learning process is not performed.

この後、ステップ105で、電源スイッチ72のオフ操作から所定時間(T1又はT2)が経過したか否かを判定する。この際、通電相学習処理後の最初の電源スイッチ72のオフ操作からの経過時間が所定時間T1に達したか否かを判定しても良いし、或は、電源スイッチ72のオフ状態が継続する時間が所定時間T2に達したか否かを判定しても良い。このステップ105で、電源スイッチ72のオフ操作から所定時間(T1又はT2)が経過していないと判定されれば、そのまま本プログラムを終了する。この場合は、電源スイッチ72のオフ操作後もECUリレー73がオン状態に維持される。このステップ105の処理が特許請求の範囲でいう電源継続手段としての役割を果たす。   Thereafter, in step 105, it is determined whether or not a predetermined time (T1 or T2) has elapsed since the power switch 72 was turned off. At this time, it may be determined whether or not the elapsed time from the first turning-off operation of the power switch 72 after the energized phase learning process has reached a predetermined time T1, or the power switch 72 is kept off. It may be determined whether or not a predetermined time has reached a predetermined time T2. If it is determined in step 105 that the predetermined time (T1 or T2) has not elapsed since the power switch 72 was turned off, the program is terminated as it is. In this case, the ECU relay 73 is kept on even after the power switch 72 is turned off. The processing in step 105 serves as power supply continuation means in the claims.

その後、電源スイッチ72のオフ操作から所定時間(T1又はT2)が経過した時点で、上記ステップ105で「Yes」と判定されて、ステップ106に進み、ECUリレー73をオフしてレンジ切換ECU20への電源供給を遮断する。   Thereafter, when a predetermined time (T1 or T2) has elapsed from the turning-off operation of the power switch 72, it is determined “Yes” in Step 105, and the process proceeds to Step 106, where the ECU relay 73 is turned off and the range switching ECU 20 is entered. Shut off the power supply.

以上説明した本実施例によれば、電源スイッチ72のオフ操作後も所定時間が経過するまでは、電源オン状態に維持してRAM71の記憶データ(通電相学習値とエンコーダカウント値)を保持できると共に、モータ14が外力等で回転すれば、その回転角度に応じてエンコーダカウント値を更新することができる。これにより、電源スイッチ72のオフ操作後に電源オン状態に維持される期間は、通電相学習処理(初期駆動)を実行しなくても、RAM71に記憶された通電相学習値とエンコーダカウント値を用いてモータ14を目標回転角度まで正しく回転駆動することが可能となり、当該期間に電源スイッチ72がオン操作されても通電相学習処理(初期駆動)を実行しないようにすることができる。このため、使用者が遊び感覚等で電源スイッチ72のオン/オフの切換操作を繰り返しても、通電相学習処理(初期駆動)によるモータ14または、レンジ切換ECU20のモータドライバ55,56の発熱を抑えて、モータ14または、モータドライバ55,56の寿命低下や故障を未然に防止することができる。   According to the present embodiment described above, the stored data (energized phase learning value and encoder count value) of the RAM 71 can be maintained and maintained in the power-on state until a predetermined time elapses after the power switch 72 is turned off. At the same time, if the motor 14 is rotated by an external force or the like, the encoder count value can be updated according to the rotation angle. As a result, the energized phase learning value and the encoder count value stored in the RAM 71 are used for the period in which the power switch 72 is maintained in the power-on state after the power switch 72 is turned off without executing the energized phase learning process (initial driving). Thus, the motor 14 can be correctly rotated to the target rotation angle, and the energized phase learning process (initial drive) can be prevented from being executed even if the power switch 72 is turned on during the period. For this reason, even if the user repeats the on / off switching operation of the power switch 72 with a sense of play or the like, the motor 14 or the motor drivers 55 and 56 of the range switching ECU 20 generate heat due to the energized phase learning process (initial driving). Thus, it is possible to prevent the motor 14 or the motor drivers 55 and 56 from being shortened in life or broken.

尚、エンコーダ61は、磁気式のエンコーダに限定されず、例えば、光学式のエンコーダやブラシ式のエンコーダを用いても良い。
また、モータ14は、SRモータに限定されず、エンコーダのパルス信号のカウント値に基づいてロータの回転角度を検出してモータの通電相を順次切り換えるブラシレス型の同期モータであれば、SRモータ以外の同期モータを用いても良い。
The encoder 61 is not limited to a magnetic encoder, and for example, an optical encoder or a brush encoder may be used.
Further, the motor 14 is not limited to the SR motor, and other than the SR motor as long as it is a brushless type synchronous motor that detects the rotation angle of the rotor based on the count value of the pulse signal of the encoder and sequentially switches the energized phase of the motor. A synchronous motor may be used.

その他、本発明は、レンジ切換装置に限定されず、SRモータ等のブラシレス型の同期モータを駆動源とする各種の位置切換装置に広く適用して実施できることは言うまでもない。   In addition, the present invention is not limited to the range switching device, and needless to say, the present invention can be widely applied to various position switching devices using a brushless type synchronous motor such as an SR motor as a drive source.

11…エンジン、12…自動変速機、13…油圧制御弁、14…モータ、15…レンジ切換機構、16…スプール弁、17…変速制御ECU、20…レンジ切換ECU(通電相学習手段,電源継続手段)、21…シフトレンジ検出装置、22…エンジンECU、23…バッテリ(電源)、28…ディテントレバー、29…パーキングロッド、31…ロックレバー、33…パーキングギヤ、35…凹部、36…ディテントバネ、37…係合部、38…ディテント機構、43…スタータ、46…出力軸センサ、51…ステータコア、52…ロータ、53,54…駆動コイル、55,56…モータドライバ(モータ駆動回路)、61…エンコーダ、62…ロータリマグネット、63…A相信号用の磁気検出素子、64…B相信号用の磁気検出素子、71…RAM(記憶手段)、72…電源スイッチ、73…ECUリレー   DESCRIPTION OF SYMBOLS 11 ... Engine, 12 ... Automatic transmission, 13 ... Hydraulic control valve, 14 ... Motor, 15 ... Range switching mechanism, 16 ... Spool valve, 17 ... Shift control ECU, 20 ... Range switching ECU (energized phase learning means, power supply continuation) Means), 21 ... Shift range detection device, 22 ... Engine ECU, 23 ... Battery (power source), 28 ... Detent lever, 29 ... Parking rod, 31 ... Lock lever, 33 ... Parking gear, 35 ... Recess, 36 ... Detent spring , 37 ... engaging portion, 38 ... detent mechanism, 43 ... starter, 46 ... output shaft sensor, 51 ... stator core, 52 ... rotor, 53, 54 ... drive coil, 55, 56 ... motor driver (motor drive circuit), 61 ... Encoder, 62 ... Rotary magnet, 63 ... Magnetic detection element for A-phase signal, 64 ... Magnetic detection element for B-phase signal, 1 ... RAM (storage means), 72 ... power switch, 73 ... ECU relay

Claims (4)

制御対象を回転駆動するモータの回転に伴って所定角度間隔でパルス信号を出力するエンコーダと、電源オン/オフを切り替える電源スイッチと、前記電源スイッチのオン操作による電源オン後に前記モータの通電相をモータ駆動回路により所定のパターンで順次切り換えることで前記エンコーダのパルス信号のカウント値(以下「エンコーダカウント値」という)と前記モータの回転角度と通電相との対応関係を通電相学習値として学習する通電相学習処理を実行する通電相学習手段と、前記通電相学習値と前記エンコーダカウント値を記憶する記憶手段とを備え、前記通電相学習処理後は、前記エンコーダカウント値と前記通電相学習値に基づいて前記モータの通電相を順次切り換えることで前記モータを目標回転角度まで回転駆動するモータ制御装置において、
前記電源スイッチのオフ操作後も所定時間が経過するまで電源オン状態を継続する電源継続手段を備え、
前記通電相学習手段は、前記電源スイッチのオフ操作後に前記電源継続手段により電源オン状態を継続する期間に前記電源スイッチがオン操作されても前記通電相学習処理を実行しないことを特徴とするモータ制御装置。
An encoder that outputs a pulse signal at predetermined angular intervals as the motor that rotationally drives the object to be controlled, a power switch that switches power on / off, and an energization phase of the motor after the power is turned on by turning on the power switch The correspondence between the encoder pulse signal count value (hereinafter referred to as “encoder count value”), the rotation angle of the motor and the energized phase is learned as an energized phase learning value by sequentially switching in a predetermined pattern by the motor drive circuit. An energized phase learning means for executing an energized phase learning process; and a storage means for storing the energized phase learning value and the encoder count value. After the energized phase learning process, the encoder count value and the energized phase learned value are stored. The motor is rotated to the target rotation angle by sequentially switching the energized phase of the motor based on In over motor controller,
A power supply continuation means for continuing the power-on state until a predetermined time elapses after the power switch is turned off;
The energized phase learning means does not execute the energized phase learning process even if the power switch is turned on during a period in which the power continuation means continues the power-on state after the power switch is turned off. Control device.
前記所定時間は、前記通電相学習処理で発熱した前記モータを放熱させるのに必要な時間、または、前記モータの通電相を切り換える前記モータ駆動回路の放熱に必要な時間を確保するように設定されていることを特徴とする請求項1に記載のモータ制御装置。   The predetermined time is set so as to secure a time necessary for radiating heat from the motor that has generated heat in the energized phase learning process or a time necessary for radiating heat from the motor drive circuit that switches the energized phase of the motor. The motor control device according to claim 1, wherein: 前記モータは、スイッチトリラクタンスモータであることを特徴とする請求項1又は2に記載のモータ制御装置。   The motor control apparatus according to claim 1, wherein the motor is a switched reluctance motor. 前記モータは、車両の自動変速機のレンジを切り換えるレンジ切換機構を駆動することを特徴とする請求項1乃至3のいずれかに記載のモータ制御装置。   4. The motor control device according to claim 1, wherein the motor drives a range switching mechanism that switches a range of an automatic transmission of the vehicle.
JP2010247164A 2010-11-04 2010-11-04 Motor control device Active JP5472044B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010247164A JP5472044B2 (en) 2010-11-04 2010-11-04 Motor control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010247164A JP5472044B2 (en) 2010-11-04 2010-11-04 Motor control device

Publications (2)

Publication Number Publication Date
JP2012100462A JP2012100462A (en) 2012-05-24
JP5472044B2 true JP5472044B2 (en) 2014-04-16

Family

ID=46391732

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010247164A Active JP5472044B2 (en) 2010-11-04 2010-11-04 Motor control device

Country Status (1)

Country Link
JP (1) JP5472044B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5907383B2 (en) * 2012-06-25 2016-04-26 株式会社デンソー Motor control device
JP5985912B2 (en) * 2012-07-18 2016-09-06 アイダエンジニアリング株式会社 Motor excitation device, motor excitation method, motor control device, and motor control method
JP7236117B1 (en) 2021-11-10 2023-03-09 国立大学法人大阪大学 motor device

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02129674A (en) * 1988-11-09 1990-05-17 Ricoh Co Ltd Controller for toner concentration in developing electrostatic latent image
JP2003065436A (en) * 2001-08-29 2003-03-05 Bosch Automotive Systems Corp Method for controlling transmission speed change control system
JP3800529B2 (en) * 2002-06-03 2006-07-26 株式会社デンソー Motor control device
JP4082164B2 (en) * 2002-10-07 2008-04-30 株式会社デンソー Motor control device
JP5099039B2 (en) * 2009-02-20 2012-12-12 株式会社デンソーウェーブ Robot controller

Also Published As

Publication number Publication date
JP2012100462A (en) 2012-05-24

Similar Documents

Publication Publication Date Title
JP5454962B2 (en) Motor control device
JP4936069B2 (en) Motor control device
JP5789952B2 (en) Motor control device
JP5817747B2 (en) Range switching device
JP5648854B2 (en) Motor control device
JP5093624B2 (en) Motor control device
JP6097056B2 (en) Motor control device
JP2014023196A (en) Motor control device
WO2016136205A1 (en) Motor control device
JP2007336611A (en) Control device of synchronous motor
JP3800529B2 (en) Motor control device
JP5472044B2 (en) Motor control device
JP2004023932A (en) Motor controller
JP2004023890A (en) Motor controller
JP4082164B2 (en) Motor control device
JP3947922B2 (en) Motor control device
JP2004190839A (en) Position switching control device
JP2017161455A (en) Control device
JP3871130B2 (en) Motor control device
JP5472038B2 (en) Motor control device
JP2011247391A (en) Range switching control device
JP3849627B2 (en) Motor control device
JP3888278B2 (en) Motor control device
JP3800532B2 (en) Motor control device
JP3849629B2 (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: 20121116

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20131226

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20140120

R151 Written notification of patent or utility model registration

Ref document number: 5472044

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

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

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250