Charging method and electronic device

By adjusting the cutoff voltage in the coordinated work of the charging chip and the battery meter, the problem of insufficient battery full charge capacity caused by charging chip detection error is solved, and higher battery charging efficiency and safety are achieved.

WO2024239771A1PCT designated stage expired Publication Date: 2024-11-28HONOR DEVICE CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2024/081775
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-05-19
Filing Date
2024-03-14
Publication Date
2024-11-28

Smart Images

  • Figure CN2024081775_28112024_PF_FP_ABST
    Figure CN2024081775_28112024_PF_FP_ABST
Patent Text Reader

Abstract

The present application relates to the technical field of electronics. Disclosed are a charging method and an electronic device. The charging method comprises: during a constant-voltage charging process of a battery, if a charging chip determines that a battery voltage measured by an electric quantity meter is smaller than or equal to a first voltage threshold value, then increasing a cut-off voltage by a preset voltage; and when a first preset duration has elapsed after the cut-off voltage is increased by the preset voltage, if the charging chip determines that a battery voltage measured by the electric quantity meter is greater than the first voltage threshold value and smaller than or equal to a second voltage threshold value, then maintaining the cut-off voltage unchanged during the constant-voltage charging process of the battery, wherein the sampling error of the electric quantity meter is smaller than the sampling error of the charging chip. In this way, the actual voltage of the battery when same is fully charged can be increased, thereby increasing the actual capacity of the battery when same is fully charged.
Need to check novelty before this filing date? Find Prior Art

Description

Charging method and electronic device

[0001] This application claims priority to the Chinese patent application filed with the State Intellectual Property Office on May 19, 2023, with application number 202310575327.0 and application name “Charging Method and Electronic Device,” the entire contents of which are incorporated herein by reference. Technical Field

[0002] The present application relates to the field of electronic technology, and in particular to a charging method and electronic equipment. Background Art

[0003] Electronic devices such as mobile phones, tablets, and laptops include batteries and charging chips. When connected to a charger, the power output by the charger must be fed into the battery via the charging chip. The charging chip regulates the charging voltage and current supplied to the battery. In related art, a cutoff voltage is set within the charging chip. When the charging chip detects that the battery voltage has reached the cutoff voltage, it initiates constant-voltage charging of the battery at the cutoff voltage.

[0004] However, because the charging chip has sampling errors when detecting battery voltage, the cutoff voltage is generally lower than the rated battery voltage to prevent overcharging. In this case, when the charging chip detects that the battery voltage is equal to the cutoff voltage, the actual minimum battery voltage may be the difference between the cutoff voltage and the sampling error due to the sampling error of the charging chip. This can significantly affect the actual capacity of the battery when fully charged.

[0005] Summary of the Invention

[0006] The present application provides a charging method and electronic device, which can increase the actual battery voltage when the battery is fully charged, thereby increasing the actual capacity of the battery when it is fully charged.

[0007] In a first aspect, a charging method is provided. The charging method is applied to a charging chip in an electronic device. When the charging chip is in operation, it can charge the battery in the electronic device according to a cutoff voltage. That is, when the battery voltage detected by the charging chip is equal to the cutoff voltage, the charging chip performs constant voltage charging on the battery. The cutoff voltage is the initial voltage when the battery enters the constant voltage charging stage. The electronic device also includes a fuel meter, and the sampling error of the fuel meter is less than the sampling error of the charging chip. The charging method includes the following steps:

[0008] During the constant voltage charging process of the battery, if the charging chip determines that the battery voltage detected by the fuel gauge is less than or equal to the first voltage threshold, the cut-off voltage is increased by a preset voltage; after a first preset time after the cut-off voltage is increased by the preset voltage, if the charging chip determines that the battery voltage detected by the fuel gauge is greater than the first voltage threshold and less than or equal to the second voltage threshold, the cut-off voltage is maintained unchanged during the constant voltage charging process of the battery.

[0009] The charging chip is connected to the fuel gauge and is configured to receive the battery voltage detected by the fuel gauge and transmitted by the fuel gauge. The first voltage threshold has a value range of: the first voltage threshold is greater than or equal to the difference between the initial voltage and the sampling error of the charging chip, and the first voltage threshold is less than or equal to the sum of the initial voltage and the sampling error of the charging chip. The first voltage threshold is less than the second voltage threshold. The second voltage threshold is less than or equal to the difference between the rated voltage of the battery and the sampling error of the fuel gauge. In some embodiments, the first voltage threshold may be equal to the initial voltage. The second voltage threshold may be equal to the difference between the rated voltage of the battery and the sampling error of the fuel gauge.

[0010] In the present application, during constant-voltage charging of a battery, the charging chip can adjust the cutoff voltage based on the battery voltage detected by a fuel gauge with minimal sampling error. When the battery enters the constant-voltage charging phase, the cutoff voltage is the initial voltage. In this case, if the battery voltage detected by the fuel gauge is less than or equal to a first voltage threshold, it indicates that the actual battery voltage is low. At this point, the charging chip increases the cutoff voltage by a preset voltage, i.e., adjusts the cutoff voltage higher. The increased cutoff voltage causes the actual battery voltage to change. After a first preset time period after the cutoff voltage has increased by the preset voltage, the battery voltage detected by the charging chip equals the increased cutoff voltage. At this point, if the battery voltage detected by the fuel gauge is greater than the first voltage threshold and less than or equal to a second voltage threshold, indicating that the actual battery voltage is high, the cutoff voltage remains unchanged during the constant-voltage charging process. In other words, the battery is charged at the increased cutoff voltage. During this process, because the cutoff voltage is increased and the error in the battery voltage detected by the fuel gauge is minimal, both the minimum and maximum values ​​of the actual battery voltage when the battery is fully charged increase. This increases the actual battery voltage when the battery is fully charged, thereby increasing the actual battery capacity when the battery is fully charged.

[0011] In some embodiments, the charging method further includes the step of: the charging chip setting M equal to 0 when the battery enters the constant voltage charging stage.

[0012] In this case, during the constant voltage charging process of the battery, if the charging chip determines that the battery voltage detected by the fuel gauge is less than or equal to the first voltage threshold, the step of increasing the cut-off voltage by the preset voltage can be specifically: during the constant voltage charging process of the battery, if the charging chip determines that the battery voltage detected by the fuel gauge is less than or equal to the first voltage threshold, and M is equal to 0, the cut-off voltage is increased by the preset voltage, and M=M+1.

[0013] In this case, the charging method further includes the following steps: after the cutoff voltage is increased by a preset voltage for a first preset time period, if the charging chip determines that the battery voltage detected by the fuel gauge is less than or equal to the first voltage threshold, and M is less than the first preset threshold, then increasing the cutoff voltage by the preset voltage, and setting M=M+1. Furthermore, after the cutoff voltage is increased by a preset voltage for a first preset time period, if the charging chip determines that the battery voltage detected by the fuel gauge is less than or equal to the first voltage threshold, and M is greater than or equal to the first preset threshold, then setting the cutoff voltage to the initial voltage.

[0014] Here, M can be used to represent the number of times the cutoff voltage increases by a preset voltage. The first preset threshold is an integer greater than or equal to 2. The first preset threshold is used to represent the threshold number of times the cutoff voltage increases by the preset voltage. In this way, by adjusting the first preset threshold, the cutoff voltage can be prevented from increasing by too many times, thereby preventing the battery from overcharging. At the same time, when the cutoff voltage increases by the preset voltage a threshold number of times, and the battery voltage detected by the fuel gauge is still less than or equal to the first voltage threshold, it indicates that an error may have occurred in the process. In this case, the cutoff voltage is directly set to the initial voltage. In this way, the charging safety of the battery can be improved.

[0015] In some embodiments, the charging method further includes the following steps: after the cutoff voltage is increased by a preset voltage for a first preset time period, if the charging chip determines that the battery voltage detected by the fuel gauge is greater than the first voltage threshold and greater than the second voltage threshold, then reducing the cutoff voltage by a preset voltage. Furthermore, after the cutoff voltage is reduced by the preset voltage for the first preset time period, if the charging chip determines that the battery voltage detected by the fuel gauge is greater than the first voltage threshold and less than or equal to the second voltage threshold, then maintaining the cutoff voltage unchanged during constant voltage charging of the battery.

[0016] When the battery voltage detected by the fuel gauge is greater than the second voltage threshold, it indicates that the actual battery voltage is too high. In this case, the cutoff voltage can be reduced by a preset voltage to reduce the actual battery voltage, so that the battery voltage detected by the fuel gauge is greater than the first voltage threshold and less than or equal to the second voltage threshold. In other words, in this application, the battery will only be charged according to the adjusted cutoff voltage if the battery voltage detected by the fuel gauge is greater than the first voltage threshold and less than or equal to the second voltage threshold after the cutoff voltage is adjusted. In this way, the actual battery voltage when the battery is fully charged can be increased, the actual battery capacity when fully charged can be increased, and the charging safety of the battery can be improved.

[0017] In some embodiments, the charging method further includes the step of: the charging chip setting N to 0 when the battery enters the constant voltage charging stage.

[0018] In this case, after the cut-off voltage is increased by the preset voltage for the first preset time period, if the charging chip determines that the battery voltage detected by the fuel gauge is greater than the first voltage threshold and greater than the second voltage threshold, the cut-off voltage is reduced by the preset voltage. Specifically, it can be: after the cut-off voltage is increased by the preset voltage for the first preset time period, if the charging chip determines that the battery voltage detected by the fuel gauge is greater than the first voltage threshold and greater than the second voltage threshold, and N is equal to 0, the cut-off voltage is reduced by the preset voltage, and N=N+1.

[0019] In this case, the charging method further includes the following steps: after a first preset time period after the cutoff voltage is reduced by a preset voltage, if the charging chip determines that the battery voltage detected by the fuel gauge is greater than the first voltage threshold and greater than the second voltage threshold, and N is less than the second preset threshold, then reducing the cutoff voltage by the preset voltage, and setting N=N+1. Furthermore, after a first preset time period after the cutoff voltage is reduced by the preset voltage, if the charging chip determines that the battery voltage detected by the fuel gauge is greater than the first voltage threshold and greater than the second voltage threshold, and N is greater than or equal to the second preset threshold, then setting the cutoff voltage to the initial voltage.

[0020] Among them, N can be used to represent the number of times the cutoff voltage is reduced by a preset voltage. The second preset threshold is an integer greater than or equal to 2. The second preset value is used to represent the threshold number of times the cutoff voltage is reduced by the preset voltage. In this way, by adjusting the first preset threshold, it is possible to prevent the cutoff voltage from being reduced by the preset voltage too many times, resulting in the actual battery voltage being too low. At the same time, when the number of times the cutoff voltage is reduced by the preset voltage reaches the threshold number, if the battery voltage detected by the fuel gauge is still greater than the second voltage threshold, it indicates that an error may have occurred in the process. In this case, the cutoff voltage is directly set to the initial voltage. In this way, the charging safety of the battery can be improved.

[0021] In some embodiments, the charging method further includes the step of: during the constant voltage charging process of the battery, if the charging chip determines that the battery voltage detected by the fuel gauge is greater than a first voltage threshold, setting the cutoff voltage to the initial voltage.

[0022] That is, when the battery enters the constant voltage charging stage, if the battery voltage detected by the fuel gauge is greater than the first voltage threshold, it indicates that the actual battery voltage is large. At this time, the cut-off voltage is not adjusted to ensure the charging safety of the battery.

[0023] In some embodiments, during constant voltage charging of a battery, if the charging chip determines that the battery voltage detected by the fuel gauge is less than or equal to a first voltage threshold, before increasing the cutoff voltage by a preset voltage, the method may further include the step of periodically detecting whether the battery has entered a constant voltage charging phase. If the battery has entered the constant voltage charging phase, the method then performs the step of increasing the cutoff voltage by a preset voltage if the charging chip determines that the battery voltage detected by the fuel gauge is less than or equal to the first voltage threshold during the constant voltage charging phase, and subsequent steps.

[0024] In some embodiments, during constant-voltage charging of a battery, if the charging chip determines that the battery voltage detected by the fuel gauge is less than or equal to a first voltage threshold, before increasing the cutoff voltage by a preset voltage, the method may further include the step of periodically detecting the battery charging current. If the charging current is within a preset current range, the step of increasing the cutoff voltage by a preset voltage and subsequent steps are performed.

