BMS battery current measurement system and measurement method
By using multi-sampling modules and shunts to integrate temperature sensors in the BMS battery management system, combined with daisy chain and SPI communication technology, the problem of Hall sensor accuracy and extended response time is solved, and high-precision, fast-response current measurement is achieved. , and reduce system costs.
Patent Information
- Application Number
- CN202410940845.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-15
- Publication Date
- 2024-10-15
AI Technical Summary
The current measurement of the Hall sensor in the existing BMS battery management system has problems such as accuracy being affected by the 5V power supply, prolonged response time, and high cost.
Multiple sampling modules are used to electrically connect to the battery pack through daisy chain communication, and the shunt of the integrated temperature sensor is used to convert the current and temperature signals into SPI communication through the communication conversion module to achieve high-precision differential sampling and improve measurement accuracy through calibration calculations. sex.
It achieves high-precision, fast-response current measurement under different temperature and high-voltage conditions, significantly reducing system costs.
Smart Images

Figure CN118777900A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of battery measurement, and in particular to a BMS battery current measurement system and a measurement method. Background Art
[0002] At present, the current acquisition technology of the battery management system BMS mainly uses the Hall sensor, which works under 5V power supply conditions and inputs the collected analog signal into the AD analog-to-digital converter. In terms of system integration, the Hall sensor is installed on the main circuit to monitor the current. When the current is zero, the voltage output by the sensor is about 2.5V. When the current is positive, the output voltage will be higher than 2.5V; when the current is negative, the output voltage is lower than 2.5V. Subsequently, the main controller of the battery management system BMS calculates the current value by analyzing the 0-5V input signal.
[0003] However, this configuration has some limitations. First, the accuracy of the Hall sensor may be affected by changes in the 5V power supply. To improve accuracy, the battery management system BMS main controller needs to perform multiple filtering and take the average. Although increasing the number of filtering times can improve the accuracy of current measurement, it also leads to a longer response time. In addition, the use of Hall sensors also faces the problem of high cost.
[0004] In general, although Hall sensors can provide a solution for current measurement, factors such as their accuracy, response time, and cost need to be considered and weighed separately during system design. Summary of the invention
[0005] The object of the present invention is to overcome the deficiencies and defects of the prior art and to provide a BMS battery current measurement system and a measurement method.
[0006] A first aspect of the present invention provides a BMS battery current measurement system, comprising:
[0007] A sampling module, wherein the sampling modules are multiple and connected in series to form a daisy chain communication, and are electrically connected to the battery pack to be measured and sampled, and are used to collect temperature and voltage information of each cell of the battery pack, and the first sampling module at the head is also used to collect the current differential signal and temperature analog signal output by the shunt arranged in the battery pack measurement circuit; the shunt is integrated with a temperature sensor;
[0008] The communication conversion module is communicatively connected to the sampling module and connected to the BMS main control module, and is used to send the temperature, voltage and current information of each cell of the battery pack collected by the sampling module to the BMS main control module for calculating the battery pack current.
[0009] Wherein, a plurality of the sampling modules are connected in series through a flexible printed circuit board and are electrically connected to the battery pack.
[0010] Among them, the communication conversion module is connected to the BMS battery management system using an SPI communication conversion module.
[0011] Wherein, the battery pack measurement circuit is a high-voltage measurement circuit.
[0012] Wherein, the sampling module includes a high-precision differential sampling chip.
[0013] Wherein, the communication conversion module adopts a communication conversion chip which can convert daisy chain communication into SPI communication.
[0014] The second aspect of the present invention provides a BMS current measurement method, which uses the BMS battery current measurement system of the first aspect of the present invention to collect battery pack data and calculate the battery pack current; the calculation of the battery pack current includes the steps of calculating the pre-calibration current value of the battery pack and calculating the calibration current value based on the pre-calibration current value.
[0015] The step of calculating the pre-calibration current value of the battery pack includes:
[0016] The voltage value obtained by sampling the first sampling module at a preset voltage unit resolution is multiplied by the preset voltage unit resolution to obtain a voltage value;
[0017] The voltage value is divided by the resistance value of the shunt to obtain the pre-calibration current value of the battery pack.
[0018] Wherein, the step of calculating the calibration current value based on the current value before calibration includes:
[0019] According to the temperature analog signal data sampled by the first sampling module, the resistance-temperature RT table corresponding to the B value of the temperature sensor is searched to determine the real-time temperature of the shunt:
[0020] According to the real-time temperature of the shunt, find the corresponding shunt resistance ratio table and obtain the proportional coefficient of the shunt resistance at the current temperature:
[0021] Divide the current value by the proportionality factor of the shunt resistance to obtain the calibrated current value.
[0022] The steps of collecting battery pack data by the BMS battery current measurement system include:
[0023] S1. Initialize multiple sampling modules;
[0024] S2. After the initialization is completed, the BMS battery measurement system enters the analog-to-digital conversion process, and the BMS battery measurement system activates the analog-to-digital conversion process of all sampling modules;
[0025] S3. After the sampling module analog-to-digital conversion is completed, the BMS battery measurement system starts from the first sampling module and reads the sampling data in the order in which the sampling modules are connected;
[0026] S4. During the data collection process, the BMS battery measurement system evaluates whether all sampling modules have completed data reading at preset intervals; if so, reset to the first sampling module and return to step S2; if not, execute step S5;
[0027] S5. The BMS battery measurement system only turns on the analog-to-digital conversion of the first sampling module and reads the differential current data of the shunt after the conversion is completed, and then continues to sample data from the sampling modules that have not completed data reading until all sampled data are completely read;
[0028] S6. After all sampled data are read, reset to the first sampling module again and return to step S2;
[0029] Among them, during the analog-to-digital conversion process in step S2, the BMS battery measurement system determines whether it is necessary to perform a system self-test; if so, the self-test program is executed; if not, the analog-to-digital conversion process of all sampling modules is activated.
[0030] The present invention arranges a shunt with an integrated temperature sensor in a measurement loop, connects a plurality of sampling modules in series to achieve electrical connection with a battery pack, samples the voltage and temperature signals of the battery cells of the battery pack, and the current differential signal and temperature analog signal of the shunt, and converts the signals of the sampling modules through a communication conversion module and transmits them to a BMS battery measurement system for processing, thereby ensuring measurement stability and accuracy under different temperatures and high-voltage loop conditions, achieving high-precision and fast-response current measurement, and significantly reducing system costs. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] Figure 1 Schematic diagram of a BMS battery current measurement system of the present invention.
[0032] Figure 2 It is a data chart schematic diagram of the BMS battery current measurement system of the present invention in terms of measurement accuracy and response speed.
[0033] Figure 3 It is a data chart diagram of the process of calibrating the current of the BMS battery current measurement system of the present invention in a high temperature environment. DETAILED DESCRIPTION
[0034] The present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.
[0035] like Figure 1 As shown, the BMS battery current measurement system of the embodiment of the present invention includes:
[0036] A sampling module, wherein the sampling modules are multiple and connected in series to form a daisy chain communication, and are electrically connected to the battery pack to be measured and sampled, and are used to collect temperature and voltage information of each cell of the battery pack, and the first sampling module at the head is also used to collect the current differential signal and temperature analog signal of the shunt arranged in the battery pack measurement circuit; the shunt is integrated with a temperature sensor;
[0037] The communication conversion module is communicatively connected to the sampling module and connected to the BMS main control module, and is used to send the temperature, voltage and current information of each cell of the battery pack collected by the sampling module to the BMS main control module for calculating the battery pack current.
[0038] In some embodiments, multiple sampling modules are connected in series through a flexible printed circuit board (FPC) as a connector and then electrically connected to the battery pack. The battery pack may be a vehicle power battery, and a relay is provided in its power supply circuit to control the cutting off or conducting of the power supply circuit.
[0039] In some implementation schemes, the communication conversion module is connected to the BMS battery management system using an SPI communication conversion module, that is, SPI communication is realized.
[0040] In some embodiments, the battery pack measurement circuit is a high-voltage measurement circuit, which is a measurement circuit formed by connecting the BMS battery current measurement system to the high-voltage side of the battery pack through connecting wires. The battery pack is welded by aluminum bars to form a high-voltage measurement circuit. The shunt is connected in series to the negative pole of the battery pack and connected to the high-voltage measurement circuit, so that the current of the battery pack can be measured. The differential current signal and temperature analog signal collected by the shunt are transmitted to the corresponding input port of the first sampling module using a wiring harness. After the differential current signal and temperature analog signal of the shunt are collected, they are transmitted to the corresponding input port of the first sampling module at the head through connecting wires. The first sampling module at the head converts the analog signal into a digital signal and outputs it to the BMS main control module.
[0041] Wherein, the sampling module includes a high-precision differential sampling chip, and the communication conversion module adopts a communication conversion chip that can convert daisy chain communication into SPI communication. In some implementation schemes, the sampling module can be implemented by the MC33771 sampling chip, and the communication conversion module can be implemented by the MC33664 communication conversion chip. Multiple sampling modules can be used alone or in series, and the number can range from 1 to multiple. In a specific application case, a battery pack containing 168 battery strings can be monitored using 12 sampling modules. Of course, if necessary, the number of chips used can be increased to monitor more battery strings. The advantage of using multiple sampling modules is that the voltage of more battery cells can be monitored, and the wiring is simplified, the hardware complexity is reduced, and the signal stability is improved.
[0042] It should be noted that in this application, the MC33771 chip can be replaced by other chips with high-precision differential sampling function. Similarly, the MC33664 chip can also be replaced by other conversion chips that can convert daisy chain communication to SPI communication. Such replacement can provide more flexibility because there are many chips on the market that can achieve similar communication protocol conversion functions. The selection of a suitable replacement can be determined based on the specific needs of the project, cost-benefit analysis, and the availability of the supply chain.
[0043] In some embodiments, in the present invention, the first sampling module at the head (the sampling module directly connected to the shunt) is responsible not only for collecting the voltage and temperature of the battery pack, but also for collecting the current and temperature of the shunt, so as to facilitate dynamic calibration of the resistance value that changes with temperature.
[0044] In some implementation schemes, in the present invention, the first sampling module at the head can independently perform sampling tasks and give higher priority to the collected differential current sampling data than the collected voltage and temperature sampling data.
[0045] The sampling process of the sampling module is explained by taking the sampling chip MC33771 as an example. The sampling chip detects the current and temperature of the battery pack through the differential signal lines ISENSE+, ISENSE- and the GPIO port; the communication conversion chip MC33664 realizes the conversion of the sampling chip from the daisy chain communication of MC33771 to the SPI communication; the BMS battery management system main control module receives the current differential signal and temperature analog signal from the shunt of the sampling chip MC33771 through the SPI interface, as well as the voltage and temperature signals of the battery pack, and can quickly and accurately calculate the current value of the battery pack.
[0046] In some implementation schemes, the BMS battery management system main control module includes a differential signal sampling program, which is responsible for processing the differential current and simulated temperature data collected by the shunt with a temperature sensor, processing the obtained differential current data, simulating the temperature data, and calibrating the current in real time through temperature information.
[0047] In some embodiments, the pre-calibration current calculation of the battery pack comprises the steps of:
[0048] The voltage value obtained by sampling the first sampling module at a preset voltage unit resolution is multiplied by the preset voltage unit resolution to obtain a voltage value;
[0049] Multiply the voltage value by the set voltage unit resolution to obtain a voltage value;
[0050] The voltage value is divided by the resistance value of the shunt to obtain the pre-calibration current value of the battery pack.
[0051] In some implementation schemes, after obtaining the pre-calibration current value of the battery pack, a calculation process for battery calibration is performed through the following steps to obtain a calibration current value:
[0052] According to the temperature analog signal data sampled by the first sampling module, the resistance-temperature RT table corresponding to the B value of the temperature sensor is searched to determine the real-time temperature of the shunt:
[0053] According to the real-time temperature of the shunt, find the corresponding shunt resistance ratio table and obtain the proportional coefficient of the shunt resistance at the current temperature:
[0054] The current value is divided by the proportionality coefficient of the shunt resistance to obtain the calibrated current value.
[0055] In some implementation schemes, the actual resistance of the shunt at different temperatures will be listed in the corresponding preset lookup table. For example, the resistance at 25°C is taken as the nominal resistance, and the actual resistance that changes with temperature is divided by the nominal resistance to calculate a series of proportional coefficients and program them into the software program of the main control module. The main control module obtains the real-time temperature of the corresponding shunt by looking up the proportional lookup table inside the program according to the detected temperature, thereby calibrating the current of the shunt.
[0056] In some implementation schemes, the step of integrating the measured values in the N-bit first differential signal register and the M-bit second differential signal register to obtain an N+M-bit voltage digital data includes:
[0057] The value of the first differential signal register is shifted left by M bits to expand it from N bits to N+M bits; the value after the M-bit left shift is bitwise ORed with the value of the second differential signal register to combine into an N+M-bit value.
[0058] A second aspect of the present invention provides a BMS battery current measurement method, which uses the BMS battery current measurement system described in the first aspect of the present invention to collect battery pack data and calculate the battery pack current; the calculation of the battery pack current includes the steps of calculating the pre-calibration current value of the battery pack and calculating the calibration current value based on the pre-calibration current value.
[0059] The step of calculating the pre-calibration current value of the battery pack includes:
[0060] The voltage value obtained by sampling the first sampling module at a preset voltage unit resolution is multiplied by the preset voltage unit resolution to obtain a voltage value;
[0061] The voltage value is divided by the resistance value of the shunt to obtain the pre-calibration current value of the battery pack.
[0062] Wherein, the step of calculating the calibration current value based on the current value before calibration includes:
[0063] According to the temperature analog signal data sampled by the first sampling module, the resistance-temperature RT table corresponding to the B value of the temperature sensor is searched to determine the real-time temperature of the shunt:
[0064] According to the real-time temperature of the shunt, find the corresponding shunt resistance ratio table and obtain the proportional coefficient of the shunt resistance at the current temperature:
[0065] Divide the current value by the proportionality factor of the shunt resistance to obtain the calibrated current value.
[0066] The BMS battery current measurement system collects battery pack data, including the following steps:
[0067] S1. Initialize multiple sampling modules;
[0068] S2. After the initialization is completed, the BMS battery measurement system enters the analog-to-digital conversion process, and the BMS battery measurement system activates the analog-to-digital conversion process of all sampling modules;
[0069] S3. After the sampling module analog-to-digital conversion is completed, the BMS battery measurement system starts from the first sampling module and reads the sampling data in the order in which the sampling modules are connected;
[0070] S4. During the data collection process, the BMS battery measurement system evaluates whether all sampling modules have completed data reading at preset intervals; if so, reset to the first sampling module and return to step S2; if not, execute step S5;
[0071] S5. The BMS battery measurement system only turns on the analog-to-digital conversion of the first sampling module and reads the differential current data of the shunt after the conversion is completed, and then continues to sample data from the sampling modules that have not completed data reading until all sampled data are completely read;
[0072] S6. After all sampled data are read, reset to the first sampling module again and return to step S2;
[0073] Among them, during the analog-to-digital conversion process in step S2, the BMS battery measurement system determines whether it is necessary to perform a system self-test; if so, the self-test program is executed; if not, the analog-to-digital conversion process of all sampling modules is activated.
[0074] A specific embodiment is used for further explanation below. In this embodiment, the sampling chip is MC33771 and the communication conversion chip is MC33664.
[0075] In this embodiment, a shunt with a range of 500A and a temperature sensor B value (B value is the material constant of the thermistor) of 3380 is installed in the high-voltage circuit, and the relevant signal is input into the first sampling module, and a daisy chain communication is formed with other sampling modules, and the communication is converted into SPI communication, and finally transmitted to the BMS battery management system main control module.
[0076] Step 1. First, initialize the sampling modules to ensure that each sampling module is ready and in the correct starting state.
[0077] Step 2. After initialization is completed, the system enters the analog-to-digital conversion stage. In this stage, the system will determine whether it has reached the system self-check cycle that is executed every 10 seconds (this time can be changed or set as needed). If so, the self-check procedure is executed to ensure the normal operation of the system; if not, continue with the subsequent operation.
[0078] Step 3. The system activates the analog-to-digital conversion function of all connected sampling modules to collect data for each cell in the battery pack.
[0079] Step 4. After the analog-to-digital conversion is completed, the system starts from the first sampling module and reads the sampled data in sequence, including key parameters such as voltage and temperature.
[0080] Step 5. During the data collection process, the system evaluates whether all sampling modules have completed data reading every 20 milliseconds (this time can be changed or set as needed). If all sampling module data has been read, the system will reset to the first sampling module and return to step 2 to continue periodic monitoring.
[0081] Step 6. If the data of all sampling modules have not been read, the system will return to the analog-to-digital conversion, and only the analog-to-digital conversion of the first sampling module responsible for collecting current will be turned on. After waiting for the conversion to be completed, the system reads the shunt current data, and then continues to sample data from the sampling modules that have not been read until all the scheduled sampling data have been completely read.
[0082] Step 7. After completing the reading of all the scheduled sampling data, the system resets to the first sampling module again and returns to step 2 to maintain continuous monitoring and periodic self-test to ensure the continuous operation and high reliability of the battery management system.
[0083] Step 8. Current calculation, including calculation of the current value before calibration and calculation of the calibration current value;
[0084] Calculation of current value before calibration:
[0085] Combine the values of the differential signal register MEAS_ISENSE1 (high 15 bits) and the differential signal register MEAS_ISENSE2 (low 4 bits) of the first sampling module to obtain a 19-bit digital representation of voltage data. The 19-bit digital representation of voltage data represents the voltage value at a resolution of 6 microvolts. This is an inherent function of the sampling module. The value of MEAS_ISENSE1 is shifted left by 4 bits to expand it from 15 bits to 19 bits; the left-shifted value is bitwise ORed with the value of MEAS_ISENSE2 to form a 19-bit value, which automatically stores the obtained differential signal in two registers and finally outputs a required voltage data: the voltage value is calculated using the 19-bit digital representation of voltage data by multiplying the value by the resolution of 6 microvolts; then, the current value is obtained by dividing the obtained voltage value by the resistance value of the shunt, and the expression is as follows:
[0086] I = Vsense / Rshunt; where I is the current, Vsense is the calculated voltage value, and Rshunt is the resistance value of the shunt.
[0087] Calibration current value calculation:
[0088] According to the temperature analog signal data in the temperature signal register MEAS_AN6 sampled by the sampling chip MC33771, the resistance-temperature (RT) table with a B value of 3380 of the temperature sensor is searched to determine the real-time temperature of the shunt; according to the real-time temperature of the shunt, the corresponding shunt resistance ratio table is searched to obtain the shunt resistance ratio coefficient at the current temperature, and the current I calculated above is divided by the shunt resistance ratio coefficient to obtain the calibration current value, which is expressed as follows:
[0089] Icalibrated=I / Ratio(T), where Icalibrated is the calibration current obtained, I is the pre-calibration current value calculated before calibration, and Ratio(T) is the shunt resistance ratio obtained based on the temperature T.
[0090] Figure 2 It is a data chart diagram of the measurement system of the present invention in terms of measurement accuracy and response speed. Its horizontal axis is the interval sampling point of the system, and the vertical axis is the current value measured at the corresponding interval sampling point. The blue line in the curve in the figure is the current source, and the yellow line is the current measurement value of the system. It can be seen that the two are very close, indicating that the measurement system of the present invention has excellent performance in terms of measurement accuracy and response speed, proving the advantages of high precision and fast response of the system, and can achieve a sampling accuracy of less than 0.1A, and show excellent synchronization in the variable current test. Under steady-state conditions, the error is controlled within 0.1A.
[0091] Figure 3 A data chart depicting the process of calibrating current in a high temperature environment, with the horizontal axis representing the interval sampling points, the left vertical axis representing the current value, and the right vertical axis representing the temperature value. The sampling accuracy of the shunt was tested by passing a large current through the shunt at a high temperature of 100 degrees Celsius to generate heat. The original sampled shunt current (shown in yellow) had a small error with the current source (the dark blue line), for example, 501.3A was directly sampled at 500A. By using an NTC thermistor to monitor the temperature (the blue line in the figure) and adjusting the resistance correction factor according to the temperature, the current value displayed by the corrected 500A range shunt (the green line) was close to the current source, and the error was reduced to 0.4A. The shunt maintained high accuracy throughout the measurement range.
[0092] The above shows that the improved current measurement method of the present invention can provide current sampling in a high-precision, fast-response and lower-cost manner, is applicable to various high-voltage circuits, thereby calculating the current quickly and accurately and significantly reducing system costs.
[0093] From the above illustration or description, it can be seen that compared with the prior art, the measurement method of the present invention can provide current sampling in a high-precision, fast-response and lower-cost manner, and is suitable for various high-voltage circuits, thereby quickly and accurately calculating the current and greatly reducing system costs.
[0094] The basic principles and main features of the present invention and the advantages of the present invention are shown and described above. It is obvious to those skilled in the art that the present invention is not limited to the details of the above exemplary embodiments, and the present invention can be implemented in other specific forms without departing from the spirit or basic features of the present invention.
[0095] Therefore, the embodiments should be considered in all respects as illustrative and non-restrictive, and the scope of the invention is defined by the appended claims rather than the foregoing description, and it is therefore intended that all changes falling within the meaning and range of equivalent elements of the claims are included in the present invention.
[0096] In addition, it should be understood that although the present specification is described according to implementation modes, not every implementation mode contains only one independent technical solution. This description of the specification is only for the sake of clarity. Those skilled in the art should regard the specification as a whole. The technical solutions in each embodiment may also be appropriately combined to form other implementation modes that can be understood by those skilled in the art.
Claims
1. BMS battery current measurement system, characterized in that: include: A sampling module, wherein the sampling modules are multiple and connected in series to form a daisy chain communication, and are electrically connected to the battery pack to be measured and sampled, and are used to collect temperature and voltage information of each cell of the battery pack, and the first sampling module at the head is also used to collect the current differential signal and temperature analog signal output by the shunt arranged in the battery pack measurement circuit; the shunt is integrated with a temperature sensor; The communication conversion module is communicatively connected to the sampling module and connected to the BMS main control module, and is used to send the temperature, voltage and current information of each cell of the battery pack collected by the sampling module to the BMS main control module for calculating the battery pack current.
2. The BMS battery current measurement system according to claim 1, characterized in that: The plurality of sampling modules are connected in series via a flexible printed circuit board and are electrically connected to the battery pack.
3. The BMS battery current measurement system according to claim 1, characterized in that: The communication conversion module is connected to the BMS battery management system using an SPI communication conversion module.
4. The BMS battery current measurement system according to claim 1, characterized in that: The battery pack measurement circuit is a high-voltage measurement circuit.
5. The BMS battery current measurement system according to claim 1, characterized in that: The sampling module includes a high-precision differential sampling chip.
6. The BMS battery current measurement system according to claim 1, characterized in that: The communication conversion module adopts a communication conversion chip which can convert daisy chain communication into SPI communication.
7. BMS battery current measurement method, characterized in that: The BMS battery current measurement system according to any one of claims 1 to 6 is used to collect battery pack data and calculate the battery pack current; the calculation of the battery pack current includes the steps of calculating the pre-calibration current value of the battery pack and calculating the calibration current value based on the pre-calibration current value.
8. The BMS battery current measurement method according to claim 7, characterized in that: The step of calculating the pre-calibration current value of the battery pack comprises: The voltage value obtained by sampling the first sampling module at a preset voltage unit resolution is multiplied by the preset voltage unit resolution to obtain a voltage value; The voltage value is divided by the resistance value of the shunt to obtain the pre-calibration current value of the battery pack.
9. The BMS battery current measurement method according to claim 8, characterized in that: The step of calculating the calibration current value based on the pre-calibration current value includes: According to the temperature analog signal data sampled by the first sampling module, the resistance-temperature RT table corresponding to the B value of the temperature sensor is searched to determine the real-time temperature of the shunt: According to the real-time temperature of the shunt, find the corresponding shunt resistance ratio table and obtain the proportional coefficient of the shunt resistance at the current temperature: Divide the current value by the proportionality factor of the shunt resistance to obtain the calibrated current value.
10. The BMS battery current measurement method according to claim 1, characterized in that: The steps of the BMS battery current measurement system for collecting battery pack data include: S1. Initialize multiple sampling modules; S2. After the initialization is completed, the BMS battery current measurement system enters the analog-to-digital conversion process, and the BMS battery measurement system activates the analog-to-digital conversion process of all sampling modules; S3. After the sampling module analog-to-digital conversion is completed, the BMS battery current measurement system starts from the first sampling module and reads the sampling data according to the connection order of the sampling modules; S4. During the data collection process, the BMS battery current measurement system evaluates whether all sampling modules have completed data reading at a preset time; if so, reset to the first sampling module and return to step S2; if not, execute step S5; S5. The BMS battery measurement system only turns on the analog-to-digital conversion of the first sampling module and reads the differential current data of the shunt after the conversion is completed, and then continues to sample data from the sampling modules that have not completed data reading until all sampled data are completely read; S6. After all sampled data are read, reset to the first sampling module again and return to step S2; Among them, during the analog-to-digital conversion process in step S2, the BMS battery current measurement system determines whether it is necessary to perform a system self-test; if so, the self-test program is executed; if not, the analog-to-digital conversion process of all sampling modules is activated.
