JP2010239815A - Motor control device - Google Patents

Motor control device Download PDF

Info

Publication number
JP2010239815A
JP2010239815A JP2009086512A JP2009086512A JP2010239815A JP 2010239815 A JP2010239815 A JP 2010239815A JP 2009086512 A JP2009086512 A JP 2009086512A JP 2009086512 A JP2009086512 A JP 2009086512A JP 2010239815 A JP2010239815 A JP 2010239815A
Authority
JP
Japan
Prior art keywords
control signal
pwm control
phase pwm
duty ratio
signal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2009086512A
Other languages
Japanese (ja)
Other versions
JP5714806B2 (en
Inventor
Takeya Yanagihara
健也 柳原
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Mitsuba Corp
Original Assignee
Mitsuba Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitsuba Corp filed Critical Mitsuba Corp
Priority to JP2009086512A priority Critical patent/JP5714806B2/en
Publication of JP2010239815A publication Critical patent/JP2010239815A/en
Application granted granted Critical
Publication of JP5714806B2 publication Critical patent/JP5714806B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Inverter Devices (AREA)
  • Control Of Motors That Do Not Use Commutators (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a motor control device that carries out synchronous rectification control to enhance the efficiency of input/output in a motor. <P>SOLUTION: The motor control device 1 includes a selecting means 62. When the current value of a current supplied from a DC power supply BT to a motor M is less than a current threshold, the selecting means selects a positive-phase PWM control signal supplied from a positive-phase PWM control signal generating means 51 and outputs it. When the current value is equal to or higher than the current threshold, it selects a positive-phase PWM control signal supplied form a positive-phase PWM control signal generating means 52 and a negative-phase PWM control signal supplied from a negative-phase PWM control signal generating means 53 and outputs them. <P>COPYRIGHT: (C)2011,JPO&INPIT

Description

この発明は、パルス幅変調(以下「PWM」という。)制御を行うモータ制御装置に関するものである。   The present invention relates to a motor control device that performs pulse width modulation (hereinafter referred to as “PWM”) control.

従来、モータに供給される電流の制御をPWM制御により行うモータ制御装置が知られている(例えば特許文献1参照)。このモータ制御装置は、直流電源からの電流をモータに備えられている電気巻線に供給するインバータ回路を備え、インバータ回路は、直列に接続されたハイサイドおよびローサイドのスイッチ素子からなるハーフブリッジ回路を複数備えている。そして、ハーフブリッジ回路のハイサイドのスイッチ素子は直流電源に接続され、ローサイドのスイッチ素子は接地に接続されている。そして、モータ制御装置が行うPWM制御により、各ハーフブリッジ回路に備えられているハイサイドまたはローサイドのスイッチ素子のいずれか一方が、選択的にオンオフ制御され、このスイッチ素子のオンオフ制御により電源からモータの電気巻線に供給される電流の電流値が制御される。   2. Description of the Related Art Conventionally, a motor control device that performs control of current supplied to a motor by PWM control is known (see, for example, Patent Document 1). The motor control device includes an inverter circuit that supplies current from a DC power source to an electric winding provided in the motor, and the inverter circuit is a half-bridge circuit including high-side and low-side switch elements connected in series. There are multiple. The high-side switch element of the half-bridge circuit is connected to a DC power supply, and the low-side switch element is connected to the ground. Then, by PWM control performed by the motor control device, either the high-side or low-side switch element provided in each half-bridge circuit is selectively turned on / off, and the motor from the power source is controlled by the on / off control of the switch element. The current value of the current supplied to the electrical winding is controlled.

上記のように、PWM制御によりハイサイドまたはローサイドのスイッチ素子のいずれか一方のスイッチ素子が選択的にオンオフ制御されるとき、一方のスイッチ素子がオフ状態のときに電流が還流される電気回路がないと、一方のスイッチ素子がオン状態のときに電気巻線に供給された電流により、電気巻線の端子間の電圧は高電圧となり電気巻線においてエネルギーの損失が生じてしまう。そのため、ハイサイドおよびローサイドのスイッチ素子としては、一般に、ボディダイオードが寄生されている電界効果トランジスタ(以下「FET」という。)が用いられている。そして、一方のスイッチ素子がオフしたときに、他方のスイッチ素子に寄生されているボディダイオードにより形成される電気回路を電気巻線に供給された電流は還流する。   As described above, when one of the high-side switch element and the low-side switch element is selectively turned on / off by PWM control, an electric circuit in which current flows back when one switch element is in the off state Otherwise, due to the current supplied to the electrical winding when one of the switch elements is in the on state, the voltage between the terminals of the electrical winding becomes a high voltage and energy loss occurs in the electrical winding. For this reason, field effect transistors (hereinafter referred to as “FETs”) in which body diodes are parasitic are generally used as the high-side and low-side switch elements. When one switch element is turned off, the current supplied to the electric winding flows back through the electric circuit formed by the body diode parasitic on the other switch element.

しかしながら、ボディダイオードにより形成される電気回路を電流が還流する場合には、ボディダイオードには順方向電圧が生じ、この順方向電圧と還流する電流によりスイッチ素子に損失が生じる。また、この損失の値は、順方向電圧の電圧値と還流する電流の電流値の積となり、例えば、順方向電圧の電圧値が0.6Vであるとすると、還流する電流の電流値が2Aの場合、1.2Wもの損失が発生する。   However, when a current flows back through the electric circuit formed by the body diode, a forward voltage is generated in the body diode, and a loss occurs in the switch element due to the forward voltage and the flowing current. The value of this loss is the product of the voltage value of the forward voltage and the current value of the circulating current. For example, if the voltage value of the forward voltage is 0.6 V, the current value of the circulating current is 2A. In this case, a loss of 1.2 W occurs.

上記の電流を還流させるときにボディダイオードに生じる損失を少なくするため、一方のスイッチ素子がオフした直後に、他方のスイッチ素子をオンし電流を還流させる制御方法が用いられる場合がある。この制御方法は、同期整流制御と呼ばれている。なお、直流電源から電流を供給するために、一方のスイッチ素子をPWM制御によりオンオフ制御するものを正相PWM制御と呼ぶとともに正相PWM制御に用いられる信号を正相PWM制御信号と呼び、モータに供給された電流を還流させるために、他方のスイッチ素子をPWM制御によりオンオフ制御するものを逆相PWM制御と呼ぶとともに逆相PWM制御に用いられる信号を逆相PWM制御信号と呼ぶこととする。   In order to reduce the loss generated in the body diode when the current is circulated, a control method may be used in which the other switch element is turned on and the current is circulated immediately after the one switch element is turned off. This control method is called synchronous rectification control. In addition, in order to supply current from a DC power source, one switch element that is on / off controlled by PWM control is called positive phase PWM control, and a signal used for positive phase PWM control is called positive phase PWM control signal. In order to recirculate the current supplied to the capacitor, the other switch element that is on / off controlled by PWM control is called reverse-phase PWM control, and the signal used for reverse-phase PWM control is called reverse-phase PWM control signal. .

特開2003−324928号公報JP 2003-324928 A

しかしながら、直流電源からモータに供給される電流の電流値が小さいときに同期整流制御を行うと、モータに供給された電流が直流電源に回生されてしまう。このように、モータに供給された電流が直流電源に回生されてしまうと、モータに備えられているロータにブレーキ力が生じ、モータの入出力効率が低下するという問題があった。   However, if the synchronous rectification control is performed when the current value of the current supplied from the DC power supply to the motor is small, the current supplied to the motor is regenerated in the DC power supply. As described above, when the current supplied to the motor is regenerated to the DC power source, there is a problem in that the braking force is generated in the rotor provided in the motor and the input / output efficiency of the motor is lowered.

このような課題を解決して、モータの入出力効率の向上を実現できるモータ制御装置として、モータにPWM制御により電流を供給するモータ制御装置において、直流電源に接続されたハイサイドのスイッチ素子と、接地に接続されたローサイドのスイッチ素子からなるハーフブリッジ回路を複数有し、前記ハイサイドまたはローサイドのスイッチ素子のオンオフにより、前記直流電源からの電流を前記モータに供給するインバータ回路と、前記直流電源から前記モータに供給される電流の電流値を検出し、前記電流値に対応する電流値信号を出力する電流検出手段と、前記各ハーフブリッジ回路に備えられている前記ハイサイドまたはローサイドのスイッチ素子に制御信号を供給する制御信号生成手段とを備え、前記制御信号生成手段は、正相PWM制御信号を生成する正相PWM制御信号生成手段と、前記正相PWM制御信号生成手段から供給される正相PWM制御信号に基づき、正相PWM制御信号に対し反転信号となる逆相PWM制御信号を生成する逆相PWM制御信号生成手段と、予め定められた電流閾値が記憶されている電流値メモリと、前記電流値メモリに記憶されている前記電流閾値と前記電流検出手段から供給される前記電流値信号を比較し、前記電流値信号が前記電流閾値未満であるときは、正相PWM制御信号生成手段から供給される前記正相PWM制御信号を選択して出力し、前記電流値信号が前記電流閾値以上であるときは、前記正相PWM制御信号生成手段から供給される前記正相PWM制御信号および前記逆相PWM制御信号生成手段から供給される前記逆相PWM制御信号を選択して出力する選択手段とを備える。   As a motor control device that solves such problems and can improve the input / output efficiency of the motor, in the motor control device that supplies current to the motor by PWM control, a high-side switch element connected to a DC power source and An inverter circuit for supplying a current from the DC power source to the motor by turning on or off the high-side or low-side switch element; and a plurality of half-bridge circuits each including a low-side switch element connected to ground Current detection means for detecting the current value of the current supplied from the power source to the motor and outputting a current value signal corresponding to the current value, and the high-side or low-side switch provided in each half-bridge circuit Control signal generating means for supplying a control signal to the element, the control signal generating means A positive phase PWM control signal generating means for generating a WM control signal, and a negative phase PWM control which is an inverted signal with respect to the positive phase PWM control signal based on the positive phase PWM control signal supplied from the positive phase PWM control signal generating means Supplyed from a reverse phase PWM control signal generating means for generating a signal, a current value memory storing a predetermined current threshold, and the current threshold stored in the current value memory and the current detecting means The current value signal is compared, and when the current value signal is less than the current threshold, the positive phase PWM control signal supplied from the positive phase PWM control signal generating means is selected and output, and the current value signal Is equal to or greater than the current threshold, before being supplied from the positive phase PWM control signal and the negative phase PWM control signal generating means supplied from the positive phase PWM control signal generating means. Select reverse phase PWM control signal and a selection means for outputting.

本発明によれば、直流電源からモータに供給される電流の電流値が電流閾値未満であれば、制御信号生成手段からインバータ回路に備わるスイッチ素子に対しては、正相PWM制御信号のみが選択的に供給され同期整流制御は行われない。そのため、直流電源からモータに供給される電流の電流値が小さいときに、モータに供給された電流が直流電源に回生されることがない。その結果、モータに備えられているロータにブレーキ力が生じずモータの入出力効率は向上する。   According to the present invention, if the current value of the current supplied from the DC power source to the motor is less than the current threshold value, only the positive phase PWM control signal is selected from the control signal generating means to the switch element provided in the inverter circuit. The synchronous rectification control is not performed. Therefore, when the current value of the current supplied from the DC power supply to the motor is small, the current supplied to the motor is not regenerated to the DC power supply. As a result, no braking force is generated in the rotor provided in the motor, and the input / output efficiency of the motor is improved.

本発明の実施形態におけるモータ装置のブロック図である。It is a block diagram of a motor device in an embodiment of the present invention. 本発明の実施形態においてデューティ比とキャリア周期との関係を示す図である。It is a figure which shows the relationship between a duty ratio and a carrier period in embodiment of this invention. 本発明の実施形態において制御信号生成手段にて形成される正相PWM制御信号を示すタイミングチャートである。4 is a timing chart showing a positive phase PWM control signal formed by a control signal generation means in the embodiment of the present invention. 本発明の実施形態において制御信号生成手段にて形成される正相PWM制御信号および逆相PWM制御信号を示すタイミングチャートである。It is a timing chart which shows the normal phase PWM control signal and negative phase PWM control signal which are formed in the control signal production | generation means in embodiment of this invention. 本実施形態のモータ装置において電流値が電流閾値を超えたときに出力されるPWM制御信号を説明する図である。It is a figure explaining the PWM control signal output when the electric current value exceeds the electric current threshold value in the motor apparatus of this embodiment. 本発明の実施形態において制御信号生成手段にて遅延処理がなされた正相PWM制御信号および逆相PWM制御信号を示すタイミングチャートである。6 is a timing chart showing a normal phase PWM control signal and a negative phase PWM control signal that have been subjected to delay processing by the control signal generation means in the embodiment of the present invention. 本発明の実施形態における制御信号生成手段で行われる処理を示すフローチャートである。It is a flowchart which shows the process performed by the control signal production | generation means in embodiment of this invention. 本発明の実施形態において制御信号生成手段にて生成される正相PWM制御信号および逆相PWM制御信号を示すタイミングチャートである。It is a timing chart which shows the normal phase PWM control signal and negative phase PWM control signal which are produced | generated by the control signal production | generation means in embodiment of this invention. 本発明の実施形態において制御信号生成手段にて生成される正相PWM制御信号および逆相PWM制御信号を示すタイミングチャートである。It is a timing chart which shows the normal phase PWM control signal and negative phase PWM control signal which are produced | generated by the control signal production | generation means in embodiment of this invention.

次に、この発明の実施形態を図1に基づいて説明する。図1は本発明の実施形態におけるモータ装置のブロック図である。モータ装置100は、例えば、電気自動車の原動機として用いられ、U相、V相およびW相の電気巻線(U、V、W)を有する3相のブラシレスモータ(モータ)Mと、モータMに直流電源BTからの電流を供給するモータ制御装置1とを備えている。   Next, an embodiment of the present invention will be described with reference to FIG. FIG. 1 is a block diagram of a motor device according to an embodiment of the present invention. The motor device 100 is used as a prime mover of an electric vehicle, for example, and includes a three-phase brushless motor (motor) M having U-phase, V-phase and W-phase electrical windings (U, V, W), and a motor M. And a motor control device 1 for supplying a current from the DC power supply BT.

モータ制御装置1は、モータMに備えられているロータ(図示せず)の回転角度を測定する回転角度測定手段としての回転センサ10、モータ制御装置1と直流電源BTを接続する接続線Lに配置され、U相、V相およびW相の電気巻線(U、V、W)に供給される電流の電流値を測定し、測定した電流値に対応する電流値信号を出力する電流検出手段としての電流センサ20、インバータ回路30および制御信号生成手段40を備えている。   The motor control device 1 includes a rotation sensor 10 as a rotation angle measuring means for measuring a rotation angle of a rotor (not shown) provided in the motor M, and a connection line L connecting the motor control device 1 and the DC power source BT. Current detection means for measuring the current value of the current supplied to the U-phase, V-phase and W-phase electrical windings (U, V, W) and outputting a current value signal corresponding to the measured current value As a current sensor 20, an inverter circuit 30, and a control signal generating means 40.

インバータ回路30は、直流電源BTに対し互いに並列に接続された3つのハーフブリッジ回路(31、32、33)を備えている。ハーフブリッジ回路31は、直流電源BTに接続されたハイサイドのスイッチ素子31aと接地GNDに接続されたローサイドのスイッチ素子31bとを備え、ハーフブリッジ回路32は、直流電源BTに接続されたハイサイドのスイッチ素子32aと接地GNDに接続されたローサイドのスイッチ素子32bとを備え、ハーフブリッジ回路33は、直流電源BTに接続されたハイサイドのスイッチ素子33aと接地GNDに接続されたローサイドのスイッチ素子33bとを備えている。また、本実施の形態のスイッチ素子(31a、31b、32a、32b、33a、33b)は、ボディダイオードイDが寄生されたFETである。   The inverter circuit 30 includes three half-bridge circuits (31, 32, 33) connected in parallel to the DC power supply BT. The half-bridge circuit 31 includes a high-side switch element 31a connected to the DC power supply BT and a low-side switch element 31b connected to the ground GND, and the half-bridge circuit 32 includes a high-side switch element 31b connected to the DC power supply BT. Switch element 32a and a low-side switch element 32b connected to the ground GND. The half-bridge circuit 33 includes a high-side switch element 33a connected to the DC power supply BT and a low-side switch element connected to the ground GND. 33b. Further, the switch elements (31a, 31b, 32a, 32b, 33a, 33b) of the present embodiment are FETs in which the body diode D is parasitic.

そして、ハイサイドまたはローサイドのスイッチ素子(31a、31b、32a、32b、33a、33b)のオンオフにより、インバータ回路30は、直流電源BTからの電流をモータMに備えられているU相、V相およびW相の電気巻線(U、V、W)に供給する。また、インバータ回路30には、コンデンサCが並列に接続されており、コンデンサCにより、U相、V相およびW相の電気巻線(U、V、W)に供給される電流の平滑化が行われる。   Then, by turning on or off the high-side or low-side switch elements (31a, 31b, 32a, 32b, 33a, 33b), the inverter circuit 30 causes the current from the DC power supply BT to be supplied to the motor M in the U phase and V phase. And supply to W-phase electrical windings (U, V, W). In addition, a capacitor C is connected to the inverter circuit 30 in parallel, and the current supplied to the U-phase, V-phase, and W-phase electrical windings (U, V, W) is smoothed by the capacitor C. Done.

次に、制御信号生成手段40について図1に基づき説明する。制御信号生成手段40は、目標デューティ比決定手段41、デューティ比メモリ42、デューティ比比較手段43、除算値算出手段44、キャリア周期設定手段としての第1のタイマ45、初期値設定手段46、オフ時間設定手段としての第2のタイマ47、PWM制御信号生成手段500、電流値読込手段60、電流値メモリ61、選択手段62、回転角度検出手段63、通信信号生成手段64および遅延手段65を備えている。そして、制御信号生成手段40は、インバータ回路30に接続され、インバータ回路30に備えられているハイサイドまたはローサイドのスイッチ素子(31a、31b、32a、32b、33a、33b)に制御信号を供給する。   Next, the control signal generation means 40 will be described with reference to FIG. The control signal generation means 40 includes a target duty ratio determination means 41, a duty ratio memory 42, a duty ratio comparison means 43, a division value calculation means 44, a first timer 45 as a carrier cycle setting means, an initial value setting means 46, an off-state. A second timer 47 as a time setting unit, a PWM control signal generation unit 500, a current value reading unit 60, a current value memory 61, a selection unit 62, a rotation angle detection unit 63, a communication signal generation unit 64, and a delay unit 65 are provided. ing. The control signal generation means 40 is connected to the inverter circuit 30 and supplies a control signal to the high-side or low-side switch elements (31a, 31b, 32a, 32b, 33a, 33b) provided in the inverter circuit 30. .

目標デューティ比決定手段41は、車両に取り付けられているアクセル操作手段Aから供給されるアクセル信号を読み込み、読み込まれたアクセル信号に基づき目標デューティ比D1を決定し、目標デューティ比D1に対応する目標デューティ比信号を出力する。デューティ比メモリ42には、予め定められたデューティ比D0が記憶されている。本実施の形態では、予め定められたデューティ比D0として、デューティ比「60%」(D0=60)が記憶されている。   The target duty ratio determining means 41 reads an accelerator signal supplied from the accelerator operating means A attached to the vehicle, determines a target duty ratio D1 based on the read accelerator signal, and a target corresponding to the target duty ratio D1. Outputs a duty ratio signal. The duty ratio memory 42 stores a predetermined duty ratio D0. In the present embodiment, the duty ratio “60%” (D0 = 60) is stored as the predetermined duty ratio D0.

デューティ比比較手段43は、目標デューティ比決定手段41から供給される目標デューティ比信号とデューティ比メモリに記憶されている予め定められたデューティ比D0とを比較し、目標デューティ比信号に対応する目標デューティ比D1が予め定められたデューティ比D0未満であるときは、その旨を第1の信号として出力し、目標デューティ比信号に対応する目標デューティ比D1が予め定められたデューティ比D0以上であるときは、その旨を第2の信号として出力する。   The duty ratio comparison means 43 compares the target duty ratio signal supplied from the target duty ratio determination means 41 with a predetermined duty ratio D0 stored in the duty ratio memory, and the target corresponding to the target duty ratio signal. When the duty ratio D1 is less than the predetermined duty ratio D0, this is output as a first signal, and the target duty ratio D1 corresponding to the target duty ratio signal is equal to or greater than the predetermined duty ratio D0. If so, the fact is output as the second signal.

除算値算出手段44は、目標デューティ比決定手段41から供給される目標デューティ比信号およびデューティ比比較手段41から供給される第1または第2の信号に基づき、除算値dを設定し、設定された除算値dに対応する除算値信号を出力する。除算値dは、本実施の形態の制御信号生成手段40において、正相PWM制御信号のキャリア周期を設定する基準となる値として用いられる。   The division value calculation means 44 sets and sets the division value d based on the target duty ratio signal supplied from the target duty ratio determination means 41 and the first or second signal supplied from the duty ratio comparison means 41. A division value signal corresponding to the division value d is output. The division value d is used as a reference value for setting the carrier period of the positive phase PWM control signal in the control signal generation means 40 of the present embodiment.

目標デューティ比D1が予め定められたデューティ比D0未満であり、デューティ比比較手段43から第1の信号が供給されたとき、除算値算出手段44において除算値dは、次式(1)に示す値に設定される。
d=(100−D0)×2・・・(1)
デューティ比D0は一定の値なので、目標デューティ比D1が予め定められたデューティ比D0未満の場合には、除算値dは一定の値に設定される。なお、本実施の形態においでデューティ比D0は「60」に設定されているため、除算値dは「80」に設定される。
When the target duty ratio D1 is less than a predetermined duty ratio D0 and the first signal is supplied from the duty ratio comparison means 43, the division value d in the division value calculation means 44 is expressed by the following equation (1). Set to a value.
d = (100−D0) × 2 (1)
Since the duty ratio D0 is a constant value, when the target duty ratio D1 is less than a predetermined duty ratio D0, the division value d is set to a constant value. In this embodiment, since the duty ratio D0 is set to “60”, the division value d is set to “80”.

目標デューティ比D1が予め定められたデューティ比D0以上であり、デューティ比比較手段46から第2の信号が供給されたとき、除算値算出手段44において除算値dは、次式(2)に示す値に設定される。
d=(100−D1)×2・・・(2)
目標デューティ比D1は、目標デューティ比決定手段41により変化する値であり、除算値dは、目標デューティ比D1の増大にともない減少し、目標デューティ比D1の減少にともない増大する値である。
When the target duty ratio D1 is equal to or greater than a predetermined duty ratio D0 and the second signal is supplied from the duty ratio comparison means 46, the division value d in the division value calculation means 44 is expressed by the following equation (2). Set to a value.
d = (100−D1) × 2 (2)
The target duty ratio D1 is a value that is changed by the target duty ratio determination means 41, and the division value d is a value that decreases as the target duty ratio D1 increases and increases as the target duty ratio D1 decreases.

キャリア周期設定手段としての第1のタイマ45は、初期カウント値T1maxが予め設定されているダウンカウンタである。第1のタイマ45には除算値算出手段44から除算値信号が供給され、第1のタイマ45は、クロック周期Tclごとに、初期カウント値T1maxから除算値信号に対応する除算値dをデクリメントする動作を行い、カウント値T1がゼロとなったときに、カウントアップ信号を出力する。そして、カウント値T1がゼロとなった後遅滞なく、再度、第1のタイマ45は、初期カウント値T1maxからカウント値T1をデクリメントする動作を開始し、繰り返し第1のカウントアップ信号を出力する。   The first timer 45 as the carrier cycle setting means is a down counter in which an initial count value T1max is set in advance. A division value signal is supplied from the division value calculation means 44 to the first timer 45, and the first timer 45 decrements the division value d corresponding to the division value signal from the initial count value T1max every clock cycle Tcl. An operation is performed, and when the count value T1 becomes zero, a count-up signal is output. Then, without delay after the count value T1 becomes zero, the first timer 45 again starts the operation of decrementing the count value T1 from the initial count value T1max, and repeatedly outputs the first count-up signal.

目標デューティ比D1が予め定められたデューティ比D0未満のときは、式(1)により第1のタイマ45が、クロック周期Tclごとに、初期カウント値T1maxからカウント値T1を除算値dでデクリメントする動作を開始してから、カウント値T1がゼロとなり、カウントアップ信号が出力されるまでの第1のカウント時間ΔT1は、式(1)により次式(3)に示される時間となる。
ΔT1=(T1max/d)×Tcl
=(T1max/((100−D0)×2))×Tcl・・・(3)
When the target duty ratio D1 is less than the predetermined duty ratio D0, the first timer 45 decrements the count value T1 from the initial count value T1max by the division value d in each clock cycle Tcl according to the equation (1). The first count time ΔT1 from when the operation starts until the count value T1 becomes zero and the count-up signal is output is the time indicated by the following expression (3) according to the expression (1).
ΔT1 = (T1max / d) × Tcl
= (T1max / ((100−D0) × 2)) × Tcl (3)

デューティ比D0は、予め定められた一定の値であるため、第1のカウント時間ΔT1は一定の値となる。本実施の形態において、除算値dは「80」に設定され、また、初期カウント値T1maxは「16000」に設定されており、初期カウント値T1maxから除算値dをデクリメントする動作を行うクロック周期Tclは「250ns」である。従って、目標デューティ比D1がデューティ比D0未満のときの第1のカウント時間ΔT1は一定の値である「50μs」となる。   Since the duty ratio D0 is a predetermined constant value, the first count time ΔT1 is a constant value. In this embodiment, the division value d is set to “80”, the initial count value T1max is set to “16000”, and the clock cycle Tcl that performs the operation of decrementing the division value d from the initial count value T1max is performed. Is “250 ns”. Accordingly, the first count time ΔT1 when the target duty ratio D1 is less than the duty ratio D0 is a constant value “50 μs”.

それに対し、目標デューティ比D1が予め定められたデューティ比D0以上のときは、式(2)により算出された値の変動する除算値dが除算値算出手段44から第1のタイマ45に供給される。そのため、目標デューティ比D1が予め定められたデューティ比D0以上のときに、初期カウント値T1maxからカウント値T1を除算値dでデクリメントする動作を開始してから、カウント値T1がゼロとなり、カウントアップ信号が出力されるまでの第2のカウント時間ΔT2は、次式(4)に示される時間となる。
ΔT2=(T1max/d)×Tcl
=(T1max/((100−D1)×2))×Tcl・・・(4)
On the other hand, when the target duty ratio D1 is greater than or equal to the predetermined duty ratio D0, the division value d whose value calculated by the equation (2) varies is supplied from the division value calculation means 44 to the first timer 45. The Therefore, when the target duty ratio D1 is equal to or greater than the predetermined duty ratio D0, the operation of starting to decrement the count value T1 from the initial count value T1max by the division value d is started, and then the count value T1 becomes zero, and the count up The second count time ΔT2 until the signal is output is a time represented by the following equation (4).
ΔT2 = (T1max / d) × Tcl
= (T1max / ((100−D1) × 2)) × Tcl (4)

本実施の形態において、目標デューティ比D1が予め定められたデューティ比D0以上のときは、除算値dの値は変動するとともに、除算値dは目標デューティ比D1が予め定められたデューティ比D0未満のときよりも小さくなる。そのため、第2のカウント時間ΔT2は、第1のカウント時間ΔT1以上であり(ΔT2≧ΔT1)、目標デューティ比D1が増大し、除算値dが小さくなればなるほど、第2のカウント時間ΔT2は増大する。それに対し、目標デューティ比D1が減少し、除算値dが大きくなればなるほど、第2のカウント時間ΔT2は減少する。   In the present embodiment, when the target duty ratio D1 is equal to or greater than a predetermined duty ratio D0, the value of the division value d varies and the division value d is less than the predetermined duty ratio D0. Smaller than Therefore, the second count time ΔT2 is equal to or longer than the first count time ΔT1 (ΔT2 ≧ ΔT1), the target duty ratio D1 increases, and the second count time ΔT2 increases as the division value d decreases. To do. On the other hand, the second count time ΔT2 decreases as the target duty ratio D1 decreases and the division value d increases.

初期値設定手段46は、目標デューティ比決定手段41から供給される目標デューティ比信号およびデューティ比比較手段43から供給される第1または第2の信号に基づき、初期値T2maxを設定し、設定された初期値T2maxに対応する初期値信号を出力する。初期値T2maxは、本実施の形態の制御信号生成手段40において、正相PWM制御のオフ時間を設定する基準となる値として用いられる。   The initial value setting means 46 sets and sets the initial value T2max based on the target duty ratio signal supplied from the target duty ratio determination means 41 and the first or second signal supplied from the duty ratio comparison means 43. An initial value signal corresponding to the initial value T2max is output. The initial value T2max is used as a reference value for setting the off time of the positive phase PWM control in the control signal generation means 40 of the present embodiment.

目標デューティ比D1が予め定められたデューティ比D0未満であり、デューティ比比較手段43から第1の信号が供給されたとき、初期値設定手段46において初期値T2maxは、次式(5)に示す値に設定される。
T2max=(100−D1)×2・・・(5)
目標デューティ比D1は、目標デューティ比決定手段41により変化する値であり、目標デューティ比D1が予め定められたデューティ比D0未満の場合には、初期値T2maxは、目標デューティ比D1の増大にともない減少し、目標デューティ比D1の減少にともない増大する値である。
When the target duty ratio D1 is less than a predetermined duty ratio D0 and the first signal is supplied from the duty ratio comparison means 43, the initial value T2max in the initial value setting means 46 is expressed by the following equation (5). Set to a value.
T2max = (100−D1) × 2 (5)
The target duty ratio D1 is a value that is changed by the target duty ratio determination means 41. When the target duty ratio D1 is less than a predetermined duty ratio D0, the initial value T2max increases with an increase in the target duty ratio D1. The value decreases and increases as the target duty ratio D1 decreases.

それに対し、目標デューティ比D1が予め定められたデューティ比D0以上であり、デューティ比比較手段43から第2の信号が供給されたとき、初期値設定手段46において初期値T2maxは、次式(6)に示す値に設定される。
T2max=(100−D0)×2・・・(6)
On the other hand, when the target duty ratio D1 is greater than or equal to the predetermined duty ratio D0 and the second signal is supplied from the duty ratio comparison means 43, the initial value setting means 46 sets the initial value T2max to the following formula (6 ).
T2max = (100−D0) × 2 (6)

デューティ比D0は一定の値なので、目標デューティ比D1が予め定められたデューティ比D0以上の場合には、初期値T2mは一定の値に設定される。なお、本実施の形態においでデューティ比D0は「60」に設定されているため、初期値T2mは、「80」に設定される。   Since the duty ratio D0 is a constant value, the initial value T2m is set to a constant value when the target duty ratio D1 is greater than or equal to a predetermined duty ratio D0. In the present embodiment, since the duty ratio D0 is set to “60”, the initial value T2m is set to “80”.

オフ時間設定手段としての第2のタイマ47は、カウント値T2をデクリメントする動作を行うダウンカウンタである。第2のタイマ47には初期値設定手段46から供給される初期値信号が供給され、初期値信号に対応する初期値T2maxがセットされるともに初期値T2maxからカウント値T2をデクリメントする動作を行う。   The second timer 47 as an off time setting means is a down counter that performs an operation of decrementing the count value T2. The initial value signal supplied from the initial value setting means 46 is supplied to the second timer 47, the initial value T2max corresponding to the initial value signal is set, and the count value T2 is decremented from the initial value T2max. .

第2のタイマ47は、第1のタイマ45からカウントアップ信号が供給とされるとデクリメントする動作を開始し、クロック周期Tclごとに、初期カウント値T2maxからカウント値T2を1つずつデクリメントする動作を行う。すなわち、第2のタイマ47は、第1のタイマ45がデクリメントを開始するのと略同時、言い換えれば、第1のタイマ45が第1または第2のカウント時間(ΔT1、ΔT2)のカウントを開始するのと略同時にデクリメントする動作を開始するように設定されている。   The second timer 47 starts to decrement when the count-up signal is supplied from the first timer 45, and decrements the count value T2 by one from the initial count value T2max every clock cycle Tcl. I do. That is, the second timer 47 starts counting the first or second count time (ΔT1, ΔT2) almost simultaneously with the first timer 45 starting to decrement, in other words, the first timer 45 starts counting. It is set to start an operation of decrementing substantially at the same time.

そして、第2のタイマ47がカウント中であるときは、第2のタイマ47からは第1の通知信号が出力され、第2のタイマ47のカウント値T2がゼロとなり、その後、第1のタイマ48からカウントアップ信号が供給されるまでは、第2のタイマ47からは第2の通知信号が出力される。   When the second timer 47 is counting, a first notification signal is output from the second timer 47, the count value T2 of the second timer 47 becomes zero, and then the first timer Until the count-up signal is supplied from 48, the second notification signal is output from the second timer 47.

目標デューティ比D1が予め定められたデューティ比D0未満のときは、第2のタイマ47が、クロック周期Tclごとに、初期カウント値T2maxからカウント値T2を1ずつデクリメントする動作を開始してから、すなわち、第1の通知信号の出力が開始されてから、カウント値T2がゼロとなり、第2の通知信号が出力されるまでの第3のカウント時間ΔT3は、式(5)により次式(7)に示される時間となる。
ΔT3=T2max×Tcl
=(100−D1)×2×Tcl・・・(7)
When the target duty ratio D1 is less than the predetermined duty ratio D0, the second timer 47 starts an operation of decrementing the count value T2 by 1 from the initial count value T2max every clock cycle Tcl. That is, the third count time ΔT3 from when the output of the first notification signal is started until the count value T2 becomes zero and the second notification signal is output is expressed by the following equation (7) according to equation (5): ).
ΔT3 = T2max × Tcl
= (100−D1) × 2 × Tcl (7)

上記のように目標デューティ比D1が予め定められたデューティ比D0未満の場合には、初期値T2maxは、目標デューティ比D1の増大にともない減少し、目標デューティ比D1の減少にともない増大する値である。従って、第3のカウント時間ΔT3も、目標デューティ比D1の増大にともない減少し、目標デューティ比D1の減少にともない増大する値である。   As described above, when the target duty ratio D1 is less than the predetermined duty ratio D0, the initial value T2max is a value that decreases as the target duty ratio D1 increases and increases as the target duty ratio D1 decreases. is there. Therefore, the third count time ΔT3 also decreases as the target duty ratio D1 increases, and increases as the target duty ratio D1 decreases.

それに対し、目標デューティ比D1が予め定められたデューティ比D0以上のときは、第2のタイマ47が、クロック周期Tclごとに、初期カウント値T2maxからカウント値T2を1ずつデクリメントする動作を開始してから、すなわち、第1の通知信号の出力が開始されてから、カウント値T2がゼロとなり、第2の通知信号が出力されるまでの第4のカウント時間ΔT4は、式(6)により次式(8)に示される時間となる。
ΔT4=T2max×Tcl
=(100−D0)×2×Tcl・・・(8)
On the other hand, when the target duty ratio D1 is equal to or greater than the predetermined duty ratio D0, the second timer 47 starts an operation of decrementing the count value T2 by 1 from the initial count value T2max every clock cycle Tcl. That is, the fourth count time ΔT4 from when the output of the first notification signal is started until the count value T2 becomes zero and the second notification signal is output is expressed by the following equation (6). This is the time shown in equation (8).
ΔT4 = T2max × Tcl
= (100−D0) × 2 × Tcl (8)

上記のように目標デューティ比D1が予め定められたデューティ比D0以上の場合には、初期値T2maxは、は一定の値である。従って、第4のカウント時間ΔT4は、第3のカウント時間ΔT3以下であり(ΔT4≦ΔT3)、目標デューティ比D1の変化にかかわらず一定の値となる。   As described above, when the target duty ratio D1 is greater than or equal to the predetermined duty ratio D0, the initial value T2max is a constant value. Accordingly, the fourth count time ΔT4 is equal to or shorter than the third count time ΔT3 (ΔT4 ≦ ΔT3), and is a constant value regardless of the change in the target duty ratio D1.

次に、図1に基づきPWM制御信号生成手段500について説明する。PWM制御信号生成手段500は、第1の正相PWM制御信号生成手段51、第2の正相PWM制御信号生成手段52および逆相PWM制御信号生成手段53を備えている。   Next, the PWM control signal generation means 500 will be described with reference to FIG. The PWM control signal generation unit 500 includes a first normal phase PWM control signal generation unit 51, a second normal phase PWM control signal generation unit 52, and a reverse phase PWM control signal generation unit 53.

第1および第2の正相PWM制御信号生成手段51、52は、第2のタイマ47から供給される第1および第2の通知信号に基づき正相PWM制御信号PP0を形成し出力する。上記のように、第1の通知信号は、第2のタイマ47がカウント中であるときに第2のタイマ50から出力され、第2の通知信号は第2のタイマ47のカウント値T2がゼロとなり、その後、第1のタイマ45からカウントアップ信号が供給されるまでの時間に第2のタイマ47から出力される。   The first and second positive phase PWM control signal generating means 51 and 52 form and output a positive phase PWM control signal PP 0 based on the first and second notification signals supplied from the second timer 47. As described above, the first notification signal is output from the second timer 50 when the second timer 47 is counting, and the second notification signal has a count value T2 of the second timer 47 of zero. After that, the second timer 47 outputs the signal until the count-up signal is supplied from the first timer 45.

第1および第2の正相PWM制御信号生成手段51、52は、第2のタイマ47から第1の通知信号が供給されている時間、すなわち、第3または第4のカウント時間の間はオフ状態となり、第2のタイマ47が第3または第4のカウント時間の計測を終了した後、第2の通知信号が供給されている時間は、オン状態となる正相PWM制御信号を形成する。   The first and second positive phase PWM control signal generation means 51 and 52 are off during the time when the first notification signal is supplied from the second timer 47, that is, during the third or fourth count time. After the second timer 47 finishes measuring the third or fourth count time, the time when the second notification signal is supplied forms a positive phase PWM control signal that is turned on.

第1の通知信号の供給が開始されることにより正相PWM制御信号が順次オフ状態となるまでの時間は、キャリア周期Tcaと呼ばれ、第1または第2のカウント時間(ΔT1、ΔT2)がキャリア周期Tcaとなる。また、第2の通知信号の供給が開始されることにより正相PWM制御信号がオフ状態からオン状態となるまでの時間は、オフ時間Toffと呼ばれ、第3または第4のカウント時間(ΔT3、ΔT4)がオフ時間Toffとなる。   The time from when the supply of the first notification signal is started until the positive phase PWM control signal is sequentially turned off is called a carrier cycle Tca, and the first or second count time (ΔT1, ΔT2) is The carrier period is Tca. Also, the time from when the supply of the second notification signal is started until the positive phase PWM control signal is turned from the off state to the on state is called an off time Toff, and the third or fourth count time (ΔT3 , ΔT4) is the off time Toff.

正相PWM信号のキャリア周期Tcaと目標デューティ比D1との関係について図2および図3に基づいて説明する。上記のように第1または第2のカウント時間(ΔT1、ΔT2)がキャリア周期Tcaとなり、キャリア周期Tcaは、目標デューティ比D1が予め定められたデューティ比D0未満のときは、一定の値である第1のカウント時間であるためキャリア周期Tcaも一定の値となる。本実施の形態では、デューティ比D0は「60%」に設定されているため、目標デューティ比D1が「60%」未満のときは、キャリア周期Tcaは「50μs」で一定の値となる。   The relationship between the carrier cycle Tca of the positive phase PWM signal and the target duty ratio D1 will be described with reference to FIGS. As described above, the first or second count time (ΔT1, ΔT2) is the carrier cycle Tca, and the carrier cycle Tca is a constant value when the target duty ratio D1 is less than the predetermined duty ratio D0. Since it is the first count time, the carrier period Tca is also a constant value. In the present embodiment, since the duty ratio D0 is set to “60%”, when the target duty ratio D1 is less than “60%”, the carrier cycle Tca is “50 μs” and has a constant value.

そして、目標デューティ比D1が予め定められたデューティ比D0以上のときは、式(4)に示すように、第2のカウント時間ΔT2は、目標デューティ比D1の増加にともない増加するため、キャリア周期Tcaも目標デューティ比D1の増加にともない増加する。本実施の形態では、デューティ比D0は「60%」に設定されている。そのため、目標デューティ比D1が「60%」以上のときは、キャリア周期Tcaは目標デューティ比D1の増加にともない増加し、目標デューティ比D1が「80%」のとき、キャリア周期Tcaは「100μs」となり、目標デューティ比D1が「90%」のとき、キャリア周期Tcaは「200μs」となる。   When the target duty ratio D1 is greater than or equal to the predetermined duty ratio D0, the second count time ΔT2 increases as the target duty ratio D1 increases, as shown in the equation (4). Tca also increases as the target duty ratio D1 increases. In the present embodiment, the duty ratio D0 is set to “60%”. Therefore, when the target duty ratio D1 is “60%” or more, the carrier period Tca increases as the target duty ratio D1 increases. When the target duty ratio D1 is “80%”, the carrier period Tca is “100 μs”. Thus, when the target duty ratio D1 is “90%”, the carrier cycle Tca is “200 μs”.

次に、正相PWM信号のオフ時間Toffと目標デューティ比D1との関係について図3に基づいて説明する。上記のように第3または第4のカウント時間(ΔT3、ΔT4)がオフ時間Toffとなり、式(5)に示すように、第3のカウント時間は、目標デューティ比D1が予め定められたデューティ比D0未満のときは、目標デューティ比D1の増大にともない減少するため、オフ時間Toffも目標デューティ比D1の増大にともない減少する。本実施の形態では、目標デューティ比D1が「20%」のとき、オフ時間Toffは「40μs」となり、目標デューティ比D1が「40%」のとき、オフ時間T0ffは「30μs」となる。   Next, the relationship between the off time Toff of the positive phase PWM signal and the target duty ratio D1 will be described with reference to FIG. As described above, the third or fourth count time (ΔT3, ΔT4) becomes the off time Toff, and as shown in the equation (5), the target duty ratio D1 is a predetermined duty ratio. When it is less than D0, it decreases as the target duty ratio D1 increases, so the off time Toff also decreases as the target duty ratio D1 increases. In the present embodiment, when the target duty ratio D1 is “20%”, the off time Toff is “40 μs”, and when the target duty ratio D1 is “40%”, the off time T0ff is “30 μs”.

そして、目標デューティ比D1が予め定められたデューティ比D0以上のときは、第4のカウント時間ΔT4は一定の値であるためオフ時間Toffも一定の値となる。本実施の形態では、デューティ比D0は「60%」に設定されているため、目標デューティ比D1が「60%」以上のときは、オフ時間Toffは「20μs」で一定の値となる。   When the target duty ratio D1 is equal to or greater than a predetermined duty ratio D0, the fourth count time ΔT4 is a constant value, so the off time Toff is also a constant value. In the present embodiment, since the duty ratio D0 is set to “60%”, when the target duty ratio D1 is “60%” or more, the off time Toff is “20 μs” and becomes a constant value.

逆相PWM制御信号生成手段52は、第1の正相PWM制御信号生成手段51から供給される正相PWM制御信号PP0に基づき逆相PWM制御信号NP0を形成し出力する。図4に示すように逆相PWM制御信号NP0は、正相PWM制御信号PP0の反転信号として形成される。すなわち、正相PWM制御信号PP0がオン状態のとき逆相PWM制御信号NP0はオフ状態となり、正相PWM制御信号PP0がオフ状態のとき逆相PWM制御信号NP0はオン状態となる。   The negative phase PWM control signal generating means 52 forms and outputs a negative phase PWM control signal NP0 based on the positive phase PWM control signal PP0 supplied from the first positive phase PWM control signal generating means 51. As shown in FIG. 4, the negative phase PWM control signal NP0 is formed as an inverted signal of the positive phase PWM control signal PP0. That is, when the normal phase PWM control signal PP0 is in the on state, the reverse phase PWM control signal NP0 is in the off state, and when the normal phase PWM control signal PP0 is in the off state, the reverse phase PWM control signal NP0 is in the on state.

次に、図1に基づき制御信号生成手段40に備えられている電流値読込手段60、電流値メモリ61、選択手段62、回転角度検出手段63、通電信号生成手段64および遅延手段65について説明する。   Next, the current value reading means 60, the current value memory 61, the selection means 62, the rotation angle detection means 63, the energization signal generation means 64, and the delay means 65 provided in the control signal generation means 40 will be described with reference to FIG. .

電流値読込手段60は、電流センサ20から供給される電流値信号を読込むとともに、読み込まれた電流値信号を出力する。電流値メモリ61は、予め定められた電流閾値Irを記録している。   The current value reading means 60 reads the current value signal supplied from the current sensor 20 and outputs the read current value signal. The current value memory 61 records a predetermined current threshold Ir.

選択手段62は、電流値メモリ61に記憶されている電流閾値Irと電流値読込手段60を介して電流センサ20から供給される電流値信号を比較する。そして、電流値信号が電流閾値Ir未満であるときは、第1の正相PWM制御信号生成手段51から供給される前記正相PWM制御信号PP0を選択して出力する。それに対し、電流値信号が電流閾値Ir以上であるときは、第2の正相PWM制御信号生成手段52から供給される正相PWM制御信号PPOおよび逆相PWM制御信号生成手段53から供給される逆相PWM制御信号NP0を選択して出力する。なお、図5は、電流値信号が電流閾値Ir以上であるときに、選択手段62により選択されるPWM制御信号を示す。   The selection unit 62 compares the current threshold value Ir stored in the current value memory 61 with the current value signal supplied from the current sensor 20 via the current value reading unit 60. When the current value signal is less than the current threshold Ir, the positive phase PWM control signal PP0 supplied from the first positive phase PWM control signal generation means 51 is selected and output. On the other hand, when the current value signal is equal to or greater than the current threshold Ir, the positive phase PWM control signal PPO and the negative phase PWM control signal generation unit 53 supplied from the second positive phase PWM control signal generation unit 52 are supplied. The reverse phase PWM control signal NP0 is selected and output. FIG. 5 shows a PWM control signal selected by the selection means 62 when the current value signal is equal to or greater than the current threshold Ir.

回転角度検出手段63は、回転センサ10から供給される測定信号に基づき回転角度信号を出力する。通電信号生成手段64は、回転角度検出手段63から供給される回転角度信号に基づき通電パターン信号を形成する。そして、通電信号生成手段64は、通電パターン信号に、PWM制御信号生成手段500から供給される正相PWM制御信号PP0および逆相PWM制御信号NP0を乗じる処理を行い、処理された信号を出力する。   The rotation angle detector 63 outputs a rotation angle signal based on the measurement signal supplied from the rotation sensor 10. The energization signal generation unit 64 forms an energization pattern signal based on the rotation angle signal supplied from the rotation angle detection unit 63. Then, the energization signal generation unit 64 performs a process of multiplying the energization pattern signal by the normal phase PWM control signal PP0 and the reverse phase PWM control signal NP0 supplied from the PWM control signal generation unit 500, and outputs the processed signal. .

遅延手段65は、通電信号生成手段から供給される正相PWM制御信号PP0および逆相PWM制御信号NP0に対し、予め定められたデットタイムdTを設ける処理を行う。このデットタイムdTを設ける処理により、正相および逆相PWM制御信号(PP0、NP0)においてオフ状態からオン状態に切り換わる立ち上がり信号に、デットタイムdTが設定される。なお、遅延手段62に換えて、正相および逆相PWM制御信号(PP0、NP0)においてオン状態からオフ状態に切り換わる立ち下がり信号を早める手段を設けることにより、デットタイムdTを設定しても良い。   The delay means 65 performs a process of providing a predetermined dead time dT for the normal phase PWM control signal PP0 and the negative phase PWM control signal NP0 supplied from the energization signal generation means. By the process of providing the dead time dT, the dead time dT is set to the rising signal that switches from the off state to the on state in the normal phase and reverse phase PWM control signals (PP0, NP0). Even if the dead time dT is set by providing means for advancing the falling signal that switches from the on state to the off state in the normal phase and reverse phase PWM control signals (PP0, NP0) instead of the delay means 62. good.

そして、遅延手段65により、オフ状態からオン状態に切り換わる立ち上がり信号に、デットタイムdTが設けられた正相PWM制御信号PP1および逆相PWM制御信号NP1が、インバータ回路30に備えられているスイッチ素子(31a、31b、32a、32b、33a、33b)に供給される。   A switch in which the inverter circuit 30 includes a normal phase PWM control signal PP1 and a negative phase PWM control signal NP1 provided with a dead time dT as a rising signal that is switched from an off state to an on state by the delay means 65. It is supplied to the elements (31a, 31b, 32a, 32b, 33a, 33b).

次に、PWM制御信号生成手段500から出力される正相PWM制御信号PP0および逆相PWM制御信号NP0、並びに遅延手段65において出力される正相PWM制御信号PP1および逆相PWM制御信号NP1について図6に基づき説明する。同図に示すように、PWM制御信号生成手段500から出力される正相PWM制御信号PP0および逆相PWM制御信号NP0には、遅延手段65により、オフ状態(off)からオン状態(on)に切り換わる立ち上がり信号に、デットタイムdTが設定される。なお、本実施の形態において、デットタイムdTは、「2μs」に設定されている。   Next, the normal phase PWM control signal PP0 and the reverse phase PWM control signal NP0 output from the PWM control signal generation unit 500, and the normal phase PWM control signal PP1 and the negative phase PWM control signal NP1 output from the delay unit 65 are illustrated. 6 will be described. As shown in the figure, the normal phase PWM control signal PP0 and the negative phase PWM control signal NP0 output from the PWM control signal generation unit 500 are switched from the off state (off) to the on state (on) by the delay unit 65. The dead time dT is set to the rising signal to be switched. In the present embodiment, the dead time dT is set to “2 μs”.

引き続き、図7に基づき制御信号生成手段40により正相PWM信号PP0を生成する処理の一例を説明する。処理が開始されると(「スタート」)、まず、電流指令手段41にてアクセル信号が読み込まれるとともに、電流値検出手段42にて電流値信号が読み込まれる(処理ST1)。   Next, an example of a process for generating the positive phase PWM signal PP0 by the control signal generation means 40 will be described with reference to FIG. When the process is started ("start"), first, the accelerator signal is read by the current command means 41, and the current value signal is read by the current value detection means 42 (process ST1).

処理ST1にて読み込まれたアクセル信号および電流値信号から目標デューティ比決定手段44により、目標デューティ比D1が決定され(処理ST2)、デューティ比比較手段46により、目標デューティ比D1が予め定められたデューティ比D0以上であるか否か判断される(処理ST3)。そして、目標デューティ比D1がデューティ比D0以上である場合には、除算値算出手段47は、除算値dとして、「(100−D1)×2」を設定する(処理ST4)。それに対し、目標デューティ比D1がデューティ比D0未満である場合には、除算値算出手段47は、除算値dとして、「(100−D0)×2」を設定する(処理ST5)。   The target duty ratio determining means 44 determines the target duty ratio D1 from the accelerator signal and current value signal read in the process ST1 (process ST2), and the duty ratio comparing means 46 determines the target duty ratio D1 in advance. It is determined whether or not the duty ratio is equal to or greater than D0 (process ST3). When the target duty ratio D1 is equal to or greater than the duty ratio D0, the division value calculation means 47 sets “(100−D1) × 2” as the division value d (processing ST4). On the other hand, when the target duty ratio D1 is less than the duty ratio D0, the division value calculation means 47 sets “(100−D0) × 2” as the division value d (process ST5).

次に、第1のタイマ48がカウントアップしているか否かを判断するため、第1のタイマ48のカウント値T1が除算値dよりも小さいか否か判断される(処理ST6)。以下、第1のタイマ48のカウント値T1が除算値dよりも小さいと判断された場合について説明する。   Next, in order to determine whether or not the first timer 48 is counting up, it is determined whether or not the count value T1 of the first timer 48 is smaller than the division value d (process ST6). Hereinafter, a case where it is determined that the count value T1 of the first timer 48 is smaller than the division value d will be described.

カウント値T1が除算値dよりも小さい場合には、第1のタイマ48がカウントアップしていると判断され、第1のタイマ48は、カウント値T1として初期カウント値T1maxがリセットされ(処理ST7)、初期カウント値T1maxからカウント値T1をデクリメントする動作が開始される。そして、再度、デューティ比比較手段46により、目標デューティ比D1が、デューティ比D0以上であるか否か判断される(処理ST8)。   If the count value T1 is smaller than the division value d, it is determined that the first timer 48 is counting up, and the first timer 48 resets the initial count value T1max as the count value T1 (process ST7). ), An operation of decrementing the count value T1 from the initial count value T1max is started. Then, again, the duty ratio comparison means 46 determines whether or not the target duty ratio D1 is equal to or higher than the duty ratio D0 (process ST8).

処理ST8にて判断された結果、目標デューティ比D1が、デューティ比D0以上である場合には、第2のタイマ50のカウント値T2として、「(100−D0)×2」が初期カウント値T2maxとしてセットされ、第2のタイマ50は、セットされた初期カウント値T2maxからカウント値T2をデクリメントする動作を開始し(ST9)、一連の処理は終了する(「エンド」)。   If the target duty ratio D1 is greater than or equal to the duty ratio D0 as a result of the determination in step ST8, “(100−D0) × 2” is the initial count value T2max as the count value T2 of the second timer 50. The second timer 50 starts an operation of decrementing the count value T2 from the set initial count value T2max (ST9), and a series of processing ends (“END”).

それに対し、処理ST8にて判断された結果、目標デューティ比D1が、デューティ比D0未満である場合には、第2のタイマ50のカウント値T2として、「(100−D1)×2」が初期カウント値T2maxとしてセットされ、第2のタイマ50は、セットされた初期カウント値T2maxからカウント値T2をデクリメントする動作を開始し(ST10)、一連の処理は終了する(「エンド」)。   On the other hand, when the target duty ratio D1 is less than the duty ratio D0 as a result of the determination in process ST8, “(100−D1) × 2” is initially set as the count value T2 of the second timer 50. The count value T2max is set, and the second timer 50 starts an operation of decrementing the count value T2 from the set initial count value T2max (ST10), and a series of processing ends (“end”).

