WO2022000999A1 - Battery electric quantity compensation method and apparatus, device, and readable storage medium - Google Patents

Battery electric quantity compensation method and apparatus, device, and readable storage medium Download PDF

Info

Publication number
WO2022000999A1
WO2022000999A1 PCT/CN2020/134464 CN2020134464W WO2022000999A1 WO 2022000999 A1 WO2022000999 A1 WO 2022000999A1 CN 2020134464 W CN2020134464 W CN 2020134464W WO 2022000999 A1 WO2022000999 A1 WO 2022000999A1
Authority
WO
WIPO (PCT)
Prior art keywords
charging
current
voltage
compensation
battery
Prior art date
Application number
PCT/CN2020/134464
Other languages
French (fr)
Chinese (zh)
Inventor
白彬
Original Assignee
歌尔股份有限公司
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 歌尔股份有限公司 filed Critical 歌尔股份有限公司
Publication of WO2022000999A1 publication Critical patent/WO2022000999A1/en

Links

Images

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/007Regulation of charging or discharging current or voltage
    • H02J7/0071Regulation of charging or discharging current or voltage with a programmable schedule
    • 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
    • H02J7/0048Detection of remaining charge capacity or state of charge [SOC]
    • 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
    • H02J7/007182Regulation of charging or discharging current or voltage the cycle being controlled or terminated in response to electric parameters in response to battery voltage

Definitions

  • the present invention relates to the field of power display of electronic products, and in particular, to a battery power compensation method, device, device and readable storage medium.
  • the capacity of the battery is a key technical indicator of the battery.
  • Electronic products use lithium batteries, and the power display generally uses a fuel gauge to display the power of the battery.
  • fuel gauges There are two types of fuel gauges, one is a current type fuel gauge and the other is a voltage type fuel gauge.
  • the AD module of the MCU is used to collect the voltage of the battery, and according to the voltage of the battery, the corresponding power is calculated by looking up the table, which is equivalent to the algorithm of the voltage-type fuel gauge being placed in the MCU.
  • the value actually collected by the AD is falsely higher than the actual voltage value.
  • the voltage value actually collected by the AD is falsely lower than the true value. This is because of the internal resistance and contact impedance of the battery. The existence of , thus resulting in inaccurate display of the power of electronic products.
  • the main purpose of the present invention is to provide a battery power compensation method, device, equipment and readable storage medium, which aims to solve the problem of using MCU to directly collect the voltage of the battery, and then convert the voltage into power, resulting in inaccurate display of the battery power. technical problem.
  • the present invention provides a battery power compensation method, the battery power compensation method includes the following steps:
  • the initial charging voltage is compensated based on the charging compensation current to obtain the battery power corresponding to the current charging operation.
  • the method includes:
  • the step of determining the current charging stage of the battery and obtaining the charging compensation current based on the current charging stage includes:
  • the preset current corresponding to the current charging stage is searched in the current comparison table as the charging compensation current.
  • the charging stage is a constant voltage stage
  • the constant voltage stage includes a plurality of sub-stages
  • the step of obtaining preset currents corresponding to different charging stages includes:
  • a plurality of preset currents are grouped according to the charging duration in the constant voltage stage, and the average current corresponding to each group is calculated, and the average current is used as the preset current corresponding to the sub-stage.
  • the step of compensating the initial charging voltage based on the charging compensation current to obtain the battery power corresponding to the current charging operation includes:
  • the charging voltage is converted into battery power using a preset charging curve.
  • the step of calculating the current compensated charging voltage of the battery based on the charging compensation current includes:
  • the difference between the current initial charging voltage of the battery and the charging compensation voltage is used as the charging voltage after compensation.
  • the charging stage includes: a trickle stage, a pre-charging stage, a fast-charging stage, a constant voltage stage, and a charging stage to be turned off.
  • the battery power compensation method includes:
  • the discharge compensation voltage is obtained by multiplying the discharge compensation current by the resistance value, the sum of the current initial discharge voltage of the battery and the discharge compensation voltage is used as the compensated discharge voltage, and the preset discharge curve is used to calculate the discharge compensation voltage.
  • the discharge voltage is converted into battery power.
  • the battery power compensation device includes:
  • a charging acquisition module configured to acquire the current initial charging voltage of the battery based on the voltage charging acquisition module of the device when the device is currently performing a charging operation
  • a determining module configured to determine the current charging stage of the battery, and obtain a charging compensation current based on the current charging stage
  • the calculation module is configured to compensate the initial charging voltage based on the charging compensation current to obtain the battery power corresponding to the current charging operation.
  • the present invention also provides a device comprising: a memory, a processor, and a battery power compensation program stored on the memory and running on the processor, the battery power When the compensation program is executed by the processor, the steps of any one of the battery power compensation methods described above are implemented.
  • the present invention also provides a readable storage medium, where a battery power compensation program is stored on the readable storage medium, and when the battery power compensation program is executed by a processor, any one of the above-mentioned descriptions can be realized.
  • the steps of the battery charge compensation method are described in detail below.
  • the present invention collects the current initial charging voltage of the battery based on the voltage charging acquisition module of the device when the device is currently performing a charging operation, then determines the current charging stage of the battery, obtains the charging compensation current based on the current charging stage, and then connects Next, the initial charging voltage is compensated based on the charging compensation current to obtain the battery power corresponding to the current charging operation.
  • the charging compensation current to supplement the charging voltage, a more accurate voltage can be obtained, and then the power can be displayed more accurately, so that the user can know the charging situation in time or use it better.
  • FIG. 1 is a schematic structural diagram of a device in a hardware operating environment involved in an embodiment of the present invention
  • FIG. 2 is a schematic flowchart of a first embodiment of a battery power compensation method based on the present invention
  • FIG. 3 is a schematic flowchart of a second embodiment of a battery power compensation method based on the present invention.
  • FIG. 4 is a schematic diagram of functional modules based on an embodiment of a battery power compensation device according to the present invention.
  • FIG. 1 is a schematic structural diagram of a device in a hardware operating environment involved in an embodiment of the present invention.
  • the device may include: a processor 1001 , such as a CPU, a network interface 1004 , a user interface 1003 , a memory 1005 , and a communication bus 1002 .
  • the communication bus 1002 is used to realize the connection and communication between these components.
  • the user interface 1003 may include a display screen (Display), an input unit such as a keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface and a wireless interface.
  • the network interface 1004 may include a standard wired interface and a wireless interface (eg, a WI-FI interface).
  • the memory 1005 may be high-speed RAM memory, or may be non-volatile memory, such as disk memory.
  • the memory 1005 may also be a storage device independent of the aforementioned processor 1001 .
  • the structure of the target detection system shown in FIG. 1 does not constitute a limitation on the device, and may include more or less components than shown, or combine some components, or arrange different components.
  • the memory 1005 as a storage medium may include an operating system, a network communication module, a user interface module, and a battery-based compensation program.
  • the network interface 1004 is mainly used to connect to the background server and perform data communication with the background server; the user interface 1003 is mainly used to connect to the client and perform data communication with the client; and the processor 1001 can be used for
  • the battery based compensation routine stored in the memory 1005 is called.
  • the device includes: a memory 1005, a processor 1001, and a battery-based compensation program stored on the memory 1005 and executable on the processor 1001, wherein the processor 1001 calls the memory 1005 to store the program
  • the battery power compensation program is based on the battery power compensation program, execute the steps of the battery power compensation method provided by the various embodiments of the present application
  • FIG. 2 is a schematic flowchart of the first embodiment of the battery power compensation method of the present invention.
  • This embodiment of the present invention provides an embodiment of a battery power compensation method. It should be noted that although a logical sequence is shown in the flowchart, in some cases, the shown or described steps.
  • the battery power compensation method includes:
  • Step S100 when the device is currently performing a charging operation, collect the current initial charging voltage of the battery based on the voltage charging acquisition module of the device;
  • a Microcontroller Unit also known as a Single Chip Microcomputer (Single Chip Microcomputer) or a single-chip microcomputer, appropriately reduces the frequency and specifications of a central processing unit (Central Process Unit; CPU). Integrate peripheral interfaces such as memory, counter (Timer), USB, A/D conversion, UART, PLC, DMA, and even LCD driver circuits on a single chip to form a chip-level computer for different applications. Do different combinations of controls.
  • Such as mobile phones, PC peripherals, remote controls, automotive electronics, industrial stepper motors, robotic arm control, etc., MCU can be seen.
  • the MCU can be directly used to collect the voltage of the battery, and then the collected voltage can be converted into electricity.
  • the AD module of the MCU is used to collect the voltage of the battery, and according to the voltage of the battery, the corresponding power is calculated by looking up the table, which is equivalent to the algorithm of the voltage-type fuel gauge being placed in the MCU.
  • the value actually collected by the AD is falsely higher than the real value, and when the battery is discharged, the value actually collected by the AD is falsely lower than the true value, which results in an inaccurate display of the power of the electronic product.
  • the battery power compensation method proposed in the present application obtains a more accurate voltage by using the charging compensation current to supplement the charging voltage, and then can display the power more accurately, so that the user can know the charging situation in time or use it better.
  • the device when it receives a charging command, it starts the charging operation.
  • the charging command is generally triggered by the battery charging interface of the device. That is, when it is detected that the battery charging interface has a charging voltage, the charging command is triggered and the device enters the charging state. .
  • the AD module of the built-in microcontroller unit MCU is used to collect the voltage of the battery as the current initial charging voltage of the battery.
  • Step S200 determining the current charging stage of the battery, and obtaining a charging compensation current based on the current charging stage;
  • the device enters the charging state, and obtains the charging compensation current according to the current charging stage of the battery, and the charging compensation current corresponding to different charging stages.
  • the charging compensation current can be searched in the current comparison table, and the corresponding charging compensation current is obtained in the current comparison table according to the current charging stage. It should be noted that the current charging stage of the battery can be read by the MCU of the device.
  • the trickle phase is used to precharge the fully discharged battery cells (recovery charging); both the precharge constant current phase and the fast charge constant current phase belong to constant current charging.
  • the trickle charging threshold In the above case, increase the charging current for constant current charging.
  • the current during constant current charging is not required to be very accurate, and a quasi-constant current can also be used; for constant voltage charging, charging is performed at a fixed voltage.
  • the preset voltage value For example, at 4.2V, the constant current charging ends, and the constant voltage charging stage begins; in the charging termination stage, continuous trickle charging is not recommended for lithium-ion batteries. Continuous trickle charging will cause the metal lithium to have a plate plating effect, which will make the battery ineffective.
  • Step S300 Compensate the initial charging voltage based on the charging compensation current to obtain the battery power corresponding to the current charging operation.
  • step S300 includes:
  • Step S310 calculating the current compensated charging voltage of the battery based on the charging compensation current
  • step S310 includes:
  • Step S311 obtaining the resistance value corresponding to the charging compensation current, and multiplying the charging compensation current by the resistance value to obtain a charging compensation voltage;
  • Step S312 taking the difference between the current initial charging voltage of the battery and the charging compensation voltage as the charging voltage after compensation.
  • the voltage of the AD-collected battery when the battery is working on the main board of the product, due to the existence of the internal resistance of the battery and the contact impedance, the voltage of the AD-collected battery will be falsely high and falsely low during charging and discharging. The phenomenon compensates for the voltage of the battery.
  • the current compensated charging voltage of the battery is obtained according to the charging compensation current, that is, the resistance value corresponding to the charging compensation current is obtained, and the charging compensation voltage is obtained by multiplying the charging compensation current by the resistance value.
  • the difference between the charging voltage and the charging compensation voltage is used as the compensated charging voltage.
  • the battery is set on the main board of the device. When the electronic product leaves the factory, the internal resistance of the battery and the contact impedance are known. The total resistance value of the internal resistance of the battery and the contact impedance is the resistance value corresponding to the charging compensation current. Multiply to get the charge compensation voltage.
  • the voltage value actually collected by AD is falsely higher than the real value. Therefore, it is necessary to subtract the current charging voltage of the battery from the compensation voltage, and the difference obtained is the charging voltage after compensation, which is close to the real value of the battery. Voltage.
  • Step S320 using a preset charging curve to convert the charging voltage into battery power.
  • the difference between the current initial charging voltage of the battery and the charging compensation voltage is used as the compensated charging voltage.
  • the charging voltage is converted into battery power according to a preset charging curve, where the preset charging curve is the corresponding curve between voltage and power.
  • the rated voltage of the battery is 4.2V
  • the charging curve is expressed by pairs of voltage and power, (4.2V, 100%), (4.1V, 95%), (4.0V, 95%)... If the current compensation If the charging voltage is 4.0V, the current battery capacity is 95% according to the charging curve.
  • step S100 before the step S100, it includes:
  • Step S400 obtaining preset currents corresponding to different charging stages
  • the charging stage includes: a trickle stage, a precharge constant current stage, a fast charge constant current stage, a constant voltage stage, and a charging termination stage, and the current corresponding to each stage is different.
  • the charging stage includes: a trickle stage, a precharge constant current stage, a fast charge constant current stage, a constant voltage stage, and a charge termination stage, wherein the current in the trickle flow stage, the precharge constant current stage, and the fast charge constant current stage is constant , and increase sequentially, the current in the trickle phase is very small, and the specific current value is determined according to the actual situation of the battery capacity and experimental data.
  • step S400 includes:
  • Step S410 acquiring multiple preset currents corresponding to the constant voltage stage
  • Step S420 grouping a plurality of preset currents according to the charging duration in the constant voltage stage, calculating the average current corresponding to each group, and using the average current as the preset current corresponding to the sub-stage.
  • the constant voltage stage means that the voltage keeps a constant value during the charging time.
  • the current gradually decreases, and the current in the early stage of the constant voltage stage tends to be very large.
  • the voltage gradually rises and the current gradually decreases.
  • the charger voltage and the regulated voltage across the battery are close, the current is close to zero.
  • the constant voltage stage can be divided into several time periods according to time, which are recorded as sub-stages, and then the average current in each time period, that is, the current corresponding to the sub-stages, can be calculated.
  • the currents in the same time period are grouped into a group, and then the average current in each time period is calculated separately.
  • Step S500 generating a current comparison table based on the corresponding relationship between the charging stage and the preset current
  • each charging stage and the current corresponding to the charging stage are stored in the current comparison table, and during the battery charging process, the corresponding current can be obtained according to the current charging stage of the battery.
  • the step S200 includes: looking up a preset current corresponding to the current charging stage in the current comparison table as the charging compensation current.
  • the current initial charging voltage of the battery is collected based on the voltage charging acquisition module of the device, and then the current charging stage of the battery is determined, and based on the current charging stage In the charging stage, the charging compensation current is obtained, and then the initial charging voltage is compensated based on the charging compensation current to obtain the battery power corresponding to the current charging operation.
  • the charging compensation current to supplement the charging voltage, a more accurate voltage can be obtained, and then the power can be displayed more accurately, so that the user can know the charging situation in time or use it better.
  • the battery power compensation method includes:
  • Step S600 when the device is currently performing a discharge operation, collect the current initial discharge voltage of the battery based on the voltage charging acquisition module of the device;
  • the device when the device receives a discharge command, it starts the discharge operation.
  • the discharge command is generally triggered by the operation of the device. As long as the device is powered on and not charging, it is always in the discharge state.
  • the AD module of the built-in microcontroller unit MCU is used to collect the voltage of the battery as the current initial discharge voltage of the battery.
  • Step S700 obtaining the current discharge compensation current of the battery and the resistance value corresponding to the discharge compensation current
  • Step S800 multiplying the discharge compensation current by the resistance value to obtain a discharge compensation voltage, using the sum of the current initial discharge voltage of the battery and the discharge compensation voltage as the compensated discharge voltage, using a preset discharge voltage
  • the curve converts the discharge voltage into battery power.
  • the current discharge compensation current of the battery can be directly read through the MCU of the device, and the battery is set on the main board of the device.
  • the internal resistance and contact impedance of the battery are known.
  • the total resistance value of resistance and contact impedance is the resistance value corresponding to the discharge compensation current, which is consistent with the resistance during charging.
  • the battery is set on the main board of the device.
  • the internal resistance of the battery and the contact impedance are known.
  • the total resistance value of the internal resistance of the battery and the contact impedance is the resistance value corresponding to the charging compensation current. Multiply to get the discharge compensation voltage.
  • the voltage value actually collected by AD is falsely lower than the real value, so the current initial discharge voltage of the battery and the discharge compensation voltage are added, and the obtained sum is used as the compensated discharge voltage, and then the preset discharge voltage is used.
  • the curve converts the discharge voltage into battery power.
  • the process of converting the discharge voltage into the electric quantity is the same as the process of converting the charging voltage into the electric quantity, and will not be repeated here.
  • the current initial discharge voltage of the battery is collected based on the voltage charging acquisition module of the device, and then the current discharge compensation current of the battery and the discharge compensation current are obtained.
  • the resistance value corresponding to the compensation current then multiply the discharge compensation current by the resistance value to obtain the discharge compensation voltage, and use the sum of the current initial discharge voltage of the battery and the discharge compensation voltage as the compensated discharge voltage , use the preset discharge curve to convert the discharge voltage into the battery power, and use the discharge compensation current to supplement the discharge voltage to obtain a more accurate voltage, so that the power can be displayed more accurately, so that the user can timely understand the charging situation or more good use.
  • FIG. 4 is a schematic diagram of functional modules of an embodiment of the battery power compensation device of the present invention.
  • the charging acquisition module 10 is configured to acquire the current initial charging voltage of the battery based on the voltage charging acquisition module of the device when the device is currently performing a charging operation;
  • a determination module 20 configured to determine the current charging stage of the battery, and obtain a charging compensation current based on the current charging stage;
  • the calculation module 30 is configured to compensate the initial charging voltage based on the charging compensation current to obtain the battery power corresponding to the current charging operation.
  • the battery power compensation device further includes:
  • an acquisition module for acquiring preset currents corresponding to different charging stages
  • a generating module configured to generate a current comparison table based on the corresponding relationship between the charging stage and the preset current
  • the determining module 20 is also used for:
  • the preset current corresponding to the current charging stage is searched in the current comparison table as the charging compensation current.
  • the acquisition module is also used for:
  • a plurality of preset currents are grouped according to the charging duration in the constant voltage stage, and the average current corresponding to each group is calculated, and the average current is used as the preset current corresponding to the sub-stage.
  • computing module 30 is also used for:
  • the charging voltage is converted into battery power using a preset charging curve. .
  • computing module 30 is also used for:
  • the difference between the current initial charging voltage of the battery and the charging compensation voltage is used as the charging voltage after compensation.
  • the battery power compensation device further includes:
  • a discharge collection module configured to collect the current initial discharge voltage of the battery based on the voltage charge collection module of the device when the device is currently performing a discharge operation
  • a resistance determination module configured to obtain the current discharge compensation current of the battery and the resistance value corresponding to the discharge compensation current
  • a conversion module configured to multiply the discharge compensation current by the resistance value to obtain a discharge compensation voltage, use the sum of the current initial discharge voltage of the battery and the discharge compensation voltage as the compensated discharge voltage, and use a preset The discharge curve of , converts the discharge voltage into battery power.
  • an embodiment of the present invention further provides a readable storage medium, where a battery power compensation program is stored on the readable storage medium, and when the battery power compensation program is executed by a processor, the battery power compensation method in the foregoing embodiments is implemented A step of.

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)
  • Secondary Cells (AREA)

Abstract

A battery electric quantity compensation method and apparatus, a device, and a readable storage medium. The method comprises: when a device currently performs a charging operation, a charging and collecting module collects the current initial charging voltage of a battery according to the voltage of the device (S100); then determine the current charging stage of the battery, and according to the current charging stage, obtain charging compensation current (S200); next, compensate the initial charging voltage according to the charging compensation current so as to obtain a battery electric quantity corresponding to the current charging operation (S300). By using the charging compensation current to compensate the charging voltage, so as to obtain a more accurate voltage, the electric quantity can be accurately displayed, and a user can know a charging condition in a timely fashion or better uses the battery.

Description

电池电量补偿方法、装置、设备及可读存储介质Battery power compensation method, device, device and readable storage medium
本申请要求于2020年07月03日提交中国专利局、申请号为202010631867.2、发明名称为“电池电量补偿方法、装置、设备及可读存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application with the application number 202010631867.2 and the invention title "Battery Power Compensation Method, Apparatus, Equipment and Readable Storage Medium" filed with the China Patent Office on July 3, 2020, the entire contents of which are approved by Reference is incorporated in this application.
技术领域technical field
本发明涉及电子产品的电量显示领域,尤其涉及一种电池电量补偿方法、装置、设备及可读存储介质。The present invention relates to the field of power display of electronic products, and in particular, to a battery power compensation method, device, device and readable storage medium.
背景技术Background technique
在锂离子电池技术领域,电池的容量是电池一项关键的技术指标,电子产品使用锂电池,其电量显示一般使用电量计来显示电池的电量。电量计分为两种,一种是电流型电量计,另一种是电压型电量计。但是为了节约成本,是可以去掉电量计的,使用MCU直接采集电池的电压,然后把采集的电压转化为电量。In the field of lithium-ion battery technology, the capacity of the battery is a key technical indicator of the battery. Electronic products use lithium batteries, and the power display generally uses a fuel gauge to display the power of the battery. There are two types of fuel gauges, one is a current type fuel gauge and the other is a voltage type fuel gauge. However, in order to save costs, it is possible to remove the fuel gauge, use the MCU to directly collect the voltage of the battery, and then convert the collected voltage into electricity.
但是,使用MCU的AD模块采集电池的电压,根据电池的电压通过查表方式,计算出对应的电量,相当于电压型电量计的算法放到MCU里面。充电盒对电池进行充电的时候,AD实际采集的值比真实的电压值虚高,在电池放电的时候,AD实际采集的电压值比真实的值虚低,这是因为电池内阻以及接触阻抗的存在,因而导致电子产品的电量显示不准确。However, the AD module of the MCU is used to collect the voltage of the battery, and according to the voltage of the battery, the corresponding power is calculated by looking up the table, which is equivalent to the algorithm of the voltage-type fuel gauge being placed in the MCU. When the charging box is charging the battery, the value actually collected by the AD is falsely higher than the actual voltage value. When the battery is discharging, the voltage value actually collected by the AD is falsely lower than the true value. This is because of the internal resistance and contact impedance of the battery. The existence of , thus resulting in inaccurate display of the power of electronic products.
上述内容仅用于辅助理解本发明的技术方案,并不代表承认上述内容是现有技术。The above content is only used to assist the understanding of the technical solutions of the present invention, and does not mean that the above content is the prior art.
发明内容SUMMARY OF THE INVENTION
本发明的主要目的在于提供一种电池电量补偿方法、装置、设备及可读存储介质,旨在解决现有使用MCU直接采集电池的电压,再把电压转化为电量,导致电池电量显示不准确的技术问题。The main purpose of the present invention is to provide a battery power compensation method, device, equipment and readable storage medium, which aims to solve the problem of using MCU to directly collect the voltage of the battery, and then convert the voltage into power, resulting in inaccurate display of the battery power. technical problem.
为实现上述目的,本发明提供一种电池电量补偿方法,所述的电池电量补偿方法包括以下步骤:In order to achieve the above object, the present invention provides a battery power compensation method, the battery power compensation method includes the following steps:
在所述设备当前进行充电操作时,基于所述设备的电压充电采集模块采集电池当前的初始充电电压;When the device is currently performing a charging operation, collect the current initial charging voltage of the battery based on the voltage charging acquisition module of the device;
确定电池当前的充电阶段,并基于所述当前充电阶段获取充电补偿电流;determining the current charging stage of the battery, and obtaining a charging compensation current based on the current charging stage;
基于所述充电补偿电流对初始充电电压进行补偿,得到当前充电操作对应的电池电量。The initial charging voltage is compensated based on the charging compensation current to obtain the battery power corresponding to the current charging operation.
进一步地,所述在所述设备当前进行充电操作时,基于所述设备的电压充电采集模块采集电池当前的初始充电电压的步骤之前,包括:Further, before the step of collecting the current initial charging voltage of the battery based on the voltage charging acquisition module of the device when the device is currently performing a charging operation, the method includes:
获取不同充电阶段对应的预设电流;Obtain preset currents corresponding to different charging stages;
基于所述充电阶段与所述预设电流的对应关系,生成电流对照表;generating a current comparison table based on the corresponding relationship between the charging stage and the preset current;
所述确定电池当前的充电阶段,并基于所述当前充电阶段获取充电补偿电流的步骤包括:The step of determining the current charging stage of the battery and obtaining the charging compensation current based on the current charging stage includes:
在所述电流对照表中查找所述当前充电阶段对应的预设电流作为所述充电补偿电流。The preset current corresponding to the current charging stage is searched in the current comparison table as the charging compensation current.
进一步地,所述充电阶段为恒压阶段,所述恒压阶段包括多个子阶段,所述获取不同充电阶段对应的预设电流的步骤包括:Further, the charging stage is a constant voltage stage, the constant voltage stage includes a plurality of sub-stages, and the step of obtaining preset currents corresponding to different charging stages includes:
获取恒压阶段对应的多个预设电流;Obtain multiple preset currents corresponding to the constant voltage stage;
按照进入恒压阶段的充电时长将多个预设电流进行分组,并计算各个分组对应的平均电流,将所述平均电流作为子阶段对应的预设电流。A plurality of preset currents are grouped according to the charging duration in the constant voltage stage, and the average current corresponding to each group is calculated, and the average current is used as the preset current corresponding to the sub-stage.
进一步地,所述基于所述充电补偿电流对初始充电电压进行补偿,得到当前充电操作对应的电池电量的步骤包括:Further, the step of compensating the initial charging voltage based on the charging compensation current to obtain the battery power corresponding to the current charging operation includes:
基于所述充电补偿电流计算得到电池当前补偿后的充电电压;Calculate the current compensated charging voltage of the battery based on the charging compensation current;
利用预设的充电曲线将所述充电电压转换为电池电量。The charging voltage is converted into battery power using a preset charging curve.
进一步地,所述基于所述充电补偿电流计算得到电池当前补偿后的充电电压的步骤包括:Further, the step of calculating the current compensated charging voltage of the battery based on the charging compensation current includes:
获取所述充电补偿电流对应的电阻值,并将所述充电补偿电流与所述电 阻值相乘得到充电补偿电压;Obtaining the resistance value corresponding to the charging compensation current, and multiplying the charging compensation current by the resistance value to obtain a charging compensation voltage;
将所述电池当前的初始充电电压与所述充电补偿电压的差值作为所述补偿后的充电电压。The difference between the current initial charging voltage of the battery and the charging compensation voltage is used as the charging voltage after compensation.
进一步地,所述充电阶段包括:涓流阶段、预充阶段、快充阶段和恒压阶段、待截止充电阶段。Further, the charging stage includes: a trickle stage, a pre-charging stage, a fast-charging stage, a constant voltage stage, and a charging stage to be turned off.
进一步地,所述电池电量补偿方法包括:Further, the battery power compensation method includes:
在所述设备当前进行放电操作时,基于所述设备的电压充电采集模块,采集电池当前的初始放电电压;When the device is currently performing a discharging operation, collect the current initial discharge voltage of the battery based on the voltage charging acquisition module of the device;
获取电池当前的放电补偿电流以及所述放电补偿电流对应的电阻值;Obtain the current discharge compensation current of the battery and the resistance value corresponding to the discharge compensation current;
将所述放电补偿电流与所述电阻值相乘得到放电补偿电压,将所述电池当前的初始放电电压与所述放电补偿电压的和作为补偿后的放电电压,利用预设的放电曲线将所述放电电压转换为电池电量。The discharge compensation voltage is obtained by multiplying the discharge compensation current by the resistance value, the sum of the current initial discharge voltage of the battery and the discharge compensation voltage is used as the compensated discharge voltage, and the preset discharge curve is used to calculate the discharge compensation voltage. The discharge voltage is converted into battery power.
进一步地,所述电池电量补偿装置包括:Further, the battery power compensation device includes:
充电采集模块,用于在所述设备当前进行充电操作时,基于所述设备的电压充电采集模块采集电池当前的初始充电电压;a charging acquisition module, configured to acquire the current initial charging voltage of the battery based on the voltage charging acquisition module of the device when the device is currently performing a charging operation;
确定模块,用于确定电池当前的充电阶段,并基于所述当前充电阶段获取充电补偿电流;a determining module, configured to determine the current charging stage of the battery, and obtain a charging compensation current based on the current charging stage;
计算模块,用于基于所述充电补偿电流对初始充电电压进行补偿,得到当前充电操作对应的电池电量。The calculation module is configured to compensate the initial charging voltage based on the charging compensation current to obtain the battery power corresponding to the current charging operation.
此外,为实现上述目的,本发明还提供一种设备,所述设备包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的电池电量补偿程序,所述电池电量补偿程序被所述处理器执行时实现上述任一项所述的电池电量补偿方法的步骤。In addition, in order to achieve the above object, the present invention also provides a device comprising: a memory, a processor, and a battery power compensation program stored on the memory and running on the processor, the battery power When the compensation program is executed by the processor, the steps of any one of the battery power compensation methods described above are implemented.
此外,为实现上述目的,本发明还提供一种可读存储介质,所述可读存储介质上存储有电池电量补偿程序,所述电池电量补偿程序被处理器执行时实现上述任一项所述的电池电量补偿方法的步骤。In addition, in order to achieve the above object, the present invention also provides a readable storage medium, where a battery power compensation program is stored on the readable storage medium, and when the battery power compensation program is executed by a processor, any one of the above-mentioned descriptions can be realized. The steps of the battery charge compensation method.
本发明在所述设备当前进行充电操作时,基于所述设备的电压充电采集模块采集电池当前的初始充电电压,而后确定电池当前的充电阶段,并基于所述当前充电阶段获取充电补偿电流,接下来基于所述充电补偿电流对初始充电电压进行补偿,得到当前充电操作对应的电池电量。通过利用充电补偿电流对充电电压进行补充,得到更准确的电压,进而能较准确的显示电量,使用户能及时了解充电情况或更好的使用。The present invention collects the current initial charging voltage of the battery based on the voltage charging acquisition module of the device when the device is currently performing a charging operation, then determines the current charging stage of the battery, obtains the charging compensation current based on the current charging stage, and then connects Next, the initial charging voltage is compensated based on the charging compensation current to obtain the battery power corresponding to the current charging operation. By using the charging compensation current to supplement the charging voltage, a more accurate voltage can be obtained, and then the power can be displayed more accurately, so that the user can know the charging situation in time or use it better.
附图说明Description of drawings
图1是本发明实施例方案涉及的硬件运行环境中设备的结构示意图;1 is a schematic structural diagram of a device in a hardware operating environment involved in an embodiment of the present invention;
图2为本发明基于电池电量补偿方法第一实施例的流程示意图;FIG. 2 is a schematic flowchart of a first embodiment of a battery power compensation method based on the present invention;
图3为本发明基于电池电量补偿方法第二实施例的流程示意图;FIG. 3 is a schematic flowchart of a second embodiment of a battery power compensation method based on the present invention;
图4为本发明基于电池电量补偿装置实施例的功能模块示意图。FIG. 4 is a schematic diagram of functional modules based on an embodiment of a battery power compensation device according to the present invention.
本发明目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。The realization, functional characteristics and advantages of the present invention will be further described with reference to the accompanying drawings in conjunction with the embodiments.
具体实施方式detailed description
应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。It should be understood that the specific embodiments described herein are only used to explain the present invention, but not to limit the present invention.
如图1所示,图1是本发明实施例方案涉及的硬件运行环境中设备的结构示意图。As shown in FIG. 1 , FIG. 1 is a schematic structural diagram of a device in a hardware operating environment involved in an embodiment of the present invention.
如图1所示,该设备可以包括:处理器1001,例如CPU,网络接口1004,用户接口1003,存储器1005,通信总线1002。其中,通信总线1002用于实现这些组件之间的连接通信。用户接口1003可以包括显示屏(Display)、输入单元比如键盘(Keyboard),可选用户接口1003还可以包括标准的有线接口、无线接口。网络接口1004可选的可以包括标准的有线接口、无线接口(如WI-FI接口)。存储器1005可以是高速RAM存储器,也可以是稳定的存储器(non-volatile memory),例如磁盘存储器。存储器1005可选的还可以是独立于前述处理器1001的存储装置。As shown in FIG. 1 , the device may include: a processor 1001 , such as a CPU, a network interface 1004 , a user interface 1003 , a memory 1005 , and a communication bus 1002 . Among them, the communication bus 1002 is used to realize the connection and communication between these components. The user interface 1003 may include a display screen (Display), an input unit such as a keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface and a wireless interface. Optionally, the network interface 1004 may include a standard wired interface and a wireless interface (eg, a WI-FI interface). The memory 1005 may be high-speed RAM memory, or may be non-volatile memory, such as disk memory. Optionally, the memory 1005 may also be a storage device independent of the aforementioned processor 1001 .
本领域技术人员可以理解,图1中示出的目标检测系统结构并不构成对设备的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不 同的部件布置。Those skilled in the art can understand that the structure of the target detection system shown in FIG. 1 does not constitute a limitation on the device, and may include more or less components than shown, or combine some components, or arrange different components.
如图1所示,作为一种存储介质的存储器1005中可以包括操作系统、网络通信模块、用户接口模块以及基于电池电量补偿程序。As shown in FIG. 1 , the memory 1005 as a storage medium may include an operating system, a network communication module, a user interface module, and a battery-based compensation program.
在图1所示的设备中,网络接口1004主要用于连接后台服务器,与后台服务器进行数据通信;用户接口1003主要用于连接用户端,与用户端进行数据通信;而处理器1001可以用于调用存储器1005中存储的基于电池电量补偿程序。In the device shown in FIG. 1 , the network interface 1004 is mainly used to connect to the background server and perform data communication with the background server; the user interface 1003 is mainly used to connect to the client and perform data communication with the client; and the processor 1001 can be used for The battery based compensation routine stored in the memory 1005 is called.
在本实施例中,设备包括:存储器1005、处理器1001及存储在所述存储器1005上并可在所述处理器1001上运行的基于电池电量补偿程序,其中,处理器1001调用存储器1005中存储的基于电池电量补偿程序时,执行本申请各个实施例提供的基于电池电量补偿方法的步骤In this embodiment, the device includes: a memory 1005, a processor 1001, and a battery-based compensation program stored on the memory 1005 and executable on the processor 1001, wherein the processor 1001 calls the memory 1005 to store the program When the battery power compensation program is based on the battery power compensation program, execute the steps of the battery power compensation method provided by the various embodiments of the present application
本发明还提供一种电池电量补偿方法,参照图2,图2为本发明电池电量补偿方法第一实施例的流程示意图。The present invention also provides a battery power compensation method. Referring to FIG. 2 , FIG. 2 is a schematic flowchart of the first embodiment of the battery power compensation method of the present invention.
本发明实施例提供了电池电量补偿方法的实施例,需要说明的是,虽然在流程图中示出了逻辑顺序,但是在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤。This embodiment of the present invention provides an embodiment of a battery power compensation method. It should be noted that although a logical sequence is shown in the flowchart, in some cases, the shown or described steps.
在本实施例中,该电池电量补偿方法包括:In this embodiment, the battery power compensation method includes:
步骤S100,在所述设备当前进行充电操作时,基于所述设备的电压充电采集模块采集电池当前的初始充电电压;Step S100, when the device is currently performing a charging operation, collect the current initial charging voltage of the battery based on the voltage charging acquisition module of the device;
在本实施例中,微控制单元(Microcontroller Unit;MCU),又称单片微型计算机(Single Chip Microcomputer)或者单片机,是把中央处理器(Central Process Unit;CPU)的频率与规格做适当缩减,并将内存(memory)、计数器(Timer)、USB、A/D转换、UART、PLC、DMA等周边接口,甚至LCD驱动电路都整合在单一芯片上,形成芯片级的计算机,为不同的应用场合做不同组合控制。诸如手机、PC外围、遥控器,至汽车电子、工业上的步进马达、机器手臂的控制等,都可见到MCU的身影。在现有技术中,采用为了节约成本,可以直接使用MCU采集电池的电压,然后把采集的电压转化为电量。In this embodiment, a Microcontroller Unit (MCU), also known as a Single Chip Microcomputer (Single Chip Microcomputer) or a single-chip microcomputer, appropriately reduces the frequency and specifications of a central processing unit (Central Process Unit; CPU). Integrate peripheral interfaces such as memory, counter (Timer), USB, A/D conversion, UART, PLC, DMA, and even LCD driver circuits on a single chip to form a chip-level computer for different applications. Do different combinations of controls. Such as mobile phones, PC peripherals, remote controls, automotive electronics, industrial stepper motors, robotic arm control, etc., MCU can be seen. In the prior art, in order to save costs, the MCU can be directly used to collect the voltage of the battery, and then the collected voltage can be converted into electricity.
如前所述,使用MCU的AD模块采集电池的电压,根据电池的电压通过查表方式,计算出对应的电量,相当于电压型电量计的算法放到MCU里面。充电盒对电池进行充电的时候,AD实际采集的值比真实的值虚高,在电池放电的时候,AD实际采集的值比真实的值虚低,因而导致电子产品的电量显示 不准确。本申请提出的电池电量补偿方法,通过利用充电补偿电流对充电电压进行补充,得到更准确的电压,进而能较准确的显示电量,使用户能及时了解充电情况或更好的使用。As mentioned above, the AD module of the MCU is used to collect the voltage of the battery, and according to the voltage of the battery, the corresponding power is calculated by looking up the table, which is equivalent to the algorithm of the voltage-type fuel gauge being placed in the MCU. When the charging box is charging the battery, the value actually collected by the AD is falsely higher than the real value, and when the battery is discharged, the value actually collected by the AD is falsely lower than the true value, which results in an inaccurate display of the power of the electronic product. The battery power compensation method proposed in the present application obtains a more accurate voltage by using the charging compensation current to supplement the charging voltage, and then can display the power more accurately, so that the user can know the charging situation in time or use it better.
具体地,当设备接收到充电指令时,开始启动充电操作,该充电指令一般是由设备的电池充电接口触发,即当检测到电池充电接口有充电电压时,则触发充电指令,设备进入充电状态。当设备当前进行充电操作时,利用设备内置的微控制单元MCU的AD模块采集电池的电压,作为电池当前的初始充电电压。Specifically, when the device receives a charging command, it starts the charging operation. The charging command is generally triggered by the battery charging interface of the device. That is, when it is detected that the battery charging interface has a charging voltage, the charging command is triggered and the device enters the charging state. . When the device is currently performing a charging operation, the AD module of the built-in microcontroller unit MCU is used to collect the voltage of the battery as the current initial charging voltage of the battery.
步骤S200,确定电池当前的充电阶段,并基于所述当前充电阶段获取充电补偿电流;Step S200, determining the current charging stage of the battery, and obtaining a charging compensation current based on the current charging stage;
在本实施例中,设备进入充电状态,根据电池当前的充电阶段获取充电补偿电流,不同充电阶段对应的充电补偿电流。该充电补偿电流可以在电流对照表中查找,根据当前充电阶段在电流对照表中获取对应的充电补偿电流。需要说明的是,电池当前的充电阶段是可以通过设备的MCU读取。In this embodiment, the device enters the charging state, and obtains the charging compensation current according to the current charging stage of the battery, and the charging compensation current corresponding to different charging stages. The charging compensation current can be searched in the current comparison table, and the corresponding charging compensation current is obtained in the current comparison table according to the current charging stage. It should be noted that the current charging stage of the battery can be read by the MCU of the device.
具体地,涓流阶段是用来对完全放电的电池单元进行预充(恢复性充电);预充恒流阶段和快充恒流阶段都属于恒流充电,当电池电压上升到涓流充电阈值以上时,提高充电电流进行恒流充电,恒流充电时的电流并不要求十分精确,准恒定电流也可以;恒压充电,以固定电压进行充电,当电池电压上升到预设电压值时,如4.2V,恒流充电结束,开始恒压充电阶段;充电终止阶段,因为不建议对锂离子电池连续涓流充电,连续涓流充电会导致金属锂出现极板电镀效应,这会使电池不稳定,并且有可能导致突然的自动快速解体,有两种典型的充电终止方法:采用最小充电电流判断或采用定时器(或者两者的结合),最小电流法监视恒压充电阶段的充电电流,并在充电电流减小到阈值范围时终止充电;第二种方法从恒压充电阶段开始时计时,持续充电预设时长后终止充电过程。Specifically, the trickle phase is used to precharge the fully discharged battery cells (recovery charging); both the precharge constant current phase and the fast charge constant current phase belong to constant current charging. When the battery voltage rises to the trickle charging threshold In the above case, increase the charging current for constant current charging. The current during constant current charging is not required to be very accurate, and a quasi-constant current can also be used; for constant voltage charging, charging is performed at a fixed voltage. When the battery voltage rises to the preset voltage value, For example, at 4.2V, the constant current charging ends, and the constant voltage charging stage begins; in the charging termination stage, continuous trickle charging is not recommended for lithium-ion batteries. Continuous trickle charging will cause the metal lithium to have a plate plating effect, which will make the battery ineffective. It is stable and may cause sudden automatic rapid disintegration. There are two typical charging termination methods: using the minimum charging current judgment or using a timer (or a combination of the two), the minimum current method to monitor the charging current in the constant voltage charging stage, And the charging is terminated when the charging current is reduced to the threshold range; the second method starts timing from the constant voltage charging stage, and terminates the charging process after continuing the charging for a preset period of time.
步骤S300,基于所述充电补偿电流对初始充电电压进行补偿,得到当前充电操作对应的电池电量。Step S300: Compensate the initial charging voltage based on the charging compensation current to obtain the battery power corresponding to the current charging operation.
具体地,步骤S300包括:Specifically, step S300 includes:
步骤S310,基于所述充电补偿电流计算得到电池当前补偿后的充电电压;Step S310, calculating the current compensated charging voltage of the battery based on the charging compensation current;
具体地,步骤S310包括:Specifically, step S310 includes:
步骤S311,获取所述充电补偿电流对应的电阻值,并将所述充电补偿电 流与所述电阻值相乘得到充电补偿电压;Step S311, obtaining the resistance value corresponding to the charging compensation current, and multiplying the charging compensation current by the resistance value to obtain a charging compensation voltage;
步骤S312,将所述电池当前的初始充电电压与所述充电补偿电压的差值作为所述补偿后的充电电压。Step S312, taking the difference between the current initial charging voltage of the battery and the charging compensation voltage as the charging voltage after compensation.
在本实施例中,当电池在产品主板上工作时,由于电池内阻以及接触阻抗的存在,会使得AD采集电池的电压在充电和放电的时候存在虚高虚低的现象,因此针对这种现象对电池的电压进行补偿。In this embodiment, when the battery is working on the main board of the product, due to the existence of the internal resistance of the battery and the contact impedance, the voltage of the AD-collected battery will be falsely high and falsely low during charging and discharging. The phenomenon compensates for the voltage of the battery.
具体地,首先根据充电补偿电流计算得到电池当前补偿后的充电电压,即获取充电补偿电流对应的电阻值,并将充电补偿电流与所述电阻值相乘得到充电补偿电压,将电池当前的初始充电电压与充电补偿电压的差值作为所述补偿后的充电电压。电池设置在设备的主板上,电子产品出厂时,电池内阻以及接触阻抗是已知的,电池内阻与接触阻抗的总阻值为充电补偿电流对应的电阻值,将充电补偿电流与电阻值相乘得到充电补偿电压。电池在充电时,AD实际采集的电压值比真实的值虚高,因此,需要将电池当前的充电电压与补偿电压进行相减,得到的差值为补偿后的充电电压,即接近电池真实的电压。Specifically, firstly, the current compensated charging voltage of the battery is obtained according to the charging compensation current, that is, the resistance value corresponding to the charging compensation current is obtained, and the charging compensation voltage is obtained by multiplying the charging compensation current by the resistance value. The difference between the charging voltage and the charging compensation voltage is used as the compensated charging voltage. The battery is set on the main board of the device. When the electronic product leaves the factory, the internal resistance of the battery and the contact impedance are known. The total resistance value of the internal resistance of the battery and the contact impedance is the resistance value corresponding to the charging compensation current. Multiply to get the charge compensation voltage. When the battery is charging, the voltage value actually collected by AD is falsely higher than the real value. Therefore, it is necessary to subtract the current charging voltage of the battery from the compensation voltage, and the difference obtained is the charging voltage after compensation, which is close to the real value of the battery. Voltage.
步骤S320,利用预设的充电曲线将所述充电电压转换为电池电量。Step S320, using a preset charging curve to convert the charging voltage into battery power.
在本实施例中,当利用充电补偿电流以及电阻值计算得到电池当前补偿后的充电电压后,进而电池当前的初始充电电压与充电补偿电压的差值作为所述补偿后的充电电压。电压与电量存在对应关系,根据预设的充电曲线将充电电压转换为电池电量,其中预设的充电曲线就是电压与电量的对应关系曲线。例如,电池额定电压为4.2V,充电曲线用成对的电压、电量表示,(4.2V,100%),(4.1V,95%),(4.0V,95%)……如果当前补偿后的充电电压为4.0V,则根据充电曲线得到当前的电池电量为95%。In this embodiment, after the current compensated charging voltage of the battery is calculated by using the charging compensation current and the resistance value, the difference between the current initial charging voltage of the battery and the charging compensation voltage is used as the compensated charging voltage. There is a corresponding relationship between voltage and power, and the charging voltage is converted into battery power according to a preset charging curve, where the preset charging curve is the corresponding curve between voltage and power. For example, the rated voltage of the battery is 4.2V, and the charging curve is expressed by pairs of voltage and power, (4.2V, 100%), (4.1V, 95%), (4.0V, 95%)... If the current compensation If the charging voltage is 4.0V, the current battery capacity is 95% according to the charging curve.
进一步地,在一实施例中,所述步骤S100之前包括:Further, in an embodiment, before the step S100, it includes:
步骤S400,获取不同充电阶段对应的预设电流;Step S400, obtaining preset currents corresponding to different charging stages;
在本实施例中,充电阶段包括:涓流阶段、预充恒流阶段、快充恒流阶段和恒压阶段、充电终止阶段,每个阶段对应的电流是不同的。充电阶段包括:涓流阶段、预充恒流阶段、快充恒流阶段和恒压阶段、充电终止阶段,其中,涓流阶段、预充恒流阶段、快充恒流阶段的电流是恒定的,并依次增大,涓流阶段的电流非常小,具体的电流值大小根据电池容量的实际情况, 以及实验数据确定。In this embodiment, the charging stage includes: a trickle stage, a precharge constant current stage, a fast charge constant current stage, a constant voltage stage, and a charging termination stage, and the current corresponding to each stage is different. The charging stage includes: a trickle stage, a precharge constant current stage, a fast charge constant current stage, a constant voltage stage, and a charge termination stage, wherein the current in the trickle flow stage, the precharge constant current stage, and the fast charge constant current stage is constant , and increase sequentially, the current in the trickle phase is very small, and the specific current value is determined according to the actual situation of the battery capacity and experimental data.
进一步地,当充电阶段为恒压阶段时,步骤S400包括:Further, when the charging stage is the constant voltage stage, step S400 includes:
步骤S410,获取恒压阶段对应的多个预设电流;Step S410, acquiring multiple preset currents corresponding to the constant voltage stage;
步骤S420,按照进入恒压阶段的充电时长将多个预设电流进行分组,并计算各个分组对应的平均电流,将所述平均电流作为子阶段对应的预设电流。Step S420, grouping a plurality of preset currents according to the charging duration in the constant voltage stage, calculating the average current corresponding to each group, and using the average current as the preset current corresponding to the sub-stage.
在本实施例中,恒压阶段是指电压在充电时间里保持恒定的数值,随着电池端电压的逐渐升高,电流逐渐减小,恒压阶段前期的电流往往会很大,随着端电压的逐渐上升,电流慢慢减小。当充电器电压和电池两端的稳定电压接近时,电流接近于零。In this embodiment, the constant voltage stage means that the voltage keeps a constant value during the charging time. As the battery terminal voltage gradually increases, the current gradually decreases, and the current in the early stage of the constant voltage stage tends to be very large. The voltage gradually rises and the current gradually decreases. When the charger voltage and the regulated voltage across the battery are close, the current is close to zero.
进一步,可以将恒压阶段按照时间分成若干时间段,记为子阶段,然后求每个时间段内的平均电流,即子阶段对应的电流。利用恒压阶段的历史数据,将在同一个时间段的电流分为一组,然后分别求每个时间段内的平均电流。Further, the constant voltage stage can be divided into several time periods according to time, which are recorded as sub-stages, and then the average current in each time period, that is, the current corresponding to the sub-stages, can be calculated. Using the historical data of the constant voltage stage, the currents in the same time period are grouped into a group, and then the average current in each time period is calculated separately.
步骤S500,基于所述充电阶段与所述预设电流的对应关系,生成电流对照表;Step S500, generating a current comparison table based on the corresponding relationship between the charging stage and the preset current;
在本实施例中,将各个充电阶段以及充电阶段对应的电流,保存到电流对照表中,当电池充电过程中,可以根据当前电池的充电阶段,获取对应的电流。In this embodiment, each charging stage and the current corresponding to the charging stage are stored in the current comparison table, and during the battery charging process, the corresponding current can be obtained according to the current charging stage of the battery.
所述步骤S200包括:在所述电流对照表中查找所述当前充电阶段对应的预设电流作为所述充电补偿电流。The step S200 includes: looking up a preset current corresponding to the current charging stage in the current comparison table as the charging compensation current.
本实施例提出的电池电量补偿方法,在所述设备当前进行充电操作时,基于所述设备的电压充电采集模块采集电池当前的初始充电电压,而后确定电池当前的充电阶段,并基于所述当前充电阶段获取充电补偿电流,接下来基于所述充电补偿电流对初始充电电压进行补偿,得到当前充电操作对应的电池电量。通过利用充电补偿电流对充电电压进行补充,得到更准确的电压,进而能较准确的显示电量,使用户能及时了解充电情况或更好的使用。In the battery power compensation method proposed in this embodiment, when the device is currently performing a charging operation, the current initial charging voltage of the battery is collected based on the voltage charging acquisition module of the device, and then the current charging stage of the battery is determined, and based on the current charging stage In the charging stage, the charging compensation current is obtained, and then the initial charging voltage is compensated based on the charging compensation current to obtain the battery power corresponding to the current charging operation. By using the charging compensation current to supplement the charging voltage, a more accurate voltage can be obtained, and then the power can be displayed more accurately, so that the user can know the charging situation in time or use it better.
基于第一实施例,参照图3,提出本发明电池电量补偿方法的第二实施例,在本实施例中,所述电池电量补偿方法包括:Based on the first embodiment, referring to FIG. 3 , a second embodiment of the battery power compensation method of the present invention is proposed. In this embodiment, the battery power compensation method includes:
步骤S600,在所述设备当前进行放电操作时,基于所述设备的电压充电采集模块,采集电池当前的初始放电电压;Step S600, when the device is currently performing a discharge operation, collect the current initial discharge voltage of the battery based on the voltage charging acquisition module of the device;
在本实施例中,当设备接收到放电指令时,开始启动放电操作,该放电指令一般是由设备运行所触发的,只要设备处于开机状态且没有进行充电,则一直处于放电状态。当设备当前进行放电操作时,利用设备内置的微控制单元MCU的AD模块采集电池的电压,作为电池当前的初始放电电压。In this embodiment, when the device receives a discharge command, it starts the discharge operation. The discharge command is generally triggered by the operation of the device. As long as the device is powered on and not charging, it is always in the discharge state. When the device is currently performing a discharge operation, the AD module of the built-in microcontroller unit MCU is used to collect the voltage of the battery as the current initial discharge voltage of the battery.
步骤S700,获取电池当前的放电补偿电流以及所述放电补偿电流对应的电阻值;Step S700, obtaining the current discharge compensation current of the battery and the resistance value corresponding to the discharge compensation current;
步骤S800,将所述放电补偿电流与所述电阻值相乘得到放电补偿电压,将所述电池当前的初始放电电压与所述放电补偿电压的和作为补偿后的放电电压,利用预设的放电曲线将所述放电电压转换为电池电量。Step S800, multiplying the discharge compensation current by the resistance value to obtain a discharge compensation voltage, using the sum of the current initial discharge voltage of the battery and the discharge compensation voltage as the compensated discharge voltage, using a preset discharge voltage The curve converts the discharge voltage into battery power.
在本实施例中,电池当前的放电补偿电流是可以直接通过设备的MCU读取的,并且电池设置在设备的主板上,电子产品出厂时,电池内阻以及接触阻抗是已知的,电池内阻与接触阻抗的总阻值为放电补偿电流对应的电阻值,与充电时的电阻是一致的。电池设置在设备的主板上,电子产品出厂时,电池内阻以及接触阻抗是已知的,电池内阻与接触阻抗的总阻值为充电补偿电流对应的电阻值,将放电补偿电流与电阻值相乘得到放电补偿电压。电池在放电时,AD实际采集的电压值比真实的值虚低,故将电池当前的初始放电电压与放电补偿电压进行相加,得到的和作为补偿后的放电电压,然后利用预设的放电曲线将所述放电电压转换为电池电量。放电电压转换为电量的过程与充电电压转换为电量的过程一致,在此不再赘述。In this embodiment, the current discharge compensation current of the battery can be directly read through the MCU of the device, and the battery is set on the main board of the device. When the electronic product leaves the factory, the internal resistance and contact impedance of the battery are known. The total resistance value of resistance and contact impedance is the resistance value corresponding to the discharge compensation current, which is consistent with the resistance during charging. The battery is set on the main board of the device. When the electronic product leaves the factory, the internal resistance of the battery and the contact impedance are known. The total resistance value of the internal resistance of the battery and the contact impedance is the resistance value corresponding to the charging compensation current. Multiply to get the discharge compensation voltage. When the battery is discharging, the voltage value actually collected by AD is falsely lower than the real value, so the current initial discharge voltage of the battery and the discharge compensation voltage are added, and the obtained sum is used as the compensated discharge voltage, and then the preset discharge voltage is used. The curve converts the discharge voltage into battery power. The process of converting the discharge voltage into the electric quantity is the same as the process of converting the charging voltage into the electric quantity, and will not be repeated here.
本实施例提出的电池电量补偿方法,在所述设备当前进行放电操作时,基于所述设备的电压充电采集模块,采集电池当前的初始放电电压,而后获取电池当前的放电补偿电流以及所述放电补偿电流对应的电阻值,接下来将所述放电补偿电流与所述电阻值相乘得到放电补偿电压,将所述电池当前的初始放电电压与所述放电补偿电压的和作为补偿后的放电电压,利用预设的放电曲线将所述放电电压转换为电池电量通过利用放电补偿电流对放电电压进行补充,得到更准确的电压,进而能较准确的显示电量,使用户能及时了解充电情况或更好的使用。In the battery power compensation method proposed in this embodiment, when the device is currently performing a discharging operation, the current initial discharge voltage of the battery is collected based on the voltage charging acquisition module of the device, and then the current discharge compensation current of the battery and the discharge compensation current are obtained. The resistance value corresponding to the compensation current, then multiply the discharge compensation current by the resistance value to obtain the discharge compensation voltage, and use the sum of the current initial discharge voltage of the battery and the discharge compensation voltage as the compensated discharge voltage , use the preset discharge curve to convert the discharge voltage into the battery power, and use the discharge compensation current to supplement the discharge voltage to obtain a more accurate voltage, so that the power can be displayed more accurately, so that the user can timely understand the charging situation or more good use.
本发明进一步提供一种电池电量补偿装置,参照图4,图4为本发明电池电量补偿装置实施例的功能模块示意图。The present invention further provides a battery power compensation device. Referring to FIG. 4 , FIG. 4 is a schematic diagram of functional modules of an embodiment of the battery power compensation device of the present invention.
充电采集模块10,用于在所述设备当前进行充电操作时,基于所述设备 的电压充电采集模块采集电池当前的初始充电电压;The charging acquisition module 10 is configured to acquire the current initial charging voltage of the battery based on the voltage charging acquisition module of the device when the device is currently performing a charging operation;
确定模块20,用于确定电池当前的充电阶段,并基于所述当前充电阶段获取充电补偿电流;A determination module 20, configured to determine the current charging stage of the battery, and obtain a charging compensation current based on the current charging stage;
计算模块30,用于基于所述充电补偿电流对初始充电电压进行补偿,得到当前充电操作对应的电池电量。The calculation module 30 is configured to compensate the initial charging voltage based on the charging compensation current to obtain the battery power corresponding to the current charging operation.
进一步地,所述电池电量补偿装置还包括:Further, the battery power compensation device further includes:
获取模块,用于获取不同充电阶段对应的预设电流;an acquisition module for acquiring preset currents corresponding to different charging stages;
生成模块,用于基于所述充电阶段与所述预设电流的对应关系,生成电流对照表;a generating module, configured to generate a current comparison table based on the corresponding relationship between the charging stage and the preset current;
所述确定模块20还用于:The determining module 20 is also used for:
在所述电流对照表中查找所述当前充电阶段对应的预设电流作为所述充电补偿电流。The preset current corresponding to the current charging stage is searched in the current comparison table as the charging compensation current.
进一步地,所述获取模块还用于:Further, the acquisition module is also used for:
获取恒压阶段对应的多个预设电流;Obtain multiple preset currents corresponding to the constant voltage stage;
按照进入恒压阶段的充电时长将多个预设电流进行分组,并计算各个分组对应的平均电流,将所述平均电流作为子阶段对应的预设电流。A plurality of preset currents are grouped according to the charging duration in the constant voltage stage, and the average current corresponding to each group is calculated, and the average current is used as the preset current corresponding to the sub-stage.
进一步地,所述计算模块30还用于:Further, the computing module 30 is also used for:
基于所述充电补偿电流计算得到电池当前补偿后的充电电压;Calculate the current compensated charging voltage of the battery based on the charging compensation current;
利用预设的充电曲线将所述充电电压转换为电池电量。。The charging voltage is converted into battery power using a preset charging curve. .
进一步地,所述计算模块30还用于:Further, the computing module 30 is also used for:
获取所述充电补偿电流对应的电阻值,并将所述充电补偿电流与所述电阻值相乘得到充电补偿电压;obtaining a resistance value corresponding to the charging compensation current, and multiplying the charging compensation current by the resistance value to obtain a charging compensation voltage;
将所述电池当前的初始充电电压与所述充电补偿电压的差值作为所述补偿后的充电电压。The difference between the current initial charging voltage of the battery and the charging compensation voltage is used as the charging voltage after compensation.
进一步地,所述电池电量补偿装置还包括:Further, the battery power compensation device further includes:
放电采集模块,用于在所述设备当前进行放电操作时,基于所述设备的 电压充电采集模块,采集电池当前的初始放电电压;A discharge collection module, configured to collect the current initial discharge voltage of the battery based on the voltage charge collection module of the device when the device is currently performing a discharge operation;
电阻确定模块,用于获取电池当前的放电补偿电流以及所述放电补偿电流对应的电阻值;a resistance determination module, configured to obtain the current discharge compensation current of the battery and the resistance value corresponding to the discharge compensation current;
转换模块,用于将所述放电补偿电流与所述电阻值相乘得到放电补偿电压,将所述电池当前的初始放电电压与所述放电补偿电压的和作为补偿后的放电电压,利用预设的放电曲线将所述放电电压转换为电池电量。a conversion module, configured to multiply the discharge compensation current by the resistance value to obtain a discharge compensation voltage, use the sum of the current initial discharge voltage of the battery and the discharge compensation voltage as the compensated discharge voltage, and use a preset The discharge curve of , converts the discharge voltage into battery power.
此外,本发明实施例还提出一种可读存储介质,所述可读存储介质上存储有电池电量补偿程序,所述电池电量补偿程序被处理器执行时实现上述各个实施例中电池电量补偿方法的步骤。In addition, an embodiment of the present invention further provides a readable storage medium, where a battery power compensation program is stored on the readable storage medium, and when the battery power compensation program is executed by a processor, the battery power compensation method in the foregoing embodiments is implemented A step of.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者系统不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者系统所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者系统中还存在另外的相同要素。It should be noted that, herein, the terms "comprising", "comprising" or any other variation thereof are intended to encompass non-exclusive inclusion, such that a process, method, article or system comprising a series of elements includes not only those elements, It also includes other elements not expressly listed or inherent to such a process, method, article or system. Without further limitation, an element qualified by the phrase "comprising a..." does not preclude the presence of additional identical elements in the process, method, article or system that includes the element.
上述本发明实施例序号仅仅为了描述,不代表实施例的优劣。The above-mentioned serial numbers of the embodiments of the present invention are only for description, and do not represent the advantages or disadvantages of the embodiments.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在如上所述的一个可读存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台系统设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本发明各个实施例所述的方法。From the description of the above embodiments, those skilled in the art can clearly understand that the method of the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is better implementation. Based on this understanding, the technical solutions of the present invention can be embodied in the form of software products in essence or the parts that make contributions to the prior art. The computer software products are stored in a readable storage medium (such as ROM) as described above. /RAM, magnetic disk, optical disk), including several instructions to make a system device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in the various embodiments of the present invention.
以上仅为本发明的优选实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。The above are only preferred embodiments of the present invention, and are not intended to limit the scope of the present invention. Any equivalent structure or equivalent process transformation made by using the contents of the description and drawings of the present invention, or directly or indirectly applied in other related technical fields , are similarly included in the scope of patent protection of the present invention.

