Control strategy for a motor of an electric assisted steering system

10549774 ยท 2020-02-04

Assignee

Inventors

Cpc classification

International classification

Abstract

A control strategy for an electric motor of an electric power assisted steering system of the kind in which a control means produces motor current demand signals that are fed to a motor drive means, the demand signals being dependent on the amount of assistance torque demanded from the motor, the motor drive means being arranged to cause currents to flow in each phase of the motor as required to meet the demanded assistance torque, the control strategy comprising limiting the rate of change of current that is drawn from the electrical supply of the vehicle by the motor in the event that it would otherwise exceed a threshold rate of change.

Claims

1. A control apparatus for an electric motor of an electric power assisted steering system in which a control means produces motor current demand signals that are fed to a motor drive means, the demand signals being dependent on the amount of assistance torque demanded from the motor, the motor drive means being arranged to cause currents to flow in each phase of the motor as required to meet the demanded assistance torque, the control apparatus comprising a control circuit having a processor and being configured to limit a rate of change of current that is drawn from an electrical supply of a vehicle by the motor responsive to determining that the rate of change of current that is drawn would otherwise exceed a threshold rate of change, and in which the threshold rate of change of drawn current is a dynamic threshold which varies over time according to one or more operating parameters of the vehicle.

2. The control apparatus according to claim 1 which comprises producing estimates of the rate of change of current drawn by the motor at two or more spaced moments in time, and producing an estimated rate of change of the current drawn by the motor as a function of at least two estimates and an elapsed time between the at least two estimates.

3. The control apparatus according to claim 2 for a drive circuit that uses pulse width modulation to control the current flowing in each phase of the motor, the apparatus comprising using the motor current demand signals together with a signal representative of the duty ratio of the pulse width modulation signal applied to each phase to determine the estimates of the current being drawn, and limiting the rate of change of current drawn by the motor by modifying the motor current demand signals.

4. The control apparatus according to claim 3 in which the estimate of current drawn is derived by the equation:
I=da.Math.Ia+db.Math.Ib+dc.Math.Ic+I.sub.ECU where I is the current estimate; da, db, dc are duty ratios for the pulse width modulation signal for phases a, b and c; Ia, Ib, Ic are demanded phase currents; and I.sub.ECU is an optional offset to account for current drawn by a processing electronic control unit of the motor or other ancillaries.

5. The control apparatus according to claim 4 in which the duty ratios of each phase are sampled at a frequency higher than the frequency at which the current demand signal is updated, and an average duty ratio value is used as the duty cycle values when producing the estimate of current drawn.

6. The control apparatus according to claim 2 in which estimates are produced each time the current demand signal is updated, which is governed by an operating frequency of the control means.

7. The control apparatus according to claim 2 comprising passing the estimated rate of change of current drawn through a low pass filter to produce a filtered value.

8. The control apparatus according to claim 2 which comprises feeding the estimated rate of change of current drawn to a PI or PID controller which is used to modify the motor demand currents using closed loop control.

9. The control apparatus according to claim 1 which comprises causing the control means to produce a motor current demand signal indicative of an ideal motor current required according to the torque demanded from the motor, and modifying the ideal motor current demand signal to produce the current demand signals used to drive the motor by applying a scaling factor to the ideal motor current demand signals when limiting is required.

10. The control apparatus according to claim 1 in which the motor current demand signals comprise d - q current demand components and the apparatus comprises producing from the d - q current demand components together with an estimate of motor position demanded phase currents for each phase in the alpha-beta frame.

11. The control apparatus of claim 1 wherein the one or more operating parameters of the vehicle is selected from the group consisting of one or more of a vehicle speed, a state of charge of a battery of the electrical supply of the vehicle, and an electrical supply voltage.

12. A control apparatus for an electric motor of an electric power assisted steering system in which a control means produces motor current demand signals that are fed to a motor drive means, the demand signals being dependent on the amount of assistance torque demanded from the motor, the motor drive means being arranged to cause currents to flow in each phase of the motor as required to meet the demanded assistance torque, the control apparatus comprising a control circuit having a processor and being configured to limit a rate of change of current that is drawn from an electrical supply of a vehicle by the motor responsive to determining that the rate of change of current that is drawn would otherwise exceed a threshold rate of change, which comprises producing estimates of the rate of change of current drawn by the motor at two or more spaced moments in time, and producing an estimated rate of change of the current drawn by the motor as a function of at least two estimates and an elapsed time between the at least two estimates, a drive circuit that uses pulse width modulation to control the current flowing in each phase of the motor, the apparatus comprising using the motor current demand signals together with a signal representative of the duty ratio of the pulse width modulation signal applied to each phase to determine the estimates of the current being drawn, and limiting the rate of change of current drawn by the motor by modifying the motor current demand signals, and in which the estimate of current drawn is derived by the equation:
I=da.Math.Ia+db.Math.Ib+dc.Math.Ic+I.sub.ECU where I is the current estimate; da, db, de are duty ratios for the pulse width modulation signal for phases a, b and c; Ia, Ib, Ie are demanded phase currents; and I.sub.ECU is an optional offset to account for current drawn by a processing electronic control unit of the motor or other ancillaries.

Description

BRIEF DESCRIPTION OF THE DRAWINGS

(1) FIG. 1 is an overview of a part of a vehicle electrical system showing the connection of an electric power steering system the electrical supply;

(2) FIG. 2 is a schematic representation of the key parts of an exemplary electric power steering system to which the control strategy of the present invention can be applied;

(3) FIG. 3 is a block diagram showing how the control strategy of the present invention is integrated into the control and drive means of the steering system;

(4) FIG. 4 is a block diagram providing an overview of the different steps of the algorithm, the input parameters and the outputs;

(5) FIG. 5 is a representation of one particular exemplary implementation of the strategy illustrated in FIG. 4;

(6) FIG. 6 shows the change in measured battery current over time in response to a demand for a rapid increase in motor torque, and hence current, without the battery current gradient limiter;

(7) FIG. 7 shows the equivalent change when the battery current gradient limiter is active; and

(8) FIG. 8 is an alternative representation of the apparatus illustrating the flow of signals between the various functional parts.

DETAILED DESCRIPTION OF THE INVENTION

(9) As shown in FIG. 1 a vehicle is provided with an electric power assisted steering (EPAS) system that draws current i.sub.battery from the vehicle electrical supply across power rail 2. The supply comprises a battery 3, typically rated at 12 volts DC, which is in turn topped up by an alternator 4. The battery also provides current to other vehicle accessories 5.

(10) The EPAS system 1 is shown schematically in FIG. 2 of the drawings. It includes a steering column 10 attached to a steering wheel 11, a torque sensor 12 which measures the torque applied to the steering column 10 by the driver as they turn the steering wheel, a motor control and drive circuit 13 and an electric motor 14.

(11) The torque sensor 12 may be attached to a quill shaft in series with the column 10, and the motor 14 may act upon the steering column or other part of the steering system, typically through a gearbox 15.

(12) 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.

(13) The three motor stator windings are connected in a star network. The drive circuit part of the control and drive circuit 13 comprises a three phase bridge forming a switching stage. Each arm of the bridge comprises a pair of switches in the form of a top transistor and a bottom transistor connected in series between the battery supply rail 2 and ground line. The motor windings are each tapped off from between a respective complementary pair of transistors. The transistors are turned on and off in a controlled manner by a control and drive circuit to provide pulse width modulation (PWM) of the potential applied to each of the terminals, thereby to control the potential difference applied across each of the windings and hence also the current flowing through the windings which depends on the duty cycle d for each phase a, b or c of the motor. This in turn controls the strength and orientation of the magnetic field produced by the windings, and in turn the motor torque.

