Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
MOTOR CONTROL
Document Type and Number:
WIPO Patent Application WO/2014/135885
Kind Code:
A2
Abstract:
A motor drive circuit comprises a motor having a plurality of phases, a switching circuit comprising a plurality of electrical switches, a motor current controller that generates voltage demand signals to be passed to a drive circuit for the switches that in turn generate pulse width modulated switching signals for the switching circuit that cause the switches to selectively connect the phases to a power supply so as to cause current to flow through the phases of the motor, and a motor torque controller that produces a demand signal that is fed to an input of the current controller, the motor current controller responding to an error signal that is at least partially dependent on the value of the demand signal. The torque controller in use updates the demand signal at a first sample rate. The motor drive circuit further comprises a downsampling circuit that in use modifies the demand signal under certain operating conditions so that the demand signal is only updated at a second sample rate that is lower than the first rate.

Inventors:
PRAHLAD NIKHIL (GB)
Application Number:
PCT/GB2014/050668
Publication Date:
September 12, 2014
Filing Date:
March 06, 2014
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
TRW LTD (GB)
International Classes:
H02P23/00
Foreign References:
JP2010069975A2010-04-02
US20070073462A12007-03-29
US20070107978A12007-05-17
Attorney, Agent or Firm:
BARKER BRETTELL LLP (EdgbastonBirmingham, West Midlands B16 8QQ, GB)
Download PDF:
Claims:
CLAIMS

1. A motor drive circuit comprising a motor having a plurality of phases, a switching circuit comprising a plurality of electrical switches, a motor current controller that generates voltage demand signals to be passed to a drive circuit for the switches that in turn generate pulse width modulated switching signals for the switching circuit that cause the switches to selectively connect the phases to a power supply so as to cause current to flow through the phases of the motor,

a motor torque controller that produces a demand signal that is fed to an input of the current controller, the motor current controller responding to an error signal that is at least partially dependent on the value of the demand signal,

in which the torque controller in use updates the demand signal at a first sample rate, and characterised in that the motor drive circuit further comprises:

a downsampling circuit that in use modifies the demand signal under certain operating conditions so that the demand signal is only updated at a second sample rate that is lower than the first rate .

2. A motor drive circuit according to claim 1 in which the torque controller outputs discrete demand signal values at a frequency corresponding to the first rate of updating, and continues to output discrete torque or current demand signals at this frequency when the demand signal is updated at the second, lower, rate.

3. A motor drive circuit according to claim 1 or claim 2 in which the second, lower, update rate, is an integer multiple N of the first update rate.

4. A motor drive circuit according to any preceding claim in which the demand signal is representative of the torque that is to be produced by the motor.

5. A motor drive circuit according to any one of claims 1 to 3 in which the demand signal comprises a current demand value expressed in a rotating d-q frame that rotates with the motor rotor.

6. A motor drive circuit according to any preceding claim in which the downsampling circuit includes a system condition identifying circuit adapted to identify an operating condition of the system in which the motor is stationary or rotating at a very low speed, the second rate being used when that certain operating condition is identified.

7. A motor drive circuit according to any preceding claim in which the downsampling circuit comprises a sample and hold circuit which receives the demand signal having the first rate and is adapted to sample the demand signal at the second rate, the sample and hold circuit holding the sampled value at its output between taking samples, and in which the output of the sample and hold circuit in turn is sampled at the first rate to produce a downsampled demand signal is fed into the current controller.

8. A motor drive circuit according to any preceding claim in which the second rate is a fixed rate. 9. A motor drive circuit according to any preceding claim in which the second rate is a variable rate, the circuit being adapted to vary the rate in response to one or more signals indicative of the operating condition of the drive circuit.

10. A motor drive circuit according to claim 9 in which the signals indicative of the condition comprise a motor velocity signal such that the second rate varies in dependence on the motor velocity.

1 1. A motor drive circuit according to claim 10 in which the second rate is increased in steps until the motor velocity reaches a predetermined threshold velocity, at which point the downsampling circuit will consider that the certain operating condition is no longer met and the torque demand signal will revert to the first rate.

12. A motor drive circuit according to any preceding claim that forms a part of an electric power assisted steering system in which a motor applies torque to a part of the steering system to help a driver turn a steering wheel, and in which the torque controller is arranged to receive at first input a signal indicative of the torque applied to a steering wheel and at a second input a signal indicative of the torque carried by a part of a steering system downstream of the motor, and in which the torque controller passes the two torque signals through an algorithm to produce the torque demand signal.

13. A method of controlling a motor drive circuit of the kind comprising a motor having a plurality of phases connected together in a star or delta configuration, a switching circuit comprising a plurality of electrical switches arranged in a bridge, a motor current controller that generates voltage demand signals to be passed to a drive circuit for the switches that in turn generate pulse width modulated switching signals for the switching circuit that cause the switches to selectively connect the phases to a power supply so as to cause current to flow through the phases of the motor, a motor torque controller that produces a demand signal that is fed to an input of the current controller, the motor current controller responding to an error signal indicative of the difference between the demand signal and an actual motor current value indicative of the actual current flowing in the motor,

in which the method comprises updating the demand signal at a first sample rate and downsampling the demand signal under certain operating conditions so that the demand signal is only updated at a second sample rate that is lower than the first rate .

Description:
MOTOR CONTROL

This invention relates to improvements in motor control circuits, and in particular to pulse width modulation (PWM) control of multiple phase brushless motors in electric power assisted steering systems.

Control systems for PWM controlled electric motors, especially DC motors, generally need to measure the current flowing through the windings or phases of the motor and this can either be done by means of separate current sensors for each of the phases, or by means of a single current sensor that is placed in the circuit so as to measure the total instantaneous current flowing between a D.C. power supply and the bridge circuit and motor combination. In a single current sensor system, the multiple motor phase currents are derived by offsetting the PWM patterns of the switches which apply the required voltage to each phase, and sampling the current sensor at appropriate points.

The value of the current demanded in an electric power assisted steering system is generated as a function of the torque demanded from the motor. The torque demand signal is a principally a measure of the amount of torque the motor should produce at a given time.

The measured currents are typically converted into a rotating d-q frame which rotates with the rotor, and then combined with the current demand signal, also in the d-q frame, indicative of the current that is demanded from the motor, to produce a current error signal.

The error signal represents the difference between the current that is demanded in order to achieve a desired torque and the actual current flowing in the motor. The error signal is fed to a current controller which produces a set a voltage demand signal, also typically in the d-q frame, representative of the voltage to be applied to each phase of the motor that will best drive the error signal towards zero. The d-q voltage signal is then converted into PWM signals for the motor phases depending on which PWM strategy is used. The controller therefore acts to vary the PWM phase voltages in order to try to constantly minimise the magnitude of the error signal thereby ensuring that the motor current is as close as possible to the demanded current.

In a practical system the current controller will comprise a PI or PID or other type of feedback controller. The function of the current controller is to modify the voltages applied to the motor with an aim of keeping the error signal value as small as possible. The controller forms a closed loop.

Motors are used in a wide range of application, and one particular application relevant to this invention is electric power assisted steering systems. In a typical electric power assisted steering system an electric motor is connected to a steering column or steering rack. The torque applied to the steering column by a driver turning a steering wheel is measured or estimated. Around the current controller the demand signal is produced by a torque controller, which forms another closed loop with a measurement or estimate of the torque in the steering downstream, of the motor as one input and the torque applied to the steering wheel as another. The controller calculates a demand signal that is indicative of an amount of assistance torque that is required from the motor to help the driver turn the wheel. For example, if the motor applies a torque that turns the column in the same direction as the driver applied torque it will have the effect of making the steering easier to turn. The value of the demand signal is calculated by the torque controller using an appropriate algorithm and many different algorithms are known in the art. For example, one algorithm that is incorporated herein by reference is disclosed in patent application (reference). The demand signal may be expressed in terms of a torque value, or in terms of currents in the d-q frame of reference.

Motor drive circuits using feedback control and PWM are well known in the art. For example WO2006005927, discloses a typical system and the teaching of that document is incorporated herein by reference. The general layout of the control system is shown in Figure 2 of the drawings.

According to a first aspect the invention provides a motor drive circuit comprising a motor having a plurality of phases, a switching circuit comprising a plurality of electrical switches arranged in a bridge, a motor current controller that generates voltage demand signals to be passed to a drive circuit for the switches that in turn generate pulse width modulated switching signals for the switching circuit that cause the switches to selectively connect the phases to a power supply so as to cause current to flow through the phases of the motor,

a motor torque controller that produces a demand signal that is fed to an input of the current controller, the motor current controller responding to an error signal that is at least partially dependent on the value of the demand signal,

in which the torque controller in use updates the demand signal at a first sample rate, and characterised in that the motor drive circuit further comprises:

a downsampling circuit that in use modifies the demand signal under certain operating conditions so that the demand signal is only updated at a second sample rate that is lower than the first rate .

The applicant has appreciated that in certain applications, such as electric power steering, under loaded conditions with the column stationary it is possible that a very high level of haptic and acoustic noise may be present. The applicant has gone further to appreciate that noise in the demand signal can be a cause of this noise and this is often due to errors in the output signal from the torque sensor. The motor drive circuit of the present invention reduces the update rate of the demand signal when an operating condition that may cause noise to be present (or at least a condition in which the noise will be felt or heard) and feeds this reduced rate signal to the current controller, effectively reducing the bandwidth of the demand signal fed to the current controller so that noise is not passed through the controller. The torque controller may output discrete demand signal values at a frequency corresponding to the first rate of updating, and may output discrete torque demand signals at this frequency when the demand signal is updated at the second, lower, rate. By discrete values we may mean that the torque demand signal comprises a stream of digitised values, each value being produced at the first rate. Alternatively it may be a continuous analogue signal that is updated at the first rate .

The second, lower, update rate, may be an integer multiple of the first update rate . Therefore, if the first rate corresponds to the signal being updated every N seconds, where N is typically less than 0. 1 or 0.01 seconds or lower, the second rate may correspond to an update every N*M seconds, where M is an integer greater than 1 , such as 2, 3 or 4 or 5 or more . Samples will still be output at the rate of N per second, but M samples in a row will have the same value . For instance, if M is 4, every 4 samples in a row will have the same value, the value being updated and the next 4 will have the same value, and so on.

The demand signal may have a value representative of the torque that is to be produced by the motor. Alternatively, the demand signal may comprise a current demand signal having a value representative of current expressed in a rotating d-q frame that rotates with the motor rotor. The d-q current demand signal will in effect be representative of the torque demanded of the motor, albeit expressed as a current. The downsampling of the present invention may be applied to the torque demand signal prior to any conversion to the d-q axis current reference .

The error signal used by the current controller may have a value indicative of the difference between the current demanded from the motor and the actual current in the motor.

The downsampling circuit may include a system condition identifying circuit adapted to identify an operating condition of the system in which the motor is stationary or rotating at a very low speed, the second rate being used when that certain operating condition is identified.

The downsampling circuit may comprise a sample and hold circuit which receives the torque demand signal having the first rate and is adapted to sample the torque demand signal at the second rate, the sample and hold circuit holding the sampled value at its output between taking samples, and in which the output of the sample and hold circuit in turn is sampled at the first rate to produce a downsampled torque demand signal is fed into the current controller. The second rate may be a fixed rate used when the operation condition is met. For instance it may be a fixed integer fraction of the first rate .

Alternatively, the second rate may be varied by the downsampling circuit in response to one or more signals indicative of the operating condition of the drive circuit. The signals indicative of the condition may comprise a motor velocity signal such that the second rate varies in dependence on the motor velocity.

For example, the second rate may be lower when the motor velocity is zero, or close to zero, than the second rate when the motor velocity is higher.

The second rate may be varied in two, three or four or more steps until the motor velocity reaches a predetermined threshold velocity, at which point the downsampling circuit will consider that the certain operating condition is no longer met and the torque demand signal will revert to the first rate. The downsampling may vary in steps from a fourth, a third to half of the first rate .

The drive circuit may form a part of an electric power assisted steering system in which a motor applies torque to a part of the steering system to help a driver turn a steering wheel, and in such a system the torque controller may receive at first input a signal indicative of the torque applied to a steering wheel and at a second input a signal indicative of the torque carried by a part of a steering system downstream of the motor. The torque controller may pass the two torque signals through an algorithm to produce the torque demand signal.

The current controller may comprise a PID type controller which includes one or more gain terms that set the bandwidth of the controller.

The torque controller may also comprise a closed loop controller of the PID type, such as a PI controller. The current control loop may be nested inside the torque control loop.

According to a second aspect the invention provides a method of controlling a motor drive circuit of the kind comprising a motor having a plurality of phases connected together in a star or delta configuration, a switching circuit comprising a plurality of electrical switches arranged in a bridge, a motor current controller that generates voltage demand signals to be passed to a drive circuit for the switches that in turn generate pulse width modulated switching signals for the switching circuit that cause the switches to selectively connect the phases to a power supply so as to cause current to flow through the phases of the motor, a motor torque controller that produces a demand signal that is fed to an input of the current controller, the motor current controller responding to an error signal indicative of the difference between the demand signal and an actual motor current value indicative of the actual current flowing in the motor,

in which the method comprises updating the demanded motor torque signal at a first sample rate and downsampling the torque demand signal under certain operating conditions so that the torque demand signal is only updated at a second sample rate that is lower than the first rate. The demand signal may be a current demand signal, allowing a direct comparison with the actual current to be made as the source of the error signal. Alternatively it may be a torque demand signal from which the current demand signal can be derived using knowledge of the motor behaviour and motor rotor position. There will now be described, by way of example only, one embodiment of the present invention with reference to the accompanying drawings of which:

Figure 1 is a circuit diagram for a three phase brushless DC motor and switching circuit that forms a part of an embodiment of a motor drive circuit of the invention;

Figure 2 is an overview of the whole drive circuit incorporated into an electric power assisted steering system;

Figure 3 is a block diagram showing the flow of noise through the controller of the drive circuit of Figure 2 caused by a noisy torque signal;

Figure 4 is a plot of amplitude against time showing the torque demand signal when updated at a first rate (diamonds) and downsampled by a factor of four to a second rate (crosses) which is output from the torque controller;

Figure 5 is a comparison of the variation in original torque demand signal at the first rate and downsampled signal over time; Figure 6 is a plot of torque demand signal amplitude against frequency showing a fundamental frequency present in the original signal at the first rate aliased to a second, higher, frequency in the signal at the second rate; and Figure 7 a block diagram showing in detail the downsampling circuit that varies the downsampling rate with motor velocity to ensure that the aliased frequencies lie outside of the bandwidth of the controller.

Referring to Figure 1 a three phase brushless motor 1 comprises three motor windings 2, 4, 6, generally designated as phases A, B and C, connected in a star network. One end of each coil is connected to a respective terminal. The other ends of the coils are connected together to form the star centre 7. The free ends are connected to a switching circuit arranged as an H-bridge. The switching circuit comprises a three phase bridge 8, one for each phase of the motor. Each arm 10, 12, 14 of the bridge comprises a pair of switches in the form of a top transistor 16 and a bottom transistor 18 connected in series between a supply rail 20 and ground line 22. The motor windings 2, 4, 6 are each tapped off from between a respective complementary pair of transistors 16, 18.

The transistors 16, 18 are turned on and off in a controlled manner by a motor controller 21 , which is shown in detail in Figure 3 of the drawings, to provide pulse width modulation of the potential applied to each of the phase windings, thereby to control the potential difference applied across each of the windings 2, 4, 6 and hence also the current flowing through the windings. This in turn controls the strength and orientation of the magnetic field produced by the windings, which sets the torque produced by the motor.

A current measuring device in the form of a resistor 24 is provided in the ground line 22 between the motor 1 and ground so that the controller 21 can measure the total current flowing though all of the windings 2, 4, 6. In order to measure the current in each of the windings the total current has to be sampled at precise instances within the PWM period where the voltage applied to each terminal of the winding (and hence the conduction state of a particular phase) is known. If preferred a separate current sensor could be provided for each phase . The controller in this example uses a Space Vector Modulation (SVM) algorithm although any modulation technique can equally be used within the scope of the present invention and this should not be construed as limiting. Each winding 2, 4, 6 in a three phase system can only be connected to either the supply rail 20 or the ground line 22 and there are therefore eight possible states of the switches of the control circuit. Using 1 to represent one of the phases being at positive voltage and 0 to represent a phase connected to ground, state 1 can be represented as [ 100] indicating phase A at 1 , phase B at 0 and phase C at 0, State 2 is represented as [ 1 10], state 3 as [010], state 4 as [01 1], state 5 as [001], state 6 as [ 101], state 0 as [000] and state 7 as [ 1 1 1] . Each of states 1 to 6 is a conducting state in which current flows through all of the windings 2, 4, 6, flowing in one direction through one of them and in the other direction through the other two. State 0 is a zero volt state in which all of the windings are connected to ground and state 7 is a zero volt state in which all the windings are connected to the supply rail.

During normal operation when the switching circuit is being controlled by the controller 21 to produce pulse width modulation, each of the phases 2,4,6 will normally be turned on and off once in each PWM period. The relative lengths of time that are taken up in each state will determine the magnitude and direction of the magnetic field produced in each winding, and hence the magnitude and direction of the total torque applied to the rotor.

The motor control circuit of Figures 1 and 2 can be used in many applications, and in this embodiment forms part of an electric power steering system. The steering system includes a torque sensor 26 that measures the torque in a steering column, and feeds this to a torque controller. The torque controller calculates a torque demand signal that is indicative of the torque that is to be produced by the motor. The torque demand signal comprises a series of discrete values, output at a sample rate of M samples per second. This signal is converted into a current demand signal in the rotating -q frame according to the angular position of the motor rotor.

The current controller causes the motor to operate and provide the demanded torque . This torque is applied by the motor to the steering system, making it easier for a driver to turn the steering wheel. The system therefore has two closed loops- the torque controller loop and the current controller loop

As shown best in Figure 3, the current controller feeds the current demand signal into a subtractor 32 along with a measure of the actual current flowing in the motor, expressed in the d-q frame and derived from the output of the current sensor 24. The output of the subtractor is an error signal indicative of the difference between the demanded d-q current and the actual measured d-q current. The error signal is fed to the input of a proportional-integral (PI) controller stage 34 that converts the current error signal which is in the d-q frame into a voltage signal in the d-q frame, and this is then converted into three phase voltages UVW by a dq-UVW converter 36. This is then converted into the required PWM voltage signals for each phase using the chosen SVM modulation technique by a PWM converter. The controller constantly attempts to drive the error signal to zero, which ensures that the current in the motor phases matches the demanded current.

In a practical system, the outer steering (torque) loop will produce updated torque demand signal values at a rate M that is lower than the rate at which the current controller operates. The update rate of the demand signal during normal operation is M samples per second, where M determines a first sample update rate .

As shown in Figure 5, the torque controller includes a downsampling circuit which is operable under certain operating conditions of the motor to downsample the torque demand signal, i.e. to provide a torque demand signal in which the values are update at a lower, second, rate M N, where N is typically an integer value. This downsampled torque demand signal is then used by the current controller.

The downsampling circuit receives at an input a measure of motor velocity, and determines that he motor is in the certain condition where downsampling is beneficial when the motor velocity is below a threshold level, for example a velocity of 5mph or 2mph.

The benefit of this approach is that high frequency components of the noise, generally anything above 40Hz for example as any noise below that will typically be road noise caused as the vehicle drives along a road- will not be passed through to the current controller at the low or zero velocities. This helps to reduce the effects of this high frequency noise, such as acoustic noise which may arise if the current controller reacts to the noise . Downsampling effectively reduces the bandwidth but is beneficial compared with alternative bandwidth reducing circuits using filters. Phase lag of the system is not compromised as much as if a straight forward filter was used therefore the effect on the stability of the system is reduced.