Claims (10)

  1. 一种电池电量补偿方法,应用于可对电池进行充放电的设备,其特征在于,所述电池电量补偿方法包括:A battery power compensation method, which is applied to a device that can charge and discharge batteries, characterized in that the battery power compensation method includes:
    在所述设备当前进行充电操作时,基于所述设备的电压充电采集模块采集电池当前的初始充电电压;When the device is currently performing a charging operation, collect the current initial charging voltage of the battery based on the voltage charging acquisition module of the device;
    确定电池当前的充电阶段,并基于所述当前充电阶段获取充电补偿电流;determining the current charging stage of the battery, and obtaining a charging compensation current based on the current charging stage;
    基于所述充电补偿电流对初始充电电压进行补偿,得到当前充电操作对应的电池电量。The initial charging voltage is compensated based on the charging compensation current to obtain the battery power corresponding to the current charging operation.
  2. 如权利要求1所述的电池电量补偿方法,其特征在于,所述在所述设备当前进行充电操作时,基于所述设备的电压充电采集模块采集电池当前的初始充电电压的步骤之前,包括:The battery power compensation method according to claim 1, wherein, before the step of collecting the current initial charging voltage of the battery based on the voltage charging acquisition module of the device when the device is currently performing a charging operation, the method comprises:
    获取不同充电阶段对应的预设电流;Obtain preset currents corresponding to different charging stages;
    基于所述充电阶段与所述预设电流的对应关系,生成电流对照表;generating a current comparison table based on the corresponding relationship between the charging stage and the preset current;
    所述确定电池当前的充电阶段,并基于所述当前充电阶段获取充电补偿电流的步骤包括:The step of determining the current charging stage of the battery and obtaining the charging compensation current based on the current charging stage includes:
    在所述电流对照表中查找所述当前充电阶段对应的预设电流作为所述充电补偿电流。The preset current corresponding to the current charging stage is searched in the current comparison table as the charging compensation current.
  3. 如权利要求2所述的电池电量补偿方法,其特征在于,所述充电阶段为恒压阶段,所述恒压阶段包括多个子阶段,所述获取不同充电阶段对应的预设电流的步骤包括:The battery power compensation method according to claim 2, wherein the charging stage is a constant voltage stage, the constant voltage stage includes a plurality of sub-stages, and the step of obtaining preset currents corresponding to different charging stages comprises:
    获取恒压阶段对应的多个预设电流;Obtain multiple preset currents corresponding to the constant voltage stage;
    按照进入恒压阶段的充电时长将多个预设电流进行分组,并计算各个分组对应的平均电流,将所述平均电流作为子阶段对应的预设电流。A plurality of preset currents are grouped according to the charging duration in the constant voltage stage, and the average current corresponding to each group is calculated, and the average current is used as the preset current corresponding to the sub-stage.
  4. 如权利要求1至3中任一项所述的电池电量补偿方法,其特征在于,所述基于所述充电补偿电流对初始充电电压进行补偿,得到当前充电操作对应的电池电量的步骤包括:The battery power compensation method according to any one of claims 1 to 3, wherein the step of compensating the initial charging voltage based on the charging compensation current to obtain the battery power corresponding to the current charging operation comprises:
    基于所述充电补偿电流计算得到电池当前补偿后的充电电压;Calculate the current compensated charging voltage of the battery based on the charging compensation current;
    利用预设的充电曲线将所述充电电压转换为电池电量。The charging voltage is converted into battery power using a preset charging curve.
  5. 如权利要求4所述的电池电量补偿方法,其特征在于,所述基于所述充电补偿电流计算得到电池当前补偿后的充电电压的步骤包括:The battery power compensation method according to claim 4, wherein the step of calculating the current compensated charging voltage of the battery based on the charging compensation current comprises:
    获取所述充电补偿电流对应的电阻值,并将所述充电补偿电流与所述电阻值相乘得到充电补偿电压;obtaining a resistance value corresponding to the charging compensation current, and multiplying the charging compensation current by the resistance value to obtain a charging compensation voltage;
    将所述电池当前的初始充电电压与所述充电补偿电压的差值作为所述补偿后的充电电压。The difference between the current initial charging voltage of the battery and the charging compensation voltage is used as the charging voltage after compensation.
  6. 如权利要求1所述的电池电量补偿方法,其特征在于,所述充电阶段包括:涓流阶段、预充阶段、快充阶段和恒压阶段、待截止充电阶段。The battery power compensation method according to claim 1, wherein the charging stage comprises: a trickle stage, a pre-charging stage, a fast charging stage, a constant voltage stage, and a charging stage to be cut off.
  7. 如权利要求1所述的电池电量补偿方法,其特征在于,所述电池电量补偿方法包括:The battery power compensation method according to claim 1, wherein the battery power compensation method comprises:
    在所述设备当前进行放电操作时,基于所述设备的电压充电采集模块,采集电池当前的初始放电电压;When the device is currently performing a discharge operation, collect the current initial discharge voltage of the battery based on the voltage charging acquisition module of the device;
    获取电池当前的放电补偿电流以及所述放电补偿电流对应的电阻值;Obtain the current discharge compensation current of the battery and the resistance value corresponding to the discharge compensation current;
    将所述放电补偿电流与所述电阻值相乘得到放电补偿电压,将所述电池当前的初始放电电压与所述放电补偿电压的和作为补偿后的放电电压,利用预设的放电曲线将所述放电电压转换为电池电量。The discharge compensation voltage is obtained by multiplying the discharge compensation current by the resistance value, the sum of the current initial discharge voltage of the battery and the discharge compensation voltage is used as the compensated discharge voltage, and the preset discharge curve is used to calculate the discharge compensation voltage. The discharge voltage is converted into battery power.
  8. 一种电池电量补偿装置,其特征在于,所述电池电量补偿装置包括:A battery power compensation device, characterized in that the battery power compensation device comprises:
    充电采集模块,用于在所述设备当前进行充电操作时,基于所述设备的电压充电采集模块采集电池当前的初始充电电压;a charging acquisition module, configured to acquire the current initial charging voltage of the battery based on the voltage charging acquisition module of the device when the device is currently performing a charging operation;
    确定模块,用于确定电池当前的充电阶段,并基于所述当前充电阶段获取充电补偿电流;a determining module, configured to determine the current charging stage of the battery, and obtain a charging compensation current based on the current charging stage;
    计算模块,用于基于所述充电补偿电流对初始充电电压进行补偿,得到当前充电操作对应的电池电量。The calculation module is used for compensating the initial charging voltage based on the charging compensation current to obtain the battery power corresponding to the current charging operation.
  9. 一种设备,其特征在于,所述设备包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的电池电量补偿程序,所述电池电量补偿程序被所述处理器执行时实现如权利要求1至7中任一项所述的电池电量补偿方法的步骤。A device, characterized in that the device comprises: a memory, a processor, and a battery power compensation program stored on the memory and executable on the processor, the battery power compensation program being executed by the processor When executed, the steps of the method for compensating for battery power according to any one of claims 1 to 7 are realized.
  10. 一种可读存储介质,其特征在于,所述可读存储介质上存储有所述电池电量补偿程序,所述电池电量补偿程序被处理器执行时实现如权利要求1至7中任一项所述的电池电量补偿方法的步骤。A readable storage medium, characterized in that the readable storage medium stores the battery power compensation program, and when the battery power compensation program is executed by a processor, any one of claims 1 to 7 is implemented. The steps of the battery power compensation method described above.
