JP2019017196A - Motor control device - Google Patents

Motor control device Download PDF

Info

Publication number
JP2019017196A
JP2019017196A JP2017133563A JP2017133563A JP2019017196A JP 2019017196 A JP2019017196 A JP 2019017196A JP 2017133563 A JP2017133563 A JP 2017133563A JP 2017133563 A JP2017133563 A JP 2017133563A JP 2019017196 A JP2019017196 A JP 2019017196A
Authority
JP
Japan
Prior art keywords
switching element
potential side
side switching
electric motor
motor
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2017133563A
Other languages
Japanese (ja)
Other versions
JP6955196B2 (en
Inventor
伸康 別所
Nobuyasu Bessho
伸康 別所
幹人 才田
Mikihito Saida
幹人 才田
仁博 富澤
Hitohiro Tomizawa
仁博 富澤
浩司 長瀬
Koji Nagase
浩司 長瀬
篤史 竹本
Atsushi Takemoto
篤史 竹本
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.)
Aisin Corp
Original Assignee
Aisin Seiki Co Ltd
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 Aisin Seiki Co Ltd filed Critical Aisin Seiki Co Ltd
Priority to JP2017133563A priority Critical patent/JP6955196B2/en
Publication of JP2019017196A publication Critical patent/JP2019017196A/en
Application granted granted Critical
Publication of JP6955196B2 publication Critical patent/JP6955196B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Control Of Direct Current Motors (AREA)
  • Stopping Of Electric Motors (AREA)

Abstract

To suppress movement of a mobile body operated by an electric motor in a direction opposite to an intended direction so as not to cause unnecessary confusion to a user.SOLUTION: A motor control device 100 comprises a motor driving circuit 50 connected to an electric motor 20. The motor control device 100 also comprises a control unit 81 which complementarily controls on and off of a first high potential side switching element 61 and a first low potential side switching element 62 and on and off of a second high potential side switching element 71 and a second low potential side switching element 72 in the motor driving circuit 50. The motor control device 100 further includes a detection unit 82 which determines whether the electric motor 20 is abnormal. When the detection unit determines that the electric motor 20 is abnormal, the control unit 81 controls each switching element so that a closed loop passing the first low potential side switching element 62, the electric motor 20, and the second low potential side switching element 72 is formed and held.SELECTED DRAWING: Figure 2

Description

本発明は、モータ制御装置に関する。   The present invention relates to a motor control device.

特許文献1には、電動パワーステアリング装置の電動モータに適用されるモータ制御装置が開示されている。特許文献1のモータ制御装置は、複数のスイッチング素子を有するモータ駆動回路と、モータ駆動回路の各スイッチング素子をオンオフ制御する制御部とを備えている。   Patent Document 1 discloses a motor control device applied to an electric motor of an electric power steering device. The motor control device of Patent Document 1 includes a motor drive circuit having a plurality of switching elements, and a control unit that controls on / off of each switching element of the motor drive circuit.

特許文献1のモータ制御装置におけるモータ駆動回路は、高電位側電源及び低電位側電源の間に第1高電位側スイッチング素子及び第1低電位側スイッチング素子が直列に接続されている。また、これら第1高電位側スイッチング素子及び第1低電位側スイッチング素子に対して並列に、かつ高電位側電源及び低電位側電源の間に直列に、第2高電位側スイッチング素子及び第2低電位側スイッチング素子が接続されている。そして、第1高電位側スイッチング素子及び第1低電位側スイッチング素子の間の第1接続ノード、及び第2高電位側スイッチング素子及び第2低電位側スイッチング素子の間の第2接続ノードに電動モータが接続される。   In the motor drive circuit in the motor control device of Patent Document 1, a first high potential side switching element and a first low potential side switching element are connected in series between a high potential side power source and a low potential side power source. The second high-potential side switching element and the second low-potential side switching element are connected in parallel to the first high-potential side switching element and the first low-potential side switching element and in series between the high-potential side power supply and the low-potential side power supply. A low potential side switching element is connected. Then, the first connection node between the first high potential side switching element and the first low potential side switching element and the second connection node between the second high potential side switching element and the second low potential side switching element are electrically driven. A motor is connected.

特許文献1のモータ制御装置における制御部は、例えば、第1高電位側スイッチング素子をオン、第1低電位側スイッチング素子をオフにし続けつつ、第2高電位側スイッチング素子及び第2低電位側スイッチング素子を相補的にオンオフ制御することで、電動モータに交流電流を供給する。   For example, the control unit in the motor control device of Patent Document 1 keeps turning on the first high potential side switching element and turning off the first low potential side switching element, while maintaining the second high potential side switching element and the second low potential side. An alternating current is supplied to the electric motor by complementary on / off control of the switching element.

特開2016‐208633号公報JP 2016-208633 A

特許文献1のモータ制御装置において、オフにされるべきスイッチング素子がオンに制御されてしまうと、そのスイッチング素子を介した電流の流れが許容されるため、場合によっては、電動モータに対して意図したのとは反対方向の電流が流れてしまう。車両に搭載された移動体を動作させるための電動モータに特許文献1のようなモータ制御装置を適用した場合、上記のような異常が発生すると、ユーザが移動体を一方側に移動させようとしているにも拘らず、移動体が他方側に移動するといった現象が生じ得る。そのため、ユーザに混乱を与える可能性がある。   In the motor control device of Patent Document 1, if a switching element to be turned off is controlled to be turned on, a current flow through the switching element is allowed. The current in the opposite direction will flow. When a motor control device such as Patent Document 1 is applied to an electric motor for operating a moving body mounted on a vehicle, when the above abnormality occurs, the user tries to move the moving body to one side. In spite of this, a phenomenon that the moving body moves to the other side may occur. This can cause confusion for the user.

上記課題を解決するためのモータ制御装置は、所定の範囲内を往復動作するように車両に搭載される移動体を動作させるための電動モータに適用されるモータ制御装置であって、高電位側電源及び低電位側電源の間に直列に接続されている第1高電位側スイッチング素子及び第1低電位側スイッチング素子、高電位側電源及び低電位側電源の間に直列に接続されているとともに前記第1高電位側スイッチング素子及び前記第1低電位側スイッチング素子に対して並列に接続されている第2高電位側スイッチング素子及び第2低電位側スイッチング素子を有し、前記第1高電位側スイッチング素子及び前記第1低電位側スイッチング素子の間の第1接続ノード、及び前記第2高電位側スイッチング素子及び前記第2低電位側スイッチング素子の間の第2接続ノードに前記電動モータが接続されるモータ駆動回路と、前記モータ駆動回路の前記第1高電位側スイッチング素子及び前記第1低電位側スイッチング素子を相補的にオンオフ制御し、前記第2高電位側スイッチング素子及び前記第2低電位側スイッチング素子を相補的にオンオフ制御する制御部と、前記制御部のスイッチング制御により前記電動モータが回転するのとは異なる方向に、前記電動モータが回転しようとしているときに異常判定を行う検知部とを備え、前記制御部は、前記異常判定がされた場合、前記第1高電位側スイッチング素子、前記電動モータ及び前記第2高電位側スイッチング素子を通る閉ループ、又は、前記第1低電位側スイッチング素子、前記電動モータ及び前記第2低電位側スイッチング素子を通る閉ループが形成されて保持されるように前記各スイッチング素子を制御する。   A motor control device for solving the above-described problem is a motor control device applied to an electric motor for operating a moving body mounted on a vehicle so as to reciprocate within a predetermined range, The first high-potential side switching element and the first low-potential side switching element connected in series between the power source and the low-potential side power source, and connected in series between the high-potential side power source and the low-potential side power source A second high potential side switching element and a second low potential side switching element connected in parallel to the first high potential side switching element and the first low potential side switching element; A first connection node between the side switching element and the first low potential side switching element, and the second high potential side switching element and the second low potential side switching element. A motor drive circuit to which the electric motor is connected to the second connection node of the second drive node, and the first high-potential side switching element and the first low-potential side switching element of the motor drive circuit are complementarily turned on and off, and the first (2) A control unit that complementarily controls on / off of the high potential side switching element and the second low potential side switching element, and the electric motor in a different direction from the rotation of the electric motor by the switching control of the control unit. A detection unit that performs abnormality determination when the rotation is about to be performed, and the control unit, when the abnormality determination is made, the first high potential side switching element, the electric motor, and the second high potential side switching element Or a closed loop passing through the first low potential side switching element, the electric motor and the second low potential side switching element. Controlling said switching elements as a closed loop is retained is formed.

上記構成においては、オフ状態に制御されているはずのスイッチング素子が何らかの原因によりオン状態になって、電動モータに対して制御部のスイッチング制御によって意図される方向とは逆方向の電流が流れることが起こり得る。上記構成では、このような異常が判定されたときには、電動モータといずれかのスイッチング素子で閉ループが形成されて保持されるため、電動モータにショートブレーキ(短絡制動)が作用して電動モータの出力軸の回転動作が制限される。したがって、移動体が意図したのとは反対方向に動作することは抑制され、移動体の移動が速やかに停止する。そして、移動体の移動が停止すれば、ユーザは装置に何らかの異常が発生していることを把握できるので、ユーザに無用な混乱を与えることはない。   In the above configuration, the switching element that should be controlled to the off state is turned on for some reason, and a current in a direction opposite to the direction intended by the switching control of the control unit flows to the electric motor. Can happen. In the above configuration, when such an abnormality is determined, since the closed loop is formed and held by the electric motor and any of the switching elements, a short brake (short-circuit braking) is applied to the electric motor to output the electric motor. The rotational movement of the shaft is limited. Therefore, it is suppressed that the moving body operates in the direction opposite to that intended, and the movement of the moving body stops immediately. If the movement of the moving body stops, the user can grasp that some abnormality has occurred in the apparatus, so that the user is not confused unnecessarily.

上記のモータ制御装置において、前記検知部は、前記第1接続ノードの電位と前記第2接続ノードの電位との比較に基づいて前記異常判定を行ってもよい。
上記構成では、電動モータの出力軸が実際に反対方向に回転する前であっても、電動モータに意図した方向とは逆方向の電流が流れたときに異常判定できる。したがって、電動モータの異常を早期に判定できる。
In the motor control apparatus, the detection unit may perform the abnormality determination based on a comparison between a potential of the first connection node and a potential of the second connection node.
In the above configuration, even before the output shaft of the electric motor is actually rotated in the opposite direction, an abnormality can be determined when a current in the direction opposite to the direction intended for the electric motor flows. Therefore, the abnormality of the electric motor can be determined early.

上記のモータ制御装置において、前記検知部は、前記制御部のスイッチング制御により前記電動モータが回転するのとは異なる方向に、前記電動モータが回転しようとしており、かつ前記第1接続ノードの電位と前記第2接続ノードの電位との電位差が所定値よりも大きい場合に異常判定を行ってもよい。   In the motor control device, the detection unit is configured to rotate the electric motor in a direction different from the rotation of the electric motor by switching control of the control unit, and to detect the potential of the first connection node. The abnormality determination may be performed when a potential difference from the potential of the second connection node is larger than a predetermined value.

上記構成では、例えば、外部ノイズ等の影響により、第1接続ノードの電位よりも第2接続ノードの電位が僅かに高くなったときに異常判定されることが抑制される。そのため、外部ノイズ等による誤った異常判定を抑制できる。   In the above configuration, for example, an abnormality determination is suppressed when the potential of the second connection node is slightly higher than the potential of the first connection node due to the influence of external noise or the like. Therefore, erroneous abnormality determination due to external noise or the like can be suppressed.

上記のモータ制御装置において、前記検知部は、前記電動モータに内蔵されている複数の回転センサからのパルス波の位相差に基づいて前記異常判定を行ってもよい。
上記構成では、移動体を動作させるための電動モータが一般的に備えている回転センサから出力されるパルス波を利用して、異常判定を行える。したがって、異常判定を行うにあたって新たに別の部品を追加採用する必要がない。
In the motor control device described above, the detection unit may perform the abnormality determination based on a phase difference of pulse waves from a plurality of rotation sensors built in the electric motor.
In the above configuration, abnormality determination can be performed using a pulse wave output from a rotation sensor that is generally provided in an electric motor for operating the moving body. Therefore, it is not necessary to newly adopt another part when performing abnormality determination.

上記のモータ制御装置において、前記検知部は、前記制御部のスイッチング制御により前記電動モータが回転するのとは異なる方向に前記電動モータが回転しようとする状態が所定時間よりも長く継続されたことを条件の一つとして、前記異常判定を行ってもよい。   In the motor control device described above, the state in which the electric motor is about to rotate in a direction different from the direction in which the electric motor rotates due to the switching control of the control unit is longer than a predetermined time. One of the conditions may be used to perform the abnormality determination.

上記構成では、例えば、瞬間的に発生した外部ノイズ等の影響により、不必要に異常判定がなされることを抑制できる。   In the above configuration, for example, it is possible to suppress unnecessary abnormality determination due to the influence of external noise or the like that occurs instantaneously.

本発明によれば、移動体が意図したのとは反対方向に動作することは抑制され、移動体の移動が速やかに停止する。そして、移動体の移動が停止すれば、ユーザは装置に何らかの異常が発生していることを把握できるので、ユーザに無用な混乱を与えることはない。   According to the present invention, the movement of the moving body is suppressed from moving in the direction opposite to that intended, and the movement of the moving body is quickly stopped. If the movement of the moving body stops, the user can grasp that some abnormality has occurred in the apparatus, so that the user is not confused unnecessarily.

第1実施形態にかかるサンルーフ装置及びモータ制御装置の概略図。1 is a schematic view of a sunroof device and a motor control device according to a first embodiment. 同実施形態にかかるモータ駆動回路及びECUの概略図。Schematic of the motor drive circuit and ECU concerning the embodiment. (a)及び(b)は、同実施形態にかかるモータ駆動回路の動作説明図。(A) And (b) is operation | movement explanatory drawing of the motor drive circuit concerning the embodiment. (a)及び(b)は、同実施形態にかかるモータ駆動回路の動作説明図。(A) And (b) is operation | movement explanatory drawing of the motor drive circuit concerning the embodiment. 同実施形態にかかる検知部が実行する正常判定及び異常判定のフローチャート。The flowchart of the normal determination and abnormality determination which the detection part concerning the embodiment performs. (a)及び(b)は、第2実施形態にかかるモータ駆動回路の動作説明図。(A) And (b) is operation | movement explanatory drawing of the motor drive circuit concerning 2nd Embodiment. (a)及び(b)は、同実施形態にかかるモータ駆動回路の動作説明図。(A) And (b) is operation | movement explanatory drawing of the motor drive circuit concerning the embodiment.

(第1実施形態)
以下、モータ制御装置100を、サンルーフ装置10に適用した第1実施形態について図1〜図5にしたがって説明する。先ず、サンルーフ装置10の概略構成を説明する。
(First embodiment)
Hereinafter, a first embodiment in which the motor control device 100 is applied to the sunroof device 10 will be described with reference to FIGS. First, a schematic configuration of the sunroof device 10 will be described.

図1に示すように、車両の上部には、全体として長方形板状のルーフパネル91が備えられている。ルーフパネル91の長辺方向は、車両の前後方向に沿って延びている。ルーフパネル91には、略四角形状の開口91aが上下方向に貫通している。   As shown in FIG. 1, a roof panel 91 having a rectangular plate shape as a whole is provided at the top of the vehicle. The long side direction of the roof panel 91 extends along the longitudinal direction of the vehicle. In the roof panel 91, a substantially rectangular opening 91a penetrates in the vertical direction.

ルーフパネル91には、開口91aを開状態又は閉状態とするサンルーフ装置10が取り付けられている。サンルーフ装置10は、開口91aを覆う略四角板状のサンルーフ本体11を備えている。サンルーフ本体11は、全体として車両の前後方向(ルーフパネル91の長辺方向)に沿うように所定範囲内を往復動作する。サンルーフ本体11が往復動作することにより、ルーフパネル91の開口91aが開状態又は閉状態となる。本実施形態では、サンルーフ本体11が車両に搭載された移動体である。   A sunroof device 10 that opens or closes the opening 91a is attached to the roof panel 91. The sunroof device 10 includes a substantially square plate-like sunroof body 11 that covers the opening 91a. The sunroof main body 11 reciprocates within a predetermined range so as to follow the longitudinal direction of the vehicle (long side direction of the roof panel 91) as a whole. As the sunroof main body 11 reciprocates, the opening 91a of the roof panel 91 is in an open state or a closed state. In the present embodiment, the sunroof main body 11 is a moving body mounted on a vehicle.

また、サンルーフ装置10は、サンルーフ本体11を往復動作させるための電動モータ20を備えている。電動モータ20の出力軸は、サンルーフ本体11と図示しない駆動力伝達機構によって連結されており、電動モータ20の出力軸の回転方向に応じて、サンルーフ本体11が往復動作する。具体的には、電動モータ20の出力軸が一方側に回転した場合には、サンルーフ本体11が開側へと移動し、電動モータ20の出力軸が他方側に回転した場合には、サンルーフ本体11が閉側へと移動する。サンルーフ装置10の電動モータ20には、モータ制御装置100が電気的に接続されている。   The sunroof device 10 includes an electric motor 20 for reciprocating the sunroof body 11. The output shaft of the electric motor 20 is connected to the sunroof main body 11 by a driving force transmission mechanism (not shown), and the sunroof main body 11 reciprocates according to the rotation direction of the output shaft of the electric motor 20. Specifically, when the output shaft of the electric motor 20 rotates to one side, the sunroof body 11 moves to the open side, and when the output shaft of the electric motor 20 rotates to the other side, the sunroof body 11 moves to the closing side. A motor control device 100 is electrically connected to the electric motor 20 of the sunroof device 10.

次に、モータ制御装置100の構成を説明する。図1に示すように、モータ制御装置100は、電動モータ20に電気的に接続されたモータ駆動回路50を備えている。図2に示すように、モータ駆動回路50は高電位側電源31及び低電位側電源32に接続されており、電動モータ20にはモータ駆動回路50を介して電力が供給される。モータ駆動回路50は、高電位側電源31及び低電位側電源32の間に接続された第1回路部60を備えている。また、モータ駆動回路50は、高電位側電源31及び低電位側電源32の間に接続された第2回路部70備えている。第2回路部70は、第1回路部60に対して並列に接続されている。なお、この実施形態では、低電位側電源32は、接地電位(グランド)である。   Next, the configuration of the motor control device 100 will be described. As shown in FIG. 1, the motor control device 100 includes a motor drive circuit 50 that is electrically connected to the electric motor 20. As shown in FIG. 2, the motor drive circuit 50 is connected to a high potential side power supply 31 and a low potential side power supply 32, and electric power is supplied to the electric motor 20 via the motor drive circuit 50. The motor drive circuit 50 includes a first circuit unit 60 connected between the high potential side power supply 31 and the low potential side power supply 32. The motor drive circuit 50 includes a second circuit unit 70 connected between the high potential side power supply 31 and the low potential side power supply 32. The second circuit unit 70 is connected in parallel to the first circuit unit 60. In this embodiment, the low-potential side power supply 32 is a ground potential (ground).

図2に示すように、第1回路部60は、直列に接続された第1高電位側スイッチング素子61及び第1低電位側スイッチング素子62の一対のスイッチング素子を備えている。第1高電位側スイッチング素子61の一端は、高電位側電源31に接続されている。第1高電位側スイッチング素子61の他端は、第1低電位側スイッチング素子62の一端に接続されている。第1低電位側スイッチング素子62の他端は、低電位側電源32に接続されている。第1高電位側スイッチング素子61に対して並列に還流ダイオードDが接続されている。また、第1低電位側スイッチング素子62に対して並列に還流ダイオードDが接続されている。各還流ダイオードDのカソードは高電位側電源31側に接続され、各還流ダイオードDのアノードは低電位側電源32側に接続されている。第1高電位側スイッチング素子61及び第1低電位側スイッチング素子62は、いずれもHiレベルの信号が入力されることによりオン状態になり、Loレベルの信号が入力されることによりオフ状態になる。   As shown in FIG. 2, the first circuit unit 60 includes a pair of switching elements of a first high potential side switching element 61 and a first low potential side switching element 62 connected in series. One end of the first high potential side switching element 61 is connected to the high potential side power supply 31. The other end of the first high potential side switching element 61 is connected to one end of the first low potential side switching element 62. The other end of the first low potential side switching element 62 is connected to the low potential side power supply 32. A free-wheeling diode D is connected in parallel to the first high potential side switching element 61. In addition, a free wheeling diode D is connected in parallel to the first low potential side switching element 62. The cathode of each freewheeling diode D is connected to the high potential side power supply 31 side, and the anode of each freewheeling diode D is connected to the low potential side power supply 32 side. The first high potential side switching element 61 and the first low potential side switching element 62 are both turned on when a Hi level signal is inputted, and are turned off when a Lo level signal is inputted. .

