Electronic device and control method thereof

By limiting the power supply of the adapter through the controller and charge/discharge manager, and using battery discharge to compensate for the adapter's power shortage, the problem of high temperature and high pressure of the battery under high load of electronic devices is solved, thereby reducing battery temperature and extending battery life.

CN114665524BActive Publication Date: 2026-03-20HUAWEI TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-12-22
Publication Date
2026-03-20

AI Technical Summary

Technical Problem

Under high load conditions, batteries may experience shortened lifespan or even bulge due to high temperature and high pressure.

Method used

By working together with the controller and charge/discharge manager, the power supply of the adapter is limited, the power shortage of the adapter is compensated by the battery discharge, the battery temperature is reduced, and bulging is prevented.

Benefits of technology

It effectively reduces battery temperature, decreases the occurrence of bulging, and extends battery life.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114665524B_ABST
    Figure CN114665524B_ABST
Patent Text Reader

Abstract

Embodiments of the present application provide an electronic device and a control method thereof, and relate to the technical field of charging. The control method of the electronic device is used to reduce the temperature of a battery while the load power of the electronic device remains unchanged. The control method of the electronic device includes a charge-discharge manager controlling an adapter to supply power to a load and charge a battery. Within a first preset time, when a controller determines that the temperature of the battery exceeds a preset temperature threshold T th or the voltage of a battery cell exceeds a preset voltage threshold V th , the charge-discharge manager limits the power supplied by the adapter to a first power supply P c1 . The charge-discharge manager controls the battery to discharge and compensates for the gap power of the adapter. The discharge power of the battery is less than or equal to a first preset discharge power P batt1 . The first power supply P c1 , the rated power supply P init of the adapter, and the first preset discharge power P batt1 of the battery satisfy: P c1 + P batt1 ≥ P init .
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of charging, in particular to an electronic device and a control method thereof. BACKGROUND

[0002] With the development of electronic devices such as notebooks and all-in-one computers towards thin and light direction, the battery in the electronic device usually adopts a flat battery with a relatively thin thickness. However, in the case that the electronic device is connected with an adapter, when the electronic device is running in a high load state, the battery will be in a high temperature state. In addition, due to the connection of the adapter, the battery with high capacity is in a storage state for a long time in the high temperature state. In this way, the service life of the battery is reduced, and even the phenomenon of bulging occurs. SUMMARY

[0003] The present application provides an electronic device and a control method thereof, which is used to reduce the temperature of the battery when the load power of the electronic device is unchanged.

[0004] To achieve the above-mentioned purpose, the present application adopts the following technical solutions:

[0005] In an aspect of the present application, a control method of an electronic device is provided. The electronic device includes a battery, a load, a charge and discharge manager, and a controller. The charge and discharge manager is electrically connected with the battery, the load, and an adapter, and the controller is electrically connected with the battery and the charge and discharge manager. The method includes: first, the charge and discharge manager controls the adapter to supply power to the load and charge the battery. Next, within a first preset time, when the controller judges that at least one condition of the battery temperature exceeding a preset temperature threshold T th , and the cell voltage exceeding a preset voltage threshold V th is met, the controller judges that the battery is in the above-mentioned high temperature and high pressure state, and the charge and discharge manager limits the power supply power output by the adapter to a first power supply power P c1 . Wherein, the first power supply power P c1 , the rated power supply power P init of the adapter, and the first preset discharge power P batt1 of the battery satisfy: P c1 +P batt1 ≥P init . Next, the charge and discharge manager controls the battery to discharge, and the discharge power of the battery is less than or equal to the first preset discharge power P batt1 , so as to compensate for the gap power of the adapter.

[0006] In this way, when the controller monitors that the battery is in the above-mentioned high temperature and high pressure state, a current limiting control instruction is sent to the charge and discharge manager, so that the charge and discharge manager limits the power supply power output by the adapter to the first power supply power P c1The adapter's power deficit (P) init -P c1 The compensation is achieved by battery discharge. At this point, as mentioned above, the adapter and battery jointly drive the load. After the battery discharges, its capacity decreases, which helps lower the battery temperature and effectively reduces the likelihood of battery bulging.

[0007] Optionally, the charge / discharge manager limits the power output of the adapter to a first power supply P. c1 Previously, the method also included: the controller acquiring the adapter's rated operating voltage Vdd and calculating the adapter's current-limiting point I. limt I limt =P c1 / Vdd. The charge / discharge manager will output the rated power P of the adapter. init Limited to the first power supply P c1 Includes: The charge / discharge manager limits the current output by the adapter to the load to the current limit point I. limt In this way, the charge / discharge manager can limit the power supplied by the adapter to the load by limiting the current output from the adapter.

[0008] Optionally, the controller calculates the current limiting point I of the adapter. limt Previously, the method also included the controller calculating the current load power P of the load. sys With the battery's second preset discharge power P batt2 The difference is used as the first power supply P. c1 Among them, P batt2 ≤P batt1 That is, the second preset discharge power P batt2 The first preset discharge power P of the battery is less than or equal to that of the battery. batt1 Any value. When the second preset discharge power P batt2 When a smaller value is selected, the current output from the adapter to the load can be limited repeatedly. The adapter's power deficit is compensated by battery discharge, thus reducing battery capacity. When the second preset discharge power P... batt2 When a larger value is selected, the current limit on the adapter output to the load is reduced, and the number of repetitions of the process of compensating for the adapter's shortfall power by battery discharge is reduced.

[0009] Optionally, the electronic device also includes a housing that contacts the battery. The controller calculates the current-limiting point I of the adapter. limtPreviously, the method also included: the controller acquiring the casing temperature of the electronic device and calculating the ambient temperature. Next, the controller obtained a preset load power P0 that matched the ambient temperature from a preset correspondence. Specifically, when the load operated at each preset load power P0 in the preset correspondence, the battery temperature was less than a preset temperature threshold T. th Next, the controller obtains the adapter's rated operating voltage Vdd and the load's maximum load power P. max When P0+P batt1 ≥P max At this time, the controller will preset the load power P0 as the first power supply P. c1 When the load power reaches the preset load power P0, the battery temperature T of the electronic device operating at a power matching the preset load power P0 is... batt Less than the preset temperature threshold T th Therefore, when the controller limits the power output of the adapter to a preset load power P0, it can ensure that the battery temperature T is maintained at the aforementioned ambient temperature. batt Less than the preset temperature threshold T th In addition, the battery's first preset discharge power P batt1 The sum of the preset load power P0 provided by the adapter to the load satisfies P0+P batt1 ≥P max That is, when the charge / discharge manager limits the power output of the adapter to a preset load power P0, the preset load power P0 and the battery's first preset discharge power P batt1 The sum of these values ​​is greater than or equal to the adapter's rated power supply P. init Therefore, it is sufficient to drive the load. Similarly, after the battery discharges, the battery capacity decreases, which helps to reduce the battery temperature and effectively reduces the chance of the battery bulging.

[0010] Optionally, the controller calculates the current limiting point I of the adapter. limt Previously, the method also included: the controller acquiring the casing temperature of the electronic device and calculating the ambient temperature. Next, the controller obtained a preset load power P0 that matched the ambient temperature from a preset correspondence. Specifically, when the load operated at each preset load power P0 in the preset correspondence, the battery temperature was less than a preset temperature threshold T. th In addition, the controller obtains the adapter's rated operating voltage Vdd and the load's maximum load power P. max When P0 + Pbatt1 < P max At that time, the controller will set the preset load power P0 and the preset power margin P. gap The sum of these is used as the first power supply P. c1 Among them, P gap =P max -P0-Pbatt1 When the power of the load reaches the preset load power P0, the electronic device operating at the preset load power P0, the battery temperature T batt of the battery is less than the preset temperature threshold T th . Therefore, when the controller limits the power supply power output by the adapter to the preset load power P0, the battery temperature T batt of the battery can be ensured to be less than the preset temperature threshold T th . In addition, since the first preset discharge power P batt1 of the battery and the preset load power P0 provided by the adapter to the load satisfy P0+P bat <P max , that is, when the charge-discharge manager limits the power supply power output by the adapter to the preset load power P0, the sum of the preset load power P0 of the adapter and the first preset discharge power P batt1 of the battery is not enough to drive the load to operate. Therefore, in order to ensure that the adapter and the battery can jointly drive the load to operate, it is necessary to increase a certain margin P limt corresponding to the current limiting point I gap of the adapter on the basis of the preset load power P0. Similarly, after the battery is discharged, the capacity of the battery decreases, which is conducive to the reduction of the battery temperature and effectively reduces the probability of the occurrence of the bulging phenomenon of the battery.

[0011] Optionally, before the controller judges that at least one condition that the battery temperature exceeds the preset temperature threshold T th and the cell voltage exceeds the preset voltage threshold V th is satisfied, the method further comprises: the controller acquires the battery temperature, the cell voltage and the battery capacity, and acquires the current load power P sys of the load and the first preset discharge power P batt1 . In the case that the battery comprises the cell 132, the power management chip and the thermistor, the power management chip can be electrically connected with the cell. The power management chip can collect the cell voltage V batt and the battery capacity C batt of the cell as an electric quantity meter, and transmit the collection results to the controller through an I2C interface. In addition, the above-mentioned thermistor can be arranged near the cell. The thermistor can sense the temperature of the cell. The controller can collect the current resistance value of the thermistor through the I2C interface, and compare it with the initial resistance value of the thermistor, and calculate the battery temperature T batt of the battery according to the change amount of the resistance value.

[0012] Optionally, the controller acquires the current load power P sysThe controller collects the load power output by the charge-discharge manager to the load multiple times within a second preset time. The controller calculates an average value of the multiple collected load powers within the second preset time as a current load power P sys In this way, the controller does not need to acquire the load power output from the charge-discharge manager in real time, thereby reducing the data processing amount of the controller.

[0013] Optionally, the controller collecting the load power output by the charge-discharge manager to the load multiple times within a second preset time includes: the controller collecting the load power output by the charge-discharge manager to the load once every 10 ms, and collecting 5 to 10 times continuously. When the controller collects the load power P sys When the collection interval is greater than 10 ms in the process of collecting the load power P, the accuracy of the collected data is reduced, and when the collection interval is less than 10 ms, the data processing amount of the controller is increased. In addition, when the controller collects more than 10 times continuously, the data processing amount of the controller is increased, and when the controller collects less than 5 times continuously, the accuracy of the collected data is reduced.

[0014] Optionally, the controller acquiring the rated working voltage Vdd of the adapter includes: the charge-discharge manager receiving the voltage output by the adapter. The charge-discharge manager outputs an in-place instruction to the controller, and the in-place instruction is used to indicate that the adapter is electrically connected to the charge-discharge manager. At this time, the adapter can not have a communication function, and the voltage provided by the adapter to the charge-discharge manager makes the charge-discharge manager know the in-place state of the adapter and send the in-place instruction to the controller. In addition, the controller takes the preset voltage as the rated working voltage Vdd of the adapter according to the in-place instruction.

[0015] Optionally, the electronic device further includes a detector electrically connected to the adapter and the controller. The controller acquiring the rated working voltage Vdd of the adapter includes: the detector detecting the rated working voltage of the adapter and sending the rated working voltage to the controller, and the in-place instruction is used to indicate that the adapter is electrically connected to the charge-discharge manager. At this time, the adapter has a communication function and can communicate with the detector, so that the detector knows the in-place state and parameters of the adapter and transmits the in-place instruction and related parameters to the controller.

[0016] Optionally, after the battery is discharged, the method further includes: when the controller determines that the battery temperature is less than a preset temperature threshold and the cell voltage is less than a preset voltage threshold, the charge-discharge manager controls the adapter to output a rated power supply power P init In this way, when the battery is in a safe state, the power supply power output by the adapter is no longer limited by the charge-discharge manager, but is restored to the original initial value to meet the high power requirement of the load.

[0017] Optionally, the charge / discharge manager controls the rated power P output of the adapter. init The method further includes: the charge / discharge manager receiving user input; if the controller determines that the battery capacity has reached a preset capacity threshold C... th If this occurs, the charge / discharge manager will control the adapter to stop charging the battery. The preset capacity threshold C... th Less than the maximum battery capacity C max This way, when electronic devices are plugged into the adapter and in operation for extended periods, the battery capacity can be maintained at a moderate level, reducing charging time and frequency, and thus extending battery life.

[0018] Optionally, the preset temperature threshold is 45℃. The preset voltage threshold is 4V. When the battery temperature T... batt When the temperature exceeds 45°C, the battery is no longer in a safe charging state and is prone to bulging.

[0019] In another aspect of this application, an electronic device is provided, comprising a load, a battery, a controller, and a charge / discharge manager. The battery supplies power to the load. The controller is electrically connected to the battery. The controller is configured to determine, within a first preset time period, whether the battery temperature exceeds a preset temperature threshold T. th Does the cell voltage exceed the preset voltage threshold V? th The charge / discharge manager is electrically connected to the battery, load, and adapter. The charge / discharge manager is used when the controller determines that the battery temperature exceeds a preset temperature threshold T. th The cell voltage exceeds the preset voltage threshold V. th When at least one of the following conditions is met, the power output of the adapter is limited to the first power supply P. c1 The charge / discharge manager is also used to control battery discharge to compensate for the adapter's power shortage. The first power supply P... c1 The rated power supply P of the adapter init and the battery's first preset discharge power P batt1 Satisfy: P c1 +P batt1 ≥P init The battery's discharge power is less than or equal to the first preset discharge power P. batt1 The control method of the electronic device described above has the same technical effect as that of the electronic device provided in the foregoing embodiments, and will not be repeated here.

[0020] Optionally, the charge / discharge manager limits the power output of the adapter to a first power supply P. c1 Previously, the controller was also used to obtain the adapter's rated operating voltage Vdd and calculate the adapter's current-limiting point I. limt Among them, I limt= P c1 The charge-discharge manager is configured to limit the power supplied by the adapter to the load to a first power P c1 The charge-discharge manager is configured to limit the current outputted by the adapter to the load to a current limit I limt The current limit I limt The technical effects are the same as described above, and will not be repeated here.

[0021] Optionally, the controller is further configured to calculate a current limit I limt Before the controller calculates the current limit I sys The difference between the current load power P batt2 and a second preset discharge power P c1 of the battery as the first power P batt2 P batt1 ≤ P c1 The technical effects of the setting manner of the first power P c1 are the same as described above, and will not be repeated here.

[0022] Optionally, the electronic device further comprises a housing in contact with the battery. Before the controller calculates the current limit I limt The controller is further configured to collect the housing temperature of the electronic device, calculate the ambient temperature, and obtain a preset load power P0 matched with the ambient temperature from a preset correspondence relationship. Next, the rated operating voltage Vdd of the adapter and the maximum load power P max When P0+P batt1 ≥ P max , the preset load power P0 is taken as the first power P c1 . Wherein, when the load operates at each preset load power P0 in the preset correspondence relationship, the battery temperature is less than the preset temperature threshold T th The technical effects of the setting manner of the first power P c1 are the same as described above, and will not be repeated here.

[0023] Optionally, the electronic device further comprises a housing in contact with the battery. Before the controller calculates the current limit I limt The controller is further configured to collect the housing temperature of the electronic device, calculate the ambient temperature, and obtain a preset load power P0 matched with the ambient temperature from a preset correspondence relationship. Next, the rated operating voltage Vdd of the adapter and the maximum load power P max When P0+P batt1 < P max , the controller takes the sum of the preset load power P0 and the preset power margin P gap as the first power P c1 . Wherein, when the load operates at each preset load power P0 in the preset correspondence relationship. Pgap = P max -P0-P batt1 The first power supply power P c1 The technical effects of the setting mode are as described above, and will not be repeated here.

