Control system for compensating for current sensor offset / gain error

By introducing a current sensor offset detector and gain compensator into the control system of electric vehicles, the control inaccuracy problem caused by current sensor error is solved, and more efficient motor control is achieved, reducing cost and operational mismatch.

CN119010698APending Publication Date: 2024-11-22BORGWARNER INC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410461658.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2023-05-22
Filing Date
2024-04-17
Publication Date
2024-11-22

AI Technical Summary

Technical Problem

Current sensors in existing electric vehicles often have offset and gain errors, resulting in reduced inaccuracy and efficiency of the control system. The cost of using high-precision sensors is high, making it difficult to effectively compensate for these errors.

Method used

A control system is designed, including a current sensor offset detector and a gain compensator. By detecting and compensating the offset and gain error of the current sensor, corresponding control signals are generated to correct the operation of the motor and ensure the accuracy of the current vector.

Benefits of technology

It effectively compensates for the offset and gain error of the current sensor, improves the motor control accuracy of electric vehicles, reduces torque pulsation and current overload, and improves the overall performance of the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119010698A_ABST
    Figure CN119010698A_ABST
Patent Text Reader

Abstract

A control system configured to control an electric motor of an electric vehicle (EV) includes a current sensor offset detector that determines an offset of one or more current sensors; a gain compensator that determines second order harmonic components in the d-axis and q-axis currents due to gain errors in the one or more sensors; and a controller that generates a control signal that compensates for an offset or gain error mismatch of the current sensor.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to vehicle sensors and, more particularly, to current sensors for use with electric vehicles (EVs). Background Art

[0002] Vehicles use a large number of sensors to perform vehicle functions. Current sensors may be used to measure phase currents, and based on the output from the sensors, a control system may generate control signals that regulate the traction motors of the EV. Sensors typically used in vehicle applications may have offset and / or gain errors that introduce errors into the control system. Other sensors exist that do not have such offset or gain errors. However, the cost of using more accurate sensors may be prohibitive. It would be helpful to determine and compensate for the inherent gain / offset included in the sensors. Summary of the invention

[0003] In one implementation, a control system configured to control a motor of an electric vehicle (EV) includes a current sensor offset detector that determines an offset of one or more current sensors; a gain compensator that determines second-order harmonic components in d-axis and q-axis currents due to gain errors in one or more sensors; and a controller that generates a control signal that compensates for an offset or gain error mismatch in the current sensors.

[0004] In another embodiment, a control system configured to control a motor of an EV includes a motor included in the EV; a three-phase inverter electrically connected to the motor; a vehicle battery electrically connected to the inverter; and a controller including a current sensor offset detector that determines second-order harmonic components in d-axis and q-axis currents due to gain errors in one or more current sensors; and a gain compensator that determines the gain of the one or more sensors so that the controller generates a control signal that compensates for the offset or gain of the current sensor.

[0005] In yet another implementation, a method of controlling a motor of an EV includes receiving a control signal for the motor; determining an offset of one or more current sensors; determining a second-order harmonic component in the d-axis and q-axis currents due to a gain error in the one or more current sensors; modifying the control signal to compensate for the second-order harmonic component in the d-axis and q-axis currents due to gain error, offset, or both gain and offset; and transmitting the modified control signal to the motor of the EV. BRIEF DESCRIPTION OF THE DRAWINGS

[0006] Figure 1 is a block diagram depicting an implementation of an electric vehicle (EV);

[0007] Figure 2 is a block diagram depicting an implementation of a control system that determines and compensates for offset and / or gain errors exhibited by a current sensor;

[0008] Figure 3 is a flow chart depicting an implementation of a method of determining and compensating for offset and / or gain errors exhibited by a current sensor;

[0009] Figure 4 is a block diagram depicting a portion of an implementation of a control system that determines and compensates for offset and / or gain errors exhibited by a current sensor;

[0010] Figure 5 is a block diagram depicting a portion of an implementation of a control system that determines and compensates for offset and / or gain errors exhibited by a current sensor;