PCT/CN2020/134464 2020-07-03 2020-12-08 Battery electric quantity compensation method and apparatus, device, and readable storage medium WO2022000999A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010631867.2A CN111740464B (en) 2020-07-03 2020-07-03 Battery power compensation method, device, equipment and readable storage medium
CN202010631867.2 2020-07-03

Publications (1)

Publication Number Publication Date
WO2022000999A1 true WO2022000999A1 (en) 2022-01-06

Family

ID=72652835

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/134464 WO2022000999A1 (en) 2020-07-03 2020-12-08 Battery electric quantity compensation method and apparatus, device, and readable storage medium

Country Status (2)

Country Link
CN (1) CN111740464B (en)
WO (1) WO2022000999A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111740464B (en) * 2020-07-03 2022-07-22 歌尔科技有限公司 Battery power compensation method, device, equipment and readable storage medium
CN112782596A (en) * 2020-12-07 2021-05-11 深圳市新国都支付技术有限公司 Battery electric quantity calculation method, electronic device and storage medium
CN115542171A (en) * 2022-11-02 2022-12-30 深圳市好盈科技股份有限公司 Battery electric quantity calculation method, system, equipment and medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09243717A (en) * 1996-03-05 1997-09-19 Nissan Motor Co Ltd Method of detecting residual capacity of battery, and device therefor
CN103576091A (en) * 2012-07-19 2014-02-12 鸿富锦精密工业(深圳)有限公司 Cell open-circuit voltage compensation system and cell open-circuit voltage compensation method
CN105071486A (en) * 2015-08-26 2015-11-18 广东欧珀移动通信有限公司 Charging prompting method and apparatus
CN106093780A (en) * 2016-05-31 2016-11-09 青岛海信移动通信技术股份有限公司 A kind of terminal residual electricity determines method and terminal
CN107196374A (en) * 2017-07-04 2017-09-22 南京矽力杰半导体技术有限公司 Battery electric quantity indicating circuit and method and battery management integrated circuit
CN108767909A (en) * 2018-03-30 2018-11-06 超威电源有限公司 A kind of charging curve and charging method of standard
CN111740464A (en) * 2020-07-03 2020-10-02 歌尔科技有限公司 Battery power compensation method, device, equipment and readable storage medium

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102868001B (en) * 2012-09-20 2015-07-01 深圳市卓能新能源科技有限公司 Lithium ion cell electric quantity displaying method and lithium ion cell electric quanity displaying device
CN104375085B (en) * 2013-08-13 2019-03-26 中兴通讯股份有限公司 A kind of method, apparatus and terminal detecting battery capacity
CN105068016B (en) * 2015-09-18 2018-11-13 杰华特微电子(张家港)有限公司 Battery capacity display control method and control circuit
CN106291390B (en) * 2016-10-13 2019-06-21 宁德时代新能源科技股份有限公司 Method and device for calculating residual electric quantity during battery charging and battery pack
CN107768757B (en) * 2017-10-20 2019-06-04 西北工业大学 A kind of fast charge method of single lithium battery internal resistance compensation

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09243717A (en) * 1996-03-05 1997-09-19 Nissan Motor Co Ltd Method of detecting residual capacity of battery, and device therefor
CN103576091A (en) * 2012-07-19 2014-02-12 鸿富锦精密工业(深圳)有限公司 Cell open-circuit voltage compensation system and cell open-circuit voltage compensation method
CN105071486A (en) * 2015-08-26 2015-11-18 广东欧珀移动通信有限公司 Charging prompting method and apparatus
CN106093780A (en) * 2016-05-31 2016-11-09 青岛海信移动通信技术股份有限公司 A kind of terminal residual electricity determines method and terminal
CN107196374A (en) * 2017-07-04 2017-09-22 南京矽力杰半导体技术有限公司 Battery electric quantity indicating circuit and method and battery management integrated circuit
CN108767909A (en) * 2018-03-30 2018-11-06 超威电源有限公司 A kind of charging curve and charging method of standard
CN111740464A (en) * 2020-07-03 2020-10-02 歌尔科技有限公司 Battery power compensation method, device, equipment and readable storage medium