[0024] Optionally, the preset temperature threshold is 45℃, and the preset voltage threshold is 4V. When the battery temperature T batt of the battery exceeds 45℃, the battery is no longer in a safe charging state and is prone to bulging. BRIEF DESCRIPTION OF DRAWINGS

[0025] Figure 1 A structural schematic diagram of an electronic device provided by an embodiment of the present application;

[0026] Figure 2 A structural schematic diagram of another electronic device provided by an embodiment of the present application;

[0027] Figure 3 A structural schematic diagram of an electronic device provided by an embodiment of the present application;

[0028] Figure 4 A structural schematic diagram of a USB interface provided by an embodiment of the present application;

[0029] Figure 5 A control method flowchart of an electronic device provided by an embodiment of the present application;

[0030] Figure 6 A control process schematic diagram of an electronic device provided by an embodiment of the present application;

[0031] Figure 7A A structural schematic diagram of another electronic device provided by an embodiment of the present application;

[0032] Figure 7B A control process schematic diagram of another electronic device provided by an embodiment of the present application;

[0033] Figure 8A A structural schematic diagram of another electronic device provided by an embodiment of the present application;

[0034] Figure 8B A structural schematic diagram of another electronic device provided by an embodiment of the present application;

[0035] Figure 9 A structural schematic diagram of another electronic device provided by an embodiment of the present application;

[0036] Figure 10 A control method flowchart of another electronic device provided by an embodiment of the present application.

[0037] REFERENCE NUMERALS:

[0038] 01-electronic device; 10-display part; 100-display module; 11-system part; 110-housing; 120-mainboard; 130-battery; 20-load; 30-charge and discharge manager; 40-adaptor; 50-controller; 60-detector; 131-thermistor; 132-battery cell; 133-PMIC; 21-non-full charge mode button; 22-dialog pop-up window. DETAILED DESCRIPTION

[0039] The technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only some of the embodiments of the present application, not all the embodiments.

[0040] Hereinafter, the terms "first", "second", and the like are only for descriptive purposes, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined with "first", "second", and the like can explicitly or implicitly include one or more of the features.

[0041] In addition, in the present application, the orientation terms such as "up", "down", etc. can include but not limited to the orientation defined by the relative position of the components in the drawing. It should be understood that these directional terms can be relative concepts, which are used for relative description and clarification, and can be changed accordingly according to the change of the position of the components in the drawing.

[0042] In the present application, unless otherwise explicitly specified and limited, the term "connection" should be understood broadly, for example, "connection" can be fixed connection, or detachable connection, or integral; can be directly connected, or indirectly connected through intermediate medium. In addition, the term "electrical connection" can be direct electrical connection, or indirect electrical connection through intermediate medium.

[0043] The electronic device provided in the embodiments of the present application can include mobile phone, pad, all-in-one machine, desktop, television, smart wearable product (for example, smart watch, smart bracelet), virtual reality (VR) terminal device, augmented reality (AR) terminal device, and the like. The embodiments of the present application do not specially limit the specific form of the above electronic device, and the following will be described taking the notebook computer as an example. Figure 1 As shown in the figure.

[0044] In this case, the electronic device 01 can include a display part 10 and a system part 11 connected by rotation. The display part 10 has a display module 100 for displaying images. In some embodiments of the present application, the display module 100 can include a liquid crystal display (LCD). Alternatively, in some other embodiments of the present application, the display module 100 can include an organic light emitting diode (OLED) display. The present application does not limit the type of display. In addition, the system part 11 can include a housing 110, a mainboard 120 and a battery 130 arranged in the housing 110. The mainboard 120 can be a printed circuit board (PCB).

[0045] In addition, the electronic device 01 can also include a load 20 as shown in Figure 2 . The load 20 can include electronic components for performing different functions. For example, the load 20 can include a chip with data processing function, such as a system on a chip (SOC), a central processing unit (CPU) or a graphics processing unit (GPU), arranged on the mainboard 120 as shown in Figure 1 . In addition, the load 20 can also include the display module, an electric quantity metering chip and a temperature sensor for realizing detection function, a loudspeaker and a microphone for processing chip data and a codec chip, a radio frequency transceiver and a baseband processor for realizing communication function, etc.

[0046] On this basis, in order to supply power to the load 20 to drive the load 20 to work, the electronic device 01 can also include a charger 30 as shown in Figure 2 . The charger 30 is electrically connected with the battery 130 and the load 20. In addition, when the adapter 40 is in place, the charger 30 can also be electrically connected with the adapter 40. The adapter 40 is used to convert alternating current (AC) of 220V into direct current (DC). In order to facilitate description, the adapter 40 in working state is referred to as working in AC mode. The charger 30 can control the adapter 40 to supply power to the load 20 and control the power supplied by the adapter 40 to the load 20. In addition, the charger 30 can also control the adapter 40 to charge the battery 130.

[0047] It should be noted that in some embodiments of this application, when the aforementioned electronic device 01 is a small electronic product such as a laptop, mobile phone, or all-in-one computer, the aforementioned adapter 40 and electronic device 01 are two independent electronic devices, and the adapter 40 is an external adapter. In this case, the adapter 40, which is independent of electronic device 01, can be electrically connected to the charge / discharge manager 30 through an interface, such as a universal serial bus (USB) interface.

[0048] Alternatively, in some other embodiments of this application, when the electronic device 01 is a large electronic product such as a desktop computer or television, the adapter 40 can be integrated inside the electronic device 01, and the adapter 40 is a built-in adapter. In this case, the adapter 40 integrated inside the electronic device 01 can be directly electrically connected to the charge / discharge manager 30 through internal wiring.

[0049] Furthermore, in some embodiments of this application, the electronic device 01 may also include, for example: Figure 2 The controller 50 shown is an example of an embedded controller (EC) when the aforementioned electronic device 01 is a laptop. The controller 50 is electrically connected to the battery 130 and the charge / discharge manager 30 via an inter-integrated circuit (I2C) bus. The controller 50 can acquire battery-related parameter information such as the battery's charge level, battery temperature, cell voltage, and charge / discharge power. When the controller 50 detects that the adapter 40 is present, it can generate a current-limiting control command based on the aforementioned battery-related parameter information and send the current-limiting control command to the charge / discharge manager 30. This current-limiting control command instructs the charge / discharge manager 30 to limit the power output from the adapter 40 to the battery 130.

[0050] In some embodiments of this application, the adapter 40 may not have a signal transmission function. In this case, in order for the controller 50 to know the presence status of the adapter 40, when the adapter 40 is electrically connected to the charge / discharge manager 30, the charge / discharge manager 30 can receive the supply voltage output by the adapter 40 to determine that the adapter 40 is in a present state. Next, the charge / discharge manager 30 can output a presence command to the controller 50, which is used to indicate that the adapter 40 is electrically connected to the charge / discharge manager 30. In this case, since the adapter 40 does not have a signal transmission function, if the controller 50 receives a presence command from the charge / discharge manager 30, the controller 50 can assume that the adapter 40 is a standard adapter, and the rated power P supplied by the adapter 40 to the load 20 is... init The output voltage and output current parameters are the same as those of the standard adapter.

[0051] Alternatively, in some embodiments of the present application, when the adapter 40 is capable of signal transmission, the electronic device 01 can further comprise a detector 60 as shown in Figure 3 The detector 60 can be electrically connected to the adapter 40 and the controller 50 through an I2C bus. When the detector 60 detects the adapter 40, the detector 60 can send the above-mentioned in-place instruction to the controller 50. For example, the detector 60 can be a power delivery (PD) controller. In some embodiments of the present application, part of the functions of the detector 60 can be integrated into the controller 50.

[0052] For example, if the adapter 40 accesses the electronic device 01 through a USB Type-C interface as shown in Figure 4 The Type-C interface can be provided with a CC pin according to the Type-C interface protocol. The CC pin can identify the type of the adapter 40 accessed. In this way, the detector 60 can transmit the parameters such as the rated power P init , output voltage and output current related to the type of the adapter 40 to the controller 50 together with the above-mentioned in-place instruction, so that the controller 50 can know the in-place condition of the adapter 40.