第2回路部70は、直列に接続された第2高電位側スイッチング素子71及び第2低電位側スイッチング素子72の一対のスイッチング素子を備えている。第2高電位側スイッチング素子71の一端は、高電位側電源31に接続されている。第2高電位側スイッチング素子71の他端は、第2低電位側スイッチング素子72の一端に接続されている。第2低電位側スイッチング素子72の他端は、低電位側電源32に接続されている。第2高電位側スイッチング素子71に対して並列に還流ダイオードDが接続されている。また、第2低電位側スイッチング素子72に対して並列に還流ダイオードDが接続されている。各還流ダイオードDのカソードは高電位側電源31側に接続され、各還流ダイオードDのアノードは低電位側電源32側に接続されている。第2高電位側スイッチング素子71及び第2低電位側スイッチング素子72は、いずれもHiレベルの信号が入力されることによりオン状態になり、Loレベルの信号が入力されることによりオフ状態になる。   The second circuit unit 70 includes a pair of switching elements of a second high potential side switching element 71 and a second low potential side switching element 72 connected in series. One end of the second high potential side switching element 71 is connected to the high potential side power supply 31. The other end of the second high potential side switching element 71 is connected to one end of the second low potential side switching element 72. The other end of the second low potential side switching element 72 is connected to the low potential side power supply 32. A reflux diode D is connected in parallel to the second high potential side switching element 71. In addition, a freewheeling diode D is connected in parallel to the second low potential side switching element 72. The cathode of each freewheeling diode D is connected to the high potential side power supply 31 side, and the anode of each freewheeling diode D is connected to the low potential side power supply 32 side. The second high potential side switching element 71 and the second low potential side switching element 72 are both turned on when a Hi level signal is inputted, and are turned off when a Lo level signal is inputted. .

なお、第1高電位側スイッチング素子61、第1低電位側スイッチング素子62、第2高電位側スイッチング素子71、及び第2低電位側スイッチング素子72として、例えば、FET(Field effect transistor)を採用できる。   As the first high potential side switching element 61, the first low potential side switching element 62, the second high potential side switching element 71, and the second low potential side switching element 72, for example, FET (Field effect transistor) is adopted. it can.

第1回路部60における第1高電位側スイッチング素子61と第1低電位側スイッチング素子62との間の第1接続ノードN1は、電動モータ20の一端に電気的に接続されている。また、第2回路部70における第2高電位側スイッチング素子71と第2低電位側スイッチング素子72との間の第2接続ノードN2は、電動モータ20の他端に電気的に接続されている。すなわち、電動モータ20は、第1接続ノードN1と第2接続ノードN2との間でブリッジ接続されている。   A first connection node N <b> 1 between the first high potential side switching element 61 and the first low potential side switching element 62 in the first circuit unit 60 is electrically connected to one end of the electric motor 20. In addition, the second connection node N <b> 2 between the second high potential side switching element 71 and the second low potential side switching element 72 in the second circuit unit 70 is electrically connected to the other end of the electric motor 20. . That is, the electric motor 20 is bridge-connected between the first connection node N1 and the second connection node N2.

図1に示すように、モータ制御装置100は、モータ駆動回路50に電気的に接続されたECU(Electronic Control Unit)80を備えている。図2に示すように、ECU80は、電動モータ20を駆動制御する制御部81と、電動モータ20の出力軸の回転状態を検知する検知部82とを備えている。制御部81は、車両の室内に設置された開操作スイッチ41及び閉操作スイッチ42と電気的に接続されている。制御部81には、運転者等に開操作スイッチ41が操作されることで開信号S3が入力される。また、制御部81には、運転者等に閉操作スイッチ42が操作されることで閉信号S4が入力される。   As shown in FIG. 1, the motor control device 100 includes an ECU (Electronic Control Unit) 80 that is electrically connected to the motor drive circuit 50. As shown in FIG. 2, the ECU 80 includes a control unit 81 that drives and controls the electric motor 20 and a detection unit 82 that detects the rotation state of the output shaft of the electric motor 20. The controller 81 is electrically connected to the opening operation switch 41 and the closing operation switch 42 installed in the vehicle interior. An open signal S3 is input to the controller 81 when the driver or the like operates the opening operation switch 41. Further, the control unit 81 receives a close signal S4 when the driver or the like operates the close operation switch 42.

図2に示すように、制御部81は、モータ駆動回路50における第1回路部60に電気的に接続されている。制御部81は、開信号S3が入力されると第1回路部60に対してHiレベルの第1信号S1を出力し、閉信号S4が入力されると第1回路部60に対してHiレベル及びLoレベルが交互に入れ替わる第1信号S1を出力する。第1高電位側スイッチング素子61には制御部81から出力されたままの第1信号S1が入力され、第1低電位側スイッチング素子62には制御部81から出力された第1信号S1を反転した信号が入力される。すなわち、第1高電位側スイッチング素子61及び第1低電位側スイッチング素子62には、相補的な信号が入力される。   As shown in FIG. 2, the control unit 81 is electrically connected to the first circuit unit 60 in the motor drive circuit 50. When the open signal S3 is input, the control unit 81 outputs the first signal S1 having a high level to the first circuit unit 60, and when the close signal S4 is input, the control unit 81 outputs the high level to the first circuit unit 60. And the first signal S1 in which the Lo level is alternately switched is output. The first high-potential side switching element 61 receives the first signal S1 output from the control unit 81, and the first low-potential side switching element 62 inverts the first signal S1 output from the control unit 81. Signal is input. That is, complementary signals are input to the first high potential side switching element 61 and the first low potential side switching element 62.

制御部81は、モータ駆動回路50における第2回路部70に電気的に接続されている。制御部81は、開信号S3が入力されると第2回路部70に対してHiレベル及びLoレベルが交互に入れ替わる第2信号S2を出力し、閉信号S4が入力されると第2回路部70に対してHiレベルの第2信号S2を出力する。第2高電位側スイッチング素子71には制御部81から出力されたままの第2信号S2が入力され、第2低電位側スイッチング素子72には制御部81から出力された第2信号S2を反転した信号が入力される。すなわち、第2高電位側スイッチング素子71及び第2低電位側スイッチング素子72には、相補的な信号が入力される。また、制御部81は、検知部82と電気的に接続されており、モータ駆動回路50の制御状況に応じた信号を検知部82に出力する。   The control unit 81 is electrically connected to the second circuit unit 70 in the motor drive circuit 50. When the open signal S3 is input, the control unit 81 outputs the second signal S2 in which the Hi level and the Lo level are alternately switched to the second circuit unit 70, and when the close signal S4 is input, the second circuit unit. The second signal S <b> 2 at the Hi level is output to 70. The second signal S2 output from the control unit 81 is input to the second high potential side switching element 71, and the second signal S2 output from the control unit 81 is inverted to the second low potential side switching element 72. Signal is input. That is, complementary signals are input to the second high potential side switching element 71 and the second low potential side switching element 72. The control unit 81 is electrically connected to the detection unit 82 and outputs a signal corresponding to the control status of the motor drive circuit 50 to the detection unit 82.

図2に示すように、検知部82は、第1回路部60の第1接続ノードN1及び第2回路部70の第2接続ノードN2と電気的に接続されている。検知部82は、第1回路部60の第1接続ノードN1の電位V1と第2回路部70の第2接続ノードN2の電位V2との電位差を検知し、検知した電位差に基づいて電動モータ20の出力軸の回転状態を検出する。また、検知部82は、電動モータ20の出力軸の回転状態を示す信号を制御部81に出力する。   As shown in FIG. 2, the detection unit 82 is electrically connected to the first connection node N <b> 1 of the first circuit unit 60 and the second connection node N <b> 2 of the second circuit unit 70. The detection unit 82 detects a potential difference between the potential V1 of the first connection node N1 of the first circuit unit 60 and the potential V2 of the second connection node N2 of the second circuit unit 70, and the electric motor 20 based on the detected potential difference. The rotation state of the output shaft is detected. Further, the detection unit 82 outputs a signal indicating the rotation state of the output shaft of the electric motor 20 to the control unit 81.

検知部82は、電動モータ20に内蔵された第1回転センサ21及び第2回転センサ22と電気的に接続されている。第1回転センサ21及び第2回転センサ22は電動モータ20のロータの周方向に並設されたものであり、当該電動モータ20の出力軸の回転に伴って位相が異なるパルス信号を検知部82に出力する。検知部82は、入力された2つのパルス信号の周波数や位相差等から電動モータ20の出力軸の回転速度や回転方向等を検出する。そして、検知部82は、電動モータ20の出力軸の回転速度や回転方向等に基づいて、サンルーフ本体11の現在位置を検出する。   The detection unit 82 is electrically connected to the first rotation sensor 21 and the second rotation sensor 22 built in the electric motor 20. The first rotation sensor 21 and the second rotation sensor 22 are arranged side by side in the circumferential direction of the rotor of the electric motor 20, and detect a pulse signal whose phase varies with the rotation of the output shaft of the electric motor 20. Output to. The detection unit 82 detects the rotation speed, rotation direction, and the like of the output shaft of the electric motor 20 from the frequency and phase difference of the two input pulse signals. And the detection part 82 detects the present position of the sunroof main body 11 based on the rotational speed, rotation direction, etc. of the output shaft of the electric motor 20.

次に、図2及び図3を参照して、ECU80の制御部81が実行するモータ駆動回路50の同期整流制御について説明する。
開操作スイッチ41が操作されると、制御部81から第1回路部60にHiレベルの第1信号S1が出力され、第2回路部70にHiレベル及びLoレベルが交互に入れ替わる第2信号S2が出力される。図3(a)及び(b)に示すように、第1回路部60にHiレベルの第1信号S1が入力されると、第1高電位側スイッチング素子61がオン状態となり、第1低電位側スイッチング素子62がオフ状態となる。
Next, the synchronous rectification control of the motor drive circuit 50 executed by the control unit 81 of the ECU 80 will be described with reference to FIGS. 2 and 3.
When the opening operation switch 41 is operated, the control unit 81 outputs the first signal S1 having the Hi level to the first circuit unit 60, and the second signal S2 in which the Hi level and the Lo level are alternately switched to the second circuit unit 70. Is output. As shown in FIGS. 3A and 3B, when the Hi-level first signal S <b> 1 is input to the first circuit unit 60, the first high-potential side switching element 61 is turned on, and the first low potential is set. The side switching element 62 is turned off.

