JP5628448B1 - Motor drive circuit control method and motor drive circuit - Google Patents

Motor drive circuit control method and motor drive circuit Download PDF

Info

Publication number
JP5628448B1
JP5628448B1 JP2013546512A JP2013546512A JP5628448B1 JP 5628448 B1 JP5628448 B1 JP 5628448B1 JP 2013546512 A JP2013546512 A JP 2013546512A JP 2013546512 A JP2013546512 A JP 2013546512A JP 5628448 B1 JP5628448 B1 JP 5628448B1
Authority
JP
Japan
Prior art keywords
motor
motor drive
circuit
battery
switch
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
JP2013546512A
Other languages
Japanese (ja)
Other versions
JPWO2014125604A1 (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.)
Shindengen Electric Manufacturing Co Ltd
Original Assignee
Shindengen Electric Manufacturing 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 Shindengen Electric Manufacturing Co Ltd filed Critical Shindengen Electric Manufacturing Co Ltd
Application granted granted Critical
Publication of JP5628448B1 publication Critical patent/JP5628448B1/en
Publication of JPWO2014125604A1 publication Critical patent/JPWO2014125604A1/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02PCONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
    • H02P3/00Arrangements for stopping or slowing electric motors, generators, or dynamo-electric converters
    • H02P3/06Arrangements for stopping or slowing electric motors, generators, or dynamo-electric converters for stopping or slowing an individual dynamo-electric motor or dynamo-electric converter
    • H02P3/18Arrangements for stopping or slowing electric motors, generators, or dynamo-electric converters for stopping or slowing an individual dynamo-electric motor or dynamo-electric converter for stopping or slowing an ac motor
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02PCONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
    • H02P29/00Arrangements for regulating or controlling electric motors, appropriate for both AC and DC motors
    • H02P29/02Providing protection against overload without automatic interruption of supply
    • H02P29/024Detecting a fault condition, e.g. short circuit, locked rotor, open circuit or loss of load
    • H02P29/0241Detecting a fault condition, e.g. short circuit, locked rotor, open circuit or loss of load the fault being an overvoltage
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02HEMERGENCY PROTECTIVE CIRCUIT ARRANGEMENTS
    • H02H7/00Emergency protective circuit arrangements specially adapted for specific types of electric machines or apparatus or for sectionalised protection of cable or line systems, and effecting automatic switching in the event of an undesired change from normal working conditions
    • H02H7/08Emergency protective circuit arrangements specially adapted for specific types of electric machines or apparatus or for sectionalised protection of cable or line systems, and effecting automatic switching in the event of an undesired change from normal working conditions for dynamo-electric motors

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Control Of Motors That Do Not Use Commutators (AREA)
  • Control Of Electric Motors In General (AREA)

Abstract

モータ駆動回路は、プリドライバが出力する制御電圧を制御してブリッジ回路の動作を制御するCPUと、第1のバッテリ端子の電圧に基づいて、バッテリのバッテリ電圧を検出する電圧検出回路と、メインスイッチがオンすることにより、第1のスイッチ端子を介して入力されるバッテリの電力を、CPUを起動するためにCPUに供給する電源回路と、第2のスイッチ端子の信号に基づいて、スタータスイッチがオンしているか否かのスイッチ情報をCPUに出力する第1の入力回路と、を備える。また、バッテリ電圧に基づいて、モータ駆動制限時間及びモータ駆動禁止時間を算出し、モータの回転が停止していることを検出した場合において、ブリッジ回路の通電動作を開始してからモータ駆動制限時間を経過していると判断した場合には、ブリッジ回路の通電動作を停止する。The motor drive circuit controls the control voltage output by the pre-driver to control the operation of the bridge circuit, the voltage detection circuit that detects the battery voltage of the battery based on the voltage of the first battery terminal, the main drive circuit, When the switch is turned on, a starter switch based on a power supply circuit that supplies the power of the battery input through the first switch terminal to the CPU to start the CPU and a signal from the second switch terminal And a first input circuit that outputs switch information indicating whether or not is on to the CPU. In addition, the motor drive limit time and the motor drive prohibition time are calculated based on the battery voltage, and when it is detected that the rotation of the motor is stopped, the motor drive limit time after starting the energization operation of the bridge circuit When it is determined that the period has elapsed, the energization operation of the bridge circuit is stopped.

Description

本発明は、モータ駆動回路の制御方法、および、モータ駆動回路に関する。  The present invention relates to a motor drive circuit control method and a motor drive circuit.

例えば、モータを駆動するモータ駆動回路において、モータの負荷が大きい場合(通電しているにも拘わらずモータが停止するモータロック等)、通常の駆動電流以上の電流がブリッジ回路に印加される。これにより、ブリッジ回路が破壊され得る。  For example, in a motor drive circuit that drives a motor, when the load on the motor is large (such as a motor lock that stops the motor despite being energized), a current greater than the normal drive current is applied to the bridge circuit. As a result, the bridge circuit can be destroyed.

従来、例えば、特許4738287号公報および特開平6−224444号公報には、モータの過負荷の発生の有無を、ブリッジ回路の過電流を検出することにより、検出するモータ駆動回路が開示されている(図5)。  Conventionally, for example, Japanese Patent No. 4738287 and Japanese Patent Application Laid-Open No. 6-224444 disclose a motor drive circuit that detects the presence or absence of an overload of a motor by detecting an overcurrent of a bridge circuit. (FIG. 5).

そして、従来のモータ駆動システム1000Aは、例えば、モータMと、ロータセンサRCと、バッテリBと、メインスイッチSW1と、スタータスイッチSW2と、モータ駆動回路100Aと、を備える(図5)。  The conventional motor drive system 1000A includes, for example, a motor M, a rotor sensor RC, a battery B, a main switch SW1, a starter switch SW2, and a motor drive circuit 100A (FIG. 5).

モータMは、三相ブラシレスモータである。この場合、モータMは、コイル(W相コイル)W1、コイル(U相コイル)W2、コイル(V相コイル)W3が設けられたステータと、ロータと、を有する。  The motor M is a three-phase brushless motor. In this case, the motor M includes a stator provided with a coil (W-phase coil) W1, a coil (U-phase coil) W2, and a coil (V-phase coil) W3, and a rotor.

コイルW1〜W3の一端は、共通に接続されている。  One ends of the coils W1 to W3 are connected in common.

ロータセンサRCは、例えば、モータMのステータまたはモータMの外装の内側に配置されている。  The rotor sensor RC is disposed, for example, inside the stator of the motor M or the exterior of the motor M.

モータ駆動回路100Aは、例えば、第1のバッテリ端子TB1と、第2のバッテリ端子TB2と、第1のスイッチ端子TSW1と、第2のスイッチ端子TSW2と、第1のコイル端子TW1と、第2のコイル端子TW2と、第3のコイル端子TW3と、ブリッジ回路BCと、プリドライバPDと、CPU101Aと、電源回路VCと、入力回路INと、電圧検出回路VDと、電流検出回路102Aと、検出抵抗Rと、を備える(図5)。  The motor driving circuit 100A includes, for example, a first battery terminal TB1, a second battery terminal TB2, a first switch terminal TSW1, a second switch terminal TSW2, a first coil terminal TW1, and a second Coil terminal TW2, third coil terminal TW3, bridge circuit BC, pre-driver PD, CPU 101A, power supply circuit VC, input circuit IN, voltage detection circuit VD, current detection circuit 102A, detection And a resistor R (FIG. 5).

第1のコイル端子TW1は、モータMのコイルW1の他端に接続されている。  The first coil terminal TW1 is connected to the other end of the coil W1 of the motor M.

第2のコイル端子TW2は、モータMのコイルW2の他端に接続されている。  The second coil terminal TW2 is connected to the other end of the coil W2 of the motor M.

第3のコイル端子TW3は、モータMのコイルW3の他端に接続されている。  The third coil terminal TW3 is connected to the other end of the coil W3 of the motor M.

第1のバッテリ端子TB1は、バッテリBの正極およびユーザによりオンまたはオフに制御されるメインスイッチSW1の一端に、接続されている。  The first battery terminal TB1 is connected to the positive electrode of the battery B and one end of the main switch SW1 controlled to be turned on or off by the user.

第2のバッテリ端子TB2は、バッテリBの負極に、接続されている。  The second battery terminal TB2 is connected to the negative electrode of the battery B.

第1のスイッチ端子TSW1は、メインスイッチSW1の他端、および、ユーザによりオンまたはオフに制御されるスタータスイッチSW2の一端に、接続されている。  The first switch terminal TSW1 is connected to the other end of the main switch SW1 and one end of a starter switch SW2 that is controlled to be turned on or off by the user.

第2のスイッチ端子TSW2は、スタータスイッチSW2の他端に、接続されている。  The second switch terminal TSW2 is connected to the other end of the starter switch SW2.

電圧検出回路VDは、第1のバッテリ端子TB1の電圧に基づいて、バッテリBのバッテリ電圧VBを検出するようになっている。  The voltage detection circuit VD detects the battery voltage VB of the battery B based on the voltage of the first battery terminal TB1.

電流検出回路102Aは、検出抵抗Rに流れる過電流を検出するようになっている。  The current detection circuit 102A detects an overcurrent flowing through the detection resistor R.

電源回路VCは、メインスイッチSW1がオンすることにより、第1のスイッチ端子TSW1を介して入力されるバッテリBの電力を、CPU101Aを起動するためにCPU101Aに供給するようになっている。  When the main switch SW1 is turned on, the power supply circuit VC supplies the power of the battery B input via the first switch terminal TSW1 to the CPU 101A to start the CPU 101A.

入力回路INは、第2のスイッチ端子TSW2の信号に基づいて、スタータスイッチSW2がオンしているか否かのスイッチ情報をCPU101Aに出力するようになっている。  Based on the signal from the second switch terminal TSW2, the input circuit IN outputs switch information indicating whether the starter switch SW2 is on to the CPU 101A.

ブリッジ回路BCは、三相ブリッジ回路である。このブリッジ回路BSは、第1のバッテリ端子TB1と第2のバッテリ端子TB2との間に接続され、モータMに駆動電流を供給してモータMのコイルW1〜W3に通電させる通電動作により、モータMを駆動するようになっている。  The bridge circuit BC is a three-phase bridge circuit. The bridge circuit BS is connected between the first battery terminal TB1 and the second battery terminal TB2, and supplies a driving current to the motor M to energize the coils W1 to W3 of the motor M. M is driven.

このブリッジ回路BCは、nMOSトランジスタで構成されるスイッチ素子Q1、Q2、Q3、Q4、Q5、Q6を含む。  The bridge circuit BC includes switch elements Q1, Q2, Q3, Q4, Q5, and Q6 configured by nMOS transistors.

プリドライバPDは、ブリッジ回路BCの通電動作(すなわち、ゲート駆動信号の出力動作)を制御するための制御電圧をブリッジ回路BCに出力するようになっている。  The pre-driver PD outputs a control voltage for controlling the energization operation of the bridge circuit BC (that is, the output operation of the gate drive signal) to the bridge circuit BC.

CPU101Aは、電圧検出回路VDにより検出されたバッテリ電圧VBおよび電流検出回路102Aにより検出された電流に基づいて、プリドライバPDが出力する制御電圧を制御してブリッジ回路BCの動作を制御するようになっている。  The CPU 101A controls the operation of the bridge circuit BC by controlling the control voltage output from the pre-driver PD based on the battery voltage VB detected by the voltage detection circuit VD and the current detected by the current detection circuit 102A. It has become.

また、CPU101Aは、入力回路INから入力されるスイッチ情報に基づいて、スタータスイッチSW2がオンしているか否かを判断するようになっている。  Further, the CPU 101A determines whether or not the starter switch SW2 is on based on switch information input from the input circuit IN.

上記構成を有するモータ駆動回路100Aは、以下の制御動作を実行する(図6)。なお、図6において、ステップSX、SYは、ユーザによるメインスイッチSW1のオン/オフの制御を表す。また、ステップS1a〜S6aは、モータ駆動回路100AのCPU101Aが実行する制御を表す。  The motor drive circuit 100A having the above configuration executes the following control operation (FIG. 6). In FIG. 6, steps SX and SY represent on / off control of the main switch SW1 by the user. Steps S1a to S6a represent control executed by the CPU 101A of the motor drive circuit 100A.

図6に示すように、CPU101Aは、ステップSXにおいてメインスイッチSW1がオンされている場合には、スタータスイッチSW2がオンしているか否かを判断する(ステップS1a)。  As shown in FIG. 6, when the main switch SW1 is turned on in step SX, the CPU 101A determines whether or not the starter switch SW2 is turned on (step S1a).

そして、CPU101Aは、このステップS1aにおいてスタータスイッチSW2がオンしていると判断した場合には、ブリッジ回路BCの通電動作を開始することによりモータMを駆動させる(ステップS2a)。  If the CPU 101A determines that the starter switch SW2 is turned on in step S1a, the CPU 101A drives the motor M by starting the energization operation of the bridge circuit BC (step S2a).

そして、CPU101Aは、このステップS2aにおいてモータMを駆動させた後、モータMの回転が停止したか否かを検出する(ステップS3a)。  Then, the CPU 101A detects whether or not the rotation of the motor M has stopped after driving the motor M in step S2a (step S3a).

そして、CPU101Aは、このステップS3aにおいてモータMの回転が停止していることを検出していない場合には、過電流が検出されたか否かを判断する(ステップS4a)。  If the CPU 101A does not detect that the rotation of the motor M has stopped in step S3a, the CPU 101A determines whether or not an overcurrent has been detected (step S4a).

そして、CPU101Aは、このステップS4aにおいて過電流を検出したと判断した場合には、所定の検出時間を経過したか否かを判断する(ステップS5a)。  If the CPU 101A determines that an overcurrent has been detected in step S4a, the CPU 101A determines whether a predetermined detection time has elapsed (step S5a).

そして、CPU101Aは、このステップS5aにおいて所定の検出時間を経過したと判断した場合には、ブリッジ回路BCの通電動作を停止してモータMの駆動を停止する(ステップS6a)。  When the CPU 101A determines that the predetermined detection time has elapsed in step S5a, the CPU 101A stops the energization operation of the bridge circuit BC and stops the driving of the motor M (step S6a).

そして、CPU101は、このステップS6aにおいてモータMの駆動を停止した後、ステップSYにおいてメインスイッチSW1がオフされていない場合には、ステップS1aに戻る。  Then, after stopping the driving of the motor M in step S6a, the CPU 101 returns to step S1a if the main switch SW1 is not turned off in step SY.

なお、CPU101Aは、ステップS1aにおいてスタータスイッチSW2がオンしていないと判断した場合には、ステップSYに進む。  If the CPU 101A determines in step S1a that the starter switch SW2 is not turned on, the CPU 101A proceeds to step SY.

また、CPU101Aは、ステップS3aにおいてモータMの回転が停止していることを検出していない場合には、ステップS6aに進む。  On the other hand, if the CPU 101A has not detected that the rotation of the motor M has stopped in step S3a, the process proceeds to step S6a.

また、CPU101Aは、ステップS4aにおいて過電流が検出されていないと判断した場合には、ステップSYに進む。  On the other hand, if the CPU 101A determines in step S4a that no overcurrent has been detected, the process proceeds to step SY.

また、CPU101Aは、ステップS5aにおいて所定の検出時間を経過していないと判断した場合には、ステップSYに進む。
このように、従来のモータ駆動回路100Aは、過電流を検出した場合には、モータMの駆動を停止して、モータMおよびこのモータMで駆動される機器類の故障発生を回避する(図6)。
On the other hand, if the CPU 101A determines in step S5a that the predetermined detection time has not elapsed, the process proceeds to step SY.
Thus, the conventional motor drive circuit 100A stops the drive of the motor M when an overcurrent is detected, and avoids the failure of the motor M and devices driven by the motor M (FIG. 6).

しかし、上記従来のモータ駆動回路100Aは、既述のように、検出抵抗Rと、電流検出回路102Aと、を備える(図5)。これらの検出抵抗Rおよび電流検出回路102Aは高価であり、また、実装面積が大きくなる問題がある。  However, the conventional motor drive circuit 100A includes the detection resistor R and the current detection circuit 102A as described above (FIG. 5). The detection resistor R and the current detection circuit 102A are expensive and have a problem that the mounting area is increased.

本発明の一態様に係る実施例に従ったモータ駆動回路の制御方法は、
バッテリの正極およびユーザによりオンまたはオフに制御されるメインスイッチの一端に接続される第1のバッテリ端子と、前記バッテリの負極に接続される第2のバッテリ端子と、前記メインスイッチの他端およびユーザによりオンまたはオフに制御されるスタータスイッチの一端に接続される第1のスイッチ端子と、前記スタータスイッチの他端に接続される第2のスイッチ端子と、前記第1のバッテリ端子と前記第2のバッテリ端子との間に接続され、モータに駆動電流を供給して前記モータのコイルに通電させる通電動作により、前記モータを駆動するブリッジ回路と、前記ブリッジ回路の通電動作を制御するための制御電圧を前記ブリッジ回路に出力するプリドライバと、前記プリドライバが出力する前記制御電圧を制御して前記ブリッジ回路の動作を制御するCPUと、前記第1のバッテリ端子の電圧に基づいて、前記バッテリのバッテリ電圧を検出する電圧検出回路と、前記メインスイッチがオンすることにより、前記第1のスイッチ端子を介して入力される前記バッテリの電力を、前記CPUを起動するために前記CPUに供給する電源回路と、前記第2のスイッチ端子の信号に基づいて、前記スタータスイッチがオンしているか否かのスイッチ情報を前記CPUに出力する第1の入力回路と、を備えるモータ駆動回路の制御方法であって、
前記メインスイッチがオンされている場合には、前記モータの駆動を許可する第1のステップと、
前記バッテリ電圧を前記電圧検出回路により検出する第2のステップと、
前記第2のステップにおいて検出した前記バッテリ電圧に基づいて、モータ駆動制限時間を算出する第3のステップと、
前記第2のステップにおいて検出した前記バッテリ電圧に基づいて、モータ駆動禁止時間を算出する第4のステップと、
前記第3および第4のステップにおいて前記モータ駆動制限時間および前記モータ駆動禁止時間を算出した後、前記モータの駆動を許可しているか否かを判断する第5のステップと、
前記第5のステップにおいて前記モータの駆動を許可していると判断した場合には、前記スタータスイッチがオンしているか否かを判断する第6のステップと、
前記第6のステップにおいて前記スタータスイッチがオンしていると判断した場合には、前記ブリッジ回路の通電動作を開始することにより前記モータを駆動させる第7のステップと、
前記第7のステップにおいて前記モータを駆動させた後、前記モータの回転が停止したか否かを検出する第8のステップと、
前記第8のステップにおいて前記モータの回転が停止していることを検出した場合には、前記ブリッジ回路の通電動作を開始してから前記モータ駆動制限時間を経過したか否かを判断する第9のステップと、
前記ブリッジ回路の通電動作を開始してから前記モータ駆動制限時間を経過していると判断した場合には、前記ブリッジ回路の通電動作を停止して前記モータの駆動を停止する第10のステップと、
前記モータ駆動制限時間を経過した後、前記モータの駆動を禁止する第11のステップと、を実行する
ことを特徴とする。
A method for controlling a motor drive circuit according to an embodiment of one aspect of the present invention includes:
A first battery terminal connected to the positive electrode of the battery and one end of a main switch controlled to be turned on or off by a user; a second battery terminal connected to the negative electrode of the battery; the other end of the main switch; A first switch terminal connected to one end of a starter switch controlled on or off by a user; a second switch terminal connected to the other end of the starter switch; the first battery terminal; A bridge circuit for driving the motor, and an energization operation of the bridge circuit for controlling the energization operation of the bridge circuit, which is connected between the two battery terminals and supplies a drive current to the motor to energize the coil of the motor. A pre-driver that outputs a control voltage to the bridge circuit; and the control voltage that the pre-driver outputs to control the control voltage A CPU that controls the operation of the ridge circuit; a voltage detection circuit that detects a battery voltage of the battery based on the voltage of the first battery terminal; and the main switch that is turned on, whereby the first switch terminal Whether or not the starter switch is turned on based on a power supply circuit that supplies power of the battery that is input via the power supply to the CPU to start the CPU and a signal from the second switch terminal A first input circuit that outputs the switch information to the CPU, and a control method of a motor drive circuit comprising:
A first step of permitting driving of the motor when the main switch is on;
A second step of detecting the battery voltage by the voltage detection circuit;
A third step of calculating a motor drive time limit based on the battery voltage detected in the second step;
A fourth step of calculating a motor drive inhibition time based on the battery voltage detected in the second step;
A fifth step of determining whether or not driving of the motor is permitted after calculating the motor drive limit time and the motor drive prohibition time in the third and fourth steps;
A sixth step of determining whether or not the starter switch is on when it is determined in the fifth step that driving of the motor is permitted;
A seventh step of driving the motor by starting energization operation of the bridge circuit when it is determined in the sixth step that the starter switch is on;
An eighth step of detecting whether or not the rotation of the motor has stopped after driving the motor in the seventh step;
When it is detected in the eighth step that the rotation of the motor is stopped, it is determined whether or not the motor drive time limit has elapsed since the start of the energization operation of the bridge circuit. And the steps
A tenth step of stopping the energization operation of the bridge circuit and deactivating the motor when it is determined that the motor drive time limit has elapsed since the energization operation of the bridge circuit was started; ,
And an eleventh step of prohibiting driving of the motor after the motor drive time limit has elapsed.

前記モータ駆動回路の制御方法において、
前記第8のステップにおいて前記モータの回転が停止したことを検出していない場合は、前記第2のステップに戻る
ことを特徴とする。
In the method for controlling the motor drive circuit,
If it is not detected in the eighth step that the rotation of the motor has stopped, the process returns to the second step.

前記モータ駆動回路の制御方法において、
前記第9のステップにおいて前記モータ駆動制限時間を経過していないと判断した場合には、前記第2のステップに戻る
ことを特徴とする。
In the method for controlling the motor drive circuit,
If it is determined in the ninth step that the motor drive time limit has not elapsed, the process returns to the second step.

前記モータ駆動回路の制御方法において、
前記第11のステップにおいて前記モータの駆動を禁止した後、前記第2のステップに戻ることを特徴とする。
In the method for controlling the motor drive circuit,
After the motor driving is prohibited in the eleventh step, the process returns to the second step.

前記モータ駆動回路の制御方法において、
前記第5のステップにおいて前記モータの駆動を許可していないと判断した場合には、前記モータの駆動を禁止してから前記モータ駆動禁止時間が経過しているか否かを判断する第12のステップをさらに実行し、
前記第12のステップにおいて前記モータの駆動を禁止してから前記モータ駆動禁止時間が経過していないと判断した場合には、前記第2のステップに戻る ことを特徴とする。
In the method for controlling the motor drive circuit,
A twelfth step of determining whether or not the motor drive prohibition time has elapsed after prohibiting the motor drive when it is determined that the motor drive is not permitted in the fifth step; And run further
If it is determined in the twelfth step that the motor drive inhibition time has not elapsed since the motor drive was prohibited, the process returns to the second step.

前記モータ駆動回路の制御方法において、
前記第12のステップにおいて前記モータ駆動禁止時間が経過していると判断した場合には、前記モータの駆動を許可する第13のステップをさらに実行し、
前記第13のステップにおいて前記モータの駆動を許可した後、前記第2のステップに戻る
ことを特徴とする。
In the method for controlling the motor drive circuit,
If it is determined in the twelfth step that the motor drive prohibition time has elapsed, a thirteenth step of permitting the motor drive is further executed,
After permitting driving of the motor in the thirteenth step, the process returns to the second step.

前記モータ駆動回路の制御方法において、
前記第6のステップにおいて前記スタータスイッチがオンしていないと判断した場合には、前記ブリッジ回路の通電動作を停止することにより、前記モータの駆動を停止する第14のステップを、さらに実行することを特徴とする。
In the method for controlling the motor drive circuit,
If it is determined in the sixth step that the starter switch is not turned on, the fourteenth step of stopping the driving of the motor is further performed by stopping the energization operation of the bridge circuit. It is characterized by.

前記モータ駆動回路の制御方法において、
前記第14のステップにおいて前記ブリッジ回路の通電動作を停止することにより前記モータの駆動を停止した後、前記第2のステップに戻ることを特徴とする。
In the method for controlling the motor drive circuit,
In the fourteenth step, the driving of the motor is stopped by stopping the energization operation of the bridge circuit, and then the process returns to the second step.

前記モータ駆動回路の制御方法において、
前記モータ駆動制限時間は、検出された前記バッテリ電圧が高くなると短くなるように設定され、一方、検出された前記バッテリ電圧が低くなると長くなるように設定されることを特徴とする。
In the method for controlling the motor drive circuit,
The motor drive time limit is set to be shorter when the detected battery voltage is higher, and is set to be longer when the detected battery voltage is lower.

前記モータ駆動回路の制御方法において、
前記モータ駆動制限時間および前記モータ駆動禁止時間は、温度センサにより検出された前記モータ駆動回路の外部の温度に基づいて、補正されることを特徴とする。
In the method for controlling the motor drive circuit,
The motor drive limit time and the motor drive inhibition time are corrected based on the temperature outside the motor drive circuit detected by a temperature sensor.

前記モータ駆動回路の制御方法において、
前記モータは、三相ブラシレスモータであり、前記ブリッジ回路は、三相ブリッジ回路であることを特徴とする。
In the method for controlling the motor drive circuit,
The motor is a three-phase brushless motor, and the bridge circuit is a three-phase bridge circuit.

前記モータ駆動回路の制御方法において、
前記ブリッジ回路を120度通電方式により通電動作させることにより、前記モータを駆動することを特徴とする。
In the method for controlling the motor drive circuit,
The motor is driven by energizing the bridge circuit by a 120-degree energization method.

前記モータ駆動回路の制御方法において、
前記モータ駆動禁止時間は、前記モータ駆動制限時間の2倍に設定されることを特徴とする。
In the method for controlling the motor drive circuit,
The motor drive inhibition time is set to be twice the motor drive time limit.

本発明の一態様に係る実施例に従ったモータ駆動回路は、
バッテリの正極およびユーザによりオンまたはオフに制御されるメインスイッチの一端に接続される第1のバッテリ端子と、
前記バッテリの負極に接続される第2のバッテリ端子と、
前記メインスイッチの他端およびユーザによりオンまたはオフに制御されるスタータスイッチの一端に接続される第1のスイッチ端子と、
前記スタータスイッチの他端に接続される第2のスイッチ端子と、
前記第1のバッテリ端子と前記第2のバッテリ端子との間に接続され、モータに駆動電流を供給して前記モータのコイルに通電させる通電動作により、前記モータを駆動するブリッジ回路と、
前記ブリッジ回路の通電動作を制御するための制御電圧を前記ブリッジ回路に出力するプリドライバと、
前記プリドライバが出力する前記制御電圧を制御して前記ブリッジ回路の動作を制御するCPUと、
前記第1のバッテリ端子の電圧に基づいて、前記バッテリのバッテリ電圧を検出する電圧検出回路と、
前記メインスイッチがオンすることにより、前記第1のスイッチ端子を介して入力される前記バッテリの電力を、前記CPUを起動するために前記CPUに供給する電源回路と、
前記第2のスイッチ端子の信号に基づいて、前記スタータスイッチがオンしているか否かのスイッチ情報を前記CPUに出力する第1の入力回路と、を備え、
前記CPUは、
前記メインスイッチがオンされている場合には、前記モータの駆動を許可する第1のステップと、
前記バッテリ電圧を前記電圧検出回路により検出する第2のステップと、
前記第2のステップにおいて検出した前記バッテリ電圧に基づいて、モータ駆動制限時間を算出する第3のステップと、
前記第2のステップにおいて検出した前記バッテリ電圧に基づいて、モータ駆動禁止時間を算出する第4のステップと、
前記第3および第4のステップにおいて前記モータ駆動制限時間および前記モータ駆動禁止時間を算出した後、前記モータの駆動を許可しているか否かを判断する第5のステップと、
前記第5のステップにおいて前記モータの駆動を許可していると判断した場合には、前記スタータスイッチがオンしているか否かを判断する第6のステップと、
前記第6のステップにおいて前記スタータスイッチがオンしていると判断した場合には、前記ブリッジ回路の通電動作を開始することにより前記モータを駆動させる第7のステップと、
前記第7のステップにおいて前記モータを駆動させた後、前記モータの回転が停止したか否かを検出する第8のステップと、
前記第8のステップにおいて前記モータの回転が停止していることを検出した場合には、前記ブリッジ回路の通電動作を開始してから前記モータ駆動制限時間を経過したか否かを判断する第9のステップと、
前記ブリッジ回路の通電動作を開始してから前記モータ駆動制限時間を経過していると判断した場合には、前記ブリッジ回路の通電動作を停止して前記モータの駆動を停止する第10のステップと、
前記モータ駆動制限時間を経過した後、前記モータの駆動を禁止する第11のステップと、を実行する
ことを特徴とする。
A motor drive circuit according to an embodiment according to one aspect of the present invention includes:
A first battery terminal connected to the positive electrode of the battery and one end of a main switch controlled on or off by the user;
A second battery terminal connected to the negative electrode of the battery;
A first switch terminal connected to the other end of the main switch and one end of a starter switch controlled on or off by a user;
A second switch terminal connected to the other end of the starter switch;
A bridge circuit that is connected between the first battery terminal and the second battery terminal and that drives the motor by an energization operation that supplies a drive current to the motor and energizes the coil of the motor;
A pre-driver that outputs a control voltage for controlling the energization operation of the bridge circuit to the bridge circuit;
A CPU for controlling the operation of the bridge circuit by controlling the control voltage output by the pre-driver;
A voltage detection circuit for detecting a battery voltage of the battery based on a voltage of the first battery terminal;
When the main switch is turned on, a power supply circuit that supplies the power of the battery input via the first switch terminal to the CPU for starting the CPU;
A first input circuit that outputs to the CPU switch information indicating whether or not the starter switch is turned on based on a signal from the second switch terminal;
The CPU
A first step of permitting driving of the motor when the main switch is on;
A second step of detecting the battery voltage by the voltage detection circuit;
A third step of calculating a motor drive time limit based on the battery voltage detected in the second step;
A fourth step of calculating a motor drive inhibition time based on the battery voltage detected in the second step;
A fifth step of determining whether or not driving of the motor is permitted after calculating the motor drive limit time and the motor drive prohibition time in the third and fourth steps;
A sixth step of determining whether or not the starter switch is on when it is determined in the fifth step that driving of the motor is permitted;
A seventh step of driving the motor by starting energization operation of the bridge circuit when it is determined in the sixth step that the starter switch is on;
An eighth step of detecting whether or not the rotation of the motor has stopped after driving the motor in the seventh step;
When it is detected in the eighth step that the rotation of the motor is stopped, it is determined whether or not the motor drive time limit has elapsed since the start of the energization operation of the bridge circuit. And the steps
A tenth step of stopping the energization operation of the bridge circuit and deactivating the motor when it is determined that the motor drive time limit has elapsed since the energization operation of the bridge circuit was started; ,
And an eleventh step of prohibiting driving of the motor after the motor drive time limit has elapsed.

本発明の一態様に係るモータ駆動回路の制御方法は、メインスイッチがオンされている場合には、モータの駆動を許可する第1のステップと、バッテリ電圧を電圧検出回路により検出する第2のステップと、第2のステップにおいて検出したバッテリ電圧に基づいて、モータ駆動制限時間を算出する第3のステップと、第2のステップにおいて検出したバッテリ電圧に基づいて、モータ駆動禁止時間を算出する第4のステップと、第3および第4のステップにおいてモータ駆動制限時間およびモータ駆動禁止時間を算出した後、モータの駆動を許可しているか否かを判断する第5のステップと、第5のステップにおいてモータの駆動を許可していると判断した場合には、スタータスイッチがオンしているか否かを(スイッチ情報に基づいて)判断する第6のステップと、第6のステップにおいてスタータスイッチがオンしていると判断した場合には、ブリッジ回路の通電動作を開始することによりモータを駆動させる第7のステップと、第7のステップにおいてモータを駆動させた後、モータの回転が停止したか否かを検出する第8のステップと、第8のステップにおいてモータの回転が停止していることを検出した場合には、ブリッジ回路の通電動作を開始してからモータ駆動制限時間を経過したか否かを判断する第9のステップと、ブリッジ回路の通電動作を開始してからモータ駆動制限時間を経過していると判断した場合には、ブリッジ回路の通電動作を停止してモータの駆動を停止する第10のステップと、モータ駆動制限時間を経過した後、モータの駆動を禁止する第11のステップと、を実行する。  A method for controlling a motor drive circuit according to an aspect of the present invention includes a first step of permitting driving of a motor when a main switch is turned on, and a second step of detecting a battery voltage by a voltage detection circuit. A step of calculating a motor drive time limit based on the step, a battery voltage detected in the second step, and a motor drive prohibiting time based on the battery voltage detected in the second step. Step 5, and after calculating the motor drive limit time and the motor drive prohibition time in the third and fourth steps, a fifth step for determining whether or not the motor drive is permitted, and a fifth step If it is determined that the motor is permitted to be driven, whether or not the starter switch is on (based on the switch information) A sixth step of cutting off, a seventh step of driving the motor by starting the energization operation of the bridge circuit when it is determined in the sixth step that the starter switch is on, An eighth step for detecting whether or not the rotation of the motor has stopped after driving the motor in the step, and a bridge circuit when detecting that the rotation of the motor has stopped in the eighth step. The ninth step of determining whether or not the motor drive limit time has elapsed since the start of the energization operation, and when it is determined that the motor drive limit time has elapsed since the start of the energization operation of the bridge circuit The tenth step of stopping the energization operation of the bridge circuit and stopping the driving of the motor, and the first step of prohibiting the driving of the motor after the motor driving time limit has elapsed. And the step of, to run.

したがって、本発明に係るモータ駆動回路の制御方法は、検出抵抗および電流検出回路が不要になり、モータ駆動回路の製造コストを低減するとともに、実装面積を削減することができる。  Therefore, the motor drive circuit control method according to the present invention eliminates the need for the detection resistor and the current detection circuit, thereby reducing the manufacturing cost of the motor drive circuit and reducing the mounting area.

さらに、本発明に係るモータ駆動回路の制御方法は、バッテリ電圧に応じてモータ駆動制限時間およびモータ駆動禁止時間が設定されるため、より適切に、モータの駆動停止の制御を実行して、ブリッジ回路の破壊を抑制することができる。  Furthermore, since the motor drive limit time and the motor drive prohibition time are set according to the battery voltage, the motor drive circuit control method according to the present invention executes the motor drive stop control more appropriately. Circuit breakdown can be suppressed.

