JP7760980B2 - Motor control device - Google Patents
Motor control deviceInfo
- Publication number
- JP7760980B2 JP7760980B2 JP2022155058A JP2022155058A JP7760980B2 JP 7760980 B2 JP7760980 B2 JP 7760980B2 JP 2022155058 A JP2022155058 A JP 2022155058A JP 2022155058 A JP2022155058 A JP 2022155058A JP 7760980 B2 JP7760980 B2 JP 7760980B2
- Authority
- JP
- Japan
- Prior art keywords
- phase
- energization
- motor
- switching
- time
- 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
Links
Classifications
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02P—CONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
- H02P29/00—Arrangements for regulating or controlling electric motors, appropriate for both AC and DC motors
- H02P29/02—Providing protection against overload without automatic interruption of supply
- H02P29/024—Detecting a fault condition, e.g. short circuit, locked rotor, open circuit or loss of load
- H02P29/028—Detecting a fault condition, e.g. short circuit, locked rotor, open circuit or loss of load the motor continuing operation despite the fault condition, e.g. eliminating, compensating for or remedying the fault
Landscapes
- Engineering & Computer Science (AREA)
- Power Engineering (AREA)
- Control Of Electric Motors In General (AREA)
Description
本発明は、モータ制御装置に関する。 The present invention relates to a motor control device.
従来、モータの駆動を制御するモータ制御装置が知られている。例えば特許文献1では、各相の巻線の通電ラインにそれぞれ断線検出回路を設け、断線を検出している。 Motor control devices that control the drive of motors are known. For example, in Patent Document 1, an open circuit detection circuit is provided in each current-carrying line of the winding for each phase to detect open circuits.
1相に断線が生じていても、断線が生じている相である断線相をイナーシャで通過できれば、モータの駆動を継続することができる。特許文献1では、断線相の次に切り替えられる通電相を最初の通電相として設定することで、正常相を用いてモータを駆動している。しかしながら、正常な2相のうちの1相で通電を開始した場合、通電相のステータ突極とロータ凹部が対向し、通電相とロータの歯先が対向しない場合がある。 Even if a wire breaks in one phase, the motor can continue to operate if inertia can pass the broken phase. In Patent Document 1, the energized phase that is switched to next after the broken phase is set as the first energized phase, and the motor is driven using the normal phases. However, when energization begins in one of the two normal phases, the stator salient pole of the energized phase faces the rotor recess, and the energized phase and the rotor tooth tip may not face each other.
本発明は、上述の課題に鑑みてなされたものであり、その目的は、1相断線時においてモータを適切に駆動可能なモータ制御装置を提供することにある。 The present invention was made in consideration of the above-mentioned problems, and its purpose is to provide a motor control device that can properly drive a motor even when one phase is broken.
本発明のモータ制御装置は、3相のモータ巻線(11)を有するモータ(10)の駆動を制御するものであって、駆動制御部(41)と、制御部(50)と、を備える。駆動回路は、モータ巻線の各相への通電のオンオフを切り替えるスイッチング素子(411~413)を有する。制御部は、モータの回転位置を検出する回転位置センサ(13)の検出値に基づくフィードバック制御によりスイッチング素子のオンオフ作動を制御する駆動制御部(55)、および、モータ巻線の断線故障を判定する異常判定部(52)を有する。 The motor control device of the present invention controls the drive of a motor (10) having three-phase motor windings (11) and includes a drive control unit (41) and a control unit (50). The drive circuit has switching elements (411-413) that switch on and off the power supply to each phase of the motor winding. The control unit includes a drive control unit (55) that controls the on/off operation of the switching elements through feedback control based on the detection value of a rotational position sensor (13) that detects the rotational position of the motor, and an abnormality determination unit (52) that determines whether the motor winding has an open circuit.
駆動制御部は、3相のうちの1相に断線故障が生じており、正常な2相を用いてモータを駆動する正常2相駆動を行う場合、正常2相駆動開始時の通電相である通電保持相への通電パターンとは異なるパターンでの通電を行った後に通電保持相に通電する始動前準備処理を行う。駆動制御部は、始動前準備処理として、正常相の1相に通電する第1通電処理、正常相の2相に通電する第2通電処理、1相の通電保持相に通電する第3通電処理の順で通電相を切り替える。これにより、1相断線時においてモータを適切に駆動することができる。 When a wire breakage fault occurs in one of the three phases and normal two-phase drive is performed using the two normal phases to drive the motor, the drive control unit performs a pre-start preparation process in which current is supplied to the energized hold phase in a pattern different from the current supply pattern to the energized hold phase that was the energized phase when normal two-phase drive was started.As the pre-start preparation process, the drive control unit switches the energized phases in the following order: a first energization process in which current is supplied to one of the normal phases, a second energization process in which current is supplied to two of the normal phases, and a third energization process in which current is supplied to the energized hold phase of one phase.This allows the motor to be driven appropriately when one phase is broken.
(第1実施形態)
以下、本発明によるモータ制御装置を図面に基づいて説明する。以下、複数の実施形態において、実質的に同一の構成には同一の符号を付して説明を省略する。
(First embodiment)
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS A motor control device according to the present invention will be described below with reference to the accompanying drawings. In the following, substantially identical components in a plurality of embodiments will be designated by the same reference numerals, and the description thereof will be omitted.
第1実施形態を図1~図12に示す。図1および図2に示すように、シフトバイワイヤシステム1は、モータ10、ディテント機構20、パーキングロック機構30、および、モータ制御装置としてのECU40等を備える。 The first embodiment is shown in Figures 1 to 12. As shown in Figures 1 and 2, the shift-by-wire system 1 includes a motor 10, a detent mechanism 20, a parking lock mechanism 30, and an ECU 40 as a motor control device.
モータ10は、図示しない車両に搭載されるバッテリ90から電力が供給されることで回転し、ディテント機構20の駆動源として機能する。モータ10は、例えばスイッチトリラクタンスモータである。 The motor 10 rotates when power is supplied from a battery 90 installed in the vehicle (not shown), and functions as a drive source for the detent mechanism 20. The motor 10 is, for example, a switched reluctance motor.
図3および図4に示すように、モータ10は、ステータ101、ロータ103、および、モータ巻線11等を有する。モータ巻線11は、U相コイル111、V相コイル112およびW相コイル113を有し、ステータ101の突極102に巻回される。コイル111~113は、結線部115で結線される。結線部115は、モータリレー91およびヒューズ92を経由してバッテリ90と接続される。 As shown in Figures 3 and 4, the motor 10 includes a stator 101, a rotor 103, and motor windings 11. The motor windings 11 include a U-phase coil 111, a V-phase coil 112, and a W-phase coil 113, and are wound around the salient poles 102 of the stator 101. The coils 111 to 113 are connected by a connection 115. The connection 115 is connected to the battery 90 via a motor relay 91 and a fuse 92.
ロータ103は、突極を有し、ステータ101の径方向内側に回転可能に設けられている。ロータ103は、コイル111~113の通電相を切り替えることで回転駆動される。本実施形態では、ステータ101の突極数が12、ロータ103の突極数が8である。以下適宜、ロータ103の突極を凸部104、凸部間を凹部105とする。 The rotor 103 has salient poles and is rotatably mounted radially inside the stator 101. The rotor 103 is driven to rotate by switching the energized phases of the coils 111-113. In this embodiment, the stator 101 has 12 salient poles and the rotor 103 has 8 salient poles. Hereinafter, the salient poles of the rotor 103 will be referred to as convex portions 104, and the spaces between the convex portions will be referred to as concave portions 105.
エンコーダ13は、磁気式のロータリーエンコーダであって、ロータ103の回転位置を検出する。エンコーダ13は、磁気検出用のホール素子131、132、および、ロータ103と一体に回転するマグネット135等から構成される。ホール素子131、132は、ロータ103の回転に同期して、所定角度ごとにパルス信号を出力する。本実施形態では、ホール素子131、132がN極に対向しているときLo、S極に対向しているときHiの信号を出力する。 Encoder 13 is a magnetic rotary encoder that detects the rotational position of rotor 103. Encoder 13 is composed of Hall elements 131 and 132 for magnetic detection, and a magnet 135 that rotates integrally with rotor 103. Hall elements 131 and 132 output pulse signals at predetermined angular intervals in synchronization with the rotation of rotor 103. In this embodiment, Hall elements 131 and 132 output a Lo signal when facing the N pole and a Hi signal when facing the S pole.
マグネット135は、円環状に形成されており、ロータ103と同軸に配置されている。マグネット135は、N極とS極とが円周方向に交互に等ピッチで着磁されている。本実施形態の着磁ピッチは7.5°である。この着磁ピッチは、モータ10の励磁1回あたりのロータ103の回転角度と同じである。すなわち、U相→UV相→V相→VW相→W相→WU相と通電相を切り替えていく1-2相励磁方式で6回の通電相の切り替えを行って一巡すると、ロータ103が機械角で7.5×6=45°回転する。 The magnet 135 is formed in an annular shape and is arranged coaxially with the rotor 103. The magnet 135 is magnetized with alternating north and south poles at equal pitches in the circumferential direction. In this embodiment, the magnetization pitch is 7.5°. This magnetization pitch is the same as the rotation angle of the rotor 103 per excitation of the motor 10. In other words, when the 1-2 phase excitation method switches the energized phase from U phase → UV phase → V phase → VW phase → W phase → WU phase, switching the energized phase six times to complete one cycle, the rotor 103 rotates a mechanical angle of 7.5 x 6 = 45°.
ホール素子131、132は、同一円周上であって、位相差が電気角90°となるように配置されている。本実施形態では、電気角90°は機械角の3.75°に対応しており、ホール素子131、132は48.75°の間隔を空けて配置されている。本実施形態では、ホール素子131の信号をA相、ホール素子132の信号をB相とする。なお、エンコーダ13は2相エンコーダであるが、3相エンコーダであってもよいし、検出信号に加え基準信号としてZ相信号を出力するものであってもよい。 Hall elements 131 and 132 are arranged on the same circumference with a phase difference of 90° electrical angle. In this embodiment, an electrical angle of 90° corresponds to a mechanical angle of 3.75°, and Hall elements 131 and 132 are arranged with a 48.75° gap between them. In this embodiment, the signal from Hall element 131 is phase A, and the signal from Hall element 132 is phase B. While encoder 13 is a two-phase encoder, it may also be a three-phase encoder, or it may output a Z-phase signal as a reference signal in addition to the detection signal.
図1に戻り、減速機14は、モータ10のモータ軸と出力軸15との間に設けられ、モータ10の回転を減速して出力軸15に出力する。これにより、モータ10の回転がディテント機構20に伝達される。出力軸センサ16は、例えばポテンショメータであって、出力軸15の回転位置を検出する(図2参照)。 Returning to Figure 1, the reducer 14 is located between the motor shaft of the motor 10 and the output shaft 15, and reduces the rotation of the motor 10 before outputting it to the output shaft 15. This transmits the rotation of the motor 10 to the detent mechanism 20. The output shaft sensor 16 is, for example, a potentiometer, and detects the rotational position of the output shaft 15 (see Figure 2).
ディテント機構20は、ディテントプレート21、ディテントスプリング25、および、ディテントローラ26を有し、減速機14から出力された回転駆動力をパーキングロック機構30へ伝達する。 The detent mechanism 20 has a detent plate 21, a detent spring 25, and a detent roller 26, and transmits the rotational driving force output from the reducer 14 to the parking lock mechanism 30.
ディテントプレート21は、出力軸15に固定され、モータ10により駆動される。ディテントプレート21のディテントスプリング25側には、2つの谷部211、212、および、谷部211、212を隔てる山部215が設けられる。 The detent plate 21 is fixed to the output shaft 15 and driven by the motor 10. The detent plate 21 has two valleys 211, 212 and a peak 215 separating the valleys 211, 212 on the side facing the detent spring 25.
ディテントスプリング25は、弾性変形可能な板状部材であり、先端にディテントローラ26が設けられる。ディテントスプリング25は、ディテントローラ26をディテントプレート21の回動中心側に付勢する。 The detent spring 25 is an elastically deformable plate-shaped member with a detent roller 26 attached to its tip. The detent spring 25 biases the detent roller 26 toward the center of rotation of the detent plate 21.
ディテントプレート21に所定以上の回転力が加わると、ディテントスプリング25が弾性変形し、ディテントローラ26が谷部211、212間を移動する。ディテントローラ26が谷部211、212のいずれかに嵌まり込むことで、ディテントプレート21の揺動が規制され、パーキングロック機構30の状態、および、自動変速機5のシフトレンジが決定される。 When a rotational force greater than a predetermined value is applied to the detent plate 21, the detent spring 25 elastically deforms, causing the detent roller 26 to move between the valleys 211 and 212. When the detent roller 26 fits into either of the valleys 211 or 212, the oscillation of the detent plate 21 is restricted, and the state of the parking lock mechanism 30 and the shift range of the automatic transmission 5 are determined.
パーキングロック機構30は、パーキングロッド31、円錐体32、パーキングレバー33、軸部34、および、パーキングギア35を有する。パーキングロッド31は、略L字形状に形成され、一端311側がディテントプレート21に固定される。パーキングロッド31の他端312側には、円錐体32が設けられる。円錐体32は、他端312側にいくほど縮径するように形成される。ディテントローラ26がPレンジに対応する谷部211に嵌まり込む方向にディテントプレート21が回転すると、円錐体32が矢印Pの方向に移動する。 The parking lock mechanism 30 includes a parking rod 31, a cone 32, a parking lever 33, a shaft 34, and a parking gear 35. The parking rod 31 is formed in a generally L-shape, with one end 311 fixed to the detent plate 21. A cone 32 is provided on the other end 312 of the parking rod 31. The cone 32 is formed so that its diameter decreases toward the other end 312. When the detent plate 21 rotates in a direction in which the detent roller 26 fits into the valley 211 corresponding to the P range, the cone 32 moves in the direction of arrow P.
パーキングレバー33は、円錐体32の円錐面と当接し、軸部34を中心に揺動可能に設けられる。パーキングレバー33のパーキングギア35側には、パーキングギア35と噛み合い可能な凸部331が設けられる。ディテントプレート21の回転により、円錐体32が矢印P方向に移動すると、パーキングレバー33が押し上げられ、凸部331とパーキングギア35とが噛み合う。一方、円錐体32が矢印notP方向に移動すると、凸部331とパーキングギア35との噛み合いが解除される。 The parking lever 33 abuts against the conical surface of the cone 32 and is pivotable around the shaft 34. A protrusion 331 that can mesh with the parking gear 35 is provided on the parking lever 33's parking gear 35 side. When the cone 32 moves in the direction of arrow P due to rotation of the detent plate 21, the parking lever 33 is pushed up and the protrusion 331 meshes with the parking gear 35. On the other hand, when the cone 32 moves in the direction of arrow not P, the meshing between the protrusion 331 and the parking gear 35 is released.
パーキングギア35は、図示しないドライブシャフトと接続しており、パーキングレバー33の凸部331と噛み合い可能に設けられる。パーキングギア35と凸部331とが噛み合うと、ドライブシャフトの回転が規制される。シフトレンジがP以外のレンジであるnotPレンジのとき、パーキングギア35はパーキングレバー33によりロックされず、ドライブシャフトの回転は、パーキングロック機構30により妨げられない。また、シフトレンジがPレンジのとき、パーキングギア35はパーキングレバー33によってロックされ、ドライブシャフトの回転が規制される。 The parking gear 35 is connected to the drive shaft (not shown) and is arranged to be able to mesh with the protrusion 331 of the parking lever 33. When the parking gear 35 meshes with the protrusion 331, rotation of the drive shaft is restricted. When the shift range is a range other than P, i.e., a not P range, the parking gear 35 is not locked by the parking lever 33, and rotation of the drive shaft is not prevented by the parking lock mechanism 30. Furthermore, when the shift range is P range, the parking gear 35 is locked by the parking lever 33, and rotation of the drive shaft is restricted.
本実施形態では、PレンジからnotPレンジへ切り替えるときのモータ10の回転方向を正転方向、notPレンジからPレンジへ切り替えるときのモータ10の回転方向を逆転方向とする。 In this embodiment, the rotation direction of the motor 10 when switching from P range to not P range is the forward direction, and the rotation direction of the motor 10 when switching from not P range to P range is the reverse direction.
図2および図3に示すように、ECU40は、駆動回路41、電流検出部45、電圧検出回路46、および、制御部50等を備える。駆動回路41は、3つのスイッチング素子411、412、413を有する。スイッチング素子411~413は、それぞれコイル111~113と対応して設けられ、対応する相の通電を切り替える。本実施形態では、スイッチング素子411~413は、コイル111~113とグランドとの間に設けられている。本実施形態のスイッチング素子411~413は、MOSFETであるが、IGBT等であってもよい。 As shown in Figures 2 and 3, the ECU 40 includes a drive circuit 41, a current detection unit 45, a voltage detection circuit 46, and a control unit 50. The drive circuit 41 has three switching elements 411, 412, and 413. The switching elements 411 to 413 are provided corresponding to the coils 111 to 113, respectively, and switch the current flow to the corresponding phase. In this embodiment, the switching elements 411 to 413 are provided between the coils 111 to 113 and ground. In this embodiment, the switching elements 411 to 413 are MOSFETs, but may also be IGBTs, etc.
電流検出部45は、スイッチング素子411~413のソースとグランドとを接続する集合配線に設けられ、コイル111~113に流れる電流の和を検出する。以下、電流検出部45にて検出される電流を、モータ電流Imとする。電流検出部45は、コイル111~113の電流を検出可能ないずれの箇所に設けてもよく、また相毎に設けるようにしてもよい。 The current detection unit 45 is provided on the collective wiring connecting the sources of the switching elements 411-413 to ground, and detects the sum of the currents flowing through the coils 111-113. Hereinafter, the current detected by the current detection unit 45 will be referred to as the motor current Im. The current detection unit 45 may be provided at any location where it can detect the currents in the coils 111-113, or may be provided for each phase.
電圧検出回路46は、コイル111~113とスイッチング素子411~413との間に接続され、各相の端子電圧を検出する。リレードライバ48は、モータリレー91のオンオフ作動を制御する。 The voltage detection circuit 46 is connected between the coils 111-113 and the switching elements 411-413 and detects the terminal voltage of each phase. The relay driver 48 controls the on/off operation of the motor relay 91.
制御部50は、マイコン等を主体として構成され、内部にはいずれも図示しないCPU、ROM、RAM、I/O、及び、これらの構成を接続するバスライン等を備えている。制御部50における各処理は、ROM等の実体的なメモリ装置(すなわち、読み出し可能非一時的有形記録媒体)に予め記憶されたプログラムをCPUで実行することによるソフトウェア処理であってもよいし、専用の電子回路によるハードウェア処理であってもよい。 The control unit 50 is primarily composed of a microcomputer and includes a CPU, ROM, RAM, I/O, and bus lines connecting these components (all not shown). Each process in the control unit 50 may be software processing in which the CPU executes a program pre-stored in a physical memory device (i.e., a readable non-transitory tangible recording medium) such as ROM, or it may be hardware processing using dedicated electronic circuits.
制御部50は、ドライバ要求シフトレンジに応じたシフト信号、ブレーキスイッチからの信号、アクセル開度および車速等に基づいてモータ10の駆動を制御することで、シフトレンジの切り替え等を制御する。 The control unit 50 controls the switching of the shift range by controlling the drive of the motor 10 based on a shift signal corresponding to the driver's requested shift range, a signal from the brake switch, the accelerator opening, the vehicle speed, etc.
制御部50は、機能ブロックとして、信号取得部51、異常判定部52、および、駆動制御部55等を有する。信号取得部51は、エンコーダ13、出力軸センサ16、電流検出部45および電圧検出回路46等からの検出信号を取得する。異常判定部52は、断線異常等のシフトバイワイヤシステム1の異常を判定する。 The control unit 50 has functional blocks such as a signal acquisition unit 51, an abnormality determination unit 52, and a drive control unit 55. The signal acquisition unit 51 acquires detection signals from the encoder 13, the output shaft sensor 16, the current detection unit 45, and the voltage detection circuit 46. The abnormality determination unit 52 determines abnormalities in the shift-by-wire system 1, such as a broken wire.
駆動制御部55は、スイッチング素子411~413のオンオフ作動を制御することで、モータ10の駆動を制御する。本実施形態では、エンコーダカウント値に基づくフィードバック制御により、モータ巻線11の通電相を切り替えることでモータ10を駆動する。 The drive control unit 55 controls the driving of the motor 10 by controlling the on/off operation of the switching elements 411 to 413. In this embodiment, the motor 10 is driven by switching the energized phase of the motor winding 11 through feedback control based on the encoder count value.
図5に示すように、制御部50は、通電相番号と通電相とが対応づけられたマップが記憶されており、エンコーダ信号のパルスエッジが検出されるごとに通電相番号を1ずらし、通電相を切り替えることでモータ10を回転させる。モータ10を正方向に回転させる場合、通電相番号をエンコーダ信号のパルスエッジが検出されるごとに通電相番号を1増加させ、モータ10を逆方向に回転させる場合、通電相を1減少させる。通電相番号は、例えばエンコーダカウント値を12で除したときの余りと捉えることもできる。 As shown in FIG. 5, the control unit 50 stores a map that associates energized phase numbers with energized phases, and rotates the motor 10 by shifting the energized phase number by one each time a pulse edge of the encoder signal is detected and switching the energized phase. When rotating the motor 10 in the forward direction, the energized phase number is increased by one each time a pulse edge of the encoder signal is detected, and when rotating the motor 10 in the reverse direction, the energized phase number is decreased by one. The energized phase number can also be considered, for example, as the remainder when the encoder count value is divided by 12.
本実施形態では、1相に断線異常が生じた場合、フィードバック制御による正常な2相への通電によりモータ10を駆動することで、レンジ切り替えを行う。例えばU相断線時、正常時にU相のみに通電される通電相番号2、3において、トルクが発生しないが、イナーシャでこの領域を通過させることでモータ10の駆動を継続可能である。 In this embodiment, if a wire break occurs in one phase, range switching is performed by driving the motor 10 by energizing the two normal phases through feedback control. For example, if the U phase is broken, no torque is generated in energized phases 2 and 3, which normally only energize the U phase, but the motor 10 can continue to be driven by passing through this region using inertia.
ここで、1相断線にてレンジ切り替えを行う場合、通電相とロータ103の凸部104とが対向する、所謂「1相1歯」の状態から切替駆動を開始することが望ましい。以下、U相の突極102とロータ103の凸部104とが1相1歯で対向している状態を「U相対向」、V相の突極102と凸部104とが1相1歯で対向している状態を「V相対向」、W相の突極102と凸部104とが1相1歯で対向している状態を「W相対向」とする。 When switching ranges due to a single-phase disconnection, it is desirable to start the switching drive from a so-called "one-phase, one-tooth" state, where the energized phase and the convex portion 104 of the rotor 103 face each other. Hereinafter, the state in which the U-phase salient pole 102 and the rotor 103 convex portion 104 face each other with one tooth per phase will be referred to as "U-phase facing," the state in which the V-phase salient pole 102 and the convex portion 104 face each other with one tooth per phase will be referred to as "V-phase facing," and the state in which the W-phase salient pole 102 and the convex portion 104 face each other with one tooth per phase will be referred to as "W-phase facing."
図6に示すように、断線相とモータ10の回転方向に応じ、切替開始時のステータ101の突極102とロータ103の凸部104との対向位置関係が設定されている。U相断線にて切替方向が正転方向の場合、V相対向、逆転方向の場合、W相対向の状態からレンジ切り替えを開始する。V相断線にて切替方向が正転方向の場合、W相対向、逆転方向の場合、U相対向の状態からレンジ切り替えを開始する。W相断線にて切替方向が正転方向の場合、U相対向、逆転方向の場合、V相対向の状態からレンジ切り替えを開始する。以下、U相断線にて、切替方向が正転方向の例を中心に説明する。 As shown in Figure 6, the opposing positional relationship between the salient poles 102 of the stator 101 and the convex portions 104 of the rotor 103 at the start of switching is set depending on the broken phase and the rotational direction of the motor 10. If the U-phase is broken and the switching direction is forward, the range switching starts from the V-phase facing state, and if it is reverse, the range switching starts from the W-phase facing state. If the V-phase is broken and the switching direction is forward, the range switching starts from the W-phase facing state, and if it is reverse, the range switching starts from the U-phase facing state. If the W-phase is broken and the switching direction is forward, the range switching starts from the U-phase facing state, and if it is reverse, the range switching starts from the V-phase facing state. The following explanation focuses on an example where the switching direction is forward when the U-phase is broken.
図7に示すように、U相断線にて、正転方向に切り替える場合、V相通電にてV相対向の状態からレンジ切り替えを開始する。図8では、上段に通電相の切り替えを示し、下段には上段の通電相と対応するモータトルクを示した。図8に示すように、V相通電にてV相対向の状態から、VW相通電→W相通電と正常相への通電を切り替えることで、トルクを発生させてロータ103を回転させる。 As shown in Figure 7, when switching to forward rotation due to a U-phase break, range switching begins with the V-phase energized and V-phase opposed state. In Figure 8, the upper row shows the energized phase switching, and the lower row shows the motor torque corresponding to the energized phase in the upper row. As shown in Figure 8, by switching from the V-phase energized and V-phase opposed state to the VW-phase energized and W-phase energized, a torque is generated to rotate the rotor 103.
U相断線が生じていない場合、W相通電に続き、WU相通電、U相通電、UV相通電となる。一方、U相断線時にはU相コイル111への通電ができないため、本来WU相通電となる領域ではW相通電が継続されてモータトルクが減少し、本来U相通電となる領域はモータトルクが0となる。この領域をイナーシャで通過すれば、UV相通電領域にてV相に通電されてモータトルクが増加するので、モータ10の回転が継続される。図7および図8では、通電相のコイルを実線、無通電相のコイルを破線とし、U相コイル111の図示を省略することで断線状態を示している。 If there is no U-phase open circuit, the W-phase is energized, followed by the WU-phase, U-phase, and UV-phase. On the other hand, when the U-phase is open circuit, current cannot be passed through the U-phase coil 111. Therefore, in the region where the WU-phase should be energized, the W-phase continues to be energized, reducing motor torque, and in the region where the U-phase should be energized, motor torque becomes zero. If this region is passed through inertia, current is passed through the V-phase in the UV-phase energized region, increasing motor torque, and motor 10 continues to rotate. In Figures 7 and 8, energized phase coils are indicated by solid lines, non-energized phase coils are indicated by dashed lines, and the open circuit state is indicated by omitting the U-phase coil 111.
ここで、レンジ切替前にV相通電のみを行う場合、V相通電時にロータ103の凹部105とV相の突極102とが対向する場合があり、この状態では、V相対向の状態からの駆動を開始することができない。V相の突極102とロータ103の凹部105とが対向している状態からV相通電→VW相通電、と通電相を切り替える場合、ロータ103が逆方向に回転する、または、イナーシャで通過させたい領域にて回転数が足りず、断線相を通過できない虞がある。 Here, if only V-phase current is applied before range switching, the recessed portion 105 of the rotor 103 and the V-phase salient pole 102 may face each other when the V-phase is applied, and in this state, driving cannot be started from the V-phase facing state. If the current application phase is switched from V-phase current application to VW-phase current application when the V-phase salient pole 102 and the recessed portion 105 of the rotor 103 face each other, the rotor 103 may rotate in the reverse direction, or the rotation speed may be insufficient in the area where inertia is desired to pass through, preventing it from passing through the open circuit phase.
そこで本実施形態では、確実に図6に示した対向状態となるように、ステータ101とロータ103の位置を合わせる切替前準備処理を行う。切替前準備処理では、図9に示すように、1相通電、2相通電、1相通電を順に行うことで、切替開始時の通電相に1相1歯の状態で対向させる。 In this embodiment, therefore, a pre-switching preparation process is performed to align the positions of the stator 101 and rotor 103 so that they are reliably positioned as shown in Figure 6. In the pre-switching preparation process, as shown in Figure 9, one-phase energization, two-phase energization, and one-phase energization are performed in sequence, so that the energized phases at the start of switching are opposed in a one-tooth, one-phase state.
具体的には、U相断線にて切替方向が正転方向の場合、切替前準備としてW相通電、VW相通電、V相通電を行い、逆転方向の場合、切替前準備としてV相通電、VW相通電、W相通電を行う。V相断線にて切替方向が正転方向の場合、切替前準備としてU相通電、WU相通電、W相通電を行い、逆転方向の場合、切替前準備としてW相通電、WU相通電、U相通電を行う。W相断線にて切替方向が正転方向の場合、切替前準備としてV相通電、UV相通電、U相通電を行い、逆転方向の場合、切替前準備としてU相通電、UV相通電、V相通電を行う。以下、切替前準備における、最初の1相通電を通電ステータスST1、次の2相通電を通電ステータスST2、切替開始時の通電相への1相通電にて1相1歯状態の保持する状態を通電ステータスST3とする。 Specifically, if the U-phase is broken and the switching direction is forward, W-phase energization, VW-phase energization, and V-phase energization are performed as pre-switching preparations. If the direction is reverse, V-phase energization, VW-phase energization, and W-phase energization are performed as pre-switching preparations. If the V-phase is broken and the switching direction is forward, U-phase energization, WU-phase energization, and W-phase energization are performed as pre-switching preparations. If the direction is reverse, W-phase energization, WU-phase energization, and U-phase energization are performed as pre-switching preparations. If the W-phase is broken and the switching direction is forward, V-phase energization, UV-phase energization, and U-phase energization are performed as pre-switching preparations. If the direction is reverse, U-phase energization, UV-phase energization, and V-phase energization are performed as pre-switching preparations. Below, the initial one-phase energization during pre-switching preparations is referred to as energization status ST1, the next two-phase energization as energization status ST2, and the state in which one-phase, one-tooth state is maintained when one-phase energization to the energized phase at the start of switching is referred to as energization status ST3.
U相断線時にV相対向状態とするための切替前準備を図10に示す。まず、W相通電を行うことで、W相に凸部104が対向する。この状態から、VW相通電に切り替えると、ロータ103が回転し、V相およびW相に凸部104が対向する、所謂「2相2歯」の状態となる。2相2歯の状態からV相通電に切り替えることで、確実にV相対向の1相1歯の状態とすることができる。なお、W相通電時に、W相に凹部105が対向する、所謂「1相2歯」の状態となったとしても、VW相通電の後にV相通電を行うことで、V相通電時には、V相対向の1相1歯の状態とすることができる。 Figure 10 shows the pre-switching preparations for achieving a V-phase opposing state when the U-phase is broken. First, by energizing the W-phase, the convex portion 104 faces the W-phase. When energizing the V-phase from this state, the rotor 103 rotates, and the convex portion 104 faces the V-phase and W-phase, resulting in a so-called "two-phase, two-tooth" state. By switching from the two-phase, two-tooth state to V-phase energization, it is possible to reliably achieve a one-phase, one-tooth state with the V-phase opposing. Note that even if the so-called "one-phase, two-tooth" state occurs when energizing the W-phase, where the concave portion 105 faces the W-phase, by energizing the V-phase after energizing the V-phase, it is possible to achieve a one-phase, one-tooth state with the V-phase opposing when energizing the V-phase.
本実施形態のレンジ切替処理を図11のフローチャートに基づいて説明する。この処理は制御部50にて所定の周期で実行される。S101では、制御部50は、1相断線が検出されたか否か判断する。1相断線が検出されてないと判断された場合(S101:NO)、S102以降の処理をスキップする。なお、1相断線の検出は、本実施形態と別処理にて行われ、例えば電圧検出回路46の検出値等に基づいて判定されるが、検出方法の詳細は問わない。また、全相正常時は本処理とは別処理でレンジ切り替えが実施される。1相断線が検出されていると判断された場合(S101:YES)、S102へ移行する。 The range switching process of this embodiment will be described based on the flowchart in Figure 11. This process is executed by the control unit 50 at a predetermined interval. In S101, the control unit 50 determines whether a one-phase break has been detected. If it is determined that a one-phase break has not been detected (S101: NO), the process from S102 onwards is skipped. Note that detection of a one-phase break is performed in a process separate from this embodiment, and is determined, for example, based on the detection value of the voltage detection circuit 46, although the details of the detection method are not important. Furthermore, when all phases are normal, range switching is performed in a process separate from this process. If it is determined that a one-phase break has been detected (S101: YES), the process proceeds to S102.
S102では、制御部50は、シフトレンジの切替要求があるか否か判断する。切替要求がないと判断された場合(S102:NO)、S103以降の処理をスキップし、スタンバイモードを継続する。切替要求があると判断された場合(S102:YES)、S103へ移行する。 In S102, the control unit 50 determines whether there is a request to switch the shift range. If it is determined that there is no request to switch (S102: NO), the process from S103 onwards is skipped and standby mode continues. If it is determined that there is a request to switch (S102: YES), the process proceeds to S103.
S103では、駆動制御部55は、通電ステータスST1での通電を行う。例えばU相断線時であって、切替方向が正転方向の場合、W相に通電する。S104では、駆動制御部55は、通電ステータスST1での通電保持時間Xh1が経過したか否か判断する。通電保持時間Xh1が経過していないと判断された場合(S104:NO)、S103へ戻り、通電ステータスST1での通電を継続する。通電保持時間Xh1が経過したと判断された場合(S104:YES)、S105へ移行する。 In S103, the drive control unit 55 energizes the current in the energization status ST1. For example, if the U-phase is broken and the switching direction is forward, the W-phase is energized. In S104, the drive control unit 55 determines whether the energization hold time Xh1 in the energization status ST1 has elapsed. If it is determined that the energization hold time Xh1 has not elapsed (S104: NO), the process returns to S103 and continues energizing the current in the energization status ST1. If it is determined that the energization hold time Xh1 has elapsed (S104: YES), the process proceeds to S105.
S104では、駆動制御部55は、通電ステータスST2での通電を行う。例えばU相断線時は、切替方向によらず正常相のVW相への2相通電とする。S106では、駆動制御部55は、通電ステータスST2での通電保持時間Xh2が経過したか否か判断する。通電保持時間Xh2が経過していないと判断された場合(S106:NO)、S105へ戻り、通電ステータスST2での通電を継続する。通電保持時間Xh2が経過したと判断された場合(S106:YES)、S107へ移行する。 In S104, the drive control unit 55 applies current in the current status ST2. For example, when the U phase is disconnected, two-phase current is applied to the VW phase, which is the normal phase, regardless of the switching direction. In S106, the drive control unit 55 determines whether the current application hold time Xh2 in the current application status ST2 has elapsed. If it is determined that the current application hold time Xh2 has not elapsed (S106: NO), the process returns to S105 and the current application in the current application status ST2 continues. If it is determined that the current application hold time Xh2 has elapsed (S106: YES), the process proceeds to S107.
S107では、駆動制御部55は、通電ステータスST3での通電を行う。例えばU相断線時であって、切替方向が正転方向の場合、V相に通電する。S108では、駆動制御部55は、通電ステータスST3での通電保持時間Xh3が経過したか否か判断する。通電保持時間Xh3が経過していないと判断された場合(S108:NO)、S107へ戻り、通電ステータスST3での通電を継続する。通電保持時間Xh3が経過したと判断された場合(S108:YES)、S109へ移行し、切替前準備完了フラグをオンにする。なお、切替前準備完了フラグは、レンジ切替開始後の任意のタイミングでオフされる。 In S107, the drive control unit 55 applies current in the current status ST3. For example, if the U-phase is disconnected and the switching direction is forward, the V-phase is energized. In S108, the drive control unit 55 determines whether the current hold time Xh3 in the current status ST3 has elapsed. If it is determined that the current hold time Xh3 has not elapsed (S108: NO), the process returns to S107, and current is continued in the current status ST3. If it is determined that the current hold time Xh3 has elapsed (S108: YES), the process proceeds to S109, and the pre-switching preparation completion flag is set to ON. The pre-switching preparation completion flag is set to OFF at any time after the start of range switching.
S110では、駆動制御部55は、断線相と回転方向に応じた所定の位置にて1相1歯での対向状態から、モータ10を駆動し、正常2相でのフィードバック制御によりレンジ切り替えを実施する。S111では、制御部50は、レンジ切り替えが完了したか否か判断する。レンジ切り替えが完了してないと判断された場合(S111:NO)、S109へ戻り、正常2相でのフィードバック制御を継続する。レンジ切り替えが完了したと判断された場合(S111:YES)、スタンバイモードに移行し、本処理を終了する。 In S110, the drive control unit 55 drives the motor 10 from a one-phase, one-tooth facing state at a predetermined position corresponding to the broken phase and rotation direction, and performs range switching using feedback control with two normal phases. In S111, the control unit 50 determines whether the range switching is complete. If it is determined that the range switching is not complete (S111: NO), the process returns to S109 and continues feedback control with two normal phases. If it is determined that the range switching is complete (S111: YES), the process transitions to standby mode and ends this process.
本実施形態のレンジ切替処理を図12のタイムチャートに基づいて説明する。図12では、共通時間軸を横軸とし、上段から、モータ制御モード、1相断線検出状態、切替前準備完了フラグ、モータ回転角、通電相を示している。モータ回転角は、エンコーダカウント値から換算可能な値であって、実際の値を実線、目標値を一点鎖線とし、ディテントローラ26が谷部211の最底部にあるときをP、谷部212の最底部にあるときをnotPとして示した。後述の図15等も同様である。 The range switching process of this embodiment will be explained based on the time chart in Figure 12. In Figure 12, the horizontal axis represents a common time axis, and from the top, the motor control mode, one-phase open circuit detection status, pre-switching preparation completion flag, motor rotation angle, and energized phase are shown. The motor rotation angle is a value that can be converted from the encoder count value, with the actual value shown as a solid line and the target value shown as a dashed line. The time when the detent roller 26 is at the bottom of the valley 211 is shown as P, and the time when it is at the bottom of the valley 212 is shown as notP. The same applies to Figure 15, etc., described below.
図12では、通電ステータス切替によるロータ103の振動成分については記載を省略した。シフト切り替え時の通電相について、通電相番号を括弧書きで記載した。なお、通電相番号は、簡略化のため、切り替え時の番号とした。また、説明のため、シフト切替中における通電相の切り替えは、タイムスケールを拡大しており、モータ回転角の推移とは対応しない。 In Figure 12, the vibration components of the rotor 103 due to switching of the energization status are omitted. The energized phase numbers for the energized phases during shift switching are shown in parentheses. For simplicity, the energized phase numbers are the numbers at the time of switching. For the sake of explanation, the switching of energized phases during shift switching is shown on an expanded time scale and does not correspond to the progression of the motor rotation angle.
時刻x0にて1相断線が生じ、時刻x1にて異常が確定された後、時刻x2にてシフトレンジ切替要求が入力されると、切替前準備処理を行う。切替前準備処理では、通電ステータスST1、ST2、ST3の順で所定時間毎に通電相を切り替える。通電ステータスST1、ST2、ST3の通電相は、断線相および切替方向に応じて設定される。 If a one-phase break occurs at time x0, the abnormality is confirmed at time x1, and then a shift range switch request is input at time x2, pre-switch preparation processing is performed. In pre-switch preparation processing, the energized phases are switched at predetermined intervals in the order of energization status ST1, ST2, and ST3. The energized phases for energization status ST1, ST2, and ST3 are set according to the broken phase and the switching direction.
なお、通電ステータスST2は2相通電であるので、ロータ103が安定しやすく、通電保持時間Xh2は相対的に短い時間でよい。また、通電ステータスST3では、1相1歯の状態にて確実に保持されることが望ましいため、相対的に長い時間に設定される。したがって、本実施形態は、Xh2≦Xh1≦Xh3に設定される。 Note that because the energization status ST2 indicates two-phase energization, the rotor 103 is more likely to stabilize, and the energization hold time Xh2 can be a relatively short time. Furthermore, since it is desirable for the energization status ST3 to be reliably maintained in a one-phase, one-tooth state, it is set to a relatively long time. Therefore, in this embodiment, Xh2≦Xh1≦Xh3 is set.
時刻x3にて、切替前準備処理が完了すると、切替前準備完了フラグがオンされ、正常な2相を用いたフィードバック制御でのレンジ切り替えが実施される。時刻x4にて、目標到達判定範囲に到達すると、停止制御を行う。本実施形態の停止制御は、正常2相への固定相通電である。時刻x5にて、停止制御開始から所定時間が経過すると、全てのスイッチング素子をオフにし、スタンバイモードに移行する。 At time x3, when the pre-switching preparation process is completed, the pre-switching preparation complete flag is turned on, and range switching is performed using feedback control using the two normal phases. At time x4, when the target attainment determination range is reached, stop control is performed. In this embodiment, stop control is fixed phase current supply to the two normal phases. At time x5, when a predetermined time has elapsed since the start of stop control, all switching elements are turned off and the system transitions to standby mode.
本実施形態では、1相断線時において、正常2相への通電によりモータ10を駆動する場合、駆動開始前の切替前準備処理として、1相通電、2相通電、1相通電を順に行う。これにより、切替開始時の通電相にロータ103の凸部104が対向した1相1歯の状態からモータ10の駆動を開始することができる。 In this embodiment, when one phase is broken and the motor 10 is driven by energizing the two normal phases, pre-switching preparation processing before starting drive involves energizing one phase, then two phases, and then one phase in that order. This allows the motor 10 to start driving from a one-phase, one-tooth state in which the convex portion 104 of the rotor 103 faces the energized phase at the start of switching.
以上説明したように、ECU40は、3相のモータ巻線11を有するモータの駆動を制御するものであって、駆動回路41と、制御部50と、を備える。駆動回路41は、モータ巻線11の各相への通電のオンオフを切り替えるスイッチング素子411~413を有する。制御部50は、モータ10の回転位置を検出するエンコーダ13の検出値に基づくフィードバック制御によりスイッチング素子411~413のオンオフ作動を制御する駆動制御部55、および、モータ巻線11の断線故障を判定する異常判定部52を有する。 As described above, the ECU 40 controls the drive of a motor having three-phase motor windings 11 and includes a drive circuit 41 and a control unit 50. The drive circuit 41 has switching elements 411-413 that switch on and off the power supply to each phase of the motor windings 11. The control unit 50 has a drive control unit 55 that controls the on/off operation of the switching elements 411-413 through feedback control based on the detection value of the encoder 13 that detects the rotational position of the motor 10, and an abnormality determination unit 52 that determines whether the motor windings 11 have an open circuit.
駆動制御部55は、3相のうちの1相に断線故障が生じており、正常な2相を用いてモータ10を駆動する正常2相駆動を行う場合、正常2相駆動開始時の通電相である通電保持相への通電パターンとは異なるパターンでの通電を行った後に通電保持相に通電する切替前準備処理を行う。ここで、断線故障は、コイルに通電できない故障であって、ハーネスの断線や、スイッチング素子のオフ固着等が含まれる。 When a wire breakage fault has occurred in one of the three phases and normal two-phase drive is performed to drive the motor 10 using the two normal phases, the drive control unit 55 performs pre-switching preparation processing to energize the energized phase after energizing it in a pattern different from the energization pattern to the energized hold phase, which is the energized phase at the start of normal two-phase drive. Here, a wire breakage fault is a fault that prevents current from flowing through the coil, and includes a wire breakage in the harness and a switching element stuck off.
切替前準備処理を行うことで、正常2相駆動にてトルクが発生できるステータ101とロータ103との対向位置までロータ103を回転させることができる。これにより、1相断線時において、モータ10を適切に駆動することができる。 By performing pre-switching preparation processing, the rotor 103 can be rotated to a position where the stator 101 and rotor 103 face each other and torque can be generated under normal two-phase drive. This allows the motor 10 to be driven appropriately even in the event of a one-phase break.
駆動制御部55は、通電前準備処理として、正常相の1相に通電する第1通電処理である通電ステータスST1、正常相の2相に通電する第2通電処理である通電ステータスST2、1相の通電保持相に通電する第3通電処理である通電ステータスST3の順で通電相を切り替える。これにより、ステータ101とロータ103との対向位置を所定の位置に適切に合わせることができる。 As a pre-energization preparation process, the drive control unit 55 switches the energization phase in the following order: energization status ST1, which is the first energization process for energizing one of the normal phases; energization status ST2, which is the second energization process for energizing two of the normal phases; and energization status ST3, which is the third energization process for energizing one phase that remains energized. This allows the opposing positions of the stator 101 and rotor 103 to be appropriately aligned to the specified positions.
切替前準備処理における通電相は、断線相およびモータ10の回転方向に応じて設定され、通電ステータスST1の通電相は、通電相の切替順序からみて、断線相の前に通電される相である。これにより、ステータ101とロータ103との対向位置を適切に合わせることができる。 The energized phase in the pre-switching preparation process is set according to the disconnection phase and the rotation direction of the motor 10, and the energized phase in energization status ST1 is the phase that is energized before the disconnection phase in terms of the energization phase switching order. This allows the opposing positions of the stator 101 and rotor 103 to be properly aligned.
(第2実施形態)
第2実施形態を図13に示す。以下の実施形態では、主に切替前準備処理が上記実施形態と異なるため、この点を中心に説明する。本実施形態のレンジ切替処理を図13のフローチャートに基づいて説明する。図13は、S106とS107の間にS120が追加されている点が図11と異なる。
Second Embodiment
A second embodiment is shown in Figure 13. The following embodiment differs from the above embodiment mainly in the pre-switching preparation process, and this point will be mainly described. The range switching process of this embodiment will be described based on the flowchart of Figure 13. Figure 13 differs from Figure 11 in that S120 has been added between S106 and S107.
通電ステータスST2の後に移行するS120では、制御部50は、雰囲気温度Hに応じて通電ステータスST3の通電保持時間Xh3を設定する。詳細には、雰囲気温度Hが第1判定閾値Hth1未満場合、通電保持時間Xp、雰囲気温度Hが第1判定閾値Hth1以上、第2判定閾値Hth2未満場合、通電保持時間Xq、雰囲気温度Hが第2判定閾値Hth2以上の場合、通電保持時間Xrとする。各値の大小関係は、Hth1<Hth2、Xp<Xq<Xrである。雰囲気温度Hは、モータ10の環境温度であって、モータ10そのものの温度であってもよいし、例えばトランスミッションの油温等、モータ10の近傍に配置される他の部品の温度としてもよい。 In S120, which occurs after energization status ST2, the control unit 50 sets the energization hold time Xh3 of energization status ST3 according to the ambient temperature H. Specifically, if the ambient temperature H is less than the first determination threshold Hth1, the energization hold time is Xp; if the ambient temperature H is equal to or greater than the first determination threshold Hth1 but less than the second determination threshold Hth2, the energization hold time is Xq; and if the ambient temperature H is equal to or greater than the second determination threshold Hth2, the energization hold time is Xr. The magnitude relationships between the values are Hth1<Hth2 and Xp<Xq<Xr. The ambient temperature H is the ambient temperature of the motor 10 and may be the temperature of the motor 10 itself, or it may be the temperature of other components located near the motor 10, such as the oil temperature in the transmission.
通電ステータスST13は、1相通電にて1相1歯の状態にて保持する。ここで、1相通電の場合、ロータ103が振動しやすい。また、雰囲気温度Hが低い場合、フリクションが大きく、ロータ103が揺れにくい。そこで、本実施形態では、雰囲気温度Hが低いほど、通電ステータスST3での通電保持時間Xh3を短くすることで応答性を向上可能である。なお、この例では、2つの判定閾値Hth1、Hth2を用いて通電保持時間Xh3を3段階に設定しているが、判定閾値は1以上であればよく、段階数は問わない。また、閾値判定に替えて、雰囲気温度Hに応じたマップや関数での演算により通電保持時間Xh3を設定してもよい。さらにまた、通電ステータスST3と同様、1相通電である通電ステータスST1の通電保持時間Xh1についても雰囲気温度Hに応じて可変としてもよい。 The energization status ST13 is maintained in a one-phase, one-tooth state with one phase energization. Here, with one phase energization, the rotor 103 is prone to vibration. Furthermore, when the ambient temperature H is low, friction is large, making the rotor 103 less likely to vibrate. Therefore, in this embodiment, the lower the ambient temperature H, the shorter the energization hold time Xh3 in the energization status ST3, thereby improving responsiveness. Note that in this example, the energization hold time Xh3 is set to three levels using two determination thresholds Hth1 and Hth2. However, the number of levels does not matter as long as the determination threshold is 1 or greater. Furthermore, instead of threshold determination, the energization hold time Xh3 may be set by calculation using a map or function corresponding to the ambient temperature H. Furthermore, similar to the energization status ST3, the energization hold time Xh1 for the energization status ST1, which is one-phase energization, may also be variable according to the ambient temperature H.
本実施形態では、切替前準備処理における通電時間は、モータ温度に応じて可変である。詳細には、モータ温度が低いほど、通電ステータスST3の通電時間が短くなるように設定される。これにより、モータ温度に応じて通電時間が適切に設定されるので、特に低温時の応答性向上に寄与する。また上記実施形態と同様の効果を奏する。 In this embodiment, the energization time in the pre-switching preparation process is variable depending on the motor temperature. Specifically, the lower the motor temperature, the shorter the energization time of energization status ST3 is set. This allows the energization time to be appropriately set depending on the motor temperature, which contributes to improved responsiveness, especially at low temperatures. It also provides the same effects as the above embodiment.
(第3実施形態)
第3実施形態を図14および図15に示す。本実施形態のレンジ切替処理を図14のフローチャートに基づいて説明する。S201~S204の処理は、図11中のS101~S104の処理と同様である。
(Third embodiment)
The third embodiment is shown in Figures 14 and 15. The range switching process of this embodiment will be described with reference to the flowchart of Figure 14. The processes of S201 to S204 are the same as the processes of S101 to S104 in Figure 11.
通電ステータスST1での通電保持時間Xh1経過後に移行するS205では、制御部50は、振幅A1が振幅判定閾値Ath1以下か否か判断する。振幅A1は、例えば通電保持時間Xh1経過後からn個前のエンコーダカウント値の最大値と最小値の差分である。振幅A1の演算詳細は問わない。振幅判定閾値Ath1は、ロータ103が1相1歯の状態で保持されているとみなせる程度の値に設定される。後述の振幅A3および振幅判定閾値Ath3も同様である。振幅判定閾値Ath1、Ath3は、同じであってもよいし、異なっていてもよい。 In S205, which is reached after the energization hold time Xh1 in energization status ST1 has elapsed, the control unit 50 determines whether the amplitude A1 is equal to or less than the amplitude determination threshold Ath1. The amplitude A1 is, for example, the difference between the maximum and minimum values of the encoder count value n units before the energization hold time Xh1 has elapsed. The details of the calculation of the amplitude A1 are not important. The amplitude determination threshold Ath1 is set to a value that allows the rotor 103 to be considered to be held in a one-phase, one-tooth state. The same applies to the amplitude A3 and amplitude determination threshold Ath3 described below. The amplitude determination thresholds Ath1 and Ath3 may be the same or different.
振幅A1が振幅判定閾値Ath1以下であると判断された場合(S205:YES)、S207へ移行し、通電ステータスST2での通電を開始する。振幅A1が振幅判定閾値Ath1より大きいと判断された場合(S205:NO)、S206へ移行し、通電ステータスST1での通電を所定時間Xa延長する。その後、S207へ移行し、通電ステータスST2での通電を開始する。S207~S210の処理は、S105~S108の処理と同様である。 If it is determined that the amplitude A1 is equal to or less than the amplitude determination threshold Ath1 (S205: YES), the process proceeds to S207, where energization begins with energization status ST2. If it is determined that the amplitude A1 is greater than the amplitude determination threshold Ath1 (S205: NO), the process proceeds to S206, where energization with energization status ST1 is extended by a predetermined time Xa. Then, the process proceeds to S207, where energization begins with energization status ST2. The processing of S207 to S210 is the same as the processing of S105 to S108.
通電ステータスST3での通電保持時間Xh3経過後に移行するS211では、制御部50は、振幅A3が振幅判定閾値Ath3以下か否か判断する。振幅A3が振幅判定閾値Ath3以下であると判断された場合(S211:YES)、S213へ移行し、正常2相でのレンジ切り替えを実施する。振幅A3が振幅判定閾値Ath3より大きいと判断された場合(S211:NO)、S211へ移行し、通電ステータスST3での通電を所定時間Xc延長する。通電ステータスST1、ST3の延長時間は、同じであってもよいし、異なっていてもよい。S213~S215の処理は、図11中のS109~S111の処理と同様である。 In S211, which is reached after the energization hold time Xh3 in energization status ST3 has elapsed, the control unit 50 determines whether the amplitude A3 is equal to or less than the amplitude determination threshold Ath3. If it is determined that the amplitude A3 is equal to or less than the amplitude determination threshold Ath3 (S211: YES), the control unit 50 proceeds to S213 and performs range switching in normal two-phase. If it is determined that the amplitude A3 is greater than the amplitude determination threshold Ath3 (S211: NO), the control unit 50 proceeds to S211 and extends energization in energization status ST3 by a predetermined time Xc. The extension times for energization status ST1 and ST3 may be the same or different. The processing of S213 to S215 is the same as the processing of S109 to S111 in FIG. 11.
本実施形態のレンジ切替処理を図15のタイムチャートに基づいて説明する。ここでは、振幅判定閾値Ath1、Ath3が等しいものとして説明する。また、説明のため、1相通電での振動成分を強調して記載している。時刻x10~x12の処理は、図12の時刻x0~x2の処理と同様である。 The range switching process of this embodiment will be explained based on the time chart in Figure 15. Here, the explanation will be given assuming that the amplitude determination thresholds Ath1 and Ath3 are equal. For the sake of explanation, the vibration component with one phase current is emphasized. The process from times x10 to x12 is the same as the process from times x0 to x2 in Figure 12.
時刻x12にて、通電ステータスST1での1相通電によりロータ103が振動するが、通電保持時間Xh1が経過した時刻x13での振幅A1が振幅判定閾値Ath1以下であるので、通電ステータスST1を延長せず、通電ステータスST2へ切り替える。通電ステータスST2では、2相通電のため、ロータ103の振動は比較的小さい。 At time x12, the rotor 103 vibrates due to one-phase energization in energization status ST1. However, at time x13, after the energization hold time Xh1 has elapsed, the amplitude A1 is less than or equal to the amplitude determination threshold Ath1, so energization status ST1 is not extended and is switched to energization status ST2. In energization status ST2, two-phase energization is in effect, so the vibration of the rotor 103 is relatively small.
通電ステータスST2の開始から通電保持時間Xh2が経過した時刻x14にて、通電ステータスST2から通電ステータスST3に切り替え、1相通電にすると、ロータ103が振動する。通電保持時間Xh3が経過した時刻x15での振幅A3が振幅判定閾値Ath3より大きいので、通電ステータスST3での通電を所定時間Xc延長する。この例では、通電ステータスST3を延長している間に振幅が振幅判定閾値Ath3以下に収束している。通電ステータスST3を所定時間Xc延長した後、正常2相でのレンジ切り替えを行う。時刻x16以降の処理は、図12中の時刻x3以降の処理と同様である。 At time x14, when the energization hold time Xh2 has elapsed since the start of energization status ST2, the energization status ST2 is switched to energization status ST3, and one phase is energized, causing the rotor 103 to vibrate. Because the amplitude A3 at time x15, when the energization hold time Xh3 has elapsed, is greater than the amplitude determination threshold Ath3, energization in energization status ST3 is extended for a predetermined time Xc. In this example, the amplitude converges to or below the amplitude determination threshold Ath3 while energization status ST3 is being extended. After extending energization status ST3 for the predetermined time Xc, range switching is performed with normal two phases. Processing from time x16 onwards is the same as the processing from time x3 onwards in Figure 12.
本実施形態では、通電ステータスST1および通電ステータスST3の少なくとも一方において、通電保持時間が経過したときのモータ回転角の振幅A1、A3が振幅判定閾値Ath1、Ath3より大きい場合、通電時間を延長する。これにより2相通電と比較してステータ101とロータ103との対向状態が不安定になりやすい1相通電において、対向位置保持精度を高めることができる。また上記実施形態と同様の効果を奏する。 In this embodiment, if the amplitudes A1, A3 of the motor rotation angle when the energization holding time has elapsed are greater than the amplitude determination thresholds Ath1, Ath3 in at least one of energization status ST1 and energization status ST3, the energization time is extended. This improves the accuracy of maintaining the opposing positions in single-phase energization, where the opposing state between the stator 101 and rotor 103 is more likely to be unstable compared to two-phase energization. This also achieves the same effects as the above embodiment.
(第4実施形態)
第4実施形態を図16~図18に示す。図16は、S206に替えてS231、S232、S212に替えてS233、S234となっている点が図14と異なっている。通電ステータスST1にて、通電保持時間Xh1経過後に移行するS205において、振幅A1が振幅判定閾値Ath1より大きいと判断された場合(S205:NO)に移行するS231では、通電ステータスST1を延長する。
(Fourth embodiment)
A fourth embodiment is shown in Figures 16 to 18. Figure 16 differs from Figure 14 in that S231 and S232 replace S206, and S233 and S234 replace S212. In S205, which is performed after the current application hold time Xh1 has elapsed in the current application status ST1, if it is determined that the amplitude A1 is greater than the amplitude determination threshold Ath1 (S205: NO), the current application status ST1 is extended in S231.
S232では、制御部50は、通電ステータスST1の延長開始からタイムアウト時間Xout1が経過したか否か判断する。タイムアウト時間が経過していないと判断された場合(S232:NO)、通電ステータスST1の延長を継続し、S205へ戻る。タイムアウト時間Xout1が経過したと判断された場合(S232:YES)、S207へ移行し、通電状態を通電ステータスST2に切り替える。 In S232, the control unit 50 determines whether the timeout period Xout1 has elapsed since the start of extension of the energized status ST1. If it is determined that the timeout period has not elapsed (S232: NO), the control unit 50 continues to extend the energized status ST1 and returns to S205. If it is determined that the timeout period Xout1 has elapsed (S232: YES), the control unit 50 proceeds to S207 and switches the energized state to the energized status ST2.
通電ステータスST3にて、通電保持時間Xh3経過後に移行するS211において、振幅A3が振幅判定閾値Ath3より大きいと判断された場合(S211:NO)に移行するS233では、通電ステータスST3を延長する。 In S211, which is performed after the current holding time Xh3 has elapsed in the current status ST3, if it is determined that the amplitude A3 is greater than the amplitude determination threshold Ath3 (S211: NO), the current status ST3 is extended in S233.
S234では、制御部50は、通電ステータスST3の延長開始からタイムアウト時間Xout3が経過したか否か判断する。タイムアウト時間Xout3が経過していないと判断された場合(S234:NO)、通電ステータスST3の延長を継続し、S205へ戻る。タイムアウト時間Xout3が経過したと判断された場合(S234:YES)、S213へ移行する。 In S234, the control unit 50 determines whether the timeout period Xout3 has elapsed since the start of extension of the power-on status ST3. If it is determined that the timeout period Xout3 has not elapsed (S234: NO), the control unit 50 continues to extend the power-on status ST3 and returns to S205. If it is determined that the timeout period Xout3 has elapsed (S234: YES), the control unit 50 proceeds to S213.
本実施形態のレンジ切替処理を図17および図18のタイムチャートに基づいて説明する。図17は、タイムアウト時間Xout3の前に振動が収束した場合を示している。時刻x20~時刻x25の処理は、図15中の時刻x10~時刻x15の処理と同様である。時刻x25にて振幅A3が振幅判定閾値Ath3より大きいので、通電ステータスST3での通電を延長する。 The range switching process of this embodiment will be explained based on the time charts in Figures 17 and 18. Figure 17 shows a case where vibration subsides before the timeout period Xout3. The process from time x20 to time x25 is the same as the process from time x10 to time x15 in Figure 15. Because the amplitude A3 is greater than the amplitude determination threshold Ath3 at time x25, the current flow in the current flow status ST3 is extended.
通電ステータスST3の延長開始時刻である時刻x25からタイムアウト時間Xout3が経過する前の時刻x26にて、振幅A3が振幅判定閾値Ath3より小さくなっているので、切替前準備完了フラグをオンにし、正常2相でのレンジ切り替えを行う。時刻x26以降の処理は、上述の例と同様である。 At time x26, before the timeout period Xout3 has elapsed since time x25, which is the extension start time for the energization status ST3, the amplitude A3 becomes smaller than the amplitude determination threshold Ath3, so the pre-switching preparation completion flag is turned on and a normal two-phase range switch is performed. The processing from time x26 onwards is the same as in the example above.
図18は、タイムアウト時間Xout3内に振動が収束しなかった場合を示している。時刻x30~時刻x35の処理は、図15中の時刻x10~時刻x15の処理と同様である。時刻x35にて振幅A3が振幅判定閾値Ath3より大きいので、通電ステータスST3での通電を延長する。 Figure 18 shows a case where the vibration does not converge within the timeout period Xout3. The processing from time x30 to time x35 is the same as the processing from time x10 to time x15 in Figure 15. At time x35, the amplitude A3 is greater than the amplitude determination threshold Ath3, so the current flow in the current flow status ST3 is extended.
通電ステータスST3の開始時刻である時刻x35からタイムアウト時間Xout3が経過した時刻x36にて、振幅A3が振幅判定閾値Ath3より大きい状態が継続しているが、タイムアウトとして切替前準備フラグをオンにし、正常2相でのレンジ切り替えを行う。時刻x36以降の処理は上述の例と同様である。 At time x36, when the timeout period Xout3 has elapsed since time x35, the start time of energization status ST3, the amplitude A3 remains greater than the amplitude determination threshold Ath3. However, a timeout occurs, so the pre-switching preparation flag is turned on and range switching is performed with normal two phases. The processing from time x36 onwards is the same as in the example above.
切替前準備完了直前の通電ステータスST3は1相通電であるので、ロータ103が振動しやすく、対向位置が定まりにくい。そこで、タイムアウト時間Xout3が経過した場合、振動が収束しなくとも、ロータ103が所定の対向位置への移動が完了しているとみなし、切替前準備完了とする。これにより、適切にレンジ切り替えを開始することができる。 The current status ST3 immediately before pre-switching preparation is complete is one-phase current, which makes it easy for the rotor 103 to vibrate and makes it difficult to determine the opposing position. Therefore, if the timeout period Xout3 has elapsed, even if the vibration has not subsided, it is assumed that the rotor 103 has completed moving to the specified opposing position, and pre-switching preparation is completed. This allows range switching to begin appropriately.
本実施形態では、駆動制御部55は、通電の延長開始からタイムアウト時間Xout1、Xout3が経過した場合、次の通電処理に移行する。詳細には、通電ステータスST1にてタイムアウト時間Xout1が経過した場合、通電ステータスST2へ移行し、通電ステータスST3にてタイムアウト時間Xout3が経過した場合、正常2相駆動でのレンジ切り替えを開始する。これにより、1相通電での振動が収まらない場合でも、適切に次の通電処理に切り替えることができる。また上記実施形態と同様の効果を奏する。 In this embodiment, the drive control unit 55 transitions to the next energization process when the timeout periods Xout1 and Xout3 have elapsed since the start of the extended energization. Specifically, when the timeout period Xout1 has elapsed in energization status ST1, the drive control unit 55 transitions to energization status ST2. When the timeout period Xout3 has elapsed in energization status ST3, the drive control unit 55 initiates range switching in normal two-phase drive. This allows the drive control unit 55 to appropriately switch to the next energization process even if vibrations during single-phase energization do not subside. This also provides the same effects as the above embodiment.
(第5実施形態)
第5実施形態を図19~図22に示す。本実施形態では、切替開始前準備中に、切替開始準備が適切になされなかった場合、リトライを行う。本実施形態のレンジ切替処理を図19のフローチャートに基づいて説明する。
Fifth Embodiment
A fifth embodiment is shown in Figures 19 to 22. In this embodiment, if the preparation for starting switching is not properly performed during the pre-switching preparation, a retry is performed. The range switching process of this embodiment will be described with reference to the flowchart in Figure 19.
S301、S302の処理は、図11中のS101、S102の処理と同様である。切替要求があると判断された場合(S302:YES)、S303へ移行し、後述のリトライフラグをオフにする。 The processing of S301 and S302 is the same as the processing of S101 and S102 in Figure 11. If it is determined that a switch request has been made (S302: YES), the process proceeds to S303, where the retry flag described below is turned off.
S304~S306の処理は、図14中のS203~S205の処理と同様である。振幅A1が振幅判定閾値Ath1以下であると判断された場合(S306:YES)、S308へ移行する。振幅A1が振幅判定閾値Ath1より大きいと判断された場合(S306:NO)、S307へ移行し、リトライフラグをオンにする。 The processing of S304 to S306 is the same as the processing of S203 to S205 in FIG. 14. If it is determined that the amplitude A1 is equal to or less than the amplitude determination threshold Ath1 (S306: YES), the process proceeds to S308. If it is determined that the amplitude A1 is greater than the amplitude determination threshold Ath1 (S306: NO), the process proceeds to S307, where the retry flag is turned on.
S308~S312の処理は、図14中のS207~S211の処理と同様である。振幅A3が振幅判定閾値Ath3より大きいと判断された場合(S312:NO)、S314へ移行し、リトライフラグをオンにする。すでにオンである場合は、その状態を維持する。振幅A3が振幅判定閾値Ath3以下であると判断された場合(S312:YES)、S313へ移行する。 The processing of S308 to S312 is the same as the processing of S207 to S211 in FIG. 14. If it is determined that the amplitude A3 is greater than the amplitude determination threshold Ath3 (S312: NO), the process proceeds to S314, where the retry flag is turned on. If it is already on, the state is maintained. If it is determined that the amplitude A3 is equal to or less than the amplitude determination threshold Ath3 (S312: YES), the process proceeds to S313.
S313では、制御部50は、今回の通電ステータスST1での通電開始から、通電ステータスST3での通電が終了するまでの間に、モータ電圧Vmが電圧判定閾値Vth未満となる電圧低下が生じたか否か判断する。電圧低下に替えて、モータ電流Imが電流判定閾値Ith未満となる電流低下の有無を判定してもよい。電圧低下が生じていないと判断された場合(S313:NO)、S315へ移行する。電圧低下が生じたと判断された場合(S313:YES)、S314へ移行し、リトライフラグをオンにする。なお、ここでは説明のため、通電ステータスST3終了後に電圧低下の有無を判定しているが、本処理とは別途に電圧監視を行い、電圧低下が生じたタイミングでリトライフラグをオンにするようにしてもよい。 In S313, the control unit 50 determines whether a voltage drop occurred between the start of current flow in current flow status ST1 and the end of current flow in current flow status ST3, causing the motor voltage Vm to fall below the voltage determination threshold Vth. Instead of a voltage drop, the control unit 50 may also determine whether a current drop occurred, causing the motor current Im to fall below the current determination threshold Ith. If it is determined that a voltage drop did not occur (S313: NO), the process proceeds to S315. If it is determined that a voltage drop occurred (S313: YES), the process proceeds to S314, where the retry flag is set to ON. For the sake of explanation, the control unit 50 determines whether a voltage drop occurred after current flow status ST3 ends. However, the control unit 50 may also perform voltage monitoring separately from this process and set the retry flag to ON when a voltage drop occurs.
S315では、制御部50は、リトライフラグがオンか否か判断する。リトライフラグがオフであると判断された場合(S315:NO)、S319へ移行する。リトライフラグがオンであると判断された場合(S315:YES)、S316へ移行し、リトライカウンタCrをインクリメントする。 In S315, the control unit 50 determines whether the retry flag is on. If it is determined that the retry flag is off (S315: NO), the control unit 50 proceeds to S319. If it is determined that the retry flag is on (S315: YES), the control unit 50 proceeds to S316, where it increments the retry counter Cr.
S317では、制御部50は、リトライカウンタCrがカウント判定閾値Cthより小さいか否か判断する。リトライカウンタCrがカウント判定閾値Cthより小さいと判断された場合(S317:YES)、S303へ戻り、リトライフラグをオフし、切替前準備をリトライする。リトライカウンタCrがカウント判定閾値Cth以上であると判断された場合(S317:NO)、S318へ移行する。 In S317, the control unit 50 determines whether the retry counter Cr is smaller than the count determination threshold Cth. If it is determined that the retry counter Cr is smaller than the count determination threshold Cth (S317: YES), the process returns to S303, the retry flag is turned off, and pre-switch preparation is retried. If it is determined that the retry counter Cr is equal to or greater than the count determination threshold Cth (S317: NO), the process proceeds to S318.
S318では、制御部50は、入力された切替要求が、PレンジからnotPレンジへの切り替えか否か判断する。PレンジからnotPレンジへの切り替えであると判断された場合(S303:YES)、S319以降の処理をスキップする。notPレンジからPレンジへの切り替えであると判断された場合(S318:NO)、S319へ移行し、リトライフラグをオフにし、切替前準備完了フラグをオンにする。S320、S321の処理は、図11中のS110、S111の処理と同様である。 In S318, the control unit 50 determines whether the input switching request is for switching from P range to not P range. If it is determined that the request is for switching from P range to not P range (S303: YES), the processing from S319 onwards is skipped. If it is determined that the request is for switching from not P range to P range (S318: NO), the processing proceeds to S319, where the retry flag is turned off and the pre-switch preparation completion flag is turned on. The processing of S320 and S321 is the same as the processing of S110 and S111 in FIG. 11.
すなわち本実施形態では、所定回数の切替前準備処理のリトライを行っても、リトライフラグがセットされている場合、P入れ側については正常2相駆動でのレンジ切り替えを行い、P抜き側はレンジ切り替えを行わない。ここで、リトライフラグがセットされている状態は、リトライ条件が成立している状態、と捉えることができる。なお、S318を省略し、レンジ切り替え方向によらず、所定のリトライ回数後に、正常2相駆動を行うようにしてもよい。 In other words, in this embodiment, if the retry flag is set even after a predetermined number of retries of the pre-switching preparation process, range switching is performed using normal two-phase drive on the P-in side, and range switching is not performed on the P-out side. Here, the state in which the retry flag is set can be considered to be a state in which the retry condition is met. Note that S318 may be omitted, and normal two-phase drive may be performed after a predetermined number of retries, regardless of the range switching direction.
本実施形態のレンジ切替処理を図20~図22のタイムチャートに基づいて説明する。図20は、切替前準備処理中に電圧低下が生じた場合の例であって、共通時間軸を横軸とし、上段からモータ制御、1相断線検出状態、切替前準備完了フラグ、リトライフラグ、リトライカウンタ、モータ電圧、通電相を示している。図22も同様である。 The range switching process of this embodiment will be explained based on the time charts in Figures 20 to 22. Figure 20 shows an example of a case where a voltage drop occurs during pre-switching preparation processing, with the horizontal axis representing a common time axis, and from the top row showing motor control, one-phase open circuit detection status, pre-switching preparation completion flag, retry flag, retry counter, motor voltage, and current-carrying phase. The same is true for Figure 22.
時刻x40~時刻x42の処理は、図12中の時刻x0~時刻x2の処理と同様である。時刻x43にて、モータ電圧Vmが電圧判定閾値Vthを下回ると、リトライフラグがオンされる。 The processing from time x40 to time x42 is the same as the processing from time x0 to time x2 in Figure 12. At time x43, when the motor voltage Vm falls below the voltage determination threshold Vth, the retry flag is turned on.
通電ステータスST3が終了した時刻44にて、リトライフラグがオンであるので、切替前準備処理のリトライを行う。時刻x44では、リトライフラグをオフにし、リトライカウンタをインクリメントする。時刻x44から時刻x45にて、再度、通電ステータスST1~ST3での通電を行う。 At time x44, when power-on status ST3 ends, the retry flag is on, so the pre-switching preparation process is retried. At time x44, the retry flag is turned off and the retry counter is incremented. From time x44 to time x45, power is again applied with power-on statuses ST1 to ST3.
時刻x45にて、リトライでの通電ステータスST3が終了したとき、今回のリトライ中の電圧低下が検出されず、リトライフラグがオフであるので、切替前準備完了フラグがオンされ、正常2相でのレンジ切り替えを行う。時刻x45以降の処理は、図12中の時刻x3以降の処理と略同様である。なお、リトライカウンタは、レンジ切替開始後の任意のタイミングでリセットされる。図20では、切替前準備完了フラグをオフするタイミングにてリトライカウンタをリセットしているが、異なるタイミングであってもよい。 At time x45, when the current status ST3 for the retry ends, no voltage drop was detected during this retry and the retry flag is off, so the pre-switching preparation complete flag is turned on and a normal two-phase range change is performed. The processing from time x45 onwards is substantially the same as the processing from time x3 onwards in Figure 12. Note that the retry counter is reset at any timing after the start of range change. In Figure 20, the retry counter is reset when the pre-switching preparation complete flag is turned off, but this may be done at a different timing.
図21は、通電ステータスST3での振動が収束しなかった場合の例であって、共通時間軸を横軸とし、上段から、モータ制御、1相断線検出状態、切替前準備完了フラグ、リトライフラグ、リトライカウンタ、回転角度センサ、通電相を示している。時刻x50~時刻x52の処理は、図12中の時刻x0~時刻x2の処理と同様である。 Figure 21 shows an example of when vibrations at energization status ST3 have not converged. The horizontal axis represents a common time axis, and from the top, it shows motor control, one-phase open circuit detection status, pre-switching preparation completion flag, retry flag, retry counter, rotation angle sensor, and energized phase. The processing from time x50 to time x52 is the same as the processing from time x0 to time x2 in Figure 12.
時刻x53にて、通電ステータスST3が終了したとき、振幅A3が振幅判定閾値Ath3より大きいので、リトライフラグをオンにし、時刻x54にて、切替前準備処理のリトライを行う。時刻x54では、リトライフラグをオフにし、リトライカウンタをインクリメントする。なお、図21では、説明のため、時刻x53を紙面左側にずらして記載した。この例では、通電ステータスST1終了後の振幅A1が振幅判定閾値Ath1以下であるが、振幅A1が振幅判定閾値Ath1より大きい場合は、通電ステータスST1終了時にリトライフラグをセットする。 When energization status ST3 ends at time x53, amplitude A3 is greater than amplitude judgment threshold Ath3, so the retry flag is turned on and the pre-switching preparation process is retried at time x54. At time x54, the retry flag is turned off and the retry counter is incremented. Note that for the sake of explanation, time x53 is shifted to the left side of the page in Figure 21. In this example, amplitude A1 after energization status ST1 ends is less than or equal to amplitude judgment threshold Ath1, but if amplitude A1 is greater than amplitude judgment threshold Ath1, the retry flag is set when energization status ST1 ends.
時刻x55では、リトライでの通電ステータスST3が終了したとき、振幅A1、A3が振幅判定閾値Ath1、Ath3以下であって、リトライフラグがオンされないので、正常2相でのレンジ切替を行う。時刻x55以降の処理は、図12中の時刻x3以降の処理と同様である。 At time x55, when the retry energization status ST3 ends, the amplitudes A1 and A3 are less than or equal to the amplitude determination thresholds Ath1 and Ath3, and the retry flag is not turned on, so range switching is performed for normal two phases. The processing from time x55 onwards is the same as the processing from time x3 onwards in Figure 12.
図22は、リトライを行っても電圧低下が生じた場合の例である。図22では、notPレンジからPレンジへの切り替えであるものとする。時刻x60~時刻x64の処理は、図20中の時刻x40~時刻x44の処理と同様である。時刻x65にて、リトライ中にもモータ電圧Vmが電圧判定閾値Vthを下回ると、リトライフラグがオンされる。 Figure 22 shows an example of a case where a voltage drop occurs even after a retry. In Figure 22, it is assumed that the range is switched from not P to P. The processing from time x60 to time x64 is the same as the processing from time x40 to time x44 in Figure 20. At time x65, if the motor voltage Vm falls below the voltage determination threshold Vth even during a retry, the retry flag is turned on.
時刻x66にて、リトライでの通電ステータスST3が終了したとき、リトライフラグがオンであるので、リトライフラグをオフにし、リトライカウンタをインクリメントする。ここで、カウント判定閾値Cthが2である場合、2回目のリトライは行わず、切替前準備完了フラグをオンにし、正常2相でのレンジ切り替えを行う。時刻x66以降の処理は、図12中の時刻x3以降の処理と略同様である。 At time x66, when the energization status ST3 in the retry ends, the retry flag is on, so the retry flag is turned off and the retry counter is incremented. Here, if the count determination threshold Cth is 2, a second retry is not performed, the pre-switching preparation complete flag is turned on, and range switching is performed with normal two phases. The processing from time x66 onwards is substantially the same as the processing from time x3 onwards in Figure 12.
本実施形態では、切替前準備処理中の電圧低下により、切替前準備処理が失敗している虞がある場合、切替前準備処理のリトライを行う。また、通電ステータスST1にて、振動が収束しなかった場合、通電ステータスST2、ST3と切り替えたとき、例えば凹部対向になる等、2相2歯、1相1歯と対向状態が切り替わらない虞があるため、切替前準備のリトライを行う。さらにまた、切替前準備処理として通電ステータスST3の開始から通電保持時間Xh3が経過しても振幅A3が振幅判定閾値Ath3より大きく、ロータ103が所定の対向状態となっていない場合、切替前準備処理のリトライを行う。これにより、適切な対向状態から正常2相でのレンジ切り替えを開始することができる。 In this embodiment, if there is a risk that the pre-switching preparation process has failed due to a voltage drop during the pre-switching preparation process, the pre-switching preparation process is retried. Furthermore, if vibrations do not converge in the energization status ST1, there is a risk that the opposing state will not change to two phases, two teeth, or one phase, one tooth when the energization status is switched to ST2 or ST3, for example, due to a recessed portion being opposed. Therefore, the pre-switching preparation process is retried. Furthermore, if the amplitude A3 is greater than the amplitude determination threshold Ath3 even after the energization hold time Xh3 has elapsed since the start of the pre-switching preparation process in energization status ST3, and the rotor 103 is not in the specified opposing state, the pre-switching preparation process is retried. This allows range switching to be initiated with a normal two-phase opposing state.
本実施形態では、切替前準備処理においてリトライ条件が成立した場合、切替前準備処理を再度行う。制御部50は、通電ステータスST1および通電ステータスST3の少なくとも一方において、通電保持時間Xh1、Xh3が経過したときのモータ回転角の振幅A1、A3が振幅判定閾値Ath1、Ath3より大きい場合、リトライ条件が成立したと判定する。また、制御部50は、始動前切替準備中にモータ電圧Vmまたはモータ電流Imが判定閾値より小さくなった場合、リトライ条件が成立したと判定する。これにより、切替前準備処理の精度を向上することができる。 In this embodiment, if a retry condition is met during the pre-switching preparation process, the pre-switching preparation process is performed again. The control unit 50 determines that the retry condition is met if, in at least one of the energization status ST1 and the energization status ST3, the amplitudes A1 and A3 of the motor rotation angle when the energization hold times Xh1 and Xh3 have elapsed are greater than the amplitude determination thresholds Ath1 and Ath3. The control unit 50 also determines that the retry condition is met if the motor voltage Vm or motor current Im becomes smaller than the determination threshold during pre-start switching preparation. This improves the accuracy of the pre-switching preparation process.
駆動制御部55は、リトライ回数が判定回数以上となった場合、正常2相駆動を開始する。これにより、振動が大きい場合等においても、モータ10の駆動を開始することができる。 When the number of retries reaches or exceeds the determined number, the drive control unit 55 starts normal two-phase drive. This allows the motor 10 to start driving even when there is significant vibration.
ECU40は、シフトバイワイヤシステムに適用され、リトライ回数が判定回数以上、かつ、リトライ条件が成立している場合、正常2相駆動によるPレンジ以外のレンジからPレンジへの切り替えを許容し、PレンジからPレンジ以外のレンジへの切り替えを禁止する。これにより、シフトレンジを適切に切り替えることができる。また上記実施形態と同様の効果を奏する。 When applied to a shift-by-wire system, the ECU 40 allows shifting from a range other than P range to P range using normal two-phase drive when the number of retries is equal to or greater than the number of determinations and the retry conditions are met, and prohibits shifting from P range to a range other than P range. This allows the shift range to be switched appropriately, and also achieves the same effects as the above embodiment.
(第6実施形態)
第6実施形態を図23~図27に示す。上記実施形態では、シフトレンジの切替要求があったときに、切替前準備処理を行う。本実施形態では、レンジ切替要求の前に、予め切替前準備処理を行う。
Sixth Embodiment
23 to 27 show a sixth embodiment. In the above-described embodiments, pre-switching preparation processing is performed when a request to switch the shift range is made. In this embodiment, pre-switching preparation processing is performed in advance before a range switching request is made.
本実施形態の起動時処理を図23のフローチャートに基づいて説明する。この処理は、イグニッションスイッチ等の車両の始動スイッチがオンされたときに実行される。S401では、制御部50は、初期駆動が完了したか否か判断する。初期駆動処理は、エンコーダ13とロータ103との相対位置を対応させるための通電処理である。初期駆動が完了していないと判断された場合(S401:NO)、この判断処理を繰り返す。初期駆動が完了したと判断された場合(S401:YES)、S402へ移行する。 The startup process of this embodiment will be described based on the flowchart in Figure 23. This process is executed when a vehicle start switch, such as an ignition switch, is turned on. In S401, the control unit 50 determines whether initial drive has been completed. The initial drive process is a current application process for matching the relative positions of the encoder 13 and the rotor 103. If it is determined that initial drive has not been completed (S401: NO), this determination process is repeated. If it is determined that initial drive has been completed (S401: YES), the process proceeds to S402.
S402の処理は、図11のS101の処理と同様であり、1相断線が検出されていないと判断された場合(S402:NO)、以降の処理をスキップし、1相断線が検出されていると判断された場合(S402:YES)、S403へ移行する。 The processing of S402 is the same as the processing of S101 in Figure 11. If it is determined that a one-phase break has not been detected (S402: NO), the subsequent processing is skipped. If it is determined that a one-phase break has been detected (S402: YES), the processing proceeds to S403.
S403~S408は、図11中のS103~S108と同様の切替前準備処理である。切替前準備処理が完了すると、制御部50は、S409にて切替前準備完了フラグをオンにし、S410にてスタンバイモードに移行し、本処理を終了する。また、本実施形態では、切替前準備処理が完了したときのエンコーダカウント値を初期値ENiとして、図示しないRAM等の記憶部に保持しておく。 S403 to S408 are pre-switching preparation processes similar to S103 to S108 in Figure 11. When the pre-switching preparation process is completed, the control unit 50 turns on the pre-switching preparation completion flag in S409, transitions to standby mode in S410, and ends this process. In this embodiment, the encoder count value when the pre-switching preparation process is completed is set as the initial value ENi and is stored in a storage unit such as RAM (not shown).
本実施形態のレンジ切替処理を図24のフローチャートに基づいて説明する。S501、S502の処理は、図11中のS101、S102の処理と同様である。切替要求があると判断された場合(S502:YES)、S505へ移行し、切替要求がないと判断された場合(S502:NO)、S503へ移行する。 The range switching process of this embodiment will be described based on the flowchart in Figure 24. The processes of S501 and S502 are the same as the processes of S101 and S102 in Figure 11. If it is determined that a switching request has been made (S502: YES), the process proceeds to S505; if it is determined that a switching request has not been made (S502: NO), the process proceeds to S503.
S503では、制御部50は、現在のエンコーダカウント値ENと初期値ENiの差である回転量ΔENが0か否か判断する。回転量ΔENが0であると判断された場合(S503:YES)、すなわち切替前準備処理が完了してからロータ103が動いていない場合、以降の処理をスキップする。回転量ΔENが0ではないと判断された場合(S503:NO)、すなわち切替準備完了からロータ103が動いている場合、S504へ移行し、切替前準備完了フラグをオフにする。 In S503, the control unit 50 determines whether the rotation amount ΔEN, which is the difference between the current encoder count value EN and the initial value ENi, is 0. If it is determined that the rotation amount ΔEN is 0 (S503: YES), that is, if the rotor 103 has not moved since the pre-switching preparation process was completed, the control unit 50 skips the subsequent processes. If it is determined that the rotation amount ΔEN is not 0 (S503: NO), that is, if the rotor 103 has moved since the pre-switching preparation was completed, the control unit 50 proceeds to S504 and turns off the pre-switching preparation completion flag.
レンジ切替要求があると判断された場合(S502:YES)に移行するS505では、制御部50は、切替前準備完了フラグがオンか否か判断する。切替前準備完了フラグがオンであると判断された場合(S505:YES)、S516へ移行する。切替前準備完了フラグがオフであると判断された場合(S505:NO)、S506へ移行する。 If it is determined that a range switch request has been made (S502: YES), the control unit 50 proceeds to S505, where it determines whether the pre-switch preparation complete flag is on. If it is determined that the pre-switch preparation complete flag is on (S505: YES), it proceeds to S516. If it is determined that the pre-switch preparation complete flag is off (S505: NO), it proceeds to S506.
S506では、制御部50は、回転量ΔENが回転量判定閾値ENthより小さいか否か判断する。回転量判定閾値ENthは、通電相が1つ切り替わったときの回転量に対応する値であって、例えばエンコーダカウント値の2カウント分とする。回転量ΔENが回転量判定閾値ENthより小さいと判断された場合(S507:YES)、S507へ移行する。回転量ΔENが回転量判定閾値ENth以上であると判断された場合(S507:NO)、S509へ移行する。 In S506, the control unit 50 determines whether the rotation amount ΔEN is smaller than the rotation amount determination threshold ENth. The rotation amount determination threshold ENth is a value corresponding to the rotation amount when one energized phase is switched, and is, for example, two counts of the encoder count value. If it is determined that the rotation amount ΔEN is smaller than the rotation amount determination threshold ENth (S507: YES), the process proceeds to S507. If it is determined that the rotation amount ΔEN is equal to or greater than the rotation amount determination threshold ENth (S507: NO), the process proceeds to S509.
S508、S509の処理は、図11中のS107、S108の処理と同様であって、通電保持時間Xh3に亘り通電ステータスST3での通電を行う。通電ステータスST3にて、通電保持時間Xh3が経過したと判断された場合(S508:YES)、S515へ移行する。 The processing of S508 and S509 is the same as the processing of S107 and S108 in Figure 11, and energization is performed in energization status ST3 for the energization hold time Xh3. If it is determined that the energization hold time Xh3 has elapsed in energization status ST3 (S508: YES), the process proceeds to S515.
S509~S514の処理は、図11中のS103~S108の処理と同様であって、回転量ΔENが回転量判定閾値ENth以上の場合、通電ステータスST1、ST2、ST3と切り替えることで、切替前準備処理を行う。通電ステータスST3にて、通電保持時間Xh3が経過したと判断された場合(S514:YES)、S515へ移行する。 The processing of S509 to S514 is the same as the processing of S103 to S108 in Figure 11. If the rotation amount ΔEN is equal to or greater than the rotation amount determination threshold ENth, the pre-switching preparation processing is performed by switching the current status between ST1, ST2, and ST3. If it is determined in current status ST3 that the current hold time Xh3 has elapsed (S514: YES), the processing proceeds to S515.
S515~S517の処理は、図11中のS109~S111の処理と同様であって、正常2相でのレンジ切り替えを行う。レンジ切替が完了したと判断された場合(S517:YES)、S518へ移行し、切替前準備処理を行う。S518では、S509~S515と同様、通電ステータスST1、ST2、ST3と切り替えることで、切替前準備処理を行う。通電ステータスST3にて通電保持時間Xh3が経過した後、切替前準備完了フラグをオンにし、S519にてスタンバイモードとする。また、切替前準備完了時のエンコーダカウント値ENを初期値ENiとして保持する。 The processing of S515 to S517 is the same as the processing of S109 to S111 in Figure 11, and performs range switching with normal two phases. If it is determined that range switching is complete (S517: YES), proceed to S518 and perform pre-switching preparation processing. In S518, pre-switching preparation processing is performed by switching the current status between ST1, ST2, and ST3, just like in S509 to S515. After the current hold time Xh3 has elapsed in current status ST3, the pre-switching preparation complete flag is turned on, and standby mode is entered in S519. In addition, the encoder count value EN at the time pre-switching preparation is complete is retained as the initial value ENi.
本実施形態のレンジ切替処理を図25~図27のタイムチャートに基づいて説明する。図25に示すように、時刻x70にてIGオンされ、初期診断等により1相断線が検出されると、初期駆動が終了した時刻x72から切替前準備処理として、通電ステータスST1、ST2、ST3の順に通電相を切り替える。切替前準備処理が完了した時刻x73にて、切替前準備完了フラグをオンにし、スタンバイモードとする。 The range switching process of this embodiment will be explained based on the time charts in Figures 25 to 27. As shown in Figure 25, when the IG is turned on at time x70 and a one-phase break is detected through an initial diagnosis or the like, pre-switching preparation processing is performed from time x72 when the initial drive is completed, in which the energized phases are switched in the order of energization status ST1, ST2, and ST3. At time x73 when the pre-switching preparation processing is completed, the pre-switching preparation completion flag is turned on and the system enters standby mode.
図25の例では、スタンバイ中にロータ103が動いておらず、切替前準備完了フラグがオンの状態が継続される。時刻x74にてシフトレンジ切替要求が入力されたとき、切替前準備完了フラグがオンされているので、この状態から正常2相を用いたフィードバック制御でのレンジ切り替えが実施される。 In the example of Figure 25, the rotor 103 is not moving during standby, and the pre-switch preparation complete flag remains on. When a shift range switch request is input at time x74, the pre-switch preparation complete flag is on, so range switching is performed using feedback control using the normal two phases from this state.
時刻x75にて、目標到達判定範囲に到達すると、停止制御を行う。時刻x76にて停止制御が終了すると、次のレンジ切り替えに備えて切替前準備処理を行う。次回のレンジ切り替えは、回転方向が逆転方向となるので、U相断線の場合、V相→VW相→W相の順で通電する。切替前準備処理が終了した時刻x77にて、切替前準備完了フラグをオンに、スタンバイモードへ移行する。 At time x75, when the target attainment determination range is reached, stop control is performed. When stop control ends at time x76, pre-switch preparation processing is performed in preparation for the next range switch. Since the rotation direction will be reversed for the next range switch, if there is a U-phase break, current is applied in the order V-phase → VW-phase → W-phase. At time x77 when pre-switch preparation processing ends, the pre-switch preparation complete flag is turned on and the system transitions to standby mode.
図26では、時刻x80~時刻X83の処理は、図25中の時刻x70~時刻x73の処理と同様である。時刻x84にて、例えば振動等により、切替前準備完了時の停止位置からロータ103が動くと、切替前準備完了フラグがオフされる。 In Figure 26, the processing from time x80 to time x83 is the same as the processing from time x70 to time x73 in Figure 25. At time x84, if the rotor 103 moves from the stop position at which it was stopped when pre-switching preparation was complete, for example due to vibration, the pre-switching preparation completion flag is turned off.
時刻x85にて、シフトレンジ切替要求が入力されたとき、切替前準備完了フラグがオフであるので、再度切替前準備処理を行う。図26の例では、切替前準備完了からの回転量ΔENが回転量判定閾値ENthより小さいので、切替前準備処理として、通電ステータスST3のみ、すなわちU相断線での正転であればV相通電を行う。 When a shift range switch request is input at time x85, the pre-switch preparation complete flag is off, so pre-switch preparation processing is performed again. In the example of Figure 26, the rotation amount ΔEN from pre-switch preparation complete is less than the rotation amount determination threshold ENth, so as pre-switch preparation processing, V-phase current is applied if only energization status ST3 is present, i.e., forward rotation with U-phase disconnection.
時刻x86にて、切替前準備処理が完了すると、切替前準備完了フラグがオンされ、正常2相を用いたフィードバック制御でのレンジ切り替えが実施される。時刻x86以降の処理は、図25中の時刻x74以降の処理と同様である。 At time x86, when the pre-switching preparation process is completed, the pre-switching preparation completion flag is turned on, and range switching is performed using feedback control using the two normal phases. The process from time x86 onwards is the same as the process from time x74 onwards in Figure 25.
図27では、時刻x90~時刻x93の処理は、図25中のx70~x73の処理と同様である。時刻x94にて、振動等により切替前準備完了時の停止位置からロータ103が動くと、切替前準備完了フラグがオフされる。 In Figure 27, the processing from time x90 to time x93 is the same as the processing from x70 to x73 in Figure 25. At time x94, when the rotor 103 moves from the stop position at the time pre-switching preparation is complete due to vibration or the like, the pre-switching preparation completion flag is turned off.
時刻x95にて、シフトレンジ切替要求が入力されたとき、切替前準備完了フラグがオフであるので、再度切替前準備処理を行う。図27の例では、切替前準備完了からの回転量ΔENが回転量判定閾値ENth以上であるので、時刻x92~時刻x93等の切替前準備処理と同様、通電ステータスST1、ST2、ST3の順に通電相を切り替える。 When a shift range switch request is input at time x95, the pre-switch preparation completion flag is off, so pre-switch preparation processing is performed again. In the example of Figure 27, the rotation amount ΔEN since pre-switch preparation completion is equal to or greater than the rotation amount determination threshold ENth, so the energized phases are switched in the order of energization status ST1, ST2, and ST3, as in the pre-switch preparation processing from time x92 to time x93, etc.
時刻x96にて、切替前準備処理が完了すると、切替前準備完了フラグがオンされ、正常2相を用いたフィードバック制御でのレンジ切り替えが実施される。時刻x96以降の処理は、図25中の時刻x74以降の処理と同様である。 At time x96, when the pre-switching preparation process is completed, the pre-switching preparation completion flag is turned on, and range switching is performed using feedback control using the two normal phases. The process from time x96 onwards is the same as the process from time x74 onwards in Figure 25.
本実施形態では、初期駆動完了後、および、レンジ切替完了時に切替前準備処理を行っておくことで、シフト要求後に切替前準備処理を行う場合と比較し、レンジ切り替えに要する時間を短縮することができる。 In this embodiment, by performing pre-switching preparation processing after initial driving is complete and when range switching is complete, the time required for range switching can be shortened compared to when pre-switching preparation processing is performed after a shift request.
また、事前に切替前準備処理を行う場合、シフトレンジ切替要求が入力されるまでの間に、振動等によりロータ103が動き、ステータ101とロータ103との対向状態が変わってしまう虞がある。そのため、切替前準備処理完了後にロータ103が動いた場合には、レンジ切替前に、再度切替前準備処理を行う。 Furthermore, if pre-switch preparation processing is performed in advance, there is a risk that the rotor 103 may move due to vibration or the like before the shift range switching request is input, changing the opposing state between the stator 101 and rotor 103. Therefore, if the rotor 103 moves after the pre-switch preparation processing is completed, the pre-switch preparation processing is performed again before the range is switched.
切替前準備完了後からのロータ103の回転量が小さく、通電ステータスST3で切替前準備完了時の対向状態に戻せる場合は、切替前準備処理を通電ステータスST3のみとすることで、通電ステータスST1からの通電を行う場合と比較し、切替前準備処理に要する時間を短縮することができる。また、ロータ103の回転量ΔENが回転量判定閾値ENth以上の場合は、通電ステータスST1~ST3の通電を行うことで、所定の対向状態からレンジ切り替えを開始することができる。 If the amount of rotation of the rotor 103 after pre-switching preparation is complete is small and the opposing state at the time of pre-switching preparation completion can be restored in energization status ST3, the pre-switching preparation process can be limited to energization status ST3, thereby shortening the time required for the pre-switching preparation process compared to when energization is performed from energization status ST1. Furthermore, if the amount of rotation ΔEN of the rotor 103 is equal to or greater than the rotation amount determination threshold ENth, energization in energization statuses ST1 to ST3 can be performed to start range switching from the specified opposing state.
ここで、シフトレンジ切替要求入力から停止制御開始までの時間を応答時間とし、切替前準備完了からシフトレンジ切替要求の入力までにロータ103が動かなかった場合の応答時間をXr1、シフトレンジ切替要求入力までの回転量ΔENが回転量判定閾値ENthより小さい場合の応答時間をXr2、シフトレンジ切替要求入力までの回転量ΔENが回転量判定閾値ENth以上の場合の応答時間Xr3とすると、Xr1<Xr2<Xr3である。 Here, the response time is the time from the input of the shift range switch request to the start of stop control, the response time when the rotor 103 does not move from the completion of pre-switch preparation until the input of the shift range switch request is Xr1, the response time when the rotation amount ΔEN until the input of the shift range switch request is less than the rotation amount determination threshold ENth is Xr2, and the response time when the rotation amount ΔEN until the input of the shift range switch request is greater than or equal to the rotation amount determination threshold ENth is Xr3, where Xr1 < Xr2 < Xr3.
本実施形態では、駆動制御部55は、3相のうちの1相に断線故障が生じており、正常な2相を用いてモータを駆動する正常2相駆動を行う場合、システム起動時、および、モータ10の停止制御後の少なくとも一方において、正常2相駆動開始時の通電保持相への通電とは異なる通電パターンでの通電を行った後に、通電保持相に通電する切替前準備処理を行う。これにより、モータ10の始動開始時に切替前準備処理を行う場合よりも、応答性を向上することができる。 In this embodiment, when a wire breakage fault occurs in one of the three phases and normal two-phase drive is performed, in which the motor is driven using the two normal phases, the drive control unit 55 performs pre-switching preparation processing to energize the energized phase after energizing it using a different energization pattern than the energization to the energized phase at the start of normal two-phase drive, at least either at system startup or after motor 10 stop control. This allows for improved responsiveness compared to when pre-switching preparation processing is performed at the start of motor 10 startup.
切替前準備処理が完了した後、モータ10の駆動を開始するまでの間にモータ10が回転した場合、再度、切替前準備処理を行った後、正常2相駆動を行う。これにより、切替前準備処理完了からモータの駆動開始までに、振動等によりロータ103が動いた場合、再度切替前準備処理を行うことで、適切な対向状態から正常2相駆動を開始することができる。 If the motor 10 rotates after the pre-switching preparation process is completed and before the motor 10 starts to drive, the pre-switching preparation process is performed again, and then normal two-phase drive is performed. As a result, if the rotor 103 moves due to vibration or the like between the completion of the pre-switching preparation process and the start of motor drive, the pre-switching preparation process can be performed again, allowing normal two-phase drive to start from the appropriate opposing state.
また、切替前準備処理が完了してからモータ10の駆動を開始するまでのモータ10の回転量ΔENが回転量判定閾値ENthより小さい場合、モータ駆動開始前の切替前準備処理において、通電保持相以外への通電を省略する。これにより、モータ駆動開始前の切替前準備処理時間を短縮することができる。また上記実施形態と同様の効果を奏する。 Furthermore, if the rotation amount ΔEN of the motor 10 from the completion of the pre-switching preparation process to the start of driving the motor 10 is smaller than the rotation amount determination threshold ENth, energization to phases other than the energization hold phase is omitted in the pre-switching preparation process before motor driving starts. This shortens the pre-switching preparation process time before motor driving starts, and also achieves the same effects as the above embodiment.
実施形態では、エンコーダ13が「回転位置センサ」、エンコーダカウント値が「回転位置センサの検出値」、ECU40が「モータ制御装置」に対応する。また、切替前準備処理が「始動前準備処理」、通電ステータスST1が「第1通電処理」、通電ステータスST2が「第2通電処理」、通電ステータスST3が「第3通電処理」に対応し、通電ステータスST3での通電相が「通電保持相」に対応する。 In this embodiment, the encoder 13 corresponds to the "rotational position sensor," the encoder count value corresponds to the "detection value of the rotational position sensor," and the ECU 40 corresponds to the "motor control device." Furthermore, the pre-switching preparation process corresponds to the "pre-start preparation process," the energization status ST1 corresponds to the "first energization process," the energization status ST2 corresponds to the "second energization process," the energization status ST3 corresponds to the "third energization process," and the energization phase in the energization status ST3 corresponds to the "energization holding phase."
(他の実施形態)
第1実施形態~第6実施形態は、例えば、切替前準備処理の実施タイミングによらず、雰囲気温度に応じて通電保持時間を可変する、リトライを行う前に通電ステータスの延長を行う、タイムアウトした場合、P入れを許容し、P抜きを禁止する、といった具合に、各実施形態の処理は適宜組み合わせて実施可能である。
(Other embodiments)
In the first to sixth embodiments, the processing of each embodiment can be implemented in an appropriate combination, for example, by varying the power-on hold time depending on the ambient temperature regardless of the timing of the pre-switching preparation process, extending the power-on status before performing a retry, or allowing P-on and prohibiting P-off if a timeout occurs.
上記実施形態では、通電前準備処理として、通電ステータスST1、ST2、ST3の順で通電相を切り替える。他の実施形態では、通電ステータスST1、ST2の一方を省略してもよい。 In the above embodiment, the pre-energization preparation process involves switching the energized phase in the order of energization status ST1, ST2, and ST3. In other embodiments, one of energization status ST1 and ST2 may be omitted.
上記実施形態では、回転検出部はエンコーダである。他の実施形態では、例えばレゾルバ等のエンコーダ以外の回転位置を検出可能なセンサ等を用いてもよい。上記実施形態では、モータは、スイッチトリラクタンスモータである。他の実施形態では、モータは、スイッチトリラクタンスモータ以外のもの、例えばDCブラシレスモータ等であってもよい。また、モータ巻線の相数は、4相以上であってもよい。 In the above embodiment, the rotation detection unit is an encoder. In other embodiments, a sensor capable of detecting rotational position other than an encoder, such as a resolver, may be used. In the above embodiment, the motor is a switched reluctance motor. In other embodiments, the motor may be something other than a switched reluctance motor, such as a DC brushless motor. The number of phases of the motor winding may also be four or more.
上記実施形態では、ディテントプレートには2つの谷部が設けられる。他の実施形態では、谷部の数は2つに限らず、例えば、P、R、N、Dの各レンジに対応する4つの谷部が形成されていてもよい。また、ディテント機構やパーキングロック機構等は、上記実施形態と異なっていてもよい。 In the above embodiment, two valleys are provided on the detent plate. In other embodiments, the number of valleys is not limited to two, and for example, four valleys may be formed corresponding to the P, R, N, and D ranges. Furthermore, the detent mechanism, parking lock mechanism, etc. may differ from those in the above embodiment.
上記実施形態では、モータ制御装置はシフトバイワイヤシステムに適用される。他の実施形態では、モータ制御装置をシフトバイワイヤシステム以外の車載システム、または、車載以外のモータ駆動システムに適用してもよい。 In the above embodiment, the motor control device is applied to a shift-by-wire system. In other embodiments, the motor control device may be applied to an in-vehicle system other than a shift-by-wire system, or to a motor drive system other than an in-vehicle system.
本発明の特徴は、例えば「前記始動前準備処理における通電時間は、前記モータの温度に応じて可変である請求項1~5のいずれか一項に記載のモータ制御装置。」としてもよい。 A feature of the present invention may be, for example, "the motor control device according to any one of claims 1 to 5, wherein the energization time during the pre-start preparation process is variable depending on the temperature of the motor."
本開示に記載の制御部及びその手法は、コンピュータプログラムにより具体化された一つ乃至は複数の機能を実行するようにプログラムされたプロセッサ及びメモリを構成することによって提供された専用コンピュータにより、実現されてもよい。あるいは、本開示に記載の制御部及びその手法は、一つ以上の専用ハードウェア論理回路によってプロセッサを構成することによって提供された専用コンピュータにより、実現されてもよい。もしくは、本開示に記載の制御部及びその手法は、一つ乃至は複数の機能を実行するようにプログラムされたプロセッサ及びメモリと一つ以上のハードウェア論理回路によって構成されたプロセッサとの組み合わせにより構成された一つ以上の専用コンピュータにより、実現されてもよい。また、コンピュータプログラムは、コンピュータにより実行されるインストラクションとして、コンピュータ読み取り可能な非遷移有形記録媒体に記憶されていてもよい。以上、本発明は、上記実施形態になんら限定されるものではなく、発明の趣旨を逸脱しない範囲において種々の形態で実施可能である。 The control unit and method described in the present disclosure may be implemented by a special-purpose computer configured by configuring a processor and memory programmed to execute one or more functions embodied in a computer program. Alternatively, the control unit and method described in the present disclosure may be implemented by a special-purpose computer configured by configuring a processor with one or more dedicated hardware logic circuits. Alternatively, the control unit and method described in the present disclosure may be implemented by one or more special-purpose computers configured by combining a processor and memory programmed to execute one or more functions with a processor configured with one or more hardware logic circuits. Furthermore, the computer program may be stored on a computer-readable non-transitory tangible recording medium as instructions to be executed by a computer. As described above, the present invention is in no way limited to the above embodiments, and various forms may be implemented within the scope of the invention.
1・・・シフトバイワイヤシステム
10・・・モータ
11・・・モータ巻線
40・・・ECU(モータ制御装置)
41・・・駆動回路
411~413・・・スイッチング素子
50・・・制御部
52・・・異常判定部
55・・・駆動制御部
1... Shift-by-wire system 10... Motor 11... Motor winding 40... ECU (motor control unit)
41: Drive circuit 411 to 413: Switching elements 50: Control unit 52: Abnormality determination unit 55: Drive control unit
Claims (5)
前記モータ巻線の各相への通電のオンオフを切り替えるスイッチング素子(411~413)を有する駆動回路(41)と、
前記モータの回転位置を検出する回転位置センサ(13)の検出値に基づくフィードバック制御により前記スイッチング素子のオンオフ作動を制御する駆動制御部(55)、および、前記モータ巻線の断線故障を判定する異常判定部(52)を有する制御部(50)と、
を備え、
前記駆動制御部は、3相のうちの1相に断線故障が生じており、正常な2相を用いて前記モータを駆動する正常2相駆動を行う場合、前記正常2相駆動開始時の通電相である通電保持相への通電パターンとは異なるパターンでの通電を行った後に前記通電保持相に通電する始動前準備処理を行い、
前記駆動制御部は、前記始動前準備処理として、正常相の1相に通電する第1通電処理、正常相の2相に通電する第2通電処理、1相の前記通電保持相に通電する第3通電処理の順で通電相を切り替えるモータ制御装置。 A motor control device for controlling the driving of a motor (10) having a three-phase motor winding (11), comprising:
a drive circuit (41) having switching elements (411 to 413) for switching on and off the energization of each phase of the motor winding;
a control unit (50) having a drive control unit (55) that controls the on/off operation of the switching element by feedback control based on the detection value of a rotational position sensor (13) that detects the rotational position of the motor, and an abnormality determination unit (52) that determines a wire breakage fault in the motor winding;
Equipped with
when a wire breakage fault has occurred in one of the three phases and normal two-phase drive is to be performed in which the motor is driven using the two normal phases, the drive control unit performs a pre-start preparation process in which current is supplied to the energization hold phase, which is the energized phase at the start of the normal two-phase drive, in a pattern different from the current supply pattern to the energization hold phase ,
The drive control unit is a motor control device that switches the current flow phase in the following order as the pre-start preparation process: a first current flow process in which current is flowed through one of the normal phases, a second current flow process in which current is flowed through two of the normal phases, and a third current flow process in which current is flowed through the current-maintaining phase of one phase .
前記第1通電処理の通電相は、通電相の切替順序からみて、断線相の前に通電される相である請求項1に記載のモータ制御装置。 The energized phase in the pre-start preparation process is set according to the disconnection phase and the rotation direction of the motor,
2. The motor control device according to claim 1 , wherein the energized phase of the first energization process is a phase that is energized before the disconnection phase in terms of the energization phase switching order.
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2022155058A JP7760980B2 (en) | 2022-09-28 | 2022-09-28 | Motor control device |
| PCT/JP2023/031704 WO2024070464A1 (en) | 2022-09-28 | 2023-08-31 | Motor control device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2022155058A JP7760980B2 (en) | 2022-09-28 | 2022-09-28 | Motor control device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2024048903A JP2024048903A (en) | 2024-04-09 |
| JP7760980B2 true JP7760980B2 (en) | 2025-10-28 |
Family
ID=90477224
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2022155058A Active JP7760980B2 (en) | 2022-09-28 | 2022-09-28 | Motor control device |
Country Status (2)
| Country | Link |
|---|---|
| JP (1) | JP7760980B2 (en) |
| WO (1) | WO2024070464A1 (en) |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2016158413A (en) | 2015-02-25 | 2016-09-01 | 株式会社デンソー | Motor control device |
| JP2022024256A (en) | 2020-07-13 | 2022-02-09 | 株式会社ジェイテクト | Steering control device |
-
2022
- 2022-09-28 JP JP2022155058A patent/JP7760980B2/en active Active
-
2023
- 2023-08-31 WO PCT/JP2023/031704 patent/WO2024070464A1/en not_active Ceased
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2016158413A (en) | 2015-02-25 | 2016-09-01 | 株式会社デンソー | Motor control device |
| JP2022024256A (en) | 2020-07-13 | 2022-02-09 | 株式会社ジェイテクト | Steering control device |
Also Published As
| Publication number | Publication date |
|---|---|
| WO2024070464A1 (en) | 2024-04-04 |
| JP2024048903A (en) | 2024-04-09 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP5831766B2 (en) | Control device and shift-by-wire system using the same | |
| JP2010011700A (en) | Motor control apparatus | |
| WO2006134753A1 (en) | Open/close body drive device | |
| WO2019098317A1 (en) | Shift range switching system | |
| JP2017198264A (en) | Shift range control device | |
| JP6547663B2 (en) | Control device | |
| WO2019088244A1 (en) | Shift range control device | |
| JP7760980B2 (en) | Motor control device | |
| JP7797994B2 (en) | Motor control device | |
| JP7768081B2 (en) | Motor control device | |
| US20220360207A1 (en) | Motor control device | |
| JP5605254B2 (en) | Motor control device | |
| CN112823472B (en) | Gear shifting control device | |
| JP7287330B2 (en) | motor controller | |
| US12119762B2 (en) | Motor control device | |
| CN114531895B (en) | gear shift control | |
| CN115315896B (en) | Motor control device | |
| JP7800370B2 (en) | Motor control device | |
| US20250167718A1 (en) | Motor control device | |
| JP3849629B2 (en) | Motor control device | |
| JP3803052B2 (en) | Initialization drive | |
| JPH02184296A (en) | Abnormality detector for step motor | |
| JP2021083236A (en) | Motor drive device of vehicle | |
| JP2002223584A (en) | Control device for DC motor | |
| JP6152309B2 (en) | Motor drive device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20240815 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20250708 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20250814 |
|
| 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: 20250916 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20250929 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 7760980 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |