JP2006042590A - Apparatus and method of correcting detected current value of three-phase motor - Google Patents

Apparatus and method of correcting detected current value of three-phase motor Download PDF

Info

Publication number
JP2006042590A
JP2006042590A JP2005179300A JP2005179300A JP2006042590A JP 2006042590 A JP2006042590 A JP 2006042590A JP 2005179300 A JP2005179300 A JP 2005179300A JP 2005179300 A JP2005179300 A JP 2005179300A JP 2006042590 A JP2006042590 A JP 2006042590A
Authority
JP
Japan
Prior art keywords
phase
current
value
detected
phases
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.)
Pending
Application number
JP2005179300A
Other languages
Japanese (ja)
Inventor
Kiko Yukimatsu
規光 行松
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.)
Denso Ten Ltd
Original Assignee
Denso Ten Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Denso Ten Ltd filed Critical Denso Ten Ltd
Priority to JP2005179300A priority Critical patent/JP2006042590A/en
Publication of JP2006042590A publication Critical patent/JP2006042590A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide an apparatus and a method of correcting the detected current value of a three-phase motor, without using special devices by performing a correction for enhancing the relative accuracy of the current detector. <P>SOLUTION: The apparatus of correcting the detected current value of the three-phase motor includes a current detector for detecting the currents of the respective phases of three phases, and a detected current value correcting means for relatively correcting, based on the correlation of the detected value of the current detector, provided to the other two phases at the zero-crossing time of the current of one phase of the three phase at the three-phase motor operating time. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

本発明は、三相電動機を円滑に回転させるための電流検出器の検出電流値補正装置及び補正方法に関する。   The present invention relates to a detection current value correction device and a correction method of a current detector for smoothly rotating a three-phase motor.

従来の三相電動機の制御装置においては、各相の電流検出器の抵抗、増幅器等にバラツキがあるため、電流検出器の出力にそれぞれオフセット誤差やゲイン誤差が含まれており、これらの誤差のために電流設定値および実際に三相電動機に供給される電流値が一致せず、三相電流に不平衡が生じ、トルクリップルが発生する原因となっていた。このような問題を解決するため、1つの方法として以下のように電流検出値を補正する方法が開示されている(特許文献1)。   In conventional three-phase motor control devices, there are variations in the resistance, amplifier, etc. of each phase of the current detector, so the output of the current detector includes an offset error and a gain error, respectively. For this reason, the current setting value and the current value actually supplied to the three-phase motor do not match, causing an unbalance in the three-phase current and causing torque ripple. In order to solve such a problem, a method of correcting the current detection value as follows is disclosed as one method (Patent Document 1).

まず、三相電動機の各相(U、V、W)のうち1相を基準の相(U)とし、補正時には三相電動機のいずれの相にも電流が流れない状態で各相の電流検出器のオフセット誤差(Δu、Δv、Δw)をそれぞれ求める。次に、前記基準の相(U)および他の1相(V)にのみ所定の電流が流れるようにし、このときのU相およびV相の電流検出器の出力から前記他の1相(V)の電流検出器のゲイン誤差(ΔGv)を求める。また、前記基準の相(U)および別の他の1相(W)にのみ所定の電流が流れるようにし、このときのU相およびW相の電流検出器の出力から前記他の1相(W)の電流検出器のゲイン誤差(ΔGw)を求める。そして、三相電動機の運転時には、前記求めた各相の電流検出器のオフセット誤差(Δu、Δv、Δw)およびゲイン誤差(ΔGv、ΔGw)を用いて各相の電流検出器の検出値(Iu、Iv、Iw)をそれぞれ補正し、補正した電流検出器の検出値(Icu、Icv、Icw)に応じた電流を三相電動機に供給している。   First, one of the phases (U, V, W) of the three-phase motor is set as a reference phase (U), and the current of each phase is detected in a state where no current flows in any phase of the three-phase motor at the time of correction. The offset error (Δu, Δv, Δw) of each device is obtained. Next, a predetermined current flows only in the reference phase (U) and the other one phase (V), and the other phase (V) is output from the outputs of the current detectors of the U phase and the V phase at this time. ) Current detector gain error (ΔGv). Further, a predetermined current flows only in the reference phase (U) and another one phase (W), and the other one phase (from the outputs of the U-phase and W-phase current detectors at this time) W) The gain error (ΔGw) of the current detector is obtained. During the operation of the three-phase motor, the detected values (Iu) of the current detectors for each phase are obtained using the offset errors (Δu, Δv, Δw) and gain errors (ΔGv, ΔGw) of the obtained current detectors for each phase. , Iv, Iw) are respectively corrected, and currents corresponding to the corrected detection values (Icu, Icv, Icw) of the current detector are supplied to the three-phase motor.

図1は上記従来の補正方法を説明するための回路の概略図である。トランジスタTru1、Tru2、Trv1、Trv2、Trw1、Trw2はU、V、Wの各相に設けられインバータ回路を構成しており、直流電源V+の出力をスイッチングして得た可変電圧、可変デューティの出力により三相電動機Mを駆動する。Ru、Rv、Rwは各相の電流検出器を構成する抵抗であり、図1は基準の相(U)および他の1相(V)にのみ所定の電流iが流れるようにし、このときのU相およびV相の電流検出器の出力を求める場合を示している。   FIG. 1 is a schematic diagram of a circuit for explaining the conventional correction method. Transistors Tru1, Tru2, Trv1, Trv2, Trw1, and Trw2 are provided in each phase of U, V, and W to form an inverter circuit, and output of variable voltage and variable duty obtained by switching the output of DC power supply V + To drive the three-phase motor M. Ru, Rv, and Rw are resistors constituting the current detector of each phase. FIG. 1 shows that a predetermined current i flows only in the reference phase (U) and the other one phase (V). The case where the output of the current detector of U phase and V phase is calculated | required is shown.

図2は電流検出器の電流検出値を補正するため、各相の電流検出値を求める別の構成を示した図であり、三相のうちU相の電流検出値を求める場合を示している。トランジスタTru1、Tru2はインバータ回路のU相に設けられたトランジスタであり、定電流源から所定の電流を流し、電流検出器を構成する抵抗Ruでこれを検出し、増幅器Ampで増幅してマイコンに出力し、ここでA/D変換し、変換された検出電流値に基いて補正を行う。
即ち、これらの従来技術においては、電流検出値の補正時に、ある任意の相にのみ所定の電流を流す等、特有の状態を発生させることにより補正を行っている。
FIG. 2 is a diagram showing another configuration for obtaining the current detection value of each phase in order to correct the current detection value of the current detector, and shows a case of obtaining the current detection value of the U phase among the three phases. . Transistor T RU1, T ru2 is a transistor provided in the U-phase of the inverter circuit, a constant current source flowing a predetermined current, detects this by the resistance R u constituting the current detector is amplified by an amplifier Amp Output to the microcomputer, A / D conversion is performed here, and correction is performed based on the converted detected current value.
That is, in these conventional techniques, correction is performed by generating a unique state such as flowing a predetermined current only in a certain arbitrary phase when correcting the current detection value.

特開平5−91780号公報Japanese Patent Laid-Open No. 5-91780

電流検出器は、抵抗、増幅器等より構成されるが、それぞれの素子にバラツキがあるため、同じ電流値であっても検出器で検出される電流値は異なってくる場合がある。
三相電動機の制御精度を上げるため、各相の電流検出器の出力に含まれているオフセット誤差等を検出し補正を行っているが、そのために電流の値を正確に検出する必要があり、そのための装置が必要となる。
The current detector is composed of a resistor, an amplifier, and the like. However, since each element varies, the current value detected by the detector may be different even if the current value is the same.
In order to improve the control accuracy of the three-phase motor, offset errors etc. included in the output of the current detector of each phase are detected and corrected, but for that purpose it is necessary to detect the current value accurately, A device for this is required.

一方、三相電動機を円滑に回転駆動させるためには、ある時点で電動機の複数の相に同じ値の電流が流れている場合には、検出電流値も同じ値になるようにすればよく、各相(U、V、W)の電流の絶対精度ではなく相対精度を高めればよい。
従って、本発明は、電流検出器の相対精度を高める補正を行うことにより、特別な装置を用いずに、三相電動機の電流検出値を補正する方法を提供することを目的とするものである。
On the other hand, in order to smoothly rotate the three-phase motor, when the same value of current flows in a plurality of phases of the motor at a certain time, the detected current value may be set to the same value. What is necessary is just to raise the relative accuracy instead of the absolute accuracy of the current of each phase (U, V, W).
Accordingly, an object of the present invention is to provide a method for correcting the current detection value of a three-phase motor without using a special device by performing correction to increase the relative accuracy of the current detector. .

