Background
With the vigorous development of the new energy automobile industry, the application scenes of the electric automobile are more and more extensive. However, in an extremely cold condition, due to the inherent characteristics of the power battery, the power battery of the electric vehicle may have problems of voltage drop, discharge capacity reduction, and the like in a low temperature condition, which may greatly limit the use of the electric vehicle in a low temperature environment, and in order to solve the above problems, the power battery needs to be rapidly heated to a proper temperature.
Because the motor system of the electric automobile is connected with two ends of the power battery, six power switches used in the electric automobile have the characteristic of high-frequency on-off, and the stator winding of the motor has the characteristic of inductance, a hardware basis is provided for realizing pulse heating of the power battery. Through the break-make of six power switch of control, the pulse current of control flow through power battery heats electric core, promptly: pulse heating technique. The principle of pulse heating is that a chopping mode is adopted, the inductance characteristic of a motor stator winding is utilized, and when current passes through the motor stator winding, a power switch is turned off, so that a follow current loop of the power switch realizes current feedback, and pulse current is formed. Compared with the traditional external heat conduction heating mode, the method has higher efficiency and lower required cost.
However, the current on the direct current side periodically fluctuates by plus or minus 500A during pulse heating, the frequency is high (about 500 Hz to 2000 Hz), and the acquisition cycle of the current sensor and the voltage sensor used by the current battery management system is long (about 10 ms), so that the pulse heating current (i.e. the current on the direct current side) and the voltage (i.e. the voltage on the direct current side) acquired by the battery management system are inaccurate, and finally, the SOC deviation of the power battery calculated by ampere-hour integration is large.
CN113829894A discloses a method and a system for determining pulse current in a high-frequency pulse heating process of a power battery, which relate to current calculation, but have a large error in calculation accuracy.
Disclosure of Invention
The invention aims to provide a method and a system for determining direct-current side voltage and current in a pulse heating process and a vehicle, so as to obtain accurate direct-current side voltage and current.
When a control module in the motor controller controls some power switches to be conducted, the power battery outputs current to pass through a three-phase stator winding of the motor, the three-phase current is increased in the positive direction, the originally conducted power switch is turned off after the current is increased to a certain value, and the three-phase stator winding keeps the current unchanged, so that the current is caused to flow back to the power battery; during the period, the three-phase current is changed from small to large and then from large to small, but the current direction is unchanged; then, the direct current side current forms a current in the opposite direction according to the switching state of the power switch, so that a pulse current is generated.
The invention discloses a method for determining direct-current side voltage and current in a pulse heating process, which comprises the following steps:
in the pulse heating process of the power battery, acquiring a preset sampling frequency f of a three-phase current sensor 1 Acquiring the U-phase current, the V-phase current and the W-phase current of the motor, and acquiring the preset sampling frequency f of the voltage sensor 1 Recording the on-off states of six power switches of the three-phase bridge arm during acquisition of the acquired direct-current voltage; wherein f is 1 F is more than or equal to 5 x f, and f is the switching frequency of the preset power switch.
Determining the power switch state value of the three-phase stator winding during acquisition: if the upper bridge arm power switch connected with the first-phase stator winding is conducted during collection and the two lower bridge arm power switches respectively connected with the second-phase stator winding and the third-phase stator winding are conducted, the power switch state value of the first-phase stator winding is made to be +1 during collection, and the power switch state values of the second-phase stator winding and the third-phase stator winding are both made to be-1; if the upper bridge arm power switch connected with the first-phase stator winding is disconnected during collection and the two lower bridge arm power switches respectively connected with the second-phase stator winding and the third-phase stator winding are disconnected, the power switch state value of the first-phase stator winding is-1 during collection, and the power switch state values of the second-phase stator winding and the third-phase stator winding are + 1; the first-phase stator winding is a U-phase stator winding or a V-phase stator winding or a W-phase stator winding.
Counting the number n of three-phase currents and the number n of direct-current voltages collected in a CAN message period T; wherein,
。
using the formula:
calculating the average current I of the U phase
U (ii) a Using the formula:
calculating the average current I of the V phase
V (ii) a Using the formula:
calculating the average current I of W phase
W (ii) a Wherein i
Uj Represents the j (th) U (phase) current i collected in the CAN (controller area network) message period T
Vj Represents the jth V-phase current i collected in the CAN message period T
Wj Represents the jth W-phase current collected in the CAN message period T, S
Uj The state value S of the power switch of the U-phase stator winding when the jth U-phase current is collected in the CAN message period T is represented
Vj The power switch state value S of the V-phase stator winding when the jth V-phase current is collected in the CAN message period T is represented
Wj And the power switch state value of the W-phase stator winding when the jth W-phase current is acquired in the CAN message period T is represented.
Using the formula:
calculating the average DC voltage
(ii) a Wherein, U
j And the jth direct-current voltage collected in the CAN message period T is represented.
Average DC voltage
As the DC side voltage U in the pulse heating process
dc 。
According to the average current I of U phase
U V phase average current I
V W phase average current I
W DC average voltage
And the switching frequency f of the power switch, and determining the direct current I in the pulse heating process
dc 。
The invention discloses another method for determining direct-current side voltage and current in a pulse heating process, which comprises the following steps:
in the pulse heating process of the power battery,obtaining a predetermined sampling frequency f of a three-phase current sensor 1 Acquiring the U-phase current, the V-phase current and the W-phase current of the motor, and acquiring the preset sampling frequency f of the voltage sensor 1 Recording the on-off states of six power switches of the three-phase bridge arm during acquisition of the acquired direct-current voltage; wherein, f 1 F is more than or equal to 5, and f is the preset switching frequency of the power switch.
Determining the power switch state value of the three-phase stator winding during acquisition: if two upper bridge arm power switches respectively connected with the first-phase stator winding and the second-phase stator winding are conducted during collection and a lower bridge arm power switch connected with the third-phase stator winding is conducted during collection, the power switch state values of the first-phase stator winding and the second-phase stator winding are both +1 during collection, and the power switch state value of the third-phase stator winding is-1; if two upper bridge arm power switches respectively connected with the first-phase stator winding and the second-phase stator winding are disconnected and a lower bridge arm power switch connected with the third-phase stator winding is disconnected during acquisition, the power switch state values of the first-phase stator winding and the second-phase stator winding are both-1 during acquisition, and the power switch state value of the third-phase stator winding is + 1; and the third-phase stator winding is a U-phase stator winding or a V-phase stator winding or a W-phase stator winding.
Counting the number n of three-phase currents and the number n of direct-current voltages collected in a CAN message period T; wherein,
。
using the formula:
calculating the average current I of the U phase
U (ii) a Using the formula:
calculating the average current I of the V phase
V (ii) a Using the formula:
calculating the average current I of W phase
W (ii) a Wherein i
Uj Indicating CAN message periodJ-th U-phase current i collected in T
Vj Represents the jth V-phase current i collected in the CAN message period T
Wj Represents the jth W-phase current collected in the CAN message period T, S
Uj The state value S of the power switch of the U-phase stator winding when the jth U-phase current is collected in the CAN message period T is represented
Vj The power switch state value S of the V-phase stator winding when the jth V-phase current is collected in the CAN message period T is represented
Wj And the power switch state value of the W-phase stator winding when the jth W-phase current is acquired in the CAN message period T is represented.
Using the formula:
calculating the average DC voltage
(ii) a Wherein, U
j And the jth direct-current voltage collected in the CAN message period T is represented.
Average DC voltage
As the DC side voltage U in the pulse heating process
dc 。
According to the average current I of U phase
U V phase average current I
V W phase average current I
W DC average voltage
And the switching frequency f of the power switch, and determining the direct current I in the pulse heating process
dc 。
Preferably, in the two determination methods, the direct-current side current I in the pulse heating process is determined dc The method comprises the following steps:
according to the average current I of U phase
U V phase average current I
V W phase average current I
W DC average voltage
And the switching frequency f of the power switch inquires a preset ammeter to obtain the pulse heatingIn-process direct current side current I
dc (ii) a The preset ammeter is a corresponding relation table of U-phase average current, V-phase average current, W-phase average current, direct-current average voltage, switching frequency of the power switch and direct-current side current in the pulse heating process, and the corresponding relation table is obtained in a calibration mode. Obtaining I by looking up table
dc Easy to implement, and obtaining I
dc The consistency is high.
The preset sampling frequency f takes into account the performance and cost of the three-phase current sensor and the performance and cost of the power switch 1 Preferably 10KHz, and the preset switching frequency f of the power switch preferably ranges from: 0.5 KHz-2 KHz.
Preferably, the value of the CAN message period T is 10 ms.
The system for determining the voltage and the current on the direct current side in the pulse heating process comprises a motor controller, a three-phase current sensor and a voltage sensor, wherein the motor controller comprises a control module and a three-phase bridge arm; the control module is programmed to perform the above described method of determining the dc side voltage and current during pulse heating.
The vehicle comprises the direct-current side voltage and current determining system in the pulse heating process.
The invention adopts high-frequency sampling (namely, the sampling frequency of current and voltage is increased to f 1 ) And calculating the average current of each phase by combining the state value of the power switch of each phase of stator winding, then obtaining the direct current side current in the pulse heating process by matching with the direct current average voltage and the switching frequency table look-up of the power switch, and taking the direct current average voltage as the direct current side voltage in the pulse heating process, thereby obtaining the accurate direct current side voltage and current in the pulse heating process. The voltage and the current of the direct current side in the pulse heating process are sent to a battery management system in a CAN message mode, and the battery management system CAN be assisted to carry out more accurate SOC calculation and other control functions of the power battery.
Detailed Description
Example 1: as shown in fig. 1, the system for determining the voltage and the current at the direct current side in the pulse heating process according to the embodiment includes a motor controller, a three-phase current sensor (not shown in the figure) and a voltage sensor (not shown in the figure), where the motor controller includes a control module (not shown in the figure), a three-phase bridge arm and a bus capacitor C. The three-phase current sensor is connected with the control module and sends the acquired U-phase current, V-phase current and W-phase current of the motor to the control module; the voltage sensor is connected with the control module and sends the collected direct-current voltage to the control module. The three-phase bridge arm is formed by connecting a U-phase bridge arm, a V-phase bridge arm and a W-phase bridge arm in parallel, and the bus capacitor C is connected with the U-phase bridge arm, the V-phase bridge arm and the W-phase bridge arm in parallel. U-phase bridge arm power switch K from upper bridge arm 1 And a power switch K of a lower bridge arm 4 The V-phase bridge arm is composed of an upper bridge arm power switch K 2 And a lower bridge arm power switch K 5 The W-phase bridge arm is composed of an upper bridge arm power switch K 3 And a lower bridge arm power switch K 6 And (4) connecting. Six power switches (i.e. upper bridge arm power switch K) 1 And an upper bridge arm power switch K 2 And an upper bridge arm power switch K 3 Lower bridge arm power switch K 4 Lower bridge arm power switch K 5 And a lower bridge arm power switch K 6 ) All are IGBT modules (or all can be SiC modules), and an upper bridge arm power switch K 1 And an upper bridge arm power switch K 2 Upper bridge arm power switch K 3 Lower bridge arm power switch K 4 Lower bridge arm power switch K 5 And a lower bridge arm power switch K 6 Have freewheeling diodes. Upper bridge arm power switch K 1 Upper bridge arm power switch K 2 Upper bridge arm power switch K 3 The upper end of the power battery is connected with the anode of the power battery, and the lower bridge arm power switch K 4 Lower end, lower bridge arm power switch K 5 Lower end and lower bridge arm power ofRate switch K 6 The lower end of the anode is connected with the cathode of the power battery. Upper bridge arm power switch K 1 Control end and upper bridge arm power switch K 2 Control end and upper bridge arm power switch K 3 Control end, lower bridge arm power switch K 4 Control end, lower bridge arm power switch K 5 Control end and lower bridge arm power switch K 6 The control ends of the two control modules are respectively connected with the control module. Middle point of U-phase bridge arm (namely upper bridge arm power switch K) 1 And a lower bridge arm power switch K 4 Connection point of) lead wire connected to the U-phase stator winding and the midpoint of the V-phase bridge arm (i.e., upper bridge arm power switch K) of the motor 2 And a lower bridge arm power switch K 5 Connection point of) lead wire connected to the V-phase stator winding and the middle point of the W-phase bridge arm (i.e. upper bridge arm power switch K) 3 And a lower bridge arm power switch K 6 Connection point) leads are connected to the W-phase stator winding of the motor. And neutral points of the U-phase stator winding, the V-phase stator winding and the W-phase stator winding are connected together. The control module is configured to perform the dc side voltage and current determination method in the pulse heating process described below.
As shown in fig. 2, the method for determining the dc side voltage and current in the pulse heating process of the present embodiment is executed by a control module, and specifically includes:
step one, three-phase current and three-phase direct current voltage are obtained, and the switching states of six power switches are recorded.
The method specifically comprises the following steps: in the pulse heating process of the power battery, acquiring a preset sampling frequency f of a three-phase current sensor 1 Acquiring the U-phase current, the V-phase current and the W-phase current of the motor, and acquiring the preset sampling frequency f of the voltage sensor 1 Recording the on-off states of six power switches of the three-phase bridge arm during acquisition of the acquired direct-current voltage; wherein, f 1 F is more than or equal to 5, and f is the preset switching frequency of the power switch. In this example, f 1 =10KHz,f=1KHz。
And step two, determining the power switch state value of the three-phase stator winding during acquisition.
The method specifically comprises the following steps: if the upper bridge arm power switch connected with the first-phase stator winding is conducted during collection and the two lower bridge arm power switches respectively connected with the second-phase stator winding and the third-phase stator winding are conducted, the power switch state value of the first-phase stator winding is made to be +1 during collection, and the power switch state values of the second-phase stator winding and the third-phase stator winding are both made to be-1; if the upper bridge arm power switch connected with the first-phase stator winding is disconnected during collection and the two lower bridge arm power switches respectively connected with the second-phase stator winding and the third-phase stator winding are disconnected, the power switch state value of the first-phase stator winding is-1 during collection, and the power switch state values of the second-phase stator winding and the third-phase stator winding are + 1; the first-phase stator winding is a U-phase stator winding or a V-phase stator winding or a W-phase stator winding.
For example, the first-phase stator winding is a U-phase stator winding, the second-phase stator winding is a V-phase stator winding, and the third-phase stator winding is a W-phase stator winding; if the upper bridge arm power switch K1 is conducted during the collection, and the lower bridge arm power switch K 5 Conducting lower bridge arm power switch K 6 Conducting, so that the power switch state value of the U-phase stator winding is +1 when the U-phase current is acquired, the power switch state value of the V-phase stator winding is-1 when the V-phase current is acquired, and the power switch state value of the W-phase stator winding is-1 when the W-phase current is acquired; if the upper bridge arm power switch K1 is disconnected during acquisition and the lower bridge arm power switch K 5 Power switch K for disconnecting and lower bridge arm 6 And (3) disconnecting, so that the power switch state value of the U-phase stator winding is-1 when the U-phase current is acquired, the power switch state value of the V-phase stator winding is +1 when the V-phase current is acquired, and the power switch state value of the W-phase stator winding is +1 when the W-phase current is acquired.
For another example, the first-phase stator winding is a V-phase stator winding, the second-phase stator winding is a U-phase stator winding, and the third-phase stator winding is a W-phase stator winding; if the upper bridge arm power switch K2 is conducted during collection and the lower bridge arm power switch K 4 Conducting lower bridge arm power switch K 6 Conducting, so that the power switch state value of the V-phase stator winding is +1 when the V-phase current is acquired, the power switch state value of the U-phase stator winding is-1 when the U-phase current is acquired, and the power switch state value of the W-phase stator winding is-1 when the W-phase current is acquired; if the upper bridge arm power switch K2 is disconnected during acquisition and the lower bridge arm power switch K 4 Power switch K for disconnecting and lower bridge arm 6 And disconnecting, so that the power switch state value of the V-phase stator winding is-1 when the V-phase current is acquired, the power switch state value of the U-phase stator winding is +1 when the U-phase current is acquired, and the power switch state value of the W-phase stator winding is +1 when the W-phase current is acquired.
And thirdly, counting the number n of three-phase currents and the number n of direct-current voltages collected in the CAN message period T. In this embodiment, T =10ms, and n = 100.
Step four, calculating the average current I of the U phase U V phase average current I V W phase average current I W 。
The method specifically comprises the following steps: using the formula:
calculating the average current I of the U phase
U (ii) a Using the formula:
calculating the average current I of the V phase
V (ii) a Using the formula:
calculating the average current I of W phase
W (ii) a Wherein i
Uj Represents the j-th U-phase current i collected within 10ms
Vj Represents the j th V-phase current i collected within 10ms
Wj Represents the j-th W-th phase current, S, collected within 10ms
Uj Represents the power switch state value S of the U-phase stator winding when the j-th U-phase current is acquired within 10ms
Uj =1 or-1, S
Vj Represents the power switch state value S of the V-phase stator winding when the jth V-phase current is collected within 10ms
Vj =1 or-1, S
Wj Represents the power switch state value S of the W-phase stator winding when the jth W-phase current is collected within 10ms
Wj =1 or-1.
Step five, calculating the average DC voltage
。
The method specifically comprises the following steps: using the formula:
calculating the average DC voltage
(ii) a Wherein, U
j Representing the j-th dc voltage collected within 10 ms.
Step six, averaging the direct current average voltage
As the DC side voltage U in the pulse heating process
dc (even if
)。
Step seven, determining the direct current I in the pulse heating process dc 。
The method specifically comprises the following steps: according to the average current I of U phase
U V phase average current I
V W phase average current I
W DC average voltage
Inquiring a preset ammeter according to the switching frequency f of the power switch to obtain the direct-current side current I in the pulse heating process
dc . The preset ammeter is a corresponding relation table of U-phase average current, V-phase average current, W-phase average current, direct-current average voltage, switching frequency of the power switch and direct-current side current in the pulse heating process, which are obtained in a calibration mode.
Determining the DC side voltage U during the pulse heating dc And a direct side current I dc Then, the control module sends the DC side voltage U in the form of CAN message dc And a direct side current I dc The voltage is sent to a CAN network, and the battery management system acquires the voltage U at the direct current side on the CAN network dc And a direct side current I dc Then, the DC side voltage U can be adjusted dc And a direct side current I dc The method is used for accurate calculation and other control of the SOC of the power battery.
The embodiment also provides a vehicle which comprises the direct-current side voltage and current determining system in the pulse heating process.
Example 2: the system (hardware circuit) for determining the voltage and current on the dc side during the pulse heating process of this embodiment is the same as that of embodiment 1. Most steps of the method for determining the voltage and the current on the direct current side in the pulse heating process of the embodiment are the same as those of the embodiment 1, and the difference is only that: and in the second step, the mode of determining the power switch state value of the three-phase stator winding during acquisition is as follows: if two upper bridge arm power switches respectively connected with the first-phase stator winding and the second-phase stator winding are conducted during collection and a lower bridge arm power switch connected with the third-phase stator winding is conducted during collection, the power switch state values of the first-phase stator winding and the second-phase stator winding are both +1 during collection, and the power switch state value of the third-phase stator winding is-1; if two upper bridge arm power switches respectively connected with the first-phase stator winding and the second-phase stator winding are disconnected and a lower bridge arm power switch connected with the third-phase stator winding is disconnected during acquisition, the power switch state values of the first-phase stator winding and the second-phase stator winding are both-1 during acquisition, and the power switch state value of the third-phase stator winding is + 1; and the third-phase stator winding is a U-phase stator winding or a V-phase stator winding or a W-phase stator winding.
For example, the first-phase stator winding is a U-phase stator winding, the second-phase stator winding is a V-phase stator winding, and the third-phase stator winding is a W-phase stator winding; upper bridge arm power switch K if collecting 1 Conducting upper bridge arm power switch K 2 Conducting and lower bridge arm power switch K 6 Conducting, namely enabling the power switch state value of the U-phase stator winding to be +1 when the U-phase current is acquired, enabling the power switch state value of the V-phase stator winding to be +1 when the V-phase current is acquired, and enabling the power switch state value of the W-phase stator winding to be-1 when the W-phase current is acquired; upper bridge arm power switch K if collecting 1 Power switch K for disconnecting and upper bridge arm 2 Disconnected and lower bridge arm power switch K 6 And when the motor is disconnected, the state value of the power switch of the U-phase stator winding is set to be-1 when the U-phase current is acquired, the state value of the power switch of the V-phase stator winding is set to be-1 when the V-phase current is acquired, and the state value of the power switch of the W-phase stator winding is set to be +1 when the W-phase current is acquired.
As yet another example of this type of device,the first phase stator winding is a V-phase stator winding, the second phase stator winding is a W-phase stator winding, the third phase stator winding is a U-phase stator winding, and if the acquisition is carried out, the upper bridge arm power switch K 2 Conducting upper bridge arm power switch K 3 Conducting and lower bridge arm power switch K 4 Conducting, namely enabling the power switch state value of the U-phase stator winding to be-1 when the U-phase current is acquired, enabling the power switch state value of the V-phase stator winding to be +1 when the V-phase current is acquired, and enabling the power switch state value of the W-phase stator winding to be +1 when the W-phase current is acquired; upper bridge arm power switch K if collecting 2 Power switch K for disconnecting and upper bridge arm 3 Disconnected and lower bridge arm power switch K 4 And (3) disconnecting, so that the power switch state value of the U-phase stator winding is +1 when the U-phase current is acquired, the power switch state value of the V-phase stator winding is-1 when the V-phase current is acquired, and the power switch state value of the W-phase stator winding is-1 when the W-phase current is acquired.