Also Published As

Publication number Publication date
CN111740464A (en) 2020-10-02
CN111740464B (en) 2022-07-22

Similar Documents

Publication Publication Date Title
WO2022000999A1 (en) Battery electric quantity compensation method and apparatus, device, and readable storage medium
CN109991554B (en) Battery electric quantity detection method and device and terminal equipment
WO2021179699A1 (en) Method and apparatus for detecting state of health of battery, and electronic device and storage medium
WO2023116385A1 (en) Power supply device identification method, electronic device and storage medium
WO2014161325A1 (en) Method, device and terminal for detecting electric quantity of battery
CN109904542B (en) Method and device for updating capacity of lithium ion battery pack and terminal equipment
WO2023274194A1 (en) High-order model parameter identification method and system suitable for lithium-rich manganese-based battery
CN102854471A (en) Method and device for metering electric quantity of battery
CN109901082A (en) Portable electric energy system and its measurement method
EP4024651A1 (en) Charging control method and charging control apparatus
WO2023197939A1 (en) Ocv-soc calibration method and apparatus, ocv-soc estimation method and apparatus, and medium and vehicle
CN105006871A (en) Method for simulating real battery charging process and device thereof
CN112946482B (en) Battery voltage estimation method, device, equipment and storage medium based on model
CN116008827A (en) Determination method and device for lithium ion battery lithium precipitation potential and electronic equipment
US11360148B2 (en) Method for updating capacity of battery, device for updating capacity of battery, electronic device, and storage unit
CN111142028B (en) Method and device for measuring electric quantity of lithium battery
WO2022267827A1 (en) Electric quantity state acquisition method and apparatus, charging apparatus, and charging system
CN112858938A (en) Electric quantity calculation method and device, storage medium and electronic equipment
WO2022047767A1 (en) Battery power detection method and apparatus, and portable electronic device
CN113866658A (en) Electric quantity information acquisition circuit and equipment
CN117491880A (en) Lithium battery open-circuit voltage curve calibration method and device and electronic equipment
CN112433156A (en) SOC estimation method
CN113507154B (en) Charging method and device, charger and electronic equipment
CN109904903A (en) Power supply device and charging method
CN111157907B (en) Detection method and device, charging method and device, electronic device and storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20943400

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20943400

Country of ref document: EP

Kind code of ref document: A1