CN115856412A - Battery voltage acquisition circuit, acquisition method, chip, electrical appliance and electronic equipment - Google Patents

Battery voltage acquisition circuit, acquisition method, chip, electrical appliance and electronic equipment Download PDF

Info

Publication number
CN115856412A
CN115856412A CN202211449176.6A CN202211449176A CN115856412A CN 115856412 A CN115856412 A CN 115856412A CN 202211449176 A CN202211449176 A CN 202211449176A CN 115856412 A CN115856412 A CN 115856412A
Authority
CN
China
Prior art keywords
voltage
acquisition
battery
circuit
voltage signal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202211449176.6A
Other languages
Chinese (zh)
Other versions
CN115856412B (en
Inventor
申和平
李凯
张海兵
明先军
陈稳骐
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Appsoft Technology Co ltd
Wuhan Puhui Ocean Photoelectric Technology Co ltd
Original Assignee
Beijing Appsoft Technology Co ltd
Wuhan Puhui Ocean Photoelectric Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Appsoft Technology Co ltd, Wuhan Puhui Ocean Photoelectric Technology Co ltd filed Critical Beijing Appsoft Technology Co ltd
Priority to CN202211449176.6A priority Critical patent/CN115856412B/en
Publication of CN115856412A publication Critical patent/CN115856412A/en
Application granted granted Critical
Publication of CN115856412B publication Critical patent/CN115856412B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Secondary Cells (AREA)

Abstract

The invention provides a battery voltage acquisition circuit, an acquisition method, a chip, an electrical appliance and an electronic device, wherein the circuit comprises: the acquisition control circuit and the reference circuit; the positive electrode of the battery module to be tested is connected with the first power pin of the acquisition control circuit, and the negative electrode of the battery module to be tested is respectively connected with the first power ground of the acquisition control circuit and the second power ground of the reference circuit; a first analog-digital input interface of the acquisition control circuit is connected with a voltage stabilization output end of the reference circuit; and a first output control interface of the acquisition control circuit is connected with a power supply input end of the reference circuit. The battery voltage acquisition circuit, the acquisition method, the chip, the electrical appliance and the electronic equipment provided by the invention realize the controllability of power supply of the reference circuit under a simple structure, trigger the acquisition of the battery voltage through the electrified reference circuit, improve the accuracy and controllability of voltage acquisition, reduce the cost and effectively avoid the loss of the battery capacity caused by the partial voltage of the resistors at the two ends of the battery in the prior art.

Description

Battery voltage acquisition circuit, acquisition method, chip, electrical appliance and electronic equipment
Technical Field
The invention relates to the technical field of battery management, in particular to a battery voltage acquisition circuit, an acquisition method, a chip, an electrical appliance and electronic equipment.
Background
Nowadays, many electronic devices, such as portable computers, mobile phones, electric vehicles, and other electronic devices, use multiple single batteries connected in series to meet current and voltage requirements. Overcharging and overdischarging of individual cells during battery charging and discharging will result in reduced performance and life of the battery pack. Therefore, in order to ensure the safety and the life of the battery, the protection circuit is gradually developed into an essential accessory of the rechargeable battery, and the collection of the battery voltage is particularly important.
The current scheme for collecting battery voltage can be roughly divided into two schemes, one scheme is to collect battery voltage by using an Integrated Circuit (IC), which is relatively high in cost and relatively low in universality. The other method is that a resistor voltage dividing circuit R1 and a resistor voltage dividing circuit R2 are designed to be connected to a battery, a low voltage is obtained from a center tap of the voltage dividing circuit, the low voltage is enabled to be within a reference voltage range, then the low voltage is sent to an AD port in a Micro Control Unit (MCU) for sampling, and the battery voltage is directly obtained by utilizing the sampled value. According to the scheme, the two resistors are connected in parallel at the two ends of the battery, so that the discharging current still exists even if the MCU does not execute an acquisition program, the extra loss of the battery can be caused, the acquisition precision of the voltage of the battery is low, and the service life of the battery is influenced.
Disclosure of Invention
The invention provides a battery voltage acquisition circuit, an acquisition method, a chip, an electrical appliance and electronic equipment, which are used for solving the defect that extra loss occurs when an acquisition program is not executed in the prior art.
The invention provides a battery voltage acquisition circuit, which comprises an acquisition control circuit and a reference circuit, wherein the acquisition control circuit comprises a reference circuit and a reference circuit;
the positive electrode of the battery module to be tested is connected with the first power pin of the acquisition control circuit, and the negative electrode of the battery module to be tested is respectively connected with the first power ground of the acquisition control circuit and the second power ground of the reference circuit;
a first analog-digital input interface of the acquisition control circuit is connected with a voltage stabilization output end of the reference circuit; a first output control interface of the acquisition control circuit is connected with a power supply input end of the reference circuit;
the reference circuit is used for outputting a first voltage signal to the acquisition control circuit after receiving the high-level signal sent by the acquisition control circuit;
the acquisition control circuit is used for determining the voltage of the battery module to be tested based on the first voltage signal and the second voltage signal;
the second voltage signal is obtained by converting the acquisition control circuit under the combined action of the first voltage signal and an electric signal emitted by the anode of the battery module to be tested.
According to the battery voltage acquisition circuit provided by the invention, the acquisition control circuit comprises an analog-digital converter and a micro control unit;
the analog-digital converter comprises a second analog-digital input interface, a reference input interface, an analog-digital output interface and a third power supply ground;
the micro control unit comprises a second power supply pin, a second output control interface, a processing element and a fourth power supply ground;
the analog-digital output interface is connected with the processing element; the second output control interface is connected with the power supply input end; the analog-digital input interface is connected with the voltage-stabilizing output end; the anode of the battery module to be tested is connected with the second power supply pin and the reference input interface respectively; the negative electrode of the battery module to be tested is respectively connected with the third power supply ground and the fourth power supply ground;
the micro control unit is used for sending the high level signal to the power supply input end through the second output control interface;
the analog-digital converter is used for receiving the first voltage signal output by the voltage-stabilizing output end and collecting the second voltage signal;
and the micro control unit is used for determining the voltage of the battery module to be tested based on the first voltage signal and the second voltage signal.
According to the battery voltage acquisition circuit provided by the invention, the reference circuit comprises a current-limiting resistor and a voltage stabilizing element.
According to the battery voltage acquisition circuit provided by the invention, the rated voltage stabilization of the voltage stabilization element is smaller than the rated voltage of the battery module to be tested.
The invention also provides a battery voltage acquisition method, which comprises the following steps:
starting a reference circuit according to a high-level signal sent by an acquisition control circuit, and determining that the reference circuit outputs a first voltage signal;
determining the voltage of the battery module to be tested based on the first voltage signal and the second voltage signal;
the second voltage signal is obtained by converting the acquisition control circuit under the combined action of the first voltage signal and an electric signal sent by the battery module to be tested.
According to the battery voltage acquisition method provided by the invention, the step of determining the voltage of the battery module to be tested based on the first voltage signal and the second voltage signal comprises the following steps:
determining the voltage of the battery module to be tested based on the rated conversion voltage signal, the first voltage signal and the second voltage signal;
the rated conversion voltage signal is based on a corresponding voltage signal of the analog-digital converter in a full scale state.
According to the battery voltage collecting method provided by the invention, after the voltage of the battery module to be tested is determined, the method further comprises the following steps:
and determining the residual electric quantity of the battery module to be tested based on the voltage of the battery module to be tested.
The invention also provides a chip comprising the battery voltage acquisition circuit.
The invention also provides an electrical appliance which comprises a power supply module and the chip.
The invention also provides an electronic device, which comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein the processor executes the program to realize the battery voltage acquisition method.
The present invention also provides a non-transitory computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements a battery voltage acquisition method as described in any of the above.
The invention also provides a computer program product comprising a computer program which, when executed by a processor, implements a method of collecting battery voltage as described in any one of the above.
The battery voltage acquisition circuit, the acquisition method, the chip, the electrical appliance and the electronic equipment provided by the invention control the acquisition control circuit to send a high level signal based on the connection relationship between the first output control interface of the acquisition control circuit and the power supply input end of the reference circuit so as to activate the reference circuit to send a stable first voltage signal, and then control the acquisition control circuit to reversely deduce the voltage of the battery module to be detected by using the second voltage signal obtained by sampling and the known first voltage signal through the connection relationship between the first analog digital input interface of the acquisition control circuit and the voltage stabilizing output end of the reference circuit. The power supply of the reference circuit is controllable under a simple structure, so that the collection of the voltage of the battery is triggered through the electrified reference circuit, the precision and controllability of the voltage collection are improved, the cost is reduced, and the loss of the battery capacity caused by the partial voltage of the resistors at two ends of the battery in the prior art can be effectively avoided.
Drawings
In order to more clearly illustrate the technical solutions of the present invention or the prior art, the drawings needed for the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and those skilled in the art can also obtain other drawings according to the drawings without creative efforts.
FIG. 1 is a schematic diagram of a battery voltage acquisition circuit according to the present invention;
FIG. 2 is a second schematic diagram of a battery voltage acquisition circuit according to the present invention;
FIG. 3 is a schematic flow chart of a battery voltage acquisition method provided by the present invention;
FIG. 4 is a schematic diagram of a chip according to the present invention;
FIG. 5 is a schematic structural diagram of an electrical appliance provided in the present invention;
fig. 6 is a schematic structural diagram of an electronic device provided in the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is obvious that the described embodiments are some, but not all embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terms "first," "second," and the like in this application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application may be practiced in sequences other than those illustrated or described herein, and that the terms "first," "second," and the like are generally used herein in a generic sense and do not limit the number of terms, e.g., the first term can be one or more than one.
It is to be understood that the terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in this application, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
The terms "comprises" and "comprising" indicate the presence of the described features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
Fig. 1 is a schematic structural diagram of a battery voltage acquisition circuit according to the present invention. As shown in fig. 1, the battery voltage acquisition circuit according to the embodiment of the present invention includes an acquisition control circuit 110 and a reference circuit 120.
The positive electrode of the battery module to be tested is connected with the first power pin 111 of the acquisition control circuit 110, and the negative electrode of the battery module to be tested is respectively connected with the first power ground 112 of the acquisition control circuit 110 and the second power ground 121 of the reference circuit 120.
The first analog-digital input interface 113 of the acquisition control circuit 110 is connected to the regulated output 122 of the reference circuit 120. The first output control interface 114 of the acquisition control circuit 110 is connected to the power supply input 123 of the reference circuit 120.
The reference circuit 120 is configured to output a first voltage signal to the acquisition control circuit 110 after receiving the high-level signal sent by the acquisition control circuit 110.
And the acquisition control circuit 110 is used for determining the voltage of the battery module to be tested based on the first voltage signal and the second voltage signal.
The second voltage signal is obtained by converting the acquisition control circuit 110 under the combined action of the first voltage signal and an electrical signal emitted by the anode of the battery module to be tested.
It should be noted that the battery voltage acquisition circuit is connected to the positive and negative electrodes of the battery module to be tested, and the battery voltage acquisition circuit is used for reversely deducing the voltage of the battery module to be tested according to the acquired voltage signal after starting the battery voltage acquisition program so as to measure the electric quantity level of the battery module to be tested.
Specifically, the battery voltage acquisition circuit is constituted by an acquisition control circuit 110 and a reference circuit 120. The acquisition control circuit 110 comprises at least a first power supply pin 111, a first power supply ground 112, a first analog-digital input interface 113 and a first output control interface 114, while the reference circuit 120 comprises at least a second power supply ground connection 121, a regulated output 122 and a power supply input 123.
Wherein:
the first power pin 111 is a high potential end of the acquisition control circuit 110, and is connected to the positive electrode of the battery module to be tested. The first power pin 111 is configured to receive a voltage emitted by a positive electrode of the battery module to be tested, and provide a power supply for the acquisition control circuit 110.
The first power supply ground 112 refers to a low potential end of the acquisition control circuit 110. The second power supply ground connection 121 refers to the low potential terminal of the reference circuit 120.
The first power supply ground 112 and the second power supply ground connection 121 are respectively connected to the negative electrode of the battery module to be tested to form a complete loop from the positive electrode to the negative electrode of the battery module to be tested.
The first output control interface 114 of the acquisition control circuit 110 is connected to the power supply input 123 of the reference circuit 120. The regulated output 122 of the reference circuit 120 is coupled to the first analog-to-digital input interface 130 of the acquisition control circuit 110.
The first output control interface 114 is an output interface that can be controlled by a program. When the acquisition control circuit receives the acquisition start signal, the first output control interface 114 is controlled to output a high level signal to the power supply input terminal 123 of the reference circuit 120, so as to supply power to the reference circuit 120.
The reference circuit 120, when activated by power, controls the regulated output 122 to transmit a known regulated voltage (i.e., a first voltage signal) to the first analog-to-digital input interface 113. The first analog-digital input interface 113 is configured to, after receiving the analog signal corresponding to the first voltage signal, sample the acquisition control circuit 110 by using an AD conversion element, and output a converted digital signal as a second voltage signal. Next, the processing element in the acquisition control circuit 110 performs a reverse-thrust operation by using the first voltage signal and the second voltage signal to obtain a voltage corresponding to the positive electrode of the battery module to be tested in the loop.
The acquisition control circuit is controlled to send a high level signal based on the connection relation between the first output control interface of the acquisition control circuit and the power supply input end of the reference circuit so as to activate the reference circuit to send a stable first voltage signal, and then the acquisition control circuit is controlled to reversely deduce to obtain the voltage of the battery module to be tested by utilizing the second voltage signal obtained by sampling and the known first voltage signal through the connection relation between the first analog digital input interface of the acquisition control circuit and the voltage stabilizing output end of the reference circuit. The power supply of the reference circuit is controllable under a simple structure, so that the collection of the voltage of the battery is triggered through the electrified reference circuit, the precision and controllability of the voltage collection are improved, the cost is reduced, and the loss of the battery capacity caused by the partial voltage of the resistors at two ends of the battery in the prior art can be effectively avoided.
Fig. 2 is a second schematic structural diagram of the battery voltage acquisition circuit provided in the present invention. On the basis of any of the above embodiments, as shown in fig. 2, the acquisition control circuit 210 includes an analog-to-digital converter 211 and a micro control unit 212.
The analog-to-digital converter 211 includes a second analog-to-digital input interface 211-1, a reference input interface 211-2, an analog-to-digital output interface 211-3, and a third power ground 211-4.
The micro control unit 212 includes a second power pin 212-1, a second output control interface 212-2, a processing element 212-3, and a fourth power ground 212-4.
Analog-to-digital output interface 211-3 is coupled to processing element 212-3. The second output control interface 212-2 is connected to the power input 220-3. The analog-to-digital input interface 211-2 is connected to the regulated output 220-2. The positive electrode of the battery module to be tested is respectively connected with the second power supply pin 212-1 and the reference input interface 211-2. The negative electrode of the battery module to be tested is respectively connected with the third power supply ground 211-4 and the fourth power supply ground 212-4.
And the micro control unit 212 is used for sending a high level signal to the power supply input end 220-3 through the second output control interface 212-2.
The analog-to-digital converter 211 is configured to receive the first voltage signal output by the regulated output terminal 220-2 and collect a second voltage signal.
And the micro control unit 212 is used for determining the voltage of the battery module to be tested based on the first voltage signal and the second voltage signal.
Specifically, the battery voltage acquisition circuit is constituted by an acquisition control circuit 210 and a reference circuit 220.
The acquisition control circuit 110 may be a component integrating an AD conversion function and a processing function, and may further be composed of a relatively independent analog-digital converter 211 and a micro control unit 212.
The analog-to-digital converter 211 includes a second analog-to-digital input interface 211-1, a reference input interface 211-2, an analog-to-digital output interface 211-3, and a third power ground 211-4. The micro control unit 212 includes a second power pin 212-1, a second output control interface 212-2, a processing element 212-3, and a fourth power ground 212-4. The concrete connection mode of each part is as follows:
the second power pin 212-1 and the reference input interface 211-2 refer to high potential ends of the micro control unit 212 and the adc 211, respectively, and both are connected to the positive electrode of the battery module to be tested to receive the voltage emitted from the positive electrode of the battery module to be tested, so as to provide power for the acquisition micro control unit 212 and the adc 211.
The third power ground 211-4 and the fourth power ground 212-4 refer to the low potential terminals of the adc 211 and the mcu 212, respectively.
The third power ground 211-4 and the fourth power ground 212-4 are respectively connected to the negative electrode of the battery module to be tested to form a complete loop from the positive electrode to the negative electrode of the battery module to be tested.
The second output control interface 212-2 of the micro control unit 212 is connected to the supply input 220-3 of the reference circuit 220. The regulated output 220-2 of the reference circuit 220 is coupled to the second adc 211-1 of the adc 211.
When the processing element 212-3 of the mcu 212 receives the capture start signal, the second output control interface 212-2 is controlled to output a high level signal to the power input 220-3 to power the reference circuit 220.
After being activated by power, the reference circuit 220 controls the regulated output terminal 220-2 to transmit a first voltage signal to the second analog-digital input interface 211-1 of the digital converter 211. After receiving the analog signal corresponding to the first voltage signal, the second analog-digital input interface 211-1 performs sampling by the digital converter 211, and outputs the converted digital signal as a second voltage signal to the processing element 212-3 of the micro control unit 212.
Then, the processing element 212-3 of the micro control unit 212 performs a reverse-pushing operation by using the first voltage signal and the second voltage signal to obtain a voltage corresponding to the positive electrode of the battery module to be tested in the loop.
The invention controls the independent micro control unit to send out a high level signal so as to activate the reference circuit to send out a stable first voltage signal, then controls the independent analog-digital converter to sample to obtain a second voltage signal, and then the micro control unit reversely deduces the voltage of the battery module to be tested according to the first voltage signal and the second voltage signal. The power supply of the reference circuit is controllable under a simple structure, so that the collection of the voltage of the battery is triggered through the electrified reference circuit, the precision and controllability of the voltage collection are improved, the cost is reduced, and the loss of the battery capacity caused by the partial voltage of the resistors at two ends of the battery in the prior art can be effectively avoided.
On the basis of any of the above embodiments, the reference circuit 220 includes a current limiting resistor 221 and a voltage stabilizing element 222.
Specifically, the reference circuit 220 is formed by connecting a current limiting resistor 221 and a voltage stabilizing element 222 in series. The input terminal of the current limiting resistor 221 serves as a power supply input terminal 220-3, and receives a high level signal output by the second output control interface 212-2 of the micro control unit 212.
The cathode of the voltage stabilizing element 220 is used as the second power supply ground 220-1, and the anode of the voltage stabilizing element 220 is connected to the output end of the current limiting resistor 210, so that the high-level signal divided by the current limiting resistor 210 is transmitted to the voltage stabilizing element 220, the voltage stabilizing element 220 is turned on, and a loop is formed by the cathode of the voltage stabilizing element 220 and the cathode of the power module to be tested to output a stable voltage.
Subsequently, the voltage (first voltage signal) to be stably outputted is outputted from the center tap (i.e., the voltage stabilization output terminal 220-2) between the output terminal of the current limiting resistor 210 and the voltage stabilization element 220 to the second analog-digital input interface 211-1 of the digital converter 211 for sampling.
It is understood that the reference circuit is not limited to the combination of the current-limiting resistor and the voltage-stabilizing element, and may be replaced by other three-terminal regulators, switching power supply regulators, etc., as long as the circuit capable of obtaining the required stable voltage does not affect the claimed method.
Based on the structure of the current-limiting resistor and the voltage-stabilizing element, the reference circuit is activated to send out a stable first voltage signal when a high-level signal is received, so that the analog-digital converter samples a second voltage signal, and then the voltage of the battery module to be tested is obtained by reverse thrust of the micro control unit according to the first voltage signal and the second voltage signal. The power supply of the reference circuit is controllable under a simple structure, so that the collection of the voltage of the battery is triggered through the electrified reference circuit, the precision and controllability of the voltage collection are improved, the cost is reduced, and the loss of the battery capacity caused by the partial voltage of the resistors at two ends of the battery in the prior art can be effectively avoided.
On the basis of any one of the above embodiments, the rated voltage stabilization of the voltage stabilization element is smaller than the rated voltage of the battery module to be tested.
Specifically, in the reference circuit 220, the type selection of the voltage stabilizing element 222 can determine the first voltage signal output by the voltage stabilizing output terminal 220-2, so that a rated voltage stabilization voltage smaller than the rated voltage of the battery module to be tested needs to be selected, so that the first voltage signal output by the voltage stabilizing element can be collected by the collection control circuit as the reference voltage.
For example, the voltage stabilizing element 222 may be rated to stabilize at 1.2V, and the first voltage signal may be 1.2V.
The invention decides to select the voltage stabilizing element in the reference circuit based on the magnitude relation between the rated voltage stabilization and the rated voltage of the battery module, so that the first voltage signal output by voltage stabilization can be always smaller than the rated voltage of the battery, and the safety of the circuit is ensured.
Fig. 3 is a schematic flow chart of a battery voltage acquisition method provided by the present invention. On the basis of any one of the above embodiments, as shown in fig. 3, the battery voltage acquisition method provided by the embodiment of the present invention includes: step 301, starting a reference circuit according to the high level signal sent by the acquisition control circuit, and determining that the reference circuit outputs a first voltage signal.
It should be noted that the main execution body of the battery voltage acquisition method provided by the embodiment of the present invention is an electronic device on which the battery voltage acquisition circuit operates.
Specifically, in step 301, after the electronic device on which the battery voltage acquisition circuit operates sends an acquisition start signal, the first output control interface in the acquisition control circuit is controlled to output a high-level signal to the power supply input end of the reference circuit, so as to supply power to the reference circuit 120. After the reference circuit is activated by power, the reference circuit controls the regulated output terminal to transmit a stable first voltage signal to the first analog-digital input interface 113.
Step 302, determining the voltage of the battery module to be tested based on the first voltage signal and the second voltage signal.
The second voltage signal is obtained by converting the acquisition control circuit under the combined action of the first voltage signal and an electric signal sent by the battery module to be tested.
Specifically, in step 302, after determining that the first analog-digital input interface in the acquisition control circuit receives the analog signal corresponding to the first voltage signal, the electronic device on which the battery voltage acquisition circuit operates is configured to sample the acquisition control circuit by the AD conversion element, and output the converted digital signal as the second voltage signal. And then, a processing element in the acquisition control circuit performs reverse thrust by using the first voltage signal and the second voltage signal to obtain the voltage corresponding to the positive electrode of the battery module to be tested in the loop.
The acquisition control circuit is controlled to send a high level signal based on the connection relation between the first output control interface of the acquisition control circuit and the power supply input end of the reference circuit so as to activate the reference circuit to send a stable first voltage signal, and then the acquisition control circuit is controlled to reversely deduce to obtain the voltage of the battery module to be tested by utilizing the second voltage signal obtained by sampling and the known first voltage signal through the connection relation between the first analog digital input interface of the acquisition control circuit and the voltage stabilizing output end of the reference circuit. The power supply of the reference circuit is controllable under a simple structure, so that the collection of the voltage of the battery is triggered through the electrified reference circuit, the precision and controllability of the voltage collection are improved, the cost is reduced, and the loss of the battery capacity caused by the partial voltage of the resistors at two ends of the battery in the prior art can be effectively avoided.
On the basis of any one of the above embodiments, determining the voltage of the battery module to be tested based on the first voltage signal and the second voltage signal includes: and determining the voltage of the battery module to be tested based on the rated conversion voltage signal, the first voltage signal and the second voltage signal.
The rated conversion voltage signal is based on a corresponding voltage signal of the analog-digital converter in a full scale state.
It should be noted that, before step 302, it is necessary to determine the corresponding voltage signal in the full scale state according to the number of bits of the analog-to-digital converter embedded in the acquisition control circuit or the independent analog-to-digital converter, and the calculation formula is as follows:
VrefD=2 a -1
wherein VrefD is a rated conversion voltage signal, i.e. a voltage signal corresponding to the adc in a full-scale state, and a is the number of bits of the adc.
For example, in the case of 10 bits of the analog-to-digital converter, the corresponding rated conversion voltage signal is:
VrefD=2 a -1
=2 10 -1=1023
for example, in the case of an analog-to-digital converter with a bit number of 16, the corresponding nominal conversion voltage signal is:
VrefD=2 a -1
=2 16 -1=65535
specifically, in step 302, the electronic device on which the battery voltage acquisition circuit operates utilizes the rated conversion voltage signal, the first voltage signal and the second voltage signal to perform a back-stepping operation to obtain a voltage corresponding to the positive electrode of the battery module to be tested in the loop, and the calculation formula is as follows:
Vbat=Vref=V x *VrefD/V x D
and Vbat is the voltage emitted by the anode of the battery module to be tested. Vref is the reference voltage of the ADC, and the positive electrode of the battery module to be tested is directly connected in series with the reference input interface of the ADC, so the positive electrode and the reference input interface are equal. V x Is a first voltage signal. V x D is a second voltage signal.
According to the invention, the voltage of the battery module to be tested is obtained by carrying out reverse extrapolation on the second voltage signal obtained by sampling, the known first voltage signal and the rated conversion voltage signal based on the acquisition control circuit. The power supply of the reference circuit is controllable under a simple structure, so that the collection of the voltage of the battery is triggered through the electrified reference circuit, the precision and controllability of the voltage collection are improved, the cost is reduced, and the loss of the battery capacity caused by the partial voltage of the resistors at two ends of the battery in the prior art can be effectively avoided.
On the basis of any one of the above embodiments, after determining the voltage of the battery module to be tested, the method further includes: and determining the residual capacity of the battery module to be tested based on the voltage of the battery module to be tested.
Specifically, after step 302, the electronic device on which the battery voltage acquisition circuit operates may determine the remaining power corresponding to the voltage of the battery module to be tested by using the voltage of the battery module to be tested obtained through the back-stepping in combination with the corresponding relationship between the battery voltage and the power.
And then, the battery voltage acquisition circuit can feed back the battery voltage to the electronic equipment which operates by means of the battery voltage acquisition circuit to perform front-end display so as to alarm under the condition that the residual electric quantity does not meet the preset threshold value.
The type of the warning information may be one or more types of sound warning, light warning, or vibration warning, which is not specifically limited in this embodiment of the present invention.
According to the invention, after the voltage of the battery module to be tested is obtained through reverse estimation, the residual electric quantity of the battery module is determined through the mapping relation between the battery voltage and the electric quantity, so that timely warning is realized when the residual electric quantity is insufficient, and the endurance of the power supply module is ensured.
Fig. 4 is a schematic structural diagram of a chip provided by the present invention. On the basis of any of the above embodiments, as shown in fig. 4, the chip 400 includes the above battery voltage collecting circuit 410.
Specifically, the chip 400 serves as an integrated carrier of the battery voltage collecting circuit 410, and can execute the battery voltage collecting method when the communication with the power module is determined.
The acquisition control circuit is controlled to send a high level signal based on the connection relation between the first output control interface of the acquisition control circuit and the power supply input end of the reference circuit so as to activate the reference circuit to send a stable first voltage signal, and then the acquisition control circuit is controlled to reversely deduce to obtain the voltage of the battery module to be tested by utilizing the second voltage signal obtained by sampling and the known first voltage signal through the connection relation between the first analog digital input interface of the acquisition control circuit and the voltage stabilizing output end of the reference circuit. The power supply of the reference circuit is controllable under a simple structure, so that the collection of the voltage of the battery is triggered through the electrified reference circuit, the precision and controllability of the voltage collection are improved, the cost is reduced, and the loss of the battery capacity caused by the partial voltage of the resistors at two ends of the battery in the prior art can be effectively avoided.
Fig. 5 is a schematic structural diagram of the electrical appliance provided by the present invention. On the basis of any of the above embodiments, as shown in fig. 5, the electrical appliance 500 includes a power module 510, and further includes the above chip 520.
Specifically, in the electrical appliance 500, when the chip 520 determines that the chip 520 is communicated with the power module 510, the remaining power of the electrical appliance 500 may be determined for the voltage collected by the power module 510 by executing a battery voltage collection method, and the remaining power may be displayed and alarmed at the front end of the electrical appliance 500.
The acquisition control circuit is controlled to send a high level signal based on the connection relation between the first output control interface of the acquisition control circuit and the power supply input end of the reference circuit so as to activate the reference circuit to send a stable first voltage signal, and then the acquisition control circuit is controlled to reversely deduce to obtain the voltage of the battery module to be tested by utilizing the second voltage signal obtained by sampling and the known first voltage signal through the connection relation between the first analog digital input interface of the acquisition control circuit and the voltage stabilizing output end of the reference circuit. The power supply of the reference circuit is controllable under a simple structure, so that the collection of the voltage of the battery is triggered through the electrified reference circuit, the precision and controllability of the voltage collection are improved, the cost is reduced, and the loss of the battery capacity caused by the partial voltage of the resistors at two ends of the battery in the prior art can be effectively avoided.
Fig. 6 illustrates a physical structure diagram of an electronic device, which may include, as shown in fig. 6: a processor (processor) 610, a communication Interface (Communications Interface) 620, a memory (memory) 630 and a communication bus 640, wherein the processor 610, the communication Interface 620 and the memory 630 communicate with each other via the communication bus 640. The processor 610 may invoke logic instructions in the memory 630 to perform a battery voltage harvesting method comprising: starting a reference circuit according to a high-level signal sent by an acquisition control circuit, and determining that the reference circuit outputs a first voltage signal; determining the voltage of the battery module to be tested based on the first voltage signal and the second voltage signal; the second voltage signal is obtained by converting the acquisition control circuit under the combined action of the first voltage signal and an electric signal sent by the battery module to be tested.
In addition, the logic instructions in the memory 630 may be implemented in software functional units and stored in a computer readable storage medium when the logic instructions are sold or used as independent products. Based on such understanding, the technical solution of the present invention or a part thereof which substantially contributes to the prior art may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
In another aspect, the present invention also provides a computer program product, the computer program product including a computer program, the computer program being stored on a non-transitory computer-readable storage medium, wherein when the computer program is executed by a processor, a computer is capable of executing the battery voltage collecting method provided by the above methods, and the method includes: starting a reference circuit according to a high-level signal sent by an acquisition control circuit, and determining that the reference circuit outputs a first voltage signal; determining the voltage of the battery module to be tested based on the first voltage signal and the second voltage signal; the second voltage signal is obtained by converting the acquisition control circuit under the combined action of the first voltage signal and an electric signal sent by the battery module to be tested.
In yet another aspect, the present invention also provides a non-transitory computer-readable storage medium, on which a computer program is stored, the computer program being implemented by a processor to perform the battery voltage collecting method provided by the above methods, the method including: starting a reference circuit according to a high-level signal sent by an acquisition control circuit, and determining that the reference circuit outputs a first voltage signal; determining the voltage of the battery module to be tested based on the first voltage signal and the second voltage signal; the second voltage signal is obtained by converting the acquisition control circuit under the combined action of the first voltage signal and an electric signal sent by the battery module to be tested.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one position, or may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (10)

1. A battery voltage acquisition circuit is characterized by comprising an acquisition control circuit and a reference circuit;
the positive electrode of the battery module to be tested is connected with the first power pin of the acquisition control circuit, and the negative electrode of the battery module to be tested is respectively connected with the first power ground of the acquisition control circuit and the second power ground of the reference circuit;
a first analog-digital input interface of the acquisition control circuit is connected with a voltage stabilization output end of the reference circuit; a first output control interface of the acquisition control circuit is connected with a power supply input end of the reference circuit;
the reference circuit is used for outputting a first voltage signal to the acquisition control circuit after receiving the high-level signal sent by the acquisition control circuit;
the acquisition control circuit is used for determining the voltage of the battery module to be tested based on the first voltage signal and the second voltage signal;
the second voltage signal is obtained by converting the acquisition control circuit under the combined action of the first voltage signal and an electric signal emitted by the anode of the battery module to be tested.
2. The battery voltage acquisition circuit of claim 1, wherein the acquisition control circuit comprises an analog-to-digital converter and a micro control unit;
the analog-digital converter comprises a second analog-digital input interface, a reference input interface, an analog-digital output interface and a third power supply ground;
the micro control unit comprises a second power supply pin, a second output control interface, a processing element and a fourth power supply ground;
the analog-digital output interface is connected with the processing element; the second output control interface is connected with the power supply input end; the analog-digital input interface is connected with the voltage-stabilizing output end; the anode of the battery module to be tested is connected with the second power supply pin and the reference input interface respectively; the negative electrode of the battery module to be tested is respectively connected with the third power supply ground and the fourth power supply ground;
the micro control unit is used for sending the high level signal to the power supply input end through the second output control interface;
the analog-digital converter is used for receiving the first voltage signal output by the voltage-stabilizing output end and collecting the second voltage signal;
and the micro control unit is used for determining the voltage of the battery module to be tested based on the first voltage signal and the second voltage signal.
3. The battery voltage acquisition circuit according to claim 1 or 2, wherein the reference circuit includes a current limiting resistor and a voltage stabilizing element.
4. The battery voltage acquisition circuit according to claim 3, wherein the rated voltage stabilization of the voltage stabilization component is smaller than the rated voltage of the battery module under test.
5. A battery voltage acquisition method, comprising:
starting a reference circuit according to a high-level signal sent by an acquisition control circuit, and determining that the reference circuit outputs a first voltage signal;
determining the voltage of the battery module to be tested based on the first voltage signal and the second voltage signal;
the second voltage signal is obtained by converting the acquisition control circuit under the combined action of the first voltage signal and an electric signal sent by the battery module to be tested.
6. The battery voltage acquisition method according to claim 5, wherein the determining the voltage of the battery module to be tested based on the first voltage signal and the second voltage signal comprises:
determining the voltage of the battery module to be tested based on the rated conversion voltage signal, the first voltage signal and the second voltage signal;
the rated conversion voltage signal is based on a corresponding voltage signal of the analog-digital converter in a full scale state.
7. The battery voltage collecting method according to claim 5 or 6, further comprising, after the determining the voltage of the battery module to be tested:
and determining the residual electric quantity of the battery module to be tested based on the voltage of the battery module to be tested.
8. A chip comprising a battery voltage acquisition circuit according to any of claims 1 to 4.
9. An electrical appliance comprising a power module, and further comprising the chip of claim 8.
10. An electronic device comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor implements the battery voltage acquisition method according to any one of claims 5 to 7 when executing the program.
CN202211449176.6A 2022-11-18 2022-11-18 Battery voltage acquisition circuit, acquisition method, chip, electric appliance and electronic equipment Active CN115856412B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211449176.6A CN115856412B (en) 2022-11-18 2022-11-18 Battery voltage acquisition circuit, acquisition method, chip, electric appliance and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211449176.6A CN115856412B (en) 2022-11-18 2022-11-18 Battery voltage acquisition circuit, acquisition method, chip, electric appliance and electronic equipment

Publications (2)

Publication Number Publication Date
CN115856412A true CN115856412A (en) 2023-03-28
CN115856412B CN115856412B (en) 2024-06-04

Family

ID=85664208

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211449176.6A Active CN115856412B (en) 2022-11-18 2022-11-18 Battery voltage acquisition circuit, acquisition method, chip, electric appliance and electronic equipment

Country Status (1)

Country Link
CN (1) CN115856412B (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1141436A (en) * 1995-06-01 1997-01-29 罗姆股份有限公司 Arrangement for testing cells, power supply circuit with same, and machine with such circuit
JP2005106504A (en) * 2003-09-29 2005-04-21 Shin Kobe Electric Mach Co Ltd Voltage detection circuit for lithium ion battery
JP2005300284A (en) * 2004-04-09 2005-10-27 Meidensha Corp Supply voltage drop detection circuit of analog input circuit
CN101754539A (en) * 2010-02-03 2010-06-23 海洋王照明科技股份有限公司 Sampling circuit, LED drive circuit and method for detecting electric quantity of battery
CN203894316U (en) * 2012-12-17 2014-10-22 法国大陆汽车公司 Equipment for measuring voltage of battery of motor vehicle
CN105044603A (en) * 2015-06-05 2015-11-11 福州瑞芯微电子有限公司 Low-power low-cost lithium battery voltage detection circuit and method
CN105699904A (en) * 2016-01-19 2016-06-22 北京华大信安科技有限公司 Battery voltage detecting circuit and method
CN206038872U (en) * 2016-09-08 2017-03-22 武汉杜曼智能科技有限公司 Battery voltage supervisory circuit
CN206450748U (en) * 2016-12-15 2017-08-29 北京万集科技股份有限公司 A kind of vehicle carried electronic label based on novel voltage signal acquisition circuit
CN208432707U (en) * 2018-05-08 2019-01-25 精进电动科技股份有限公司 A kind of battery voltage acquisition circuit and automobile

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1141436A (en) * 1995-06-01 1997-01-29 罗姆股份有限公司 Arrangement for testing cells, power supply circuit with same, and machine with such circuit
JP2005106504A (en) * 2003-09-29 2005-04-21 Shin Kobe Electric Mach Co Ltd Voltage detection circuit for lithium ion battery
JP2005300284A (en) * 2004-04-09 2005-10-27 Meidensha Corp Supply voltage drop detection circuit of analog input circuit
CN101754539A (en) * 2010-02-03 2010-06-23 海洋王照明科技股份有限公司 Sampling circuit, LED drive circuit and method for detecting electric quantity of battery
CN203894316U (en) * 2012-12-17 2014-10-22 法国大陆汽车公司 Equipment for measuring voltage of battery of motor vehicle
CN105044603A (en) * 2015-06-05 2015-11-11 福州瑞芯微电子有限公司 Low-power low-cost lithium battery voltage detection circuit and method
CN105699904A (en) * 2016-01-19 2016-06-22 北京华大信安科技有限公司 Battery voltage detecting circuit and method
CN206038872U (en) * 2016-09-08 2017-03-22 武汉杜曼智能科技有限公司 Battery voltage supervisory circuit
CN206450748U (en) * 2016-12-15 2017-08-29 北京万集科技股份有限公司 A kind of vehicle carried electronic label based on novel voltage signal acquisition circuit
CN208432707U (en) * 2018-05-08 2019-01-25 精进电动科技股份有限公司 A kind of battery voltage acquisition circuit and automobile

Also Published As

Publication number Publication date
CN115856412B (en) 2024-06-04

Similar Documents

Publication Publication Date Title
US7973534B2 (en) Protection device for assembled battery, and battery pack unit
EP2186181B1 (en) Apparatus and method for balancing of battery cell's charge capacity
US6320354B1 (en) Method and apparatus for battery charging
US9869724B2 (en) Power management system
CN102066964B (en) For determining the system and method for battery state of charge
US9755281B2 (en) Method for connecting battery cells in a battery, battery, and monitoring device
AU2019202198A1 (en) Power tool battery pack with wireless communication
CN110506215A (en) A kind of method and device of determining battery internal short-circuit
US20110234167A1 (en) Method of Predicting Remaining Capacity and Run-time of a Battery Device
US20140306712A1 (en) Tracking aging effect on battery impedance and tracking battery state of health
EP2893608B1 (en) Method and system for voltage collapse protection
JP4302614B2 (en) Lithium ion battery management device, capacity calculation method, and computer program
US20210013729A1 (en) Battery Charge/Discharge Management Method And System
CN102033204A (en) Battery power detection circuit, method and electronic system
CN108761342A (en) A kind of new energy electric motor vehicle storage battery safety test method
CN106058346A (en) Energy storage system
CN115856412A (en) Battery voltage acquisition circuit, acquisition method, chip, electrical appliance and electronic equipment
US8248034B2 (en) Dry cell battery discharging system
JP5561049B2 (en) Battery voltage measuring device
JP5208885B2 (en) Battery voltage monitoring device
CN100380776C (en) Electronic device with attachment and switching between batteries therefor
EP3164727A1 (en) A method, a circuit, and a battery charger
CN114421575A (en) Electric quantity management method and device for multiple battery packs and power supply equipment
CN111157907B (en) Detection method and device, charging method and device, electronic device and storage medium
KR20070070735A (en) Apparatus for measuring the amount of battery charge and mobile phone used it

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant