1. Field of the Invention
The present invention relates to a motor control apparatus.
2. Description of Related Art
Japanese Unexamined Patent Application Publication No. 2006-254572 proposes a method that determines V*qmax in equation (1) using a maximum voltage Vmax and a d-axis voltage command Vd*, and determines a difference between the V*qmax and a q-axis voltage command to perform proportional integral (PI) control and correct a d-axis current command:
V*qmax=√{square root over (Vmax2−Vd*2)} (1)
According to one aspect of the present invention, a motor control apparatus includes a current control unit, a power conversion circuit, a modulation factor command unit, a modulation wave command unit, a pulse width modulation generating unit, a modulation factor saturation level calculating unit, and a field-weakening control unit. The current control unit is configured to calculate dq-axis voltage commands in a dq coordinate system based on a motor magnetic pole position to match a d-axis current command and a q-axis current command obtained based on a torque command with a d-axis current and a q-axis current of a motor current, respectively. The power conversion circuit is configured to drive the motor based on the dq-axis voltage commands. The modulation factor command unit is configured to determine a modulation factor command based on the dq-axis voltage commands and a direct current bus voltage of the power conversion circuit. The modulation wave command unit is configured to determine modulation wave commands using the modulation factor command. The pulse width modulation generating unit is configured to generate a pulse width modulation pattern based on the modulation wave commands and a pulse width modulation carrier signal. The modulation factor saturation level calculating unit is configured to determine a modulation factor saturation level based on the modulation factor command and a limit value. The field-weakening control unit is configured to correct the d-axis current command based on the modulation factor saturation level.
A more complete appreciation of the invention and many of the attendant advantages thereof will be readily obtained as the same becomes better understood by reference to the following detailed description when considered in connection with the accompanying drawings, wherein:
Embodiments of the present invention will now be described with reference to the accompanying drawings, wherein like reference numerals designate corresponding or identical elements throughout the various drawings.
The motor control apparatus I includes a d-axis current command calculating unit 1, a q-axis current command calculating unit 2, and a current control unit 3. The d-axis current command calculating unit 1 inputs a given torque command T* to calculate a d-axis current command Id* based on motor characteristics. The q-axis current command calculating unit 2 inputs the torque command T* and a corrected d-axis current command Id*′ (described below) to calculate a q-axis current command Iq*. The current control unit 3 determines dq-axis voltage commands (Vd*, Vq*) such that the corrected d-axis current command Id*′ and the q-axis current command Iq* agree with detected dq-axis currents (Id, Iq), respectively.
The motor control apparatus I further includes a field-weakening control unit 4 that determines the amount of correction ΔId of the d-axis current command Id* from a modulation factor saturation level ΔM (described below), a modulation factor command unit 5, a modulation wave command unit 13, a PWM generating unit 6 that outputs a switching command to a power conversion circuit unit 7.
The motor control apparatus I further includes a switching element that performs switching in accordance with modulation wave commands (PWMU, PWMV, PWMW), the power conversion circuit unit 7 that converts a DC bus voltage VDC into an alternating voltage to supply power to a motor 8, the motor 8 that is a three-phase IPMSM, and a dq conversion unit 9 that determines the dq-axis currents (Id, Iq) using motor phase currents and a motor magnetic pole position θ of the motor 8.
The motor control apparatus I further includes a current detecting unit 10 that detects motor phase currents, a position detecting unit 11 that detects the motor magnetic pole position θ, and a speed detecting unit 12 that calculates a motor speed ω from the motor magnetic pole position θ.
The motor control apparatus I further includes a modulation factor saturation level calculating unit 14 (described below), and an adder 16 that adds the amount of correction ΔId of the d-axis current command Id* to the d-axis current command Id* to generate the corrected d-axis current command Id*′.
The motor control apparatus I performs motor control in a dq coordinate system where a magnetic flux direction of the motor 8 is a d axis. The current control unit 3 may be capable of performing voltage feedforward compensation that uses information such as the motor speed ω and the dq-axis currents (Id, Iq) to mainly determine interference terms and counter-electromotive voltages of the dq axes, and adds the determined interference terms and counter-electromotive voltages to the output of the current control unit 3 to determine the dq axis voltage commands (Vd*, Vq*).
Next, a method for determining the modulation wave commands (PWMU, PWMV, PWMW) and the modulation factor saturation level ΔM will be described with reference to
The modulation factor command unit 5 includes a V1 calculator 43, an MI calculator 44, a θV calculator 45, an adder 46, and a three-phase conversion unit 42. The modulation factor command unit 5 determines a modulation factor command MI from the dq-axis voltage commands (Vd*, Vq*), the motor magnetic pole position θ, and the DC bus voltage VDC of the power conversion circuit unit 7, the DC bus voltage VDC being detected by a voltage detector (not shown). The modulation factor command unit 5 uses the modulation factor command MI to determine three-phase modulation factor commands (MU, MV, MW).
The V1 calculator 43 determines a magnitude V1 of the dq-axis voltage commands (Vd*, Vq*). The MI calculator 44 determines the modulation factor command MI from the magnitude V1 and the DC bus voltage VDC. When the dq-axis voltage commands (Vd*, Vq*) are effective values, the calculations performed by the V1 calculator 43 and the MI calculator 44 can be expressed by equations (2):
where a modulation factor in the case when an output can be obtained without distortion by a sine wave modulation command (i.e., when the maximum value of a sine wave agrees with the maximum value of the DC bus voltage VDC) is defined as one.
The θV calculator 45 determines a voltage phase θV of the dq-axis voltage commands (Vd*, Vq*). The adder 46 adds the motor magnetic pole position θ to the voltage phase θV to determine an output phase θO. The three-phase conversion unit 42 uses the modulation factor command MI obtained by equations (2) to determine the three-phase modulation factor commands (MU, MV, MW). These calculations are performed, for example, by solving equations (3):
equations (3), a cos 3θO term is a third-order harmonic term. By adding the third-order harmonic term, it is possible to make the best use of the DC bus voltage VDC. A method of how the third-order harmonic is to be superimposed on what type of waveform, and a method of conversion into three phases are not limited to those described above.
Examples of methods of conversion into the three-phase modulation factor commands (MU, MV, MW) include a triangular wave comparison PWM method and a space vector method. In the triangular wave comparison PWM method, it is advantageous to use equations (3) in calculations. However, the equations are not limited to equations (3).
As is known, since the amplitude of a PWM pulse depends on the DC bus voltage VDC, a voltage that can be generated by the motor control apparatus I is also changed by the DC bus voltage VDC. The motor control apparatus I may perform calculations on the basis of a specified voltage. In this case, due to voltage fluctuations etc., an input source voltage of the motor control apparatus I does not agree with an output voltage command in practice. Then, the responsivity of current control becomes different from that expected. As a result, with speed sensorless control in which a motor state estimator using an output voltage command is used, it becomes difficult to estimate a motor speed with accuracy. Therefore, for calculations based on a specified voltage, the modulation factor command MI may be determined from the DC bus voltage VDC, for example, by equations (4):
where Vd%* and Vq%* denote dq-axis voltage commands of a specified voltage reference, and Vrate denotes a specified voltage.
The modulation factor command MI and the three-phase modulation factor commands (MU, MV, MW) are thus determined.
The modulation wave command unit 13 limits the three-phase modulation factor commands (MU, MV, MW) to values between a maximum value and a minimum value of a PWM carrier signal, so as to determine the modulation wave commands (PWMU, PWMV, PWMW).
Thus, the modulation wave commands (PWMU, PWMV, PWMW), which can be actually output, are output to the PWM generating unit 6.
The modulation factor saturation level calculating unit 14 includes a vector synthesizing unit 21 and a subtracter 22. The modulation factor saturation level calculating unit 14 inputs the three-phase modulation factor commands (MU, MV, MW) and modulation wave limit values used in the modulation wave command unit 13, that is, the maximum and minimum values of carrier signals to calculate the modulation factor saturation level ΔM. Then, the modulation factor saturation level calculating unit 14 outputs the modulation factor saturation level ΔM to the field-weakening control unit 4.
For each of three phases (U, V, W), there are two limit values, a maximum value and a minimum value. The subtracter 22 compares the two limit values with each of the three-phase modulation factor commands (MU, MV, MW), and uses the nearer of the two limit values to determine each of difference values (ΔMU, ΔMV, ΔMW).
The vector synthesizing unit 21 uses, for example, equations (5), which involve a three-phase to two-phase transformation and a square and square root calculation, to vector-synthesize the difference values (ΔMU, ΔMV, ΔMW) and determine the modulation factor saturation level ΔM:
The modulation factor saturation level ΔM is thus calculated.
Next, the field-weakening control unit 4 will be described with reference to
The field-weakening control unit 4 includes a PI control unit 31, a divider 32, a filter 33, a limiter 34, and a sign inverter 35. The field-weakening control unit 4 inputs the modulation factor saturation level ΔM and the motor speed ω to determine the amount of d-axis current correction ΔId.
The filter 33 is for eliminating, when a modulation factor increases, high-frequency components contained in a modulation wave in an overmodulation region (where a modulation factor to be output is 2/√3 or more) or in six steps (where a modulation factor to be output is about 4/π. For example, a first-order lag filter is used as the filter 33.
The divider 32 divides, by the motor speed ω, the modulation factor saturation level ΔM passed through the filter 33. The PI control unit 31 performs a PI control calculation such that the output of the divider 32 becomes zero. The sign inverter 35 inverts a sign of the output of the PI control unit 31 to determine the amount of d-axis current correction ΔId. The PI control unit 31 may perform only one of integral (I) control and proportional (P) control.
To enable correction only in the direction in which the field is weakened, the limiter 34 limits the positive side of the amount of d-axis current correction ΔId to zero.
Thus, the field-weakening control unit 4, except the filter 33 and the limiter 34, performs the calculation of equation (6):
where Kp denotes a proportional gain, Ki denotes an integration gain, and S denotes a Laplace operator S.
Next, a method for adjusting the proportional gain Kp and the integration gain Ki in equation (6) will be briefly described.
Since the field-weakening control is for adjusting the motor current so as to control the output voltage, the response characteristics of the field-weakening control can be determined from a relationship between the motor voltage and the motor current. Therefore, in a PI control calculation where the modulation factor saturation level ΔM is an input value, the response may be changed by fluctuations in the DC bus voltage VDC. To eliminate the effect of the fluctuations, each gain may be corrected using the DC bus voltage VDC, as shown in equations (7), such that the specified voltage Vrate becomes a reference value:
Thus, since a modulation factor can be converted to be expressed in voltage, it is possible to achieve response characteristics that are not affected by fluctuations in the DC bus voltage VDC.
The motor control apparatus I according to the first embodiment of the present invention is configured as described above. The motor control apparatus I properly performs field-weakening control while outputting consistently at the maximum modulation factor. This can make the field-weakening current smaller than before and thus can make it possible to improve efficiency.
The modulation factor command unit 5A performs calculations similar to those performed by the modulation factor command unit 5 of
The modulation wave command unit 13A includes a modulation factor limiting unit 41 and the three-phase conversion unit 42. The modulation factor limiting unit 41 limits the modulation factor command MI to a predetermined modulation factor limit value Mlimit to determine a modulation factor command M′I. The modulation factor limit value Mlimit is a value determined on the basis of an allowable range of output harmonics in an application to which the motor control apparatus I is applied. The modulation factor limiting unit 41 outputs the modulation factor command M′I and the modulation factor limit value Mlimit to the three-phase conversion unit 42 and the modulation factor saturation level calculating unit 14A, respectively.
The three-phase conversion unit 42 uses the modulation factor command M′I and the output phase θO to determine the three-phase modulation factor commands (MU, MV, MW), for example, in equations (8):
As necessary, the three-phase conversion unit 42 limits each of the three-phase modulation factor commands (MU, MV, MW) with the maximum and minimum values of a carrier signal to determine the modulation wave commands (PWMU, PWMV, PWMW).
As described in the first embodiment, there are various other methods for determining a modulation wave. The second embodiment is the same as the first embodiment in that any of the other methods may be used.
The modulation factor saturation level calculating unit 14A is configured as a subtracter that subtracts the modulation factor limit value Mlimit from the modulation factor command MI to determine the modulation factor saturation level ΔM.
The modulation factor saturation level ΔM is thus calculated.
As described above, the calculation of the modulation factor saturation level ΔM is simplified. Additionally, unlike in the case where a modulation factor is limited in each phase, there is no change in limit value depending on the output phase θO. Therefore, it is possible to reduce distortion components contained in the amount of modulation factor saturation in an overmodulation region where the modulation factor exceeds 2/√3.
The modulation factor command unit 5B performs calculations similar to those performed by the modulation factor command unit 5A of
The modulation wave command unit 13B includes the modulation factor limiting unit 41, a three-phase conversion unit 42B, and a dq modulation factor command unit 51. The modulation factor limiting unit 41 performs the same process as that performed by the modulation factor limiting unit 41 of
In equations (9), the calculation of V1 can be simplified by using a value obtained by the modulation factor command unit 5B to determine the modulation factor command MI.
The three-phase conversion unit 42B uses, for example, equation (10) to convert the dq-axis modulation factor commands (Md, Mg) into the three-phase modulation factor commands (MU, MV, MW):
As necessary, the three-phase conversion unit 42B limits each of the three-phase modulation factor commands (MU, MV, MW) with the maximum and minimum values of a carrier signal to determine the modulation wave commands (PWMU, PWMV, PWMW).
The same result can be obtained when the modulation factor command MW is expressed as −MU−MV (MW=−MU−MV). However, since this results in a sine wave output, an output voltage is distorted when a modulation factor exceeds one. Examples of proposed methods for correcting this problem include a method in which correction is performed such that a space vector output is obtained, and a method in which the same value is added to each phase such that the maximum value or the minimum value of the three phases does not exceed the limit value of the output of each phase. Using such methods makes it possible to obtain an output without distortion until the modulation factor reaches 2/√3.
The modulation factor saturation level calculating unit 14A performs the same process as that performed by the modulation factor saturation level calculating unit 14A of
The modulation factor saturation level ΔM is thus calculated.
Since the same process as that of the second embodiment can be done without performing a tan−1 calculation, it is possible to reduce calculation time.
In
The relationship between the modulation factor command M′I and the actual modulation factor MO can be generalized as expressed in equation (11):
MO=G(M′I) (11)
Here, an inverse function G−1( ) of the G( )function in equation (11) is defined. Then, as shown in equation (12), the modulation factor command M′I is used as an input to determine a corrected modulation factor command M″I. Thus, the modulation factor command M′I can agree with the actual modulation factor MO:
M″I=G−1(M′I) (12)
The calculation can be simplified by expressing the inverse function G−1( ) as a table.
Referring back to
In three-phase conversion equations on which the overmodulation correcting unit 61 is based, that is, in equations obtained by replacing M′I in equations (8) with M″I, the three-phase conversion unit 42 determines the three-phase modulation factor commands (MU, MV, MW). As necessary, the three-phase conversion unit 42 limits each of the three-phase modulation factor commands (MU, MV, MW) with the maximum and minimum values of a carrier signal to determine the modulation wave commands (PWMU, PWMV, PWMW).
Thus, the modulation factor command M′I can agree with the actual modulation factor MO.
Alternatively, an offset may be added to each of the three-phase modulation factor commands. In this method, which is not shown, an offset value Mofs is defined, for example, using a function G2( ):
Mofs=G2(M′I) (13)
As in equations (14), the three-phase conversion unit 42 adds the offset value Mofs to each of the three-phase modulation factor commands (MU, MV, MW) obtained in equations (8) to determine corrected three-phase modulation factor commands (MU′, MV′, MW′):
M′U=MU+sign(MU)·Mofs
M′V=MV+sign(MV)·Mofs
M′W=MW+sign(MW)·Mofs (14)
As necessary, the three-phase conversion unit 42 limits each of the three-phase modulation factor commands (MU′, MV′, MW′) with the maximum and minimum values of a carrier signal to determine the modulation wave commands (PWMU, PWMV, PWMW). The calculations may be simplified by expressing the function G2( ) as a table.
Thus, field-weakening control can be properly performed without degrading the response of the field-weakening control unit 4.
The motor control apparatus J is obtained by adding a q-axis current command limiting unit 81 to the motor control apparatus I of
Generally, a motor control apparatus sets a current limit to prevent circuit breakage etc. caused by heat generated, for example, by a power conversion circuit element included in the apparatus. In a motor control apparatus that performs field-weakening control, since an output voltage is determined by a d-axis current, it is important to limit a q-axis current on the basis of the d-axis current.
By using the current limit value Imax and the corrected d-axis current command Id*′ to determine a q-axis current limit value Iqlimit, for example, in equation (15), and limiting the q-axis current command Iq*, a composite current of dq-axis currents can be limited to the current limit value Imax:
Iqlimit=√{square root over (Imax2−Id*2)} (15)
This limits the generated torque, but makes it possible to reliably prevent circuit breakage etc. caused by overcurrent.
In step ST1, a given torque command T* is input to calculate a d-axis current command Id* based on motor characteristics.
In step ST2, the d-axis current command Id* is corrected on the basis of a modulation factor saturation level ΔM (described below) to obtain a d-axis current command Id*′.
In step ST3, a q-axis current command Iq* is calculated on the basis of the torque command T* and the d-axis current command Id*′.
In step ST4, a motor current is detected to calculate dq-axis currents (Id, Iq).
In step ST5, dq-axis voltage commands (Vd*, Vq*) are calculated such that the dq-axis currents (Id, Iq) agree with dq-axis current commands (Id*′, Iq*).
In step ST6, three-phase modulation factor commands (MU, MV, MW) are calculated on the basis of the dq-axis voltage commands (Vd*, Vq*) and a DC bus voltage VDC of a power conversion circuit.
In step ST7, the three-phase modulation factor commands (MU, MV, MW) are limited to predetermined limit values to calculate modulation wave commands (PWMU, PWMV, PWMW).
In step ST8, a modulation factor saturation level ΔM is calculated from difference values between the three-phase modulation factor commands (MU, MV, MW) and their corresponding limit values.
In step ST9, a PWM pattern is generated on the basis of the modulation wave commands (PWMU, PWMV, PWMW).
In step ST10, a motor is driven through a power conversion circuit on the basis of the PWM pattern.
Specific details of each step will not be described here, as they have been described in the first to fifth embodiments above. The sixth embodiment is performed as described above, but the order of processing is not limited to that described above.
Although the present specification describes an IPMSM as an example, an SPMSM differs from the IPMSM only in terms of a relationship between a torque and a current command. Therefore, by applying the embodiments of the present invention to the SPMSM, it is possible to reduce current by performing field-weakening control at the time of output voltage saturation and provide higher-efficiency operation, as compared to before.
Additionally, when, as a flux control method for controlling an induction motor that performs vector control, the present method described above is used to control a field current, it is possible to improve the voltage utilization rate and produce higher torque than before.
Obviously, numerous modifications and variations of the present invention are possible in light of the above teachings. It is therefore to be understood that within the scope of the appended claims, the invention may be practiced otherwise than as specifically described herein.
Number | Date | Country | Kind |
---|---|---|---|
2007-296988 | Nov 2007 | JP | national |
The present application is a continuation application of International Application No. PCT/JP2008/070169, filed Nov. 6, 2008, which claims priority to Japanese Patent Application No. 2007-296988, filed Nov. 15, 2007. The contents of these applications are incorporated herein by reference in their entirety.
Number | Name | Date | Kind |
---|---|---|---|
20050075766 | Kobayashi et al. | Apr 2005 | A1 |
20070170885 | Morimoto et al. | Jul 2007 | A1 |
20070216342 | Tobari et al. | Sep 2007 | A1 |
20070241715 | Fujiwara et al. | Oct 2007 | A1 |
20080030163 | Fukuchi et al. | Feb 2008 | A1 |
Number | Date | Country |
---|---|---|
2003-209996 | Jul 2003 | JP |
2004-215320 | Jul 2004 | JP |
WO 2005-088822 | Sep 2005 | JP |
2006-254572 | Sep 2006 | JP |
2007-228744 | Sep 2007 | JP |
2007-252052 | Sep 2007 | JP |
2007-274844 | Oct 2007 | JP |
Number | Date | Country | |
---|---|---|---|
20100219780 A1 | Sep 2010 | US |
Number | Date | Country | |
---|---|---|---|
Parent | PCT/JP2008/070169 | Nov 2008 | US |
Child | 12779900 | US |