一方、第2回路部70には、Hiレベル及びLoレベルが交互に入れ替わる第2信号S2が入力される。第2回路部70にLoレベルの第2信号S2が入力されると、図3(a)に示すように、第2高電位側スイッチング素子71がオフ状態となり、第2低電位側スイッチング素子72がオン状態となる。第2回路部70にHiレベルの第2信号S2が入力されると、図3(b)に示すように、第2高電位側スイッチング素子71がオン状態となり、第2低電位側スイッチング素子72がオフ状態になる。これらの状態が繰り返されることにより、第1接続ノードN1側から第2接続ノードN2側へと電動モータ20に交流電流が流れる。そして、電動モータ20の出力軸が回転してサンルーフ本体11が開側に移動する。   On the other hand, the second signal S <b> 2 in which the Hi level and the Lo level are alternately switched is input to the second circuit unit 70. When the Lo-level second signal S2 is input to the second circuit unit 70, the second high potential side switching element 71 is turned off as shown in FIG. 3A, and the second low potential side switching element 72 is turned off. Is turned on. When the Hi-level second signal S2 is input to the second circuit unit 70, as shown in FIG. 3B, the second high potential side switching element 71 is turned on, and the second low potential side switching element 72 is turned on. Turns off. By repeating these states, an alternating current flows through the electric motor 20 from the first connection node N1 side to the second connection node N2 side. Then, the output shaft of the electric motor 20 rotates and the sunroof body 11 moves to the open side.

また、閉操作スイッチ42が操作されると、制御部81から第2回路部70にHiレベルの第2信号S2が出力され、第1回路部60にHiレベル及びLoレベルが交互に入れ替わる第1信号S1が出力される。第2回路部70にHiレベルの第2信号S2が入力されると、第2高電位側スイッチング素子71がオン状態となり、第2低電位側スイッチング素子72がオフ状態となる。   Further, when the closing operation switch 42 is operated, the control unit 81 outputs the second signal S <b> 2 at the Hi level to the second circuit unit 70, and the first level at which the Hi level and the Lo level are alternately switched to the first circuit unit 60. Signal S1 is output. When the Hi-level second signal S2 is input to the second circuit unit 70, the second high potential side switching element 71 is turned on, and the second low potential side switching element 72 is turned off.

一方、第1回路部60には、Hiレベル及びLoレベルが交互に入れ替わる第1信号S1が入力される。第1回路部60にLoレベルの第1信号S1が入力されると、第1高電位側スイッチング素子61がオフ状態となり、第1低電位側スイッチング素子62がオン状態となる。第1回路部60にHiレベルの第1信号S1が入力されると、第1高電位側スイッチング素子61がオン状態となり、第1低電位側スイッチング素子62がオフ状態となる。これらの状態が繰り返されることにより、第2接続ノードN2側から第1接続ノードN1側へと電動モータ20に交流電流が流れる。そして、電動モータ20の出力軸が回転してサンルーフ本体11が閉側に移動する。   On the other hand, the first signal S1 in which the Hi level and the Lo level are alternately switched is input to the first circuit unit 60. When the Lo-level first signal S1 is input to the first circuit unit 60, the first high potential side switching element 61 is turned off and the first low potential side switching element 62 is turned on. When the Hi-level first signal S1 is input to the first circuit unit 60, the first high-potential side switching element 61 is turned on and the first low-potential side switching element 62 is turned off. By repeating these states, an alternating current flows through the electric motor 20 from the second connection node N2 side to the first connection node N1 side. Then, the output shaft of the electric motor 20 rotates and the sunroof main body 11 moves to the closing side.

ところで、制御部81からモータ駆動回路50に入力される信号等に異常があると、制御部81のスイッチング制御により電動モータ20が回転するのとは異なる方向に電動モータ20が回転しようとすることがある。例えば、開操作スイッチ41が操作されたときに、本来であれば第1回路部60にHiレベルの第1信号S1が入力されるところ、第1回路部60にLoレベルの第1信号S1が入力されることがある。この場合、図4(a)に示すように、第1回路部60にLoレベルの第1信号S1が入力されると、第1高電位側スイッチング素子61がオフ状態となり、第1低電位側スイッチング素子62がオン状態となる。また、第2回路部70には、HiレベルとLoレベルとが交互に繰り返される第2信号S2が入力されるため、第2高電位側スイッチング素子71及び第2低電位側スイッチング素子72が相補的にオン状態及びオフ状態を繰り返す。そのため、本来であれば、図3(a)に示すように、第1接続ノードN1側から第2接続ノードN2側へと電動モータ20に交流電流が流れるはずが、図4(a)に示すように、第2接続ノードN2側から第1接続ノードN1側へと電動モータ20に交流電流が流れることになる。したがって、開操作スイッチ41が操作されているにも拘らず、電動モータ20が本来とは逆に回転して、サンルーフ本体11が閉側に移動してしまう。   By the way, when there is an abnormality in a signal or the like input from the control unit 81 to the motor drive circuit 50, the electric motor 20 tries to rotate in a direction different from the direction in which the electric motor 20 rotates due to the switching control of the control unit 81. There is. For example, when the opening operation switch 41 is operated, the first signal S1 at the Hi level is originally input to the first circuit unit 60, but the first signal S1 at the Lo level is input to the first circuit unit 60. May be entered. In this case, as shown in FIG. 4A, when the Lo-level first signal S1 is input to the first circuit unit 60, the first high-potential side switching element 61 is turned off, and the first low-potential side The switching element 62 is turned on. In addition, since the second signal S2 in which the Hi level and the Lo level are alternately repeated is input to the second circuit unit 70, the second high potential side switching element 71 and the second low potential side switching element 72 are complementary. The on state and the off state are repeated. Therefore, originally, as shown in FIG. 3A, an alternating current should flow through the electric motor 20 from the first connection node N1 side to the second connection node N2 side. Thus, an alternating current flows through the electric motor 20 from the second connection node N2 side to the first connection node N1 side. Therefore, although the opening operation switch 41 is operated, the electric motor 20 rotates in the opposite direction to the original, and the sunroof main body 11 moves to the closing side.

このような場合、検知部82は、制御部81のスイッチング制御により電動モータ20が回転するのとは異なる方向に、電動モータ20が回転しようとしているとして異常判定を行う。そして、制御部81は、異常判定がされた場合に閉ループを形成し、保持するように各スイッチング素子を制御するモータ停止制御を行う。   In such a case, the detection unit 82 determines that the electric motor 20 is about to rotate in a direction different from the direction in which the electric motor 20 rotates due to the switching control of the control unit 81. And the control part 81 performs motor stop control which controls each switching element so that a closed loop may be formed and hold | maintained when abnormality determination is made.

次に、図5を参照して、ECU80の検知部82が実行する正常判定及び異常判定の一連の処理について具体的に説明する。検知部82は、サンルーフ装置10を含む車両に搭載されている各種の補機に電力が供給されている間(アクセサリーオンの間)において、一連の電動モータ20の正常判定及び異常判定を繰り返し実行する。   Next, with reference to FIG. 5, a series of normal determination and abnormality determination processes executed by the detection unit 82 of the ECU 80 will be specifically described. The detection unit 82 repeatedly performs normality determination and abnormality determination of the series of electric motors 20 while power is supplied to various auxiliary machines mounted on the vehicle including the sunroof device 10 (while accessories are on). To do.

図5に示すように、ステップS11において、検知部82は、制御部81に対して、開操作スイッチ41の操作による開信号S3が入力されているか否かを判定する。ステップS11において、開信号S3が入力されていない場合(S11:NO)には、一連の処理を終了する。一方、ステップS11において、開信号S3が入力されている場合(S11:YES)には、検知部82の処理はステップS12に進む。   As shown in FIG. 5, in step S <b> 11, the detection unit 82 determines whether or not an open signal S <b> 3 due to the operation of the opening operation switch 41 is input to the control unit 81. In step S11, when the open signal S3 is not input (S11: NO), the series of processes is terminated. On the other hand, when the open signal S3 is input in step S11 (S11: YES), the process of the detection unit 82 proceeds to step S12.

ステップS12において、検知部82は、第1接続ノードN1の電位V1と第2接続ノードN2の電位V2とを比較して電動モータ20の状態を判定する。具体的には、電位V2が電位V1よりも高い電位であって電位V2と電位V1との電位差が所定値X(例えば、1V〜16V)よりも大きいか否かを判定する。ステップS12において、電位V2−電位V1>所定値Xである場合(S12:YES)には、検知部82の処理はステップS13に進む。   In step S12, the detection unit 82 compares the potential V1 of the first connection node N1 with the potential V2 of the second connection node N2, and determines the state of the electric motor 20. Specifically, it is determined whether or not the potential V2 is higher than the potential V1 and the potential difference between the potential V2 and the potential V1 is larger than a predetermined value X (for example, 1V to 16V). In step S12, when potential V2−potential V1> predetermined value X (S12: YES), the process of the detection unit 82 proceeds to step S13.

ステップS13において、検知部82は、計時時間Yの計時を開始する。なお、計時時間Yは、電位V2−電位V1>所定値Xが満たされているときにはカウントアップされ、電位V2−電位V1>所定値Xが満たされなくなったときにクリアされる(ゼロにされる)。次に、検知部82の処理はステップS14に進む。   In step S <b> 13, the detector 82 starts measuring the time Y. The time count Y is counted up when the potential V2-potential V1> predetermined value X is satisfied, and cleared when the potential V2-potential V1> predetermined value X is not satisfied (set to zero). ). Next, the process of the detection unit 82 proceeds to step S14.

ステップS14において、検知部82は、計時時間Yが所定時間Y1(例えば、5msec〜300msec)よりも長くなっているか否かを判定する。ステップS14において、計時時間Yが所定時間Y1よりも長くなっている場合(S14:YES)には、検知部82の処理はステップS15に進む。   In step S14, the detection unit 82 determines whether or not the time count Y is longer than a predetermined time Y1 (for example, 5 msec to 300 msec). In step S14, when the time count Y is longer than the predetermined time Y1 (S14: YES), the process of the detection unit 82 proceeds to step S15.

ステップS15において、検知部82は、電動モータ20の異常判定を行う。次に、検知部82の処理はステップS16に進む。ステップS16において、検知部82は、電動モータ20が異常判定されたことを示す異常信号を制御部81に出力し、一連の処理を終了する。   In step S <b> 15, the detection unit 82 determines abnormality of the electric motor 20. Next, the process of the detection unit 82 proceeds to step S16. In step S <b> 16, the detection unit 82 outputs an abnormality signal indicating that the electric motor 20 has been determined to be abnormal to the control unit 81 and ends the series of processes.