The applicant has found that at the first rate the noise floor gets amplified within the control loop, but the transmission path plays an important part in exaggerating the noise . Under no load conditions - the motor is still susceptible to noise but at a slightly lower gain from the controller (high frequency path gain of the torque controller is pretty constant under these conditions). The downsampling of the torque demand signal from the first rate to a second, lower rate, effectively reduces the bandwidth of the signal without introducing any lag (only a small fixed lag) in the signal. This reduces the band of noise the system is exposed to while introducing only minimal effective delay unlike traditional filtering methods which introduce dynamic delays.

It is notable that the functions which utilizes these signals within the current controller are still running at their normal rates- receiving torque demand signals at the first rate even though they change in value at the lower second rate under certain conditions- which means that even though the signal is static the function still uses the value for calculations. i.e. the function would see the same value for multiple iterations before seeing a change as shown in Figure 4. For a signal sampled at 1 ms with a downsample factor of 4, there would be 4 constant values before a new value is updated, or the bandwidth gets reduced by a factor of 4 from 1 Khz to 250 Hz. This is shown in Figure 4.

As seen in Figure 5 , this prevents the signal from varying at higher rates than the downsampled bandwidth. But this introduces the problem of aliasing, as the motor now gets bigger steps when rotating, this manifests as a high frequency noise in the system. The theoretical explanation is provided in the sections that follow. Down sampling the output on the interface with the motor reduces the bandwidth. This gives possibility of higher amplitude aliased content which owing to the higher bandwidth of the motor could cause unexpected behaviour. The design was augmented to reduce the motor bandwidth sufficiently to attenuate the aliased content but still keep enough bandwidth to allow for the controller to act without any lag in the active dynamic region of the electro mechanical system which typically, in a steering system, has a bandwidth of around 50Hz.

Figure 5 shows the effect of downsampling on the high frequency noise on the torque signal, the high frequency noise is substantially reduced with only minimal delay in the signal.

Although the downsampling provides a very clean time domain signal as seen in the previous diagram, it introduces other problems in the frequency domain. Downsampling the signal may produce aliasing - when a signal is downsampled the frequency band which the signal has content is reduced. This would be fine if the signal was only used at the rate it was sampled, but since the execution rate remains (the first rate) the input to the current controller sees the same value multiple times which in terms of frequency content manifests as reflected spectral content. This is shown in Figure 6.

To overcome possible problems caused by aliasing, the drive circuit of this embodiment uses a high quality, low noise, velocity signal fed into the downsampling circuit to cause the circuit to ramp in and out of down sampling.

Figure 7 shows the strategy used to vary downsampling rate with motor velocity. The downsampling is achieved by feeding the torque demand signal at the first rate into a sample and hold circuit, the output of which is sampled at the first rate and the sample and hold circuit holding a value at the second rate . The sample and hold circuit effectively captures the value of the torque demand signal and holds it for an integer number of samples, say 2 samples if the second rate is half the first rate, or 3 samples if the second rate is a third of the first rate. With variable downsampling the rate at which the sample and hold circuit samples and holds the input signal is varied. The applicant has appreciated that dynamics are only introduced when the column is rotating; if the down sampling is backed off to a lower value when the column is rotating would prevent the motor from reacting to the high frequency reflected spectra.

The velocity signal is produced using an algorithm that uses the time elapsed for a fixed position change of the motor to determine velocity, in this case the lowest possible position change that can be measured(i.e. motor electrical position ) was used. The amount of downsampling applied has three possible levels and the velocity signal calculated is used to transition between the different levels. For purposes of development for different front axle loads, both the amount of downsampling possible at each level and the velocity thresholds are kept tuneable .

For example, if a position change of 7.5 Electrical degrees (minimum resolution in position possible) happened in ΔΤ, the velocity of the signal was calculated as Velocity(electrical degrees/s) = Motor electrical resolution/ (ΔΤ) .

= 7.5/ (ΔΤ) .

The different Motor velocity levels and the corresponding downsampling levels are shown in the table below,

Down sampling of the signals through the system provides a good improvement to the overall noise levels in the system under rumble conditions - this does produce some unwanted side effects in aliasing but can be contained with a corresponding setting in the motor control loop.