Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
CURRENT SENSOR ERROR COMPENSATION
Document Type and Number:
WIPO Patent Application WO/2011/107773
Kind Code:
A2
Abstract:
A control system for an electric motor comprises a current sensing means arranged to produce a current sensing output indicative of electric current in the motor, current control means arranged to receive the current sensing output and to output a voltage demand indicative of voltages to be applied to the motor, and current sensing correction means arranged to monitor the voltage demand to measure distortion in the current sensing output and to generate a correction signal which is arranged to correct the distortion.

Inventors:
WILLIAMS CONNEL BRETT (GB)
DIXON CHRISTOPER DAVID (GB)
HUXFORD ROBERT JAMES (GB)
Application Number:
PCT/GB2011/050303
Publication Date:
September 09, 2011
Filing Date:
February 16, 2011
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
TRW LTD (GB)
WILLIAMS CONNEL BRETT (GB)
DIXON CHRISTOPER DAVID (GB)
HUXFORD ROBERT JAMES (GB)
International Classes:
H02P21/00
Foreign References:
JP2009254032A2009-10-29
JP2007306694A2007-11-22
JPH0956198A1997-02-25
Other References:
None
Attorney, Agent or Firm:
BARKER BRETTELL LLP (Edgbaston, Birmingham West Midlands B16 8QQ, GB)
Download PDF:
Claims:
CLAIMS

1. A control system for an electric motor, the system comprising a current sensing means arranged to produce a current sensing output indicative of electric current in the motor, current control means arranged to receive the current sensing output and to output a voltage demand indicative of voltages to be applied to the motor, and current sensing correction means arranged to monitor the voltage demand to measure distortion in the current sensing output and to generate a correction signal which is arranged to correct the distortion.

2. A control system according to claim 1 for a motor having stationary windings and a rotor which rotates relative to the windings , wherein the current sensing means comprises a current sensor arranged to measure current in the motor windings and transformation means arranged to transform the measured current into the frame of reference of the rotor.

3. A control system according to claim 1 or claim 2 wherein the current control means is arranged to output the voltage demand so as to define a demanded voltage in a frame of reference which rotates.

4. A control system according to any foregoing claim wherein the correction means is arranged to identify a component of the demanded voltage having a frequency equal to that of the distortion, and to measure the magnitude of that component to measure the harmonic distortion.

5. A control system according to claim 4 wherein the correction means is arranged to transform the demanded voltage so that the identified component becomes a DC component, and to measure the magnitude of the DC component.

6. A control system according to claim 4 or claim 5 wherein the correction means is arranged to generate the correction signal so as to reduce the identified component. 7. A control system according to any foregoing claim wherein the correction means is arranged to combine the correction signal with the current sensing output to produce a corrected current sensing output.

8. A control system according to any of claims 1 to 6 wherein the current sensing means includes a current sensor and the correction means is arranged to input the correction signal to the current sensor to adjust a parameter of the current sensor.

9. A control system according to any foregoing claim which is arranged to correct a plurality of components of distortion.

10. A control system according to claim 9 wherein the components of distortion are harmonics having different frequencies and/or different signs.

11. A control system substantially as described herein with reference to any or more of the accompanying drawings.

Description:
Current Sensor Error Compensation

Field of the Invention

The present invention relates to the control of electric motors, and in particular to measurement of current in electric motors and the control of electric motors based on current measurement.

Background to the Invention

A closed loop current controller for an electric actuator typically takes the form shown in Figure 1 , where, using vector control, a voltage is applied to each phase winding of the motor and the resultant generated currents measured. The measured currents are then used by a controller, typically a PI, to control to the requested target current. A signal which gives the electrical position of the motor is also required so that the voltages can be applied at the correct phases at the correct times. In the system of Figure 1 a position sensor is shown but the present invention is equally applicable to a position sensorless system, where the position signal is estimated from other sensor measurements. Due to inaccuracies and limitations of the current sensor the measurement process can introduce harmonics into the output signal of the current sensor that are not present in the currents that are being measured. The current controller then reacts to these harmonics in the sensor output to try to remove them, but their removal by the current controller, to give a smooth output from the current sensor, causes the actual currents to contain these harmonics.

Depending on the frequency and amplitude of these unwanted harmonics the torque produced by the motor can be degraded, with the harmonics potentially causing torque ripple and / or acoustic noise. CURRENT MEASUREMENT

Typically two methods of phase current measurement are employed:

1. Phase current sensors , where a current measurement device is placed in each of the phases . (For a three phase system it may be that only 2 phases are measured as the 3 rd phase can be calculated from the 2 measured phases)

2. Single current sensor, where the current flowing in the DC link is measured at specific points during the PWM duty cycle to allow the current in the 3 phases to be calculated.

The harmonics introduced will be different, depending on the phase current measurement method used. The present invention is applicable to any harmonic introduced by measurement inaccuracies .

EFFECT OF CURRENT MEASUREMENT ERROR

The effect of a distortion on the feedback measurement signal in any closed loop system is well known from standard control theory. The effect is described explicitly below for the case of a motor current controller.

The distortion on the current measurement appears as an unknown disturbance on the current feedback path as shown in Figure 2. The disturbance will add harmonics to the 'measured current' signal from the sensor. If these disturbance harmonics fall within the bandwidth of the current controller, the current controller will act to reject them by modulating the control (voltage demand) signal in order to cancel them out. This modulation will cause the harmonics to appear on the actual phase currents , even though the harmonics are no longer present in the measured phase current signals . This will lead to unwanted torque ripple at the motor output shaft.

Summary of the Invention

The present invention provides a control system for an electric motor, the system comprising a current sensing means arranged to produce a current sensing output indicative of electric current in the motor, current control means arranged to receive the current sensing output and to output a voltage demand indicative of voltages to be applied to the motor, and current sensing correction means. The correction means may be arranged to monitor the voltage demand. The correction means may be arranged to measure distortion in the current sensing output, by any appropriate means, and to correct the distortion, for example by generating a correction signal. The correction signal may be arranged to correct the current sensing output.

The distortion may be of one or more specific frequencies which may be one or more harmonics of the motor speed and therefore variable with the motor speed, or may be fixed frequencies which are independent of motor speed.

The motor may have stationary windings and a rotor which rotates relative to the windings . The current sensing means may comprise a current sensor arranged to measure current in the motor windings. The current may be measured as two components in the frame of reference of the windings . The current sensing means may comprise transformation means arranged to transform the measured current into the frame of reference of the rotor, for example as torque-generating and non-torque- generating components. The current control means may be arranged to output the voltage demand so as to define a demanded voltage in a frame of reference which is stationary, which may be the frame of reference of the windings and defined, for example, as a and β components , or in a rotating frame of reference, which may be the frame of reference of the rotor, and defined, for example, as D and Q axis components.

The correction means may be arranged to identify a component of the demanded voltage having a frequency equal to that of the distortion, which may be a harmonic distortion, and to measure the magnitude and phase of that component to measure the distortion.

The correction means may be arranged to transform the demanded voltage, for example using a frequency transformation, so that the identified component becomes a DC component, and to measure the magnitude of the DC component. The correction means may be arranged to generate the correction signal so as to reduce the identified component.

The correction means may be arranged to combine the correction signal with the current sensing output to produce a corrected current sensing output. Alternatively the current sensing means may include a current sensor and the correction means may be arranged to input the correction signal to the current sensor to adjust a parameter of the current sensor. The control system may be arranged to correct a plurality of components of distortion. For example the components of distortion may be harmonics having different frequencies and/or different signs.

Preferred embodiments of the present invention will now be described by way of example only with reference to the accompanying drawings . Figure 1 is a diagram of a known closed loop current control system for a motor;

Figure 2 is a diagram showing how current measurement error affects the system of Figure 1 ;

Figure 3 is a diagram of a closed loop current control system for a motor according to an embodiment of the invention; Figure 4 is a diagram of a synchronous filter forming part of the system of Figure 3 ;

Figure 5 is a diagram of a filter arrangement similar to that of Figure 4 but with a further filter component;

Figure 6 is a diagram of part of the system of Figure 3 arranged to correct D and Q axis current measurements ;

Figure 7 is a diagram of part of a system of a further embodiment arranged to correct operation of the current sensor directly.

Figure 8 is a diagram of a control system according to a further embodiment of the invention. Description of the Preferred Embodiments

