CN116914882A - Rechargeable battery sampling method, equipment and medium - Google Patents

Rechargeable battery sampling method, equipment and medium Download PDF

Info

Publication number
CN116914882A
CN116914882A CN202310817070.5A CN202310817070A CN116914882A CN 116914882 A CN116914882 A CN 116914882A CN 202310817070 A CN202310817070 A CN 202310817070A CN 116914882 A CN116914882 A CN 116914882A
Authority
CN
China
Prior art keywords
charging
battery
circuit
interface circuit
voltage value
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.)
Pending
Application number
CN202310817070.5A
Other languages
Chinese (zh)
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.)
Guangdong Baolun Electronics Co ltd
Original Assignee
Guangdong Baolun Electronics 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 Guangdong Baolun Electronics Co ltd filed Critical Guangdong Baolun Electronics Co ltd
Priority to CN202310817070.5A priority Critical patent/CN116914882A/en
Publication of CN116914882A publication Critical patent/CN116914882A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/0047Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with monitoring or indicating devices or circuits
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R19/00Arrangements for measuring currents or voltages or for indicating presence or sign thereof
    • G01R19/165Indicating that current or voltage is either above or below a predetermined value or within or outside a predetermined range of values
    • G01R19/16533Indicating that current or voltage is either above or below a predetermined value or within or outside a predetermined range of values characterised by the application
    • G01R19/16538Indicating that current or voltage is either above or below a predetermined value or within or outside a predetermined range of values characterised by the application in AC or DC supplies
    • G01R19/16542Indicating that current or voltage is either above or below a predetermined value or within or outside a predetermined range of values characterised by the application in AC or DC supplies for batteries
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/007Regulation of charging or discharging current or voltage
    • H02J7/00712Regulation of charging or discharging current or voltage the cycle being controlled or terminated in response to electric parameters

Abstract

The invention relates to the field of battery charging, and particularly discloses a method, equipment and medium for sampling a rechargeable battery, wherein the method comprises the steps of detecting a voltage value of a charging interface circuit through the battery sampling circuit and recording the voltage value as a first voltage value when the battery is connected with the charging interface circuit; when the first voltage value is smaller than the charging peak voltage, the charging switch circuit is communicated to start charging the battery and start timing; when the battery is being charged, the charging switch circuit is disconnected every first time period, and a second voltage value of the charging interface circuit is obtained through the battery sampling circuit; when the second voltage value is smaller than the charging peak voltage, the charging switch circuit is communicated to continuously charge the battery; and stopping timing when the second voltage value is greater than or equal to the charging peak voltage. The invention samples the battery voltage after the charging switch circuit pauses charging, has more accurate sampling result, small error, easy realization and high fault tolerance rate, and can not generate the error of the sampling of the electric quantity due to the error difference of the algorithm or the parameter.

Description

