JP6132784B2 - Motor control device - Google Patents

Motor control device Download PDF

Info

Publication number
JP6132784B2
JP6132784B2 JP2014032242A JP2014032242A JP6132784B2 JP 6132784 B2 JP6132784 B2 JP 6132784B2 JP 2014032242 A JP2014032242 A JP 2014032242A JP 2014032242 A JP2014032242 A JP 2014032242A JP 6132784 B2 JP6132784 B2 JP 6132784B2
Authority
JP
Japan
Prior art keywords
duty ratio
control unit
electric motor
door
slide door
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2014032242A
Other languages
Japanese (ja)
Other versions
JP2014194151A5 (en
JP2014194151A (en
Inventor
仁 六本木
仁 六本木
志賀 直彦
直彦 志賀
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Mitsuba Corp
Original Assignee
Mitsuba Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitsuba Corp filed Critical Mitsuba Corp
Priority to JP2014032242A priority Critical patent/JP6132784B2/en
Publication of JP2014194151A publication Critical patent/JP2014194151A/en
Publication of JP2014194151A5 publication Critical patent/JP2014194151A5/ja
Application granted granted Critical
Publication of JP6132784B2 publication Critical patent/JP6132784B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Power-Operated Mechanisms For Wings (AREA)

Description

本発明は、スライドドアを駆動する電動モータのモータ制御装置に関する。   The present invention relates to a motor control device for an electric motor that drives a sliding door.

自動車に設けられるスライドドアやバックドア等の被駆動体を電動モータにより駆動するモータ制御装置では、電動モータを正逆両方向に回転制御して、ドアを開閉両方向に作動させるようにしている。このようなモータ制御装置が、例えば特許文献1や特許文献2に開示されている。   In a motor control device that drives a driven body such as a slide door or a back door provided in an automobile by an electric motor, the electric motor is controlled to rotate in both forward and reverse directions to operate the door in both open and close directions. Such motor control devices are disclosed in, for example, Patent Document 1 and Patent Document 2.

特許文献1に記載の車両用開閉体の自動開閉装置では、電源電圧が低下してコントローラが作動しなくなった場合でも、開閉体を一定時間緩やかに開閉させ、その後クラッチ装置をオフし手動による開閉体の開閉操作ができるようにしている。   In the automatic opening / closing device for a vehicle opening / closing body described in Patent Document 1, even when the power supply voltage drops and the controller does not operate, the opening / closing body is gently opened / closed for a certain period of time, and then the clutch device is turned off to open / close manually. The body can be opened and closed.

また、特許文献2に記載のオートスライドドア装置は、急坂で、途中停止状態からのスライドドアの使い勝手を良くして開閉操作を手動で容易に行うことができるようにしている。   In addition, the automatic sliding door device described in Patent Document 2 has a steep slope, improves the usability of the sliding door from a halfway stop state, and allows the opening / closing operation to be easily performed manually.

特開2001−280002号公報JP 2001-280002 A 特開平10−266691号公報Japanese Patent Laid-Open No. 10-266691

上述した特許文献1に記載の車両用開閉体の自動開閉装置では、傾斜地で停車中にスライドドアを途中停止させた状態で、クラッチにより機械的なドアとアクチュエータとの接続制御を断続的に行うことで全開・全閉位置にドアを移動させる制御が行われている。しかしながら、この方法では、クラッチオンで停止状態の部材(モータ側)と回転状態の部材(ドラム側)とが機械的に接続されるため、クラッチ接続・切断時の衝撃が大きく、ユーザが衝撃により違和感を覚える場合がある。このクラッチ接続・切断時の衝撃の問題を解決する方法として、上述の特許文献2に記載のクラッチレス機構を用いたオートスライドドア装置がある。   In the automatic opening / closing device for a vehicle opening / closing body described in Patent Document 1 described above, connection control between a mechanical door and an actuator is intermittently performed by a clutch in a state where the sliding door is stopped halfway while stopping on an inclined ground. Thus, control is performed to move the door to the fully open / closed position. However, in this method, since the clutch-on member (motor side) and the rotating member (drum side) are mechanically connected, the impact at the time of clutch connection / disconnection is large, and the user is You may feel uncomfortable. As a method for solving the problem of impact at the time of clutch connection / disconnection, there is an automatic sliding door device using the clutchless mechanism described in Patent Document 2 described above.

ところで、クラッチレス機構を用いると共に、途中停止機能付きのパワースライドドア装置において、スライドドアを途中位置で停止させておく場合、または、フェールセーフ等でパワースライドドアの作動を停止させる場合に、省電力のために一定時間(例えば、10分)が経過した際には、車両の制御システムの動作を停止させる必要がある。このため、車両が傾斜地等で止まってしまった場合に、重力の作用によりドアが急速に開放または閉鎖し、ユーザに不快感を与える可能性がある。   By the way, when using a clutchless mechanism and a power slide door device with a halfway stop function, when the slide door is stopped at a halfway position, or when the operation of the power slide door is stopped by fail-safe etc. When a certain time (for example, 10 minutes) elapses due to electric power, it is necessary to stop the operation of the vehicle control system. For this reason, when the vehicle stops on an inclined land or the like, the door is rapidly opened or closed by the action of gravity, which may cause discomfort to the user.

本発明は、上記課題に鑑みてなされたものであり、本発明の目的は、傾斜地で停止した車両において、途中停止したスライドドアが重力の作用により傾斜方向に移動する際に、このスライドドアを滑らかに移動させることができる、モータ制御装置を提供することにある。   The present invention has been made in view of the above problems, and an object of the present invention is to provide a sliding door that is stopped on an inclined ground when the sliding door stopped halfway moves in an inclined direction by the action of gravity. An object of the present invention is to provide a motor control device that can be moved smoothly.

本発明のモータ制御装置は、車両のスライドドアの開閉を行う電動モータの回転を制御するとともに、前記スライドドアの開閉中に途中停止信号が入力されたら前記電動モータにブレーキ力を発生させる制御を行って前記スライドドアを途中停止させる制御部を有するモータ制御装置であって、前記制御部は、前記スライドドアが途中停止すると、前記スライドドアを途中停止させてから所定の第1規定時間が経過するまでは、前記電動モータのブレーキ力を所定のブレーキ力に維持し、前記所定の第1規定時間の経過後は、所定の制御周期に占める前記電動モータの入力端子を駆動する駆動回路の入力信号のデューティ比を所定の初期デューティ比から低下させて前記ブレーキ力を制御し、前記デューティ比を前記初期デューティ比から徐々に低下させる際に、前記デューティ比が予め定められた所定のデューティ閾値に到達した場合は、前記デューティ比を低下させることを停止し、以降、前記所定のデューティ閾値のデューティ比により前記ブレーキ力を制御することを特徴とする。 The motor control device according to the present invention controls the rotation of an electric motor that opens and closes a sliding door of a vehicle, and controls the electric motor to generate a braking force when a midway stop signal is input during opening and closing of the sliding door. A motor control device having a control unit that performs a midway stop of the slide door, and the control unit, when the slide door stops halfway, a predetermined first specified time elapses after the slide door is stopped halfway until the brake force of the electric motor is maintained at a predetermined braking force, after a predetermined first specified time, the driving circuit for driving the input terminal of the electric motor occupied in the control period of Jo Tokoro the duty ratio of the input signal by a predetermined initial duty ratio Do et low Do controls the braking force, Xu said duty ratio from the initial duty ratio When the duty ratio reaches a predetermined duty threshold that is set in advance, the reduction of the duty ratio is stopped, and thereafter, the braking force is reduced according to the duty ratio of the predetermined duty threshold. It is characterized by controlling .

また、本発明のモータ制御装置において、前記制御部は、途中停止信号が入力されたら、前記途中停止信号が入力されたときの回転子の位置に応じて前記駆動回路を一相通電制御することで前記ブレーキ力を発生することを特徴とする。 Further, in the motor control apparatus of the present invention, the control unit, when the middle stop signal is input, to one-phase energization control the drive circuit in accordance with the position of the rotor when the middle stop signal is input in characterized by generating the braking force.

また、本発明のモータ制御装置において、前記制御部は、途中停止信号が入力されたら、前記駆動回路に前記電動モータの入力端子を短絡させ、前記ブレーキ力としての回生ブレーキ力を発生させることを特徴とする。 Further, in the motor control apparatus of the present invention, the control unit, when the middle stop signal is input, are short-circuited input terminal of said electric motor to said driving circuit, that generates a regenerative braking force as the brake force Features.

また、本発明のモータ制御装置は、前記制御部は、前記デューティ比を前記初期デューティ比から徐々に低下させる制御を開始した後、所定の第2規定時間が経過した場合に、前記電動モータに前記ブレーキ力を発生させることを終了させることを特徴とする。 In the motor control device according to the present invention, the control unit causes the electric motor to be moved when a predetermined second specified time has elapsed after starting control for gradually decreasing the duty ratio from the initial duty ratio. The generation of the braking force is terminated.

また、本発明のモータ制御装置は、前記スライドドアの位置と移動速度を検出するドア開閉情報生成部を備え、前記制御部は、前記デューティ比を前記初期デューティ比から徐々に低下させる制御を開始した後、前記スライドドアの移動速度が予め定められた規定速度を超えた場合に、前記デューティ比を低下させることを停止することを特徴とする。   In addition, the motor control device of the present invention includes a door opening / closing information generation unit that detects the position and moving speed of the slide door, and the control unit starts control to gradually reduce the duty ratio from the initial duty ratio. Then, when the moving speed of the slide door exceeds a predetermined speed, the reduction of the duty ratio is stopped.

また、本発明のモータ制御装置は、前記スライドドアの位置と移動速度とを検出するドア開閉情報生成部を備え、前記制御部は、前記デューティ比を前記初期デューティ比から徐々に低下させる制御を開始した後、前記所定の第2規定時間が経過した場合と、前記スライドドアの全開位置を検出した場合と、前記スライドドアの全閉位置を検出した場合と、のいずれかの場合が生じた際に、前記電動モータに前記ブレーキ力を発生させることを終了させることを特徴とする。 The motor control device according to the present invention further includes a door opening / closing information generation unit that detects a position and a moving speed of the slide door, and the control unit performs control to gradually reduce the duty ratio from the initial duty ratio. After the start, either the case where the predetermined second specified time has elapsed, the case where the fully open position of the slide door is detected, or the case where the fully closed position of the slide door is detected occurred. when, characterized in that to terminate the generating the braking force to the electric motor.

本発明のモータ制御装置によれば、スライドドアを途中停止させる場合に、電動モータの入力端子を短絡し回生ブレーキ力を発生させてスライドドアを途中停止させる。そして、スライドドアを途中停止させてから所定の第1規定時間が経過するまでは、所定の初期デューティ比により電動モータに回生ブレーキ力を発生させ、この第1規定時間の経過後は、デューティ比を初期デューティ比から徐々に低下させる。
これにより、傾斜地で停止した車両において、途中停止したスライドドアが重力の作用により傾斜方向に移動する際に、このスライドドアを滑らかに移動させることができる。
According to the motor control device of the present invention, when the sliding door is stopped halfway, the input terminal of the electric motor is short-circuited to generate a regenerative braking force and the sliding door is stopped halfway. Then, the regenerative braking force is generated in the electric motor at a predetermined initial duty ratio after the sliding door is stopped halfway until the predetermined first specified time elapses, and after the elapse of the first specified time, the duty ratio is increased. Is gradually reduced from the initial duty ratio.
Thereby, in the vehicle stopped on the slope, when the slide door stopped halfway moves in the tilt direction by the action of gravity, the slide door can be smoothly moved.

本発明のモータ制御装置で駆動される電動モータを備えるドア開閉装置14の概略を示す平面図である。It is a top view which shows the outline of the door opening / closing apparatus 14 provided with the electric motor driven with the motor control apparatus of this invention. 図1に示すドア開閉装置14の制御体系を示す説明図である。It is explanatory drawing which shows the control system of the door opening / closing apparatus 14 shown in FIG. 図2に示すモータ制御装置41、及び電動モータ21の詳細を示す回路図である。FIG. 3 is a circuit diagram showing details of a motor control device 41 and an electric motor 21 shown in FIG. 2. 回生ブレーキ動作について説明するための図である。It is a figure for demonstrating regenerative brake operation | movement. 回生ブレーキ動作とデューティ比制御について説明するための図である。It is a figure for demonstrating regenerative braking operation | movement and duty ratio control. スライドドア12を途中停止させたときの回生ブレーキ力の第1の制御例を示す図である。It is a figure which shows the 1st example of control of the regenerative brake force when the slide door 12 is stopped on the way. スライドドア12を途中停止させたときの回生ブレーキ力の第2の制御例を示す図である。It is a figure which shows the 2nd example of control of the regenerative brake force when the slide door 12 is stopped on the way. 回生ブレーキ制御部55における回生ブレーキの制御手順を示すフローチャートである。7 is a flowchart showing a regenerative brake control procedure in a regenerative brake control unit 55. 図1に示すドア開閉装置14の制御体系の他の一例を示す説明図である。It is explanatory drawing which shows another example of the control system of the door opening / closing apparatus 14 shown in FIG. ブレーキ動作について説明するための図である。It is a figure for demonstrating brake operation | movement. スライドドア12を途中停止させたときのブレーキ力の第1の制御例を示す図である。It is a figure which shows the 1st example of control of the braking force when the slide door 12 is stopped on the way. スライドドア12を途中停止させたときのブレーキ力の第2の制御例を示す図である。It is a figure which shows the 2nd example of control of the braking force when the slide door 12 is stopped on the way. ブレーキ制御部56におけるブレーキの制御手順を示すフローチャートである。3 is a flowchart showing a brake control procedure in a brake control unit 56.

(車両のドア開閉装置の構成)
図1は、本発明のモータ制御装置で駆動される電動モータを備えるドア開閉装置14の概略を示す平面図である。図1に示すように、車両11の側部には、被駆動体としてのスライドドア12が装着されている。このスライドドア12は、車両11に固定されるガイドレール13に案内され、図中実線で示す全開位置と鎖線で示す全閉位置との間で車両前後方向に移動自在つまり開閉自在となっている。
(Configuration of vehicle door opening and closing device)
FIG. 1 is a plan view schematically showing a door opening / closing device 14 including an electric motor driven by a motor control device of the present invention. As shown in FIG. 1, a slide door 12 as a driven body is attached to a side portion of the vehicle 11. The slide door 12 is guided by a guide rail 13 fixed to the vehicle 11, and is movable in the vehicle front-rear direction, that is, can be opened and closed between a fully open position indicated by a solid line and a fully closed position indicated by a chain line in the drawing. .

車両11にはドア開閉装置14が設けられている。ドア開閉装置14は、スライドドア12を自動的に開閉する。このドア開閉装置14は、車両11に固定される駆動ユニット15を有する。駆動ユニット15には、駆動用のケーブル16が設けられている。ケーブル16は、ガイドレール13の両端に配置された反転プーリ17、及び反転ブーリ18に掛け渡されて、車両11の前方側と後方側とからスライドドア12に接続されている。スライドドア12は、駆動ユニット15によりケーブル16のいずれか一方側が引かれると、ケーブル16に引かれながら開方向または閉方向に移動する。   The vehicle 11 is provided with a door opening / closing device 14. The door opening / closing device 14 automatically opens and closes the slide door 12. The door opening / closing device 14 has a drive unit 15 fixed to the vehicle 11. The drive unit 15 is provided with a drive cable 16. The cable 16 is stretched over a reversing pulley 17 and a reversing pulley 18 disposed at both ends of the guide rail 13, and is connected to the slide door 12 from the front side and the rear side of the vehicle 11. When either side of the cable 16 is pulled by the drive unit 15, the slide door 12 moves in the opening direction or the closing direction while being pulled by the cable 16.

図2は、図1に示すドア開閉装置14の制御体系を示す説明図である。
図2に示すように、駆動ユニット15には電動モータ21が設けられている。この電動モータ21として、本実施形態においては、3相(U相、V相、及びW相)のブラシレスモータが用いられる。電動モータ21は、モータ制御装置41から、通電パターンに従って、3相の各相へ、それぞれ印加電圧Vu、印加電圧Vv、及び印加電圧Vwが供給されると作動する。電動モータ21は、供給される印加電圧の正負に応じて、その回転方向が正転または逆転に切り替えられる。
FIG. 2 is an explanatory diagram showing a control system of the door opening / closing device 14 shown in FIG.
As shown in FIG. 2, the drive unit 15 is provided with an electric motor 21. In the present embodiment, a three-phase (U phase, V phase, and W phase) brushless motor is used as the electric motor 21. The electric motor 21 operates when the applied voltage Vu, the applied voltage Vv, and the applied voltage Vw are respectively supplied from the motor control device 41 to each of the three phases according to the energization pattern. The rotation direction of the electric motor 21 is switched to normal rotation or reverse rotation according to the polarity of the supplied applied voltage.

また、電動モータ21の回転軸21aには、回転子47(永久磁石)が固定される。この回転子47の回転軌道近傍には、回転子47の回転位置を検出する位置センサとしての3つのホールIC48u、ホールIC48v、及びホールIC48wが、回転軸21aを中心として互いに120度の位置に設けられている。これらの3つのホールIC48u、ホールIC48v、及びホールIC48wは、電動モータ21の回転軸21aが回転すると、それぞれ互いに120度位相のずれたパルス信号Su、パルス信号Sv、及びパルス信号Swをモータ制御装置41に対して出力する。   A rotor 47 (permanent magnet) is fixed to the rotating shaft 21 a of the electric motor 21. In the vicinity of the rotation trajectory of the rotor 47, three Hall ICs 48u, Hall IC 48v, and Hall IC 48w as position sensors for detecting the rotation position of the rotor 47 are provided at positions of 120 degrees with respect to the rotation shaft 21a. It has been. These three Hall ICs 48u, Hall IC 48v, and Hall IC 48w are arranged such that when the rotating shaft 21a of the electric motor 21 is rotated, the pulse signal Su, the pulse signal Sv, and the pulse signal Sw, which are 120 degrees out of phase with each other, 41 is output.

また、電動モータ21の回転軸21aには、駆動ギヤ24が固定される。駆動ギヤ24には大径スパーギヤ25が噛み合わされている。大径スパーギヤ25と一体に回転する小径スパーギヤ26には、出力軸27に固定される従動ギヤ28が噛み合わされている。これにより、電動モータ21の回転は所定の減速比で減速されて出力軸27に伝達される。   A drive gear 24 is fixed to the rotating shaft 21 a of the electric motor 21. A large-diameter spur gear 25 is engaged with the drive gear 24. A small-diameter spur gear 26 that rotates integrally with the large-diameter spur gear 25 is engaged with a driven gear 28 that is fixed to the output shaft 27. As a result, the rotation of the electric motor 21 is decelerated at a predetermined reduction ratio and transmitted to the output shaft 27.

出力軸27には外周面に図示しない螺旋状の案内溝が形成された円筒形状のドラム31が固定されている。駆動ユニット15に案内されたケーブル16は、案内溝に沿ってドラム31に複数回巻き付けられている。電動モータ21が作動すると、ドラム31は電動モータ21に駆動されて回転し、これによりケーブル16が作動してスライドドア12は開閉動作する。つまり、電動モータ21により、図2中で反時計回り方向にドラム31を回転させることにより、車両後方側のケーブル16がドラム31に巻き取られて、スライドドア12はケーブル16に引かれながら開方向に移動する。反対に、電動モータ21により、図2中で時計回り方向にドラム31を回転させることにより、車両前方側のケーブル16がドラム31に巻き取られてスライドドア12はケーブル16に引かれながら閉方向に移動する。このように、スライドドア12は、ケーブル16、ドラム31、出力軸27等を介して電動モータ21に接続され、電動モータ21により開閉駆動されるようになっている。   A cylindrical drum 31 having a spiral guide groove (not shown) formed on the outer peripheral surface is fixed to the output shaft 27. The cable 16 guided by the drive unit 15 is wound around the drum 31 a plurality of times along the guide groove. When the electric motor 21 is operated, the drum 31 is driven and rotated by the electric motor 21, whereby the cable 16 is operated and the slide door 12 is opened and closed. That is, by rotating the drum 31 counterclockwise in FIG. 2 by the electric motor 21, the cable 16 on the vehicle rear side is wound around the drum 31, and the slide door 12 is opened while being pulled by the cable 16. Move in the direction. On the contrary, when the drum 31 is rotated clockwise in FIG. 2 by the electric motor 21, the cable 16 on the vehicle front side is wound around the drum 31, and the sliding door 12 is pulled in the closing direction while being pulled by the cable 16. Move to. As described above, the slide door 12 is connected to the electric motor 21 via the cable 16, the drum 31, the output shaft 27, and the like, and is opened and closed by the electric motor 21.

ドラム31と2つの反転プーリ17、及び反転ブーリ18との間には、それぞれテンショナ32が設けられている。テンショナ32は、ドラム31とスライドドア12との間におけるケーブル16の弛みを取ってケーブル張力を一定範囲に維持する。テンショナ32は、それぞれ固定プーリ32aと可動プーリ32bとを有し、可動プーリ32bは固定プーリ32aを軸心としてばね部材32cにより回転方向に付勢されており、ケーブル16は各プーリ32a、32bの間に掛け渡されている。したがって、ケーブル16に緩みが生じると、可動プーリ32bにより付勢されてケーブル16の移動経路が増加し、これによりケーブル16の張力が維持される。   Tensioners 32 are respectively provided between the drum 31 and the two reversing pulleys 17 and the reversing pulley 18. The tensioner 32 maintains the cable tension within a certain range by removing the slack of the cable 16 between the drum 31 and the slide door 12. Each tensioner 32 has a fixed pulley 32a and a movable pulley 32b. The movable pulley 32b is urged in the rotational direction by a spring member 32c with the fixed pulley 32a as an axis, and the cable 16 is connected to the pulleys 32a and 32b. It is stretched between. Accordingly, when the cable 16 is loosened, the cable 16 is urged by the movable pulley 32b to increase the movement path of the cable 16, thereby maintaining the tension of the cable 16.

なお、駆動ユニット15は電動モータ21と出力軸27との間にクラッチ機構が設けられないクラッチレス式となっている。つまり、電動モータ21から出力軸27、つまりスライドドア12へは、常に動力伝達可能な状態とされている。
このため、後述するように電動モータ21により回生ブレーキ力を発生させる際に、電動モータ21の固定子(ステータ)と、ドラム31に接続された回転子47(マグネットロータ)との間にはエアギャップがあり機械的には直接接していないため、電動モータ21に回生ブレーキ力を発生させる際に生じる振動は、クラッチ機構の断続制御により生じる振動(衝撃)よりも少ない。
The drive unit 15 is a clutchless type in which no clutch mechanism is provided between the electric motor 21 and the output shaft 27. In other words, power can always be transmitted from the electric motor 21 to the output shaft 27, that is, the slide door 12.
Therefore, as will be described later, when regenerative braking force is generated by the electric motor 21, there is air between the stator (stator) of the electric motor 21 and the rotor 47 (magnet rotor) connected to the drum 31. Since there is a gap and it is not in direct mechanical contact, vibration generated when the electric motor 21 generates regenerative braking force is less than vibration (impact) generated by intermittent control of the clutch mechanism.

上記駆動ユニット15内の電動モータ21は、モータ制御装置41により駆動される。このモータ制御装置41は、スライドドア12を予め設定された目標速度で開閉移動させるように電動モータ21の作動を制御する。また、モータ制御装置41は、電動モータ21の入力端子22u、22v、及び22wを短絡させて回生ブレーキ力を発生させる。   The electric motor 21 in the drive unit 15 is driven by a motor control device 41. The motor control device 41 controls the operation of the electric motor 21 so as to open and close the slide door 12 at a preset target speed. In addition, the motor control device 41 generates a regenerative braking force by short-circuiting the input terminals 22u, 22v, and 22w of the electric motor 21.

(モータ制御装置の構成)
図3は、図2に示すモータ制御装置41、及び電動モータ21の詳細を示す回路図である。電動モータ21は、3相DCブラシレスモータである。電動モータ21は、インナーロータ型で、一対のN極およびS極を含む永久磁石(マグネット)を埋め込んで構成された回転子47(マグネットロータ)を含む。また、電動モータ21は、スター結線されたU相、V相及びW相の固定子巻線21u、21v、及び21wを含む。
また、回転子47に近接して、120度毎に、回転位置検出素子(ホールIC48u、ホールIC48v、及びホールIC48w)が配置される。これらホールICは、回転子47の回転位置を検出する。
(Configuration of motor controller)
FIG. 3 is a circuit diagram showing details of the motor control device 41 and the electric motor 21 shown in FIG. The electric motor 21 is a three-phase DC brushless motor. The electric motor 21 is an inner rotor type, and includes a rotor 47 (magnet rotor) configured by embedding a permanent magnet (magnet) including a pair of N poles and S poles. The electric motor 21 includes U-phase, V-phase, and W-phase stator windings 21u, 21v, and 21w that are star-connected.
In addition, in proximity to the rotor 47, rotational position detection elements (Hall IC 48u, Hall IC 48v, and Hall IC 48w) are arranged every 120 degrees. These Hall ICs detect the rotational position of the rotor 47.

電動モータ21を制御するためのモータ制御装置41は、駆動回路部42、直流電源44、及び制御系回路部50を含んで構成される。   A motor control device 41 for controlling the electric motor 21 includes a drive circuit unit 42, a DC power supply 44, and a control system circuit unit 50.

駆動回路部42は、3相ブリッジ形式に接続された6個のスイッチング素子としての絶縁ゲート・バイポーラ・トランジスタ(IGBT)42a〜42fと、トランジスタ42a〜42fの各コレクタ−エミッタ間に逆並列に接続されたフライホイールダイオード43a〜43fとを含んで構成される。ブリッジ接続された6個のトランジスタ42a〜42fの各ゲートは制御系回路部50に接続される。   The drive circuit unit 42 is connected in antiparallel between the insulated gate bipolar transistors (IGBTs) 42a to 42f as six switching elements connected in a three-phase bridge form, and between the collectors and emitters of the transistors 42a to 42f. Flywheel diodes 43a to 43f. The gates of the six transistors 42 a to 42 f that are bridge-connected are connected to the control system circuit unit 50.

また、6個のトランジスタ42a〜42fのコレクタまたはエミッタは、電動モータ21の入力端子22u、22v、及び22wを介して、スター結線された固定子巻線21u、21v、及び21wに接続される。これによって、6個のトランジスタ42a〜42fは、制御系回路部50から入力される駆動信号(ゲート信号)G1〜G6によってスイッチング動作を行い、駆動回路部42に印加される直流電源44の電源電圧を、3相(U相、V相、W相)の印加電圧Vu、Vv、Vwとして、固定子巻線U、V、Wへ供給する。
なお、駆動信号(ゲート信号)G1は、ハイ信号(H信号)の場合に、対応するトランジスタ42aがオン(ON)になり、ロー信号(L信号)の場合に、対応するトランジスタ42aがオフ(OFF)になる。駆動信号(ゲート信号)G2〜G6についても同様である。
The collectors or emitters of the six transistors 42 a to 42 f are connected to the star-connected stator windings 21 u, 21 v, and 21 w through the input terminals 22 u, 22 v, and 22 w of the electric motor 21. As a result, the six transistors 42a to 42f perform a switching operation by the drive signals (gate signals) G1 to G6 input from the control system circuit unit 50, and the power supply voltage of the DC power supply 44 applied to the drive circuit unit 42. Is supplied to the stator windings U, V, W as applied voltages Vu, Vv, Vw of three phases (U phase, V phase, W phase).
When the drive signal (gate signal) G1 is a high signal (H signal), the corresponding transistor 42a is turned on (ON), and when the drive signal G1 is a low signal (L signal), the corresponding transistor 42a is turned off ( OFF). The same applies to the drive signals (gate signals) G2 to G6.

制御系回路部50は、電動モータ21への印加電圧Vu、Vv、Vw(より正確には電圧と周波数)を可変制御するために、駆動回路部42のトランジスタ42a〜42fの各ゲートを駆動する駆動信号G1〜G6をパルス幅変調信号(PWM信号)として形成する。制御系回路部50は、トランジスタ42a〜42fを高速スイッチングすることにより、直流電源44から各固定子巻線21u、21v、及び21wへ供給する印加電圧を制御する。   The control system circuit unit 50 drives the gates of the transistors 42a to 42f of the drive circuit unit 42 in order to variably control the applied voltages Vu, Vv, and Vw (more precisely, voltage and frequency) to the electric motor 21. The drive signals G1 to G6 are formed as pulse width modulation signals (PWM signals). The control system circuit unit 50 controls applied voltages supplied from the DC power supply 44 to the stator windings 21u, 21v, and 21w by switching the transistors 42a to 42f at high speed.

制御系回路部50は、ドライバ回路51、ドア開閉情報生成部52、及び制御部53を含んで構成される。   The control system circuit unit 50 includes a driver circuit 51, a door opening / closing information generation unit 52, and a control unit 53.

制御部53は、回転制御部54と、回生ブレーキ制御部55とを有している。回転制御部54は、ドア開閉情報生成部52から入力される速度信号V、位置信号P、及び方向信号Dに基づいて、ドライバ回路51に対して、電動モータ21を正転駆動または逆転駆動するためのPWM指令信号(正転回転指令または逆転回転指令)を出力する。ドライバ回路51は、入力されるPWM指令信号に基づいて、トランジスタ42a〜42fを交互にスイッチングするための駆動信号G1〜G6を生成し、駆動回路部42へ出力する。これによって、駆動回路部42は、固定子巻線21u、21v、及び21wを交互に通電する供給電圧Vu、Vv、Vwの通電パターンを各固定子巻線に印加し、回転子47を、回転制御部54が指示する回転方向に回転させる。   The control unit 53 includes a rotation control unit 54 and a regenerative brake control unit 55. The rotation control unit 54 drives the electric motor 21 in the normal direction or the reverse direction with respect to the driver circuit 51 based on the speed signal V, the position signal P, and the direction signal D input from the door opening / closing information generation unit 52. PWM command signal (forward rotation command or reverse rotation command) is output. The driver circuit 51 generates drive signals G <b> 1 to G <b> 6 for alternately switching the transistors 42 a to 42 f based on the input PWM command signal, and outputs them to the drive circuit unit 42. As a result, the drive circuit unit 42 applies energization patterns of supply voltages Vu, Vv, and Vw that alternately energize the stator windings 21u, 21v, and 21w to each stator winding, and rotates the rotor 47. It is rotated in the rotation direction indicated by the control unit 54.

より具体的には、制御部53には、開閉スイッチ45が接続される。操作者が開閉スイッチ45を操作し、制御部53にドアの開閉開始を指令する信号が入力されると、回転制御部54は、ドア開閉情報生成部52から入力される速度信号V、位置信号P、及び方向信号Dに応じてPWM指令信号を生成し、ドライバ回路51に対して出力する。   More specifically, an open / close switch 45 is connected to the control unit 53. When the operator operates the opening / closing switch 45 and a signal for instructing the controller 53 to start opening / closing the door is input, the rotation controller 54 receives the speed signal V and the position signal input from the door opening / closing information generator 52. A PWM command signal is generated according to P and the direction signal D, and is output to the driver circuit 51.

ドア開閉情報生成部52は、制御部53がPWM指令信号の生成に用いる速度信号V、位置信号P、及び方向信号Dを、ホールIC48u、48v、48wがそれぞれ出力するパルス信号Su、Sv、及びSwから生成する。
ドア開閉情報生成部52は、ホールIC48u、48v、48wがそれぞれ出力するパルス信号Su、Sv、及びSwが入力されると、パルス信号の発生間隔に基づいて電動モータ21の回転速度、つまりスライドドア12の移動速度Vを算出する。
また、ドア開閉情報生成部52は、パルス信号Su、Sv、及びSwの出現タイミング(出現する順番)に基づいて電動モータ21の回転方向、つまりスライドドア12の移動方向を検出し、方向信号Dを出力する。
The door opening / closing information generating unit 52 includes pulse signals Su, Sv, which are output from the Hall ICs 48u, 48v, and 48w, respectively, the speed signal V, the position signal P, and the direction signal D that the control unit 53 uses to generate the PWM command signal. Generate from Sw.
When the pulse signals Su, Sv, and Sw output from the Hall ICs 48u, 48v, and 48w are input, the door opening / closing information generation unit 52 receives the rotational speed of the electric motor 21, that is, the sliding door, based on the generation interval of the pulse signals. Twelve moving speeds V are calculated.
Further, the door opening / closing information generation unit 52 detects the rotation direction of the electric motor 21, that is, the moving direction of the sliding door 12 based on the appearance timing (the order of appearance) of the pulse signals Su, Sv, and Sw, and the direction signal D Is output.

また、ドア開閉情報生成部52は、スライドドア12が基準位置(例えば全閉位置)となったときを起点としてパルス信号の切替りをカウント(積算)することによりスライドドア12の位置を検出し、位置信号Pを出力する。なお、スライドドア12の基準位置は、例えば、全閉検出スイッチ46により検出される。この全閉検出スイッチ46は、スライドドア12のドア位置が「全閉位置」にあることを検出するためのスイッチであり、例えば、ドア位置が「全閉位置」でオンになるリミットスイッチである。   The door opening / closing information generation unit 52 detects the position of the slide door 12 by counting (accumulating) switching of the pulse signal starting from the time when the slide door 12 reaches the reference position (for example, the fully closed position). The position signal P is output. The reference position of the slide door 12 is detected by, for example, a fully closed detection switch 46. The fully closed detection switch 46 is a switch for detecting that the door position of the slide door 12 is in the “fully closed position”, for example, a limit switch that is turned on when the door position is “fully closed position”. .

(スライドドアの「途中停止」と回生ブレーキ動作)
ところで、乗員等が開閉スイッチ45を操作して、スライドドア12の開閉中にスライドドア12の停止を指示すると、制御部53は、回生ブレーキ制御部55により、電動モータ21に回生制動をかけて(回生ブレーキ力を発生させて)、その回転を停止させる。この回生制動は、駆動信号G4〜G6(または駆動信号G1〜G3)をデューティ比(Duty)100%とする信号としてドライバ回路51から出力し、駆動回路部42が、対応する下段側のトランジスタ42dと、トランジスタ42eと、トランジスタ42fとをオンさせて固定子巻線21u、21v、及び21w、それぞれに設けられた入力端子22u、22v、及び22wを短絡することにより行なわれる。
(Sliding door “intermediate stop” and regenerative braking)
By the way, when an occupant or the like operates the open / close switch 45 to instruct the stop of the slide door 12 while the slide door 12 is opened or closed, the control unit 53 applies regenerative braking to the electric motor 21 by the regenerative brake control unit 55. Stop the rotation (by generating regenerative braking force). This regenerative braking is output from the driver circuit 51 as a signal for setting the drive signals G4 to G6 (or drive signals G1 to G3) to a duty ratio (Duty) of 100%, and the drive circuit section 42 corresponds to the corresponding lower transistor 42d. Then, the transistor 42e and the transistor 42f are turned on to short-circuit the stator windings 21u, 21v, and 21w and the input terminals 22u, 22v, and 22w provided to the stator windings 21u, 21v, and 21w, respectively.

図4は、回生ブレーキ動作について説明するための図である。また、図5は、回生ブレーキ動作とデューティ比制御について説明するための図である。
回生制動においては、より具体的には、図4(A)に示すように、ドライバ回路51から出力される駆動信号G1〜G3をロー信号(L信号)とし、駆動信号G4〜G6をハイ信号(H信号)とすることにより、上段(上アーム)のトランジスタ42aと、トランジスタ42bと、トランジスタ42cとをオフにする。また、下段(下アーム)のトランジスタ42dと、トランジスタ42eと、トランジスタ42fとをオンにする。
FIG. 4 is a diagram for explaining the regenerative braking operation. FIG. 5 is a diagram for explaining the regenerative braking operation and the duty ratio control.
In the regenerative braking, more specifically, as shown in FIG. 4A, the drive signals G1 to G3 output from the driver circuit 51 are set to a low signal (L signal), and the drive signals G4 to G6 are set to a high signal. By setting (H signal), the upper stage (upper arm) transistor 42a, transistor 42b, and transistor 42c are turned off. In addition, the lower (lower arm) transistor 42d, the transistor 42e, and the transistor 42f are turned on.

この状態で、電動モータ21が回転しようとして、例えば、固定子巻線21u及び21vに+電位、固定子巻線21wに−電位が発生すると、図4(B)に示すように、電動モータ21の固定子巻線21uに電流Iuが流れ、固定子巻線21vに電流Ivが流れ、固定子巻線21wに電流Iwが流れる。これにより、電動モータ21に制動トルク(回生ブレーキ力)が発生して、電動モータ21の回転がロックされる。なお、固定子巻線21u、21v、及び21wに発生する電位の極性は、固定子巻線21u、21v、及び21wと回転子47の相対的な位置関係と、回転子47の回転方向とにより決まるものであり、いずれの位置関係にある場合においても、下段側のトランジスタ42d、42e、及び42fをオンにすることにより、電動モータ21に回生ブレーキ力を発生させることができる。   In this state, when the electric motor 21 tries to rotate, for example, if a positive potential is generated in the stator windings 21u and 21v and a negative potential is generated in the stator winding 21w, the electric motor 21 is shown in FIG. Current Iu flows through the stator winding 21u, current Iv flows through the stator winding 21v, and current Iw flows through the stator winding 21w. As a result, braking torque (regenerative braking force) is generated in the electric motor 21 and the rotation of the electric motor 21 is locked. The polarity of the potential generated in the stator windings 21u, 21v, and 21w depends on the relative positional relationship between the stator windings 21u, 21v, and 21w and the rotor 47 and the rotation direction of the rotor 47. Regardless of the positional relationship, the regenerative braking force can be generated in the electric motor 21 by turning on the lower transistors 42d, 42e, and 42f.

また、この回生ブレーキ力は、回生ブレーキ制御部55により、その大きさが制御される。この回生ブレーキ制御部55は、図5に示すように、駆動信号G4〜G6において、所定の制御周期Tに占めるハイ信号(H信号)の時間の割合、つまり、固定子巻線の入力端子の短絡時間の割合であるデューティ比を変更することで、回生ブレーキ力の大きさを制御することができる。   The regenerative braking force is controlled by the regenerative brake control unit 55. As shown in FIG. 5, the regenerative brake control unit 55 has a ratio of time of a high signal (H signal) occupying a predetermined control cycle T in the drive signals G4 to G6, that is, an input terminal of the stator winding. The magnitude of the regenerative braking force can be controlled by changing the duty ratio, which is the ratio of the short circuit time.

つまり、図5に示すように、回生ブレーキ制御部55は、所定の制御周期Tの期間において、駆動信号G4〜G6をロー信号(L信号)にする期間を設け、下段側のトランジスタ42dと、トランジスタ42eと、トランジスタ42fとがオンするデューティ比を変化させる。つまり、回生ブレーキ制御部55は、下段側のトランジスタ42d、42e、及び42fを駆動する駆動信号G4、G5、及びG6をデューティ比に応じたパルス幅変調(PWM)信号として出力する。そして、回生ブレーキ制御部55は、PWM信号のバルス幅(デューティ比)を調整することにより、電動モータ21で発生する回生ブレーキ力を制御することができる。   That is, as shown in FIG. 5, the regenerative brake control unit 55 provides a period during which the drive signals G4 to G6 are set to a low signal (L signal) in the period of the predetermined control period T, The duty ratio at which the transistor 42e and the transistor 42f are turned on is changed. That is, the regenerative brake control unit 55 outputs the drive signals G4, G5, and G6 that drive the lower transistors 42d, 42e, and 42f as pulse width modulation (PWM) signals corresponding to the duty ratio. The regenerative brake control unit 55 can control the regenerative braking force generated by the electric motor 21 by adjusting the pulse width (duty ratio) of the PWM signal.

例えば、前述の図4(A)は、デューティ比が100%の場合である。この図4(A)のデューティ比100%の場合は、所定の制御周期Tの全期間において駆動信号G4、G5、及びG6をハイ信号(H信号)とし、駆動信号G1、G2、及びG3をロー信号(L信号)とすることにより、デューティ比100%とする信号をドライバ回路51に出力する。このデューティ比100%の場合、駆動回路部42は、制御周期Tの全期間において、駆動信号G4、G5、及びG6に対応する下段側のトランジスタ42dと、トランジスタ42eと、トランジスタ42fとを同時にオンさせる。これにより。回生ブレーキ制御部55は、固定子巻線21u、21v、及び21wの入力端子22u、22v、及び22wを短絡させて回生ブレーキ力を発生させる。   For example, FIG. 4A described above is a case where the duty ratio is 100%. In the case of the duty ratio of 100% in FIG. 4A, the drive signals G4, G5, and G6 are set to a high signal (H signal) in the entire period of the predetermined control cycle T, and the drive signals G1, G2, and G3 are set. By using a low signal (L signal), a signal with a duty ratio of 100% is output to the driver circuit 51. When the duty ratio is 100%, the drive circuit unit 42 simultaneously turns on the lower transistor 42d, the transistor 42e, and the transistor 42f corresponding to the drive signals G4, G5, and G6 during the entire control cycle T. Let By this. The regenerative brake control unit 55 generates a regenerative braking force by short-circuiting the input terminals 22u, 22v, and 22w of the stator windings 21u, 21v, and 21w.

そして、図5(A)は、デューティ比が中(例えば、60〜70%)の場合であり、図5(B)は、デューティ比が小(例えば、20〜30%)の場合である。例えば、図5(A)において、駆動信号G4〜G6がハイ信号(H信号)となる期間で下段側のトランジスタ42dと、トランジスタ42eと、トランジスタ42fとを同時にオンにし、固定子巻線21u、21v、及び21wの入力端子22u、22v、及び22wを短絡させる。また、駆動信号G4〜G6がロー信号(L信号)となる期間で、下段側のトランジスタ42dと、トランジスタ42eと、トランジスタ42fとを同時にオフにし、固定子巻線21u、21v、及び21wの入力端子22u、22v、及び22wを短絡から開放する。図5(B)についても同様である。
このように、回生ブレーキ制御部55は、デューティ比を制御することにより、回生ブレーキ力の大きさを制御することができる。つまり、回生ブレーキ制御部55は、このデューティ比を小さくすることにより、回生ブレーキ力を低下させることができる。
FIG. 5A shows a case where the duty ratio is medium (for example, 60 to 70%), and FIG. 5B shows a case where the duty ratio is small (for example, 20 to 30%). For example, in FIG. 5A, the lower transistor 42d, the transistor 42e, and the transistor 42f are simultaneously turned on in a period in which the drive signals G4 to G6 are high signals (H signals), and the stator winding 21u, The input terminals 22u, 22v, and 22w of 21v and 21w are short-circuited. Further, during the period in which the drive signals G4 to G6 are low signals (L signals), the lower transistor 42d, the transistor 42e, and the transistor 42f are simultaneously turned off, and the stator windings 21u, 21v, and 21w are input. Terminals 22u, 22v, and 22w are released from the short circuit. The same applies to FIG.
In this way, the regenerative brake control unit 55 can control the magnitude of the regenerative brake force by controlling the duty ratio. That is, the regenerative brake control unit 55 can reduce the regenerative brake force by reducing the duty ratio.

上述した回生ブレーキ制御部55の動作により、本実施形態のモータ制御装置41では、途中停止機能付のパワースライドドア装置において、車両11が平坦な場所でない傾斜地などで駐車している状態でスライドドア12を途中停止させた場合に、スライドドア12が重力の作用する方向に急激に移動することを回避することができる。   By the operation of the regenerative brake control unit 55 described above, in the motor control device 41 of the present embodiment, in the power slide door device with a halfway stop function, the slide door is in a state where the vehicle 11 is parked on an inclined place or the like that is not flat. When the door 12 is stopped halfway, the sudden movement of the slide door 12 in the direction in which gravity acts can be avoided.

つまり、スライドドア12を途中停止させた場合に、回生ブレーキ制御部55は、最初は、デューティ比100%で電動モータ21に回生ブレーキ力を発生させ、電動モータ21の回転をロックすることにより、スライドドア12の移動を停止させる。
そして、所定の第1規定時間の経過後(例えば、10分経過後)に、回生ブレーキ制御部55は、デューティ比を徐々に低下させて回生ブレーキ力を弱めることにより、スライドドア12を重力の作用する方向に徐々に移動させる。なお、上記第1所定時間は、車両11における消費電力を低減する省電力モードに移行するために予め設定される時間である。
That is, when the sliding door 12 is stopped halfway, the regenerative brake control unit 55 first generates a regenerative braking force in the electric motor 21 with a duty ratio of 100%, and locks the rotation of the electric motor 21. The movement of the slide door 12 is stopped.
Then, after a predetermined first specified time has elapsed (for example, after 10 minutes have elapsed), the regenerative brake control unit 55 gradually reduces the duty ratio to weaken the regenerative brake force, thereby causing the slide door 12 to move to the gravitational force. Move gradually in the direction of action. The first predetermined time is a time set in advance to shift to the power saving mode for reducing the power consumption in the vehicle 11.

このように、モータ制御装置41では、回生ブレーキ制御部55がデューティ比を徐々に低下させることにより、傾斜地などにおいて重力が作用する方向にスライドドア12を滑らかに移動させることができる。そして、モータ制御装置41は、スライドドア12の閉状態が検出された場合、例えば、スライドドア12の「全閉位置」がリミットスイッチにより検出された場合に、回生ブレーキ動作を終了させる。また、モータ制御装置41は、スライドドア12の開状態での停止が検出された場合、例えば、ドア開閉情報生成部52により電動モータ21の回転停止が検出された場合に、回生ブレーキ動作を終了させる。   As described above, in the motor control device 41, the regenerative brake control unit 55 gradually decreases the duty ratio, so that the slide door 12 can be smoothly moved in a direction in which gravity acts on an inclined land or the like. When the closed state of the slide door 12 is detected, for example, when the “fully closed position” of the slide door 12 is detected by the limit switch, the motor control device 41 ends the regenerative braking operation. Further, the motor control device 41 ends the regenerative braking operation when the stop in the open state of the slide door 12 is detected, for example, when the rotation stop of the electric motor 21 is detected by the door opening / closing information generation unit 52. Let

(回生ブレーキ力の第1の制御例)
次に、回生ブレーキ力の具体的な制御例について説明する。
図6は、スライドドア12を途中停止させたときの回生ブレーキ力の第1の制御例を示す図である。この図6は、スライドドア12の位置及び移動速度を検出しない場合の例であり、横方向に時間tの経過を示し、縦方向に回生ブレーキ動作のデューティ比Duの時間変化と、スライドドア12の移動速度であるドア速度Spの時間変化と、を並べて示したものである。
(First example of regenerative braking force control)
Next, a specific control example of the regenerative braking force will be described.
FIG. 6 is a diagram illustrating a first control example of the regenerative braking force when the sliding door 12 is stopped halfway. FIG. 6 shows an example in which the position and moving speed of the slide door 12 are not detected. The time t is elapsed in the horizontal direction, the time change in the duty ratio Du of the regenerative braking operation in the vertical direction, and the slide door 12. These are side-by-side changes of the door speed Sp, which is the moving speed.

この図6に示す例において、時刻t1において、利用者が開閉スイッチ45を操作して、スライドドア12を傾斜地で途中停止させると、回生ブレーキ制御部55は、最初に、デューティ比100%で回生ブレーキを作動させる。これにより、電動モータ21の回転をロックして、スライドドア12の移動を停止させることができる。
そして、この時刻t1から所定の第1規定時間(例えば、10分)が経過する時刻t2までの間、回生ブレーキ制御部55は、電動モータ21にデューティ比100%の回生ブレーキ動作を行わせる。
In the example shown in FIG. 6, when the user operates the open / close switch 45 to stop the slide door 12 halfway on an inclined ground at time t1, the regenerative brake control unit 55 first regenerates at a duty ratio of 100%. Activate the brake. Thereby, rotation of the electric motor 21 can be locked and the movement of the slide door 12 can be stopped.
The regenerative brake control unit 55 causes the electric motor 21 to perform a regenerative brake operation with a duty ratio of 100% from the time t1 to a time t2 when a predetermined first specified time (for example, 10 minutes) elapses.

その後、時刻t1から所定の第1規定時間が経過し、時刻t2後に至ると、この時刻t2以降、回生ブレーキ制御部55は、回生ブレーキ動作のデューティ比を徐々に低下させていく。つまり、回生ブレーキ制御部55は、デューティ比Duを初期値100%から所定の制御周期T(図5参照)ごとに一定の割合で徐々に低下させることにより、時間の経過とともに電動モータ21の回生ブレーキ力を次第に弱めて行く。   Thereafter, when a predetermined first specified time elapses from time t1 and after time t2, the regenerative brake control unit 55 gradually decreases the duty ratio of the regenerative brake operation after time t2. That is, the regenerative brake control unit 55 gradually decreases the duty ratio Du from the initial value 100% at a predetermined rate every predetermined control cycle T (see FIG. 5), thereby regenerating the electric motor 21 with time. Decrease the braking force gradually.

そして、時刻t1の後の時刻t2’に至り、重力の作用によりスライドドア12が傾斜方向に移動しようとする力が、回生ブレーキ力よりも大きくなると、スライドドア12が移動を開始する。そして、時刻t2’以降、回生ブレーキ制御部55が電動モータ21の回生ブレーキ力を弱めるに従い、スライドドア12のドア速度Spが次第に増加する。   Then, at time t2 'after time t1, the sliding door 12 starts moving when the force that causes the sliding door 12 to move in the tilt direction due to the action of gravity becomes greater than the regenerative braking force. Then, after time t2 ', as the regenerative brake control unit 55 weakens the regenerative brake force of the electric motor 21, the door speed Sp of the slide door 12 gradually increases.

この回生ブレーキ制御部55は、デューティ比の下限閾値として「規定デューティ比Du1(デューティ閾値)」の情報を保持している。回生ブレーキ制御部55は、時刻t2以降、次第にデューティ比Duを小さくし、時刻t3において、デューティ比Duが規定デューティ比Du1(デューティ閾値)に到達した場合、この時刻t3以降、デューティ比を規定デューティ比Du1(デューティ閾値)よりも低下させないようする。つまり、この時刻t3以降、回生ブレーキ制御部55は、デューティ比が規定デューティ比Du1になるように一定に維持する。   The regenerative brake control unit 55 holds information of “specified duty ratio Du1 (duty threshold)” as a lower limit threshold of the duty ratio. The regenerative brake control unit 55 gradually decreases the duty ratio Du after time t2, and when the duty ratio Du reaches the specified duty ratio Du1 (duty threshold) at time t3, the duty ratio is set to the specified duty after time t3. The ratio Du1 (duty threshold) is not lowered. That is, after this time t3, the regenerative brake control unit 55 keeps the duty ratio constant so that the duty ratio becomes the specified duty ratio Du1.

そして、時刻t3以降、スライドドア12は移動をし続け、時刻t4に至り、ドア位置が「全開位置」又は「全閉位置」に到達すると、物理的な制約によりスライドドア12の移動が停止し、ドア速度が0(ゼロ)となる。なお、時刻t3から時刻t4までのドア速度Spは、必ずしも一定速度であるとは限らず、スライドドア12を傾斜方向に移動させようとする力の大きさと、電動モータ21の回生ブレーキ力の大きさとに応じて、次第に速度が増加する場合もある。   Then, after time t3, the slide door 12 continues to move, and when time t4 is reached and the door position reaches the “fully open position” or “fully closed position”, the movement of the slide door 12 stops due to physical restrictions. The door speed becomes 0 (zero). Note that the door speed Sp from the time t3 to the time t4 is not necessarily a constant speed, and the magnitude of the force for moving the slide door 12 in the tilt direction and the magnitude of the regenerative braking force of the electric motor 21. Depending on the situation, the speed may increase gradually.

そして、回生ブレーキ制御部55は、時刻t4の後の時刻t5まで回生ブレーキの制御を継続する。これは、回生ブレーキ制御部55がスライドドア12のドア速度Spを検出しないため、ドア速度Spが0(ゼロ)になったことを検出できず、ドア速度Spが0(ゼロ)になる時刻t4以降も時刻t5まで電動モータ21の回生ブレーキ制御を行う。   And regenerative brake control part 55 continues control of regenerative brake until time t5 after time t4. This is because the regenerative brake control unit 55 does not detect the door speed Sp of the slide door 12, and therefore cannot detect that the door speed Sp has become 0 (zero), and the time t4 when the door speed Sp becomes 0 (zero). Thereafter, regenerative braking control of the electric motor 21 is performed until time t5.

この時刻t5は、スライドドア12が「途中停止位置」から「全開位置」又は「全閉位置」に到達するであろうと推定される時間に基づいて設定されるものであり、車両11の想定される傾斜角度と、スライドドア12の移動距離とに応じて設定されるものである。つまり、デューティ比を低下させる制御を開始した時刻t2から、回生ブレーキ制御を終了する時刻t5までの時間(第2規定時間)は、スライドドア12の開閉方向への想定される移動時間に基づいて、所定の余裕時間を見て設定されるものである(例えば、5分に設定)。   This time t5 is set based on the time estimated that the slide door 12 will reach the “fully open position” or the “fully closed position” from the “halfway stop position”. It is set according to the inclination angle and the moving distance of the sliding door 12. That is, the time (second specified time) from the time t2 at which the control for reducing the duty ratio is started to the time t5 at which the regenerative brake control is ended is based on the assumed moving time in the opening / closing direction of the slide door 12. These are set with a predetermined margin time (for example, set to 5 minutes).

このように、本実施形態のモータ制御装置41では、回生ブレーキ制御部55がデューティ比を徐々に低下させて回生ブレーキ力を弱めていくため、スライドドア12を滑らかに移動させることができる。このため、モータ制御装置41では、スライドドアが急激に移動して衝撃を発生させることを回避し、ユーザに与える不安感をなくすことができる。   As described above, in the motor control device 41 of the present embodiment, the regenerative brake control unit 55 gradually decreases the duty ratio and weakens the regenerative brake force, so that the slide door 12 can be moved smoothly. For this reason, in the motor control apparatus 41, it can avoid that a sliding door moves suddenly and generate | occur | produces an impact, and the anxiety given to a user can be eliminated.

なお、図6に示した例では、回生ブレーキ制御部55は、時刻t1〜t2におけるデューティ比(初期デューティ比)を100%としているが、これに限定されず、初期デューティ比は所望の値(例えば、90%等)に設定できるものである(後述する図7においても同様)。   In the example shown in FIG. 6, the regenerative brake control unit 55 sets the duty ratio (initial duty ratio) at time t1 to t2 to 100%, but is not limited to this, and the initial duty ratio is a desired value ( For example, 90% or the like can be set (the same applies to FIG. 7 described later).

(回生ブレーキ力の第2の制御例)
また、図7は、スライドドア12を途中停止させたときの回生ブレーキ力の第2の制御例を示す図である。この図7に示す例は、スライドドア12の位置及び移動速度を検出する場合の例であり、横方向に時間tの経過を示し、縦方向にデューティ比Duの時間変化と、スライドドア12の移動速度であるドア速度Spの時間変化と、を並べて示したものである。
(Second example of regenerative braking force control)
FIG. 7 is a diagram illustrating a second control example of the regenerative braking force when the slide door 12 is stopped halfway. The example shown in FIG. 7 is an example in which the position and moving speed of the slide door 12 are detected. The time t has elapsed in the horizontal direction, the time change of the duty ratio Du in the vertical direction, The change with time of the door speed Sp, which is the moving speed, is shown side by side.

この図7に示す例は、回生ブレーキ制御部55が、デューティ比の下限閾値(デューティ閾値)としての「規定デューティ比Du1」と、速度閾値としての「規定速度Sp1」の情報を保持している例である。回生ブレーキ制御部55は、デューティ比Duまたはドア速度Spが、それぞれの閾値に到達した場合、それ以上、デューティ比を低下させないように制御する。   In the example shown in FIG. 7, the regenerative brake control unit 55 holds information on “specified duty ratio Du1” as a lower limit threshold (duty threshold) of the duty ratio and “specified speed Sp1” as a speed threshold. It is an example. When the duty ratio Du or the door speed Sp reaches the respective threshold values, the regenerative brake control unit 55 performs control so as not to further decrease the duty ratio.

この図7に示す例では、時刻t2以降、回生ブレーキ制御部55がデューティ比を徐々に低下させると、時刻t1の後の時刻t2’に至り、重力の作用によりスライドドア12が傾斜方向に移動しようとする力が回生ブレーキ力よりも大きくなり、スライドドア12が移動を開始する。そして、時刻t2’以降、回生ブレーキ制御部55が電動モータ21の回生ブレーキ力を弱めるに従い、スライドドア12のドア速度Spが次第に増加する。   In the example shown in FIG. 7, when the regenerative brake control unit 55 gradually decreases the duty ratio after time t2, time t2 ′ after time t1 is reached, and the slide door 12 moves in the tilt direction due to the action of gravity. The force to be increased becomes greater than the regenerative braking force, and the sliding door 12 starts moving. Then, after time t2 ', as the regenerative brake control unit 55 weakens the regenerative brake force of the electric motor 21, the door speed Sp of the slide door 12 gradually increases.

そして、時刻t2’の後の時刻t6において、ドア速度Spが「規定速度Sp1」に到達する。つまり、デューティ比Duがデューティ閾値としての「規定デューティ比Du1」に到達する前に、ドア速度Spが「規定速度Sp1」に到達する。このため、回生ブレーキ制御部55は、デューティ比Duを低下させること停止し、ドア速度Spが「規定速度Sp1」を大きく超えた速度にならないように制限する。   Then, at time t6 after time t2 ', the door speed Sp reaches the "specified speed Sp1". That is, the door speed Sp reaches the “specified speed Sp1” before the duty ratio Du reaches the “specified duty ratio Du1” as the duty threshold. For this reason, the regenerative brake control unit 55 stops reducing the duty ratio Du and restricts the door speed Sp so as not to greatly exceed the “specified speed Sp1”.

そして、スライドドア12が移動し、時刻t6の後の時刻t7に至ると、スライドドア12が「全開位置」又は「全閉位置」に到達して停止し、ドア速度Spが0(ゼロ)になる。回生ブレーキ制御部55は、スライドドア12の移動が停止したことを検出して、回生ブレーキの制御動作を終了する。
これにより、回生ブレーキ制御部55は、スライドドア12の移動速度を検出して、この移動速度が速くなりすぎることを防ぐことができる。また、回生ブレーキ制御部55は、スライドドア12が「全開位置」又は「全開位置」に到達したことを検出して、回生ブレーキの制御動作を終了することができる。
When the sliding door 12 moves and reaches time t7 after time t6, the sliding door 12 reaches the “fully open position” or “fully closed position” and stops, and the door speed Sp becomes 0 (zero). Become. The regenerative brake control unit 55 detects that the movement of the slide door 12 has stopped, and ends the regenerative brake control operation.
Thereby, the regenerative brake control unit 55 can detect the moving speed of the slide door 12 and prevent the moving speed from becoming too fast. Further, the regenerative brake control unit 55 can detect that the slide door 12 has reached the “fully open position” or the “fully open position”, and terminate the regenerative brake control operation.

また、図8は、上述した回生ブレーキ制御部55における回生ブレーキの制御手順をフローチャートで示したものである。以下、図8のフローチャートを参照して、その処理の流れについて説明する。   FIG. 8 is a flowchart showing the regenerative brake control procedure in the regenerative brake control unit 55 described above. Hereinafter, the processing flow will be described with reference to the flowchart of FIG.

最初に、開閉スイッチ45の操作によりスライドドア12の「途中停止」が指示される(ステップST1)。回生ブレーキ制御部55は、電動モータ21に回生ブレーキ力を発生させてスライドドア12を途中停止させる(ステップST2)(図6の時刻t1を参照)。このスライドドア12を途中停止させる場合、回生ブレーキ制御部55は、デューティ比(Duty)100%で下段のトランジスタ(IGBT)42d、42e、及び42fをオンにし、上段のトランジスタ(IGBT)42a、42b、及び42cをオフにする。   First, an “intermediate stop” of the slide door 12 is instructed by operating the open / close switch 45 (step ST1). The regenerative brake control unit 55 causes the electric motor 21 to generate a regenerative braking force to stop the slide door 12 halfway (step ST2) (see time t1 in FIG. 6). When the slide door 12 is stopped halfway, the regenerative brake control unit 55 turns on the lower transistors (IGBT) 42d, 42e, and 42f with a duty ratio (Duty) of 100%, and the upper transistors (IGBT) 42a, 42b. , And 42c are turned off.

ステップST2において電動モータ21にデューティ比100%(初期デューティ比)で回生ブレーキ力を発生させた後、回生ブレーキ制御部55は、所定の第1規定時間(車両が省電力モードへ移行するために予め設定された時間)が経過したか否かを判定する(ステップST3)。ステップST3の判定処理において、所定の第1規定時間が経過していないと判定された場合(ステップST3:No)、回生ブレーキ制御部55は、デューティ比100%で電動モータ21に回生ブレーキ力を与え続ける。
なお、図6及び図7の時刻t1〜t2の間で行われる処理が、図8のステップST1〜ST3の処理に相当する。
After generating the regenerative braking force at the duty ratio of 100% (initial duty ratio) in the electric motor 21 in step ST2, the regenerative brake control unit 55 performs a predetermined first specified time (for the vehicle to shift to the power saving mode). It is determined whether or not a preset time has elapsed (step ST3). In the determination process of step ST3, when it is determined that the predetermined first specified time has not elapsed (step ST3: No), the regenerative brake control unit 55 applies the regenerative braking force to the electric motor 21 with a duty ratio of 100%. Keep giving.
Note that the processing performed between times t1 and t2 in FIGS. 6 and 7 corresponds to the processing in steps ST1 and ST3 in FIG.

一方、ステップST3の判定処理において、所定の第1規定時間が経過したと判定された場合(ステップST3:Yes)、回生ブレーキ制御部55は、位置センサ(ホールIC48u、ホールIC48v、及びホールIC48w)に故障が発生しているか否かを判定する(ステップST4)。この位置センサ(ホールIC48u、ホールIC48v、及びホールIC48w)の故障は、電動モータ21を駆動してスライドドア12を開閉する際に、予め検出してその故障情報を保持できるものである。   On the other hand, in the determination process of step ST3, when it is determined that the predetermined first specified time has elapsed (step ST3: Yes), the regenerative brake control unit 55 detects the position sensors (Hall IC 48u, Hall IC 48v, and Hall IC 48w). Whether or not a failure has occurred is determined (step ST4). The failure of the position sensors (Hall IC 48u, Hall IC 48v, and Hall IC 48w) can be detected in advance when the electric motor 21 is driven to open and close the slide door 12, and the failure information can be retained.

そして、ステップST4の処理において、位置センサに故障が発生していると判定された場合(ステップST4:Yes)、回生ブレーキ制御部55は、位置センサ故障時の処理(ステップST5〜ステップST8側の処理)に移行する。なお、図6において、時刻t2〜t5の間に行われる処理が、ステップST5〜ステップST8の処理に相当する。   When it is determined in step ST4 that the position sensor has failed (step ST4: Yes), the regenerative brake control unit 55 performs processing at the time of position sensor failure (step ST5 to step ST8 side). Process). In FIG. 6, the process performed between times t2 and t5 corresponds to the process of steps ST5 to ST8.

そして、ステップST5に移行すると、回生ブレーキ制御部55は、回生ブレーキ制御の終了条件が成立しているか否を判定する(ステップST5)。このステップST5における終了条件として、スライドドア12が途中停止位置から「全閉位置」又は「全閉位置」に移動するのに要すると想定される第2規定時間(予め設定される時間)を超えたか否かが判定される。このステップST5の判定に使用される第2規定時間は、例えば、図6に示す時刻t2から時刻t5の間の時間が相当する。   When the process proceeds to step ST5, the regenerative brake control unit 55 determines whether or not a regenerative brake control end condition is satisfied (step ST5). As an end condition in this step ST5, it exceeds a second specified time (preset time) assumed to be required for the slide door 12 to move from the halfway stop position to the “fully closed position” or “fully closed position”. It is determined whether or not. The second specified time used for the determination in step ST5 corresponds to, for example, the time between time t2 and time t5 shown in FIG.

そして、ステップST5の処理において、終了条件が成立していると判定された場合(ステップST5:Yes)、回生ブレーキ制御部55は、回生ブレーキの制御動作を終了する(ステップST14)。
一方、ステップST5の処理において、終了条件が成立していないと判定された場合(ステップST5:No)、回生ブレーキ制御部55は、現在のデューティ比(Duty)が規定デューティ比(規定Duty)に到達しているか否かを判定する(ステップST6)。例えば、図6では、時刻t3において規定デューティ比Du1に到達したと判定される。
If it is determined in step ST5 that the end condition is satisfied (step ST5: Yes), the regenerative brake control unit 55 ends the regenerative brake control operation (step ST14).
On the other hand, in the process of step ST5, when it is determined that the end condition is not satisfied (step ST5: No), the regenerative brake control unit 55 sets the current duty ratio (Duty) to the specified duty ratio (specified duty). It is determined whether or not it has reached (step ST6). For example, in FIG. 6, it is determined that the specified duty ratio Du1 has been reached at time t3.

そして、ステップST6の処理において規定デューティ比に到達していると判定された場合(ステップST6:Yes)、回生ブレーキ制御部55は、ステップST5の処理に戻り、回生ブレーキ制御の終了条件が成立しているか否かを判定する(ステップST5)。   When it is determined in step ST6 that the specified duty ratio has been reached (step ST6: Yes), the regenerative brake control unit 55 returns to step ST5, and the regenerative brake control end condition is satisfied. It is determined whether or not (step ST5).

一方、ステップST6の処理において規定デューティ比に到達していないと判定された場合(ステップST6:No)、回生ブレーキ制御部55は、デューティ比を低下させるタイミング(図5の制御周期Tを参照)を決めるデューティタイマ(Duty Timer)がタイムアップ(計測完了)したか否かを判定する(ステップST7)。
そして、ステップST7の処理においてデューティタイマがタイムアップ(計測完了)していない判定された場合(ステップST7:No)、回生ブレーキ制御部55は、ステップST5の処理に戻り、回生ブレーキ制御の終了条件が成立しているか否かを判定する(ステップST5)。
On the other hand, when it is determined in step ST6 that the specified duty ratio has not been reached (step ST6: No), the regenerative brake control unit 55 reduces the duty ratio (see the control cycle T in FIG. 5). It is determined whether or not the duty timer (Duty Timer) for determining the time is up (measurement is completed) (step ST7).
If it is determined in step ST7 that the duty timer has not timed up (measurement completed) (step ST7: No), the regenerative brake control unit 55 returns to step ST5 and the regenerative brake control end condition is reached. Is determined (step ST5).

一方、ステップST7の処理においてデューティタイマがタイムアップ(計測完了)していると判定された場合(ステップST7:Yes)、回生ブレーキ制御部55は、デューティタイマの計測値をリセットするとともに、下段のトランジスタ42d、42e、及び42fのデューティ比を所定分だけダウン(低下)させて(ステップST8)、その後にステップST5の処理に戻る。   On the other hand, if it is determined in step ST7 that the duty timer has timed up (measurement completed) (step ST7: Yes), the regenerative brake control unit 55 resets the measured value of the duty timer and The duty ratios of the transistors 42d, 42e, and 42f are reduced (decreased) by a predetermined amount (step ST8), and then the process returns to step ST5.

次に、ステップST4の処理に戻り、このステップST4の処理において位置センサに故障が発生していないと判定された場合(ステップST4:No)、回生ブレーキ制御部55は、位置センサ正常時の処理(ステップST9〜ステップST13側の処理)に移行する。なお、図7の時刻t2〜t7の間に行われる処理が、ステップST9〜ステップST13の処理に相当する。   Next, returning to the process of step ST4, when it is determined that no failure has occurred in the position sensor in the process of step ST4 (step ST4: No), the regenerative brake control unit 55 performs the process when the position sensor is normal. The process proceeds to (step ST9 to step ST13 side processing). Note that the processing performed between times t2 and t7 in FIG. 7 corresponds to the processing in steps ST9 to ST13.

そしてステップST9に移行すると、回生ブレーキ制御部55は、回生ブレーキ制御の終了条件が成立しているか否を判定する(ステップST9)。このステップST9の終了条件の判定処理においては、スライドドア12が「全閉位置」又は「全閉位置」まで移動した場合と、スライドドア12が途中停止位置から「全閉位置」又は「全閉位置」に移動するのに要すると想定される第2規定時間(予め設定される時間)を超えた場合と、スライドドア12の移動が開始された後に電動モータ21の発電が停止した場合と、のいずれかの場合が生じた際に、終了条件が成立したと判定される。   When the process proceeds to step ST9, the regenerative brake control unit 55 determines whether or not the regenerative brake control end condition is satisfied (step ST9). In the determination process of the end condition in step ST9, when the slide door 12 moves to the “fully closed position” or “fully closed position”, the slide door 12 moves from the halfway stop position to the “fully closed position” or “fully closed”. A case where a second specified time (preset time) assumed to be required to move to “position” is exceeded, a case where power generation of the electric motor 21 is stopped after the movement of the slide door 12 is started, When either of the cases occurs, it is determined that the end condition is satisfied.

なお、スライドドア12の「全閉位置」は、スライドドア12が完全に閉まったことを検出する全閉検出スイッチ46(例えば、リミットスイッチ)により検出することができる。また、「全開位置」は、ドア開閉情報生成部52により検出される。また、電動モータ21の発電停止は、電動モータ21のコイルに流れる電流を測定することにより検出することができる他、位置センサ(ホールIC48u、ホールIC48v、及びホールIC48w)の出力信号の変化の有無により検出することができる。   The “fully closed position” of the slide door 12 can be detected by a fully closed detection switch 46 (for example, a limit switch) that detects that the slide door 12 is completely closed. The “fully opened position” is detected by the door opening / closing information generation unit 52. In addition, the power generation stoppage of the electric motor 21 can be detected by measuring the current flowing through the coil of the electric motor 21, and whether or not the output signals of the position sensors (Hall IC 48u, Hall IC 48v, and Hall IC 48w) have changed. Can be detected.

そして、ステップST9の判定処理において、終了条件が成立していると判定された場合(ステップST9:Yes)、回生ブレーキ制御部55は、回生ブレーキの制御動作を終了する(ステップST14)。
一方、ステップST9の判定処理において、終了条件が成立していないと判定された場合(ステップST9:No)、回生ブレーキ制御部55は、スライドドア12の移動速度が規定速度(図7の規定速度SP1を参照)を超えているか否かを判定する(ステップST10)。
If it is determined in the determination process of step ST9 that the end condition is satisfied (step ST9: Yes), the regenerative brake control unit 55 ends the regenerative brake control operation (step ST14).
On the other hand, in the determination process of step ST9, when it is determined that the end condition is not satisfied (step ST9: No), the regenerative brake control unit 55 determines that the moving speed of the slide door 12 is the specified speed (the specified speed in FIG. 7). It is determined whether or not (see SP1) is exceeded (step ST10).

そして、ステップST10の判定処理において、スライドドア12のドア速度が規定速度を超えていると判定された場合(ステップST10:Yes)、回生ブレーキ制御部55は、デューティ比を低下させる制御を行うことなくステップST9の処理に戻り、回生ブレーキ制御の終了条件が成立しているか否かを判定する。
図7に示す例では、時刻t6において、ドア速度Spが規定速度Sp1に到達し、このときのデューティ比がデューティ比Du2になる。回生ブレーキ制御部55では、この時刻t6以降、時刻t7まで、デューティ比Duを一定のデューティ比Du2に維持する。
Then, in the determination process of step ST10, when it is determined that the door speed of the slide door 12 exceeds the specified speed (step ST10: Yes), the regenerative brake control unit 55 performs control to reduce the duty ratio. If not, the process returns to step ST9 to determine whether or not the regenerative brake control end condition is satisfied.
In the example shown in FIG. 7, at time t6, the door speed Sp reaches the specified speed Sp1, and the duty ratio at this time becomes the duty ratio Du2. The regenerative brake control unit 55 maintains the duty ratio Du at a constant duty ratio Du2 from time t6 to time t7.

一方、ステップST10の判定処理において、スライドドア12のドア速度が規定速度を超えていないと判定された場合(ステップST10:No)、回生ブレーキ制御部55は、現在のデューティ比(Duty)が規定デューティ比Du1(デューティ閾値)に到達しているか否かを判定する(ステップST11)。   On the other hand, in the determination process of step ST10, when it is determined that the door speed of the slide door 12 does not exceed the specified speed (step ST10: No), the regenerative brake control unit 55 sets the current duty ratio (Duty). It is determined whether or not the duty ratio Du1 (duty threshold) has been reached (step ST11).

そして、ステップST11の判定処理において規定デューティ比Du1に到達していると判定された場合(ステップST11:Yes)、回生ブレーキ制御部55は、ステップST9の処理に戻り、回生ブレーキ制御の終了条件が成立しているか否かを判定する。   When it is determined in step ST11 that the specified duty ratio Du1 has been reached (step ST11: Yes), the regenerative brake control unit 55 returns to the process in step ST9, and the regenerative brake control end condition is satisfied. It is determined whether it is established.

また、ステップST11の判定処理において規定デューティ比Du1に到達していないと判定された場合(ステップST11:No)、回生ブレーキ制御部55は、デューティ比を低下させるタイミング(制御周期T)を決めるデューティタイマがタイムアップ(計測完了)したか否かを判定する(ステップST12)。   Further, when it is determined in step ST11 that the specified duty ratio Du1 has not been reached (step ST11: No), the regenerative brake control unit 55 determines the timing (control cycle T) for reducing the duty ratio. It is determined whether or not the timer has timed up (measurement completed) (step ST12).

そして、ステップST12の判定処理においてデューティタイマがタイムアップ(計測完了)していない判定された場合(ステップST12:No)、回生ブレーキ制御部55は、現在のデューティ比を維持して、ステップST9の処理に戻り、回生ブレーキ制御の終了条件が成立しているか否かを判定する。   When it is determined in the determination process of step ST12 that the duty timer has not timed up (measurement completed) (step ST12: No), the regenerative brake control unit 55 maintains the current duty ratio and performs step ST9. Returning to the processing, it is determined whether or not the regenerative brake control end condition is satisfied.

一方、ステップST12の処理においてデューティタイマがタイムアップ(計測完了)していると判定された場合(ステップST12:Yes)、回生ブレーキ制御部55は、下段のトランジスタ42d、42e、及び42fのデューティ比を所定分だけダウン(低下)させて(ステップST13)、その後、ステップST9の処理に戻り、回生ブレーキ制御の終了条件が成立しているか否かを判定する。   On the other hand, when it is determined in step ST12 that the duty timer has timed up (measurement completed) (step ST12: Yes), the regenerative brake control unit 55 determines the duty ratio of the lower transistors 42d, 42e, and 42f. Is lowered (decreased) by a predetermined amount (step ST13), and then the process returns to step ST9 to determine whether or not the regenerative brake control termination condition is satisfied.

以上説明したように、本発明のモータ制御装置41によれば、車両が傾斜地で停止したときに、スライドドア12を途中停止させると、重力の作用によりスライドドア12が傾斜方向に移動しようとするが、回生ブレーキ制御部55は、電動モータ21に回生ブレーキ力を発生させることにより、スライドドア12を途中停止させるとともに、途中停止後は、スライドドア12の「全閉位置」又は「全開位置」まで滑らかに移動させることができる。   As described above, according to the motor control device 41 of the present invention, when the sliding door 12 is stopped halfway when the vehicle stops on an inclined ground, the sliding door 12 tends to move in the tilting direction due to the action of gravity. However, the regenerative brake control unit 55 causes the electric motor 21 to generate a regenerative braking force to stop the slide door 12 halfway, and after the halfway stop, the “fully closed position” or “fully open position” of the slide door 12. Can be moved smoothly.

以上、本発明の実施形態について説明したが、本発明の実施形態に係わるモータ制御装置41は、図3に示すように、駆動回路部42、直流電源44、ドライバ回路51、ドア開閉情報生成部52、及び制御部53を含んで構成される。
そして、上記実施形態において、本発明のモータ制御装置41は、車両11のスライドドア12の開閉を行う電動モータ21の回転を制御するとともに、開閉中のスライドドア12を途中停止させる場合に、電動モータ21の入力端子を短絡し回生ブレーキ力を発生させてスライドドア12を途中停止させる制御部53を有するモータ制御装置41であって、制御部53は、所定の制御周期Tに占める入力端子の短絡時間の割合であるデューティ比を、スライドドア12を途中停止させてから所定の第1規定時間が経過するまでは、所定の初期デューティ比に維持し、所定の第1規定時間の経過後は、所定の制御周期Tごとに、デューティ比を初期デューティ比から徐々に低下させて回生ブレーキ力を制御する。
このような構成のモータ制御装置であれば、スライドドア12を途中停止させる場合に、電動モータ21の入力端子22u、22v、及び22wを短絡し回生ブレーキ力を発生させてスライドドア12を途中停止させる。そして、スライドドア12を途中停止させてから所定の第1規定時間が経過するまでは、所定の初期デューティ比により電動モータ21に回生ブレーキ力を発生させ、この第1規定時間の経過後は、デューティ比を初期デューティ比から徐々に低下させることにより回生ブレーキ力を徐々に弱めていく。
これにより、傾斜地で停止した車両11において、途中停止したスライドドア12が重力の作用により傾斜方向に移動する際に、このスライドドア12を滑らかに移動させることができる。
Although the embodiment of the present invention has been described above, the motor control device 41 according to the embodiment of the present invention includes a drive circuit unit 42, a DC power supply 44, a driver circuit 51, a door opening / closing information generation unit, as shown in FIG. 52 and a control unit 53.
In the above embodiment, the motor control device 41 according to the present invention controls the rotation of the electric motor 21 that opens and closes the slide door 12 of the vehicle 11 and electrically stops the slide door 12 that is being opened and closed halfway. The motor control device 41 includes a control unit 53 that short-circuits an input terminal of the motor 21 to generate a regenerative braking force and stops the slide door 12 halfway, and the control unit 53 includes an input terminal that occupies a predetermined control cycle T. The duty ratio, which is the ratio of the short circuit time, is maintained at a predetermined initial duty ratio until the predetermined first specified time elapses after the sliding door 12 is stopped halfway, and after the predetermined first specified time has elapsed. The regenerative braking force is controlled by gradually decreasing the duty ratio from the initial duty ratio every predetermined control cycle T.
With the motor control device having such a configuration, when the slide door 12 is stopped halfway, the input terminals 22u, 22v, and 22w of the electric motor 21 are short-circuited to generate a regenerative braking force and the slide door 12 is stopped halfway. Let Then, the regenerative braking force is generated in the electric motor 21 with a predetermined initial duty ratio until the predetermined first specified time elapses after the sliding door 12 is stopped halfway, and after the elapse of the first specified time, The regenerative braking force is gradually weakened by gradually decreasing the duty ratio from the initial duty ratio.
Thereby, in the vehicle 11 stopped on the slope, the slide door 12 can be smoothly moved when the slide door 12 stopped halfway moves in the tilt direction by the action of gravity.

また、上記実施形態において、制御部53は、デューティ比を初期デューティ比から徐々に低下させる際に、デューティ比が予め定められた所定のデューティ閾値に到達した場合は、デューティ比を低下させることを停止し、以後、所定のデューティ閾値のデューティ比により回生ブレーキ力を制御する。
このような構成のモータ制御装置41であれば、デューティ比を徐々に低下させる際に、デューティ比が所定のデューティ閾値に到達した場合はデューティ比を低下させることを停止する。これにより、モータ制御装置41は、スライドドア12が停止位置から傾斜方向に移動する際に、スライドドア12の移動速度が速くなり過ぎることを防ぐことができる。
Further, in the above embodiment, the control unit 53 reduces the duty ratio when the duty ratio reaches a predetermined duty threshold when the duty ratio is gradually decreased from the initial duty ratio. After that, the regenerative braking force is controlled by the duty ratio of a predetermined duty threshold.
With the motor control device 41 having such a configuration, when the duty ratio is gradually reduced, if the duty ratio reaches a predetermined duty threshold, the reduction of the duty ratio is stopped. Thereby, the motor control device 41 can prevent the moving speed of the slide door 12 from becoming too fast when the slide door 12 moves in the tilt direction from the stop position.

また、上記実施形態において、制御部53は、デューティ比を初期デューティ比から徐々に低下させる制御を開始した後、所定の第2規定時間が経過した場合に、電動モータ21に回生ブレーキ力を発生させることを終了させる。
これにより、モータ制御装置41は、スライドドア12が「全開位置」又は「全閉位置」に到達するであろうと推定される時間を考慮して、回生ブレーキ制御を終了する時間を設定することができる。
In the above embodiment, the control unit 53 generates a regenerative braking force in the electric motor 21 when a predetermined second specified time has elapsed after starting the control of gradually decreasing the duty ratio from the initial duty ratio. To end.
Thereby, the motor control device 41 can set the time for ending the regenerative brake control in consideration of the time estimated that the slide door 12 will reach the “fully open position” or the “fully closed position”. it can.

また、上記実施形態において、スライドドア12の位置と移動速度を検出するドア開閉情報生成部52を備え、制御部53は、デューティ比を初期デューティ比から徐々に低下させる制御を開始した後、スライドドア12の移動速度が予め定められた規定速度を超えた場合に、デューティ比を低下させることを停止する。
これにより、モータ制御装置41は、デューティ比を徐々に低下させる場合に、スライドドア12の移動速度が規定速度を超えた場合にデューティ比を低下させることを停止することができる。このため、モータ制御装置41は、スライドドア12の移動速度が速くなり過ぎることを防ぐことができる。
Moreover, in the said embodiment, the door opening / closing information generation part 52 which detects the position and moving speed of the slide door 12 is provided, and after the control part 53 starts the control which reduces a duty ratio gradually from an initial duty ratio, it slides. When the moving speed of the door 12 exceeds a predetermined specified speed, the reduction of the duty ratio is stopped.
Thereby, the motor control apparatus 41 can stop decreasing the duty ratio when the moving speed of the slide door 12 exceeds the specified speed when the duty ratio is gradually decreased. For this reason, the motor control device 41 can prevent the moving speed of the slide door 12 from becoming too fast.

また、上記実施形態において、モータ制御装置41は、スライドドア12の位置と移動速度とを検出するドア開閉情報生成部52を備え、制御部53は、デューティ比を初期デューティ比から徐々に低下させる制御を開始した後、所定の第2規定時間が経過した場合と、スライドドア12の全開位置を検出した場合と、スライドドア12の全閉位置を検出した場合と、のいずれかの場合が生じた際に、電動モータ21に回生ブレーキ力を発生させることを終了させる。
これにより、モータ制御装置41は、スライドドア12が「全開位置」又は「全閉位置」に到達するであろうと推定される時間を考慮して、回生ブレーキ制御を終了する時間(第2規定時間)を設定することができる。また、スライドドア12が「全閉位置」又は「全開位置」に到達した場合には、回生ブレーキ制御を直ちに終了することができる。
Moreover, in the said embodiment, the motor control apparatus 41 is provided with the door opening / closing information generation part 52 which detects the position and moving speed of the slide door 12, and the control part 53 reduces a duty ratio gradually from an initial duty ratio. One of a case where a predetermined second specified time has elapsed after the control is started, a case where the fully open position of the slide door 12 is detected, and a case where the fully closed position of the slide door 12 is detected occur. The generation of the regenerative braking force in the electric motor 21 is terminated.
As a result, the motor control device 41 considers the time when the slide door 12 is estimated to reach the “fully open position” or the “fully closed position”, and finishes the regenerative brake control (second specified time). ) Can be set. Further, when the slide door 12 reaches the “fully closed position” or the “fully opened position”, the regenerative brake control can be immediately terminated.

続いて、ドア開閉装置14の制御体系の他の一例について説明する。この制御体系では、上述の様な電動モータの入力端子を短絡してブレーキ力としての回生ブレーキ力を発生させるのではなく、回転子の位置に応じて駆動回路部42を一相通電制御(詳細後述)することで電動モータを一相通電しブレーキ力を発生させる。
図9は、図1に示すドア開閉装置14の制御体系の他の一例を示す説明図である。なお、図9において、図3と同じ部分には同じ符号を付し、その説明を省略する。図9に示す制御系回路部50aは、電動モータ21への印加電圧Vu、Vv、Vw(より正確には電圧と周波数)を可変制御するために、駆動回路部42のトランジスタ42a〜42fの各ゲートを駆動する駆動信号G1〜G6をパルス幅変調信号(PWM信号)として形成する。制御系回路部50aは、トランジスタ42a〜42fを高速スイッチングすることにより、直流電源44から各固定子巻線21u、21v、及び21wへ供給する印加電圧を制御する。
制御系回路部50aは、ドライバ回路51、ドア開閉情報生成部52、及び制御部53aを含んで構成される。
Next, another example of the control system of the door opening / closing device 14 will be described. In this control system, the input terminal of the electric motor as described above is not short-circuited to generate a regenerative braking force as a braking force, but the drive circuit unit 42 is controlled in one-phase energization according to the position of the rotor (details). As will be described later, the electric motor is energized one phase to generate a braking force.
FIG. 9 is an explanatory diagram showing another example of the control system of the door opening and closing device 14 shown in FIG. 9, the same parts as those in FIG. 3 are denoted by the same reference numerals, and the description thereof is omitted. 9 controls each of the transistors 42a to 42f of the drive circuit unit 42 in order to variably control the applied voltages Vu, Vv, and Vw (more precisely, voltage and frequency) to the electric motor 21. Drive signals G1 to G6 for driving the gate are formed as pulse width modulation signals (PWM signals). The control system circuit unit 50a controls applied voltages supplied from the DC power supply 44 to the stator windings 21u, 21v, and 21w by switching the transistors 42a to 42f at high speed.
The control system circuit unit 50a includes a driver circuit 51, a door opening / closing information generation unit 52, and a control unit 53a.

制御部53aは、回転制御部54aと、ブレーキ制御部56と、ROM(Read Only Memory)57とを有している。回転制御部54aは、ドア開閉情報生成部52から入力される速度信号V、位置信号P、及び方向信号Dに基づいて、ドライバ回路51に対して、電動モータ21を正転駆動または逆転駆動するためのPWM指令信号(正転回転指令または逆転回転指令)を出力する。ドライバ回路51は、入力されるPWM指令信号に基づいて、トランジスタ42a〜42fを交互にスイッチングするための駆動信号G1〜G6を生成し、駆動回路部42へ出力する。これによって、駆動回路部42(駆動回路)は、固定子巻線21u、21v、及び21wを交互に通電する供給電圧Vu、Vv、Vwの通電パターンを各固定子巻線に印加し、回転子47を、回転制御部54aが指示する回転方向に回転させる。   The control unit 53a includes a rotation control unit 54a, a brake control unit 56, and a ROM (Read Only Memory) 57. The rotation control unit 54 a drives the electric motor 21 in the normal direction or the reverse direction with respect to the driver circuit 51 based on the speed signal V, the position signal P, and the direction signal D input from the door opening / closing information generation unit 52. PWM command signal (forward rotation command or reverse rotation command) is output. The driver circuit 51 generates drive signals G <b> 1 to G <b> 6 for alternately switching the transistors 42 a to 42 f based on the input PWM command signal, and outputs them to the drive circuit unit 42. As a result, the drive circuit unit 42 (drive circuit) applies energization patterns of the supply voltages Vu, Vv, and Vw that alternately energize the stator windings 21u, 21v, and 21w to the respective stator windings. 47 is rotated in the rotation direction indicated by the rotation control unit 54a.

より具体的には、制御部53aには、開閉スイッチ45が接続される。操作者が開閉スイッチ45を操作し、制御部53aにドアの開閉開始を指令する信号が入力されると、回転制御部54aは、ドア開閉情報生成部52から入力される速度信号V、位置信号P、及び方向信号Dに応じてPWM指令信号を生成し、ドライバ回路51に対して出力する。   More specifically, the open / close switch 45 is connected to the controller 53a. When the operator operates the opening / closing switch 45 and a signal for instructing the controller 53a to start opening / closing the door is input, the rotation controller 54a receives the speed signal V and the position signal input from the door opening / closing information generator 52. A PWM command signal is generated according to P and the direction signal D, and is output to the driver circuit 51.

回転制御部54aによるデューティ(ドライバ回路51が出力する駆動信号の周期に対するオン期間の比率)の算出は、次のように実行される。すなわち、回転制御部54aは、スライドドア12の移動速度(速度信号Vの速度)と、予め実験或いは設計において設定されてROM57内に格納された目標速度Vcとに基づいた比例制御と積分制御とによりデューティを算出する。回転制御部54aは、駆動信号G1〜G6のデューティを、スライドドア12の移動速度Vと目標速度Vcとに基づいたPI(比例積分)演算、x=kp(V−Vc)+kiΣ(V−Vc)を算出する。つまり、回転制御部54aは、出力xをROM57内に格納された図示しないデューティ設定用の制御マップを参照することにより算出する。ここで、kpは比例ゲイン、kiは積分ゲインを示す。このPI制御によれば、スライドドア12の移動速度Vと目標速度Vcの差の累積により、移動速度Vと目標速度Vcの差が0となっても出力xは0とならないので、安定した速度制御が可能となる。
回転制御部54aは、方向信号Dが示す回転方向と同方向のPWM指令信号をドライバ回路51に対して出力する。なお、ROM57の制御マップは、目標速度Vcを、位置信号Pが示すスライドドア12の位置、及び方向信号Dが示すスライドドア12の移動方向に関連付けて記憶している。
The calculation of the duty (the ratio of the on period to the cycle of the drive signal output by the driver circuit 51) by the rotation control unit 54a is executed as follows. That is, the rotation control unit 54a performs proportional control and integral control based on the moving speed of the slide door 12 (speed of the speed signal V) and the target speed Vc set in advance in an experiment or design and stored in the ROM 57. To calculate the duty. The rotation control unit 54a calculates the duty of the drive signals G1 to G6 based on the PI (proportional integration) calculation based on the moving speed V of the sliding door 12 and the target speed Vc, x = kp (V−Vc) + kiΣ (V−Vc). ) Is calculated. That is, the rotation control unit 54 a calculates the output x by referring to a duty setting control map (not shown) stored in the ROM 57. Here, kp represents a proportional gain, and ki represents an integral gain. According to this PI control, since the difference between the moving speed V and the target speed Vc becomes 0 due to the accumulation of the difference between the moving speed V of the sliding door 12 and the target speed Vc, the output x does not become 0. Control becomes possible.
The rotation controller 54 a outputs a PWM command signal in the same direction as the rotation direction indicated by the direction signal D to the driver circuit 51. Note that the control map in the ROM 57 stores the target speed Vc in association with the position of the slide door 12 indicated by the position signal P and the moving direction of the slide door 12 indicated by the direction signal D.