Referring to Figure 3 a motor 10 is controlled by a closed loop motor current control system according to an embodiment of the invention comprises a current sensing system 12 and a current controller 20. A current sensing system 12 comprises a current sensor 14 arranged to measure the currents i 0 , i v , i w in the three phases of the motor, which comprise stationary windings , and output a signal indicative of the current vector in the stationary coordinates having a and β components. The current sensing system further comprises a coordinate transformation block 16 arranged to convert the current vector from the a and β components in the stationary reference from, to D and Q components i D and i Q defining the current vector in the rotor reference frame, which rotates relative to the fixed windings , with the Q axis current being the torque generating component and the D axis current being non-torque- generating. A comparator 18 receives the D and Q currents from the current sensing system 12 and compares them with demanded D and Q current components to generate an error. A current controller 20 receives the current error and outputs a demanded voltage vector, in the form of a D and Q axis voltage demand V DQ calculated to reduce the current error so that the measured current vector approaches the demanded current vector. A further transformation block 22 receives the voltage demand from the current controller and converts it to a and β components V a which are input to a PWM driver 24 which is arranged to control a number of switches to apply voltages to the phase windings of the motor in a PWM pattern which produces the net voltage in the windings having a magnitude and direction corresponding to the voltage demand vector.

The current sensor 14 in this system produces harmonic interferences as described above. The current measurement error is not observable in the current error signal input to the controller 20. However, if the disturbance harmonic falls within the bandwidth of the current controller 20 it will be observable on the controller (voltage demand) signal output from the current controller 20.

The control system is therefore arranged provide a harmonic compensation function. To achieve this it is arranged to monitor the voltage demand, in this case by monitoring V DQ , to measure the harmonic interference, and apply a correction to the current measurement signal output from the current sensor 14 such that the measurement error is removed. The compensation process that the control system is arranged to perform can be broken down into three steps : 1. Isolation - Monitoring the voltages demanded by the current controller 20 and isolating the unwanted frequencies .

2. Control - Generating a control (cancellation) signal arranged to reduce the unwanted harmonics to zero.

3. Correction - Applying the control (cancellation) signal to the current measurement system in a closed loop.

ISOLATION

Although a number of techniques may be used to isolate the unwanted harmonics , such as a runtime Fast Fourier Transform or notch filter, the approach used in this embodiment is to use a synchronous filter that is arranged to transform the control voltage demand to the isolation frequency reference frame. This allows the unwanted harmonic, which is in this case assumed to be a single harmonic of known frequency, to be isolated simply.

Figure 4 shows one implementation of a synchronous filter 40, which receives as inputs the current controller output voltage demand V DQ , the motor electrical position Θ and the harmonic k (relative to the motor electrical frequency) to be isolated. Note that k can be positive or negative depending on whether the targeted harmonic is a positive or negative sequence component (i.e. whether it travels in the same direction as the rotor or the opposite direction) . The transformation e Jk9 performed by the filter 40 is defined as: where u(t) is the input to the filter 40, y(t) is the output, and Θ is the electrical position of the motor.

The transformed signal output by the synchronous filter 40 will contain DC and AC components . The DC component is the quadrature component of the target harmonic. The AC components are caused by all of the other harmonics in the original signal. If the DC component is zero then the isolation frequency is not present in the current controller output voltages. As shown in Figure 5 , if necessary a filter 50 may be added to the control path at the output of the synchronous filter 40 to help to attenuate the unwanted AC components so that the DC component can be more easily isolated.

Although this technique has been described in relation to the removal of harmonics associated with the motor electrical frequency it may be also be used to remove fixed frequency distortion. In this situation the angular input is generated at a fixed frequency and not derived from the motor electrical position.

CONTROL

As previously described with reference to Figures 4 and 5 , the synchronous filter 40 produces a signal where the DC component is the magnitude of the unwanted harmonic. If the DC component is zero then the harmonic is not present.

The aim of the control step of the process is therefore to generate a correction signal (s) which can be fed back into the current sensing system to reduce the DC component of the synchronous filter output to zero. A number of controllers may be used to perform this step, but the preferred solution is a controller of the standard PID form. CORRECTION

Referring back to Figure 3 , once the required control action has been calculated the corrective action must be applied to the current sensing system. This can be achieved in a number of ways including:

1. Apply a sinusoidal correction to the current measurement, i.e. to the current sensor output, in anti-phase with the unwanted harmonic to cancel out the harmonic.

2. Modify the current measurements directly (for example to compensate for a gain or offset measurement error)

