REGENERATIVE CURRENT LIMITING OF SYNCHRONOUS MOTOR DRIVES
20210111661 · 2021-04-15
Inventors
Cpc classification
H02P6/08
ELECTRICITY
H02P29/40
ELECTRICITY
International classification
H02P29/40
ELECTRICITY
G01R19/00
PHYSICS
Abstract
Technical solutions are described for controlling operation of an inverter to manage voltage upon a direct current (DC) bus and regenerative power (current) provided to a battery. A control system and method are provided to control operation of an electric machine using a controller. More specifically, the controller is configured to calculate a current-based torque limit to satisfy a regenerative current limit, and a voltage-based torque limit to satisfy a voltage limit constraint of the DC bus. The controller is configured to calculate a torque limit to satisfy the regenerative current and voltage limits of the DC bus, and to command a plurality of switches within the inverter to generate a direct-axis current from the electric machine corresponding to a torque demand and according to the torque limit. The proposed system and method provide for motor current that exceed a demagnetizing current limit of the electric machine.
Claims
1. A control system for controlling operation of an electric machine, comprising: an inverter operable to rectify current from alternating current phase buses of the electric machine to a direct current bus with switches; and a controller operable to: calculate a voltage-based torque limit corresponding to a voltage limit constraint of the direct current bus; calculate a current-based torque limit corresponding to a regenerative current limit of the direct current bus; calculate a torque limit defined by the current-based torque limit when the current-based torque limit is less than the voltage-based torque limit; operate the switches to cause the electric machine to produce an output torque corresponding to a torque demand and according to the torque limit; and operate the switches to regulate a direct-axis current not to exceed a maximum d-axis current, the maximum d-axis current defined by one of a demagnetization current limit of the electric machine or a peak d-axis current that corresponds to a quadrature-axis current having a real solution.
2. The control system of claim 1, wherein the maximum d-axis current is defined by the peak d-axis current corresponding to the quadrature-axis current having a real solution.
3. The control system of claim 1, wherein the maximum d-axis current is defined by the demagnetization current limit of the electric machine.
4. The control system of claim 3, wherein the demagnetization current limit is equal to 4K.sub.e/(√3 L.sub.dN.sub.p), where K.sub.e is a back electromagnetic force constant, L.sub.d is a direct-axis inductance of the electric machine, and N.sub.p is a number of poles of the electric machine.
5. The control system of claim 1, wherein the controller is further operable to: calculate a torque command as a lesser one of the torque demand and the torque limit; and calculate a preliminary d-axis current and a preliminary q-axis current corresponding to the electric machine producing the torque command.
6. The control system of claim 5, wherein the controller is further operable to: calculate a modified d-axis current corresponding to the inverter satisfying the regenerative current limit of the direct current bus.
7. The control system of claim 6, wherein the controller is further operable to: calculate a voltage-limited direct-axis current of the electric machine corresponding to the voltage limit constraint of the direct current bus; set a prospective d-axis current equal to the voltage-limited direct-axis current; compute an estimated battery current generated by the inverter with the prospective d-axis current; and increase the prospective d-axis current until the prospective d-axis current corresponds to the estimated battery current satisfying the regenerative current limit.
8. The control system of claim 1, wherein the controller is further operable to: calculate a current-limited direct-axis current of the electric machine corresponding to the regenerative current limit of the direct current bus; calculate a final direct-axis current limit using the current-limited direct-axis current; and using the final direct-axis current limit to calculate the current-based torque limit corresponding to the regenerative current limit of the direct current bus.
9. The control system of claim 8, wherein the controller is further operable to: calculate a voltage-limited direct-axis current of the electric machine corresponding to the voltage limit constraint of the direct current bus; and wherein calculating the final direct-axis current limit using the current-limited direct-axis current further comprises using a largest one of the voltage-limited direct-axis current and the current-limited direct-axis current as the final direct-axis current limit.
10. The control system of claim 1, wherein the electric machine is configured to perform at least one of: applying an assist torque to a steering system of a vehicle, and controlling the steering system.
11. A method of controlling operation of an electric machine, comprising: calculating a voltage-based torque limit corresponding to a voltage limit constraint of a direct current bus; calculating a current-based torque limit corresponding to a regenerative current limit of the direct current bus; calculating a torque limit defined by the current-based torque limit when the current-based torque limit is less than the voltage-based torque limit; commanding a plurality of switches within an inverter to cause the electric machine to produce an output torque corresponding to a torque demand and according to the torque limit; and commanding the plurality of switches to regulate a direct-axis current not to exceed a maximum d-axis current, the maximum d-axis current defined by one of a demagnetization current limit of the electric machine or a peak d-axis current that corresponds to a quadrature-axis current having a real solution.
12. The method of claim 11, wherein the direct-axis current is defined by the demagnetization current limit of the electric machine.
13. The method of claim 11, further comprising: calculating a torque command as a lesser one of the torque demand and the torque limit; and calculating a preliminary d-axis current and a preliminary q-axis current corresponding to the electric machine producing the torque command.
14. The method of claim 13, further comprising: calculating a modified d-axis current corresponding to the inverter satisfying the regenerative current limit of the direct current bus.
15. The method of claim 14, wherein calculating the modified d-axis current corresponding to the inverter satisfying the regenerative current limit of the direct current bus further comprises: calculating a voltage-limited direct-axis current of the electric machine corresponding to the voltage limit constraint of the direct current bus; setting a prospective d-axis current based upon the voltage-limited direct-axis current; computing an estimated battery current generated by the inverter with the prospective d-axis current; and increasing the prospective d-axis current until the prospective d-axis current corresponds to the estimated battery current satisfying the regenerative current limit.
16. The method of claim 11, further comprising: calculating a current-limited direct-axis current of the electric machine corresponding to the regenerative current limit of the direct current bus; calculating a final direct-axis current limit using the current-limited direct-axis current; and wherein calculating the current-based torque limit corresponding to the regenerative current limit of the direct current bus includes using the final direct-axis current limit.
17. The method of claim 16, further comprising: calculating a voltage-limited direct-axis current of the electric machine corresponding to the voltage limit constraint of the direct current bus; and wherein calculating the final direct-axis current limit using the current-limited direct-axis current further comprises using a largest one of the voltage-limited direct-axis current and the current-limited direct-axis current as the final direct-axis current limit.
18. The method of claim 16, wherein calculating the current-limited direct-axis current of the electric machine corresponding to the regenerative current limit of the direct current bus further comprises: calculating a peak direct-axis current corresponding to the inverter providing a battery current to the direct current bus less than the regenerative current limit of the direct current bus; calculating a regenerative current limit-based torque corresponding to the regenerative current limit of the direct current bus using the peak direct-axis current; calculating a peak voltage-based torque limit corresponding to the voltage limit constraint of the direct current bus using the peak direct-axis current; using the peak direct-axis current as the current-limited direct-axis current when the regenerative current limit-based torque is less than the peak voltage-based torque limit; and calculating a value of the current-limited direct-axis current that is less than the peak direct-axis current when the regenerative current limit-based torque is not less than the peak voltage-based torque limit.
19. A method of controlling operation of an electric machine, comprising: calculating a voltage-limited direct-axis current of the electric machine corresponding to a voltage limit constraint of a direct current bus; calculating a current-limited direct-axis current of the electric machine corresponding to a regenerative current limit of the direct current bus; calculating a final direct-axis current limit as a largest one of the voltage-limited direct-axis current and the current-limited direct-axis current; and commanding a plurality of switches within an inverter to cause the electric machine to produce an output torque with a direct-axis current that satisfies the final direct-axis current limit.
20. The method of claim 19, further comprising: calculating a peak direct-axis current corresponding to the inverter providing a battery current to the direct current bus less than the regenerative current limit of the direct current bus; calculating a regenerative current limit-based torque corresponding to the regenerative current limit of the direct current bus using the peak direct-axis current; calculating a peak voltage-based torque limit corresponding to the voltage limit constraint of the direct current bus using the peak direct-axis current; using the peak direct-axis current as the current-limited direct-axis current when the regenerative current limit-based torque is less than the peak voltage-based torque limit; and calculating a value of the current-limited direct-axis current less than the peak direct-axis current when the regenerative current limit-based torque is not less than the peak voltage-based torque limit.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0007] The subject matter of the present disclosure is particularly pointed out and distinctly claimed in the claims at the conclusion of the specification. The foregoing and other features, and advantages of the present disclosure are apparent from the following detailed description taken in conjunction with the accompanying drawings in which:
[0008]
[0009]
[0010]
[0011]
[0012]
[0013]
[0014]
[0015]
[0016]
[0017]
[0018]
[0019]
[0020]
[0021]
[0022]
[0023]
[0024]
[0025]
[0026]
[0027]
[0028]
[0029]
[0030]
[0031]
DETAILED DESCRIPTION
[0032] Referring now to the figures, where the present disclosure will be described with reference to specific embodiments, without limiting the same, it is to be understood that the disclosed embodiments are merely illustrative of the present disclosure that may be embodied in various and alternative forms. The figures are not necessarily to scale; some features may 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 disclosure.
[0033] As used herein the terms module and sub-module refer to one or more processing circuits such as an application specific integrated circuit (ASIC), an electronic circuit, a processor (shared, dedicated, or group) and memory that executes one or more software or firmware programs, a combinational logic circuit, and/or other suitable components that provide the described functionality. As can be appreciated, the sub-modules described below can be combined and/or further partitioned.
[0034] An active regenerative current management (limiting) algorithm is proposed in this disclosure. The algorithm manages the regenerative power (current) provided to a battery by actively controlling the motor currents. In addition to directly limiting the allowable torque, a feature is proposed where the efficiency of the electric drive is reduced in order to produce higher torque while still honoring an externally-imposed regenerative current limit. The proposed supervisory control structure is very modular, which enables turning-off the feature to enable maximum efficiency operation by reducing the torque only. In addition to being modular, the proposed algorithm is both optimal in terms of torque and efficiency management, and further, is relatively computationally simple.
[0035] In various embodiments, the electric machine is configured to perform at least one of: applying an assist torque to a steering system of a vehicle, and controlling the steering system. In some embodiments, the proposed system and method ensure that the motor current is always maintained below a demagnetizing current limit of the motor. In other embodiments, the proposed system and method may not limit the motor current to the demagnetizing current limit of the motor. For example, a motor in an EPS system may have a motor current that exceeds the demagnetizing current limit of the motor during dynamic steering events such as braking over curbs. Such applications may be relatively infrequent and/or short in duration that risks of demagnetizing the motor may be relatively low.
[0036] Referring now to the figures, where the technical solutions will be described with reference to specific embodiments, without limiting same,
[0037] Electric power steering assist is provided through the control apparatus generally designated by reference numeral 24 and includes the controller 16 and an electric machine 19, which could be a permanent magnet synchronous motor (PMSM), and is hereinafter denoted as electric machine 19. The controller 16 is powered by the vehicle power supply 10 through direct current bus 12. The controller 16 receives a vehicle speed signal 14 representative of the vehicle velocity from a vehicle velocity sensor 17. Steering angle is measured through position sensor 32, which may be an optical encoding type sensor, variable resistance type sensor, or any other suitable type of position sensor, and supplies to the controller 16 a position signal 20. Motor velocity may be measured with a tachometer, or any other device, and transmitted to controller 16 as a motor velocity signal 21. A motor velocity denoted ω.sub.m may be measured, calculated or a combination thereof. For example, the motor velocity ω.sub.m may be calculated as the change of the motor position θ as measured by a position sensor 32, over a prescribed time interval. For example, motor speed ω.sub.m may be determined as the derivative of the motor position θ from the equation ω.sub.m=Δθ/Δt where Δt is the sampling time and Δθ is the change in position during the sampling interval. Alternatively, motor velocity may be derived from motor position as the rate of change of position with respect to time. It will be appreciated that there are numerous well-known methodologies for performing the function of a derivative.
[0038] As the steering wheel 26 is turned, torque sensor 28 senses the torque applied to the steering wheel 26 by the vehicle operator. The torque sensor 28 may include a torsion bar (not shown) and a variable resistive-type sensor (also not shown), which outputs a variable torque signal 18 to controller 16 in relation to the amount of twist on the torsion bar. Although this is one type of torque sensor, any other suitable torque-sensing device used with known signal processing techniques will suffice. In response to the various inputs, the controller sends a command 22 to the electric machine 19, which supplies torque assist to the steering system through worm 47 and worm gear 48, providing torque assist to the vehicle steering.
[0039] It should be noted that although the disclosed embodiments are described by way of reference to motor control for electric steering applications, it will be appreciated that such references are illustrative only and the disclosed embodiments may be applied to any motor control application employing an electric motor, e.g., steering, valve control, and the like. Moreover, the references and descriptions herein may apply to many forms of parameter sensors, including, but not limited to torque, position, speed and the like. It should also be noted that reference herein to electric machines including, but not limited to, motors, hereafter, for brevity and simplicity, reference will be made to motors only without limitation.
[0040] In the control system 24 as depicted, the controller 16 utilizes the torque, position, and speed, and like, to compute a command(s) to deliver the required output power. Controller 16 is disposed in communication with the various systems and sensors of the motor control system. Controller 16 receives signals from each of the system sensors, quantifies the received information, and provides an output command signal(s) in response thereto, in this instance, for example, to the electric machine 19. Controller 16 is configured to develop the corresponding voltage(s) out of inverter (not shown), which may optionally be incorporated with controller 16 and will be referred to herein as controller 16, such that, when applied to the electric machine 19, the desired torque or position is generated. In one or more examples, the controller 16 operates in a feedback control mode, as a current regulator, to generate the command 22. Alternatively, in one or more examples, the controller 16 operates in a feedforward control mode to generate the command 22. Because these voltages are related to the position and speed of the electric machine 19 and the desired torque, the position and/or speed of the rotor and the torque applied by an operator are determined. A position encoder is connected to the lower steering shaft 51 to detect the angular position θ. The encoder may sense the rotary position based on optical detection, magnetic field variations, or other methodologies. Typical position sensors include potentiometers, resolvers, synchros, encoders, and the like, as well as combinations comprising at least one of the foregoing. The position encoder outputs a position signal 20 indicating the angular position of the lower steering shaft 51 and thereby, that of the electric machine 19.
[0041] Desired torque may be determined by one or more torque sensors 28 transmitting torque signals 18 indicative of an applied torque. One or more exemplary embodiments include such a torque sensor 28 and the torque signal(s) 18 therefrom, as may be responsive to a compliant torsion bar, T-bar, spring, or similar apparatus (not shown) configured to provide a response indicative of the torque applied.
[0042] In one or more examples, a temperature sensor(s) 23 located at the electric machine 19. Preferably, the temperature sensor 23 is configured to directly measure the temperature of the sensing portion of the electric machine 19. The temperature sensor 23 transmits a temperature signal 25 to the controller 16 to facilitate the processing prescribed herein and compensation. Typical temperature sensors include thermocouples, thermistors, thermostats, and the like, as well as combinations comprising at least one of the foregoing sensors, which when appropriately placed provide a calibratable signal proportional to the particular temperature.
[0043] The position signal 20, velocity signal 21, and a torque signal(s) 18 among others, are applied to the controller 16. The controller 16 processes all input signals to generate values corresponding to each of the signals resulting in a rotor position value, a motor speed value, and a torque value being available for the processing in the algorithms as prescribed herein. Measurement signals, such as the above mentioned are also commonly linearized, compensated, and filtered as desired to enhance the characteristics or eliminate undesirable characteristics of the acquired signal. For example, the signals may be linearized to improve processing speed, or to address a large dynamic range of the signal. In addition, frequency or time-based compensation and filtering may be employed to eliminate noise or avoid undesirable spectral characteristics.
[0044] In order to perform the prescribed functions and desired processing, as well as the computations therefore (e.g., the identification of motor parameters, control algorithm(s), and the like), controller 16 may include, but not be limited to, a processor(s), computer(s), DSP(s), memory, storage, register(s), timing, interrupt(s), communication interface(s), and input/output signal interfaces, and the like, as well as combinations comprising at least one of the foregoing. For example, controller 16 may include input signal processing and filtering to enable accurate sampling and conversion or acquisitions of such signals from communications interfaces. Additional features of controller 16 and certain processes therein are thoroughly discussed at a later point herein.
[0045]
[0046] For a given battery voltage (V.sub.BATT), and a measurement of the supply voltage (V.sub.ecu) to the controller 16, the power equations may be solved to obtain motor current limits. A voltage circuit model considering the battery may be mathematically expressed as follows.
V.sub.ecu=V.sub.BATT−R.sub.BHI.sub.s
In the above equation R.sub.BH represents the battery harness resistance and I.sub.s represents a battery current from the battery to the control module 16. Positive values of the battery current I.sub.s indicate a supply current draw from the battery 10 to the control module 16. Negative values of the battery current I.sub.s indicate a regenerative current from the control module 16 to the battery 10.
[0047]
[0048]
[0049] A controller 130 is in communication with the inverter 124 via a communications path 132 for monitoring a plurality of different parameters of the inverter 124 and for controlling operation of the inverter 124 to rectify the alternating current from the alternating current phase buses 120, thus transferring power from the electric machine 19 and causing the electric machine 19 to generate a braking torque. Such operation corresponds to the regenerative mode shown as quadrants II and IV in the graph of applied torque vs. speed on
[0050]
[0051] The first algorithm 200 is divided into two main components, a torque capability determination block 210, and a current command calculation block 212. The first algorithm 200 also includes a voltage command calculation block 214, and the inverter 124. The torque capability determination block 210 generates and supplies a torque command T.sub.command and voltage-limited d-axis current I.sub.dmaxv to the current command calculation block 212. The torque capability determination block 210 includes a regenerative current peak torque (RCPT) block 220 that is configured to calculate a regenerative current limit-based torque T.sub.r corresponding to the regenerative current limit I.sub.rl of the direct current bus 12. The RCPT block 220 computes the regenerative current limit-based torque T.sub.r, which is a maximum possible torque that can be generated by the electric machine 19 for the given regenerative current limit I.sub.rl, as derived below. The total electrical power P.sub.e in terms of the supply voltage V.sub.ecu, the battery current I.sub.s, and the input circuit resistance R.sub.c is as follows.
V.sub.ecuI.sub.s−R.sub.cI.sub.s.sup.2=P.sub.e
[0052] The electrical power in terms of q-axis and d-axis motor current I.sub.dq is expressed as follows.
P.sub.e=3/2(RI.sub.d.sup.2+RI.sub.q.sup.2+ω.sub.e((L.sub.q−L.sub.d)I.sub.d+K.sub.eω.sub.m)I.sub.q)
where I.sub.d is the d-axis current, I.sub.q is the q-axis current, ω.sub.e is an electrical speed, K.sub.e is a motor voltage constant, ω.sub.m is a mechanical speed, and L.sub.q and L.sub.d are q-axis and d-axis inductance of the electric machine 19, respectively.
[0053] By inspecting the power equation in terms of motor currents, it can be observed that the peak torque for a given regenerative current limit will occur at the maximum allowable d-axis motor current under the given operating conditions. For a given regenerative current limit then, the peak torque is obtained as the root(s) of the following quadratic equation for I.sub.q which is obtained from the above power equations.
(3/2R)I.sub.q.sup.2+3/2(ω.sub.eI.sub.d(L.sub.q−L.sub.d)+K.sub.eω.sub.m)I.sub.q+(3/2I.sub.d.sup.2R−V.sub.bI.sub.rl+R.sub.cI.sub.rl.sup.2)=0
[0054] Since the peak torque occurs at maximum d-axis motor current value I.sub.d, the above equation is solved by substituting I.sub.d equal to I.sub.dmax which is the d-axis current value at which the peak torque considering the voltage limit constraint V.sub.b occurs. Note that in some embodiments, I.sub.dmax is representative of a demagnetizing current limit I.sub.d_demag of the electric machine 19 under voltage-limited operation. In other words, currents in excess of the demagnetizing current limit I.sub.d_demag may result in permanent magnets within the electric machine 19 becoming permanently demagnetized. Thus, this value acts as the maximum allowable d-axis current that can be generated under any given operating condition. The solution of the quadratic is given below.
where I.sub.q1 and I.sub.q2 are either both positive or negative depending on the speed. The lower positive (or negative) value is typically used.
[0055] Finally, the peak torque may be computed as follows.
where N.sub.p is the number of poles of the electric machine 19. The peak positive and negative torque values, which occur at the corresponding (same) speed signs, are equal to roots T.sub.r1 and T.sub.r2, respectively.
[0056] Notice that the existence of the roots is dependent on the following condition.
R.sub.v≡√{square root over (b.sub.r.sup.2−4a.sub.rc.sub.r)}≥0
This condition is actively checked to ensure the existence of a solution. In case a solution does not exist, the regenerative current limit-based (positive and negative) peak torques T.sub.rp and T.sub.rn may be set to the same value as the voltage based peak torques T.sub.vp and T.sub.vn respectively (alternatively, the value may be set to an arbitrarily large number such that it is essentially ignored by the subsequent blocks).
[0057] The final arbitrated peak torque values T.sub.ap and T.sub.an may be computed as follows.
T.sub.apn=sign(T.sub.rpn)×max(|T.sub.rp|,|T.sub.vp|), where R.sub.v=True
T.sub.apn=T.sub.rvpn, where R.sub.v=False
[0058] Note that in some cases additional logic for ensuring that the values of T.sub.rp and T.sub.rn have the correct sign may also be implemented.
[0059] The above algorithm calculates the maximum possible d-axis current to cause the electric machine 19 to produce a regenerative current limit-based torque T.sub.r, which is a regenerative (braking) torque that corresponds to the regenerative current limit I.sub.rl of the direct current bus, and is thus inherently inefficient. However, for some safety critical applications such as EPS, it is acceptable and even advisable to compromise efficiency because low braking torque under some driving conditions can potentially result in driver injury and even loss of vehicle control. This is especially true when the allowed regenerative current limit is low. However, in some applications, the limit may be large enough or efficiency may be the priority. In such cases, a different approach may be implemented in which efficiency is increased at the cost of peak allowable torque. This may be done, for example, by using zero for the value of I.sub.d in the quadratic equation in I.sub.q for computing the peak regenerative current limit-based torque (described above).
[0060] Still referring to
[0061] The torque capability determination block 210 also includes a torque command limiting (TCL) block 226 configured to generate a torque command T.sub.command by clamping the torque demand T.sub.c not to exceed the torque limit T.sub.pk. In other words, the TCL block 226 is configured to calculate the torque command T.sub.command as a lesser one of the torque demand T.sub.c and the torque limit T.sub.pk.
[0062] The current command calculation block 212 of the first algorithm 200, shown on
[0063] Note that the search may be done by using any known numerical techniques involving iterative solvers such as, for instance, the bisection method. The search may proceed until a difference between the calculated battery current I's and the regenerative current limit I.sub.rl comes within an acceptable predetermined tolerance. In some embodiments, a predetermined limit may also be imposed on the number of iterations. In the case where the efficiency is prioritized, the RCDC block 242 may be disabled and essentially acts as a pass-through.
[0064] The outputs of the RCDC block 242 are then sent to the MTPV block 244 to ensure that the voltage limit constraint V.sub.b is met, and are then sent as final current commands I*.sub.dq to the voltage command calculation block 214, which generates corresponding voltage commands V*.sub.dq. Those voltage commands V*.sub.dq are supplied to the inverter 124, functioning as the inverter 124. The inverter 124, thus, generates output phase voltages V.sub.abc upon the alternating current phase buses 120, causing the electric machine 19 to produce a braking torque T.sub.e.
[0065] Referring now to
[0066] The second algorithm 300 is divided into two main components, a torque capability determination block 310, and a current command calculation block 312. The torque capability determination block 310 generates and supplies a torque command T.sub.command and final d-axis current limit to the current command calculation block 312. The second algorithm 300 includes several blocks that may function similar or identically to corresponding blocks of the first algorithm 200, described above. For example, the torque capability determination block 310 of the second algorithm 300 includes a regenerative current peak torque (RCPT) block 320, that may be similar or identical to the regenerative current peak torque (RCPT) block 220 of the first algorithm 200. The torque capability determination block 310 of the second algorithm 300 also includes a voltage-based peak torque (VPT) block 322 that may be similar or identical to the voltage-based peak torque (VPT) block 222 of the first algorithm 200. The torque capability determination block 310 of the second algorithm 300 also includes a peak torque arbitration (PTA) block 324 that may be similar or identical to the peak torque arbitration (PTA) block 224 of the first algorithm 200. The torque capability determination block 310 of the second algorithm 300 also includes a torque command limiting (TCL) block 326 that may be similar or identical to the torque command limiting (TCL) block 226 of the first algorithm 200.
[0067] The current command calculation block 312 of the second algorithm 300, shown on
[0068] The second algorithm 300 also includes several blocks not present in the first algorithm 200, described above. For example, the torque capability determination block 310 of the second algorithm 300 includes a maximum d-axis current for a voltage constraint (MDV) block 330. The torque capability determination block 310 of the second algorithm 300 also includes a maximum d-axis current for a regenerative current constraint (MDR) block 332, and a maximum d-axis current arbitration (MDA) block 334.
[0069] The RCPT block 320 is configured to calculate a regenerative current limit-based torque T.sub.r corresponding to the regenerative current limit I.sub.rl of the direct current bus 12. The RCPT block 320 computes the regenerative current-based torque limit T.sub.r, which is a maximum possible torque that can be generated by the electric machine 19 for the given regenerative current limit I.sub.rl, as derived below. The total electrical power P.sub.e in terms of the supply voltage V.sub.ecu, the battery current I.sub.s, and the input circuit resistance R.sub.c is as follows.
V.sub.ecuI.sub.s−R.sub.cI.sub.s.sup.2=P.sub.e
[0070] The electrical power in terms of q-axis and d-axis motor currents I.sub.dq is expressed as follows.
P.sub.e=a.sup.2RI.sub.d.sup.2a.sup.2RI.sub.q.sup.2+aK.sub.eω.sub.mI.sub.q+a.sup.2ω.sub.e(L.sub.q−L.sub.d)I.sub.dI.sub.q
[0071] In the above equations “a” represents √{square root over (3)}/2, a conversion factor when line parameters are used. By inspecting the power equation in terms of motor currents, we can see that the peak torque at the regenerative current limit I.sub.rl, occurs at the maximum possible d-axis motor current value. Using above two equations, we can derive the following equation:
V.sub.bI.sub.s−R.sub.cI.sub.s.sup.2=a.sup.2RI.sub.d.sup.2+a.sup.2RI.sub.q.sup.2+aK.sub.eω.sub.mI.sub.q+a.sup.2ω.sub.e(L.sub.q−L.sub.d)I.sub.dI.sub.q
[0072] In order to calculate the peak q-axis current I.sub.q for the regenerative current limit I.sub.rl, the above equation is written as follows.
(a.sup.2R)I.sub.q.sup.2+(a.sup.2ω.sub.e(L.sub.q−L.sub.d)I.sub.d+aK.sub.eω.sub.m)I.sub.q+(a.sup.2RI.sub.d.sup.2−V.sub.ecuI.sub.rl+R.sub.cI.sub.rl.sup.2)=0
[0073] The above equation is a quadratic equation in terms of I.sub.q, which can be solved to obtain two roots. As the peak torque for the regenerative current limit I.sub.rl occurs at maximum d-axis motor current value, we substitute in the above equation with the D-axis current calculated from the maximum D-axis current arbitration (MDA) block 334.
[0074] The MDA block 334 generates a final maximum d-axis current I.sub.dmaxf by arbitrating between a voltage-based maximum d-axis current I.sub.dmaxv from the MDV block 330 and a regenerative current limit-based maximum d-axis current I.sub.dmaxr from the MDR block 332. The voltage-based maximum d-axis current I.sub.dmaxv is a voltage-dependent peak d-axis current I.sub.d value where peak torque occurs at a given supply voltage V.sub.ecu. In some embodiments, this I.sub.dmaxv is representative of the demagnetizing current limit I.sub.d_demag. For PMSM type electric machines 19, the demagnetization current limit I.sub.d_demag is equal to 4K.sub.e/(√3 L.sub.dN.sub.p), where K.sub.e is a back electromagnetic force constant, L.sub.d is a d-axis inductance of the electric machine 19, and N.sub.p is a number of poles of the electric machine 19. In some embodiments, the regenerative current limit-based maximum d-axis current I.sub.dmaxr is greater than the demagnetizing current limit I.sub.d_demag. The arbitration between I.sub.dmaxr and I.sub.dmaxv is done to maximize available torque under all operating conditions. The second algorithm 300 also maximizes the torque to ensure stability during the dynamic braking events where the motor speed may become very high due to external impulse events, such as wheels of the vehicle hitting a curb.
[0075] The MDR block 332 is configured to calculate the regenerative current limit-based maximum d-axis current I.sub.dmaxr as follows. The regenerative current limit-based maximum d-axis current I.sub.dmaxr is calculated in one of two different ways, depending on whether (or not) the regenerative current limit-based torque T.sub.r is less than the voltage-based torque limit T.sub.v when the d-axis current I.sub.d is swept. These two situations are illustrated graphically in
[0076] From the power equation, for a given regenerative current limit I.sub.rl, we can write:
(a.sup.2R)I.sub.q.sup.2+(a.sup.2ω.sub.e(L.sub.q−L.sub.d)I.sub.d+aK.sub.eω.sub.m)I.sub.q+(a.sup.2RI.sub.d.sup.2−V.sub.ecuI.sub.rl+R.sub.cI.sub.rl.sup.2)=0
[0077] The discriminant of the above equation can be written as follows:
B.sub.ldp.sup.2−4A.sub.ldpC.sub.ldp=(a.sup.2ω.sub.e(L.sub.q−L.sub.d)I.sub.d+aK.sub.eω.sub.m).sup.2−4a.sup.2R(a.sup.2RI.sub.d.sup.2−V.sub.ecuI.sub.rl+R.sub.cI.sub.rl.sup.2)
[0078] By setting the discriminant equal to zero, and solving for I.sub.d, a peak d-axis current I.sub.dp that corresponds to the quadrature-axis current I.sub.q having a real solution can be determined. This peak d-axis current I.sub.dp is referred to hereafter as the absolute maximum regenerative current limit based d-axis current value.
(a.sup.2ω.sub.e(L.sub.q−L.sub.d)I.sub.d+aK.sub.eω.sub.m).sup.2−4a.sup.2R(a.sup.2RI.sub.d.sup.2−V.sub.ecuI.sub.rl+R.sub.cI.sub.rl.sup.2)=0
[0079] Writing the discriminant in the form of quadratic equation to solve for I.sub.d
(a.sup.4ω.sub.e.sup.2(L.sub.q−L.sub.d).sup.2−4a.sup.4R.sup.2)I.sub.d.sup.2+(2a.sup.3ω.sub.eω.sub.m(L.sub.q−L.sub.d)K.sub.e)I.sub.d+(a.sup.2K.sub.e.sup.2ω.sub.m.sup.2−4a.sup.2RI.sub.rl.sup.2R.sub.c+4a.sup.2RV.sub.ecuI.sub.rl)=0
[0080] Solving the above quadratic equation gives two roots and we always take positive value of I.sub.d (I.sub.d positive is considered field weakening according to the dq convention used here) for our control purposes.
[0081] Substituting the peak d-axis current I.sub.dp in the power equation and solving for a peak q-axis current I.sub.qp and corresponding torque T.sub.rlp:
[0082] The RCPT block 320, thus calculates the regenerative current limit-based torque T.sub.r as the peak torque based on the obtained I.sub.dp and I.sub.qp,
[0083] Now, substituting I.sub.dp in voltage equation and compute I.sub.qv and corresponding torque T.sub.r:
[0084] The VPT block 322, thus calculates the voltage-based torque limit T.sub.v as the peak torque based on the obtained I.sub.dp and I.sub.qv,
[0085] The MDR block 332 calculates the current-limited d-axis current I.sub.dmaxr to satisfy the regenerative current limit I.sub.rl of the direct current bus 12 in accordance with
In short, the current-limited d-axis current I.sub.dmaxr is assigned the value of I.sub.dp in all cases except when the system is operating in regenerative mode (quadrants II, IV of
[0086] The maximum and minimum values of I.sub.d that are used in the sweep are obtained by setting I.sub.q=0 in voltage equation. This is shown as follows.
(a.sup.2R.sup.2+a.sup.2ω.sub.e.sup.2L.sub.d.sup.2)I.sub.d.sup.2−(2aK.sub.eω.sub.mω.sub.eL.sub.d)I.sub.d+(K.sub.e.sup.2ω.sub.m.sup.2−V.sub.ecu.sup.2)=0
A.sub.Idmm=a.sup.2R.sup.2+a.sup.2ω.sub.e.sup.2L.sub.d.sup.2
B.sub.Idmm=−(2aK.sub.eω.sub.mω.sub.eL.sub.d)
C.sub.Idmm=K.sub.e.sup.2ω.sub.m.sup.2−V.sub.ecu.sup.2
[0087] Solving above quadratic equation,
[0088] The MDA block 334 calculates the final maximum d-axis current I.sub.dmaxf as follows:
In other words, the MDA block 334 sets the final maximum d-axis current I.sub.dmaxf to the value of the voltage-based maximum d-axis current I.sub.dmaxr when the system is operating in one of the first or third quadrants (i.e. when the system is taking power from the DC bus). In other cases (i.e. when the system is operating in one of the second or fourth quadrants), the MDA block 334 sets the final maximum d-axis current I.sub.dmaxf to the highest of the voltage-based maximum d-axis current I.sub.dmaxv and the regenerative current limit-based maximum d-axis current I.sub.dmaxr.
[0089] The final maximum d-axis current I.sub.dmaxf is used by the RCPT block 320 and the VPT block 322 to calculate the regenerative current limit-based torque T.sub.r, and the voltage-based torque limit T.sub.v, respectively. The regenerative current limit-based torque T.sub.r, and the voltage-based torque limit T.sub.v are further arbitrated by the PTA block 324 to send out the final peak torque T.sub.pk which meets all the constraints. This final peak torque T.sub.pk is limited with the motor torque demand T.sub.c by the TCL block 326, which produces a limited torque command T.sub.command, which is communicated to the current command calculation block 312, which may function similarly or identically to the current command calculation block 212 of the first algorithm 200.
[0090]
[0091] The method 400 includes solving the discriminant of the power equation to find a peak d-axis current I.sub.dp corresponding to the inverter 124 providing a battery current I.sub.s to the direct current bus 12 which satisfies the regenerative current limit I.sub.rl of the direct current bus 12 at step 402. In other words, the peak d-axis current I.sub.dp is a d-axis current that causes the inverter 124 to provide battery current I.sub.s to the direct current bus 12 which is less than or equal to the regenerative current limit I.sub.rl.
[0092] The method 400 also includes substituting the peak d-axis current I.sub.dp in the power equation to find a corresponding regenerative current limit-based torque T.sub.rp at step 404. This step 404 may be performed using the RCPT block 320 or a similar algorithm or calculator, using the peak d-axis current I.sub.dp obtained at step 402.
[0093] The method 400 also includes substituting the peak d-axis current I.sub.dp in the voltage equation to find a corresponding peak voltage-based torque limit T.sub.rv corresponding to the voltage limit constraint V.sub.b of the direct current bus 12 at step 406. This step 406 may be performed using the VPT block 322 or a similar algorithm or calculator, using the peak d-axis current I.sub.dp obtained at step 402.
[0094] The method 400 proceeds with comparing the regenerative current limit-based torque T.sub.rp obtained at step 404 with the peak voltage-based torque limit T.sub.rv obtained at step 406 to determine if the regenerative current limit-based torque T.sub.rp is less than the peak voltage-based torque limit T.sub.rv at step 408. A “yes” result of this comparison indicates that the regenerative torque that can be produced by the electric machine 19 is not limited by the voltage limit constraint V.sub.b of the direct current bus 12. In such case, the maximum d-axis current I.sub.dmaxr is set to the peak d-axis current I.sub.dp at step 410. A “no” result of the comparison at step 408 indicates that the regenerative torque that can be produced by the electric machine 19 is limited by the voltage limit constraint V.sub.b of the direct current bus 12 regenerative current limit I.sub.rl of the direct current bus 12. In such case, the maximum d-axis current I.sub.dmaxr is determined to satisfy both the voltage limit constraint V.sub.b and the regenerative current limit I.sub.rl at step 412. In some example embodiments, step 412 determines the maximum d-axis current I.sub.dmaxr using an iterative solver to determine an output d-axis current I.sub.ditr that satisfies both the voltage limit constraint V.sub.b and the regenerative current limit I.sub.rl.
[0095]
[0096]
[0097]
[0098]
[0099]
[0100]
[0101]
[0102] A method 2000 of controlling operation of an electric machine 19 is shown in the flow chart of
[0103] The method 2000 also includes calculating a regenerative current limit-based torque T.sub.r corresponding to a regenerative current limit I.sub.rl of the direct current bus 12 at step 2004. The regenerative current limit I.sub.rl is a maximum current value that the inverter 124 is permitted to provide to the direct current bus 12. The regenerative current limit I.sub.rl may depend on the characteristics of the battery 10 and/or other aspects of the vehicle power supply system. In some embodiments, the step of calculating the regenerative current limit-based torque T.sub.r corresponding to the regenerative current limit I.sub.rl of the direct current bus 12 (step 2004) includes using the final direct-axis current limit I.sub.dmaxf. Because the peak torque for a given regenerative current limit I.sub.rl occurs at the maximum d-axis motor current value, the final direct-axis current limit I.sub.dmaxf can be substituted into the equation used to calculate a corresponding q-axis current and then the regenerative current limit-based torque T.sub.r.
[0104] The method 2000 also includes calculating a torque limit T.sub.pk defined by the regenerative current limit-based torque T.sub.r when the regenerative current limit-based torque T.sub.r is less than the voltage-based torque limit T.sub.v at step 2006. In some embodiments, the torque limit T.sub.pk is defined by the current-based torque limit T.sub.r when the regenerative current limit-based torque T.sub.r is less than or equal to the voltage-based torque limit T.sub.v.
[0105] The method 2000 also includes commanding a plurality of switches within an inverter 124 to cause the electric machine 19 to produce an output torque T.sub.e corresponding to a torque demand T.sub.c and according to the torque limit T.sub.v at step 2008. This step 2008 may be performed by an inverter 124 under the command or direction of a controller 130.
[0106] The method 2000 also includes commanding the plurality of switches within the inverter 124 to regulate a direct-axis current I.sub.d not to exceed a maximum d-axis current I.sub.dmax at step 2009. The maximum d-axis current I.sub.dmax is defined by one of a demagnetization current limit I.sub.d_demag of the electric machine 19 or a peak d-axis current I.sub.dp that corresponds to a quadrature-axis current I.sub.q having a real solution. This step 2009 may be performed by the inverter 124 under the command or direction of the controller 130.
[0107] In some embodiments, the direct-axis current I.sub.d is limited not to exceed a demagnetization current limit I.sub.d_demag of the electric machine 19. For example, where the electric machine 19 is a permanent magnet synchronous motor (PMSM), direct-axis current I.sub.d currents in excess of the demagnetizing current limit I.sub.d_demag may result in permanent magnets within the electric machine 19 becoming permanently demagnetized. In some embodiments, such demagnetization is prevented or avoided by limiting the direct-axis current I.sub.d not to exceed the demagnetization current limit I.sub.d_demag of the electric machine 19. Alternatively, in some embodiments, the direct-axis current I.sub.d may be permitted to exceed the demagnetization current limit I.sub.d_demag of the electric machine 19. For example, in an electric power steering (EPS) system, the direct-axis current I.sub.d may exceed the demagnetizing current limit I.sub.d_demag during dynamic steering events such as braking over curbs. Such applications may be relatively infrequent and/or short in duration that risks of demagnetizing the electric machine 19 may be relatively low.
[0108] The method 2000 also includes calculating a torque command T.sub.command as a lesser one of the torque demand T.sub.c and the torque limit T.sub.pk at step 2010. This step 2010 may be performed, for example, by a torque command limiting (TCL) block 226, 326.
[0109] The method 2000 also includes calculating a preliminary d-axis current I′.sub.d and a preliminary q-axis current I′.sub.q, collectively called I′.sub.dq, corresponding to the electric machine producing the torque command T.sub.command at step 2012. This step 2012 may be performed, for example, using a maximum torque per ampere (MTPA) calculation, for example, by the MTPA block 240 of the first algorithm 200 or by the MTPA block 340 of the second algorithm 300.
[0110] The method 2000 also includes calculating a modified d-axis current I″.sub.d corresponding to the inverter 124 satisfying the regenerative current limit I.sub.rl of the direct current bus 12 at step 2014. This step 2014 may be performed, for example, using a regenerative current based d-axis motor current search (RCDC) calculation, for example, by the RCDC block 242 of the first algorithm 200 or by the RCDC block 342 of the second algorithm 300.
[0111] Step 2014 of calculating the modified d-axis current I″.sub.d corresponding to the inverter 124 satisfying the regenerative current limit I.sub.rl of the direct current bus 12 may compromise several sub-steps, as shown in the flow chart of
[0112] Step 2014 includes calculating a voltage-limited direct-axis current I.sub.dmaxv of the electric machine corresponding to the voltage limit constraint V.sub.b of the direct current bus 12 at sub-step 2014A. This sub-step 2014A may be performed, for example, by the maximum d-axis current for a voltage constraint (MDV) block 330.
[0113] Step 2014 also includes setting a prospective d-axis current I.sub.d_prosp based upon the voltage-limited direct-axis current I.sub.dmaxv at sub-step 2014B. In some embodiments, the prospective d-axis current I.sub.d_prosp is set equal to the voltage-limited direct-axis current I.sub.dmaxv. In other words, the voltage-limited direct-axis current I.sub.dmaxv may be used as an initial value in a search.
[0114] Step 2014 also includes computing an estimated battery current I.sub.s_est generated by the inverter 124 with the prospective d-axis current I.sub.d_prosp at sub-step 2014C. This sub-step 2014C corresponds to testing each of the prospective d-axis current I.sub.d_prosp to determine if the search is successful.
[0115] Step 2014 also includes increasing the prospective d-axis current I.sub.d_prosp until the prospective d-axis current I.sub.d_prosp corresponds to the estimated battery current I.sub.s_est satisfying the regenerative current limit I.sub.rl at sub-step 2014D. The prospective d-axis current I.sub.d_prosp may be increased in steps, and the steps may be fixed or variable.
[0116] The method 2000 also includes calculating a current-limited direct-axis current I.sub.dmaxr of the electric machine corresponding to the regenerative current limit I.sub.rl of the direct current bus 12 at step 2016. This step 2016 may be performed, for example, by the regenerative current constraint (MDR) block 332 of the second algorithm 300. The step of calculating the current-limited direct-axis current I.sub.dmaxr of the electric machine corresponding to the regenerative current limit I.sub.rl of the direct current bus 12 (step 2016) may compromise several sub-steps, as shown in the flow chart of
[0117] Step 2016 includes calculating a peak direct-axis current I.sub.dp corresponding to the inverter 124 providing a battery current I.sub.s to the direct current bus 12 less than the regenerative current limit I.sub.rl of the direct current bus 12 at sub-step 2016A. In some embodiments, the peak direct-axis current I.sub.dp corresponds to the inverter 124 providing a battery current I.sub.s to the direct current bus 12 less than or equal to the regenerative current limit I.sub.rl of the direct current bus 12. This sub-step 2016A corresponds to step 402 of the method 400 shown in the flow diagram of
[0118] Step 2016 also includes calculating a regenerative current limit-based torque T.sub.rp corresponding to the regenerative current limit I.sub.rl of the direct current bus 12 using the peak direct-axis current I.sub.dp at sub-step 2016B. This sub-step 2016B corresponds to step 404 of the method 400 shown in the flow diagram of
[0119] Step 2016 also includes calculating a peak voltage-based torque limit T.sub.rv corresponding to the voltage limit constraint V.sub.b of the direct current bus 12 using the peak direct-axis current I.sub.dp at sub-step 2016C. This sub-step 2016C corresponds to step 406 of the method 400 shown in the flow diagram of
[0120] Step 2016 also includes using the peak direct-axis current I.sub.dp as the current-limited direct-axis current I.sub.dmaxr when the regenerative current limit-based torque T.sub.rp is less than the peak voltage-based torque limit T.sub.rv at sub-step 2016D. This sub-step 2016D corresponds to step 410 of the method 400 shown in the flow diagram of
[0121] Step 2016 also includes calculating a value of the current-limited direct-axis current I.sub.dmaxr that is less than the peak direct-axis current I.sub.dp when the regenerative current limit-based torque T.sub.rp is not less than the peak voltage-based torque limit T.sub.rv at sub-step 2016E. In some embodiments, sub-step 2016E includes calculating a value of the current-limited direct-axis current I.sub.dmaxr that is less than or equal to the peak direct-axis current I.sub.dp. This sub-step 2016E corresponds to step 412 of the method 400 shown in the flow diagram of
[0122] The method 2000 also includes calculating a final direct-axis current limit I.sub.dmaxf using the current-limited direct-axis current I.sub.dmaxr at step 2018. This step 2014 may be performed, for example, by the maximum d-axis current arbitration (MDA) block 334 of the second algorithm 300.
[0123] In some embodiments, and as shown in the flow chart of
[0124] The method 2000 also includes calculating a voltage-limited direct-axis current I.sub.dmaxv of the electric machine corresponding to the voltage limit constraint V.sub.b of the direct current bus 12 at step 2020. This step 2020 may be performed, for example, by the maximum d-axis current for a voltage constraint (MDV) block 330 of the second algorithm 300.
[0125] While the present disclosure has been described in detail in connection with only a limited number of embodiments, it should be readily understood that the present disclosure is not limited to such disclosed embodiments. Rather, the present disclosure can be modified to incorporate any number of variations, alterations, substitutions or equivalent arrangements not heretofore described, but which are commensurate in scope with the present disclosure. Additionally, while various embodiments of the present disclosure have been described, it is to be understood that aspects of the present disclosure may include only some of the described embodiments or combinations of the various embodiments. Accordingly, the present disclosure is not to be seen as limited by the foregoing description.