Rechargeable battery sampling method, equipment and medium
Technical Field
The present invention relates to the field of battery charging, and in particular, to a method, apparatus, and medium for sampling a rechargeable battery.
Background
With the rapid development of electric vehicles and mobile terminals in recent years, the importance of battery charging technology is also becoming more and more prominent. In the existing lithium battery charging technology, in the charging process, the display of the battery charging electric quantity is a necessary function, and accurate electric quantity display requires an MCU (micro-controller unit) to sample a battery chip. Because the charging chip can carry the electric current to rechargeable battery when charging, because there is the ripple because of the voltage simultaneously, can make the charging voltage of battery inaccurate, the battery voltage and the voltage difference when charging when discharging are huge. At present, part of charging chips on the market adopt a mode of reading a register to judge the electric quantity of a battery, and part of charging chips are fragile and have no function of acquiring the electric quantity of the battery, so that an MCU is required to judge the electric quantity directly through the current and the voltage of the battery; however, this leads to various problems that exist in different situations:
1. the MCU reads the charging voltage through an ADC (analog-to-digital conversion circuit) in the form of battery voltage division; because the voltage of the battery is raised when the battery is charged, the voltage acquired by the ADC is also increased, and the finally obtained electric quantity data deviate from the actual electric quantity;
2. reading electric quantity in a mode of externally adding an electric quantity meter chip; the high-precision electricity meter chip can measure parameters such as battery electric quantity, temperature, voltage and the like and can also support various battery types, but the price of the chip is higher, and the cost of a system can be increased; the low-cost fuel gauge has lower precision, fewer applicable battery types and difficult large-scale popularization and application;
3. the voltage difference between the discharging time and the charging time of the battery is calculated, data are accumulated, a voltage-electric quantity curve of the charging of the battery is obtained, and therefore the MCU judges the electric quantity according to the voltage during the charging; however, the method is easier to be constrained, for example, under the same voltage condition, the batteries are attenuated due to the influence of the discharge times, the actual capacities of different batteries are different, meanwhile, the needed samples are huge, the realization cost is high, and the reliability is low;
4. performing compensation on the voltage-electric quantity curve of battery charging, and fitting out a functional relation between a voltage compensation value and charging sampling voltage; when the charging sampling voltage is detected, a voltage compensation value corresponding to the charging sampling voltage is calculated by utilizing a functional relation, and finally the sampling voltage and the voltage compensation value are summed, so that the algorithm also needs a larger sample data volume as a basis, and meanwhile, only errors can be reduced, and errors of electric quantity during battery charging can not be completely eliminated.
Disclosure of Invention
In order to solve the problems of high measurement cost and large error of the electric quantity during the charging of the existing battery, the invention provides a rechargeable battery sampling method, equipment and medium.
The invention provides a rechargeable battery sampling method, which comprises the following steps:
when a battery is connected with a charging interface circuit, detecting a voltage value of the charging interface circuit through a battery sampling circuit, and recording the voltage value as a first voltage value; the charging interface circuit is used for connecting the anode and the cathode of the battery;
when the first voltage value is smaller than the charging peak voltage, the charging switch circuit is communicated to start charging the battery and start timing; the charging switch circuit is used for controlling the on-off state between the power supply interface circuit and the charging interface circuit, the power supply interface circuit is used for accessing an external power supply and converting the external power supply into direct current output by the charging interface circuit, and the charging peak voltage is a preset battery charging voltage upper limit threshold;
when the battery is being charged, the charging switch circuit is disconnected every first time period, and a second voltage value of the charging interface circuit is obtained through the battery sampling circuit;
when the second voltage value is smaller than the charging peak voltage, the charging switch circuit is communicated to continuously charge the battery;
and stopping timing when the second voltage value is greater than or equal to the charging peak voltage.
Preferably, when the battery is connected to the charging interface circuit, the voltage value of the charging interface circuit is detected by the battery sampling circuit and recorded as a first voltage value, specifically:
the charging switch circuit is disconnected, the voltage value of the charging interface circuit is detected in real time through the battery sampling circuit, and when the voltage value is zero, the charging interface circuit is judged to be suspended;
when the voltage value of the charging interface circuit is detected to be larger than a first threshold value, judging that some batteries are connected into the charging interface circuit, and recording the voltage value as a first voltage value.
Preferably, the method further comprises the steps of: the first threshold is 1.8V.
Preferably, when the battery is being charged, the charging switch circuit is turned off every first period, and the second voltage value of the charging interface circuit is obtained through the battery sampling circuit, specifically:
when the battery is being charged, the charging switch circuit is disconnected every first time period;
and after the time delay of 80us, acquiring a second voltage value of the charging interface circuit through the battery sampling circuit.
Preferably, the duration of the first period of time is 1 minute.
Preferably, a power supply detection unit is arranged in the power supply interface circuit, and the power supply detection unit is used for detecting whether the power supply interface circuit is connected with an external power supply or not.
Preferably, the charging switch circuit is in a normally open state when not connected.
The invention also provides a rechargeable battery sampling device, which comprises: the device comprises a battery sampling circuit, a charging switch circuit, a charging interface circuit, a power supply interface circuit and a logic control circuit;
the battery sampling circuit is used for reading the voltage value between the anode and the cathode of the rechargeable battery through the parallel charging interface circuit;
the charging interface circuit is used for connecting the anode and the cathode of the battery;
the charging switch circuit is used for controlling the on-off between the power supply interface circuit and the charging interface circuit;
the power supply interface circuit is used for accessing an external power supply and converting the external power supply into direct current for the output of the charging interface circuit;
the logic control circuit is used for controlling the battery sampling circuit and the charging switch circuit to execute the rechargeable battery sampling method.
The invention provides a terminal device, which comprises a processor and a storage device, wherein the storage device is used for storing one or more programs; the processor implements the rechargeable battery sampling method described above when the one or more programs are executed by the processor.
The invention provides a computer readable storage medium, which comprises a stored computer program, wherein the computer program is used for controlling equipment where the computer readable storage medium is located to execute the rechargeable battery sampling method.
The beneficial effects of the invention are as follows:
(1) Compared with the current meter chip scheme of sampling through an ADC or low cost in the direct recharging process, the scheme has the advantages that the battery voltage is sampled after the charging is stopped through the charging switch circuit, the sampling result is more accurate, and the error is small;
(2) After the charging power supply is disconnected, the voltage of the battery is measured, the sampling error of the electric quantity of the battery is not required to be reduced through a compensation algorithm or a fitting curve, the method is easy to realize, the fault tolerance rate is high, and the error of the sampling of the electric quantity cannot be generated due to the error difference of the algorithm or the parameters.
Drawings
The invention will be further described with reference to the accompanying drawings, in which:
FIG. 1 is a flow chart of a method according to one embodiment of the present invention;
FIG. 2 is a circuit diagram of a power detection unit in a power interface circuit according to another embodiment of the present invention;
FIG. 3 is a circuit diagram of a power interface circuit according to another embodiment of the present invention;
FIG. 4 is a circuit diagram of a battery sampling circuit according to another embodiment of the present invention;
fig. 5 is a circuit diagram of a charge switch circuit according to another embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Referring to fig. 1, as one of the implementations of the present invention, a rechargeable battery sampling method is disclosed, which comprises the following implementation steps:
s1, when a battery is connected with a charging interface circuit, detecting a voltage value of the charging interface circuit through a battery sampling circuit, and recording the voltage value as a first voltage value;
s2, when the first voltage value is smaller than the charging peak voltage, the charging switch circuit is communicated to start charging the battery, and timing is started;
s3, when the battery is being charged, the charging switch circuit is disconnected every first time period, and a second voltage value of the charging interface circuit is obtained through the battery sampling circuit;
s41, when the second voltage value is smaller than the charging peak voltage, the charging switch circuit is communicated to continuously charge the battery;
and S42, stopping timing when the second voltage value is greater than or equal to the charging peak voltage.
The charging interface circuit is used for connecting the anode and the cathode of the battery; the charging switch circuit is used for controlling the on-off state between the power supply interface circuit and the charging interface circuit, the charging switch circuit is in an off state by default, namely, the charging switch circuit is in a normally open state when not connected, and the power supply interface circuit is used for accessing an external power supply and converting the external power supply into direct current output by the charging interface circuit.
The charging peak voltage is a preset upper limit threshold of the charging voltage of the battery, which is determined according to the charging parameters of the battery, for example, the maximum charging voltage of a part of lithium batteries is 4.2V.
Preferably, the step S1 specifically includes the following steps:
s11, disconnecting the charging switch circuit, detecting the voltage value of the charging interface circuit in real time through the battery sampling circuit, and judging that the charging interface circuit is suspended when the voltage value is zero;
and S12, when the voltage value of the charging interface circuit is detected to be larger than a first threshold value, judging that the battery to be charged is connected into the charging interface circuit, and recording the voltage value as the first voltage value.
The charging switch circuit can be built only by using the MOS tube and the triode, so that the implementation cost is low, and high cost is not increased for the system.
Compared with the current meter chip scheme of sampling through an ADC or low cost in the direct recharging process, the scheme has the advantages that the battery voltage is sampled after the charging is stopped through the charging switch circuit, the sampling result is more accurate, and the error is small;
after the charging power supply is disconnected, the voltage of the battery is measured, the sampling error of the electric quantity of the battery is not required to be reduced through a compensation algorithm or a fitting curve, the method is easy to realize, the fault tolerance rate is high, and the error of the sampling of the electric quantity cannot be generated due to the error difference of the algorithm or the parameters.
In some embodiments, the first threshold is set to zero, i.e. the charging interface circuit is floating when no battery is connected to the charging interface circuit, so that the theoretical value of the voltage detection result is zero. However, in consideration of induced electricity or electrostatic interference in practical situations, the reading of the voltage is still greater than zero when the charging interface circuit is suspended, so that the detection value of the voltage can be set to be smaller than the second threshold value, for example, when the voltage value is smaller than 1.8V, the charging interface circuit is considered to be suspended.
The first threshold in this embodiment is set to 1.8V, that is, when the charging switch circuit is in the off state, it is detected that the voltage value of the charging interface circuit is greater than 1.8V, that is, it is indicated that the charging interface circuit is connected to the lithium battery, and when the voltage value of the charging interface circuit is less than 1.8V, it is indicated that the battery is in a damaged state after overdischarge and should not be charged any more even if the battery is connected. Since the charge battery discharge end voltage (voltage to stop discharging) of a common polymer lithium cell is generally higher than 3.2V; the full-charge voltage of the lithium iron phosphate battery core is 3.65V, the discharge termination voltage is 2.0V, and the termination voltage is higher than 2.0V for protecting the service life of the battery core by common battery manufacturers; the full voltage of the battery core of the lithium cobalt oxide ion battery is 4.2V, the end discharge voltage is 2.6V, and the nominal voltage is 3.6V, so that the minimum voltage of the common lithium battery is not lower than 1.8V normally, and the corresponding parameters are set in the same way for other types of rechargeable batteries. The peak charging voltage may be selected based on the full charge voltage associated with the particular battery being charged.
The meaning of the steps is that when no rechargeable battery is connected, the charging switch circuit is disconnected, the charging interface circuit does not output voltage, and the charging interface circuit can be protected from being accidentally short-circuited or the battery is accidentally reversely connected, so that the whole charging circuit and the rechargeable battery are damaged.
The detection and setting of the first voltage value and the second voltage value in this example are to be able to read the voltage of the battery in the non-charging state, so that the MCU can accurately determine the current electric quantity value of the battery, and also can prevent the battery from being overcharged.
The embodiment also provides a rechargeable battery sampling device, including: the device comprises a battery sampling circuit, a charging switch circuit, a charging interface circuit, a power supply interface circuit and a logic control circuit;
the battery sampling circuit is used for reading the voltage value between the anode and the cathode of the rechargeable battery through the parallel charging interface circuit;
the charging interface circuit is used for connecting the anode and the cathode of the battery;
the charging switch circuit is used for controlling the on-off between the power supply interface circuit and the charging interface circuit;
the power supply interface circuit is used for accessing an external power supply and converting the external power supply into direct current for the output of the charging interface circuit;
the logic control circuit is used for controlling the battery sampling circuit and the charging switch circuit to execute the rechargeable battery sampling method.
Referring to fig. 2 to 5, as another embodiment of the present solution, the present embodiment uses a USB interface as a power supply interface circuit, specifically, a device with a function of charging a lithium battery through the USB interface. In this example, a lithium cobaltate battery with a standard voltage of 3.7V was used, and the charging peak voltage was set to 4.08V.
The power supply interface circuit of this embodiment is provided with a power supply detection unit, and the power supply detection unit is used for detecting whether the power supply interface circuit is connected to an external power supply.
The vbus is a power supply pin of the positive electrode of the output end in the power supply interface circuit, in this embodiment, 5V dc power is supplied through the USB interface, and the GUD is a ground pin.
MCU_GPIO1, MCU_GPIO2 and MCU_GPIO3 are each one of the general purpose input/output pins of the MCU, GPIO is an abbreviation for General Purpose Input Output. Specific:
the MCU_GPIO1 (hereinafter referred to as IO 1) is used for connecting with the power supply detection unit to detect whether the power supply interface circuit has external power supply access, namely whether a USB plug is plugged into a USB socket serving as the power supply interface circuit;
MCU_GPIO2 (hereinafter referred to as IO 2) is used for controlling the on-off of the charging switch circuit;
the mcu_gpio3 (hereinafter referred to as IO 3) is used to read the voltage value of the battery sampling circuit.
J6 of this embodiment is a 24PIN Type-cUSB pad.
In the charging switch circuit (see fig. 5) of this embodiment, the U7 uses an IP5305T chip as a charging IC (integrated boost converter), the Q18 is an N-channel field effect transistor, and specifically uses a YJS4407A chip, which can pass through 1A current or more, and the switching delay time and the switching rise and fall time are ns levels.
The J7 pin is a voltage detection pin for detecting whether the charging circuit outputs correct voltage or not during circuit debugging; the BATTERY is used for being connected with the positive electrode of the rechargeable BATTERY (namely the positive electrode of the charging interface circuit), and VBAT is short for the BATTERY and is the positive electrode of the charging interface circuit.
The key point of the embodiment is that the MCU is used for controlling the on-off of the triode Q1 to indirectly control the on-off of the MOS tube; the on-off control part of the charging switch circuit must be arranged at the input end of the charging IC, but cannot be arranged at the output end, because if the IP5305T controls the switch of the battery, the problem of untimely starting of the charging IC caused by frequent switching of the load can occur.
Meanwhile, VBUS is 5V or higher, the operating voltage of MCU is about 3.3V, the type of MOS transistor selected by Q18 in this embodiment is YJS4407A (SOP-8), the driving voltage of Vgs (th) (i.e. gate threshold voltage) is-1.8V, the range of values is-1.2V to-2.8V, because the source of Q18 is connected with VBUS, VBUS has a deviation of ±0.25V, VBUS is between 4.75V and 5.25V, the system voltage of the singlechip is 3.3V, no matter whether it is an on-drain output or an off-pull output, the high level output capability may not be directly used for driving the on-off of MOS transistor, so this embodiment indirectly controls the on-off of MOS transistor through controlling the triode Q1. VBUS connects the S pole of MOS pipe, and charging IC 'S input pin connects the D pole, makes the body diode of MOS pipe and VBUS' S input current reverse, prevents to input current through body diode. The charging rate of the system is 5V/1A, so that the Q18 of the selected type can pass through more than 1A current, and the switching delay time and the switching rising and falling time are ns levels, so that the charging rate is not influenced.
In step S3 of this embodiment, the implementation steps are as follows:
s31, when the battery is being charged, the charging switch circuit is disconnected every first time period;
and S32, after the time delay is 80us, acquiring a second voltage value of the charging interface circuit through the battery sampling circuit.
According to the embodiment, through an actual test, a voltage value after the charging switch circuit is disconnected in the battery charging process is subjected to continuous measurement research, the charging chip is not charged again, and the battery voltage falls back to a normal value. The battery voltage was monitored by an oscilloscope and the data recorded to give the following table 1:
TABLE 1
As can be seen from the data in table 1, the voltage of the battery is raised during the charging process, after the charging is turned on, there is a short falling process of the voltage of the battery, if the voltage data of the battery is collected immediately after the power is turned off, a certain error still exists in the collected voltage data, and when about 80us of the charging switch circuit is disconnected, the voltage of the battery returns to a voltage value corresponding to the actual electric quantity, and then the voltage value is hardly changed. Therefore, according to experimental data, the MCU of the embodiment performs voltage sampling of the battery after the delay time is 80us to 100us after the operation of turning off the charging switch circuit, so as to obtain a more accurate battery power measurement result.
Even if the 100us delay resamples and resumes charging, the proportion of time it takes up for the entire battery charging cycle is still very small and negligible, thus having little effect on the battery charging efficiency.
When the USB plug is not inserted into the USB interface (namely a charging interface circuit of the scheme), VBUS has no voltage, the b pole voltage of Q3 is 0, Q3 is not conducted, the power of the MCU is directly supplied to IO1 of the MCU through R60, and the MCU detects high level; the MCU samples the voltage of the battery normally.
When the USB is inserted, VBUS rises to 5V, the voltage of the b pole of Q3 is 3.125V after the voltage is divided by R61 and R65, Q3 is conducted, the potential of the C pole of Q3 is close to 0, the IO1 of the MCU detects low level, and the MCU realizes the function of detecting whether the USB is inserted. At this time, the MCU keeps the last sampled battery voltage and starts to count time, and when a certain time, such as one minute, is satisfied, the IO2 output of the MCU is at low level, and Q18 is turned off.
The battery sampling circuit is realized in a resistor voltage division mode, and is exemplified by a lithium cobalt oxide battery with standard voltage of 3.7V, IO3 of the MCU is obtained through the voltage division of R72 and R75, the MCU is quantized through an ADC module, and finally, the electric quantity value set by the system is output.
The charging switch circuit is a circuit based on IP5305T, an MOS tube and an NPN triode are added at the input end of VBUS to control the switch, when the IO2 output of MCU is high, Q1 is conducted, the g pole potential of Q18 is close to 0, the s pole potential is 5.0 V+/-0.25V, vgs is-5V, according to the specification, vgs (th) is-1.8V, vgs is smaller than Vgs (th), Q18 is conducted, and VBUS can normally input current to the charging chip IP 5305T; when the IO2 output of the MCU is low, Q1 is closed, at the moment, the g electrode of Q18 is pulled up to approximately 5V by R11, the potential of the g electrode is approximately equal to the potential of the s electrode, vgs is greater than Vgs (th), Q18 is closed, and VBUS cannot input current to the input pin of IP 5305T.
After the acquisition is finished, the IO2 of the MCU can output a high level, and the charging switch is turned on again to charge. And similarly, the electric quantity is read every a plurality of times, namely, the time of at least 80us is interrupted, until the voltage of the battery reaches the threshold set by software, namely, the reading operation is not performed, the charging is normally performed, and the battery enters a trickle charging mode and stops charging. With 3.3V of VDD_MCU as a detection reference, the voltage dividing resistance is 100 Ω/150Ω, and the recorded data and detailed flow are as follows in Table 2:
battery voltage 3.83 3.74 3.65 3.91 4.07 3.54 3.66
Theoretical ADC value 3168 3094 3019 3284 3363 2928 3028
Actual ADC value 3174 3099 3005 3299 3365 2919 3026
TABLE 2
Since the service life of the lithium battery is mainly influenced by two main factors, namely the service time of the lithium battery and the service cycle number of the lithium battery, namely the cycle is calculated once after the lithium battery is completely discharged and charged. In general, the life of a lithium battery is between five hundred and eight hundred cycles, so that the battery is continuously charged in a switching manner and the life of the battery is not affected. Finally, in order to verify whether the present invention affects the charging efficiency, the charging is performed by testing the sample plate provided with the charging sampling method of the present invention, the program is set to be disconnected for 1 second every 1 minute for monitoring, and the charging time is 1 hour compared with the charging time of the normal sample plate, the battery voltage is fixed to start charging from 3.5V, and the test is performed after 1 hour, so that the following table 3 (sample plate provided with the charging sampling method) and table 4 (normal sample plate) are obtained;
TABLE 3 Table 3
TABLE 4 Table 4
According to the experimental data of 9 times respectively, it can be calculated that the charging voltage of the sample plate with the charging sampling method reaches 3.89V within 1 hour of charging, and the charging voltage of the normal sample plate is 3.87V, so that the sampling method of the embodiment has negligible influence on the charging efficiency.
The invention also discloses a terminal device, which comprises a processor and a storage device, wherein the storage device is used for storing one or more programs; the processor implements the rechargeable battery sampling method described above when one or more programs are executed by the processor. The processor may be a central processing unit (Central Processing Unit, CPU), other general purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), off-the-shelf programmable gate arrays (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like, referred to as a control center for the test equipment, that interfaces and lines to various parts of the overall test equipment.
The storage means may be used for storing computer programs and/or modules, and the processor may implement various functions of the terminal device by running or executing the computer programs and/or modules stored in the storage means, and invoking data stored in the storage means. The storage device may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function, and the like; the storage data area may store data created according to the use of the terminal device, etc. In addition, the storage device may include high-speed random access memory, and may also include non-volatile memory, such as a hard disk, memory, plug-in hard disk, smart Media Card (SMC), secure Digital (SD) Card, flash Card (Flash Card), at least one disk storage device, flash memory device, or other volatile solid state storage device.
Wherein the integrated modules/units of the rechargeable battery sampling device may be stored in a computer readable storage medium if implemented in the form of software functional units and sold or used as a stand alone product. Based on such understanding, the present invention may implement all or part of the flow of the method of the above-described embodiments, or may be implemented by a computer program to instruct related hardware, and the computer program may be stored in at least one computer readable storage medium, where the computer program, when executed by a processor, may implement the steps of each of the method embodiments described above. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, executable files or in some intermediate form, etc. The computer readable medium may include: any entity or device capable of carrying computer program code, a recording medium, a U disk, a removable hard disk, a magnetic disk, an optical disk, a computer Memory, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), an electrical carrier signal, a telecommunications signal, a software distribution medium, and so forth.
It should be noted that the embodiments of the apparatus and device described above are only schematic, where the units described as separate units may or may not be physically separated, and units shown as units may or may not be physical units, may be located in one place, or may be distributed over 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.