[0011] Figure 6 is a graph depicting offset measurements associated with a current sensor;

[0012] Figure 7 is a graph depicting the gain measured in relation to the current sensor;

[0013] Figure 8 including a graph depicting performance of a current sensor with an offset mismatch controller; and

[0014] Fig. 9 Included are graphs depicting the performance of a current sensor with a gain and offset mismatch controller. DETAILED DESCRIPTION

[0015] A control system or controller can determine and compensate for offset and / or gain errors exhibited by a current sensor. For example, a vehicle may include a current sensor that provides feedback to a controller. The current sensor may be used to determine the angular position of a current vector relative to a stator in an electric motor or motor. The controller may determine the gain and offset of the current sensor without knowledge of the system in which the current sensor is used, and compensate for the determined gain / offset when generating a control signal. For example, a current sensor may be used to determine the angular position of a current vector of an electric motor; the offset / gain of the sensor may be compensated without knowledge of the actual angular position of the shaft. The controller may also compensate for the synchronous rotating frame current component (I dq0 ) is the second-order harmonic component in .

[0016] Vehicle current sensors typically have gain and offset errors. In addition to gain and offset errors, current sensors also have some variability regarding their performance. As current sensors age and are exposed to environmental factors such as heat, their performance can change. If the gain and offset errors of a current sensor are not determined, a system using the sensor may perform suboptimally. For example, a current sensor may contribute to torque ripples at the output shaft of an electric motor that propels a vehicle. Or a current sensor may receive greater current levels than the sensor is rated to receive.

[0017] Go to Figure 1 , shows an implementation of an electrical system 10, which includes a power grid 12 and an electric vehicle (EV) 14, which can receive power from the power grid 12 or provide power to the power grid 12. The power grid 12 may include any one of a plurality of generators and power transmission mechanisms. The generator (not shown) generates AC electric power, which can then be transmitted from the generator to a considerable distance for residential and commercial use. The generator can be connected to the power grid 12, which transmits AC power from the generator to an end user, such as a residence or a business. When AC power is provided to the power grid 12, the power can exist at a relatively high voltage so that it can be transmitted over a relatively long distance. Once the power reaches the location where it is intended to be used, a power transformer (not shown) can be used to reduce the voltage level before it is finally provided to a residence or business. In one implementation, the voltage level of the AC electric power used is 360-510 volts RMS AC three-phase, 50-60hz. However, the voltage range can be different.

[0018] The EV 14 may include an electric motor 16 that propels the vehicle in whole or at least in part. A three-phase inverter 18 may be electrically coupled to the EV battery 20 and the electric motor 16. The inverter may receive DC power from the EV battery 20 and convert the DC power into three-phase AC power before supplying AC power to the electric motor 16. The amount of voltage provided to the electric motor by the EV battery may vary depending on the application. The term "electric vehicle" or "EV" may refer to a vehicle that is propelled in whole or in part by an electric motor. EV may refer to electric vehicles, plug-in electric vehicles, hybrid electric vehicles, and battery-powered vehicles.

[0019] An EV charging station, referred to herein as a DC fast charger 22, can receive AC power from the grid 12, rectify the AC voltage to DC power, and provide the DC power to the EV 14. The DC fast charger 22 can be geographically fixed, such as a charging station located in a garage or parking lot. The DC fast charger 22 may include an input terminal that receives AC power from the grid 12 and transmits the AC power directly to the EV battery 20, bypassing an onboard vehicle battery charger 24 included on the EV 14. A cable 26 may be detachably connected to an electrical outlet on the EV 14 and electrically links the DC fast charger 22 to the EV 14 so that DC power can be transmitted between the DC fast charger 22 and the EV battery 20. One type of DC fast charging may be referred to as Level 3 EV charging, which is considered to be 60-350kW. However, with the structure and functionality disclosed herein, other charging standards and power levels are also possible. The EV battery 20 may supply DC power controlled by power electronics to the motor 16 that drives the EV 14. One or more EV batteries 20 are rechargeable. Examples of batteries include lead-acid batteries, nickel-cadmium (NiCd) batteries, nickel-metal hydride batteries, lithium-ion batteries, and lithium-polymer batteries. However, battery technology is evolving and other chemistries and / or voltages may be used. Typical ranges for vehicle battery voltages may be from 100V to 1000V of DC electrical power (VDC). The control system 28, implemented as computer-readable instructions executable by a microprocessor, may be stored in a non-volatile memory and called to monitor the current sensor and generate a control signal. This will be discussed in more detail below.

[0020] Go to Figure 2-5 , shows an implementation of the control system 28 and a flow chart describing the functions performed by the control system 28 in a series of method steps. The control system 28 is electrically coupled to the motor 16 and may be implemented using a microprocessor and is electrically coupled to the three-phase power inverter 18. A current sensor 30 is electrically coupled to the leads of the motor 16. The current sensor 30 may monitor the current flowing from the inverter 18 to the motor 16 and generate an output signal I indicative of the current level. sen (abc). At block 32, the output signal can be converted from the abc domain to the alpha beta (αβ0) stationary reference domain (I αβ ). Figure 4 The control system 28 can then adjust I αβ To compensate for the offset or center offset measured at the current sensor offset compensation block 34. The integral controller 36 may receive I α ,I βand I0, which includes the offset error from the current sensor 30. The integral controller 36 may include k as a gain value and s as a Laplace differential operator. The signal I α ,I β , I0 can be converted into I0 by the current sensor deviation block 34, which does not include the offset error of each current sensor 30. α ,I β , I0 output signal. Output signal I α *、I β * and I0* are provided to the current vector angular position calculation block 38 and the αβ0 / dq0 conversion block 40. The current vector angular position calculation block 38 can use the phase current in the stationary reference domain αβ0 to calculate the angular position (θ e ). Current vector (θ e ) can be generated without sensor readings of the actual angular position of the output shaft (θ). The outputs from block 38 are respectively related to signals I α *、I β * and I0* are provided to the αβ0 / dq0 conversion block 40, and the signal I α *、I β * and I0* no longer include an offset error corresponding to the offset error of each current sensor 30. The αβ0 / dq0 conversion block 40 can use the calculated angular position (θ e ) and a signal I no longer including an offset error corresponding to the offset error of each current sensor 30 α *、I β * and I0* to generate the synchronous rotating coordinate system current (I dq ).

[0021] Synchronous rotating coordinate system current (I dq ) can be provided to the harmonic compensation block 42. Figure 5 Block 42 is shown in more detail in FIG. At block 42, the angular position (θ e ) and synchronous rotating coordinate system current (I dq ) to determine the sine and cosine Fourier coefficients. The Fourier coefficients can be multiplied by the sine and cosine of the second harmonic of the angular position of the current vector. The control system 28 can then be controlled by moving from the synchronous rotating coordinate system (I dq ) to compensate for the second-order harmonic error caused by the gain error in the current sensor 30. The output of the harmonic compensation block 42 is the synchronous rotating frame current (I dq *), whose second-order harmonic component is removed, so that the oscillation term is omitted. The output is provided to the current control block 44. The current control block 46 can receive the command current (I dq**) and synchronous rotating coordinate system current (I dq *), the synchronous rotating coordinate system current (I dq *) with the estimated second order harmonic component removed to provide V to the voltage synthesis block 46 dq Block 46 may then provide a command signal to inverter 18 .

[0022] Figure 6 The output signal I in one embodiment is shown in FIG. αβ 0. An ideal current sensor (without offset error) has an α-β current image that is a perfect unit circle. However, the DC parasitic offset measured in the current sensor exhibits a non-circular unit circle that deviates from the center (0, 0) to another point. The measured gain is shown in Figure 7 In the example above, an ideal current sensor would have a perfect unit circle. In contrast, due to the α current (I α ) and β current (I β ) can be unequal in magnitude, so gain errors can distort the unit circle, making it appear as an ellipse. This imbalance can be seen in the synchronously rotating frame current (I dq ) produces a second-order oscillation component.

