Voltage measurement system of battery string and electronic equipment
Through segmented battery string and voltage measurement range, voltage calibration is performed using channel selection module and digital processing module, the battery string voltage measurement error and speed problems are solved, and efficient voltage measurement is achieved.
Patent Information
- Application Number
- CN202411106779.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-13
- Publication Date
- 2024-11-01
AI Technical Summary
In the battery string, due to different battery materials, structures and capacity, the voltage variation range is large, which increases the voltage measurement error, and calibration is required before measuring the voltage of multiple batteries, which reduces the voltage measurement speed of the battery string.
Using multiple channel selection modules, voltage measurement modules, digital processing and calibration modules and memory, the offset voltage and gain error calibration values are stored through segmented battery strings and voltage measurement ranges, and digital voltage calibration is directly performed, reducing the number of each battery. Measure the channel calibration time.
The voltage measurement speed of the battery string is improved, the voltage measurement time of the battery string is reduced, the measurement accuracy is enhanced, and the circuit design complexity is reduced.
Smart Images

Figure CN118884264A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of battery detection technology, and in particular to a battery string voltage measurement system and electronic equipment. Background Art
[0002] In electronic devices, batteries are widely used and essential power supply components. To ensure the normal operation of electronic devices, the working status of batteries needs to be monitored and managed in real time. In existing electronic devices, battery measurement chips are usually used to monitor the working status of batteries. The analog-to-digital converter (ADC) inside the battery measurement chip measures the voltage of the battery to determine whether the battery is short-circuited or open-circuited.
[0003] In a battery string, the voltage of multiple cells needs to be measured and monitored. Due to differences in battery materials, battery structures, and battery capacities, the voltage variation range of a single cell is large. At the same time, due to the instability of the number of cells in the battery string, the voltage variation range of the entire battery string is extremely large. A large voltage variation range will increase the error of the battery voltage measurement. At this time, the battery measurement chip requires a wider voltage measurement range. In order to maintain high measurement accuracy in a wider voltage measurement range, it is necessary to ensure that the voltage measurement accuracy of multiple cells in the battery string meets the measurement requirements; generally, before measuring the battery voltage, the battery measurement channel is calibrated.
[0004] However, a battery string contains multiple batteries. Calibration of the battery measurement channel for each battery before voltage measurement will greatly increase the voltage measurement time of the entire battery string and reduce the voltage measurement speed of the battery string. Summary of the invention
[0005] The embodiments of the present application provide a battery string voltage measurement system and an electronic device, which can effectively improve the voltage measurement speed of the battery string.
[0006] The embodiment of the present application provides a voltage measurement system for a battery string, the voltage measurement system comprising: a plurality of channel selection modules, a plurality of voltage measurement modules, a digital processing and calibration module, and a memory;
[0007] The battery string is divided into a plurality of battery segments, and the measurement channels at both ends of the plurality of batteries in each battery segment are connected to the channel selection module corresponding to the battery segment, and the channel selection module is connected to one of the voltage measurement modules; the channel selection module is used to select the measurement channels at both ends of any battery in the corresponding battery segment to the voltage measurement module;
[0008] A plurality of voltage measurement modules are connected to the digital processing and calibration module, and the voltage measurement modules are used to convert the analog voltage transmitted by the selected measurement channel into a digital voltage;
[0009] The digital processing and calibration module is connected to the memory, and the memory stores a plurality of offset voltage calibration values and gain error calibration values corresponding to the channel selection modules;
[0010] The digital processing and calibration module is used to call the offset voltage calibration value and the gain error calibration value stored in the memory based on the channel selection module corresponding to the battery to which the digital voltage belongs to determine the offset voltage calibration value and the gain error calibration value corresponding to the digital voltage, and calibrate the digital voltage to obtain a voltage measurement result.
[0011] Further, the channel selection module includes: a plurality of first switch tubes, a plurality of second switch tubes, a first voltage channel and a second voltage channel;
[0012] The positive end of each battery is connected to the input end of the first switch tube and the input end of the second switch tube, the output end of the first switch tube is connected to the first voltage channel, and the output end of the second switch tube is connected to the second voltage channel.
[0013] Further, the channel selection module is used to control the first switch connected to the positive terminal of the target battery to be turned on, and to control the second switch connected to the negative terminal of the target battery to be turned on; the digital processing and calibration module is used to receive the first voltage measurement result of the target battery output by the voltage measurement module;
[0014] The channel selection module is also used to control the conduction of the second switch tube connected to the positive end of the target battery, and to control the conduction of the first switch tube connected to the negative end of the target battery; the digital processing and calibration module is used to receive the second voltage measurement result of the target battery output by the voltage measurement module, and subtract the first voltage measurement result from the second voltage measurement result to obtain the target voltage measurement result.
[0015] Furthermore, the voltage measurement system also includes a voltage conversion module, the channel selection module is connected to the voltage measurement module through the voltage conversion module, and the voltage conversion module is used to convert the analog voltage transmitted by the measurement channel into a voltage measurement range of the voltage measurement module.
[0016] Furthermore, the digital processing and calibration module is also used to divide the voltage measurement range of the voltage measurement module into multiple voltage calibration ranges; obtain multiple digital voltages output by the voltage measurement module when multiple calibration voltages within the voltage calibration range are input on the measurement channel at both ends of any battery corresponding to any of the channel selection modules; perform linear fitting on the multiple calibration voltages and the multiple digital voltages to obtain offset voltage calibration values and gain error calibration values corresponding to multiple of the channel selection modules in the multiple voltage calibration ranges, and store them in the memory.
[0017] Furthermore, the digital processing and calibration module is specifically used to determine the offset voltage calibration value and gain error calibration value corresponding to the digital voltage from the stored offset voltage calibration value and gain error calibration value based on the channel selection module corresponding to the battery to which the digital voltage belongs and the voltage calibration range in which the digital voltage is located.
[0018] Furthermore, the digital processing and calibration module is also used to obtain offset voltage calibration values and gain error calibration values corresponding to multiple channel selection modules in multiple voltage calibration ranges under multiple ambient temperatures, and store them in the memory.
[0019] Furthermore, the digital processing and calibration module is specifically used to determine the offset voltage calibration value and gain error calibration value corresponding to the digital voltage from the stored offset voltage calibration value and gain error calibration value based on the ambient temperature of the voltage measurement system, the channel selection module corresponding to the battery to which the digital voltage belongs, and the voltage calibration range of the digital voltage.
[0020] Furthermore, the digital processing and calibration module is specifically used to obtain a voltage measurement result by subtracting a corresponding offset voltage calibration value from the digital voltage and dividing the result by a gain error calibration value corresponding to the digital voltage.
[0021] An embodiment of the present application also provides an electronic device, comprising the above-mentioned voltage measurement system.
[0022] It can be seen from the above technical solutions that the embodiments of the present application have the following advantages:
[0023] In an embodiment of the present application, a voltage measurement system for a battery string includes: multiple channel selection modules, multiple voltage measurement modules, a digital processing and calibration module, and a memory; wherein the battery string is divided into multiple battery segments, and the measurement channels at both ends of multiple batteries in each battery segment are connected to the channel selection module corresponding to the battery segment, and the channel selection module is connected to a voltage measurement module; the channel selection module is used to select the measurement channels at both ends of any battery in the corresponding battery segment to the voltage measurement module; multiple voltage measurement modules are connected to the digital processing and calibration module, and the voltage measurement module is used to convert the analog voltage transmitted by the selected measurement channel into a digital voltage; the digital processing and calibration module is connected to the memory, and the memory stores offset voltage calibration values and gain error calibration values corresponding to multiple channel selection modules; the digital processing and calibration module is used to, based on the channel selection module corresponding to the battery to which the digital voltage belongs, call the offset voltage calibration value and gain error calibration value stored in the memory to determine the offset voltage calibration value and gain error calibration value corresponding to the digital voltage, and calibrate the digital voltage to obtain a voltage measurement result.
[0024] In an embodiment of the present application, a battery string is divided into a plurality of battery segments, and each battery segment has a corresponding channel selection module; when the battery measurement system measures the voltage of the batteries in the battery string, the digital processing and calibration module can directly call the offset voltage calibration value and the gain error calibration value stored in the memory based on the channel selection module corresponding to the battery to which the digital voltage belongs, and calibrate the digital voltage to obtain the voltage measurement result; there is no need to calibrate each battery in the battery string before the voltage measurement, thereby reducing the voltage measurement time of the entire battery string and improving the voltage measurement speed of the battery string. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the present application. For ordinary technicians in this field, other drawings can also be obtained based on these drawings.
[0026] Figure 1 A schematic diagram of a voltage measurement system disclosed in an embodiment of the present application.
[0027] Figure 2 A schematic diagram of a channel selection module disclosed in an embodiment of the present application;
[0028] Figure 3 A schematic diagram of a segmented voltage measurement range disclosed in an embodiment of the present application;
[0029] Figure 4 A schematic diagram of a linear fitting disclosed in an embodiment of the present application. DETAILED DESCRIPTION
[0030] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0031] In the description of the embodiments of the present application, it should be noted that the terms "center", "up", "down", "left", "right", "vertical", "horizontal", "inside", "outside", etc. indicate orientations or positional relationships based on the orientations or positional relationships shown in the accompanying drawings. They are only for the convenience of describing the embodiments of the present application and simplifying the description, and do not indicate or imply that the referred device or element must have a specific orientation, be constructed and operated in a specific orientation. Therefore, they cannot be understood as limitations on the embodiments of the present application.
[0032] In the description of the embodiments of the present application, it should be noted that, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in the embodiments of the present application can be understood according to specific circumstances.
[0033] Currently, in a battery string, it is necessary to measure and monitor the voltage of multiple batteries. Due to differences in battery materials, battery structures, and battery capacities, the voltage variation range of a single battery is large. At the same time, due to the instability of the number of battery cells in the battery string, the voltage variation range of the entire battery string is extremely large. A large voltage variation range will increase the error of the battery voltage measurement. At this time, the battery measurement chip requires a wider voltage measurement range. In order to maintain high measurement accuracy in a wider voltage measurement range, it is necessary to ensure that the voltage measurement accuracy of multiple batteries in the battery string meets the measurement requirements; in general, before measuring the battery voltage, the battery measurement channel is calibrated.
[0034] However, a battery string contains multiple batteries. Calibration of the battery measurement channel for each battery before voltage measurement will greatly increase the voltage measurement time of the entire battery string and reduce the voltage measurement speed of the battery string. Therefore, the embodiment of the present application provides a battery string voltage measurement system that can effectively improve the voltage measurement speed of the battery string. Figure 1 As shown, the details are as follows:
[0035] In the embodiment of the present application, the battery string includes multiple battery cells (Cell1, Cell2, Cellm), and the multiple battery cells are connected in series to obtain a higher total voltage (Vtotal), that is, the battery string has a large number of battery cells, and the voltage variation range of a single battery cell is large. The battery measurement system is used to measure the voltage of the battery in the battery string; the battery measurement system includes: multiple channel selection modules (Channel), multiple voltage measurement modules, digital processing and calibration modules and memory; the voltage measurement module can be an analog-to-digital converter (ADC), and the digital processing and calibration module can be a processor CPU or MCU, which is not specifically limited here; the memory can be a data storage device or a register, which is not specifically limited here.
[0036] Among them, the battery string is divided into multiple battery segments, and the measurement channels at both ends of multiple batteries in each battery segment are connected to the channel selection module corresponding to the battery segment, and the channel selection module is connected to a voltage measurement module. In the figure, the measurement channels at both ends (positive and negative ends) of the battery are CT, such as the measurement channels at both ends of the battery Cellm are CTm and CTm-1; the measurement channels at both ends of all batteries in each battery segment correspond to a channel selection module, that is, the measurement channels at both ends of the batteries on the battery string are segmented. Preferably, the battery string is divided into multiple battery segments based on the total number of battery cells in the battery string, and each battery segment contains the same number of battery cells. For example, when the total number of batteries in the battery string is 18, the battery string can be divided into three battery segments, with 1 to 6 batteries as one segment, and channel selection is performed using channel selection module Channel1; 7 to 12 batteries as one segment, and channel selection is performed using channel selection module Channel2; 13 to 18 batteries as one segment, and channel selection is performed using channel selection module Channel3; at this time, the voltage measurement range of each channel selection module is reduced, which reduces the difficulty of circuit design of the channel selection module, and can also improve the measurement accuracy of each channel selection module within the corresponding voltage measurement range.
[0037] The channel selection module is used to select the measurement channels at both ends of any battery in the corresponding battery segment to the voltage measurement module, that is, to select a battery in the battery string for voltage measurement; it can be understood that at the same time, only one of the multiple channel selection modules selects the measurement channels at both ends of the battery to the voltage measurement module. Multiple voltage measurement modules are connected to the digital processing and calibration module, and the voltage measurement module is used to convert the analog voltage transmitted by the selected measurement channel into a digital voltage.
[0038] The digital processing and calibration module is used to process the digital voltage output by the voltage measurement module, and to calibrate the digital voltage for offset and gain error. The digital processing and calibration module is connected to a memory, and the memory stores offset voltage calibration values and gain error calibration values corresponding to multiple channel selection modules; it can be understood that for each channel selection module in the multiple channel selection modules, a measurement channel of a certain battery can be selected in the channel selection module, multiple calibration voltages can be input on the measurement channel, and multiple digital voltages output by the corresponding voltage measurement module can be obtained. The input multiple calibration voltages are linearly fitted with the output multiple digital voltages to obtain the offset voltage calibration value and gain error calibration value corresponding to the channel selection module, so as to store the offset voltage calibration value and gain error calibration value corresponding to the multiple channel selection modules in the memory. The digital processing and calibration module is used to, based on the channel selection module corresponding to the battery to which the digital voltage belongs, call the offset voltage calibration value and gain error calibration value stored in the memory to determine the offset voltage calibration value and gain error calibration value corresponding to the digital voltage, and calibrate the digital voltage to obtain the voltage measurement result. That is, determine the battery segment to which the digital voltage belongs, match the channel selection module corresponding to the battery segment with the channel selection module stored in the memory, obtain the offset voltage calibration value and gain error calibration value corresponding to the channel selection module corresponding to the battery segment, and then use the corresponding offset voltage calibration value and gain error calibration value to calibrate the digital voltage to obtain the voltage measurement result. It can be understood that for a single-cell battery with a large voltage measurement range, the voltage calibration of the single-cell battery is also segmented, which can reduce the design complexity of the voltage measurement module within the wide voltage measurement range of the battery string, and ensure the accuracy of the voltage measurement module within the wide voltage measurement range through segmented calibration. By eliminating the offset voltage and gain error, high-precision voltage measurement of the wide voltage range of the battery string can be achieved.
[0039] It can be seen that in the embodiment of the present application, the voltage measurement system of the battery string includes: multiple channel selection modules, multiple voltage measurement modules, a digital processing and calibration module and a memory; wherein the battery string is divided into multiple battery segments, and the measurement channels at both ends of multiple batteries in each battery segment are connected to the channel selection module corresponding to the battery segment, and the channel selection module is connected to a voltage measurement module; the channel selection module is used to select the measurement channels at both ends of any battery in the corresponding battery segment to the voltage measurement module; multiple voltage measurement modules are connected to the digital processing and calibration module, and the voltage measurement module is used to convert the analog voltage transmitted by the selected measurement channel into a digital voltage; the digital processing and calibration module is connected to the memory, and the memory stores the offset voltage calibration values and gain error calibration values corresponding to the multiple channel selection modules; the digital processing and calibration module is used to, based on the channel selection module corresponding to the battery to which the digital voltage belongs, call the offset voltage calibration value and the gain error calibration value stored in the memory to determine the offset voltage calibration value and the gain error calibration value corresponding to the digital voltage, and calibrate the digital voltage to obtain the voltage measurement result.
[0040] In an embodiment of the present application, a battery string is divided into a plurality of battery segments, and each battery segment has a corresponding channel selection module; when the battery measurement system measures the voltage of the batteries in the battery string, the digital processing and calibration module can directly call the offset voltage calibration value and the gain error calibration value stored in the memory based on the channel selection module corresponding to the battery to which the digital voltage belongs, and calibrate the digital voltage to obtain the voltage measurement result; there is no need to calibrate each battery in the battery string before the voltage measurement, thereby reducing the voltage measurement time of the entire battery string and improving the voltage measurement speed of the battery string.
[0041] Further, the channel selection module includes: a plurality of first switch tubes SWP, a plurality of second switch tubes SWN, a first voltage channel HVPchannel and a second voltage channel HVNchannel; the positive end of each battery is connected to the input end of the first switch tube and the input end of the second switch tube, the output end of the first switch tube is connected to the first voltage channel, and the output end of the second switch tube is connected to the second voltage channel. The first switch tube and the second switch tube can be MOS tubes or triodes, which are not specifically limited here.
[0042] like Figure 2As shown, the battery string includes 18 batteries (Cell1, Cell18), CT represents the positive terminal of the battery, Vinp represents the voltage on the first voltage channel HVPchannel, and Vinn represents the voltage on the second voltage channel HVNchannel; the 18 batteries are divided into 3 battery segments, 1 to 6 batteries are one segment, and the channel selection module Channel1 is used to select the channel, corresponding to the first voltage channel HVPchannel1 and the second voltage channel HVNchannel1; 7 to 12 batteries are used as one segment, and the channel selection module Channel2 is used to select the channel, corresponding to the first voltage channel HVPchannel2 and the second voltage channel HVNchannel2; 13 to 18 batteries are used as one segment, and the channel selection module Channel3 is used to select the channel, corresponding to the first voltage channel HVPchannel3 and the second voltage channel HVNchannel3.
[0043] In order to improve the measurement accuracy and eliminate low-frequency noise, system chopping is required in the channel selection module, that is, alternately selecting the first switch tube SWP and the second switch tube SWN at both ends of the battery; specifically, the channel selection module is used to control the first switch tube SWP connected to the positive end of the target battery to be turned on, and control the second switch tube SWN connected to the negative end of the target battery to be turned on; the target battery is any battery corresponding to the channel selection module; the digital processing and calibration module is used to receive the first voltage measurement result of the target battery output by the voltage measurement module; the channel selection module is also used to control the second switch tube SWN connected to the positive end of the target battery to be turned on, and control the first switch tube SWP connected to the negative end of the target battery to be turned on; the digital processing and calibration module is used to receive the second voltage measurement result of the target battery output by the voltage measurement module, and subtract the first voltage measurement result from the second voltage measurement result to obtain the target voltage measurement result.
[0044] For example, for the 18th battery Cell18, when the voltage is measured for the first time, the positive end of the battery selects the first switch tube SWP18 to be turned on, and the negative end of the battery selects the second switch tube SWN17 to be turned on, then the first voltage measurement result of the 18th battery is Vcell+Vniose, where Vcell is the battery voltage and Vniose is the noise voltage. When the voltage is measured for the second time, the positive end of the battery selects the second switch tube SWN18 to be turned on, and the negative end of the battery selects the first switch tube SWP17 to be turned on, then the second voltage measurement result of the 18th battery is -Vcell+Vniose. The digital processing and calibration module eliminates the low-frequency noise by subtracting the two voltage measurement results to obtain the battery voltage without low-frequency noise, thereby achieving high-precision voltage measurement.
[0045] Furthermore, the voltage measurement system also includes a voltage conversion module Levelshift, and the channel selection module is connected to the voltage measurement module through the voltage conversion module, and the voltage conversion module is used to convert the analog voltage transmitted by the measurement channel to the voltage measurement range of the voltage measurement module. It can be understood that the voltage measurement range of the voltage measurement module is limited. For example, the voltage measurement range of the analog-to-digital converter ADC is generally -1V to 5V. If the voltage of a battery is 5V, the voltage of 18 batteries will reach 90V, which exceeds the voltage measurement range of the analog-to-digital converter. Therefore, in an embodiment of the present application, a voltage conversion module is connected to the first voltage channel and the second voltage channel of the channel selection module, and the analog voltages on the first voltage channel and the second voltage channel are proportionally reduced to within the voltage measurement range of the voltage measurement module to ensure the measurement accuracy of the voltage measurement module.
[0046] Furthermore, the digital processing and calibration module is also used to divide the voltage measurement range of the voltage measurement module into multiple voltage calibration ranges, so as to perform voltage calibration in the multiple voltage calibration ranges respectively; Figure 3 As shown, it is divided into two voltage calibration ranges CAL1 and CAL2, wherein the voltage range (Voltage Range) of the voltage calibration range CAL1 is -1V~+1V; the voltage range of the voltage calibration range CAL2 is 2V~5V, the horizontal axis INPUT in the figure represents the input voltage of the measurement channel at both ends of the battery, and the vertical axis DOUT in the figure represents the digital voltage output by the voltage measurement module. When there is no offset and gain error, the input voltage is consistent (equal) with the output digital voltage, and the corresponding reference straight line can be obtained. It can be understood that after the digital voltage output by the voltage measurement module is divided into two voltage calibration ranges and the offset voltage and gain error are calibrated, the voltage measurement error of the digital voltage in each voltage calibration range after the offset voltage and gain error calibration will be smaller than the voltage measurement error after the offset voltage and gain error calibration of the full voltage measurement range, further improving the voltage measurement accuracy.
[0047] The digital processing and calibration module can obtain multiple digital voltages output by the voltage measurement module when multiple calibration voltages within the voltage calibration range are input on the measurement channel at both ends of any battery corresponding to any channel selection module; linearly fit the multiple calibration voltages with the multiple digital voltages to obtain the offset voltage calibration values and gain error calibration values corresponding to the multiple channel selection modules in the multiple voltage calibration ranges, and store them in the memory. For example, the measurement channel at both ends of the third battery Cell3 can be selected from the channel selection module Channel1, and the voltage calibration range CAL1 is calibrated first. 11 calibration voltages can be selected within the voltage range of -1V to +1V of the voltage calibration range CAL1, such as -1V, -0.8V, -0.6V, -0.4V, -0.2V, -0V, 0.2V, 0.4V, 0.6V, 0.8V and 1.0V. The 11 calibration voltages are input into the measurement channel at both ends of the third battery Cell3 to obtain 11 digital voltages output by the corresponding voltage measurement module; the 11 calibration voltages are linearly fitted with the corresponding 11 digital voltages, and the offset voltage (Offset) and gain error (Gain error) of the channel selection module Channel1 within the voltage calibration range CAL1 are obtained based on the straight line obtained after fitting and the reference straight line, and then the offset voltage and gain error are saved in the memory. At this time, the offset voltage calibration values and gain error trim values (offset and gain error trim) corresponding to the multiple channel selection modules in the multiple voltage calibration ranges are shown in the following table:
[0048]
[0049] It can be seen that since there is no need to calibrate the measurement channels of all batteries in the battery string, the memory does not need to store the offset voltage calibration values and gain error calibration values of the measurement channels of all batteries, and the required memory space is relatively small.
[0050] When the voltage measurement system measures the voltage of a battery string, the channel selection module can sequentially select the measurement channel of a battery, the voltage measurement module performs digital conversion on the analog voltage in the measurement channel, and transmits the digital voltage to the digital processing and calibration module; the digital processing and calibration module is specifically used to determine the offset voltage calibration value and gain error calibration value corresponding to the digital voltage from the stored offset voltage calibration value and gain error calibration value based on the channel selection module corresponding to the battery to which the digital voltage belongs and the voltage calibration range in which the digital voltage is located. That is, the digital processing and calibration module can determine which channel selection module the digital voltage comes from and the voltage calibration range in which the digital voltage is located, and select the offset voltage calibration value and gain error calibration value corresponding to the channel selection module in the memory and the voltage calibration range according to the channel selection module and the voltage calibration range; then, the offset voltage calibration value and the gain error calibration value can be used to calibrate the digital voltage to eliminate the offset and gain errors of the digital voltage, thereby realizing high-precision voltage measurement of a wide voltage range of the entire battery string. Specifically, eliminating the offset and gain errors of the digital voltage may be performed by subtracting the corresponding offset voltage calibration value from the digital voltage and dividing the result by the gain error calibration value corresponding to the digital voltage to obtain a voltage measurement result.
[0051] Furthermore, the ambient temperature of the digital processing and calibration module may change during the process of obtaining the calibration value and the actual calibration process. Even if the same calibration voltage is input at different ambient temperatures, the output digital voltage will be different, that is, the change in ambient temperature will affect the offset voltage calibration value and the gain error calibration value obtained; in order to improve the voltage calibration accuracy, the digital processing and calibration module is also used to obtain the offset voltage calibration value and the gain error calibration value corresponding to the multiple channel selection modules in the multiple voltage calibration range at multiple ambient temperatures and store them in the memory. That is, by setting the ambient temperature of the voltage measurement system, the digital processing and calibration module can obtain the offset voltage calibration value and the gain error calibration value corresponding to the multiple channel selection modules in the multiple voltage calibration range at multiple ambient temperatures, and save the corresponding ambient temperature at the same time when saving.
[0052] At this time, the digital processing and calibration module can determine the offset voltage calibration value and gain error calibration value corresponding to the digital voltage from the stored offset voltage calibration value and gain error calibration value based on the ambient temperature of the voltage measurement system, the channel selection module corresponding to the battery to which the digital voltage belongs, and the voltage calibration range in which the digital voltage is located. That is, the ambient temperature of the voltage measurement system during actual calibration, the channel selection module corresponding to the battery to which the digital voltage belongs, and the voltage calibration range in which the digital voltage is located can be determined, and the corresponding offset voltage calibration value and gain error calibration value can be obtained from the memory.
[0053] It can be seen that in the embodiment of the present application, by segmenting the measurement channels and voltage measurement ranges of multiple batteries in the battery string, and storing the offset voltage calibration value and the gain error calibration value in the memory, the digital processing and calibration module performs voltage calibration by calling the offset voltage calibration value and the gain offset error calibration value stored in the memory, thereby being able to achieve high-precision voltage measurement in a wide voltage range with a smaller memory area.
[0054] An embodiment of the present application also provides an electronic device, comprising the above-mentioned voltage measurement system.
[0055] In the present invention, the terms "first", "second", "third", and "fourth" are used for descriptive purposes only and should not be understood as indicating or implying relative importance. The term "plurality" refers to two or more, unless otherwise clearly defined.
[0056] The above embodiments are only used to illustrate the technical solutions of the embodiments of the present application, rather than to limit them. Although the embodiments of the present application are described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions recorded in the aforementioned embodiments, or replace some or all of the technical features therein by equivalents. These modifications or replacements do not deviate the essence of the corresponding technical solutions from the scope of the technical solutions of the embodiments of the present application, and they should all be included in the scope of the claims and description of the embodiments of the present application.
Claims
1. A voltage measurement system for a battery string, characterized in that: The voltage measurement system comprises: a plurality of channel selection modules, a plurality of voltage measurement modules, a digital processing and calibration module and a memory; The battery string is divided into a plurality of battery segments, and the measurement channels at both ends of the plurality of batteries in each battery segment are connected to the channel selection module corresponding to the battery segment, and the channel selection module is connected to one of the voltage measurement modules; the channel selection module is used to select the measurement channels at both ends of any battery in the corresponding battery segment to the voltage measurement module; A plurality of voltage measurement modules are connected to the digital processing and calibration module, and the voltage measurement modules are used to convert the analog voltage transmitted by the selected measurement channel into a digital voltage; The digital processing and calibration module is connected to the memory, and the memory stores a plurality of offset voltage calibration values and gain error calibration values corresponding to the channel selection modules; The digital processing and calibration module is used to call the offset voltage calibration value and the gain error calibration value stored in the memory based on the channel selection module corresponding to the battery to which the digital voltage belongs to determine the offset voltage calibration value and the gain error calibration value corresponding to the digital voltage, and calibrate the digital voltage to obtain a voltage measurement result.
2. The voltage measurement system according to claim 1, characterized in that: The channel selection module includes: a plurality of first switch tubes, a plurality of second switch tubes, a first voltage channel and a second voltage channel; The positive end of each battery is connected to the input end of the first switch tube and the input end of the second switch tube, the output end of the first switch tube is connected to the first voltage channel, and the output end of the second switch tube is connected to the second voltage channel.
3. The voltage measurement system according to claim 2, characterized in that: The channel selection module is used to control the first switch connected to the positive terminal of the target battery to be turned on, and to control the second switch connected to the negative terminal of the target battery to be turned on; the digital processing and calibration module is used to receive the first voltage measurement result of the target battery output by the voltage measurement module; The channel selection module is also used to control the conduction of the second switch tube connected to the positive end of the target battery, and to control the conduction of the first switch tube connected to the negative end of the target battery; the digital processing and calibration module is used to receive the second voltage measurement result of the target battery output by the voltage measurement module, and subtract the first voltage measurement result from the second voltage measurement result to obtain the target voltage measurement result.
4. The voltage measurement system according to claim 1, characterized in that: The voltage measurement system further includes a voltage conversion module, through which the channel selection module is connected to the voltage measurement module, and the voltage conversion module is used to convert the analog voltage transmitted by the measurement channel into a voltage measurement range of the voltage measurement module.
5. The voltage measurement system according to claim 1, characterized in that: The digital processing and calibration module is also used to divide the voltage measurement range of the voltage measurement module into multiple voltage calibration ranges; when multiple calibration voltages within the voltage calibration range are input to the measurement channel at either end of any battery corresponding to any of the channel selection modules, the voltage measurement module outputs multiple digital voltages; Linear fitting is performed between the multiple calibration voltages and the multiple digital voltages to obtain offset voltage calibration values and gain error calibration values corresponding to multiple channel selection modules in multiple voltage calibration ranges, and store them in the memory.
6. The voltage measurement system according to claim 5, characterized in that: The digital processing and calibration module is specifically used to determine the offset voltage calibration value and the gain error calibration value corresponding to the digital voltage from the stored offset voltage calibration value and the gain error calibration value based on the channel selection module corresponding to the battery to which the digital voltage belongs and the voltage calibration range in which the digital voltage is located.
7. The voltage measurement system according to claim 5, characterized in that: The digital processing and calibration module is also used to obtain offset voltage calibration values and gain error calibration values corresponding to multiple channel selection modules in multiple voltage calibration ranges under multiple ambient temperatures, and store them in the memory.
8. The voltage measurement system according to claim 1, characterized in that: The digital processing and calibration module is specifically used to determine the offset voltage calibration value and the gain error calibration value corresponding to the digital voltage from the stored offset voltage calibration value and the gain error calibration value based on the ambient temperature of the voltage measurement system, the channel selection module corresponding to the battery to which the digital voltage belongs, and the voltage calibration range of the digital voltage.
9. The voltage measurement system according to claim 1, characterized in that: The digital processing and calibration module is specifically used to obtain a voltage measurement result by subtracting a corresponding offset voltage calibration value from the digital voltage and dividing the result by a gain error calibration value corresponding to the digital voltage.
10. An electronic device, characterized in that: A voltage measurement system comprising any one of claims 1 to 9.