Solution 1 is suitable for most or all situations and has the advantage that it is inherently linear. Solution 2 is most suitable when there is a monotonic (and preferably linear) relationship between the isolated harmonic signal and the parameter being modified (e.g. the gain or offset of the signal) . However there are many situations where this is not the case, in which case solution 1 may be preferred.

HARMONIC CANCELLATION

In many cases, the preferred solution is to cancel out the harmonics by adding the correction signal to the current measurement signal in antiphase with the unwanted harmonic. Figure 6 shows a scheme to achieve this. This comprises a synchronous filter 60 with a filter 61 filtering its output similar to that of Figure 5. A controller 62 receives the output from the synchronous filter 60, after filtering by a filter 61 , and calculates the DC correction i con required to reduce the DC component of the synchronous filter output to zero. A transformation block 63 performs a transformation which is the inverse of that performed by the synchronous filter to convert this DC correction to a sinusoidal correction signal i corr equal to the unwanted harmonic. An adder 66 adds the sinusoidal correction signals to the DQ axis current measurement output by the current sensing system, which comprises a current sensor 64 and coordinate transformation block 65 similar to that of Figure 3. This correction signal therefore has the correct amplitude and phase to cancel out the measurement error.

DIRECT COMPENSATION

Referring to Figure 7 in a system according to a further embodiment of the invention a synchronous filter 70 with output filter 71 correspond to those of Figure 6. However the controller 72 which receives the filtered output from the synchronous filter 70 is arranged to calculate, from the measured magnitude of the target harmonic, a control output i con which is input directly to the current sensor 74 to control a parameter (such as gain or offset) of the current sensor 74 so that the current sensor's output, which is transformed to the DQ axis currents by a coordinate transformation block 75 , will have the unwanted harmonic removed.

SCHEDULING OF THE CORRECTION ALGORITHM

A limitation of the techniques described above is that at low motor speeds the DC component cannot be easily isolated (and at zero speed is impossible to isolate) . As a result a limit should be placed on the minimum electrical frequency at which the algorithm may operate. Similarly, it may be necessary to have an upper operating speed for the algorithm to avoid aliasing problems if the sample rate of the algorithm is not sufficiently high.

To minimise torque disturbances during the enabling and disabling of the algorithm the use of hysteresis on the operating speed limits may be used and / or the control action may be ramped on and off linearly over a period of time (or number of electrical cycles) .

When the algorithm is disabled a number of options are available, and the control system may be arranged to do any one or more of the following:

1. Fix the control action at the last calculated value (for the harmonic compensation algorithm the variation of position will still continue to generate the corrective action at the required harmonic frequency) .

2. Switch to an alternative harmonic compensation algorithm.

3. Disable the harmonic compensation completely.

COMPENSATING MORE THAN ONE HARMONIC SIMULTANEOUSLY

It is common for current measurement errors to lead to distortions at several harmonic frequencies. This algorithm can cancel several frequencies simultaneously by combining multiple harmonic compensation algorithms in parallel. This is because the harmonic compensation controllers operate completely independently at different frequencies. Referring to Figure 8, a motor control system according to a further embodiment of the invention comprises identical components to that of Figure 3, with corresponding components indicated by the same reference numerals increased by 100. In this embodiment the complete harmonic compensation algorithm comprises three sub-algorithms 130, 132, 134 all operating in parallel. Each of these sub-algorithms can correspond either to that of Figure 6 or Figure 7 and each is arranged to isolate and correct a different harmonic frequency. It will be appreciated that the number and order and sign of the harmonics that the compensation sub-algorithms are arranged to correct will depend on the nature of the current sensing system and the harmonic distortions that it produces. For example in some cases there may be two sub-algorithms arranged to correct two harmonics . These can be of the same order and different signs , of different order and the same sign, or of different order and different sign. In some cases there may be three sub-algorithms as shown in Figure 8. In this case the three harmonics can be made up of two of the same order and opposite sign and one of a different order (and either sign) , or three different orders, and all positive, all negative, two negative and one positive, or two positive and one negative.

While in the embodiments described above the voltage demand is monitored in the D,Q axis reference frame, and the harmonic compensation version of the correction is carried out on the D and Q axis current measurement signal, it is equally possible for the voltage demand monitoring to be carried out in the static a and β reference frame, i.e. at the output of the transformation block 22, and the harmonic compensation to be applied to the current sensor output in the a and β reference frame, i.e. as it is output by the sensor 14 and before it is input to the transformation block 16.