[0023] Figure 8-9 This involves the measured current from the current sensor 30 . Figure 8 a shows the measured current in the abc domain with DC offset mismatch. Figure 8 b shows the transformed measured current into the stationary rotating coordinate system (αβ0), and the mismatch DC offset effect is shown as the α-β current (I α and I β The output from the current sensor offset block is provided to the angular position determination block and the conversion block. Figure 8 c depicts the compensated α and β currents (I α *、I β *),and Figure 8 d depicts the transformed compensation current in the abc domain; the currents are balanced. Fig. 9 a shows the measured current of the current sensor 30 in the abc domain with gain and offset mismatch. Fig. 9 b depicts the transformed current into the stationary rotating frame (dq0), while Fig. 9 c describes the mismatch DC offset effect as the dq current (I dq ) is the second-order harmonic component in . Fig. 9 df depicts the current after compensation by the control system 28 .

[0024] It should be understood that the foregoing is a description of one or more embodiments of the present invention. The present invention is not limited to the specific examples disclosed herein, but is limited only by the appended claims. In addition, the statements included in the foregoing description relate to specific exemplary illustrations and should not be interpreted as limitations on the scope of the present invention or the definitions of the terms used in the claims, unless the terms or phrases are clearly defined above. Those skilled in the art will readily appreciate various other embodiments and various changes and modifications to the disclosed embodiments. All such other embodiments, changes and modifications are intended to fall within the scope of the appended claims.

[0025] As used in this specification and claims, the terms "eg," "for example," "for instance," "such as," and "like," and the verbs "comprising," "having," "including," and their other verb forms, when used in conjunction with a list of one or more components or other items, are each interpreted as open-ended, meaning that the list is not to be viewed as excluding other additional components or items. Other terms are to be interpreted using their broadest reasonable meaning unless used in a context that requires a different interpretation.

Claims

1. A control system configured to control a motor of an electric vehicle (EV), comprising: a current sensor offset detector that determines an offset of one or more current sensors; a gain compensator that determines second order harmonic components in the d-axis and q-axis currents due to gain errors in the one or more sensors; as well as A controller is provided to generate a control signal that compensates for the offset or gain error mismatch of the current sensor.

2. The control system according to claim 1, wherein: The controller determines the offset or the second order harmonic component in the d-axis and q-axis currents due to a gain error without knowing the angular position of the output shaft of the motor.

3. The control system according to claim 1, wherein: The control signal is provided to an inverter electrically coupled to the electric motor.

4. The control system according to claim 1, wherein: The controller compensates for the second-order harmonic component.

5. A control system configured to control a motor of an electric vehicle (EV), comprising: an electric motor, the electric motor being included in the EV; a three-phase inverter electrically coupled to the electric motor; a vehicle battery electrically coupled to the inverter; as well as A controller comprising a current sensor offset detector that determines a second order harmonic component in d-axis and q-axis currents due to gain error in one or more current sensors; and a gain compensator that determines a gain of the one or more sensors, wherein the controller generates a control signal that compensates for the offset or gain of the current sensor.

6. The control system according to claim 5, wherein: The controller determines the offset or gain without knowing the angular position of the output shaft of the motor.

7. The control system according to claim 5, wherein: The controller compensates for second-order harmonic components.

8. A method of controlling a motor of an electric vehicle (EV), comprising: (a) receiving a control signal for the motor; (b) determining an offset of one or more current sensors; (c) determining second order harmonic components in the d-axis and q-axis currents due to gain errors in the one or more current sensors; (d) modifying the control signal to compensate for second-order harmonic components in the d-axis and q-axis currents due to gain error, the offset, or both the gain and the offset; as well as (e) transmitting the modified control signal to the electric motor of the EV.

9. The method according to claim 8, wherein: Steps (b) and (c) are performed without knowing the angular position of the output shaft of the electric motor.

10. The method according to claim 8, wherein: Step (d) compensates for the second-order harmonic component.

11. The method of claim 8, further comprising the step of providing the control signal to an inverter electrically coupled to the electric motor.