[0025] In some embodiments, during the constant-voltage charging process of a battery, if the charging chip determines that the battery voltage detected by the fuel gauge is less than or equal to a first voltage threshold, before increasing the cutoff voltage by a preset voltage, the method may further include the step of detecting the battery temperature after the battery enters the constant-voltage charging phase. If the battery temperature is within a preset temperature range, the step of increasing the cutoff voltage by a preset voltage and subsequent steps are performed. If the battery temperature is not within the preset temperature range, the cutoff voltage is set to the initial voltage to ensure battery charging safety.

[0026] In some embodiments, the charging method further comprises the step of: if charging of the battery is stopped, setting the cut-off voltage to the initial voltage.

[0027] In a second aspect, an electronic device is provided. The electronic device includes a battery, a charging chip, and a fuel meter. The charging chip includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When executed by the processor, the computer program implements the charging method described in any one of the first aspects.

[0028] The technical effect obtained by the above-mentioned second aspect is similar to the technical effect obtained by the corresponding technical means in the above-mentioned first aspect, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0029] FIG1 is a schematic diagram of a charging scenario of a first electronic device provided in an embodiment of the present application;

[0030] FIG2 is a schematic diagram of a charging scenario of a second electronic device provided in an embodiment of the present application;

[0031] FIG3 is a schematic structural diagram of a first electronic device provided in an embodiment of the present application;

[0032] FIG4 is a charging curve diagram of an electronic device in the related art;

[0033] FIG5 is a schematic structural diagram of a second electronic device provided in an embodiment of the present application;

[0034] FIG6 is a schematic structural diagram of a third electronic device provided in an embodiment of the present application;

[0035] FIG7 is a flow chart of a first charging method provided in an embodiment of the present application;

[0036] FIG8 is a first voltage curve diagram provided in an embodiment of the present application;

[0037] FIG9 is a flow chart of a second charging method provided in an embodiment of the present application;

[0038] FIG10 is a second voltage curve diagram provided in an embodiment of the present application;

[0039] FIG11 is a third voltage curve diagram provided in an embodiment of the present application;

[0040] FIG12 is a flow chart of a third charging method provided in an embodiment of the present application;

[0041] FIG13 is a flow chart of a fourth charging method provided in an embodiment of the present application. DETAILED DESCRIPTION

[0042] In order to make the objectives, technical solutions and advantages of this application clearer, the implementation methods of this application will be further described in detail below with reference to the accompanying drawings.

[0043] It should be understood that the “multiple” mentioned in this application refers to two or more. In the description of this application, unless otherwise specified, “ / ” means or, for example, A / B can mean A or B; “and / or” in this article is merely a description of the association relationship of associated objects, indicating that there can be three relationships, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, in order to facilitate the clear description of the technical solution of this application, words such as “first” and “second” are used to distinguish between identical or similar items with basically the same functions and effects. Those skilled in the art can understand that words such as “first” and “second” do not limit the quantity and execution order, and words such as “first” and “second” do not necessarily limit them to be different.

[0044] Before explaining the charging method provided in the embodiment of the present application in detail, the application scenarios of the charging method are first explained.

[0045] Electronic devices 10 include mobile phones, tablet computers, laptop computers, and the like. Figures 1 and 2 illustrate two different charging scenarios for electronic devices 10. The electronic device 10 shown in Figure 1 is a mobile phone, while the electronic device 10 shown in Figure 2 is a tablet computer. As shown in Figures 1 and 2, a charger 20 includes a power adapter 22 and a charging cable 24 connected to the power adapter 22.

[0046] Taking the electronic device 10 as a mobile phone as an example, FIG3 is a schematic diagram of the structure of an electronic device 10 provided in an embodiment of the present application. As shown in FIG3, the electronic device 10 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging chip 140, a power management module 141, a battery 142, a fuel gauge 143, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone jack 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display 194, and a SIM card interface 195. The sensor module 180 may include a pressure sensor 180A, a gyroscope 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, etc.

[0047] The processor 110 may include one or more processing units, for example: the processor 110 may include an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), a baseband processor and / or a neural-network processing unit (NPU), etc. Among them, different processing units may be independent devices or integrated into one or more processors. In some embodiments, the processor 110 may be a system on chip (SOC) in the electronic device 10. In other embodiments, the processor 110 may also be other devices with processing functions in the electronic device 10 that are independent of the SOC.

[0048] The controller may be the nerve center and command center of the electronic device 10. The controller may generate an operation control signal according to the instruction operation code and the timing signal.

[0049] Processor 110 may also include a memory for storing instructions and data. In some embodiments, the memory in processor 110 is a cache memory. The memory can store instructions or data that have just been used or are being recycled by processor 110. If processor 110 needs to use the instruction or data again, it can directly retrieve it from the memory. This avoids duplicate accesses, reduces processor 110 latency, and thus improves system efficiency.

[0050] In some embodiments, the processor 110 may include one or more interfaces. The interfaces may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface.

[0051] The wireless communication function of the electronic device 10 can be implemented through the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor, the baseband processor, and the like.

[0052] Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals. The structures of Antenna 1 and Antenna 2 in Figure 3 are merely examples. Each antenna in electronic device 10 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization. For example, Antenna 1 can be reused as a diversity antenna for a wireless local area network. In other embodiments, the antennas can be used in conjunction with a tuning switch.

[0053] The mobile communication module 150 can provide solutions for wireless communications including 2G / 3G / 4G / 5G applied to the electronic device 10. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves from the antenna 1, filter, amplify, and process the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modulation and demodulation processor, and convert it into electromagnetic waves for radiation through the antenna 1. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the same device as at least some of the modules of the processor 110.

[0054] The wireless communication module 160 can provide wireless communication solutions including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR), etc., which are applied to the electronic device 10. The wireless communication module 160 can be one or more devices that integrate at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, frequency modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110. The wireless communication module 160 can also receive the signal to be sent from the processor 110, frequency modulate and amplify it, and convert it into electromagnetic waves for radiation through the antenna 2.