[0053] It should be noted that the above is an example of identifying the type of the adapter 40 by taking the Type-C interface as an example. When other types of interfaces have identity document (ID) function pins, the identification process of the type of the adapter 40 is the same as described above, which will not be repeated here.

[0054] The control method of the electronic device 01 will be described below. Figure 2

[0055] Example one

[0056] In this example, the power supplied by the adapter 40 to the load 20 is limited. In addition, the part of the power supplied by the adapter 40 that is reduced is compensated by the battery 130 to ensure that the power received by the load 20 is not reduced. Specifically, when the adapter 40 is electrically connected to the charge-discharge manager 30, the control method of the electronic device 01 in this example can comprise S101-S109 as shown in Figure 5 .

[0057] S101, the charge-discharge manager 30 controls the adapter 40 to supply power to the load 20 and charge the battery 130.

[0058] When S101 is performed, as Figure 6 ​As shown, the adapter 40 outputs a rated power supply power P init Under the control of the charge-discharge manager 30, a part of the rated power supply power P init of the adapter 40 can be transmitted to the battery 130 as the power supply power P1 of the battery 130 to charge the battery 130. Another part of the rated power supply power P init of the adapter 40 can be transmitted to the load 20 as the current load power P sys of the load 20 to drive the load 20 to work. At this time, P init = P1+ P sys , the adapter 40 (AC mode) drives the load 20 to work. Wherein, when the battery 130 is fully charged, P1=0.

[0059] S102, the controller 50 judges whether the battery 130 is in a high-temperature high-capacity state.

[0060] In some embodiments of the present application, the controller 50 can acquire the battery temperature T batt , the cell voltage V batt and the battery capacity C batt of the battery 130. For example, the above-mentioned battery 130 can include a cell 132, a power management integrated circuit chip (PMIC) 133 and a negative temperature coefficient (NTC) 131 as shown in the following figure. Figure 7A

[0061] The PMIC 133 is electrically connected with the cell 132. The PMIC can collect the cell voltage V batt and the battery capacity C batt of the cell 132 as an electric quantity meter, and transmit the collection results to the controller 50 through an I2C interface. In addition, the above-mentioned NTC 131 can be arranged near the cell 132. The NTC 131 can sense the temperature of the cell 132. The controller 50 can collect the current resistance value of the NTC 131 through the I2C interface, and compare it with the initial resistance value of the NTC 131, and calculate the battery temperature T batt of the battery 130 according to the change amount of the resistance value.

[0062] Next, within a first preset time T1, if the battery temperature T batt of the battery 130 acquired by the controller 50 exceeds a preset temperature threshold T th (T batt >T th ), or the cell voltage V batt ​exceeds a preset voltage threshold V th (V batt ) when T th > T batt > T th and V batt > V th , the controller 50 can determine that the battery 130 is in a high-temperature high-capacity state.

[0063] Next, the following S103 can be performed. If the battery temperature T batt of the battery 130 obtained by the controller 50 is less than a preset temperature threshold T th (T batt < T th ), and the cell voltage V batt obtained by the controller 50 is less than a preset voltage threshold V th (V batt < V th ) when T batt < T th and V batt < V th , it means that the battery 130 is in a safe state, and thus the above-mentioned S101 can be performed to make the electronic device 01 in a default working state.

[0064] In some embodiments of the present application, when the battery temperature T batt of the battery 130 exceeds 45°C, the battery 130 is no longer in a safe charging state and is prone to swelling. Therefore, the above-mentioned preset temperature threshold T th may be 45°C. Alternatively, when the cell voltage V batt exceeds a preset voltage threshold V th , the battery 130 is no longer in a safe charging state and is prone to swelling. Therefore, the above-mentioned preset voltage threshold V th may be 4V.

[0065] In the case where the above-mentioned electronic device 01 is a notebook, the above-mentioned first preset time T1 can be 10-20 days. For example, when the electronic device 01 is used for analyzing experimental data, operating a large amount of data, or playing games, the electronic device 01 usually needs to be in an open and working state for a long time within the above-mentioned first preset time T1. At this time, the above-mentioned S102 can be performed to determine whether the battery 130 is in a high-temperature high-capacity state within the above-mentioned first preset time T1.

[0066] It should be noted that the above-mentioned preset temperature threshold T th and the preset voltage threshold Vth The numerical examples of the preset temperature threshold T th and the preset voltage threshold V th are not intended to limit the size of the preset temperature threshold T th and the preset voltage threshold V th . When the type of the battery 130 and the applied electronic device 01 change, the size of the preset temperature threshold T sys and the preset voltage threshold V sys also changes accordingly, which will not be described here.

[0067] In addition, the method flowchart provided by the embodiments of the present application, for example Figure 5 , the letter "Y" represents the judgment result is yes (yes), and the letter "N" represents the judgment result is no (no).

[0068] S103, the controller 50 acquires the current load power P sys of the load 20.

[0069] For example, the electronic device 01 can further include a first resistor R1 and a second resistor R2 as shown in Figure 7A . The first resistor R1 can be electrically connected between the adapter 40 and the charge-discharge manager 30, and the second resistor R2 can be electrically connected between the battery 130 and the charge-discharge manager 30. The charge-discharge manager 30 can collect the size of the current flowing through the first resistor R1 and the second resistor R2, and calculate the load power output by the load 20 according to the output voltage of the adapter 40 and the discharge voltage of the battery 130. On this basis, the charge-discharge manager 30 can also transmit the calculated load power to the controller 50 through the I2C bus.

[0070] In some embodiments of the present application, the controller 50 can acquire the load power output from the charge-discharge manager 30 in real time as the current load power P sys of the load 20. Alternatively, in some other embodiments of the present application, in order to reduce the data processing amount of the controller 50, in the process of performing the above S103, first, the controller 50 can collect the load power output by the charge-discharge manager 30 to the load 20 multiple times within a second preset time T2. For example, the controller 50 can collect the load power output by the charge-discharge manager 30 to the load 20 every 10 ms, and continuously collect 5-10 times. Next, the controller 50 can calculate the average value of the multiple load powers collected within the second preset time T2 as the above current load power P sys .

[0071] When the controller 50 collects the previous load power P sysDuring the process, if the acquisition interval is greater than 10ms, the accuracy of the acquired data will be reduced; if the acquisition interval is less than 10ms, the data processing load of the controller 50 will be increased. In addition, if the controller 50 acquires data more than 10 times consecutively, the data processing load of the controller 50 will be increased; if the controller 50 acquires data less than 5 times consecutively, the accuracy of the acquired data will be reduced.

[0072] S104, Controller 50 obtains the first preset discharge power P of battery 130 batt1 .

[0073] When executing S104 above, the controller 50 can, as follows: Figure 7A The I2C bus shown corresponds to the current battery capacity C of battery 130. batt Detection is performed. Specifically, the first preset discharge power P of battery 130 is... batt1 It can be compared with the current battery capacity C of battery 130. batt A matching preset discharge power. For example, the preset discharge power can be the maximum discharge power, or the preset discharge power can be set according to the user's needs, which is not limited in this application.

[0074] With the first preset discharge power P batt1 It can be compared with the current battery capacity C of battery 130. batt Taking the maximum discharge power as an example, for battery 130 with constant current discharge, the cell voltage V of battery 130 varies with factors such as battery capacity and temperature. batt This will change. Therefore, when the capacity of battery 130 changes, the discharge power of battery 130 will also change. For example, when battery 130 is fully charged, the first preset discharge power P of battery 130 will change. batt1 It can be 50W. When the battery 130 has 90% charge, the first preset discharge power P of the battery 130 is... batt1 It will be less than the aforementioned 50W. At this time, it will be less than the first preset discharge power P of battery 130. batt1 It will change with the change in charge. Or, for example, when battery 130 is a constant power battery, the first preset discharge power P of the aforementioned battery 130 will change. batt1 It can remain fixed.

