A motor control method and a motor controller according to the present invention calculate a degree of saturation of a motor driving voltage (or a degree of tolerance of a driving voltage) controlled by a PWM to correct a motor current command limit value based on the degree of saturation of the driving voltage. Thus, the occurrence of an abnormal sound of a motor due to the saturation of a motor applied voltage is prevented and a phenomenon that the output of the motor is lowered by excessively limiting the command value is also prevented with respect to the change of parameters generated due to a production tolerance of the motor or a control unit (ECU) or the change of an environment.
The present invention adds a current command limit value correcting function with respect to the current command limit value signal calculation part 40 shown in
The setup of the present invention is shown in
The current command limit value correcting part of the present invention includes a maximum value obtaining calculation part 50 for obtaining a maximum value (an envelope) of duties Duty_a, Duty_b and Duty_c as driving voltages from a PWM control part, a holder part 51 for inputting a maximum value Duty-m obtained in the maximum value obtaining calculation part 50 and a mechanical angle cycle pulse signal MP from a rotation sensor to calculate and hold (input value−Duty 100%), an integrating holder part 52 for integrating a hold value Dduty-Max from the holder part 51 by an output update signal RN, and a multiplying part 53 for multiplying a correction signal CR from the integrating holder part 52 by a supply voltage Vrg.
To the holder part 51, the maximum value Duty_m is inputted from the maximum value obtaining calculation part 50 to calculate the hold value Dduty-Max (=an input value−duty of 100%), that is, Dduty-Max (=Duty_m−Duty 100%) at a timing that the mechanical angle cycle pulse signal MP is inputted. The hold value Dduty-Max calculated in the holder part 51 is inputted to the integrating holder part 52 together with the output update signal RN. The integrating holder part 52 carries out a calculation only when the output update signal RN becomes a pulse type signal. In other cases than the above-described case, the integrating holder part 52 does not carry out the calculation and only holds the calculated result of the last time. When the integrating holder part 52 carries out the calculation, the integrating holder part 52 adds the calculated result of the last time of the integrating holder part Dduty-hold(i) is added to the inputted hold value Dduty-Max to output an added result CR=(Dduty-hold(i)+Dduty-Max). The added result CR is inputted to the multiplying part 53 and multiplied by the supply voltage Vrg. A multiplied result is added to the supply voltage Vrg and subtracted from a base voltage VR
When set parameters of a system and environmental conditions are the same as designed values, a current command limit value calculation map and a corrected rotation speed calculation map calculate a current command limit value Iref
On the other hand, when the parameters of the system are different from the designed values, the current command value having the duty 100% cannot be generated in accordance with the above-described calculation. Thus, a part whose duty does not reach 100% (a degree of saturation or a degree of tolerance) is calculated to convert to a part corresponding to the change of the supply voltage and further calculate the current command limit value based on the corrected rotation speed calculation map. Since the saturated part of the duty corresponds to the change of the supply voltage, only the corrected rotation speed calculation map may be used. The calculated current command value Iref is such a value to have the duty of 100%. The reason will be described below.
When a terminal voltage of a d/q axis motor under a vector control is calculated in accordance with design conditions, Eq. (1) is given as described below.
where
ed and eq are d/q axis back electromotive voltages at motor rotation speed 1000 [rpm],
n is motor rotation speed,
ωe is motor angular velocity, and
θe is motor electric angle.
There is unevenness in resistance. When the resistance changes depending on temperature, as voltage equation, Eq. (2) is given as described below.
where δR is the change of the resistance of the motor and the control unit.
Assuming that the duty is set to 100% in Eq. (1), the degree of saturation (the degree of tolerance) of the duty to the Eq. (2) is recognize in accordance with below-described calculation due to the change of the resistance.
where δVd and δVq are the change values of the terminal voltage of the motor d/q axis.
The degree of saturation (the degree of tolerance) made to be clear by the above-described Eq. (3) is more specifically investigated. When a voltage variation δVun between a motor terminal and a neutral point is given by ⅔ phase converting equation, Eq. (4) is given as described below.
where δVun, δVvn and δVwn are respectively change values of voltage between terminals and neutral points of UVW phases.
Further, the variation of a voltage between a neutral point and a ground is represented by Eq. (5) as described below.
The variation of voltage δVug between the motor terminal and the ground indicates the sum of the variation of the voltage δVun between the motor terminal and the neutral point and the variation of the voltage δVng between the neutral point and the ground and is represented by Eq. (6) as described below.
When the duty is 100%, the motor terminal voltage is the same as the supply voltage Vrg. Thus, the variation of the motor terminal voltage is the same as the variation of the supply voltage Vrg. Then, the voltage variation δVr of the supply voltage Vrg is calculated by below-described Eq. (7).
δVr=δVug=δR(id cos θe+iq sin θe)+f(id,iq,ed,eq,θe)) (7)
Further, since the motor terminal voltage is proportional to the duty, the voltage variation δVr shows the degree of saturation of the duty. As can be understood from the Eq. (7), the degree of saturation of the duty generated due to the variation of resistance can be represented by the voltage variation δVr of voltage Vr.
Further, a corrected rotation speed calculation part to be used has a function for setting the duty to 100% with respect to the variation of the Vr voltage as shown in below-described Eq. (8).
When voltage variation δVun between the motor terminal and the neutral point is given by the ⅔ phase converting equation, below-described Eq. (9) is given by the above-described Eq. (4).
Further, the variation of voltage between the neutral point and the ground is represented by below-described Eq. (10)
The variation δVr of the Vr voltage is represented by below-described Eq. (11).
It is understood from the above-described Eq. (11) that the values of the corrected rotation speed map are not related to the resistance values. That is, the equation indicates that the change of internal resistance values due to the change of an environment is not related to the parameters of the corrected rotation speed map. Therefore, even when the resistance changes, the characteristics of the corrected rotation speed calculation map do not change (conclusion 1). Further, The variation δn of the motor rotation speed to be caused by the variation of the supply voltage Vrg is a function of the supply voltage Vrg. Thus, the variation δVr of the voltage can be absorbed by adjusting the variation δn of the motor rotation speed (conclusion 2). As described above, when only the resistance of the motor or the internal resistance of the control unit changes, the characteristics of the corrected rotation speed calculation map do not change according to the conclusion 1. Thus, the characteristics of the corrected rotation speed calculation map are treated in the same manner as that before the resistance changes. Further, the saturation (the tolerance) of the duty generated due to the change of the motor resistance and the internal resistance of the control unit is finally reflected in the variation δVr of the voltage as shown in the Eq. (7). Further, according to the conclusion 2, the saturation (the tolerance) of the duty can be removed by adjusting the variation δn of the motor rotation speed based on Eq. (11).
When the resistance changes, in calculation of a part that the duty is not 100% (the degree of saturation or the degree of tolerance), a maximum error between the duty applied to each phase and the duty 100% is taken so that the degree of saturation or the degree of tolerance can be understood. To take a stable value, the maximum error within one rotation of the motor may be employed.
The setup of
The limited state of the current command limit value in Table 1 shows whether the calculated value of the current command limit value is smaller (operation) or not (non-operation) smaller than the current command value outputted from a current command value calculation part. As apparent from the Table 1, in the states (a), (b) and (c) except the state (d), the current command limit values need to be corrected. When the states (a), (b) and (c) continue, the current command limit values are periodically corrected. The above-described current command limit value correcting operation is summarized as described below.
When the state shifts to the states (a) to (c) except the state (d), or a cyclic signal is inputted, a current command limit value correcting and update signal operation is carried out. In the case of a state transition (excluding the state (d)), an update signal operation is always carried out. At the same time, the cyclic signal is reset. On the other hand, when the state shifts to the state (d), in the case of the state (d), and before a signal of a second rotation of the motor comes after the state shifts to the states (a)-(c), the update signal operation is inhibited. The update signal operation is inhibited before the signal of the second rotation of the motor comes after the state shifts to the states (a), (b) and (c) in order to obtain a precise duty error.
Then, an operation of the present invention will be described by referring to a flowchart of
Since the motor control method and the motor controller of the present invention control the torque (current), the present invention can be applied to a motor control of the electric power steering device of the vehicle.
While there has been described in connection with the exemplary embodiments of the present invention, it will be obvious to those skilled in the art that various changes and modification may be made therein without departing from the present invention. It is aimed, therefore, to cover in the appended claim all such changes and modifications as fall within the true spirit and scope of the present invention.
Number | Date | Country | Kind |
---|---|---|---|
2006-253789 | Sep 2006 | JP | national |