Charging method and electronic equipment
The battery voltage is detected by the battery meter, which extends the charging time during the fast charging stage, solves the problem of too long charging time caused by the measurement error of the fast charging chip, and realizes a more efficient charging process.
Patent Information
- Application Number
- CN202310821243.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-07-05
- Publication Date
- 2025-01-07
AI Technical Summary
Among the existing fast charging technologies, the measurement voltage error of the fast charging chip is large, resulting in the stage of large charging current being ended early, resulting in the problem of excessive charging time.
The battery voltage is detected in real time by the battery meter, and a higher voltage threshold is set to extend the stage with a large charging current, thereby reducing the charging time in other stages. The battery meter has a smaller error, extending the charging time in the fast charging stage, and reducing the reduction. Charging time during the BUCK phase.
It effectively extends the time of the charging stage with a large charging current, reduces the overall charging time, and improves the charging efficiency.
Smart Images

Figure CN119275953A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of electronic technology, and in particular to a charging method and an electronic device. Background Art
[0002] Currently, electronic devices such as mobile phones are equipped with rechargeable batteries to power the electronic devices so that the electronic devices can operate normally.
[0003] However, with the rapid development of electronic devices, the rate at which battery power is consumed is also increasing significantly. In order to balance this problem, more and more manufacturers have introduced fast charging technology to use fast charging technology to charge the batteries of electronic devices and increase the battery charging speed.
[0004] Taking the charging of the BM025 battery in the mobile phone as an example, the fast charging technology can be used to charge the battery in the fast charging stage, where the fast charging stage can be divided into multiple charging gears. Since the battery voltage is currently mainly measured by the fast charging chip, the error of the fast charging chip in measuring the voltage is large, generally 20mV. Taking the cut-off voltage of the battery in the first charging gear as an example, for example, 4.25V, in order to avoid the risk of overcharging by continuing to charge with a relatively large current when the battery voltage exceeds the cut-off voltage of the battery, so when the measured cut-off voltage reaches 4.23V, for example, the charging voltage will stop increasing, and then the charging current will be reduced until the current threshold is reached, ending the current charging gear and entering the next charging gear. In this way, since the charging stage with a large charging current is ended in advance, the charging time in the charging stage with a large charging current will be reduced, which will cause the charging time in other stages to increase, and the overall charging time will be too long. Summary of the invention
[0005] The charging method and electronic device provided in the present application solve the problem of prematurely ending the charging stage with a large charging current. Therefore, the charging time in the charging stage with a large charging current will be reduced, which will cause the charging time in other stages to increase, resulting in the overall charging time being too long.
[0006] In order to achieve the above objectives, this application adopts the following technical solutions:
[0007] In a first aspect, the present application provides a charging method, which can be applied to an electronic device, comprising:
[0008] It is possible to determine whether the battery voltage reaches the voltage threshold corresponding to the first charging gear based on the voltage detection result, wherein the first charging gear may be one of the multiple charging gears in the fast charging stage, and the charging current and cut-off voltage of each charging gear in the fast charging stage are different. The voltage threshold corresponding to each charging gear is determined by the measurement error of the fuel meter and the cut-off voltage corresponding to each charging gear. When the charging current reaches the current threshold corresponding to the first charging gear and the battery voltage reaches the voltage threshold corresponding to the first charging gear, the charging stage corresponding to the first charging gear is ended.
[0009] For example, if the measurement result indicates that the measured voltage of the battery is 3V, the first charging gear may be the first charging gear in the fast charging stage, and the battery is charged using the charging current and charging voltage of the first charging gear.
[0010] Taking a battery with a capacity of 5000mAh and a first charging gear as the first charging gear in the fast charging stage as an example, the charging current of the first charging gear can be 1.6C, which is the product of 1.6 and the battery capacity. It is determined that the charging current can be 8A, and the battery can be charged with 8A at the first charging gear. During the charging process, the charging voltage continues to increase, and the battery voltage increases from 3V until it increases to the cut-off voltage of the first charging gear. It should be noted that the error of the fuel gauge in detecting the battery voltage is generally 7.5mV, which is relatively small. The cut-off voltage of the battery in the first charging gear is, for example, 4.25V. In order to avoid the risk of overcharging by continuing to charge with a relatively large current when the battery voltage exceeds the cut-off voltage of the battery, the charging voltage is actually stopped when the measured voltage reaches the voltage threshold, for example, 4.2425V. The electronic device can obtain the voltage detection result of the battery by the fuel gauge again. If it is determined that the battery voltage reaches the voltage threshold corresponding to the first charging gear according to the voltage detection result, the charging current can be reduced until the current threshold is reached, the current charging gear is ended, and the next charging gear is entered. The voltage threshold may be determined by a measurement error of the fuel gauge and a cut-off voltage corresponding to the charging gear.
[0011] For another example, the first charging gear in the fast charging stage can be the last gear in the fast charging stage. For example, if the current charging temperature of the battery is 10℃-20℃ and the battery capacity is 5000mAh, after the electronic device enters the fifth gear of the fast charging stage, that is, after entering the last gear of the fast charging stage, the charging current is reduced to 0.5C, that is, 2.5A. For example, according to the measurement result of the fuel gauge chip, the measured battery voltage is 4.45V. Under the premise of the charging current of 2.5A, the battery voltage is increased from 4.45 to the voltage threshold.
[0012] The present application can use a fuel gauge to detect the battery voltage in real time. The error of the fuel gauge in detecting the battery voltage is generally 7.5mV, which is relatively small. The cut-off voltage of the battery is 4.48V when it is in the last charging gear in the fast charging stage. In order to avoid the risk of the battery voltage exceeding the safe voltage of the battery, the voltage threshold needs to be set to be less than or equal to 4.4725V, for example, 4.47V. If it is determined that the current voltage of the battery has reached the voltage threshold of the last charging gear based on the voltage detection result of the battery by the fuel gauge, the battery voltage no longer changes, and the battery continues to be charged. During the charging process, the current gradually decreases until it decreases to the current threshold, wherein the current threshold can be set according to actual needs, for example, 1.2A. Of course, this is just an example and is not limited here. Technical personnel in this field can set it according to actual needs.
[0013] The electronic device can detect the charging current in real time. If it is determined that the charging current drops to the current threshold, the fast charging stage is terminated and the buck stage is entered.
[0014] In some possible implementation methods, the detection result of the fuel gauge on the current voltage of the battery can be obtained. If it is determined according to the detection result that the battery voltage is within a preset voltage range, it can be determined that the electronic device meets the fast charging condition at this time and enters the fast charging stage. When the battery voltage is not within the preset voltage range, it can be determined that the fast charging condition is not met at this time, and the buck charging stage is entered.
[0015] In some possible implementations, the first charging gear may also be other gears in the fast charging stage, and then the battery voltage may be measured using a fuel meter for other charging gears in the fast charging stage in the same principle. Then, based on the detection result of the fuel meter, it is determined whether to end the charging stage corresponding to the charging gear and enter the next charging gear after the charging gear. In some possible implementations, the fuel meter may be used to measure the battery voltage of at least two charging gears in the fast charging stage, and the fuel meter may be used to measure the battery voltage of each charging gear in the fast charging stage.
[0016] In some possible implementations, after the charging stage corresponding to the first charging gear is ended, the buck stage can be entered to charge the battery, and then the battery is charged using the charging current of the buck stage and the preset buck output voltage, wherein the charging current of the buck stage is a charging current that gradually decreases from the cut-off current of the fast charging stage. If it is determined that the charging current of the buck stage is less than or equal to the cut-off current of the buck stage, the charging of the buck stage is stopped.
[0017] In a second aspect, the present application provides an electronic device, including: a processor and a memory;
[0018] One or more computer programs are stored in the memory, and the one or more computer programs include instructions; when the instructions are executed by the processor, the electronic device performs the method described in any one of the first aspects.
[0019] In a third aspect, the present application provides a computer storage medium, comprising computer instructions, which, when executed on a mobile terminal, enables the electronic device to execute the method described in any one of the first aspects.
[0020] It can be seen from the above technical solution that the present application has the following beneficial effects:
[0021] In the present application, when it is determined that the electronic device is in the first charging gear of the fast charging stage, the voltage detection result of the battery by the fuel meter can be obtained, and then it is determined whether the voltage of the battery reaches the voltage threshold corresponding to the first charging gear according to the voltage detection result. When the charging current reaches the current threshold corresponding to the first charging gear and the voltage of the battery reaches the voltage threshold corresponding to the first charging gear, the charging stage corresponding to the first charging gear is ended. In this way, the battery voltage is measured by the fuel meter in the present application. Since the error of the fuel meter in detecting the battery voltage is generally 7.5mV, which is relatively small compared to the error of the fast charging chip in detecting the battery voltage, the battery voltage corresponding to the charging gear is detected by the fuel meter. The voltage threshold can be set relatively high. Taking the last gear in the fast charging stage as an example, the set voltage threshold is higher than the cut-off voltage set in the last charging gear in the fast charging stage by detecting the battery voltage through the fast charging chip. For example, the cut-off voltage set in the last charging gear in the fast charging stage by detecting the battery voltage through the fast charging chip can be set to 4.46V, and the voltage threshold that can be set in the last charging gear in the fast charging stage by detecting the battery voltage through the fuel gauge can be set to 4.47V. In this way, the charging time in the fast charging stage will be increased, and then the capacity charged in the fast charging stage will increase, and the charging time in the buck stage will be reduced, which saves the overall charging time. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] Figure 1 An exemplary diagram of the composition of an electronic device provided in an embodiment of the present application;
[0023] Figure 2 An exemplary diagram of a disassembled electronic device provided in an embodiment of the present application;
[0024] Figure 3 A scene diagram of charging an electronic device provided in an embodiment of the present application;
[0025] Figure 4 A schematic diagram of an electronic device connected to a charger provided in an embodiment of the present application;
[0026] Figure 5 A schematic diagram of connecting an electricity meter provided in an embodiment of the present application;
[0027] Figure 6 A schematic diagram of a charging gear in a fast charging stage provided in an embodiment of the present application;
[0028] Figure 7 A schematic diagram of the amount of electricity charged in a fast charging stage at different cut-off voltages provided in an embodiment of the present application;
[0029] Figure 8 A flowchart of a charging method provided in an embodiment of the present application. DETAILED DESCRIPTION
[0030] The terms "first", "second", "third", etc. in the specification, claims and drawings of this application are used to distinguish different objects rather than to limit a specific order.
[0031] In the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way.
[0032] In order to make the description of the following embodiments clear and concise, a brief introduction to the related technology is first given:
[0033] The charging process of electronic devices can be divided into two stages, namely the fast charging stage and the buck stage. In the fast charging stage, the electronic devices can be quickly charged using the fast charging protocol, such as the PD fast charging protocol. The buck stage is also called the continuous charging stage. In order to obtain the best battery life, after the fast charging stage, the battery can also be charged in the buck stage. In the buck stage, the charging current gradually decreases to ensure that the battery enters the critical state of full charge.
[0034] Taking the charging of the BM025 battery in the mobile phone as an example, the fast charging technology can be used to charge the battery in the fast charging stage, where the fast charging stage can be divided into multiple charging gears. Since the battery voltage is currently mainly measured by the fast charging chip, the error of the fast charging chip in measuring the voltage is large, generally 20mV. Taking the cut-off voltage of the battery in the first charging gear as an example, for example, 4.25V, in order to avoid the risk of overcharging by continuing to charge with a relatively large current when the battery voltage exceeds the cut-off voltage of the battery, so when the measured cut-off voltage reaches 4.23V, for example, the charging voltage will stop increasing, and then the charging current will be reduced until the current threshold is reached, ending the current charging gear and entering the next charging gear. In this way, since the charging stage with a large charging current is ended in advance, the charging time in the charging stage with a large charging current will be reduced, which will cause the charging time in other stages to increase, and the overall charging time will be too long.
[0035] In the present application, the battery voltage can be measured by a fuel meter. Since the error of the fuel meter in detecting the battery voltage is generally 7.5mV, which is smaller than the error of the fast charging chip in detecting the battery voltage. Therefore, when the battery voltage is detected by the fuel meter, the voltage threshold of the corresponding charging gear can be set relatively high. Taking the last gear in the fast charging stage as an example, the set voltage threshold is higher than the cut-off voltage set for the last charging gear in the fast charging stage when the battery voltage is detected by the fast charging chip. For example, the cut-off voltage set for the last charging gear in the fast charging stage when the battery voltage is detected by the fast charging chip can be set to 4.46V, and the voltage threshold set for the last charging gear in the fast charging stage when the battery voltage is detected by the fuel meter can be set to 4.47V. In this way, when the battery voltage is measured by the fuel meter, the voltage threshold can be set relatively high, the charging time in the fast charging stage will be increased, and then the capacity charged in the fast charging stage will increase, and the charging time in the buck stage will be reduced, which saves the overall charging time.
[0036] In some embodiments, the electronic device may be a mobile phone, a tablet computer, a desktop, a laptop, a notebook computer, an ultra-mobile personal computer (UMPC), a handheld computer, a netbook, a personal digital assistant (PDA), a wearable electronic device, a smart watch, etc. The present application does not impose any special restrictions on the specific form of the above electronic devices. In this embodiment, the structure of the electronic device may be as follows: Figure 1 As shown, Figure 1 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application.
[0037] like Figure 1As shown, the electronic device may include a processor 110, a power management module 120, a charging management module 130, etc. It is understood that the structure illustrated in this embodiment does not constitute a specific limitation on the electronic device. In other embodiments, the electronic device may include more or fewer components than shown in the figure, or combine certain components, or split certain components, or arrange the components differently. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
[0038] The processor 110 may include one or more processing units. For example, the processor 110 may include a controller, etc. Different processing units may be independent devices or integrated into one or more processors.
[0039] The controller can be the nerve center and command center of the electronic device. The controller can generate operation control signals according to the instruction operation code and timing signal to complete the control of fetching and executing instructions.
[0040] The processor 110 may also be provided with a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may store instructions or data that the processor 110 has just used or cyclically used. If the processor 110 needs to use the instruction or data again, it may be directly called from the memory. This avoids repeated access, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.
[0041] In some embodiments, the processor 110 may include one or more interfaces, which may include a power management IC (PMIC) interface, a system on chip (SoC) interface, and the like.
[0042] Among them, the System on Chip (SoC) interface, also known as the system on chip, mainly refers to a chip circuit that integrates key system components on a chip and can realize complete system functions. SoC can process digital signals, analog signals, mixed signals, and even radio frequency signals. It is often used in embedded systems, such as mobile phones, tablets, smart home appliances and other intelligent devices, and is the core chip that constitutes these devices.
[0043] A power management chip (PMIC), also known as a power management IC or a power management module 120, is an integrated circuit for a specific purpose, and its function is to manage power for the main system. It is used to control the charging management module 130. PMIC is often used in devices that use batteries as power sources, such as mobile phones or portable media players. Since such devices generally have more than one power source (such as a battery and a USB power source), the system requires multiple power sources with different voltages, and the battery charging and discharging must be controlled. Meeting such requirements in a traditional way will take up a lot of space and increase product development time, which has led to the emergence of PMIC. The system-level chip SoC can be connected to the power management chip PMIC through the SPMI bus, which can be used to accurately monitor and control the processor performance level required for a given workload or application, and dynamically control various power supply voltages in real time according to the performance level. It can also be used to connect the battery 140, the charging management module 130 and the processor 110. It receives input from the battery 140 and / or the charging management module 130 to power the processor 110, etc. The power management module 120 can also be used to monitor parameters such as battery capacity, battery cycle number, battery health status (leakage, impedance), etc. In some other embodiments, the power management module 120 can also be set in the processor 110. In some other embodiments, the power management module 120 and the charging management module 130 can also be set in the same device.
[0044] The charging management module 130 is used to receive charging input from the charger according to the instruction of the PMIC. The charger can be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 130 can receive charging input from the wired charger via USB. In some wireless charging embodiments, the charging management module 130 can receive wireless charging input via the wireless charging coil of the electronic device. While the charging management module 130 is charging the battery 140, it can also power the electronic device through the power management module 120.
[0045] In some possible implementations, the electronic device may further include a USB interface 150, which is an interface that complies with USB standard specifications and is used to connect to a USB plug. The USB interface is an interface reserved on the electronic device. The USB interface may specifically be a Mini USB interface, a Micro USB interface, a USB Type C interface, etc.
[0046] Exemplarily, the USB interface can be a Mini USB interface, which is widely used in players and mobile hard disk digital devices. The USB interface can also be a Micro USB interface, which can only be inserted on one side and is the next generation interface of Mini USB. The interface is smaller than Mini USB, has a higher service life and strength, and is mainly used for the connection or data transmission of various U disks or mobile devices. Compared with Mini USB, the transmission speed is faster. The USB interface can also be a USB Type C interface: This interface is a connection interface of the USB 3.1 standard, which has the characteristics of being able to be inserted in both directions and having a fast transmission speed.
[0047] The USB interface 150 can be used to connect a charger to charge the electronic device, and can also be used to transfer data between the electronic device and the peripheral device. For example, when the access device connected to the USB interface is a charger, the USB interface inputs current, and when the input device connected to the USB interface is a computer, the USB interface inputs / outputs data. It can also be used to connect headphones and play audio through the headphones. The interface can also be used to connect other electronic devices, such as AR devices, etc.
[0048] It is understandable that the interface connection relationship between the modules illustrated in this embodiment is only a schematic illustration and does not constitute a structural limitation of the electronic device. In other embodiments of the present application, the electronic device may also adopt different interface connection methods in the above embodiments, or a combination of multiple interface connection methods.
[0049] Currently, electronic devices are all equipped with rechargeable batteries to power the electronic devices so that the electronic devices can operate normally. The following is an introduction using a mobile phone as an example. It should be noted that electronic devices are not limited to mobile phones. The following is an introduction using a mobile phone as an example without limitation.
[0050] Specifically, Figure 2 As shown, the mobile phone 1 may include a housing 10 , a circuit board 20 and a battery 30 .
[0051] The housing 10 has a receiving space inside, and the circuit board 20 and the battery 30 can be received in the receiving space. The battery 30 can be coupled to the circuit board 20 to provide power to the circuit board 20 so that the circuit board 20 supports the operation of the mobile phone 1. Exemplarily, the circuit board 20 can be the mainboard of the mobile phone 1.
[0052] In some possible implementations, the housing 10 may include plastic. Plastic has good ductility, and a housing made of plastic is conducive to the shaping and production of the housing 10, which is in turn conducive to the mass production of the housing 10, and thus conducive to the mass production of the mobile phone 1. It should be noted that the housing 10 is not limited to including plastic, and the material included in the housing 10 can be selected according to actual conditions. For example, in some other embodiments, the housing 10 may include metal materials such as aluminum and iron. The above is only an example of the material of the housing 10 and should not be regarded as a limitation on the specific material of the housing 10.
[0053] The battery 30 may be a rechargeable battery. The rechargeable battery includes a lithium-ion battery, a lead-acid battery, a nickel-cadmium battery, a nickel-iron battery or a nickel-metal hydride battery, and may also include other suitable batteries, which are not limited here. The specific type of the battery 30 may depend on the specific scenario of the mobile phone 1, which is not limited here.
[0054] Further, such as Figure 2 As shown, the battery 30 may include a battery cell 31 and a protection board 32. The battery cell 31 includes a positive electrode and a negative electrode, and the protection board 32 may be coupled to the positive electrode and the negative electrode of the battery cell 31, respectively.
[0055] The battery cell 31 may be an aluminum shell battery cell, a soft pack battery cell (also known as a polymer battery cell) or a cylindrical battery cell. The battery cell 31 is the storage part of the battery 30, which is used to store electric energy through charging, and then release the electric energy to provide the mobile phone 1 with the electric energy required for operation. Exemplarily, the positive electrode of the battery cell 31 outputs a +5V voltage signal, and the negative electrode of the battery cell 31 outputs a 0V voltage signal. Of course, in some other examples, the voltage value of the voltage signal output by the positive electrode of the battery cell 31 may also be greater than or less than 5V, which is not limited here. The protection board 32 may be an integrated circuit board for protecting the battery cell 31. The protection board 32 is coupled to the positive and negative electrodes of the battery cell 31 respectively, so as to prevent the battery cell 31 from being overcharged, over-discharged, transmitting too much current, transmitting too much voltage, short circuit, and the battery temperature being too high, so as to avoid the battery cell 31 from burning and causing accidents.
[0056] The following includes Figure 2 Taking the structured mobile phone as an example, let’s introduce the charging scenarios of the mobile phone.
[0057] like Figure 3 As shown, Figure 3 A scene diagram of charging an electronic device is shown. When the power of a mobile phone 1 is too low or the user wants to charge, the plug of the charger 2 can be inserted into the socket 3 and the other side can be inserted into the mobile phone 1 to charge the battery 30 in the mobile phone 1.
[0058] In some possible implementations, the mobile phone 1 may include a USB interface, for example, the interface may be a USB Type C interface, etc. The mobile phone 1 may be connected to the charger 2 via the USB Type C interface, thereby charging the mobile phone 1.
[0059] Specifically, Figure 4 As shown, the circuit board 20 may include a charging circuit 25, and the charging circuit 25 is coupled to the battery 30. When the charger 2 is inserted into the mobile phone 1 to charge the mobile phone, the charging circuit 25 is also coupled to the charger 2. The charger 2 can convert the mains power into an initial charging voltage and an initial charging current, and provide the initial charging voltage and the initial charging current to the charging circuit 25. The charging circuit 25 can process the initial charging voltage and the initial charging current, and then provide the charging voltage and the charging current to the battery 30 to charge the battery 30.
[0060] The circuit board 20 may include a processing chip 24. The processing chip 24 may be a system on chip (SOC) on the mainboard of the mobile phone 1. It can be understood that the circuit board 20 may be the mainboard of the mobile phone 1.
[0061] The processing chip 24 may be coupled to the electrical circuit 25. The processing chip 24 may output different charging strategies to the charging circuit 25 to control the charging circuit 25 to adjust the charging voltage and charging current provided to the battery 30 based on the different charging strategies.
[0062] Exemplarily, when the charging circuit 25 receives the charging strategy provided by the processing chip 24, it can process the initial charging voltage to obtain a charging voltage that complies with the charging strategy; at the same time, it can also process the initial charging current to obtain a charging current that complies with the charging strategy. The charging circuit 25 provides the charging voltage and the charging current to the battery 30 to charge the battery 30.
[0063] In addition, the charging circuit 25 can communicate with the charger 2. The charging circuit 25 can control the magnitude of the initial charging voltage and the magnitude of the initial charging current output by the charger 2.
[0064] In some possible implementations, the process of charging the mobile phone 1 can be divided into two stages, namely, a fast charging stage and a buck stage. It should be noted that since power is proportional to voltage and current, respectively, higher voltage and greater current can bring greater power, thereby increasing the charging speed of the mobile phone 1.
[0065] Specifically, Figure 5As shown, the USB interface 51 is connected to the fast charging chip 52, and the fast charging chip 52 is connected to the battery 30 to realize fast charging of the battery cell 301 in the battery through the fast charging chip, and the fuel meter 53 is connected to the battery to measure the voltage of the battery 30, wherein the fast charging chip 52 may include a fast charging protocol, and when the fast charging protocol of the electronic device (such as mobile phone 1) and the charging protocol of the external device (such as charger 2) match, the electronic device can be quickly charged. The fast charging protocol can be a power transmission (USB Power Delivery, PD) fast charging protocol, which needs to be implemented in conjunction with the USB Type-C interface and can be used to charge the mobile phone 1 and power the display. Most current smartphones support the PD fast charging protocol. The fast charging protocol can also be a private fast charging protocol of the mobile phone manufacturer, which usually adopts a low voltage and high current method to increase the charging power.
[0066] When the mobile phone 1 is in the fast charging stage, the fast charging chip 52 can determine the corresponding charging strategy according to the different temperature conditions of the battery, such as Figure 6 As shown, Figure 6 It includes strategies for charging mobile phones at different temperatures, as well as the cut-off voltage and cut-off current corresponding to the fast charging stage. It should be noted that at the beginning of the fast charging stage, due to the relatively low temperature, a relatively large charging current can be used to charge the battery. As the charging time increases, the charging voltage continues to increase, causing the heat dissipation capacity of the mobile phone to be less than the heat generated by the battery charging. Therefore, in order to avoid battery overheating, the charging current needs to be reduced as the charging voltage increases.
[0067] like Figure 6 As shown, taking the current charging temperature of the battery at 20℃-35℃ as an example, when the current charging temperature of the battery is at 20℃-35℃, the mobile phone 1 is in the fast charging stage, and the fast charging chip can control the charging current and charging voltage, and can charge the battery in 5 gears in the fast charging stage. Of course, this is just an example, and the specific division of charging gears can be set by technicians in this field according to needs, and is not limited here.
[0068] Specifically, when the charging temperature of the battery is between 20℃ and 35℃, it enters the fast charging stage. The electronic device can detect the battery voltage through the fast charging chip, obtain the measurement result, and enter the corresponding charging gear according to the measurement result. For example, if the measurement result indicates that the measured battery voltage is 3V, it can enter the first charging gear of the fast charging stage and charge the battery using the charging current and charging voltage of the first charging gear.
[0069] In some possible implementations, the charging voltage is equal to the battery voltage. Taking a battery capacity of 5000mAh as an example, the charging current of the first charging gear can be 1.6C, where C is the rate, and 1.6C is the value multiplied by the battery capacity, that is, the product of 1.6 and the battery capacity. It is determined that the charging current can be 8A, then 8A can be used to charge the battery at the first charging gear. During the charging process, the charging voltage continues to increase. For example, according to the measurement results, the measured battery voltage is 3V. After entering the first charging gear of the fast charging stage, the battery voltage starts to increase from 3V until Increase to the cut-off voltage of the first charging gear. It should be noted that, since the current battery voltage is mainly measured by the fast charging chip, the error of the fast charging chip in measuring the voltage is large, generally 20mV. The cut-off voltage of the battery in the first charging gear is, for example, 4.25V. In order to avoid the risk of overcharging by continuing to charge with a relatively large current when the battery voltage exceeds the cut-off voltage of the battery, the charging voltage will stop increasing when the measured cut-off voltage reaches 4.23V, and then the charging current will be reduced until the current threshold is reached, ending the current charging gear and entering the next charging gear. It can be understood that the larger the current, the stronger the charging capacity. For example, the first charging gear is charged with a current of 8A, and the second gear is charged with a current of 7A. Then the charging capacity of the first charging gear is stronger than that of the second gear. Since the charging stage with a large charging current is ended in advance, the charging time in the charging stage with a large charging current will be reduced, which will cause the charging time in other stages to increase, and the overall charging time will be too long.
[0070] For another example, take the current charging temperature of the battery as 20℃-35℃, the first charging gear as the last charging gear in the fast charging stage, and the battery capacity as 5000mAh as an example. At this time, the charging current is reduced to 0.7C, that is, 3.5A. For example, according to the measurement results of the fast charging chip, the measured battery voltage is 4.45V, until it increases to the cut-off voltage of 4.48V. However, since the battery voltage is currently mainly measured by the fast charging chip, the error of the fast charging chip in measuring the voltage is large, generally 20mV, so when the measured cut-off voltage reaches 4.46V, the charging voltage will stop increasing. The electronic device can obtain the voltage detection result of the battery by the fuel gauge again. If it is determined according to the voltage detection result that the battery voltage reaches the voltage threshold corresponding to the last charging gear in the fast charging stage, that is, 4.46V, the charging current can be reduced until the current threshold is reached and the buck stage is entered. This will result in a reduction in the charging time in the fast charging stage, resulting in less capacity charged in the fast charging stage, and a long charging time in the buck BUCK stage, resulting in an overall long charging time. It should be noted that the above data such as 5000mAh, 1.6C, etc. are just examples and are not limited here. Those skilled in the art can set them according to actual needs.
[0071] Further, such as Figure 7 As shown, Figure 7 Figure (a) in the figure can represent the battery capacity that can be charged in the fast charging stage when the cut-off voltage of the fast charging stage is 4.46V. Taking 78% as an example, that is, the cut-off voltage is 4.46V, 78% of the battery can be charged in the fast charging stage, and 22% of the battery needs to be charged in the buck stage. Figure (b) can represent the battery capacity that can be charged in the fast charging stage when the cut-off voltage of the fast charging stage is 4.47V. Taking 81% as an example, that is, the cut-off voltage is 4.47V, 81% of the battery can be charged in the fast charging stage, and 19% of the battery needs to be charged in the buck stage. Figure (c) shows the amount of battery power that can be charged in the fast charging stage when the cut-off voltage is 4.48V. For example, 85% of the battery power can be charged in the fast charging stage when the cut-off voltage is 4.48V, and 15% of the battery power needs to be charged in the buck stage. It can be seen that the smaller the cut-off voltage, the less charging time in the fast charging stage, the less power charged in the fast charging stage, and the longer the charging time in the buck stage, which leads to an overall long charging time.
[0072] In order to solve the problem of low measurement accuracy of the above-mentioned fast charging chip, which leads to the premature termination of the charging stage with large charging current, and then the charging time in the charging stage with large charging current will be reduced, and the charging time in other stages will be increased, resulting in the overall charging time being too long, it should be noted that the other stages here can be the charging stages corresponding to other charging gears or the BUCK stage.
[0073] The present application provides a charging method to save charging time.
[0074] In order to make the technical solution of the present application clearer and easier to understand, the charging method provided by the embodiment of the present application is introduced below in combination with the above embodiments and corresponding drawings. Figure 8 The following is a flow chart of a charging method using an electronic device as the execution subject of the method. Figure 8 As shown, the charging method may include but is not limited to the following:
[0075] S801: The electronic device determines whether to enter the fast charging stage.
[0076] The electronic device can be a mobile phone 1. When the battery of the mobile phone 1 is too low or the user wants to charge, the plug of the charger 2 can be inserted into the socket 3 and the other side can be inserted into the mobile phone 1. The electronic device detects that the charger is connected and can determine whether to enter the fast charging stage to quickly charge the battery.
[0077] Specifically, the battery voltage can be measured by a fuel meter. When the battery voltage is within a preset voltage range, it can be determined that the mobile phone 1 meets the fast charging conditions, and step S802 can be executed to enter the fast charging stage to quickly charge the battery. The fuel meter is a device designed according to Faraday's law to measure the amount of electricity passing through a circuit. Because the error range of the fuel meter measuring the voltage is generally 7.5mV, which is relatively small, the fuel meter can be used to detect the battery voltage.
[0078] If the battery voltage is not within the preset voltage range, it can be determined that the mobile phone 1 does not meet the fast charging condition at this time, and then step S805 is executed to enter the buck charging stage.
[0079] The above preset voltage range can be set by those skilled in the art according to requirements. For example, the lower limit of the preset voltage range can be set to 3.45V, and the upper limit of the preset voltage range can be set to 4.3V, which is not limited here.
[0080] S802: Entering the fast charging stage to quickly charge the battery.
[0081] When the mobile phone 1 enters the fast charging stage, the fast charging chip 52 can determine the corresponding charging strategy according to the different temperature conditions of the battery, such as Figure 6 As shown, Figure 6 Including strategies for charging mobile phones at different temperatures, and the cut-off voltage and cut-off current of each charging gear in the fast charging stage. Take the current charging temperature of the battery at 10℃-20℃ and mobile phone 1 in the fast charging stage as an example. When the current charging temperature of the battery is 10℃-20℃, the fast charging chip can control the charging current and charging voltage, and the fast charging stage can be divided into 5 gears to charge the battery. It should be noted that the charging current and cut-off voltage of each charging gear in the fast charging stage are different.
[0082] Specifically, when the charging temperature of the battery is between 10℃ and 20℃ and the fast charging stage is entered, the electronic device can detect the voltage of the battery through the fuel meter to obtain the fuel meter's voltage detection result of the battery; enter the corresponding charging gear according to the measurement result, and when the electronic device is in the first charging gear of the fast charging stage, the fuel meter can obtain the voltage detection result of the battery. It should be noted that the first charging gear can refer to any charging gear in the fast charging stage, and then it can be determined whether the battery voltage reaches the voltage threshold corresponding to the first charging gear according to the voltage detection result.
[0083] In some possible implementations, the charging voltage is equal to the battery voltage. Taking the battery capacity as 5000mAh and the first charging gear as the first charging gear in the fast charging stage as an example, the charging current of the first charging gear can be 1.6C, where C is the rate, and 1.6C is the value multiplied by the battery capacity, that is, the product of 1.6 and the battery capacity. It is determined that the charging current can be 8A, then 8A can be used to charge the battery in the first charging gear. During the charging process, the charging voltage continues to increase. For example, according to the measurement result, the measured battery voltage is 3V. After entering the first charging gear in the fast charging stage, the battery voltage starts to increase from 3V until it increases to the cut-off voltage of the first charging gear. It should be noted that the error of the fuel gauge detecting the battery voltage is generally 7.5mV, which is relatively small compared to the error of the fast charging chip. The cut-off voltage of the battery in the first charging gear is, for example, 4.25V. In order to avoid the risk of overcharging by continuing to charge with a relatively large current when the battery voltage exceeds the cut-off voltage of the battery, the charging voltage is actually stopped when the measured voltage reaches the voltage threshold, for example, 4.2425V. The electronic device can obtain the voltage detection result of the fuel gauge on the battery again. If it is determined according to the voltage detection result that the battery voltage reaches the voltage threshold corresponding to the first charging gear, the charging current can be reduced until the current threshold is reached, ending the current charging gear and entering the next charging gear. Among them, the voltage threshold can be determined by the measurement error of the fuel gauge and the cut-off voltage corresponding to the charging gear. Since the error of measuring the battery voltage through the fuel gauge is smaller than that of the fast charging chip, the voltage threshold of the charging gear can be set relatively high. Taking the first charging gear in the fast charging stage as an example, the voltage threshold of the first charging gear can be set to 4.2425V. When the fast charging chip measures, the voltage threshold of the first charging gear can be set to 4.23. This can increase the time in the charging stage with a larger charging current. Therefore, the charging time in the charging stage with a larger charging current will increase, which will cause the charging time in other stages to be reduced, and the overall charging time will be reduced.
[0084] For another example, the current charging temperature of the battery is between 10° C. and 20° C., and the first charging gear is the last gear of the fast charging stage. When it is determined that the last gear of the fast charging stage has been entered, step S803 is executed.
[0085] In some possible implementations, the charging voltage is equal to the voltage output by the fast charging chip, such as Figure 5 As shown, the voltage output by the fast charging chip 52 is equal to the battery voltage (cell voltage) measured by the fuel gauge 53, which is equal to the IR compensation voltage of the path between the fast charging chip 52 and the battery 30.
[0086] S803: Measure the current voltage of the battery through the fuel gauge, and determine whether the current voltage of the battery reaches a voltage threshold.
[0087] Taking a battery with a capacity of 5000mAh as an example, after the electronic device enters the fifth gear of the fast charging stage, that is, after entering the last gear of the fast charging stage, the charging current is reduced to 0.5C. At this time, the charging current is reduced to 0.5C, that is, 2.5A. For example, according to the measurement results of the fuel gauge chip, the measured battery voltage is 4.45V. Under the premise that the charging current is 2.5A, the battery voltage is increased from 4.45 to the voltage threshold.
[0088] The present application can use a fuel gauge to detect the battery voltage in real time. The error of the fuel gauge in detecting the battery voltage is generally 7.5mV, which is relatively small. The cut-off voltage of the battery is 4.48V when it is in the last charging gear in the fast charging stage. In order to avoid the risk of the battery voltage exceeding the safe voltage of the battery, the voltage threshold needs to be set to be less than or equal to 4.4725V, for example, 4.47V. If it is determined that the current battery voltage has reached the voltage threshold of the last charging gear based on the voltage detection result of the battery by the fuel gauge, step S804 is executed.
[0089] In this way, by measuring the battery voltage through the fuel gauge, the voltage threshold can be set relatively high, the charging time in the fast charging stage will be increased, and then the capacity charged in the fast charging stage will increase, and the charging time in the buck stage will be reduced, thus saving the overall charging time.
[0090] Of course, here we only introduce the first charging gear as the first charging gear in the fast charging stage and the last charging gear in the fast charging stage as an example. The first charging gear can also be other gears in the fast charging stage. Then, the same principle can be used for other charging gears in the fast charging stage. The battery voltage is measured using a fuel gauge, and then the detection result of the fuel gauge is used to determine whether to end the charging stage corresponding to the charging gear and enter the next charging gear after the charging gear. In some possible implementation methods, the fuel gauge can also be used to measure the battery voltage for at least two charging gears in the fast charging stage, and the fuel gauge can also be used to measure the battery voltage for each charging gear in the fast charging stage. This is not limited here, and those skilled in the art can set it according to actual needs. And those skilled in the art can also choose other devices with relatively small measurement voltage errors to replace the fuel gauge according to actual needs. It should be noted that any changes or replacements within the technical scope disclosed in this application should be covered within the scope of protection of this application.
[0091] S804: Determine whether the charging current reaches a current threshold.
[0092] The current threshold is the cut-off current of the fast charging stage. When the charging current reaches the current threshold, the fast charging can be stopped, that is, the fast charging stage is terminated and the buck stage is entered.
[0093] Specifically, after the current voltage of the battery reaches the voltage threshold, the battery voltage no longer changes, and the battery continues to be charged. During the charging process, the current gradually decreases until it decreases to the current threshold, wherein the current threshold can be set according to actual needs, for example, 1.2A. Of course, this is just an example and is not limited here. Technical personnel in this field can set it according to actual needs.
[0094] The electronic device can detect the charging current in real time. If it is determined that the charging current drops to the current threshold, the fast charging stage is terminated and the buck stage is entered. Step S805 is executed. If it is determined that the charging current does not drop to the current threshold, step S803 is executed to re-judge.
[0095] S805: Entering the BUCK stage to charge the battery.
[0096] The buck stage is also called the continuous charging stage. In order to achieve the best battery life, the battery can be charged in the buck stage after the fast charging stage. In the buck stage, the charging current gradually decreases to ensure that the battery enters the critical state of being fully charged.
[0097] After entering the buck stage, the output of the fast charging chip, that is, the charging voltage, can be the buck output voltage, wherein the buck output voltage can be pre-set to, for example, 3V.
[0098] When the charging voltage is constant, the charging current gradually decreases. For example, after the fast charging stage, the fast charging current is 1.2A, and it decreases from 1.2A until it reaches the charging current cutoff in the buck stage. The charging current cutoff in the buck stage can be pre-set according to demand, for example, 600mA.
[0099] The electronic device can detect the size of the charging current in real time. If it is determined that the fast charging current is reduced to the charging current cutoff in the buck stage, the charging is terminated.
[0100] In the present application, the battery voltage can be measured by a fuel meter. Since the error of the fuel meter in detecting the battery voltage is generally 7.5mV, which is relatively small compared to the error of the fast charging chip in detecting the battery voltage. Therefore, when the battery voltage is detected by the fuel meter, the voltage threshold of the corresponding charging gear can be set relatively high. Taking the last gear in the fast charging stage as an example, the set voltage threshold is higher than the cut-off voltage set for the last charging gear in the fast charging stage when the battery voltage is detected by the fast charging chip. For example, the cut-off voltage set for the last charging gear in the fast charging stage when the battery voltage is detected by the fast charging chip can be set to 4.46V, and the voltage threshold set for the last charging gear in the fast charging stage when the battery voltage is detected by the fuel meter can be set to 4.47V. In this way, when the battery voltage is measured by the fuel meter, the voltage threshold can be set relatively high, the charging time in the fast charging stage will be increased, and then the capacity charged in the fast charging stage will increase, and the charging time in the buck stage will be reduced, which saves the overall charging time.
[0101] The technical solution of this embodiment, in essence, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor to execute all or part of the steps of the method described in each embodiment. The aforementioned storage medium includes: flash memory, mobile hard disk, read-only memory, random access memory, magnetic disk or optical disk, etc., various media that can store program codes.
[0102] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions within the technical scope disclosed in the present application should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A charging method, characterized in that: A fast charging protocol is used to quickly charge a battery of an electronic device, the electronic device includes a fuel gauge, and the charging method includes: When the electronic device is in the first charging gear of the fast charging stage, obtaining a voltage detection result of the battery by the fuel meter; Determining whether the voltage of the battery reaches a voltage threshold corresponding to the first charging gear according to the voltage detection result; the first charging gear is one of the multiple charging gears in the fast charging stage, and the charging current and cut-off voltage of each charging gear in the fast charging stage are different, and the voltage threshold corresponding to each charging gear is determined by the measurement error of the fuel gauge and the cut-off voltage corresponding to each charging gear; When the charging current reaches the current threshold corresponding to the first charging gear and the voltage of the battery reaches the voltage threshold corresponding to the first charging gear, the charging stage corresponding to the first charging gear is ended.
2. The charging method according to claim 1, characterized in that: The first charging gear is the last charging gear in the fast charging stage, and when the charging current reaches the current threshold corresponding to the first charging gear and the voltage of the battery reaches the voltage threshold corresponding to the first charging gear, specifically includes: When the charging current reaches the current threshold corresponding to the last gear and it is determined based on the detection result of the fuel gauge that the voltage of the battery reaches the voltage threshold corresponding to the last charging gear, the fast charging stage is ended.
3. The charging method according to claim 1, characterized in that: The first charging gear is any charging gear before the last charging gear in the fast charging stage, and when the charging current reaches the current threshold corresponding to the first charging gear and the voltage of the battery reaches the voltage threshold corresponding to the first charging gear, the charging stage corresponding to the first charging gear is ended, specifically including: When the charging current reaches the current threshold corresponding to the first charging gear and, based on the detection result of the fuel gauge, it is determined that the voltage of the battery reaches the voltage threshold corresponding to the first charging gear, the charging stage corresponding to the first charging gear is ended, and the next charging gear after the first charging gear is entered.
4. The charging method according to claim 1, characterized in that: When the electronic device is in the first charging gear of the fast charging stage, obtaining the voltage detection result of the battery by the fuel meter specifically includes: Obtaining a detection result of the fuel gauge on the current voltage of the battery; After determining that the electronic device is in the first charging gear of the fast charging stage according to the detection result of the current voltage, the voltage detection result of the battery by the fuel meter is obtained.
5. The charging method according to claim 1, characterized in that: The method further comprises: When the electronic device is in a fast charging stage, obtaining voltage detection results of at least two charging gears of the battery by a fuel meter; When the charging current reaches the current threshold corresponding to the charging gear and it is determined based on the detection result of the fuel gauge that the voltage of the battery reaches the voltage threshold corresponding to the charging gear, the charging stage corresponding to the charging gear is ended and the next charging gear after the charging gear is entered.
6. The charging method according to claim 5, characterized in that: The obtaining of the voltage detection result of the fuel gauge on at least two charging gears of the battery includes: Obtain a voltage detection result of the fuel gauge for each charging gear of the battery.
7. The method according to any one of claims 1 to 6, characterized in that: After the charging stage corresponding to the first charging gear is ended, a buck stage is entered to charge the battery, and the method further includes: The battery is charged using the charging current of the buck stage and the preset buck output voltage, wherein the charging current of the buck stage is a charging current that gradually decreases from the cut-off current of the fast charge stage.
8. The method according to claim 7, characterized in that The method further comprises: If it is determined that the charging current in the buck stage is less than or equal to the cut-off charging current in the buck stage, the charging in the buck stage is stopped.
9. An electronic device, characterized in that: include: Processor and memory; Wherein, one or more computer programs are stored in the memory, and the one or more computer programs include instructions; when the instructions are executed by the processor, the electronic device performs the method as described in any one of claims 1-8.
10. A computer storage medium, characterized in that: The method comprises computer instructions. When the computer instructions are executed on an electronic device, the electronic device executes the method according to any one of claims 1 to 8.
Citation Information
Cited By
Charging method, computer readable storage medium and battery test equipment
CN121394623A