(14) The torque signal output from the torque sensor 12 is fed to an input of the motor control means of the control and drive circuit which produces a set of motor current demand signals. The demand signals are in the form of two current demand signals in the d-q axis reference frame. The value of the d axis and q axis demand signals is dependent upon the measured torque and is set according to an assistance torque strategy. This can be implemented using a look up table perhaps stored in a memory of the control means which stores current demand signal values against torque signal values.

(15) The drive circuit converts the d-q axis currents output from the control means into three current demand components in a static reference frame, one for each phase of the motor a, b or c. These demand currents are then converted by the drive circuit, in combination with an estimate of the rotor position, into suitable PWM signals that are supplied to the switching motor phases 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.

(16) Both the control means part and drive circuit part of the control and drive circuit may be implemented using an electronic control unit running software that is stored in an area of memory.

(17) As shown in FIGS. 3, 4 and 8 of the accompanying drawings the control means part of the control and drive circuit also includes a battery current gradient limiting algorithm which in turn has two distinct parts:

(18) 1) An estimator 20 that estimates the battery current gradient, by which we mean the rate of change in the current drawn from the battery by the motor; and

(19) 2) A limiter 30 that limits the rate of change of battery current drawn by the motor if it exceeds a threshold or is within a range of values around a threshold.

(20) The provision of the 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.

(21) The gradient limiter part receives as an input the d-q axis current demands generated by the control means id, iq. It also receives as an input the duty ratio of each phase of the motor drive circuit, and the motor electrical position. The motor position is needed to convert the d-q reference frame demands into the start reference frame of the stator, i.e. to align the stator's electro-magnetic field with the permanent magnets of the rotor in order to generate the demanded torque as the rotor turns.

(22) The d-q axis motor current demand signal is first sampled each time a new value is generated by the control means and converted by the stationary frame according to the expressions:

(23) { I a _ demand = I alpha _ demand I b _ demand = 1 2 ( 3 I beta _ demand - I alpha _ demand ) I c _ demand = - ( I a _ demand + I b _ demand ) { I alpha _ demand = I d _ demand .Math. cos ( predict ) - I q _ demand .Math. sin ( predict ) I beta _ demand = I d _ demand .Math. sin ( predict ) + I q _ demand .Math. cos ( predict )

(24) These values are indicative of the demanded current for each phase. The chosen PWM switching strategy converts these to PWM waveforms with duty ratios da, db and dc. These are then used by the gradient limiting circuit to produce an estimate of the battery current being drawn by the motor using the equation:
I=da_.Math.I.sub.a_demand+db.Math.I.sub.b_demand+dc.Math.I.sub.c_demand+I.sub.ECU
where I battery current estimate;
da, db, dc are the duty ratios for the PWM signal for the phases a, b and c;
I.sub.a_demand, I.sub.b_demand and I.sub.c_demand are the demanded phase currents; and
I.sub.ECU is an optional offset to account for current drawn by the processing ECU.

(25) I.sub.ECU may comprise a component indicative of the current consumed by components of the electric power assisted steering system other than the motor phases. Typically these components include the drive circuit, the control circuit, switches, a power filter and so on. The control circuit is often embodied as a program in an ECU. This component may be a constant that is estimated when the motor is a zero speed and no, or substantially no, current is flowing in the windings.

(26) In a simplest embodiment the demanded duty ratio for each phase is applied directly to the switches of that phase. In some cases, it may be advantageous to calculate modified duty ratios from the demanded duty ratios, by allowing for switching times for the switches in the duty cycle of each state. This is a so called dead-time compensation, the duty cycles being increased or decreased slightly depending on the characteristics of the switch. The modified duty ratio may then be used to calculate average currents.

(27) The preceding calculation is repeated periodically at time intervals t, and from the difference between sequential pairs of estimates a current draw gradient I.sub.bat_gradient is obtained by differentiation, which can be expressed according to the expression:

(28) I bat _ gradient = I battery _ estimated t

(29) This equation is solved each time a fresh set of current demand signal value is produced by the control circuit The demand current values are recalculated every 1 millisecond, but the actual current is measured and the PWM duty cycles adjusted at 5 times this rate. The duty ratio values used in the equations may therefore be averaged values obtained from sampling all five duty ratios over the time period t.

(30) This estimated current draw gradient, which indicates the rate of change of current drawn from the electrical supply by the motor and the ECU, is passed to a filter 40. The estimate of gradient may otherwise be rather noisy as it is a differentiation of the estimated current. The algorithm of this embodiment uses a 2nd order low pass filter consisting of two first order low pass filters connected in series with a 16 millisecond time constant.

(31) The filtered estimated current gradient is subtracted from a gradient limit set point to produce a difference value. The set point represents a peak allowable rate of change of current draw, which may be preset or may be variable depending on the operating parameters of the vehicle such as vehicle speed, rate of acceleration and so on. The difference value will have a positive value if the set point is not exceeded and a negative value if it is exceeded.

(32) The difference value is then fed into a PI controller 50. The PI controller 50 is enabled if the difference value is below a predefined limit, otherwise the PI controller is disabled and no limiting is applied as it is considered to be not required.

(33) The PI controller 50 when enabled outputs a value which is passed through a signal conditioning block to provide a scaling value. This scaling value is applied to the ideal d-q axis motor current demand signal values output from the control circuit to produce a new pair of d-q axis motor current demand signals which are limited so that they do not result in an excess increase in the motor current drawn from the battery.

(34) The gradient limiter therefore limits the rate of change of current that is drawn by the motor from the battery at time where the rate of change would exceed a threshold. The PI controller 50 proportional and integral terms are chosen in such a way that the transients are neither under or over damped during times of limiting, to follow as closely as possible the ideal d-q axis current demand signal values.

(35) FIG. 5 illustrates in more detail, the various stages of the strategy used by the battery gradient estimator and limiter, although it should be understood that this is only an example of one way in which the strategy can be implemented. The limiter runs once a new torque demand is detected (roughly 1 ms). The estimate of battery current gradient is firstly taken from the gradient estimator, which is compared with the predefined limit, I.sub.gradient_lim, which is a tunable variable defining the maximum allowed battery current gradient in A/ms, and is by default set to 0.3 A/ms (300 A/s). If the difference between them is less than the enabling threshold, e.sub.th, another tunable variable, the PI controller is enabled, otherwise the PI controller is reset and no gradient limiting is performed. The output of the PI controller is saturated when it is less than r.sub.lower_lim (a negative quantity) or greater than zero, ranging from r.sub.lower_lim to zero, where r.sub.lower_lim is the lower limit of the controller output and ranges from 1 to 0 and is by default set to 0.5. It is then offset by the addition of 1 to yield the output, r, within r.sub.lower_lim to 1, +0.5 to +1. The limited current demand magnitude, *I.sub.mag_lim, is finally obtained by multiplying r with the original demand magnitude, *I.sub.mag. Note that the PI controller gains, K.sub.p and K.sub.i, are also tunable variables scaled at 1024/1.

(36) FIGS. 6 and 7 illustrate the effect of the battery current gradient limiter for the case where a step change in battery current demand from Zero Amps to 30 Amps is suddenly introduced with the battery gradient limiter not present (FIG. 6) and present (FIG. 7). As can be seen in FIG. 7 the rate of change has been limited and there is no obvious underdamping or overdamping of the current. FIG. 7 shows the case where the gradient limit is set to 100 A/second.

(37) In accordance with the provisions of the patent statutes, the principle and mode of operation of this invention have been explained and illustrated in its preferred embodiments. However, it must be understood that this invention may be practiced otherwise than as specifically explained and illustrated without departing from its spirit or scope.