本発明による三相電動機の検出電流値補正装置によれば、三相の各相の電流を検出する電流検出器を有し、三相電動機の動作時に、三相のうちのある一相の電流のゼロクロス時における他の二相に設けられた電流検出器の検出値の相関関係に基いて相対的補正を行う検出電流値補正手段を備える。   According to the detected current value correction device for a three-phase motor according to the present invention, the current detector for detecting the current of each of the three-phase motors has a current detector, and when the three-phase motor is operating, the current of one phase of the three phases Detection current value correction means for performing relative correction based on the correlation of detection values of current detectors provided in the other two phases at the time of zero crossing.

また、前記検出電流値補正手段は、前記一相の電流が立ち上がる場合のゼロクロス時及び立下がる場合のゼロクロス時における前記他の二相に設けられた前記電流検出器の検出値の相関関係に基いて相対的補正を行う。   The detected current value correcting means is based on a correlation between detection values of the current detectors provided in the other two phases at the time of zero crossing when the current of one phase rises and at the time of zero crossing when falling. And make relative corrections.

また、前記検出電流補正手段は、前記一相の電流のゼロクロス時における前記他の二相に設けられた前記電流検出器の検出値を、前記三相電動機の電流が相対的に大、中、小であるときに検出する。   In addition, the detected current correction means, the detection value of the current detector provided in the other two phases at the time of zero crossing of the one-phase current, the current of the three-phase motor is relatively large, medium, Detect when it is small.

また、前記三相電動機の電流が0〔A〕の場合に、前記三相の各相の前記電流検出器の検出値を記憶する記憶手段をさらに備え、前記三相のうちのある一相の電流のゼロクロス時の判定は、前記三相のうちのある一相に設けられた前記電流検出器の検出値と前記記憶手段に記憶された該一相の検出値とが一致したことにより行う。   In addition, when the current of the three-phase motor is 0 [A], it further includes storage means for storing the detection value of the current detector for each of the three-phase phases. The determination at the time of zero crossing of the current is performed when the detection value of the current detector provided in one phase of the three phases coincides with the detection value of the one phase stored in the storage means.

本発明による三相電動機の検出電流値補正方法によれば、三相の各相の電流を検出する電流検出器を有し、前記三相電動機の動作時に、前記三相のうちのある一相の電流のゼロクロス時における他の二相に設けられた前記電流検出器の検出値の相関関係に基いて相対的補正を行う。
また、三相電動機の動作時に、三相のうちある一相を基準相とし、他の二相のうち一相の電流値のゼロクロス時に、その他の一相の電流値を検出し、前記その他の一相の電流検出値を前記基準相の電流の検出値と等しくなるように補正する。
According to the detected current value correction method of the three-phase motor according to the present invention, the current detector detects the current of each of the three phases, and when the three-phase motor is operated, a certain one of the three phases Relative correction is performed based on the correlation of the detection values of the current detectors provided in the other two phases at the time of zero crossing of the current.
In addition, when the three-phase motor is operating, one phase of the three phases is used as a reference phase, and the current value of the other one phase is detected at the time of zero crossing of the current value of one of the other two phases. The one-phase current detection value is corrected to be equal to the reference phase current detection value.

本発明によれば、三相電動機の検出電流値を相対的に補正することにより、特別な装置を用いずに電流検出器のバラツキによる検出電流値を補正できるので、簡単に補正を行うことができる。   According to the present invention, by correcting the detected current value of the three-phase motor relatively, it is possible to correct the detected current value due to variations in the current detector without using a special device, so that correction can be easily performed. it can.

また、ある任意の相にのみ所定の電流を流す等、電流検出値を補正するための特有の状態を発生させる必要がない。そのため、例えば、電動パワーステアリング等の三相電動機を有した製品の出荷後においても、その製品が使用中であれば随時電流検出値の補正が可能となるため、製品の出荷前検査における補正工程をなくすことができる。   Further, there is no need to generate a specific state for correcting the current detection value, such as flowing a predetermined current only in a certain arbitrary phase. Therefore, for example, even after shipment of a product having a three-phase electric motor such as an electric power steering, it is possible to correct the current detection value at any time if the product is in use. Can be eliminated.

また、製品の使用状況・環境等によって生じる劣化によって各相の電流検出器の抵抗、増幅器等にさらなるバラツキが生じたとしても、その製品が使用中であれば随時電流検出値の補正が可能となるため、製品の出荷後もそのバラツキに応じた適切な電流検出値の補正が可能となる。   In addition, even if there is further variation in the resistance of each phase current detector, amplifier, etc. due to deterioration caused by the usage status and environment of the product, it is possible to correct the current detection value at any time if the product is in use. Therefore, it is possible to correct the current detection value appropriately according to the variation even after the product is shipped.

また、三相電動機を有した製品の使用中においては、多種の電流パターンが存在するため、その補正精度を向上させることができる。   In addition, during use of a product having a three-phase motor, since various current patterns exist, the correction accuracy can be improved.

図3は本発明による補正方法が適用される三相電動機用制御回路の構成の概要を示した図である。トランジスタTru1、Tru2、Trv1、Trv2、Trw1、Trw2はU、V、Wの各相に設けられインバータ回路を構成しており、直流電源V+の出力をスイッチングして得た可変電圧、可変デューティの出力により三相電動機Mを駆動する。なお、これらの駆動制御はマイコン1により制御されるインバータ駆動部3により行われる。Ru、Rv、Rwは各相の電流検出器を構成する抵抗であり、各相に流れる電流をこれら抵抗によって検出し、各相の増幅器Au、Av、Awで増幅してマイコン1に出力し、検出された電流値はここでA/D変換されて記憶装置2に記憶される。図3は、三相電動機で車両の操舵操作をアシストする電動パワーステアリング装置に適用した例を示しているので、トルクセンサ4から操舵トルク信号及び車速センサ5から車速信号がマイコン1に入力している。図4は回転子の構成の一例を示したもので、回転子位置検出センサ7により検出された回転子6の位置がマイコン1に送られる。 FIG. 3 is a diagram showing an outline of the configuration of a control circuit for a three-phase motor to which the correction method according to the present invention is applied. Transistors T ru1 , T ru2 , T rv1 , T rv2 , T rw1 , T rw2 are provided in each phase of U, V, W to constitute an inverter circuit, and are obtained by switching the output of the DC power supply V +. The three-phase motor M is driven by voltage and variable duty output. These drive controls are performed by the inverter drive unit 3 controlled by the microcomputer 1. R u , R v , and R w are resistors constituting current detectors for each phase, and the currents flowing through the respective phases are detected by these resistors and amplified by the amplifiers A u , A v , A w for each phase. The detected current value output to the microcomputer 1 is A / D converted and stored in the storage device 2. FIG. 3 shows an example applied to an electric power steering device that assists the steering operation of the vehicle with a three-phase motor. Therefore, a steering torque signal from the torque sensor 4 and a vehicle speed signal from the vehicle speed sensor 5 are input to the microcomputer 1. Yes. FIG. 4 shows an example of the configuration of the rotor, and the position of the rotor 6 detected by the rotor position detection sensor 7 is sent to the microcomputer 1.

図5は本発明による第1の補正方法を説明するための三相交流の波形図である。図5は電動機の電流値のレベルが相対的に小の場合の波形を示している。図からわかるように、三相交流の波形では、1相の電流値が0の時には他の2相の電流の絶対値は同じとなる。例えば、W相の電流値が0のときのU相の電流の絶対値|ius(t1)|とV相の電流の絶対値|ivs(t1)|、およびU相の電流の絶対値|ius(t2)|とV相の電流の絶対値|ivs(t2)|は等しくなる。
|ius(t1)|=|ivs(t1)|
|ius(t2)|=|ivs(t2)|
なお、ius(t1)とivs(t1)は、W相の電流が立ち上がるときのゼロクロス時の電流値であり、ius(t2)とivs(t2)は、W相の電流が立ち下がるときのゼロクロス時の電流値である。U相およびV相の電流値がそれぞれ0の場合も、他の2相の電流の絶対値は同様に等しくなる。
また、後述する三相電動機の電流が0〔A〕のときにW相で検出され記憶された電流値の記憶値(DIw)とW相の検出電流値が一致した時がW相のゼロクロス時である。U相、V相の場合も、U相、V相の検出電流値が記憶値DIu、DIvと一致したときがU相、V相のゼロクロス時である。
FIG. 5 is a three-phase alternating current waveform diagram for explaining the first correction method according to the present invention. FIG. 5 shows a waveform when the level of the current value of the electric motor is relatively small. As can be seen from the figure, in the three-phase AC waveform, when the current value of one phase is 0, the absolute values of the other two-phase currents are the same. For example, the absolute value of the U-phase current when the W-phase current value is 0 | i us (t1) |, the absolute value of the V-phase current | i vs (t1) |, and the absolute value of the U-phase current | I us (t2) | is equal to the absolute value of the V-phase current | i vs (t2) |.
| I us (t1) | = | i vs (t1) |
| I us (t2) | = | i vs (t2) |
I us (t1) and i vs (t1) are the current values at zero crossing when the W-phase current rises, and i us (t2) and i vs (t2) are the W-phase current. It is the current value at zero crossing when it falls. When the U-phase and V-phase current values are each 0, the absolute values of the other two-phase currents are similarly equal.
In addition, when the current value (DI w ) detected and stored in the W phase when the current of a three-phase motor, which will be described later, is 0 [A], and the detected current value in the W phase match, the zero crossing in the W phase occurs. It's time. In the case of the U phase and the V phase, the U phase and the V phase are zero-crossed when the detected current values of the U phase and the V phase coincide with the stored values DI u and DI v .