[0055] In some embodiments, antenna 1 of electronic device 10 is coupled to mobile communication module 150, and antenna 2 is coupled to wireless communication module 160, so that electronic device 10 can communicate with a network and other devices via wireless communication technologies. Wireless communication technologies may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), wideband code division multiple access (WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC, FM and / or IR technology, etc. GNSS may include global positioning system (GPS), global navigation satellite system (GLONASS), Beidou navigation satellite system (BDS), quasi-zenith satellite system (QZSS) and / or satellite-based augmentation system (SBAS).

[0056] Electronic device 10 implements display functionality through a GPU, display screen 194, and an application processor. A GPU is a microprocessor for image processing that connects display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 110 may include one or more GPUs that execute program instructions to generate or modify display information.

[0057] The internal memory 121 can be used to store computer executable program codes, and the executable program codes include instructions. The processor 110 executes various functional applications and data processing of the electronic device 10 by running the instructions stored in the internal memory 121. The internal memory 121 may include a program storage area and a data storage area. Among them, the program storage area can store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc. The data storage area can store data created during the use of the electronic device 10 (such as audio data, a phone book, etc.), etc. In addition, the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc.

[0058] The SIM card interface 195 is used to connect a SIM card. The SIM card can be connected to and separated from the electronic device 10 by inserting it into or removing it from the SIM card interface 195. The electronic device 10 can support 1 or N SIM card interfaces, where N is a positive integer greater than 1. The SIM card interface 195 can support Nano SIM cards, Micro SIM cards, SIM cards, and the like. Multiple cards can be inserted into the same SIM card interface 195 at the same time. The types of the multiple cards can be the same or different. The SIM card interface 195 can also be compatible with different types of SIM cards. The SIM card interface 195 can also be compatible with external memory cards. The electronic device 10 interacts with the network through the SIM card to implement functions such as calls and data communications. In some embodiments, the electronic device 10 uses an eSIM, i.e., an embedded SIM card. The eSIM card can be embedded in the electronic device 10 and cannot be separated from the electronic device 10.

[0059] The charging chip 140 is connected to the battery 142. When the electronic device 10 is connected to the charger 20, the power output by the charger 20 needs to be input to the battery 142 through the charging chip 140. The charging chip 140 is used to adjust the charging voltage and charging current input to the battery 142.

[0060] The fuel gauge 143 is connected to the battery 142 and the processor 110. When the fuel gauge 143 is working, it can detect the voltage and current of the battery 142, and can obtain the power level of the battery 142 according to the current of the battery 142, and output the voltage and power level of the battery 142 to the processor 110.

[0061] It should be understood that the structures illustrated in the embodiments of the present application do not constitute a specific limitation on the electronic device 10. In other embodiments of the present application, the electronic device 10 may include more or fewer components than shown, or may combine or separate certain components, or arrange the components differently. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.

[0062] It should be understood that FIG3 is merely an example of an electronic device 10 being a mobile phone. If electronic device 10 is another type of device, such as a tablet computer, the structure of electronic device 10 may include fewer or more structures than those shown in FIG3 , without limitation. For example, compared to the mobile phone shown in FIG3 , a tablet computer without mobile communication capabilities at least does not include a mobile communication module.

[0063] Figure 4 is a charging curve diagram of an electronic device 10 in the related art, where curve ① is the charging current curve and curve ② is the voltage curve of battery 142. As shown in Figure 4, in the related art, the charging process of charging chip 140 charging battery 142 is as follows: from the time electronic device 10 is connected to charger 20 to time T01, charging chip 140 controls the charging current input to battery 142 to rapidly increase from 0 to I1, and the voltage of battery 142 increases. From time T01 to time T02, charging chip 140 charges battery 142 with constant current, and battery 142 enters the constant current charging stage, and the voltage of battery 142 gradually increases. From time T02 to time T03, charging chip 140 charges battery 142 with constant voltage, and battery 142 enters the constant voltage charging stage, and the charging current gradually decreases. At time T03, battery 142 reaches full charge, at which point charging chip 140 stops charging battery 142, and the current input to battery 142 rapidly decreases, reaching zero at time T04. Among them, the constant current charging stage may include multiple constant current charging sub-stages, and the charging current input to the battery 142 in each constant current charging sub-stage is different. For example, in the embodiment shown in Figure 4, the constant current charging stage includes three constant current charging sub-stages. In the first constant current charging sub-stage, the charging current input to the battery 142 is constant at I1; in the second constant current charging sub-stage, the charging current input to the battery 142 is constant at I2; in the third constant current charging sub-stage, the charging current input to the battery 142 is constant at I3. In the embodiment shown in Figure 4, the actual capacity of the battery 142 when fully charged is equal to the area of ​​the shaded part, that is, the area of ​​the figure enclosed by the current curve and the horizontal axis, in units of mAh (milliampere hours). It can be seen that when the charging chip 140 stops charging the battery 142, the charging current I0 input to the battery 142 will affect the actual capacity of the battery 142 when fully charged. At the same time, according to Joule's law, the actual capacity of the battery 142 when fully charged is: W=UIt

[0064] Where W is the actual capacity of the battery 142 when fully charged, U is the voltage input to the battery 142, I is the charging current input to the battery 142, and t is the charging time. Therefore, the actual capacity of the battery 142 when fully charged is also related to the voltage of the battery 142 during the constant voltage charging phase.

[0065] In the related art, the charging chip 140 is configured with a cutoff voltage and a cutoff current. During the constant current charging phase, when the charging chip 140 detects that the battery voltage is equal to the cutoff voltage, it begins constant voltage charging of the battery 142 at the cutoff voltage. During this phase, the charging current output by the charging chip 140 to the battery 142 gradually decreases. During the constant voltage charging phase, when the charging chip 140 detects that the charging current is equal to the cutoff current, it determines that the battery 142 has reached the full charge condition and, at this point, the charging chip 140 stops charging the battery 142.

[0066] Because the charging chip 140 has a voltage sampling error when detecting the voltage of the battery 142, and also has a current sampling error when detecting the current of the battery 142, in order to prevent the battery 142 from overcharging, the cut-off voltage is generally less than the rated voltage of the battery 142, and the cut-off current is generally greater than the rated current of the battery 142 when fully charged. Specifically, as shown in FIG4 , during the charging process of the battery 142, the voltage of the battery 142 is continuously increasing. Therefore, if the cut-off voltage is equal to or greater than the rated voltage of the battery 142, the actual voltage of the battery 142 may be greater than the rated voltage, thereby causing the battery 142 to overcharge. Similarly, during the charging process of the battery 142, the charging current is continuously decreasing. Therefore, if the cut-off current is less than or equal to the rated current of the battery 142 when fully charged, the actual charging current may be less than the rated current of the battery 142 when fully charged. As can be seen from FIG4 , this will increase the actual capacity of the battery 142 when fully charged, and may cause the actual capacity of the battery 142 to be greater than the rated capacity.

[0067] However, when the cut-off voltage is less than the rated voltage of the battery 142 and the cut-off current is greater than the rated current of the battery 142 when fully charged, when the charging chip 140 detects that the battery voltage is equal to the cut-off voltage and the charging current is equal to the cut-off current, due to the influence of the voltage sampling error and the current sampling error of the charging chip 140, there may be: V a <V e V BATmin =V a -V d I a >I e I BATmax =I a +I d

[0068] Among them, V a is the cut-off voltage, V eis the rated voltage of the battery 142, V BATmin V is the minimum value of the actual battery voltage when the charging chip 140 detects that the battery voltage is equal to the cut-off voltage. d is the voltage sampling error of the charging chip 140. a is the cut-off current, I e is the rated current of the battery 142 when it is fully charged, I BATmax The maximum value of the actual charging current when the charging chip 140 detects that the charging current is equal to the cut-off current, I d is the current sampling error of the charging chip 140. That is, the actual battery voltage may be at least the difference between the cutoff voltage and the voltage sampling error of the charging chip 140, and the actual charging current may be at most the sum of the cutoff current and the current sampling error of the charging chip 140.

[0069] For example, the cutoff voltage can be set to the difference between the rated voltage of the battery 142 and the voltage sampling error of the charging chip 140. At this time, when the charging chip 140 detects that the battery voltage is equal to the cutoff voltage, that is, when the charging chip 140 performs constant voltage charging on the battery 142, the actual battery voltage may be at least the difference between the rated voltage of the battery 142 and twice the voltage sampling error of the charging chip 140. This will greatly affect the actual capacity of the battery 142 when fully charged. That is, V a =V e -V d V BATmax =V a -V d =V e V BATmin =V a -V d =V e -2×V d

[0070] Among them, V BATmax The maximum value of the actual battery voltage when the charging chip 140 detects that the battery voltage is equal to the cut-off voltage. In other words, the voltage V2 in the embodiment shown in FIG4 is greater than or equal to V BATmin , and is less than or equal to V BATmax As can be seen, when the cutoff voltage is set to the difference between the rated voltage of battery 142 and the voltage sampling error of charging chip 140, when the voltage sampling error of charging chip 140 shifts upward to its maximum value, the actual battery voltage reaches its maximum value, equal to the rated voltage of battery 142. When the voltage sampling error of charging chip 140 shifts downward to its minimum value, the actual battery voltage reaches its minimum value, equal to the difference between the rated voltage of battery 142 and twice the voltage sampling error of charging chip 140. When the actual battery voltage is at its minimum value during full charge, the actual capacity of battery 142 during full charge is at its minimum.

[0071] Similarly, the cutoff current can be set to the sum of the rated current of the battery 142 when fully charged and the current sampling error of the charging chip 140. At this time, when the charging chip 140 detects that the charging current is equal to the cutoff current, the actual charging current may be the sum of the rated current of the battery 142 when fully charged and twice the current sampling error of the charging chip 140. That is, I a =I e +I d I BATmax =I a +I d =I e +2×I d I BATmin =I a -I d =I e

[0072] Among them, I BATmin The minimum value of the actual charging current when the charging chip 140 detects that the charging current is equal to the cut-off current. That is, the current I0 in the embodiment shown in FIG4 is greater than or equal to I BATmin , and less than or equal to I BATmax . It can be seen that when the cut-off current is set to the sum of the rated current of the battery 142 when fully charged and the current sampling error of the charging chip 140, when the current sampling error of the charging chip 140 shifts upward to the maximum value, the actual charging current reaches the maximum value, which is equal to the sum of the rated current of the battery 142 when fully charged and twice the current sampling error of the charging chip 140. When the current sampling error of the charging chip 140 shifts downward to the minimum value, the actual charging current reaches the minimum value, which is equal to the rated current of the battery 142 when fully charged. Among them, when the actual charging current is at the maximum value when the battery 142 is fully charged, the actual capacity of the battery 142 when fully charged is the minimum.

[0073] The following is a detailed explanation of the relevant technology through examples.

[0074] For example, the rated voltage of battery 142 is 4450mV (millivolts), and the rated current of battery 142 when fully charged is 0.025C (coulombs); the voltage sampling error of charging chip 140 is 20mV, and the current sampling error of charging chip 140 is 0.0025C. In this case, to ensure the charging safety of battery 142, the actual battery voltage cannot be greater than 4450mV, and the actual charging current cannot be less than 0.025C. Based on the voltage sampling error of charging chip 140, the maximum cutoff voltage can only be set to 4430mV, and the minimum cutoff current can only be set to 0.0275C. When the cutoff voltage is set to 4430mV, due to the voltage sampling error of charging chip 140, the actual battery voltage of battery 142 when fully charged may be a maximum of 4450mV and a minimum of only 4410mV. When the cutoff current is set to 0.0275C, due to the current sampling error of the charging chip 140, the actual charging current of the battery 142 when fully charged may be as high as 0.029C and as low as 0.025C. The current unit C represents the current rate during charging of the battery 142, with 1C equal to 1A multiplied by 1 second (s). In other words, for a battery 142 with a rated capacity of 5000mAh, 1C equals 5A; for a battery 142 with a rated capacity of 10000mAh, 1C equals 10A.

[0075] According to experiments, when the cut-off current remains unchanged, for a battery 142 with a rated capacity of 5020 mAh (milliampere-hours), the actual battery voltage of the battery 142 when fully charged increases by 8 mV, and the actual capacity of the battery 142 when fully charged can increase by 0.7%, that is, 35.14 mAh.

[0076] In some embodiments, for a battery 142 with a rated capacity of 5000 mAh, the percentage of the actual capacity to the rated capacity when fully charged under different cut-off conditions (including cut-off voltage and cut-off current) is shown in Table 1 below.

[0077] Table 1

[0078] In the embodiment shown in Table 1, the corresponding cutoff voltages for Cases 1A, 1B, and 1C are all 4424 mV and 240 mA, respectively. Case 1A shows that, with a cutoff voltage of 4424 mV and a cutoff current of 240 mA, if the accuracy of the voltage detection by the charging chip 140 shifts downward to its minimum value (at which point the actual battery voltage reaches its minimum value during a full charge) and the accuracy of the current detection by the charging chip 140 shifts upward to its maximum value (at which point the actual charging current reaches its maximum value during a full charge), the actual capacity of the battery 142 at full charge is minimal, at only 93.6% of the rated capacity. Case 1B shows that, with a cutoff voltage of 4424 mV and a cutoff current of 240 mA, if the voltage and current detection accuracy of the charging chip 140 are accurate, the actual capacity of the battery 142 at full charge is 95.8% of the rated capacity. According to situation 1C, when the cut-off voltage is 4424mV and the cut-off current is 240mA, if the accuracy of the voltage detection of the charging chip 140 shifts upward to the maximum value (at this time, the actual battery voltage reaches the maximum value when fully charged) and the accuracy of the current detection of the charging chip 140 shifts downward to the minimum value (at this time, the actual charging current reaches the minimum value when fully charged), the actual capacity of the battery 142 when fully charged is the maximum, reaching 98.5% of the rated capacity.

[0079] In the embodiment shown in Table 1, Cases 2A, 2B, and 2C all correspond to a cutoff voltage of 4430 mV and a cutoff current of 200 mA. Case 2A shows that, with a cutoff voltage of 4430 mV and a cutoff current of 200 mA, if the accuracy of the voltage detection by the charging chip 140 shifts downward to the minimum value and the accuracy of the current detection by the charging chip 140 shifts upward to the maximum value, the actual capacity of the battery 142 when fully charged is at its minimum, only 94.7% of the rated capacity. Case 2B shows that, with a cutoff voltage of 4430 mV and a cutoff current of 200 mA, if the voltage and current detection accuracy of the charging chip 140 are accurate, the actual capacity of the battery 142 when fully charged is 97.3% of the rated capacity. According to situation 2C, when the cut-off voltage is 4430mV and the cut-off current is 200mA, if the accuracy of the voltage detection of the charging chip 140 shifts upward to the maximum value and the accuracy of the current detection of the charging chip 140 shifts downward to the minimum value, the actual capacity of the battery 142 when fully charged is the largest, reaching 99.6% of the rated capacity.

[0080] At the same time, a horizontal comparison between Case 1A and Case 2A, Case 1B and Case 2B, and Case 1C and Case 2C shows that, for the same voltage sampling error and current sampling error, the higher the cutoff voltage and the lower the cutoff current of the charging chip 140, the greater the actual capacity of the battery 142 when fully charged. This shows that increasing the actual battery voltage of the battery 142 when fully charged can increase the actual capacity of the battery 142 when fully charged.

[0081] To this end, an embodiment of the present application provides a charging method and an electronic device, which can increase the actual battery voltage when the battery is fully charged, thereby increasing the actual capacity of the battery when it is fully charged.

[0082] First, the electrical structure of the electronic device to which the charging method provided in the embodiment of the present application is applied is described.

[0083] Since the main concept of the present invention is to increase the actual battery voltage when the battery is fully charged, and does not involve reducing the actual charging current when the battery is fully charged, therefore, in the following description of the embodiments of this application, sampling error refers to voltage sampling error, and does not include current sampling error. In other words, in the following description, the sampling error of the charging chip refers to the voltage sampling error of the charging chip, and the sampling error of the fuel meter refers to the voltage sampling error of the fuel meter.

[0084] Figure 5 is a schematic structural diagram of another electronic device 10 provided in an embodiment of the present application, in which only the structure related to the charging method provided in the embodiment of the present application is shown. As shown in Figure 5, the electronic device 10 includes a charging chip 140, a battery 142, and a fuel gauge 143. The charging chip 140 is connected to the battery 142. When the electronic device 10 is connected to a charger, the electric energy output by the charger needs to be input to the battery 142 through the charging chip 140. The charging chip 140 is used to adjust the charging voltage and charging current input to the battery 142. The charging chip 140 can also detect the battery voltage and charging current. The fuel gauge 143 is connected to the battery 142 and is used to detect the battery voltage. The fuel gauge 143 and the charging chip 140 can also communicate with each other so that the battery voltage detected by the fuel gauge 143 can be output to the charging chip 140. The charging chip 140 is used to execute the charging method provided in the embodiment of the present application. In the embodiment of the present application, the sampling error of the fuel gauge 143 is smaller than the sampling error of the charging chip 140. For example, when the sampling error of the charging chip 140 is 20mV, a fuel gauge 143 with a sampling error of 7.5mV can be selected. In this case, if the actual battery voltage is 4400mV, the battery voltage detected by the charging chip 140 is any value between 4380mV and 4420mV, while the battery voltage detected by the fuel gauge 143 is any value between 4392.5mV and 4407.5mV.

[0085] It should be noted that the charging chip 140 "starts constant voltage charging of the battery 142 at the cutoff voltage when detecting that the battery voltage is equal to the cutoff voltage" is realized by a comparator. The charging chip 140 includes a comparator. The non-inverting input terminal of the comparator is used to input the battery voltage, and the inverting input terminal of the comparator is used to input the reference voltage, that is, the cutoff voltage. When the battery voltage input to the non-inverting input terminal of the comparator is greater than or equal to the cutoff voltage input to the inverting input terminal, the comparator outputs a high-level signal. At this time, the charging chip 140 performs constant voltage charging of the battery 142 at the cutoff voltage. In other words, whether the charging chip 140 performs constant voltage charging on the battery 142 is realized by its circuit structure. Based on this, the charging chip 140 cannot directly control whether to perform constant voltage charging on the battery 142 based on the battery voltage detected by the fuel gauge 143.

[0086] In some embodiments, when the fuel gauge 143 is operating, it detects the battery voltage once every third preset time period and outputs the detected battery voltage to the charging chip 140. The third preset time period here is any time period from 0.1s to 3s, for example, the third preset time period can be 0.1s, 0.5s, 0.8s, 1s, 2s, or 3s.

[0087] In some specific embodiments, the structure of the electronic device 10 can also be shown in Figure 6. As shown in Figure 6, the electronic device 10 can also include a processor 110. The fuel gauge 143 and the charging chip 140 are both communicatively connected to the processor 110. In this way, the battery voltage detected by the fuel gauge 143 can be output to the processor 110 first, and then the processor 110 outputs the battery voltage detected by the fuel gauge 143 to the charging chip 140. The communication connection here can be connected through an I2C (Inter-Integrated Circuit) bus or through a signal processing and multimedia image (SPMI) bus, which will not be repeated here.

[0088] The charging method provided in the embodiment of the present application is explained in detail below.

[0089] FIG7 is a flow chart of a charging method provided in an embodiment of the present application. As shown in FIG7 , the charging method includes the following steps S110 to S120.

[0090] S110 , during the constant voltage charging process of the battery 142 , if the charging chip 140 determines that the battery voltage detected by the fuel gauge 143 is less than or equal to the first voltage threshold, the cutoff voltage is increased by a preset voltage.

[0091] As previously described, during the charging process, when the charging chip 140 detects that the battery voltage is equal to the cut-off voltage, constant voltage charging of the battery 142 begins, i.e., the battery 142 enters the constant voltage charging stage. The charging method provided in the embodiment of the present application is executed after the battery 142 enters the constant voltage charging stage, i.e., during the constant voltage charging process of the battery 142. Similarly, the constant voltage charging stage of the battery 142 may also include multiple constant voltage charging sub-stages, and the actual battery voltage in different constant voltage charging sub-stages may be different.

[0092] The inventive concept of the present embodiment is to increase the actual battery voltage of the fully charged battery 142 by adjusting the cutoff voltage of the charging chip 140. In other words, the cutoff voltage has multiple different values. When the battery 142 enters the constant voltage charging phase, the cutoff voltage is the initial voltage. This initial voltage can be equal to the cutoff voltage value in the related art.

[0093] A first voltage threshold is also provided in the charging chip 140. When the fuel gauge 143 is working, it detects the battery voltage once every third preset time period and outputs the detected battery voltage to the charging chip 140. Here, after the charging chip 140 receives the battery voltage detected by the fuel gauge 143, if it is determined that the battery voltage detected by the fuel gauge 143 is less than or equal to the first voltage threshold, the cut-off voltage is increased by a preset voltage. The value range of the first voltage threshold is: the first voltage threshold is greater than or equal to the difference between the initial voltage and the sampling error of the charging chip 140, and the first voltage threshold is less than or equal to the sum of the initial voltage and the sampling error of the charging chip 140. The first voltage threshold is less than the second voltage threshold. In some specific embodiments, the first voltage threshold is equal to the initial voltage.

[0094] The preset voltage is a voltage value preset within the charging chip 140. For example, the preset voltage can be 5mV, 7.5mV, or 10mV. The value of the preset voltage depends on the specifications of the charging chip 140. Increasing the cutoff voltage by the preset voltage means increasing the current cutoff voltage by the preset voltage to obtain a new cutoff voltage. For example, if the current cutoff voltage is the initial voltage, the sum of the initial voltage and the preset voltage is used as the new cutoff voltage.

[0095] S120, after the cutoff voltage is increased by a preset voltage for a first preset time period, if the charging chip 140 determines that the battery voltage detected by the fuel gauge 143 is greater than the first voltage threshold and less than or equal to the second voltage threshold, the cutoff voltage is maintained unchanged during the constant voltage charging process of the battery 142.

[0096] The first preset duration can be any duration between 1 second and 5 seconds. For example, the first preset duration can be 1 second, 2 seconds, 3 seconds, 4 seconds, or 5 seconds. A second voltage threshold is also provided within the charging chip 140. The second voltage threshold is greater than the first voltage threshold and is less than or equal to the difference between the rated voltage of the battery 142 and the sampling error of the fuel gauge 143. In some specific embodiments, the second voltage threshold is equal to the difference between the rated voltage of the battery 142 and the sampling error of the fuel gauge 143.

[0097] That is, after increasing the cutoff voltage by a preset voltage in step S110, the charging chip 140 first waits for a first preset period of time before comparing the battery voltage detected by the fuel gauge 143 with the first voltage threshold and the second voltage threshold. If the battery voltage detected by the fuel gauge 143 is greater than the first voltage threshold and less than or equal to the second voltage threshold, the battery 142 is charged according to the adjusted cutoff voltage (i.e., the cutoff voltage after the preset voltage is increased in step S110).

[0098] It will be appreciated that before the cutoff voltage is increased by the preset voltage in step S110, the battery voltage detected by the charging chip 140 is equal to the cutoff voltage. After the cutoff voltage is increased by the preset voltage in step S110, the battery voltage detected by the charging chip 140 is less than the cutoff voltage. At this point, the charging chip 140 continues to charge the battery 142, and the actual battery voltage rises until the battery voltage detected by the charging chip 140 equals the cutoff voltage after the preset voltage increase. After the battery voltage detected by the charging chip 140 equals the cutoff voltage after the preset voltage increase, the actual battery voltage stabilizes again. Based on this, the first preset duration should meet the following condition: if the time from the cutoff voltage being increased by the preset voltage until the battery voltage detected by the charging chip 140 equals the cutoff voltage after the preset voltage increase is a fourth preset duration, then the first preset duration should be greater than or equal to the fourth preset duration. For example, if the battery voltage detected by the charging chip 140 equals the cutoff voltage after the preset voltage increase 1 second after the cutoff voltage is increased by the preset voltage, then the first preset duration should be greater than or equal to 1 second.

[0099] In an embodiment of the present application, during constant-voltage charging of battery 142, the charging chip 140 can adjust the cutoff voltage based on the battery voltage detected by the fuel gauge 143, which has a relatively low sampling error. When battery 142 enters the constant-voltage charging phase, the cutoff voltage is the initial voltage. In this case, if the battery voltage detected by the fuel gauge 143 is less than or equal to a first voltage threshold, it indicates that the actual battery voltage is relatively low. At this point, the charging chip 140 increases the cutoff voltage by a preset voltage, i.e., adjusts the cutoff voltage higher. This increase in cutoff voltage will cause the actual battery voltage to change. After a first preset period of time after the cutoff voltage has increased by the preset voltage, the battery voltage detected by the charging chip 140 will equal the cutoff voltage after the increase. At this point, if the battery voltage detected by the fuel gauge 143 is greater than the first voltage threshold and less than or equal to a second voltage threshold, indicating that the actual battery voltage is relatively high, the cutoff voltage will remain unchanged during the constant-voltage charging phase of battery 142. In other words, constant-voltage charging of battery 142 is performed based on the increased cutoff voltage. During this process, since the cut-off voltage is increased and the battery voltage error detected by the fuel gauge 143 is small, the minimum and maximum values ​​of the actual battery voltage when the battery 142 is fully charged will increase, which can increase the actual battery voltage when the battery 142 is fully charged, thereby increasing the actual capacity of the battery 142 when it is fully charged.

[0100] Steps S110 and S120 are described below by taking an example.

[0101] For example, if the rated voltage of battery 142 is 4450 mV, the sampling error of charging chip 140 is 20 mV, the sampling error of fuel gauge 143 is 7.5 mV, the initial voltage is 4430 mV, and the preset voltage is 10 mV, then the first voltage threshold has a value range of [4410 mV, 4450 mV], the second voltage threshold is greater than the first voltage threshold, and the second voltage threshold is less than or equal to 4442.5 mV. In this embodiment, the first voltage threshold is 4430 mV and the second voltage threshold is 4442.5 mV.

[0102] Step S110 specifically includes: after the battery 142 enters the constant voltage charging stage, if the charging chip 140 determines that the battery voltage detected by the fuel gauge 143 is less than or equal to 4430 mV, then the cut-off voltage is increased by 10 mV.

[0103] Specifically, Figure 8 is a voltage curve graph provided by an embodiment of the present application, in which the vertical axis represents the battery voltage detected by the charging chip 140. As shown in Figure 8, at time T1, the battery voltage detected by the charging chip 140 is equal to the cutoff voltage (the cutoff voltage at this time is the initial voltage, i.e., 4430mV), and the battery 142 enters the constant voltage charging phase. However, when the initial voltage is 4430mV, based on the 20mV sampling error of the charging chip 140, the actual battery voltage when the battery 142 enters the constant voltage charging phase is a minimum of 4410mV and a maximum of 4450mV. In this case, the charging chip 140 determines whether the battery voltage detected by the fuel gauge 143 is less than or equal to 4430mV. If the battery voltage detected by the fuel gauge 143 is equal to 4430mV, based on the 7.5mV sampling error of the fuel gauge 143, the actual battery voltage is a minimum of 4422.5mV and a maximum of 4437.5mV. As can be seen, if the battery voltage detected by fuel gauge 143 is less than or equal to 4430 mV, the actual battery voltage is a maximum of 4437.5 mV and a minimum of 4410 mV. In this case, the actual battery voltage is low, so the cutoff voltage is increased by 10 mV to increase the actual battery voltage. In the embodiment shown in Figure 8, the cutoff voltage is increased by 10 mV at time T2, and the increased cutoff voltage is 4440 mV.

[0104] Step S120 is specifically as follows: after the cut-off voltage is increased by 10 mV for a first preset time period, if the charging chip 140 determines that the battery voltage detected by the fuel gauge 143 is greater than 4430 mV and less than or equal to 4442.5 mV, the cut-off voltage is maintained at 4440 mV.

[0105] Specifically, in the embodiment shown in Figure 8 , at time T3, the battery voltage detected by the charging chip 140 is 4440 mV. Therefore, the first predetermined duration should be greater than or equal to the duration from time T2 to time T3. When the cutoff voltage is 4440 mV, the actual battery voltage is a minimum of 4420 mV and a maximum of 4460 mV, given that the charging chip 140 has a 20 mV sampling error.

[0106] In this step, if the battery voltage detected by the fuel gauge 143 is equal to 4430mV, it indicates that the actual battery voltage is at least 4422.5mV and at most 4437.5mV. Therefore, if the charging chip 140 determines that the battery voltage detected by the fuel gauge 143 is greater than 4430mV, it indicates that the actual battery voltage is greater than 4422.5mV. Similarly, if the battery voltage detected by the fuel gauge 143 is equal to 4442.5mV, it indicates that the actual battery voltage is at least 4435mV and at most 4450mV. Therefore, if the charging chip 140 determines that the battery voltage detected by the fuel gauge 143 is greater than 4430mV and less than or equal to 4442.5mV, then the actual battery voltage is greater than 4422.5mV and at most 4450mV.

[0107] That is, in this embodiment, before the cutoff voltage is increased by 10mV, the actual battery voltage is a maximum of 4437.5mV and a minimum of 4410mV. After the cutoff voltage is increased by 10mV, the actual battery voltage is a maximum of 4450mV and is greater than 4422.5mV. Therefore, the charging method provided in the embodiment of the present application can increase the actual battery voltage of the battery 142 when fully charged, thereby increasing the actual capacity of the battery 142 when fully charged.

[0108] The charging method provided in the embodiment of the present application is further expanded below from two different situations.

[0109] 1. In the first case, the cut-off voltage can be increased by multiple preset voltages.

[0110] In some embodiments, the charging method may further include step S001 , setting M equal to 0 when the battery 142 enters the constant voltage charging stage.

[0111] In this case, step S110 may specifically be: during the constant voltage charging process of the battery 142, if the charging chip 140 determines that the battery voltage detected by the fuel gauge 143 is less than or equal to the first voltage threshold, and M is equal to 0, then the cut-off voltage is increased by a preset voltage, and M=M+1.

[0112] In addition, the charging method may further include the following steps S130 and S140.

[0113] S130, after the cut-off voltage is increased by the preset voltage for a first preset time period, if the charging chip 140 determines that the battery voltage detected by the fuel gauge 143 is less than or equal to the first voltage threshold, and M is less than the first preset threshold, the cut-off voltage is increased by the preset voltage, and M=M+1.

[0114] S140, after the cutoff voltage is increased by a preset voltage for a first preset time period, if the charging chip 140 determines that the battery voltage detected by the fuel gauge 143 is less than or equal to the first voltage threshold, and M is greater than or equal to the first preset threshold, the cutoff voltage is set to the initial voltage.

[0115] Steps S130, S140, and S120 are three parallel situations, differing in that: in step S120, the battery voltage detected by the fuel gauge 143 is greater than the first voltage threshold and less than or equal to the second voltage threshold after the cutoff voltage is increased by a preset voltage for a first preset period of time; whereas in steps S130 and S140, the battery voltage detected by the fuel gauge 143 is still less than or equal to the first voltage threshold after the cutoff voltage is increased by a preset voltage for a first preset period of time. This indicates that the actual battery voltage is still low after the cutoff voltage is increased by a preset voltage for a first preset period of time. At this time, if it is determined that M is less than the first preset threshold (i.e., step S130), the cutoff voltage is increased by the preset voltage, and M=M+1. If it is determined that M is greater than or equal to the first preset threshold (i.e., step S140), the cutoff voltage is set to the initial voltage.

[0116] It will be appreciated that, in this embodiment, step S130 may be executed multiple times in a loop to increase the preset voltage multiple times. M may be used to represent the number of times the cutoff voltage is increased by the preset voltage. The first preset threshold is an integer greater than or equal to 2, for example, the first preset threshold is 2, 3, or 4. The first preset threshold represents the threshold number of times the cutoff voltage is increased by the preset voltage.

[0117] Specifically, taking the first preset threshold value of 3 as an example, in step S110, the cutoff voltage is increased by the preset voltage for the first time, with M = 1. If, after the first preset time period after the cutoff voltage is increased by the preset voltage for the first time, the charging chip 140 determines that the battery voltage detected by the fuel gauge 143 is still less than or equal to the first voltage threshold, and M = 1 < 3, the cutoff voltage is increased by the preset voltage for a second time, with M = 2 (i.e., step S130 is executed for the first time). If, after the first preset time period after the cutoff voltage is increased by the preset voltage for the second time, the charging chip 140 determines that the battery voltage detected by the fuel gauge 143 is still less than or equal to the first voltage threshold, and M = 2 < 3, the cutoff voltage is increased by the preset voltage for a third time, with M = 3 (i.e., step S130 is executed for the second time). If, after the first preset time period after the cutoff voltage is increased by the preset voltage for the third time, the charging chip 140 determines that the battery voltage detected by the fuel gauge 143 is still less than or equal to the first voltage threshold, and M = 3, the cutoff voltage is set to the initial voltage (i.e., step S140 is executed).

[0118] In this embodiment, the cutoff voltage can be increased by multiple preset voltages, thereby increasing the actual battery voltage of battery 142 when fully charged, and thus increasing the actual capacity of battery 142 when fully charged. Furthermore, by adjusting the first preset threshold, the cutoff voltage can be prevented from being increased by too many preset voltages, potentially leading to overcharging of battery 142. Furthermore, if the battery voltage detected by fuel gauge 143 is still less than or equal to the first voltage threshold after the cutoff voltage has increased by a preset voltage a threshold number of times, this indicates a possible error in the process. In this case, the cutoff voltage is directly set to the initial voltage. This improves the charging safety of battery 142.

[0119] FIG9 is a flow chart of another charging method provided by an embodiment of the present application, which includes all the contents of steps S110 to S140. The charging method provided by an embodiment of the present application will be described below with reference to FIG9 by way of example.

[0120] Taking the rated voltage of the battery 142 as 4450mV, the sampling error of the charging chip 140 as 20mV, the sampling error of the fuel gauge 143 as 7.5mV, the initial voltage as 4430mV, the preset voltage as 10mV, the first voltage threshold as 4430mV, the second voltage threshold as 4442.5mV, and the first preset threshold as 3 as an example, the charging method may include steps S1 to S9.

[0121] S1, when the battery 142 enters the constant voltage charging stage, set M=0.

[0122] Figure 9 is another voltage curve diagram provided by an embodiment of the present application, where the vertical axis represents the battery voltage detected by the charging chip 140. As shown in Figure 9, at time T1, the battery voltage detected by the charging chip 140 equals the cutoff voltage (the cutoff voltage at this time is the initial voltage, i.e., 4430 mV), and the battery 142 enters the constant voltage charging phase. At this time, let M = 0.

[0123] When the initial voltage is 4430 mV, based on the 20 mV sampling error of the charging chip 140 , when the battery 142 enters the constant voltage charging stage, the actual battery voltage is at least 4410 mV and at most 4450 mV.

[0124] S2, determining whether the battery voltage detected by the fuel gauge 143 is greater than a first voltage threshold.

[0125] It is determined whether the battery voltage detected by the fuel gauge 143 is greater than 4430 mV. If the determination result of step S2 is no, that is, the battery voltage detected by the fuel gauge 143 is less than or equal to 4430 mV, step S3 is executed.

[0126] If the battery voltage detected by the fuel gauge 143 is 4430 mV, the actual battery voltage is a minimum of 4422.5 mV and a maximum of 4437.5 mV, based on a 7.5 mV sampling error of the fuel gauge 143. Therefore, if the battery voltage detected by the fuel gauge 143 is less than or equal to 4430 mV, the actual battery voltage is a maximum of 4437.5 mV and a minimum of 4410 mV.

[0127] S3 , the cut-off voltage is increased by a preset voltage, and M=M+1.

[0128] In the embodiment shown in FIG. 10 , the cut-off voltage is increased by a preset voltage (ie, 10 mV) at time T2 , and the increased cut-off voltage is 4440 mV. At this time, M=1.

[0129] S4, waiting for a first preset time period.

[0130] In the embodiment shown in Figure 10, at time T3, the battery voltage detected by the charging chip 140 is equal to 4440 mV. Therefore, the first preset time should be greater than or equal to the time from time T2 to time T3.

[0131] When the battery voltage detected by the charging chip 140 is equal to 4440 mV, based on the sampling error of 20 mV of the charging chip 140 , the actual battery voltage is a minimum of 4420 mV and a maximum of 4460 mV.

[0132] S5 , determining whether the battery voltage detected by the fuel gauge 143 is greater than a first voltage threshold.

[0133] It is again determined whether the battery voltage detected by the fuel gauge 143 is greater than 4430 mV. If the determination result of step S5 is no, that is, the battery voltage detected by the fuel gauge 143 is less than or equal to 4430 mV, step S7 is executed.

[0134] When the battery voltage detected by the fuel gauge 143 is less than or equal to 4430 mV, it indicates that the actual battery voltage is 4437.5 mV at most and 4420 mV at least.

[0135] S7, determine whether M is less than a first preset threshold.

[0136] Determine whether M is less than 3. As can be seen from step S2, M=1 at this time, so the judgment result of step S7 is yes. In this case, return to step S3.

[0137] First cycle of steps S3 to S5: In the embodiment shown in Figure 10, step S3 is executed again at time T4, where the cutoff voltage is 4450 mV and M = 2. According to steps S4 and S5, at time T5, the battery voltage detected by the charging chip 140 is equal to 4450 mV. The actual battery voltage is a minimum of 4430 mV and a maximum of 4470 mV. At this point, it is again determined whether the battery voltage detected by the fuel gauge 143 is greater than 4430 mV. If the battery voltage detected by the fuel gauge 143 is less than or equal to 4430 mV, it indicates that the actual battery voltage is a maximum of 4437.5 mV and a minimum of 4430 mV. At this point, according to step S7, it is again determined whether M is less than 3. Since M = 2, the determination result is yes. In this case, the process returns to step S3.

[0138] Second cycle of steps S3 to S5: After executing step S3 again (not shown in FIG. 10 ), the cutoff voltage is 4460 mV, and M = 3. Based on this, after waiting for the first preset time period again, the actual battery voltage is a minimum of 4440 mV and a maximum of 4480 mV. At this point, it is again determined whether the battery voltage detected by the fuel gauge 143 is greater than 4430 mV. If the battery voltage detected by the fuel gauge 143 is less than or equal to 4430 mV, it indicates that the actual battery voltage is a maximum of 4437.5 mV and a minimum of 4430 mV. In this case, at least one of the fuel gauge 143 and the charging chip 140 is faulty. At this point, it is again determined whether M is less than 3 according to step S7. Since M = 3, the determination result is negative, and in this case, step S9 is executed. In some other embodiments, when step S9 is executed after step S7, the charging chip 140 may also output a fault signal to the processor 110 of the electronic device 10. After receiving the fault signal, the processor 110 displays the fault information on the display screen of the electronic device 10. The fault information is used to indicate that an error has occurred in the charging process of the electronic device 10.

[0139] S9, setting the cutoff voltage to the initial voltage.

[0140] That is to say, when the cut-off voltage increases by the preset voltage a number of times to reach the threshold number, if the battery voltage detected by the fuel gauge 143 is still less than or equal to the first voltage threshold, it indicates that an error may have occurred in the process (the fuel gauge 143 or the charging chip 140 is faulty). At this time, for the sake of charging safety, the adjustment of the cut-off voltage is abandoned and the cut-off voltage is set to the initial voltage of 4430mV.

[0141] In step S5, if the determination result is yes, that is, the battery voltage detected by the fuel gauge 143 is greater than 4430 mV, step S6 is executed. The battery voltage detected by the fuel gauge 143 being greater than 4430 mV indicates that the actual battery voltage is greater than 4422.5 mV.

[0142] S6 , determining whether the battery voltage detected by the fuel gauge 143 is less than or equal to a second voltage threshold.

[0143] Determine whether the battery voltage detected by the fuel gauge 143 is less than or equal to 4442.5mV. If the battery voltage detected by the fuel gauge 143 is equal to 4442.5mV, it indicates that the actual battery voltage is a minimum of 4435mV and a maximum of 4450mV. Therefore, if the charging chip 140 determines that the battery voltage detected by the fuel gauge 143 is greater than 4430mV and less than or equal to 4442.5mV, then the actual battery voltage is greater than 4422.5mV and a maximum of 4450mV. In this case, the actual battery voltage of the battery 142 when fully charged is increased without causing overcharging of the battery 142, so step S8 can be executed.

[0144] S8, charging the battery 142 according to the adjusted cut-off voltage.

[0145] That is, after the cut-off voltage is increased by a preset voltage for a first preset time period, if the battery voltage detected by the fuel gauge 143 is greater than 4430 mV and less than or equal to 4442.5 mV, the battery 142 is charged according to the adjusted cut-off voltage.

[0146] 2. In the second case, the cut-off voltage can be reduced by a preset voltage.

[0147] In some embodiments, after step S110 , the charging method may further include the following steps S150 and S160 .

[0148] S150 , after the cutoff voltage is increased by a preset voltage for a first preset time period, if the charging chip 140 determines that the battery voltage detected by the fuel gauge 143 is greater than the first voltage threshold and greater than the second voltage threshold, the cutoff voltage is reduced by a preset voltage.

[0149] Step S150 is a parallel case to step S120, with the difference being that in step S120, the battery voltage detected by the fuel gauge 143 is greater than the first voltage threshold and less than or equal to the second voltage threshold after the first preset time period after the cutoff voltage is increased by the preset voltage. In contrast, in step S150, the battery voltage detected by the fuel gauge 143 is greater than the second voltage threshold after the first preset time period after the cutoff voltage is increased by the preset voltage. It will be understood that after the cutoff voltage is reduced, the current output by the charging chip 140 to the battery 142 decreases, and the actual battery voltage will drop.

[0150] S160, after reducing the cutoff voltage by a preset voltage for a first preset time period, if the charging chip 140 determines that the battery voltage detected by the fuel gauge 143 is greater than the first voltage threshold and less than or equal to the second voltage threshold, the cutoff voltage is maintained unchanged during the constant voltage charging process of the battery 142.

[0151] In an embodiment of the present application, when the battery voltage detected by the fuel gauge 143 is greater than the second voltage threshold, it indicates that the actual battery voltage is too high. In this case, the cut-off voltage can be reduced by a preset voltage to reduce the actual battery voltage, so that the battery voltage detected by the fuel gauge 143 is greater than the first voltage threshold and less than or equal to the second voltage threshold. That is, in the present application, only when the battery voltage detected by the fuel gauge 143 is greater than the first voltage threshold and less than or equal to the second voltage threshold after the cut-off voltage is adjusted, the battery 142 will be charged according to the adjusted cut-off voltage. In this way, the actual battery voltage of the battery 142 when fully charged can be increased, the actual capacity of the battery 142 when fully charged can be increased, and the charging safety of the battery 142 can be improved.

[0152] Steps S150 and S160 are described below by taking an example.

[0153] Taking the rated voltage of the battery 142 as 4450mV, the sampling error of the charging chip 140 as 20mV, the sampling error of the fuel gauge 143 as 7.5mV, the initial voltage as 4430mV, the preset voltage as 10mV, the first voltage threshold as 4430mV, and the second voltage threshold as 4442.5mV as an example, then: after the cut-off voltage is increased by the preset voltage in step S110, the cut-off voltage is 4440mV.

[0154] Step S150 is specifically as follows: after the cut-off voltage is increased by 10 mV for a first preset time period, if the charging chip 140 determines that the battery voltage detected by the fuel gauge 143 is greater than 4442.5 mV, the cut-off voltage is reduced by 10 mV.

[0155] Specifically, Figure 11 is another voltage curve graph provided by an embodiment of the present application, where the vertical axis represents the battery voltage detected by the charging chip 140. As shown in Figure 11, in step S110, the cutoff voltage is increased by 10mV at time T2, resulting in a cutoff voltage of 4440mV. At time T3, the battery voltage detected by the charging chip 140 is equal to 4440mV. In this case, after time T3, due to the 20mV sampling error of the charging chip 140, the actual battery voltage is a minimum of 4420mV and a maximum of 4460mV.

[0156] In this step, if the battery voltage detected by the fuel gauge 143 is the second voltage threshold, i.e., 4442.5mV, it indicates that the actual battery voltage is a minimum of 4435mV and a maximum of 4450mV. Therefore, if the battery voltage detected by the fuel gauge 143 is greater than 4442.5mV, it indicates that the actual battery voltage may be greater than 4450mV. In this case, the battery 142 is overcharged, posing a safety hazard. Therefore, it is necessary to reduce the cut-off voltage by 10mV. In the embodiment shown in Figure 8, at time T6, the cut-off voltage is reduced by 10mV, and the reduced cut-off voltage is 4430mV. At time T7, the battery voltage detected by the charging chip 140 is equal to 4430mV. The first preset duration is greater than or equal to the duration from time T6 to time T7.

[0157] In this possible case, the cut-off voltage may also be reduced by a plurality of preset voltages, which will be described in detail below.

[0158] In some embodiments, the charging method may further include step S002 , setting N to 0 when the battery 142 enters the constant voltage charging stage.

[0159] In this case, step S150 may specifically be: after the cut-off voltage is increased by a preset voltage for a first preset time period, if the charging chip 140 determines that the battery voltage detected by the fuel gauge 143 is greater than the first voltage threshold and greater than the second voltage threshold, and N is equal to 0, then the cut-off voltage is reduced by the preset voltage, and N=N+1.

[0160] In addition, the charging method may further include the following steps S170 and S180.

[0161] S170, after the cut-off voltage is reduced by the preset voltage for a first preset time period, if the charging chip 140 determines that the battery voltage detected by the fuel gauge 143 is greater than the first voltage threshold and greater than the second voltage threshold, and N is less than the second preset threshold, then the cut-off voltage is reduced by the preset voltage, and N=N+1.

[0162] S180, after the cutoff voltage is reduced by a preset voltage for a first preset time period, if the charging chip 140 determines that the battery voltage detected by the fuel gauge 143 is greater than the first voltage threshold and greater than the second voltage threshold, and N is greater than or equal to the second preset threshold, then the cutoff voltage is set to the initial voltage.

[0163] Steps S170 and S180 are two parallel cases. It will be appreciated that in this embodiment, step S170 can be executed repeatedly to reduce the preset voltage multiple times. N can be used to represent the number of times the cutoff voltage is reduced by the preset voltage. The second preset threshold is an integer greater than or equal to 2, for example, the second preset threshold is 2, 3, or 4. The second preset value represents the threshold number of times the cutoff voltage is reduced by the preset voltage.

[0164] Specifically, taking the second preset threshold value of 3 as an example, in step S150, the cutoff voltage is reduced by the preset voltage for the first time, with N = 1. If, after the first preset time period after the cutoff voltage is reduced by the preset voltage for the first time, the charging chip 140 determines that the battery voltage detected by the fuel gauge 143 is still greater than the second voltage threshold, and N = 1 < 3, the cutoff voltage is reduced by the preset voltage for a second time, with N = 2 (i.e., step S170 is executed for the first time). If, after the first preset time period after the cutoff voltage is reduced by the preset voltage for the second time, the charging chip 140 determines that the battery voltage detected by the fuel gauge 143 is still greater than the second voltage threshold, and N = 2 < 3, the cutoff voltage is reduced by the preset voltage for a third time, with N = 3 (i.e., step S170 is executed for the second time). If, after the first preset time period after the cutoff voltage is reduced by the preset voltage for the third time, the charging chip 140 determines that the battery voltage detected by the fuel gauge 143 is still greater than the second voltage threshold, and M = 3, the cutoff voltage is set to the initial voltage (i.e., step S180 is executed).

[0165] In this embodiment, the cutoff voltage can be reduced by multiple preset voltages to prevent overcharging of battery 142. Furthermore, the first preset threshold can be adjusted to prevent the cutoff voltage from being reduced by too many preset voltages, resulting in the actual battery voltage being too low. Furthermore, if the battery voltage detected by fuel gauge 143 is still greater than the second voltage threshold after the cutoff voltage has been reduced by a preset voltage a threshold number of times, this indicates a possible error in the process. In this case, the cutoff voltage is directly set to the initial voltage. This improves the charging safety of battery 142.

[0166] Figure 12 is a flowchart of another charging method provided in an embodiment of the present application, which includes all of steps S110 to S180. In the embodiment shown in Figure 12, steps S2 to S9 are the same as those shown in Figure 9 and are not repeated here. Unlike the embodiment shown in Figure 9, in the embodiment shown in Figure 12, step S1 is replaced by step S1A, and steps S10 and S11 are added.

[0167] S1A, when the battery 142 enters the constant voltage charging stage, M=0 and N=0.

[0168] That is, when battery 142 enters the constant-voltage charging phase, M and N are both set to 0. In this embodiment, steps S3 through S5 may be repeated several times until the determination result in step S5 is yes. Subsequently, if the determination result in step S6 is no (still using the values ​​in steps S1 through S9 as an example), the actual battery voltage may be greater than 4450 mV. In this case, battery 142 is overcharged. At this point, step S10 is executed.

[0169] S10 , the cut-off voltage is reduced by a preset voltage, and N=N+1.

[0170] Assume that when executing step S6, M=2, that is, the cutoff voltage increases by the preset voltage twice, and the cutoff voltage is 4450mV, and the judgment result of step S6 is No. Then, after executing step S10, the cutoff voltage is 4440mV, and N=1.

[0171] S11, determining whether N is less than a second preset threshold.

[0172] Determine whether N is less than 3. As can be seen from step S10, N=1 at this time, so the determination result of step S11 is yes. In this case, return to execute steps S4 to S6.

[0173] In the first cycle of steps S4 to S6, the cutoff voltage of the charging chip 140 is 4440 mV. The actual battery voltage is a minimum of 4420 mV and a maximum of 4460 mV. Steps S5 and S6 are then executed again. If the result of step S6 is negative, step S10 is executed again, yielding the result: the cutoff voltage is 4430 mV, and N = 2. Step S11 is executed again, and since N = 2, the result is positive. In this case, the process returns to steps S4 to S6.

[0174] Second cycle of steps S4 to S6: The cutoff voltage of the charging chip 140 is 4430mV, so the actual battery voltage is a minimum of 4410mV and a maximum of 4450mV. At this point, steps S5 and S6 are executed again. If the judgment result of step S6 is negative, step S10 is executed again, and the result is: the cutoff voltage is 4420mV, N=3. Step S11 is executed again. Since N=3, the judgment result is negative. In this case, step S9 is executed. In some other embodiments, when step S9 is executed after step S11, the charging chip 140 may also output a fault signal to the processor 110 of the electronic device 10.

[0175] It can be understood that, in the embodiment of the present application, the first preset threshold and the second preset threshold can be adjusted according to the initial voltage, the preset voltage, the first voltage threshold and the second voltage threshold.

[0176] In some embodiments, the charging method may further include step S190 , during the constant voltage charging process of the battery 142 , if the charging chip 140 determines that the battery voltage detected by the fuel gauge 143 is greater than the first voltage threshold, then the cutoff voltage is set to the initial voltage.

[0177] Step S190 and step S110 are two parallel cases. That is, when battery 142 enters the constant voltage charging stage, if the battery voltage detected by fuel gauge 143 is greater than the first voltage threshold, it indicates that the actual battery voltage is relatively high. In this case, the cutoff voltage is not adjusted to ensure the charging safety of battery 142.

[0178] Continuing with the example of battery 142 with a rated voltage of 4450mV, a sampling error of 20mV for charging chip 140, a sampling error of 7.5mV for fuel gauge 143, an initial voltage of 4430mV, a preset voltage of 10mV, a first voltage threshold of 4430mV, and a second voltage threshold of 4442.5mV, when battery 142 enters the constant-voltage charging phase, if the battery voltage detected by fuel gauge 143 is greater than 4430mV, it indicates that the actual battery voltage is greater than 4422.5mV. In this case, the actual battery voltage is too high, and for safety reasons, the cutoff voltage is not increased.

[0179] In some embodiments, the charging method of the present application may further include step S210 before step S110 , where the charging chip 140 periodically detects whether the battery 142 enters a constant voltage charging phase.

[0180] Specifically, as described above, step S110 and subsequent steps are performed after the battery 142 enters the constant-voltage charging phase. Therefore, before executing step S110, the charging chip 140 can periodically detect whether the battery 142 has entered the constant-voltage charging phase. For example, the charging chip 140 can determine whether the battery 142 has entered the constant-voltage charging phase by detecting whether the battery voltage is equal to the cutoff voltage. Alternatively, the charging chip 140 can determine whether the battery 142 has entered the constant-voltage charging phase by reading information stored in its register. If the battery 142 has entered the constant-voltage charging phase, steps S110 to S190 are executed. The periodic detection of whether the battery 142 has entered the constant-voltage charging phase can be performed every second preset time interval. The second preset time interval can be any time between 5 seconds and 30 seconds. For example, the second preset time interval can be 5 seconds, 10 seconds, 15 seconds, 20 seconds, 25 seconds, or 30 seconds.

[0181] In some embodiments, the charging method of the present application may further include step S240, where the cut-off voltage is set to the initial voltage after charging is completed.

[0182] Specifically, as mentioned above, the inventive idea of ​​the embodiment of the present application is to increase the actual battery voltage when the battery 142 is fully charged by adjusting the cutoff voltage of the charging chip 140. In addition, when the battery 142 enters the constant voltage charging stage, the cutoff voltage is the initial voltage. Therefore, in order to smoothly implement the charging method of the present application, the charging chip can set the cutoff voltage to the initial voltage after the charging is completed. The end of charging here means that the electronic device 10 is disconnected from the charger 20, that is, the charging chip 140 no longer inputs electrical energy. In some other embodiments, step S240 can also be executed when the electronic device 10 starts charging. That is, when the electronic device 10 is connected to the charger 20 and the charging chip 140 starts to input electrical energy, the cutoff voltage is set to the initial voltage.

[0183] In some embodiments, the charging method of the present application may further include step S220 before step S110 , where the charging chip 140 periodically detects the charging current of the battery 142 .

[0184] Specifically, before executing step S110, the charging chip 140 may periodically detect the charging current output by the charging chip 140 to the battery 142. If the charging current is within a preset current range, steps S110 to S190 are executed. The periodic detection of the charging current of the battery 142 may include detecting the charging current of the battery 142 once every second preset time interval, or once every other preset time interval.

[0185] As shown in Figure 3, during the constant voltage charging phase, the charging current output by the charging chip 140 to the battery 142 continuously decreases. Because the greater the charging current, the greater the battery voltage fluctuation caused by the characteristics of the battery 142, and the less accurate the sampling, in this embodiment of the application, step S110 can be executed only when the charging current is less than a certain current threshold. The minimum value of the preset current range should be greater than the cutoff current.

[0186] In some embodiments, the charging method of the present application may further include the following steps S232 , S234 and S236 before step S110 .

[0187] S232 , the charging chip 140 detects the temperature of the battery 142 after the battery 142 enters the constant voltage charging stage.

[0188] S234, if the temperature of the battery 142 is within the preset temperature range, the charging chip 140 executes the steps of increasing the cut-off voltage by the preset voltage and subsequent steps during the constant voltage charging process of the battery 142, if the charging chip 140 determines that the battery voltage detected by the fuel gauge 143 is less than or equal to the first voltage threshold.

[0189] S236 , if the temperature of the battery 142 is not within the preset temperature range, the charging chip 140 sets the cutoff voltage to the initial voltage.

[0190] Step S232 is executed before step S110. That is to say, in the constant voltage charging stage, the charging chip 140 needs to first detect the temperature of the battery 142. If the temperature of the battery 142 is within the preset temperature range, the charging chip 140 executes step S110 and subsequent steps. If the temperature of the battery 142 is not within the preset temperature range, the charging chip 140 sets the cut-off voltage to the initial voltage to ensure the charging safety of the battery 142. In some embodiments, the minimum value of the preset temperature range can be any value from 0°C (degrees Celsius) to 20°C, and the maximum value of the preset temperature range can be any value from 40°C to 60°C. In some specific embodiments, the preset temperature range is 10°C to 45°C.

[0191] The following, in conjunction with the accompanying drawings, describes in detail the charging method provided in the embodiment of the present application from five different situations of a specific implementation method.

[0192] FIG13 is a flow chart of another charging method provided in an embodiment of the present application. As shown in FIG13 , the charging method may include the following steps S12 to S15, S1A to S11, and S16.

[0193] S12, whether to enter the constant voltage charging stage.

[0194] The charging chip 140 detects whether the battery 142 has entered the constant voltage charging phase. If the determination result of step S12 is no, step S13 is executed. If the determination result of step S12 is yes, step S14 is executed.

[0195] S13, waiting for a second preset time period.

[0196] After step S13 is completed, the process returns to step S12. That is, if the battery 142 has not entered the constant voltage charging stage, the charging chip 140 periodically (each second predetermined time interval is a period) detects whether the battery 142 has entered the constant voltage charging stage.

[0197] S14, whether the charging current is within the preset range.

[0198] The charging chip 140 detects whether the charging current output to the battery 142 is within a preset range. If the result of step S14 is negative, step S13 is executed. That is, the charging chip 140 periodically (each period is a second preset time interval) detects the charging current of the battery 142 until the charging current is within the preset current range.

[0199] If the determination result of step S14 is yes, step S15 is executed.

[0200] S15, whether the temperature of the battery 142 is within a preset temperature range.

[0201] The charging chip 140 detects the temperature of the battery 142. If the temperature of the battery 142 is within the preset temperature range, step S1A is executed. If the temperature of the battery 142 is not within the preset temperature range, the charging method is exited and step S9 is executed.

[0202] S1A, when the battery 142 enters the constant voltage charging stage, M=0 and N=0.

[0203] It will be appreciated that the phrase "when battery 142 enters the constant voltage charging phase" in step S1A is intended to define step S1A as preceding step S2. In some embodiments, the steps of setting M = 0 and N = 0 may be performed simultaneously with step S14. In other embodiments, the steps of setting M = 0 and N = 0 may also be performed after step S15 and before step S2.

[0204] S2, determining whether the battery voltage detected by the fuel gauge 143 is greater than a first voltage threshold.

[0205] The charging chip 140 determines whether the battery voltage detected by the fuel gauge 143 is greater than a preset first voltage threshold. If the determination result of step S2 is yes, step S9 is executed. If the determination result of step S2 is no, step S3 is executed.

[0206] S3 , the cut-off voltage is increased by a preset voltage, and M=M+1.

[0207] S4, waiting for a first preset time period.

[0208] S5 , determining whether the battery voltage detected by the fuel gauge 143 is greater than a first voltage threshold.

[0209] After the cut-off voltage increases by a predetermined voltage for a first predetermined time period, it is determined again whether the battery voltage detected by the fuel gauge 143 is greater than the first voltage threshold. If the determination result of step S5 is yes, step S6 is executed. If the determination result of step S5 is no, step S7 is executed.

[0210] S6 , determining whether the battery voltage detected by the fuel gauge 143 is less than or equal to a second voltage threshold.

[0211] After the cut-off voltage increases by a predetermined voltage for a first predetermined period of time, if the battery voltage detected by the fuel gauge 143 is greater than the first voltage threshold, it is further determined whether the battery voltage detected by the fuel gauge 143 is less than or equal to the second voltage threshold. If the determination result of step S6 is yes, step S8 is executed. If the determination result of step S6 is no, step S10 is executed.

[0212] S8, charging the battery 142 according to the adjusted cut-off voltage.

[0213] That is, after a first preset time period after adjusting the cut-off voltage, if the battery voltage detected by the fuel gauge 143 is greater than the first voltage threshold and less than or equal to the second voltage threshold, the battery 142 is charged according to the adjusted cut-off voltage.

[0214] S7, determining whether M is less than a first preset threshold.

[0215] If the judgment result of step S7 is yes, then the process returns to step S3. If the judgment result of step S7 is no, then the process goes to step S9.

[0216] S10 , the cut-off voltage is reduced by a preset voltage, and N=N+1.

[0217] S11, determining whether N is less than a second preset threshold.

[0218] If the judgment result of step S11 is yes, the process returns to step S4. If the judgment result of step S11 is no, the process goes to step S9.

[0219] S9, setting the cutoff voltage to the initial voltage.

[0220] S16, after charging is completed, the cut-off voltage is set to the initial voltage.

[0221] The following examples illustrate five possible scenarios in this specific embodiment. In these five scenarios, the rated voltage of battery 142 is 4450 mV, the sampling error of charging chip 140 is 20 mV, the sampling error of fuel gauge 143 is 7.5 mV, the initial voltage is 4430 mV, the preset voltage is 10 mV, the first voltage threshold is 4430 mV, the second voltage threshold is 4442.5 mV, and both the first and second preset thresholds are 3. In these five scenarios, the judgment results of steps S12, S14, and S15 are all yes. Therefore, the description of these five possible scenarios begins with step S1A.

[0222] (1) The first possible scenario

[0223] When the battery enters the constant-voltage charging phase, charging chip 140 sets M and N to 0. At this point, the battery voltage detected by fuel gauge 143, received by charging chip 140, is 4435 mV, which is greater than 4430 mV. Therefore, the result of step S2 is yes. In this case, constant-voltage charging is performed directly on battery 142 based on the initial voltage. In other words, the cutoff voltage is 4430 mV.

[0224] In this possible situation, based on the fact that the fuel gauge 143 has a sampling error of 7.5 mV, the actual battery voltage is a minimum of 4427.5 mV and a maximum of 4442.5 mV.

[0225] (2) The second possible scenario

[0226] When the battery enters the constant voltage charging phase, the charging chip 140 sets M and N to 0. At this point, the battery voltage detected by the fuel gauge 143, received by the charging chip 140, is 4415 mV, which is less than 4430 mV. Therefore, the result of step S2 is negative. In this case, the cutoff voltage is increased by 10 mV, and M = M + 1. At this point, the cutoff voltage is adjusted to 4440 mV, and M = 1.

[0227] After waiting for the first preset time, the battery voltage detected by the fuel gauge 143 and received by the charging chip 140 is 4440 mV, which is greater than 4430 mV and less than 4442.5 mV. Therefore, the judgment results of steps S5 and S6 are both yes. In this case, constant voltage charging is performed on the battery 142 according to the adjusted cutoff voltage. In other words, the cutoff voltage is 4440 mV.

[0228] In this possible scenario, before the cutoff voltage is adjusted, the actual battery voltage is a minimum of 4410 mV and a maximum of 4422.5 mV, due to the 7.5 mV sampling error of the fuel gauge 143. After the cutoff voltage is adjusted, the actual battery voltage is a minimum of 4432.5 mV and a maximum of 4447.5 mV. This shows that the actual battery voltage of the fully charged battery 142 is increased, thereby increasing the actual capacity of the fully charged battery 142.

[0229] (3) The third possible scenario

[0230] When the battery enters the constant voltage charging phase, the charging chip 140 sets M and N to 0. At this point, the battery voltage detected by the fuel gauge 143, received by the charging chip 140, is 4415 mV, which is less than 4430 mV. Therefore, the result of step S2 is negative. In this case, the cutoff voltage is increased by 10 mV, and M = M + 1. At this point, the cutoff voltage is adjusted to 4440 mV, and M = 1.

[0231] After waiting for the first preset time, the battery voltage detected by the fuel gauge 143 and received by the charging chip 140 is 4445mV, which is greater than 4430mV and greater than 4442.5mV. Therefore, the judgment result of step S5 is yes, and the judgment result of step S6 is no. In this case, the cutoff voltage is reduced by 10mV, and N=N+1. At this time, the cutoff voltage is adjusted to 4430mV, and N=1.

[0232] Since N = 1, the result of step S11 is yes, and the process returns to step S4. After waiting for the first preset time, the battery voltage detected by fuel gauge 143, received by charging chip 140, is 4435mV, which is greater than 4430mV and less than 4442.5mV. Therefore, the results of steps S5 and S6 are both yes. In this case, constant voltage charging is performed on battery 142 based on the last adjusted cutoff voltage. In other words, the cutoff voltage is 4430mV.

[0233] In this possible scenario, before the cutoff voltage adjustment, the actual battery voltage is a minimum of 4410 mV and a maximum of 4422.5 mV, due to the 7.5 mV sampling error of the fuel gauge 143. After the cutoff voltage adjustment, the actual battery voltage is a minimum of 4427.5 mV and a maximum of 4442.5 mV. This shows that the actual battery voltage of the fully charged battery 142 is increased, thereby increasing the actual capacity of the fully charged battery 142.

[0234] (4) The fourth possible scenario

[0235] When the battery enters the constant voltage charging phase, the charging chip 140 sets M and N to 0. At this point, the battery voltage detected by the fuel gauge 143, received by the charging chip 140, is 4415 mV, which is less than 4430 mV. Therefore, the result of step S2 is negative. In this case, the cutoff voltage is increased by 10 mV, and M = M + 1. At this point, the cutoff voltage is adjusted to 4440 mV, and M = 1.

[0236] After waiting for the first preset time, the battery voltage detected by the fuel gauge 143 and received by the charging chip 140 is 4445mV, which is greater than 4430mV and greater than 4442.5mV. Therefore, the judgment result of step S5 is yes, and the judgment result of step S6 is no. In this case, the cutoff voltage is reduced by 10mV, and N=N+1. At this time, the cutoff voltage is adjusted to 4430mV, and N=1.

[0237] Since N = 1, the judgment result of step S11 is yes, and the process returns to step S4. After waiting for the first preset time, the battery voltage detected by the fuel gauge 143 and received by the charging chip 140 is 4420 mV, which is less than 4430 mV. Therefore, the judgment result of step S5 is no, and the process returns to step S7. Since M = 1, the judgment result of step S7 is yes, and the process returns to step S3. In this case, the cutoff voltage increases by 10 mV, and M = M + 1. At this point, the cutoff voltage is adjusted to 4440 mV, and M = 2.

[0238] After waiting for the first preset time, the battery voltage detected by the fuel gauge 143 and received by the charging chip 140 is 4448mV, which is greater than 4430mV and greater than 4442.5mV. Therefore, the judgment result in step S5 is yes, and the judgment result in step S6 is no. In this case, the cutoff voltage is reduced by 10mV, and N=N+1. At this time, the cutoff voltage is adjusted to 4430mV, and N=2.

[0239] Since N = 2, the judgment result of step S11 is yes, and the process returns to step S4. After waiting for the first preset time, the battery voltage detected by the fuel gauge 143 and received by the charging chip 140 is 4418mV, which is less than 4430mV. Therefore, the judgment result of step S5 is no, and the process returns to step S7. Since M = 2, the judgment result of step S7 is yes, and the process returns to step S3. In this case, the cutoff voltage increases by 10mV, and M = M + 1. At this point, the cutoff voltage is adjusted to 4440mV, and M = 3.

[0240] After waiting for the first preset time, the battery voltage detected by the fuel gauge 143 and received by the charging chip 140 is 4445mV, which is greater than 4430mV and greater than 4442.5mV. Therefore, the judgment result of step S5 is yes, and the judgment result of step S6 is no. In this case, the cutoff voltage is reduced by 10mV, and N=N+1. At this time, the cutoff voltage is adjusted to 4430mV, and N=3.

[0241] Since N=3, the judgment result of step S11 is no, and step S9 is executed to set the cut-off voltage to the initial voltage, ie, 4430 mV, and charge the battery 142 accordingly.

[0242] (5) The fifth possible scenario

[0243] When the battery enters the constant voltage charging phase, the charging chip 140 sets M and N to 0. At this point, the battery voltage detected by the fuel gauge 143, received by the charging chip 140, is 4415 mV, which is less than 4430 mV. Therefore, the result of step S2 is negative. In this case, the cutoff voltage is increased by 10 mV, and M = M + 1. At this point, the cutoff voltage is adjusted to 4440 mV, and M = 1.

[0244] After waiting for the first preset time, the battery voltage detected by the fuel gauge 143 and received by the charging chip 140 is 4445mV, which is greater than 4430mV and greater than 4442.5mV. Therefore, the judgment result of step S5 is yes, and the judgment result of step S6 is no. In this case, the cutoff voltage is reduced by 10mV, and N=N+1. At this time, the cutoff voltage is adjusted to 4430mV, and N=1.

[0245] Since N = 1, the judgment result of step S11 is yes, and the process returns to step S4. After waiting for the first preset time, the battery voltage detected by the fuel gauge 143 and received by the charging chip 140 is 4420 mV, which is less than 4430 mV. Therefore, the judgment result of step S5 is no, and the process returns to step S7. Since M = 1, the judgment result of step S7 is yes, and the process returns to step S3. In this case, the cutoff voltage increases by 10 mV, and M = M + 1. At this point, the cutoff voltage is adjusted to 4440 mV, and M = 2.

[0246] After waiting for the first preset time, the battery voltage detected by the fuel gauge 143, received by the charging chip 140, is 4422mV, which is less than 4430mV. Therefore, the judgment result of step S5 is negative, and step S7 is executed. Since M = 2, the judgment result of step S7 is positive, and the process returns to step S3. In this case, the cutoff voltage is increased by 10mV, and M = M + 1. At this point, the cutoff voltage is adjusted to 4450mV, and M = 3.

[0247] After waiting for the first predetermined period of time, the battery voltage detected by the fuel gauge 143 and received by the charging chip 140 is 4430 mV. Therefore, the judgment result of step S5 is negative, and step S7 is executed. Since M=3, the judgment result of step S7 is also negative, and step S9 is executed, setting the cutoff voltage to the initial voltage, i.e., 4430 mV, and charging the battery 142 accordingly.

[0248] In the embodiment of the present application, the term "battery voltage detected by the fuel gauge 143" is only used to limit the battery voltage detected by the fuel gauge 143 and transmitted to the charging chip 140. It is understandable that the battery voltage detected by the fuel gauge 143 can be a single voltage value or an average of multiple voltage values.

[0249] The charging method provided by the embodiment of the present application has at least the following beneficial effects: (1) During the constant voltage charging process of the battery 142, the charging chip 140 can adjust the cutoff voltage according to the battery voltage detected by the fuel gauge 143 with a small sampling error. When the battery 142 enters the constant voltage charging stage, the cutoff voltage is the initial voltage. In this case, if the battery voltage detected by the fuel gauge 143 is less than or equal to the first voltage threshold, it indicates that the actual battery voltage is small. At this time, the charging chip 140 increases the cutoff voltage by a preset voltage, that is, adjusts the cutoff voltage higher. After the cutoff voltage is increased, the actual battery voltage will change. After the first preset time after the cutoff voltage is increased by the preset voltage, the battery voltage detected by the charging chip 140 is equal to the cutoff voltage after the preset voltage is increased. At this time, if the battery voltage detected by the fuel gauge 143 is greater than the first voltage threshold and less than or equal to the second voltage threshold, it indicates that the actual battery voltage is large, and the cutoff voltage is kept unchanged during the constant voltage charging process of the battery 142. That is, at this time, the battery 142 is charged at a constant voltage according to the increased cutoff voltage. During this process, since the cut-off voltage is increased and the battery voltage error detected by the fuel gauge 143 is small, the minimum and maximum values ​​of the actual battery voltage when the battery 142 is fully charged will increase, which can increase the actual battery voltage when the battery 142 is fully charged, thereby increasing the actual capacity of the battery 142 when fully charged. (2) The cut-off voltage can be increased by multiple preset voltages, thereby increasing the actual battery voltage when the battery 142 is fully charged and increasing the actual capacity of the battery 142 when fully charged. In addition, the first preset threshold can be adjusted to prevent the cut-off voltage from increasing by too many preset voltages, thereby causing the battery 142 to be overcharged. At the same time, when the cut-off voltage increases by the preset voltage to a threshold number of times, if the battery voltage detected by the fuel gauge 143 is still less than or equal to the first voltage threshold, it indicates that an error may have occurred in the process. At this time, the cut-off voltage is directly set to the initial voltage. In this way, the charging safety of the battery 142 can be improved. (3) The cut-off voltage can be reduced by multiple preset voltages, thereby preventing the battery 142 from being overcharged. In addition, the first preset threshold can be adjusted to prevent the cut-off voltage from decreasing by too many preset voltages, thereby causing the actual battery voltage to be too low. Meanwhile, when the cut-off voltage decreases by a preset voltage a number of times reaching a threshold number, and the battery voltage detected by the fuel gauge 143 is still greater than the second voltage threshold, it indicates that an error may have occurred in the process. In this case, the cut-off voltage is directly set to the initial voltage. In this way, the charging safety of the battery 142 can be improved.

[0250] The present application also provides an electronic device including a battery 142, a charging chip 140, and a fuel gauge 143. The charging chip 140 includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the computer program is executed by the processor, the charging method described in any of the above embodiments is implemented.

[0251] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network or other programmable device. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website, computer, server or data center to another website, computer, server or data center via a wired (such as a coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (such as infrared, wireless, microwave, etc.) method. The computer-readable storage medium can be any available medium that a computer can access, or a data storage device such as a server or data center that includes one or more available media integrations. The available medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a digital versatile disc (DVD)), or a semiconductor medium (eg, a solid state disk (SSD)).

[0252] The above are optional embodiments provided for this application and are not intended to limit this application. Any modifications, equivalent replacements, improvements, etc. made within the technical scope disclosed in this application should be included in the scope of protection of this application.

Claims

1. A charging method, characterized in that: A charging chip applied to an electronic device, wherein the charging chip performs constant voltage charging on the battery when the battery voltage detected by the charging chip is equal to the cut-off voltage, the electronic device further comprises a fuel gauge, a sampling error of the fuel gauge detecting the battery voltage is smaller than a sampling error of the charging chip detecting the battery voltage, and the method comprises: During the constant voltage charging process of the battery, if it is determined that the battery voltage detected by the fuel gauge is less than or equal to a first voltage threshold, increasing the cut-off voltage by a preset voltage; After the cut-off voltage is increased by a first preset time after the preset voltage, if it is determined that the battery voltage detected by the fuel gauge is greater than the first voltage threshold and less than or equal to the second voltage threshold, the cut-off voltage is kept unchanged during the constant voltage charging process of the battery.

2. The charging method according to claim 1, characterized in that: The method further comprises: When the battery enters the constant voltage charging stage, M is set to be equal to 0; The method of increasing the cut-off voltage by a preset voltage if it is determined that the battery voltage detected by the fuel gauge is less than or equal to a first voltage threshold during the constant voltage charging process of the battery comprises: During the constant voltage charging process of the battery, if it is determined that the battery voltage detected by the fuel gauge is less than or equal to the first voltage threshold, and M is equal to 0, the cut-off voltage is increased by the preset voltage, and M=M+1.

3. The charging method according to claim 2, characterized in that: The method further comprises: After the cut-off voltage is increased by the preset voltage for the first preset time period, if it is determined that the battery voltage detected by the fuel gauge is less than or equal to the first voltage threshold, and M is less than the first preset threshold, the cut-off voltage is increased by the preset voltage, and M=M+1, where the first preset threshold is an integer greater than or equal to 2.

4. The charging method according to claim 2, characterized in that: The cut-off voltage is an initial voltage when the battery enters the constant voltage charging stage, and the method further includes: After the cut-off voltage is increased by the first preset time after the preset voltage, if it is determined that the battery voltage detected by the fuel gauge is less than or equal to the first voltage threshold, and M is greater than or equal to the first preset threshold, the cut-off voltage is set to the initial voltage, and the first preset threshold is an integer greater than or equal to 2.

5. The charging method according to any one of claims 1 to 4, characterized in that: The method further comprises: After the cut-off voltage is increased by a first preset time period after the preset voltage, if it is determined that the battery voltage detected by the fuel gauge is greater than the first voltage threshold and greater than the second voltage threshold, the cut-off voltage is reduced by the preset voltage; After the cut-off voltage is reduced by a first preset time after the preset voltage, if it is determined that the battery voltage detected by the fuel gauge is greater than the first voltage threshold and less than or equal to the second voltage threshold, the cut-off voltage is maintained unchanged during the constant voltage charging process of the battery.

6. The charging method according to claim 5, characterized in that: The method further comprises: When the battery enters the constant voltage charging stage, N is set to be equal to 0; After the cut-off voltage is increased by the preset voltage for a first preset time period, if it is determined that the battery voltage detected by the fuel gauge is greater than the first voltage threshold and greater than the second voltage threshold, then the cut-off voltage is reduced by the preset voltage, comprising: After the cut-off voltage is increased by the preset voltage for a first preset time period, if it is determined that the power meter detects If the battery voltage is greater than the first voltage threshold and greater than the second voltage threshold, and N is equal to 0, the cut-off voltage is reduced by the preset voltage, and N=N+1.

7. The charging method according to claim 6, characterized in that: The method further comprises: After the cut-off voltage is reduced by the preset voltage for the first preset time period, if it is determined that the battery voltage detected by the fuel gauge is greater than the first voltage threshold and greater than the second voltage threshold, and N is less than the second preset threshold, the cut-off voltage is reduced by the preset voltage, and N=N+1, and the second preset threshold is an integer greater than or equal to 2.

8. The charging method according to claim 6, characterized in that: The cut-off voltage is an initial voltage when the battery enters the constant voltage charging stage, and the method further includes: After the cut-off voltage is reduced by the preset voltage for a first preset time period, if it is determined that the battery voltage detected by the fuel gauge is greater than the first voltage threshold and greater than the second voltage threshold, and N is greater than or equal to the second preset threshold, the cut-off voltage is set to the initial voltage, and the second preset threshold is an integer greater than or equal to 2.

9. The charging method according to claim 1, characterized in that: The cut-off voltage is an initial voltage when the battery enters a constant voltage charging stage, and the method further includes: During the constant voltage charging process of the battery, if it is determined that the battery voltage detected by the fuel gauge is greater than the first voltage threshold, the cut-off voltage is set to the initial voltage.

10. The charging method according to any one of claims 1 to 9, characterized in that: The cut-off voltage is an initial voltage when the battery enters a constant voltage charging stage, the first voltage threshold is greater than or equal to a difference between the initial voltage and a sampling error of the charging chip, and the first voltage threshold is less than or equal to a sum of the initial voltage and a sampling error of the charging chip; The second voltage threshold is less than or equal to a difference between a rated voltage of the battery and a sampling error of the fuel gauge.

11. The charging method according to any one of claims 1 to 10, characterized in that: In the constant voltage charging process of the battery, if it is determined that the battery voltage detected by the fuel gauge is less than or equal to the first voltage threshold, before the cut-off voltage is increased by a preset voltage, the method further includes: Periodically detecting whether the battery enters a constant voltage charging stage; If the battery enters the constant voltage charging stage, the step of increasing the cut-off voltage by a preset voltage and subsequent steps are performed during the constant voltage charging process of the battery if it is determined that the battery voltage detected by the fuel gauge is less than or equal to the first voltage threshold.

12. The charging method according to any one of claims 1 to 11, characterized in that: In the constant voltage charging process of the battery, if it is determined that the battery voltage detected by the fuel gauge is less than or equal to the first voltage threshold, before the cut-off voltage is increased by a preset voltage, the method further includes: Periodically detecting the charging current of the battery; If the charging current is within the preset current range, the step of increasing the cut-off voltage by a preset voltage and subsequent steps are performed during the constant voltage charging process of the battery if it is determined that the battery voltage detected by the fuel gauge is less than or equal to the first voltage threshold.

13. The charging method according to any one of claims 1 to 12, characterized in that: In the constant voltage charging process of the battery, if it is determined that the battery voltage detected by the fuel gauge is less than or equal to the first voltage threshold, before the cut-off voltage is increased by a preset voltage, the method further includes: detecting the temperature of the battery after the battery enters a constant voltage charging stage; If the temperature of the battery is within a preset temperature range, the step of increasing the cutoff voltage by a preset voltage and subsequent steps are performed during the constant voltage charging process of the battery if it is determined that the battery voltage detected by the fuel gauge is less than or equal to a first voltage threshold.

14. The charging method according to any one of claims 1 to 13, characterized in that: The cut-off voltage is an initial voltage when the battery enters a constant voltage charging stage, and the charging method further includes: If charging of the battery is stopped, the cut-off voltage is set to the initial voltage.

15. The charging method according to any one of claims 1 to 14, characterized in that: The charging chip is connected to the fuel meter to receive the battery voltage detected by the fuel meter and sent by the fuel meter.

16. An electronic device, characterized in that: The electronic device includes a battery, a charging chip and a fuel meter. The charging chip includes a memory, a processor and a computer program stored in the memory and executable on the processor. When the computer program is executed by the electronic device, the charging method according to any one of claims 1 to 15 is implemented.

Citation Information

Patent Citations

  • Charging control method and device and terminal

    CN106655396A

  • Battery charging method and device

    CN113364088A

  • Charging method and device and electronic equipment

    CN113381479A

  • Cut-off voltage adjusting method, electronic equipment and readable storage medium

    CN116914894A

  • Battery charging device and charging control method therefor

    WO2017111238A1