[0075] It should be noted that the first preset discharge power P of battery 130 batt1 For the current battery capacity C of battery 130 batt In the case of a matching maximum discharge power, the aforementioned maximum discharge power can be achieved by comparing multiple batteries of the same type with the same battery capacity C. batt The average maximum discharge power of each battery obtained from the test is not the same as that of a specific battery (130) at a given battery capacity (C).batt The discharge power at a certain instant. Because without triggering battery protection, the discharge power of battery 130 at a certain instant can be very high, for example, reaching 70W. Therefore, the above is related to the current battery capacity C of battery 130. batt Matching maximum discharge power, representing multiple batteries of the same type with the same battery capacity C. batt Below, the average level of maximum discharge capacity.

[0076] S105, Controller 50 sets the current limiting point I of the adapter. limt The charge / discharge manager 30 limits the power supplied to the battery 130 from the output of the adapter 40.

[0077] During the execution of S105, the control method may include: first, the controller 50 calculates the current load power P obtained in S104. sys With the second preset discharge power P of battery 130 batt2 The difference is used as the first power supply P. c1 That is, P c1 =P sys -P batt2 Among them, P batt2 ≤P batt1 .

[0078] It should be noted that this application specifies the second preset discharge power P. batt2 The size is not limited, as long as the second preset discharge power P is met. batt2 The first preset discharge power P is less than or equal to that of battery 130. batt1 Any value of P is acceptable. For example, the above P... batt2 =10W. At this point, if it goes through the following... Figure 5 After S102 to S108, if the controller 50 determines that the battery 130 is still in a high-temperature, high-capacity state during the execution of S102, S103 to S109 can be executed multiple times until the battery 130 is no longer in a high-temperature, high-capacity state. Alternatively, as another example, the second preset discharge power P... batt2 The value can be greater than 10W, which reduces the number of times S103 to S109 are executed.

[0079] Next, the controller 50 can obtain the rated operating voltage Vdd of the adapter 40 and calculate the current limiting point I of the adapter 40. limt , among which, I limt =P c1 / Vdd=(P sys -P batt2 ) / Vdd. This current limiting point I limt(For example, 4A) is less than the rated supply current (for example, 5A) of the adapter 40.

[0080] In order to enable the controller 50 to obtain the rated operating voltage Vdd and the rated supply power P init and the rated supply current of the adapter 40, in some embodiments of the present application, it is known from the above that when the charge-discharge manager 30 sends the in-situ instruction of the adapter 40 to the controller 50, the controller 50 defaults the adapter 40 as a standard adapter, and thus the rated operating voltage Vdd of the adapter 40 obtained by the controller 50 is the rated operating voltage of the standard adapter, which can be stored in the controller 50 as a preset voltage. Similarly, the rated supply power P init and the rated supply current of the adapter 40 obtained by the controller 50 are the rated supply power and the rated supply current of the standard adapter.

[0081] Alternatively, in other embodiments of the present application, when the adapter 40 has a signal transmission function, the detector 60 (as shown in Figure 3 ) can detect the rated operating voltage Vdd, the rated supply power P init and the rated supply current of the adapter 40, and send them to the controller 50, so that the controller 50 can obtain the rated operating voltage Vdd, the rated supply power P init and the rated supply current of the adapter 40.

[0082] Next, in some embodiments of the present application, the controller 50 can generate a current limiting control instruction according to the calculated current limiting point I limt . And after the controller 50 receives the in-situ instruction of the adapter 40, the controller 50 can send the above-mentioned current limiting control instruction to the charge-discharge manager 30. Next, the charge-discharge manager 30 can limit the current output by the adapter 40 to the load 20 to the current limiting point I limt (for example, I limt = 4A). At this time, among the current output by the adapter 40 to the load 20, the charge-discharge manager 30 only allows the current corresponding to the current limiting point I limt , for example, 4A, to be transmitted to the load 20, so that the charge-discharge manager 30 can limit the supply power output by the adapter 40 to the above-mentioned first supply power P c1 (P c1 = P sys -P batt2 ) according to the above-mentioned current limiting control instruction sent by the controller 50. In turn, the purpose of limiting the supply power output by the adapter 40 received by the battery 130 can be achieved.