引き続き、処理ST6にて、第1のタイマ48のカウント値T1が除算値d以上であると判断された場合について説明する。カウント値T1が除算値d以上であると判断されると、第1のタイマ48では、1回のデクリメントの動作においてカウント値T1から除算値dを減ずる処理がなされる(処理ST11)。そして、第2のタイマ50のカウント値T2が、「ゼロ」となっているか、すなわち、第2のタイマ50がカウントアップした状態であるのか、または第2のタイマ50がデクリメントの動作を行っている状態にあるのかが判断される(ST12)。   Next, a case will be described in which it is determined in process ST6 that the count value T1 of the first timer 48 is equal to or greater than the division value d. When it is determined that the count value T1 is greater than or equal to the division value d, the first timer 48 performs a process of subtracting the division value d from the count value T1 in one decrement operation (process ST11). Then, whether the count value T2 of the second timer 50 is “zero”, that is, whether the second timer 50 has been counted up, or the second timer 50 performs a decrement operation. It is determined whether it is in a state (ST12).

処理ST12で、第2のタイマ50がカウントアップしてない場合には、第2のタイマ50から正相PWM制御信号生成手段51に対し第1の通知信号が供給され、正相PWM制御信号生成手段51からは、正相PWM制御信号PP0として「オフ信号(=0)」が出力されるとともに、第2のタイマ50のカウント値T2は1つデクリメントされ(ST13)、一連の処理は終了する(「エンド」)。   In the process ST12, when the second timer 50 has not counted up, the first notification signal is supplied from the second timer 50 to the positive phase PWM control signal generating means 51, and the positive phase PWM control signal generation is performed. The means 51 outputs an “off signal (= 0)” as the normal phase PWM control signal PP0, and the count value T2 of the second timer 50 is decremented by 1 (ST13), and the series of processing ends. ("End").

それに対し、処理ST12で、第2のタイマ50がカウントアップした状態の場合には、第2のタイマ50からは、第2の通知信号が出力され、正相PWM制御信号生成手段51からは、正相PWM制御信号PP0として「オン信号(=1)」が出力され、一連の処理は終了する(「エンド」)。なお、上記の「スタート」から「エンド」までの一連の処理は、クロック周期Tclごとに繰り返し行われ、上記のように本実施の形態において、クロック周期Tclは、250nsに設定されている。   On the other hand, in the process ST12, when the second timer 50 has been counted up, the second timer 50 outputs a second notification signal, and the positive phase PWM control signal generating means 51 outputs The “ON signal (= 1)” is output as the normal phase PWM control signal PP0, and the series of processing ends (“END”). The series of processes from “start” to “end” is repeated every clock cycle Tcl. As described above, in this embodiment, the clock cycle Tcl is set to 250 ns.

次に、本実施の形態のモータ制御装置1の有する第1の効果について説明する。モータ制御装置1に備えられている制御信号生成手段40は、直流電源BTからモータMに供給される電流の電流値が予め定められている電流閾値未満である場合、すなわち電流値が小さいときには、正相PWM制御信号PP1のみをインバータ回路30に備えられているスイッチ素子(31a、31b、32a、32b、33a、33b)に供給し、同期整流制御が実行されない。そのため、直流電源からモータに供給される電流の電流値が小さいときに、モータに供給された電流が直流電源に回生されることがない。その結果、モータに備えられているロータにブレーキ力が生じずモータの入出力効率は向上する。   Next, the 1st effect which the motor control apparatus 1 of this Embodiment has is demonstrated. When the current value of the current supplied from the DC power supply BT to the motor M is less than a predetermined current threshold value, that is, when the current value is small, the control signal generating means 40 provided in the motor control device 1 Only the positive phase PWM control signal PP1 is supplied to the switch elements (31a, 31b, 32a, 32b, 33a, 33b) provided in the inverter circuit 30, and the synchronous rectification control is not executed. Therefore, when the current value of the current supplied from the DC power supply to the motor is small, the current supplied to the motor is not regenerated to the DC power supply. As a result, no braking force is generated in the rotor provided in the motor, and the input / output efficiency of the motor is improved.

一方、直流電源BTからモータMに供給される電流の電流値が予め定められている電流閾値以上である場合、すなわち、電流値がある値以上でありモータに供給された電流が直流電源に回生されることがない場合には、正相PWM制御信号PP1および逆相PWM制御信号NP1をインバータ回路30に備えられているスイッチ素子(31a、31b、32a、32b、33a、33b)に供給し、同期整流制御が実行される。そのため、スイッチ素子(31a、31b、32a、32b、33a、33b)に生じる損失を低減することができる。   On the other hand, when the current value of the current supplied from the DC power supply BT to the motor M is greater than or equal to a predetermined current threshold, that is, the current value is greater than a certain value and the current supplied to the motor is regenerated to the DC power supply. If not, the normal phase PWM control signal PP1 and the reverse phase PWM control signal NP1 are supplied to the switch elements (31a, 31b, 32a, 32b, 33a, 33b) provided in the inverter circuit 30, Synchronous rectification control is executed. For this reason, it is possible to reduce the loss generated in the switch elements (31a, 31b, 32a, 32b, 33a, 33b).

引き続き、本実施の形態のモータ制御装置1の有する第2の効果について説明する。図8および図9に基づき説明する。図8は、目標デューティ比D1が予め定められたデューティ比D0と一致するときの正相および逆相PWM制御信号(PP1、NP1)を示し、図9は、目標デューティ比D1が予め定められたデューティ比D0を超えるときの正相および逆相PWM制御信号(PP1、NP1)を示す。   Next, the second effect of the motor control device 1 according to the present embodiment will be described. This will be described with reference to FIGS. FIG. 8 shows the normal phase and reverse phase PWM control signals (PP1, NP1) when the target duty ratio D1 coincides with the predetermined duty ratio D0, and FIG. 9 shows that the target duty ratio D1 is predetermined. The positive phase and negative phase PWM control signals (PP1, NP1) when the duty ratio exceeds D0 are shown.

図8に示すように、本実施の形態のモータ制御装置1は、目標デューティ比D1が予め定められたデューティ比D0と一致するまでは、キャリア周期Tcaは一定の値に固定され、正相PWM制御信号PP1のオフ時間Toffおよび逆相PWM制御信号NP1のオン時間Tonは、目標デューティ比D1の増加にともない減少する。なお、逆相PWM制御信号NP1のオン時間Tonは、正相PWM制御信号PP1のオフ時間ToffからデットタイムdTを2回差し引いた時間となる。   As shown in FIG. 8, in the motor control device 1 of the present embodiment, the carrier cycle Tca is fixed at a constant value until the target duty ratio D1 matches the predetermined duty ratio D0, and the positive phase PWM The off time Toff of the control signal PP1 and the on time Ton of the reverse phase PWM control signal NP1 decrease as the target duty ratio D1 increases. The on-time Ton of the reverse phase PWM control signal NP1 is a time obtained by subtracting the dead time dT twice from the off time Toff of the normal phase PWM control signal PP1.

キャリア周期Tcaが一定の値に固定された状態では、目標デューティ比D1が予め定められたデューティ比D0と一致するときに正相PWM制御信号PP1のオフ時間Toffおよび逆相PWM制御信号NP1のオン時間Tonとはそれぞれ最小の値となる。なお、本実施の形態では、最小の値となったときの逆相PWM制御信号NP1のオン時間Tonは「18μs」に設定されており、同期整流が有効に実施される。   In a state where the carrier cycle Tca is fixed to a constant value, when the target duty ratio D1 coincides with a predetermined duty ratio D0, the OFF time Toff of the normal phase PWM control signal PP1 and the ON phase of the negative phase PWM control signal NP1 Each time Ton is a minimum value. In the present embodiment, the on-time Ton of the negative phase PWM control signal NP1 when the value becomes the minimum value is set to “18 μs”, and the synchronous rectification is effectively performed.

そして、図9に示すように、目標デューティ比D1が予め定められたデューティ比D0以上の場合には、目標デューティ比D1に応じてPWM制御のキャリア周期Tcaは増減されるとともに、正相PWM制御信号PP1のオフ時間Toffは一定の時間に固定される。そのため、正相PWM制御信号PP1のオフ時間Toffを一定の時間に固定するとともに、キャリア周期Tcaを増減することにより、目標デューティ比D1に応じたPWM制御を行うことができる。   As shown in FIG. 9, when the target duty ratio D1 is equal to or greater than a predetermined duty ratio D0, the carrier cycle Tca of the PWM control is increased or decreased according to the target duty ratio D1, and the positive phase PWM control is performed. The off time Toff of the signal PP1 is fixed to a certain time. Therefore, the PWM control according to the target duty ratio D1 can be performed by fixing the off time Toff of the positive phase PWM control signal PP1 to a constant time and increasing / decreasing the carrier cycle Tca.

さらに、標デューティ比D1が予め定められたデューティ比D0以上の場合には、正相PWM制御信号PP1のオフ時間Toffとともに逆相PWM制御信号NP1のオン時間Tonは、同期整流を有効に実施することが可能な一定の時間に設定される。そのため、本実施の形態のモータ制御装置1は、目標デューティ比D1が高くなっても同期整流を有効に実施することが可能である。その結果、目標デューティ比D1が高いときでも、PWM制御によるスイッチ素子の損失を低減することができる。   Further, when the standard duty ratio D1 is equal to or greater than a predetermined duty ratio D0, the on-time Ton of the negative-phase PWM control signal NP1 together with the off-time Toff of the normal-phase PWM control signal PP1 effectively performs synchronous rectification. Is set to a certain time possible. Therefore, the motor control device 1 according to the present embodiment can effectively perform synchronous rectification even when the target duty ratio D1 increases. As a result, even when the target duty ratio D1 is high, the loss of the switch element due to the PWM control can be reduced.

なお、本発明は上述の実施形態に限られるものではなく、本発明の趣旨を逸脱しない範囲において、上述の実施形態に種々の変更を加えたものを含む。例えば、本実施の形態では、第1および第2の正相PWM制御信号生成手段として2つ正相PWM制御信号生成手段を備えているが、1つ正相PWM制御信号生成手段を備えるものであって良い。そして、1つ正相PWM制御信号生成手段からの正相PWM制御信号は選択手段62により常時選択されても良い。   The present invention is not limited to the above-described embodiment, and includes various modifications made to the above-described embodiment without departing from the spirit of the present invention. For example, in the present embodiment, two positive phase PWM control signal generation means are provided as the first and second positive phase PWM control signal generation means, but one positive phase PWM control signal generation means is provided. It's okay. The positive phase PWM control signal from one positive phase PWM control signal generation unit may be always selected by the selection unit 62.

1 モータ制御装置
10 回転センサ
20 電流センサ
30 インバータ回路
31 ハーフブリッジ回路
32 ハーフブリッジ回路
33 ハーフブリッジ回路
31a スイッチ素子
31b スイッチ素子
32a スイッチ素子
32b スイッチ素子
33a スイッチ素子
33b スイッチ素子
40 制御信号生成手段
41 目標デューティ比決定手段
42 デューティ比メモリ
43 デューティ比比較手段
44 除数値算出手段
45 第1のタイマ(キャリア周期設定手段)
46 初期値設定手段
47 第2のタイマ(オフ時間設定手段)
51 第1の正相PWM制御信号生成手段
52 第2の正相PWM制御信号生成手段
53 逆相PWM制御信号生成手段
60 電流値検出手段
61 電流値メモリ
62 選択手段
63 回転角度検出手段
64 通電信号生成手段
65 遅延手段
100 モータ装置
500 PWM制御信号生成手段
M ブラシレスモータ
U U相の電気巻線
V V相の電気巻線
W W相の電気巻線
C コンデンサ
B バッテリ
A アクセル操作手段
D ボディダイオード
DESCRIPTION OF SYMBOLS 1 Motor control apparatus 10 Rotation sensor 20 Current sensor 30 Inverter circuit 31 Half bridge circuit 32 Half bridge circuit 33 Half bridge circuit 31a Switch element 31b Switch element 32a Switch element 32b Switch element 33a Switch element 33b Switch element 40 Control signal generation means 41 Target Duty ratio determining means 42 Duty ratio memory 43 Duty ratio comparing means 44 Divisor value calculating means 45 First timer (carrier cycle setting means)
46 Initial value setting means 47 Second timer (off time setting means)
51 First positive phase PWM control signal generation means 52 Second positive phase PWM control signal generation means 53 Reverse phase PWM control signal generation means 60 Current value detection means 61 Current value memory 62 Selection means 63 Rotation angle detection means 64 Energization signal Generation means 65 Delay means 100 Motor device 500 PWM control signal generation means M Brushless motor U U phase electrical winding V V phase electrical winding W W phase electrical winding C Capacitor B Battery A Accelerator operating means D Body diode

Claims (7)

モータにPWM制御により電流を供給するモータ制御装置において、
直流電源に接続されたハイサイドのスイッチ素子と、接地に接続されたローサイドのスイッチ素子からなるハーフブリッジ回路を複数有し、前記ハイサイドまたはローサイドのスイッチ素子のオンオフにより、前記直流電源からの電流を前記モータに供給するインバータ回路と、
前記直流電源から前記モータに供給される電流の電流値を検出し、前記電流値に対応する電流値信号を出力する電流検出手段と、
前記各ハーフブリッジ回路に備えられている前記ハイサイドまたはローサイドのスイッチ素子に制御信号を供給する制御信号生成手段とを備え、
前記制御信号生成手段は、
正相PWM制御信号を生成する正相PWM制御信号生成手段と、
前記正相PWM制御信号生成手段から供給される正相PWM制御信号に基づき、正相PWM制御信号に対し反転信号となる逆相PWM制御信号を生成する逆相PWM制御信号生成手段と、
予め定められた電流閾値が記憶されている電流値メモリと、
前記電流値メモリに記憶されている前記電流閾値と前記電流検出手段から供給される前記電流値信号を比較し、前記電流値信号が前記電流閾値未満であるときは、正相PWM制御信号生成手段から供給される前記正相PWM制御信号を選択して出力し、前記電流値信号が前記電流閾値以上であるときは、前記正相PWM制御信号生成手段から供給される前記正相PWM制御信号および前記逆相PWM制御信号生成手段から供給される前記逆相PWM制御信号を選択して出力する選択手段とを備えることを特徴とするモータ制御装置。
In the motor control device that supplies current to the motor by PWM control,
A plurality of half-bridge circuits comprising a high-side switch element connected to a DC power source and a low-side switch element connected to ground, and the current from the DC power source is turned on and off by the high-side or low-side switch element. An inverter circuit for supplying to the motor;
Current detection means for detecting a current value of a current supplied from the DC power source to the motor and outputting a current value signal corresponding to the current value;
Control signal generating means for supplying a control signal to the high-side or low-side switch element provided in each half-bridge circuit,
The control signal generating means
Positive phase PWM control signal generating means for generating a positive phase PWM control signal;
Based on the positive phase PWM control signal supplied from the positive phase PWM control signal generating means, a negative phase PWM control signal generating means for generating a negative phase PWM control signal that is an inverted signal with respect to the positive phase PWM control signal;
A current value memory in which a predetermined current threshold value is stored;
The current threshold value stored in the current value memory is compared with the current value signal supplied from the current detection means, and when the current value signal is less than the current threshold value, a positive phase PWM control signal generation means When the current value signal is equal to or greater than the current threshold value, the positive phase PWM control signal supplied from the positive phase PWM control signal generating means and A motor control apparatus comprising: selection means for selecting and outputting the negative phase PWM control signal supplied from the negative phase PWM control signal generation means.
前記制御信号生成手段は、前記選択手段にから出力される前記正相および逆相PWM制御信号の立ち上がり信号を遅延させる遅延手段を備えることを特徴とする請求項1に記載のモータ制御装置。   The motor control device according to claim 1, wherein the control signal generation unit includes a delay unit that delays a rising signal of the normal phase and reverse phase PWM control signals output from the selection unit. 前記正相PWM制御信号生成手段は、目標デューティ比信号が予め定められたデューティ比未満の場合は、予め定められた第1のカウント時間でオンオフし、かつ、前記目標デューティ比信号の増大に対応して減少し、前記目標デューティ比信号の減少に対応して増大する第3のカウント時間の間においてオフ状態となり、前記目標デューティ比信号が予め定められたデューティ比以上の場合は前記第1のキャリア周期以上であり、かつ、前記目標デューティ比信号の増大に対応して増大し、前記目標デューティ比信号の減少に対応して減少する第2のカウント時間でオンオフし、前記第1のオフ時間以下であり、かつ、予め定められた第4カウント時間の間においてオフ状態となる正相PWM制御信号を生成することを特徴とする請求項2に記載のモータ制御装置。   When the target duty ratio signal is less than a predetermined duty ratio, the positive phase PWM control signal generating means turns on / off at a predetermined first count time and responds to an increase in the target duty ratio signal. When the target duty ratio signal is equal to or higher than a predetermined duty ratio, the first duty ratio signal is turned off during a third count time that increases in response to a decrease in the target duty ratio signal. The first off time, which is equal to or longer than a carrier cycle, increases in response to an increase in the target duty ratio signal, and turns on / off in a second count time that decreases in response to a decrease in the target duty ratio signal. The positive-phase PWM control signal which is the following and is in an OFF state during a predetermined fourth count time is generated. The motor control device according. モータにPWM制御により電流を供給するモータ制御装置において、
直流電源に接続されたハイサイドのスイッチ素子と、接地に接続されたローサイドのスイッチ素子からなるハーフブリッジ回路を複数有し、前記ハイサイドまたはローサイドのスイッチ素子のオンオフにより、前記直流電源からの電流を前記モータに供給するインバータ回路と、
前記直流電源から前記モータに供給される電流の電流値を検出し、前記電流値に対応する電流値信号を出力する電流検出手段と、
前記各ハーフブリッジ回路に備えられている前記ハイサイドまたはローサイドのスイッチ素子に制御信号を供給する制御信号生成手段とを備え、
前記制御信号生成手段は、
正相PWM制御信号を生成する第1および第2の正相PWM制御信号生成手段と、
前記正相PWM制御信号生成手段から供給される正相PWM制御信号に基づき、正相PWM制御信号に対し反転信号となる逆相PWM制御信号を生成する逆相PWM制御信号生成手段と、
予め定められた電流閾値が記憶されている電流値メモリと、
前記電流値メモリに記憶されている前記電流閾値と前記電流検出手段から供給される前記電流値信号を比較し、前記電流値信号が前記電流閾値未満であるときは、第1の正相PWM制御信号生成手段から供給される前記正相PWM制御信号を選択して出力し、前記電流値信号が前記電流閾値以上であるときは、第2の正相PWM制御信号生成手段から供給される前記正相PWM制御信号および前記逆相PWM制御信号生成手段から供給される前記逆相PWM制御信号を選択して出力する選択手段とを備えることを特徴とするモータ制御装置。
In the motor control device that supplies current to the motor by PWM control,
A plurality of half-bridge circuits comprising a high-side switch element connected to a DC power source and a low-side switch element connected to ground, and the current from the DC power source is turned on and off by the high-side or low-side switch element. An inverter circuit for supplying to the motor;
Current detection means for detecting a current value of a current supplied from the DC power source to the motor and outputting a current value signal corresponding to the current value;
Control signal generating means for supplying a control signal to the high-side or low-side switch element provided in each half-bridge circuit,
The control signal generating means
First and second positive phase PWM control signal generating means for generating a positive phase PWM control signal;
Based on the positive phase PWM control signal supplied from the positive phase PWM control signal generating means, a negative phase PWM control signal generating means for generating a negative phase PWM control signal that is an inverted signal with respect to the positive phase PWM control signal;
A current value memory in which a predetermined current threshold value is stored;
The current threshold value stored in the current value memory is compared with the current value signal supplied from the current detection means. When the current value signal is less than the current threshold value, a first positive phase PWM control is performed. The positive phase PWM control signal supplied from the signal generation means is selected and output, and when the current value signal is equal to or greater than the current threshold, the positive phase PWM control signal generation means supplied from the second positive phase PWM control signal generation means. A motor control device comprising: a phase PWM control signal; and a selection unit that selects and outputs the negative phase PWM control signal supplied from the negative phase PWM control signal generation unit.
前記制御信号生成手段は、前記選択手段にから出力される前記正相および逆相PWM制御信号の立ち上がり信号を遅延させる遅延手段を備えることを特徴とする請求項4に記載のモータ制御装置。   5. The motor control device according to claim 4, wherein the control signal generation unit includes a delay unit that delays a rising signal of the normal phase and reverse phase PWM control signals output from the selection unit. 前記第1および第2の正相PWM制御信号生成手段は、目標デューティ比信号が予め定められたデューティ比未満の場合は、予め定められた第1のカウント時間でオンオフし、前記目標デューティ比信号の増大に対応して減少し、前記目標デューティ比信号の減少に対応して増大する第3のカウント時間の間においてオフ状態となり、前記目標デューティ比信号が予め定められたデューティ比以上の場合は、前記第1のキャリア周期以上であり、かつ、前記目標デューティ比信号の増大に対応して増大し、前記目標デューティ比信号の減少に対応して減少する第2のカウント時間でオンオフし、前記第1のオフ時間以下であり、かつ、予め定められた第4のカウント時間の間においてオフ状態となる正相PWM制御信号を生成することを特徴とする請求項5に記載のモータ制御装置。   When the target duty ratio signal is less than a predetermined duty ratio, the first and second positive phase PWM control signal generating means turn on and off at a predetermined first count time, and the target duty ratio signal When the target duty ratio signal is equal to or higher than a predetermined duty ratio, the third duty period decreases in response to an increase in the target duty ratio signal and increases in response to a decrease in the target duty ratio signal. , And is turned on / off at a second count time that is equal to or greater than the first carrier period, increases in response to an increase in the target duty ratio signal, and decreases in response to a decrease in the target duty ratio signal, A positive phase PWM control signal that is equal to or shorter than the first off time and is in an off state during a predetermined fourth count time is generated. The motor control device according to claim 5. モータにPWM制御により電流を供給するモータ制御装置において、
直流電源に接続されたハイサイドのスイッチ素子と、接地に接続されたローサイドのスイッチ素子からなるハーフブリッジ回路を複数有し、前記ハイサイドまたはローサイドのスイッチ素子のオンオフにより、前記直流電源からの電流を前記モータに供給するインバータ回路と、
前記直流電源から前記モータに供給される電流の電流値を検出し、前記電流値に対応する電流値信号を出力する電流検出手段と、
前記各ハーフブリッジ回路に備えられている前記ハイサイドまたはローサイドのスイッチ素子のうち選択される一方のスイッチ素子に正相PWM制御信号を供給し、前記各ハーフブリッジ回路に備えられている前記ハイサイドまたはローサイドのスイッチ素子のうち選択される他方のスイッチ素子に逆相PWM制御信号を供給する制御信号生成手段とを備え、
前記制御信号生成手段は、
目標デューティ比信号が予め定められたデューティ比未満の場合は、予め定められた第1のカウント時間を繰り返し計測し、前記目標デューティ比信号が前記予め定められたデューティ比以上の場合には、前記第1のカウント時間以上であり、かつ、前記目標デューティ比信号の増大に対応して増大し、前記目標デューティ比信号の減少に対応して減少する第2のカウント時間を繰り返し計測するキャリア周期設定手段と、
前記目標デューティ比信号が前記予め定められたデューティ比未満の場合には、前記目標デューティ比信号の増大に対応して減少し、前記目標デューティ比信号の減少に対応して増大する第3のカウント時間の計測を前記キャリア周期設定手段が前記第1または第2のカウント時間の計測を開始するのと略同時に開始し、前記目標デューティ比信号が前記予め定められたデューティ比以上の場合には、前記第3のカウント時間以下であり、かつ、予め定められた第4のカウント時間の計測を前記キャリア周期設定手段が前記第1または第2のカウント時間の計測を開始するのと略同時に開始し、前記第3または第4のカウント時間を計測しているときは第1の通知信号を出力し、前記第3または第4のカウント時間の計測を終了した後は第2の通知信号を出力するオフ時間設定手段と、
前記オフ時間設定手段から前記第1の通知信号が供給されているときオフ状態となり、前記オフ時間設定手段から前記第2の通知信号が供給されているときオン状態となる正相PWM制御信号を生成する第1および第2の正相PWM制御信号生成手段と、
前記正第1の相PWM制御信号生成手段から供給される正相PWM制御信号に基づき、正相PWM制御信号に対し反転信号となる逆相PWM制御信号を生成する逆相PWM制御信号生成手段と、
予め定められた電流閾値が記憶されている電流値メモリと、
前記電流値メモリに記憶されている前記電流閾値と前記電流検出手段から供給される前記電流値信号を比較し、前記電流値信号が前記電流閾値未満であるときは、前記第1の正相PWM制御信号生成手段から供給される前記正相PWM制御信号を選択して出力し、前記電流値信号が前記電流閾値以上であるときは、前記第2の正相PWM制御信号生成手段から供給される前記正相PWM制御信号および前記逆相PWM制御信号生成手段から供給される前記逆相PWM制御信号を選択して出力する選択手段と、
前記選択手段にから出力される前記正相および逆相PWM制御信号の立ち上がり信号を遅延させる遅延手段とを備えることを特徴とするモータ制御装置。
In the motor control device that supplies current to the motor by PWM control,
A plurality of half-bridge circuits comprising a high-side switch element connected to a DC power source and a low-side switch element connected to ground, and the current from the DC power source is turned on and off by the high-side or low-side switch element. An inverter circuit for supplying to the motor;
Current detection means for detecting a current value of a current supplied from the DC power source to the motor and outputting a current value signal corresponding to the current value;
A positive-phase PWM control signal is supplied to one of the high-side or low-side switch elements provided in each half-bridge circuit, and the high-side provided in each half-bridge circuit. Or a control signal generating means for supplying a reverse-phase PWM control signal to the other switch element selected from the low-side switch elements,
The control signal generating means
When the target duty ratio signal is less than the predetermined duty ratio, the first count time set in advance is repeatedly measured, and when the target duty ratio signal is greater than or equal to the predetermined duty ratio, Carrier cycle setting for repeatedly measuring a second count time that is equal to or longer than the first count time, increases in response to an increase in the target duty ratio signal, and decreases in response to a decrease in the target duty ratio signal Means,
When the target duty ratio signal is less than the predetermined duty ratio, a third count that decreases in response to an increase in the target duty ratio signal and increases in response to a decrease in the target duty ratio signal When the carrier period setting means starts measuring the time approximately at the same time as the measurement of the first or second count time, and the target duty ratio signal is equal to or greater than the predetermined duty ratio, The measurement of the fourth count time that is not more than the third count time and that is set in advance is started substantially simultaneously with the start of the measurement of the first or second count time by the carrier cycle setting means. When the third or fourth count time is measured, a first notification signal is output, and after the measurement of the third or fourth count time is finished, the second notification signal is output. And off-time setting means for outputting a notification signal,
A positive phase PWM control signal that is turned off when the first notification signal is supplied from the off time setting means and is turned on when the second notification signal is supplied from the off time setting means. First and second positive phase PWM control signal generating means for generating;
A negative phase PWM control signal generating means for generating a negative phase PWM control signal which is an inverted signal with respect to the positive phase PWM control signal based on the positive phase PWM control signal supplied from the positive first phase PWM control signal generating means; ,
A current value memory in which a predetermined current threshold value is stored;
The current threshold value stored in the current value memory is compared with the current value signal supplied from the current detection means, and when the current value signal is less than the current threshold value, the first positive phase PWM The positive phase PWM control signal supplied from the control signal generating means is selected and output, and when the current value signal is equal to or greater than the current threshold, the positive phase PWM control signal is supplied from the second positive phase PWM control signal generating means. Selecting means for selecting and outputting the negative phase PWM control signal supplied from the positive phase PWM control signal and the negative phase PWM control signal generating means;
A motor control device comprising delay means for delaying a rising signal of the normal phase and negative phase PWM control signals output from the selection means.
JP2009086512A 2009-03-31 2009-03-31 Motor control device Active JP5714806B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009086512A JP5714806B2 (en) 2009-03-31 2009-03-31 Motor control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009086512A JP5714806B2 (en) 2009-03-31 2009-03-31 Motor control device

Publications (2)

Publication Number Publication Date
JP2010239815A true JP2010239815A (en) 2010-10-21
JP5714806B2 JP5714806B2 (en) 2015-05-07

Family

ID=43093654

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009086512A Active JP5714806B2 (en) 2009-03-31 2009-03-31 Motor control device

Country Status (1)

Country Link
JP (1) JP5714806B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013150491A (en) * 2012-01-23 2013-08-01 Mitsuba Corp Control device for switched reluctance motor
US9912270B2 (en) 2015-04-21 2018-03-06 Denso Corporation Motor drive device

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63240376A (en) * 1987-03-24 1988-10-06 Semiconductor Res Found Triangular wave comparison type pwm power converter
JP2000354393A (en) * 1999-06-09 2000-12-19 Sanyo Denki Co Ltd Rotational speed control circuit for motor
JP2002272162A (en) * 2001-03-09 2002-09-20 Matsushita Electric Ind Co Ltd Brushless motor driver and brushless motor using the same
JP2002291241A (en) * 2001-03-23 2002-10-04 Densei Lambda Kk Switching power supply
JP2003324928A (en) * 2002-04-26 2003-11-14 Toyoda Mach Works Ltd Motor controller
JP2004007894A (en) * 2002-05-31 2004-01-08 Matsushita Electric Ind Co Ltd Driving device for brushless motor, and motor using the same
JP2008072788A (en) * 2006-09-12 2008-03-27 Toshiba Corp Motor driver, brushless motor, and drive method therefor

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63240376A (en) * 1987-03-24 1988-10-06 Semiconductor Res Found Triangular wave comparison type pwm power converter
JP2000354393A (en) * 1999-06-09 2000-12-19 Sanyo Denki Co Ltd Rotational speed control circuit for motor
JP2002272162A (en) * 2001-03-09 2002-09-20 Matsushita Electric Ind Co Ltd Brushless motor driver and brushless motor using the same
JP2002291241A (en) * 2001-03-23 2002-10-04 Densei Lambda Kk Switching power supply
JP2003324928A (en) * 2002-04-26 2003-11-14 Toyoda Mach Works Ltd Motor controller
JP2004007894A (en) * 2002-05-31 2004-01-08 Matsushita Electric Ind Co Ltd Driving device for brushless motor, and motor using the same
JP2008072788A (en) * 2006-09-12 2008-03-27 Toshiba Corp Motor driver, brushless motor, and drive method therefor

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013150491A (en) * 2012-01-23 2013-08-01 Mitsuba Corp Control device for switched reluctance motor
US9912270B2 (en) 2015-04-21 2018-03-06 Denso Corporation Motor drive device

Also Published As

Publication number Publication date
JP5714806B2 (en) 2015-05-07

Similar Documents

Publication Publication Date Title
US8604732B2 (en) Inverter unit
CN107979307B (en) Collective motor drive control of brushless DC motor
JP6217369B2 (en) Motor control device and motor control method
JP6217554B2 (en) Inverter device
EP3109990B1 (en) Semiconductor devices and methods for dead time optimization
JP2009130954A (en) Power converter
JP2005510998A (en) Circuit equipment for operating electrical machines
JP2005045848A (en) Controller and control method of ac motor and module
JP5714806B2 (en) Motor control device
US20040017172A1 (en) Pulse width modulation motor driving device for controlling driving operation of a three-phase motor at the start and ordinary rotational frequency
JP2008271612A (en) Motor control circuit
JP2012135118A (en) Inverter device
JP6308519B2 (en) Motor drive device and motor control method
WO2020059814A1 (en) Motor control device, motor system and inverter control method
JP5574612B2 (en) Motor control device
JP6150694B2 (en) Brushless motor drive device
JP4300352B2 (en) Motor drive control device
JP2012182874A (en) Motor control device
JP2011067029A (en) Power semiconductor device
JP7407534B2 (en) Motor controllers and motor systems
JP5496517B2 (en) Motor control circuit
JP6164146B2 (en) Control device
JP2004104934A (en) Inverter controller
JP2022044290A (en) Motor control device, motor system, and motor control method
JP2022055205A (en) Motor control device, motor system, and motor control method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20120215

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130410

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130416

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130617

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20131126

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20140127

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20140715

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20140828

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20150312

R150 Certificate of patent or registration of utility model

Ref document number: 5714806

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150