図1は、本発明の一態様である実施例1に係るモータ駆動システム1000の構成の一例を示す図である。FIG. 1 is a diagram illustrating an example of a configuration of a motor drive system 1000 according to a first embodiment which is an aspect of the present invention. 図2は、モータ駆動制限時間とバッテリ電圧との関係の一例を示す図である。FIG. 2 is a diagram illustrating an example of the relationship between the motor drive time limit and the battery voltage. 図3は、モータ駆動制限時間とモータ駆動禁止時間の一例を示す図である。FIG. 3 is a diagram illustrating an example of the motor drive limit time and the motor drive prohibition time. 図4は、図1に示すモータ駆動回路100の制御方法の一例を示すフローチャートである。FIG. 4 is a flowchart showing an example of a control method of the motor drive circuit 100 shown in FIG. 図5は、従来のモータ駆動システム1000Aの構成の一例を示す図である。FIG. 5 is a diagram showing an example of the configuration of a conventional motor drive system 1000A. 図6は、図5に示す従来のモータ駆動回路100Aの制御方法の一例を示すフローチャートである。FIG. 6 is a flowchart showing an example of a control method of the conventional motor drive circuit 100A shown in FIG.

以下、本発明に係る各実施例について図面に基づいて説明する。  Embodiments according to the present invention will be described below with reference to the drawings.

なお、実施例では、一例として、ブラシレスモータMが3相ブラレスモータである場合について説明する。  In the embodiment, a case where the brushless motor M is a three-phase braless motor will be described as an example.

図1は、本発明の一態様である実施例1に係るモータ駆動システム1000の構成の一例を示す図である。また、図2は、モータ駆動制限時間とバッテリ電圧との関係の一例を示す図である。また、図3は、モータ駆動制限時間とモータ駆動禁止時間の一例を示す図である。  FIG. 1 is a diagram illustrating an example of a configuration of a motor drive system 1000 according to a first embodiment which is an aspect of the present invention. FIG. 2 is a diagram illustrating an example of the relationship between the motor drive time limit and the battery voltage. FIG. 3 is a diagram illustrating an example of the motor drive limit time and the motor drive prohibition time.

図1に示すように、モータ駆動システム1000は、モータMと、ロータセンサRCと、バッテリBと、メインスイッチSW1と、スタータスイッチSW2と、温度センサTCと、モータ駆動回路100と、を備える。  As shown in FIG. 1, the motor drive system 1000 includes a motor M, a rotor sensor RC, a battery B, a main switch SW1, a starter switch SW2, a temperature sensor TC, and a motor drive circuit 100.

モータMは、図1に示すように、例えば、三相ブラシレスモータである。この場合、モータMは、コイル(W相コイル)W1、コイル(U相コイル)W2、コイル(V相コイル)W3が設けられたステータと、ロータと、を有する。  As shown in FIG. 1, the motor M is, for example, a three-phase brushless motor. In this case, the motor M includes a stator provided with a coil (W-phase coil) W1, a coil (U-phase coil) W2, and a coil (V-phase coil) W3, and a rotor.

コイルW1〜W3の一端は、共通に接続されている。  One ends of the coils W1 to W3 are connected in common.

ロータセンサRCは、例えば、モータMのステータまたはモータMの外装の内側に配置されている。  The rotor sensor RC is disposed, for example, inside the stator of the motor M or the exterior of the motor M.

このロータセンサRCは、モータMのロータの磁極を検出するようになっている。そして、ロータセンサRCは、例えば、モータMのロータの磁極の回転位置に対応する基準パルス信号を出力する。  The rotor sensor RC detects the magnetic pole of the rotor of the motor M. The rotor sensor RC outputs a reference pulse signal corresponding to the rotational position of the magnetic pole of the rotor of the motor M, for example.

例えば、このロータセンサRCは、モータMのロータの磁極を検出するためのホール素子である。
メインスイッチSW1は、ユーザによりオンまたはオフに制御されるようになっている。
スタータスイッチSW2は、ユーザによりオンまたはオフに制御されるようになっている。
温度センサTCは、モータ駆動回路100の外部の温度を測定し、モータ駆動回路100の外部の温度の情報を含む温度情報信号を出力するようになっている。
For example, the rotor sensor RC is a Hall element for detecting the magnetic pole of the rotor of the motor M.
The main switch SW1 is controlled to be turned on or off by the user.
The starter switch SW2 is controlled to be turned on or off by the user.
The temperature sensor TC measures the temperature outside the motor drive circuit 100 and outputs a temperature information signal including information on the temperature outside the motor drive circuit 100.

モータ駆動回路100は、図1に示すように、例えば、第1のバッテリ端子TB1と、第2のバッテリ端子TB2と、第1のスイッチ端子TSW1と、第2のスイッチ端子TSW2と、温度センサ端子TTCと、第1のコイル端子TW1と、第2のコイル端子TW2と、第3のコイル端子TW3と、ブリッジ回路BCと、プリドライバPDと、CPU101と、電源回路VCと、第1の入力回路IN1と、第2の入力回路IN2と、磁極検出回路MDと、を備える。  As shown in FIG. 1, the motor drive circuit 100 includes, for example, a first battery terminal TB1, a second battery terminal TB2, a first switch terminal TSW1, a second switch terminal TSW2, and a temperature sensor terminal. TTC, first coil terminal TW1, second coil terminal TW2, third coil terminal TW3, bridge circuit BC, predriver PD, CPU 101, power supply circuit VC, and first input circuit IN1, a second input circuit IN2, and a magnetic pole detection circuit MD are provided.

第1のコイル端子TW1は、モータMのコイルW1の他端に接続されている。  The first coil terminal TW1 is connected to the other end of the coil W1 of the motor M.

第2のコイル端子TW2は、モータMのコイルW2の他端に接続されている。  The second coil terminal TW2 is connected to the other end of the coil W2 of the motor M.

第3のコイル端子TW3は、モータMのコイルW3の他端に接続されている。  The third coil terminal TW3 is connected to the other end of the coil W3 of the motor M.

第1のバッテリ端子TB1は、バッテリBの正極およびユーザによりオンまたはオフに制御されるメインスイッチSW1の一端に、接続されている。  The first battery terminal TB1 is connected to the positive electrode of the battery B and one end of the main switch SW1 controlled to be turned on or off by the user.

第2のバッテリ端子TB2は、バッテリBの負極に、接続されている。  The second battery terminal TB2 is connected to the negative electrode of the battery B.

温度センサ端子TTCは、温度センサTCの出力に接続され、温度センサTCにより検出された外部の温度の情報を含む温度情報信号が入力されるようになっている。  The temperature sensor terminal TTC is connected to the output of the temperature sensor TC, and receives a temperature information signal including information on the external temperature detected by the temperature sensor TC.

第1のスイッチ端子TSW1は、メインスイッチSW1の他端、および、ユーザによりオンまたはオフに制御されるスタータスイッチSW2の一端に、接続されている。  The first switch terminal TSW1 is connected to the other end of the main switch SW1 and one end of a starter switch SW2 that is controlled to be turned on or off by the user.

第2のスイッチ端子TSW2は、スタータスイッチSW2の他端に、接続されている。  The second switch terminal TSW2 is connected to the other end of the starter switch SW2.

電圧検出回路VDは、第1のバッテリ端子TB1の電圧に基づいて、バッテリBのバッテリ電圧VBを検出するようになっている。  The voltage detection circuit VD detects the battery voltage VB of the battery B based on the voltage of the first battery terminal TB1.

電源回路VCは、メインスイッチSW1がオンすることにより、第1のスイッチ端子TSW1を介して入力されるバッテリBの電力を、CPU101を起動するためにCPU101に供給するようになっている。  The power supply circuit VC supplies the power of the battery B input via the first switch terminal TSW1 to the CPU 101 to start the CPU 101 when the main switch SW1 is turned on.

第1の入力回路IN1は、第2のスイッチ端子TSW2の信号に基づいて、スタータスイッチSW2がオンしているか否かのスイッチ情報をCPU101に出力するようになっている。  The first input circuit IN1 outputs switch information indicating whether the starter switch SW2 is turned on to the CPU 101 based on the signal of the second switch terminal TSW2.

例えば、スタータスイッチSW2およびメインスイッチSW1がオンしている場合には、第2のスイッチ端子TSW2からバッテリ電圧VBが第1の入力回路IN1に入力される。そして、第1の入力回路IN1は、このバッテリ電圧VBに応じて、スタータスイッチSW2がオンしている旨のスイッチ情報をCPU101に出力する。  For example, when the starter switch SW2 and the main switch SW1 are on, the battery voltage VB is input from the second switch terminal TSW2 to the first input circuit IN1. Then, the first input circuit IN1 outputs switch information indicating that the starter switch SW2 is turned on to the CPU 101 in accordance with the battery voltage VB.

一方、スタータスイッチSW2がオフしている場合には、第2のスイッチ端子TSW2からバッテリ電圧VBが第1の入力回路IN1に入力されない(フローティング状態)。そして、第1の入力回路IN1は、この第2のスイッチ端子TSW2の電圧に応じて、スタータスイッチSW2がオフしている旨のスイッチ情報をCPU101に出力する。  On the other hand, when the starter switch SW2 is off, the battery voltage VB is not input from the second switch terminal TSW2 to the first input circuit IN1 (floating state). Then, the first input circuit IN1 outputs switch information indicating that the starter switch SW2 is turned off to the CPU 101 in accordance with the voltage of the second switch terminal TSW2.

第2の入力回路IN2は、温度情報信号が温度センサ端子TTCを介して入力され、この温度情報信号に含まれる情報をCPU101に出力するようになっている。  The second input circuit IN2 receives a temperature information signal via the temperature sensor terminal TTC, and outputs information included in the temperature information signal to the CPU 101.

磁極検出回路MDは、ロータセンサRCから出力されたモータMのロータの磁極の回転位置に対応する基準パルス信号に基づいて、モータMのロータの磁極の回転位置を検出するようになっている。そして、磁極検出回路MDは、磁極の回転位置の検出結果をCPU101に出力するようになっている。  The magnetic pole detection circuit MD detects the rotational position of the magnetic pole of the rotor of the motor M based on the reference pulse signal corresponding to the rotational position of the magnetic pole of the rotor of the motor M output from the rotor sensor RC. The magnetic pole detection circuit MD outputs the detection result of the rotational position of the magnetic pole to the CPU 101.

ブリッジ回路BCは、例えば、図1に示すように、三相ブリッジ回路である。このブリッジ回路BSは、第1のバッテリ端子TB1と第2のバッテリ端子TB2との間に接続され、モータMに駆動電流を供給してモータMのコイルW1〜W3に通電させる通電動作により、モータMを駆動するようになっている。  The bridge circuit BC is, for example, a three-phase bridge circuit as shown in FIG. The bridge circuit BS is connected between the first battery terminal TB1 and the second battery terminal TB2, and supplies a driving current to the motor M to energize the coils W1 to W3 of the motor M. M is driven.

このブリッジ回路BCは、例えば、図1に示すように、nMOSトランジスタで構成されるスイッチ素子Q1、Q2、Q3、Q4、Q5、Q6を含む。  For example, as shown in FIG. 1, the bridge circuit BC includes switch elements Q1, Q2, Q3, Q4, Q5, and Q6 formed of nMOS transistors.

このブリッジ回路BCにおいて、上アーム側のスイッチ素子Q1、Q2、Q3のそれぞれのドレイン端子は、第1のバッテリ端子TB1に共通に接続されている。  In the bridge circuit BC, the drain terminals of the upper arm side switch elements Q1, Q2, and Q3 are commonly connected to the first battery terminal TB1.

また、下アーム側のスイッチ素子Q4、Q5、Q6のそれぞれのソース端子は、第2のバッテリ端子TB2に共通に接続されている。  The source terminals of the lower arm side switch elements Q4, Q5, and Q6 are commonly connected to the second battery terminal TB2.

