ELECTRIC MOTOR TEMPERATURE COMPENSATION

Abstract
A vehicle includes one or more inverter-fed electric machines such as permanent magnet synchronous motors. In response to a torque request, a controller issues commands to an inverter calculated to cause the motor to produce the requested torque at the current temperature. A method adjusts the direct component of the winding current such that the requested torque is delivered efficiently. For a given rotor speed, bus voltage, and torque, the direct component increases as the temperature increases.
Description
TECHNICAL FIELD

This disclosure relates to control of electric motors.


BACKGROUND

Permanent magnet synchronous motors (PMSMs) are utilized in various applications because they have generally favorable efficiency characteristics relative to other types of motors. Typically, PMSMs have three separate electrical windings within the stator which are each powered by alternating current (AC) voltages Va, Vb, and Vc. In operation, the winding currents Ia, Ib, and Ic each oscillate at a frequency proportional to the rotor speed and are separated by 120 degrees in phase from one another. These winding currents induce a rotating magnetic field which may be out of phase with the rotor. The resulting shaft torque depends upon both the magnitude of the magnetic field and the phase angle relative to the rotor. The magnetic properties of the permanent magnets are impacted by temperature which impacts the resulting torque. Accurate torque delivery requires compensation for the effects of temperature.


For convenience, the winding voltages and currents may be represented by vectors with respect to a rotating reference frame that rotates with the rotor. The mapping between rotor position and the rotating reference frame depends upon the number of poles in the motor. The voltage vector has a direct component Vd and a quadrature component Vq. Similarly, the current has a direct component Id and a quadrature component Iq. Vd, Vq, Id, and Iq do not oscillate based on rotor position.


In certain applications, such as electric vehicles and hybrid electric vehicles, electrical power is available from a non-oscillating direct current (DC) voltage source such as a battery. Therefore, inverters are utilized to convert the non-oscillating voltage Vdc into three oscillating voltages. Inverters contain a discrete number of switching devices and are therefore capable of supplying only a discrete number of voltage levels at each of the three motor terminals. For a 2-level inverter, at any moment in time, the switching devices are set to electrically connect each of the three AC motor terminals to either the positive or the negative DC terminal. Thus, eight switching states are available. Two of these switching states, in which all three AC terminals are connected to the same DC terminal, are called zero states. In the remaining six states, one AC terminal is connected to one of the DC terminals and the other two AC terminals are connected to the opposite DC terminal. The inverter is capable of switching rapidly among these eight states.


SUMMARY OF THE DISCLOSURE

In one embodiment, a method of compensating for temperature is disclosed. In response to a torque request, the method adjusts the torque request based on temperature. The direct and quadrature components of the winding current are calculated based on this adjusted torque request. The calculated direct component is further adjusted based on the temperature. Finally, commands are issued to an inverter to effectuate the target winding current. In some embodiments, the calculated direct component is not adjusted when the torque request is less than a threshold. The threshold may be based on rotor speed and bus voltage.


In another embodiment, a vehicle includes a bus, an electric machine such as a permanent magnet synchronous motor, an inverter, and a controller. The inverter is configured to supply the electric machine a winding current having a direct component (Id) and a quadrature component (Iq). The controller is configured to issue pulse width modulation commands to the inverter to adjust the winding current such that for a given speed, torque, and voltage, the direct component increases as the temperature increases. The direct component may be less than zero at the given speed, torque, and voltage.


In another embodiment, a controller includes an input interface, an output interface, and control logic. The input interface receives signals indicating a voltage of an electrical bus and a temperature and a rotor speed of an electric machine. The output interface is configured to send pulse width modulation commands to an inverter causing the inverter to supply the electric machine with a winding current such that the electric machine produces torque. The control logic is programmed to adjust the pulse width modulation commands such that for a given rotor speed, bus voltage, and torque, the direct component increases as temperature increases. The direct component may be less than zero at the given speed, torque, and voltage.





BRIEF DESCRIPTION OF THE DRAWINGS


FIG. 1 is a schematic diagram of an exemplary hybrid electric powertrain;



FIG. 2 is a controller schematic in an exemplary hybrid electric powertrain;



FIG. 3 is a graph of general characteristics of permanent magnet synchronous motors at a reference temperature in terms of the direct and quadrature components of the winding current;



FIG. 4 is a graph of general characteristics of permanent magnet synchronous motors in terms of the direct and quadrature components of the winding current as temperature changes; and



FIG. 5 is a flow chart for the control method for permanent magnet synchronous motors.





DETAILED DESCRIPTION

Embodiments of the present disclosure are described herein. It is to be understood, however, that the disclosed embodiments are merely examples and other embodiments can take various and alternative forms. The figures are not necessarily to scale; some features could be exaggerated or minimized to show details of particular components. Therefore, specific structural and functional details disclosed herein are not to be interpreted as limiting, but merely as a representative basis for teaching one skilled in the art to variously employ the present invention. As those of ordinary skill in the art will understand, various features illustrated and described with reference to any one of the figures can be combined with features illustrated in one or more other figures to produce embodiments that are not explicitly illustrated or described. The combinations of features illustrated provide representative embodiments for typical applications. Various combinations and modifications of the features consistent with the teachings of this disclosure, however, could be desired for particular applications or implementations.


A schematic diagram of an exemplary hybrid electric powertrain is illustrated in FIG. 1. However, the claimed invention is not limited to this powertrain topology. Internal combustion engine 110 drives carrier 112 of planetary gear set 114. The engine torque is divided by gear set 114 between sun gear 116 and ring gear 118. The ring gear torque is transmitted mechanically to output shaft 120. The sun gear torque is absorbed by generator 122. Motor 124 is driveably connected to output shaft 120. Throughout this description, the terms generator and motor are used merely as labels to identify these components. Both generator 122 and motor 124 are reversible electrical machines capable of both converting mechanical shaft power into electrical power and converting electrical power into mechanical shaft power. Control methods are described with respect to the motor but are equally applicable to the generator. The driveshaft is driveably connected to a differential 126 which divides the power between left and right wheels 128 while allowing slight differences in wheel speeds. Electrical power connections are illustrated by dashed lines with long dashes. Generator 122 and motor 124 are electrically powered by inverters 130 and 132 respectively via three phase power circuits. Inverters 130 and 132 draw power from or supply power to DC electrical bus 134. Electrical power is stored in battery 136. DC to DC Converter 138 converts the voltage level of battery 136 to the voltage level of DC bus 134. The DC bus voltage may be either higher or lower than the battery voltage. Control signal connections are illustrated by dashed lines with short dashes. Controller 140 issues control signals to DC to DC converter 138 specifying the desired voltage for the DC electrical bus 134. Controller 140 also issues control commands to engine 110 and inverters 130 and 132 to regulate the torque generated by the engine, generator 122, and motor 124 respectively. If the torque actually delivered by motor 124 differs significantly from the requested torque, then vehicle acceleration will not match the driver's expectation. If the torque actually delivered by generator 122 differs significantly from the requested torque, then engine speed will depart from expected behavior.


Controller 140 is illustrated schematically in more detail in FIG. 2. Vehicle system controller 210 receives signals indicating vehicle speed, the position of the accelerator pedal and brake pedal, and various other vehicle data. Based on this data, the vehicle system controller determines a target DC bus voltage and a target output shaft torque and issues torque requests Treqeng to engine controller 212, Treqgen to generator controller 214, and Treqmot to motor controller 216.


The output of generator controller 214 and motor controller 216 are switch states for switches within inverters 130 and 132 respectively. These controllers receive input signals indicating the angular position of the corresponding rotor, labeled ΘR, the voltage of DC bus 134, labeled Vdc, the current in each winding, labeled Ia, Ib, and Ic, and a temperature of the electric machine. Variable Voltage Controller 218 issues commands to DC to DC converter 138 to effectuate the target bus voltage. Controllers 210, 212, 214, 216, and 218 may be implemented as a single micro-controller or as multiple communicating controllers.



FIG. 3 illustrates typical characteristics of an inverter-fed PMSM at a particular reference temperature with respect to the winding current in the rotor reference frame. In this Figure, the direct component Id is represented by the horizontal axis and the quadrature component Iq is represented by the vertical axis. Curve 310 represents different combinations of Id and Iq that would produce a particular output torque. Curves 312, 314, and 316 represent the combinations for progressively higher output torques. Although every point along each of these curves produces the same output torque, some combinations will be associated with higher losses than others. Line 318 represents the most efficient operating point for each level of torque. However, it is not always possible to operate at this condition. Point 320 represents the current that would be induced in the windings by the permanent magnets in the rotor as the rotor spins at a particular speed if the three motor terminals were directly connected to one another as would happen with the inverter in a zero state. This may be called the short circuit current. The voltage applied by the inverter alters the winding current from this condition. Curve 322 represents the boundary of the conditions that are achievable by the inverter at a particular rotor speed and bus voltage level. At higher bus voltages or lower rotor speeds, the boundary expands as shown by curve 324.