図10は、ブレーキ動作について説明するための図である。図10は、ドア開閉装置14の制御体系の一例における各部の信号を示している。図10(A)は、図9に示したモータ制御装置41が、電動モータ21を正転駆動する場合の各部の動作タイムチャートを示す。また、図10(B)、及び図10(C)は、電動モータ21を正転駆動または逆転駆動する際の回転子位置シーケンスSnと、方向信号D(位置信号パターン)、及び電動モータ21への通電パターンとの関係を示す。
電動モータ21を正転駆動する動作において、ホールIC48u、48v、48wはそれぞれパルス信号Su、Sv、及びSwとして、図10に示すようにハイ信号(H信号)またはロー信号(L信号)を出力する。ドア開閉情報生成部52は、これらの信号から回転子47の回転方向を検出し、方向信号D(位置信号パターン)として回転制御部54aに対して出力する。例えば、回転子47が回転子位置シーケンスSnのS1の回転位置にあるとき、パルス信号Su、Sv、及びSwは、それぞれH信号、L信号、H信号となる。つまり、3つのホールICで検出するので、位置信号パターンは、H−L−H(パルス信号Su、Sv、及びSwを並列に並べた信号で示す)となり、この位置信号パターンを、便宜的に位置信号パターン「A」とする。また、回転子位置シーケンスSnがS2のとき、位置信号パターンは、H−L−Lとなり、位置信号パターンは「B」となる。
つまり、回転子位置が360°回転する回転子位置シーケンスS1〜S6に対応して、ドア開閉情報生成部52が出力する方向信号D(位置信号パターン)は「A」〜「F」となる。このように、電動モータ21の回転子47が開閉スイッチ45からの設定方向である正転方向に駆動されている場合、ドア開閉情報生成部52は、回転子位置シーケンスSnのシーケンスS1〜S6に対応して方向信号D(位置信号パターンA〜F)を回転制御部54aに対して出力する。
FIG. 10 is a diagram for explaining the brake operation. FIG. 10 shows signals of respective parts in an example of a control system of the door opening / closing device 14. FIG. 10A shows an operation time chart of each part when the motor control device 41 shown in FIG. 9 drives the electric motor 21 to rotate forward. 10B and 10C show the rotor position sequence Sn, the direction signal D (position signal pattern), and the electric motor 21 when the electric motor 21 is driven forward or backward. The relationship with the energization pattern is shown.
In the operation of driving the electric motor 21 to rotate forward, the Hall ICs 48u, 48v, and 48w output a high signal (H signal) or a low signal (L signal) as shown in FIG. 10 as the pulse signals Su, Sv, and Sw, respectively. To do. The door opening / closing information generation unit 52 detects the rotation direction of the rotor 47 from these signals, and outputs it to the rotation control unit 54a as a direction signal D (position signal pattern). For example, when the rotor 47 is at the rotational position S1 of the rotor position sequence Sn, the pulse signals Su, Sv, and Sw are an H signal, an L signal, and an H signal, respectively. That is, since the detection is performed by three Hall ICs, the position signal pattern is H-L-H (indicated by signals in which the pulse signals Su, Sv, and Sw are arranged in parallel). The position signal pattern is “A”. When the rotor position sequence Sn is S2, the position signal pattern is HLL and the position signal pattern is “B”.
That is, the direction signal D (position signal pattern) output by the door opening / closing information generation unit 52 corresponds to “A” to “F” corresponding to the rotor position sequences S1 to S6 in which the rotor position rotates 360 °. Thus, when the rotor 47 of the electric motor 21 is driven in the normal rotation direction, which is the setting direction from the opening / closing switch 45, the door opening / closing information generation unit 52 performs the sequence S1 to S6 of the rotor position sequence Sn. Correspondingly, the direction signal D (position signal patterns A to F) is output to the rotation control unit 54a.

一方、回転制御部54aは、ドア開閉情報生成部52の方向信号Dに基づいて、電動モータ21を正転回転させるPWM指令信号をドライバ回路51に対して出力する。ドライバ回路51は、PWM指令信号に基づいて、駆動回路部42のトランジスタ42a〜42fの各ゲートを駆動するパルス幅変調信号(PWM信号)である駆動信号G1〜G6を出力する。この駆動信号G1〜G6が、図10において示される。なお、図10において、ハッチング部分はトランジスタ42a〜42fがPWM制御されてオンオフ駆動されていることを示している。
駆動回路部42は、駆動信号G1〜G6によって、トランジスタ42a〜42fをスイッチング制御し、固定子巻線21u、21v、及び21wに、図10に示すような、印加電圧Vu、Vv、Vwを印加する。これにより、電動モータ21の回転子47は、正転に回転する。本実施態様では、図10に示すように、上述した方向信号D(位置信号パターンA〜F)に対応して、印加電圧Vu、Vv、Vwの通電パターンを便宜的に通電パターンG〜Lとする。例えば、駆動回路部42は、位置信号パターンAに対応して、(0)−(−V)−(+V)の通電パターンGを出力している。
このように、ドライバ回路51は、回転制御部54aからの電動モータ21を正転駆動するためのPWM指令信号が入力されて、トランジスタ42a〜42fを駆動する駆動信号G1〜G6をパルス幅変調(PWM)信号として出力する。また、ドライバ回路51は、回転制御部54aによってPWM信号のバルス幅(デューティ)が目標速度Vpに応じて調整される。これにより、電動モータ21の印加電圧Vu、Vv、Vwは可変制御され、電動モータ21の回転軸21aの回転速度が調整される。
On the other hand, the rotation control unit 54 a outputs, to the driver circuit 51, a PWM command signal that causes the electric motor 21 to rotate forward based on the direction signal D of the door opening / closing information generation unit 52. The driver circuit 51 outputs drive signals G1 to G6 that are pulse width modulation signals (PWM signals) for driving the gates of the transistors 42a to 42f of the drive circuit unit 42 based on the PWM command signal. These drive signals G1 to G6 are shown in FIG. In FIG. 10, hatched portions indicate that the transistors 42a to 42f are on-off driven under PWM control.
The drive circuit unit 42 performs switching control of the transistors 42a to 42f by the drive signals G1 to G6, and applies applied voltages Vu, Vv, and Vw as shown in FIG. 10 to the stator windings 21u, 21v, and 21w. To do. Thereby, the rotor 47 of the electric motor 21 rotates forward. In this embodiment, as shown in FIG. 10, the energization patterns of the applied voltages Vu, Vv, and Vw are referred to as energization patterns G to L for convenience, corresponding to the direction signal D (position signal patterns A to F) described above. To do. For example, the drive circuit unit 42 outputs an energization pattern G of (0) − (− V) − (+ V) corresponding to the position signal pattern A.
In this way, the driver circuit 51 receives the PWM command signal for driving the electric motor 21 from the rotation control unit 54a in the normal direction, and performs pulse width modulation on the drive signals G1 to G6 that drive the transistors 42a to 42f ( (PWM) signal. In the driver circuit 51, the pulse width (duty) of the PWM signal is adjusted according to the target speed Vp by the rotation control unit 54a. Thereby, the applied voltages Vu, Vv, and Vw of the electric motor 21 are variably controlled, and the rotation speed of the rotating shaft 21a of the electric motor 21 is adjusted.

図10を参照して説明したように、回転子47の回転位置S1〜S6に対応してホールIC48u、48v、48wが出力するパルス信号Su、Sv、及びSwは6通りある。また、ドア開閉情報生成部52の出力信号する方向信号D、すなわち位置信号パターンは、位置信号パターンA〜Fの6通りある。これによって、ドライバ回路51が出力する駆動信号G1〜G6が6通りのパターンとなり、結果的に、各相の電機子巻線U、V、Wへの通電パターンもG〜Lの6通りとなる。このような関係を、タイムテーブルとしてまとめたものが、図10(B)、図10(C)において示される。   As described with reference to FIG. 10, there are six pulse signals Su, Sv, and Sw output from the Hall ICs 48 u, 48 v, 48 w corresponding to the rotational positions S <b> 1 to S <b> 6 of the rotor 47. In addition, the direction signal D output from the door opening / closing information generation unit 52, that is, the position signal pattern has six types of position signal patterns A to F. As a result, the drive signals G1 to G6 output from the driver circuit 51 have six patterns, and as a result, the energization patterns to the armature windings U, V, and W of each phase also have six patterns G to L. . A summary of such relationships as a time table is shown in FIGS. 10 (B) and 10 (C).

図10(B)は、電動モータ21の正転時に規定された回転子位置シーケンスS1〜S6と、位置信号パターンA〜F、及び通電パターンG〜Lの関係を示す。
正転時の回転子位置シーケンスSnの順序S1〜S6(S1→S2→S3→S4→S5→S6の順序を意味する)に対して、位置信号パターンの順序は、A〜F(A→B→C→D→E→Fの順序を意味する)となる。また、位置信号パターンに基づいて出力される通電パターンの順序は、G〜L(G→H→I→J→K→Lの順序を意味する)となる。
同様にして、図10(C)に示すように、逆転時の回転子位置シーケンスSnの順序S6〜S1(S6→S5→S4→S3→S2→S1の順序を意味する)に対して、位置信号パターンの順序は、F〜A(F→E→D→C→B→Aの順序を意味する)となる。また、位置信号パターンに基づいて出力される通電パターンの順序は、L〜G(L→K→J→I→H→Gの順序を意味する)となる。
FIG. 10B shows the relationship between the rotor position sequences S1 to S6 defined during normal rotation of the electric motor 21, the position signal patterns A to F, and the energization patterns G to L.
With respect to the order S1 to S6 of the rotor position sequence Sn during forward rotation (meaning the order of S1, S2, S3, S4, S5, and S6), the order of the position signal pattern is A to F (A to B). → C → D → E → F). The order of the energization patterns output based on the position signal pattern is G to L (meaning the order of G → H → I → J → K → L).
Similarly, as shown in FIG. 10C, with respect to the order S6 to S1 of the rotor position sequence Sn during reverse rotation (meaning the order of S6 → S5 → S4 → S3 → S2 → S1). The order of the signal patterns is F to A (meaning the order of F → E → D → C → B → A). The order of energization patterns output based on the position signal pattern is L to G (meaning L → K → J → I → H → G).

