CN117096991B - Charging method, electronic equipment and readable storage medium - Google Patents
Charging method, electronic equipment and readable storage medium Download PDFInfo
- Publication number
- CN117096991B CN117096991B CN202311288860.5A CN202311288860A CN117096991B CN 117096991 B CN117096991 B CN 117096991B CN 202311288860 A CN202311288860 A CN 202311288860A CN 117096991 B CN117096991 B CN 117096991B
- Authority
- CN
- China
- Prior art keywords
- voltage
- charging
- battery
- current
- cut
- 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.)
- Active
Links
- 238000007600 charging Methods 0.000 title claims abstract description 607
- 238000000034 method Methods 0.000 title claims abstract description 100
- 238000004590 computer program Methods 0.000 claims description 10
- 230000005611 electricity Effects 0.000 claims description 7
- 239000000446 fuel Substances 0.000 description 39
- 230000008569 process Effects 0.000 description 37
- 230000006870 function Effects 0.000 description 12
- 238000007726 management method Methods 0.000 description 9
- 238000010586 diagram Methods 0.000 description 6
- 230000008961 swelling Effects 0.000 description 5
- 238000004364 calculation method Methods 0.000 description 4
- 238000001514 detection method Methods 0.000 description 4
- 238000004519 manufacturing process Methods 0.000 description 4
- 238000004880 explosion Methods 0.000 description 3
- WHXSMMKQMYFTQS-UHFFFAOYSA-N Lithium Chemical compound [Li] WHXSMMKQMYFTQS-UHFFFAOYSA-N 0.000 description 2
- PXHVJJICTQNCMI-UHFFFAOYSA-N Nickel Chemical compound [Ni] PXHVJJICTQNCMI-UHFFFAOYSA-N 0.000 description 2
- 238000010280 constant potential charging Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 230000006872 improvement Effects 0.000 description 2
- 229910052744 lithium Inorganic materials 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000009467 reduction Effects 0.000 description 2
- UFHFLCQGNIYNRP-UHFFFAOYSA-N Hydrogen Chemical compound [H][H] UFHFLCQGNIYNRP-UHFFFAOYSA-N 0.000 description 1
- 108700025151 PD protocol Proteins 0.000 description 1
- 230000002159 abnormal effect Effects 0.000 description 1
- 230000001133 acceleration Effects 0.000 description 1
- 238000013528 artificial neural network Methods 0.000 description 1
- 230000003190 augmentative effect Effects 0.000 description 1
- 210000000988 bone and bone Anatomy 0.000 description 1
- OJIJEKBXJYRIBZ-UHFFFAOYSA-N cadmium nickel Chemical compound [Ni].[Cd] OJIJEKBXJYRIBZ-UHFFFAOYSA-N 0.000 description 1
- 239000003990 capacitor Substances 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 230000007423 decrease Effects 0.000 description 1
- 239000003792 electrolyte Substances 0.000 description 1
- 230000005674 electromagnetic induction Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 229910052739 hydrogen Inorganic materials 0.000 description 1
- 239000001257 hydrogen Substances 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 239000007773 negative electrode material Substances 0.000 description 1
- 229910052759 nickel Inorganic materials 0.000 description 1
- 239000007774 positive electrode material Substances 0.000 description 1
- 230000002035 prolonged effect Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02J—CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
- H02J7/00—Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
- H02J7/007—Regulation of charging or discharging current or voltage
- H02J7/00712—Regulation of charging or discharging current or voltage the cycle being controlled or terminated in response to electric parameters
- H02J7/007182—Regulation of charging or discharging current or voltage the cycle being controlled or terminated in response to electric parameters in response to battery voltage
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02J—CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
- H02J7/00—Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
- H02J7/00032—Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries characterised by data exchange
- H02J7/00034—Charger exchanging data with an electronic device, i.e. telephone, whose internal battery is under charge
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02J—CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
- H02J7/00—Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
- H02J7/0047—Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with monitoring or indicating devices or circuits
- H02J7/0048—Detection of remaining charge capacity or state of charge [SOC]
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02J—CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
- H02J7/00—Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
- H02J7/007—Regulation of charging or discharging current or voltage
- H02J7/0071—Regulation of charging or discharging current or voltage with a programmable schedule
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02J—CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
- H02J7/00—Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
- H02J7/007—Regulation of charging or discharging current or voltage
- H02J7/00712—Regulation of charging or discharging current or voltage the cycle being controlled or terminated in response to electric parameters
- H02J7/00714—Regulation of charging or discharging current or voltage the cycle being controlled or terminated in response to electric parameters in response to battery charging or discharging current
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02E—REDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
- Y02E60/00—Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
- Y02E60/10—Energy storage using batteries
Landscapes
- Engineering & Computer Science (AREA)
- Power Engineering (AREA)
- Charge And Discharge Circuits For Batteries Or The Like (AREA)
- Secondary Cells (AREA)
Abstract
The application provides a charging method, electronic equipment and a readable storage medium, which are applied to the technical field of electronic equipment, wherein the electronic equipment comprises a control unit, a first charging unit and a battery, and the method comprises the following steps: the first charging unit charges the battery based on a first cut-off voltage, which is an initial voltage output by the first charging unit; determining a first charging voltage, wherein the first charging voltage is a voltage obtained by calibrating an actual voltage of the battery, and the actual voltage is a voltage acquired when the battery is charged based on a first cut-off voltage; the control unit determines a second cut-off voltage based on the first cut-off voltage under the condition that the first charging voltage meets a first preset condition; the first preset condition includes that the first charging voltage is larger than a voltage threshold value; the first charging unit charges the battery based on the second cutoff voltage. The application can dynamically adjust the cut-off voltage of the first charging unit, thereby improving the charging speed and the charging capacity of the battery.
Description
Technical Field
The present application relates to the technical field of electronic devices, and in particular, to a charging method, an electronic device, and a readable storage medium.
Background
A power supply is generally provided in the electronic device to ensure that the electronic device can be used normally without connecting a charger. The power supply in electronic devices typically employs a rechargeable battery (e.g., a lithium battery). When the battery is charged, the cut-off voltage of the battery charging needs to be set, so that the problem that the battery bulges or explodes due to overlarge charging voltage can be avoided.
Currently, a constant voltage charging mode is generally employed when charging a battery. The constant voltage charging mode refers to setting the cutoff voltage of battery charging to a fixed value. The charger may charge the battery when the charged voltage is less than or equal to the fixed value. When the charged voltage is greater than the fixed value, the charging of the battery is stopped.
However, in the above charging scheme, setting the cut-off voltage of the battery charging to a fixed value may cause some damage to the battery. In the case where the cutoff voltage setting for battery charging is too small, the speed of battery charging is slow. In the case where the cutoff voltage setting for battery charging is too large, a large capacity loss of the battery may result, which in turn may lead to a reduction in the time for which the electronic device can be used.
Disclosure of Invention
The application provides a charging method, electronic equipment and a readable storage medium, which can keep the actual charging voltage of a battery at the maximum value in an allowable range by dynamically adjusting the cut-off voltage of a charging unit, thereby improving the charging speed of the battery and increasing the charging capacity of the battery.
In a first aspect, the present application provides a charging method applied to an electronic device, where the electronic device includes a control unit, a first charging unit, and a battery, the method including:
The control unit controls the first charging unit to charge the battery based on a first cut-off voltage, wherein the first cut-off voltage is an initial voltage output by the first charging unit;
Determining a first charging voltage, wherein the first charging voltage is a voltage obtained by calibrating an actual voltage of the battery, and the actual voltage is a voltage acquired when the battery is charged based on a first cut-off voltage;
the control unit determines a second cut-off voltage based on the first cut-off voltage under the condition that the first charging voltage meets a first preset condition; the first preset condition comprises that the first charging voltage is larger than a voltage threshold value, and the second cut-off voltage is smaller than the first cut-off voltage;
the control unit controls the first charging unit to charge the battery based on the second cut-off voltage.
According to the charging method provided by the embodiment of the application, the first charging unit can be controlled by the control unit to charge the battery based on the first cut-off voltage. Based on this, the first charging voltage may be determined in the process of the first charging unit outputting the first cut-off voltage to charge the battery. Further, it can be determined whether the obtained first charging voltage satisfies the first preset condition. In the case that the first charging voltage satisfies the first preset condition, the control unit may determine the second cutoff voltage based on the first cutoff voltage, and may dynamically adjust the cutoff voltage of the first charging unit. After the second cut-off voltage is obtained, the control unit can control the first charging unit to charge the battery based on the second cut-off voltage, so that the cut-off voltage can be ensured to be maintained at the maximum value in the limited range, and then the charging voltage at the two ends of the battery can be ensured to be the maximum value. Thus, it is possible to dynamically adjust the cutoff voltage of the first charging unit, enabling the cutoff voltage to be maintained at a maximum value within a defined range. Meanwhile, the charging speed of the battery can be further improved and the charging capacity of the battery can be further increased on the premise of ensuring the charging safety.
In some possible implementations, before the control unit controls the first charging unit to charge the battery based on the first cut-off voltage, the method according to the embodiment of the present application further includes:
the control unit determines a first cut-off voltage based on an open circuit voltage of the battery, a first charging current, and a link impedance;
The open-circuit voltage of the battery is the terminal voltage of the battery in an open-circuit state; the first charging current is a critical current for charging the battery from the second charging unit, and is switched to the first charging unit for charging the battery, and the charging speed of the second charging unit is greater than that of the first charging unit; the link impedance is the impedance between the first charging unit and the battery.
In the above-described implementation, when determining the first cutoff voltage, the set first cutoff voltage can be made equal to or infinitely close to the open-circuit voltage of the battery, taking into consideration the loss voltage of the impedance between the first charging unit and the battery. By increasing the first cut-off voltage, the actual charging voltage across the battery can be increased, thereby increasing the charging speed of the battery.
In some possible implementations, determining the first charging voltage includes:
Collecting actual voltage through an electricity meter;
And calibrating the actual voltage according to the voltage calibration coefficient to obtain a first charging voltage.
In the implementation manner, the accuracy of the actual voltage acquired by the fuel gauge can be improved through the pre-stored voltage calibration coefficient, so that the first charging voltage is more accurate.
In some possible implementations, the control unit determines the second cutoff voltage based on the first cutoff voltage, including:
The control unit calculates a second cutoff voltage based on the first cutoff voltage, the first charging voltage, and the voltage threshold value.
In the above implementation manner, since the accuracy of the obtained first charging voltage is higher, the accuracy of the second cut-off voltage calculated based on the first charging voltage can be improved.
In some possible implementations, before calculating the second cutoff voltage, the method of the embodiment of the present application further includes:
The control unit determines the voltage threshold value based on one or more of the following parameters: an open circuit voltage of the battery, a second charging current, a link impedance, a first threshold;
The second charging current is a current obtained by calibrating an actual current of the battery, and the actual current is a current acquired when the battery is charged based on the first cut-off voltage.
In the implementation manner, the voltage threshold value is determined through the calibrated second charging current, so that the obtained voltage threshold value is more accurate, and the second cut-off voltage calculated based on the voltage threshold value is more accurate.
In some possible implementations, before determining the voltage threshold value, the method according to the embodiment of the present application further includes:
collecting the actual current of the battery through an electricity meter;
and calibrating the actual current according to the current calibration coefficient to obtain a second charging current.
In the implementation manner, the accuracy of the actual current acquired by the fuel gauge can be improved through the pre-stored current calibration coefficient, so that the second charging current is more accurate, and the voltage threshold value calculated based on the second charging current is more accurate.
In some possible implementations, the charging method according to the embodiment of the present application further includes:
determining a third charging current, wherein the third charging current is a current obtained by calibrating the actual current of the battery, and the actual current is a current acquired when the battery is charged while maintaining the second cut-off voltage;
And under the condition that the third charging current meets the second preset condition, the control unit controls the first charging unit to stop charging the battery, and the second preset condition comprises that the third charging current is smaller than or equal to a preset cutoff charging current, and the preset cutoff charging current is the current for the first charging unit to stop charging the battery.
In the implementation manner, the control unit can timely control the first charging unit to stop charging the battery by setting the preset charging current cutoff, so that the safety of the battery in the charging process is ensured.
In some possible implementations, when the control unit controls the first charging unit to charge the battery based on the second cut-off voltage, the method of the embodiment of the present application further includes:
Determining a second charging voltage, which is a voltage obtained by calibrating an actual voltage of the battery, wherein the actual voltage is a voltage acquired when the battery is charged based on the second cutoff voltage;
Updating the second cut-off voltage based on the first cut-off voltage under the condition that the second charging voltage meets a third preset condition; the third preset condition comprises that the second charging voltage is larger than a voltage threshold value, and the updated second cut-off voltage is smaller than the first cut-off voltage;
The control unit controls the first charging unit to charge the battery based on the updated second cut-off voltage.
In the implementation manner, the second cut-off voltage is continuously updated, so that the actual charging voltage of the battery can be ensured to be stabilized at the maximum value in the allowable range, and the charging speed of the battery is improved.
In some possible implementations, the method of the embodiment of the present application further includes:
And under the condition that the first charging voltage does not meet the first preset condition, the control unit controls the first charging unit to keep the first cut-off voltage, and the battery is charged.
In a second aspect, the application provides an electronic device comprising a processor and a memory, the processor and memory coupled, the memory for storing a computer program, the processor invoking computer instructions to cause the electronic device to perform any of the first aspect and any of the possible charging methods of the first aspect.
In a third aspect, the present application provides a chip system for use in an electronic device comprising a memory, a display screen and a sensor; the chip system includes: one or more interface circuits and one or more processors; the interface circuit and the processor are interconnected through a circuit; the interface circuit is used for receiving signals from the memory and sending signals to the processor, wherein the signals comprise computer codes or instructions stored in the memory; the processor invokes instructions causing the electronic device to perform the first aspect and any one of the possible charging methods of the first aspect.
Wherein, the chip system can comprise one chip or a plurality of chips; when a plurality of chips are included in a chip system, the present application does not limit parameters such as the type and the number of chips.
In a fourth aspect, the present application provides a readable storage medium having stored therein code or instructions for causing a processor to adjust the instructions such that an electronic device performs the first aspect and any one of the possible charging methods of the first aspect.
In a fifth aspect, the application provides a computer program product for causing a computer to perform the first aspect and any one of the possible charging methods of the first aspect when the computer program product is run on the computer.
It will be appreciated that the advantages of the second to fifth aspects may be found in the relevant description of the first aspect, and are not described here again.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the embodiments or the description of the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings can be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic diagram of an application scenario of a charging method according to an embodiment of the present application;
Fig. 2 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
Fig. 3 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
FIG. 4 is a flowchart of a charging method according to an embodiment of the present application;
FIG. 5 is a schematic diagram of a structure for calibrating charging voltage according to an embodiment of the present application;
FIG. 6 is a schematic diagram of a structure for calibrating charging current according to an embodiment of the present application;
FIG. 7 is a flowchart of a charging method according to an embodiment of the present application;
FIG. 8 is a flowchart of a charging method according to an embodiment of the present application;
Fig. 9 is a schematic hardware architecture of an electronic device according to an embodiment of the application.
Detailed Description
The technical solutions in the embodiments of the present application will be described below with reference to the accompanying drawings in the embodiments of the present application. Wherein, in the description of the embodiments of the present application, unless otherwise indicated, "/" means or, for example, a/B may represent a or B; "and/or" herein is merely an association relationship describing an association object, and means that three relationships may exist, for example, a and/or B may mean: a exists alone, A and B exist together, and B exists alone. In addition, in the description of the embodiments of the present application, "plurality" means two or more than two.
The terms "first," "second," "third," and the like, are used below for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defining "a first", "a second", or a third "may explicitly or implicitly include one or more such feature.
Reference in the specification to "one embodiment" or "some embodiments" or the like means that a particular feature, structure, or characteristic described in connection with the embodiment is included in one or more embodiments of the application. Thus, appearances of the phrases "in one embodiment," "in some embodiments," "in other embodiments," and the like in various places are not necessarily all referring to the same embodiment, but mean "one or more, but not all, of the embodiments" unless expressly specified otherwise.
The charging method provided by the embodiment of the application can be applied to the electronic equipment with the charging function. In some embodiments, the electronic device includes a rechargeable battery. Rechargeable batteries refer to rechargeable batteries that have a limited number of charges. As an example, the rechargeable battery may be a lithium battery, a nickel cadmium battery, a lead storage battery, a nickel hydrogen battery, or the like, which is not limited in the embodiment of the present application.
It will be appreciated that rechargeable batteries in electronic devices need to be used with the charging device. The electronic device may employ a conventional charging technique during the charging process, for example, the charging device connects the power source and the electronic device through a wired charging device, so as to achieve the charging purpose. Or the electronic equipment can adopt a wireless charging technology in the charging process; accordingly, the charging device may be a wireless charging device, which is not limited in the embodiments of the present application.
In some embodiments, when a rechargeable battery in the electronic device is charged by using the wired charging device, one end of the wired charging device is connected to a power supply, and the other end of the wired charging device is connected to a charging interface of the electronic device. Alternatively, the wired charging device may include a charger and a power adapter. At this time, the charger is connected with the charging interface of the electronic device through the power adapter. The charger is also connected with a power supply. Based on this, the power supply may transmit the voltage (e.g., 220V) of the power supply output to the electronic device through the charger and the power adapter.
In some embodiments, the electronic device is contacted with the wireless charging device while the wireless charging device is employed to charge a rechargeable battery in the electronic device. Therefore, the wireless charging device can charge the rechargeable battery in the electronic device based on the electromagnetic induction principle.
The rechargeable battery in the electronic device can accept a smaller voltage range than the voltage output by the power supply, so the electronic device can further comprise a charging unit besides the rechargeable battery. The charging unit is used for converting the voltage output by the power supply into the voltage acceptable by the rechargeable battery. Specifically, the charging unit is used for converting the high voltage output by the power supply into a low voltage acceptable by the rechargeable battery. For example, the charging unit converts 220V of the power output to 5V acceptable to the rechargeable battery.
It is understood that the electronic device may be an electronic device with display hardware and corresponding software support. For example, the electronic device may be a mobile phone, a folding screen, a smart screen, a tablet computer, a wearable electronic device, an in-vehicle electronic device, an Augmented Reality (AR) device, a Virtual Reality (VR) device, a notebook computer, an ultra-mobile personal computer (UMPC), a netbook, a Personal Digital Assistant (PDA), a home device, a projector, or the like, and the embodiment of the present application does not limit the specific type of the electronic device.
In order to facilitate understanding of the charging process of the electronic device, the following description is made in connection with the application scenario of fig. 1. Referring to fig. 1, fig. 1 shows an application scenario of a charging method according to an embodiment of the present application. As shown in fig. 1, the electronic device 300 is connected to the power supply 200 through the charging device 100 to implement a charging process.
One end of the charging device 100 is connected to the power supply 200, and the other end is connected to the electronic device 300. Thus, the charging device 100 can charge the electronic device 300, and the electronic device 300 can be ensured to be used normally.
Optionally, the other end of the charging device 100 is connected to a charging interface of the electronic device 300. The type of the charging interface of the electronic device 300 is not particularly limited in the embodiment of the present application. Illustratively, the charging interface of the electronic device 300 may be a Micro USB interface, a Type-C interface, a lighting interface, or the like.
As shown in fig. 1, an electronic device 300 may include a battery 301 and a charging unit 302. The battery 301 is a rechargeable battery. The charging unit 302 is connected to the battery 301. Based on this, the charging unit 302 is connected with the charging device 100 through a charging interface (not labeled in fig. 1) of the electronic device 300. The power supply 200 may transmit the voltage output from the power supply 200 to the electronic device 300 through the charging device 100. The charging unit 302 may receive the voltage output from the power supply 200 through a charging interface of the electronic device 300. After receiving the voltage output from the power supply 200, the charging unit 302 may convert the voltage output from the power supply 200 into a voltage acceptable to the battery 301. The charging unit 302 may charge the battery 301 based on the voltage acceptable to the battery 301, so that the charging safety of the electronic device 300 (or the battery 301 in the electronic device 300) can be ensured.
In some embodiments, the charging unit in the electronic device may include a fast charging unit and a slow charging unit. The quick charging unit is used for realizing a quick charging function. The slow charging unit is used for realizing a slow charging function and a cut-off charging function.
Alternatively, the charging speed of the fast charging unit is greater than the charging speed of the slow charging unit. The charging voltage of the fast charging unit is greater than the charging voltage of the slow charging unit. The charging current of the fast charging unit is greater than the charging current of the slow charging unit.
For example, when the capacity stored in the battery is small, the electronic device may rapidly charge the battery through the rapid charging unit. That is, the fast charging unit can ensure the charging speed of the battery, so that the battery stores more capacity in a short time, and the charging time of the electronic device can be shortened, thereby improving the user experience. The capacity stored in the battery is close to the capacity in the fully charged state, and the electronic equipment can charge the battery through the slow charging unit, so that the problems of swelling, explosion and the like of the battery caused by overlarge charging voltage or overlarge charging current can be avoided, the charging safety of the battery is further ensured, and the service life of the battery is prolonged.
It should be appreciated that the above-described fast-charging and slow-charging units may employ an IC chip (INTEGRATED CIRCUIT CHIP) having a charging function. The voltage of the IC chip with the charging function produced by different manufacturers is different, and the embodiment of the present application is not limited thereto. The electronic equipment can control the charging process of the battery through the IC chip with the charging function and protect the charging safety of the battery.
Currently, considering the limited rated capacity of a battery, an off-charging condition of a slow-charging unit is generally set in an electronic device. Thereby avoiding battery swelling or explosion due to excessive charging voltage. The off-charge condition may include a charge voltage of the battery being greater than a cutoff voltage (cutoff voltage). The off-charge condition may further include that the charge current of the battery is smaller than the off-current (cutoff current). When the battery meets the cut-off charging condition, the slow charging unit stops charging the battery, so that the charging safety of the battery is ensured.
The cutoff voltage of the slow charge charging unit may be set according to the accuracy of the open circuit voltage and the cutoff voltage of the battery. The open circuit voltage of the battery is the terminal voltage of the battery in an open circuit state. The open circuit voltage of the battery is equal to the difference between the positive electrode potential of the battery and the negative electrode potential of the battery when the battery is open circuit (i.e., when no current is flowing through the positive electrode of the battery and the negative electrode of the battery). The open circuit voltage of a battery is determined by the activity of the positive and negative electrode materials of the battery, the electrolyte, the temperature conditions, and the like.
Optionally, the accuracy of the cut-off voltage is ±0.5%. In order to ensure the safety of charging the battery, a lower limit value of the accuracy of the cutoff voltage, that is, -0.5%, is generally considered when setting the cutoff voltage. Illustratively, when the open circuit voltage of the battery is 4.48V (i.e., 4480 mV) and the accuracy of the cutoff voltage is-0.5%, the cutoff voltage is 4.48 x (1-0.5%) = 4.4576V (i.e., 4457.6 mV).
Since the cut-off voltage will be provided with a voltage step. The voltage step length refers to the variation range of the cut-off voltage allowed by the slow charging unit, and is used for describing the tolerance degree of the slow charging unit to the cut-off voltage variation. When the slow charging unit adopts an IC chip with a charging function, the voltage step is determined by the voltage of the IC chip with the charging function.
Therefore, in actually setting the cutoff voltage, it is necessary to consider the voltage step of the cutoff voltage in addition to the accuracy of the cutoff voltage. Illustratively, when the cutoff voltage is 4.4576V and the voltage step is 10mV, the cutoff voltage 4457.6mV is set to 4450mV in 10mV steps (step).
It should be understood that the above calculation of the cutoff voltage is merely illustrative of an embodiment of the present application, and those skilled in the art may select other calculation methods to calculate the cutoff voltage, which is not limited in this embodiment of the present application.
The off-current of the slow charge charging unit may be set according to the rated capacity of the battery and the accuracy of the off-current. The rated capacity of a battery refers to the capacity obtained after the battery is fully charged (i.e., fully charged) or the battery is fully discharged.
Alternatively, the accuracy of the off-current is ±2%. In order to ensure the safety of battery charging, the lower limit value of the accuracy of the off-current, that is, -2%, is generally considered when the off-current is set. Illustratively, the off-current is 125mA at a rated capacity of 5000mAh of the battery. At this time, if the accuracy of the off-current is-2%, the off-current after considering the accuracy of the off-current is 150mA.
It should also be appreciated that those skilled in the art may obtain the off-current by other means of calculating the off-current, and the embodiment of the present application is not limited thereto.
Based on the above description, when the open circuit voltage of the battery is 4480mV, the cut-off voltage is 4450mV, and the cut-off voltage is reduced by 30mV compared to the open circuit voltage of the battery, which results in a capacity loss of the battery by about 2%. For example, a battery with a rated capacity of 5000mAh has a capacity loss value of 5000×2% =100 mAh. An increase in off current of 25mA from 125mA to 150mA resulted in a capacity loss of the battery of about 0.3%. For example, a battery with a rated capacity of 5000mAh has a capacity loss value of 5000×0.3% =15 mAh.
It can be seen that this eventually results in a capacity loss of the battery of about 2.3%, which in turn results in a reduction in the time that the electronic device can be used. For example, a battery with a rated capacity of 5000mAh has a capacity loss value of 5000×2.3% =115 mAh. Further, since the set cutoff voltage is low, the charging speed of the slow charging unit is also slow. For example, a battery rated at 5000mAh may have a charge period of about 20 minutes.
It should be understood that the specific values listed above (e.g., voltage and current values, etc.) are merely illustrative in order to more intuitively introduce the effects of the magnitude of the cutoff voltage and the magnitude of the cutoff current on the charge speed of the battery and the charge capacity of the battery. In different charging scenarios, those skilled in the art may use other reasonable specific values in combination with the actual charging scenario, which is not limited in this embodiment of the present application.
It can be seen that setting the cutoff voltage of the slow charge unit to a fixed value and setting the cutoff current of the slow charge unit to a fixed value results in a large capacity loss of the battery due to the influence of the accuracy of the cutoff voltage and the accuracy of the cutoff current.
In view of the above problems, the embodiments of the present application provide a charging method, which improves the charging speed of a battery, increases the actual charging capacity of the battery, improves the cruising ability of an electronic device, and improves the experience of a user by dynamically adjusting the cut-off voltage of a slow charging unit.
It should be noted that, the charging method of the embodiment of the present application is only applicable to a scenario in which the slow charging unit in the electronic device works. The scenarios in which the slow charge charging unit operates include, but are not limited to, any of the following charging scenarios: the method comprises the steps of charging a scene with small charging current of the electronic equipment, charging a scene with slow charging speed of the electronic equipment, switching the charging current of the electronic equipment from a large current to a small current, charging the electronic equipment from a high charging speed to a low charging speed, and charging the electronic equipment at an excessively high temperature (for example, the temperature of the electronic equipment exceeds 45 ℃).
It should be noted that, in the above charging scenario, the charging scenario in which the charging current of the electronic device is switched from a large current to a small current, and one expression form of the charging scenario in which the charging speed of the electronic device is from a fast to a slow charging may be that the electronic device ends the charging of the battery by the fast charging unit, and the charging of the battery by the slow charging unit is switched from the fast charging unit.
The specific structure of the electronic device 300 according to the embodiment of the present application will be described in detail below with reference to fig. 2 and 3 based on the basic structure of the electronic device 300 shown in fig. 1.
Referring to fig. 2, fig. 2 shows a schematic structural diagram of an electronic device. As shown in fig. 2, the electronic device 300 may further comprise a control unit 303. The charging unit 302 may include a first charging unit 3021 (or slow charging unit) and a second charging unit 3022 (or fast charging unit). The control unit 303 may be connected to the first and second charging units 3021 and 3022, respectively, through a I-C bus. The control unit 303 is configured to control the first charging unit 3021 or the second charging unit 3022 to charge the battery 301. The first charging unit 3021 is connected to the battery 301.
Alternatively, the control unit 303 may employ a System On Chip (SOC). The system-level chip is a microminiature system, and hardware such as a microprocessor and a memory and embedded software are integrated in the system-level chip.
It should be noted that, the control unit 303 may be provided independently of the first charging unit 3021, or may be integrated in the first charging unit 3021 to dynamically adjust the off-voltage of the first charging unit 3021 and control the first charging unit 3021 to charge the battery 301.
The electronic device 300 also includes a link impedance (not labeled in fig. 2). Optionally, in some embodiments, the link impedance is an impedance between the first charging unit 3021 and the battery 301.
Illustratively, when both a line and a device are included between the first charging unit 3021 and the battery 301, the link impedance is the sum of the impedance of the line between the first charging unit 3021 and the battery 301 and the impedance of the device. When a line is included between the first charging unit 3021 and the battery 301 and no device is included, the link impedance is the sum of the impedances of the line between the first charging unit 3021 and the battery 301. When a device is included between the first charging unit 3021 and the battery 301, and no line is included, the link impedance is the sum of the impedances of the devices between the first charging unit 3021 and the battery 301. Specifically, the link impedance may be the sum of the impedance of the battery protection trace and the impedance of the protection MOS tube. Typically, the link impedance is provided by the manufacturer.
The first charging unit 3021 may also be connected to the charging interface 304 of the electronic device 300 through a Voltage Bus (VBUS). Alternatively, the first charging unit 3021 may employ a buck charging IC. Illustratively, the first charging unit 3021 may be a buck charge. Illustratively, the charging interface 304 may employ a Type-C interface.
The second charging unit 3022 is connected to the battery 301. The second charging unit 3022 may be connected to the charging interface 304 through a Voltage Bus (VBUS). Alternatively, the second charging unit 3022 may employ a charging IC having a rapid charging protocol. The fast charging protocol may include a fast charging protocol (FAST CHARGE protocol, FCP), a super charging protocol (super charge protocol, SCP), a FLASH CHARGE protocol, a PD protocol, or a turbo charging protocol, which is not limited by the embodiments of the present application. The second charging unit 3022 may be a charging IC employing an SCP protocol, for example.
The charging speed of the second charging unit 3022 is greater than the charging speed of the first charging unit 3021, and the charging current of the second charging unit 3022 is greater than the charging current of the first charging unit 3021. For other descriptions of the first and second charging units 3021 and 3022, reference is made to the descriptions of the slow and fast charging units above, and no further description is given here.
As shown in fig. 2, the electronic device 300 may also include an electricity meter 305. The fuel gauge 305 is connected to the control unit 303 via a I-type C bus. The fuel gauge 305 is used to acquire the charging voltage and the charging current of the battery 301 in real time. The fuel gauge 305 is also connected to the battery 301. The fuel gauge 305 is also used to manage the charge capacity of the battery 301 and the discharge capacity of the battery 301.
The fuel gauge 305 may directly collect the charging voltage of the battery 301. The fuel gauge 305 is also connected to a sense resistor 306. The fuel gauge 305 may obtain 300 the charge current of the battery 301 by measuring the voltage drop across the sense resistor 306. Illustratively, the sensing resistor 306 may be a resistor of 2mΩ or 5mΩ, which is not limited in this embodiment of the application.
As shown in fig. 3, the charging unit 302, the control unit 303, the fuel gauge 305, and the detection resistor 306 are all provided on the main board 307 of the electronic device 300. Specific connection relationships between the respective devices and the respective units on the main board 307 can be found in the above description. The motherboard 307 of the electronic device 300 may be connected to the battery 301 through a connector (BTB) 308. The battery 301 may be composed of a battery protection board 3011, a battery cell 3012, a USB charging interface circuit 3013, and the like. Specifically, the positive electrode (not labeled in fig. 3) of the connector 308 is connected to the positive electrode (not labeled in fig. 3) of the cell 3012, and the negative electrode (not labeled in fig. 3) of the connector 308 is connected to the negative electrode (not labeled in fig. 3) of the cell 3012. The specific connection between the other devices and circuits can be seen in fig. 3, and will not be described here. USB charging interface circuit 3013 may include charging interface 304.
It should be noted that, the electronic device according to the embodiment of the present application may include other devices, circuits, units, and the like besides the devices or units shown in fig. 2 and 3. Those skilled in the art may add other devices, circuits, or units according to the actual charging requirements, which are not limited by the embodiments of the present application. For example, the electronic device may further include an overvoltage protection unit (over voltage protection), a motherboard trace, a battery protection trace, a protection MOS transistor, and the like. Wherein the overvoltage protection unit and the motherboard traces may be disposed on the motherboard 307. The battery protection wiring and the protection MOS transistor may be provided on the battery protection board 3011.
The application scenario and the structure of the electronic device according to the embodiment of the present application are described above with reference to fig. 1 to 3. The following describes in detail the specific implementation procedure of the charging method in the embodiment of the present application with reference to fig. 4 to 8.
Referring to fig. 4, fig. 4 is a flowchart illustrating a charging method according to an embodiment of the application. As shown in fig. 4, the charging method in the embodiment of the application includes the following steps:
S101, the control unit controls the first charging unit to charge the battery based on the first cut-off voltage.
Alternatively, the first cut-off voltage is an initial voltage output by the first charging unit 3021. The first cut-off voltage may be set by the control unit 303. The first cutoff voltage set by the control unit 303 is less than or equal to the open circuit voltage of the battery 301, and thus, it is possible to avoid swelling or explosion of the battery 301 due to the first cutoff voltage being greater than the open circuit voltage of the battery 301, so that the charge safety of the battery 301 can be ensured.
Before performing S101, the control unit 303 may determine a first off voltage of the first charging unit 3021.
Alternatively, in some embodiments, the control unit 303 may determine the first cutoff voltage based on the open circuit voltage, the first charging current, and the link impedance of the battery 301.
Alternatively, the first charging current is a critical current for charging the battery 301 from the second charging unit 3022, and is switched to the first charging unit 3021 for charging the battery 301. The first charging current may be set to 1A, for example.
Alternatively, the charging speed of the second charging unit 3022 is greater than the charging speed of the first charging unit 3021. Or the charging current of the second charging unit 3022 is larger than the charging current of the first charging unit 3021.
In setting the first charging current, various factors such as the charging speed need to be considered, so as to ensure that the operating system of the electronic device 300 can normally operate during the charging process of the battery 301. If the set first charging current is excessively large, the first charging unit 3021 may charge the battery 301 at a slow rate. If the set first charging current is too small, the operation system of the electronic device 300 may be unstable, and even an abnormal exit may occur. It should be noted that, the person skilled in the art may set the first charging current according to the actual charging situation, which is not limited in the embodiment of the present application.
Optionally, the first cut-off voltage satisfies the following formula:
CV1=U+I*Z;
Where CV1 represents a first cutoff voltage, U represents an open circuit voltage of the battery 301, I represents a first charging current, and Z represents a link impedance.
Illustratively, CV1 is 4510mV when U is 4480mV, I is 1A, Z is 30mΩ. In addition, since the first cut-off voltage is set, it is also necessary to consider the accuracy of the cut-off voltage and the voltage step of the cut-off voltage. After considering the accuracy of the cut-off voltage, -0.5%, CV1 is 4510 x (1-0.5%) = 4487.45mV. After a voltage step of 10mV taking into account the cut-off voltage, CV1 is 4480mV.
In consideration of the fact that the link impedances of the different electronic devices 300 may be different, when the first cut-off voltage is set, the minimum link impedance among the plurality of link impedances may be selected, and the minimum link impedance may be used to ensure that the voltage lost between the first charging unit 3021 and the battery 301 is minimum, and further, the first cut-off voltage set by the control unit 303 may be ensured to be maximum, so that the speed of charging the battery 301 may be increased. Further, since the first cutoff voltage is set according to the open circuit voltage and the minimum link impedance of the battery 301, it is possible to ensure that the first cutoff voltage is smaller than the open circuit voltage of the battery 301, so that it is possible to prevent the battery 301 from swelling or exploding due to an excessive charge voltage of the battery 301.
It should be noted that the manner in which the control unit 303 obtains the first cutoff voltage is merely illustrative, and the control unit 303 may also determine the first cutoff voltage by using other manners, which is not limited in the embodiment of the present application.
After determining the first off-voltage, the control unit 303 may control the first charging unit 3021 to charge the battery 301 based on the first off-voltage. That is, the first charging unit 3021 may output the first off voltage to both ends (including the positive electrode and the negative electrode) of the battery 301, thereby starting the charging process of the battery 301.
In the process of charging the battery 301 by the first charging unit 3021 based on the first cut-off voltage, the control unit 303 needs to acquire the actual charging voltage of the battery 301 in real time, and determine whether the actual charging voltage of the battery 301 is within the safe charging voltage range, so as to ensure the safety of the battery 301 in the charging process.
S102, determining a first charging voltage.
Alternatively, the first charging voltage is a voltage after calibrating the actual voltage of the battery 301. At this time, the actual voltage of the battery 301 is a voltage acquired when the battery 301 is charged based on the first cutoff voltage.
As can be seen, the first charging voltage is a voltage determined based on the actual voltage of the battery 301.
Alternatively, in some embodiments, the electronic device 300 may collect the actual voltage of the battery 301 when charging the battery 301 based on the first cut-off voltage by the fuel gauge 305. The fuel gauge 305 may transmit the collected actual voltage of the battery 301 when the battery 301 is charged based on the first cut-off voltage to the control unit 303. Thus, the control unit 303 can acquire the actual voltage of the battery 301 when the battery 301 is charged based on the first cut-off voltage.
The actual voltage of the battery 301 is the voltage collected by the fuel gauge 305, and the accuracy of collecting the charging voltage by the fuel gauge 305 is usually ±0.5%, so that the accuracy of collecting the charging voltage by the fuel gauge 305 needs to be calibrated in order to improve the accuracy of collecting the charging voltage by the fuel gauge 305. After calibration, a voltage calibration coefficient may be obtained, and the accuracy with which the fuel gauge 305 collects the charging voltage may also be improved. The accuracy with which the calibrated fuel gauge 305 collects the charging voltage is the product of the voltage calibration coefficient and the accuracy with which the fuel gauge before calibration collects the charging voltage. For example, the calibrated fuel gauge 305 captures the charging voltage to a precision of ±0.1%.
Illustratively, the user may select the accuracy of collecting the charging voltage by the highest fuel gauge 305 from the calibrated multiple electronic devices 300 as the accuracy of collecting the charging voltage by the calibrated fuel gauge 305, so that the obtained charging voltage of the battery 301 is more accurate, and the safety of the battery 301 in the charging process is further ensured.
A specific implementation of determining the voltage calibration factor is described in detail below in conjunction with fig. 5. As shown in fig. 5, the positive electrode of the power supply 200 is connected to one end of the electronic device 300. The negative electrode of the power supply 200 is connected to the other end of the electronic device 300. Specifically, the negative electrode of the power supply 200 is connected to the other end of the electronic device 300 through the detection resistor 306 in the electronic device 300. The positive pole of power supply 200 is also connected to the positive pole of multimeter 400. The negative pole of power supply 200 is also connected to the negative pole of multimeter 400.
It should be understood that multimeter 400 employed in fig. 5 is only for the purpose of acquiring an actual charging voltage of battery 301, and that one skilled in the art may employ other devices capable of acquiring a charging voltage of battery 301, and embodiments of the present application are not limited thereto.
The power supply 200 in fig. 5 charges the electronic device 300 with a constant voltage. During the process of charging the electronic device 300 by the power supply 200, the actual charging voltage of the battery 301 is collected by the multimeter 400. After the actual charging voltage of the battery 301 is obtained, the ratio of the constant voltage to the actual charging voltage of the battery 301 may be calculated. The ratio is the voltage calibration coefficient of the charging voltage. Illustratively, the voltage calibration factor is about 1.04 at a constant voltage of 5V and an actual charging voltage of the battery 301 of 4.8V.
It should be noted that, the determination of the voltage calibration coefficient is performed on the production line. After the voltage calibration coefficients are obtained, the voltage calibration coefficients may be written into each electronic device 300 produced in a command manner by an upper computer on the production line.
Alternatively, in some embodiments, the host computer may write the voltage calibration coefficients into the registers of the electronic device 300 in advance. Thus, the electronic device 300 is enabled to calibrate the actual voltage of the battery 301 when the battery 301 is charged based on the first cut-off voltage based on the voltage calibration coefficient stored in the electronic device 300 in advance.
Based on the above description, after acquiring the actual voltage of the battery 301 when the battery 301 is charged based on the first cut-off voltage, the electronic device 300 may calibrate the actual voltage of the battery 301 according to the voltage calibration coefficient, to obtain the calibrated first charging voltage.
Illustratively, when the voltage calibration coefficient is 1.04 and the actual voltage of the battery 301 is 4.8V, the first charging voltage is 4.992V. The voltage error after calibration was 0.008V and the voltage error before calibration was 0.2V. It can be seen that the error of the calibrated first charging voltage is smaller than the actual voltage of the battery 301 before calibration.
In summary, the control unit 303 may obtain the first charging voltage, so as to provide a data basis for determining whether the cut-off voltage needs to be adjusted.
S103, in a case where the first charging voltage satisfies the first preset condition, the control unit determines the second cutoff voltage based on the first cutoff voltage.
After obtaining the first charging voltage, the control unit 303 needs to determine whether the first charging voltage satisfies a first preset condition. The first preset condition is a condition in which the control unit 303 dynamically adjusts the cutoff voltage. In the case where the first charging voltage satisfies the first preset condition, the control unit 303 may determine the second cutoff voltage based on the first cutoff voltage.
Alternatively, the second cut-off voltage is the output voltage of the first charging unit 3021 adjusted by the control unit 303. And the second cutoff voltage is less than the first cutoff voltage. The output voltage of the first charging unit 3021 decreases, so that the actual charging voltage of the battery 301 can be reduced, and the charging safety of the battery 301 can be ensured.
In the case where the first charging voltage does not satisfy the first preset condition, the control unit 303 may control the first charging unit 3021 to maintain the first off voltage and charge the battery 301. That is, the first charging unit 3021 may maintain the first cut-off voltage at which the output voltage is high, and continue charging the battery 301. At this time, the actual charging voltage at both ends of the battery 301 can be maintained at the maximum value within the allowable range, so that the charging speed of the battery 301 can be increased, and the charging capacity of the battery 301 can be increased.
Optionally, in some embodiments, the first preset condition may include the first charging voltage being greater than a voltage threshold value. Illustratively, the voltage threshold value may be the highest voltage at which the first charging unit 3021 charges the battery 301. At this time, the control unit 303 also needs to obtain the voltage threshold value before determining whether the first charging voltage satisfies the first preset condition.
Based on this, after obtaining the first charging voltage and the voltage threshold value, the control unit 303 may determine whether the first charging voltage is greater than the voltage threshold value. When the first charging voltage is greater than the voltage threshold value, the control unit 303 may determine the second cutoff voltage based on the first cutoff voltage. When the first charging voltage is less than or equal to the voltage threshold value, the control unit 303 may control the first charging unit 3021 to maintain the first cut-off voltage and charge the battery 301.
And S104, the control unit controls the first charging unit to charge the battery based on the second cut-off voltage.
After obtaining the second off voltage, the control unit 303 may control the first charging unit 3021 to output the second off voltage. So that the first charging unit 3021 can continue to charge the battery 301 based on the second cut-off voltage.
According to the charging method provided by the embodiment of the application, the first charging unit can be controlled by the control unit to charge the battery based on the first cut-off voltage. Based on this, the first charging voltage may be determined in the process of the first charging unit outputting the first cut-off voltage to charge the battery. Further, it can be determined whether the obtained first charging voltage satisfies the first preset condition. In the case that the first charging voltage satisfies the first preset condition, the control unit may determine the second cutoff voltage based on the first cutoff voltage, and may dynamically adjust the cutoff voltage of the first charging unit. After the second cut-off voltage is obtained, the control unit can control the first charging unit to charge the battery based on the second cut-off voltage, so that the cut-off voltage can be ensured to be maintained at the maximum value in the limited range, and then the charging voltage at the two ends of the battery can be ensured to be the maximum value. Thus, it is possible to dynamically adjust the cutoff voltage of the first charging unit, enabling the cutoff voltage to be maintained at a maximum value within a defined range. Meanwhile, the charging speed of the battery can be further improved and the charging capacity of the battery can be further increased on the premise of ensuring the charging safety.
By way of example, when the electronic device is in a call scene, the charging capacity of the battery increased by the charging method of the embodiment of the application can increase the call duration of the user by 30min. When the electronic equipment is in a webpage browsing scene, the charging capacity of the battery increased by the charging method provided by the embodiment of the application can increase the webpage browsing time of a user by 20min.
Based on the above description, the control unit 303 may determine the voltage threshold value in a variety of implementations. One possible implementation of determining the voltage threshold in an embodiment of the present application is described in detail below.
Optionally, in some embodiments, the control unit 303 may determine the voltage threshold value based on one or more of the following parameters: an open circuit voltage of the battery 301, a second charging current, a link impedance, a first threshold.
Optionally, the second charging current is a current calibrated to the actual current of the battery 301. At this time, the actual current of the battery 301 is the current acquired when the battery 301 is charged based on the first cutoff voltage.
Alternatively, the first threshold is a preset value stored in advance in the electronic device 300. The first threshold is related to the accuracy with which the calibrated fuel gauge 305 collects the charging voltage. For example, when the accuracy of the calibrated fuel gauge 305 to collect the charging voltage is-0.1%, the first threshold is 1-0.001 = 0.999.
Alternatively, the control unit 303 may determine the voltage threshold value based on the open circuit voltage of the battery 301, the second charging current, the link impedance, and the first threshold value. At this time, the voltage threshold value satisfies the following equation:
vbat_high_th=(U+ibat*Z)*m;
Where vbat_high_th denotes a voltage threshold value, U denotes an open circuit voltage of the battery 301, ibat denotes a second charging current, Z denotes a link impedance, and m denotes a first threshold value.
Illustratively, vbat_high_th is 4505.49mV when U is 4480mV, ibat is 1A, Z is 30mΩ, and m is 0.999. For ease of calculation, vbat_high_th may be rounded, i.e. vbat_high_th is set to 4505mV.
The control unit 303 needs to obtain the second charging current before determining the voltage threshold value.
Alternatively, in some embodiments, the electronic device 300 may collect the actual current of the battery 301 when charging the battery 301 based on the first cut-off voltage by the fuel gauge 305. The fuel gauge 305 may transmit the collected actual current of the battery 301 when the battery 301 is charged based on the first cut-off voltage to the control unit 303. Thus, the control unit 303 can acquire the actual current of the battery 301 when the battery 301 is charged based on the first cut-off voltage.
The actual current of the battery 301 is the current collected by the fuel gauge 305, and the accuracy of collecting the charging current by the fuel gauge 305 is usually ±2%, so that the accuracy of collecting the charging current by the fuel gauge 305 needs to be calibrated in order to improve the accuracy of collecting the charging current by the fuel gauge 305. After calibration, a current calibration coefficient may be obtained, which may also improve the accuracy with which the fuel gauge 305 collects charging current. For example, the calibrated fuel gauge 305 captures charging current to a precision of + -0.5%.
Illustratively, the user may select the accuracy of collecting the charging current by the highest fuel gauge 305 from the calibrated multiple electronic devices 300 as the accuracy of collecting the charging current by the calibrated fuel gauge 305, so that the obtained charging current of the battery 301 is more accurate, and the safety of the battery 301 in the charging process is further ensured.
A detailed description of a specific implementation of determining the current calibration factor is provided below in conjunction with fig. 6. As shown in fig. 6, the positive electrode of the power supply 200 is connected to one end of the electronic device 300. The negative electrode of the power supply 200 is connected to the other end of the electronic device 300. The positive pole of the power supply 200 is also connected to the positive pole of the electronic load 500. The negative electrode of the electronic load 500 is connected to the detection resistor 306.
Since the resistance of the detection resistor 306 is generally smaller, an electronic load 500 with a larger resistance needs to be disposed in the calibration circuit of fig. 6. The electronic load 500 is used for absorbing the current output by the power supply 200, so as to ensure that the power supply 200 can work normally. Illustratively, the electronic load 500 may be a resistor or a capacitor, or the like.
The power supply 200 in fig. 6 charges the electronic device 300 with a constant current. During the charging of the electronic device 300 by the power supply 200, the actual charging current of the battery 301 is acquired by the fuel gauge 305. After the actual charging current of the battery 301 is obtained, the ratio of the constant current to the actual charging current of the battery 301 may be calculated. The ratio is the current calibration coefficient. Illustratively, the current calibration factor is about 0.98 when the constant current is 1000mA and the actual charging current of the battery 301 is 1020 mA.
It should be noted that, the determination of the current calibration coefficient is performed on the production line. After the current calibration coefficients are obtained, the current calibration coefficients may be written into each electronic device 300 produced in a command manner by an upper computer on the production line.
Alternatively, in some embodiments, the host computer may write the current calibration coefficients into the registers of the electronic device 300 in advance. Thus, the electronic device 300 is enabled to calibrate the actual current of the battery 301 when the battery 301 is charged based on the first off-voltage based on the current calibration coefficient stored in the electronic device 300 in advance.
Based on the above description, after acquiring the actual current of the battery 301 when the battery 301 is charged based on the first cutoff voltage, the electronic device 300 may calibrate the actual current of the battery 301 based on the current calibration coefficient, to obtain the second charging current. Illustratively, the second charging current is 999.6mA when the current calibration coefficient is 0.98 and the actual current of the battery 301 is 1020 mA. The current error after calibration was 0.4mA and the current error before calibration was 20mA. It can be seen that the second charging current after calibration has a smaller error than the actual current of the battery 301 before calibration.
Note that, since the accuracy with which the electricity meter 305 collects the charging voltage has a larger influence on the charging capacity of the battery 301 than the accuracy with which the electricity meter 305 collects the charging current has on the charging capacity of the battery 301. The lower the accuracy with which the fuel gauge 305 collects the charging voltage, the greater the loss of charge capacity of the battery 301, and one skilled in the art may also calibrate only the accuracy with which the fuel gauge 305 collects the charging voltage. Or those skilled in the art may calibrate only the accuracy with which the fuel gauge 305 collects the charging current, which is not limited by the embodiment of the present application.
Based on the description of S103, one possible implementation of determining the second cutoff voltage in the embodiment of the present application is described in detail below.
Optionally, in some embodiments, the control unit 303 may further calculate the second cutoff voltage based on the first cutoff voltage, the first charging voltage, and the voltage threshold value. The specific calculation method of the voltage threshold value can be referred to the above related description, and will not be described herein.
Optionally, the second cut-off voltage satisfies the following formula:
CV2=CV1-(vbat-vbat_high_th);
Wherein, CV2 represents the second cutoff voltage, CV1 represents the first cutoff voltage, and vbat represents the first charging voltage. vbat_high_th represents a voltage threshold value.
Illustratively, when CV1 is 4510mV, vbat is 4507mV, vbat_high_th is 4505mV, CV2 is 4508mV. After a voltage step of 10mV taking into account the cut-off voltage, CV2 is 4500mV.
Since the first charging voltage is a voltage obtained by calibrating the actual voltage of the battery 301 when the battery 301 is charged based on the first cutoff voltage, it can be seen that the accuracy of the first charging voltage is high, and accordingly, the accuracy of the set second cutoff voltage is also high. Thereby, it is possible to achieve an improvement in the accuracy of acquiring the charging voltage of the battery 301 by the fuel gauge 305, and further an improvement in the accuracy of the cutoff voltage of the first charging unit 3021. Then, in the process of charging the battery 301 by the first charging unit 3021 based on the cut-off voltage, the charging voltage at the two ends of the battery 301 can be always constant at the highest charging voltage within the voltage allowable range, so that the speed of charging the battery 301 is increased, and the charging capacity of the battery 301 is increased.
Based on the above description, the control unit 303 needs to acquire the charge voltage of the battery 301 in real time at a preset period (e.g., 10 s) and determine whether the charge voltage of the battery 301 satisfies a first preset condition when controlling the first charging unit 3021 to charge the battery 301 based on the off-voltage. Therefore, the control unit 303 can timely adjust the cut-off voltage of the first charging unit 3021, so as to avoid the battery 301 from swelling or exploding due to the excessive cut-off voltage of the first charging unit 3021, and ensure the charging safety of the battery 301 in the process of charging the battery 301 by the cut-off voltage of the first charging unit 3021.
Next, a charging method according to an embodiment of the present application will be described in detail with reference to fig. 7. Referring to fig. 7, fig. 7 shows a flowchart of a charging method according to an embodiment of the application. As shown in fig. 7, the charging method in the embodiment of the application includes the following steps:
s201, the control unit controls the first charging unit to charge the battery based on the first cut-off voltage.
The specific implementation process of S201 is consistent with the specific implementation process of S101, and reference may be made to the related description of S101, which is not repeated here.
S202, determining a first charging voltage.
The specific implementation process of S202 is identical to the specific implementation process of S102, and reference may be made to the related description of S102, which is not repeated here.
S203, judging whether the first charging voltage meets a first preset condition. In the case where the first charging voltage satisfies the first preset condition, the control unit 303 may perform S204 to S211. In the case where the first charging voltage does not satisfy the first preset condition, the control unit 303 may perform S210 to S211.
S204, the control unit determines a second cut-off voltage based on the first cut-off voltage.
The specific implementation process of S204 is identical to the specific implementation process of S103, and reference may be made to the related description of S103, which is not repeated here.
S205, a second charging voltage is determined.
Optionally, the second charging voltage is a voltage calibrated to the actual voltage of the battery 301. At this time, the actual voltage of the battery 301 is the voltage acquired when the battery 301 is charged based on the second cutoff voltage. Since the second cutoff voltage is smaller than the first cutoff voltage, the second charging voltage is smaller than the first charging voltage.
It should be noted that, the second charging voltage and the first charging voltage represent charging voltages of the battery when the cut-off voltage is different, so the implementation principle of S205 in the embodiment of the present application is the same as the implementation principle of S102, and reference may be made to the related description in S102, which is not repeated herein.
S206, judging whether the second charging voltage meets a third preset condition. The third preset condition includes the second charging voltage being greater than the voltage threshold. In case the second charging voltage satisfies the third preset condition, the control unit 303 may perform S207 to S211. In the case where the second charging voltage does not satisfy the third preset condition, the control unit 303 may perform S209 to S211.
S207, updating the second cut-off voltage based on the first cut-off voltage.
Alternatively, in some embodiments, the control unit 303 may update the second cutoff voltage based on the first cutoff voltage, the second charging voltage, and the voltage threshold value. The updated second cutoff voltage is less than the first cutoff voltage.
It should be noted that, the implementation principle of S207 is the same as that of S103, and the difference between the two implementation principles is only that the charging voltages are different, so the specific implementation process of S207 in the embodiment of the present application may participate in the above description of S103, which is not repeated herein.
S208, the control unit controls the first charging unit to charge the battery based on the updated second cut-off voltage.
After obtaining the updated second cutoff voltage, the control unit 303 may control the first charging unit 3021 to output the updated second cutoff voltage. Thereby enabling the first charging unit 3021 to continue charging the battery 301 based on the updated second cut-off voltage.
In some implementations, after performing S208, the control unit 303 may further perform S205 and S206, and continue to perform related steps based on the determination result of S206. The description of continuing to perform the related steps based on the determination result of S206 may refer to the foregoing description, and will not be repeated here.
For example, the control unit 303 repeatedly executes S205, S206, S207, and S208; for another example, the control unit 303 executes S205, S206, and S209.
S209, the control unit controls the first charging unit to keep the second cut-off voltage, and the battery is charged.
The specific implementation process of S209 may be referred to the description related to S104 above, and will not be described herein.
During the process of controlling the first charging unit 3021 by the control unit 303 to maintain the second cut-off voltage and charge the battery 301, the control unit 303 still needs to determine the second charging voltage in real time, and determine whether the second charging voltage meets the third preset condition.
In some implementations, after performing S209, the control unit 303 may perform S205 and S206, and continue to perform related steps based on the determination result of S206. The description of continuing to perform the related steps based on the determination result of S206 may refer to the foregoing description, and will not be repeated here.
For example, the control unit 303 repeatedly executes S205, S206, and S209; for another example, the control unit 303 executes S205, S206, S207, and S208.
S210, the control unit controls the first charging unit to keep the first cut-off voltage and charge the battery.
During the process of controlling the first charging unit 3021 by the control unit 303 to maintain the first cut-off voltage and charge the battery 301, the control unit 303 still needs to determine the first charging voltage in real time and determine whether the first charging voltage meets the first preset condition.
In some implementations, after performing S210, the control unit 303 may perform S202 and S203, and continue to perform related steps based on the determination result of S203. The description of continuing to perform the related steps based on the determination result of S203 may refer to the foregoing description, and will not be repeated here.
For example, the control unit 303 repeatedly executes S202, S203, and S210; for another example, the control unit 303 executes S202, S203, S204, and the like.
S211, stopping charging the battery when the battery satisfies the off-charging condition.
The control unit 303 may control the first charging unit 3021 to stop charging the battery 301 when it is determined that the battery 301 satisfies the off-charging condition.
During the actual charging process, the control unit 303 needs to periodically determine whether the cutoff voltage needs to be updated during the process of charging the battery 301 by the first charging unit 3021 with any one of the cutoff voltages (e.g., the first cutoff voltage, the second cutoff voltage, or the updated second cutoff voltage).
Since the charge voltage of the battery 301 changes after each update of the cutoff voltage. Therefore, after updating the cutoff voltage, the control unit 303 needs to re-determine the charging voltage of the battery 301. That is, the value of the first charging voltage determined each time in S202 is different, and the value of the second charging voltage determined each time in S205 is also different. Therefore, when the charging voltage meets a preset condition (for example, the first charging voltage meets a first preset condition, or the second charging voltage meets a third preset condition), the cut-off voltage of the first charging unit 3021 can be dynamically adjusted in time, so as to ensure the charging safety of the battery 301 when the battery 301 is charged with different cut-off voltages.
In view of the limited rated capacity of the battery 301, the control unit 303 generally sets a cut-off charging condition when controlling the first charging unit 3021 to charge the battery 301. Upon satisfaction of the off-charge condition, the control unit 303 may execute S211. Thereby, overcharge of the battery 301 can be avoided, and the service life of the battery 301 can be improved while ensuring the charge safety.
Based on the description of S211, in conjunction with fig. 8, taking the example of charging the battery 301 with the second cut-off voltage as an example, a possible implementation of stopping the charging of the battery 301 by the first charging unit 3021 in the embodiment of the present application will be described in detail.
Referring to fig. 8, fig. 8 is a flowchart illustrating a charging method according to an embodiment of the application. As shown in fig. 8, the charging method in the embodiment of the application includes the following steps:
s301, determining a third charging current.
Optionally, the third charging current is a current calibrated to the actual current of the battery 301. At this time, the actual current of the battery 301 is the current collected while the battery 301 is charged while maintaining the second off-voltage.
The control unit 303 may determine the third charging current to provide a data basis for a subsequent determination of whether to stop charging the battery 301.
It should be noted that, the third charging current and the second charging current are charging currents of the battery 301 collected during charging with different cut-off voltages, so the implementation principle of S301 is the same as the implementation principle of determining the second charging current, and reference may be made to the description related to determining the second charging current, which is not repeated herein.
S302, judging whether the third charging current meets a second preset condition. The second preset condition (or, alternatively, the off-charging condition) is a condition to stop charging the battery 301.
After obtaining the third charging current, the control unit 303 may determine whether the third charging current satisfies the second preset condition. If the third charging current meets the second preset condition, the control unit 303 may execute S303. If the third charging current does not meet the second preset condition, the control unit 303 may execute S304.
Optionally, in some embodiments, the second preset condition may include the third charging current being less than or equal to a preset cutoff charging current. The preset cutoff charging current is a current at which the first charging unit 3021 stops charging the battery 301. For example, the preset cutoff current is 125mA.
Based on this, after obtaining the third charging current, the control unit 303 may determine whether the third charging current is less than or equal to a preset cutoff charging current. If the third charging current is less than or equal to the preset cutoff current, the control unit 303 may execute S303. If the third charging current is greater than the preset cutoff current, the control unit 303 may execute S304.
S303, the control unit controls the first charging unit to stop charging the battery.
In the case where the third charging current satisfies the second preset condition, the control unit 303 may control the first charging unit 3021 to stop the charging process of the battery 301. So that overcharge of the battery 301 can be avoided and the service life of the battery 301 can be increased.
S304, the control unit controls the first charging unit to keep the second cut-off voltage, and the battery is continuously charged.
The specific implementation process of S304 is the same as that of S104, and reference may be made to the description related to S104 above, which is not repeated here.
Note that the above-described stopping of the charging process is performed on the basis that the first charging unit 3021 keeps charging the battery 301 at the second off-voltage, only for more clearly explaining the stopping process in the embodiment of the present application. It should be appreciated that the above specific implementation of stopping charging is applicable to any case where a cutoff voltage is used to charge the battery 301. For example, the first cut-off voltage or the updated second cut-off voltage, etc., which is not limited in the embodiment of the present application.
It should be understood that the term "unit" may be implemented in software and/or hardware, and embodiments of the application are not limited in this regard. For example, a "unit" may be a software program, a hardware circuit or a combination of both that implements the functions described above. The hardware circuitry may include (application SPECIFIC INTEGRATED circuits) application-specific integrated circuits, electronic circuits, processors (e.g., shared, proprietary, or group processors, etc.) and memory that execute one or more software or firmware programs, integrated logic circuits, and/or other suitable devices that may provide the above-described functionality.
Referring to fig. 9, fig. 9 shows a schematic hardware architecture of an electronic device according to an embodiment of the present application.
As shown in fig. 9, the electronic device 300 may include: processor 110, external memory interface 120, internal memory 121, universal serial bus (universal serial bus, USB) interface 130 (i.e., charging interface 304 of electronic device 300), charging management module 140, power management module 141, battery 301, antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, audio module 170, speaker 170A, receiver 170B, microphone 170C, headset interface 170D, sensor module 180, keys 190, motor 191, indicator 192, camera 193, display 194, user identification module (subscriber identification module, SIM) card interface 195, and the like.
Among them, the sensor module 180 may include a pressure sensor 180A, a gyro sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, and the like.
The configuration shown in fig. 9 does not constitute a specific limitation on the hardware system of the electronic apparatus 300. In other embodiments of the application, the hardware system of electronic device 300 may include more or fewer components than those shown in FIG. 9, or the hardware system of electronic device 300 may include a combination of some of the components shown in FIG. 9, or the hardware system of electronic device 300 may include sub-components of some of the components shown in FIG. 9. The components shown in fig. 9 may be implemented in hardware, software, or a combination of software and hardware.
Processor 110 may include one or more processing units. For example, the processor 110 may include at least one of the following processing units: an application processor (application processor, AP), a modem processor, a graphics processor (graphics processing unit, GPU), an image signal processor (IMAGE SIGNAL processor, ISP), a controller, a video codec, a digital signal processor (DIGITAL SIGNAL processor, DSP), a baseband processor, a neural-Network Processor (NPU). The different processing units may be separate devices or integrated devices.
A memory may also be provided in the processor 110 for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may hold instructions or data that the processor 110 has just used or recycled. If the processor 110 needs to reuse the instruction or data, it may be called directly from memory. Repeated accesses are avoided and the latency of the processor 110 is reduced, thereby improving the efficiency of the system.
It should be noted that the processor 110 in fig. 9 corresponds to the control unit 303 in fig. 3.
The USB interface 130 may be connected to the processor 110 through a data line. The data lines may include a Data Positive (DP) and a data negative (DM) data line.
It should be further noted that one expression of the charge management module 140 is the first charging unit 3021 in fig. 3.
The connection relationship between the modules shown in fig. 9 is merely illustrative, and does not limit the connection relationship between the modules of the electronic device 300. Alternatively, the modules of the electronic device 300 may also use a combination of the various connection manners in the foregoing embodiments.
Since the charging method in the embodiment of the present application is a control method of the electronic device 300 during the charging process, the USB interface 130 needs to be connected to a power source when the charging method in the embodiment of the present application is executed.
The charge management module 140 is used to convert a high voltage (e.g., 220V) output by the power adapter in the charging device 100 into a low voltage (e.g., 5V) acceptable to the battery 301. Thereby enabling the battery 301 to be charged.
The processor 110 may set a first cutoff voltage of the charge management module 140. The charge management module 140 may charge the battery 301 based on the first cutoff voltage. During the process of charging the battery 301 by the charge management module 140, the processor 110 may periodically obtain the actual charging voltage across the battery 301. After acquiring the actual charging voltage across the battery 301, the processor 110 may determine whether the actual charging voltage across the battery 301 satisfies the first preset condition. In the case where the actual charging voltage across the battery 301 satisfies the first preset condition, the processor 110 may adjust the first cutoff voltage to the second cutoff voltage. At this time, the charge management module 140 may continue to charge the battery 301 based on the second cutoff voltage.
In summary, the charging method according to the embodiment of the present application can timely adjust the cut-off voltage of the charge management module 140 according to the actual charging voltage of the two ends of the battery 301. Thus, the charging voltage at the two ends of the battery 301 is constant at the maximum value within the allowable range, so that the charging speed of the battery 301 can be increased, and the safety of the electronic device 300 in the charging process is ensured.
Illustratively, the present application provides a readable storage medium having code or instructions stored therein that when executed by the electronic device 300, cause the processor to invoke the computer instructions to implement the methods of the previous embodiments.
Illustratively, the present application provides a chip system for use with an electronic device including a memory, a display screen, and a sensor; the chip system includes: one or more interface circuits and one or more processors; the interface circuit and the processor are interconnected through a circuit; the interface circuit is used for receiving signals from the memory and sending signals to the processor, wherein the signals comprise computer codes or instructions stored in the memory; the processor invokes instructions that cause the electronic device 300, when executed, to implement the methods of the previous embodiments.
Wherein, the chip system can comprise one chip or a plurality of chips; when a plurality of chips are included in a chip system, the present application does not limit parameters such as the type and the number of chips.
Illustratively, the present application provides a computer program product which, when run on a computer, causes the electronic device 300 to implement the method in the previous embodiments.
In the above-described embodiments, all or part of the functions may be implemented by software, hardware, or a combination of software and hardware. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer codes or instructions. When the computer program code or instructions are loaded and executed on a computer, the processes or functions in accordance with the present application are fully or partially produced. The computer may be a general purpose computer, a special purpose computer, a computer network, or other programmable apparatus. The computer code or instructions may be stored in a computer readable storage medium. Computer readable storage media can be any available media that can be accessed by a computer or data storage devices, such as servers, data centers, etc., that contain an integration of one or more available media. Usable media may be magnetic media (e.g., floppy disks, hard disks, magnetic tape), optical media (e.g., DVD), or semiconductor media (e.g., solid State Disk (SSD)) or the like.
Those of ordinary skill in the art will appreciate that implementing all or part of the above-described method embodiments may be accomplished by a computer program to instruct related hardware, the program may be stored in a computer readable storage medium, and the program may include the above-described method embodiments when executed. And the aforementioned storage medium includes: a Read Only Memory (ROM) or a random access memory (random access memory, RAM), a magnetic disk or an optical disk, or the like.
Claims (9)
1. A charging method, characterized by being applied to an electronic device including a control unit, a first charging unit, and a battery, the method comprising:
The control unit determines a first cut-off voltage, which is an initial voltage output by the first charging unit, based on an open-circuit voltage, a first charging current, and a link impedance of the battery; the open-circuit voltage of the battery is the terminal voltage of the battery in an open-circuit state; the first charging current is a critical current for charging the battery from a second charging unit, and is switched to the first charging unit for charging the battery, and the charging speed of the second charging unit is greater than that of the first charging unit; the link impedance is an impedance between the first charging unit and the battery;
the control unit controls the first charging unit to charge the battery based on the first cut-off voltage;
determining a first charging voltage, which is a voltage obtained by calibrating an actual voltage of the battery, the actual voltage being a voltage acquired when the battery is charged based on the first cutoff voltage;
Under the condition that the first charging voltage meets a first preset condition, the control unit determines a second cut-off voltage based on the first cut-off voltage, the first charging voltage and a voltage threshold value; the first preset condition includes that the first charging voltage is greater than the voltage threshold value, and the second cut-off voltage is smaller than the first cut-off voltage;
the control unit controls the first charging unit to charge the battery based on the second cut-off voltage.
2. The method of claim 1, wherein the determining the first charging voltage comprises:
Collecting the actual voltage through an electricity meter;
And calibrating the actual voltage according to a voltage calibration coefficient to obtain the first charging voltage.
3. The method of claim 1, wherein prior to determining the second cutoff voltage, the method further comprises:
The control unit determines the voltage threshold value based on one or more of the following parameters: an open circuit voltage, a second charging current, a link impedance, a first threshold value of the battery;
The second charging current is a current obtained by calibrating an actual current of the battery, and the actual current is a current acquired when the battery is charged based on the first cut-off voltage.
4. The method of claim 1, wherein prior to determining the voltage threshold value, the method further comprises:
Collecting the actual current through an electricity meter;
and calibrating the actual current according to a current calibration coefficient to obtain the second charging current.
5. The method according to any one of claims 1 to 4, further comprising:
determining a third charging current, wherein the third charging current is a current obtained by calibrating an actual current of the battery, and the actual current is a current acquired when the battery is charged while maintaining the second cut-off voltage;
The control unit controls the first charging unit to stop charging the battery under the condition that the third charging current meets a second preset condition; the second preset condition includes that the third charging current is smaller than or equal to a preset cutoff current, and the preset cutoff current is a current for stopping charging the battery by the first charging unit.
6. The method according to any one of claims 1 to 4, wherein when the control unit controls the first charging unit to charge the battery based on the second cutoff voltage, the method further comprises:
Determining a second charging voltage, which is a voltage obtained by calibrating an actual voltage of the battery, the actual voltage being a voltage acquired when the battery is charged based on the second cutoff voltage;
Updating the second cut-off voltage based on the first cut-off voltage under the condition that the second charging voltage meets a third preset condition; the third preset condition includes the second charging voltage being greater than the voltage threshold value; the updated second cut-off voltage is smaller than the first cut-off voltage;
The control unit controls the first charging unit to charge the battery based on the updated second cut-off voltage.
7. The method according to any one of claims 1 to 4, further comprising:
and under the condition that the first charging voltage does not meet the first preset condition, the control unit controls the first charging unit to keep the first cut-off voltage and charge the battery.
8. An electronic device comprising a processor and a memory, the processor and the memory coupled, the memory for storing a computer program, the processor invoking computer instructions to cause the electronic device to perform the method of any of claims 1-7.
9. A readable storage medium, wherein the readable storage medium stores a computer program, the processor invoking instructions to cause an electronic device to perform the method of any of claims 1-7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311288860.5A CN117096991B (en) | 2023-10-08 | 2023-10-08 | Charging method, electronic equipment and readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311288860.5A CN117096991B (en) | 2023-10-08 | 2023-10-08 | Charging method, electronic equipment and readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN117096991A CN117096991A (en) | 2023-11-21 |
CN117096991B true CN117096991B (en) | 2024-04-19 |
Family
ID=88769833
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202311288860.5A Active CN117096991B (en) | 2023-10-08 | 2023-10-08 | Charging method, electronic equipment and readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117096991B (en) |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104300630A (en) * | 2014-10-17 | 2015-01-21 | 广东欧珀移动通信有限公司 | Charging control device and method |
CN105449759A (en) * | 2015-12-03 | 2016-03-30 | 广东欧珀移动通信有限公司 | Charging method and mobile terminal |
CN105790362A (en) * | 2016-04-12 | 2016-07-20 | 广东欧珀移动通信有限公司 | Battery charging management method and device and user device |
CN106655396A (en) * | 2017-01-13 | 2017-05-10 | 广东欧珀移动通信有限公司 | Charging control method and device and terminal |
CN110635186A (en) * | 2019-08-29 | 2019-12-31 | 华为技术有限公司 | Charging method and electronic equipment |
CN110729790A (en) * | 2019-10-28 | 2020-01-24 | Oppo广东移动通信有限公司 | Charging method and device, computer equipment and storage medium |
CN112994185A (en) * | 2021-04-23 | 2021-06-18 | Oppo广东移动通信有限公司 | Charging control method and device, electronic device and storage medium |
CN113381479A (en) * | 2021-06-18 | 2021-09-10 | 维沃移动通信有限公司 | Charging method and device and electronic equipment |
CN115603393A (en) * | 2021-07-07 | 2023-01-13 | 上海晨兴希姆通电子科技有限公司(Cn) | Charging control method and system for lithium battery, electronic device and medium |
CN116845998A (en) * | 2022-03-24 | 2023-10-03 | 华为技术有限公司 | Charging device, method and related equipment |
-
2023
- 2023-10-08 CN CN202311288860.5A patent/CN117096991B/en active Active
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104300630A (en) * | 2014-10-17 | 2015-01-21 | 广东欧珀移动通信有限公司 | Charging control device and method |
CN105449759A (en) * | 2015-12-03 | 2016-03-30 | 广东欧珀移动通信有限公司 | Charging method and mobile terminal |
CN105790362A (en) * | 2016-04-12 | 2016-07-20 | 广东欧珀移动通信有限公司 | Battery charging management method and device and user device |
CN106655396A (en) * | 2017-01-13 | 2017-05-10 | 广东欧珀移动通信有限公司 | Charging control method and device and terminal |
CN110635186A (en) * | 2019-08-29 | 2019-12-31 | 华为技术有限公司 | Charging method and electronic equipment |
CN110729790A (en) * | 2019-10-28 | 2020-01-24 | Oppo广东移动通信有限公司 | Charging method and device, computer equipment and storage medium |
CN112994185A (en) * | 2021-04-23 | 2021-06-18 | Oppo广东移动通信有限公司 | Charging control method and device, electronic device and storage medium |
CN113381479A (en) * | 2021-06-18 | 2021-09-10 | 维沃移动通信有限公司 | Charging method and device and electronic equipment |
CN115603393A (en) * | 2021-07-07 | 2023-01-13 | 上海晨兴希姆通电子科技有限公司(Cn) | Charging control method and system for lithium battery, electronic device and medium |
CN116845998A (en) * | 2022-03-24 | 2023-10-03 | 华为技术有限公司 | Charging device, method and related equipment |
Also Published As
Publication number | Publication date |
---|---|
CN117096991A (en) | 2023-11-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102122739B (en) | Charging method and user equipment | |
CN114859258B (en) | Electricity meter and electronic equipment applied to multiple batteries | |
CN112540304B (en) | Battery power management method, electronic device and computer storage medium | |
CN106655344B (en) | Charging method and device for mobile terminal | |
CN111433999A (en) | Electronic device including battery and method of controlling charging thereof | |
KR20200101173A (en) | Method to control multiple batteries and electronic device applying the method | |
WO2024007687A1 (en) | Multi-battery power supply, charging/discharging method, and electronic device | |
CN114844182B (en) | Charging circuit, charging method and electronic equipment | |
CN117096991B (en) | Charging method, electronic equipment and readable storage medium | |
CN116054301A (en) | Battery protection device, battery protection method and electronic equipment | |
WO2020097864A1 (en) | Charging detection method, charging detection apparatus, and terminal device | |
CN112698224B (en) | Method, device and equipment for estimating residual electric quantity and readable storage medium | |
CN111277025B (en) | Charging method and charging system for parallel batteries | |
CN210579159U (en) | Wireless earphone system and wireless earphone | |
CN112234683A (en) | Charging control method of electronic equipment and electronic equipment | |
KR20210078224A (en) | Electronic device and method for extending battery life | |
CN116667473B (en) | Control circuit, circuit control method and electronic equipment | |
WO2020078167A1 (en) | Charging control method and system for intelligent terminal, and computer-readable storage medium | |
CN114221403B (en) | Charging method and charging device | |
US20220222063A1 (en) | Portable device communicating with charger and operating method thereof | |
CN113507154B (en) | Charging method and device, charger and electronic equipment | |
CN116315185A (en) | Electronic device and battery management method | |
EP3937335A1 (en) | Method and device for charging, equipment, and storage medium | |
CN116914894B (en) | Cut-off voltage adjusting method, electronic device and readable storage medium | |
CN109149676B (en) | Method and device for controlling charging current |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |