JP6109059B2 - Motor control circuit and motor control circuit short detection method - Google Patents

Motor control circuit and motor control circuit short detection method Download PDF

Info

Publication number
JP6109059B2
JP6109059B2 JP2013261527A JP2013261527A JP6109059B2 JP 6109059 B2 JP6109059 B2 JP 6109059B2 JP 2013261527 A JP2013261527 A JP 2013261527A JP 2013261527 A JP2013261527 A JP 2013261527A JP 6109059 B2 JP6109059 B2 JP 6109059B2
Authority
JP
Japan
Prior art keywords
motor
short
value
duty ratio
circuit
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.)
Expired - Fee Related
Application number
JP2013261527A
Other languages
Japanese (ja)
Other versions
JP2015119560A (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.)
Honda Motor Co Ltd
Mitsuba Corp
Original Assignee
Honda Motor Co Ltd
Mitsuba Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Honda Motor Co Ltd, Mitsuba Corp filed Critical Honda Motor Co Ltd
Priority to JP2013261527A priority Critical patent/JP6109059B2/en
Publication of JP2015119560A publication Critical patent/JP2015119560A/en
Application granted granted Critical
Publication of JP6109059B2 publication Critical patent/JP6109059B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Emergency Protection Circuit Devices (AREA)
  • Protection Of Generators And Motors (AREA)
  • Control Of Direct Current Motors (AREA)

Description

本発明は、モータ制御回路及びモータ制御回路のショート検出方法に関する。   The present invention relates to a motor control circuit and a motor control circuit short detection method.

アクティブフォースペダルは、アクセルペダルを戻す方向に力を発生させることで、ペダルの反力を強める動作を行う機能を有する。このアクティブフォースペダルによれば、アクセルペダルの反力をアクティブに制御することで、車の急発進、急加速の防止や、エコ運転の支援を図ることが可能である。このようなアクティブフォースペダルでは、アクセルペダルに対して反力を与えるモータが設けられ、このモータのトルクを制御することで、アクセルペダルの反力がアクティブに制御される。   The active force pedal has a function of performing an operation of increasing the reaction force of the pedal by generating a force in a direction to return the accelerator pedal. According to this active force pedal, it is possible to prevent sudden start and acceleration of the vehicle and to support eco-driving by actively controlling the reaction force of the accelerator pedal. In such an active force pedal, a motor that provides a reaction force to the accelerator pedal is provided, and the reaction force of the accelerator pedal is actively controlled by controlling the torque of the motor.

また、このようなアクティブフォースペダルに用いられるモータを制御するモータ制御回路としては、モータに流れる電流値が目標値となるように、MOSFET(Metal-Oxide-Semiconductor Field-Effect Transistor)等のスイッチング素子により、モータに供給する電源をPWM(Pulse Width Modulation)制御するものが用いられている。すなわち、このようなモータ制御回路では、各種の条件に応じてモータのトルクの目標値が決められ、このモータのトルクの目標値に対応する駆動電流が求められる。そして、目標となる駆動電流とモータを流れる電流とが比較され、この比較出力に応じて、スイッチング信号のデューティ比が制御される。このようなフィードバック制御により、モータが所望のトルクで駆動する。   In addition, as a motor control circuit for controlling a motor used in such an active force pedal, a switching element such as a MOSFET (Metal-Oxide-Semiconductor Field-Effect Transistor) is used so that a current value flowing through the motor becomes a target value. Therefore, a power supply for controlling the power supplied to the motor by PWM (Pulse Width Modulation) is used. That is, in such a motor control circuit, a target value of the motor torque is determined according to various conditions, and a driving current corresponding to the target value of the motor torque is obtained. Then, the target drive current and the current flowing through the motor are compared, and the duty ratio of the switching signal is controlled according to this comparison output. By such feedback control, the motor is driven with a desired torque.

また、特許文献1に示されるように、モータ制御回路では、電源端子からモータを経由して接地端子に流れる電源の経路中にシャント抵抗が設けられ、このシャント抵抗の両端電圧を検出してショート状態が判定される。つまり、モータの短絡が生じると、電源端子からモータを経由して接地端子に流れる電流が大電流となる。このことから、このシャント抵抗の両端電圧から、電源端子からモータを経由して接地端子に流れる経路の電流を検出し、この電流の検出値と所定の閾値とを比較し、この電流の検出値が所定の閾値を越えた場合に、ショートが発生したと判定する。この特許文献1では、半導体スイッチのオン抵抗をシャント抵抗として用いている。   Further, as disclosed in Patent Document 1, in the motor control circuit, a shunt resistor is provided in the path of the power source that flows from the power source terminal to the ground terminal via the motor, and a short-circuit is detected by detecting the voltage across the shunt resistor. The state is determined. That is, when a short circuit of the motor occurs, the current flowing from the power supply terminal to the ground terminal via the motor becomes a large current. From this, the current of the path that flows from the power supply terminal to the ground terminal via the motor is detected from the voltage across the shunt resistor, and the detected value of this current is compared with a predetermined threshold value. Determines that a short circuit has occurred. In Patent Document 1, the on-resistance of a semiconductor switch is used as a shunt resistor.

特開2000−299631号公報JP 2000-299631 A

しかしながら、モータへの電源経路中のシャント抵抗により検出された電流検出値と所定の閾値を比較することでショート状態を検出する構成では、モータがある程度の短絡抵抗をもつショート(例えばレアショート)を起こした場合、ショート状態を正確に検知することが難しい。   However, in the configuration in which the short-circuit state is detected by comparing the current detection value detected by the shunt resistance in the power supply path to the motor with a predetermined threshold value, the motor has a short circuit with a certain short-circuit resistance (for example, a rare short circuit). When it happens, it is difficult to accurately detect the short-circuit condition.

つまり、短絡抵抗が殆ど0Ωとなるような場合には、モータへの経路中の電流が大電流となり、シャント抵抗の両端電圧から検出された電流値が閾値を越え、ショート状態が検知される。そして、ショートが検知された場合には、モータの回転が停止され、回路保護が図られる。   That is, when the short-circuit resistance is almost 0Ω, the current in the path to the motor becomes a large current, the current value detected from the voltage across the shunt resistance exceeds the threshold value, and a short state is detected. When a short circuit is detected, the rotation of the motor is stopped and circuit protection is achieved.

しかしながら、ある程度の短絡抵抗があるようなショートが発生した場合、電流検出値が大きくなるため、上述のフィードバック制御により、デューティ比が下がるように、スイッチング信号のパルス幅が制御される。スイッチング信号のデューティ比が下げられると、モータへの経路を流れる電流が減少するため、検出電流値が下がり、この検出電流値が閾値を越えないような状態が続く場合がある。この場合、上述した技術では、ショート検出を行うことができない状態が続く可能性がある。ショートが検出できない状態が続くと、その制御を行っている間においても、モータに電流が流れ続けるため、モータに負担がかかってしまう。また、この場合、アクセルペダルを踏んだときの踏力が通常時とは異なるため、ユーザに違和感を与える。   However, when a short circuit having a certain short-circuit resistance occurs, the current detection value increases. Therefore, the pulse width of the switching signal is controlled so that the duty ratio is reduced by the feedback control described above. When the duty ratio of the switching signal is lowered, the current flowing through the path to the motor is reduced, so that the detected current value is lowered and a state where the detected current value does not exceed the threshold value may continue. In this case, there is a possibility that a state in which short detection cannot be performed continues with the technique described above. If a state in which a short circuit cannot be detected continues, a current continues to flow through the motor even during the control thereof, which places a burden on the motor. Also, in this case, the pedaling force when the accelerator pedal is depressed is different from the normal time, which gives the user a sense of discomfort.

上述の課題を鑑み、本発明は、ある程度の短絡抵抗があるようなショートが発生した場合でも、ショートの発生を確実に検知することができるモータ制御回路及びモータ制御回路のショート検出方法を提供することを目的とする。   In view of the above problems, the present invention provides a motor control circuit and a motor control circuit short detection method capable of reliably detecting the occurrence of a short even when a short circuit having a certain short circuit resistance occurs. For the purpose.

上述の課題を鑑み、本発明は、電源端子とモータとの間に設けられ第1のスイッチング素子と、接地端子と前記モータとの間に設けられた第2のスイッチング素子と、前記モータを流れる電流の検出値に応じて、前記第1及び前記第2のスイッチング素子をオン/オフ制御させるスイッチング信号のデューティ比を制御するモータ制御部と、前記電源端子と前記モータとの間の経路中を流れる電流の検出値が予め定められた第1の閾値より大きい場合に、過電流検出信号を出力すると判定するショート検出回路と、前記過電流検出信号を受信するとショート状態であると判定するショート判定部と、を備えるモータ制御回路であって、前記ショート判定部は、前記スイッチング信号のデューティ比が規定デューティ比よりも小さく、且つ、前記電源端子と前記モータとの間の経路中を流れる電流の検出値が前記第1の閾値よりも低い値に設定された第2の閾値より大きい場合にショートが発生していると判定することを特徴とする。 In view of the above-mentioned problems, the present invention flows through a first switching element provided between a power supply terminal and a motor, a second switching element provided between a ground terminal and the motor, and the motor. A motor control unit that controls a duty ratio of a switching signal that controls on / off of the first and second switching elements according to a detected value of the current, and a path between the power supply terminal and the motor. If the first larger threshold detection value reaches a predetermined current flowing determines the short detection circuit determines that you output an overcurrent detection signal, when receiving the overcurrent detection signal is short-circuited a motor control circuit comprising a short judging unit, wherein the short determination unit, the duty ratio of the switching signal is smaller than the prescribed duty ratio, and, prior to Determining that a short circuit has occurred when the detected value of the current flowing in the path between the power supply terminal and the motor is greater than a second threshold value set to a value lower than the first threshold value. Features.

また、本発明は、上述のモータ制御回路において、前記モータ制御部は、前記ショート判定部によってショートが発生していると判定されると、前記モータの動作を停止させることを特徴とする。   According to the present invention, in the motor control circuit described above, the motor control unit stops the operation of the motor when it is determined by the short determination unit that a short circuit has occurred.

また、本発明は、上述のモータ制御回路において、前記電源端子と前記モータとの間の経路中に設けられる第1のシャント抵抗と、前記第1のシャント抵抗と前記モータとの間に接続される第2のシャント抵抗とを有し、前記ショート判定部は、前記第1のシャント抵抗により検出された前記電源端子と前記モータとの間の経路中を流れる電流の検出値を用いて前記ショートが発生しているか否かの判定を行い、前記モータ制御部は、前記第2のシャント抵抗により検出された前記モータを流れる電流の検出値を用いて前記スイッチング信号のデューティ比を制御することを特徴とする。 In the motor control circuit described above, the present invention is connected to a first shunt resistor provided in a path between the power supply terminal and the motor, and between the first shunt resistor and the motor. And the short determination unit uses the detected value of the current flowing in the path between the power supply terminal and the motor detected by the first shunt resistor to detect the short circuit. The motor control unit controls the duty ratio of the switching signal using a detected value of the current flowing through the motor detected by the second shunt resistor. Features.

また、本発明は、上述のモータ制御回路において、前記第1のスイッチング素子のドレインと前記第2のスイッチング素子のドレインとの間に環流ダイオードが設けられることを特徴とする。 In the motor control circuit according to the present invention, a free-wheeling diode is provided between the drain of the first switching element and the drain of the second switching element .

また、本発明は、上述のモータ制御回路において、更に、前記スイッチング信号のデューティ比が前記規定デューティ比よりも小さく、且つ、前記電源端子と前記モータとの間の経路中を流れる電流の検出値が前記第2の閾値より大きくなる時間を計測するタイマ部を有し、前記ショート判定部は、前記スイッチング信号のデューティ比が前記規定デューティ比よりも小さく、且つ、前記電源端子と前記モータとの間の経路中を流れる電流の検出値が前記第2の閾値より大きくなる時間が予め定められた時間継続した場合に、前記ショートが発生したと判定することを特徴とする。 In the motor control circuit described above, the duty ratio of the switching signal is smaller than the specified duty ratio, and the detected value of the current flowing in the path between the power supply terminal and the motor is further provided. Has a timer unit that measures a time when the switching signal is greater than the second threshold , and the short determination unit has a duty ratio of the switching signal smaller than the specified duty ratio, and the power supply terminal and the motor when the detected value of the current flowing through the path between has duration magnitude Kunar time than the second threshold value is predetermined, and judging with the short circuit occurs.

また、本発明は、電源端子とモータとの間に設けられた第1のスイッチング素子と、接地端子と前記モータとの間に設けられた第2のスイッチング素子と、が設けられ、前記モータを流れる電流を検出し、前記モータを流れる電流の検出値に応じて、前記第1及び前記第2のスイッチング素子をオン/オフ制御させるスイッチング信号のデューティ比を制御するモータ制御回路のショート検出方法であって、前記電源端子と前記モータとの間の経路中を流れる電流を検出し、前記検出した前記電流の検出値が、予め設定された第1の閾値よりも大きい場合、又は前記スイッチング信号のデューティ比が規定デューティ比よりも小さく、且つ、前記電源端子と前記モータとの間の経路中を流れる電流の検出値前記第1の閾値よりも低い値に設定された第2の閾値より大きい場合のいずれかの場合においてショートが発生していると判定することを特徴とする。
Further, the present invention includes a first switching element provided between the power supply terminal and the motor, a second switching element provided between the ground terminal motor, is provided before SL motor detecting a current flowing through, according to the detected value of the current flowing in the motor, the short detection of the motor control circuit for controlling the duty ratio of the first and the second switching signal to the switching element oN / oFF controlled A method of detecting a current flowing in a path between the power supply terminal and the motor, wherein the detected value of the detected current is greater than a preset first threshold, or the switching smaller than the duty ratio of the signal is defined duty ratio, and, set to a value lower than the detection value of the first threshold value of the current flowing through the path between the power supply terminal motor Shi Yoto to and determines that has occurred in the case of any of greater than a second threshold value that is.

本発明によれば、スイッチング信号のデューティ比が所定値以下で、且つ、電源とモータとの間の経路中を流れる電流の検出値が基準電流値以上であることを検出した場合にショートが発生したことを検知するようにした。これにより、ある程度の短絡抵抗があるショートが発生した場合にも、高い精度でショートの発生を検出できる。   According to the present invention, a short circuit occurs when it is detected that the duty ratio of the switching signal is equal to or less than a predetermined value and the detected value of the current flowing in the path between the power source and the motor is equal to or greater than the reference current value. Detected what happened. Thereby, even when a short circuit having a certain short circuit resistance occurs, the occurrence of the short circuit can be detected with high accuracy.

本発明の第1の実施形態に係るモータ制御回路の構成を示すブロック図である。1 is a block diagram illustrating a configuration of a motor control circuit according to a first embodiment of the present invention. 本発明の第1の実施形態に係るモータ制御回路の機能ブロック図である。1 is a functional block diagram of a motor control circuit according to a first embodiment of the present invention. スイッチング信号のデューティ比と上段電流検出回路からの検出電流値との関係を示すグラフである。It is a graph which shows the relationship between the duty ratio of a switching signal, and the detected current value from an upper stage current detection circuit. 本発明の第1の実施形態に係るモータ制御回路の説明に用いるフローチャートである。It is a flowchart used for description of the motor control circuit which concerns on the 1st Embodiment of this invention. 本発明の第2の実施形態に係るモータ制御回路の機能ブロック図である。It is a functional block diagram of the motor control circuit which concerns on the 2nd Embodiment of this invention.

以下、本発明の実施の形態について図面を参照しながら説明する。
<第1の実施形態>
図1は、本発明の第1の実施形態に係るモータ制御回路1の構成を示すブロック図である。図1に示すように、本発明の第1の実施形態に係るモータ制御回路1は、MOSFET(Metal-Oxide-Semiconductor Field-Effect Transistor)11及び12と、抵抗13及び14と、ダイオード15と、制御回路30と、上段電流検出回路31と、ショート検出回路32と、下段電流検出回路33と、駆動回路35及び36とを備えている。
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
<First Embodiment>
FIG. 1 is a block diagram showing a configuration of a motor control circuit 1 according to the first embodiment of the present invention. As shown in FIG. 1, the motor control circuit 1 according to the first embodiment of the present invention includes MOSFETs (Metal-Oxide-Semiconductor Field-Effect Transistors) 11 and 12, resistors 13 and 14, a diode 15, A control circuit 30, an upper stage current detection circuit 31, a short detection circuit 32, a lower stage current detection circuit 33, and drive circuits 35 and 36 are provided.

電源端子18とモータ端子16との間に、抵抗13、MOSFET11、抵抗14が直列に接続される。モータ端子17と接地端子19との間に、MOSFET12が接続される。電源端子18と接地端子19との間には、バッテリからの直流電源が供給される。MOSFET12のドレインにそのアノード、MOSFET11のドレインにそのカソードが接続されるように、MOSFET12のドレインとMOSFET11のドレインとの間に、ダイオード15が接続される。ダイオード15は、環流時や発電時において、抵抗14がモータ電流を検出するための閉回路を形成するためのものである。   A resistor 13, a MOSFET 11, and a resistor 14 are connected in series between the power supply terminal 18 and the motor terminal 16. The MOSFET 12 is connected between the motor terminal 17 and the ground terminal 19. A DC power supply from the battery is supplied between the power supply terminal 18 and the ground terminal 19. A diode 15 is connected between the drain of the MOSFET 12 and the drain of the MOSFET 11 so that its anode is connected to the drain of the MOSFET 12 and its cathode is connected to the drain of the MOSFET 11. The diode 15 is for forming a closed circuit for the resistor 14 to detect the motor current during circulation or power generation.

MOSFET11及び12は、モータ10の駆動電源をPWM(Pulse Width Modulation)制御するスイッチング素子である。MOSFET11及び12のゲートには、制御回路30から駆動回路35及び36をそれぞれ介して、スイッチング信号が供給される。MOSFET11及び12は、このスイッチング信号により、オン/オフ制御される。なお、MOSFET11及び12と並列に接続されたダイオード21及び22は、逆流防止用のダイオードである。   The MOSFETs 11 and 12 are switching elements that perform PWM (Pulse Width Modulation) control on the drive power supply of the motor 10. Switching signals are supplied to the gates of the MOSFETs 11 and 12 from the control circuit 30 via the drive circuits 35 and 36, respectively. The MOSFETs 11 and 12 are on / off controlled by this switching signal. The diodes 21 and 22 connected in parallel with the MOSFETs 11 and 12 are diodes for preventing backflow.

抵抗13は、ショート検出用のシャント抵抗である。抵抗13の両端電圧が上段電流検出回路31に供給される。上段電流検出回路31により、電源端子18と接地端子19との間の経路に流れる電流値が検出される。上段電流検出回路31の出力がショート検出回路32に供給されると共に、制御回路30のAD(Analog to Digital)入力ポートに供給される。なお、抵抗41及びコンデンサ42は、上段電流検出回路31からの電流検出値を平均化する積分回路を構成する。ショート検出回路32は、上段電流検出回路31からの電流検出値と第1の閾値Vr1とを比較してショート検出を行う。ショート検出回路32の出力が制御回路30に供給される。   The resistor 13 is a shunt resistor for detecting a short circuit. The voltage across the resistor 13 is supplied to the upper stage current detection circuit 31. The upper stage current detection circuit 31 detects the value of the current flowing through the path between the power supply terminal 18 and the ground terminal 19. The output of the upper stage current detection circuit 31 is supplied to the short detection circuit 32 and also supplied to the AD (Analog to Digital) input port of the control circuit 30. The resistor 41 and the capacitor 42 constitute an integration circuit that averages the current detection value from the upper stage current detection circuit 31. The short detection circuit 32 compares the current detection value from the upper stage current detection circuit 31 with the first threshold value Vr1, and performs short detection. The output of the short detection circuit 32 is supplied to the control circuit 30.

抵抗14は、モータトルクのフィードバック制御を行うためのモータ電流検出用のシャント抵抗である。抵抗14の両端電圧が下段電流検出回路33に供給される。下段電流検出回路33は、モータ10に流れる電流を検出する。下段電流検出回路33からの電流検出値は、制御回路30のAD入力ポートに供給される。なお、抵抗43及びコンデンサ44は、下段電流検出回路33からの電流検出値を平均化する積分回路を構成する。   The resistor 14 is a motor current detection shunt resistor for performing feedback control of the motor torque. The voltage across the resistor 14 is supplied to the lower current detection circuit 33. The lower stage current detection circuit 33 detects a current flowing through the motor 10. The current detection value from the lower stage current detection circuit 33 is supplied to the AD input port of the control circuit 30. The resistor 43 and the capacitor 44 constitute an integration circuit that averages the current detection values from the lower stage current detection circuit 33.

上述のように、本発明の第1の実施形態に係るモータ制御回路1では、電源端子18と接地端子19との間の経路中に、抵抗13と抵抗14との2つのシャント抵抗が設けられている。抵抗13及び上段電流検出回路31は、ショート検出を行うために、電源端子18と接地端子19との間の経路に流れる電流値を検出している。抵抗14及び下段電流検出回路33は、モータ10のトルクを目標値に設定するために、モータ10を流れる電流を検出している。   As described above, in the motor control circuit 1 according to the first embodiment of the present invention, the two shunt resistors 13 and 14 are provided in the path between the power supply terminal 18 and the ground terminal 19. ing. The resistor 13 and the upper stage current detection circuit 31 detect the value of the current flowing through the path between the power supply terminal 18 and the ground terminal 19 in order to detect a short circuit. The resistor 14 and the lower-stage current detection circuit 33 detect the current flowing through the motor 10 in order to set the torque of the motor 10 to a target value.

まず、本発明の第1の実施形態に係るモータ制御回路1におけるトルク制御について、図2の機能ブロック図を参照しながら説明する。   First, torque control in the motor control circuit 1 according to the first embodiment of the present invention will be described with reference to the functional block diagram of FIG.

図2は、図1に示した本発明の第1の実施形態に係るモータ制御回路1から、その動作説明に必要な部分を、機能ブロック図として示したものである。すなわち、図2では、図1に示したモータ制御回路1の構成中、抵抗41及びコンデンサ42、抵抗43及びコンデンサ44等、動作の説明に不要な部分は削除してある。また、MOSFET11及び12は、その動作に基づいて、スイッチ回路として示してある。また、制御回路30については、その動作に基づいて、機能ブロックで示してある。   FIG. 2 is a functional block diagram showing parts necessary for the explanation of the operation from the motor control circuit 1 according to the first embodiment of the present invention shown in FIG. That is, in the configuration of the motor control circuit 1 shown in FIG. 1, portions unnecessary for the description of the operation, such as the resistor 41 and the capacitor 42, the resistor 43 and the capacitor 44, are deleted in FIG. MOSFETs 11 and 12 are shown as switch circuits based on their operation. The control circuit 30 is shown as a functional block based on its operation.

本発明の第1の実施形態に係るモータ制御回路1は、例えば、アクティブフォースペダルにおいて、ペダルに反力を与えるためのモータ10の制御に用いられる。制御回路30には、CPU(Central Processing Unit)、メモリ、AD(Analog to Digital)コンバータ、DA(Digital to Analog)コンバータ等が収められており、制御回路30は、プログラムに従って、各種の制御を行う。図2に示すように、制御回路30をその機能に基づいてブロック化すると、モータ制御部51と、ショート判定部52と、AD変換部53及び54とで表すことができる。   The motor control circuit 1 according to the first embodiment of the present invention is used to control the motor 10 for applying a reaction force to the pedal, for example, in an active force pedal. The control circuit 30 contains a CPU (Central Processing Unit), a memory, an AD (Analog to Digital) converter, a DA (Digital to Analog) converter, and the like. The control circuit 30 performs various controls according to a program. . As shown in FIG. 2, when the control circuit 30 is blocked based on its function, it can be represented by a motor control unit 51, a short determination unit 52, and AD conversion units 53 and 54.

目標トルク値Saは、車両の上位制御回路(図示せず)から取得され、モータ制御部51に送られる。モータ制御部51は、上位制御回路から得られた目標トルク値Saを基に、モータ10に対する駆動電流の目標値を算出する。   The target torque value Sa is acquired from an upper control circuit (not shown) of the vehicle and is sent to the motor control unit 51. The motor control unit 51 calculates the target value of the drive current for the motor 10 based on the target torque value Sa obtained from the host control circuit.

前述したように、モータ10に流れる電流は、抵抗14の両端電圧から、下段電流検出回路33で検出される。この下段電流検出回路33の電流検出値Sbは、AD変換部53でディジタル化され、モータ制御部51に送られる。   As described above, the current flowing through the motor 10 is detected by the lower-stage current detection circuit 33 from the voltage across the resistor 14. The current detection value Sb of the lower stage current detection circuit 33 is digitized by the AD conversion unit 53 and sent to the motor control unit 51.

モータ制御部51は、下段電流検出回路33からの電流検出値Sbと、目標トルク値Saを基に設定された駆動電流の目標値とを比較し、この比較出力に基づいて、スイッチング信号のパルス幅(デューティ比)を制御する。このスイッチング信号Sc1及びSc2は、駆動回路35及び36を介して、MOSFET11及び12のゲートに供給される。これにより、モータ10に流れる電流値が所望の電流となるようなフィードバック制御が行われ、モータ10を目標とするトルクで回転させることができる。   The motor control unit 51 compares the current detection value Sb from the lower stage current detection circuit 33 with the target value of the drive current set based on the target torque value Sa, and based on this comparison output, the pulse of the switching signal Controls the width (duty ratio). The switching signals Sc1 and Sc2 are supplied to the gates of the MOSFETs 11 and 12 via the drive circuits 35 and 36. Thereby, feedback control is performed such that the current value flowing through the motor 10 becomes a desired current, and the motor 10 can be rotated with a target torque.

すなわち、下段電流検出回路33からの電流検出値Sbが目標値より小さい場合には、モータ制御部51は、スイッチング信号のデューティ比が大きくなるように、スイッチング信号のパルス幅を制御する。これにより、モータ10を流れる電流が増加し、モータ10のトルクが上げられる。これに対して、下段電流検出回路33からの電流検出値Sbが目標値より大きい場合には、モータ制御部51は、スイッチング信号のデューティ比が小さくなるように、スイッチング信号のパルス幅を制御する。これにより、モータ10を流れる電流が減少し、モータ10のトルクが下げられる。このようなフィードバック制御により、目標とするトルクでモータ10を回転させることができる。   That is, when the current detection value Sb from the lower-stage current detection circuit 33 is smaller than the target value, the motor control unit 51 controls the pulse width of the switching signal so that the duty ratio of the switching signal is increased. Thereby, the electric current which flows through the motor 10 increases, and the torque of the motor 10 is raised. On the other hand, when the current detection value Sb from the lower-stage current detection circuit 33 is larger than the target value, the motor control unit 51 controls the pulse width of the switching signal so that the duty ratio of the switching signal becomes small. . Thereby, the electric current which flows through the motor 10 reduces, and the torque of the motor 10 is reduced. By such feedback control, the motor 10 can be rotated with a target torque.

次に、本発明の第1の実施形態に係るモータ制御回路1におけるショート検出制御について、図2の機能ブロック図を参照しながら説明する。   Next, short detection control in the motor control circuit 1 according to the first embodiment of the present invention will be described with reference to the functional block diagram of FIG.

図2において、モータ10に短絡が生じると、モータ10の端子間の抵抗が小さくなり、電源端子18から接地端子19への経路中に過電流が流れる。これにより、上段電流検出回路31からの検出電流値が大きくなる。   In FIG. 2, when a short circuit occurs in the motor 10, the resistance between the terminals of the motor 10 decreases, and an overcurrent flows in the path from the power supply terminal 18 to the ground terminal 19. Thereby, the detection current value from the upper stage current detection circuit 31 becomes large.

前述したように、ショート検出回路32は、上段電流検出回路31からの電流検出値と第1の閾値Vr1とを比較して、ショート検出を行っている。モータ端子16とモータ端子17とが接触した場合のように、モータ端子間の抵抗が殆ど0Ωとなるような場合には、電源端子18と接地端子19との間の経路を流れる電流が大電流となり、上段電流検出回路31からの電流検出値は、第1の閾値Vr1より大きくなる。また、モータ端子16が地絡になるような場合にも、電源端子18と接地端子19との間の経路を流れる電流が大電流となり、上段電流検出回路31からの電流検出値は、第1の閾値Vr1より大きくなる。上段電流検出回路31からの検出電流値が第1の閾値Vr1より大きくなると、ショート検出回路32から、過電流検出信号Sdが出力される。   As described above, the short detection circuit 32 compares the current detection value from the upper stage current detection circuit 31 with the first threshold value Vr1, and performs short detection. When the resistance between the motor terminals is almost 0Ω, such as when the motor terminal 16 and the motor terminal 17 are in contact, the current flowing through the path between the power supply terminal 18 and the ground terminal 19 is a large current. Thus, the current detection value from the upper stage current detection circuit 31 is larger than the first threshold value Vr1. Even when the motor terminal 16 becomes a ground fault, the current flowing through the path between the power supply terminal 18 and the ground terminal 19 becomes a large current, and the current detection value from the upper stage current detection circuit 31 is the first value. Greater than the threshold value Vr1. When the detected current value from the upper stage current detection circuit 31 becomes larger than the first threshold value Vr1, the overcurrent detection signal Sd is output from the short detection circuit 32.

ショート検出回路32からの過電流検出信号Sdは、ショート判定部52に送られる。ショート判定部52は、ショート検出回路32からの過電流検出信号Sdを受信すると、ショート状態であると判定し、モータ制御部51にショート検出信号Seを送信する。モータ制御部51は、ショート判定部52からのショート検出信号Seを受信すると、駆動回路35及び36を操作し、モータ10の動作を停止させる。   The overcurrent detection signal Sd from the short detection circuit 32 is sent to the short determination unit 52. When the short determination unit 52 receives the overcurrent detection signal Sd from the short detection circuit 32, the short determination unit 52 determines that it is in a short state and transmits a short detection signal Se to the motor control unit 51. Upon receiving the short detection signal Se from the short determination unit 52, the motor control unit 51 operates the drive circuits 35 and 36 to stop the operation of the motor 10.

このように、短絡抵抗が殆ど0Ωとなるような場合には、上段電流検出回路31からの検出電流値が第1の閾値Vr1を越える。このため、ショート検出回路32から過電流検出信号Sdが出力され、これにより、ショート状態が検知される。   Thus, when the short-circuit resistance is almost 0Ω, the detected current value from the upper stage current detection circuit 31 exceeds the first threshold value Vr1. For this reason, the overcurrent detection signal Sd is output from the short detection circuit 32, thereby detecting a short state.

しかしながら、モータ10がレアショートを起こした場合のように、ある程度の短絡抵抗があるときには、ショート検出回路32でショートによる過電流が検知できない状態になることがあり得る。なお、レアショートとは、巻線の絶縁被膜が溶けて巻線同士がショートしているような状態である。   However, when there is a certain amount of short-circuit resistance as in the case where the motor 10 has caused a short circuit, the short detection circuit 32 may not be able to detect an overcurrent due to a short circuit. The rare short is a state in which the windings are short-circuited due to melting of the insulating film of the windings.

つまり、レアショートを起こした場合のように、モータ端子16とモータ端子17との間にある程度の短絡抵抗があるようなショートが発生した場合、下段電流検出回路33の電流検出値が大きくなる。このため、駆動電流の目標値に対して、下段電流検出回路33の電流検出値が大きくなり、モータ制御部51は、デューティ比が下がるように、スイッチング信号のパルス幅の制御を行う。スイッチング信号のデューティ比が下げられると、電源端子18から接地端子19への経路を流れる電流が減少する。このため、上段電流検出回路31からの検出電流値が下がり、上段電流検出回路31からの検出電流値が第1の閾値Vr1を越えることがなくなる。したがって、ショート検出回路32でショートが検出できない状態が続くことになる。   That is, when a short circuit having a certain amount of short circuit resistance occurs between the motor terminal 16 and the motor terminal 17 as in the case of a rare short circuit, the current detection value of the lower stage current detection circuit 33 increases. For this reason, the current detection value of the lower stage current detection circuit 33 becomes larger than the target value of the drive current, and the motor control unit 51 controls the pulse width of the switching signal so that the duty ratio decreases. When the duty ratio of the switching signal is lowered, the current flowing through the path from the power supply terminal 18 to the ground terminal 19 decreases. For this reason, the detection current value from the upper stage current detection circuit 31 decreases, and the detection current value from the upper stage current detection circuit 31 does not exceed the first threshold value Vr1. Therefore, a state in which a short cannot be detected by the short detection circuit 32 continues.

このことについて、図3のグラフを用いて更に説明する。図3は、スイッチング信号のデューティ比と、上段電流検出回路31からの電流検出値との関係を示すグラフであり、横軸はスイッチング信号のデューティ比を示し、縦軸は上段電流検出回路31からの検出電流値を示す。また、図3において、曲線A1は電流値が最大となる条件での特性であり、曲線A2は標準値での特性であり、曲線A3は電流値が最小となる条件での特性である。ショート検出回路32の第1の閾値Vr1は、例えば8Aに設定される。短絡抵抗が殆ど0Ωなら、ショート発生時の上段電流検出回路31からの検出電流値は第1の閾値Vr1(例えば8A)を越えるため、ショート検出回路32により、ショートの発生が検知できる。   This will be further described with reference to the graph of FIG. FIG. 3 is a graph showing the relationship between the duty ratio of the switching signal and the current detection value from the upper stage current detection circuit 31, the horizontal axis shows the duty ratio of the switching signal, and the vertical axis shows from the upper stage current detection circuit 31. The detected current value is shown. In FIG. 3, a curve A1 is a characteristic under a condition where the current value is maximum, a curve A2 is a characteristic at a standard value, and a curve A3 is a characteristic under a condition where the current value is minimum. The first threshold value Vr1 of the short detection circuit 32 is set to 8A, for example. If the short-circuit resistance is almost 0Ω, the detected current value from the upper-stage current detection circuit 31 at the time of occurrence of a short circuit exceeds the first threshold value Vr1 (for example, 8A).

ところが、レアショート発生時のように、ある程度の短絡抵抗があると、ショート発生時の上段電流検出回路31からの検出電流値が第1の閾値Vr1を越えないことがある。この場合、駆動電流の目標値に対して下段電流検出回路33の電流検出値が大きくなるため、パルス幅がフィードバック制御され、スイッチング信号のデューティ比が例えば40%以下となる。スイッチング信号のデューティ比が下げられると、電源端子18から接地端子19への経路を流れる電流が減少する。このため、上段電流検出回路31からの検出電流値は、第1の閾値Vr1(例えば8A)を越えなくなり、ショート検出回路32では、ショートの発生が検知できない状態が続くことになる。   However, if there is a certain amount of short-circuit resistance, such as when a rare short occurs, the detected current value from the upper stage current detection circuit 31 may not exceed the first threshold value Vr1 when a short occurs. In this case, since the current detection value of the lower-stage current detection circuit 33 is larger than the target value of the drive current, the pulse width is feedback-controlled, and the duty ratio of the switching signal is 40% or less, for example. When the duty ratio of the switching signal is lowered, the current flowing through the path from the power supply terminal 18 to the ground terminal 19 decreases. For this reason, the detected current value from the upper stage current detection circuit 31 does not exceed the first threshold value Vr1 (for example, 8A), and the short detection circuit 32 continues to be in a state where the occurrence of a short circuit cannot be detected.

このように、ある程度の短絡抵抗がある場合には、スイッチング信号のデューティ比が下げられ、電源端子18から接地端子19への経路を流れる電流が減少するため、ショート検出回路32ではショートの発生が検知できなくなる。   In this way, when there is a certain short-circuit resistance, the duty ratio of the switching signal is lowered, and the current flowing through the path from the power supply terminal 18 to the ground terminal 19 is reduced. Cannot be detected.

そこで、本発明の第1の実施形態では、スイッチング信号のデューティ比が規定デューティ比(以下、所定値ともいう)以下で、且つ、上段電流検出回路31の電流検出値が基準電流値(以下、第2の閾値ともいう)以上の場合には、ショートが発生したと判定するようにしている。つまり、レアショート発生時のように、ある程度の短絡抵抗がある場合には、上述のようなフィードバック制御により、スイッチング信号のデューティ比は下げられる。通常の状態なら、スイッチング信号のデューティ比を下げることにより、図3に示した特性に従って、上段電流検出回路31の電流検出値は所定値以下まで下がっていくが、レアショート発生時のような場合には、スイッチング信号のデューティ比を下げても、上段電流検出回路31の電流検出値は所定値以下まで下がらない。したがって、スイッチング信号のデューティ比が所定値(例えば40%)以下で、且つ、上段電流検出回路31の電流検出値が第2の閾値Vr2(例えば5A)以上の場合には、ショートが発生したと判定できる。   Therefore, in the first embodiment of the present invention, the duty ratio of the switching signal is equal to or less than a specified duty ratio (hereinafter also referred to as a predetermined value), and the current detection value of the upper stage current detection circuit 31 is equal to a reference current value (hereinafter referred to as In this case, it is determined that a short circuit has occurred. That is, when there is a certain amount of short circuit resistance, such as when a rare short circuit occurs, the duty ratio of the switching signal is reduced by the feedback control as described above. In the normal state, by reducing the duty ratio of the switching signal, the current detection value of the upper-stage current detection circuit 31 decreases to a predetermined value or less according to the characteristics shown in FIG. Even if the duty ratio of the switching signal is lowered, the current detection value of the upper stage current detection circuit 31 does not fall below a predetermined value. Therefore, when the duty ratio of the switching signal is a predetermined value (for example, 40%) or less and the current detection value of the upper stage current detection circuit 31 is the second threshold value Vr2 (for example, 5 A) or more, a short circuit has occurred. Can be judged.

ここで、第2の閾値Vr2は、図3のグラフを基に設定できる。すなわち、第2の閾値Vr2は、ショート検出回路32で検出できない過電流を検出するものであるから、第1の閾値Vr1(例えば8A)より低い値となる。また、第2の閾値Vr2は、デューティ比が所定値以下での正常時の上段電流検出回路31の電流検出値より大きい値にする必要がある。デューティ比が40%以下での正常時の検出電流値の最大値は、図3のグラフから、2.5A程度である。このことから、この例では、第2の閾値Vr2を、例えば、5Aに設定している。   Here, the second threshold value Vr2 can be set based on the graph of FIG. That is, since the second threshold value Vr2 detects an overcurrent that cannot be detected by the short detection circuit 32, the second threshold value Vr2 is lower than the first threshold value Vr1 (for example, 8A). Further, the second threshold value Vr2 needs to be a value larger than the current detection value of the upper stage current detection circuit 31 at the normal time when the duty ratio is equal to or less than a predetermined value. From the graph of FIG. 3, the maximum value of the detected current value at the normal time when the duty ratio is 40% or less is about 2.5A. Therefore, in this example, the second threshold value Vr2 is set to 5A, for example.

図2において、上段電流検出回路31の電流検出値Sfは、AD変換部54でディジタル化され、ショート判定部52に供給される。また、ショート判定部52には、モータ制御部51から、スイッチング信号のデューティ比信号Sgが供給される。ショート判定部52は、スイッチング信号のデューティ比が所定値(例えば40%)以下で、且つ、電流検出値が第2の閾値Vr2(例えば5A)以上の場合には、ショート状態であると判定し、モータ制御部51にショート検出信号Seを送信する。モータ制御部51は、ショート判定部52からのショート検出信号Seを受信すると、駆動回路35及び36を操作し、モータ10の動作を停止させる。   In FIG. 2, the current detection value Sf of the upper stage current detection circuit 31 is digitized by the AD conversion unit 54 and supplied to the short determination unit 52. Further, the duty ratio signal Sg of the switching signal is supplied from the motor control unit 51 to the short determination unit 52. When the duty ratio of the switching signal is equal to or less than a predetermined value (for example, 40%) and the current detection value is equal to or greater than the second threshold value Vr2 (for example, 5A), the short determination unit 52 determines that the short state is present. Then, a short detection signal Se is transmitted to the motor control unit 51. Upon receiving the short detection signal Se from the short determination unit 52, the motor control unit 51 operates the drive circuits 35 and 36 to stop the operation of the motor 10.

図4は、本発明の第1の実施形態に係るモータ制御回路1におけるショート検出処理を示すフローチャートである。   FIG. 4 is a flowchart showing a short detection process in the motor control circuit 1 according to the first embodiment of the present invention.

図4において、ショート判定部52は、ショート検出回路32からの過電流検出信号Sdを受信したか否かを判定し(ステップS1)、過電流検出信号Sdを受信した場合には(ステップS1:Yes)、ショート状態であると判定し、モータ制御部51にショート検出信号Seを送信し(ステップS2)、モータ制御部51は、モータ10の動作を停止させる(ステップS3)。   In FIG. 4, the short determination unit 52 determines whether or not the overcurrent detection signal Sd from the short detection circuit 32 is received (step S1), and when the overcurrent detection signal Sd is received (step S1: Yes), it determines with it being in a short state, transmits short detection signal Se to motor control part 51 (Step S2), and motor control part 51 stops operation of motor 10 (Step S3).

過電流検出信号Sdを受信しない場合には(ステップS1:No)、ショート判定部52は、モータ制御部51からのデューティ比信号Sgを基に、スイッチング信号のデューティ比が所定値以下か否かを判定し(ステップS4)、デューティ比が所定値以下の場合には(ステップS4:Yes)、上段電流検出回路31からの電流検出値Sfが第2の閾値Vr2以上か否かを判定する(ステップS5)。スイッチング信号のデューティ比が所定値以下ではない(ステップS4;No)、又は、電流検出値が第2の閾値Vr2以上ではない(ステップS5:No)場合には、ショート判定部52は、ショートは発生していないと判定し、処理をステップS1にリターンする。   When the overcurrent detection signal Sd is not received (step S1: No), the short determination unit 52 determines whether the duty ratio of the switching signal is equal to or less than a predetermined value based on the duty ratio signal Sg from the motor control unit 51. (Step S4), and when the duty ratio is equal to or less than a predetermined value (step S4: Yes), it is determined whether or not the current detection value Sf from the upper stage current detection circuit 31 is equal to or greater than the second threshold value Vr2 (step S4). Step S5). If the duty ratio of the switching signal is not less than the predetermined value (step S4; No), or if the current detection value is not equal to or greater than the second threshold value Vr2 (step S5: No), the short determination unit 52 It determines with having not generate | occur | produced, and returns a process to step S1.

ステップS4で、スイッチング信号のデューティ比が所定値以下であると判定され(ステップS4:Yes)、且つ、ステップS4で、上段電流検出回路31からの電流検出値が第2の閾値Vr2以上であると判定された場合(ステップS5:Yes)、ショート判定部52は、ショート状態であると判定し、モータ制御部51にショート検出信号Seを送信し(ステップS2)、モータ制御部51は、モータ10の動作を停止させる(ステップS3)。   In step S4, it is determined that the duty ratio of the switching signal is equal to or less than a predetermined value (step S4: Yes), and in step S4, the current detection value from the upper stage current detection circuit 31 is greater than or equal to the second threshold value Vr2. Is determined (step S5: Yes), the short determination unit 52 determines that the short state has occurred, and transmits a short detection signal Se to the motor control unit 51 (step S2). 10 is stopped (step S3).

以上説明したように、本発明の第1の実施形態では、スイッチング信号のデューティ比が所定値以下で、且つ、上段電流検出回路31の検出電流値が第2の閾値Vr2以上であることを検出して、ショートの発生を検知している。これにより、レアショート発生時のように、ある程度の短絡抵抗がある場合でも、ショート発生を検知することができる。また、本発明の第1の実施形態に係るモータ制御回路1では、モータの回転を検出するような回路を設けることなく、レアショート発生時のように、ある程度の短絡抵抗があるようなショートの状態を検出できる。また、本発明の第1の実施形態では、スイッチング信号のデューティ比が所定値以下か否かの判定や、上段電流検出回路31の検出電流値が第2の閾値Vr2を越えたか否かの判定を制御回路30のソフトウェアで行っているため、閾値を最適化することが容易である。   As described above, in the first embodiment of the present invention, it is detected that the duty ratio of the switching signal is not more than a predetermined value and the detected current value of the upper stage current detection circuit 31 is not less than the second threshold value Vr2. The occurrence of a short circuit is detected. Thereby, even when there is a certain amount of short-circuit resistance, such as when a rare short occurs, the occurrence of a short can be detected. Further, in the motor control circuit 1 according to the first embodiment of the present invention, there is no short circuit that has a certain short-circuit resistance, such as when a short circuit occurs, without providing a circuit that detects the rotation of the motor. The state can be detected. Further, in the first embodiment of the present invention, it is determined whether or not the duty ratio of the switching signal is equal to or less than a predetermined value, or whether or not the detected current value of the upper stage current detection circuit 31 exceeds the second threshold value Vr2. Since this is performed by the software of the control circuit 30, it is easy to optimize the threshold value.

また、本発明の第1の実施形態に係るモータ制御回路1では、電源端子18と接地端子19との間の経路中に、抵抗13と抵抗14との2つのシャント抵抗を設け、ショート検出を行うための電流検出とモータのトルク制御を行うための電流検出とを別々に行っている。このため、上段電流検出回路31での電流検出値のダイナミックレンジと、下段電流検出回路33での電流検出値のダイナミックレンジとを、それぞれ、最適に設定できる。この場合、下段電流検出回路33では、正常の電流値の範囲内で電流値検出を行うように設定できるため、モータ電流を正確に検出してモータのトルク制御を行うことができる。更に、本発明の第1の実施形態に係るモータ制御回路1では、MOSFET12のドレインにそのアノード、MOSFET11のドレインにそのカソードが接続されるように、MOSFET12のドレインとMOSFET11のドレインとの間に、ダイオード15が接続されるため、環流時や発電時において、モータ電流を正確に検出することができる。   In the motor control circuit 1 according to the first embodiment of the present invention, two shunt resistors, the resistor 13 and the resistor 14, are provided in the path between the power supply terminal 18 and the ground terminal 19 to detect short circuit. Current detection for performing and current detection for performing torque control of the motor are performed separately. Therefore, the dynamic range of the current detection value in the upper stage current detection circuit 31 and the dynamic range of the current detection value in the lower stage current detection circuit 33 can be set optimally. In this case, since the lower-stage current detection circuit 33 can be set to detect the current value within the range of the normal current value, the motor current can be accurately detected and the motor torque can be controlled. Furthermore, in the motor control circuit 1 according to the first embodiment of the present invention, between the drain of the MOSFET 12 and the drain of the MOSFET 11, the anode is connected to the drain of the MOSFET 12 and the cathode is connected to the drain of the MOSFET 11. Since the diode 15 is connected, the motor current can be accurately detected during circulation or power generation.

<第2の実施形態>
図5は、本発明の第2の実施形態に係るモータ制御回路101の機能ブロック図である。図5において、モータ110、MOSFET111及び112、抵抗113及び114、ダイオード115、モータ端子116及び117、電源端子118、接地端子119、制御回路130、上段電流検出回路131、ショート検出回路132、下段電流検出回路133、駆動回路135及び136、モータ制御部151、ショート判定部152、AD変換部153及び154は、図2に示した第1の実施形態のおける、モータ10、MOSFET11及び12、抵抗13及び14、ダイオード15、モータ端子16及び17、電源端子18、接地端子19、制御回路30、上段電流検出回路31、ショート検出回路32、下段電流検出回路33、駆動回路35及び36、モータ制御部51、ショート判定部52、AD変換部53及び54と同様であり、その説明は省略する。
<Second Embodiment>
FIG. 5 is a functional block diagram of the motor control circuit 101 according to the second embodiment of the present invention. In FIG. 5, motor 110, MOSFETs 111 and 112, resistors 113 and 114, diode 115, motor terminals 116 and 117, power supply terminal 118, ground terminal 119, control circuit 130, upper stage current detection circuit 131, short detection circuit 132, lower stage current. The detection circuit 133, the drive circuits 135 and 136, the motor control unit 151, the short determination unit 152, and the AD conversion units 153 and 154 are the motor 10, the MOSFETs 11 and 12, and the resistor 13 in the first embodiment shown in FIG. And 14, diode 15, motor terminals 16 and 17, power supply terminal 18, ground terminal 19, control circuit 30, upper current detection circuit 31, short detection circuit 32, lower current detection circuit 33, drive circuits 35 and 36, motor control unit 51, short determination unit 52, AD conversion units 53 and 54 The same, the description thereof is omitted.

図5に示すように、本発明の第2の実施形態に係るモータ制御回路101では、ショート判定部152に対して、タイマ部155が設けられる。タイマ部155は、スイッチング信号のデューティ比が所定値以下で、且つ、上段電流検出回路131からの電流検出値が第2の閾値Vr2以上となる期間の継続時間をカウントする。そして、ショート判定部152は、スイッチング信号のデューティ比が所定値以下で、且つ、上段電流検出回路131からの電流検出値が第2の閾値Vr2以上となる期間が所定時間(例えば100m秒)継続した場合に、ショートが発生したと判定し、モータ制御部151にショート検出信号を送信して、モータ110の動作を停止させる。   As shown in FIG. 5, in the motor control circuit 101 according to the second embodiment of the present invention, a timer unit 155 is provided for the short determination unit 152. The timer unit 155 counts the duration of a period in which the duty ratio of the switching signal is equal to or less than a predetermined value and the current detection value from the upper stage current detection circuit 131 is equal to or greater than the second threshold value Vr2. Then, the short determination unit 152 continues a period in which the duty ratio of the switching signal is equal to or less than a predetermined value and the current detection value from the upper stage current detection circuit 131 is equal to or greater than the second threshold value Vr2 for a predetermined time (for example, 100 milliseconds) In such a case, it is determined that a short circuit has occurred, and a short detection signal is transmitted to the motor control unit 151 to stop the operation of the motor 110.

以上説明したように、本発明の第2の実施形態では、スイッチング信号のデューティ比が所定値以下で、且つ、上段電流検出回路31の検出電流値が第2の閾値Vr2以上となる期間が所定時間継続した場合に、ショートが発生したと判定するため、ノイズによるショート発生の誤検出を防ぐことができる。   As described above, in the second embodiment of the present invention, the period during which the duty ratio of the switching signal is equal to or smaller than the predetermined value and the detected current value of the upper stage current detection circuit 31 is equal to or greater than the second threshold value Vr2 is predetermined. Since it is determined that a short circuit has occurred when the time continues, it is possible to prevent erroneous detection of a short circuit due to noise.

なお、モータ制御回路1及び101の全部又は一部の機能を実現するためのプログラムをコンピュータ読み取り可能な記録媒体に記録して、この記録媒体に記録されたプログラムをコンピュータシステムに読み込ませ、実行することにより各部の処理を行っても良い。なお、ここでいう「コンピュータシステム」とは、OSや周辺機器等のハードウェアを含むものとする。
また、「コンピュータシステム」は、WWWシステムを利用している場合であれば、ホームページ提供環境(あるいは表示環境)も含むものとする。
また、「コンピュータ読み取り可能な記録媒体」とは、フレキシブルディスク、光磁気ディスク、ROM、CD−ROM等の可搬媒体、コンピュータシステムに内蔵されるハードディスク等の記憶装置のことをいう。更に「コンピュータ読み取り可能な記録媒体」とは、インターネット等のネットワークや電話回線等の通信回線を介してプログラムを送信する場合の通信線のように、短時間の間、動的にプログラムを保持するもの、その場合のサーバやクライアントとなるコンピュータシステム内部の揮発性メモリのように、一定時間プログラムを保持しているものも含むものとする。また上記プログラムは、前述した機能の一部を実現するためのものであっても良く、更に前述した機能をコンピュータシステムにすでに記録されているプログラムとの組み合わせで実現できるものであっても良い。
A program for realizing all or part of the functions of the motor control circuits 1 and 101 is recorded on a computer-readable recording medium, and the program recorded on the recording medium is read into a computer system and executed. The processing of each part may be performed as necessary. Here, the “computer system” includes an OS and hardware such as peripheral devices.
Further, the “computer system” includes a homepage providing environment (or display environment) if a WWW system is used.
The “computer-readable recording medium” refers to a storage device such as a flexible medium, a magneto-optical disk, a portable medium such as a ROM and a CD-ROM, and a hard disk incorporated in a computer system. Further, the “computer-readable recording medium” is a program that dynamically holds a program for a short time, like a communication line when a program is transmitted via a network such as the Internet or a communication line such as a telephone line. In this case, a volatile memory in a computer system serving as a server or a client in that case, and a program that holds a program for a certain period of time are also included. The program may be a program for realizing a part of the above-described functions, or may be a program that can realize the above-described functions in combination with a program already recorded in a computer system.

以上、本発明の実施形態について図面を参照して詳述してきたが、具体的な構成はこの実施形態に限られるものではなく、この発明の要旨を逸脱しない範囲の設計変更等も含まれる。   The embodiment of the present invention has been described in detail with reference to the drawings. However, the specific configuration is not limited to this embodiment, and includes design changes and the like without departing from the gist of the present invention.

1,101 モータ制御回路
10,110 モータ
13,14,113,114 抵抗
15 ダイオード
18,118 電源端子
19,119 接地端子
30,130 制御回路
31,131 上段電流検出回路
32,132 ショート検出回路
33,133 下段電流検出回路
35,36,135,136 駆動回路
51,151:モータ制御部
52,152:ショート判定部
53,154:AD変換部
DESCRIPTION OF SYMBOLS 1,101 Motor control circuit 10,110 Motor 13,14,113,114 Resistance 15 Diode 18,118 Power supply terminal 19,119 Ground terminal 30,130 Control circuit 31,131 Upper stage current detection circuit 32,132 Short detection circuit 33, 133 Lower-stage current detection circuits 35, 36, 135, and 136 Drive circuits 51 and 151: Motor control units 52 and 152: Short determination units 53 and 154: AD conversion units

Claims (6)

電源端子とモータとの間に設けられた第1のスイッチング素子と、
接地端子と前記モータとの間に設けられた第2のスイッチング素子と、
前記モータを流れる電流の検出値に応じて、前記第1及び前記第2のスイッチング素子をオン/オフ制御させるスイッチング信号のデューティ比を制御するモータ制御部と、
前記電源端子と前記モータとの間の経路中を流れる電流の検出値が予め定められた第1の閾値より大きい場合に、過電流検出信号を出力するショート検出回路と、
前記過電流検出信号を受信するとショート状態であると判定するショート判定部と、
を備えるモータ制御回路であって、
前記ショート判定部は、前記スイッチング信号のデューティ比が規定デューティ比よりも小さく、且つ、前記電源端子と前記モータとの間の経路中を流れる電流の検出値が前記第1の閾値よりも低い値に設定された第2の閾値より大きい場合にショートが発生していると判定することを特徴とするモータ制御回路。
A first switching element provided between the power supply terminal and the motor;
A second switching element provided between a ground terminal and the motor;
A motor control unit that controls a duty ratio of a switching signal that controls on / off of the first and second switching elements according to a detection value of a current flowing through the motor;
If the first is greater than the threshold detection value of the current flowing in the path is predetermined between said power supply terminal and the motor, and a short detection circuit you output an overcurrent detection signal,
A short determination unit that determines that a short state occurs when the overcurrent detection signal is received;
A motor control circuit comprising:
The short determination unit is configured such that a duty ratio of the switching signal is smaller than a specified duty ratio, and a detected value of a current flowing in a path between the power supply terminal and the motor is lower than the first threshold value. A motor control circuit, characterized in that it is determined that a short circuit has occurred when the second threshold value is greater than the second threshold value.
前記モータ制御部は、前記ショート判定部によってショートが発生していると判定されると、前記モータの動作を停止させることを特徴とする請求項1に記載のモータ制御回路。   The motor control circuit according to claim 1, wherein the motor control unit stops the operation of the motor when it is determined by the short determination unit that a short circuit has occurred. 前記電源端子と前記モータとの間の経路中に設けられる第1のシャント抵抗と、
前記第1のシャント抵抗と前記モータとの間に接続される第2のシャント抵抗とを有し、
前記ショート判定部は、前記第1のシャント抵抗により検出された前記電源端子と前記モータとの間の経路中を流れる電流の検出値を用いて前記ショートが発生しているか否かの判定を行い、
前記モータ制御部は、前記第2のシャント抵抗により検出された前記モータを流れる電流の検出値を用いて前記スイッチング信号のデューティ比を制御する
ことを特徴とする請求項1又は2に記載のモータ制御回路。
A first shunt resistor provided in a path between the power supply terminal and the motor;
A second shunt resistor connected between the first shunt resistor and the motor;
The short determination unit determines whether or not the short has occurred using a detection value of a current flowing in a path between the power supply terminal and the motor detected by the first shunt resistor. ,
The motor according to claim 1, wherein the motor control unit controls a duty ratio of the switching signal using a detected value of a current flowing through the motor detected by the second shunt resistor. Control circuit.
前記第1のスイッチング素子のドレインと前記第2のスイッチング素子のドレインとの間に環流ダイオードが設けられる
ことを特徴とする請求項1から請求項3のうちいずれか1項に記載のモータ制御回路。
4. The motor control circuit according to claim 1, wherein a free-wheeling diode is provided between the drain of the first switching element and the drain of the second switching element. 5. .
更に、前記スイッチング信号のデューティ比が前記規定デューティ比よりも小さく、且つ、前記電源端子と前記モータとの間の経路中を流れる電流の検出値が前記第2の閾値より大きくなる時間を計測するタイマ部を有し、
前記ショート判定部は、前記スイッチング信号のデューティ比が前記規定デューティ比よりも小さく、且つ、前記電源端子と前記モータとの間の経路中を流れる電流の検出値が前記第2の閾値より大きくなる時間が予め定められた時間継続した場合に、前記ショートが発生したと判定する
ことを特徴とする請求項1から請求項4のうちいずれか1項に記載のモータ制御回路。
Further, it measures the time during which the duty ratio of the switching signal is smaller than the specified duty ratio and the detected value of the current flowing in the path between the power supply terminal and the motor is larger than the second threshold value. Having a timer part,
The short determination unit has a duty ratio of the switching signal smaller than the specified duty ratio, and a detected value of a current flowing in a path between the power supply terminal and the motor is larger than the second threshold value. The motor control circuit according to any one of claims 1 to 4, wherein when the time continues for a predetermined time, it is determined that the short circuit has occurred.
電源端子とモータとの間に設けられた第1のスイッチング素子と、接地端子と前記モータとの間に設けられた第2のスイッチング素子と、が設けられ、前記モータを流れる電流を検出し、前記モータを流れる電流の検出値に応じて、前記第1及び前記第2のスイッチング素子をオン/オフ制御させるスイッチング信号のデューティ比を制御するモータ制御回路のショート検出方法であって、
前記電源端子と前記モータとの間の経路中を流れる電流を検出し、
前記検出した前記電流の検出値が、予め設定された第1の閾値よりも大きい場合、又は前記スイッチング信号のデューティ比が規定デューティ比よりも小さく、且つ、前記電源端子と前記モータとの間の経路中を流れる電流の検出値が前記第1の閾値よりも低い値に設定された第2の閾値より大きい場合のいずれかの場合においてショートが発生していると判定する
ことを特徴とするモータ制御回路のショート検出方法。
A first switching element provided between the power supply terminal and the motor, and a second switching element provided between the ground terminal and the motor, and detecting a current flowing through the motor; A short detection method for a motor control circuit for controlling a duty ratio of a switching signal for controlling on / off of the first and second switching elements according to a detection value of a current flowing through the motor,
Detecting a current flowing in a path between the power supply terminal and the motor;
When the detected value of the detected current is larger than a preset first threshold value, or the duty ratio of the switching signal is smaller than a specified duty ratio, and between the power supply terminal and the motor It is determined that a short circuit has occurred in any of the cases where the detected value of the current flowing in the path is larger than the second threshold value set to a value lower than the first threshold value. Control circuit short detection method.
JP2013261527A 2013-12-18 2013-12-18 Motor control circuit and motor control circuit short detection method Expired - Fee Related JP6109059B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013261527A JP6109059B2 (en) 2013-12-18 2013-12-18 Motor control circuit and motor control circuit short detection method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013261527A JP6109059B2 (en) 2013-12-18 2013-12-18 Motor control circuit and motor control circuit short detection method

Publications (2)

Publication Number Publication Date
JP2015119560A JP2015119560A (en) 2015-06-25
JP6109059B2 true JP6109059B2 (en) 2017-04-05

Family

ID=53531839

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013261527A Expired - Fee Related JP6109059B2 (en) 2013-12-18 2013-12-18 Motor control circuit and motor control circuit short detection method

Country Status (1)

Country Link
JP (1) JP6109059B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102019106787B3 (en) * 2019-03-18 2020-08-13 Webasto SE Method for checking a semiconductor switch for a fault
CN110212898B (en) * 2019-07-05 2023-07-25 捷普科技(上海)有限公司 Multichannel switch control system and method

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000236659A (en) * 1999-02-12 2000-08-29 Yazaki Corp Switching circuit with current oscillation type interrupt function
JP2001268984A (en) * 2000-03-22 2001-09-28 Advanced Technology Inst Of Commuter Helicopter Ltd Method for detecting failure of motor
JP4398111B2 (en) * 2001-05-21 2010-01-13 Tdkラムダ株式会社 Parallel operation system
JP3748521B2 (en) * 2001-05-30 2006-02-22 三菱電機株式会社 Load current detecting method and apparatus and electric power steering apparatus
JP2011105155A (en) * 2009-11-18 2011-06-02 Denso Corp Motor control device and motor control program

Also Published As

Publication number Publication date
JP2015119560A (en) 2015-06-25

Similar Documents

Publication Publication Date Title
US7688606B2 (en) Power supply control device and precharge processing method
JP5927739B2 (en) Semiconductor device
JP4349398B2 (en) Switching element driving apparatus and switching element driving method
JP5761215B2 (en) Gate drive circuit
US9300207B2 (en) Switching control circuit and control method thereof
US10236679B2 (en) Circuit apparatus and electronic appliance
US8502602B2 (en) Class-D amplifier circuit
US9640978B2 (en) Protection circuit for an inverter as well as inverter system
JP4420012B2 (en) Overcurrent protection circuit
JPWO2010150488A1 (en) Power supply protection circuit and motor drive device including the same
JP2008148496A (en) Charging apparatus
JP6361531B2 (en) Semiconductor device and motor control device
JP2018011467A (en) Gate drive circuit for semiconductor switching element
JP6109059B2 (en) Motor control circuit and motor control circuit short detection method
JP5124292B2 (en) Power switch circuit
JP6324696B2 (en) LOAD DRIVE DEVICE, VEHICLE AIR CONDITIONER INCLUDING THE SAME, AND LOAD SHORT PROTECTION CIRCUIT
JP2012235683A (en) Load control and protection system, and operation and usage of the same
JP2009290287A (en) Switching circuit and driving circuit of transistor
CN111464029A (en) Current sensing controller for DC-DC converter
JP2005236731A (en) Overcurrent protection circuit and semiconductor device
JP2010130758A (en) Power conversion apparatus
CN111030052B (en) Back electromotive force protection circuit and motor
US11264795B2 (en) Electronic circuit breaker and method for operating same
JP2009095166A (en) Gate driving device for voltage control type switching device
JP6753348B2 (en) Switching element drive circuit

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20150918

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20160621

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20160622

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20160809

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20161108

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20161227

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20170307

R150 Certificate of patent or registration of utility model

Ref document number: 6109059

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees