Electric motor apparatus
11177760 · 2021-11-16
Assignee
Inventors
Cpc classification
H02P29/02
ELECTRICITY
H02P29/40
ELECTRICITY
B62D5/0463
PERFORMING OPERATIONS; TRANSPORTING
International classification
Abstract
An apparatus for controlling an electric motor having a controller, a torque demand limit generator, and a drive stage. The controller may be arranged to receive as an input a torque demand signal indicative of the amount of torque demanded from the motor and to produce as an output a set of motor current demand signals. The drive stage may receive the motor current demand signals and is arranged to cause currents to flow in each phase of the motor as required to meet the demanded torque. The torque demand limit generator may be arranged to output a torque demand limit signal indicative of a torque demand limit above which the battery current would exceed one or more limits.
Claims
1. An apparatus for controlling an electric motor, the electrical motor and the apparatus being supplied by a battery source, the apparatus comprising: a controller arranged to receive as an input a torque demand signal indicative of an amount of torque demanded from the motor and to produce as an output a set of motor current demand signals; and a drive stage which receives the set of motor current demand signals and is arranged to cause currents to flow in each phase of the motor as required to meet the amount of torque demanded; wherein the apparatus further comprises a torque demand limit generator which is arranged to output a torque demand limit signal indicative of a torque demand limit, wherein the torque demand signal has a value that is dependent on an amount of assistance of torque demanded from the motor and the torque demand limit signal, such that the value of the torque demand signal does not exceed a limit value.
2. The apparatus as defined in claim 1, further comprising a torque demand generator which generates the torque demand signal indicative of the amount of torque demanded from the motor.
3. The apparatus as defined in claim 2, wherein the torque demand generator generates an ideal torque demand signal independent of the torque demand limit signal, and subsequently modifies the torque demand signal if the torque demand signal would exceed the limit value to produce the torque demand signal that is fed to the controller.
4. The apparatus as defined in claim 2, wherein the torque demand limit generator sets the value of the torque demand limit signal using a model of the motor and the drive stage via a torque demand limiter.
5. The apparatus as defined in claim 3, wherein the torque demand limit generator sets the torque demand limit as a function of a voltage of the battery via a torque demand limiter.
6. The apparatus as defined in claim 4, wherein the torque demand limit generator uses one or more parameters when determining the torque limit: a motor battery current limit; a generator battery current limits; a motor electric power limit; a generator electric power limit.
7. The apparatus according to claim 3, wherein the torque demand limit generator generates one or more battery current limits, and the one or more battery current limits are fed into a model of the motor apparatus along with the battery voltage and used by the torque demand limiter to determine the torque demand limit.
8. The apparatus as defined in claim 7, wherein the torque demand generator limits a rate of change of demanded torque such that a rate of change of current drawn from a power supply during motoring or fed back into the power supply during generating is limited.
9. The apparatus as defined in claim 8, further comprising a current monitor to monitor actual current demand values from the controller or monitor motor actual currents or calculate estimates of the currents, and in response to one of the actual current demand values, the motor actual currents, or the calculated estimates of the currents exceeding the one or more battery current limits the torque demand limiter reduces the torque demand limit.
10. The apparatus as defined in claim 9, wherein the torque demand generator limits the rate of change of the torque demand.
11. A method of controlling an electric motor circuit comprising an electric motor and a control circuit, the motor and control circuit being supplied by a battery source, the control circuit including a torque demand generator which generates a torque demand signal dependent on an amount of torque demanded from the motor, and a controller arranged to receive as an input the torque demand signal and to produce as an output a set of motor current demand signals, and a drive stage which receives the set of motor current demand signals and is arranged to cause currents to flow in each phase of the motor to meet the amount of torque demanded, the method comprising generating a torque demand limit signal indicative of a torque demand limit and generating a torque demand signal that has a value that is dependent on an amount of assistance torque demanded from the motor and the torque demand limit signal, such that the value of the torque demand signal does not exceed a limit value.
12. The method as defined in claim 11, further comprising the step of generating the torque demand limit signal using a model of the motor including one or more motor parameters.
13. The method as defined in claim 12, further comprising the step of measuring a current flowing in the motor and in response to the current exceeding a current limit modifying the torque demand limit signal.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1) There will now be described by way of example only one embodiment of the present disclosure with reference to the accompanying drawings of which:
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
(11)
(12)
(13)
P.sub.pred=1.5(v.sub.d_DEmi.sub.d+v.sub.q_DEmi.sub.q)
P.sub.max_MOT=v.sub.DRV_STGi.sub.MAX_MOT_ALW
P.sub.max_GEN=v.sub.DRV_STGi.sub.MAX_GEN_ALW
(14)
(15)
(16)
(17)
(18)
(19)
(20)
(21)
(22)
DETAILED DESCRIPTION
(23) The following example describes an embodiment of the present disclosure used in an automotive application although the reader will understand that the present disclosure should not be limited in scope to such an application.
(24) As shown in
(25) The EPAS system 1 is shown schematically in
(26) The motor 14 typically comprises a three phase wound stator element and a rotor having for example six embedded magnets within it which in this instance are arranged so as to provide six poles which alternate between north and south around the rotor. The rotor therefore defines three direct or d axes evenly spaced around the rotor and three quadrature or q axes interspaced between the d axes. The d axes are aligned with the magnetic poles of the magnets where the lines of magnetic flux from the rotor are in the radial direction, and the q axes are spaced between the d axes where the lines of magnetic flux from the rotor are in the tangential direction.
(27) The three motor stator windings are connected in a star network. The motor is controlled by an apparatus 13 in accordance with an aspect of the present disclosure that includes a controller and drive stage. The drive stage 27 of the apparatus 13 comprises a three phase bridge forming a switching stage. This is shown in
(28) The torque signal output from the torque sensor 12 is fed to an input of the apparatus 13. This is input to a torque demand generator 28 which generates an initial torque demand signal 9. The initial torque demand represents an ideal torque demanded from the motor, for instance to provide an assistance torque to the driver as they turn the steering wheel.
(29) The initial torque demand signal 19 is fed into a torque demand limit generator 20 which is arranged to limit the torque demand signal 19 in order to ensure that the current drawn by the apparatus does not exceed a limit, or in the case of a motor that is generating ensure that the current generated by the motor does not exceed a limit. If the initial torque demand signal value exceeds the limit it is held to the limit. If not, it passes through the torque demand limiter 20 without modification.
(30) The modified torque demand limit signal 21 is fed into a current controller 24 which calculates a current demand for the motor. The current demand output form the controller 24 is in the form of two current demand signals 25, 26 in the d-q axis reference frame, one for each lane where two lanes a provided.
(31) In a final stage, a drive circuit 27 converts the d-q axis currents output from the current controller 22 into three current demand components in a static reference frame, one for each phase of the motor 17, 18 or 19. These demand currents a, b, c are then converted by the drive stage 27, in combination with an estimate of the rotor position, into suitable PWM signals that are supplied to the switching motor phases of the drive stage 27 by PWM of the switches. A range of PWM switching strategies are known in the art and so will not be described in detail here. The switch arrangement is well known and described in such documents as EP 1083650A2. To provide control feedback a measurement of the phase currents is fed into the apparatus 13 from a current monitor 34, shown in
(32) The application of the torque demand limit causes the torque of the motor to deviate from the ideal torque demanded by the torque demand generator, but as will be apparent optimal setting of the limits ensures that at all times the motor is producing the maximum possible torque whilst ensuring that the current demanded from the battery and alternator do not exceed system limits. Importantly, the modification of the torque demand makes the implementation of the current controller simpler than prior art arrangements as all limiting is performed prior to the current controller. The controller, the torque demand generator and the torque demand limiter may be implemented using an electronic control unit running software that is stored in an area of memory.
(33)
(34) The torque demand limiter comprises an algorithm which performs two distinct stages: Stage 1) Defines and applies a maximum torque limit for motoring and generating, and applies limit to initial torque demand; and Stage 2) Defines a maximum torque gradient for motoring and generating, and applies limit to initial torque demand. The two stages are embodied as software that is executed by a signal processor. An overview of the key function blocks of the software is shown in
(35) Stage 1) Torque maximum limit: The purpose of this stage is to determine the torque limit that corresponds to the maximum battery current during generating, and separately to do the same for when the motor is motoring. In other words, if the motor produces the same torque as the torque limit the battery current limit for generating or motoring is not exceeded.
(36)
(37)
(38) Prior to limiting the torque, the torque demand limiter in a first block shown in
(39) These limits may be set as shown as a function of the battery voltage-using a map or lookup table (LUT) similar to the one shown in
(40)
v.sub.batti.sub.batt=R.sub.s(i.sub.d.sup.2+i.sub.q.sup.2)+T.sub.mω.sub.m
(41) For a given battery current limit the above equation becomes:
v.sub.batti.sub.max=R.sub.s(i.sub.d.sup.2+i.sub.qmax.sup.2)+T.sub.maxω.sub.m
(42) Expanding the torque, the equation becomes:
v.sub.batti.sub.max=R.sub.s(i.sub.dDem.sup.2+i.sub.qmax.sup.2)+(i.sub.qmaxk.sub.T+i.sub.qmaxi.sub.dDemk.sub.Rel)ω.sub.m
(43) The equation to be solved for motoring is:
P.sub.max=R.sub.s(i.sub.dDem.sup.2+i.sub.qmax.sup.2)+(i.sub.qmaxk.sub.T+i.sub.qmaxi.sub.dDemk.sub.Rel)ω.sub.m
(44) The above equation can be re-arranged in a quadratic equation with one unknown:
R.sub.si.sub.qmax.sup.2+i.sub.qmax(k.sub.T+i.sub.dDemk.sub.Rel)ω.sub.m+R.sub.si.sub.dDem.sup.2−P.sub.max=0
(45) The solution of this equation is:
(46)
where: a=R.sub.s, b=(k.sub.T+i.sub.dDemk.sub.Rel)ω.sub.m and c=R.sub.si.sub.dDem.sup.2−P.sub.max;and k.sub.Rel=−1.5p(L.sub.d−L.sub.q)
(47) These equations can be solved to give the torque T as:
T.sub.max=(i.sub.qmaxk.sub.T+i.sub.qmaxi.sub.dDemk.sub.Rel)
where Vbatt=dc-link/drive stage voltage; Ibatt=battery/power supply current; Rs=equivalent stator resistance; Iq=q axis current; Id=d-axis current; idDem=d-axis current demand; wmech=motor mechanical velocity; kT=permanent magnet torque constant=1.5*p*FluxPM, where p-number of motor pole pairs; FluxPM=permanent magnet flux; kRel=reluctance torque constant.
(48)
v.sub.batti.sub.batt=R.sub.s(i.sub.d.sup.2+i.sub.q.sup.2)+(i.sub.qk.sub.T+i.sub.qi.sub.dk.sub.Rel)ω.sub.m
(49) For generating the equation to solve becomes:
v.sub.batti.sub.min=R.sub.s(i.sub.dDem.sup.2+i.sub.q.sup.2)+(i.sub.qmaxk.sub.T+i.sub.qmaxi.sub.dDemk.sub.Rel)ω.sub.m
(50) Note: this time i.sub.min is negative. Note that in the case of the motor generating an additional input is provided indicative of the maximum electric power regeneration.
(51) The limits for motoring and generating and shown in
(52) Function 2) Torque gradient limit: As well as setting a limit of the maximum current, it is desirable to limit the rate of change of current drawn from or fed back to the motor. The applicant has appreciated that through use of a suitable motor model this can be achieved by limiting the torque gradient.
(53) To understand what is meant by torque gradient,
(54) The provision of the torque gradient limiter has been found by the applicant to be useful where the ability of the electrical supply to deliver high rates of change of current is compromised, as might happen if the battery is partially or fully depleted or becomes disconnected. Its function is to ensure that the rate of change of battery current drawn by the motor (the battery gradient) does not exceed a predefined threshold. This is achieved by limiting the gradient of the torque demand signal.
(55) The gradient limiter block is shown in
(56) Model Error reduction: In addition to limiting the maximum torque demand value and the gradient, the applicant has appreciated that there may be times when the model is insufficiently accurate for the current limit to be achieved by limiting the torque. In a perfect motor, with a perfect model, a torque limit can be set which gives a known current limit. In an imperfect motor or model, the actual current may still exceed the limit. The torque demand limit is an estimated value calculated for static conditions (constant speed and constant current limit) and there is no guarantee that if the actual torque demand is limited to this torque limit, the battery current limit is not exceeded. This is because some of the motor parameters used in this calculation chain are not known very accurately (e.g. due to stator resistance) and because during current ramp-up extra current/power is needed to bring the actual current to the target value.
(57) To accommodate this model error, the apparatus may be configured to monitor the actual motor currents and in the event that these do exceed the limits set may instruct a further reduction in the torque demand limit. This is shown in
(58) Charge excess: Where there is a model error, and the current demand from time to time exceeds the limits, there will be a charge excess which is accumulated over time. This charge excess can be seen in
(59) The charge is defined as the integral of positive battery current error (actual-limit) for motoring and negative battery current error (actual-limit) for generating. The charge is calculated as a moving average over a predefined window (e.g. 1 second) with an update rate of, for example, 50 times/second. This strategy ensures that at any time in the last second (as an example) the battery current limit is not exceeded by the maximum charge limit. If in the next predefined window, no increment in the charge exists, the torque limits reduction factor will be set to unity (no correction needed) as the charge becomes zero.
Q.sub.motor[As]=∫.sub.0.sup.1s(i.sub.batt−i.sub.limmot).Math.[(i.sub.batt−i.sub.limmot)>0]
Q.sub.generator[As]=∫.sub.0.sup.1s(i.sub.batt−i.sub.limgen).Math.[(i.sub.batt−i.sub.limgen)<0]
(60) The apparatus may be arranged to measure this charge excess over time and to apply a charge multiplication factor to the torque demand limit as shown in