図6は電動機の電流値のレベルが相対的に中の場合の波形を示している。図5の場合と同様、三相交流の波形では、1相の電流値が0の時には他の2相の電流の絶対値は同じとなる。W相の電流値が0のときのU相の電流の絶対値|ium(t1)|とV相の電流の絶対値|ivm(t1)|、およびU相の電流の絶対値|ium(t2)|とV相の電流の絶対値|ivm(t2)|は等しくなる。
|ium(t1)|=|ivm(t1)|
|ium(t2)|=|ivm(t2)|
なお、ium(t1)とivm(t1)は、W相の電流が立ち上がるときのゼロクロス時の電流値であり、ium(t2)とivm(t2)は、W相の電流が立ち下がるときのゼロクロス時の電流値である。
また、後述する三相電動機の電流が0〔A〕のときにW相で検出され記憶された電流値の記憶値(DIw)とW相の検出電流値が一致した時がW相のゼロクロス時である。U相、V相の場合も、U相、V相の検出電流値が記憶値DIu、DIvと一致したときがU相、V相のゼロクロス時である。
FIG. 6 shows a waveform when the level of the current value of the electric motor is relatively medium. As in the case of FIG. 5, in the three-phase AC waveform, when the current value of one phase is 0, the absolute values of the other two-phase currents are the same. Absolute value | i um (t1) | of U phase current when current value of W phase is 0, absolute value of current V phase | i vm (t1) |, and absolute value of current of U phase | i um (t2) | is equal to the absolute value of the V-phase current | i vm (t2) |.
| I um (t1) | = | i vm (t1) |
| I um (t2) | = | i vm (t2) |
Note that i um (t1) and i vm (t1) are current values at zero crossing when the W-phase current rises, and i um (t2) and i vm (t2) are the W-phase current rises. It is the current value at zero crossing when it falls.
In addition, when the current value of the current value detected and stored in the W phase (DI w ) matches the detected current value in the W phase when the current of a three-phase motor described later is 0 [A], the zero crossing in the W phase occurs. It's time. In the case of the U phase and the V phase, the U phase and the V phase are zero-crossed when the detected current values of the U phase and the V phase coincide with the stored values DI u and DI v .

図7は電動機の電流値のレベルが相対的に大の場合の波形を示している。図5の場合と同様、三相交流の波形では、1相の電流値が0の時には他の2相の電流の絶対値は同じとなる。W相の電流値が0のときのU相の電流の絶対値|iub(t1)|とV相の電流の絶対値|ivb(t1)|、およびU相の電流の絶対値|iub(t2)|とV相の電流の絶対値|ivb(t2)|は等しくなる。
|iub(t1)|=|ivb(t1)|
|iub(t2)|=|ivb(t2)|
なお、iub(t1)とivb(t1)は、W相の電流が立ち上がるときのゼロクロス時の電流値であり、iub(t2)とivb(t2)は、W相の電流が立ち下がるときのゼロクロス時の電流値である。
また、後述する三相電動機の電流が0〔A〕のときにW相で検出され記憶された電流値の記憶値(DIw)とW相の検出電流値が一致した時がW相のゼロクロス時である。U相、V相の場合も、U相、V相の検出電流値が記憶値DIu、DIvと一致したときがU相、V相のゼロクロス時である。
FIG. 7 shows a waveform when the level of the current value of the electric motor is relatively large. As in the case of FIG. 5, in the three-phase AC waveform, when the current value of one phase is 0, the absolute values of the other two-phase currents are the same. Absolute value of U phase current | i ub (t1) |, absolute value of V phase current | i vb (t1) |, and absolute value of U phase current | i when W phase current value is 0 ub (t2) | is equal to the absolute value of the V-phase current | i vb (t2) |.
| I ub (t1) | = | i vb (t1) |
| I ub (t2) | = | i vb (t2) |
I ub (t1) and i vb (t1) are current values at zero crossing when the W-phase current rises, and i ub (t2) and i vb (t2) are the W-phase current. It is the current value at zero crossing when it falls.
In addition, when the current value of the current value detected and stored in the W phase (DI w ) matches the detected current value in the W phase when the current of a three-phase motor described later is 0 [A], the zero crossing in the W phase occurs. It's time. In the case of the U phase and the V phase, the U phase and the V phase are zero-crossed when the detected current values of the U phase and the V phase coincide with the stored values DI u and DI v .

〔実施例1〕
図8は本発明の第1の補正方法を説明するためのフローチャートである。このフローチャートにおいて行われている制御は、図3のマイコン1によって行われている。以下、図3を参照してフローチャートの説明をする。
〔電動機電流が0〔A〕のときの各相の電流検出器の検出電流値〕
(1)まず、電動機電流が0〔A〕のとき、即ち、電動機に通電していないときの各相の電流検出器の出力をオフセット誤差として求める。このときの電流値は電流検出器を構成する抵抗Ru、Rv、Rwを介して検出され、各相の増幅器(Amp)Au、Av、Awで増幅された検出電流値Iu、Iv、Iwをマイコン1に出力する。マイコン1で検出電流値Iu、Iv、IwをA/D変換し、各相の電流検出器のオフセット誤差を示すディジタル信号DIu、DIv、DIwを取得する。そして、取得したディジタル信号DIu、DIv、DIwを記憶装置2に保存する(S1)。記憶装置は、例えばEE−PROMで構成される。
[Example 1]
FIG. 8 is a flowchart for explaining the first correction method of the present invention. The control performed in this flowchart is performed by the microcomputer 1 in FIG. The flowchart will be described below with reference to FIG.
[Detected current value of each phase current detector when the motor current is 0 [A]]
(1) First, when the motor current is 0 [A], that is, when the motor is not energized, the output of each phase current detector is obtained as an offset error. The current value at this time is detected through resistors R u , R v , R w constituting the current detector, and the detected current value I amplified by the amplifiers (Amp) A u , A v , A w of each phase. u , I v , and I w are output to the microcomputer 1. Detected current value I u microcomputer 1, I v, and I w converted A / D, the digital signal DI u indicating the offset error of each phase of the current detector, DI v, to obtain the DI w. Then, the acquired digital signals DI u , DI v , DI w are stored in the storage device 2 (S1). The storage device is composed of, for example, an EE-PROM.

〔W相の電流がゼロクロス時のU相及びV相の電流検出器の検出電流値〕
(2)次に、電動機を駆動し、図5に示すように電流値のレベルが相対的に小のときにおいて、W相の電流がゼロクロス時のU相の電流検出器の検出電流値Ius(t1)、Ius(t2)、およびV相の電流検出器の検出電流値Ivs(t1)、Ivs(t2)をマイコン1に出力する。マイコン1で検出電流値Ius(t1)、Ius(t2)、Ivs(t1)、Ivs(t2)をA/D変換し、ディジタル信号値DIus(t1)、DIus(t2)、DIvs(t1)、DIvs(t2)を取得し、記憶装置に保存する。
[Detection current value of U-phase and V-phase current detectors when W-phase current is zero crossing]
(2) Next, when the electric motor is driven and the current value level is relatively small as shown in FIG. 5, the detected current value I us of the U-phase current detector when the W-phase current is zero- crossed. (t1), I us (t2), and detection current values I vs (t1) and I vs (t2) of the V-phase current detector are output to the microcomputer 1. The detected current values I us (t1), I us (t2), I vs (t1), and I vs (t2) are A / D converted by the microcomputer 1 and the digital signal values DI us (t1) and DI us (t2) , DI vs (t1), DI vs (t2) are acquired and stored in the storage device.

同様に、図6に示すように電流値のレベルが相対的に中のときのディジタル信号値DIum(t1)、DIum(t2)、DIvm(t1)、DIvm(t2)を取得し、記憶装置に保存する。
さらに、図7に示すように電流値のレベルが相対的に大のときのディジタル信号値DIub(t1)、DIub(t2)、DIvb(t1)、DIvb(t2)を取得し、記憶装置に保存する(S2)。
(3)次に、取得した上記検出電流値の相関関係を求める。具体的には図9に示すように、横軸が電動機の実際の電流値であり、縦軸が検出器によって検出された電流値である座標に、上記検出された電流値をA/D変換したディジタル信号値の絶対値をプロットする。
Similarly, as shown in FIG. 6, digital signal values DI um (t1), DI um (t2), DI vm (t1), and DI vm (t2) when the current level is relatively medium are obtained. Save it in the storage device.
Further, as shown in FIG. 7, the digital signal values DI ub (t1), DI ub (t2), DI vb (t1), and DI vb (t2) when the level of the current value is relatively large are obtained, Save in the storage device (S2).
(3) Next, a correlation between the acquired detected current values is obtained. Specifically, as shown in FIG. 9, the detected current value is A / D converted into coordinates where the horizontal axis is the actual current value of the motor and the vertical axis is the current value detected by the detector. Plot the absolute value of the measured digital signal value.

図9に示すように、電動機の実際の電流値のレベルが0〔A〕、及び予め取得した小、中、大のときのU相およびV相の検出電流のディジタル信号値の絶対値をそれぞれプロットする。なお、横軸の電動機の実際の電流値は当該電動機において相対的に大、中、小の値を選択すればよく、具体的に正確な値を選択する必要はない。   As shown in FIG. 9, the absolute values of the digital signal values of the U-phase and V-phase detected currents when the actual current value level of the motor is 0 [A] and the small, medium, and large values acquired in advance are respectively shown. Plot. Note that the actual current value of the motor on the horizontal axis may be selected as a relatively large, medium, or small value for the motor, and it is not necessary to select a specific exact value.

次に、プロットしたU相の検出電流の絶対値の分布から、該分布に沿った直線(DIu=Au・i+Bu)を求め(BuはU相が0〔A〕の時の検出値)、同様に、プロットしたV相の検出電流の絶対値の分布から、該分布に沿った直線(DIv=Av・i+Bv)を求める(BvはV相が0〔A〕の時の検出値)。 Next, a straight line (DI u = A u · i + B u ) along the distribution is obtained from the distribution of the absolute values of the detected currents of the U phase (B u is the detection when the U phase is 0 [A]. Value), and similarly, a straight line (DI v = A v · i + B v ) along the distribution is obtained from the distribution of the absolute values of the detected currents of the V phase (B v is 0 [A] for the V phase) Detection value at the time).

上記2式より「i」を消去することにより、以下の式が導かれる。
DIu=(Au/Av)DIv+Bu−(Au/Av)BV または
DIv=(Av/Au)DIu+Bv−(Av/Au)Bu
上記式は、U相の検出電流とV相の検出電流の相関関係を表している(S3)。
By deleting “i” from the above two formulas, the following formula is derived.
DI u = (A u / A v) DI v + B u - (A u / A v) B V or DI v = (A v / A u) DI u + B v - (A v / A u) B u
The above expression represents the correlation between the U-phase detection current and the V-phase detection current (S3).

なお、プロットした検出電流値の分布が直線とならず、例えば、二次曲線となった場合には、U相の検出電流に係る二次曲線とV相の検出電流に係る二次曲線との相関関係を求める。以下に記載するU相、V相の電流がゼロクロス時の場合も同様である。   In addition, when the distribution of the plotted detection current values is not a straight line, for example, a quadratic curve, a quadratic curve related to the U-phase detection current and a quadratic curve related to the V-phase detection current Find the correlation. The same applies when the U-phase and V-phase currents described below are at zero crossing.

〔U相の電流がゼロクロス時のV相及びW相の電流検出器の検出電流値〕
(4)同様に、電動機を駆動し、図5に示すように電流値のレベルが相対的に小のときにおいて、U相の電流がゼロクロス時のV相の電流検出器の検出電流値Ivs(t1)、Ivs(t2)、およびW相の電流検出器の検出電流値Iws(t1)、Iws(t2))をマイコン1に出力する。マイコン1で検出電流値Ivs(t1)、Ivs(t2)、Iws(t1)、Iws(t2)をA/D変換し、ディジタル信号値DIvs(t1)、DIvs(t2)、DIws(t1)、DIws(t2)を取得し、記憶装置に保存する。
[Detection current value of V-phase and W-phase current detectors when U-phase current is zero-crossing]
(4) Similarly, when the motor is driven and the current value level is relatively small as shown in FIG. 5, the detected current value I vs of the V-phase current detector when the U-phase current is zero- crossed (t1), I vs (t2) and detection current values I ws (t1), I ws (t2)) of the W-phase current detector are output to the microcomputer 1. The microcomputer 1 performs A / D conversion on the detected current values I vs (t1), I vs (t2), I ws (t1), and I ws (t2) to obtain digital signal values DI vs (t1), DI vs (t2) , DI ws (t1), DI ws (t2) are acquired and stored in the storage device.

同様に、図6に示すように電流値のレベルが相対的に中のときのディジタル信号値DIvm(t1)、DIvm(t2)、DIwm(t1)、DIwm(t2)を取得し、記憶装置に保存する。
さらに、図7に示すように電流値のレベルが相対的に大のときのディジタル信号値DIvb(t1)、DIvb(t2)、DIwb(t1)、DIwb(t2)を取得し、記憶装置に保存する(S4)。
Similarly, as shown in FIG. 6, the digital signal values DI vm (t1), DI vm (t2), DI wm (t1), and DI wm (t2) when the current level is relatively medium are obtained. Save it in the storage device.
Further, as shown in FIG. 7, the digital signal values DI vb (t1), DI vb (t2), DI wb (t1), and DI wb (t2) when the level of the current value is relatively large are obtained. Save in the storage device (S4).

(5)次に、取得した上記検出電流値の相関関係を求める。具体的には図10に示すように、横軸が電動機の実際の電流値であり、縦軸が検出器によって検出された電流値である座標に、上記検出された電流値をA/D変換したディジタル信号値の絶対値をプロットする。 (5) Next, the correlation between the acquired detected current values is obtained. Specifically, as shown in FIG. 10, the detected current value is A / D converted into coordinates where the horizontal axis is the actual current value of the motor and the vertical axis is the current value detected by the detector. Plot the absolute value of the measured digital signal value.

図10に示すように、電動機の実際の電流値のレベルが0〔A〕、及び予め取得した小、中、大のときのV相およびW相の検出電流のディジタル信号値の絶対値をそれぞれプロットする。なお、横軸の電動機の実際の電流値は当該電動機において相対的に大、中、小の値を選択すればよく、具体的に正確な値を選択する必要はない。   As shown in FIG. 10, the absolute values of the digital signal values of the V-phase and W-phase detected currents when the actual current value level of the motor is 0 [A] and the small, medium, and large levels acquired in advance are respectively shown. Plot. Note that the actual current value of the motor on the horizontal axis may be selected as a relatively large, medium, or small value for the motor, and it is not necessary to select a specific exact value.

次に、プロットしたV相の検出電流の絶対値の分布から、該分布に沿った直線(DIv=Av・i+Bv)を求め(BvはV相が0〔A〕の時の検出値)、同様に、プロットしたW相の検出電流の絶対値の分布から、該分布に沿った直線(DIw=Aw・i+Bw)を求める(BwはW相が0〔A〕の時の検出値)。 Next, a straight line (DI v = A v · i + B v ) along the distribution is obtained from the distribution of the absolute values of the detected current of the V phase (B v is the detection when the V phase is 0 [A]. Value), similarly, a straight line (DI w = A w · i + B w ) along the distribution is determined from the distribution of the absolute values of the detected current of the W phase (B w is 0 [A] for the W phase). Detection value at the time).

上記2式より「i」を消去することにより、以下の式が導かれる。
DIv=(Av/Aw)DIw+Bv−(Av/Aw)Bw または
DIw=(Aw/Av)DIv+Bw−(Aw/Av)Bv
上記式は、V相の検出電流とW相の検出電流の相関関係を表している(S5)。
By deleting “i” from the above two formulas, the following formula is derived.
DI v = (A v / A w ) DI w + B v − (A v / A w ) B w or DI w = (A w / A v ) DI v + B w − (A w / A v ) B v
The above expression represents the correlation between the V-phase detection current and the W-phase detection current (S5).

〔V相の電流がゼロクロス時のW相及びU相の電流検出器の検出電流値〕
(6)同様に、電動機を駆動し、図5に示すように電流値のレベルが相対的に小のときにおいて、V相の電流がゼロクロス時のW相の電流検出器の検出電流値Iws(t1)、Iws(t2)、およびU相の電流検出器の検出電流値Ius(t1)、Ius(t2))をマイコン1に出力する。マイコン1で検出電流値値Iws(t1)、Iws(t2)、Ius(t1)、Ius(t2)をA/D変換し、ディジタル信号値DIws(t1)、DIws(t2)、DIus(t1)、DIus(t2)を取得し、記憶装置に保存する。
[Detected current value of W-phase and U-phase current detectors when V-phase current is zero crossing]
(6) Similarly, when the motor is driven and the current value level is relatively small as shown in FIG. 5, the detected current value I ws of the W-phase current detector when the V-phase current is zero- crossed. (t1), I ws (t2) and detection current values I us (t1), I us (t2)) of the U-phase current detector are output to the microcomputer 1. The microcomputer 1 performs A / D conversion on the detected current values I ws (t1), I ws (t2), I us (t1), and I us (t2) to obtain digital signal values DI ws (t1), DI ws (t2 ), DI us (t1), DI us (t2) are acquired and stored in the storage device.

同様に、図6に示すように電流値のレベルが相対的に中のときのディジタル信号値DIwm(t1)、DIwm(t2)、DIum(t1)、DIum(t2)を取得し、記憶装置に保存する。
さらに、図7に示すように電流値のレベルが相対的に大のときのディジタル信号値DIwb(t1)、DIwb(t2)、DIub(t1)、DIub(t2)を取得し、記憶装置に保存する(S6)。
Similarly, as shown in FIG. 6, digital signal values DI wm (t1), DI wm (t2), DI um (t1), and DI um (t2) when the current level is relatively medium are obtained. Save it in the storage device.
Further, as shown in FIG. 7, the digital signal values DI wb (t1), DI wb (t2), DI ub (t1), and DI ub (t2) when the level of the current value is relatively large are obtained. Save in the storage device (S6).

(7)次に、取得した上記検出電流値の関係を求める。具体的には図11に示すように、横軸が電動機の実際の電流値であり、縦軸が検出器によって検出された電流値である座標に、上記検出された電流値をA/D変換したディジタル信号値の絶対値をプロットする。
図11に示すように、電動機の実際の電流値のレベルが0〔A〕、及び予め取得した小、中、大のときのW相およびU相の検出電流のディジタル信号値の絶対値をそれぞれプロットする。なお、横軸の電動機の実際の電流値は当該電動機において相対的に大、中、小の値を選択すればよく、具体的に正確な値を選択する必要はない。
(7) Next, the relationship between the acquired detected current values is obtained. Specifically, as shown in FIG. 11, the detected current value is A / D converted into coordinates where the horizontal axis is the actual current value of the motor and the vertical axis is the current value detected by the detector. Plot the absolute value of the measured digital signal value.
As shown in FIG. 11, the absolute values of the digital signal values of the W-phase and U-phase detected currents when the actual current value level of the motor is 0 [A] and the small, medium, and large levels acquired in advance are respectively shown. Plot. Note that the actual current value of the motor on the horizontal axis may be selected as a relatively large, medium, or small value for the motor, and it is not necessary to select a specific exact value.

次に、プロットしたW相の検出電流の絶対値の分布から、該分布に沿った直線(DIw=Aw・i+Bw)を求め(BwはW相が0〔A〕の時の検出値)、同様に、プロットしたW相の検出電流の絶対値の分布から、該分布に沿った直線(DIu=Au・i+Bu)を求める(BuはU相が0〔A〕の時の検出値)。 Then, from the distribution of the absolute value of the detected current of the plotted W-phase, linearly along converting said fabric (DI w = A w · i + B w) asking (B w is detected when the W phase is 0 [A] Value), similarly, a straight line (DI u = A u · i + B u ) along the distribution is obtained from the distribution of the absolute values of the detected currents of the W phase (B u is 0 [A] for the U phase) Detection value at the time).

上記2式より「i」を消去することにより、以下の式が導かれる。
DIw=(Aw/Au)DIu+Bw−(Aw/Au)Bu または
DIu=(Au/Aw)DIw+Bu−(Au/Aw)Bw
上記式は、W相の検出電流とU相の検出電流の相関関係を表している(S7)。
By deleting “i” from the above two formulas, the following formula is derived.
DI w = (A w / A u) DI u + B w - (A w / A u) B u or DI u = (A u / A w) DI w + B u - (A u / A w) B w
The above expression represents the correlation between the W-phase detection current and the U-phase detection current (S7).

〔各相間の相関関係に基き補正を行う〕
(8)上記(S3)、(S5)、(S7)で求めた相関関係の式を用いて以下のように変換することができる。
(1)V相とW相をU相の値に変換する場合には以下の式を用いることができる。
DIv(u)=(Au/Av)DIv+Bu−(Au/Av)Bv
DIw(u)=(Au/Aw)DIw+Bu−(Au/Aw)Bw
(2)U相とW相をV相の値に変換する場合には以下の式を用いることができる。
DIu(v)=(Av/Au)DIu+Bv−(Av/Au)Bu
DIw(v)=(Av/Aw)DIw+Bv−(Av/Aw)Bw
(3)U相とV相をW相の値に変換する場合には以下の式を用いることができる。
DIu(w)=(Aw/Au)DIu+Bw−(Aw/Au)Bu
DIv(w)=(Aw/Av)DIv+Bw−(Aw/Av)Bv
[Correction based on correlation between phases]
(8) Using the correlation formula obtained in the above (S3), (S5), and (S7), conversion can be performed as follows.
(1) When converting the V phase and the W phase into U phase values, the following equations can be used.
DI v (u) = (A u / A v ) DI v + B u − (A u / A v ) B v
DI w (u) = (A u / A w) DI w + B u - (A u / A w) B w
(2) When converting the U phase and the W phase into values of the V phase, the following equation can be used.
DI u (v) = (A v / A u ) DI u + B v − (A v / A u ) B u
DI w (v) = (A v / A w ) DI w + B v − (A v / A w ) B w
(3) When converting the U phase and the V phase into W phase values, the following equations can be used.
DI u (w) = (A w / A u) DI u + B w - (A w / A u) B u
DI v (w) = (A w / A v ) DI v + B w − (A w / A v ) B v

〔実施例2〕
本発明の第2の補正方法は、三相のうちのある一相を基準相とし、他の二相のうち、一相の電流値のゼロクロス時に、その他の一相の電流の検出値が基準相の電流の検出値と等しくなるよう補正するものである。さらに、当該他の二相のうち、別の一相の電流値のゼロクロス時に、一方の相の電流検出値が基準相の電流検出値と等しくなるよう補正するものである。これにより、二つの相の電流検出値が基準相の電流検出値と等しくなるよう補正でき、オフセット誤差を解消することができる。
なお、本実施例においては、U相を基準とした実施例を示すが、その他の相を基準相としても同様の検出電流値の補正を行うことができる。
[Example 2]
In the second correction method of the present invention, one phase of the three phases is set as a reference phase, and the detected value of the current of the other phase is set as a reference at the time of zero crossing of the current value of one phase among the other two phases. The correction is made to be equal to the detected value of the phase current. Furthermore, the current detection value of one phase is corrected to be equal to the current detection value of the reference phase at the time of zero crossing of the current value of another one phase among the other two phases. Thereby, it can correct | amend so that the electric current detection value of two phases may become equal to the electric current detection value of a reference | standard phase, and can eliminate an offset error.
In the present embodiment, an example based on the U phase is shown, but the same detection current value can be corrected even if the other phase is used as the reference phase.

図12は本発明の第2の補正方法を説明するためのフローチャートである。このフローチャートにおける制御は、図3のマイコン1によって行われている。以下、図3を参照してフローチャートの説明をする。
まず、電動機電流が0〔A〕のときの各相の電流検出器の検出電流値を取得する(S11)。
電動機電流が0〔A〕のとき、即ち、電動機に通電していないときの各相の電流検出器の出力をオフセット誤差として求める。このときの電流値は電流検出器を構成する抵抗Ru、Rv、Rwを介して検出され、各相の増幅器(Amp)Au、Av、Awで増幅された検出電流値Iu、Iv、Iwをマイコン1に出力する。マイコン1で検出電流値Iu、Iv、IwをA/D変換し、ディジタル信号DIu、DIv、DIwを取得する。そして、取得したディジタル信号DIu、DIv、DIwを各相の電流検出器のオフセット誤差を示すBu、Bv、Bwとして記憶装置2に保存する。記憶装置は、例えばEE−PROMで構成される。
FIG. 12 is a flowchart for explaining the second correction method of the present invention. The control in this flowchart is performed by the microcomputer 1 in FIG. The flowchart will be described below with reference to FIG.
First, the detection current value of each phase current detector when the motor current is 0 [A] is acquired (S11).
When the motor current is 0 [A], that is, when the motor is not energized, the output of each phase current detector is obtained as an offset error. The current value at this time is detected through resistors R u , R v , R w constituting the current detector, and the detected current value I amplified by the amplifiers (Amp) A u , A v , A w of each phase. u , I v , and I w are output to the microcomputer 1. Detection current value I u microcomputer 1, I v, and I w converts A / D, the digital signal DI u, DI v, to obtain the DI w. The acquired digital signals DI u , DI v , DI w are stored in the storage device 2 as B u , B v , B w indicating the offset error of the current detector of each phase. The storage device is composed of, for example, an EE-PROM.