一方、ステップS12において、電位V2−電位V1>所定値Xでない場合(S12:NO)には、検知部82の処理はステップS21に進む。また、計時時間Yが所定時間Y1よりも長くない場合(S14:NO)には、検知部82の処理はステップS21に進む。   On the other hand, if the potential V2−the potential V1> the predetermined value X is not satisfied in step S12 (S12: NO), the processing of the detection unit 82 proceeds to step S21. If the time count Y is not longer than the predetermined time Y1 (S14: NO), the process of the detection unit 82 proceeds to step S21.

ステップS21において、検知部82は、制御部81のスイッチング制御により電動モータ20が回転するのと同じ方向に電動モータ20が回転しようとしているとして、電動モータ20の正常判定を行う。そして、検知部82は、電動モータ20の正常判定されたことを示す正常信号を制御部81に出力する。次に、検知部82の処理はステップS22に進む。   In step S <b> 21, the detection unit 82 determines that the electric motor 20 is normal, assuming that the electric motor 20 is about to rotate in the same direction as the electric motor 20 rotates due to the switching control of the control unit 81. Then, the detection unit 82 outputs a normal signal indicating that the electric motor 20 has been determined to be normal to the control unit 81. Next, the process of the detection unit 82 proceeds to step S22.

ステップS22において、検知部82は、サンルーフ本体11の現在位置が目標位置であるか否かを判定する。なお、サンルーフ本体11の目標位置としては、例えば、サンルーフ本体11が往復動作する所定範囲のうちの開側端部である。ステップS22において、サンルーフ本体11の現在位置が目標位置である場合(S22:YES)には、一連の処理を終了する。一方、ステップS22において、サンルーフ本体11の現在位置が目標位置でない場合(S22:NO)には、検知部82の処理はステップS12に戻る。   In step S22, the detection unit 82 determines whether or not the current position of the sunroof body 11 is a target position. In addition, as a target position of the sunroof main body 11, it is an open side edge part in the predetermined range in which the sunroof main body 11 reciprocates. In step S22, when the current position of the sunroof main body 11 is the target position (S22: YES), a series of processing ends. On the other hand, when the current position of the sunroof body 11 is not the target position in step S22 (S22: NO), the process of the detection unit 82 returns to step S12.

次に、ECU80の制御部81が実行するモータ停止制御について説明する。
制御部81は、検知部82から異常信号が入力された場合、すなわち、電動モータ20の異常判定がされた場合にはモータ停止制御を行う。具体的には、制御部81は、第2回路部70にLoレベルの第2信号S2を出力し続けて、モータ停止制御を行う。図4(b)に示すように、第2回路部70にLoレベルの第2信号S2が入力されると、第2高電位側スイッチング素子71がオフ状態となり、第2低電位側スイッチング素子72がオン状態となる。一方、異常判定がされているときには、第1回路部60における第1高電位側スイッチング素子61はオフ状態であり、第1低電位側スイッチング素子62はオン状態である。これにより、第1低電位側スイッチング素子62、第2低電位側スイッチング素子72、電動モータ20、再び第1低電位側スイッチング素子62を通る閉ループが形成される。そして、制御部81は、第2回路部70にLoレベルの第2信号S2を出力し続けることで、閉ループを保持する。その結果、電動モータ20にショートブレーキ(短絡制動)が作用して電動モータ20の出力軸の回転動作が制限される。なお、制御部81は、検知部82から正常信号が入力された場合、すなわち、電動モータ20の正常判定がされた場合には、続けて電動モータ20の制御を行う。
Next, motor stop control executed by the control unit 81 of the ECU 80 will be described.
The control unit 81 performs motor stop control when an abnormality signal is input from the detection unit 82, that is, when abnormality determination of the electric motor 20 is performed. Specifically, the control unit 81 continues to output the Lo level second signal S2 to the second circuit unit 70, and performs motor stop control. As illustrated in FIG. 4B, when the Lo level second signal S <b> 2 is input to the second circuit unit 70, the second high potential side switching element 71 is turned off, and the second low potential side switching element 72. Is turned on. On the other hand, when the abnormality determination is made, the first high potential side switching element 61 in the first circuit unit 60 is in the off state, and the first low potential side switching element 62 is in the on state. As a result, a closed loop passing through the first low potential side switching element 62, the second low potential side switching element 72, the electric motor 20, and the first low potential side switching element 62 is formed. Then, the control unit 81 maintains the closed loop by continuously outputting the Lo-level second signal S2 to the second circuit unit 70. As a result, a short brake (short-circuit braking) acts on the electric motor 20 to limit the rotation operation of the output shaft of the electric motor 20. Note that the control unit 81 continues to control the electric motor 20 when a normal signal is input from the detection unit 82, that is, when the normal determination of the electric motor 20 is made.

次に、本実施形態の効果を作用とともに説明する。
(1)本実施形態の構成においては、オフ状態に制御されているはずのスイッチング素子が何らかの原因によりオン状態になっていて、電動モータ20に対して制御部81のスイッチング制御によって意図した方向とは逆方向の電流が流れることが起こり得る。本実施形態では、このような異常が判定されたときには、第1低電位側スイッチング素子62、第2低電位側スイッチング素子72、及び電動モータ20を通る閉ループが形成されて保持される。この場合、電動モータ20にショートブレーキ(短絡制動)が作用して、電動モータ20の出力軸の回転動作が制限される。そして、移動体が意図したのとは反対方向に動作することは抑制され、移動体の移動が速やかに停止する。このように移動体の移動が停止すれば、ユーザは装置に何らかの異常が発生していることを把握できるので、ユーザに無用な混乱を与えることはない。
Next, the effect of this embodiment will be described together with the action.
(1) In the configuration of the present embodiment, the switching element that should be controlled to the off state is in the on state for some reason, and the direction intended by the switching control of the control unit 81 with respect to the electric motor 20 It is possible that a reverse current flows. In this embodiment, when such an abnormality is determined, a closed loop passing through the first low potential side switching element 62, the second low potential side switching element 72, and the electric motor 20 is formed and held. In this case, a short brake (short-circuit braking) is applied to the electric motor 20, and the rotation operation of the output shaft of the electric motor 20 is restricted. Then, the movement of the moving body in the opposite direction to that intended is suppressed, and the movement of the moving body stops immediately. If the movement of the moving body stops in this way, the user can grasp that some abnormality has occurred in the apparatus, and thus the user will not be unnecessarily confused.

(2)電動モータ20の回転状態に関する異常判定の方法として、電動モータ20に内蔵されている第1回転センサ21及び第2回転センサ22から出力されるパルス信号に基づいて電動モータ20の出力軸の回転状態を検知して、電動モータ20の正常判定及び異常判定を行うこともできる。しかし、この場合には、電動モータ20の出力軸の回転状態が機械的に変化し、それにより変化したパルス信号から電動モータ20の正常判定及び異常判定を行うため、判定の時間がかかりやすい。   (2) As an abnormality determination method regarding the rotation state of the electric motor 20, the output shaft of the electric motor 20 is based on pulse signals output from the first rotation sensor 21 and the second rotation sensor 22 incorporated in the electric motor 20. It is also possible to determine whether the electric motor 20 is normal or abnormal by detecting the rotation state of the motor. However, in this case, the rotation state of the output shaft of the electric motor 20 changes mechanically, and normality determination and abnormality determination of the electric motor 20 are performed from the pulse signal changed thereby, so that it takes a long time for determination.

これに対して、本実施形態では、第1接続ノードN1の電位V1と第2接続ノードN2の電位V2とを比較して電動モータ20の正常判定及び異常判定を行う。そのため、電動モータ20の出力軸が実際に反対方向に回転する前であっても、電動モータ20に意図した方向とは逆方向の電流が流れたときに異常判定できる。したがって、電動モータ20の異常を早期に判定できる。   On the other hand, in the present embodiment, the electric potential V1 of the first connection node N1 and the electric potential V2 of the second connection node N2 are compared to determine whether the electric motor 20 is normal or abnormal. Therefore, even before the output shaft of the electric motor 20 actually rotates in the opposite direction, an abnormality can be determined when a current in the direction opposite to the intended direction flows through the electric motor 20. Therefore, the abnormality of the electric motor 20 can be determined early.

(3)仮に、第1接続ノードN1の電位V1と第2接続ノードN2の電位V2とを比較することのみで電動モータ20の正常判定及び異常判定を行うと、外部ノイズ等の影響を受けて、不必要に異常判定がされることがある。例えば、第2接続ノードN2の電位V2が第1接続ノードN1の電位V1よりも高くなった電動モータ20の正常時であるにも拘らず、外部ノイズ等の影響により、第1接続ノードN1の電位V1が第2接続ノードN2の電位V2よりも僅かに高くなって異常判定されることも起こり得る。   (3) If the normal determination and the abnormality determination of the electric motor 20 are performed only by comparing the potential V1 of the first connection node N1 and the potential V2 of the second connection node N2, it is affected by external noise or the like. An abnormal determination may be made unnecessarily. For example, although the electric motor 20 is in a normal state where the potential V2 of the second connection node N2 is higher than the potential V1 of the first connection node N1, due to the influence of external noise and the like, It may happen that the potential V1 is slightly higher than the potential V2 of the second connection node N2 and an abnormality is determined.

これに対して、本実施形態では、電位V2が電位V1よりも高い電位であって電位V2と電位V1との電位差が所定値Xよりも大きいことに基づいて異常判定を行う。そのため、外部ノイズ等の影響により、第1接続ノードN1の電位V1よりも第2接続ノードN2の電位V2が僅かに高くなった場合に異常判定されることが抑制される。結果として、外部ノイズ等による誤った異常判定を抑制できる。   On the other hand, in the present embodiment, the abnormality determination is performed based on the fact that the potential V2 is higher than the potential V1 and the potential difference between the potential V2 and the potential V1 is larger than the predetermined value X. Therefore, it is possible to suppress an abnormality determination when the potential V2 of the second connection node N2 is slightly higher than the potential V1 of the first connection node N1 due to the influence of external noise or the like. As a result, erroneous abnormality determination due to external noise or the like can be suppressed.