[0083] like Figure 7B As shown, the charge / discharge manager 30 limits the power output of the adapter 40 to a first power supply P. c1 In this case, the charge / discharge manager 30 can also control the battery 130 to discharge, in order to compensate for the reduced power supply of the adapter 40, i.e., the power deficit P of the adapter 40. d1 (P d1 =P init -P c1 Compensation is performed. When battery 130 discharges, the output voltage is a direct current (DC) voltage, and the discharge power of battery 130 at this time is less than or equal to the aforementioned first preset discharge power P. batt1 For ease of description, the battery 130 in a discharged state will be referred to as operating in DC mode.

[0084] In this case, before the power supply limit of adapter 40 (adapter 40 can provide rated power P) is reached. init After the limitation (adapter 40 can provide the first power supply P) c1 This allows the load power of electronic device 01 to remain constant, and the aforementioned first power supply P c1 The rated power supply P of adapter 40 init and the first preset discharge power P of battery 130 batt1 It can satisfy: P c1 +P batt1 ≥P init .

[0085] At this time, the adapter 40 (operating in AC mode) and the battery 130 (operating in DC mode) jointly drive the load 20 to work. When the battery 130 discharges, the capacity of the battery 130 decreases, which helps to reduce the temperature of the battery 130. This allows the battery 130 to be in a safe charging and discharging state when the adapter 40 is in place, thereby effectively reducing the probability of the battery 130 bulging.

[0086] S106, Controller 50 determines whether battery 130 is in a safe state.

[0087] Specifically, controller 50 acquires the battery temperature T of battery 130. batt Cell voltage V batt and battery capacity C batt The controller 50 obtains the above parameters in the same way as described above, and will not be repeated here. If the controller 50 obtains the battery temperature T of battery 130... batt Less than the preset temperature threshold T th (T batt <T th Furthermore, the controller 50 acquires the cell voltage V.batt <Preset voltage threshold V th (V batt <V th When T batt <T th and V batt <V th If all conditions are met, it indicates that battery 130 is in a safe state, and the following S107 is executed.

[0088] Alternatively, if the controller 50 obtains the battery temperature T of the battery 130 batt Exceeding the preset temperature threshold T th (T batt >T th Alternatively, the cell voltage V obtained by controller 50. batt Exceeding the preset voltage threshold V th (V batt >V th When T batt >T th and V batt >V th If at least one of the conditions is met, the controller 50 can determine that the battery 130 is in a high-temperature, high-capacity state. At this time, the above steps S103 to S106 are repeated until the battery 130 is in a safe state.

[0089] S107, the controller 50 sends a recovery command to the charge / discharge manager 30, and the charge / discharge manager 30 controls the adapter 40 to output the rated power P. init .

[0090] In this situation, when the charge / discharge manager 30 receives a recovery command from the controller 50, it can control the adapter 40 to output the rated power P. init In this way, once the battery 130 is in a safe state, the power output of the adapter 40 is no longer limited by the charge / discharge manager 30, but is restored to its original initial value.

[0091] S108. Should the current battery capacity be maintained? batt .

[0092] When electronic device 01 is plugged into adapter 40 for an extended period and is in operation, in order to maintain the battery capacity of battery 130 at a moderate level, reduce charging time and frequency, and extend the life of battery 130, the battery capacity of battery 130 can be controlled to reach a preset capacity threshold C. th When the battery reaches 70% (for example), the control adapter 40 stops charging the battery 130. The aforementioned preset capacity threshold C... th It can be less than the maximum battery capacity C of 130. max(e.g., 100%).

[0093] For example, as shown in FIG. 1 1, when the adapter 40 resumes outputting the rated power supply power P init After that, a dialog box 22 can be displayed on the operation interface of the electronic device 01, and the user can select whether to start the non-full charging mode by clicking Yes (Y) or No (N) in the dialog box 22. When the user clicks Yes (Y), as shown in FIG. 12, a non-full charging mode button 21 can be displayed on the operation interface of the electronic device 01. When the user triggers the non-full charging mode button 21, the following S109 is executed. If the user clicks No (N) in the dialog box 22 as shown in FIG. 13, the above-mentioned S101 is executed, so that the electronic device 01 is in the default working state. Figure 8B Figure 8A

[0094] S109, if the battery capacity C batt of the battery 130 reaches the preset capacity threshold C th , stop charging the battery.

[0095] When the charge-discharge manager 30 receives the operation of the user triggering the non-full charging mode button 21, if the controller 50 detects that the battery capacity C batt of the battery 130 reaches the preset capacity threshold C th (C batt = C th ), the charge-discharge manager 30 controls the adapter 40 to stop charging the battery 130. If the battery capacity of the battery 130 does not reach the preset capacity threshold C th , the charge-discharge manager 30 controls the adapter 40 to continue charging the battery 130.

[0096] In addition, the controller 50 continuously monitors the battery temperature T batt , the cell voltage V batt and the battery capacity C batt , so as to repeatedly execute the above-mentioned S101-S109. In this way, as long as the battery 130 is in the above-mentioned high temperature and high voltage state, the charge-discharge manager 30 limits the power supply power P c1 output by the adapter 40 to the first power supply power P init , and the gap power (P c1 -P init ) of the adapter is compensated by the discharge of the battery 130. At this time, as known from the above, the adapter 40 (working in AC mode) and the battery 130 (working in DC mode) jointly drive the load 20 to work. After the discharge of the battery 130, the capacity of the battery 130 decreases, which is conducive to the reduction of the temperature of the battery 130 and effectively reduces the probability of the bulging phenomenon of the battery 130.

[0097] ​​Example Two

[0098] The same as example one, in order to make the part of the power supply power of the adapter 40 reduced by the battery 130 to compensate, to ensure that the power received by the load 20 is not reduced, the power supply power transmitted by the adapter 40 to the load 20 needs to be limited. In addition, unlike example one, in this example, as shown in Figure 9 , the controller 50 also needs to detect the temperature of the shell 110 of the electronic device 01. Specifically, when the adapter 40 is electrically connected with the charge and discharge manager 30, the control method of the electronic device 01 in this example can include S201-S212 as shown in Figure 10 .

[0099] S201, the charge and discharge manager 30 controls the adapter 40 to supply power to the load 20 and charge the battery 130.

[0100] This S201 is the same as S101 in example one, as shown in Figure 6 , the adapter 40 outputs a part of the rated power supply power P init to the battery 130 as the power supply power P1 of the battery 130, which charges the battery 130. Another part of the rated power supply power P init transmitted to the load 20 as the current load power P sys of the load 20, to drive the load 20 to work.

[0101] S202, the controller 50 judges whether the battery 130 is in a high-temperature high-capacity state.

[0102] This S202 is the same as S102 in example one, the controller 50 acquires the battery temperature T batt , the cell voltage V batt and the battery capacity C batt of the battery 130, and the way to determine whether the battery 130 is in a high-temperature high-capacity state is as described above, which will not be repeated here. If the controller 50 judges that the battery 130 is in a high-temperature high-capacity state, execute the following S203, if the controller 50 judges that the battery 130 is in a safe state, execute the above S201.

[0103] S203, the controller 50 acquires the preset load power P0.

[0104] The method for executing S203 above may specifically include: the controller 50 acquiring the casing temperature of the electronic device 01 and calculating the ambient temperature based on the casing temperature. Then, it obtains a preset load power P0 that matches the ambient temperature from a preset correspondence. This preset correspondence includes multiple ambient temperatures, multiple preset load powers P0, and a correspondence between an ambient temperature and a preset load power P0. When the load 20 operates at each preset load power P0 in the above preset correspondence, the battery temperature T... batt It can be less than the above-mentioned preset temperature threshold T th (e.g., 45℃).

[0105] For example, the aforementioned preset correspondence can be obtained by testing electronic device 01 before it leaves the factory. For instance, during testing, after electronic device 01 is in a stable operating state, the battery temperature T is tested under different ambient temperatures. batt Less than the above-mentioned preset temperature threshold T th At a temperature of 45°C (for example), the load power of the load 20 is determined, thereby establishing the aforementioned preset correspondence, and this preset correspondence is stored in the controller 50. S204, the controller 50 obtains the current load power P of the load 20. sys .

[0106] S204 is the same as S103 in Example 1. For example, the controller 50 can collect the load power output from the charge / discharge manager 30 to the load 20 multiple times within the second preset time T2, and calculate the average value of the multiple load powers as the current load power P. sys .

[0107] S205, Controller 50 obtains the first preset discharge power P of battery 130 batt1 .

[0108] S205 is the same as S104 in Example 1, and controller 50 can be controlled as follows: Figure 7A The I2C bus shown corresponds to the current battery capacity C of battery 130. batt To conduct detection.

[0109] S206, Controller 50 determines P0+P batt1 ≥P max Whether it is valid or not.

[0110] Among them, P max This represents the maximum load power P of load 20 throughout the entire operating process. Before electronic device 01 leaves the factory, the maximum load power P of load 20 can be calculated using the charge / discharge manager 30 through testing. max In this case, the charge / discharge manager 30 can calculate the current load power P of the load 20.sys (100%) on the basis of, increase a certain margin ΔP, wherein ΔP=P max -P sys , so that the load power of the electronic device 01 at any transient state during the whole working process is less than or equal to the maximum load power P max .

[0111] Next, the charge-discharge manager 30 can transmit the maximum load power P max to the controller 50 through the I2C bus, so that the controller 50 can perform the above S206.

[0112] After performing S206, if the controller 50 judges that P0+P batt1 ≥P max , it means that when the charge-discharge manager 30 limits the power output by the adapter 40 to the preset load power P0, the sum of the preset load power P0 of the adapter 40 and the first preset discharge power P batt1 of the battery 130 is greater than or equal to the rated power supply power P init of the adapter 40, and thus is sufficient to drive the load 20 to work, S207 is performed.

[0113] If the controller 50 judges that P0+P batt1 <P max , it means that when the charge-discharge manager 30 limits the power output by the adapter 40 to the preset load power P0, the sum of the preset load power P0 of the adapter 40 and the first preset discharge power P batt1 of the battery 130 is not sufficient to drive the load 20 to work, S208 is performed.

[0114] S207, the controller 50 sets the current limiting point I limt of the adapter, and takes the preset load power P0 as the first power supply power P c1 . The charge-discharge manager 30 limits the power output by the adapter 40 to the battery 130.

[0115] In the process of performing the above S207, the controller 50 takes the preset load power P0 as the first power supply power P c1 , i.e., P c1 =P0. The controller 50 can obtain the rated working voltage Vdd of the adapter 40, and calculate the current limiting point I limt of the adapter 40, wherein I limt =P c1 / Vdd=P0 / Vdd. According to different types of the adapter 40, the controller 50 obtains the rated working voltage Vdd of the adapter 40 in the same way as described above, which will not be described here again.

[0116] Next, the controller 50 can generate a current-limiting control instruction according to the calculated current-limiting point I limt , so that the charge-discharge manager 30 can limit the current output by the adapter 40 to the load 20 to the above-mentioned current-limiting point I limt . At this time, the charge-discharge manager 30 can limit the power supply power output by the adapter 40 to the above-mentioned first power supply power P c1 (P c1 =P0) according to the above-mentioned current-limiting control instruction sent by the controller 50, so as to achieve the purpose of limiting the power supply power output by the adapter 40 and received by the battery 130 by the charge-discharge manager 30.

[0117] As can be seen from the above, when the power of the load 20 reaches the above-mentioned preset load power P0, the electronic device 01 working at the preset load power P0 has the battery temperature T batt of the battery 130 less than the preset temperature threshold T th (e.g. 45℃). Therefore, when the controller 50 limits the power supply power output by the adapter 40 to the preset load power P0, it can be ensured that the battery temperature T batt of the battery 130 is less than the preset temperature threshold T th (e.g. 45℃) under the above-mentioned ambient temperature.

[0118] On this basis, when the first power supply power P c1 (P c1 =P0) provided by the adapter 40 to the load is less than the rated power supply power P init of the adapter 40, the part of the notch power (P init -P c1 =P init -P0) of the adapter can be compensated by discharging the battery 130. As can be seen from the above, the discharging of the battery 130 compensates for the notch power P d1 (P d1 =P init -P c1 ) of the adapter.

[0119] As can be seen from the above, the sum of the first preset discharging power P batt1 of the battery 130 and the preset load power P0 provided by the adapter 40 to the load satisfies P0+P batt1 ≥P max , that is, when the charge-discharge manager 30 limits the power supply power output by the adapter 40 to the preset load power P0, the sum of the preset load power P0 of the adapter 40 and the first preset discharging power P batt1 of the battery 130 is greater than or equal to the rated power supply power P initTherefore, the load 20 can be driven to work. Similarly, after the battery 130 is discharged, the capacity of the battery 130 decreases, which is conducive to the decrease of the battery temperature of the battery 130, and effectively reduces the probability of the battery 130 from bulging.

[0120] S208, the controller 50 sets the current limiting point I of the adapter limt , and the controller 50 takes the sum of the preset load power P0 and the preset power margin P gap as the first power supply power P c1 . The charge-discharge manager 30 limits the power supply power received by the battery 130 from the output of the adapter 40.

[0121] In the process of performing S208 described above, the controller 50 takes the sum of the preset load power P0 and the preset power margin P gap as the first power supply power P c1 , that is, P c1 =P0+P gap . The controller 50 can obtain the rated operating voltage Vdd of the adapter 40, and calculate the current limiting point I limt of the adapter 40, where I limt =P c1 / Vdd=(P0+P gap ) / Vdd, so as to achieve the purpose of limiting the power supply power received by the battery 130 from the output of the adapter 40.

[0122] Next, the controller 50 can generate a current limiting control instruction according to the calculated current limiting point I limt , so that the charge-discharge manager 30 can limit the current output by the adapter 40 to the load 20 to the current limiting point I limt . At this time, the charge-discharge manager 30 can limit the power supply power output by the adapter 40 to the first power supply power P c1 (P c1 =P0+P gap ) according to the current limiting control instruction sent by the controller 50, so as to achieve the purpose of limiting the power supply power received by the battery 130 from the output of the adapter 40. Similarly, when the controller 50 limits the power supply power output by the adapter 40 to the preset load power P0, it can ensure that the battery temperature T batt of the battery 130 is less than the preset temperature threshold T th (e.g., 45°C).

[0123] However, since the sum of the first preset discharge power P batt1 of the battery 130 and the preset load power P0 provided by the adapter 40 to the load satisfies P0+P bat ​max , i.e. when the power supply power outputted by the adapter 40 is limited by the charge-discharge manager 30 to the preset load power P0, the sum of the preset load power P0 and the first preset discharge power P batt1 of the battery 130 is not enough to drive the load 20 to work. Therefore, in order to ensure that the adapter 40 (working in AC mode) and the battery 130 (working in DC mode) can jointly drive the load 20 to work, it is necessary to increase the current limiting point I limt of the adapter 40 by a certain margin P gap based on the preset load power P0. gap , wherein P max = P0+ P batt1 .

[0124] In this way, when the power supply power provided by the adapter 40 to the load is limited to the first power supply power P c1 (P c1 = P0+ P gap ), the part of the notch power (P init -P c1 ) of the adapter can be compensated by the discharge of the battery 130. Thus, after the discharge of the battery 130, the capacity of the battery 130 decreases, which is beneficial to the temperature reduction of the battery 130 and effectively reduces the probability of the bulging phenomenon of the battery 130.

[0125] S209, the controller 50 judges whether the battery 130 is in a safe state.

[0126] The S209 is the same as the S106 in the first example. When the controller 50 judges that the battery 130 is in a safe state, the following S210 is executed. Alternatively, when the controller 50 can judge that the battery 130 is still in a high-temperature high-capacity state, the above-mentioned S203-S209 are repeatedly executed until the battery 130 is in a safe state.

[0127] S210, the controller 50 sends a recovery instruction to the charge-discharge manager 30, and the charge-discharge manager 30 controls the adapter 40 to output the rated power supply power P init .

[0128] After the above-mentioned S209 is executed, the above-mentioned S210 can be executed, so that after the charge-discharge manager 30 receives the recovery instruction from the controller 50, the charge-discharge manager 30 can control the adapter 40 to output the rated power supply power P init . Thus, when the battery 130 is in a safe state, the power supply power outputted by the adapter 40 is no longer limited by the charge-discharge manager 30, but is restored to the original initial value.

[0129] S211, whether to maintain the current battery capacity C batt .

[0130] This S211 is the same as S108 in Example 1, and can be set on the operation interface of electronic device 01, such as... Figure 8B The non-full charge mode button 21 is shown. After the execution of S209 above, if the user triggers the non-full charge mode button 21, then S212 is executed. If the user does not trigger the non-full charge mode button 21, then S201 is executed.

[0131] S212, If the battery capacity C of battery 130 batt Reaching the preset capacity threshold C th If so, charging the battery will stop.

[0132] S212 is the same as S109 in Example 1. If the controller 50 detects the battery capacity C of battery 130... batt Reaching the preset capacity threshold C th The charge / discharge manager 30 controls the adapter 40 to stop charging the battery 130. If the battery capacity of the battery 130 has not reached the preset capacity threshold C... th The charge / discharge manager 30 controls the adapter 40 to continue charging the battery 130.

[0133] Similarly, controller 50 continuously monitors the battery temperature T of battery 130. batt Cell voltage V batt and battery capacity C batt This process repeats steps S201 to S212. In this way, as long as the battery 130 is under the aforementioned high temperature and high pressure conditions, the charge / discharge manager 30 will limit the power output of the adapter 40 to a first power supply P. c1 At this time, the adapter's power shortage (P) init -P c1 The load 20 is then compensated for by the discharge of battery 130. At this time, as mentioned above, adapter 40 and battery 130 jointly drive the load 20. After battery 130 discharges, its capacity decreases, which helps to lower the temperature of battery 130 and effectively reduces the probability of battery 130 bulging.

[0134] The above are merely specific embodiments of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

Claims

1. A control method for an electronic device, characterized in that, The electronic device includes a battery, a load, a charge / discharge manager, and a controller; the charge / discharge manager is electrically connected to the battery, the load, and an adapter, and the controller is electrically connected to the battery and the charge / discharge manager; the method includes: The charge / discharge manager controls the adapter to supply power to the load and charge the battery; Within a first preset time period, when the controller determines that the battery temperature exceeds a preset temperature threshold T th The cell voltage exceeds the preset voltage threshold V. th When at least one of the conditions is met, the charge / discharge manager limits the power output of the adapter to a first power supply P. c1 So that the adapter has a gap power, the gap power being P. init -P c1 ; Wherein, the first power supply P c1 The rated power supply P of the adapter init and the first preset discharge power P of the battery batt1 Satisfy: P c1 +P batt1 ≥P init The first preset discharge power P batt1 A preset discharge power that matches the current battery capacity; The charge / discharge manager controls the battery to discharge, and the battery's discharge power is less than or equal to the first preset discharge power P. batt1 This is so that the power deficit of the adapter is compensated by the discharge of the battery.

2. The control method for an electronic device according to claim 1, characterized in that, The charge / discharge manager limits the power output of the adapter to a first power supply P. c1 Previously, the method further included: the controller acquiring the rated operating voltage Vdd of the adapter and calculating the current limiting point I of the adapter. limt I limt =P c1 / Vdd; The charge / discharge manager limits the power output of the adapter to a first power supply P. c1 Includes: the charge / discharge manager limits the current output by the adapter to the load to the current limiting point I. limt .

3. The control method for an electronic device according to claim 2, characterized in that, The controller calculates the current limiting point I of the adapter. limt Previously, the method also included: The controller calculates the current load power P of the load. sys With the second preset discharge power P of the battery batt2 The difference is taken as the first power supply P. c1 Among them, P batt2 ≤P batt1 .

4. The control method for an electronic device according to claim 2, characterized in that, The electronic device also includes a housing that is in contact with the battery; The controller calculates the current limiting point I of the adapter. limt Previously, the method also included: The controller collects the casing temperature of the electronic device and calculates the ambient temperature; The controller obtains a preset load power P0 that matches the ambient temperature from a preset correspondence; when the load operates at each preset load power P0 in the preset correspondence, the battery temperature is less than the preset temperature threshold T. th ; The controller obtains the rated operating voltage Vdd of the adapter and the maximum load power P of the load. max When P0+P batt1 ≥P max At that time, the controller uses the preset load power P0 as the first power supply P. c1 .

5. The control method for an electronic device according to claim 2, characterized in that, The electronic device also includes a housing that is in contact with the battery; The controller calculates the current limiting point I of the adapter. limt Previously, the method also included: The controller collects the casing temperature of the electronic device and calculates the ambient temperature; The controller obtains a preset load power P0 that matches the ambient temperature from a preset correspondence; when the load operates at each preset load power P0 in the preset correspondence, the battery temperature is less than the preset temperature threshold T. th ; The controller obtains the rated operating voltage Vdd of the adapter and the maximum load power P of the load. max ; When P0+P batt1 <P max At that time, the controller will compare the preset load power P0 with the preset power margin P gap The sum of these is used as the first power supply P. c1 Among them, P gap =P max -P0-P batt1 .

6. The control method for an electronic device according to any one of claims 1-5, characterized in that, The controller determines that the battery temperature exceeds a preset temperature threshold T. th The cell voltage exceeds the preset voltage threshold V. th Before at least one of the conditions is met, the method further includes: The controller acquires the battery temperature, the cell voltage, and the battery capacity, and also acquires the current load power P of the load. sys and the first preset discharge power P batt1 .

7. The control method for an electronic device according to claim 6, characterized in that, The controller obtains the current load power P of the load. sys include: The controller collects the load power output from the charge / discharge manager to the load multiple times within a second preset time period; The controller calculates the average value of the multiple load powers collected within the second preset time period, and uses this average value as the current load power P. sys .

8. The control method for an electronic device according to claim 7, characterized in that, The controller collects the load power output from the charge / discharge manager to the load multiple times within the second preset time period, including: The controller collects the load power output by the charge / discharge manager to the load every 10ms, and collects it continuously for 5 to 10 times.

9. The control method for an electronic device according to claim 2, characterized in that, The controller obtains the rated operating voltage Vdd of the adapter by: The charge / discharge manager receives the voltage output by the adapter; the charge / discharge manager outputs an in-place command to the controller, the in-place command being used to instruct the adapter to be electrically connected to the charge / discharge manager; The controller uses the preset voltage as the rated operating voltage Vdd of the adapter according to the in-situ instruction.

10. The control method for an electronic device according to claim 2, characterized in that, The electronic device further includes a detector electrically connected to the adapter and the controller; The controller obtains the rated operating voltage Vdd of the adapter by: The detector detects the rated operating voltage of the adapter and sends the rated operating voltage to the controller.

11. The control method for an electronic device according to claim 1, characterized in that, After the battery is discharged, the method further includes: When the controller determines that the battery temperature is lower than a preset temperature threshold and the cell voltage is lower than the preset voltage threshold, the charge / discharge manager controls the rated power P output by the adapter. init .

12. The control method for an electronic device according to claim 10, characterized in that, The charge / discharge manager controls the rated power P output by the adapter. init Subsequently, the method further includes: The charge / discharge manager receives user input. If the controller determines that the battery capacity has reached a preset capacity threshold C... th Then the charge / discharge manager controls the adapter to stop charging the battery; wherein, the preset capacity threshold C th Less than the maximum battery capacity C of the battery max .

13. The control method for an electronic device according to claim 1, characterized in that, The preset temperature threshold is 45℃; the preset voltage threshold is 4V.

14. An electronic device, characterized in that, The electronic device includes: load; A battery for supplying power to the load; The controller is used to determine whether the battery temperature exceeds a preset temperature threshold T within a first preset time period. th Does the cell voltage exceed the preset voltage threshold V? th ; The charge / discharge manager is electrically connected to the battery, the load, the adapter, and the controller; the charge / discharge manager is used when the controller determines that the battery temperature exceeds the preset temperature threshold T. th The cell voltage exceeds the preset voltage threshold V. th When at least one of the following conditions is met, the power output of the adapter is limited to a first power supply P. c1 This allows the adapter to have a power deficit, the power deficit being P. init -P c1 The charge / discharge manager is also used to control the discharge of the battery. Wherein, the first power supply P c1 The rated power supply P of the adapter init and the first preset discharge power P of the battery batt1 Satisfy: P c1 +P batt1 ≥P init The first preset discharge power P batt1 A preset discharge power that matches the current battery capacity; the battery's discharge power is less than or equal to the first preset discharge power P. batt1 This is so that the power deficit of the adapter is compensated by the discharge of the battery.

15. The electronic device according to claim 14, characterized in that, The charge / discharge manager limits the power output of the adapter to a first power supply P. c1 Previously, the controller was also used to obtain the rated operating voltage Vdd of the adapter and calculate the current limiting point I of the adapter. limt Among them, I limt =P c1 / Vdd; The charge / discharge manager is used to limit the power output of the adapter to a first power supply P. c1 Includes: the charge / discharge manager for limiting the current output by the adapter to the load to the current limiting point I. limt .

16. The electronic device according to claim 15, characterized in that, The controller calculates the current limiting point I of the adapter. limt Previously, the controller was also used to calculate the current load power P of the load. sys With the second preset discharge power P of the battery batt2 The difference is taken as the first power supply P. c1 ; Among them, P batt2 ≤P batt1 .

17. The electronic device according to claim 15, characterized in that, The electronic device also includes a housing in contact with the battery; the controller calculates the current limiting point I of the adapter. limt Previously, the controller was also used to collect the casing temperature of the electronic device, calculate the ambient temperature, obtain a preset load power P0 that matches the ambient temperature from a preset correspondence, and obtain the rated operating voltage Vdd of the adapter and the maximum load power P of the load. max When P0+P batt1 ≥P max When the preset load power P0 is used as the first power supply power P, the preset load power P0 is used as the first power supply power P. c1 ; Wherein, when the load operates at each of the preset load powers P0 in the preset correspondence, the battery temperature is less than the preset temperature threshold T. th .

18. The electronic device according to claim 15, characterized in that, The electronic device also includes a housing in contact with the battery; the controller calculates the current limiting point I of the adapter. limt Previously, the controller was also used to collect the casing temperature of the electronic device, calculate the ambient temperature, obtain a preset load power P0 that matches the ambient temperature from a preset correspondence, and obtain the rated operating voltage Vdd of the adapter and the maximum load power P of the load. max When P0+P batt1 <P max At that time, the controller will compare the preset load power P0 with the preset power margin P gap The sum of these is used as the first power supply P. c1 ; Wherein, when the load operates at each of the preset load powers P0 in the preset correspondence, the battery temperature is less than the preset temperature threshold T. th ;P gap =P max -P0-P batt1 .

19. The electronic device according to claim 14, characterized in that, The preset temperature threshold is 45℃; the preset voltage threshold is 4V.

Citation Information

Patent Citations

  • Battery management systems, battery pack and battery management method

    CN101604858A