次に、W相の電流がゼロクロス時のU相及びV相の電流検出器の検出電流値を取得する(S12)。
電動機を駆動し、図5に示すように電流値のレベルが相対的に小のときにおいて、W相の電流がゼロクロス時のU相の電流検出器の検出電流値Ius(t1)、Ius(t2)、およびV相の電流検出器の検出電流値Ivs(t1)、Ivs(t2)をマイコン1に出力する。マイコン1で検出電流値Ius(t1)、Ius(t2)、Ivs(t1)、Ivs(t2)をA/D変換し、ディジタル信号値DIus(t1)、DIus(t2)、DIvs(t1)、DIvs(t2)を取得し、記憶装置に保存する。
同様に、図6に示すように電流値のレベルが相対的に中のときのディジタル信号値DIum(t1)、DIum(t2)、DIvm(t1)、DIvm(t2)を取得し、記憶装置に保存する。
さらに、図7に示すように電流値のベレルが相対的に大のときのディジタル信号値DIub(t1)、DIub(t2)、DIvb(t1)、DIvb(t2)を取得し、記憶装置に保存する。
Next, the detection current values of the U-phase and V-phase current detectors when the W-phase current is zero crossing are acquired (S12).
When the motor is driven and the current value level is relatively small as shown in FIG. 5, the detected current values I us (t1) and I us of the U-phase current detector when the W-phase current is zero- crossed (t2) and the detected current values I vs (t1) and I vs (t2) of the V-phase current detector are output to the microcomputer 1. The detected current values I us (t1), I us (t2), I vs (t1), and I vs (t2) are A / D converted by the microcomputer 1 and the digital signal values DI us (t1) and DI us (t2) , DI vs (t1), DI vs (t2) are acquired and stored in the storage device.
Similarly, as shown in FIG. 6, digital signal values DI um (t1), DI um (t2), DI vm (t1), and DI vm (t2) when the current level is relatively medium are obtained. Save it in the storage device.
Further, as shown in FIG. 7, the digital signal values DI ub (t1), DI ub (t2), DI vb (t1), DI vb (t2) when the current value is relatively large are obtained, Save to storage.

そして、取得した上記検出電流値の相関関係を求める(S13)。具体的には図9に示すように、横軸が電動機の実際の電流値であり、縦軸が検出器によって検出された電流値である座標に、上記検出された電流値をA/D変換したディジタル信号値の絶対値をプロットする。   And the correlation of the acquired said detected electric current value is calculated | required (S13). Specifically, as shown in FIG. 9, the detected current value is A / D converted into coordinates where the horizontal axis is the actual current value of the motor and the vertical axis is the current value detected by the detector. Plot the absolute value of the measured digital signal value.

図9に示すように、電動機の実際の電流値のレベルが0〔A〕、及び予め取得した小、中、大のときのU相およびV相の検出電流のディジタル信号値の絶対値をそれぞれプロットする。なお、横軸の電動機の実際の電流値は当該電動機において相対的に大、中、小の値を選択すればよく、具体的に正確な値を選択する必要はない。   As shown in FIG. 9, the absolute values of the digital signal values of the U-phase and V-phase detected currents when the actual current value level of the motor is 0 [A] and the small, medium, and large values acquired in advance are respectively shown. Plot. Note that the actual current value of the motor on the horizontal axis may be selected as a relatively large, medium, or small value for the motor, and it is not necessary to select a specific exact value.

次に、プロットしたU相の検出電流の絶対値の分布から、該分布に沿った直線
DIu=Au・i+Bu・・・・・・・・・・・・・・・・・・・・・・(1)
を求める。ここで、BuはU相が0〔A〕の時のU相の検出値でありオフセット誤差に相当する値である。同様に、プロットしたV相の検出電流の絶対値の分布から、該分布に沿った直線
DIv=Av・i+Bv・・・・・・・・・・・・・・・・・・・・・・(2)
を求める。ここで、BvはV相が0〔A〕の時のV相の検出値でありオフセット誤差に相当する値である。
Next, from the distribution of the absolute values of the U-phase detected currents plotted, a straight line along the distribution DI u = A u · i + B u ... ... (1)
Ask for. Here, B u is a detected value of the U phase when the U phase is 0 [A], and is a value corresponding to an offset error. Similarly, from the distribution of the absolute values of the V-phase detected currents plotted, a straight line DI v = A v · i + B v along the distribution… ... (2)
Ask for. Here, B v is a detected value of the V phase when the V phase is 0 [A], and is a value corresponding to an offset error.

上記(1)(2)式より、U相の(1)式から「i」を消去すると、
DIu=(Au/Av)DIv+Bu−(Au/Av)Bv・・・・・・・・・(3)
が導かれ、これをU相の値を基準に補正されたV相電流の式として表すと、
DIv(u)=(Au/Av)DIv+Bu−(Au/Av)Bv ・・・・・・・(4)
となる。
(4)式のDIvに電流検出器により検出されたV相の電流値を代入することにより、V相の検出値を基準相のU相の検出電流値と同値に補正することができる。
これにより、U相とV相において、両相の直線の隔たり、つまりオフセット誤差が解消される。
From the above formulas (1) and (2), when “i” is deleted from the U-phase formula (1),
DI u = (A u / A v ) DI v + B u − (A u / A v ) B v (3)
Is expressed as an equation of a V-phase current corrected with reference to the value of the U-phase,
DI v (u) = (A u / A v) DI v + B u - (A u / A v) B v ······· (4)
It becomes.
By substituting the current value of the V phase detected by the current detector into DI v in the equation (4), the detected value of the V phase can be corrected to the same value as the detected current value of the U phase of the reference phase.
Thereby, in the U phase and the V phase, the distance between the straight lines of both phases, that is, the offset error is eliminated.

次に、V相の電流がゼロクロス時のU相及びW相の電流検出器の検出電流値を取得する(S14)。
電動機を駆動し、図5に示すように電流値のレベルが相対的に小のときにおいて、V相の電流がゼロクロス時のU相の電流検出器の検出電流値Ius(t1)、Ius(t2)、およびW相の電流検出器の検出電流値Iws(t1)、Iws(t2)をマイコン1に出力する。マイコン1で検出電流値Ius(t1)、Ius(t2)、Iws(t1)、Iws(t2)をA/D変換し、ディジタル信号値DIus(t1)、DIus(t2)、DIws(t1)、DIws(t2)を取得し、記憶装置に保存する。
同様に、図6に示すように電流値のレベルが相対的に中のときのディジタル信号値DIum(t1)、DIum(t2)、DIwm(t1)、DIwm(t2)を取得し、記憶装置に保存する。
さらに、図7に示すように電流値のレベルが相対的に大のときのディジタル信号値DIub(t1)、DIub(t2)、DIwb(t1)、DIwb(t2)を取得し、記憶装置に保存する。
Next, the detection current values of the U-phase and W-phase current detectors when the V-phase current is zero crossing are acquired (S14).
When the motor is driven and the current value level is relatively small as shown in FIG. 5, the detected current values I us (t1) and I us of the U-phase current detector when the V-phase current is zero crossing (t2) and detection current values I ws (t1) and I ws (t2) of the W-phase current detector are output to the microcomputer 1. The detected current values I us (t1), I us (t2), I ws (t1), and I ws (t2) are A / D converted by the microcomputer 1 and the digital signal values DI us (t1), DI us (t2) , DI ws (t1), DI ws (t2) are acquired and stored in the storage device.
Similarly, as shown in FIG. 6, digital signal values DI um (t1), DI um (t2), DI wm (t1), and DI wm (t2) when the current value level is relatively medium are obtained. Save it in the storage device.
Further, as shown in FIG. 7, the digital signal values DI ub (t1), DI ub (t2), DI wb (t1), and DI wb (t2) when the level of the current value is relatively large are obtained. Save to storage.

そして、取得した上記検出電流値の相関関係を求める(S15)。具体的には図11に示すように、横軸が電動機の実際の電流値であり、縦軸が検出器によって検出された電流値である座標に、上記検出された電流値をA/D変換したディジタル信号値の絶対値をプロットする。   And the correlation of the acquired said detected electric current value is calculated | required (S15). Specifically, as shown in FIG. 11, the detected current value is A / D converted into coordinates where the horizontal axis is the actual current value of the motor and the vertical axis is the current value detected by the detector. Plot the absolute value of the measured digital signal value.

図11に示すように、電動機の実際の電流値のレベルが0〔A〕、及び予め取得した小、中、大のときのU相およびW相の検出電流のディジタル信号値の絶対値をそれぞれプロットする。なお、横軸の電動機の実際の電流値は当該電動機において相対的に大、中、小の値を選択すればよく、具体的に正確な値を選択する必要はない。   As shown in FIG. 11, the absolute values of the digital signal values of the U-phase and W-phase detected currents when the actual current value level of the motor is 0 [A] and small, medium, and large obtained in advance are respectively shown. Plot. Note that the actual current value of the motor on the horizontal axis may be selected as a relatively large, medium, or small value for the motor, and it is not necessary to select a specific exact value.

次に、プロットしたU相の検出電流の絶対値の分布から、該分布に沿った直線
DIu=Au・i+Bu・・・・・・・・・・・・・・・・・・・・・・(1)
を求め、同様に、プロットしたW相の検出電流の絶対値の分布から、該分布に沿った直線
DIw=Aw・i+Bw・・・・・・・・・・・・・・・・・・・・・・(5)
を求める。ここで、BwはW相が0〔A〕の時のW相の検出値でありオフセット誤差に相当する値である。
Next, from the distribution of the absolute values of the U-phase detected currents plotted, a straight line along the distribution DI u = A u · i + B u ... ... (1)
Similarly, from the plotted distribution of the absolute values of the detected current of the W phase, a straight line DI w = A w · i + B w ... (5)
Ask for. Here, B w is a detected value of the W phase when the W phase is 0 [A], and is a value corresponding to an offset error.

上記(1)(5)式より、U相の(1)式から「i」を消去すると、
DIu=(Au/Aw)DIw+Bu−(Au/Aw)Bw・・・・・・・・・(6)
が導かれ、これをU相の値を基準に補正されたW相電流の式として表すと、
DIw(u)=(Au/Aw)DIw+Bu−(Au/Aw)Bw ・・・・・・・(7)
となる。
(7)式のDIwに電流検出器により検出されたW相の電流値を代入することにより、W相の検出値を基準相のU相の検出電流値と同値に補正することができる。
これにより、U相とW相において、両相の直線の隔たり、つまりオフセット誤差が解消される。
From the above equations (1) and (5), when “i” is deleted from the U-phase (1) equation,
DI u = (A u / A w ) DI w + B u − (A u / A w ) B w (6)
Is expressed as an equation of the W-phase current corrected with reference to the value of the U-phase,
DI w (u) = (A u / A w) DI w + B u - (A u / A w) B w ······· (7)
It becomes.
By substituting the current value of the W phase detected by the current detector into DI w in the equation (7), the detected value of the W phase can be corrected to the same value as the detected current value of the U phase of the reference phase.
As a result, in the U phase and the W phase, the distance between the straight lines of the two phases, that is, the offset error is eliminated.

そして、上記(1)式、(4)式、(7)式により取得した検出電流値を用いて電動機制御を行う(S16)。   And electric motor control is performed using the detected electric current value acquired by the said Formula (1), (4) Formula, (7) Formula (S16).

電動機の実際の電流値がある値、例えば、小レベルのある値の電流値(is)であった場合、3相のうちの1相の電流がゼロクロス時の他の二相の検出された電流の絶対値は等しくなけらばならない。しかしながら、検出器のバラツキのために図9、図10、図11に示されているように必ずしも等しくならない場合がある。
本発明では、上記式に基き検出された電流値を補正し、補正された他の二相の電流値の絶対値が等しくなるように制御すれば、電流検出値の相対精度を高めることができる。
Actual current has value value of the motor, for example, if a current value of a value a small level (i s), the current of one phase of the three phases is detected in the other two phases during zero-crossing The absolute values of the currents must be equal. However, due to variations in detectors, they may not necessarily be equal as shown in FIGS.
In the present invention, the relative accuracy of the detected current value can be improved by correcting the detected current value based on the above equation and controlling the corrected two-phase current values to be equal. .

なお、本発明は三相電動機を有する装置であれば適用可能である。好適には三相電動機で車両の操舵操作をアシストする電動パワーステアリング装置に適用することにより、トルクリップルの無いスムーズな操舵操作をユーザに提供することができる。   The present invention is applicable to any device having a three-phase motor. Preferably, by applying the present invention to an electric power steering device that assists the steering operation of the vehicle with a three-phase motor, a smooth steering operation without torque ripple can be provided to the user.

従来の補正方法を説明するための回路の概略図。The schematic of the circuit for demonstrating the conventional correction method. 従来の補正方法を説明するための回路の概略図。The schematic of the circuit for demonstrating the conventional correction method. 本発明による補正方法が適用される三相電動機用制御回路の構成の概要を示した図。The figure which showed the outline | summary of the structure of the control circuit for three-phase motors to which the correction method by this invention is applied. 回転子の構成の一例を示す図。The figure which shows an example of a structure of a rotor. 本発明による補正方法を説明するための三相交流の波形図(電流値のレベルが相対的に小の場合)。FIG. 3 is a waveform diagram of a three-phase AC for explaining the correction method according to the present invention (when the level of the current value is relatively small). 本発明による補正方法を説明するための三相交流の波形図(電流値のレベルが相対的に中の場合)。FIG. 6 is a three-phase AC waveform diagram for explaining the correction method according to the present invention (when the current value level is relatively medium); 本発明による補正方法を説明するための三相交流の波形図(電流値のレベルが相対的に大の場合)。FIG. 3 is a waveform diagram of a three-phase AC for explaining the correction method according to the present invention (when the level of the current value is relatively large). 本発明の第1の補正方法を説明するためのフローチャート。The flowchart for demonstrating the 1st correction method of this invention. 座標上に、電動機の実際の電流値レベルが小、中、大のときにおいて、W相の電流値が0〔A〕のときのU相およびV相の検出電流のディジタル信号値の絶対値をそれぞれプロットした図。On the coordinates, the absolute value of the digital signal value of the U-phase and V-phase detected currents when the actual current value level of the motor is small, medium, and large and the W-phase current value is 0 [A]. Each plot. 座標上に、電動機の実際の電流値レベルが小、中、大のときにおいて、U相の電流値が0〔A〕のときのV相およびW相の検出電流のディジタル信号値の絶対値をそれぞれプロットした図。On the coordinates, the absolute value of the digital signal value of the V-phase and W-phase detected currents when the actual current value level of the motor is small, medium and large and the U-phase current value is 0 [A]. Each plot. 座標上に、電動機の実際の電流値レベルが小、中、大のときにおいて、V相の電流値が0〔A〕のときのW相およびU相の検出電流のディジタル信号値の絶対値をそれぞれプロットした図。On the coordinates, the absolute value of the digital signal value of the detected current of the W phase and U phase when the actual current value level of the motor is small, medium and large and the current value of the V phase is 0 [A]. Each plot. 本発明の第2の補正方法を説明するためのフローチャート。The flowchart for demonstrating the 2nd correction method of this invention.

符号の説明Explanation of symbols

1 マイコン
2 記憶装置
3 インバータ駆動部
4 トルクセンサ
5 車速センサ
6 回転子
7 回転子位置検出センサ
M 電動機
ru1、Tru2、Trv1、Trv2、Trw1、Trw2 インバータ回路を構成するトランジスタ
u、Rv、Rw 電流検出用抵抗
Amp 増幅器
DESCRIPTION OF SYMBOLS 1 Microcomputer 2 Memory | storage device 3 Inverter drive part 4 Torque sensor 5 Vehicle speed sensor 6 Rotor 7 Rotor position detection sensor M Electric motor Tru1 , Tru2 , Trv1 , Trv2 , Trw1 , Trw2 Transistor which comprises inverter circuit R u , R v , R w Current detection resistor Amp amplifier

Claims (8)

三相の各相の電流を検出する電流検出器を有した三相電動機の検出電流値補正装置であって、
前記三相電動機の動作時に、前記三相のうちのある一相の電流のゼロクロス時における他の二相に設けられた前記電流検出器の検出値の相関関係に基いて相対的補正を行う検出電流値補正手段を備えることを特徴とする検出電流値補正装置。
A detection current value correction device for a three-phase motor having a current detector for detecting a current of each phase of the three phases,
Detection in which the relative correction is performed based on the correlation of the detection values of the current detectors provided in the other two phases at the time of zero crossing of the current of one phase of the three phases during the operation of the three-phase motor. A detected current value correcting apparatus comprising a current value correcting means.
前記検出電流値補正手段は、前記一相の電流が立ち上がる場合のゼロクロス時及び又は立下がる場合のゼロクロス時における前記他の二相に設けられた前記電流検出器の検出値の相関関係に基いて相対的補正を行うことを特徴とする、請求項1に記載の検出電流値補正装置。   The detected current value correcting means is based on a correlation between detection values of the current detectors provided in the other two phases at the time of zero crossing when the current of one phase rises and / or at the time of zero crossing when falling. 2. The detected current value correcting apparatus according to claim 1, wherein relative correction is performed. 前記検出電流補正手段は、前記一相の電流のゼロクロス時における前記他の二相に設けられた前記電流検出器の検出値を、前記三相電動機の電流が相対的に大、中、小であるときに検出することを特徴とする、請求項1に記載の検出電流値補正装置。   The detected current correction means is configured to detect a detected value of the current detector provided in the other two phases at the time of zero crossing of the one-phase current when the current of the three-phase motor is relatively large, medium, and small. 2. The detected current value correcting apparatus according to claim 1, wherein the detected current value correcting apparatus detects at a certain time. 前記三相電動機の電流が0〔A〕の場合に、前記三相の各相の前記電流検出器の検出値を記憶する記憶手段をさらに備え、
前記三相のうちのある一相の電流のゼロクロス時の判定は、前記三相のうちのある一相に設けられた前記電流検出器の検出値と前記記憶手段に記憶された該一相の検出値とが一致したことにより行うことを特徴とする、請求項1から3のいずれか1項に記載の検出電流値補正装置。
When the current of the three-phase motor is 0 [A], further comprising storage means for storing the detected value of the current detector for each of the three-phase phases,
The determination at the time of zero crossing of the current of one phase of the three phases is performed by determining the detected value of the current detector provided in one phase of the three phases and the one phase stored in the storage means. The detection current value correction device according to claim 1, wherein the detection current value correction device is performed when the detection value matches.
三相の各相の電流を検出する電流検出器を有した三相電動機の検出電流値補正方法であって、
前記三相電動機の動作時に、前記三相のうちのある一相の電流のゼロクロス時における他の二相に設けられた前記電流検出器の検出値の相関関係に基いて相対的補正を行うことを特徴とする、検出電流値補正方法。
A detection current value correction method for a three-phase motor having a current detector for detecting a current of each phase of the three phases,
Relative correction is performed based on the correlation between the detection values of the current detectors provided in the other two phases at the time of zero crossing of the current of one phase of the three phases during operation of the three-phase motor. A method for correcting a detected current value.
三相の各相の電流を検出する電流検出器を有した三相電動機の電流値補正を行う電動パワーステアリング制御装置であって、
前記三相電動機の動作時に、前記三相のうちのある一相の電流のゼロクロス時における他の二相に設けられた前記電流検出器の検出値の相関関係に基いて、前記他の二相の電流値の相対的補正を行う電流値補正手段を備えることを特徴とする電動パワーステアリング制御装置。
An electric power steering control device for correcting a current value of a three-phase motor having a current detector for detecting a current of each phase of three phases,
During the operation of the three-phase motor, based on the correlation of the detected values of the current detectors provided in the other two phases at the time of zero crossing of the current of one phase of the three phases, the other two phases An electric power steering control device comprising: current value correcting means for performing relative correction of the current value of the current.
三相の各相の電流を検出する電流検出器を有した三相電動機の制御装置であって、前記三相電動機の動作時に、三相のうちのある一相を基準相とし、
他の二相のうち、一相の電流値のゼロクロス時に、その他の一相の電流値を検出する電流値検出手段と、
前記その他の一相の電流の検出値を前記基準相の電流の検出値と等しくなるよう補正する検出電流値補正手段と、
を備えたことを特徴とする三相電動機の制御装置。
A control device for a three-phase motor having a current detector for detecting a current of each phase of the three phases, and when the three-phase motor operates, one phase of the three phases is set as a reference phase,
Current value detection means for detecting the current value of the other one phase at the time of zero crossing of the current value of one phase among the other two phases,
Detection current value correcting means for correcting the detected value of the other one-phase current to be equal to the detected value of the current of the reference phase;
A control device for a three-phase motor, comprising:
三相の各相の電流を検出する電流検出器を有した三相電動機の検出電流値補正方法であって、
前記三相電動機の動作時に、三相のうちのある一相を基準相とし、
他の二相のうち一相の電流値のゼロクロス時に、その他の一相の電流値を検出し、
前記その他の一相の電流の検出値を前記基準相の電流の検出値と等しくなるように補正する、
検出電流値補正方法。
A detection current value correction method for a three-phase motor having a current detector for detecting a current of each phase of the three phases,
During operation of the three-phase motor, one phase of the three phases is a reference phase,
At the time of zero crossing of the current value of one of the other two phases, the current value of the other one phase is detected,
Correcting the detected value of the other one-phase current to be equal to the detected value of the current of the reference phase,
Detection current value correction method.
JP2005179300A 2004-06-21 2005-06-20 Apparatus and method of correcting detected current value of three-phase motor Pending JP2006042590A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005179300A JP2006042590A (en) 2004-06-21 2005-06-20 Apparatus and method of correcting detected current value of three-phase motor

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2004182943 2004-06-21
JP2005179300A JP2006042590A (en) 2004-06-21 2005-06-20 Apparatus and method of correcting detected current value of three-phase motor

Publications (1)

Publication Number Publication Date
JP2006042590A true JP2006042590A (en) 2006-02-09

Family

ID=35906950

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005179300A Pending JP2006042590A (en) 2004-06-21 2005-06-20 Apparatus and method of correcting detected current value of three-phase motor

Country Status (1)

Country Link
JP (1) JP2006042590A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101288196B1 (en) * 2011-09-09 2013-07-19 삼성전기주식회사 Driving apparatus and method of motor with initial compensation
KR101539862B1 (en) * 2013-11-13 2015-07-27 삼성전기주식회사 Apparatus and method for motor drive control, and motor system using the same
JP2019103349A (en) * 2017-12-07 2019-06-24 トヨタ自動車株式会社 Driving unit
CN113272666A (en) * 2018-12-27 2021-08-17 罗伯特·博世有限公司 Method for obtaining an enhanced error of a current measuring device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003319685A (en) * 2002-04-24 2003-11-07 Toyoda Mach Works Ltd Motor-driven power steering controlier and motor current operating method therefor
JP2004135407A (en) * 2002-10-09 2004-04-30 Mitsubishi Electric Corp Control device for ac motor

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003319685A (en) * 2002-04-24 2003-11-07 Toyoda Mach Works Ltd Motor-driven power steering controlier and motor current operating method therefor
JP2004135407A (en) * 2002-10-09 2004-04-30 Mitsubishi Electric Corp Control device for ac motor

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101288196B1 (en) * 2011-09-09 2013-07-19 삼성전기주식회사 Driving apparatus and method of motor with initial compensation
KR101539862B1 (en) * 2013-11-13 2015-07-27 삼성전기주식회사 Apparatus and method for motor drive control, and motor system using the same
JP2019103349A (en) * 2017-12-07 2019-06-24 トヨタ自動車株式会社 Driving unit
CN113272666A (en) * 2018-12-27 2021-08-17 罗伯特·博世有限公司 Method for obtaining an enhanced error of a current measuring device

Similar Documents

Publication Publication Date Title
JP5228578B2 (en) Motor control device and electric power steering device
JP5328592B2 (en) Motor drive device
JP5428325B2 (en) Motor control device and electric power steering device
JP5453714B2 (en) Motor control device and electric power steering device
JP6361450B2 (en) Induction motor control device
WO2002078168A1 (en) Method of detecting motor current and motor control device
US9331612B2 (en) Motor control apparatus
EP1635449B1 (en) Apparatus for correcting current value of three-phase electric motor and correcting method
JP2009247181A (en) Motor control device and electric power steering device
JP2006025499A (en) Motor controller
JP4760118B2 (en) Electric motor control device
JP2009171726A (en) Motor control unit and electric power steering system
JP6958234B2 (en) Current detector
JP7276188B2 (en) CONTROL DEVICE AND CONTROL METHOD FOR PERMANENT MAGNET MOTOR
JP2006042590A (en) Apparatus and method of correcting detected current value of three-phase motor
JP7361924B2 (en) Motor control device, motor control method
JP6967470B2 (en) Control device
US9397554B2 (en) Motor drive device having function of estimating dead time in output stage
JP5611181B2 (en) Motor control device
JP4375539B2 (en) Offset compensation circuit, motor control device, and offset compensation method
JP5434216B2 (en) Motor control device and electric power steering device
JP5412824B2 (en) Motor control device and electric power steering device
JP2010233423A (en) Motor control device and electric power steering device
JP5444697B2 (en) Motor control device and electric power steering device
WO2021166550A1 (en) Control device for motor and control method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20080331

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20101104

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20101109

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20110322