JP2005192335A - Inverter and motor control method - Google Patents

Inverter and motor control method Download PDF

Info

Publication number
JP2005192335A
JP2005192335A JP2003431108A JP2003431108A JP2005192335A JP 2005192335 A JP2005192335 A JP 2005192335A JP 2003431108 A JP2003431108 A JP 2003431108A JP 2003431108 A JP2003431108 A JP 2003431108A JP 2005192335 A JP2005192335 A JP 2005192335A
Authority
JP
Japan
Prior art keywords
phase
current
motor
signal
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.)
Withdrawn
Application number
JP2003431108A
Other languages
Japanese (ja)
Inventor
Shigeki Ikeda
成喜 池田
Tsugunori Sakata
世紀 坂田
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.)
Toyota Industries Corp
Original Assignee
Toyota Industries 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 Toyota Industries Corp filed Critical Toyota Industries Corp
Priority to JP2003431108A priority Critical patent/JP2005192335A/en
Publication of JP2005192335A publication Critical patent/JP2005192335A/en
Withdrawn legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02MAPPARATUS FOR CONVERSION BETWEEN AC AND AC, BETWEEN AC AND DC, OR BETWEEN DC AND DC, AND FOR USE WITH MAINS OR SIMILAR POWER SUPPLY SYSTEMS; CONVERSION OF DC OR AC INPUT POWER INTO SURGE OUTPUT POWER; CONTROL OR REGULATION THEREOF
    • H02M1/00Details of apparatus for conversion
    • H02M1/0003Details of control, feedback or regulation circuits
    • H02M1/0009Devices or circuits for detecting current in a converter
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02MAPPARATUS FOR CONVERSION BETWEEN AC AND AC, BETWEEN AC AND DC, OR BETWEEN DC AND DC, AND FOR USE WITH MAINS OR SIMILAR POWER SUPPLY SYSTEMS; CONVERSION OF DC OR AC INPUT POWER INTO SURGE OUTPUT POWER; CONTROL OR REGULATION THEREOF
    • H02M7/00Conversion of ac power input into dc power output; Conversion of dc power input into ac power output
    • H02M7/42Conversion of dc power input into ac power output without possibility of reversal
    • H02M7/44Conversion of dc power input into ac power output without possibility of reversal by static converters
    • H02M7/48Conversion of dc power input into ac power output without possibility of reversal by static converters using discharge tubes with control electrode or semiconductor devices with control electrode
    • H02M7/53Conversion of dc power input into ac power output without possibility of reversal by static converters using discharge tubes with control electrode or semiconductor devices with control electrode using devices of a triode or transistor type requiring continuous application of a control signal
    • H02M7/537Conversion of dc power input into ac power output without possibility of reversal by static converters using discharge tubes with control electrode or semiconductor devices with control electrode using devices of a triode or transistor type requiring continuous application of a control signal using semiconductor devices only, e.g. single switched pulse inverters
    • H02M7/539Conversion of dc power input into ac power output without possibility of reversal by static converters using discharge tubes with control electrode or semiconductor devices with control electrode using devices of a triode or transistor type requiring continuous application of a control signal using semiconductor devices only, e.g. single switched pulse inverters with automatic control of output wave form or frequency
    • H02M7/5395Conversion of dc power input into ac power output without possibility of reversal by static converters using discharge tubes with control electrode or semiconductor devices with control electrode using devices of a triode or transistor type requiring continuous application of a control signal using semiconductor devices only, e.g. single switched pulse inverters with automatic control of output wave form or frequency by pulse-width modulation

Landscapes

  • Control Of Ac Motors In General (AREA)
  • Control Of Motors That Do Not Use Commutators (AREA)
  • Power Conversion In General (AREA)
  • Inverter Devices (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To detect a motor current accurately by detecting a current on the DC side through one shunt resistor in an inverter for driving a motor. <P>SOLUTION: A switch circuit 101 comprises a bridge circuit for phase U to phase W. A DC power supply 111 is connected to the input side of the switch circuit 101 and a motor 112 is connected to the output side thereof. A shunt resistor R is provided on the input side of the switch circuit 101 and combined currents of phase U to phase W flow through the shunt resistor R. A current detection circuit 10 detects the motor current by utilizing the shunt resistor R upon elapsing a predetermined time after on/off switching timing of a switching element constituting the switch circuit 101. A control circuit 11 creates a PWM signal for controlling the switch circuit 101 on the basis of a detected motor current. <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

本発明は、インバータ装置およびモータ制御方法に係わり、特に、モータに電力を供給するためのインバータ装置および3相同期モータを制御する方法に係わる。   The present invention relates to an inverter device and a motor control method, and more particularly, to an inverter device for supplying power to a motor and a method for controlling a three-phase synchronous motor.

直流電源の出力を交流に変換して負荷に供給するインバータ装置は、様々な用途に広く利用されている。
図16(a)は、既存のインバータ装置の一例の基本構成を示す図である。なお、ここでは、インバータ装置に接続する負荷は、3相モータ(例えば、DCブラシレスモータ)であるものとする。また、モータの回転数は、位置センサレス制御(正弦波ベクトル制御)により制御されるものとする。
An inverter device that converts the output of a DC power source into AC and supplies it to a load is widely used for various applications.
FIG. 16A is a diagram illustrating a basic configuration of an example of an existing inverter device. Here, it is assumed that the load connected to the inverter device is a three-phase motor (for example, a DC brushless motor). The rotation speed of the motor is controlled by position sensorless control (sine wave vector control).

スイッチ回路101は、直流電源111に接続されており、U相用ブリッジ回路、V相用ブリッジ回路、W相用ブリッジ回路を備える。各ブリッジ回路は、それぞれ、互いに直列に接続された1組のスイッチ素子を備えている。そして、各ブリッジ回路の出力が、モータ112に接続されている。   The switch circuit 101 is connected to a DC power supply 111 and includes a U-phase bridge circuit, a V-phase bridge circuit, and a W-phase bridge circuit. Each bridge circuit includes a set of switch elements connected in series with each other. The output of each bridge circuit is connected to the motor 112.

制御回路102は、指定された回転数でモータ112が駆動されるように、スイッチ回路101の各スイッチ素子を制御する。ここで、位置センサレス制御では、モータ電流を直接的に検出することなくモータの回転が制御される。このため、このインバータ装置においては、各ブリッジ回路に対してそれぞれシャント抵抗Ru〜Rwが設けられている。そして、これらのシャント抵抗Ru〜Rwを利用してU相電流、V相電流、W相電流をモニタし、それらの電流値からモータ位置を推定しながらモータ112を制御するように構成されている。   The control circuit 102 controls each switch element of the switch circuit 101 so that the motor 112 is driven at a designated rotational speed. Here, in the position sensorless control, the rotation of the motor is controlled without directly detecting the motor current. For this reason, in this inverter device, shunt resistors Ru to Rw are provided for the respective bridge circuits. The shunt resistors Ru to Rw are used to monitor the U-phase current, V-phase current, and W-phase current, and the motor 112 is controlled while estimating the motor position from these current values. .

ところが、図16(a)に示すインバータ装置では、各相ごとにシャント抵抗が設けられているので、製造コストが上昇するとともに、回路サイズが大きくなってしまう。このため、近年では、図16(b)に示すように、スイッチ回路101に対して1つのシャント抵抗Rを設け、そのシャント抵抗Rを利用してインバータ装置の直流側を流れる電流を検出し、その検出した電流値からU相電流、V相電流、W相電流を推定する方式が提案されている(例えば、特許文献1、2)。   However, in the inverter device shown in FIG. 16A, since the shunt resistor is provided for each phase, the manufacturing cost increases and the circuit size increases. Therefore, in recent years, as shown in FIG. 16B, a single shunt resistor R is provided for the switch circuit 101, and the current flowing through the DC side of the inverter device is detected using the shunt resistor R. A method for estimating a U-phase current, a V-phase current, and a W-phase current from the detected current value has been proposed (for example, Patent Documents 1 and 2).

図17は、図16(b)に示すインバータ装置の動作を説明する図である。ここでは、U相〜W相のブリッジ回路の下アームスイッチ素子の状態、およびシャント抵抗Rを介して流れる電流が描かれている。なお、各ブリッジ回路の上アームスイッチ素子および下アームスイッチ素子は、それぞれ、同時にオン状態になることがないように交互に駆動される。   FIG. 17 is a diagram for explaining the operation of the inverter device shown in FIG. Here, the state of the lower arm switch element of the U-phase to W-phase bridge circuit and the current flowing through the shunt resistor R are depicted. Note that the upper arm switch element and the lower arm switch element of each bridge circuit are alternately driven so as not to be turned on simultaneously.

図17において、例えば、U相の下アームスイッチ素子がオン状態であり、且つV相およびW相の下アームスイッチ素子がオフ状態であるときは(この場合、U相の上アームスイッチ素子はオフ状態であり、且つV相およびW相の上アームスイッチ素子はオン状態である)、シャント抵抗Rを介して流れる電流は、U相のモータ電流に相当する。また、U相およびV相の下アームスイッチ素子がオン状態であり、且つW相の下アームスイッチ素子がオフ状態であるときは(この場合、U相およびV相の上アームスイッチ素子はオフ状態であり、且つW相の上アームスイッチ素子はオン状態である)、シャント抵抗Rを介して流れる電流は、W相のモータ電流に相当する。   In FIG. 17, for example, when the U-phase lower arm switch element is in the ON state and the V-phase and W-phase lower arm switch elements are in the OFF state (in this case, the U-phase upper arm switch element is off). And the current flowing through the shunt resistor R corresponds to a U-phase motor current. Further, when the U-phase and V-phase lower arm switch elements are in the ON state and the W-phase lower arm switch element is in the OFF state (in this case, the U-phase and V-phase upper arm switch elements are in the OFF state. And the W-phase upper arm switch element is in the ON state), and the current flowing through the shunt resistor R corresponds to the W-phase motor current.

このように、図17に示す動作期間においては、シャント抵抗Rを介して流れる電流に基づいて、U相およびW相のモータ電流を検出することができる。すなわち、このインバータ装置は、単位時間ごとにシャント抵抗Rの両端電圧を2回検出し、3相のうちの2相分のモータ電流を検出する。さらに、その2相分のモータ電流(図17に示す例では、U相およびW相のモータ電流)に基づいて、残りの相のモータ電流(図17に示す例では、V相のモータ電流)を推定する。そして、制御回路102は、上述のようにして検出または推定した各相のモータ電流に基づいてモータ位置を推定しながらモータ112を制御する。   As described above, during the operation period shown in FIG. 17, the U-phase and W-phase motor currents can be detected based on the current flowing through the shunt resistor R. That is, this inverter device detects the voltage across the shunt resistor R twice per unit time, and detects the motor current for two phases of the three phases. Further, based on the motor currents for the two phases (in the example shown in FIG. 17, the motor currents in the U phase and the W phase), the remaining phase motor currents (in the example shown in FIG. 17, the V phase motor currents). Is estimated. The control circuit 102 controls the motor 112 while estimating the motor position based on the motor current of each phase detected or estimated as described above.

なお、本発明に関連する技術として、モータ電流の検出タイミングを調整する発明が特許文献3に記載されている。ただし、特許文献3に記載の技術は、インバータ装置の出力側でモータ電流を直接的に検出するものである。
特開2002−95263号公報(図1、図7、図8、段落0028、0050〜0057) 特開平10−201288号公報(図1) 特開平11−55983号公報(図1、要約)
As a technique related to the present invention, Patent Document 3 discloses an invention for adjusting the detection timing of a motor current. However, the technique described in Patent Document 3 directly detects the motor current on the output side of the inverter device.
JP 2002-95263 A (FIGS. 1, 7, and 8, paragraphs 0028 and 0050 to 0057) Japanese Patent Laid-Open No. 10-201288 (FIG. 1) Japanese Patent Laid-Open No. 11-55983 (FIG. 1, abstract)

図16(b)に示すインバータ装置においては、上述のように、単位時間ごとにシャント抵抗Rの両端電圧を2回検出する。このとき、シャント抵抗Rの両端電圧値は、通常、A/D変換器によりデジタルデータに変換されてマイコン(制御回路102)に与えられる。したがって、シャント抵抗Rの両端電圧を検出するためには、その電圧値が一定時間以上保持されている必要がある。   In the inverter device shown in FIG. 16B, as described above, the voltage across the shunt resistor R is detected twice per unit time. At this time, the voltage value across the shunt resistor R is usually converted into digital data by an A / D converter and given to the microcomputer (control circuit 102). Therefore, in order to detect the voltage across the shunt resistor R, the voltage value needs to be held for a certain period of time.

しかし、スイッチ回路101の各スイッチ素子を制御するための制御信号(PWM信号)のタイミングによっては、シャント抵抗Rの両端電圧を検出するための時間を十分に確保できないことがある。図17に示す例では、W相のモータ電流を検出するための時間が十分に確保されていない。   However, depending on the timing of the control signal (PWM signal) for controlling each switch element of the switch circuit 101, a sufficient time for detecting the voltage across the shunt resistor R may not be secured. In the example shown in FIG. 17, a sufficient time for detecting the W-phase motor current is not secured.

このように、1つのシャント抵抗で直流側の電流を検出することによりモータ電流を検出または推定しながらモータを駆動する従来のインバータ装置においては、電流を正確に検出できないことがあった。そして、この結果、モータを正確に制御できないことがあった。   As described above, in the conventional inverter device that drives the motor while detecting or estimating the motor current by detecting the current on the DC side with one shunt resistor, the current may not be detected accurately. As a result, the motor may not be accurately controlled.

また、シャント抵抗を用いて直流側の電流を検出する際、スイッチ素子のオン/オフ切替え時のリカバリ電流により発生する電圧(以下、単に「リカバリ電圧」と記載する。)がノイズとなってしまう。このため、電流を正確に検出できないことがあった。
本発明の目的は、3相交流を生成するインバータ装置において、1つのシャント抵抗で直流側の電流を検出することにより負荷電流を正確に検出することである。また、本発明の他の目的は、上記インバータ装置を用いてモータを正確に制御できるようにすることである。
Further, when detecting a DC side current using a shunt resistor, a voltage (hereinafter simply referred to as “recovery voltage”) generated by a recovery current at the time of switching on / off of the switch element becomes noise. . For this reason, the current may not be detected accurately.
An object of the present invention is to accurately detect a load current by detecting a direct current on a single shunt resistor in an inverter device that generates a three-phase alternating current. Another object of the present invention is to enable accurate control of a motor using the inverter device.

本発明のインバータ装置は、直流電源の出力を3相交流に変換する装置であって、上記直流電源に接続され複数のスイッチ素子を含むスイッチ回路と、上記直流電源と上記スイッチ回路との間に設けられた電流センサと、上記電流センサを用いて負荷電流を検出する電流検出手段と、上記電流検出手段により得られる負荷電流に基づいて上記複数のスイッチ素子をオン/オフ制御するための制御信号を生成する制御手段、を備える。そして、上記電流検出手段は、上記スイッチ素子のオン/オフ切替えタイミングから所定時間経過した後の電流値を検出する。   An inverter device of the present invention is a device that converts the output of a DC power source into a three-phase AC, and includes a switch circuit connected to the DC power source and including a plurality of switch elements, and between the DC power source and the switch circuit. A current sensor provided; current detection means for detecting a load current using the current sensor; and a control signal for ON / OFF control of the plurality of switch elements based on the load current obtained by the current detection means The control means which produces | generates. The current detection means detects a current value after a predetermined time has elapsed from the on / off switching timing of the switch element.

上記インバータ装置において、スイッチ素子のオン/オフ切替えタイミングの直後は、リカバリ電圧が発生する。そして、そのリカバリ電圧が存在する期間は、電流センサが検知する電流値はノイズを含んでいる。よって、スイッチ素子のオン/オフ切替えタイミングから所定時間経過した後の電流値を検出することにより、リカバリ電圧の影響を排除する。   In the inverter device, a recovery voltage is generated immediately after the switching timing of the switch element. During the period in which the recovery voltage exists, the current value detected by the current sensor includes noise. Therefore, the influence of the recovery voltage is eliminated by detecting the current value after a predetermined time has elapsed from the ON / OFF switching timing of the switch element.

なお、上記インバータ装置において、電流検出手段は、上記スイッチ素子のオン/オフ切替えタイミングから上記所定時間が経過した時またはそれ以降に上記電流センサから得られる値をホールドするサンプルホールド回路、を備えるように構成されてもよい。あるいは、上記スイッチ素子のオン/オフ切替えタイミングから上記所定時間が経過したときに上記電流センサから得られる値のサンプリングを開始するサンプルホールド回路、を備えるように構成されてもよい。これらのインバータ装置において、タイマが計時するタイマ値としてリカバリ電圧が発生してからそれが十分に小さくなるまでに要する時間を設定すれば、リカバリ電圧の影響を確実に回避できる。さらに、上記電流検出手段は、上記サンプルホールド回路が上記電流センサから得られる値をホールドした後にそのホールドした値を読み込むようにしてもよい。   In the inverter device, the current detection means includes a sample hold circuit that holds a value obtained from the current sensor when the predetermined time has elapsed from or after the switch element on / off switching timing. May be configured. Alternatively, it may be configured to include a sample and hold circuit that starts sampling of the value obtained from the current sensor when the predetermined time has elapsed from the on / off switching timing of the switch element. In these inverter devices, the influence of the recovery voltage can be reliably avoided by setting the time required until the recovery voltage is sufficiently reduced after the recovery voltage is generated as the timer value counted by the timer. Further, the current detection means may read the held value after the sample hold circuit holds the value obtained from the current sensor.

また、上記インバータ装置において、制御手段は、上記3相交流を生成するための変調信号を定義する変調率およびその変調信号の位相に基づいて、上記3相のうちから負荷電流を検出すべき2相を選択する選択手段を有するようにしてもよい。この場合、常に負荷電流を確実に検出できる。   In the inverter device, the control means should detect a load current from the three phases based on a modulation rate defining a modulation signal for generating the three-phase alternating current and a phase of the modulation signal. You may make it have a selection means to select a phase. In this case, the load current can always be reliably detected.

本発明のモータ制御方法は、スイッチ回路を含むインバータ装置を使用して3相モータを制御する方法であって、直流電源と上記スイッチ回路との間に設けられる1つのシャント抵抗を利用して上記3相のうちの2相のモータ電流を検出する検出ステップと、検出したモータ電流に基づいて上記スイッチ回路を制御するための制御信号を生成する生成ステップ、を有する。そして、上記検出ステップにおいて、上記スイッチ回路を構成するスイッチ素子のオン/オフ切替えタイミングから所定時間経過した後の電流値を検出する。この方法においても、上述のインバータ装置の作用と同様に、リカバリ電圧の影響を回避できる。   The motor control method of the present invention is a method of controlling a three-phase motor using an inverter device including a switch circuit, and uses the one shunt resistor provided between a DC power supply and the switch circuit. A detection step for detecting a motor current of two phases of the three phases, and a generation step for generating a control signal for controlling the switch circuit based on the detected motor current. In the detection step, a current value after a predetermined time has elapsed from the on / off switching timing of the switch elements constituting the switch circuit is detected. Also in this method, the influence of the recovery voltage can be avoided similarly to the operation of the inverter device described above.

本発明によれば、スイッチ素子をオン/オフした直後に発生するリカバリ電圧の影響を排除できるので、負荷電流を正確に検出できる。
また、モータ制御においてモータ電流を正確に検出できるので、正確に所望の回転数を得ることができる。
According to the present invention, the influence of the recovery voltage that occurs immediately after the switching element is turned on / off can be eliminated, so that the load current can be accurately detected.
Further, since the motor current can be accurately detected in the motor control, the desired rotation speed can be obtained accurately.

図1は、本発明の実施形態のインバータ装置1の構成図である。ここで、インバータ装置1の基本構成は、図16(b)に示した従来のインバータ装置と同じであり、スイッチ回路101、電流センサとしてのシャント抵抗R、電流検出回路10、制御回路11を備える。ただし、制御回路11は、従来のインバータ装置に設けられている制御回路102とは異なる。また、電流検出回路10は、本発明の特徴的要素を含んでいるので、制御回路11から独立して記載している。   FIG. 1 is a configuration diagram of an inverter device 1 according to an embodiment of the present invention. Here, the basic configuration of the inverter device 1 is the same as that of the conventional inverter device shown in FIG. 16B, and includes a switch circuit 101, a shunt resistor R as a current sensor, a current detection circuit 10, and a control circuit 11. . However, the control circuit 11 is different from the control circuit 102 provided in the conventional inverter device. Further, the current detection circuit 10 includes the characteristic elements of the present invention, and therefore is described independently of the control circuit 11.

インバータ装置1に接続する負荷は、モータ(例えば、3相のDCブラシレスモータ)112であるものとする。また、モータ112の回転数は、位置センサレス制御(正弦波ベクトル制御)により制御されるものとする。
スイッチ回路101は、直流電源111に接続されており、U相用ブリッジ回路、V相用ブリッジ回路、W相用ブリッジ回路を備える。各ブリッジ回路は、それぞれ、互いに直列に接続された1組のスイッチ素子を備えている。すなわち、U相用ブリッジ回路は、上アームスイッチ素子31Hおよび下アームスイッチ素子31Lを備える。同様に、V相用ブリッジ回路は、上アームスイッチ素子32Hおよび下アームスイッチ素子32Lを備えており、W相用ブリッジ回路は、上アームスイッチ素子33Hおよび下アームスイッチ素子33Lを備えている。そして、各ブリッジ回路の出力が、モータ112に接続されている。
The load connected to the inverter device 1 is assumed to be a motor (for example, a three-phase DC brushless motor) 112. The rotation speed of the motor 112 is controlled by position sensorless control (sine wave vector control).
The switch circuit 101 is connected to a DC power supply 111 and includes a U-phase bridge circuit, a V-phase bridge circuit, and a W-phase bridge circuit. Each bridge circuit includes a set of switch elements connected in series with each other. That is, the U-phase bridge circuit includes an upper arm switch element 31H and a lower arm switch element 31L. Similarly, the V-phase bridge circuit includes an upper arm switch element 32H and a lower arm switch element 32L, and the W-phase bridge circuit includes an upper arm switch element 33H and a lower arm switch element 33L. The output of each bridge circuit is connected to the motor 112.

電流検出回路10は、シャント抵抗Rの両端電圧に基づいてモータ電流(U相電流、V相電流、またはW相電流)を検出する。そして、制御回路11は、電流検出回路10により検出されたモータ電流に基づいてスイッチ回路101を制御するためのPWM信号を生成する。   The current detection circuit 10 detects a motor current (U-phase current, V-phase current, or W-phase current) based on the voltage across the shunt resistor R. Then, the control circuit 11 generates a PWM signal for controlling the switch circuit 101 based on the motor current detected by the current detection circuit 10.

図2は、インバータ装置1における電流検出について説明する図である。なお、スイッチ回路101を構成するスイッチ素子31H、31L、32H、32L、33H、33Lは、それぞれ制御回路11により制御される。
図2(a)に示す例では、上アームスイッチ素子31Hがオン状態であり、且つ上アームスイッチ素子32H、33Hがオフ状態である(このとき、下アームスイッチ素子31Lがオフ状態であり、且つ下アームスイッチ素子32L、33Lがオン状態である)。この場合、電流は以下の経路で流れる。直流電源111→上アームスイッチ素子31H→モータ112のU相コイル→モータ112のV相/W相コイル→下アームスイッチ素子32L、33L→シャント抵抗R→直流電源111。したがって、シャント抵抗Rを介して流れる電流は、モータ112のU相電流Iuに相当する。すなわち、シャント抵抗Rの両端電圧からU相電流Iuを検出できる。
FIG. 2 is a diagram for explaining current detection in the inverter device 1. Note that the switch elements 31H, 31L, 32H, 32L, 33H, and 33L constituting the switch circuit 101 are controlled by the control circuit 11, respectively.
In the example shown in FIG. 2A, the upper arm switch element 31H is in an on state, and the upper arm switch elements 32H and 33H are in an off state (at this time, the lower arm switch element 31L is in an off state, and The lower arm switch elements 32L and 33L are on). In this case, current flows through the following path. DC power supply 111 → upper arm switch element 31H → U phase coil of motor 112 → V phase / W phase coil of motor 112 → lower arm switch elements 32L, 33L → shunt resistor R → DC power supply 111. Therefore, the current flowing through shunt resistor R corresponds to U-phase current Iu of motor 112. That is, the U-phase current Iu can be detected from the voltage across the shunt resistor R.

図2(b)に示す例では、上アームスイッチ素子31H、32Hがオン状態であり、且つ上アームスイッチ素子33Hがオフ状態である(このとき、下アームスイッチ素子31L、32Lがオフ状態であり、且つ下アームスイッチ素子33Lがオン状態である)。この場合、電流は以下の経路で流れる。直流電源111→上アームスイッチ素子31H、32H→モータ112のU相/V相コイル→モータ112のW相コイル→下アームスイッチ素子33L→シャント抵抗R→直流電源111。したがって、シャント抵抗Rを介して流れる電流は、モータ112のW相電流Iwに相当する。すなわち、シャント抵抗Rの両端電圧からW相電流Iwを検出できる。   In the example shown in FIG. 2B, the upper arm switch elements 31H and 32H are in an on state and the upper arm switch element 33H is in an off state (at this time, the lower arm switch elements 31L and 32L are in an off state. And the lower arm switch element 33L is in an ON state). In this case, current flows through the following path. DC power supply 111 → upper arm switch elements 31H, 32H → U phase / V phase coil of motor 112 → W phase coil of motor 112 → lower arm switch element 33L → shunt resistor R → DC power supply 111. Therefore, the current flowing through shunt resistor R corresponds to W-phase current Iw of motor 112. That is, the W-phase current Iw can be detected from the voltage across the shunt resistor R.

なお、スイッチ回路101からモータ112へ向かう方向を「正」、モータ112からスイッチ回路101へ向かう方向を「負」と呼ぶことにする。例えば、図2(a)に示す例では、シャント抵抗Rの両端電圧から「+Iu」が検出される。また、図2(b)に示す例では、シャント抵抗Rの両端電圧から「−Iw」が検出される。   The direction from the switch circuit 101 to the motor 112 is called “positive”, and the direction from the motor 112 to the switch circuit 101 is called “negative”. For example, in the example shown in FIG. 2A, “+ Iu” is detected from the voltage across the shunt resistor R. In the example shown in FIG. 2B, “−Iw” is detected from the voltage across the shunt resistor R.

このように、スイッチ回路101の状態に決まると、シャント抵抗Rを介して流れる電流に基づいて検出可能なモータ電流の「相(U相、V相、W相)」が一意に決まる。スイッチ回路101の状態と検出可能なモータ電流の「相」との関係を図3に示す。
図4は、制御回路11の構成を示す図である。なお、制御回路11は、例えば、予め記述されたプログラムを実行するCPU、およびそのCPUにより使用されるメモリ等により実現される。
Thus, when the state of the switch circuit 101 is determined, the “phase (U phase, V phase, W phase)” of the motor current that can be detected based on the current flowing through the shunt resistor R is uniquely determined. FIG. 3 shows the relationship between the state of the switch circuit 101 and the “phase” of the detectable motor current.
FIG. 4 is a diagram illustrating a configuration of the control circuit 11. The control circuit 11 is realized by, for example, a CPU that executes a program described in advance, a memory used by the CPU, and the like.

シャント抵抗Rと制御回路11との間に設けられる電流検出回路10は、A/D変換器を備え、シャント抵抗Rの両端電圧をデジタルデータとして取り込む。なお、電流検出回路10は、図3に示すテーブルを備えており、シャント抵抗Rの両端電圧値を、PWM信号生成部18の出力に対応する相のモータ電流として取り込む。このとき、電流検出回路10は、キャリア周期ごとにU相電流、V相電流、W相電流のうちの2つを検出する。ただし、電流検出回路10は、相選択部20により選択された相のモータ電流のみを検出する。   The current detection circuit 10 provided between the shunt resistor R and the control circuit 11 includes an A / D converter, and takes in the voltage across the shunt resistor R as digital data. The current detection circuit 10 includes the table shown in FIG. 3, and captures the voltage value across the shunt resistor R as a phase motor current corresponding to the output of the PWM signal generation unit 18. At this time, the current detection circuit 10 detects two of the U-phase current, the V-phase current, and the W-phase current for each carrier cycle. However, the current detection circuit 10 detects only the motor current of the phase selected by the phase selection unit 20.

電流推定部12は、電流検出回路10によって検出された2相分のモータ電流に基づいて、他の相のモータ電流を推定する。例えば、電流検出回路10によりU相電流およびV相電流が検出されたときは、電流推定部12は、それらの電流値に基づいてW相電流を推定する。ここで、3相のモータ電流のうちの2相分の電流値から残りの1相分のモータ電流を推定する技術は公知であり、ここではその説明を省略する。   The current estimation unit 12 estimates the motor current of the other phase based on the motor current for two phases detected by the current detection circuit 10. For example, when a U-phase current and a V-phase current are detected by the current detection circuit 10, the current estimation unit 12 estimates a W-phase current based on those current values. Here, a technique for estimating the remaining one-phase motor current from the two-phase current value of the three-phase motor current is well known, and the description thereof is omitted here.

回転数推定部13は、電流推定部12により得られた3相分のモータ電流に基づいて、モータ112の回転数を推定する。なお、モータ電流に基づいてモータの回転数を推定する技術は公知である。誤差計算部14は、外部から与えられる回転数指令値と回転数推定部13により推定された回転数との誤差を求める。なお、回転数指令値は、例えば、ユーザにより与えられる。変調率制御部15は、誤差計算部14により求められた誤差に基づいて、後述する変調信号を定義する情報である変調率を決定する。   The rotation speed estimation unit 13 estimates the rotation speed of the motor 112 based on the three-phase motor current obtained by the current estimation unit 12. A technique for estimating the rotational speed of the motor based on the motor current is known. The error calculator 14 obtains an error between the rotational speed command value given from the outside and the rotational speed estimated by the rotational speed estimator 13. The rotation speed command value is given by the user, for example. The modulation rate control unit 15 determines a modulation rate, which is information defining a modulation signal described later, based on the error obtained by the error calculation unit 14.

キャリア信号生成部16は、スイッチ回路101の各スイッチ素子をスイッチングするためのキャリア信号(基準周期信号)を生成する。ここで、キャリア信号は、予め決められた一定の周波数の周期信号であって、例えば、電圧値が直線的に上昇する期間と直線的に減少する期間から1周期分の波形が構成される信号(この場合、しばしば「三角波信号」と呼ばれる。)である。   The carrier signal generation unit 16 generates a carrier signal (reference periodic signal) for switching each switch element of the switch circuit 101. Here, the carrier signal is a periodic signal having a predetermined constant frequency, for example, a signal in which a waveform for one period is formed from a period in which the voltage value increases linearly and a period in which the voltage value decreases linearly. (In this case, it is often called "triangular wave signal").

変調信号生成部17は、スイッチ回路101に与えられるPWM信号のデューティを指定する変調信号を生成する。ここで、変調信号は、U相変調信号、V相変調信号、W相変調信号から構成される。なお、U相変調信号、V相変調信号、W相変調信号は、特に限定されるものではないが、一例としては、互いに120度ずつ位相がシフトしたサイン波により実現される。   The modulation signal generation unit 17 generates a modulation signal that specifies the duty of the PWM signal supplied to the switch circuit 101. Here, the modulation signal includes a U-phase modulation signal, a V-phase modulation signal, and a W-phase modulation signal. The U-phase modulation signal, the V-phase modulation signal, and the W-phase modulation signal are not particularly limited. For example, the U-phase modulation signal, the V-phase modulation signal, and the W-phase modulation signal are realized by sine waves whose phases are shifted by 120 degrees.

PWM信号生成部18は、キャリア信号および変調信号に基づいて、スイッチ回路101を構成する各スイッチ素子を制御するためのPWM信号を生成する。ここで、例えば、U相用ブリッジ回路の上アームスイッチ素子31Hを制御するためのPWM信号は、キャリア信号およびU相変調信号から生成される。また、U相用ブリッジ回路の下アームスイッチ素子31Lを制御するためのPWM信号は、上アームスイッチ素子31Hを制御するためのPWM信号の論理を反転させることにより生成される。そして、PWM信号の生成は、V相およびW相についても同様である。なお、各ブリッジ回路を構成する1組のスイッチ素子が同時にオン状態になることを回避するために、それぞれデッドタイムが設けられている。駆動部19は、各PWM信号に基づいてスイッチ回路101を構成する各スイッチ素子を駆動するための駆動信号を生成する。   The PWM signal generation unit 18 generates a PWM signal for controlling each switch element constituting the switch circuit 101 based on the carrier signal and the modulation signal. Here, for example, the PWM signal for controlling the upper arm switch element 31H of the U-phase bridge circuit is generated from the carrier signal and the U-phase modulation signal. The PWM signal for controlling the lower arm switch element 31L of the U-phase bridge circuit is generated by inverting the logic of the PWM signal for controlling the upper arm switch element 31H. The generation of the PWM signal is the same for the V phase and the W phase. Note that dead times are provided in order to prevent a set of switch elements constituting each bridge circuit from being turned on simultaneously. The drive unit 19 generates a drive signal for driving each switch element included in the switch circuit 101 based on each PWM signal.

相選択部20は、上記変調信号の変調率およびその変調信号の位相に基づいて、U相、V相、W相のうちからモータ電流を検出すべき2相を選択し、その結果を電流検出回路10に通知する。そして、電流検出回路10は、その通知に従って、シャント抵抗Rを利用して得られる電流値を取り込むか否かを判断する。例えば、相選択部20が、モータ電流を検出すべき相として「U相」および「V相」を選択したものとする。この場合、電流検出回路10は、U相電流またはV相電流を検出するタイミングを指示する信号をPWM信号生成部18から受け取ったときは、シャント抵抗Rの両端電圧値を「U相電流」または「V相電流」として取り込む。しかし、W電流を検出するタイミングを指示する信号をPWM信号生成部18から受け取ったときは、シャント抵抗Rの両端電圧値を取り込まないようにする。すなわち、相選択部20により選択された相以外の電流は検出しない。   Based on the modulation rate of the modulation signal and the phase of the modulation signal, the phase selection unit 20 selects two phases from which the motor current should be detected from the U phase, the V phase, and the W phase, and detects the result of the current detection. The circuit 10 is notified. Then, the current detection circuit 10 determines whether or not to take in a current value obtained by using the shunt resistor R according to the notification. For example, it is assumed that the phase selection unit 20 has selected “U phase” and “V phase” as phases for detecting the motor current. In this case, when the current detection circuit 10 receives a signal indicating the timing for detecting the U-phase current or the V-phase current from the PWM signal generation unit 18, the current detection circuit 10 sets the voltage value across the shunt resistor R to “U-phase current” or Captured as “V-phase current”. However, when a signal instructing the timing for detecting the W current is received from the PWM signal generation unit 18, the voltage value across the shunt resistor R is not captured. That is, currents other than the phase selected by the phase selector 20 are not detected.

なお、上記構成の制御回路11は、誤差計算部14により得られる誤差がゼロになるようにPWM信号を生成する。この結果、モータ112の回転数は、指令値に一致する。
図5は、PWM信号生成部18の動作を説明する図である。ここで、U相変調信号、V相変調信号、W相変調信号は、互いに120度ずつ位相がシフトしたサイン波により実現されている。
Note that the control circuit 11 configured as described above generates a PWM signal so that the error obtained by the error calculation unit 14 becomes zero. As a result, the rotational speed of the motor 112 matches the command value.
FIG. 5 is a diagram for explaining the operation of the PWM signal generation unit 18. Here, the U-phase modulation signal, the V-phase modulation signal, and the W-phase modulation signal are realized by sine waves whose phases are shifted from each other by 120 degrees.

PWM信号生成部18は、所定時間間隔ごとに、キャリア信号および各変調信号のレベルを比較する。そして、ここでは、各PWM信号は、キャリア信号のレベルが対応する変調信号のレベルよりも高いときに「L」を表し、キャリア信号のレベルが対応する変調信号のレベルよりも低いときに「H」を表している。ただし、各PWM信号は、キャリア信号のレベルが対応する変調信号のレベルよりも高いときに「H」を表し、キャリア信号のレベルが対応する変調信号のレベルよりも低いときに「L」を表すようにしてもよい。   The PWM signal generator 18 compares the levels of the carrier signal and each modulation signal at predetermined time intervals. Here, each PWM signal represents “L” when the level of the carrier signal is higher than the level of the corresponding modulation signal, and “H” when the level of the carrier signal is lower than the level of the corresponding modulation signal. ". However, each PWM signal represents “H” when the level of the carrier signal is higher than the level of the corresponding modulation signal, and represents “L” when the level of the carrier signal is lower than the level of the corresponding modulation signal. You may do it.

図6は、変調信号の変調率および位相について説明する図である。ここでは、図5に示した変調信号の変調率が変化した場合の波形が描かれている。
上述したように、変調信号の変調率は、例えば、モータ回転数の指令値とモータ回転数の推定値との誤差に基づいて変調率制御部15により決定される。一例としては、モータ回転数の推定値が指令値よりも低かったときは、変調率を現在の値よりも所定値だけ大きくする。反対に、モータ回転数の推定値が指令値よりも高かったときは、変調率を現在の値よりも所定値だけ小さくする。そして、この処理を所定時間毎に繰り返すことにより、モータ回転数を指令値に一致させるための適切な変調率が得られる。
FIG. 6 is a diagram for explaining the modulation rate and phase of the modulation signal. Here, a waveform is shown when the modulation rate of the modulation signal shown in FIG. 5 changes.
As described above, the modulation rate of the modulation signal is determined by the modulation rate control unit 15 based on, for example, the error between the command value of the motor rotation speed and the estimated value of the motor rotation speed. As an example, when the estimated value of the motor rotational speed is lower than the command value, the modulation rate is increased by a predetermined value from the current value. On the contrary, when the estimated value of the motor rotational speed is higher than the command value, the modulation rate is made smaller by a predetermined value than the current value. Then, by repeating this process every predetermined time, an appropriate modulation rate for making the motor rotation speed coincide with the command value can be obtained.

変調信号生成部17は、変調率に応じた変調信号を生成する。この実施例では、変調率は、変調信号として生成されるサイン波の振幅を指定するものとする。例えば、図6に示す例では、図5に示した例と比較して大きな変調率が与えられ、その結果大きな振幅の変調信号が生成されている。なお、キャリア信号は、その周波数および波形が固定されているものとする。また、キャリア信号の周波数は、一般に、変調信号のそれと比べて遙かに高速である。   The modulation signal generation unit 17 generates a modulation signal corresponding to the modulation rate. In this embodiment, the modulation rate specifies the amplitude of a sine wave generated as a modulation signal. For example, in the example shown in FIG. 6, a larger modulation rate is given compared to the example shown in FIG. 5, and as a result, a modulated signal having a larger amplitude is generated. The carrier signal has a fixed frequency and waveform. The frequency of the carrier signal is generally much higher than that of the modulation signal.

上述のようにして変調率が変わることにより変調信号の振幅が変わると、それに応じて各相のPWM信号もそれぞれ変化することになる。たとえば、図5および図6において、対応するPWM信号のデューティがそれぞれ互いに異なっている。そして、各相のPWM信号が変化すると、それに応じてスイッチ回路101を構成する各スイッチ素子の状態が変わるので、図3に示したように、検出可能な電流相(U相電流、V相電流、W相電流)も異なることになる。よって、変調率制御部15は、誤差に基づいて決定した変調率を相選択部20に通知する。   When the amplitude of the modulation signal is changed by changing the modulation rate as described above, the PWM signal of each phase is also changed accordingly. For example, in FIGS. 5 and 6, the corresponding PWM signals have different duties from each other. When the PWM signal of each phase changes, the state of each switch element constituting the switch circuit 101 changes accordingly, so that the detectable current phase (U-phase current, V-phase current) as shown in FIG. , W-phase current) will also be different. Therefore, the modulation rate control unit 15 notifies the phase selection unit 20 of the modulation rate determined based on the error.

また、変調信号生成部17は、変調信号を生成する際に、その変調信号の位相を表す情報を相選択部20に通知する。ここで、上述の実施例の変調信号は、サイン波を記述した数式により表される。そして、変調信号生成部17は、その数式に基づいて、所定時間ごとに位相および対応する振幅値のデジタルデータを出力する。すなわち、このデータ列により変調信号が現される。そして、相選択部20は、変調信号生成部17から通知される情報に基づいて、変調信号の現在の位相を認識する。具体的には、相選択部20は、たとえば、図6に示すように、1周期分の変調信号を12個の位相領域0〜位相領域11に分割し、変調信号の現在の位相がどの位相領域に属するのかを検出する。   Further, when generating the modulation signal, the modulation signal generation unit 17 notifies the phase selection unit 20 of information indicating the phase of the modulation signal. Here, the modulation signal of the above-described embodiment is represented by a mathematical expression describing a sine wave. Then, the modulation signal generation unit 17 outputs the digital data of the phase and the corresponding amplitude value every predetermined time based on the mathematical formula. That is, the modulation signal is expressed by this data string. Then, the phase selection unit 20 recognizes the current phase of the modulation signal based on the information notified from the modulation signal generation unit 17. Specifically, for example, as illustrated in FIG. 6, the phase selection unit 20 divides a modulation signal for one period into 12 phase regions 0 to 11, and determines which phase the current phase of the modulation signal is. Detect if it belongs to a region.

相選択部20は、通知された変調信号の変調率および位相に基づいて、シャント抵抗Rを用いてモータ電流を検出すべき相を選択する。ここで、「モータ電流を検出すべき相」とは、例えば、各キャリア周期内で図3に示す6状態のうちのいずれかが所定時間以上継続するような相をいう。そして、相選択部20は、例えば、以下の2つの判定結果に基づいてモータ電流を検出すべき相を選択する。
判定基準1:変調信号の変調率が予め決められた閾値よりも大きいか否か
判定基準2:変調信号の現在の位相が位相領域0〜11の中のいずれの領域に属するか
そして、電流検出回路10は、PWM信号に対応する相のモータ電流であって、且つ相選択部20によって選択された相のモータ電流を検出する。なお、相を選択する方法については、後述の実施例において説明する。
The phase selection unit 20 selects a phase for detecting the motor current using the shunt resistor R based on the notified modulation factor and phase of the modulation signal. Here, the “phase where the motor current should be detected” refers to a phase in which any one of the six states shown in FIG. 3 continues for a predetermined time or longer in each carrier cycle. And the phase selection part 20 selects the phase which should detect a motor current based on the following two determination results, for example.
Judgment criterion 1: Whether the modulation rate of the modulation signal is larger than a predetermined threshold value Judgment criterion 2: Which of the phase regions 0 to 11 the current phase of the modulation signal belongs to and current detection The circuit 10 detects the phase motor current corresponding to the PWM signal and the phase motor current selected by the phase selection unit 20. Note that a method for selecting a phase will be described in an example described later.

図7は、電流検出回路10のブロック図である。図7において、U相用サンプルホールド回路41、V相用サンプルホールド回路42、W相用サンプルホールド回路43には、それぞれシャント抵抗Rの両端電圧が与えられる。ここで、シャント抵抗Rの両端電圧は、不図示のアンプにより増幅された後にこれらのサンプルホールド回路41〜43に与えられるようにしてもよい。   FIG. 7 is a block diagram of the current detection circuit 10. In FIG. 7, the voltage across the shunt resistor R is applied to the U-phase sample-and-hold circuit 41, the V-phase sample-and-hold circuit 42, and the W-phase sample-and-hold circuit 43, respectively. Here, the voltage across the shunt resistor R may be supplied to the sample and hold circuits 41 to 43 after being amplified by an amplifier (not shown).

デコーダ44には、相選択部20から通知される相情報、およびPWM信号生成部18により生成されるスイッチ制御信号(上述したPWM信号、またはその一部に相当する)が与えられる。ここで、スイッチ制御信号は、スイッチ回路101を構成する各スイッチ素子のオン/オフ状態を指示する。また、デコーダ44は、図3に示すテーブルを備えている。そして、デコーダ44は、与えられるスイッチ制御信号に基づいて電流を検出すべき相を認識し、対応するサンプルホールド回路41〜43にホールド指示を送り、さらにA/D変換部46〜48に変換指示を送る。例えば、スイッチ制御信号が図3に示すテーブルの上から2番目の状態を示していた場合は、デコーダ44は、W相サンプルホールド回路43に対してホールド指示を与え、その後にA/D変換部48に変換指示を与える。これにより、シャント抵抗Rの両端電圧は「W相モータ電流Iw」としてW相用サンプルホールド回路43により取り込まれ、A/D変換部48により数値変換されて電流推定部12に通知される。   The decoder 44 is provided with the phase information notified from the phase selector 20 and the switch control signal (corresponding to the above-described PWM signal or part thereof) generated by the PWM signal generator 18. Here, the switch control signal indicates the on / off state of each switch element constituting the switch circuit 101. Further, the decoder 44 includes a table shown in FIG. Then, the decoder 44 recognizes the phase in which the current should be detected based on the supplied switch control signal, sends a hold instruction to the corresponding sample hold circuits 41 to 43, and further converts to the A / D conversion units 46 to 48. Send. For example, when the switch control signal indicates the second state from the top of the table shown in FIG. 3, the decoder 44 gives a hold instruction to the W-phase sample / hold circuit 43, and then the A / D conversion unit 48 is given a conversion instruction. As a result, the voltage across the shunt resistor R is taken in by the W-phase sample-and-hold circuit 43 as “W-phase motor current Iw”, numerically converted by the A / D converter 48 and notified to the current estimator 12.

ただし、デコーダ44は、ホールド指示を生成する際、相選択部20から通知される相情報を参照する。すなわち、デコーダ44は、スイッチ制御信号に基づいて得られる「電流を検出すべき相」が、相情報により通知された「相」であった場合に限り、ホールド指示を生成する。例えば、相選択部20により「U相、V相」が選択されていたとすると、スイッチ制御信号に基づいて「W相」が得られたとしても、ホールド指示を生成しない。これは、図17を参照しながら言及した問題点を回避するためである。すなわち、電流検出をするために十分な時間が得られない相についての電流検出を行うことなく、電流検出をするために十分な時間が得られる相についてのみ電流検出を行うようにすることを実現するものである。   However, the decoder 44 refers to the phase information notified from the phase selection unit 20 when generating the hold instruction. That is, the decoder 44 generates a hold instruction only when the “phase for which current is to be detected” obtained based on the switch control signal is the “phase” notified by the phase information. For example, if “U phase, V phase” is selected by the phase selection unit 20, even if “W phase” is obtained based on the switch control signal, no hold instruction is generated. This is to avoid the problems mentioned with reference to FIG. In other words, it is possible to perform current detection only for the phase for which sufficient time can be obtained for current detection without performing current detection for the phase for which sufficient time for current detection cannot be obtained. To do.

また、電流検出回路10は、タイマ45を備える。このタイマ45のタイマ値は、スイッチ回路101を構成するスイッチ素子のオン/オフ切替えによって発生するリカバリ電圧が十分に小さくなるまでに要する時間に相当し、一例としては、3マイクロ秒程度に設定される。   In addition, the current detection circuit 10 includes a timer 45. The timer value of the timer 45 corresponds to the time required for the recovery voltage generated by switching on / off of the switch elements constituting the switch circuit 101 to become sufficiently small. As an example, the timer value is set to about 3 microseconds. The

ここで、図8を参照しながら、デコーダ44の動作を説明する。この例では、相選択部20により、モータ電流を検出すべき相として「+V相」及び「−W相」が選択されているものとする。そして、時刻T1において、V相の下アームスイッチ素子32Lを制御するためのスイッチ制御信号が「H(オン)」から「L(オフ)」に変化したものとする。なお、このとき、U相の下アームスイッチ素子31Lを制御するためのスイッチ制御信号は「L」であり、W相の下アームスイッチ素子33Lを制御するためのスイッチ制御信号は「H」でるものとする。   Here, the operation of the decoder 44 will be described with reference to FIG. In this example, it is assumed that “+ V phase” and “−W phase” are selected by the phase selection unit 20 as phases for detecting the motor current. At time T1, it is assumed that the switch control signal for controlling the lower arm switch element 32L of the V phase has changed from “H (on)” to “L (off)”. At this time, the switch control signal for controlling the U-phase lower arm switch element 31L is “L”, and the switch control signal for controlling the W-phase lower arm switch element 33L is “H”. And

デコーダ44は、時刻T1においてスイッチ制御信号が変化したことを検出すると、図3に示すテーブルを参照し、時刻T1以降はシャント抵抗Rの両端電圧から「−Iw」を検出すべき旨を認識する。また、デコーダ44は、相選択部20により「−W相」が選択されていることを認識する。そうすると、デコーダ44は、タイマ45を起動し、そのタイマの満了を待つ。   When detecting that the switch control signal has changed at time T1, the decoder 44 refers to the table shown in FIG. 3, and recognizes that “−Iw” should be detected from the voltage across the shunt resistor R after time T1. . In addition, the decoder 44 recognizes that the “−W phase” is selected by the phase selection unit 20. Then, the decoder 44 starts the timer 45 and waits for the timer to expire.

時刻T2においてタイマ45が満了すると(あるいは、時刻T1から所定時間が経過すると)、デコーダ44は、シャント抵抗Rの両端電圧値を取り込むことを指示するホールド信号を生成し、それをW相用サンプルホールド回路43に与える。ここで、ホールド信号は、特に限定されるものではないが、例えば以下の指示を実現するための信号として生成される。   When the timer 45 expires at time T2 (or when a predetermined time elapses from time T1), the decoder 44 generates a hold signal instructing to take in the voltage value across the shunt resistor R and uses it as a W-phase sample. This is given to the hold circuit 43. Here, the hold signal is not particularly limited, but is generated as a signal for realizing, for example, the following instructions.

1.タイマ45の満了時のシャント抵抗Rの両端電圧値を取り込む
2.スイッチ制御信号が次に変化した時点(図8では、時刻T3)でシャント抵抗Rの両端電圧値を取り込む
3.サンプルホールド回路41〜43がピークホールドタイプの場合は、タイマ45の満了時から時刻T3までの期間におけるシャント抵抗Rの両端電圧値をサンプリングしてそのピーク値を取り込む
4.オン/オフ切替え時点からキャリア信号の電圧変動が所定値に達したときにホールド信号を出力する
5.デコーダ44からではなく駆動部19から受信する信号によりタイマ45が起動され、その後、上記1〜3のいずれか1つが実行される
6.他の用途のための信号であっても、上記1〜4と同等の動作を実現可能な信号であれば、それを使用する
これにより、電流検出回路10は、スイッチ回路101を構成するスイッチ素子のオン/オフ時のリカバリ電圧の影響を受けることなく、各相のモータ電流を正確に検出することができる。また、タイマ45を用いて電流検出のタイミングを調整したので、駆動部19またはスイッチ回路101を構成するスイッチ素子自体のターンオン遅延の影響も排除できる。
1. 1. Capture the voltage value across the shunt resistor R when the timer 45 expires. 2. The voltage value across the shunt resistor R is taken in at the time when the switch control signal changes next (time T3 in FIG. 8). 3. When the sample hold circuits 41 to 43 are of the peak hold type, the voltage value at both ends of the shunt resistor R in the period from the expiration of the timer 45 to the time T3 is sampled and the peak value is captured. 4. A hold signal is output when the voltage fluctuation of the carrier signal reaches a predetermined value from the on / off switching time. 5. The timer 45 is started by a signal received from the drive unit 19 instead of from the decoder 44, and then any one of the above 1 to 3 is executed. Even if it is a signal for other uses, if it is a signal that can realize the operation equivalent to the above 1 to 4, it is used. Thereby, the current detection circuit 10 is a switch element that constitutes the switch circuit 101. It is possible to accurately detect the motor current of each phase without being affected by the recovery voltage at the on / off time. Moreover, since the timing of current detection is adjusted using the timer 45, the influence of the turn-on delay of the switch element itself constituting the drive unit 19 or the switch circuit 101 can be eliminated.

なお、タイマ45が満了する前にスイッチ制御信号が変化してしまったときは、モータ電流を正確に検出できなくなる。しかし、実施形態のインバータ装置は、相選択部20を備えており、電流を検出すべき相として、各キャリア周期内で図3に示す6状態のなかの任意の1つが一定時間以上継続するような相が選択されている。このため、実施形態のインバータ装置においては、基本的に、あるタイミングでのスイッチ制御信号の変化に応じてタイマ45が起動されると、そのタイマ45が満了する前にスイッチ制御信号の次に変化が起こることはない。すなわち、リカバリ電圧の影響を受けることなく、常に、モータ電流を正確に検出できる。   If the switch control signal changes before the timer 45 expires, the motor current cannot be accurately detected. However, the inverter device according to the embodiment includes the phase selection unit 20 so that any one of the six states shown in FIG. 3 continues for a certain time or more in each carrier cycle as a phase for detecting a current. The correct phase is selected. Therefore, in the inverter device of the embodiment, basically, when the timer 45 is started in response to a change in the switch control signal at a certain timing, the change next to the switch control signal is performed before the timer 45 expires. Will never happen. That is, the motor current can always be accurately detected without being affected by the recovery voltage.

図9〜図10は、実施例のインバータ装置において生成される変調信号を示す図である。ここで、図9(a)、図9(b)、図10(a)、および図10(b)は、それぞれ変調率が「1.0」「0.8」「0.5」「0.2」である場合の1周期分の変調信号の波形を示している。   9-10 is a figure which shows the modulation signal produced | generated in the inverter apparatus of an Example. Here, in FIGS. 9A, 9B, 10A, and 10B, the modulation rates are “1.0”, “0.8”, “0.5”, “0”, respectively. .2 "shows the waveform of the modulation signal for one period.

図5〜図6に示した例では、変調信号がサイン波である場合を示したが、本実施例の変調信号は、「2相変調」と呼ばれる方式で生成されるものとする。2相変調では、1周期の変調信号の位相(モータの電気角に相当する)が6等分され、各位相領域においてそれぞれ所定の1つの変調信号が「0」又は「1」に固定される。例えば、図9〜図10に示す例では、位相が30度〜90度の領域においては、W相変調信号が「1」に固定され、U相変調信号およびV相変調信号がそれぞれ「0」〜「1」の間で変化している。また、例えば、位相が90度〜150度の領域においては、V相変調信号が「0」に固定され、U相変調信号およびW相変調信号がそれぞれ「0」〜「1」の間で変化している。   In the examples shown in FIGS. 5 to 6, the modulation signal is a sine wave. However, the modulation signal of this embodiment is generated by a method called “two-phase modulation”. In the two-phase modulation, the phase of the modulation signal in one cycle (corresponding to the electrical angle of the motor) is equally divided into six, and one predetermined modulation signal is fixed to “0” or “1” in each phase region. . For example, in the example shown in FIGS. 9 to 10, in the region where the phase is 30 degrees to 90 degrees, the W-phase modulation signal is fixed to “1”, and the U-phase modulation signal and the V-phase modulation signal are each “0”. It changes between ~ "1". Further, for example, in the region where the phase is 90 degrees to 150 degrees, the V-phase modulation signal is fixed to “0”, and the U-phase modulation signal and the W-phase modulation signal change between “0” to “1”, respectively. doing.

なお、ある変調信号が「0」に固定されている期間は、その変調信号およびキャリア信号に基づいて生成されるPWM信号のデューティは0パーセントになる。また、ある変調信号が「1」に固定されている期間は、その変調信号およびキャリア信号に基づいて生成されるPWM信号のデューティは100パーセントになる。すなわち、これらの期間は、スイッチ回路101におけるスイッチング回数が少なくなる。よって、2相変調方式においては、スイッチング損失が少なくなり、低消費電力化が図れる。   Note that during a period in which a certain modulation signal is fixed to “0”, the duty of the PWM signal generated based on the modulation signal and the carrier signal is 0 percent. Further, during a period in which a certain modulation signal is fixed to “1”, the duty of the PWM signal generated based on the modulation signal and the carrier signal is 100%. In other words, the number of times of switching in the switch circuit 101 decreases during these periods. Therefore, in the two-phase modulation method, the switching loss is reduced and the power consumption can be reduced.

図11〜図13は、図9〜図10に示した変調信号の変調率と検出可能なモータ電流との関係を表している。ここで、図11、図12、図13は、それぞれ変調率が「1.0」「0.6」「0.2」の場合の関係を示している。また、図11〜図13では、図14に示す「位相領域6」における状態が描かれている。なお、図14に示す位相領域0〜位相領域11は、1周期分の変調信号を30度ずつ分割することによって得られる。さらに、この実施例では、キャリア信号および各相の変調信号によって生成されるU相用PWM信号、V相用PWM信号、W相用PWM信号は、互いに120度ずつその位相がシフトされている。   FIGS. 11 to 13 show the relationship between the modulation rate of the modulation signal shown in FIGS. 9 to 10 and the detectable motor current. Here, FIG. 11, FIG. 12, and FIG. 13 show the relationships when the modulation rates are “1.0”, “0.6”, and “0.2”, respectively. In addition, in FIGS. 11 to 13, states in the “phase region 6” illustrated in FIG. 14 are illustrated. Note that the phase region 0 to the phase region 11 shown in FIG. 14 are obtained by dividing the modulation signal for one period by 30 degrees. Further, in this embodiment, the phases of the U-phase PWM signal, the V-phase PWM signal, and the W-phase PWM signal generated by the carrier signal and the modulation signal of each phase are shifted from each other by 120 degrees.

図14に示す位相領域6では、U相変調信号が「1」に固定されている。したがって、この期間は、図11〜図13に示すように、PWM−U(上)信号(上アームスイッチ素子31Hを制御するためのPWM信号)のデューティは0パーセントになる。一方、PWM−U(下)信号(下アームスイッチ素子31Lを制御するためのPWM信号)のデューティは100パーセントになる。すなわち、この期間は、上アームスイッチ素子31Hは常にオフ状態であり、下アームスイッチ素子31Lは常にオン状態である。   In the phase region 6 shown in FIG. 14, the U-phase modulation signal is fixed to “1”. Accordingly, during this period, as shown in FIGS. 11 to 13, the duty of the PWM-U (upper) signal (PWM signal for controlling the upper arm switch element 31H) is 0 percent. On the other hand, the duty of the PWM-U (lower) signal (PWM signal for controlling the lower arm switch element 31L) is 100%. That is, during this period, the upper arm switch element 31H is always in the off state, and the lower arm switch element 31L is always in the on state.

PWM−V(上)信号(上アームスイッチ素子32Hを制御するためのPWM信号)、PWM−V(下)信号(下アームスイッチ素子32Lを制御するためのPWM信号)、PWM−W(上)信号(上アームスイッチ素子33Hを制御するためのPWM信号)、およびPWM−W(下)信号(下アームスイッチ素子33Lを制御するためのPWM信号)のデューティは、それぞれ、対応する変調信号に応じて時々刻々と変化していく。また、これらのPWM信号のデューティは、変調信号の変調率に依存する。   PWM-V (upper) signal (PWM signal for controlling upper arm switch element 32H), PWM-V (lower) signal (PWM signal for controlling lower arm switch element 32L), PWM-W (upper) The duty of the signal (PWM signal for controlling the upper arm switch element 33H) and the PWM-W (lower) signal (PWM signal for controlling the lower arm switch element 33L) depend on the corresponding modulation signal, respectively. Change from moment to moment. Further, the duty of these PWM signals depends on the modulation rate of the modulation signal.

スイッチ回路101を構成する各スイッチ素子31H、31L、32H、32L、33H、33Lは、これらのPWM信号によって制御される。そして、これら6個のスイッチ素子の状態が決まると、図3に示したように、シャント抵抗Rを利用して検出可能なモータ電流が一意に決まる。例えば、図11の時刻Aにおいては、スイッチ回路101を構成するスイッチ素子の状態は以下の通りである。
U相上アームスイッチ素子31H:オフ
U相下アームスイッチ素子31L:オン
W相上アームスイッチ素子33H:オン
W相下アームスイッチ素子33L:オフ
V相上アームスイッチ素子32H:オン
V相下アームスイッチ素子32L:オフ
そして、この場合、シャント抵抗Rを利用して検出可能なモータ電流は、「−Iu」である。
Each switch element 31H, 31L, 32H, 32L, 33H, 33L constituting the switch circuit 101 is controlled by these PWM signals. When the states of these six switch elements are determined, the motor current that can be detected using the shunt resistor R is uniquely determined as shown in FIG. For example, at time A in FIG. 11, the states of the switch elements that constitute the switch circuit 101 are as follows.
U phase upper arm switch element 31H: off U phase lower arm switch element 31L: on W phase upper arm switch element 33H: on W phase lower arm switch element 33L: off V phase upper arm switch element 32H: on V phase lower arm switch Element 32L: OFF In this case, the motor current that can be detected using the shunt resistor R is “−Iu”.

また、例えば、図11の時刻Bにおいては、スイッチ回路101を構成するスイッチ素子の状態は以下の通りである。
U相上アームスイッチ素子31H:オフ
U相下アームスイッチ素子31L:オン
W相上アームスイッチ素子33H:オン
W相下アームスイッチ素子33L:オフ
V相上アームスイッチ素子32H:オフ
V相下アームスイッチ素子32L:オン
そして、この場合、シャント抵抗Rを利用して検出可能なモータ電流は、「+Iw」である。なお、図11〜図13において、各相のモータ電流(U相電流、V相電流、W相電流)が検出可能な期間をHレベルで示している。
For example, at time B in FIG. 11, the states of the switch elements constituting the switch circuit 101 are as follows.
U phase upper arm switch element 31H: off U phase lower arm switch element 31L: on W phase upper arm switch element 33H: on W phase lower arm switch element 33L: off V phase upper arm switch element 32H: off V phase lower arm switch Element 32L: ON In this case, the motor current that can be detected using the shunt resistor R is “+ Iw”. In FIGS. 11 to 13, periods in which motor currents (U-phase current, V-phase current, and W-phase current) of each phase can be detected are indicated by an H level.

位相領域6において変調信号の変調率が高いときは、図11に示すように、その領域内の全期間に渡って、各キャリア周期内でU相およびV相のモータ電流(−Iu、+Iw)を検出できる。これに対して、変調率が低いときは、図13に示すように、その領域内の全期間に渡って、各キャリア周期内でV相およびW相のモータ電流(+Iv、+Iw)を検出できる。なお、変調率が中間レベルのときは、図12に示すように、各キャリア周期においてU相、V相およびW相のモータ電流(−Iu、+Iv、+Iw)を検出できる。なお、「電流を検出できる」とは、直流側の電流に基づいて3相の交流の中の所定の相の電流を検出できる期間が、各キャリア周期内で一定時間(例えば、シャント抵抗Rの両端電圧値をデジタルデータに変換するためのA/D変換器の動作時間)よりも長いことをいうものとする。   When the modulation rate of the modulation signal is high in the phase region 6, as shown in FIG. 11, U-phase and V-phase motor currents (−Iu, + Iw) within each carrier period over the entire period in the region. Can be detected. On the other hand, when the modulation rate is low, as shown in FIG. 13, V-phase and W-phase motor currents (+ Iv, + Iw) can be detected within each carrier period over the entire period in the region. . When the modulation rate is an intermediate level, as shown in FIG. 12, U-phase, V-phase, and W-phase motor currents (−Iu, + Iv, + Iw) can be detected in each carrier cycle. Note that “current can be detected” means that a period during which a current of a predetermined phase in the three-phase alternating current can be detected based on the current on the direct current side within a certain period of time (for example, the shunt resistance R). This means that the voltage value at both ends is longer than the operation time of the A / D converter for converting the digital value into digital data.

したがって、相選択部20は、変調信号の位相(または、位相領域)およびその変調信号の変調率が通知されれば、いずれのキャリア周期においてもシャント抵抗Rを用いてモータ電流を確実に検出できる「相(U相、V相、W相)」を選択できる。すなわち、この手法に基づいて電流検出を行えば、常に、3相交流のうちの2相分のモータ電流を確実に検出できる。   Therefore, if the phase (or phase region) of the modulation signal and the modulation rate of the modulation signal are notified, the phase selection unit 20 can reliably detect the motor current using the shunt resistor R in any carrier cycle. “Phase (U phase, V phase, W phase)” can be selected. That is, if current detection is performed based on this method, the motor current for two phases of the three-phase alternating current can always be reliably detected.

このように、上述の実施例では、図14に示す位相領域6において、変調信号の変調率が大きいときは、検出すべきモータ電流として「−Iu」及び「+Iw」が選択され、変調信号の変調率が小さいときは、「+Iv」及び「+Iw」が選択される。同様に、他の位相領域においても、それぞれ、変調信号の変調率に応じて検出可能な相を予め求めることができる。各位相領域について、電流検出可能な相を求めた結果を図15に示す。   Thus, in the above-described embodiment, when the modulation rate of the modulation signal is large in the phase region 6 shown in FIG. 14, “−Iu” and “+ Iw” are selected as the motor currents to be detected, and the modulation signal When the modulation rate is small, “+ Iv” and “+ Iw” are selected. Similarly, in other phase regions, a detectable phase can be obtained in advance according to the modulation rate of the modulation signal. FIG. 15 shows the result of obtaining the current detectable phase for each phase region.

なお、図15に示すテーブルは、例えば、相選択部20に中に格納されるようにしてもよい。また、このテーブルには、サンプリング開始タイミングを指示する情報も合わせて記載されている。そして、相選択部20は、変調率制御部15により決定された変調率、およびPWM信号生成部18により生成されたスイッチ制御信号を受け取ると、それらに対応する「相」を図15に示すテーブルから取り出す。そして、そのようにして選択した相情報を電流検出回路10通知する。   Note that the table shown in FIG. 15 may be stored in the phase selection unit 20, for example. This table also includes information for instructing sampling start timing. When the phase selection unit 20 receives the modulation rate determined by the modulation rate control unit 15 and the switch control signal generated by the PWM signal generation unit 18, the table shown in FIG. Take out from. Then, the current detection circuit 10 is notified of the phase information thus selected.

この実施例において、変調信号の変調率を判断するための閾値は、例えば、「0.6」及び「0.7」である。ここで、2つの閾値を設定する理由は、相選択動作にヒステリシスを持たせるためである。そして、例えば、変調信号の位相が「位相領域3」に属している期間に、変調率が0.6よりも小さかったとすると、相選択部20は、検出可能な相電流として「−Iu」および「−Iw」を選択する。これに対して、この期間に、変調率が0.7よりも大きかったとすると、検出可能な相電流として「+Iv」および「−Iw」が選択される。   In this embodiment, the thresholds for determining the modulation rate of the modulation signal are, for example, “0.6” and “0.7”. Here, the reason for setting the two threshold values is to give hysteresis to the phase selection operation. For example, if the modulation rate is smaller than 0.6 during the period in which the phase of the modulation signal belongs to “phase region 3”, the phase selection unit 20 sets “−Iu” and “−Iu” as detectable phase currents. Select “-Iw”. On the other hand, if the modulation rate is greater than 0.7 during this period, “+ Iv” and “−Iw” are selected as detectable phase currents.

また、いずれの位相領域においても、電流検出回路10は、スイッチ回路101を構成するスイッチ素子がターンオンまたはターンオフされるタイミングから所定時間(この例では、3マイクロ秒)経過後にサンプリングを開始する。
さらに、実施形態のインバータ装置では、上述のように、変調信号の位相および変調率に基づいて検出可能なモータ電流の相が決まる。したがって、図4において、相選択部20は、変調信号の変調率を表す情報を変調率制御部15から受け取り、変調信号の位相を表す情報を変調信号生成部17から受け取ると、図15に示すテーブルを参照して相選択を行い、その結果を電流検出回路10に通知する。そして、電流検出回路10は、U相〜W相のモータ電流のなかから通知された2相分のモータ電流を検出し、電流推定部12は、それら2相分のモータ電流に基づいて残りの相のモータ電流を推定する。
In any phase region, the current detection circuit 10 starts sampling after a predetermined time (in this example, 3 microseconds) has elapsed from the timing at which the switch elements constituting the switch circuit 101 are turned on or turned off.
Furthermore, in the inverter device of the embodiment, as described above, the phase of the motor current that can be detected is determined based on the phase of the modulation signal and the modulation rate. Therefore, in FIG. 4, when the phase selection unit 20 receives information indicating the modulation rate of the modulation signal from the modulation rate control unit 15 and receives information indicating the phase of the modulation signal from the modulation signal generation unit 17, the phase selection unit 20 illustrated in FIG. The phase is selected with reference to the table, and the result is notified to the current detection circuit 10. Then, the current detection circuit 10 detects the motor current for two phases notified from the U-phase to W-phase motor currents, and the current estimation unit 12 determines the rest based on the motor currents for these two phases. Estimate the phase motor current.

なお、変調信号の位相は、モータの電気角に相当する。すなわち、実施形態のインバータ装置では、駆動すべきモータの電気角および変調信号の変調率に基づいて検出可能なモータ電流の相を決めていることになる。
ところで、図3に示したように、スイッチ回路101を構成するすべてのスイッチ素子の状態を認識すれば、モータ電流を検出可能な相を一意に特定できる。しかし、PWM信号により制御されるスイッチ回路101の状態が保持される時間は、しばしば、電流を検出するために十分な時間(例えば、A/D変換器の動作時間)よりも短くなってしまう。このため、従来のインバータ装置では、あるキャリア周期においてモータ電流を検出できなかったときは、前回のキャリア周期で検出したモータ電流から現在のモータ電流を推定したり、PWM信号のデューティを強制的に変更する等の措置がとられていた。したがって、このようにして得られたモータ電流値に基づいてモータ制御を行うと、回転の安定性が損なわれることがあった。
Note that the phase of the modulation signal corresponds to the electrical angle of the motor. That is, in the inverter device of the embodiment, the phase of the motor current that can be detected is determined based on the electrical angle of the motor to be driven and the modulation rate of the modulation signal.
By the way, as shown in FIG. 3, if the states of all the switch elements constituting the switch circuit 101 are recognized, the phase capable of detecting the motor current can be uniquely specified. However, the time for which the state of the switch circuit 101 controlled by the PWM signal is held is often shorter than the time sufficient for detecting the current (for example, the operation time of the A / D converter). For this reason, in the conventional inverter device, when the motor current cannot be detected in a certain carrier cycle, the current motor current is estimated from the motor current detected in the previous carrier cycle, or the duty of the PWM signal is forced. Measures such as change were taken. Therefore, when the motor control is performed based on the motor current value thus obtained, the rotational stability may be impaired.

これに対して、本発明のインバータ装置では、各キャリア周期において、常に、モータ電流を確実に且つ正確に検出できるので、変調信号に基づいて生成されるPWM信号をそのまま使用することができ、モータの位置推定、回転制御が正確である。また、リカバリ電圧の影響を受けることもない。   On the other hand, in the inverter device of the present invention, since the motor current can always be reliably and accurately detected in each carrier cycle, the PWM signal generated based on the modulation signal can be used as it is. The position estimation and rotation control are accurate. Further, it is not affected by the recovery voltage.

本発明の実施形態のインバータ装置の構成図である。It is a block diagram of the inverter apparatus of embodiment of this invention. インバータ装置における電流検出について説明する図である。It is a figure explaining the electric current detection in an inverter apparatus. スイッチ回路の状態と検出されるモータ電流の関係を示す図である。It is a figure which shows the relationship between the state of a switch circuit, and the detected motor current. 制御回路の構成を示す図である。It is a figure which shows the structure of a control circuit. PWM信号生成部の動作を説明する図である。It is a figure explaining operation | movement of a PWM signal generation part. 変調信号の変調率および位相について説明する図である。It is a figure explaining the modulation factor and phase of a modulation signal. 電流検出回路のブロック図である。It is a block diagram of a current detection circuit. 電流検出回路の動作を説明するためのタイミング図である。It is a timing diagram for demonstrating operation | movement of a current detection circuit. 実施例のインバータ装置において生成される変調信号を示す図(その1)である。It is FIG. (1) which shows the modulation signal produced | generated in the inverter apparatus of an Example. 実施例のインバータ装置において生成される変調信号を示す図(その2)である。It is FIG. (2) which shows the modulation signal produced | generated in the inverter apparatus of an Example. 変調信号の変調率と検出可能なモータ電流との関係を示す例(その1)である。It is an example (the 1) which shows the relationship between the modulation rate of a modulation signal, and the detectable motor current. 変調信号の変調率と検出可能なモータ電流との関係を示す例(その2)である。It is an example (the 2) which shows the relationship between the modulation rate of a modulation signal, and the detectable motor current. 変調信号の変調率と検出可能なモータ電流との関係を示す例(その3)である。It is an example (the 3) which shows the relationship between the modulation rate of a modulation signal, and the detectable motor current. 変調信号の位相について説明する図である。It is a figure explaining the phase of a modulation signal. 変調信号の位相、変調率、検出可能なモータ電流の関係を示す図である。It is a figure which shows the relationship between the phase of a modulation signal, a modulation factor, and the detectable motor current. (a)及び(b)は、既存のインバータ装置の一例の基本構成を示す図である。(A) And (b) is a figure which shows the basic composition of an example of the existing inverter apparatus. 図16(b)に示すインバータ装置の動作を説明する図である。It is a figure explaining operation | movement of the inverter apparatus shown in FIG.16 (b).

符号の説明Explanation of symbols

1 インバータ装置
10 電流検出回路
11 制御回路
12 電流推定部
13 回転数推定部
14 誤差計算部
15 変調率制御部
16 キャリア信号生成部
17 変調信号生成部
18 PWM信号生成部
19 駆動部
20 相選択部
31H、31L、32H、32L、33H、33L スイッチ素子
41 U相用サンプルホールド回路
42 V相用サンプルホールド回路
43 W相用サンプルホールド回路
44 デコーダ
45 タイマ
46 U相用A/D変換部
47 V相用A/D変換部
48 W相用A/D変換部
101 スイッチ回路
111 直流電源
112 モータ
DESCRIPTION OF SYMBOLS 1 Inverter apparatus 10 Current detection circuit 11 Control circuit 12 Current estimation part 13 Rotation speed estimation part 14 Error calculation part 15 Modulation rate control part 16 Carrier signal generation part 17 Modulation signal generation part 18 PWM signal generation part 19 Drive part 20 Phase selection part 31H, 31L, 32H, 32L, 33H, 33L Switch element 41 U-phase sample and hold circuit 42 V-phase sample and hold circuit 43 W-phase sample and hold circuit 44 decoder 45 timer 46 U-phase A / D converter 47 V-phase A / D conversion unit 48 W-phase A / D conversion unit 101 Switch circuit 111 DC power supply 112 Motor

Claims (6)

直流電源の出力を3相交流に変換するインバータ装置であって、
上記直流電源に接続され、複数のスイッチ素子を含むスイッチ回路と、
上記直流電源と上記スイッチ回路との間に設けられた電流センサと、
上記電流センサを用いて負荷電流を検出する電流検出手段と、
上記電流検出手段により得られる負荷電流に基づいて上記複数のスイッチ素子をオン/オフ制御するための制御信号を生成する制御手段、
を備え、
上記電流検出手段は、上記スイッチ素子のオン/オフ切替えタイミングから所定時間経過した後の電流値を検出する
ことを特徴とするインバータ装置。
An inverter device that converts the output of a DC power source into a three-phase AC,
A switch circuit connected to the DC power source and including a plurality of switch elements;
A current sensor provided between the DC power supply and the switch circuit;
Current detection means for detecting a load current using the current sensor;
Control means for generating a control signal for on / off control of the plurality of switch elements based on a load current obtained by the current detection means;
With
The inverter device characterized in that the current detection means detects a current value after a predetermined time has elapsed from the ON / OFF switching timing of the switch element.
上記電流検出手段は、上記スイッチ素子のオン/オフ切替えタイミングから上記所定時間が経過した時またはそれ以降に上記電流センサから得られる値をホールドするサンプルホールド回路を備える
ことを特徴とする請求項1に記載のインバータ装置。
The current detection means includes a sample hold circuit for holding a value obtained from the current sensor when the predetermined time has elapsed from or after the switch element on / off switching timing. The inverter device described in 1.
上記電流検出手段は、上記スイッチ素子のオン/オフ切替えタイミングから上記所定時間が経過したときに上記電流センサから得られる値のサンプリングを開始するサンプルホールド回路を備える
ことを特徴とする請求項1に記載のインバータ装置。
The current detection means includes a sample hold circuit that starts sampling of a value obtained from the current sensor when the predetermined time has elapsed from the ON / OFF switching timing of the switch element. The inverter device described.
上記電流検出手段は、上記サンプルホールド回路が上記電流センサから得られる値をホールドした後にそのホールドした値を読み込む
ことを特徴とする請求項2または3に記載のインバータ装置。
4. The inverter device according to claim 2, wherein the current detection unit reads the held value after the sample hold circuit holds a value obtained from the current sensor. 5.
上記制御手段は、上記3相交流を生成するための変調信号を定義する変調率およびその変調信号の位相に基づいて、上記3相のうちから負荷電流を検出すべき2相を選択する選択手段を有する
ことを特徴とする請求項1に記載のインバータ装置。
The control means is a selection means for selecting two phases from which the load current is to be detected based on the modulation rate defining the modulation signal for generating the three-phase alternating current and the phase of the modulation signal. The inverter device according to claim 1, comprising:
スイッチ回路を含むインバータ装置を使用して3相モータを制御する方法であって、
直流電源と上記スイッチ回路との間に設けられる1つのシャント抵抗を利用して上記3相のうちの2相のモータ電流を検出する検出ステップと、
検出したモータ電流に基づいて上記スイッチ回路を制御するための制御信号を生成する生成ステップ、を有し
上記検出ステップにおいて、上記スイッチ回路を構成するスイッチ素子のオン/オフ切替えタイミングから所定時間経過した後の電流値を検出する
ことを特徴とするモータ制御方法。

A method of controlling a three-phase motor using an inverter device including a switch circuit,
A detection step of detecting a motor current of two phases of the three phases using one shunt resistor provided between a DC power supply and the switch circuit;
A generation step of generating a control signal for controlling the switch circuit based on the detected motor current, wherein a predetermined time has elapsed from the on / off switching timing of the switch elements constituting the switch circuit in the detection step A motor control method characterized by detecting a subsequent current value.

JP2003431108A 2003-12-25 2003-12-25 Inverter and motor control method Withdrawn JP2005192335A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003431108A JP2005192335A (en) 2003-12-25 2003-12-25 Inverter and motor control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003431108A JP2005192335A (en) 2003-12-25 2003-12-25 Inverter and motor control method

Publications (1)

Publication Number Publication Date
JP2005192335A true JP2005192335A (en) 2005-07-14

Family

ID=34789278

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003431108A Withdrawn JP2005192335A (en) 2003-12-25 2003-12-25 Inverter and motor control method

Country Status (1)

Country Link
JP (1) JP2005192335A (en)

Cited By (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007159347A (en) * 2005-12-08 2007-06-21 Honda Motor Co Ltd Controller of motor
JP2007195323A (en) * 2006-01-19 2007-08-02 Matsushita Electric Ind Co Ltd Power generator and clothing processor
JP2007244114A (en) * 2006-03-09 2007-09-20 Toshiba Corp Inverter apparatus and microcomputer
JP2007288858A (en) * 2006-04-13 2007-11-01 Sharp Corp Motor controller, refrigerator, and air conditioner
JP2008048504A (en) * 2006-08-11 2008-02-28 Denso Corp Controller for three-phase rotary machines
JP2008086139A (en) * 2006-09-28 2008-04-10 Sanyo Electric Co Ltd Motor controller
JP2008236975A (en) * 2007-03-23 2008-10-02 Mitsubishi Electric Corp Motor driving device
JP2008278633A (en) * 2007-04-27 2008-11-13 Hitachi Koki Co Ltd Power tool
JP2009118568A (en) * 2007-11-02 2009-05-28 Hisashi Takahashi Apparatus and method for controlling three-phase motor
WO2009150875A1 (en) * 2008-06-12 2009-12-17 株式会社安川電機 Power module and control method therefore
JP2010110116A (en) * 2008-10-30 2010-05-13 Ricoh Co Ltd Motor drive
JP2010213523A (en) * 2009-03-12 2010-09-24 Toshiba Corp Motor control device
WO2010143452A1 (en) * 2009-06-08 2010-12-16 三菱電機株式会社 Power converter
JP2013068639A (en) * 2006-11-07 2013-04-18 Robert Bosch Gmbh Method and device for measuring current
JP2013115883A (en) * 2011-11-28 2013-06-10 Daikin Ind Ltd Line current estimation device and power conversion system
JP2015186387A (en) * 2014-03-25 2015-10-22 アスモ株式会社 Motor drive device
JP2016116405A (en) * 2014-12-17 2016-06-23 アイシン精機株式会社 Inverter device
WO2016148163A1 (en) * 2015-03-18 2016-09-22 ダイキン工業株式会社 Inverter control method
WO2016163301A1 (en) * 2015-04-07 2016-10-13 日立オートモティブシステムズ株式会社 Motor drive apparatus and method for detecting phase currents of three-phase brushless motor

Cited By (31)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007159347A (en) * 2005-12-08 2007-06-21 Honda Motor Co Ltd Controller of motor
JP4628942B2 (en) * 2005-12-08 2011-02-09 本田技研工業株式会社 Electric motor control device
JP2007195323A (en) * 2006-01-19 2007-08-02 Matsushita Electric Ind Co Ltd Power generator and clothing processor
JP4621612B2 (en) * 2006-03-09 2011-01-26 株式会社東芝 Inverter device and microcomputer
JP2007244114A (en) * 2006-03-09 2007-09-20 Toshiba Corp Inverter apparatus and microcomputer
JP2007288858A (en) * 2006-04-13 2007-11-01 Sharp Corp Motor controller, refrigerator, and air conditioner
JP2008048504A (en) * 2006-08-11 2008-02-28 Denso Corp Controller for three-phase rotary machines
JP4715677B2 (en) * 2006-08-11 2011-07-06 株式会社デンソー Control device for three-phase rotating machine
JP2008086139A (en) * 2006-09-28 2008-04-10 Sanyo Electric Co Ltd Motor controller
JP2013068639A (en) * 2006-11-07 2013-04-18 Robert Bosch Gmbh Method and device for measuring current
JP2008236975A (en) * 2007-03-23 2008-10-02 Mitsubishi Electric Corp Motor driving device
JP2008278633A (en) * 2007-04-27 2008-11-13 Hitachi Koki Co Ltd Power tool
JP2009118568A (en) * 2007-11-02 2009-05-28 Hisashi Takahashi Apparatus and method for controlling three-phase motor
WO2009150875A1 (en) * 2008-06-12 2009-12-17 株式会社安川電機 Power module and control method therefore
JPWO2009150875A1 (en) * 2008-06-12 2011-11-10 株式会社安川電機 Power module and control method thereof
US8279605B2 (en) 2008-06-12 2012-10-02 Kabushiki Kaisha Yaskawa Denki Power semiconductor module
JP5434914B2 (en) * 2008-06-12 2014-03-05 株式会社安川電機 Power module and control method thereof
JP2010110116A (en) * 2008-10-30 2010-05-13 Ricoh Co Ltd Motor drive
JP2010213523A (en) * 2009-03-12 2010-09-24 Toshiba Corp Motor control device
US8305022B2 (en) 2009-03-12 2012-11-06 Kabushiki Kaisha Toshiba Motor control device and motor system
US8878482B2 (en) 2009-06-08 2014-11-04 Mitsubishi Electric Corporation Power converting apparatus
WO2010143452A1 (en) * 2009-06-08 2010-12-16 三菱電機株式会社 Power converter
JP5289567B2 (en) * 2009-06-08 2013-09-11 三菱電機株式会社 Power converter
JP2013115883A (en) * 2011-11-28 2013-06-10 Daikin Ind Ltd Line current estimation device and power conversion system
JP2015186387A (en) * 2014-03-25 2015-10-22 アスモ株式会社 Motor drive device
JP2016116405A (en) * 2014-12-17 2016-06-23 アイシン精機株式会社 Inverter device
WO2016148163A1 (en) * 2015-03-18 2016-09-22 ダイキン工業株式会社 Inverter control method
JP2016174508A (en) * 2015-03-18 2016-09-29 ダイキン工業株式会社 Control device for inverter
WO2016163301A1 (en) * 2015-04-07 2016-10-13 日立オートモティブシステムズ株式会社 Motor drive apparatus and method for detecting phase currents of three-phase brushless motor
JP2016201872A (en) * 2015-04-07 2016-12-01 日立オートモティブシステムズ株式会社 Motor drive device and phase current detection method for three-phase brushless motor
US10224843B2 (en) 2015-04-07 2019-03-05 Hitachi Automotive Systems, Ltd. Motor drive device and phase current detecting method for three-phase brushless motor

Similar Documents

Publication Publication Date Title
JP2005192335A (en) Inverter and motor control method
US20070296371A1 (en) Position sensorless control apparatus for synchronous motor
JP4396270B2 (en) Inverter device and motor control method
WO2002078168A1 (en) Method of detecting motor current and motor control device
JP2003164159A (en) Current detection device for three-phase inverter
JP5636990B2 (en) Inverter device
JP2010011540A (en) Motor controller
JP2005045848A (en) Controller and control method of ac motor and module
JPWO2014024460A1 (en) Motor control device
JP5109354B2 (en) Motor inverter device and control method thereof
JP2007110811A (en) Inverter apparatus and control method for the same
JP2006034086A (en) Apparatus and method of driving motor and electronic device
JP2008172948A (en) Controller for brushless motors
WO2020095390A1 (en) Motor drive device and air conditioner using same
JP4178946B2 (en) Inverter device and motor current detection method
JP6024245B2 (en) Inverter control device
JP5972545B2 (en) Motor control device
JP3698051B2 (en) Motor drive device
WO2020059814A1 (en) Motor control device, motor system and inverter control method
JP2012182874A (en) Motor control device
JP2003348876A (en) Inverter, semiconductor integrated circuit, and multiplier
US10381969B2 (en) Control device and control method
JP2005045990A (en) Device for detecting speed electromotive force and method therefor, and inverter controller and the like
JP2002084777A (en) Brushless motor control method and apparatus thereof
JP2012191728A (en) Control device of motor

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20070306