以上説明したように、モータ制御装置41では、駆動回路部42のトランジスタ42a〜42fのオン期間のデューティを変化させて、かつ、各トランジスタ42a〜42fのオン期間を所定の組み合わせで重畳させて、電動モータ21を正転と逆転の両方向に回転させることができる。これにより、乗員等が開閉スイッチ45を操作して、スライドドア12の開閉を指示すると、モータ制御装置41は、自動、かつ目標速度Vpで、スライドドア12を開く(ドアOPEN)か、或いは閉じる(ドアCLOSE)ように作動する。   As described above, in the motor control device 41, the duty of the on period of the transistors 42a to 42f of the drive circuit unit 42 is changed, and the on period of each of the transistors 42a to 42f is superimposed in a predetermined combination, The electric motor 21 can be rotated in both forward and reverse directions. Thus, when an occupant or the like operates the open / close switch 45 to instruct opening / closing of the slide door 12, the motor control device 41 opens or closes the slide door 12 automatically (at the open OPEN) or at the target speed Vp. (Door CLOSE)

(スライドドアの「途中停止」とブレーキ動作)
ところで、乗員等がスライドドア12の開閉中に開閉スイッチ45を操作してスライドドア12の停止を指示すると、開閉スイッチ45は途中停止信号を出力する。制御部53aは、開閉スイッチ45から途中停止信号が入力されたら、ブレーキ制御部56により、電動モータ21を一相通電してブレーキ力を発生させ、その回転を停止させる。この一相通電は、制御部53aが、開閉スイッチ45から途中停止信号を入力されたときの位置信号パターンに対応する通電パターン(通電パターンG〜Lのうちの1つ)の出力を位置信号パターンの切り替わりに関わらず維持することにより行われる。
(Sliding door “stop” and brake operation)
By the way, when an occupant or the like operates the open / close switch 45 to instruct the stop of the slide door 12 while the slide door 12 is open / closed, the open / close switch 45 outputs a midway stop signal. When a midway stop signal is input from the open / close switch 45, the control unit 53a causes the brake control unit 56 to energize the electric motor 21 in one phase to generate a braking force and stop its rotation. In this one-phase energization, the controller 53a outputs the output of the energization pattern (one of the energization patterns G to L) corresponding to the position signal pattern when the halfway stop signal is input from the open / close switch 45. It is performed by maintaining regardless of the change of.

例えば、スライドドア12の停止が指示されたときの位置信号パターンが位置信号パターンAであるとき(図10参照)、通電パターンは通電パターンGである。ブレーキ制御部56は、ドライバ回路51が出力する駆動信号G1、G5のデューティ比を維持したまま(所定の初期デューティ比に維持したまま)、ドライバ回路51から駆動信号G1、G5を出力させる。なお、ブレーキ制御部56は、ドライバ回路51から出力する駆動信号G2〜G4、G6をロー(L信号)に維持させる。このように、ドライバ回路51から出力される駆動信号G2〜G4、G6をロー(L信号)とし、駆動信号G1、G5をPWM制御された信号とすることで、上段(上アーム)のトランジスタ42bと、トランジスタ42cと、下段(下アーム)のトランジスタ42dと、トランジスタ42fとをオフにする。また、上段(上アーム)のトランジスタ42aと下段(下アーム)のトランジスタ42eとを、オン/オフさせる。   For example, when the position signal pattern when the stop of the slide door 12 is instructed is the position signal pattern A (see FIG. 10), the energization pattern is the energization pattern G. The brake control unit 56 outputs the drive signals G1 and G5 from the driver circuit 51 while maintaining the duty ratio of the drive signals G1 and G5 output from the driver circuit 51 (while maintaining the predetermined initial duty ratio). The brake control unit 56 maintains the drive signals G2 to G4 and G6 output from the driver circuit 51 at low (L signal). Thus, the drive signals G2 to G4 and G6 output from the driver circuit 51 are set to low (L signal), and the drive signals G1 and G5 are set to PWM-controlled signals, whereby the upper stage (upper arm) transistor 42b. The transistor 42c, the lower (lower arm) transistor 42d, and the transistor 42f are turned off. Further, the upper (upper arm) transistor 42a and the lower (lower arm) transistor 42e are turned on / off.

この状態で、電動モータ21が回転しようとすると、電流が、電動モータ21の固定子巻線21uおよび固定子巻線21vの直列接続された巻線に、入力端子22uから22vの方向へと流れる。これにより、電動モータ21にブレーキ力が発生して、電動モータ21の回転がロックされる。なお、通電パターンが通電パターンG以外のパターンにある場合においても、上段側のトランジスタ42a、42b、及び42cのうちのいずれか1つのトランジスタと、下段側のトランジスタ42d、42e、及び42fのうちのいずれか1つのトランジスタをオンにすることにより、電流が次のように流れる。すなわち、電流が、固定子巻線のうち2つを直列接続した巻線に、入力端子のうちいずれか1つの端子から他の1つの端子の方向へと流れ、電動モータ21にブレーキ力を発生させることができる。   In this state, when the electric motor 21 tries to rotate, current flows in the direction of the input terminals 22u to 22v through the series-connected windings of the stator winding 21u and the stator winding 21v of the electric motor 21. . Thereby, a braking force is generated in the electric motor 21 and the rotation of the electric motor 21 is locked. Even when the energization pattern is a pattern other than the energization pattern G, any one of the upper-stage transistors 42a, 42b, and 42c and the lower-stage transistors 42d, 42e, and 42f By turning on any one of the transistors, a current flows as follows. That is, a current flows in a winding in which two of the stator windings are connected in series from any one of the input terminals to the other, generating a braking force in the electric motor 21. Can be made.

なお、図9では、固定子巻線をY結線(スター結線)としている場合を示しているが、Δ(デルタ)結線する場合(電動モータ21の入力端子22uと22vとの間に固定子巻線21u、入力端子22vと22wとの間に固定子巻線21v、入力端子22wと22uとの間に固定子巻線21wを結線する場合)であっても、次のように電流が流れ、ブレーキ力を発生することができる。すなわち、通電パターンが通電パターンGのとき、電流は、固定子巻線21uの経路と、固定子巻線21vおよび21wの直列接続された経路とのそれぞれの経路に、入力端子22uから22vの方向へと流れ、ブレーキ力を発生することができる。また、通電パターンが通電パターンG以外のパターンにある場合においても、上段側のトランジスタ42a、42b、及び42cのうちのいずれか1つのトランジスタと、下段側のトランジスタ42d、42e、及び42fのうちのいずれか1つのトランジスタをオンにすることにより、電流が次のように流れ、ブレーキ力を発生することができる。すなわち、電流が、1つの固定子巻線と固定子巻線のうち2つを直列接続した巻線とに、入力端子のうちいずれか1つの端子から他の1つの端子の方向へと流れ、ブレーキ力を発生することができる。   FIG. 9 shows a case where the stator winding is Y-connected (star connection), but when Δ (delta) connection is made (stator winding between the input terminals 22u and 22v of the electric motor 21). Line 21u, stator winding 21v between input terminals 22v and 22w, and stator winding 21w between input terminals 22w and 22u), current flows as follows: Brake force can be generated. That is, when the energization pattern is the energization pattern G, the current flows in the directions of the input terminals 22u to 22v in the paths of the stator winding 21u and the paths of the stator windings 21v and 21w connected in series. To generate a braking force. Even when the energization pattern is a pattern other than the energization pattern G, any one of the upper-stage transistors 42a, 42b, and 42c and the lower-stage transistors 42d, 42e, and 42f By turning on any one of the transistors, a current flows as follows, and a braking force can be generated. That is, a current flows from one of the input terminals to the other one of the input terminals to one stator winding and a winding obtained by connecting two of the stator windings in series. Brake force can be generated.

このように、図9に示す制御体系では、回転子の位置に応じて、駆動回路部42を一相通電制御することで、電動モータを一相通電しブレーキ力を発生させる。また、このブレーキ力は、ブレーキ制御部56により、その大きさが制御される。このブレーキ制御部56は、各駆動信号のうちPWM制御する駆動信号において、所定の制御周期Tに占めるハイ信号(H信号)の時間の割であるデューティ比を変更することで、ブレーキ力の大きさを制御することができる。つまり、ブレーキ制御部56は、このデューティ比を小さくすることにより、ブレーキ力を小さくすることができ、デューティ比を大きくすることにより、ブレーキ力を大きくすることができる。   As described above, in the control system shown in FIG. 9, the drive circuit unit 42 is controlled by one-phase energization according to the position of the rotor, thereby energizing the electric motor by one phase and generating a braking force. The magnitude of this braking force is controlled by the brake control unit 56. The brake control unit 56 increases the braking force by changing the duty ratio, which is a time ratio of the high signal (H signal) occupying the predetermined control cycle T, in the drive signal to be PWM controlled among the drive signals. Can be controlled. That is, the brake control unit 56 can reduce the braking force by reducing the duty ratio, and can increase the braking force by increasing the duty ratio.

上述したブレーキ制御部56の動作により、本実施形態のモータ制御装置41では、途中停止機能付のパワースライドドア装置において、車両11が平坦な場所でない傾斜地などで駐車している状態でスライドドア12を途中停止させた場合に、スライドドア12が重力の作用する方向に急激に移動することを回避することができる。   By the operation of the brake control unit 56 described above, in the motor control device 41 of the present embodiment, in the power slide door device with a midway stop function, the slide door 12 is in a state where the vehicle 11 is parked on an inclined place that is not a flat place. It is possible to prevent the slide door 12 from moving suddenly in the direction in which gravity acts when the operation is stopped halfway.

つまり、スライドドア12を途中停止させた場合に、ブレーキ制御部56は、最初は、途中停止させた場合のデューティ比(初期デューティ比、例えば20〜30%)のままで電動モータ21にブレーキ力を発生させ、電動モータ21の回転をロックすることにより、スライドドア12の移動を停止させる。
そして、所定の第1規定時間の経過後(例えば、10分経過後)に、ブレーキ制御部56は、デューティ比を徐々に低下させてブレーキ力を弱めることにより、スライドドア12を重力の作用する方向に徐々に移動させる。なお、上記第1所定時間は、車両11における消費電力を低減する省電力モードに移行するために予め設定される時間である。
That is, when the sliding door 12 is stopped halfway, the brake control unit 56 initially applies the braking force to the electric motor 21 while maintaining the duty ratio (initial duty ratio, for example, 20 to 30%) when the sliding door 12 is stopped halfway. And the movement of the slide door 12 is stopped by locking the rotation of the electric motor 21.
Then, after a predetermined first specified time has elapsed (for example, after 10 minutes have elapsed), the brake control unit 56 gradually reduces the duty ratio to weaken the braking force, thereby causing the sliding door 12 to act on gravity. Move gradually in the direction. The first predetermined time is a time set in advance to shift to the power saving mode for reducing the power consumption in the vehicle 11.

このように、モータ制御装置41では、第1の規定時間が経過したらブレーキ制御部56がデューティ比を初期デューティ比から徐々に低下させることにより、傾斜地などにおいて重力が作用する方向にスライドドア12を滑らかに移動させることができる。そして、モータ制御装置41は、スライドドア12の閉状態が検出された場合、例えば、スライドドア12の「全閉位置」がリミットスイッチにより検出された場合に、ブレーキ動作を終了させる。また、モータ制御装置41は、スライドドア12の開状態での停止が検出された場合、例えば、ドア開閉情報生成部52により電動モータ21の回転停止が検出された場合に、ブレーキ動作を終了させる。   As described above, in the motor control device 41, the brake control unit 56 gradually lowers the duty ratio from the initial duty ratio when the first specified time has elapsed, so that the slide door 12 is moved in a direction in which gravity acts on an inclined land or the like. It can be moved smoothly. When the closed state of the slide door 12 is detected, for example, when the “fully closed position” of the slide door 12 is detected by the limit switch, the motor control device 41 ends the brake operation. Further, the motor control device 41 terminates the brake operation when the stop in the open state of the slide door 12 is detected, for example, when the door opening / closing information generation unit 52 detects the rotation stop of the electric motor 21. .

(ブレーキ力の第1の制御例)
次に、ブレーキ力の具体的な制御例について説明する。
図11は、スライドドア12を途中停止させたときのブレーキ力の第1の制御例を示す図である。この図11は、スライドドア12の位置及び移動速度を検出しない場合の例であり、横方向に時間tの経過を示し、縦方向にデューティ比Duの時間変化と、スライドドア12の移動速度であるドア速度Spの時間変化と、を並べて示したものである。
(First example of brake force control)
Next, a specific control example of the braking force will be described.
FIG. 11 is a diagram illustrating a first control example of the braking force when the sliding door 12 is stopped halfway. FIG. 11 shows an example in which the position and moving speed of the slide door 12 are not detected. The time t has elapsed in the horizontal direction, the time change of the duty ratio Du in the vertical direction, and the moving speed of the slide door 12. The time change of a certain door speed Sp is shown side by side.

この図11に示す例において、時刻t0において、スライドドア12を途中停止させるために利用者が開閉スイッチ45を操作すると、開閉スイッチ45は制御部53aに途中停止信号を送る。ブレーキ制御部56は、最初に、途中停止信号が発生したときの通電パターンでのデューティ比A%(初期デューティ比、例えば20〜30%)でブレーキを作動させる。これにより、電動モータ21の回転をロックして、時刻t1においてスライドドア12のドア速度Spを0とし、スライドドア12の移動を停止させることができる。
そして、この時刻t0から所定の第1規定時間(例えば、10分)が経過する時刻t2までの間、ブレーキ制御部56は、電動モータ21にデューティ比A%のブレーキ動作を行わせる。
In the example shown in FIG. 11, when the user operates the open / close switch 45 to stop the slide door 12 halfway at time t0, the open / close switch 45 sends a halfway stop signal to the control unit 53a. First, the brake control unit 56 operates the brake with the duty ratio A% (initial duty ratio, for example, 20 to 30%) in the energization pattern when the midway stop signal is generated. Thereby, the rotation of the electric motor 21 is locked, the door speed Sp of the slide door 12 is set to 0 at time t1, and the movement of the slide door 12 can be stopped.
The brake control unit 56 causes the electric motor 21 to perform a braking operation with a duty ratio A% from the time t0 to a time t2 when a predetermined first specified time (for example, 10 minutes) elapses.

その後、時刻t0から所定の第1規定時間が経過し、時刻t2後に至ると、この時刻t2以降、ブレーキ制御部56は、ブレーキ動作のデューティ比を徐々に低下させていく。つまり、ブレーキ制御部56は、デューティ比Duを初期値A%から所定の制御周期Tごとに一定の割合で徐々に低下させることにより、時間の経過とともに電動モータ21のブレーキ力を次第に弱めて行く。   Thereafter, when a predetermined first specified time elapses from time t0 and after time t2, the brake control unit 56 gradually decreases the duty ratio of the brake operation after time t2. That is, the brake control unit 56 gradually decreases the braking force of the electric motor 21 over time by gradually decreasing the duty ratio Du from the initial value A% at a predetermined rate every predetermined control period T. .

そして、時刻t2の後の時刻t2’に至り、重力の作用によりスライドドア12が傾斜方向に移動しようとする力が、ブレーキ力よりも大きくなると、スライドドア12が移動を開始する。そして、時刻t2’以降、ブレーキ制御部56が電動モータ21のブレーキ力を弱めるに従い、スライドドア12のドア速度Spが次第に増加する。   Then, at time t2 'after time t2, the sliding door 12 starts moving when the force that the sliding door 12 tries to move in the tilt direction due to the action of gravity becomes greater than the braking force. Then, after time t2 ', the door speed Sp of the slide door 12 gradually increases as the brake control unit 56 weakens the braking force of the electric motor 21.

このブレーキ制御部56は、デューティ比の下限閾値として「規定デューティ比Du1(デューティ閾値)」の情報を保持している。ブレーキ制御部56は、時刻t2以降、次第にデューティ比Duを小さくし、時刻t3において、デューティ比Duが規定デューティ比Du1(デューティ閾値)に到達した場合、この時刻t3以降、デューティ比を規定デューティ比Du1(デューティ閾値)よりも低下させないようする。つまり、この時刻t3以降、ブレーキ制御部56は、デューティ比が規定デューティ比Du1になるように一定に維持する。   The brake control unit 56 holds information of “specified duty ratio Du1 (duty threshold)” as a lower limit threshold of the duty ratio. The brake control unit 56 gradually decreases the duty ratio Du after time t2, and when the duty ratio Du reaches the specified duty ratio Du1 (duty threshold) at time t3, the duty ratio is changed to the specified duty ratio after time t3. Do not lower than Du1 (duty threshold). That is, after this time t3, the brake control unit 56 keeps the duty ratio constant so that the duty ratio becomes the specified duty ratio Du1.

そして、時刻t3以降、スライドドア12は移動をし続け、時刻t4に至り、ドア位置が「全開位置」又は「全閉位置」に到達すると、物理的な制約によりスライドドア12の移動が停止し、ドア速度が0(ゼロ)となる。なお、時刻t3から時刻t4までのドア速度Spは、必ずしも一定速度であるとは限らず、スライドドア12を傾斜方向に移動させようとする力の大きさと、電動モータ21のブレーキ力の大きさとに応じて、次第に速度が増加する場合もある。   Then, after time t3, the slide door 12 continues to move, and when time t4 is reached and the door position reaches the “fully open position” or “fully closed position”, the movement of the slide door 12 stops due to physical restrictions. The door speed becomes 0 (zero). The door speed Sp from time t3 to time t4 is not necessarily a constant speed, and the magnitude of the force that moves the sliding door 12 in the tilt direction and the magnitude of the braking force of the electric motor 21 Depending on the speed, the speed may increase gradually.

そして、ブレーキ制御部56は、時刻t4の後の時刻t5までブレーキの制御を継続する。これは、ブレーキ制御部56がスライドドア12のドア速度Spを検出しないため、ドア速度Spが0(ゼロ)になったことを検出できず、ドア速度Spが0(ゼロ)になる時刻t4以降も時刻t5まで電動モータ21のブレーキ制御を行う。   And the brake control part 56 continues control of a brake until time t5 after time t4. This is because the brake control unit 56 does not detect the door speed Sp of the slide door 12 and therefore cannot detect that the door speed Sp has become 0 (zero), and after the time t4 when the door speed Sp becomes 0 (zero). Also, the brake control of the electric motor 21 is performed until time t5.

この時刻t5は、スライドドア12が「途中停止位置」から「全開位置」又は「全閉位置」に到達するであろうと推定される時間に基づいて設定されるものであり、車両11の想定される傾斜角度と、スライドドア12の移動距離とに応じて設定されるものである。つまり、デューティ比を低下させる制御を開始した時刻t2から、ブレーキ制御を終了する時刻t5までの時間(第2規定時間)は、スライドドア12の開閉方向への想定される移動時間に基づいて、所定の余裕時間を見て設定されるものである(例えば、5分に設定)。   This time t5 is set based on the time estimated that the slide door 12 will reach the “fully open position” or the “fully closed position” from the “halfway stop position”. It is set according to the inclination angle and the moving distance of the sliding door 12. That is, the time (second specified time) from the time t2 at which the control for reducing the duty ratio is started to the time t5 at which the brake control is ended is based on the assumed moving time in the opening / closing direction of the slide door 12. It is set by looking at a predetermined margin time (for example, set to 5 minutes).

このように、本実施形態のモータ制御装置41では、ブレーキ制御部56がデューティ比を徐々に低下させてブレーキ力を弱めていくため、スライドドア12を滑らかに移動させることができる。このため、モータ制御装置41では、スライドドアが急激に移動して衝撃を発生させることを回避し、ユーザに与える不安感をなくすことができる。   Thus, in the motor control device 41 of the present embodiment, the brake control unit 56 gradually decreases the duty ratio and weakens the braking force, so that the slide door 12 can be moved smoothly. For this reason, in the motor control apparatus 41, it can avoid that a sliding door moves suddenly and generate | occur | produces an impact, and the anxiety given to a user can be eliminated.

なお、図11に示した例では、ブレーキ制御部56は、時刻t0〜t2におけるデューティ比(初期デューティ比)をA%としているが、これに限定されず、初期デューティ比は所望の値に設定できるものである(後述する図12においても同様)。   In the example shown in FIG. 11, the brake control unit 56 sets the duty ratio (initial duty ratio) at time t0 to t2 to A%, but is not limited to this, and the initial duty ratio is set to a desired value. (It is the same in FIG. 12 described later).

(ブレーキ力の第2の制御例)
また、図12は、スライドドア12を途中停止させたときのブレーキ力の第2の制御例を示す図である。この図12に示す例は、スライドドア12の位置及び移動速度を検出する場合の例であり、横方向に時間tの経過を示し、縦方向にデューティ比Duの時間変化と、スライドドア12の移動速度であるドア速度Spの時間変化と、を並べて示したものである。
(Second example of brake force control)
FIG. 12 is a diagram illustrating a second control example of the braking force when the sliding door 12 is stopped halfway. The example shown in FIG. 12 is an example in the case of detecting the position and moving speed of the slide door 12, shows the passage of time t in the horizontal direction, the time change of the duty ratio Du in the vertical direction, The change with time of the door speed Sp, which is the moving speed, is shown side by side.

この図12に示す例は、ブレーキ制御部56が、デューティ比の下限閾値(デューティ閾値)としての「規定デューティ比Du1」と、速度閾値としての「規定速度Sp1」の情報を保持している例である。ブレーキ制御部56は、デューティ比Duまたはドア速度Spが、それぞれの閾値に到達した場合、それ以上、デューティ比を低下させないように制御する。   In the example shown in FIG. 12, the brake control unit 56 holds information on “specified duty ratio Du1” as a lower limit threshold (duty threshold) of the duty ratio and “specified speed Sp1” as a speed threshold. It is. When the duty ratio Du or the door speed Sp reaches the respective threshold values, the brake control unit 56 performs control so as not to further decrease the duty ratio.

この図12に示す例では、時刻t2以降、ブレーキ制御部56がデューティ比を徐々に低下させると、時刻t2の後の時刻t2’に至り、重力の作用によりスライドドア12が傾斜方向に移動しようとする力がブレーキ力よりも大きくなり、スライドドア12が移動を開始する。そして、時刻t2’以降、ブレーキ制御部56が電動モータ21のブレーキ力を弱めるに従い、スライドドア12のドア速度Spが次第に増加する。   In the example shown in FIG. 12, when the brake control unit 56 gradually decreases the duty ratio after time t2, time t2 ′ after time t2 is reached, and the slide door 12 moves in the tilt direction due to the action of gravity. Becomes larger than the braking force, and the sliding door 12 starts moving. Then, after time t2 ', the door speed Sp of the slide door 12 gradually increases as the brake control unit 56 weakens the braking force of the electric motor 21.

そして、時刻t2’の後の時刻t6において、ドア速度Spが「規定速度Sp1」に到達する。つまり、デューティ比Duがデューティ比の下限閾値としての「規定デューティ比Du1」に到達する前に、ドア速度Spが「規定速度Sp1」に到達する。このため、ブレーキ制御部56は、時刻t6以降ではデューティ比Duを低下させることを停止し、ドア速度Spが「規定速度Sp1」を大きく超えた速度にならないように制限する。   Then, at time t6 after time t2 ', the door speed Sp reaches the "specified speed Sp1". That is, the door speed Sp reaches the “specified speed Sp1” before the duty ratio Du reaches the “specified duty ratio Du1” as the lower limit threshold of the duty ratio. For this reason, the brake control unit 56 stops reducing the duty ratio Du after time t6 and restricts the door speed Sp so as not to greatly exceed the “specified speed Sp1”.

そして、スライドドア12が移動し、時刻t6の後の時刻t7に至ると、スライドドア12が「全開位置」又は「全閉位置」に到達して停止し、ドア速度Spが0(ゼロ)になる。ブレーキ制御部56は、スライドドア12の移動が停止したことを検出して、ブレーキの一相通電制御動作を終了する。
これにより、ブレーキ制御部56は、スライドドア12の移動速度を検出して、この移動速度が速くなりすぎることを防ぐことができる。また、ブレーキ制御部56は、スライドドア12が「全開位置」又は「全開位置」に到達したことを検出して、ブレーキの一相通電制御動作を終了することができる。
When the sliding door 12 moves and reaches time t7 after time t6, the sliding door 12 reaches the “fully open position” or “fully closed position” and stops, and the door speed Sp becomes 0 (zero). Become. The brake control unit 56 detects that the movement of the slide door 12 has stopped, and ends the one-phase energization control operation of the brake.
Thereby, the brake control part 56 can detect the moving speed of the slide door 12, and can prevent that this moving speed becomes too fast. Further, the brake control unit 56 can detect that the slide door 12 has reached the “fully open position” or the “fully open position” and can end the one-phase energization control operation of the brake.

また、図13は、ブレーキ制御部56におけるブレーキの制御手順を示すフローチャートである。なお、図13において、図8と同じ部分には同じ符号を付している。以下、図13のフローチャートを参照して、その処理の流れについて説明する。   FIG. 13 is a flowchart showing a brake control procedure in the brake control unit 56. In FIG. 13, the same parts as those in FIG. Hereinafter, the processing flow will be described with reference to the flowchart of FIG.

スライドドア12が全閉または全開位置で乗員等が開閉スイッチ45を操作して、スライドドア12の開閉を指示すると、モータ制御装置41は、自動、かつ目標速度Vpで、スライドドア12を開く(ドアOPEN)か、或いは閉じる(ドアCLOSE)ように、自動開閉動作を開始する(ステップST0_1)。   When an occupant or the like operates the open / close switch 45 and instructs to open / close the slide door 12 when the slide door 12 is in the fully closed or fully open position, the motor control device 41 opens the slide door 12 automatically at the target speed Vp ( The automatic opening / closing operation is started so as to close (door OPEN) or close (door CLOSE) (step ST0_1).

回転制御部54aは、スライドドア12のドア位置が自動開閉動作開始後に「全閉位置」または「全開位置」に到達したか否かを判断する(ステップST0_2)。全閉検出スイッチ46が、スライドドア12のドア位置が「全閉位置」に到達したことを検出すると、回転制御部54aは、「全閉位置」にあると判断する。また、ドア開閉情報生成部52が「全開位置」に到達したことを検出すると、回転制御部54aは、「全開位置」にあると判断する。
回転制御部54aは、スライドドア12のドア位置が「全閉位置」または「全開位置」に到達したと判断すると(ステップST0_2―Yes)、ドライバ回路51に対して、電動モータ21の駆動を停止するためのPWM指令信号を出力する。電動モータ21への通電は終了し、スライドドア12の自動開閉動作が終了する(ステップST0_3)。
The rotation control unit 54a determines whether or not the door position of the slide door 12 has reached the “fully closed position” or the “fully opened position” after the automatic opening / closing operation is started (step ST0_2). When the fully closed detection switch 46 detects that the door position of the slide door 12 has reached the “fully closed position”, the rotation control unit 54 a determines that the position is in the “fully closed position”. In addition, when the door opening / closing information generation unit 52 detects that it has reached the “fully opened position”, the rotation control unit 54 a determines that it is in the “fully opened position”.
When the rotation control unit 54a determines that the door position of the slide door 12 has reached the “fully closed position” or the “fully opened position” (step ST0_2—Yes), the drive circuit 51 stops driving the electric motor 21. To output a PWM command signal. The energization of the electric motor 21 is finished, and the automatic opening / closing operation of the slide door 12 is finished (step ST0_3).

一方、回転制御部54aが、スライドドア12のドア位置が「全閉位置」または「全開位置」に到達していないと判断すると(ステップST0_2―No)、ブレーキ制御部56は、乗員等の開閉スイッチ45の操作によるスライドドア12の途中停止信号が入力されているか否かを判断する(ステップST0_4)。   On the other hand, when the rotation control unit 54a determines that the door position of the slide door 12 has not reached the “fully closed position” or the “fully opened position” (step ST0_2-No), the brake control unit 56 opens and closes the occupant or the like. It is determined whether or not a midway stop signal for the slide door 12 by the operation of the switch 45 is input (step ST0_4).

ブレーキ制御部56が、スライドドア12の途中停止信号が入力されていないと判断した場合(ステップST0_4:No)、ステップST0_2に戻り、スライドドア12のドア位置が「全閉位置」または「全開位置」にあるか否かが判断される。
一方、ブレーキ制御部56が、スライドドア12の途中停止信号が入力されていると判断した場合(ステップST0_4:Yes)、ブレーキ制御部56は、デューティタイマを始動させる(ステップST0_5)。
When the brake control unit 56 determines that the midway stop signal of the slide door 12 is not input (step ST0_4: No), the process returns to step ST0_2, and the door position of the slide door 12 is “fully closed position” or “fully opened position”. Is determined.
On the other hand, when the brake control unit 56 determines that an intermediate stop signal of the slide door 12 is input (step ST0_4: Yes), the brake control unit 56 starts a duty timer (step ST0_5).

ブレーキ制御部56は、一相通電制御を開始する。すなわち、ブレーキ制御部56は、初期デューティ比A%で下段のトランジスタ(IGBT)42d、42e、及び42fのうち1つのトランジスタと、上段のトランジスタ(IGBT)42a、42b、及び42cのうち1つのトランジスタとを、駆動信号によりPWM駆動するように、PWM指令信号をドライバ回路51に対して出力する。ドライバ回路51からは、途中停止信号入力時のセンサ信号に応じたスイッチングパターンを一定デューティで駆動信号が出力される(ステップST0_6)。これにより、ブレーキ制御部56は、電動モータ21にブレーキ力を発生させてスライドドア12を途中停止させる。   The brake control unit 56 starts one-phase energization control. That is, the brake control unit 56 has an initial duty ratio A%, one transistor of the lower transistors (IGBT) 42d, 42e, and 42f, and one transistor of the upper transistors (IGBT) 42a, 42b, and 42c. The PWM command signal is output to the driver circuit 51 so that the PWM signal is driven by the drive signal. The driver circuit 51 outputs a drive signal with a constant duty in a switching pattern corresponding to the sensor signal when the midway stop signal is input (step ST0_6). Thereby, the brake control unit 56 causes the electric motor 21 to generate a braking force and stops the slide door 12 halfway.

ブレーキ制御部56は、乗員等が開閉スイッチ45を操作して、スライドドア12の途中停止信号の入力が解除されているか否かを判断する(ステップST0_7)。
ブレーキ制御部56が、スライドドア12の途中停止信号が解除されていると判断した場合(ステップST0_7:Yes)、ステップST0_2に戻り、スライドドア12のドア位置が「全閉位置」または「全開位置」にあるか否かが判断される。
The brake control unit 56 determines whether or not the input of the halfway stop signal of the slide door 12 is released by the occupant or the like operating the open / close switch 45 (step ST0_7).
When the brake control unit 56 determines that the midway stop signal of the slide door 12 is released (step ST0_7: Yes), the process returns to step ST0_2, and the door position of the slide door 12 is “fully closed position” or “fully opened position”. Is determined.

一方、ブレーキ制御部56が、スライドドア12の途中停止信号が解除されていないと判断した場合(ステップST0_7:No)、ブレーキ制御部56は、所定の第1規定時間(車両が省電力モードへ移行するために予め設定された時間)が経過したか否かを判定する(ステップST0_8)。ステップST0_8の判定処理において、所定の第1規定時間が経過していないと判定された場合(ステップST0_8:No)、ブレーキ制御部56は、ステップST0_6に戻って、初期デューティ比A%で電動モータ21にブレーキ力を与え続ける。なお、図11及び図12の時刻t0〜t2の間で行われる処理が、図13のステップST0_5〜ST0_8の処理に相当する。   On the other hand, when the brake control unit 56 determines that the midway stop signal of the slide door 12 is not released (step ST0_7: No), the brake control unit 56 sets the predetermined first specified time (the vehicle enters the power saving mode). It is determined whether or not a preset time for transition has elapsed (step ST0_8). When it is determined in step ST0_8 that the predetermined first specified time has not elapsed (step ST0_8: No), the brake control unit 56 returns to step ST0_6 and sets the electric motor at the initial duty ratio A%. The brake force is continuously applied to 21. Note that the processing performed between times t0 and t2 in FIGS. 11 and 12 corresponds to the processing in steps ST0_5 to ST0_8 in FIG.

一方、ステップST0_8の判定処理において、所定の第1規定時間が経過したと判定された場合(ステップST0_8:Yes)、ブレーキ制御部56は、位置センサ(ホールIC48u、ホールIC48v、及びホールIC48w)に故障が発生しているか否かを判定する(ステップST4)。この位置センサ(ホールIC48u、ホールIC48v、及びホールIC48w)の故障は、電動モータ21を駆動してスライドドア12を開閉する際に、予め検出してその故障情報を保持できるものである。   On the other hand, in the determination process of step ST0_8, when it is determined that the predetermined first specified time has elapsed (step ST0_8: Yes), the brake control unit 56 detects the position sensor (Hall IC 48u, Hall IC 48v, and Hall IC 48w). It is determined whether or not a failure has occurred (step ST4). The failure of the position sensors (Hall IC 48u, Hall IC 48v, and Hall IC 48w) can be detected in advance when the electric motor 21 is driven to open and close the slide door 12, and the failure information can be retained.

そして、ステップST4の処理において、位置センサに故障が発生していると判定された場合(ステップST4:Yes)、ブレーキ制御部56は、位置センサ故障時の処理(ステップST5〜ステップST8側の処理)に移行する。なお、図11において、時刻t2〜t5の間に行われる処理が、ステップST5〜ステップST8の処理に相当する。   If it is determined in step ST4 that the position sensor has failed (step ST4: Yes), the brake control unit 56 performs processing at the time of position sensor failure (step ST5-step ST8 side processing). ). In FIG. 11, the process performed between times t2 and t5 corresponds to the process of steps ST5 to ST8.

そして、ステップST5に移行すると、ブレーキ制御部56は、ブレーキ制御の終了条件が成立しているか否を判定する(ステップST5)。このステップST5における終了条件として、スライドドア12が途中停止位置から「全閉位置」又は「全閉位置」に移動するのに要すると想定される第2規定時間(予め設定される時間)を超えたか否かが判定される。このステップST5の判定に使用される第2規定時間は、例えば、図11に示す時刻t2から時刻t5の間の時間が相当する。   Then, when the process proceeds to step ST5, the brake control unit 56 determines whether or not a brake control end condition is satisfied (step ST5). As an end condition in this step ST5, it exceeds a second specified time (preset time) assumed to be required for the slide door 12 to move from the halfway stop position to the “fully closed position” or “fully closed position”. It is determined whether or not. The second specified time used for the determination in step ST5 corresponds to, for example, the time between time t2 and time t5 shown in FIG.

そして、ステップST5の処理において、終了条件が成立していると判定された場合(ステップST5:Yes)、ブレーキ制御部56は、ブレーキの制御動作を終了する(ステップST14)。
一方、ステップST5の処理において、終了条件が成立していないと判定された場合(ステップST5:No)、ブレーキ制御部56は、現在のデューティ比(Duty)が規定デューティ比(規定Duty)に到達しているか否かを判定する(ステップST6)。例えば、図11では、時刻t3において規定デューティ比Du1に到達したと判定される。
When it is determined in step ST5 that the end condition is satisfied (step ST5: Yes), the brake control unit 56 ends the brake control operation (step ST14).
On the other hand, in the process of step ST5, when it is determined that the end condition is not satisfied (step ST5: No), the brake control unit 56 determines that the current duty ratio (Duty) reaches the specified duty ratio (specified duty). It is determined whether or not (step ST6). For example, in FIG. 11, it is determined that the specified duty ratio Du1 has been reached at time t3.

そして、ステップST6の処理において規定デューティ比に到達していると判定された場合(ステップST6:Yes)、ブレーキ制御部56は、ステップST5の処理に戻り、ブレーキ制御の終了条件が成立しているか否かを判定する(ステップST5)。   If it is determined in step ST6 that the specified duty ratio has been reached (step ST6: Yes), the brake control unit 56 returns to step ST5, and whether the brake control end condition is satisfied. It is determined whether or not (step ST5).

一方、ステップST6の処理において規定デューティ比に到達していないと判定された場合(ステップST6:No)、ブレーキ制御部56は、デューティ比を低下させるタイミングを決めるデューティタイマ(Duty Timer)がタイムアップ(計測完了)したか否かを判定する(ステップST7)。
そして、ステップST7の処理においてデューティタイマがタイムアップ(計測完了)していない判定された場合(ステップST7:No)、ブレーキ制御部56は、ステップST5の処理に戻り、ブレーキ制御の終了条件が成立しているか否かを判定する(ステップST5)。
On the other hand, if it is determined in step ST6 that the specified duty ratio has not been reached (step ST6: No), the brake control unit 56 times up a duty timer (Duty Timer) that determines the timing for reducing the duty ratio. It is determined whether (measurement is completed) or not (step ST7).
If it is determined in step ST7 that the duty timer has not timed up (measurement completed) (step ST7: No), the brake control unit 56 returns to step ST5 and the brake control end condition is satisfied. It is determined whether or not (step ST5).

一方、ステップST7の処理においてデューティタイマがタイムアップ(計測完了)していると判定された場合(ステップST7:Yes)、ブレーキ制御部56は、デューティタイマの計測値をリセットするとともに、上段のトランジスタ42a、42b、及び42cのうちの1つのトランジスタと下段のトランジスタ42d、42e、及び42fのうちの1つのトランジスタとのデューティ比を所定分だけダウン(低下)させて(ステップST8)、その後にステップST5の処理に戻る。   On the other hand, when it is determined in step ST7 that the duty timer has timed up (measurement completed) (step ST7: Yes), the brake control unit 56 resets the measured value of the duty timer and sets the upper transistor The duty ratio between one of the transistors 42a, 42b, and 42c and one of the lower transistors 42d, 42e, and 42f is decreased (decreased) by a predetermined amount (step ST8), and then the step is performed. The process returns to ST5.

次に、ステップST4の処理に戻り、このステップST4の処理において位置センサに故障が発生していないと判定された場合(ステップST4:No)、ブレーキ制御65は、位置センサ正常時の処理(ステップST9〜ステップST13側の処理)に移行する。なお、図12の時刻t2〜t7の間に行われる処理が、ステップST9〜ステップST13の処理に相当する。   Next, returning to the process of step ST4, when it is determined in the process of step ST4 that no failure has occurred in the position sensor (step ST4: No), the brake control 65 performs the process when the position sensor is normal (step The process proceeds to ST9 to step ST13. In addition, the process performed between the time t2-t7 of FIG. 12 is corresponded to the process of step ST9-step ST13.

そしてステップST9に移行すると、ブレーキ制御部56は、ブレーキ制御の終了条件が成立しているか否を判定する(ステップST9)。このステップST9の終了条件の判定処理においては、スライドドア12が「全閉位置」又は「全閉位置」まで移動した場合と、スライドドア12が途中停止位置から「全閉位置」又は「全閉位置」に移動するのに要すると想定される第2規定時間(予め設定される時間)を超えた場合と、スライドドア12の移動が開始された後に電動モータ21の発電が停止した場合と、のいずれかの場合が生じた際に、終了条件が成立したと判定される。   When the process proceeds to step ST9, the brake control unit 56 determines whether or not a brake control end condition is satisfied (step ST9). In the determination process of the end condition in step ST9, when the slide door 12 moves to the “fully closed position” or “fully closed position”, the slide door 12 moves from the halfway stop position to the “fully closed position” or “fully closed”. A case where a second specified time (preset time) assumed to be required to move to “position” is exceeded, a case where power generation of the electric motor 21 is stopped after the movement of the slide door 12 is started, When either of the cases occurs, it is determined that the end condition is satisfied.

なお、スライドドア12の「全閉位置」は、スライドドア12が完全に閉まったことを検出する全閉検出スイッチ46(例えば、リミットスイッチ)により検出することができる。また、「全開位置」は、ドア開閉情報生成部52により検出される。また、電動モータ21の発電停止は、電動モータ21のコイルに流れる電流を測定することにより検出することができる他、位置センサ(ホールIC48u、ホールIC48v、及びホールIC48w)の出力信号の変化の有無により検出することができる。   The “fully closed position” of the slide door 12 can be detected by a fully closed detection switch 46 (for example, a limit switch) that detects that the slide door 12 is completely closed. The “fully opened position” is detected by the door opening / closing information generation unit 52. In addition, the power generation stoppage of the electric motor 21 can be detected by measuring the current flowing through the coil of the electric motor 21, and whether or not the output signals of the position sensors (Hall IC 48u, Hall IC 48v, and Hall IC 48w) have changed. Can be detected.

そして、ステップST9の判定処理において、終了条件が成立していると判定された場合(ステップST9:Yes)、ブレーキ制御部56は、ブレーキの制御動作を終了する(ステップST14)。
一方、ステップST9の判定処理において、終了条件が成立していないと判定された場合(ステップST9:No)、ブレーキ制御部56は、スライドドア12の移動速度が規定速度(図12の規定速度SP1を参照)を超えているか否かを判定する(ステップST10)。
When it is determined in the determination process of step ST9 that the end condition is satisfied (step ST9: Yes), the brake control unit 56 ends the brake control operation (step ST14).
On the other hand, in the determination process of step ST9, when it is determined that the end condition is not satisfied (step ST9: No), the brake control unit 56 determines that the moving speed of the slide door 12 is the specified speed (the specified speed SP1 in FIG. 12). It is determined whether it exceeds (see step ST10).

そして、ステップST10の判定処理において、スライドドア12のドア速度が規定速度を超えていると判定された場合(ステップST10:Yes)、ブレーキ制御部56は、デューティ比を低下させる制御を行うことなくステップST9の処理に戻り、ブレーキ制御の終了条件が成立しているか否かを判定する。
図12に示す例では、時刻t6において、ドア速度Spが規定速度Sp1に到達し、このときのデューティ比がデューティ比Du2になる。ブレーキ制御部56では、この時刻t6以降、時刻t7まで、デューティ比Duを一定のデューティ比Du2に維持する。
And in the determination process of step ST10, when it determines with the door speed of the slide door 12 exceeding the regulation speed (step ST10: Yes), the brake control part 56 does not perform control which reduces a duty ratio. Returning to the process of step ST9, it is determined whether or not the brake control end condition is satisfied.
In the example shown in FIG. 12, at time t6, the door speed Sp reaches the specified speed Sp1, and the duty ratio at this time becomes the duty ratio Du2. The brake control unit 56 maintains the duty ratio Du at a constant duty ratio Du2 from time t6 to time t7.

一方、ステップST10の判定処理において、スライドドア12のドア速度が規定速度を超えていないと判定された場合(ステップST10:No)、ブレーキ制御部56は、現在のデューティ比(Duty)が規定デューティ比Du1(デューティ閾値)に到達しているか否かを判定する(ステップST11)。   On the other hand, in the determination process of step ST10, when it is determined that the door speed of the slide door 12 does not exceed the specified speed (step ST10: No), the brake control unit 56 determines that the current duty ratio (Duty) is the specified duty. It is determined whether or not the ratio Du1 (duty threshold) has been reached (step ST11).

そして、ステップST11の判定処理において規定デューティ比Du1に到達していると判定された場合(ステップST11:Yes)、ブレーキ制御部56は、ステップST9の処理に戻り、ブレーキ制御の終了条件が成立しているか否かを判定する。   When it is determined in step ST11 that the specified duty ratio Du1 has been reached (step ST11: Yes), the brake control unit 56 returns to the process in step ST9, and the brake control end condition is satisfied. It is determined whether or not.

また、ステップST11の判定処理において規定デューティ比Du1に到達していないと判定された場合(ステップST11:No)、ブレーキ制御部56は、デューティ比を低下させるタイミング(制御周期T)を決めるデューティタイマがタイムアップ(計測完了)したか否かを判定する(ステップST12)。   If it is determined in step ST11 that the specified duty ratio Du1 has not been reached (step ST11: No), the brake control unit 56 determines a timing (control cycle T) for reducing the duty ratio. Determines whether or not the time is up (measurement is completed) (step ST12).

そして、ステップST12の判定処理においてデューティタイマがタイムアップ(計測完了)していない判定された場合(ステップST12:No)、ブレーキ制御部56は、現在のデューティ比を維持して、ステップST9の処理に戻り、ブレーキ制御の終了条件が成立しているか否かを判定する。   When it is determined in the determination process of step ST12 that the duty timer has not timed up (measurement completed) (step ST12: No), the brake control unit 56 maintains the current duty ratio and performs the process of step ST9. Then, it is determined whether or not the brake control end condition is satisfied.

一方、ステップST12の処理においてデューティタイマがタイムアップ(計測完了)していると判定された場合(ステップST12:Yes)、ブレーキ制御部56は、上段のトランジスタ42a、42b、及び42cのうちの1つのトランジスタと下段のトランジスタ42d、42e、及び42fのうちの1つのトランジスタとのデューティ比を所定分だけダウン(低下)させて(ステップST13)、その後、ステップST9の処理に戻り、ブレーキ制御の終了条件が成立しているか否かを判定する。   On the other hand, when it is determined in step ST12 that the duty timer has timed up (measurement completed) (step ST12: Yes), the brake control unit 56 selects one of the upper transistors 42a, 42b, and 42c. The duty ratio between one transistor and one of the lower transistors 42d, 42e, and 42f is decreased (decreased) by a predetermined amount (step ST13), and then the process returns to step ST9 to complete the brake control. It is determined whether the condition is satisfied.

以上説明したように、本発明のモータ制御装置41によれば、車両が傾斜地で停止したときに、スライドドア12を途中停止させると、重力の作用によりスライドドア12が傾斜方向に移動しようとするが、ブレーキ制御部56は、電動モータ21にブレーキ力を発生させることにより、スライドドア12を途中停止させるとともに、途中停止後は、スライドドア12の「全閉位置」又は「全開位置」まで滑らかに移動させることができる。   As described above, according to the motor control device 41 of the present invention, when the sliding door 12 is stopped halfway when the vehicle stops on an inclined ground, the sliding door 12 tends to move in the tilting direction due to the action of gravity. However, the brake control unit 56 causes the electric motor 21 to generate a braking force to stop the slide door 12 halfway, and after the halfway stop, the brake control unit 56 smoothly moves to the “fully closed position” or “fully open position” of the slide door 12. Can be moved to.

以上、本発明の実施形態について説明したが、本発明の実施形態に係わるモータ制御装置41は、図3および図9に示すように、駆動回路部42、直流電源44、ドライバ回路51、ドア開閉情報生成部52、及び制御部53を含んで構成される。
そして、上記実施形態において、本発明のモータ制御装置41は、車両11のスライドドア12の開閉を行う電動モータ21の回転を制御するとともに、スライドドア12の開閉中に途中停止信号が入力されたら電動モータ21にブレーキ力を発生させる制御を行ってスライドドア12を途中停止させる制御部53または制御部53aを有するモータ制御装置41である。制御部53または制御部53aは、スライドドア12が途中停止すると、スライドドア12を途中停止させてから所定の第1規定時間が経過するまでは、電動モータ21のブレーキ力を所定のブレーキ力に維持し、所定の第1規定時間の経過後は、所定の制御周期ごとに、所定の制御周期に占める電動モータの入力端子の短絡時間の割合であるデューティ比を所定の初期デューティ比から徐々に低下させてブレーキ力を徐々に低下させる制御を行う。
このような構成のモータ制御装置であれば、スライドドア12を途中停止させる場合に、電動モータ21のブレーキ力を所定のブレーキ力に維持してスライドドア12を途中停止させる。そして、スライドドア12を途中停止させてから所定の第1規定時間が経過するまでは、所定の初期デューティ比により電動モータ21にブレーキ力を発生させ、この第1規定時間の経過後は、デューティ比を初期デューティ比から徐々に低下させることによりブレーキ力を徐々に弱めていく。
制御部53aでは、途中停止信号が入力されたら、途中停止信号が入力されたときの回転子の位置に応じて駆動回路部42を一相通電制御することでブレーキ力を発生する。
制御部53は、途中停止信号が入力されたら、電動モータ21の入力端子を短絡し、ブレーキ力としての回生ブレーキ力を発生させる。
これにより、傾斜地で停止した車両11において、途中停止したスライドドア12が重力の作用により傾斜方向に移動する際に、このスライドドア12を滑らかに移動させることができる。
The embodiment of the present invention has been described above. As shown in FIGS. 3 and 9, the motor control device 41 according to the embodiment of the present invention includes a drive circuit unit 42, a DC power supply 44, a driver circuit 51, door opening / closing. An information generation unit 52 and a control unit 53 are included.
In the above embodiment, the motor control device 41 of the present invention controls the rotation of the electric motor 21 that opens and closes the slide door 12 of the vehicle 11, and when a midway stop signal is input during the opening and closing of the slide door 12. The motor control device 41 includes a control unit 53 or a control unit 53a that controls the electric motor 21 to generate a braking force and stops the slide door 12 halfway. When the sliding door 12 stops halfway, the control unit 53 or the control unit 53a changes the braking force of the electric motor 21 to the predetermined braking force until the predetermined first specified time elapses after the sliding door 12 is stopped halfway. After the elapse of the predetermined first specified time, the duty ratio that is the ratio of the short circuit time of the input terminal of the electric motor in the predetermined control period is gradually increased from the predetermined initial duty ratio for each predetermined control period. Control to gradually reduce the braking force by reducing the braking force.
In the motor control device having such a configuration, when the slide door 12 is stopped halfway, the brake force of the electric motor 21 is maintained at a predetermined brake force and the slide door 12 is stopped halfway. Then, the brake force is generated in the electric motor 21 at a predetermined initial duty ratio after the sliding door 12 is stopped halfway until the predetermined first specified time elapses. After the first specified time elapses, the duty is increased. The braking force is gradually weakened by gradually decreasing the ratio from the initial duty ratio.
When the midway stop signal is input, the control unit 53a generates a braking force by performing one-phase energization control of the drive circuit unit 42 according to the position of the rotor when the midway stop signal is input.
When the midway stop signal is input, the control unit 53 short-circuits the input terminal of the electric motor 21 to generate a regenerative braking force as a braking force.
Thereby, in the vehicle 11 stopped on the slope, the slide door 12 can be smoothly moved when the slide door 12 stopped halfway moves in the tilt direction by the action of gravity.

また、上記実施形態において、制御部53または制御部53aは、デューティ比を初期デューティ比(100%またはA%)から徐々に低下させる際に、デューティ比が予め定められた所定のデューティ閾値に到達した場合は、デューティ比を低下させることを停止し、以後、所定のデューティ閾値のデューティ比によりブレーキ力を制御する。
このような構成のモータ制御装置41であれば、デューティ比を徐々に低下させる際に、デューティ比が所定のデューティ閾値に到達した場合はデューティ比を低下させることを停止する。これにより、モータ制御装置41は、スライドドア12が停止位置から傾斜方向に移動する際に、スライドドア12の移動速度が速くなり過ぎることを防ぐことができる。
In the above embodiment, when the control unit 53 or the control unit 53a gradually decreases the duty ratio from the initial duty ratio (100% or A%), the duty ratio reaches a predetermined duty threshold value that is set in advance. In this case, the reduction of the duty ratio is stopped, and thereafter the braking force is controlled by the duty ratio of a predetermined duty threshold.
With the motor control device 41 having such a configuration, when the duty ratio is gradually reduced, if the duty ratio reaches a predetermined duty threshold, the reduction of the duty ratio is stopped. Thereby, the motor control device 41 can prevent the moving speed of the slide door 12 from becoming too fast when the slide door 12 moves in the tilt direction from the stop position.

また、上記実施形態において、制御部53または制御部53aは、デューティ比を初期デューティ比から徐々に低下させる制御を開始した後、所定の第2規定時間が経過した場合に、電動モータ21にブレーキ力を発生させることを終了させる。
これにより、モータ制御装置41は、スライドドア12が「全開位置」又は「全閉位置」に到達するであろうと推定される時間を考慮して、ブレーキ制御(回生ブレーキ制御または一相通電制御)を終了する時間を設定することができる。
In the above embodiment, the control unit 53 or the control unit 53a brakes the electric motor 21 when a predetermined second specified time has elapsed after starting control for gradually reducing the duty ratio from the initial duty ratio. End generating force.
Thereby, the motor control device 41 takes into account the time estimated that the slide door 12 will reach the “fully open position” or the “fully closed position”, and performs brake control (regenerative brake control or one-phase energization control). You can set the time to end.

また、上記実施形態において、スライドドア12の位置と移動速度を検出するドア開閉情報生成部52を備え、制御部53または制御部53aは、デューティ比を初期デューティ比から徐々に低下させる制御を開始した後、スライドドア12の移動速度が予め定められた規定速度を超えた場合に、デューティ比を低下させることを停止する。
これにより、モータ制御装置41は、デューティ比を徐々に低下させる場合に、スライドドア12の移動速度が規定速度を超えた場合にデューティ比を低下させることを停止することができる。このため、モータ制御装置41は、スライドドア12の移動速度が速くなり過ぎることを防ぐことができる。
Moreover, in the said embodiment, the door opening / closing information generation part 52 which detects the position and moving speed of the slide door 12 is provided, and the control part 53 or the control part 53a starts the control which reduces a duty ratio gradually from an initial duty ratio. After that, when the moving speed of the slide door 12 exceeds a predetermined speed, the reduction of the duty ratio is stopped.
Thereby, the motor control apparatus 41 can stop decreasing the duty ratio when the moving speed of the slide door 12 exceeds the specified speed when the duty ratio is gradually decreased. For this reason, the motor control device 41 can prevent the moving speed of the slide door 12 from becoming too fast.

また、上記実施形態において、モータ制御装置41は、スライドドア12の位置と移動速度とを検出するドア開閉情報生成部52を備え、制御部53または制御部53aは、デューティ比を初期デューティ比から徐々に低下させる制御を開始した後、所定の第2規定時間が経過した場合と、スライドドア12の全開位置を検出した場合と、スライドドア12の全閉位置を検出した場合と、のいずれかの場合が生じた際に、電動モータ21にブレーキ力を発生させることを終了させる。
これにより、モータ制御装置41は、スライドドア12が「全開位置」又は「全閉位置」に到達するであろうと推定される時間を考慮して、ブレーキ制御を終了する時間(第2規定時間)を設定することができる。また、スライドドア12が「全閉位置」又は「全開位置」に到達した場合には、ブレーキ制御を直ちに終了することができる。
Moreover, in the said embodiment, the motor control apparatus 41 is provided with the door opening / closing information generation part 52 which detects the position and moving speed of the slide door 12, and the control part 53 or the control part 53a changes a duty ratio from an initial duty ratio. One of a case where a predetermined second specified time has elapsed after the start of the gradually decreasing control, a case where the fully open position of the slide door 12 is detected, and a case where the fully closed position of the slide door 12 is detected When this occurs, the generation of the braking force in the electric motor 21 is terminated.
Thereby, the motor control device 41 considers the time when the slide door 12 is estimated to reach the “fully open position” or the “fully closed position”, and finishes the brake control (second specified time). Can be set. When the slide door 12 reaches the “fully closed position” or the “fully opened position”, the brake control can be immediately terminated.

以上、本発明の実施形態の説明において、ブレーキ制御部の一相通電制御は上段のトランジスタおよび下段のトランジスタそれぞれ一つずつをPWM制御するとしたが、これに限らず、例えば下段のトランジスタのみをPWM制御し、上段のトランジスタをオン制御としてもよい。これにより、ブレーキ制御をより簡易なものとすることができる。
また、本発明のモータ制御装置は、上述の図示例にのみ限定されるものではなく、本発明の要旨を逸脱しない範囲内において種々変更を加え得ることは勿論である。
As described above, in the description of the embodiment of the present invention, the one-phase energization control of the brake control unit is performed by PWM control for each of the upper transistor and the lower transistor. However, the present invention is not limited to this. And the upper transistor may be turned on. Thereby, brake control can be made simpler.
Further, the motor control device of the present invention is not limited to the illustrated examples described above, and it is needless to say that various modifications can be made without departing from the gist of the present invention.

11・・・車両、12・・・スライドドア、14・・・ドア開閉装置、15・・・駆動ユニット、21・・・電動モータ、22u,22v,22w・・・入力端子、41・・・モータ制御装置、42・・・駆動回路部、51・・・ドライバ回路、52・・・ドア開閉情報生成部、53,53a・・・制御部、54,54a・・・回転制御部、55・・・回生ブレーキ制御部、56・・・ブレーキ制御部、57・・・ROM   DESCRIPTION OF SYMBOLS 11 ... Vehicle, 12 ... Sliding door, 14 ... Door opening / closing device, 15 ... Drive unit, 21 ... Electric motor, 22u, 22v, 22w ... Input terminal, 41 ... Motor control device, 42... Drive circuit section, 51... Driver circuit, 52... Door opening / closing information generation section, 53, 53 a, control section, 54, 54 a, rotation control section, 55. ..Regenerative brake control unit, 56 ... Brake control unit, 57 ... ROM

Claims (6)

車両のスライドドアの開閉を行う電動モータの回転を制御するとともに、前記スライドドアの開閉中に途中停止信号が入力されたら前記電動モータにブレーキ力を発生させる制御を行って前記スライドドアを途中停止させる制御部を有するモータ制御装置であって、
前記制御部は、前記スライドドアが途中停止すると、
前記スライドドアを途中停止させてから所定の第1規定時間が経過するまでは、前記電動モータのブレーキ力を所定のブレーキ力に維持し、
前記所定の第1規定時間の経過後は、所定の制御周期に占める前記電動モータの入力端子を駆動する駆動回路の入力信号のデューティ比を所定の初期デューティ比から低下させて前記ブレーキ力を制御し、
前記デューティ比を前記初期デューティ比から徐々に低下させる際に、前記デューティ比が予め定められた所定のデューティ閾値に到達した場合は、前記デューティ比を低下させることを停止し、以降、前記所定のデューティ閾値のデューティ比により前記ブレーキ力を制御する
ことを特徴とするモータ制御装置。
Controls the rotation of the electric motor that opens and closes the sliding door of the vehicle, and controls the electric motor to generate a braking force when a halfway stop signal is input during opening and closing of the sliding door to stop the sliding door halfway A motor control device having a control unit,
When the sliding door stops halfway, the control unit
The brake force of the electric motor is maintained at a predetermined brake force until a predetermined first specified time elapses after the sliding door is stopped halfway,
After the elapse of the predetermined first specified time, the brake force is controlled by reducing the duty ratio of the input signal of the drive circuit that drives the input terminal of the electric motor occupying a predetermined control cycle from a predetermined initial duty ratio. And
When gradually reducing the duty ratio from the initial duty ratio, if the duty ratio reaches a predetermined duty threshold, the reduction of the duty ratio is stopped. A motor control device that controls the brake force according to a duty ratio of a duty threshold value .
前記制御部は、
途中停止信号が入力されたら、前記途中停止信号が入力されたときの回転子の位置に応じて前記駆動回路を一相通電制御することで前記ブレーキ力を発生する
ことを特徴とする請求項1に記載のモータ制御装置。
The controller is
The brake force is generated by performing one-phase energization control on the drive circuit according to a position of a rotor when the midway stop signal is input. The motor control device described in 1.
前記制御部は、
途中停止信号が入力されたら、前記駆動回路に前記電動モータの入力端子を短絡させ、前記ブレーキ力としての回生ブレーキ力を発生させる
ことを特徴とする請求項1に記載のモータ制御装置。
The controller is
2. The motor control device according to claim 1, wherein when a midway stop signal is input, the input terminal of the electric motor is short-circuited in the drive circuit to generate a regenerative braking force as the braking force.
前記制御部は、
前記デューティ比を前記初期デューティ比から徐々に低下させる制御を開始した後、所定の第2規定時間が経過した場合に、前記電動モータに前記ブレーキ力を発生させることを終了させる
ことを特徴とする請求項に記載のモータ制御装置。
The controller is
After the control for gradually decreasing the duty ratio from the initial duty ratio is started, when the predetermined second specified time has elapsed, the generation of the braking force in the electric motor is terminated. The motor control device according to claim 1 .
前記スライドドアの位置と移動速度を検出するドア開閉情報生成部を備え、
前記制御部は、
前記デューティ比を前記初期デューティ比から徐々に低下させる制御を開始した後、前記スライドドアの移動速度が予め定められた規定速度を超えた場合に、前記デューティ比を低下させることを停止する
ことを特徴とする請求項に記載のモータ制御装置。
A door opening / closing information generator for detecting the position and moving speed of the sliding door;
The controller is
After starting the control to gradually reduce the duty ratio from the initial duty ratio, when the moving speed of the sliding door exceeds a predetermined speed, stopping the reduction of the duty ratio. The motor control device according to claim 1 , wherein
前記スライドドアの位置と移動速度とを検出するドア開閉情報生成部を備え、
前記制御部は、
前記デューティ比を前記初期デューティ比から徐々に低下させる制御を開始した後、前記所定の第2規定時間が経過した場合と、
前記スライドドアの全開位置を検出した場合と、
前記スライドドアの全閉位置を検出した場合と、
のいずれかの場合が生じた際に、前記電動モータに前記ブレーキ力を発生させることを終了させる
ことを特徴とする請求項に記載のモータ制御装置。
A door opening / closing information generator for detecting the position and moving speed of the sliding door;
The controller is
A case where the predetermined second specified time has elapsed after starting control for gradually decreasing the duty ratio from the initial duty ratio;
When detecting the fully open position of the sliding door,
When detecting the fully closed position of the sliding door,
Either when the case occurs, the motor control device according to claim 1, characterized in that to terminate the generating the braking force to the electric motor.
JP2014032242A 2013-02-28 2014-02-21 Motor control device Active JP6132784B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014032242A JP6132784B2 (en) 2013-02-28 2014-02-21 Motor control device

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP2013038667 2013-02-28
JP2013038667 2013-02-28
JP2014032242A JP6132784B2 (en) 2013-02-28 2014-02-21 Motor control device

Publications (3)

Publication Number Publication Date
JP2014194151A JP2014194151A (en) 2014-10-09
JP2014194151A5 JP2014194151A5 (en) 2016-01-07
JP6132784B2 true JP6132784B2 (en) 2017-05-24

Family

ID=51839553

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014032242A Active JP6132784B2 (en) 2013-02-28 2014-02-21 Motor control device

Country Status (1)

Country Link
JP (1) JP6132784B2 (en)

Families Citing this family (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101639695B1 (en) * 2015-02-11 2016-07-14 공주대학교 산학협력단 Apparatus and method for controlling automatic door using brushless direct current motor
CN106142020B (en) * 2015-04-08 2019-01-04 南京德朔实业有限公司 Utilize the method for trigger control motor
KR101690188B1 (en) * 2015-05-19 2016-12-27 공주대학교 산학협력단 Apparatus and method for controling automatic door using brushless direct current motor
JP6596734B2 (en) * 2015-08-10 2019-10-30 三井金属アクト株式会社 Door opener
JP6544173B2 (en) * 2015-09-17 2019-07-17 アイシン精機株式会社 Open / close controller for vehicle
JP6643862B2 (en) * 2015-10-23 2020-02-12 株式会社ミツバ Motor control device
JP6711746B2 (en) * 2016-12-27 2020-06-17 株式会社ミツバ Motor controller
JP6752527B2 (en) * 2016-12-27 2020-09-09 ダイハツ工業株式会社 Electric sliding door motor control device
JP6741606B2 (en) * 2017-01-26 2020-08-19 株式会社ミツバ Motor control device
JP6928156B2 (en) * 2017-01-26 2021-09-01 株式会社ミツバ Motor control device and door opening / closing device
JP6798378B2 (en) * 2017-03-17 2020-12-09 アイシン精機株式会社 Opening and closing body control device for vehicles
JP6992263B2 (en) 2017-03-17 2022-01-13 株式会社アイシン Vehicle open / close body control device
JP6915329B2 (en) * 2017-03-17 2021-08-04 株式会社アイシン Vehicle opening / closing body control device
JP6915331B2 (en) 2017-03-22 2021-08-04 株式会社アイシン Vehicle opening / closing body control device
JP6915332B2 (en) * 2017-03-22 2021-08-04 株式会社アイシン Vehicle opening / closing body control device
JP6698195B2 (en) * 2019-05-13 2020-05-27 株式会社ミツバ Opening/closing body control device
JP7197650B2 (en) * 2020-07-22 2022-12-27 株式会社ミツバ Motor control and door operator
CN117188901A (en) * 2022-05-31 2023-12-08 比亚迪股份有限公司 Sliding door of vehicle, control method and vehicle

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0970195A (en) * 1995-08-31 1997-03-11 Toyota Motor Corp Motor controller
JPH10266691A (en) * 1997-03-21 1998-10-06 Mitsuba Corp Automatic sliding door device
JP3723037B2 (en) * 2000-03-30 2005-12-07 株式会社大井製作所 Automatic opening / closing device for vehicle opening / closing body
JP2005194767A (en) * 2004-01-07 2005-07-21 Mitsuba Corp Method of controlling opening/closing body for vehicle
JP4639050B2 (en) * 2004-03-01 2011-02-23 株式会社ミツバ Sliding door device for vehicle
JP2006097407A (en) * 2004-09-30 2006-04-13 Mitsuba Corp Automatic opening/closing device for vehicle

Also Published As

Publication number Publication date
JP2014194151A (en) 2014-10-09

Similar Documents

Publication Publication Date Title
JP6132784B2 (en) Motor control device
JP6068956B2 (en) Motor control device
JP6711746B2 (en) Motor controller
US11226037B2 (en) Shift range control device
US11002360B2 (en) Shift range control apparatus
US20080048597A1 (en) Motor driving device and motor braking method
JP6569584B2 (en) Shift range control device
JP6658416B2 (en) Shift range control device
US10787065B2 (en) Vehicular opening/closing body control device and motor control device
JP2008005656A (en) Automatic opening/closing device for vehicle
JP2018138790A (en) Shift range control device
JP2016208633A (en) Motor driving device
JP6643862B2 (en) Motor control device
JP2008005683A (en) Drive unit for brushless dc motor
JP2009100526A (en) Motor control device
JP6928156B2 (en) Motor control device and door opening / closing device
JP7197650B2 (en) Motor control and door operator
JP6741606B2 (en) Motor control device
JP6036087B2 (en) Robot system
JP2017132387A (en) Vehicle seat control device
JP2006333691A (en) Motor controller
WO2020213664A1 (en) Motor control device
JP6698195B2 (en) Opening/closing body control device
JP2021083271A (en) Motor drive device, motor drive system, and motor drive method
JP2021115915A (en) Opening/closing body controller for vehicle

Legal Events

Date Code Title Description
A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20151112

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20151112

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20160822

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20160906

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20161020

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20170418

R150 Certificate of patent or registration of utility model

Ref document number: 6132784

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150