そして、上アーム側のスイッチ素子Q1のソース端子と、下アーム側のスイッチ素子Q4のドレイン端子とが接続されている。そして、このスイッチ素子Q1、Q4の接続点が、第1のコイル端子TW1に接続されている。  The source terminal of the switch element Q1 on the upper arm side and the drain terminal of the switch element Q4 on the lower arm side are connected. The connection point of the switch elements Q1, Q4 is connected to the first coil terminal TW1.

また、上アーム側のスイッチ素子Q2のソース端子と、下アーム側のスイッチ素子Q5のドレイン端子とが接続されている。そして、このスイッチ素子Q2、Q5の接続点が、第2のコイル端子TW2に接続されている。  Further, the source terminal of the switch element Q2 on the upper arm side and the drain terminal of the switch element Q5 on the lower arm side are connected. The connection point between the switch elements Q2 and Q5 is connected to the second coil terminal TW2.

また、上アーム側のスイッチ素子Q3のソース端子と、下アーム側のスイッチ素子Q6のドレイン端子とが接続されている。そして、このスイッチ素子Q3、Q6の接続点が、第3のコイル端子TW3に接続されている。  Further, the source terminal of the switch element Q3 on the upper arm side and the drain terminal of the switch element Q6 on the lower arm side are connected. The connection point of the switch elements Q3 and Q6 is connected to the third coil terminal TW3.

なお、スイッチ素子Q1、Q2、Q3、Q4、Q5、Q6のそれぞれには、フライホイールダイオード(図示せず)が、並列に接続されている。  Note that a flywheel diode (not shown) is connected in parallel to each of the switch elements Q1, Q2, Q3, Q4, Q5, and Q6.

なお、スイッチ素子Q1、Q2、Q3、Q4、Q5、Q6は、IGBT(Insulated Gate Bipolar Transistor)、または、バイポーラトランジスタであってもよい。  The switch elements Q1, Q2, Q3, Q4, Q5, and Q6 may be IGBTs (Insulated Gate Bipolar Transistors) or bipolar transistors.

スイッチ素子Q1、Q2、Q3、Q4、Q5、Q6は、プリドライバPDが出力するゲート駆動信号により駆動される。これにより、モータMに駆動電流が流れる。この駆動電流に応じて、モータMの動作が制御される。  The switch elements Q1, Q2, Q3, Q4, Q5, and Q6 are driven by a gate drive signal output from the pre-driver PD. As a result, a drive current flows through the motor M. The operation of the motor M is controlled according to this drive current.

すなわち、ゲート駆動信号は、モータMを駆動する駆動パターンを規定する。  That is, the gate drive signal defines a drive pattern for driving the motor M.

プリドライバPDは、ブリッジ回路BCの通電動作(すなわち、ゲート駆動信号の出力動作)を制御するための制御電圧をブリッジ回路BCに出力するようになっている。  The pre-driver PD outputs a control voltage for controlling the energization operation of the bridge circuit BC (that is, the output operation of the gate drive signal) to the bridge circuit BC.

CPU101は、プリドライバPDが出力する制御電圧を制御してブリッジ回路BCの動作を制御するようになっている。例えば、CPU101は、ブリッジ回路BCを120度通電方式により通電動作させることにより、モータMを駆動する。  The CPU 101 controls the operation of the bridge circuit BC by controlling the control voltage output from the pre-driver PD. For example, the CPU 101 drives the motor M by energizing the bridge circuit BC by a 120-degree energization method.

また、CPU101は、メインスイッチSW1がオンすることにより、第1のスイッチ端子TSW1を介して入力されるバッテリBの電力により、起動するようになっている。  Further, the CPU 101 is activated by the electric power of the battery B input via the first switch terminal TSW1 when the main switch SW1 is turned on.

また、CPU101は、磁極検出回路MDから出力された磁極の回転位置の検出結果に基づいて、モータMの回転位置(回転方向、回転速度、回転停止等を含む)を取得するようになっている。  Further, the CPU 101 acquires the rotation position (including the rotation direction, rotation speed, rotation stop, etc.) of the motor M based on the detection result of the rotation position of the magnetic pole output from the magnetic pole detection circuit MD. .

また、CPU101は、第1の入力回路IN1から入力されるスイッチ情報に基づいて、スタータスイッチSW2がオンしているか否かを判断するようになっている。  Further, the CPU 101 determines whether or not the starter switch SW2 is turned on based on the switch information input from the first input circuit IN1.

また、CPU101は、電圧検出回路VDにより検出されたバッテリ電圧VBに基づいて、モータMを駆動(通電動作)しているにも拘わらずモータMの回転が停止した場合にモータMの駆動(通電動作)を開始してから制限するまでの期間を規定するモータ駆動制限時間t1を算出するようになっている。  Further, the CPU 101 drives the motor M (energizes) when the rotation of the motor M stops despite driving the motor M (energization operation) based on the battery voltage VB detected by the voltage detection circuit VD. The motor drive limit time t1 that defines the period from the start of the operation) to the limit is calculated.

このモータ駆動制限時間t1は、例えば、図2に示すようなモータ駆動制限時間とバッテリ電圧との関係が予め規定されたテーブル等を用いて、算出される。  The motor drive time limit t1 is calculated using, for example, a table in which the relationship between the motor drive time limit and the battery voltage is defined in advance as shown in FIG.

ここで、例えば、モータ駆動制限時間t1は、図2に示すように、検出されたバッテリ電圧VBが高くなると短くなるように設定され、一方、検出されたバッテリ電圧VBが低くなると長くなるように設定される。  Here, for example, as shown in FIG. 2, the motor drive time limit t1 is set so as to be shortened when the detected battery voltage VB is increased, and is increased as the detected battery voltage VB is decreased. Is set.

また、CPU101は、モータMの駆動(通電動作)を禁止する期間を規定するモータ駆動禁止時間t2を、算出するようになっている。  Further, the CPU 101 calculates a motor drive inhibition time t2 that defines a period during which the drive (energization operation) of the motor M is prohibited.

なお、モータ駆動禁止時間t2は、例えば、120度通電方式の場合、モータ駆動制限時間t1の2倍に設定される(図3)。  For example, in the case of the 120-degree energization method, the motor drive inhibition time t2 is set to twice the motor drive limit time t1 (FIG. 3).

特に、CPU101は、第2の入力回路IN2から入力される情報(温度センサTCにより検出されたモータ駆動回路100の外部の温度)に基づいて、モータ駆動制限時間t1、および、モータ駆動禁止時間t2を、補正するようになっている。  In particular, the CPU 101 determines the motor drive limit time t1 and the motor drive prohibition time t2 based on information input from the second input circuit IN2 (temperature outside the motor drive circuit 100 detected by the temperature sensor TC). Is to be corrected.

例えば、外部の温度が上昇した場合には、モータ駆動制限時間t1、および、モータ駆動禁止時間t2が短くなるように補正され、外部の温度が降下した場合には、モータ駆動制限時間t1、および、モータ駆動禁止時間t2が長くなるように補正される。  For example, when the external temperature rises, the motor drive limit time t1 and the motor drive inhibition time t2 are corrected so as to be shortened, and when the external temperature falls, the motor drive limit time t1 and The motor drive inhibition time t2 is corrected so as to become longer.

ここで、以上のような構成を有するモータ駆動回路100の制御方法の一例について説明する。  Here, an example of a control method of the motor drive circuit 100 having the above configuration will be described.

図4は、図1に示すモータ駆動回路100の制御方法の一例を示すフローチャートである。  FIG. 4 is a flowchart showing an example of a control method of the motor drive circuit 100 shown in FIG.

なお、図4において、ステップSX、SYは、ユーザによるメインスイッチSW1のオン/オフの制御を表す。また、第1から第14のステップS1〜S14は、モータ駆動回路100のCPU101が実行する制御を表す。  In FIG. 4, steps SX and SY represent on / off control of the main switch SW1 by the user. Further, the first to fourteenth steps S1 to S14 represent the control executed by the CPU 101 of the motor drive circuit 100.

図4に示すように、CPU101は、ステップSXにおいてメインスイッチSW1がオンされている(すなわち、CPU101が、電源回路VCから電力が供給されて起動している)場合には、モータMの駆動を許可する(第1のステップS1)。  As shown in FIG. 4, the CPU 101 drives the motor M when the main switch SW1 is turned on in step SX (that is, the CPU 101 is activated by being supplied with power from the power supply circuit VC). Allow (first step S1).

そして、CPU101は、バッテリ電圧VBを電圧検出回路VDにより検出する(第2のステップS2)。  Then, the CPU 101 detects the battery voltage VB by the voltage detection circuit VD (second step S2).

そして、CPU101は、第2のステップS2において検出したバッテリ電圧VBに基づいて、モータ駆動制限時間t1を算出する(第3のステップS3)。  Then, the CPU 101 calculates the motor drive time limit t1 based on the battery voltage VB detected in the second step S2 (third step S3).

既述のように、モータ駆動制限時間t1は、例えば、図2に示すようなモータ駆動制限時間とバッテリ電圧との関係が予め規定されたテーブル等を用いて、算出される。  As described above, the motor drive time limit t1 is calculated using, for example, a table in which the relationship between the motor drive time limit and the battery voltage is defined in advance as shown in FIG.

そして、CPU101は、第2のステップS2において検出したバッテリ電圧VBに基づいて、モータ駆動禁止時間t2を算出する(第4のステップS4)。  Then, the CPU 101 calculates the motor drive inhibition time t2 based on the battery voltage VB detected in the second step S2 (fourth step S4).

既述のように、モータ駆動禁止時間t2は、例えば、モータ駆動制限時間t1の2倍に設定される(図3)。  As described above, the motor drive inhibition time t2 is set to, for example, twice the motor drive limit time t1 (FIG. 3).

なお、上記第3のステップS3と第4のステップS4とは順番が逆になってもよい。  Note that the order of the third step S3 and the fourth step S4 may be reversed.

そして、CPU101は、これらの第3および第4のステップS3、S4においてモータ駆動制限時間t1およびモータ駆動禁止時間t2を算出した後、モータMの駆動を許可しているか否かを判断する(第5のステップS5)。  Then, after calculating the motor drive limit time t1 and the motor drive inhibition time t2 in the third and fourth steps S3 and S4, the CPU 101 determines whether or not the drive of the motor M is permitted (first step). 5 step S5).

そして、CPU101は、この第5のステップS5においてモータMの駆動を許可していると判断した場合には、スタータスイッチSW2がオンしているか否かを(スイッチ情報に基づいて)判断する(第6のステップS6)。  If the CPU 101 determines that the drive of the motor M is permitted in the fifth step S5, the CPU 101 determines whether the starter switch SW2 is on (based on the switch information) (first switch). 6 step S6).

既述のように、CPU101は、第1の入力回路IN1から入力されるスイッチ情報に基づいて、スタータスイッチSW2がオンしているか否かを判断する。  As described above, the CPU 101 determines whether the starter switch SW2 is turned on based on the switch information input from the first input circuit IN1.

そして、CPU101は、この第6のステップS6においてスタータスイッチSW2がオンしている(すなわち、ユーザによりモータMの駆動が指示されている)と判断した場合には、ブリッジ回路BCの通電動作を開始することによりモータMを駆動させる(第7のステップS7)。  If the CPU 101 determines that the starter switch SW2 is turned on (that is, the user has instructed driving of the motor M) in the sixth step S6, the CPU 101 starts the energization operation of the bridge circuit BC. Thus, the motor M is driven (seventh step S7).

