JP5862649B2 - Control device and shift-by-wire system using the same - Google Patents

Control device and shift-by-wire system using the same Download PDF

Info

Publication number
JP5862649B2
JP5862649B2 JP2013253032A JP2013253032A JP5862649B2 JP 5862649 B2 JP5862649 B2 JP 5862649B2 JP 2013253032 A JP2013253032 A JP 2013253032A JP 2013253032 A JP2013253032 A JP 2013253032A JP 5862649 B2 JP5862649 B2 JP 5862649B2
Authority
JP
Japan
Prior art keywords
current
detection circuit
value
motor
voltage
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
JP2013253032A
Other languages
Japanese (ja)
Other versions
JP2015110970A (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 JP2013253032A priority Critical patent/JP5862649B2/en
Priority to DE102014224704.7A priority patent/DE102014224704A1/en
Priority to US14/559,284 priority patent/US9442468B2/en
Priority to CN201410737471.0A priority patent/CN104702193B/en
Publication of JP2015110970A publication Critical patent/JP2015110970A/en
Application granted granted Critical
Publication of JP5862649B2 publication Critical patent/JP5862649B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Gear-Shifting Mechanisms (AREA)
  • Control Of Transmission Device (AREA)
  • Control Of Ac Motors In General (AREA)

Description

本発明は、モータの駆動を制御する制御装置、および、これを用いたシフトバイワイヤシステムに関する。   The present invention relates to a control device that controls driving of a motor, and a shift-by-wire system using the same.

従来、車両制御の分野において、車両状態を変化させるアクチュエータを車両の運転者の指令によってバイワイヤ制御回路により電気制御するバイワイヤシステムが知られている。例えば特許文献1には、運転者の指令によってシフトレンジを切り替えるシフトバイワイヤシステムが開示されている。このシステムでは、ブラシレスモータを有するアクチュエータの駆動を制御することにより、シフトレンジ切替装置内のディテントプレートを回転駆動し、シフトレンジを切り替えている。   2. Description of the Related Art Conventionally, in the field of vehicle control, a by-wire system is known in which an actuator that changes a vehicle state is electrically controlled by a by-wire control circuit according to a command from a vehicle driver. For example, Patent Document 1 discloses a shift-by-wire system that switches a shift range according to a driver's command. In this system, by controlling the driving of an actuator having a brushless motor, the detent plate in the shift range switching device is rotationally driven to switch the shift range.

特開2004−308752号公報JP 2004-308752 A

特許文献1のシフトバイワイヤシステムでは、シフトレンジを切り替えるとき、モータの回転に同期して所定角度毎にパルス信号を出力するエンコーダのパルス信号のカウント値に基づき、モータを目標レンジに対応する目標回転位置に回転させることにより、シフトレンジを目標レンジに切り替えている。また、特許文献1のシフトバイワイヤシステムでは、シフトレンジの切り替え制御を開始する前、すなわち、モータの通常の駆動制御を開始する前、ディテントプレートが可動範囲の限界位置で停止するまでモータを回転させることによりモータの基準位置を学習する基準位置学習制御を行っている。基準位置を学習することにより前記限界位置とモータの基準位置とが一致し、以後、モータを目標回転位置に回転させる通常の駆動制御が可能になる。   In the shift-by-wire system of Patent Document 1, when the shift range is switched, the target rotation corresponding to the target range based on the count value of the pulse signal of the encoder that outputs the pulse signal at every predetermined angle in synchronization with the rotation of the motor. By shifting to a position, the shift range is switched to the target range. Further, in the shift-by-wire system of Patent Document 1, before starting the shift range switching control, that is, before starting normal drive control of the motor, the motor is rotated until the detent plate stops at the limit position of the movable range. Thus, reference position learning control for learning the reference position of the motor is performed. By learning the reference position, the limit position and the reference position of the motor coincide with each other, and thereafter normal drive control for rotating the motor to the target rotation position becomes possible.

ところで、基準位置学習制御を行うとき、モータの各相に流れる電流を電圧に応じたデューティー比で制御するシステムでは、電圧が同じであっても温度変化や経時変化等による巻線抵抗の変化によってモータの巻線の各相に流れる電流の値が変化してモータのトルクが変化し、基準位置の学習精度が低下する場合がある。この点に関し、特許文献1のシステムでは何ら考慮されていない。よって、特許文献1のシステムでは、温度変化や経時変化等、条件の変化により基準位置の学習精度が低下するおそれがある。   By the way, when the reference position learning control is performed, in a system that controls the current flowing in each phase of the motor with a duty ratio corresponding to the voltage, even if the voltage is the same, it is caused by a change in winding resistance due to a temperature change or a change over time. In some cases, the value of the current flowing through each phase of the motor winding changes, the motor torque changes, and the learning accuracy of the reference position decreases. In this regard, no consideration is given to the system of Patent Document 1. Therefore, in the system of Patent Document 1, the learning accuracy of the reference position may be reduced due to a change in conditions such as a temperature change or a change with time.

そこで、基準位置学習制御を行うとき、モータの巻線の各相に流れる電流の和の値が所定の範囲内となるよう、巻線に流れる電流を制限すれば、温度変化や経時変化等による各相の電流値の変化が抑制され、条件の変化にかかわらず基準位置の学習精度が向上すると考えられる。しかしながら、モータの巻線の各相に流れる電流の和の値を検出する手段、および、巻線に流れる電流を制限する手段を物理的な回路等で構成する場合、当該回路が故障すると、基準位置を正しく学習できなくなるおそれがある。   Therefore, when the reference position learning control is performed, if the current flowing through the windings is limited so that the sum of the currents flowing through the phases of the motor windings is within a predetermined range, it may be caused by temperature changes or changes over time. It is considered that the change of the current value of each phase is suppressed, and the learning accuracy of the reference position is improved regardless of the change of the condition. However, when the means for detecting the sum of the currents flowing in each phase of the motor winding and the means for limiting the current flowing in the windings are configured with a physical circuit or the like, The position may not be learned correctly.

本発明は、上述の問題に鑑みてなされたものであり、その目的は、基準位置の学習精度が高く、基準位置学習に関する機能の異常を検出可能な制御装置、および、これを用いたシフトバイワイヤシステムを提供することにある。   The present invention has been made in view of the above-described problems, and an object of the present invention is to provide a control device that has high learning accuracy of a reference position and can detect an abnormality in a function related to reference position learning, and shift-by-wire using the same. To provide a system.

本発明は、複数の相の巻線を有し電源から供給される電力により回転することで駆動対象を回転駆動するモータを制御する制御装置であって、リレーとスイッチング手段と制御部と電流検出回路と電流制限回路と基準位置学習手段と電圧検出回路と定電流回路と異常検出手段とを備えている。   The present invention is a control device that controls a motor that has a plurality of phase windings and that is rotated by electric power supplied from a power source to drive a drive target, and includes a relay, a switching unit, a control unit, and a current detection A circuit, a current limiting circuit, a reference position learning means, a voltage detection circuit, a constant current circuit, and an abnormality detection means are provided.

リレーは、電源とモータとの間に設けられ、オン作動することにより電源からモータへの電力の供給を許容し、オフ作動することにより電源からモータへの電力の供給を遮断する。スイッチング手段は、巻線の各相に対応するよう複数設けられ、オン作動することにより対応する巻線への通電を許容し、オフ作動することにより対応する巻線への通電を遮断する。制御部は、リレーおよびスイッチング手段のオンオフ作動を制御することにより、モータの駆動を制御する。   The relay is provided between the power supply and the motor, and allows the power supply from the power supply to the motor by being turned on, and cuts off the power supply from the power supply to the motor by being turned off. A plurality of switching means are provided to correspond to the respective phases of the windings, and when energized, the energization of the corresponding windings is permitted, and when energized, the energization of the corresponding windings is interrupted. The control unit controls the driving of the motor by controlling the on / off operation of the relay and the switching means.

電流検出回路は、巻線およびスイッチング手段を流れる電流が合流する箇所である合流箇所に接続するよう設けられ、合流箇所を流れる電流の値である電流値を検出する。電流制限回路は、電流検出回路により検出される電流値の平均値が所定の範囲内となるよう、巻線およびスイッチング手段を流れる電流を制限する。基準位置学習手段は、電流制限回路により巻線およびスイッチング手段を流れる電流を制限しつつ、駆動対象が可動範囲の限界位置で停止するまでモータを回転させ、モータの基準位置を学習する。   The current detection circuit is provided so as to be connected to a junction where the current flowing through the winding and the switching unit merges, and detects a current value that is a value of the current flowing through the junction. The current limiting circuit limits the current flowing through the winding and the switching means so that the average value of the current values detected by the current detection circuit is within a predetermined range. The reference position learning means learns the reference position of the motor by rotating the motor until the drive target stops at the limit position of the movable range while limiting the current flowing through the winding and the switching means by the current limiting circuit.

電圧検出回路は、スイッチング手段に印加されている電圧の値である電圧値を検出する。定電流回路は、前記合流箇所に、所定の電流値である定電流値に相当する電流を流すことが可能である。異常検出手段は、リレーをオン作動させ、かつ、全てのスイッチング手段をオフ作動させ、かつ、定電流回路により前記合流箇所に前記定電流値に相当する電流を流したとき、電圧検出回路により検出した電圧値と電流検出回路により検出した電流値とに基づき、電流検出回路の異常を検出可能である。   The voltage detection circuit detects a voltage value that is a value of a voltage applied to the switching means. The constant current circuit can flow a current corresponding to a constant current value, which is a predetermined current value, to the junction. The abnormality detection means is detected by the voltage detection circuit when the relay is turned on, all the switching means are turned off, and a current corresponding to the constant current value is caused to flow through the junction by the constant current circuit. The abnormality of the current detection circuit can be detected based on the measured voltage value and the current value detected by the current detection circuit.

本発明では、モータの基準位置を学習するとき、電流検出回路により検出する電流値に基づき、電流制限回路により巻線およびスイッチング手段を流れる電流を制限しつつ、モータを回転させるため、温度変化や経時変化等による各相の電流値の変化、および、モータのトルクの変化を抑制することができる。これにより、温度変化や経時変化等、条件の変化にかかわらず基準位置の学習精度を向上させることができる。   In the present invention, when learning the reference position of the motor, the current limit circuit limits the current flowing through the winding and the switching means based on the current value detected by the current detection circuit, so that the motor is rotated. Changes in the current value of each phase due to changes over time and the like, and changes in motor torque can be suppressed. Thereby, the learning accuracy of the reference position can be improved regardless of changes in conditions such as temperature changes and changes with time.

また、本発明では、異常検出手段によって、電圧検出回路により検出した電圧値と電流検出回路により検出した電流値とに基づき、電流検出回路の異常を検出可能である。これにより、電流検出回路に異常が発生している状態で基準位置学習が行われるのを回避することができる。したがって、基準位置の学習が正しく行われなかったことによりモータが誤作動したり、制御不能になったりするのを防ぐことができる。   In the present invention, the abnormality detection means can detect an abnormality in the current detection circuit based on the voltage value detected by the voltage detection circuit and the current value detected by the current detection circuit. Thereby, it is possible to avoid performing the reference position learning in a state where an abnormality has occurred in the current detection circuit. Therefore, it is possible to prevent the motor from malfunctioning or becoming uncontrollable because the reference position has not been correctly learned.

本発明の一実施形態による制御装置、および、これを用いたシフトバイワイヤシステムを示す模式図。The schematic diagram which shows the control apparatus by one Embodiment of this invention, and the shift-by-wire system using the same. 本発明の一実施形態による制御装置を適用したシフトレンジ切替装置、および、その近傍を示す斜視図。The perspective view which shows the shift range switching apparatus to which the control apparatus by one Embodiment of this invention is applied, and its vicinity. 本発明の一実施形態の制御装置によるモータの制御に関する処理を示すフロー図。The flowchart which shows the process regarding control of the motor by the control apparatus of one Embodiment of this invention. 本発明の一実施形態の制御装置による異常検出処理における検出値と診断結果との対応を示す図。The figure which shows a response | compatibility with the detected value and diagnostic result in the abnormality detection process by the control apparatus of one Embodiment of this invention.

以下、本発明の実施形態を図面に基づき説明する。
(一実施形態)
本発明の一実施形態による制御装置、および、これを用いたシフトバイワイヤシステムを図1に示す。
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
(One embodiment)
FIG. 1 shows a control device according to an embodiment of the present invention and a shift-by-wire system using the same.

シフトバイワイヤシステム1は、アクチュエータ10、シフトレンジ切替装置30、制御装置としての電子制御ユニット(以下、「ECU」という。)60等を備えている。シフトバイワイヤシステム1は、例えば自動変速機3とともに車両に搭載され、車両の運転者の指令に基づきアクチュエータ10およびシフトレンジ切替装置30を駆動させることにより、バイワイヤ制御で自動変速機3のシフトレンジを切り替える。   The shift-by-wire system 1 includes an actuator 10, a shift range switching device 30, an electronic control unit (hereinafter referred to as “ECU”) 60 as a control device, and the like. The shift-by-wire system 1 is mounted on a vehicle together with, for example, the automatic transmission 3, and drives the actuator 10 and the shift range switching device 30 based on a command from the driver of the vehicle, so that the shift range of the automatic transmission 3 is controlled by the by-wire control. Switch.

アクチュエータ10は、ハウジング11、モータ20、エンコーダ12、減速機13、および、出力軸14等を有している。
モータ20は、本実施形態では、例えばスイッチトリラクタンス(SR)モータであり、永久磁石を用いることなく駆動力を発生する3相駆動型のブラシレスモータである。モータ20は、ステータ21、巻線22、ロータ23、および、モータ軸24等を有している。
The actuator 10 includes a housing 11, a motor 20, an encoder 12, a speed reducer 13, an output shaft 14, and the like.
In this embodiment, the motor 20 is a switched reluctance (SR) motor, for example, and is a three-phase drive type brushless motor that generates a driving force without using a permanent magnet. The motor 20 includes a stator 21, a winding 22, a rotor 23, a motor shaft 24, and the like.

ステータ21は、例えば複数の鉄板を積層することにより円環状に形成され、ハウジング11の内側に固定されるようにして収容されている。ステータ21は、径方向内側へ突出する突極を周方向に等間隔で複数有している。本実施形態では、ステータ21は、突極を12個有している。   The stator 21 is formed in an annular shape by laminating a plurality of iron plates, for example, and is accommodated so as to be fixed inside the housing 11. The stator 21 has a plurality of salient poles protruding radially inward at equal intervals in the circumferential direction. In the present embodiment, the stator 21 has 12 salient poles.

巻線22は、ステータ21の各突極に巻き回されるようにして複数設けられている。ここで、各巻線22は、モータ20の複数の相(U相、V相、W相)に対応している。本実施形態では、12個の巻線22のうち、4つずつがそれぞれU相、V相、W相に対応している。   A plurality of windings 22 are provided so as to be wound around each salient pole of the stator 21. Here, each winding 22 corresponds to a plurality of phases (U phase, V phase, W phase) of the motor 20. In the present embodiment, four of the twelve windings 22 correspond to the U phase, the V phase, and the W phase, respectively.

ロータ23は、例えば複数の鉄板を積層することにより円柱状に形成され、ステータ21の内側において回転可能に設けられている。ロータ23は、径方向外側へ突出する突極を周方向に等間隔で複数有している。本実施形態では、ロータ23は、突極を8個有している。   For example, the rotor 23 is formed in a columnar shape by laminating a plurality of iron plates, and is provided rotatably inside the stator 21. The rotor 23 has a plurality of salient poles protruding radially outward at equal intervals in the circumferential direction. In the present embodiment, the rotor 23 has eight salient poles.

モータ軸24は、ロータ23の中心にロータ23と一体に設けられ、ロータ23とともに回転可能である。モータ軸24は、ハウジング11により回転可能に支持されている。これにより、ロータ23は、モータ軸24とともにステータ21の内側において回転可能である。   The motor shaft 24 is provided integrally with the rotor 23 at the center of the rotor 23, and can be rotated together with the rotor 23. The motor shaft 24 is rotatably supported by the housing 11. As a result, the rotor 23 can rotate inside the stator 21 together with the motor shaft 24.

各相の巻線22への通電が順次切り替えられると、ステータ21に回転磁界が生じ、ロータ23が回転する。
モータ20は、車両の電源としてのバッテリ2から電力を供給されることにより回転する。ECU60は、バッテリ2から各相の巻線22への通電を切り替えることにより、モータ20の駆動を制御する。
When energization to the windings 22 of each phase is sequentially switched, a rotating magnetic field is generated in the stator 21 and the rotor 23 rotates.
The motor 20 rotates by being supplied with power from the battery 2 as a power source of the vehicle. The ECU 60 controls driving of the motor 20 by switching energization from the battery 2 to the windings 22 of each phase.

エンコーダ12は、アクチュエータ10のハウジング11内に設けられている。エンコーダ12は、ロータ23と一体に回転する磁石と、ハウジング11に固定された基板に実装され、磁石と対向配置されて磁石における磁束発生部の通過を検出する、磁気検出用のホールIC等により構成されている。エンコーダ12は、モータ20(ロータ23)の回転角の変化分に応じてA相、B相のパルス信号を出力する。   The encoder 12 is provided in the housing 11 of the actuator 10. The encoder 12 includes a magnet that rotates integrally with the rotor 23, and a Hall IC for magnetic detection that is mounted on a substrate fixed to the housing 11, is disposed opposite to the magnet, and detects the passage of the magnetic flux generation unit in the magnet. It is configured. The encoder 12 outputs A-phase and B-phase pulse signals according to the change in the rotation angle of the motor 20 (rotor 23).

減速機13は、モータ20のモータ軸24の回転運動を減速して出力軸14から出力し、シフトレンジ切替装置30に伝達する。シフトレンジ切替装置30は、減速機13から出力された回転駆動力をマニュアルバルブ4、および、パーキングロック機構50へ伝達する(図2参照)。   The speed reducer 13 decelerates the rotational motion of the motor shaft 24 of the motor 20, outputs it from the output shaft 14, and transmits it to the shift range switching device 30. The shift range switching device 30 transmits the rotational driving force output from the speed reducer 13 to the manual valve 4 and the parking lock mechanism 50 (see FIG. 2).

シフトレンジ切替装置30は、図2に示すようにマニュアルシャフト31、ディテントプレート32およびディテントスプリング34などを有している。マニュアルシャフト31は、アクチュエータ10の出力軸14に接続し、モータ20の回転駆動力によって回転駆動される。ディテントプレート32は、マニュアルシャフト31から径方向外側に伸びてマニュアルシャフト31と一体に構成されている。これにより、ディテントプレート32は、マニュアルシャフト31と一体にアクチュエータ10によって回転駆動される。ここで、ディテントプレート32は、特許請求の範囲における「駆動対象」に対応している。   As shown in FIG. 2, the shift range switching device 30 includes a manual shaft 31, a detent plate 32, a detent spring 34, and the like. The manual shaft 31 is connected to the output shaft 14 of the actuator 10 and is rotationally driven by the rotational driving force of the motor 20. The detent plate 32 extends radially outward from the manual shaft 31 and is configured integrally with the manual shaft 31. Thereby, the detent plate 32 is rotationally driven by the actuator 10 together with the manual shaft 31. Here, the detent plate 32 corresponds to “driving object” in the claims.

ディテントプレート32には、マニュアルシャフト31と平行に突出するピン33が設置されている。ピン33は、マニュアルバルブ4と接続している。そのため、ディテントプレート32がマニュアルシャフト31とともに回転することにより、マニュアルバルブ4は軸方向へ往復移動する。すなわち、シフトレンジ切替装置30は、アクチュエータ10の回転駆動力を直線運動に変換してマニュアルバルブ4に伝達する。   The detent plate 32 is provided with a pin 33 that protrudes in parallel with the manual shaft 31. The pin 33 is connected to the manual valve 4. Therefore, when the detent plate 32 rotates together with the manual shaft 31, the manual valve 4 reciprocates in the axial direction. That is, the shift range switching device 30 converts the rotational driving force of the actuator 10 into a linear motion and transmits it to the manual valve 4.

ディテントプレート32は、マニュアルシャフト31の径方向外側に凹部41、42、43、44を有している。凹部41は、ディテントプレート32の回転方向の一方側に形成されている。凹部44は、ディテントプレート32の回転方向の他方側に形成されている。凹部42、43は、凹部41と凹部44との間に形成されている。   The detent plate 32 has recesses 41, 42, 43, 44 on the outer side in the radial direction of the manual shaft 31. The recess 41 is formed on one side in the rotational direction of the detent plate 32. The recess 44 is formed on the other side in the rotational direction of the detent plate 32. The recesses 42 and 43 are formed between the recess 41 and the recess 44.

本実施形態では、凹部41は、自動変速機3のシフトレンジである「Pレンジ」に対応して形成されている。凹部42は、「Rレンジ」に対応して形成されている。凹部43は、「Nレンジ」に対応して形成されている。凹部44は、「Dレンジ」に対応して形成されている。   In the present embodiment, the recess 41 is formed corresponding to the “P range” that is the shift range of the automatic transmission 3. The recess 42 is formed corresponding to the “R range”. The recess 43 is formed corresponding to the “N range”. The recess 44 is formed corresponding to the “D range”.

ディテントスプリング34は、弾性変形可能に形成されており、先端に規制部としてのディテントローラ35を有している。ディテントスプリング34は、ディテントローラ35をディテントプレート32の中心(マニュアルシャフト31)方向に付勢している。マニュアルシャフト31を経由してディテントプレート32に回転方向の所定の力が加わると、ディテントローラ35は各凹部41〜44間に形成される凸部を乗り越えて隣接する他の凹部41〜44へ移動する。そのため、アクチュエータ10によってマニュアルシャフト31を回転させることにより、マニュアルバルブ4の軸方向の位置、および、パーキングロック機構50の状態が変化し、自動変速機3のシフトレンジが変更される。なお、ディテントローラ35が各凹部41〜44間の凸部を乗り越えるとき、ディテントスプリング34は撓むようにして弾性変形する。また、このとき、ディテントローラ35は、回転しながら各凹部41〜44および凸部を移動する。   The detent spring 34 is formed to be elastically deformable, and has a detent roller 35 as a restricting portion at the tip. The detent spring 34 biases the detent roller 35 toward the center (manual shaft 31) of the detent plate 32. When a predetermined rotational force is applied to the detent plate 32 via the manual shaft 31, the detent roller 35 moves over the convex portions formed between the concave portions 41 to 44 and moves to other adjacent concave portions 41 to 44. To do. Therefore, when the manual shaft 31 is rotated by the actuator 10, the position of the manual valve 4 in the axial direction and the state of the parking lock mechanism 50 are changed, and the shift range of the automatic transmission 3 is changed. In addition, when the detent roller 35 gets over the convex part between each recessed part 41-44, the detent spring 34 is elastically deformed so that it may bend. Moreover, at this time, the detent roller 35 moves each recessed part 41-44 and a convex part, rotating.

ディテントローラ35が凹部41、42、43、44のいずれかに嵌り込むことでディテントプレート32の回転を規制することにより、マニュアルバルブ4の軸方向の位置、および、パーキングロック機構50の状態が決定される。これにより、自動変速機3のシフトレンジが固定される。このように、ディテントプレート32およびディテントローラ35は、所謂「節度機構」として機能する。   By restricting the rotation of the detent plate 32 by fitting the detent roller 35 into any of the recesses 41, 42, 43, 44, the axial position of the manual valve 4 and the state of the parking lock mechanism 50 are determined. Is done. Thereby, the shift range of the automatic transmission 3 is fixed. Thus, the detent plate 32 and the detent roller 35 function as a so-called “moderation mechanism”.

本実施形態では、図2に示すようにシフトレンジが「Pレンジ」側から「Rレンジ」、「Nレンジ」および「Dレンジ」側へ切り替わるときにアクチュエータ10の出力軸14が回転する方向を、正回転方向と定義する。一方、シフトレンジが「Dレンジ」側から「Nレンジ」、「Rレンジ」および「Pレンジ」側へ切り替わるときにアクチュエータ10の出力軸14が回転する方向を、逆回転方向と定義する。   In the present embodiment, as shown in FIG. 2, the direction in which the output shaft 14 of the actuator 10 rotates when the shift range is switched from the “P range” side to the “R range”, “N range”, and “D range” side. , Defined as the positive rotation direction. On the other hand, the direction in which the output shaft 14 of the actuator 10 rotates when the shift range is switched from the “D range” side to the “N range”, “R range”, and “P range” side is defined as the reverse rotation direction.

図2は、シフトレンジが「Dレンジ」であるとき、すなわち、「Pレンジ」以外のレンジであるときのパーキングロック機構50の状態を示している。この状態では、パーキングギア54は、パーキングロックポール53によってロックされていない。そのため、車両の車輪の回転は妨げられない。この状態から、アクチュエータ10の出力軸14が逆回転方向に回転すると、ディテントプレート32を介してロッド51が図2に示す矢印Xの方向に押され、ロッド51の先端に設けられたテーパ部52がパーキングロックポール53を図2に示す矢印Yの方向に押し上げる。その結果、パーキングロックポール53がパーキングギア54に噛み合い、パーキングギア54がロックされる。その結果、車輪の回転が規制された状態となる。このとき、ディテントスプリング34のディテントローラ35はディテントプレート32の凹部41に嵌り込んだ状態(ディテントローラ35が凹部41の中心に位置する状態)であり、自動変速機3の実際のレンジ(以下、「実レンジ」という。)は「Pレンジ」である。   FIG. 2 shows a state of the parking lock mechanism 50 when the shift range is the “D range”, that is, when the shift range is a range other than the “P range”. In this state, the parking gear 54 is not locked by the parking lock pole 53. Therefore, rotation of the vehicle wheel is not hindered. From this state, when the output shaft 14 of the actuator 10 rotates in the reverse rotation direction, the rod 51 is pushed in the direction of the arrow X shown in FIG. 2 via the detent plate 32, and the tapered portion 52 provided at the tip of the rod 51. Pushes up the parking lock pole 53 in the direction of arrow Y shown in FIG. As a result, the parking lock pole 53 meshes with the parking gear 54, and the parking gear 54 is locked. As a result, the rotation of the wheel is restricted. At this time, the detent roller 35 of the detent spring 34 is in a state of being fitted into the concave portion 41 of the detent plate 32 (the state where the detent roller 35 is located at the center of the concave portion 41), and the actual range of the automatic transmission 3 (hereinafter, referred to as “detent roller 35”). “Actual range”) is a “P range”.

次に、ECU60について詳細に説明する。
ECU60は、演算手段としてのMPU、記憶手段としてのRAMおよびROM、その他回路、ならびに、入出力手段等を有する小型のコンピュータである。ECU60は、車両に搭載された各種センサからの信号、ならびに、ROMおよびRAMに格納されたデータ等に基づき、ROMに格納された各種プログラムに従って、各種装置および機器類を制御するよう作動する。ECU60は、車両の電源であるバッテリ2に電気的に接続されており、このバッテリ2から供給される電力によって作動する。
Next, the ECU 60 will be described in detail.
The ECU 60 is a small computer having an MPU as arithmetic means, RAM and ROM as storage means, other circuits, input / output means, and the like. The ECU 60 operates to control various devices and devices in accordance with various programs stored in the ROM based on signals from various sensors mounted on the vehicle, data stored in the ROM and RAM, and the like. The ECU 60 is electrically connected to a battery 2 that is a power source of the vehicle, and is operated by electric power supplied from the battery 2.

図1に示すように、ECU60は、リレー65、MOS61、62、63、リレー駆動回路71、MOS駆動回路72、エンコーダ検出回路73、電流検出回路74、電流制限回路75、電圧検出回路76、定電流回路77、MPU80等を備えている。
リレー65は、バッテリ2とモータ20との間に設けられ、オン作動することによりバッテリ2からモータ20への電力の供給を許容し、オフ作動することによりバッテリ2からモータ20への電力の供給を遮断する。
As shown in FIG. 1, the ECU 60 includes a relay 65, MOSs 61, 62, 63, a relay drive circuit 71, a MOS drive circuit 72, an encoder detection circuit 73, a current detection circuit 74, a current limiting circuit 75, a voltage detection circuit 76, a constant detection circuit. A current circuit 77, an MPU 80, and the like are provided.
The relay 65 is provided between the battery 2 and the motor 20. The relay 65 allows the power supply from the battery 2 to the motor 20 by turning on, and the power supply from the battery 2 to the motor 20 by turning off. Shut off.

MOS61、62、63は、例えばMOSFET等のスイッチング素子であり、モータ20の巻線22の各相に対応するよう計3つ設けられている。ここで、U相の巻線22は、導線によりMOS61のドレイン端子に接続される。また、V相の巻線22は、導線によりMOS62のドレイン端子に接続される。さらに、W相の巻線22は、導線によりMOS63のドレイン端子に接続される。   The MOSs 61, 62, and 63 are switching elements such as MOSFETs, for example, and a total of three MOS transistors 61, 62, and 63 are provided so as to correspond to each phase of the winding 22 of the motor 20. Here, the U-phase winding 22 is connected to the drain terminal of the MOS 61 by a conducting wire. The V-phase winding 22 is connected to the drain terminal of the MOS 62 by a conducting wire. Further, the W-phase winding 22 is connected to the drain terminal of the MOS 63 by a conducting wire.

MOS61、62、63の各ソース端子には導線の一端が接続されている。当該導線の他端は、互いに接続されて合流箇所P1を形成している。合流箇所P1は、抵抗を経由してバッテリ2の低電位側、すなわち、グランドに接続されている。
MPU80は、種々の演算を行う半導体チップである。
One end of a conducting wire is connected to each source terminal of the MOSs 61, 62 and 63. The other ends of the conducting wires are connected to each other to form a joining point P1. The junction P1 is connected to the low potential side of the battery 2, that is, to the ground via a resistor.
The MPU 80 is a semiconductor chip that performs various calculations.

リレー駆動回路71は、リレー65に接続している。リレー駆動回路71は、リレー65に対しオン信号を出力することによりリレー65をオン作動させる。これにより、リレー65がオン状態になる。本実施形態では、リレー65にオン信号が出力されていないときは、リレー65はオフ状態である。   The relay drive circuit 71 is connected to the relay 65. The relay drive circuit 71 turns on the relay 65 by outputting an ON signal to the relay 65. As a result, the relay 65 is turned on. In this embodiment, when the ON signal is not output to the relay 65, the relay 65 is in an OFF state.

MPU80は、リレー駆動回路71を制御することにより、リレー65のオンオフ状態を制御可能である。リレー65がオン状態のとき、バッテリ2からモータ20への電力の供給が許容されるため、モータ20は回転可能である。   The MPU 80 can control the ON / OFF state of the relay 65 by controlling the relay drive circuit 71. When the relay 65 is in the ON state, the power supply from the battery 2 to the motor 20 is allowed, so that the motor 20 can rotate.

MOS駆動回路72は、MOS61、62、63の各ゲート端子に接続している。MOS駆動回路72は、MOS61、62、63の各ゲート端子にオン信号(駆動信号)を出力することにより、MOS61、62、63をオン作動させる。これにより、MOS61、62、63がオン状態になる。本実施形態では、MOS61、62、63にオン信号が出力されていないときは、MOS61、62、63はオフ状態である。   The MOS drive circuit 72 is connected to the gate terminals of the MOSs 61, 62 and 63. The MOS drive circuit 72 turns on the MOSs 61, 62, 63 by outputting an on signal (drive signal) to each gate terminal of the MOSs 61, 62, 63. As a result, the MOSs 61, 62, and 63 are turned on. In the present embodiment, when no ON signal is output to the MOSs 61, 62, 63, the MOSs 61, 62, 63 are in an OFF state.

MPU80は、概念的な機能部として駆動信号算出部81を有している。MPU80は、駆動信号算出部81で各MOS61、62、63に対する駆動信号を算出し、算出した駆動信号がMOS駆動回路72から出力されるようMOS駆動回路72を制御することにより、MOS61、62、63のオンオフ状態を制御可能である。例えばリレー65がオン状態で、かつ、MOS61がオン状態のとき、U相の巻線22に電流が流れる。また、リレー65がオン状態で、かつ、MOS62がオン状態のとき、V相の巻線22に電流が流れる。また、リレー65がオン状態で、かつ、MOS63がオン状態のとき、W相の巻線22に電流が流れる。一方、MOS61、62、63がオフ状態のときは、対応する相の巻線22に電流は流れない。ここで、MOS61、62、63は、特許請求の範囲における「スイッチング手段」に対応している。   The MPU 80 has a drive signal calculation unit 81 as a conceptual function unit. The MPU 80 calculates a drive signal for each of the MOSs 61, 62, 63 by the drive signal calculation unit 81, and controls the MOS drive circuit 72 so that the calculated drive signal is output from the MOS drive circuit 72, whereby the MOS 61, 62, The on / off state 63 can be controlled. For example, when the relay 65 is on and the MOS 61 is on, a current flows through the U-phase winding 22. When the relay 65 is on and the MOS 62 is on, a current flows through the V-phase winding 22. Further, when the relay 65 is on and the MOS 63 is on, a current flows through the W-phase winding 22. On the other hand, when the MOSs 61, 62, and 63 are off, no current flows through the windings 22 of the corresponding phases. Here, the MOSs 61, 62, 63 correspond to “switching means” in the claims.

MPU80は、MOS駆動回路72を経由してMOS61、62、63のオンオフ作動を制御することにより、モータ20の駆動を制御する。ここで、MPU80(駆動信号算出部81)およびMOS駆動回路72は、特許請求の範囲における「制御部」に対応している。   The MPU 80 controls the driving of the motor 20 by controlling the on / off operation of the MOSs 61, 62 and 63 via the MOS driving circuit 72. Here, the MPU 80 (drive signal calculation unit 81) and the MOS drive circuit 72 correspond to a “control unit” in the claims.

エンコーダ検出回路73は、エンコーダ12に接続するよう設けられている。エンコーダ12は、モータ20(ロータ23)の回転角の変化分に応じてA相、B相のパルス信号をエンコーダ検出回路73に対し出力する。ECU60は、エンコーダ検出回路73が検出したエンコーダ12のパルス信号を検出可能である。   The encoder detection circuit 73 is provided so as to be connected to the encoder 12. The encoder 12 outputs A-phase and B-phase pulse signals to the encoder detection circuit 73 in accordance with the change in the rotation angle of the motor 20 (rotor 23). The ECU 60 can detect the pulse signal of the encoder 12 detected by the encoder detection circuit 73.

上述のように、本実施形態でのエンコーダ12は、モータ20の回転に応じてパルス信号を出力するインクリメンタル型のエンコーダである。ECU60は、エンコーダ12から出力されたパルス信号に応じてカウント用の値(パルス信号カウント値)を減少(カウントダウン)または増大(カウントアップ)させる。これにより、ECU60は、モータ20(ロータ23)の回転状態を検出可能である。ECU60は、エンコーダ12によってモータ20の回転状態を検出することにより、モータ20を脱調させることなく高速回転させることができる。なお、車両電源のオン毎(シフトバイワイヤシステム1の起動毎)に、モータ20の励磁通電相学習(エンコーダ12から出力されたパルス信号に応じたカウント値と通電相の同期)のための初期駆動制御が行われる。この初期駆動制御により、アクチュエータ10の回転を適切に制御できるようになる。   As described above, the encoder 12 in this embodiment is an incremental encoder that outputs a pulse signal in accordance with the rotation of the motor 20. The ECU 60 decreases (counts down) or increases (counts up) the count value (pulse signal count value) according to the pulse signal output from the encoder 12. Thereby, ECU60 can detect the rotation state of the motor 20 (rotor 23). The ECU 60 can rotate the motor 20 at high speed without stepping out by detecting the rotation state of the motor 20 with the encoder 12. In addition, every time the vehicle power supply is turned on (every time the shift-by-wire system 1 is started), an initial drive for energized energized phase learning of the motor 20 (count value and energized phase synchronization according to the pulse signal output from the encoder 12). Control is performed. By this initial drive control, the rotation of the actuator 10 can be appropriately controlled.

電流検出回路74は、巻線22およびMOS61、62、63を流れる電流が合流する箇所である合流箇所P1に接続するよう設けられている。これにより、電流検出回路74は、合流箇所P1を流れる電流の値である電流値を検出可能である。MPU80は、電流検出回路74を経由して、合流箇所P1を流れる電流の電流値を検出可能である。   The current detection circuit 74 is provided so as to be connected to a joining point P1, which is a place where currents flowing through the winding 22 and the MOSs 61, 62, 63 join. Thereby, the current detection circuit 74 can detect a current value that is a value of the current flowing through the junction P1. The MPU 80 can detect the current value of the current flowing through the junction P1 via the current detection circuit 74.

電流制限回路75は、電流検出回路74およびMOS駆動回路72に接続するよう設けられている。電流制限回路75は、電流検出回路74により検出される電流値の平均値が所定の範囲内となるよう、MOS駆動回路72を制御することにより、巻線22およびMOS61、62、63を流れる電流を制限することができる。   The current limiting circuit 75 is provided so as to be connected to the current detection circuit 74 and the MOS drive circuit 72. The current limiting circuit 75 controls the MOS drive circuit 72 so that the average value of the current values detected by the current detection circuit 74 falls within a predetermined range, whereby the current flowing through the winding 22 and the MOSs 61, 62, and 63. Can be limited.

電圧検出回路76は、各MOS61、62、63のドレイン端子に接続するよう設けられている。これにより、電圧検出回路76は、各MOS61、62、63のドレイン端子に印加されている電圧の値である電圧値(Vi)を検出可能である。ここで、Viのiは、U、V、Wであり、VUはMOS61(U相)に印加されている電圧値、VVはMOS62(V相)に印加されている電圧値、VWはMOS63(W相)に印加されている電圧値である。MPU80は、電圧検出回路76を経由して、各MOS61、62、63のドレイン端子に印加されている電圧の電圧値を検出可能である。
定電流回路77は、合流箇所P1に接続するよう設けられている。定電流回路77は、合流箇所P1に、所定の電流値である定電流値(Iconst)に相当する電流を流すことが可能である。
The voltage detection circuit 76 is provided so as to be connected to the drain terminals of the MOSs 61, 62 and 63. Thereby, the voltage detection circuit 76 can detect the voltage value (V i ) that is the value of the voltage applied to the drain terminals of the MOSs 61, 62, 63. Here, i of V i is U, V and W, V U is a voltage value applied to the MOS 61 (U phase), V V is a voltage value applied to the MOS 62 (V phase), V W is a voltage value applied to the MOS 63 (W phase). The MPU 80 can detect the voltage value of the voltage applied to the drain terminals of the MOSs 61, 62, 63 via the voltage detection circuit 76.
The constant current circuit 77 is provided so as to be connected to the junction point P1. The constant current circuit 77 can flow a current corresponding to a constant current value (I const ), which is a predetermined current value, to the junction P1.

ECU60は、シフト選択手段としてのレンジセレクタ5のセレクタセンサ6に電気的に接続している(図1参照)。
セレクタセンサ6は、車両の運転者がレンジセレクタ5を操作することにより指令したレンジ(以下、「指令レンジ」という。)を検出する。セレクタセンサ6は、検出した信号をECU60のMPU80へ出力する。
The ECU 60 is electrically connected to the selector sensor 6 of the range selector 5 as a shift selection means (see FIG. 1).
The selector sensor 6 detects a range commanded by the vehicle driver by operating the range selector 5 (hereinafter referred to as “command range”). The selector sensor 6 outputs the detected signal to the MPU 80 of the ECU 60.

ECU60のMPU80は、セレクタセンサ6から出力された指令レンジに関する信号に基づき、目標レンジを決定する。より具体的には、本実施形態では、セレクタセンサ6の信号、ブレーキの信号、および、車速センサの信号等に基づき目標レンジを決定する。ECU60は、自動変速機3のシフトレンジが、決定された目標レンジとなるようアクチュエータ10の回転を制御する。すなわち、モータ20を目標レンジに対応する目標回転位置に回転させることにより、シフトレンジを目標レンジに切り替える。これにより、自動変速機3の実レンジが、運転者の意図するレンジに切り替わる。   The MPU 80 of the ECU 60 determines the target range based on the signal related to the command range output from the selector sensor 6. More specifically, in the present embodiment, the target range is determined based on the signal from the selector sensor 6, the brake signal, the vehicle speed sensor, and the like. The ECU 60 controls the rotation of the actuator 10 so that the shift range of the automatic transmission 3 becomes the determined target range. That is, the shift range is switched to the target range by rotating the motor 20 to the target rotation position corresponding to the target range. As a result, the actual range of the automatic transmission 3 is switched to the range intended by the driver.

本実施形態のエンコーダ12は、インクリメンタル型のエンコーダのため、モータ20(ロータ23)の相対的な回転位置しか検出することができない。そのため、モータ20を回転させることでシフトレンジを所望のレンジに切り替えるにあたっては、モータ20の絶対位置に対応する基準位置を学習し、ディテントプレート32の可動範囲(回転可能範囲)の限界位置と基準位置とを一致させておく必要がある。モータ20の基準位置を学習した後は、学習した基準位置と所定回転量(制御定数)とに基づき各シフトレンジに対応するモータ20の回転位置を演算により求め、当該演算により求めた回転位置となるようモータ20を回転させることで、実レンジを所望のシフトレンジに切り替えることができる。本実施形態では、ECU60のMPU80は、ディテントプレート32の可動範囲の端部(PレンジまたはDレンジ)に対応するモータ20の基準位置を学習する。   Since the encoder 12 of this embodiment is an incremental encoder, it can only detect the relative rotational position of the motor 20 (rotor 23). Therefore, when the shift range is switched to a desired range by rotating the motor 20, the reference position corresponding to the absolute position of the motor 20 is learned, and the limit position and reference of the movable range (rotatable range) of the detent plate 32 are learned. It is necessary to match the position. After learning the reference position of the motor 20, the rotation position of the motor 20 corresponding to each shift range is obtained by calculation based on the learned reference position and a predetermined rotation amount (control constant), and the rotation position obtained by the calculation The actual range can be switched to a desired shift range by rotating the motor 20 so as to be. In the present embodiment, the MPU 80 of the ECU 60 learns the reference position of the motor 20 corresponding to the end portion (P range or D range) of the movable range of the detent plate 32.

また、ECU60のMPU80は、基準位置を学習した後においては、当該基準位置と、所定回転量と、エンコーダ12からのパルス信号カウント値(モータ20の回転位置)とに基づく演算により、そのときの実レンジを間接的に検出することができる。本実施形態では、ECU60は、検出した実レンジの情報を、例えば、車両の運転席前方に設けられた表示装置7に表示する。これにより、運転者は、その時点の実レンジを確認することができる。本実施形態では、ディテントプレート32の各シフトレンジ(P、R、N、D)に対応する凹部41、42、43、44のそれぞれの範囲内にディテントローラ35の中心が位置するときのモータ20の回転位置に基づき、対応する実レンジを検出可能である。   In addition, after learning the reference position, the MPU 80 of the ECU 60 performs the calculation based on the reference position, the predetermined rotation amount, and the pulse signal count value from the encoder 12 (rotation position of the motor 20). The actual range can be detected indirectly. In this embodiment, ECU60 displays the information of the detected real range on the display apparatus 7 provided in the driver's seat front of the vehicle, for example. As a result, the driver can check the actual range at that time. In the present embodiment, the motor 20 when the center of the detent roller 35 is located in each of the recesses 41, 42, 43, 44 corresponding to the shift ranges (P, R, N, D) of the detent plate 32. The corresponding actual range can be detected on the basis of the rotation position.

ところで、MPU80が基準位置学習制御を行うとき、モータ20の各相に流れる電流を電圧に応じたデューティー比で制御する場合、電圧が同じであっても温度変化や経時変化等による巻線抵抗の変化によってモータ20の巻線22の各相に流れる電流の値が変化してモータ20のトルクが変化し、基準位置の学習精度が低下するおそれがある。   By the way, when the MPU 80 performs reference position learning control, when the current flowing in each phase of the motor 20 is controlled with a duty ratio corresponding to the voltage, even if the voltage is the same, even if the voltage is the same, the winding resistance due to a temperature change, a change with time, etc. Due to the change, the value of the current flowing in each phase of the winding 22 of the motor 20 changes, and the torque of the motor 20 changes, which may reduce the learning accuracy of the reference position.

そこで、本実施形態では、基準位置学習制御を行うとき、電流検出回路74および電流制限回路75により、合流箇所P1を流れる電流の電流値の平均値が所定の範囲内となるよう、巻線22およびMOS61、62、63を流れる電流を制限する。これにより、温度変化や経時変化等による各相の電流値の変化が抑制され、条件にかかわらず基準位置の学習精度が向上する。   Therefore, in the present embodiment, when the reference position learning control is performed, the winding 22 is controlled so that the average value of the current values flowing through the junction P1 is within a predetermined range by the current detection circuit 74 and the current limiting circuit 75. The current flowing through the MOSs 61, 62 and 63 is limited. As a result, changes in the current value of each phase due to temperature changes, changes over time, and the like are suppressed, and the learning accuracy of the reference position is improved regardless of the conditions.

本実施形態では、MPU80は、電流制限回路75により巻線22およびMOS61、62、63を流れる電流を制限しつつ、ディテントプレート32が可動範囲の限界位置(PレンジまたはDレンジに対応する位置)で停止するまでモータ20を回転させる。このとき、MPU80は、3相の巻線22のうち2相に通電しつつ、通電相を順次切り替える「2相通電方式」によりモータ20(ロータ23)を回転させる。MPU80は、モータ20の回転が停止し所定時間が経過したときのエンコーダ12からのパルス信号のカウント値に基づき、基準位置を学習する。   In the present embodiment, the MPU 80 limits the current flowing through the winding 22 and the MOSs 61, 62, 63 by the current limiting circuit 75, while the detent plate 32 is at the limit position of the movable range (position corresponding to the P range or D range). The motor 20 is rotated until it stops. At this time, the MPU 80 rotates the motor 20 (rotor 23) by the “two-phase energization method” that sequentially switches the energized phases while energizing the two phases of the three-phase windings 22. The MPU 80 learns the reference position based on the count value of the pulse signal from the encoder 12 when the rotation of the motor 20 is stopped and a predetermined time has elapsed.

このように、本実施形態では、MPU80は、電流制限回路75により巻線22およびMOS61、62、63を流れる電流を制限しつつ、ディテントプレート32が可動範囲の限界位置で停止するまでモータ20を回転させ、モータ20の基準位置を学習する。ここで、MPU80は、特許請求の範囲における「基準位置学習手段」に対応している。また、MPU80による基準位置の学習に関する制御を「基準位置学習制御」という。また、基準位置学習制御を行うとき、ディテントローラ35がPレンジまたはDレンジに対応する凹部41または凹部44の壁部に突き当たるようモータ20を回転させることから、基準位置学習制御を「壁当て学習制御」または「突き当て学習制御」等ということがある。   As described above, in this embodiment, the MPU 80 limits the current flowing through the winding 22 and the MOSs 61, 62, 63 by the current limiting circuit 75, and stops the motor 20 until the detent plate 32 stops at the limit position of the movable range. Rotate to learn the reference position of the motor 20. Here, the MPU 80 corresponds to “reference position learning means” in claims. Control related to learning of the reference position by the MPU 80 is referred to as “reference position learning control”. Further, when the reference position learning control is performed, the motor 20 is rotated so that the detent roller 35 hits the wall portion of the concave portion 41 or the concave portion 44 corresponding to the P range or the D range. It may be referred to as “control” or “hit learning control”.

MPU80は、通常、エンコーダ12からのパルス信号カウント値に基づきステータ21に対するロータ23の回転位置を検出しつつモータ20の巻線22の通電相を順次切り替えることでロータ23を目標回転位置まで回転駆動する。すなわち、MPU80は、ロータ23(モータ20)の回転状態をフィードバックしながらモータ20を回転駆動することでシフトレンジを目標レンジに切り替える。以下、MPU80による上記制御を「通常駆動制御」という。   The MPU 80 normally drives the rotor 23 to the target rotational position by sequentially switching the energized phase of the winding 22 of the motor 20 while detecting the rotational position of the rotor 23 relative to the stator 21 based on the pulse signal count value from the encoder 12. To do. That is, the MPU 80 switches the shift range to the target range by rotating the motor 20 while feeding back the rotation state of the rotor 23 (motor 20). Hereinafter, the control by the MPU 80 is referred to as “normal drive control”.

次に、MPU80によるモータ20の制御について、図3に基づき説明する。
図3に示す一連の処理S100は、イグニッションスイッチがオン、すなわち、車両電源がオンされ、シフトバイワイヤシステム1が起動すると開始される。
Next, control of the motor 20 by the MPU 80 will be described with reference to FIG.
A series of processing S100 shown in FIG. 3 is started when the ignition switch is turned on, that is, the vehicle power supply is turned on and the shift-by-wire system 1 is activated.

S101では、MPU80は、初期異常診断を行う。具体的には、MPU80は、例えばリレー65等のシフトバイワイヤシステム1の各部に異常が発生していないか否かを診断する。S101における、より具体的な異常診断の仕方については、後述する。ここで、異常を検出した場合、例えば表示装置7に警告灯を表示する等して、シフトバイワイヤシステム1に異常が生じていることを運転者に通知する。例えばS101で異常が検出されなかった場合、処理はS102へ移行する。
S102では、MPU80は、上述の初期駆動制御を行う。これにより、アクチュエータ10(モータ20)の回転を適切に制御できるようになる。S102の後、処理はS103へ移行する。
In S101, the MPU 80 performs initial abnormality diagnosis. Specifically, the MPU 80 diagnoses whether or not an abnormality has occurred in each part of the shift-by-wire system 1 such as the relay 65, for example. A more specific method of abnormality diagnosis in S101 will be described later. Here, when an abnormality is detected, for example, a warning lamp is displayed on the display device 7 to notify the driver that an abnormality has occurred in the shift-by-wire system 1. For example, if no abnormality is detected in S101, the process proceeds to S102.
In S102, the MPU 80 performs the above-described initial drive control. Thereby, rotation of the actuator 10 (motor 20) can be appropriately controlled. After S102, the process proceeds to S103.

S103では、MPU80は、上述の基準位置学習制御を行う。これにより、ディテントプレート32の可動範囲の限界位置と基準位置とが一致し、以後、モータ20の通常駆動制御が可能な状態となる。なお、MPU80は、S103で基準位置の学習を行うとき、電流制限回路75により巻線22およびMOS61、62、63を流れる電流を制限しつつモータ20を回転させる。S103の後、処理はS104へ移行する。
S104では、MPU80は、上述の通常駆動制御を開始する。これにより、自動変速機3のシフトレンジが、運転者の意図するシフトレンジに変更される。
イグニッションスイッチがオフされると、処理は一連の処理S100を抜ける。
In S103, the MPU 80 performs the reference position learning control described above. As a result, the limit position of the movable range of the detent plate 32 coincides with the reference position, and thereafter, the normal drive control of the motor 20 is possible. The MPU 80 rotates the motor 20 while limiting the current flowing through the winding 22 and the MOSs 61, 62, 63 by the current limiting circuit 75 when learning the reference position in S103. After S103, the process proceeds to S104.
In S104, the MPU 80 starts the normal drive control described above. As a result, the shift range of the automatic transmission 3 is changed to the shift range intended by the driver.
When the ignition switch is turned off, the process exits the series of processes S100.

MPU80は、概念的な機能部として異常検出部82を有している。次に、MPU80の異常検出部82による電流検出回路74の異常検出に関する処理について、図4に基づき説明する。
異常検出部82による電流検出回路74の異常検出に関する処理は、上述のS101の初期異常診断時に行われる。すなわち、イグニッションスイッチがオン、すなわち、車両電源がオンされ、シフトバイワイヤシステム1が起動すると開始される。
The MPU 80 has an abnormality detection unit 82 as a conceptual function unit. Next, processing related to abnormality detection of the current detection circuit 74 by the abnormality detection unit 82 of the MPU 80 will be described with reference to FIG.
The processing related to the abnormality detection of the current detection circuit 74 by the abnormality detection unit 82 is performed at the time of initial abnormality diagnosis in S101 described above. That is, it is started when the ignition switch is turned on, that is, when the vehicle power supply is turned on and the shift-by-wire system 1 is activated.

MPU80(異常検出部82)は、リレー65をオン作動させ、かつ、全てのMOS(61、62、63)をオフ作動させ、かつ、定電流回路77により合流箇所P1に定電流値(Iconst)に相当する電流を流したとき、電圧検出回路76により検出した電圧値と電流検出回路74により検出した電流値とに基づき、電流検出回路74の異常を検出する。 The MPU 80 (abnormality detection unit 82) turns on the relay 65, turns off all the MOSs (61, 62, 63), and the constant current circuit 77 causes the constant current value (I const ) Is detected, an abnormality of the current detection circuit 74 is detected based on the voltage value detected by the voltage detection circuit 76 and the current value detected by the current detection circuit 74.

具体的には、図4に示すように、異常検出部82は、電圧検出回路76により検出した電圧値が所定値以上(Hi)で、かつ、電流検出回路74により検出した電流値が定電流値(Iconst)と略同じとき、「電流検出回路74は正常である」と判断する。一方、異常検出部82は、電圧検出回路76により検出した電圧値が所定値以上(Hi)で、かつ、電流検出回路74により検出した電流値が定電流値(Iconst)に対し所定値以上異なるとき、「出力される値が正側または負側にオフセットされるオフセット故障が電流検出回路74に生じている」と判断する。なお、このとき、異常検出部82は、電流検出回路74により検出した電流値が定電流値(Iconst)に対し所定値以上大きい場合、「出力される値が正側にオフセットされるオフセット故障が電流検出回路74に生じている」と判断する。一方、異常検出部82は、電流検出回路74により検出した電流値が定電流値(Iconst)に対し所定値以上小さい場合、「出力される値が負側にオフセットされるオフセット故障が電流検出回路74に生じている」と判断する。 Specifically, as shown in FIG. 4, the abnormality detection unit 82 has a voltage value detected by the voltage detection circuit 76 equal to or higher than a predetermined value (Hi), and the current value detected by the current detection circuit 74 is a constant current. When substantially the same as the value (I const ), it is determined that “the current detection circuit 74 is normal”. On the other hand, the abnormality detection unit 82 has a voltage value detected by the voltage detection circuit 76 equal to or higher than a predetermined value (Hi), and a current value detected by the current detection circuit 74 is equal to or higher than a predetermined value with respect to the constant current value (I const ). When they are different from each other, it is determined that “an offset fault in which the output value is offset to the positive side or the negative side occurs in the current detection circuit 74”. At this time, when the current value detected by the current detection circuit 74 is larger than the constant current value (I const ) by a predetermined value or more, the abnormality detection unit 82 “offset failure in which the output value is offset to the positive side”. Is generated in the current detection circuit 74 ”. On the other hand, when the current value detected by the current detection circuit 74 is smaller than the constant current value (I const ) by a predetermined value or more, the abnormality detection unit 82 indicates that an “offset fault in which the output value is offset to the negative side is a current detection. It is determined that it has occurred in the circuit 74.

また、異常検出部82は、電圧検出回路76により検出した電圧値が所定値以下(Lo)で、かつ、電流検出回路74により検出した電流値が定電流値(Iconst)と略同じとき、「バッテリ2からMOS61、62、63までの通電経路に断線故障が生じている」、または、「常時オフ状態となるオフ故障がリレー65に生じている」と判断する。 Further, the abnormality detection unit 82 is configured such that when the voltage value detected by the voltage detection circuit 76 is equal to or less than a predetermined value (Lo) and the current value detected by the current detection circuit 74 is substantially the same as the constant current value (I const ), It is determined that “a disconnection failure has occurred in the energization path from the battery 2 to the MOSs 61, 62, and 63” or “an off failure that is always in an off state has occurred in the relay 65”.

また、異常検出部82は、電圧検出回路76により検出した電圧値が所定値以下(Lo)で、かつ、電流検出回路74により検出した電流値が定電流値(Iconst)に対し所定値以上異なるとき、「常時オン状態となるオン故障がMOS61、62、63のいずれかに生じている」と判断する。なお、このようにMOS61、62、63のいずれかにオン故障が生じている場合、電流検出回路74により検出する電流値は、定電流値(Iconst)に対し所定値以上大きくなる。
このように、異常検出部82は、1回の診断で、電流検出回路74の異常に加え、通電経路の断線故障、リレー65の異常、および、MOS61、62、63の異常についても検出可能である。
Further, the abnormality detection unit 82 has a voltage value detected by the voltage detection circuit 76 equal to or less than a predetermined value (Lo), and a current value detected by the current detection circuit 74 is equal to or greater than a predetermined value with respect to the constant current value (I const ). When they are different from each other, it is determined that “on-failure that is always on is occurring in any of the MOSs 61, 62, and 63”. When an ON failure has occurred in any of the MOSs 61, 62, and 63 as described above, the current value detected by the current detection circuit 74 is greater than a predetermined value with respect to the constant current value (I const ).
As described above, the abnormality detection unit 82 can detect not only the abnormality of the current detection circuit 74 but also the disconnection failure of the energization path, the abnormality of the relay 65, and the abnormality of the MOSs 61, 62, 63 in one diagnosis. is there.

MPU80(異常検出部82)は、上述のS101の初期異常診断において「電流検出回路74は正常である」と判断した場合、S102の初期駆動制御を開始する。
一方、MPU80(異常検出部82)は、上述のS101の初期異常診断において「出力される値が正側または負側にオフセットされるオフセット故障が電流検出回路74に生じている」、「バッテリ2からMOS61、62、63までの通電経路に断線故障が生じている」、「常時オフ状態となるオフ故障がリレー65に生じている」、または、「常時オン状態となるオン故障がMOS61、62、63のいずれかに生じている」と判断した場合、例えば表示装置7に警告灯を表示する等して、シフトバイワイヤシステム1に異常が生じていることを運転者に通知する。この場合、本実施形態では、MPU80は、後に続くS102の初期駆動制御、S103の基準位置学習制御、および、S104の通常駆動制御を行わない。なお、電流検出回路74に異常が生じている場合、S103において基準位置学習制御を正しく行うことができないおそれがある。
このように、S101において、MPU80の異常検出部82は、特許請求の範囲における「異常検出手段」として機能する。
When the MPU 80 (abnormality detection unit 82) determines that “the current detection circuit 74 is normal” in the initial abnormality diagnosis of S101 described above, the MPU 80 starts the initial drive control of S102.
On the other hand, the MPU 80 (abnormality detection unit 82) determines that an offset failure in which the output value is offset to the positive side or the negative side has occurred in the current detection circuit 74 in the above-described initial abnormality diagnosis of S101, “battery 2 Disconnection failure occurs in the energization path from to the MOSs 61, 62, 63 ”,“ an off failure that is always off ”occurs in the relay 65, or“ on failure that is always on ”occurs in the MOSs 61, 62. , 63, for example, a warning light is displayed on the display device 7 to notify the driver that an abnormality has occurred in the shift-by-wire system 1. In this case, in this embodiment, the MPU 80 does not perform subsequent initial drive control in S102, reference position learning control in S103, and normal drive control in S104. If an abnormality has occurred in the current detection circuit 74, the reference position learning control may not be correctly performed in S103.
Thus, in S101, the abnormality detection unit 82 of the MPU 80 functions as “abnormality detection means” in the claims.

なお、本実施形態では、例えばS104の通常駆動制御において、リレー65をオン作動させ(通常駆動制御時、リレー65はオン作動されている)、かつ、全てのMOS(61、62、63)をオフ作動させたタイミングで、定電流回路77により合流箇所P1に定電流値(Iconst)に相当する電流を流し、電圧検出回路76により電圧値を検出し、電流検出回路74により電流値を検出すれば、検出した電圧値と電流値とに基づき、上述のように、通電経路の断線故障、リレー65の異常、および、MOS61、62、63の異常を検出可能である。 In this embodiment, for example, in the normal drive control of S104, the relay 65 is turned on (the relay 65 is turned on during normal drive control), and all the MOSs (61, 62, 63) are turned on. At a timing when the switch is turned off, a current corresponding to a constant current value (I const ) is caused to flow through the junction P1 by the constant current circuit 77, a voltage value is detected by the voltage detection circuit 76, and a current value is detected by the current detection circuit 74. Then, based on the detected voltage value and current value, it is possible to detect the disconnection failure of the energization path, the abnormality of the relay 65, and the abnormality of the MOSs 61, 62, and 63 as described above.

また、例えばS104の通常駆動制御において、リレー65をオン作動させ(通常駆動制御時、リレー65はオン作動されている)、かつ、全てのMOS(61、62、63)をオフ作動させたタイミングで、定電流回路77により合流箇所P1に定電流値(Iconst)に相当する電流を流すことなく、電圧検出回路76により電圧値を検出し、電流検出回路74により電流値を検出した場合でも、検出した電圧値と電流値とに基づき、通電経路の断線故障、リレー65の異常、および、MOS61、62、63の異常を検出可能である。具体的には、異常検出部82は、電圧検出回路76により検出した電圧値が所定値以下(Lo)で、かつ、電流検出回路74により検出した電流値が所定値以下(Lo)のとき、「バッテリ2からMOS61、62、63までの通電経路に断線故障が生じている」、または、「常時オフ状態となるオフ故障がリレー65に生じている」と判断する。また、異常検出部82は、電圧検出回路76により検出した電圧値が所定値以下(Lo)で、かつ、電流検出回路74により検出した電流値が所定値以上(Hi)のとき、「常時オン状態となるオン故障がMOS61、62、63のいずれかに生じている」と判断する。このように、異常検出部82は、定電流回路77により合流箇所P1に定電流値(Iconst)に相当する電流を流さなくても、通電経路の断線故障、リレー65の異常、および、MOS61、62、63の異常を検出可能である。この場合、合流箇所P1に定電流値(Iconst)に相当する電流を流さないため、異常検出のために消費する電力を低減することができる。 Further, for example, in the normal drive control of S104, the relay 65 is turned on (the relay 65 is turned on during the normal drive control), and all the MOSs (61, 62, 63) are turned off. Thus, even when the voltage value is detected by the voltage detection circuit 76 and the current value is detected by the current detection circuit 74 without flowing the current corresponding to the constant current value (I const ) to the junction P1 by the constant current circuit 77, Based on the detected voltage value and current value, it is possible to detect a disconnection failure in the energization path, an abnormality in the relay 65, and an abnormality in the MOSs 61, 62, and 63. Specifically, the abnormality detection unit 82 is configured such that when the voltage value detected by the voltage detection circuit 76 is equal to or less than a predetermined value (Lo) and the current value detected by the current detection circuit 74 is equal to or less than a predetermined value (Lo), It is determined that “a disconnection failure has occurred in the energization path from the battery 2 to the MOSs 61, 62, and 63” or “an off failure that is always in an off state has occurred in the relay 65”. In addition, the abnormality detection unit 82 determines that “always on” when the voltage value detected by the voltage detection circuit 76 is equal to or less than a predetermined value (Lo) and the current value detected by the current detection circuit 74 is equal to or greater than a predetermined value (Hi). It is determined that an on failure that results in a state has occurred in one of the MOSs 61, 62, and 63. As described above, the abnormality detection unit 82 does not cause the constant current circuit 77 to pass a current corresponding to the constant current value (I const ) to the joining point P1. , 62, 63 can be detected. In this case, since no current corresponding to the constant current value (I const ) flows through the junction P1, the power consumed for detecting an abnormality can be reduced.

以上説明したように、(1)本実施形態は、複数の相の巻線22を有しバッテリ2から供給される電力により回転することでディテントプレート32を回転駆動するモータ20を制御するECU60であって、リレー65とMOS61、62、63とMPU80と電流検出回路74と電流制限回路75と基準位置学習手段と電圧検出回路76と定電流回路77と異常検出手段とを備えている。   As described above, (1) the present embodiment is an ECU 60 that controls the motor 20 that rotates the detent plate 32 by rotating with the electric power supplied from the battery 2 and having a plurality of phase windings 22. A relay 65, MOSs 61, 62, 63, an MPU 80, a current detection circuit 74, a current limiting circuit 75, a reference position learning unit, a voltage detection circuit 76, a constant current circuit 77, and an abnormality detection unit are provided.

リレー65は、バッテリ2とモータ20との間に設けられ、オン作動することによりバッテリ2からモータ20への電力の供給を許容し、オフ作動することによりバッテリ2からモータ20への電力の供給を遮断する。MOS61、62、63は、巻線22の各相に対応するよう設けられ、オン作動することにより対応する巻線22への通電を許容し、オフ作動することにより対応する巻線22への通電を遮断する。MPU80は、リレー65およびMOS61、62、63のオンオフ作動を制御することにより、モータ20の駆動を制御する。電流検出回路74は、巻線22およびMOS61、62、63を流れる電流が合流する箇所である合流箇所P1に接続するよう設けられ、合流箇所P1を流れる電流の値である電流値を検出する。   The relay 65 is provided between the battery 2 and the motor 20. The relay 65 allows the power supply from the battery 2 to the motor 20 by turning on, and the power supply from the battery 2 to the motor 20 by turning off. Shut off. The MOSs 61, 62, and 63 are provided to correspond to the respective phases of the winding 22, permitting energization of the corresponding winding 22 by turning on, and energizing the corresponding winding 22 by turning off. Shut off. The MPU 80 controls the driving of the motor 20 by controlling the on / off operation of the relay 65 and the MOSs 61, 62, 63. The current detection circuit 74 is provided so as to be connected to a joining point P1, which is a place where currents flowing through the winding 22 and the MOSs 61, 62, 63 join, and detects a current value that is a value of a current flowing through the joining point P1.

電流制限回路75は、電流検出回路74により検出される電流値の平均値が所定の範囲内となるよう、巻線22およびMOS61、62、63を流れる電流を制限する。MPU80は、基準位置学習手段として機能し、電流制限回路75により巻線22およびMOS61、62、63を流れる電流を制限しつつ、ディテントプレート32が可動範囲の限界位置で停止するまでモータ20を回転させ、モータ20の基準位置を学習する。電圧検出回路76は、MOS61、62、63に印加されている電圧の値である電圧値を検出する。定電流回路77は、合流箇所P1に、所定の電流値である定電流値(Iconst)に相当する電流を流すことが可能である。MPU80の異常検出部82は、異常検出手段として機能し、リレー65をオン作動させ、かつ、全てのMOS(61、62、63)をオフ作動させ、かつ、定電流回路77により合流箇所P1に定電流値(Iconst)に相当する電流を流したとき、電圧検出回路76により検出した電圧値と電流検出回路74により検出した電流値とに基づき、電流検出回路74の異常を検出可能である。 The current limiting circuit 75 limits the current flowing through the winding 22 and the MOSs 61, 62, and 63 so that the average value of the current values detected by the current detection circuit 74 is within a predetermined range. The MPU 80 functions as a reference position learning means, and the current limiting circuit 75 limits the current flowing through the winding 22 and the MOSs 61, 62, 63, and rotates the motor 20 until the detent plate 32 stops at the limit position of the movable range. The reference position of the motor 20 is learned. The voltage detection circuit 76 detects a voltage value that is a value of a voltage applied to the MOSs 61, 62, and 63. The constant current circuit 77 can flow a current corresponding to a constant current value (I const ), which is a predetermined current value, to the junction P1. The abnormality detection unit 82 of the MPU 80 functions as an abnormality detection means, turns on the relay 65, turns off all the MOSs (61, 62, 63), and moves to the junction P1 by the constant current circuit 77. When a current corresponding to a constant current value (I const ) is passed, an abnormality in the current detection circuit 74 can be detected based on the voltage value detected by the voltage detection circuit 76 and the current value detected by the current detection circuit 74. .

本実施形態では、モータ20の基準位置を学習するとき、電流検出回路74により検出する電流値に基づき、電流制限回路75により巻線22およびMOS61、62、63を流れる電流を制限しつつ、モータ20を回転させるため、温度変化や経時変化等による各相の電流値の変化、および、モータ20のトルクの変化を抑制することができる。これにより、温度変化や経時変化等、条件の変化にかかわらず基準位置の学習精度を向上させることができる。   In the present embodiment, when learning the reference position of the motor 20, the current limiting circuit 75 limits the current flowing through the winding 22 and the MOSs 61, 62, 63 based on the current value detected by the current detection circuit 74, and the motor 20 Since the motor 20 is rotated, a change in the current value of each phase and a change in the torque of the motor 20 due to a temperature change or a change with time can be suppressed. Thereby, the learning accuracy of the reference position can be improved regardless of changes in conditions such as temperature changes and changes with time.

また、本実施形態では、異常検出部82によって、電圧検出回路76により検出した電圧値と電流検出回路74により検出した電流値とに基づき、電流検出回路74の異常を検出可能である。これにより、電流検出回路74に異常が発生している状態で基準位置学習が行われるのを回避することができる。したがって、基準位置の学習が正しく行われなかったことによりモータ20が誤作動したり、制御不能になったりするのを防ぐことができる。   In the present embodiment, the abnormality detection unit 82 can detect an abnormality in the current detection circuit 74 based on the voltage value detected by the voltage detection circuit 76 and the current value detected by the current detection circuit 74. Thereby, it is possible to avoid performing the reference position learning in a state where an abnormality has occurred in the current detection circuit 74. Therefore, it is possible to prevent the motor 20 from malfunctioning or becoming uncontrollable because the reference position has not been correctly learned.

また、(2)本実施形態では、異常検出部82は、電圧検出回路76により検出した電圧値が所定値以上で、かつ、電流検出回路74により検出した電流値が定電流値(Iconst)と略同じとき、「電流検出回路74は正常である」と判断し、電圧検出回路76により検出した電圧値が所定値以上で、かつ、電流検出回路74により検出した電流値が定電流値(Iconst)に対し所定値以上異なるとき、「出力される値が正側または負側にオフセットされるオフセット故障が電流検出回路74に生じている」と判断する。このように、比較的簡単な処理により電流検出回路74の異常検出を行うため、処理に要する時間を短縮することができるとともに、異常検出部82の処理負荷を抑制することができる。 (2) In the present embodiment, the abnormality detection unit 82 has a voltage value detected by the voltage detection circuit 76 equal to or greater than a predetermined value, and the current value detected by the current detection circuit 74 is a constant current value (I const ). Is substantially the same, the voltage value detected by the voltage detection circuit 76 is equal to or greater than a predetermined value, and the current value detected by the current detection circuit 74 is a constant current value ( When the difference differs from I const ) by a predetermined value or more, it is determined that “the current detection circuit 74 has an offset fault in which the output value is offset to the positive side or the negative side”. Thus, since the abnormality detection of the current detection circuit 74 is performed by a relatively simple process, the time required for the process can be shortened and the processing load of the abnormality detection unit 82 can be suppressed.

また、(3)本実施形態では、異常検出部82は、電圧検出回路76により検出した電圧値が所定値以上で、かつ、電流検出回路74により検出した電流値が定電流値(Iconst)に対し所定値以上大きいとき、「出力される値が正側にオフセットされるオフセット故障が電流検出回路74に生じている」と判断し、電圧検出回路76により検出した電圧値が所定値以上で、かつ、電流検出回路74により検出した電流値が定電流値(Iconst)に対し所定値以上小さいとき、「出力される値が負側にオフセットされるオフセット故障が電流検出回路74に生じている」と判断する。このように、本実施形態では、異常検出部82は、電流検出回路74により検出した電流値に基づき、電流検出回路74に生じているオフセット故障が、正側にオフセットされるオフセット故障か負側にオフセットされるオフセット故障かを判別することができる。 (3) In the present embodiment, the abnormality detection unit 82 has a voltage value detected by the voltage detection circuit 76 equal to or greater than a predetermined value, and the current value detected by the current detection circuit 74 is a constant current value (I const ). Is larger than a predetermined value, it is determined that an offset failure in which the output value is offset to the positive side has occurred in the current detection circuit 74, and the voltage value detected by the voltage detection circuit 76 is greater than or equal to the predetermined value. When the current value detected by the current detection circuit 74 is smaller than the constant current value (I const ) by a predetermined value or more, an “offset fault in which the output value is offset to the negative side occurs in the current detection circuit 74. It is judged. As described above, in the present embodiment, the abnormality detection unit 82 determines whether the offset fault occurring in the current detection circuit 74 is offset to the positive side based on the current value detected by the current detection circuit 74. It is possible to determine whether the offset fault is offset to

また、(4)本実施形態では、異常検出部82は、電圧検出回路76により検出した電圧値が所定値以下で、かつ、電流検出回路74により検出した電流値が定電流値(Iconst)と略同じとき、「バッテリ2からMOS61、62、63までの通電経路に断線故障が生じている」、または、「常時オフ状態となるオフ故障がリレー65に生じている」と判断する。 (4) In the present embodiment, the abnormality detection unit 82 has a voltage value detected by the voltage detection circuit 76 equal to or less than a predetermined value, and the current value detected by the current detection circuit 74 is a constant current value (I const ). Is substantially the same, it is determined that “a disconnection failure has occurred in the energization path from the battery 2 to the MOSs 61, 62, 63” or “an off failure that is always in an off state has occurred in the relay 65”.

また、(5)本実施形態では、異常検出部82は、電圧検出回路76により検出した電圧値が所定値以下で、かつ、電流検出回路74により検出した電流値が定電流値(Iconst)に対し所定値以上異なるとき、「常時オン状態となるオン故障がMOS61、62、63に生じている」と判断する。
このように、本実施形態では、電流検出回路74の異常に加え、通電経路の断線故障、リレー65の異常、および、MOS61、62、63の異常についても検出可能である。
(5) In the present embodiment, the abnormality detection unit 82 has the voltage value detected by the voltage detection circuit 76 equal to or less than a predetermined value, and the current value detected by the current detection circuit 74 is a constant current value (I const ). When the difference is greater than or equal to a predetermined value, it is determined that “on failure that is always on is occurring in the MOSs 61, 62, and 63”.
As described above, in the present embodiment, in addition to the abnormality of the current detection circuit 74, the disconnection failure of the energization path, the abnormality of the relay 65, and the abnormality of the MOSs 61, 62, and 63 can be detected.

また、(6)本実施形態では、シフトバイワイヤシステム1は、上述のECU60とECU60により制御されるモータ20とモータ20により回転駆動されることによってシフトレンジを切り替え可能なディテントプレート32とを備えている。本実施形態では、上述のECU60により、温度変化や経時変化等、条件の変化にかかわらず基準位置の学習精度を向上させることができる。また、電流検出回路74の異常を検出することにより、モータ20が誤作動すること、および、モータ20が制御不能になることを回避できる。よって、本実施形態のECU60は、シフトバイワイヤシステム1の制御に用いるのに好適である。   Moreover, (6) In this embodiment, the shift-by-wire system 1 includes the above-described ECU 60, the motor 20 controlled by the ECU 60, and the detent plate 32 that is capable of switching the shift range by being rotationally driven by the motor 20. Yes. In the present embodiment, the above-described ECU 60 can improve the learning accuracy of the reference position regardless of changes in conditions such as temperature changes and changes with time. Further, by detecting an abnormality in the current detection circuit 74, it is possible to avoid malfunction of the motor 20 and loss of control of the motor 20. Therefore, the ECU 60 of this embodiment is suitable for use in the control of the shift-by-wire system 1.

(他の実施形態)
上述の実施形態では、基準位置学習制御を行うとき、3相の巻線のうち2相に通電しつつ、通電相を順次切り替える「2相通電方式」によりモータを回転させる例を示した。これに対し、本発明の他の実施形態では、基準位置学習制御を行うとき、例えば、3相の巻線のうち1相に通電する1相通電と2相に通電する2相通電とを交互に切り替える「1−2相通電方式」によりモータを回転させることとしてもよい。
(Other embodiments)
In the above-described embodiment, when the reference position learning control is performed, an example is shown in which the motor is rotated by the “two-phase energization method” in which the energized phases are sequentially switched while energizing the two phases of the three-phase windings. On the other hand, in another embodiment of the present invention, when the reference position learning control is performed, for example, one-phase energization for energizing one phase of three-phase windings and two-phase energization for energizing two phases are alternately performed. It is good also as rotating a motor by the "1-2 phase electricity supply system" switched to.

また、本発明の他の実施形態では、例えば4相以上の巻線を有するモータを制御対象としてもよい。また、制御対象のモータとしては、エンコーダの出力信号(パルス信号)に基づきモータの回転位置を検出し通電相を切り替えるのであれば、スイッチトリラクタンスモータに限らず、他のブラシレスの同期モータであってもよい。   In another embodiment of the present invention, for example, a motor having four or more phase windings may be controlled. In addition, the motor to be controlled is not limited to a switched reluctance motor, as long as the rotational position of the motor is detected based on the output signal (pulse signal) of the encoder and the energized phase is switched. May be.

また、上述の実施形態では、モータの相対的な回転位置を検出するエンコーダとして、磁気式のエンコーダを用いる例を示した。これに対し、本発明の他の実施形態では、例えば、光学式またはブラシ式のエンコーダを用いることとしてもよい。また、エンコーダは、A相、B相のパルス信号を出力するものに限らず、例えば、A相、B相に加え、補正用(インデックス用)のZ相信号を出力するものを用いてもよい。
また、本発明の他の実施形態では、ディテントプレートの凹部は、いくつ形成されていてもよい。すなわち、本発明を適用可能な自動変速機のレンジの数は4つに限らない。
In the above-described embodiment, an example in which a magnetic encoder is used as the encoder that detects the relative rotational position of the motor has been described. On the other hand, in another embodiment of the present invention, for example, an optical or brush encoder may be used. The encoder is not limited to outputting A-phase and B-phase pulse signals. For example, an encoder that outputs a correction (index) Z-phase signal in addition to the A-phase and B-phase may be used. .
Moreover, in other embodiment of this invention, how many recessed parts of a detent plate may be formed. That is, the number of ranges of the automatic transmission to which the present invention can be applied is not limited to four.

本発明によるシフトバイワイヤシステムは、上述の実施形態と同様に「P」、「R」、「N」、「D」の4ポジションを切り替える無段変速機(CVT)やHV(ハイブリッド車)の自動変速機(A/T)の他、「P」または「notP」の2ポジションを切り替えるEV(電気自動車)もしくはHVのパーキング機構等のレンジ切替に用いることもできる。   The shift-by-wire system according to the present invention, as in the above-described embodiment, is an automatic control for a continuously variable transmission (CVT) or HV (hybrid vehicle) that switches between four positions “P”, “R”, “N”, and “D”. In addition to the transmission (A / T), it can also be used for range switching of an EV (electric vehicle) or HV parking mechanism that switches between two positions “P” or “notP”.

また、上述の実施形態では、マニュアルシャフトに設けられたディテントプレート(駆動対象)に形成した複数の凹部とディテントローラとにより「節度機構」を構成する例を示した。これに対し、本発明の他の実施形態では、複数の凹部とディテントローラとからなる「節度機構」を例えばアクチュエータ内の減速機近傍等に設けることとしてもよい。また、駆動対象の回転位置を所定の位置に保持可能であれば、凹部とディテントローラとからなる「節度機構」に限らず、他の構成による「節度機構」を備えることとしてもよい。   Further, in the above-described embodiment, an example is shown in which a “moderation mechanism” is configured by a plurality of concave portions formed in a detent plate (drive target) provided on a manual shaft and a detent roller. On the other hand, in another embodiment of the present invention, a “moderation mechanism” composed of a plurality of recesses and detent rollers may be provided, for example, in the vicinity of the speed reducer in the actuator. Further, as long as the rotational position of the drive target can be held at a predetermined position, the “moderation mechanism” having another configuration is not limited to the “moderation mechanism” including the concave portion and the detent roller.

また、本発明の制御装置は、シフトレンジ切替装置に限らず、ブラシレスの同期モータを駆動源とする各種切替装置に適用することができる。
このように、本発明は、上記実施形態に限定されるものではなく、その要旨を逸脱しない範囲で種々の形態に適用可能である。
The control device of the present invention is not limited to the shift range switching device, and can be applied to various switching devices using a brushless synchronous motor as a drive source.
Thus, the present invention is not limited to the above-described embodiment, and can be applied to various forms without departing from the gist thereof.