(4)電位V2が電位V1よりも高い電位であって電位V2と電位V1との電位差が所定値Xよりも大きい状態となったことのみをもって異常判定する場合には、瞬間的に発生した外部ノイズ等によって不必要に異常判定がなされるおそれがある。   (4) When the abnormality is determined only when the potential V2 is higher than the potential V1 and the potential difference between the potential V2 and the potential V1 is larger than the predetermined value X, the externally generated instantaneously There is a risk that the abnormality may be judged unnecessarily due to noise or the like.

これに対して、本実施形態では、電位V2が電位V1よりも高い電位であって電位V2と電位V1との電位差が所定値Xよりも大きい状態が継続し、その計時時間Yが所定時間Y1よりも長くなった場合に異常判定を行う。そのため、例えば、瞬間的に発生した外部ノイズ等の影響により、不必要に異常判定がなされることを抑制できる。   On the other hand, in the present embodiment, the state where the potential V2 is higher than the potential V1 and the potential difference between the potential V2 and the potential V1 continues to be larger than the predetermined value X, and the measured time Y is the predetermined time Y1. If it becomes longer than that, an abnormality is determined. Therefore, for example, it is possible to suppress unnecessary abnormality determination due to the influence of external noise or the like that is generated instantaneously.

(第2実施形態)
続いて、モータ制御装置100の第2実施形態について図6及び図7を参照して説明する。第2実施形態の構成は、第1実施形態と同様の構成であり、ECU80の制御部81が実行するモータ駆動回路50の同期整流制御が異なる。
(Second Embodiment)
Next, a second embodiment of the motor control device 100 will be described with reference to FIGS. The configuration of the second embodiment is the same as that of the first embodiment, and the synchronous rectification control of the motor drive circuit 50 executed by the control unit 81 of the ECU 80 is different.

開操作スイッチ41が操作されると、制御部81から第2回路部70にLoレベルの第2信号S2が出力され、第1回路部60にHiレベル及びLoレベルが交互に入れ替わる第1信号S1が出力される。具体的には、図6(a)及び(b)に示すように、第2回路部70にLoレベルの第2信号S2が入力されると、第2高電位側スイッチング素子71がオフ状態となり、第2低電位側スイッチング素子72がオン状態となる。   When the opening operation switch 41 is operated, the control unit 81 outputs the second signal S2 at the Lo level to the second circuit unit 70, and the first signal S1 at which the Hi level and the Lo level are alternately switched to the first circuit unit 60. Is output. Specifically, as shown in FIGS. 6A and 6B, when the Lo-level second signal S2 is input to the second circuit unit 70, the second high potential side switching element 71 is turned off. The second low potential side switching element 72 is turned on.

一方、第1回路部60には、Hiレベル及びLoレベルが交互に入れ替わる第1信号S1が入力される。第1回路部60にHiレベルの第1信号S1が入力されると、図6(a)に示すように、第1高電位側スイッチング素子61がオン状態となり、第1低電位側スイッチング素子62がオフ状態となる。第1回路部60にLoレベルの第1信号S1が入力されると、図6(b)に示すように、第1高電位側スイッチング素子61がオフ状態となり、第1低電位側スイッチング素子62がオン状態になる。これらの状態が繰り返されることにより、第1接続ノードN1側から第2接続ノードN2側へと電動モータ20に交流電流が流れる。そして、電動モータ20の出力軸が回転してサンルーフ本体11が開側に移動する。   On the other hand, the first signal S1 in which the Hi level and the Lo level are alternately switched is input to the first circuit unit 60. When the Hi-level first signal S1 is input to the first circuit unit 60, as shown in FIG. 6A, the first high potential side switching element 61 is turned on, and the first low potential side switching element 62 is turned on. Is turned off. When the Lo-level first signal S1 is input to the first circuit unit 60, as shown in FIG. 6B, the first high potential side switching element 61 is turned off, and the first low potential side switching element 62 is turned off. Turns on. By repeating these states, an alternating current flows through the electric motor 20 from the first connection node N1 side to the second connection node N2 side. Then, the output shaft of the electric motor 20 rotates and the sunroof body 11 moves to the open side.

また、閉操作スイッチ42が操作されると、制御部81から第1回路部60にLoレベルの第1信号S1が出力され、第2回路部70にHiレベル及びLoレベルが交互に入れ替わる第2信号S2が出力される。第1回路部60にLoレベルの第1信号S1が入力されると、第1高電位側スイッチング素子61がオフ状態となり、第1低電位側スイッチング素子62がオン状態となる。   Further, when the closing operation switch 42 is operated, a Lo level first signal S1 is output from the control unit 81 to the first circuit unit 60, and a Hi level and a Lo level are alternately switched to the second circuit unit 70. Signal S2 is output. When the Lo-level first signal S1 is input to the first circuit unit 60, the first high potential side switching element 61 is turned off and the first low potential side switching element 62 is turned on.

一方、第2回路部70には、Hiレベル及びLoレベルが交互に入れ替わる第2信号S2が入力される。第2回路部70にHiレベルの第2信号S2が入力されると、第2高電位側スイッチング素子71がオン状態となり、第2低電位側スイッチング素子72がオフ状態となる。第2回路部70にLoレベルの第2信号S2が入力されると、第2高電位側スイッチング素子71がオフ状態となり、第2低電位側スイッチング素子72がオン状態となる。これらの状態が繰り返されることにより、第2接続ノードN2側から第1接続ノードN1側へと電動モータ20に交流電流が流れる。そして、電動モータ20の出力軸が回転してサンルーフ本体11が閉側に移動する。   On the other hand, the second signal S <b> 2 in which the Hi level and the Lo level are alternately switched is input to the second circuit unit 70. When the Hi-level second signal S2 is input to the second circuit unit 70, the second high potential side switching element 71 is turned on, and the second low potential side switching element 72 is turned off. When the Lo-level second signal S2 is input to the second circuit unit 70, the second high potential side switching element 71 is turned off and the second low potential side switching element 72 is turned on. By repeating these states, an alternating current flows through the electric motor 20 from the second connection node N2 side to the first connection node N1 side. Then, the output shaft of the electric motor 20 rotates and the sunroof main body 11 moves to the closing side.

ところで、この第2実施形態においても、例えば、開操作スイッチ41が操作されたときに、本来であれば第2回路部70にLoレベルの第2信号S2が入力されるところ、第2回路部70にHiレベルの第2信号S2が入力されることがある。この場合、図7(a)に示すように、第2回路部70にHiレベルの第2信号S2が入力されると、第2高電位側スイッチング素子71がオン状態となり、第2低電位側スイッチング素子72がオフ状態となる。また、第1回路部60には、HiレベルとLoレベルとが交互に繰り返される第1信号S1が入力されるため、第1高電位側スイッチング素子61及び第1低電位側スイッチング素子62が相補的にオン状態及びオフ状態を繰り返す。そのため、本来であれば、図6(a)に示すように、第1接続ノードN1側から第2接続ノードN2側へと電動モータ20に交流電流が流れるはずが、図7(a)に示すように、第2接続ノードN2側から第1接続ノードN1側へと電動モータ20に交流電流が流れることになる。したがって、開操作スイッチ41が操作されているにも拘らず、電動モータ20が本来とは逆に回転して、サンルーフ本体11が閉側に移動してしまう。   By the way, also in the second embodiment, for example, when the opening operation switch 41 is operated, the Lo-level second signal S2 is originally input to the second circuit unit 70. The second signal S <b> 2 having a high level may be input to 70. In this case, as shown in FIG. 7A, when the second signal S2 at the Hi level is input to the second circuit unit 70, the second high potential side switching element 71 is turned on, and the second low potential side The switching element 72 is turned off. Further, since the first signal S1 in which the Hi level and the Lo level are alternately repeated is input to the first circuit unit 60, the first high potential side switching element 61 and the first low potential side switching element 62 are complementary. The on state and the off state are repeated. Therefore, originally, as shown in FIG. 6A, an alternating current should flow through the electric motor 20 from the first connection node N1 side to the second connection node N2 side. Thus, an alternating current flows through the electric motor 20 from the second connection node N2 side to the first connection node N1 side. Therefore, although the opening operation switch 41 is operated, the electric motor 20 rotates in the opposite direction to the original, and the sunroof main body 11 moves to the closing side.

このような場合、検知部82は、制御部81のスイッチング制御により電動モータ20が回転するのとは異なる方向に、電動モータ20が回転しようとしているとして異常判定を行う。そして、制御部81は、異常判定がされた場合に閉ループを形成し、保持するように各スイッチング素子を制御するモータ停止制御を行う。   In such a case, the detection unit 82 determines that the electric motor 20 is about to rotate in a direction different from the direction in which the electric motor 20 rotates due to the switching control of the control unit 81. And the control part 81 performs motor stop control which controls each switching element so that a closed loop may be formed and hold | maintained when abnormality determination is made.

次に、ECU80の制御部81が実行するモータ停止制御について説明する。
制御部81は、検知部82から異常信号が入力された場合、すなわち、電動モータ20の異常判定がされた場合にはモータ停止制御を行う。具体的には、制御部81は、第1回路部60にHiレベルの第1信号S1を出力し続けて、モータ停止制御を行う。図7(b)に示すように、第1回路部60にHiレベルの第1信号S1が入力されると、第1高電位側スイッチング素子61がオン状態となり、第1低電位側スイッチング素子62がオフ状態となる。一方、異常判定がされているときには、第2回路部70における第2高電位側スイッチング素子71はオン状態であり、第2低電位側スイッチング素子72はオフ状態である。これにより、第2高電位側スイッチング素子71、電動モータ20、第1高電位側スイッチング素子61、再び第2高電位側スイッチング素子71を通る閉ループが形成される。そして、制御部81は、第1回路部60にHiレベルの第1信号S1を出力し続けることで、閉ループを保持する。その結果、電動モータ20にショートブレーキ(短絡制動)が作用して電動モータ20の出力軸の回転動作が制限される。
Next, motor stop control executed by the control unit 81 of the ECU 80 will be described.
The control unit 81 performs motor stop control when an abnormality signal is input from the detection unit 82, that is, when abnormality determination of the electric motor 20 is performed. Specifically, the control unit 81 continues to output the high-level first signal S1 to the first circuit unit 60 and performs motor stop control. As shown in FIG. 7B, when the first signal S1 having the Hi level is input to the first circuit unit 60, the first high potential side switching element 61 is turned on, and the first low potential side switching element 62 is turned on. Is turned off. On the other hand, when the abnormality determination is made, the second high potential side switching element 71 in the second circuit unit 70 is in the on state, and the second low potential side switching element 72 is in the off state. As a result, a closed loop passing through the second high potential side switching element 71, the electric motor 20, the first high potential side switching element 61, and the second high potential side switching element 71 is formed. Then, the control unit 81 maintains the closed loop by continuing to output the high-level first signal S1 to the first circuit unit 60. As a result, a short brake (short-circuit braking) acts on the electric motor 20 to limit the rotation operation of the output shaft of the electric motor 20.

この第2実施形態によれば、第1実施形態と同様に上記(1)〜(4)の効果を得られる。
なお、上記の実施形態は、以下のように変更できる。
According to this 2nd Embodiment, the effect of said (1)-(4) can be acquired similarly to 1st Embodiment.
In addition, said embodiment can be changed as follows.

・上記の第1実施形態では、開操作スイッチ41が操作された場合において正常判定及び異常判定の一連の処理を実行していたが、これに限らない。例えば、閉操作スイッチ42が操作されたときに、本来であれば第2回路部70にHiレベルの第2信号S2が入力されるところ、第2回路部70にLoレベルの第2信号S2が入力されることがある。このように閉操作スイッチ42が操作された場合においても、正常判定及び異常判定の一連の処理を実行してもよい。   In the first embodiment described above, a series of processes for normality determination and abnormality determination are performed when the opening operation switch 41 is operated, but the present invention is not limited to this. For example, when the closing operation switch 42 is operated, if the second signal S2 having the Hi level is input to the second circuit unit 70, the second signal S2 having the Lo level is input to the second circuit unit 70. May be entered. Even when the closing operation switch 42 is operated in this way, a series of processes of normality determination and abnormality determination may be executed.

この正常判定及び異常判定の一連の処理におけるステップS11において、検知部82は、制御部81に対して、閉操作スイッチ42の操作による閉信号S4が入力されているか否かを判定する。また、ステップS12において、検知部82は、電位V1が電位V2よりも高い電位であって電位V1と電位V2との電位差が所定値Xよりも大きいか否かを判定する。そして、ステップS13において、検知部82は、計時時間Yの計時を開始する。なお、計時時間Yは、電位V1−電位V2>所定値Xが満たされているときにはカウントアップされ、電位V1−電位V2>所定値Xが満たされなくなったときにクリアされる(ゼロにされる)。   In step S <b> 11 in the series of normal determination and abnormality determination processing, the detection unit 82 determines whether or not the closing signal S <b> 4 due to the operation of the closing operation switch 42 is input to the control unit 81. In step S12, the detection unit 82 determines whether or not the potential V1 is higher than the potential V2 and the potential difference between the potential V1 and the potential V2 is larger than a predetermined value X. In step S <b> 13, the detection unit 82 starts measuring the time Y. The time count Y is counted up when the potential V1-potential V2> predetermined value X is satisfied, and cleared when the potential V1-potential V2> predetermined value X is not satisfied (set to zero). ).

そして、電動モータ20の異常判定がされた場合、制御部81は、第1回路部60にLoレベルの第1信号S1を出力し続けて、モータ停止制御を行う。具体的には、第1回路部60にLoレベルの第1信号S1が入力されると、第1高電位側スイッチング素子61がオフ状態となり、第1低電位側スイッチング素子62がオン状態となる。一方、異常判定がされているときには、第2回路部70における第2高電位側スイッチング素子71はオフ状態であり、第2低電位側スイッチング素子72はオン状態である。これにより、第2低電位側スイッチング素子72、第1低電位側スイッチング素子62、電動モータ20、再び第2低電位側スイッチング素子72を通る閉ループが形成される。そして、制御部81は、第1回路部60にLoレベルの第1信号S1を出力し続けることで、閉ループを保持する。これにより、電動モータ20にショートブレーキ(短絡制動)が作用して電動モータ20の出力軸の回転動作が制限される。   And when abnormality determination of the electric motor 20 is made, the control part 81 continues outputting the 1st signal S1 of Lo level to the 1st circuit part 60, and performs motor stop control. Specifically, when the Lo-level first signal S1 is input to the first circuit unit 60, the first high potential side switching element 61 is turned off, and the first low potential side switching element 62 is turned on. . On the other hand, when the abnormality determination is made, the second high potential side switching element 71 in the second circuit unit 70 is in the off state, and the second low potential side switching element 72 is in the on state. As a result, a closed loop passing through the second low potential side switching element 72, the first low potential side switching element 62, the electric motor 20, and the second low potential side switching element 72 is formed. Then, the control unit 81 maintains the closed loop by continuously outputting the first signal S <b> 1 at the Lo level to the first circuit unit 60. As a result, a short brake (short-circuit braking) acts on the electric motor 20 to limit the rotation operation of the output shaft of the electric motor 20.

・また、同様に第2実施形態においても、例えば、閉操作スイッチ42が操作されたときに、本来であれば第1回路部60にLoレベルの第1信号S1が入力されるところ、第1回路部60にHiレベルの第1信号S1が入力されることがある。このように閉操作スイッチ42が操作された場合においても、正常判定及び異常判定の一連の処理を実行してもよい。   Similarly, in the second embodiment, for example, when the closing operation switch 42 is operated, the Lo-level first signal S1 is originally input to the first circuit unit 60. The Hi level first signal S <b> 1 may be input to the circuit unit 60. Even when the closing operation switch 42 is operated in this way, a series of processes of normality determination and abnormality determination may be executed.

そして、電動モータ20の異常判定がされた場合、制御部81は、第2回路部70にHiレベルの第2信号S2を出力し続けて、モータ停止制御を行う。具体的には、第2回路部70にHiレベルの第2信号S2が入力されると、第2高電位側スイッチング素子71がオン状態となり、第2低電位側スイッチング素子72がオフ状態となる。一方、異常判定がされているときには、第1回路部60における第1高電位側スイッチング素子61はオン状態であり、第1低電位側スイッチング素子62はオフ状態である。これにより、第1高電位側スイッチング素子61、電動モータ20、第2高電位側スイッチング素子71、再び第1高電位側スイッチング素子61を通る閉ループが形成される。そして、制御部81は、第2回路部70にHiレベルの第2信号S2を出力し続けることで、閉ループを保持する。これにより、電動モータ20にショートブレーキ(短絡制動)が作用して電動モータ20の出力軸の回転動作が制限される。   And when abnormality determination of the electric motor 20 is made, the control part 81 continues outputting the 2nd signal S2 of Hi level to the 2nd circuit part 70, and performs motor stop control. Specifically, when the Hi-level second signal S2 is input to the second circuit unit 70, the second high potential side switching element 71 is turned on and the second low potential side switching element 72 is turned off. . On the other hand, when the abnormality determination is made, the first high potential side switching element 61 in the first circuit unit 60 is in the on state, and the first low potential side switching element 62 is in the off state. As a result, a closed loop passing through the first high potential side switching element 61, the electric motor 20, the second high potential side switching element 71, and the first high potential side switching element 61 is formed. Then, the control unit 81 maintains the closed loop by continuing to output the high-level second signal S2 to the second circuit unit 70. As a result, a short brake (short-circuit braking) acts on the electric motor 20 to limit the rotation operation of the output shaft of the electric motor 20.

・上記の第1実施形態及び第2実施形態では、検知部82が実行する正常判定及び異常判定の一連の処理において、第1接続ノードN1の電位V1と第2接続ノードN2の電位V2とを比較して電動モータ20の異常判定していたが、これに限らない。例えば、検知部82は、第1回転センサ21及び第2回転センサ22から入力された2つのパルス信号の周波数や位相差等から電動モータ20の出力軸の回転方向を検出し、その回転方向が、制御部81のスイッチング制御により電動モータ20が回転するのとは異なる方向である場合に異常判定を行ってもよい。   In the first embodiment and the second embodiment described above, the potential V1 of the first connection node N1 and the potential V2 of the second connection node N2 are set in the series of normal determination and abnormality determination performed by the detection unit 82. Although the abnormality of the electric motor 20 is determined by comparison, the present invention is not limited to this. For example, the detection unit 82 detects the rotation direction of the output shaft of the electric motor 20 from the frequency and phase difference of the two pulse signals input from the first rotation sensor 21 and the second rotation sensor 22, and the rotation direction is determined. The abnormality determination may be performed when the direction is different from the direction in which the electric motor 20 is rotated by the switching control of the control unit 81.

・上記の第1実施形態及び第2実施形態では、検知部82が実行する正常判定及び異常判定の一連の処理において、電位V2が電位V1よりも高い電位であって電位V2と電位V1との電位差が所定値Xよりも大きいことに基づいて、電動モータ20の異常判定していたが、これに限らない。例えば、外部ノイズ等の影響が小さいのであれば、検知部82は、電位V2と電位V1との電位差が所定値Xよりも大きいか否かに拘らず、電位V2が電位V1よりも高い電位であることに基づいて、電動モータ20の異常判定をしてもよい。   In the first embodiment and the second embodiment, in the series of normal determination and abnormality determination performed by the detection unit 82, the potential V2 is higher than the potential V1, and the potential V2 and the potential V1 are Although the abnormality of the electric motor 20 is determined based on the fact that the potential difference is larger than the predetermined value X, the present invention is not limited to this. For example, if the influence of external noise or the like is small, the detection unit 82 has a potential V2 higher than the potential V1 regardless of whether or not the potential difference between the potential V2 and the potential V1 is larger than the predetermined value X. An abnormality determination of the electric motor 20 may be made based on the fact.

・上記の第1実施形態及び第2実施形態では、検知部82が実行する正常判定及び異常判定の一連の処理において、電位V2が電位V1よりも高い電位であって電位V2と電位V1との電位差が所定値Xよりも大きい状態が継続し、その計時時間Yが所定時間Y1よりも長くなった場合に異常判定を行っていたが、これに限らない。例えば、外部ノイズ等の影響が小さいのであれば、検知部82は、電位V2が電位V1よりも高い電位であって電位V2と電位V1との電位差が所定値Xよりも大きい状態となったときに、直ちに異常判定を行ってもよい。   In the first embodiment and the second embodiment, in the series of normal determination and abnormality determination performed by the detection unit 82, the potential V2 is higher than the potential V1, and the potential V2 and the potential V1 are Although the state where the potential difference is larger than the predetermined value X continues and the time measurement time Y becomes longer than the predetermined time Y1, the abnormality determination is performed, but the present invention is not limited to this. For example, if the influence of external noise or the like is small, the detection unit 82 is when the potential V2 is higher than the potential V1 and the potential difference between the potential V2 and the potential V1 is greater than a predetermined value X. In addition, the abnormality determination may be performed immediately.

