Charging control method, charging circuit and electronic device
By detecting battery voltage and temperature and selecting an appropriate charging current strategy, the problems of low charging efficiency and power-on delay when electronic devices are at low voltage are solved, achieving fast charging and reducing power-on delay.
Patent Information
- Application Number
- PCT/CN2024/108276
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2024-07-29
- Publication Date
- 2026-02-05
AI Technical Summary
When the battery voltage of electronic devices is low, the charging efficiency is low, resulting in a longer boot-up delay and affecting the user experience.
By detecting battery voltage and temperature, fast charging current or buck charging current is used to charge the battery until the battery voltage reaches the power-on voltage. A suitable charging strategy is selected based on temperature conditions to improve charging efficiency.
While ensuring charging safety, the speed at which the battery voltage rises to the power-on voltage has been improved, reducing power-on delay and enhancing the user experience.
Smart Images

Figure CN2024108276_05022026_PF_FP_ABST
Abstract
Description
Charging control methods, charging circuits and electronic devices Technical Field
[0001] This application relates to the field of charging technology, specifically to a charging control method, a charging circuit, and an electronic device. Background Technology
[0002] When the battery voltage in an electronic device is low, it triggers the device to automatically shut down. In this low-power shutdown scenario, the battery is charged until its voltage reaches the power-on voltage, at which point the device can power on normally. However, the charging efficiency is low in this scenario, resulting in a longer power-on delay and negatively impacting the user experience.
[0003] Summary of the Invention
[0004] Therefore, embodiments of this application provide a charging control method, a charging circuit, and an electronic device, aiming to solve the problem of how to reduce power-on delay.
[0005] A first aspect of this application provides a charging control method applied to an electronic device, the electronic device including one or more batteries. The method includes: acquiring the voltage and temperature of each battery in the electronic device; charging each battery with a fast charging current until the voltage of each battery is greater than or equal to the power-on voltage when the voltage of each battery meets a first voltage condition and the temperature of each battery meets a first temperature condition; and powering on the electronic device when the voltage of each battery is greater than or equal to the power-on voltage. The fast charging current is greater than a target charging current.
[0006] In this embodiment, when the battery voltage meets a first voltage condition and the battery temperature meets a first temperature condition, it indicates that the electronic device is in the Unified Extensible Firmware Interface (UEFI) stage. Furthermore, if the battery temperature meets the temperature conditions for fast charging, a fast charging current is used to charge the battery until the battery voltage is greater than or equal to the power-on voltage. Therefore, by increasing the charging current while ensuring charging safety, the battery voltage rises to the power-on voltage more quickly, thereby improving charging efficiency and reducing the power-on delay of the electronic device.
[0007] In one embodiment, the method further includes: when the voltage of each battery meets a first voltage condition and the temperature of each battery meets a second temperature condition, charging is performed using a step-down charging current for each battery until the voltage of each battery is greater than or equal to the power-on voltage. The step-down charging current is less than or equal to the target charging current.
[0008] In this embodiment, when the battery voltage meets the first voltage condition and the battery temperature meets the second temperature condition, it indicates that the electronic device is in the UEFI stage and the battery temperature meets the temperature condition for buck charging. The battery is charged using a buck charging current until the battery voltage is greater than or equal to the power-on voltage, thereby ensuring charging safety.
[0009] In another embodiment, when the electronic device includes a battery, the battery voltage satisfies a first voltage condition by: the battery voltage being greater than or equal to a voltage threshold and less than a power-on voltage, the voltage threshold being the minimum voltage at which the electronic device performs hardware environment initialization.
[0010] In another embodiment, when the electronic device includes multiple batteries, the voltage of each battery satisfies a first voltage condition including: the voltage of each battery is greater than or equal to a voltage threshold and less than the power-on voltage, and the voltage difference between any two batteries is less than the equilibrium voltage.
[0011] In another embodiment, when the electronic device includes multiple batteries, the method further includes: charging a target battery with a fast-charging current when the voltage of each battery meets a second voltage condition and the temperature of each battery meets a first temperature condition, until the voltage difference between any two batteries is less than an equilibrium voltage. The target battery is the battery with the lowest voltage among the multiple batteries.
[0012] In this embodiment, when the voltage of each battery meets the second voltage condition and the temperature of each battery meets the first temperature condition, it indicates that the electronic device is in the UEFI stage, the batteries are not in a state of charge balancing, and the temperature of each battery meets the temperature condition for fast charging. The target battery is then charged using the fast charging current of the target battery until the voltage difference between any two batteries is less than the equilibrium voltage. Thus, while ensuring charging safety, the charging current is increased, allowing the batteries to reach a state of charge balancing more quickly, thereby improving charging efficiency and reducing the delay in charge balancing.
[0013] In another embodiment, when the electronic device includes multiple batteries, the method further includes: charging a target battery with a step-down charging current of a target battery when the voltage of each battery meets a second voltage condition and the temperature of each battery meets a second temperature condition, until the voltage difference between any two batteries is less than an equilibrium voltage. The target battery is charged with the step-down charging current of the target battery.
[0014] In this embodiment, when the voltage of each battery meets the second voltage condition and the temperature of each battery meets the second temperature condition, it indicates that the electronic device is in the UEFI stage, the batteries are not in a state of balanced charge, and the temperature of each battery meets the temperature condition for buck charging. The buck charging current of the target battery is used to charge the target battery until the voltage difference between any two batteries is less than the balanced voltage, thereby ensuring charging safety.
[0015] In another embodiment, the voltage of each battery satisfies the second voltage condition by: the voltage of each battery being greater than or equal to a voltage threshold and less than the power-on voltage, and the voltage difference between any two batteries being greater than or equal to the equalization voltage.
[0016] In another embodiment, when the voltage of each battery is greater than or equal to the power-on voltage, the method further includes charging the batteries using a fast charging current.
[0017] In another embodiment, the method further includes stopping charging when the temperature of any battery does not meet the first temperature condition and the second temperature condition.
[0018] In another embodiment, the temperature of each battery satisfying the first temperature condition includes: the temperature of each battery being within a first temperature range.
[0019] In another embodiment, the temperature of each battery satisfying the second temperature condition includes: the temperature of each battery being within the second temperature range.
[0020] A second aspect of this application provides a charging circuit disposed in an electronic device. The charging circuit includes a controller, a buck charging circuit, a fast charging circuit, a voltage detection circuit, and a temperature detection circuit. The charging circuit is electrically connected to a battery pack of the electronic device, the battery pack including one or more batteries. The buck charging circuit is electrically connected to the controller and one or more batteries, and is used to output a buck charging current to one or more batteries under the control of the controller. The fast charging circuit is electrically connected to the controller and one or more batteries, and is used to output a fast charging current to one or more batteries under the control of the controller. The voltage detection circuit is electrically connected to the controller and one or more batteries, and is used to detect the voltage of one or more batteries and report the voltage of one or more batteries to the controller. The temperature detection circuit is electrically connected to the controller and one or more batteries, and is used to detect the temperature of one or more batteries and report the temperature of one or more batteries to the controller. The controller is used to: acquire the voltage and temperature of each battery; when the voltage of each battery meets a first voltage condition and the temperature of each battery meets a first temperature condition, charge the batteries using the fast charging current until the voltage of each battery is greater than or equal to the power-on voltage; the fast charging current is greater than the target charging current; when the voltage of each battery is greater than or equal to the power-on voltage, the electronic device is powered on.
[0021] A third aspect of this application provides an electronic device including a processor, a temperature sensor, a charging circuit, and a battery pack. The charging circuit includes a buck charging circuit, a fast charging circuit, and a voltage detection circuit. The battery pack includes one or more batteries. The buck charging circuit is electrically connected to the processor and the one or more batteries, and is used to output a buck charging current to the one or more batteries under the control of the processor. The fast charging circuit is electrically connected to the processor and the one or more batteries, and is used to output a fast charging current to the one or more batteries under the control of the processor. The voltage detection circuit is electrically connected to the processor and the one or more batteries, and is used to detect the voltage of the one or more batteries and report the voltage of the one or more batteries to the processor. The temperature sensor is electrically connected to the processor and the one or more batteries, and is used to detect the temperature of the one or more batteries and report the temperature of the one or more batteries to the processor. The processor is used to: acquire the voltage and temperature of each battery; when the voltage of each battery meets a first voltage condition and the temperature of each battery meets a first temperature condition, charge the batteries using the fast charging current until the voltage of each battery is greater than or equal to the power-on voltage; the fast charging current is greater than the target charging current; and when the voltage of each battery is greater than or equal to the power-on voltage, power on the electronic device.
[0022] It is understood that the beneficial effects of the charging circuit provided in the second aspect and the electronic device provided in the third aspect of the embodiments of this application are largely the same as the beneficial effects of the charging control method provided in the first aspect, and will not be repeated here. Attached Figure Description
[0023] Figure 1 is a schematic diagram of an example of an electronic device being charged.
[0024] Figure 2 is a schematic diagram of an electronic device charging scenario provided as another example.
[0025] Figure 3 is a schematic diagram of another example of an electronic device charging scenario.
[0026] Figure 4 is a schematic diagram of another example of an electronic device charging scenario.
[0027] Figure 5 is a schematic diagram of the hardware structure of an electronic device provided in one embodiment.
[0028] Figure 6 is a flowchart of a charging control method provided in one embodiment.
[0029] Figure 7 is a schematic diagram of a user interface provided as an example.
[0030] Figure 8 is a schematic diagram of a user interface provided in another example.
[0031] Figure 9 is a schematic diagram of the hardware structure of an electronic device provided in another embodiment.
[0032] Figure 10 is a flowchart of a charging control method provided in another embodiment.
[0033] Figure 11 is a schematic diagram of a user interface provided in another example.
[0034] Figure 12 is a schematic diagram of a user interface provided in another example.
[0035] Figure 13 is a schematic diagram of the hardware structure of an electronic device provided in another embodiment.
[0036] Figure 14 is a schematic diagram of a power balancing circuit provided in one embodiment.
[0037] Figure 15 is a flowchart of a charging control method provided in another embodiment.
[0038] Figure 16 is a schematic diagram of the hardware structure of an electronic device provided in another embodiment.
[0039] Figure 17 is a flowchart of a charging control method provided in another embodiment.
[0040] Figure 18 is a schematic diagram of a user interface provided in another example. Detailed Implementation
[0041] It should be noted that in the embodiments of this application, "multiple" refers to two or more. The terms "first," "second," "third," "fourth," etc., in the specification, claims, and drawings of this application are used to distinguish similar objects, not to describe a specific order or sequence. The methods disclosed in the embodiments of this application, or the methods shown in the flowcharts, include one or more steps for implementing the method. Without departing from the scope of the claims, the execution order of multiple steps can be interchanged, and some steps can also be deleted.
[0042] The electronic devices involved in the embodiments of this application may include, but are not limited to, mobile phones, tablets, personal computers (PCs), e-book readers, workstations, servers, personal digital assistants (PDAs), portable multimedia players (PMPs), mobile medical devices, cameras, and wearable devices such as smartwatches, smart bracelets, and smart glasses.
[0043] In this embodiment, the boot process of an electronic device includes a Unified Extensible Firmware Interface (UEFI) stage and a kernel stage. The UEFI stage can be viewed as a preparation stage before the System on Chip (SoC) of the electronic device executes the boot process, while the kernel stage can be viewed as the stage where the SoC of the electronic device executes the boot process. The boot process, also known as the startup process or startup item, refers to a series of programs or services automatically loaded and executed by the SoC when it starts the operating system.
[0044] During the UEFI phase, when the battery voltage in the electronic device is greater than or equal to a voltage threshold but less than the power-on voltage, the SoC performs hardware environment initialization and executes the boot loader, which loads the operating system kernel into memory. The voltage threshold is the minimum voltage required for the SoC to perform hardware environment initialization, for example, 3V. The power-on voltage is the minimum voltage required for the SoC to perform operating system kernel initialization, for example, 3.45V.
[0045] During the kernel stage, when the battery voltage in the electronic device is greater than or equal to the power-on voltage, the SoC executes the boot process, which includes initializing the operating system kernel, starting the application framework and services, and starting the user interface.
[0046] The following describes the charging scenarios for electronic devices using scenarios one through four as examples. In scenarios one and two, the electronic device includes one battery, using a candybar phone as an example. In scenarios three and four, the electronic device includes two batteries, using a foldable phone as an example.
[0047] Scenario 1 is a wired charging scenario for a candybar phone, as shown in Figure 1. When the candybar phone is powered off due to over-discharge, and the candybar phone is connected to the charger via a charging cable, the charger, after receiving the charging input, charges the individual battery in the candybar phone via the charging cable.
[0048] Scenario 2 is the wireless charging scenario for a candybar phone, as shown in Figure 2. When the candybar phone is powered off due to over-discharge, and it is placed in the charging area of the charging dock, the charging dock receives the charging input and generates an induced current through electromagnetic induction. This induced current is then used to charge the individual battery in the candybar phone.
[0049] In both scenarios 1 and 2, when the battery voltage in a candybar phone is greater than or equal to the voltage threshold but less than the power-on voltage, the candybar phone is in the UEFI stage, and the phone's display shows a low battery charging icon.
[0050] Scenario 3 is a wired charging scenario for foldable phones, as shown in Figure 3, taking the foldable phone with the screen unfolded as an example. When the foldable phone is powered off, and it is connected to the charger via a charging cable, the charger, after receiving the charging input, charges the two batteries in the foldable phone through the charging cable.
[0051] Scenario 4 is the wireless charging scenario for foldable screen phones, as shown in Figure 4, taking the foldable screen phone in the folded state as an example. When the foldable screen phone is powered off, and it is placed in the charging area of the charging dock, the charging dock receives the charging input and generates an induced current through electromagnetic induction, which is then used to charge the two batteries in the foldable screen phone.
[0052] In scenarios three and four, when the voltages of both batteries in the foldable phone are greater than or equal to the voltage threshold and less than the power-on voltage, the foldable phone is in the UEFI stage, and the display shows a low battery charging icon. Specifically, when the foldable phone is in the unfolded state (Figure 3), the low battery charging icon is displayed on the unfolded screen. When the foldable phone is in the folded state (Figure 4), the low battery charging icon is displayed on the display area of the back panel of the foldable phone.
[0053] The charging control method of this application embodiment is described in detail below with reference to the hardware structure of the electronic device.
[0054] Figure 5 is a schematic diagram of the hardware structure of an electronic device provided in one embodiment.
[0055] Taking an electronic device including a battery as an example. As shown in Figure 5, the electronic device 10A includes a charging interface 11, a step-down charging circuit 12, a controller 13, a fast charging circuit 14, a battery 15, a voltage detection circuit 16, and a load interface 17.
[0056] The charging interface 11 is used for electrical connection with the charger 40 to receive charging input from the charger 40.
[0057] The buck charging circuit 12 is electrically connected to the charging interface 11, the controller 13, the battery 15, and the load interface 17. The buck charging circuit 12 receives the charging input from the charging interface 11 and, under the control of the controller 13, outputs a stepped-down charging current to the battery 15 and / or the load interface 17. Exemplarily, the buck charging circuit 12 may be a Buck circuit, which steps down the charging input from the charging interface 11 to the voltage required by the battery 15 and / or the load. The Buck circuit can achieve voltage conversion and regulation through one or more switching elements, an energy storage element, and a filter capacitor. The switching element may include a metal-oxide-semiconductor field-effect transistor (MOSFET), an insulated-gate bipolar transistor (IGBT), or other switching transistors. The energy storage element may include an energy storage inductor or an energy storage capacitor.
[0058] The fast charging circuit 14 is electrically connected to the charging interface 11, the controller 13, and the battery 15. The fast charging circuit 14 receives charging input from the charging interface 11 and, under the control of the controller 13, outputs a fast charging current to the battery 15. Exemplarily, the fast charging circuit 14 can be implemented using any of the following methods: high-voltage fast charging, low-voltage direct charging, switched capacitor charging, or charge pump charging. In this embodiment, an SC (Super Charger) circuit can be selected. The SC circuit can be implemented based on a charge pump charging method. The SC circuit may include a switching circuit and a capacitor. The switching circuit may include switching transistors such as MOS (Metal-Oxide-Semiconductor field-effect transistor) and IGBT (Insulated Gate Bipolar Transistor).
[0059] In this context, the fast charging current is greater than the buck charging current. The fast charging current is greater than the target charging current, while the buck charging current is less than or equal to the target charging current. The target charging current serves as a standard to distinguish between fast charging and buck charging currents. When the charging current is greater than the target charging current, it is considered a fast charging current. When the charging current is less than the target charging current, it is considered a buck charging current. For example, the target charging current can be the product of the target charging rate and the rated capacity of battery 15. The target charging rate is set by the battery manufacturer based on the battery's characteristics, usage environment, and the results of battery cycle charge-discharge tests; for example, a target charging rate of 0.2C, 0.3C, or 0.4C. Taking battery 15 with a rated capacity of 5000mAh and a target charging rate of 0.4C as an example, when the charging current is greater than 2A, it is considered a fast charging current. When the charging current is less than or equal to 2A, it is considered a buck charging current.
[0060] It is understood that the charging current in this embodiment is the current flowing into the battery when charging it, and the charging current can be detected by a fuel gauge. The charging current includes fast charging current or buck charging current.
[0061] In this embodiment, the electronic device 10A supports fast charging protocols, such as the Universal Fast Charging Specification (UFCS), Programmable Power Supply (PPS), and proprietary protocols. Proprietary protocols are fast charging protocols defined by the electronic device manufacturer, such as the Fast Charge Protocol (FCP) and the Super Charge Protocol (SCP). After connecting to the charger 40, the electronic device 10A performs fast charging protocol detection to determine the fast charging protocols supported by the charger 40.
[0062] Voltage detection circuit 16 is electrically connected to controller 13 and battery 15. Voltage detection circuit 16 is used to detect the voltage of battery 15 and report the voltage of battery 15 to controller 13. Exemplarily, voltage detection circuit 16 can use a voltage divider resistor network or a voltage follower to detect the voltage of battery 15. Voltage detection circuit 16 can also employ a fuel gauge. A fuel gauge can not only detect the voltage and current of battery 15, but also track the charge and discharge history of battery 15, estimate the remaining charge (SOC) of battery 15, and provide state of health (SOH) information of battery 15.
[0063] The load interface 17 is used for electrical connection to a load to supply power to the load. The load includes devices inside the electronic device 10A, or other devices connected to the electronic device 10A. For example, the load may include memory, display screen, camera, and wireless communication module inside the electronic device 10A.
[0064] The controller 13 is used to control the buck charging circuit 12 and the fast charging circuit 14 to be turned on or off, thereby implementing the charging control method of this embodiment. Exemplarily, the controller 13 may include a charge / discharge switch circuit and a charge / discharge manager. The charge / discharge manager may be divided into two independent devices: a charging chip and a power manager. Alternatively, the charging chip and the power manager may be integrated into the same device. The charge / discharge manager may also be a processor from the electronic device 10A. The charge / discharge switch circuit has multiple switches; by controlling the opening and closing of these multiple switches, the buck charging circuit 12 and the fast charging circuit 14 can be turned on or off.
[0065] Specifically, as shown in Figure 6, the charging control method includes the following steps:
[0066] S101, the controller 13 determines that the charging interface 11 is electrically connected to the charger 40 and obtains the voltage of the battery 15.
[0067] In some embodiments, after determining that the charging interface 11 is electrically connected to the charger 40, the controller 13 performs a Battery Charging Specification Revision 1.2 (BC1.2) test. The BC1.2 test is used to determine the charging interface type of the charger. The charging interface type may include, but is not limited to, a Dedicated Charging Port (DCP), a Standard Downstream Port (SDP), and a Universal Serial Bus (USB) interface.
[0068] S102, the controller 13 determines whether the voltage of the battery 15 is less than the voltage threshold.
[0069] If yes, proceed to step S103; otherwise, proceed to step S104.
[0070] Among them, the voltage threshold is less than the power-on voltage.
[0071] In this embodiment, when the voltage of battery 15 is greater than or equal to a voltage threshold, it indicates that electronic device 10A is in the UEFI stage. When the voltage of battery 15 is greater than or equal to the power-on voltage, it indicates that electronic device 10A is in the Kernel stage.
[0072] S103, the controller 13 controls the buck charging circuit 12 to be turned on and the fast charging circuit 14 to be turned off, so as to charge the battery 15 through the buck charging current.
[0073] After completing step S103, return to step S102 until the voltage of battery 15 is greater than or equal to the voltage threshold.
[0074] S104, Controller 13 determines whether the voltage of battery 15 is greater than or equal to the power-on voltage.
[0075] If yes, then steps S105 and S106 are executed in parallel; otherwise, step S107 is executed.
[0076] S105, the controller 13 controls the buck charging circuit 12 to turn off and the fast charging circuit 14 to turn on, so as to charge the battery 15 through the fast charging current.
[0077] S106, Electronic device 10A power on.
[0078] For example, as shown in Figures 7 and 8, when the controller 13 determines that the voltage of the battery 15 is greater than or equal to the power-on voltage, the controller 13 executes the power-on process, and the electronic device 10A starts the user interface, displaying a power-on icon, such as the "Honor" icon, on the user interface. Subsequently, the electronic device 10A can display a power-on animation on the user interface, and after the power-on animation has loaded, the home page is displayed on the user interface.
[0079] S107, the controller 13 controls the buck charging circuit 12 to be turned on and the fast charging circuit 14 to be turned off, so as to charge the battery 15 through the buck charging current.
[0080] After completing step S107, return to step S104 until the voltage of battery 15 is greater than or equal to the power-on voltage.
[0081] In this embodiment, when the voltage of battery 15 is less than a voltage threshold, it is charged using a step-down charging current until the voltage of battery 15 is greater than or equal to the voltage threshold. When the voltage of battery 15 is greater than or equal to the voltage threshold but less than the power-on voltage, it indicates that electronic device 10A is in the UEFI phase, and it is charged using a step-down charging current until the voltage of battery 15 is greater than or equal to the power-on voltage. For example, as shown in Figures 1 and 2, in the UEFI phase, the display screen of electronic device 10A displays a low battery charging icon.
[0082] When the voltage of battery 15 is greater than or equal to the power-on voltage, electronic device 10A is in the Kernel stage, charging via fast charging current and executing the power-on process. The display screen of electronic device 10A shows a power-on icon. For example, as shown in FIG7, during the Kernel stage, the display screen of electronic device 10A displays the power-on icon. After the power-on process is completed, as shown in FIG8, the display screen of electronic device 10A displays the Home page.
[0083] In the above embodiments, when the battery voltage is lower than the power-on voltage, charging is performed using a step-down charging current. When the battery voltage is greater than or equal to the power-on voltage, charging is switched to a fast charging current. Since a step-down charging current is used during the UEFI phase, and this current is relatively small, the charging efficiency is low. To improve charging efficiency, another embodiment is provided below.
[0084] Figure 9 is a schematic diagram of the hardware structure of an electronic device provided in another embodiment.
[0085] Compared to the electronic device 10A shown in FIG. 5, in this embodiment, the electronic device 10B further includes a temperature detection circuit 18. As shown in FIG. 9, the temperature detection circuit 18 is electrically connected to the controller 13 and the battery 15. The temperature detection circuit 18 is used to detect the temperature of the battery 15 and report the temperature of the battery 15 to the controller 13. Exemplarily, the temperature detection circuit 18 may employ a temperature sensor.
[0086] The controller 13 is used to control the buck charging circuit 12 and the fast charging circuit 14 to be turned on or off, thereby implementing the charging control method of this embodiment. Specifically, as shown in FIG10, the charging control method includes the following steps:
[0087] S201, the controller 13 determines that the charging interface 11 is electrically connected to the charger 40 and obtains the voltage and temperature of the battery 15.
[0088] S202, the controller 13 determines whether the voltage of the battery 15 is less than the voltage threshold.
[0089] If yes, proceed to step S203; otherwise, proceed to step S204.
[0090] S203, the controller 13 controls the buck charging circuit 12 to be turned on and the fast charging circuit 14 to be turned off, so as to charge the battery 15 through the buck charging current.
[0091] After completing step S203, return to step S202 until the voltage of battery 15 is greater than or equal to the voltage threshold.
[0092] S204, Controller 13 determines whether the voltage of battery 15 is greater than or equal to the power-on voltage.
[0093] If yes, then steps S205 and S206 are executed in parallel; otherwise, step S207 is executed.
[0094] S205, the controller 13 controls the buck charging circuit 12 to turn off and the fast charging circuit 14 to turn on, so as to charge the battery 15 through the fast charging current.
[0095] S206, Electronic device 10B is powered on.
[0096] S207, the controller 13 determines whether the temperature of the battery 15 meets the first temperature condition.
[0097] If yes, proceed to step S208; otherwise, proceed to step S209.
[0098] S208, the controller 13 determines the fast charging current based on the temperature of the battery 15, and controls the buck charging circuit 12 to turn off and the fast charging circuit 14 to turn on, so as to charge the battery 15 through the fast charging current.
[0099] After completing step S208, return to step S204 until the voltage of battery 15 is greater than or equal to the power-on voltage.
[0100] S209, the controller 13 determines whether the temperature of the battery 15 meets the second temperature condition.
[0101] If yes, proceed to step S210; otherwise, proceed to step S211.
[0102] S210, the controller 13 determines the step-down charging current based on the temperature of the battery 15, and controls the step-down charging circuit 12 to be turned on and the fast charging circuit 14 to be turned off, so as to charge the battery 15 through the step-down charging current.
[0103] After completing step S210, return to step S204 until the voltage of battery 15 is greater than or equal to the power-on voltage.
[0104] S211, the controller 13 controls the buck charging circuit 12 to turn off and the fast charging circuit 14 to turn off, stopping charging.
[0105] In this embodiment, if the temperature of battery 15 does not meet either the first temperature condition or the second temperature condition, it means that battery 15 is not suitable for charging.
[0106] In some embodiments, when the temperature of battery 15 does not meet either the first temperature condition or the second temperature condition, in addition to stopping charging, electronic device 10B may also issue a battery temperature abnormality alarm. For example, as shown in FIG11, when the temperature of battery 15 does not meet either the first temperature condition or the second temperature condition, the display screen of electronic device 10B displays an alarm icon.
[0107] In this embodiment, the first temperature condition is the temperature condition corresponding to fast charging, and the second temperature condition is the temperature condition corresponding to buck charging. The battery 15's temperature meeting the first temperature condition means that the battery 15's temperature is within a first temperature range, and the battery 15's temperature meeting the second temperature condition means that the battery 15's temperature is within a second temperature range. For example, the first temperature range can be 10–45°C, and the second temperature range can be 0–10°C.
[0108] The first and second temperature ranges are related to battery standards. While meeting these standards, battery manufacturers can set the first and second temperature ranges based on the battery's operating environment. For example, the Japan Electronics and Information Technology Industries Association (JEITA) standard recommends adjusting the charging current and voltage within different temperature ranges to avoid overheating and improve battery life. For instance, in the good temperature range, such as 0–45°C, the battery can be charged at its maximum charging rate. In the cold temperature range, such as below 0°C, the charging current should be significantly reduced or charging should be stopped to avoid lithium metal deposition on the negative electrode. In the hot temperature range, such as above 45°C, the charging current and voltage should be reduced to avoid battery overheating and potential thermal runaway. In the critical temperature range, such as above 50°C, charging should be completely stopped.
[0109] In other embodiments, the temperature of battery 15 satisfying a first temperature condition means that the temperature of battery 15 is greater than or equal to a temperature threshold, and the temperature of battery 15 satisfying a second temperature condition means that the temperature of battery 15 is less than a temperature threshold. The temperature threshold can be set as needed.
[0110] It's understandable that battery standards specify the relationship between battery charging current and battery temperature. When the battery temperature meets the first temperature condition, it means the battery temperature meets the temperature conditions for fast charging. According to the fast charging specifications in the battery standard, the battery temperature corresponds to the fast charging current. When the battery temperature meets the second temperature condition, it means the battery temperature meets the temperature conditions for buck charging. According to the buck charging specifications in the battery standard, the battery temperature corresponds to the buck charging current.
[0111] In this embodiment, when the voltage of battery 15 meets a first voltage condition and the temperature of battery 15 meets a first temperature condition, it indicates that electronic device 10B is in the UEFI stage, and the temperature of battery 15 meets the temperature condition for fast charging. Controller 13 adopts a first charging strategy until the voltage of battery 15 is greater than or equal to the power-on voltage. The first voltage condition means that the voltage of battery 15 meets the first voltage condition, which includes the battery voltage being greater than or equal to a voltage threshold and less than the power-on voltage. The first charging strategy includes determining a fast charging current based on the temperature of battery 15 and charging using that fast charging current. For example, as shown in FIG12, in the UEFI stage, when the temperature of battery 15 meets the temperature condition for fast charging, the display screen of electronic device 10B displays a fast charging icon.
[0112] When the voltage of battery 15 meets the first voltage condition and the temperature of battery 15 meets the second temperature condition, it indicates that electronic device 10B is in the UEFI phase. Furthermore, the temperature of battery 15 meets the temperature condition for buck charging. Controller 13 then employs a second charging strategy until the voltage of battery 15 is greater than or equal to the power-on voltage. The second charging strategy includes determining a buck charging current based on the temperature of battery 15 and charging using that current. For example, as shown in Figures 1 and 2, in the UEFI phase, when the temperature of battery 15 meets the temperature condition for buck charging, the display screen of electronic device 10B shows a low battery charging icon.
[0113] In the above embodiments, based on the correspondence between battery charging current and battery temperature in the battery standard, a determination of battery temperature is added during the UEFI stage. When the battery temperature meets the temperature conditions for fast charging, charging is performed using the fast charging current. When the battery temperature meets the temperature conditions for buck charging, charging is performed using the buck charging current. Therefore, while ensuring charging safety, the charging current is increased, allowing the battery voltage to rise to the power-on voltage more quickly, thereby improving charging efficiency and reducing the power-on delay of electronic devices.
[0114] The above embodiments use an electronic device that includes one battery as an example. The following describes in detail the case where the battery device includes multiple batteries.
[0115] Figure 13 is a schematic diagram of the hardware structure of an electronic device provided in another embodiment.
[0116] Taking an electronic device with two batteries as an example. As shown in Figure 13, the electronic device 20A includes a charging interface 21, a step-down charging circuit 22, a controller 23, a first fast charging circuit 241, a second fast charging circuit 242, a first battery 251, a second battery 252, a first voltage detection circuit 261, a second voltage detection circuit 262, a load interface 27, and a power balancing circuit 28.
[0117] The charging interface 21 is used for electrical connection with the charger 40 to receive charging input from the charger 40.
[0118] A step-down charging circuit 22 is electrically connected to a charging interface 21, a controller 23, a first battery 251, a second battery 252, a load interface 27, and a power balancing circuit 28. The step-down charging circuit 22 receives charging input from the charging interface 21 and, under the control of the controller 23, outputs a step-down charging current to the first battery 251 and / or the second battery 252 and / or the load interface 27 and / or the power balancing circuit 28. The step-down charging circuit 22 includes a first battery interface 221 and a second battery interface 222. The first battery interface 221 is electrically connected to the first battery 251 under the control of the controller 23, outputting a step-down charging current to the first battery 251. The second battery interface 222 is electrically connected to the second battery 252 under the control of the controller 23, outputting a step-down charging current to the second battery 252. The step-down charging current is less than or equal to the target charging current.
[0119] In this embodiment, the buck charging circuit 22 being on means that both the first battery interface 221 and the second battery interface 222 in the buck charging circuit 22 are connected. When the first battery interface 221 is connected, the buck charging circuit 22 is electrically connected to the first battery 251 and outputs a buck charging current to the first battery 251. When the first battery interface 221 is off, the buck charging circuit 22 is disconnected from the first battery 251 and does not output a buck charging current to the first battery 251. When the second battery interface 222 is on, the buck charging circuit 22 is electrically connected to the second battery 252 and outputs a buck charging current to the second battery 252. When the second battery interface 222 is off, the buck charging circuit 22 is disconnected from the second battery 252 and does not output a buck charging current to the second battery 252. The buck charging circuit 22 being off means that both the first battery interface 221 and the second battery interface 222 in the buck charging circuit 22 are disconnected.
[0120] The first fast charging circuit 241 is electrically connected to the charging interface 21, the controller 23, the first battery 251, and the power balancing circuit 28. The first fast charging circuit 241 receives charging input from the charging interface 21 and, under the control of the controller 23, outputs a first fast charging current to the first battery 251 or the power balancing circuit 28. The first fast charging current is greater than the target charging current.
[0121] The second fast charging circuit 242 is electrically connected to the charging interface 21, the controller 23, the second battery 252, and the power balancing circuit 28. The second fast charging circuit 242 receives charging input from the charging interface 21 and, under the control of the controller 23, outputs a second fast charging current to the second battery 252 or the power balancing circuit 28. This second fast charging current is greater than the target charging current.
[0122] The first voltage detection circuit 261 is electrically connected to the controller 23 and the first battery 251. The first voltage detection circuit 261 is used to detect the voltage of the first battery 251 and report the voltage of the first battery 251 to the controller 23.
[0123] The second voltage detection circuit 262 is electrically connected to the controller 23 and the second battery 252. The second voltage detection circuit 262 is used to detect the voltage of the second battery 252 and report the voltage of the second battery 252 to the controller 23.
[0124] Load interface 27 is used to electrically connect to the load and supply power to the load.
[0125] The power balancing circuit 28 is electrically connected to the step-down charging circuit 22 via connecting line L1, to the first battery 251 via connecting line L2, to the controller 23 via connecting line L3, to the first fast charging circuit 241 via connecting line L4, to the second battery 252 via connecting line L5, and to the second fast charging circuit 242 via connecting line L6. The power balancing circuit 28 is used to electrically connect or disconnect the first battery 251 and the second battery 252 under the control of the controller 23.
[0126] For example, as shown in FIG14, the power balancing circuit 28 includes switching transistors Q1 to Q3 and resistors R1 to R2. The gate of switching transistor Q1 is electrically connected to the controller 23 via connection line L3, the source of switching transistor Q1 is grounded, and the drain of switching transistor Q1 is electrically connected to one end of resistor R1. The other end of resistor R1 is electrically connected to the gates of switching transistors Q2 and Q3. The source of switching transistor Q2 is electrically connected to the source of switching transistor Q3. The drain of switching transistor Q2 is electrically connected to one end of resistor R2, and is electrically connected to the step-down charging circuit 22 via connection line L1, the first fast charging circuit 241 via connection line L4, and the first battery 251 via connection line L2. The drain of switching transistor Q3 is electrically connected to the other end of resistor R2, and is electrically connected to the second fast charging circuit 242 via connection line L6 and the second battery 252 via connection line L5.
[0127] When the voltage difference between the first battery 251 and the second battery 252 is less than the equalization voltage, the controller 23 controls the switch Q1 to turn on. The gates of the switches Q2 and Q3 are grounded through the resistor R1, making the gate levels of both switches Q2 and Q3 low. Since both switches Q2 and Q3 are low-level conducting, they are both on, thus electrically connecting the first battery 251 and the second battery 252. When the voltage difference between the first battery 251 and the second battery 252 is greater than or equal to the equalization voltage, the controller 23 controls the switch Q1 to turn off. The gates of the switches Q2 and Q3 are no longer grounded through the resistor R1, making the gate levels of both switches Q2 and Q3 high. This turns off switches Q2 and Q3, thus disconnecting the first battery 251 and the second battery 252.
[0128] The controller 23 is used to control the buck charging circuit 22, the first fast charging circuit 241, the second fast charging circuit 242 and the power balancing circuit 28 to turn on or off, thereby realizing the charging control method of this embodiment.
[0129] It is understood that in this embodiment, the specific implementation of the step-down charging circuit 22 is roughly the same as that of the step-down charging circuit 12 shown in Figure 5, the specific implementation of the first fast charging circuit 241 and the second fast charging circuit 242 is roughly the same as that of the fast charging circuit 14 shown in Figure 5, the specific implementation of the first voltage detection circuit 261 and the second voltage detection circuit 262 is roughly the same as that of the voltage detection circuit 16 shown in Figure 5, and the specific implementation of the controller 23 is roughly the same as that of the controller 13 shown in Figure 5, which will not be described again here.
[0130] Specifically, as shown in Figure 15, the charging control method includes the following steps:
[0131] S301, the controller 23 determines that the charging interface 21 is electrically connected to the charger 40, and obtains the voltage of the first battery 251 and the voltage of the second battery 252.
[0132] S302, the controller 23 determines whether the voltage of the first battery 251 and the voltage of the second battery 252 are both less than the voltage threshold.
[0133] If yes, proceed to step S303; otherwise, proceed to step S304.
[0134] S303, the controller 23 controls the buck charging circuit 22 to be turned on, the first fast charging circuit 241 to be turned off, the second fast charging circuit 242 to be turned off, and the power balancing circuit 28 to be turned off, so as to charge the first battery 251 and the second battery 252 through the buck charging current.
[0135] After completing step S303, return to step S302 until the voltage of the first battery 251 and the voltage of the second battery 252 are both greater than or equal to the voltage threshold.
[0136] S304, the controller 23 determines whether the voltage of the first battery 251 and the voltage of the second battery 252 are both greater than or equal to the power-on voltage.
[0137] If yes, proceed to step S305; otherwise, proceed to step S309.
[0138] In this embodiment, when the voltage of the first battery 251 and the voltage of the second battery 252 are both greater than or equal to a voltage threshold, it indicates that the electronic device 20A is in the UEFI stage. When the voltage of the first battery 251 and the voltage of the second battery 252 are both greater than or equal to the power-on voltage, it indicates that the electronic device 20A is in the Kernel stage.
[0139] S305, the controller 23 determines whether the voltage difference between the first battery 251 and the second battery 252 is less than the equalization voltage.
[0140] If yes, then steps S306 and S307 are executed in parallel; otherwise, step S308 is executed.
[0141] In this embodiment, when the voltage difference between the first battery 251 and the second battery 252 is less than the equilibrium voltage, it indicates that the first battery 251 and the second battery 252 are in a state of balanced charge.
[0142] S306, the controller 23 controls the buck charging circuit 22 to turn off, the first fast charging circuit 241 to turn on, the second fast charging circuit 242 to turn on, and the power balancing circuit 28 to turn on, so as to charge the first battery 251 and the second battery 252 through the first fast charging current and the second fast charging current.
[0143] In this embodiment, when the first battery 251 and the second battery 252 are in a state of balanced charge, the power balancing circuit 28 is turned on, and the first fast charging circuit 241 and the second fast charging circuit 242 are electrically connected. The first fast charging current can charge the first battery 251 and the second battery 252, and the second fast charging current can also charge the first battery 251 and the second battery 252, thereby achieving balanced charging of the first battery 251 and the second battery 252.
[0144] S307, Electronic device 20A is powered on.
[0145] S308, the controller 23 controls the buck charging circuit 22 to turn off, the fast charging circuit connected to the lower voltage battery to turn on, the fast charging circuit connected to the higher voltage battery to turn off, and the power balancing circuit 28 to turn off, and charges the lower voltage battery with the fast charging current corresponding to the lower voltage battery.
[0146] After completing step S308, return to step S305 until the voltage difference between the first battery 251 and the second battery 252 is less than the equalization voltage.
[0147] The lower voltage battery refers to the battery with the lower voltage among the first battery 251 and the second battery 252. The higher voltage battery refers to the battery with the higher voltage among the first battery 251 and the second battery 252.
[0148] S309, the controller 23 controls the buck charging circuit 22 to be turned on, the first fast charging circuit 241 to be turned off, the second fast charging circuit 242 to be turned off, and the power balancing circuit 28 to be turned off, so as to charge the first battery 251 and the second battery 252 through the buck charging current.
[0149] After completing step S309, return to step S304 until the voltage of the first battery 251 and the voltage of the second battery 252 are both greater than or equal to the power-on voltage.
[0150] In this embodiment, when the voltage of the first battery 251 and / or the voltage of the second battery 252 is less than a voltage threshold, charging is performed using a step-down charging current until both the voltage of the first battery 251 and the voltage of the second battery 252 are greater than or equal to the voltage threshold. When both the voltage of the first battery 251 and the voltage of the second battery 252 are greater than or equal to the voltage threshold and less than the power-on voltage, it indicates that the electronic device 20A is in the UEFI phase, and charging is performed using a step-down charging current until both the voltage of the first battery 251 and the voltage of the second battery 252 are greater than or equal to the power-on voltage. For example, as shown in Figures 3 and 4, in the UEFI phase, the display screen of the electronic device 20A displays a low battery charging icon.
[0151] When the voltage of the first battery 251 and the voltage of the second battery 252 are both greater than or equal to the power-on voltage, and the voltage difference between the first battery 251 and the second battery 252 is less than the equalization voltage, it indicates that the electronic device 20A is in the Kernel stage, and the first battery 251 and the second battery 252 are in a state of balanced charge. The device is charged by the first fast charging current corresponding to the first battery 251 and the second fast charging current corresponding to the second battery 252, and the power-on process is executed, and the electronic device 20A is powered on.
[0152] When the voltage of the first battery 251 and the voltage of the second battery 252 are both greater than or equal to the power-on voltage, and the voltage difference between the first battery 251 and the second battery 252 is greater than or equal to the equilibrium voltage, it indicates that the electronic device 20A is in the Kernel stage, and the first battery 251 and the second battery 252 are not in a state of balanced charge. The lower voltage battery is charged by the fast charging current corresponding to the lower voltage battery until the voltage difference between the first battery 251 and the second battery 252 is less than the equilibrium voltage.
[0153] In the above embodiments, when the voltage of one or more batteries is lower than the power-on voltage, charging is performed using a step-down charging current. When the voltage of all batteries is greater than or equal to the power-on voltage, charging is switched to a fast charging current. Because a step-down charging current is used during the UEFI phase, and this current is relatively small, the charging efficiency during the UEFI phase is low. To improve charging efficiency, another embodiment is provided below.
[0154] Figure 16 is a schematic diagram of the hardware structure of an electronic device provided in another embodiment.
[0155] Compared to the electronic device 20A shown in FIG13, in this embodiment, the electronic device 20B further includes a first temperature detection circuit 291 and a second temperature detection circuit 292. As shown in FIG16, the first temperature detection circuit 291 is electrically connected to the controller 23 and the first battery 251. The first temperature detection circuit 291 is used to detect the temperature of the first battery 251 and report the temperature of the first battery 251 to the controller 23. The second temperature detection circuit 292 is electrically connected to the controller 23 and the second battery 252. The second temperature detection circuit 292 is used to detect the temperature of the second battery 252 and report the temperature of the second battery 252 to the controller 23. Exemplarily, the first temperature detection circuit 291 and the second temperature detection circuit 292 may be temperature sensors.
[0156] The controller 23 is used to control the buck charging circuit 22, the first fast charging circuit 241, the second fast charging circuit 242 and the power balancing circuit 28 to turn on or off, thereby realizing the charging control method of this embodiment.
[0157] Specifically, as shown in Figure 17, the charging control method includes the following steps:
[0158] S401, the controller 23 determines that the charging interface 21 is electrically connected to the charger 40, and obtains the voltage and temperature of the first battery 251 and the voltage and temperature of the second battery 252.
[0159] S402, the controller 23 determines whether the voltage of the first battery 251 and the voltage of the second battery 252 are both less than the voltage threshold.
[0160] If yes, proceed to step S403; otherwise, proceed to step S404.
[0161] S403, the controller 23 controls the buck charging circuit 22 to be turned on, the first fast charging circuit 241 to be turned off, the second fast charging circuit 242 to be turned off, and the power balancing circuit 28 to be turned off, so as to charge the first battery 251 and the second battery 252 through the buck charging current.
[0162] After completing step S403, return to step S402 until the voltage of the first battery 251 and the voltage of the second battery 252 are both greater than or equal to the voltage threshold.
[0163] S404, Controller 23 determines whether the voltage of the first battery 251 and the voltage of the second battery 252 are both greater than or equal to the power-on voltage.
[0164] If yes, proceed to step S405; otherwise, proceed to step S409.
[0165] S405, the controller 23 determines whether the voltage difference between the first battery 251 and the second battery 252 is less than the equalization voltage.
[0166] If yes, then steps S406 and S407 are executed in parallel; otherwise, step S408 is executed.
[0167] S406, the controller 23 determines the first fast charging current based on the temperature of the first battery 251, determines the second fast charging current based on the temperature of the second battery 252, and controls the buck charging circuit 22 to turn off, the first fast charging circuit 241 to turn on, the second fast charging circuit 242 to turn on, and the power balancing circuit 28 to turn on, so as to charge the first battery 251 and the second battery 252 through the first fast charging current and the second fast charging current.
[0168] S407, Electronic device 20B is powered on.
[0169] S408, the controller 23 determines the fast charging current corresponding to the lower voltage battery based on the temperature of the lower voltage battery, and controls the buck charging circuit 22 to turn off, the fast charging circuit connected to the lower voltage battery to turn on, the fast charging circuit connected to the higher voltage battery to turn off, and the power balancing circuit 28 to turn off, so as to charge the lower voltage battery with the fast charging current corresponding to the lower voltage battery.
[0170] After completing step S408, return to step S405 until the voltage difference between the first battery 251 and the second battery 252 is less than the equalization voltage.
[0171] The lower voltage battery refers to the battery with the lower voltage among the first battery 251 and the second battery 252. The higher voltage battery refers to the battery with the higher voltage among the first battery 251 and the second battery 252.
[0172] S409, when the controller 23 determines that the voltage of the first battery 251 and the voltage of the second battery 252 are both greater than or equal to the voltage threshold and less than the power-on voltage, it determines whether the temperature of the first battery 251 and the temperature of the second battery 252 both meet the first temperature condition.
[0173] If yes, proceed to step S410; otherwise, proceed to step S413.
[0174] S410, the controller 23 determines whether the voltage difference between the first battery 251 and the second battery 252 is less than the equalization voltage.
[0175] If yes, proceed to step S411; otherwise, proceed to step S412.
[0176] S411, the controller 23 determines the first fast charging current based on the temperature of the first battery 251, determines the second fast charging current based on the temperature of the second battery 252, and controls the buck charging circuit 22 to turn off, the first fast charging circuit 241 to turn on, the second fast charging circuit 242 to turn on, and the power balancing circuit 28 to turn on, so as to charge the first battery 251 and the second battery 252 through the first fast charging current and the second fast charging current.
[0177] After completing step S411, return to step S404 until the voltage of the first battery 251 and the voltage of the second battery 252 are both greater than or equal to the power-on voltage.
[0178] S412, the controller 23 determines the fast charging current corresponding to the lower voltage battery based on the temperature of the lower voltage battery, and controls the buck charging circuit 22 to turn off, the fast charging circuit connected to the lower voltage battery to turn on, the fast charging circuit connected to the higher voltage battery to turn off, and the power balancing circuit 28 to turn off, so as to charge the lower voltage battery with the fast charging current corresponding to the lower voltage battery.
[0179] After completing step S412, return to step S410 until the voltage difference between the first battery 251 and the second battery 252 is less than the equalization voltage.
[0180] S413, determine whether the temperature of the first battery 251 and the temperature of the second battery 252 both meet the second temperature condition.
[0181] If yes, proceed to step S414; otherwise, proceed to step S417.
[0182] S414, the controller 23 determines whether the voltage difference between the first battery 251 and the second battery 252 is less than the equalization voltage.
[0183] If yes, proceed to step S415; otherwise, proceed to step S416.
[0184] S415, the controller 23 determines the step-down charging current based on the temperature of the lower-temperature battery, and controls the step-down charging circuit 22 to be turned on, the first fast charging circuit 241 to be turned off, the second fast charging circuit 242 to be turned off, and the power balancing circuit 28 to be turned on, so as to charge the first battery 251 and the second battery 252 with the step-down charging current corresponding to the lower-temperature battery.
[0185] After completing step S415, return to step S404 until the voltage of the first battery 251 and the voltage of the second battery 252 are both greater than or equal to the power-on voltage.
[0186] Among them, the lower temperature battery refers to the battery with the lower temperature in the first battery 251 and the second battery 252.
[0187] S416, the controller 23 determines the step-down charging current based on the temperature of the lower voltage battery, and controls the battery interface corresponding to the lower voltage battery in the step-down charging circuit 22 to be connected and the battery interface corresponding to the higher voltage battery to be disconnected, the first fast charging circuit 241 to be turned off, the second fast charging circuit 242 to be turned off and the power balancing circuit 28 to be turned off, and charges the lower voltage battery with the step-down charging current corresponding to the lower voltage battery.
[0188] After completing step S416, return to step S414 until the voltage difference between the first battery 251 and the second battery 252 is less than the equalization voltage.
[0189] S417, the controller 13 controls the buck charging circuit 12 to turn off, the first fast charging circuit 241 to turn off, the second fast charging circuit 242 to turn off, and the power balancing circuit 28 to turn off, thus stopping charging.
[0190] In this embodiment, if the temperature of the first battery 251 and the temperature of the second battery 252 do not meet either the first temperature condition or the second temperature condition, it means that the first battery 251 and the second battery 252 are not suitable for charging.
[0191] In the above embodiments, when the voltage of the first battery 251 and the voltage of the second battery 252 meet a first voltage condition, and the temperature of the first battery 251 and the temperature of the second battery 252 meet a first temperature condition, it indicates that the electronic device 20B is in the UEFI stage, the first battery 251 and the second battery 252 are in a power balance state, and the temperature of the first battery 251 and the temperature of the second battery 252 meet the temperature condition for fast charging. The controller 23 adopts a first charging strategy until the voltage of the first battery 251 and the voltage of the second battery 252 are both greater than or equal to the power-on voltage. The first voltage condition being met includes the voltage of the first battery 251 and the voltage of the second battery 252 being both greater than or equal to a voltage threshold and less than the power-on voltage, and the voltage difference between the first battery 251 and the second battery 252 being less than the balance voltage. The first charging strategy includes determining a first fast charging current based on the temperature of the first battery 251, determining a second fast charging current based on the temperature of the second battery 252, and charging using the first fast charging current and the second fast charging current. For example, as shown in FIG18, during the UEFI phase, when the temperature of the first battery 251 and the temperature of the second battery 252 meet the temperature conditions for fast charging, the display screen of the electronic device 20B displays a fast charging icon.
[0192] When the voltage of the first battery 251 and the voltage of the second battery 252 meet a first voltage condition, and the temperatures of the first battery 251 and the second battery 252 meet a second temperature condition, it indicates that the electronic device 20B is in the UEFI phase, the first battery 251 and the second battery 252 are in a state of balanced charge, and the temperatures of the first battery 251 and the second battery 252 meet the temperature conditions for buck charging. The controller 23 then employs a second charging strategy until the voltage of the first battery 251 and the voltage of the second battery 252 are both greater than or equal to the power-on voltage. The second charging strategy includes determining a buck charging current based on the temperature of the lower-temperature battery and charging using this buck charging current. For example, as shown in Figures 3 and 4, in the UEFI phase, when the temperatures of the first battery 251 and the second battery 252 meet the temperature conditions for buck charging, the display screen of the electronic device 20B shows a low-battery charging icon.
[0193] When the voltages of the first battery 251 and the second battery 252 meet a second voltage condition, and the temperatures of the first battery 251 and the second battery 252 meet a first temperature condition, it indicates that the electronic device 20B is in the UEFI stage. The first battery 251 and the second battery 252 are not in a state of balanced charge, and the temperatures of the first battery 251 and the second battery 252 meet the temperature conditions for fast charging. The controller 23 then employs a third charging strategy until the voltage difference between the first battery 251 and the second battery 252 is less than the balanced voltage. The second voltage condition is met when the voltages of the first battery 251 and the second battery 252 are both greater than or equal to a voltage threshold and less than the power-on voltage, and the voltage difference between the first battery 251 and the second battery 252 is greater than or equal to the balanced voltage. The third charging strategy includes determining a fast charging current based on the temperature of the lower-voltage battery and charging the lower-voltage battery using this fast charging current.
[0194] When the voltage of the first battery 251 and the voltage of the second battery 252 meet the second voltage condition, and the temperatures of the first battery 251 and the second battery 252 meet the second temperature condition, it indicates that the electronic device 20B is in the UEFI stage, the first battery 251 and the second battery 252 are not in a state of balanced charge, and the temperatures of the first battery 251 and the second battery 252 meet the temperature conditions for buck charging. The controller 23 then employs a fourth charging strategy until the voltage difference between the first battery 251 and the second battery 252 is less than the balanced voltage. The fourth charging strategy includes determining a buck charging current based on the temperature of the lower-voltage battery and charging the lower-voltage battery using this buck charging current.
[0195] In the above embodiments, when the electronic device includes multiple batteries, based on the correspondence between battery charging current and battery temperature in the battery standard, the UEFI stage adds a determination of the temperature and charge balance state of multiple batteries. When the temperatures of multiple batteries meet the temperature conditions for fast charging and the multiple batteries are in a charge balance state, charging is performed using the fast charging current corresponding to each battery. When the temperatures of multiple batteries meet the temperature conditions for buck charging and the multiple batteries are in a charge balance state, charging is performed using the buck charging current corresponding to the lower-temperature battery. When the temperatures of multiple batteries meet the temperature conditions for fast charging but the multiple batteries are not in a charge balance state, the lower-voltage battery is charged using the fast charging current corresponding to the lower-voltage battery. When the temperatures of multiple batteries meet the temperature conditions for buck charging but the multiple batteries are not in a charge balance state, the lower-voltage battery is charged using the buck charging current corresponding to the lower-temperature battery. Therefore, while ensuring charging safety, the charging current is increased, allowing each battery to reach a charge balance state more quickly, thereby improving charging efficiency and reducing the charge balance delay.
[0196] In some embodiments, the controller determines the number of batteries after confirming that the charging interface is electrically connected to the charger. When the number of batteries is determined to be a single battery, the controller employs the charging control method shown in Figure 6 or Figure 10. When the number of batteries is determined to be multiple batteries, the controller employs the charging control method shown in Figure 15 or Figure 17.
[0197] It is understood that the structures shown in Figures 5, 9, 13, and 16 do not constitute a specific limitation on the electronic device. In other embodiments, the electronic device may include more or fewer components than shown, or combine some components, or split some components, or have different component arrangements.
[0198] This application provides a charging circuit, which is disposed in an electronic device. The charging circuit includes a controller, a step-down charging circuit, a fast charging circuit, a voltage detection circuit, and a temperature detection circuit. The charging circuit is electrically connected to the battery pack of the electronic device, and the battery pack includes one or more batteries.
[0199] The system includes the following components: a buck charging circuit, a fast charging circuit, and a voltage detection circuit. Buck charging circuits are electrically connected to the controller and one or more batteries, and are used to output a buck charging current to the batteries under the control of the controller. A voltage detection circuit is also electrically connected to the controller and one or more batteries, and is used to detect the voltage of the batteries and report it to the controller. A temperature detection circuit is also electrically connected to the controller and one or more batteries, and is used to detect the temperature of the batteries and report it to the controller.
[0200] The controller is used to: acquire the voltage and temperature of each battery. When the voltage of each battery meets a first voltage condition and the temperature of each battery meets a first temperature condition, charging is performed using the fast charging current of each battery until the voltage of each battery is greater than or equal to the power-on voltage. The fast charging current is greater than the target charging current. When the voltage of each battery is greater than or equal to the power-on voltage, the electronic device is powered on.
[0201] In other embodiments, the charging circuit further includes a power balancing circuit. The power balancing circuit is electrically connected to the buck charging circuit, the fast charging circuit, the controller, and one or more batteries. The power balancing circuit is used to achieve power balancing among the multiple batteries under the control of the controller.
[0202] This application provides an electronic device, which includes a processor, a temperature sensor, a charging circuit, and a battery pack. The charging circuit includes a buck charging circuit, a fast charging circuit, and a voltage detection circuit. The battery pack includes one or more batteries.
[0203] The system includes: a buck charging circuit electrically connected to the processor and one or more batteries; a fast charging circuit electrically connected to the processor; a voltage detection circuit electrically connected to the processor and one or more batteries; and a temperature sensor electrically connected to the processor and one or more batteries.
[0204] The processor is used to: acquire the voltage and temperature of each battery. When the voltage of each battery meets a first voltage condition and the temperature of each battery meets a first temperature condition, charging is performed using the fast charging current of each battery until the voltage of each battery is greater than or equal to the power-on voltage. The fast charging current is greater than the target charging current. When the voltage of each battery is greater than or equal to the power-on voltage, the electronic device is powered on.
[0205] A processor may include one or more processing units. Different processing units may be independent devices or integrated into one or more processors. A processor may also include memory for storing instructions and data.
[0206] The charging circuit receives charging input from the charger and, under the control of the processor, charges one or more batteries via a fast charging circuit or a buck charging circuit. The charging circuit also detects parameters such as battery capacity, battery cycle life, and battery health status (leakage current, impedance).
[0207] In some embodiments, the charging circuit may be located in the processor.
[0208] In some embodiments, the charging circuit further includes a power balancing circuit. The power balancing circuit is electrically connected to the buck charging circuit, the fast charging circuit, the processor, and one or more batteries, and is used to achieve power balancing among the multiple batteries under the control of the processor.
[0209] It is understood that the embodiments of this application do not limit the number of buck charging circuits, fast charging circuits, voltage detection circuits, and temperature detection circuits (or temperature sensors).
[0210] This application provides a computer-readable storage medium storing computer instructions, which, when executed by a processor, implement the charging control method of this application.
[0211] Computer-readable storage media includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules or other data). Computer-readable storage media includes, but is not limited to, random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory, compact disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical disc storage, magnetic cartridges, magnetic tapes, disk storage or other magnetic storage devices, or any other medium that can be used to store desired information and is accessible to a computer.
[0212] This application provides a computer program product, including computer instructions, which, when executed by a processor, implement the charging control method of this application.
[0213] The embodiments of this application have been described in detail above with reference to the accompanying drawings. However, this application is not limited to the above embodiments. Within the scope of knowledge possessed by those skilled in the art, various changes can be made without departing from the spirit of this application.
Claims
1. A charge control method applied to an electronic device, the electronic device comprising one or more batteries, characterized in that, The method comprises: acquiring voltages and temperatures of each battery in the electronic device; when the voltage of each battery meets a first voltage condition and the temperature of each battery meets a first temperature condition, charging by a fast charging current of each battery until the voltage of each battery is greater than or equal to a boot voltage; the fast charging current is greater than a target charging current; when the voltage of each battery is greater than or equal to the boot voltage, the electronic device is booted.
2. The charge control method according to claim 1, wherein The method further comprises: when the voltage of each battery meets the first voltage condition and the temperature of each battery meets a second temperature condition, charging by a step-down charging current of each battery until the voltage of each battery is greater than or equal to the boot voltage; the step-down charging current is less than or equal to the target charging current.
3. The charge control method according to claim 1 or 2, characterized by, When the electronic device comprises one battery, the voltage of the battery meeting the first voltage condition comprises: the voltage of the battery is greater than or equal to a voltage threshold and less than the boot voltage, the voltage threshold being the lowest voltage at which the electronic device performs hardware environment initialization.
4. The charge control method according to claim 1 or 2, characterized by, When the electronic device comprises a plurality of batteries, the voltage of each battery meeting the first voltage condition comprises: the voltage of each battery is greater than or equal to a voltage threshold and less than the boot voltage, and the voltage difference between any two batteries of the plurality of batteries is less than an equalization voltage; the voltage threshold being the lowest voltage at which the electronic device performs hardware environment initialization.
5. The charge control method according to claim 1 or 2, characterized by, When the electronic device comprises a plurality of batteries, the method further comprises: when the voltage of each battery meets a second voltage condition and the temperature of each battery meets the first temperature condition, charging a target battery by a fast charging current of the target battery until the voltage difference between any two batteries of the plurality of batteries is less than an equalization voltage; the target battery being the battery with the lowest voltage among the plurality of batteries.
6. The charge control method according to claim 1 or 2, characterized by, When the electronic device comprises a plurality of batteries, the method further comprises: when the voltage of each battery meets a second voltage condition and the temperature of each battery meets a second temperature condition, charging a target battery by a step-down charging current corresponding to the target battery until the voltage difference between any two batteries of the plurality of batteries is less than an equalization voltage; the target battery being the battery with the lowest voltage among the plurality of batteries; the step-down charging current being less than or equal to the target charging current.
7. The charge control method according to claim 5 or 6, characterized by, The voltage of each battery meeting the second voltage condition comprises: the voltage of each battery is greater than or equal to a voltage threshold and less than the boot voltage, and the voltage difference between any two batteries of the plurality of batteries is greater than or equal to the equalization voltage; the voltage threshold being the lowest voltage at which the electronic device performs hardware environment initialization.
8. The charge control method according to any one of claims 1 to 7, characterized by, When the voltage of each battery is greater than or equal to the boot voltage, the method further comprises: charging by the fast charging current of each battery.
9. The charge control method according to any one of claims 1 to 8, characterized by, The method further comprises: when the temperature of any one battery does not meet the first temperature condition and the second temperature condition, stopping charging.
10. The charge control method according to any one of claims 1 to 9, characterized by, The temperature of each battery meeting the first temperature condition comprises: the temperature of each battery is within a first temperature range.
11. The charge control method according to any one of claims 2, 6, 8, 9, characterized by, The temperature of each battery satisfies a second temperature condition, including: The temperature of each battery is within a second temperature range.
12. A charging circuit provided in an electronic device, characterized by comprising: The charging circuit includes a controller, a step-down charging circuit, a fast charging circuit, a voltage detection circuit, and a temperature detection circuit, the charging circuit is electrically connected to a battery pack of the electronic device, and the battery pack includes one or more batteries; The step-down charging circuit is electrically connected to the controller and the one or more batteries, and is configured to output a step-down charging current to the one or more batteries under the control of the controller; The fast charging circuit is electrically connected to the controller and the one or more batteries, and is configured to output a fast charging current to the one or more batteries under the control of the controller; The voltage detection circuit is electrically connected to the controller and the one or more batteries, and is configured to detect the voltage of the one or more batteries and report the voltage of the one or more batteries to the controller; The temperature detection circuit is electrically connected to the controller and the one or more batteries, and is configured to detect the temperature of the one or more batteries and report the temperature of the one or more batteries to the controller; The controller is configured to: obtain the voltage and temperature of each battery; when the voltage of each battery satisfies a first voltage condition and the temperature of each battery satisfies a first temperature condition, charge through the fast charging current of each battery until the voltage of each battery is greater than or equal to a boot voltage; the fast charging current is greater than a target charging current; when the voltage of each battery is greater than or equal to the boot voltage, the electronic device is booted.
13. An electronic device, comprising: The electronic device includes a processor, a temperature sensor, a charging circuit, and a battery pack, the charging circuit includes a step-down charging circuit, a fast charging circuit, and a voltage detection circuit, and the battery pack includes one or more batteries; The step-down charging circuit is electrically connected to the processor and the one or more batteries, and is configured to output a step-down charging current to the one or more batteries under the control of the processor; The fast charging circuit is electrically connected to the processor and the one or more batteries, and is configured to output a fast charging current to the one or more batteries under the control of the processor; The voltage detection circuit is electrically connected to the processor and the one or more batteries, and is configured to detect the voltage of the one or more batteries and report the voltage of the one or more batteries to the processor; The temperature sensor is electrically connected to the processor and the one or more batteries, and is configured to detect the temperature of the one or more batteries and report the temperature of the one or more batteries to the processor; The processor is configured to: obtain the voltage and temperature of each battery; when the voltage of each battery satisfies a first voltage condition and the temperature of each battery satisfies a first temperature condition, charging is performed by a fast charging current of the respective battery until a voltage of the respective battery is greater than or equal to a start-up voltage; the fast charging current is greater than a target charging current, when the voltage of the respective battery is greater than or equal to the start-up voltage, the electronic device starts up.
Citation Information
Patent Citations
Charging control method and device, computer readable storage medium and electronic device
CN112039150A
Charging control method and device, electronic equipment and computer readable storage medium
CN115441526A
Charging control method of battery pack and related equipment
CN116404734A
Charging method, charging circuit and electronic equipment
CN118315697A
Charging method, readable medium, program product, and electronic device
CN118336166A