2 ・・・・バッテリ(電源)
20 ・・・モータ
22 ・・・巻線
32 ・・・ディテントプレート(駆動対象)
60 ・・・ECU(電子制御ユニット、制御装置)
61、62、63 ・・・MOS(スイッチング手段)
65 ・・・リレー
72 ・・・MOS駆動回路(制御部)
74 ・・・電流検出回路
75 ・・・電流制限回路
76 ・・・電圧検出回路
77 ・・・定電流回路
80 ・・・MPU(制御部、基準位置学習手段、異常検出手段)
81 ・・・駆動信号算出部(制御部)
82 ・・・異常検出部(異常検出手段)
P1 ・・・合流箇所
2 ... Battery (power supply)
20 ... Motor 22 ... Winding 32 ... Detent plate (drive target)
60 ... ECU (electronic control unit, control device)
61, 62, 63 ... MOS (switching means)
65 ・ ・ ・ Relay 72 ・ ・ ・ MOS drive circuit (control unit)
74 ... Current detection circuit 75 ... Current limit circuit 76 ... Voltage detection circuit 77 ... Constant current circuit 80 ... MPU (control unit, reference position learning means, abnormality detection means)
81... Drive signal calculation unit (control unit)
82 ... Abnormality detection unit (abnormality detection means)
P1 ... Junction point

Claims (6)

複数の相の巻線(22)を有し電源(2)から供給される電力により回転することで駆動対象(32)を回転駆動するモータ(20)を制御する制御装置(60)であって、
前記電源と前記モータとの間に設けられ、オン作動することにより前記電源から前記モータへの電力の供給を許容し、オフ作動することにより前記電源から前記モータへの電力の供給を遮断するリレー(65)と、
前記巻線の各相に対応するよう複数設けられ、オン作動することにより対応する前記巻線への通電を許容し、オフ作動することにより対応する前記巻線への通電を遮断するスイッチング手段(61、62、63)と、
前記リレーおよび前記スイッチング手段のオンオフ作動を制御することにより、前記モータの駆動を制御する制御部(72、80、81)と、
前記巻線および前記スイッチング手段を流れる電流が合流する箇所である合流箇所(P1)に接続するよう設けられ、前記合流箇所を流れる電流の値である電流値を検出する電流検出回路(74)と、
前記電流検出回路により検出される電流値の平均値が所定の範囲内となるよう、前記巻線および前記スイッチング手段を流れる電流を制限する電流制限回路(75)と、
前記電流制限回路により前記巻線および前記スイッチング手段を流れる電流を制限しつつ、前記駆動対象が可動範囲の限界位置で停止するまで前記モータを回転させ、前記モータの基準位置を学習する基準位置学習手段(80)と、
前記スイッチング手段に印加されている電圧の値である電圧値を検出する電圧検出回路(76)と、
前記合流箇所に、所定の電流値である定電流値に相当する電流を流すことが可能な定電流回路(77)と、
前記リレーをオン作動させ、かつ、全ての前記スイッチング手段をオフ作動させ、かつ、前記定電流回路により前記合流箇所に前記定電流値に相当する電流を流したとき、前記電圧検出回路により検出した電圧値と前記電流検出回路により検出した電流値とに基づき、前記電流検出回路の異常を検出可能な異常検出手段(80、82)と、
を備える制御装置。
A control device (60) for controlling a motor (20) that has a plurality of phase windings (22) and that is rotated by electric power supplied from a power source (2) to drive a drive target (32). ,
A relay that is provided between the power source and the motor and that allows the power supply from the power source to the motor by turning on, and shuts off the power supply from the power source to the motor by turning off. (65)
A plurality of switching means provided to correspond to each phase of the winding, and allows switching of the corresponding winding by turning on, and switching off the switching of the corresponding winding by turning off. 61, 62, 63),
A control unit (72, 80, 81) for controlling the driving of the motor by controlling the on / off operation of the relay and the switching means;
A current detection circuit (74) for detecting a current value which is a value of a current flowing through the junction, provided to be connected to a junction (P1) where the current flowing through the winding and the switching unit is merged; ,
A current limiting circuit (75) for limiting a current flowing through the winding and the switching means so that an average value of current values detected by the current detection circuit is within a predetermined range;
Reference position learning for learning the reference position of the motor by rotating the motor until the drive target stops at the limit position of the movable range while limiting the current flowing through the winding and the switching means by the current limiting circuit. Means (80);
A voltage detection circuit (76) for detecting a voltage value which is a value of a voltage applied to the switching means;
A constant current circuit (77) capable of causing a current corresponding to a constant current value, which is a predetermined current value, to flow at the junction;
When the relay is turned on, all the switching means are turned off, and a current corresponding to the constant current value is caused to flow through the junction by the constant current circuit, the voltage detection circuit detects the relay. An abnormality detection means (80, 82) capable of detecting an abnormality of the current detection circuit based on the voltage value and the current value detected by the current detection circuit;
A control device comprising:
前記異常検出手段は、
前記電圧検出回路により検出した電圧値が所定値以上で、かつ、前記電流検出回路により検出した電流値が前記定電流値と略同じとき、「前記電流検出回路は正常である」と判断し、
前記電圧検出回路により検出した電圧値が所定値以上で、かつ、前記電流検出回路により検出した電流値が前記定電流値に対し所定値以上異なるとき、「出力される値が正側または負側にオフセットされるオフセット故障が前記電流検出回路に生じている」と判断することを特徴とする請求項1に記載の制御装置。
The abnormality detection means includes
When the voltage value detected by the voltage detection circuit is not less than a predetermined value and the current value detected by the current detection circuit is substantially the same as the constant current value, it is determined that the current detection circuit is normal.
When the voltage value detected by the voltage detection circuit is greater than or equal to a predetermined value and the current value detected by the current detection circuit is different from the constant current value by a predetermined value or more, the “output value is positive or negative The control apparatus according to claim 1, wherein the control device determines that an offset fault offset to the current detection circuit has occurred.
前記異常検出手段は、
前記電圧検出回路により検出した電圧値が所定値以上で、かつ、前記電流検出回路により検出した電流値が前記定電流値に対し所定値以上大きいとき、「出力される値が正側にオフセットされるオフセット故障が前記電流検出回路に生じている」と判断し、
前記電圧検出回路により検出した電圧値が所定値以上で、かつ、前記電流検出回路により検出した電流値が前記定電流値に対し所定値以上小さいとき、「出力される値が負側にオフセットされるオフセット故障が前記電流検出回路に生じている」と判断することを特徴とする請求項2に記載の制御装置。
The abnormality detection means includes
When the voltage value detected by the voltage detection circuit is equal to or greater than a predetermined value and the current value detected by the current detection circuit is greater than the constant current value by a predetermined value or more, the “output value is offset to the positive side. Is determined that an offset failure has occurred in the current detection circuit,
When the voltage value detected by the voltage detection circuit is a predetermined value or more and the current value detected by the current detection circuit is smaller than the constant current value by a predetermined value or more, the “output value is offset to the negative side. The control device according to claim 2, wherein it is determined that an offset failure occurs in the current detection circuit.
前記異常検出手段は、前記電圧検出回路により検出した電圧値が所定値以下で、かつ、前記電流検出回路により検出した電流値が前記定電流値と略同じとき、「前記電源から前記スイッチング手段までの通電経路に断線故障が生じている」、または、「常時オフ状態となるオフ故障が前記リレーに生じている」と判断することを特徴とする請求項1〜3のいずれか一項に記載の制御装置。   When the voltage value detected by the voltage detection circuit is less than or equal to a predetermined value and the current value detected by the current detection circuit is substantially the same as the constant current value, the abnormality detection means is “from the power source to the switching means. It is determined that a disconnection failure has occurred in the energization path of "or an off failure that is always in an off state has occurred in the relay". Control device. 前記異常検出手段は、前記電圧検出回路により検出した電圧値が所定値以下で、かつ、前記電流検出回路により検出した電流値が前記定電流値に対し所定値以上異なるとき、「常時オン状態となるオン故障が前記スイッチング手段に生じている」と判断することを特徴とする請求項1〜4のいずれか一項に記載の制御装置。   When the voltage value detected by the voltage detection circuit is less than or equal to a predetermined value and the current value detected by the current detection circuit differs from the constant current value by a predetermined value or more, the abnormality detection means The control device according to any one of claims 1 to 4, wherein it is determined that an on failure has occurred in the switching means. 請求項1〜5のいずれか一項に記載の制御装置(60)と、
前記制御装置により制御される前記モータ(20)と、
前記モータにより回転駆動されることによってシフトレンジを切り替え可能な前記駆動対象(32)と、
を備えるシフトバイワイヤシステム(1)。
A control device (60) according to any one of claims 1 to 5;
The motor (20) controlled by the control device;
The drive object (32) capable of switching a shift range by being rotationally driven by the motor;
A shift-by-wire system (1).
JP2013253032A 2013-12-06 2013-12-06 Control device and shift-by-wire system using the same Active JP5862649B2 (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
JP2013253032A JP5862649B2 (en) 2013-12-06 2013-12-06 Control device and shift-by-wire system using the same
DE102014224704.7A DE102014224704A1 (en) 2013-12-06 2014-12-03 Control device and shift-by-wire system with the same
US14/559,284 US9442468B2 (en) 2013-12-06 2014-12-03 Control apparatus and shift-by-wire system having the same
CN201410737471.0A CN104702193B (en) 2013-12-06 2014-12-05 Control device and the shift-by-wire system with the control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013253032A JP5862649B2 (en) 2013-12-06 2013-12-06 Control device and shift-by-wire system using the same

Publications (2)

Publication Number Publication Date
JP2015110970A JP2015110970A (en) 2015-06-18
JP5862649B2 true JP5862649B2 (en) 2016-02-16

Family

ID=53525939

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013253032A Active JP5862649B2 (en) 2013-12-06 2013-12-06 Control device and shift-by-wire system using the same

Country Status (1)

Country Link
JP (1) JP5862649B2 (en)

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4319324B2 (en) * 2000-03-28 2009-08-26 株式会社デンソー Shift range switching device for automatic transmission
JP2007170545A (en) * 2005-12-22 2007-07-05 Denso Corp Shift range selecting device
JP4605125B2 (en) * 2006-09-08 2011-01-05 トヨタ自動車株式会社 Control device for shift switching mechanism
JP4406453B2 (en) * 2007-10-03 2010-01-27 トヨタ自動車株式会社 Shift switching device
JP5267270B2 (en) * 2009-03-26 2013-08-21 トヨタ自動車株式会社 Vehicle shift control device
JP2013096436A (en) * 2011-10-28 2013-05-20 Denso Corp Shift-by-wire system
DE102012003328A1 (en) * 2012-02-15 2013-08-22 Getrag Getriebe- Und Zahnradfabrik Hermann Hagenmeyer Gmbh & Cie Kg Method and control unit for a powertrain component
JP5811507B2 (en) * 2012-02-16 2015-11-11 株式会社デンソー Abnormality diagnosis device for range switching device

Also Published As

Publication number Publication date
JP2015110970A (en) 2015-06-18

Similar Documents

Publication Publication Date Title
JP5958519B2 (en) Control device and shift-by-wire system using the same
JP5929878B2 (en) Control device and shift-by-wire system using the same
JP5831766B2 (en) Control device and shift-by-wire system using the same
JP6565783B2 (en) Shift range control device
US9442468B2 (en) Control apparatus and shift-by-wire system having the same
US7990088B2 (en) Motor control apparatus
JP6536465B2 (en) Shift range control device
JP6097056B2 (en) Motor control device
US10844952B2 (en) Shift range control apparatus
US8421396B2 (en) Motor controlling device
JP2013072773A (en) Position detecting device, rotary actuator, and shift-by-wire system using the same
JP2005198448A (en) Controller of motor
JP5862648B2 (en) Control device and shift-by-wire system using the same
JP5472044B2 (en) Motor control device
JP2004190839A (en) Position switching control device
JP6583124B2 (en) Shift range control device
JP5862649B2 (en) Control device and shift-by-wire system using the same
JP2004129451A (en) Motor controller
WO2021149657A1 (en) Motor control device
US20040195496A1 (en) Rotating-body control device
JP2020114126A (en) Motor controller

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20150522

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20151015

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20151214

R151 Written notification of patent or utility model registration

Ref document number: 5862649

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