・上記実施形態では、電動モータ20によってサンルーフ本体11が往復動作されていたが、これに限らない。例えば、車両のスライドドア、車両のスポイラー、車両の電動パワーステアリング等が電動モータ20によって往復動作されていてもよい。   In the above embodiment, the sunroof main body 11 is reciprocated by the electric motor 20, but the present invention is not limited to this. For example, a vehicle sliding door, a vehicle spoiler, a vehicle electric power steering, and the like may be reciprocated by the electric motor 20.

D…還流ダイオード、X…所定値、Y…計時時間、N1…第1接続ノード、N2…第2接続ノード、S1…第1信号、S2…第2信号、S3…開信号、S4…閉信号、V1…電位、V2…電位、Y1…所定時間、10…サンルーフ装置、11…サンルーフ本体、20…電動モータ、21…第1回転センサ、22…第2回転センサ、31…高電位側電源、32…低電位側電源、41…開操作スイッチ、42…閉操作スイッチ、50…モータ駆動回路、60…第1回路部、61…第1高電位側スイッチング素子、62…第1低電位側スイッチング素子、70…第2回路部、71…第2高電位側スイッチング素子、72…第2低電位側スイッチング素子、80…ECU、81…制御部、82…検知部、91…ルーフパネル、91a…開口、100…モータ制御装置。   D ... Freewheeling diode, X ... Predetermined value, Y ... Time keeping, N1 ... First connection node, N2 ... Second connection node, S1 ... First signal, S2 ... Second signal, S3 ... Open signal, S4 ... Close signal V1 ... potential, V2 ... potential, Y1 ... predetermined time, 10 ... sunroof device, 11 ... sunroof body, 20 ... electric motor, 21 ... first rotation sensor, 22 ... second rotation sensor, 31 ... high potential side power supply, 32 ... Low potential side power supply, 41 ... Open operation switch, 42 ... Close operation switch, 50 ... Motor drive circuit, 60 ... First circuit portion, 61 ... First high potential side switching element, 62 ... First low potential side switching Element 70 ... Second circuit part 71 ... Second high potential side switching element 72 ... Second low potential side switching element 80 ... ECU 81 ... Control part 82 ... Detection part 91 ... Roof panel 91a ... Open, 100 ... Over motor controller.

Claims (5)

所定の範囲内を往復動作するように車両に搭載される移動体を動作させるための電動モータに適用されるモータ制御装置であって、
高電位側電源及び低電位側電源の間に直列に接続されている第1高電位側スイッチング素子及び第1低電位側スイッチング素子、高電位側電源及び低電位側電源の間に直列に接続されているとともに前記第1高電位側スイッチング素子及び前記第1低電位側スイッチング素子に対して並列に接続されている第2高電位側スイッチング素子及び第2低電位側スイッチング素子を有し、前記第1高電位側スイッチング素子及び前記第1低電位側スイッチング素子の間の第1接続ノード、及び前記第2高電位側スイッチング素子及び前記第2低電位側スイッチング素子の間の第2接続ノードに前記電動モータが接続されるモータ駆動回路と、
前記モータ駆動回路の前記第1高電位側スイッチング素子及び前記第1低電位側スイッチング素子を相補的にオンオフ制御し、前記第2高電位側スイッチング素子及び前記第2低電位側スイッチング素子を相補的にオンオフ制御する制御部と、
前記制御部のスイッチング制御により前記電動モータが回転するのとは異なる方向に、前記電動モータが回転しようとしているときに異常判定を行う検知部とを備え、
前記制御部は、前記異常判定がされた場合、前記第1高電位側スイッチング素子、前記電動モータ及び前記第2高電位側スイッチング素子を通る閉ループ、又は、前記第1低電位側スイッチング素子、前記電動モータ及び前記第2低電位側スイッチング素子を通る閉ループが形成されて保持されるように前記各スイッチング素子を制御する
ことを特徴とするモータ制御装置。
A motor control device applied to an electric motor for operating a moving body mounted on a vehicle so as to reciprocate within a predetermined range,
The first high potential side switching element and the first low potential side switching element, which are connected in series between the high potential side power source and the low potential side power source, are connected in series between the high potential side power source and the low potential side power source. And having a second high potential side switching element and a second low potential side switching element connected in parallel to the first high potential side switching element and the first low potential side switching element, A first connection node between one high potential side switching element and the first low potential side switching element, and a second connection node between the second high potential side switching element and the second low potential side switching element; A motor drive circuit to which the electric motor is connected;
The first high potential side switching element and the first low potential side switching element of the motor drive circuit are complementarily turned on and off, and the second high potential side switching element and the second low potential side switching element are complementary. A control unit for on / off control,
A detection unit that performs abnormality determination when the electric motor is about to rotate in a direction different from the rotation of the electric motor by switching control of the control unit;
When the abnormality determination is made, the control unit is a closed loop passing through the first high potential side switching element, the electric motor and the second high potential side switching element, or the first low potential side switching element, The motor control device, wherein the switching elements are controlled such that a closed loop passing through the electric motor and the second low potential side switching element is formed and held.
前記検知部は、前記第1接続ノードの電位と前記第2接続ノードの電位との比較に基づいて前記異常判定を行う
請求項1に記載のモータ制御装置。
The motor control device according to claim 1, wherein the detection unit performs the abnormality determination based on a comparison between a potential of the first connection node and a potential of the second connection node.
前記検知部は、前記制御部のスイッチング制御により前記電動モータが回転するのとは異なる方向に、前記電動モータが回転しようとしており、かつ前記第1接続ノードの電位と前記第2接続ノードの電位との電位差が所定値よりも大きい場合に異常判定を行う
請求項2に記載のモータ制御装置。
The detection unit is configured to rotate the electric motor in a direction different from the rotation of the electric motor by switching control of the control unit, and the potential of the first connection node and the potential of the second connection node The motor control device according to claim 2, wherein abnormality determination is performed when a potential difference between the first and second potentials is greater than a predetermined value.
前記検知部は、前記電動モータに内蔵されている複数の回転センサからのパルス波の位相差に基づいて前記異常判定を行う
請求項1に記載のモータ制御装置。
The motor control device according to claim 1, wherein the detection unit performs the abnormality determination based on phase differences of pulse waves from a plurality of rotation sensors built in the electric motor.
前記検知部は、前記制御部のスイッチング制御により前記電動モータが回転するのとは異なる方向に前記電動モータが回転しようとする状態が所定時間よりも長く継続されたことを条件の一つとして、前記異常判定を行う
請求項1〜4のいずれか一項に記載のモータ制御装置。
One of the conditions is that the state where the electric motor is going to rotate in a direction different from the rotation of the electric motor by switching control of the control unit is longer than a predetermined time. The motor control apparatus according to claim 1, wherein the abnormality determination is performed.
JP2017133563A 2017-07-07 2017-07-07 Motor control device Active JP6955196B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2017133563A JP6955196B2 (en) 2017-07-07 2017-07-07 Motor control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017133563A JP6955196B2 (en) 2017-07-07 2017-07-07 Motor control device

Publications (2)

Publication Number Publication Date
JP2019017196A true JP2019017196A (en) 2019-01-31
JP6955196B2 JP6955196B2 (en) 2021-10-27

Family

ID=65358641

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017133563A Active JP6955196B2 (en) 2017-07-07 2017-07-07 Motor control device

Country Status (1)

Country Link
JP (1) JP6955196B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11814889B2 (en) 2020-03-27 2023-11-14 AISIN Technical Center of America, Inc. Systems and methods for operating a power tailgate system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57170085A (en) * 1981-04-13 1982-10-20 Ricoh Co Ltd Specified speed control unit for motor
JP2010047096A (en) * 2008-08-21 2010-03-04 Toyota Motor Corp Electric power steering device
JP2014100002A (en) * 2012-11-14 2014-05-29 Mitsubishi Electric Corp Motor controller, motor control method and electric power steering device
JPWO2012114442A1 (en) * 2011-02-21 2014-07-07 トヨタ自動車株式会社 Electric power steering device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57170085A (en) * 1981-04-13 1982-10-20 Ricoh Co Ltd Specified speed control unit for motor
JP2010047096A (en) * 2008-08-21 2010-03-04 Toyota Motor Corp Electric power steering device
JPWO2012114442A1 (en) * 2011-02-21 2014-07-07 トヨタ自動車株式会社 Electric power steering device
JP2014100002A (en) * 2012-11-14 2014-05-29 Mitsubishi Electric Corp Motor controller, motor control method and electric power steering device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11814889B2 (en) 2020-03-27 2023-11-14 AISIN Technical Center of America, Inc. Systems and methods for operating a power tailgate system

Also Published As

Publication number Publication date
JP6955196B2 (en) 2021-10-27

Similar Documents

Publication Publication Date Title
US10122303B2 (en) Motor control device
JP2005232753A (en) Opening/closing body control unit
US11233467B2 (en) Motor control device
US9912270B2 (en) Motor drive device
JP6988769B2 (en) Open / close body control device and motor
WO2018196177A1 (en) Limit sensing method
JP6770986B2 (en) Inductive load controller
US10787065B2 (en) Vehicular opening/closing body control device and motor control device
JP2013162701A (en) Dc electric motor control device
US8767364B2 (en) Vehicle steering system
JP2013001237A (en) Wiper control device and wiper control method
JP2011094370A (en) Pinching detecting method, method for setting pinching detecting device, pinching detecting device, and opening and closing control device
WO2015125427A1 (en) Power conversion system
JP5895386B2 (en) Vehicle opening / closing body control device
US10829090B2 (en) Wiper control device
JP2019017196A (en) Motor control device
US12024934B2 (en) Opening and closing member control device and opening and closing member control method
EP3327927B1 (en) Motor driving device
CN110758543B (en) Steering column position detection method and device, storage medium and vehicle
JP6131874B2 (en) Inverter circuit failure detection method, drive device, and motor drive system
US9647587B2 (en) System and method for determining the position of a moving part driven by an electric motor
JP7272220B2 (en) Opening/closing body driving device and its control method
JP5719696B2 (en) Wiper motor control device and wiper motor control method
JP6928156B2 (en) Motor control device and door opening / closing device
JP5300228B2 (en) Open / close body pinching detection device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20200611

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20210324

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20210330

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20210528

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20210914

R150 Certificate of patent or registration of utility model

Ref document number: 6955196

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150