そして、CPU101は、この第7のステップS7においてモータMを駆動させた後、モータMの回転が停止したか否か(すなわち、モータMがモータロック状態になったか否か)を検出する(第8のステップS8)。  Then, after driving the motor M in the seventh step S7, the CPU 101 detects whether or not the rotation of the motor M is stopped (that is, whether or not the motor M is in the motor lock state) (first step). 8 step S8).

なお、既述のように、CPU101は、磁極検出回路MDから出力された磁極の回転位置の検出結果に基づいて、モータMの回転が停止したか否か(モータMがモータロック状態になったか否か)を判断する。  As described above, the CPU 101 determines whether or not the rotation of the motor M is stopped based on the detection result of the rotation position of the magnetic pole output from the magnetic pole detection circuit MD (whether the motor M is in the motor lock state). Or not).

そして、CPU101は、この第8のステップS8においてモータMの回転が停止していることを検出した場合には、ブリッジ回路BCの通電動作を開始してからモータ駆動制限時間t1を経過したか否かを判断する(第9のステップS9)。  If the CPU 101 detects that the rotation of the motor M has stopped in the eighth step S8, whether or not the motor drive limit time t1 has elapsed since the energization operation of the bridge circuit BC was started. (9th step S9).

そして、CPU101は、ブリッジ回路BCの通電動作を開始してからモータ駆動制限時間t1を経過していると判断した場合には、ブリッジ回路BCの通電動作を停止してモータMの駆動を停止する(第10のステップS10)。  When the CPU 101 determines that the motor drive limit time t1 has elapsed since the start of the energization operation of the bridge circuit BC, the CPU 101 stops the energization operation of the bridge circuit BC and stops driving the motor M. (Tenth step S10).

これにより、モータMがモータロック状態になることにより、通常の駆動電流以上の電流がブリッジ回路に印加されるのを回避することができる。すなわち、ブリッジ回路BCの破壊が回避される。  Thereby, when the motor M is in the motor locked state, it is possible to avoid the application of a current greater than the normal drive current to the bridge circuit. That is, destruction of the bridge circuit BC is avoided.

そして、CPU101は、モータ駆動制限時間t1を経過した後、モータMの駆動を禁止(ブリッジ回路BCの通電動作を禁止)する(第11のステップS11)。  Then, after the motor drive limit time t1 has elapsed, the CPU 101 prohibits driving of the motor M (prohibits energization operation of the bridge circuit BC) (11th step S11).

なお、後述のように、モータMの駆動を禁止してから、モータ駆動禁止時間t2が経過するまで、モータMの駆動が禁止される。これにより、より確実に、通常の駆動電流以上の電流がブリッジ回路に印加されるのを回避することができる。  As will be described later, the drive of the motor M is prohibited until the motor drive inhibition time t2 elapses after the drive of the motor M is prohibited. As a result, it is possible to more reliably avoid the application of a current exceeding the normal drive current to the bridge circuit.

そして、CPU101は、この第11のステップS11においてモータMの駆動を禁止した後、ステップSYにおいてメインスイッチSW1がオフされていない(すなわち、CPU101が、電源回路VCから電力が供給されて起動している)場合には、第2のステップS2に戻る。  Then, after the CPU 101 prohibits the driving of the motor M in the eleventh step S11, the main switch SW1 is not turned off in the step SY (that is, the CPU 101 starts up when power is supplied from the power supply circuit VC). If so, the process returns to the second step S2.

これにより、CPU101は、再度、バッテリ電圧VBを電圧検出回路VDにより検出し(第2のステップS2)、既述の第3のステップS3以降の動作を実行する。  Thereby, the CPU 101 again detects the battery voltage VB by the voltage detection circuit VD (second step S2), and executes the operations after the third step S3 described above.

なお、CPU101は、既述の第8のステップS8においてモータMの回転が停止したことを検出していない場合は、第2のステップS2に戻る。  If the CPU 101 has not detected that the rotation of the motor M has stopped in the eighth step S8, the CPU 101 returns to the second step S2.

これにより、CPU101は、再度、バッテリ電圧VBを電圧検出回路VDにより検出し(第2のステップS2)、既述の第3のステップS3以降の動作を実行する。  Thereby, the CPU 101 again detects the battery voltage VB by the voltage detection circuit VD (second step S2), and executes the operations after the third step S3 described above.

なお、CPU101は、既述の第9のステップS9においてモータ駆動制限時間t1を経過していないと判断した場合には、第2のステップS2に戻る。  If the CPU 101 determines that the motor drive time limit t1 has not elapsed in the ninth step S9, the CPU 101 returns to the second step S2.

これにより、CPU101は、再度、バッテリ電圧VBを電圧検出回路VDにより検出し(第2のステップS2)、既述の第3のステップS3以降の動作を実行する。  Thereby, the CPU 101 again detects the battery voltage VB by the voltage detection circuit VD (second step S2), and executes the operations after the third step S3 described above.

ここで、CPU101は、既述の第5のステップS5においてモータMの駆動を許可していない(禁止している)と判断した場合には、既述の第11のステップS11でモータMの駆動を禁止してからモータ駆動禁止時間t2が経過しているか否かを判断する(第12のステップS12)。  If the CPU 101 determines that the driving of the motor M is not permitted (prohibited) in the fifth step S5 described above, the driving of the motor M is performed in the eleventh step S11 described above. It is determined whether or not the motor drive inhibition time t2 has elapsed since the prohibition of the operation (Twelfth Step S12).

そして、CPU101は、この第12のステップS12においてモータ駆動禁止時間t2が経過していると判断した場合には、モータMの駆動を許可する(第13のステップS13)。  If the CPU 101 determines that the motor drive inhibition time t2 has elapsed in the twelfth step S12, the CPU 101 permits the motor M to be driven (13th step S13).

なお、CPU101は、第12のステップS12においてモータMの駆動を禁止してからモータ駆動禁止時間t2が経過していないと判断した場合には、第2のステップS2に戻る。  Note that if the CPU 101 determines that the motor drive inhibition time t2 has not elapsed since the drive of the motor M was prohibited in the twelfth step S12, the CPU 101 returns to the second step S2.

そして、CPU101は、第13のステップS13においてモータMの駆動を許可した後、第2のステップS2に戻る。  Then, after allowing the motor M to be driven in the thirteenth step S13, the CPU 101 returns to the second step S2.

これにより、CPU101は、再度、バッテリ電圧VBを電圧検出回路VDにより検出し(第2のステップS2)、既述の第3のステップS3以降の動作を実行する。この場合、CPU101は、第13のステップS13においてモータMの駆動が許可しているので、後の第5のステップS5においてモータMの駆動を許可していると判断することとなる。  Thereby, the CPU 101 again detects the battery voltage VB by the voltage detection circuit VD (second step S2), and executes the operations after the third step S3 described above. In this case, since the CPU 101 permits the driving of the motor M in the thirteenth step S13, the CPU 101 determines that the driving of the motor M is permitted in the subsequent fifth step S5.

また、CPU101は、既述の第6のステップS6においてスタータスイッチSW2がオンしていない(すなわち、ユーザによりモータMの駆動が指示されていない)と判断した場合には、ブリッジ回路BCの通電動作を停止することにより、モータMの駆動を停止する(第14のステップS14)。  When the CPU 101 determines that the starter switch SW2 is not turned on in the sixth step S6 described above (that is, the user has not instructed driving of the motor M), the energization operation of the bridge circuit BC is performed. Is stopped, the drive of the motor M is stopped (14th step S14).

なお、CPU101は、この第14のステップS14においてブリッジ回路BCの通電動作を停止することによりモータMの駆動を停止した後、第2のステップS2に戻る。  The CPU 101 stops driving the motor M by stopping the energization operation of the bridge circuit BC in the fourteenth step S14, and then returns to the second step S2.

これにより、CPU101は、再度、バッテリ電圧VBを電圧検出回路VDにより検出し(第2のステップS2)、既述の第3のステップS3以降の動作を実行する。  Thereby, the CPU 101 again detects the battery voltage VB by the voltage detection circuit VD (second step S2), and executes the operations after the third step S3 described above.

以上のように、本発明の一態様に係るモータ駆動回路の制御方法は、メインスイッチがオンされている場合には、モータの駆動を許可する第1のステップと、バッテリ電圧を電圧検出回路により検出する第2のステップと、第2のステップにおいて検出したバッテリ電圧に基づいて、モータ駆動制限時間を算出する第3のステップと、第2のステップにおいて検出したバッテリ電圧に基づいて、モータ駆動禁止時間を算出する第4のステップと、第3および第4のステップにおいてモータ駆動制限時間およびモータ駆動禁止時間を算出した後、モータの駆動を許可しているか否かを判断する第5のステップと、第5のステップにおいてモータの駆動を許可していると判断した場合には、スタータスイッチがオンしているか否かを(スイッチ情報に基づいて)判断する第6のステップと、第6のステップにおいてスタータスイッチがオンしていると判断した場合には、ブリッジ回路の通電動作を開始することによりモータを駆動させる第7のステップと、第7のステップにおいてモータを駆動させた後、モータの回転が停止したか否かを検出する第8のステップと、第8のステップにおいてモータの回転が停止していることを検出した場合には、ブリッジ回路の通電動作を開始してからモータ駆動制限時間を経過したか否かを判断する第9のステップと、ブリッジ回路の通電動作を開始してからモータ駆動制限時間を経過していると判断した場合には、ブリッジ回路の通電動作を停止してモータの駆動を停止する第10のステップと、モータ駆動制限時間を経過した後、モータの駆動を禁止する第11のステップと、を実行する。  As described above, in the method for controlling a motor drive circuit according to one aspect of the present invention, when the main switch is turned on, the first step of allowing the motor to be driven and the battery voltage by the voltage detection circuit A second step to detect, a third step to calculate a motor drive time limit based on the battery voltage detected in the second step, and a motor drive prohibition based on the battery voltage detected in the second step. A fourth step for calculating time, and a fifth step for determining whether or not driving of the motor is permitted after calculating the motor drive limit time and the motor drive inhibition time in the third and fourth steps. If it is determined in the fifth step that the drive of the motor is permitted, it is determined whether the starter switch is on (switch information). And a seventh step of driving the motor by starting the energization operation of the bridge circuit when it is determined that the starter switch is on in the sixth step. When it is detected that the rotation of the motor is stopped in the eighth step and the eighth step for detecting whether the rotation of the motor is stopped after the motor is driven in the seventh step. The ninth step of determining whether or not the motor drive limit time has elapsed since the start of the energization operation of the bridge circuit, and the motor drive limit time has elapsed since the start of the energization operation of the bridge circuit If it is determined, the tenth step of stopping the energization operation of the bridge circuit and stopping the driving of the motor, and the driving of the motor after the motor driving time limit has elapsed. Performing an eleventh step of prohibiting, the.

したがって、本発明に係るモータ駆動回路の制御方法は、検出抵抗および電流検出回路が不要になり、モータ駆動回路の製造コストを低減するとともに、実装面積を削減することができる。  Therefore, the motor drive circuit control method according to the present invention eliminates the need for the detection resistor and the current detection circuit, thereby reducing the manufacturing cost of the motor drive circuit and reducing the mounting area.

さらに、本発明に係るモータ駆動回路の制御方法は、バッテリ電圧に応じてモータ駆動制限時間およびモータ駆動禁止時間が設定されるため、より適切に、モータの駆動停止の制御を実行して、ブリッジ回路の破壊を抑制することができる。  Furthermore, since the motor drive limit time and the motor drive prohibition time are set according to the battery voltage, the motor drive circuit control method according to the present invention executes the motor drive stop control more appropriately. Circuit breakdown can be suppressed.

なお、実施形態は例示であり、発明の範囲はそれらに限定されない。  In addition, embodiment is an illustration and the range of invention is not limited to them.

100 モータ駆動回路
1000 モータ駆動システム
M モータ
RC ロータセンサ
B バッテリ
W1 コイル(W相コイル)
W2 コイル(U相コイル)
W3 コイル(V相コイル)
SW1 メインスイッチ
SW2 スタータスイッチ
TC 温度センサ
TB1 第1のバッテリ端子
TB2 第2のバッテリ端子
TSW1 第1のスイッチ端子
TSW2 第2のスイッチ端子
TTC 温度センサ端子
TW1 第1のコイル端子
TW2 第2のコイル端子
TW3 第3のコイル端子
Q1、Q2、Q3、Q4、Q5、Q6 スイッチ素子
BC ブリッジ回路
PE プリドライバ
101 CPU
VC 電源回路
IN1 第1の入力回路
IN2 第2の入力回路
MD 磁極検出回路
100 Motor Drive Circuit 1000 Motor Drive System M Motor RC Rotor Sensor B Battery W1 Coil (W-phase coil)
W2 coil (U phase coil)
W3 coil (V phase coil)
SW1 main switch SW2 starter switch TC temperature sensor TB1 first battery terminal TB2 second battery terminal TSW1 first switch terminal TSW2 second switch terminal TTC temperature sensor terminal TW1 first coil terminal TW2 second coil terminal TW3 Third coil terminals Q1, Q2, Q3, Q4, Q5, Q6 Switch element BC Bridge circuit PE Pre-driver 101 CPU
VC power supply circuit IN1 first input circuit IN2 second input circuit MD magnetic pole detection circuit

Claims (13)

バッテリの正極およびユーザによりオンまたはオフに制御されるメインスイッチの一端に接続される第1のバッテリ端子と、前記バッテリの負極に接続される第2のバッテリ端子と、前記メインスイッチの他端およびユーザによりオンまたはオフに制御されるスタータスイッチの一端に接続される第1のスイッチ端子と、前記スタータスイッチの他端に接続される第2のスイッチ端子と、前記第1のバッテリ端子と前記第2のバッテリ端子との間に接続され、モータに駆動電流を供給して前記モータのコイルに通電させる通電動作により、前記モータを駆動するブリッジ回路と、前記ブリッジ回路の通電動作を制御するための制御電圧を前記ブリッジ回路に出力するプリドライバと、前記プリドライバが出力する前記制御電圧を制御して前記ブリッジ回路の動作を制御するCPUと、前記第1のバッテリ端子の電圧に基づいて、前記バッテリのバッテリ電圧を検出する電圧検出回路と、前記メインスイッチがオンすることにより、前記第1のスイッチ端子を介して入力される前記バッテリの電力を、前記CPUを起動するために前記CPUに供給する電源回路と、前記第2のスイッチ端子の信号に基づいて、前記スタータスイッチがオンしているか否かのスイッチ情報を前記CPUに出力する第1の入力回路と、を備えるモータ駆動回路の制御方法であって、
前記メインスイッチがオンされている場合には、前記モータの駆動を許可する第1のステップと、
前記バッテリ電圧を前記電圧検出回路により検出する第2のステップと、
前記第2のステップにおいて検出した前記バッテリ電圧に基づいて、モータ駆動制限時間を算出する第3のステップと、
前記第2のステップにおいて検出した前記バッテリ電圧に基づいて、モータ駆動禁止時間を算出する第4のステップと、
前記第3および第4のステップにおいて前記モータ駆動制限時間および前記モータ駆動禁止時間を算出した後、前記モータの駆動を許可しているか否かを判断する第5のステップと、
前記第5のステップにおいて前記モータの駆動を許可していると判断した場合には、前記スタータスイッチがオンしているか否かを判断する第6のステップと、
前記第6のステップにおいて前記スタータスイッチがオンしていると判断した場合には、前記ブリッジ回路の通電動作を開始することにより前記モータを駆動させる第7のステップと、
前記第7のステップにおいて前記モータを駆動させた後、前記モータの回転が停止したか否かを検出する第8のステップと、
前記第8のステップにおいて前記モータの回転が停止していることを検出した場合には、前記ブリッジ回路の通電動作を開始してから前記モータ駆動制限時間を経過したか否かを判断する第9のステップと、
前記ブリッジ回路の通電動作を開始してから前記モータ駆動制限時間を経過していると判断した場合には、前記ブリッジ回路の通電動作を停止して前記モータの駆動を停止する第10のステップと、
前記モータ駆動制限時間を経過した後、前記モータの駆動を禁止する第11のステップと、
前記第5のステップにおいて前記モータの駆動を許可していないと判断した場合には、前記モータの駆動を禁止してから前記モータ駆動禁止時間が経過しているか否かを判断する第12のステップと、を実行し、
前記第12のステップにおいて前記モータの駆動を禁止してから前記モータ駆動禁止時間が経過していないと判断した場合には、前記第2のステップに戻る
ことを特徴とするモータ駆動回路の制御方法。
A first battery terminal connected to the positive electrode of the battery and one end of a main switch controlled to be turned on or off by a user; a second battery terminal connected to the negative electrode of the battery; the other end of the main switch; A first switch terminal connected to one end of a starter switch controlled on or off by a user; a second switch terminal connected to the other end of the starter switch; the first battery terminal; A bridge circuit for driving the motor, and an energization operation of the bridge circuit for controlling the energization operation of the bridge circuit, which is connected between the two battery terminals and supplies a drive current to the motor to energize the coil of the motor. A pre-driver that outputs a control voltage to the bridge circuit; and the control voltage that the pre-driver outputs to control the control voltage A CPU that controls the operation of the ridge circuit; a voltage detection circuit that detects a battery voltage of the battery based on the voltage of the first battery terminal; and the main switch that is turned on, whereby the first switch terminal Whether or not the starter switch is turned on based on a power supply circuit that supplies power of the battery that is input via the power supply to the CPU to start the CPU and a signal from the second switch terminal A first input circuit that outputs the switch information to the CPU, and a control method of a motor drive circuit comprising:
A first step of permitting driving of the motor when the main switch is on;
A second step of detecting the battery voltage by the voltage detection circuit;
A third step of calculating a motor drive time limit based on the battery voltage detected in the second step;
A fourth step of calculating a motor drive inhibition time based on the battery voltage detected in the second step;
A fifth step of determining whether or not driving of the motor is permitted after calculating the motor drive limit time and the motor drive prohibition time in the third and fourth steps;
A sixth step of determining whether or not the starter switch is on when it is determined in the fifth step that driving of the motor is permitted;
A seventh step of driving the motor by starting energization operation of the bridge circuit when it is determined in the sixth step that the starter switch is on;
An eighth step of detecting whether or not the rotation of the motor has stopped after driving the motor in the seventh step;
When it is detected in the eighth step that the rotation of the motor is stopped, it is determined whether or not the motor drive time limit has elapsed since the start of the energization operation of the bridge circuit. And the steps
A tenth step of stopping the energization operation of the bridge circuit and deactivating the motor when it is determined that the motor drive time limit has elapsed since the energization operation of the bridge circuit was started; ,
An eleventh step of prohibiting driving of the motor after the motor driving time limit has elapsed ;
A twelfth step of determining whether or not the motor drive prohibition time has elapsed after prohibiting the motor drive when it is determined that the motor drive is not permitted in the fifth step; And run
If it is determined in the twelfth step that the motor drive prohibition time has not elapsed since the motor drive was prohibited, the method returns to the second step, and the motor drive circuit control method is characterized in that .
前記第8のステップにおいて前記モータの回転が停止したことを検出していない場合は、前記第2のステップに戻る
ことを特徴とする請求項1に記載のモータ駆動回路の制御方法。
The method for controlling a motor drive circuit according to claim 1, wherein if it is not detected in the eighth step that the rotation of the motor has stopped, the process returns to the second step.
前記第9のステップにおいて前記モータ駆動制限時間を経過していないと判断した場合には、前記第2のステップに戻る
ことを特徴とする請求項1に記載のモータ駆動回路の制御方法。
The method for controlling a motor drive circuit according to claim 1, wherein if it is determined in the ninth step that the motor drive limit time has not elapsed, the process returns to the second step.
前記第11のステップにおいて前記モータの駆動を禁止した後、前記第2のステップに戻ることを特徴とする請求項1に記載のモータ駆動回路の制御方法。   The method for controlling a motor drive circuit according to claim 1, wherein after the drive of the motor is prohibited in the eleventh step, the process returns to the second step. 前記第12のステップにおいて前記モータ駆動禁止時間が経過していると判断した場合には、前記モータの駆動を許可する第13のステップをさらに実行し、
前記第13のステップにおいて前記モータの駆動を許可した後、前記第2のステップに戻る
ことを特徴とする請求項に記載のモータ駆動回路の制御方法。
If it is determined in the twelfth step that the motor drive prohibition time has elapsed, a thirteenth step of permitting the motor drive is further executed,
After allowing the driving of the motor in the thirteenth step, the control method of the motor drive circuit according to claim 1, characterized in that return to the second step.
前記第6のステップにおいて前記スタータスイッチがオンしていないと判断した場合には、前記ブリッジ回路の通電動作を停止することにより、前記モータの駆動を停止する第14のステップを、さらに実行することを特徴とする請求項1に記載のモータ駆動回路の制御方法。   If it is determined in the sixth step that the starter switch is not turned on, the fourteenth step of stopping the driving of the motor is further performed by stopping the energization operation of the bridge circuit. The method for controlling a motor driving circuit according to claim 1. 前記第14のステップにおいて前記ブリッジ回路の通電動作を停止することにより前記モータの駆動を停止した後、前記第2のステップに戻ることを特徴とする請求項に記載のモータ駆動回路の制御方法。 7. The method of controlling a motor drive circuit according to claim 6 , wherein after the drive of the motor is stopped by stopping the energization operation of the bridge circuit in the fourteenth step, the process returns to the second step. . 前記モータ駆動制限時間は、検出された前記バッテリ電圧が高くなると短くなるように設定され、一方、検出された前記バッテリ電圧が低くなると長くなるように設定されることを特徴とする請求項1に記載のモータ駆動回路の制御方法。   2. The motor drive time limit is set to be shortened when the detected battery voltage is high, and is set to be long when the detected battery voltage is low. A control method of the motor drive circuit described. 前記モータ駆動制限時間および前記モータ駆動禁止時間は、温度センサにより検出された前記モータ駆動回路の外部の温度に基づいて、補正されることを特徴とする請求項1に記載のモータ駆動回路の制御方法。   The motor drive circuit control according to claim 1, wherein the motor drive limit time and the motor drive inhibition time are corrected based on a temperature outside the motor drive circuit detected by a temperature sensor. Method. 前記モータは、三相ブラシレスモータであり、前記ブリッジ回路は、三相ブリッジ回路であることを特徴とする請求項1に記載のモータ駆動回路の制御方法。   2. The motor drive circuit control method according to claim 1, wherein the motor is a three-phase brushless motor, and the bridge circuit is a three-phase bridge circuit. 3. 前記ブリッジ回路を120度通電方式により通電動作させることにより、前記モータを駆動することを特徴とする請求項10に記載のモータ駆動回路の制御方法。 11. The motor drive circuit control method according to claim 10 , wherein the motor is driven by energizing the bridge circuit by a 120-degree energization method. 前記モータ駆動禁止時間は、前記モータ駆動制限時間の2倍に設定されることを特徴とする請求項11に記載のモータ駆動回路の制御方法。 12. The motor drive circuit control method according to claim 11 , wherein the motor drive inhibition time is set to twice the motor drive time limit. バッテリの正極およびユーザによりオンまたはオフに制御されるメインスイッチの一端に接続される第1のバッテリ端子と、
前記バッテリの負極に接続される第2のバッテリ端子と、
前記メインスイッチの他端およびユーザによりオンまたはオフに制御されるスタータスイッチの一端に接続される第1のスイッチ端子と、
前記スタータスイッチの他端に接続される第2のスイッチ端子と、
前記第1のバッテリ端子と前記第2のバッテリ端子との間に接続され、モータに駆動電流を供給して前記モータのコイルに通電させる通電動作により、前記モータを駆動するブリッジ回路と、
前記ブリッジ回路の通電動作を制御するための制御電圧を前記ブリッジ回路に出力するプリドライバと、
前記プリドライバが出力する前記制御電圧を制御して前記ブリッジ回路の動作を制御するCPUと、
前記第1のバッテリ端子の電圧に基づいて、前記バッテリのバッテリ電圧を検出する電圧検出回路と、
前記メインスイッチがオンすることにより、前記第1のスイッチ端子を介して入力される前記バッテリの電力を、前記CPUを起動するために前記CPUに供給する電源回路と、
前記第2のスイッチ端子の信号に基づいて、前記スタータスイッチがオンしているか否かのスイッチ情報を前記CPUに出力する第1の入力回路と、を備え、
前記CPUは、
前記メインスイッチがオンされている場合には、前記モータの駆動を許可する第1のステップと、
前記バッテリ電圧を前記電圧検出回路により検出する第2のステップと、
前記第2のステップにおいて検出した前記バッテリ電圧に基づいて、モータ駆動制限時間を算出する第3のステップと、
前記第2のステップにおいて検出した前記バッテリ電圧に基づいて、モータ駆動禁止時間を算出する第4のステップと、
前記第3および第4のステップにおいて前記モータ駆動制限時間および前記モータ駆動禁止時間を算出した後、前記モータの駆動を許可しているか否かを判断する第5のステップと、
前記第5のステップにおいて前記モータの駆動を許可していると判断した場合には、前記スタータスイッチがオンしているか否かを判断する第6のステップと、
前記第6のステップにおいて前記スタータスイッチがオンしていると判断した場合には、前記ブリッジ回路の通電動作を開始することにより前記モータを駆動させる第7のステップと、
前記第7のステップにおいて前記モータを駆動させた後、前記モータの回転が停止したか否かを検出する第8のステップと、
前記第8のステップにおいて前記モータの回転が停止していることを検出した場合には、前記ブリッジ回路の通電動作を開始してから前記モータ駆動制限時間を経過したか否かを判断する第9のステップと、
前記ブリッジ回路の通電動作を開始してから前記モータ駆動制限時間を経過していると判断した場合には、前記ブリッジ回路の通電動作を停止して前記モータの駆動を停止する第10のステップと、
前記モータ駆動制限時間を経過した後、前記モータの駆動を禁止する第11のステップと、
前記第5のステップにおいて前記モータの駆動を許可していないと判断した場合には、前記モータの駆動を禁止してから前記モータ駆動禁止時間が経過しているか否かを判断する第12のステップと、を実行し、
前記第12のステップにおいて前記モータの駆動を禁止してから前記モータ駆動禁止時間が経過していないと判断した場合には、前記第2のステップに戻る
ことを特徴とするモータ駆動回路。
A first battery terminal connected to the positive electrode of the battery and one end of a main switch controlled on or off by the user;
A second battery terminal connected to the negative electrode of the battery;
A first switch terminal connected to the other end of the main switch and one end of a starter switch controlled on or off by a user;
A second switch terminal connected to the other end of the starter switch;
A bridge circuit that is connected between the first battery terminal and the second battery terminal and that drives the motor by an energization operation that supplies a drive current to the motor and energizes the coil of the motor;
A pre-driver that outputs a control voltage for controlling the energization operation of the bridge circuit to the bridge circuit;
A CPU for controlling the operation of the bridge circuit by controlling the control voltage output by the pre-driver;
A voltage detection circuit for detecting a battery voltage of the battery based on a voltage of the first battery terminal;
When the main switch is turned on, a power supply circuit that supplies the power of the battery input via the first switch terminal to the CPU for starting the CPU;
A first input circuit that outputs to the CPU switch information indicating whether or not the starter switch is turned on based on a signal from the second switch terminal;
The CPU
A first step of permitting driving of the motor when the main switch is on;
A second step of detecting the battery voltage by the voltage detection circuit;
A third step of calculating a motor drive time limit based on the battery voltage detected in the second step;
A fourth step of calculating a motor drive inhibition time based on the battery voltage detected in the second step;
A fifth step of determining whether or not driving of the motor is permitted after calculating the motor drive limit time and the motor drive prohibition time in the third and fourth steps;
A sixth step of determining whether or not the starter switch is on when it is determined in the fifth step that driving of the motor is permitted;
A seventh step of driving the motor by starting energization operation of the bridge circuit when it is determined in the sixth step that the starter switch is on;
An eighth step of detecting whether or not the rotation of the motor has stopped after driving the motor in the seventh step;
When it is detected in the eighth step that the rotation of the motor is stopped, it is determined whether or not the motor drive time limit has elapsed since the start of the energization operation of the bridge circuit. And the steps
A tenth step of stopping the energization operation of the bridge circuit and deactivating the motor when it is determined that the motor drive time limit has elapsed since the energization operation of the bridge circuit was started; ,
An eleventh step of prohibiting driving of the motor after the motor driving time limit has elapsed ;
A twelfth step of determining whether or not the motor drive prohibition time has elapsed after prohibiting the motor drive when it is determined that the motor drive is not permitted in the fifth step; And run
The motor drive circuit according to claim 12, wherein if it is determined in the twelfth step that the motor drive inhibition time has not elapsed since the motor drive was prohibited, the process returns to the second step .
JP2013546512A 2013-02-14 2013-02-14 Motor drive circuit control method and motor drive circuit Active JP5628448B1 (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2013/053582 WO2014125604A1 (en) 2013-02-14 2013-02-14 Method for controlling motor drive circuit, and motor drive circuit

Publications (2)

Publication Number Publication Date
JP5628448B1 true JP5628448B1 (en) 2014-11-19
JPWO2014125604A1 JPWO2014125604A1 (en) 2017-02-02

Family

ID=51353634

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013546512A Active JP5628448B1 (en) 2013-02-14 2013-02-14 Motor drive circuit control method and motor drive circuit

Country Status (4)

Country Link
JP (1) JP5628448B1 (en)
CN (1) CN104115394B (en)
TW (1) TWI491165B (en)
WO (1) WO2014125604A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7193502B2 (en) 2020-07-08 2022-12-20 株式会社ユタカ技研 Wheels for floating type brake discs and saddle type vehicles

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI580171B (en) * 2016-03-30 2017-04-21 國立虎尾科技大學 Driving circuit for speed adjustment of ac motor and ac motor system using the same
JP6719952B2 (en) * 2016-04-18 2020-07-08 株式会社マキタ Electric work machine
JP6642608B2 (en) * 2018-03-19 2020-02-05 株式会社椿本チエイン Motor device

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5785528A (en) * 1980-11-17 1982-05-28 Hitachi Ltd Motor protecting device
JPS58218887A (en) * 1982-06-14 1983-12-20 Matsushita Electric Ind Co Ltd Dc brushless motor
JPS6460223A (en) * 1987-08-26 1989-03-07 Aisin Seiki Excess current detector for motor
JPH1042586A (en) * 1996-07-18 1998-02-13 Olympus Optical Co Ltd Motor drive circuit
JP2002204589A (en) * 2000-12-28 2002-07-19 Matsushita Electric Works Ltd Motor drive control device for on-vehicle equipment
JP2006060901A (en) * 2004-08-19 2006-03-02 Matsushita Electric Ind Co Ltd Motor drive unit
JP2008220043A (en) * 2007-03-05 2008-09-18 Mitsubishi Heavy Ind Ltd Motor overcurrent supply protection system, refrigeration-cycle system, refrigeration-cycle system control method
JP4738287B2 (en) * 2006-09-01 2011-08-03 株式会社カワデン Motor overcurrent detection circuit

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3489523B2 (en) * 2000-02-16 2004-01-19 国産電機株式会社 Battery charger
JP4445978B2 (en) * 2007-04-12 2010-04-07 ローム株式会社 Motor drive device, motor control method, and cooling device using the same
CN101158262B (en) * 2007-11-10 2012-09-05 中山市克劳迪光电企业有限公司 Automatic door brushless motor resistance-encountering discrimination detecting technique
JP5376392B2 (en) * 2008-02-14 2013-12-25 日立工機株式会社 Electric tool
CN102045014A (en) * 2010-11-29 2011-05-04 辽宁工业大学 Brushless DC motor controller for four-wheel independently driven electric automobile and control method thereof

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5785528A (en) * 1980-11-17 1982-05-28 Hitachi Ltd Motor protecting device
JPS58218887A (en) * 1982-06-14 1983-12-20 Matsushita Electric Ind Co Ltd Dc brushless motor
JPS6460223A (en) * 1987-08-26 1989-03-07 Aisin Seiki Excess current detector for motor
JPH1042586A (en) * 1996-07-18 1998-02-13 Olympus Optical Co Ltd Motor drive circuit
JP2002204589A (en) * 2000-12-28 2002-07-19 Matsushita Electric Works Ltd Motor drive control device for on-vehicle equipment
JP2006060901A (en) * 2004-08-19 2006-03-02 Matsushita Electric Ind Co Ltd Motor drive unit
JP4738287B2 (en) * 2006-09-01 2011-08-03 株式会社カワデン Motor overcurrent detection circuit
JP2008220043A (en) * 2007-03-05 2008-09-18 Mitsubishi Heavy Ind Ltd Motor overcurrent supply protection system, refrigeration-cycle system, refrigeration-cycle system control method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7193502B2 (en) 2020-07-08 2022-12-20 株式会社ユタカ技研 Wheels for floating type brake discs and saddle type vehicles

Also Published As

Publication number Publication date
JPWO2014125604A1 (en) 2017-02-02
TWI491165B (en) 2015-07-01
CN104115394A (en) 2014-10-22
WO2014125604A1 (en) 2014-08-21
TW201433077A (en) 2014-08-16
CN104115394B (en) 2016-09-14

Similar Documents

Publication Publication Date Title
CN110460254B (en) Control circuit for power converter
JP6622249B2 (en) Motor drive control device and motor drive control method
US8269442B2 (en) Method and apparatus for driving a brushless D.C. motor
JP2008141828A (en) Motor driving device and motor driving method
JP5628448B1 (en) Motor drive circuit control method and motor drive circuit
JP6899319B2 (en) Motor drive control device and motor control method
JP2020137175A (en) Motor drive controller and drive control method of motor
JP5531868B2 (en) Temperature detection apparatus and temperature detection method
JP4940104B2 (en) Compressor control device
JP6165877B2 (en) Power converter and method for controlling permanent magnet synchronous motor
US20190379315A1 (en) Brushless dc motor control method and control device
JP2019037095A (en) Drive control device for motor and drive control method for motor
JP7074074B2 (en) Motor drive device and electric power steering device
US20140035503A1 (en) Three-phase motor driving apparatus and three-phase motor driving method
JP6683647B2 (en) Motor drive circuit control device and motor drive circuit diagnostic method
JP6680227B2 (en) Control device for rotating electric machine
TW202010236A (en) Fixed rotation direction start-up method for single phase sensorless DC brushless motor
JP2007228704A (en) Motor driver
JP2006115641A (en) Control method and device for brushless electric motor, and vehicles of brushless electric motor
US11652433B2 (en) Motor actuator for on-vehicle equipment
JP4590658B2 (en) Control device
JP2009177915A (en) Brushless motor drive controller
JP6967998B2 (en) Motor drive
JP6851835B2 (en) Motor drive
JP7095965B2 (en) Motor drive

Legal Events

Date Code Title Description
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: 20140902

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20141001

R150 Certificate of patent or registration of utility model

Ref document number: 5628448

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150