Two basic control methods are known for switching among inverter states to regulate torque output of a PMSM. In the six-step method, the inverter cycles through the six non-zero states once per cycle of the rotor, producing an oscillating voltage and current in each winding. A rotor cycle is defined relative to motor poles and does not necessarily correspond to a complete revolution. The amplitude of the AC voltage is dictated by the DC voltage. The torque is dictated by the DC voltage, the rotor speed, and the phase difference between these quasi-sinusoidal AC voltage signals and the rotor position. A controller issues commands to the inverter indicating when to switch to the next state in the sequence. In six-step mode, the components of the winding current, Id, and Iq, are located on a curve such as curve 122 or 124 in FIG. 1. The curve is determined by the bus voltage


Vdc and the rotor speed ω. The position along the curve is determined by the voltage angle, Θv. The controller adjusts Θv by adjusting the timing at which it switches the inverter to the next non-zero inverter states. The target voltage angle Θ*v is a non-linear function of the torque request, rotor speed, and bus voltage.


In the PWM method, the inverter switches very rapidly among two of the non-zero states and one of the zero states. A controller specifies what fraction of the time should be spent in each of these three states by specifying pulse width modulation (PWM) duty cycles. The controller updates these duty cycles at regular intervals such that the frequency of updates is significantly higher than the frequency of the rotor rotation. In PWM mode, the components of the winding current, Id, and Iq, are located in a region bounded by a curve such as curve 122 or 124 in FIG. 2. As with the six-step method, the curve is determined by the bus voltage Vdc and the rotor speed ω, although the curve may be slightly inside the six-step curve for a particular Vdc and ω. The controller adjusts Id and Iq by adjusting Vd and Vq using closed loop control. The controller then translates Vd and Vq into PWM duty cycle commands to the inverter based on the rotor position ΘR.


The target components of the winding current, I*d, and I*q, are non-linear functions of the torque request, rotor speed, and bus voltage. At low torque requests, low speeds, and high bus voltages, I*d and I*q are selected along the line 118 in FIG. 1 to yield the most efficient operation. However, at high torque requests, high speeds, and low bus voltages, operation along line 118 is not possible. The most efficient achievable operating point is located along a curve, such as 122, which represents the boundary of the operating region at the current rotor speed and bus voltage. This area of operation is called the field weakening region.



FIG. 4 illustrates the impact of temperature. At an elevated temperature above the reference temperature, the permanent magnets become weaker. At the reference temperature, line 310 represents the various combinations of Id and Iq that generate a particular torque. At the higher temperature, this curve shifts to dotted line 410. Because the permanent magnets are weaker, the winding current must be higher to generate the same torque. Also, the short circuit current becomes less negative. Point 320 represents the short circuit current at the reference temperature while point 420 represents the short circuit current at the elevated temperature. Consequently, the operating region achievable at a given rotor speed and bus voltage also shift as indicated by curve 322 and dotted curve 422. At the reference temperature, the controller would respond to a request for the torque associated with curve 310 by selecting I*d and I*q for point 430. At the elevated temperature, one approach would be to add a value AT to the requested torque to compensate for the shift in the lines of constant torque. With this approach, the controller would select I*d and I*q for point 432. Although this would result in the desired torque, it would not select the most efficient operating point. Point 434, which also generates the desired torque at the elevated temperature, is closer to the maximum efficiency line 318 so it generates the torque more efficiently. If the simple approach of adjusting the requested torque is used to compensate for a decreased temperature, the resulting operating point would move outside the achievable region due to the leftward shift of this region. Consequently, the I*d and I*q table must be calibrated at the minimum operating temperature and the efficiency suffers at higher temperatures.



FIG. 5 illustrates a temperature compensation method that compensates for both the shift in the lines of constant torque and the shift in the achievable operating region. At 510, the controller computes an estimated magnetic flux, λmest, by scaling a known magnetic flux at 20 degrees Celsius based on a measured temperature. KTmag is a calibratable constant. At 512, the controller calculates a change in magnetic flux, ΔλmmLUT is the flux at the temperature at which the table is calibrated. need explanation from inventor about this>. Next, the controller calculates a parameter, TaperId that operates to limit the temperature adjustment when the motor is not operating on the boundary of the achievable region. When TaperId is equal to 1, the method fully compensates for the shift in the achievable region. However, when the motor is operating along line 318 far from the boundary of the achievable region, TaperId is set to 0. If the motor is operating in six-step mode, then TaperId is set to 1 at 516. If the motor is operating in PWM mode, then the modulation index is calculated at 518. At 520, TaperId is set to 0 if the modulation index is below a lower threshold, set to 1 if the modulation index is above an upper threshold, and set to an intermediate value if it is between these thresholds. At 522, the controller computes ΔId. If TaperId is equal to 1, then ΔId is the change in the winding current induced by the rotor. At 524, the controller looks up Ldiff, the inductance difference between the quadrature and direct axes, in a table. Next, the controller calculates a torque request adjustment, Tadj, using a formula at 526. Here, the measured value of Iq is used. P is the number of pole pairs in the motor. At 528, the torque adjustment is added to the requested torque. At 530, the controller looks up torque control parameters I*d, I*q, and Θ*v based on the adjusted torque command, the rotor speed ω, and the bus voltage Vdc. Finally, at 532, the controller adds ΔId to I*d. If I*d is negative, then increasing I*d makes I*d less negative and decreasing I*d makes I*d more negative.


If a controller compensates for increasing temperature without compensating for the shift in the achievable region, then I*d will be decreased to a more negative value. However, when the method of FIG. 5 is used, I*d may be increased to a less negative value.


While exemplary embodiments are described above, it is not intended that these embodiments describe all possible forms encompassed by the claims. The words used in the specification are words of description rather than limitation, and it is understood that various changes can be made without departing from the spirit and scope of the disclosure. As previously described, the features of various embodiments can be combined to form further embodiments of the invention that may not be explicitly described or illustrated. While various embodiments could have been described as providing advantages or being preferred over other embodiments or prior art implementations with respect to one or more desired characteristics, those of ordinary skill in the art recognize that one or more features or characteristics can be compromised to achieve desired overall system attributes, which depend on the specific application and implementation. These attributes can include, but are not limited to cost, strength, durability, life cycle cost, marketability, appearance, packaging, size, serviceability, weight, manufacturability, ease of assembly, etc. As such, embodiments described as less desirable than other embodiments or prior art implementations with respect to one or more characteristics are not outside the scope of the disclosure and can be desirable for particular applications.

Claims
  • 1. A vehicle comprising: a bus;an electric machine having a temperature;an inverter configured to supply the electric machine a winding current having a direct component (Id) and a quadrature component (Iq); anda controller configured to issue pulse width modulation commands to the inverter to adjust the winding current such that for a given speed and torque of the electric machine and voltage of the bus, the direct component increases as the temperature increases.
  • 2. The vehicle of claim 1 wherein the controller is further configured to operate the inverter in a six-step mode wherein the winding current is adjusted without pulse width modulation commands.
  • 3. The vehicle of claim 1 wherein the direct component of the winding current is less than zero at the given speed, torque, and voltage.
  • 4. The vehicle of claim 1 wherein the given speed is greater than zero.
  • 5. A controller comprising: an input interface configured to receive signals indicating a voltage of an electrical bus and a temperature and a rotor speed of an electric machine;an output interface configured to send pulse width modulation commands to an inverter such that the inverter supplies the electric machine with a winding current having a direct component (Id) and a quadrature component (Iq), the winding current causing the electric machine to produce a torque; andcontrol logic programmed to adjust the pulse width modulation commands such that for a given rotor speed, bus voltage, and torque, the direct component increases as the temperature increases.
  • 6. The controller of claim 5 wherein the direct component of the winding current is less than zero at the given rotor speed, bus voltage, and torque.
  • 7. The controller of claim 5 wherein the given rotor speed is greater than zero.
  • 8. A method of operating an electric machine having a temperature, the method comprising: receiving a torque request;adjusting the torque request based on the temperature;calculating a direct component (Id) and a quadrature component (Iq) of a target winding current based on the adjusted torque request;adjusting the calculated direct component based on the temperature; andissuing commands to an inverter to supply a winding current generally equal to the adjusted target winding current.
  • 9. The method of claim 8 wherein the calculated direct component of the winding current is not adjusted based on temperature when the torque request is less than a threshold.
  • 10. The method of claim 9 wherein the threshold is based on a rotor speed of the electric machine.
  • 11. The method of claim 10 wherein the threshold is also based on a bus voltage of the inverter.
  • 12. The method of claim 8 wherein the direct component and quadrature component are based on a rotor speed of the electric machine.
  • 13. The method of claim 12 wherein the direct component and quadrature component are also based on a bus voltage of the inverter.