Claims (9)

1. A method for sampling a rechargeable battery, comprising:
when a battery is connected with a charging interface circuit, detecting a voltage value of the charging interface circuit through a battery sampling circuit, and recording the voltage value as a first voltage value; the charging interface circuit is used for connecting the anode and the cathode of the battery;
when the first voltage value is smaller than the charging peak voltage, the charging switch circuit is communicated to start charging the battery and start timing; the charging switch circuit is used for controlling the on-off state between the power supply interface circuit and the charging interface circuit, the power supply interface circuit is used for accessing an external power supply and converting the external power supply into direct current output by the charging interface circuit, and the charging peak voltage is a preset battery charging voltage upper limit threshold;
when the battery is being charged, the charging switch circuit is disconnected every first time period, and a second voltage value of the charging interface circuit is obtained through the battery sampling circuit;
when the second voltage value is smaller than the charging peak voltage, the charging switch circuit is communicated to continuously charge the battery;
and stopping timing when the second voltage value is greater than or equal to the charging peak voltage.
2. The method for sampling a rechargeable battery according to claim 1, wherein when the battery is connected to the charging interface circuit, the voltage value of the charging interface circuit is detected by the battery sampling circuit and recorded as a first voltage value, specifically:
the charging switch circuit is disconnected, the voltage value of the charging interface circuit is detected in real time through the battery sampling circuit, and when the voltage value is zero, the charging interface circuit is judged to be suspended;
when the voltage value of the charging interface circuit is detected to be larger than a first threshold value, judging that some batteries are connected into the charging interface circuit, and recording the voltage value as a first voltage value.
3. The method for sampling a rechargeable battery according to claim 2, further comprising the steps of: the first threshold is 1.8V.
4. The method for sampling a rechargeable battery according to claim 1, wherein the step of turning off the charging switch circuit every first period of time when the battery is being charged, and obtaining the second voltage value of the charging interface circuit through the battery sampling circuit comprises the steps of:
when the battery is being charged, the charging switch circuit is disconnected every first time period;
and after the time delay of 80us, acquiring a second voltage value of the charging interface circuit through the battery sampling circuit.
5. The method of claim 1, wherein the first period of time is 1 minute in duration.
6. The method for sampling a rechargeable battery according to claim 1, wherein a power supply detection unit is provided in the power supply interface circuit, and the power supply detection unit is configured to detect whether the power supply interface circuit is connected to an external power supply.
7. The method of claim 1, wherein the charge switch circuit is normally open when not connected.
8. A rechargeable battery sampling apparatus, comprising: the device comprises a battery sampling circuit, a charging switch circuit, a charging interface circuit, a power supply interface circuit and a logic control circuit;
the battery sampling circuit is used for reading the voltage value between the anode and the cathode of the rechargeable battery through the parallel charging interface circuit;
the charging interface circuit is used for connecting the anode and the cathode of the battery;
the charging switch circuit is used for controlling the on-off between the power supply interface circuit and the charging interface circuit;
the power supply interface circuit is used for accessing an external power supply and converting the external power supply into direct current for the output of the charging interface circuit;
the logic control circuit is configured to control the battery sampling circuit and the charging switch circuit to perform the rechargeable battery sampling method according to any one of claims 1 to 7.
9. A computer readable storage medium, characterized in that the computer readable storage medium comprises a stored computer program, wherein the computer program, when run, controls a device in which the computer readable storage medium is located to perform the rechargeable battery sampling method according to any one of claims 1 to 7.
CN202310817070.5A 2023-07-04 2023-07-04 Rechargeable battery sampling method, equipment and medium Pending CN116914882A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310817070.5A CN116914882A (en) 2023-07-04 2023-07-04 Rechargeable battery sampling method, equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310817070.5A CN116914882A (en) 2023-07-04 2023-07-04 Rechargeable battery sampling method, equipment and medium

Publications (1)

Publication Number Publication Date
CN116914882A true CN116914882A (en) 2023-10-20

Family

ID=88352273

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310817070.5A Pending CN116914882A (en) 2023-07-04 2023-07-04 Rechargeable battery sampling method, equipment and medium

Country Status (1)

Country Link
CN (1) CN116914882A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08317573A (en) * 1995-05-15 1996-11-29 Brother Ind Ltd Quick charger circuit
JPH08317574A (en) * 1995-05-15 1996-11-29 Brother Ind Ltd Quick charger circuit
JPH09261878A (en) * 1996-03-18 1997-10-03 Ritsuku:Kk Power supply device
JP2008220121A (en) * 2007-03-07 2008-09-18 Nagano Japan Radio Co Charging device
CN103166289A (en) * 2013-03-21 2013-06-19 Tcl通讯(宁波)有限公司 Mobile terminal and method for detecting battery voltage in charging
CN204304543U (en) * 2014-12-29 2015-04-29 华为技术有限公司 A kind of power protecting circuit and terminal
CN104810872A (en) * 2014-01-26 2015-07-29 深圳市京泉华科技股份有限公司 Battery charging circuit and battery charging method

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08317573A (en) * 1995-05-15 1996-11-29 Brother Ind Ltd Quick charger circuit
JPH08317574A (en) * 1995-05-15 1996-11-29 Brother Ind Ltd Quick charger circuit
JPH09261878A (en) * 1996-03-18 1997-10-03 Ritsuku:Kk Power supply device
JP2008220121A (en) * 2007-03-07 2008-09-18 Nagano Japan Radio Co Charging device
CN103166289A (en) * 2013-03-21 2013-06-19 Tcl通讯(宁波)有限公司 Mobile terminal and method for detecting battery voltage in charging
CN104810872A (en) * 2014-01-26 2015-07-29 深圳市京泉华科技股份有限公司 Battery charging circuit and battery charging method
CN204304543U (en) * 2014-12-29 2015-04-29 华为技术有限公司 A kind of power protecting circuit and terminal

Similar Documents

Publication Publication Date Title
CN107658511B (en) Power lithium battery combination method and dynamic lithium battery method for group matching
CN101435838B (en) Apparatus for measuring capacitance capacity
US11181585B2 (en) Electronic device and method for detecting the state of health of a battery
CN110506215A (en) A kind of method and device of determining battery internal short-circuit
CN102005795A (en) Electric quantity detecting device for rechargeable battery
US11070066B2 (en) Passive battery cell discharge
CN111308354A (en) Method and device for detecting state of health of battery, electronic equipment and storage medium
CN113359044A (en) Method, device and equipment for measuring residual capacity of battery
CN103616551B (en) The terminal and cell voltage acquisition methods of cell voltage can be accurately obtained when charging
CN102914744A (en) Mobile terminal, battery power display system of mobile terminal, and method for acquiring battery power
CN103633705B (en) Accurately obtained terminal and the method for cell voltage by discharge mode when charging
CN113009360A (en) Lithium battery SOC-OCV testing method and device and terminal equipment
CN102033204A (en) Battery power detection circuit, method and electronic system
CN203502565U (en) Storage battery detector
CN116914882A (en) Rechargeable battery sampling method, equipment and medium
CN106772092B (en) Charging current setting system and method for obtaining battery voltage based on mobile terminal
CN213181889U (en) Test circuit, PCBA controller and electrical equipment
CN110970677B (en) Battery equalizing charging method and system
CN201145736Y (en) Tester for constant current discharging load of accumulator
CN115113061A (en) Method and related device for correcting SOC of battery
CN111323708A (en) Analysis method for service life attenuation of power battery system
CN110768328B (en) Multi-string battery protection system
CN216774352U (en) Power path management circuit
CN116667472B (en) Charging method and device
CN109459706B (en) Battery detection method and device

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