WO2022135216A1 - Electronic device and control method therefor - Google Patents

Electronic device and control method therefor Download PDF

Info

Publication number
WO2022135216A1
WO2022135216A1 PCT/CN2021/137572 CN2021137572W WO2022135216A1 WO 2022135216 A1 WO2022135216 A1 WO 2022135216A1 CN 2021137572 W CN2021137572 W CN 2021137572W WO 2022135216 A1 WO2022135216 A1 WO 2022135216A1
Authority
WO
WIPO (PCT)
Prior art keywords
battery
preset
power
adapter
load
Prior art date
Application number
PCT/CN2021/137572
Other languages
French (fr)
Chinese (zh)
Inventor
张施洋
朱小进
黄田言
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2022135216A1 publication Critical patent/WO2022135216A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/007Regulation of charging or discharging current or voltage
    • H02J7/007188Regulation of charging or discharging current or voltage the charge cycle being controlled or terminated in response to non-electric parameters
    • H02J7/007192Regulation of charging or discharging current or voltage the charge cycle being controlled or terminated in response to non-electric parameters in response to temperature
    • H02J7/007194Regulation of charging or discharging current or voltage the charge cycle being controlled or terminated in response to non-electric parameters in response to temperature of the battery
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/0063Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with circuits adapted for supplying loads from the battery
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/0068Battery or charger load switching, e.g. concurrent charging and load supply
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/007Regulation of charging or discharging current or voltage
    • H02J7/00712Regulation of charging or discharging current or voltage the cycle being controlled or terminated in response to electric parameters
    • H02J7/007182Regulation of charging or discharging current or voltage the cycle being controlled or terminated in response to electric parameters in response to battery voltage

Definitions

  • the present application relates to the technical field of charging, and in particular, to an electronic device and a control method thereof.
  • the present application provides an electronic device and a control method thereof, which are used to reduce the temperature of a battery under the condition that the load power of the electronic device remains unchanged.
  • the controller when the controller detects that the battery is in the above-mentioned state of high temperature and high pressure, it will send a current limiting control command to the charge and discharge manager, so that the charge and discharge manager limits the power supply output by the adapter to For the first power supply P c1 , the notch power of the adapter (P init ⁇ P c1 ) is compensated by the battery discharge.
  • the adapter and the battery work together to drive the load. After the battery is discharged, the capacity of the battery decreases, which is beneficial to the decrease of the battery temperature and effectively reduces the probability of the bulge phenomenon of the battery.
  • the charging and discharging manager limiting the rated power supply power P init output by the adapter to the first power supply power P c1 includes: the charging and discharging manager limiting the current output by the adapter to the load to the current limiting point I limt . In this way, by limiting the current output by the adapter to the load, the charge and discharge manager can achieve the purpose of limiting the power supply provided by the adapter to the load.
  • the method further includes that the controller calculates the difference between the current load power P sys of the load and the second preset discharge power P batt2 of the battery, as the first power supply power P. c1 .
  • P batt2 ⁇ P batt1 that is, the second preset discharge power P batt2 is any value smaller than or equal to the first preset discharge power P batt1 of the battery.
  • the second preset discharge power P batt2 selects a smaller value, the current output from the adapter to the load can be repeated many times, and the gap power of the adapter is compensated by battery discharge, so as to reduce the battery capacity.
  • the second preset discharge power P batt2 selects a larger value, the number of repetitions of the process of limiting the current output by the adapter to the load and compensating for the notch power of the adapter using battery discharge is reduced.
  • the electronic device further includes a housing in contact with the battery.
  • the method further includes: the controller collects the housing temperature of the electronic device and calculates the ambient temperature.
  • the controller obtains the preset load power P0 matching the ambient temperature from the preset correspondence. Wherein, when the load operates at each preset load power P0 in the preset corresponding relationship, the battery temperature is less than the preset temperature threshold T th .
  • the controller obtains the rated working voltage Vdd of the adapter and the maximum load power P max of the load.
  • P0+P batt1 ⁇ P max the controller will preset the load power P0 as the first power supply power P c1 .
  • the sum of the first preset discharge power P batt1 of the battery and the preset load power P0 provided by the adapter to the load satisfies P0+P batt1 ⁇ P max , that is, the charge and discharge manager limits the power supply power output by the adapter to the preset load
  • P0+P batt1 ⁇ P max the charge and discharge manager limits the power supply power output by the adapter to the preset load
  • the sum of the preset load power P0 and the first preset discharge power P batt1 of the battery is greater than or equal to the rated power supply P init of the adapter, so it is sufficient to drive the load to work.
  • the capacity of the battery decreases, which is beneficial to the decrease of the battery temperature and effectively reduces the probability of the battery bulging phenomenon.
  • the method further includes: the controller collects the housing temperature of the electronic device and calculates the ambient temperature.
  • the controller obtains the preset load power P0 matching the ambient temperature from the preset correspondence.
  • the controller obtains the rated working voltage Vdd of the adapter and the maximum load power Pmax of the load.
  • P0+Pbatt1 ⁇ P max the controller takes the sum of the preset load power P0 and the preset power margin P gap as the first power supply power P c1 .
  • P gap P max -P0 -P batt1 .
  • the charge and discharge manager limits the power supply output by the adapter to a preset value
  • the load power is 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 work. Therefore, in order to ensure that the adapter and the battery can jointly drive the load to work, the power corresponding to the current limiting point I limt of the adapter needs to be increased by a certain margin P gap on the basis of the preset load power P0 .
  • the capacity of the battery decreases, which is beneficial to the decrease of the battery temperature and effectively reduces the probability of the battery bulging phenomenon.
  • the above-mentioned thermistor may be disposed 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, compare it with the initial resistance value of the thermistor, and calculate the battery temperature T batt of the battery according to the change of the resistance value.
  • obtaining the current load power P sys of the load by the controller includes: the controller collects the load power output by the charge and discharge manager to the load multiple times within a second preset time. The controller calculates the average value of multiple load powers collected within the second preset time as the current load power P sys . In this way, the controller does not need to obtain the load power output from the charge and discharge manager in real time, thereby reducing the data processing amount of the controller.
  • the controller collects the load power output by the charge and discharge manager to the load multiple times, including: the controller collects the load power output by the charge and discharge manager to the load once every 10 ms, and continuously. Collect 5 to 10 times.
  • the controller collects the pre-load power P sys , when the collection interval is greater than 10ms, the accuracy of the collected data will be reduced, and when the collection interval is less than 10ms, the data processing capacity of the controller will be increased.
  • the controller collects more than 10 times continuously, the data processing capacity of the controller will increase, and when the controller collects less than 5 times continuously, the accuracy of the collected data will be reduced.
  • the obtaining of the rated working voltage Vdd of the adapter by the controller includes: the charge and discharge manager receives the voltage output by the adapter.
  • the charge and discharge manager outputs an in-position command to the controller, and the in-position command is used to instruct the adapter to be electrically connected to the charge and discharge manager.
  • the adapter may not have the communication function, and the charge and discharge manager may be provided with a voltage through the adapter, so that the charge and discharge manager will know the in-position status of the adapter and send the in-position command to the controller.
  • the controller uses the preset voltage as the rated working voltage Vdd of the adapter according to the above-mentioned in-position instruction.
  • the electronic device further includes a detector electrically connected to the adapter and the controller.
  • the controller obtaining the rated working voltage Vdd of the adapter includes: the detector detects the rated working voltage of the adapter, and sends the rated working voltage to the controller, and the in-position instruction is used to instruct the adapter to be electrically connected to the charge-discharge manager.
  • the adapter has a communication function and can communicate with the detector, so that the detector can know the in-position state and parameters of the adapter, and transmit the in-position command and related parameters to the controller.
  • the method further includes: when the controller determines that the battery temperature is less than the preset temperature threshold and the cell voltage is less than the preset voltage threshold, the charge and discharge manager controls the rated power supply P init output by the adapter.
  • the output power of the adapter is no longer limited by the charge and discharge manager, but is restored to the original initial value to meet the high power requirements of the load.
  • the method further includes: the charge and discharge manager receives a user operation, and if the controller determines that the battery capacity of the battery reaches the preset capacity threshold C th , the charge and discharge manager is charged and discharged.
  • the manager controls the adapter to stop charging the battery.
  • the preset capacity threshold C th is smaller than the maximum battery capacity C max of the battery.
  • the preset temperature threshold is 45°C.
  • the preset voltage threshold is 4V.
  • the electronic device includes a load, a battery, a controller, and a charge-discharge manager.
  • the battery is used to supply power to the load.
  • the controller is electrically connected to the battery.
  • the controller is configured to determine whether the battery temperature exceeds the preset temperature threshold T th and whether the battery cell voltage exceeds the preset voltage threshold V th within the first preset time.
  • the charge and discharge manager is electrically connected to the battery, the load and the adapter.
  • the charge and discharge manager is configured to limit the power supply output by the adapter to the first power supply P when the controller determines that at least one of the conditions of the battery temperature exceeding the preset temperature threshold T th and the cell voltage exceeding the preset voltage threshold V th is satisfied c1 .
  • the charge and discharge manager is also used to control battery discharge to compensate for notched power in the adapter.
  • the first power supply 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 .
  • the discharge power of the battery is less than or equal to the first preset discharge power P batt1 .
  • the electronic device described above has the same technical effect as the control method for the electronic device provided by the foregoing embodiments, which will not be repeated here.
  • the controller is further configured to obtain the rated working voltage Vdd of the adapter and calculate the current limiting point I limt of the adapter.
  • I limt P c1 /Vdd.
  • the charging and discharging manager used to limit the power supply output by the adapter to the first power supply power P c1 includes: the charging and discharging manager is used to limit the current output by the adapter to the load to the current limiting point I limt .
  • the technical effect of the above-mentioned current limiting point I limt is the same as above, and will not be repeated here.
  • the controller before the controller calculates the current limiting point I limt of the adapter, the controller is further used to calculate the difference between the current load power P sys and the second preset discharge power P batt2 of the battery as the first power supply power P c1 .
  • P batt2 ⁇ P batt1 .
  • the technical effect of the setting method of the first power supply P c1 is the same as that described above, and will not be repeated here.
  • the electronic device further includes a housing in contact with the battery.
  • the controller is also used to collect the housing temperature of the electronic device, calculate the ambient temperature, and obtain the preset load power P0 matching the ambient temperature from the preset correspondence.
  • the rated working voltage Vdd of the adapter and the maximum load power P max of the load are obtained.
  • the load power P0 is preset as the first power supply power P c1 .
  • the battery temperature is less than the preset temperature threshold T th .
  • the technical effect of the setting method of the first power supply P c1 is the same as that described above, and will not be repeated here.
  • the electronic device further includes a housing in contact with the battery.
  • the controller is also used to collect the housing temperature of the electronic device, calculate the ambient temperature, and obtain the preset load power P0 matching the ambient temperature from the preset correspondence, and Obtain the rated working voltage Vdd of the adapter and the maximum load power P max of the load, 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 supply P c1 .
  • the load works at each preset load power P0 in the preset correspondence.
  • P gap P max -P0 -P batt1 .
  • the technical effect of the setting method of the first power supply P c1 is the same as that described above, and will not be repeated here.
  • FIG. 2 is a schematic structural diagram of another electronic device provided by an embodiment of the present application.
  • FIG. 6 is a schematic diagram of a control process of an electronic device provided by an embodiment of the present application.
  • FIG. 8B is a schematic structural diagram of another electronic device provided by an embodiment of the present application.
  • 01-electronic equipment 10-display part; 100-display module; 11-system part; 110-shell; 120-mainboard; 130-battery; 20-load; 30-charge and discharge manager; 40-adapter; 50 -Controller; 60-Detector; 131-Thermistor; 132-Cell; 133-PMIC; 21-Partial charge mode button; 22-Dialog pop-up window.
  • connection should be understood in a broad sense.
  • connection may be a fixed connection, a detachable connection, or an integrated body; it may be directly connected, or Can be indirectly connected through an intermediary.
  • electrical connection may be a direct electrical connection or an indirect electrical connection through an intermediate medium.
  • the load 20 may also include the above-mentioned display module, a power metering chip and a temperature sensor for realizing the detection function, a speaker, a microphone and a codec chip for processing chip data, a radio frequency transceiver circuit for realizing the communication function, and baseband processor, etc.
  • the above-mentioned electronic device 01 when the above-mentioned electronic device 01 is a small-sized electronic product such as a notebook, a mobile phone, and an all-in-one machine, the above-mentioned adapter 40 and the electronic device 01 are two independent electronic devices,
  • the adapter 40 is an external adapter.
  • the adapter 40 independent of the electronic device 01 can be electrically connected to the charge and discharge manager 30 through an interface, such as a universal serial bus (USB) interface.
  • USB universal serial bus
  • the controller 50 determines whether the battery 130 is in a state of high temperature and high capacity.
  • the PMIC 133 is electrically connected to the battery cell 132 , and the PMIC can be used as a fuel gauge to collect the cell voltage V batt and the battery capacity C batt of the battery cell 132 , and transmit the collected results to the controller 50 through the I2C interface.
  • the above-mentioned thermistor 131 may be disposed near the battery cell 132 .
  • the thermistor 131 can sense the temperature of the battery cell 132 .
  • the controller 50 can collect the current resistance value of the thermistor 131 through the I2C interface, compare it with the initial resistance value of the thermistor 131, and calculate the battery temperature T batt of the battery 130 according to the change of the resistance value.
  • the controller 50 can determine that the battery 130 is in a high temperature and high capacity state. state.
  • the controller 50 collects the pre-load power P sys , when the collection interval is greater than 10ms, the accuracy of the collected data will be reduced, and when the collection interval is less than 10ms, the data processing capacity of the controller 50 will be increased. In addition, when the controller 50 continuously collects more than 10 times, the data processing capacity of the controller 50 will increase, and when the controller 50 continuously collects less than 5 times, the accuracy of the collected data will be reduced.
  • the first preset discharge power P batt1 as the maximum discharge power matching the current battery capacity C batt of the battery 130 as an example, for the battery 130 discharged at a constant current, with the capacity of the battery 130 and the temperature and other factors, Otherwise, the cell voltage V batt of the battery 130 will change. Therefore, when the capacity of the battery 130 changes, the discharge power of the battery 130 also changes.
  • the first preset discharge power P batt1 of the battery 130 may be 50W.
  • the first preset discharge power P batt1 of the battery 130 will be less than the above-mentioned 50W, and at this time, the first preset discharge power P batt1 of the battery 130 will change with the change of the power .
  • the first preset discharge power P batt1 of the battery 130 may be fixed.
  • the charge and discharge manager 30 only allows the current corresponding to the current limit point I limt , for example, 4A to be transmitted to the load 20, so that the charge and discharge manager 30 can
  • the charge and discharge manager 30 can also control the battery 130 to discharge, so as to supply power to the adapter 40 .
  • the output voltage is a direct current (DC) voltage
  • the discharge power of the battery 130 at this time is less than or equal to the first preset discharge power P batt1 .
  • the battery 130 in the discharged state is referred to as operating in the DC mode.
  • the controller 50 obtains the battery temperature T batt , the cell voltage V batt and the battery capacity C batt of the battery 130 , and the controller 50 obtains the above parameters in the same manner as described above, which will not be repeated here. If the battery temperature T batt of the battery 130 acquired by the controller 50 is smaller than the preset temperature threshold T th (T batt ⁇ T th ), and the cell voltage V batt acquired by the controller 50 is less than the preset voltage threshold V th (V batt ⁇ V th ), that is, when both T batt ⁇ T th and V batt ⁇ V th are satisfied, it means that the battery 130 is in a safe state, and at this time, the following S107 is executed.
  • the charge-discharge manager 30 after the charge-discharge manager 30 receives the recovery instruction from the controller 50, it can control the adapter 40 to output the rated power supply P init . In this way, when the battery 130 is in a safe state, the output power of the adapter 40 is no longer limited by the charge and discharge manager 30, but returns to the original initial value.
  • the controller 50 will continuously monitor the battery temperature T batt , the cell voltage V batt and the battery capacity C batt of the battery 130 , so as to repeatedly execute the above S101 to S109 .
  • the charge and discharge manager 30 will limit the power supply power output by the adapter 40 to the first power supply power P c1 , and the notch power of the adapter (P init ⁇ P c1 ) is determined by the battery 130 discharge to compensate.
  • the adapter 40 (operating in the AC mode) and the battery 130 (operating in the DC mode) jointly drive the load 20 to operate.
  • the capacity of the battery 130 decreases, which is conducive to reducing the temperature of the battery 130 and effectively reduces the probability of the bulge phenomenon of the battery 130 .
  • the charge and discharge manager 30 controls the adapter 40 to supply power to the load 20 and to charge the battery 130 .
  • This S201 is the same as S101 in Example 1.
  • a part of the rated power supply P init output by the adapter 40 can be transmitted to the battery 130 as the power supply P1 of the battery 130 to charge the battery 130 .
  • Another part of the rated power supply P init 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.

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Secondary Cells (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

Embodiments of the present application relate to the technical field of charging, and provide an electronic device and a control method therefor, for use in reducing the temperature of a battery when load power of the electronic device remains unchanged. The control method for an electronic device comprises: a charging/discharging manager controls 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 Tthor the voltage of a battery cell exceeds a preset voltage threshold Vth, the charging/discharging manager limits the power supply power output by the adapter to first power supply power Pc1.The charging/discharging manager controls the battery to discharge, so as to compensate notch power of the adapter. Discharge power of the battery is less than or equal to first preset discharge power Pbatt1.The first power supply power Pc1, rated power supply power Pinit of the adapter, and the first preset discharge power Pbatt1 satisfy the condition: Pc1+Pbatt1≥Pinit.

Description

一种电子设备及其控制方法An electronic device and its control method
本申请要求于2020年12月22日提交国家知识产权局、申请号为202011535876.8、申请名称为“一种电子设备及其控制方法”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application with the application number 202011535876.8 and the application title "An electronic device and its control method" filed with the State Intellectual Property Office on December 22, 2020, the entire contents of which are incorporated herein by reference Applying.
技术领域technical field
本申请涉及充电技术领域,尤其涉及一种电子设备及其控制方法。The present application relates to the technical field of charging, and in particular, to an electronic device and a control method thereof.
背景技术Background technique
随着笔记本、一体机等电子设备朝向轻薄化的方向发展,电子设备中的电池通常采用厚度较薄的平板电池。然而,在电子设备接入适配器的情况下,当电子设备在高负载状态下运行时,电池会处于高温状态。此外,由于适配器的接入,使得具有高容量的电池在高温状态下长时间处于存储的状态。这样一来,会降低电池的使用寿命,甚至出现鼓包等现象。With the development of electronic devices such as notebooks and all-in-one computers toward the direction of lightness and thinness, the batteries in the electronic devices usually use thin flat-panel batteries. However, when the electronic device is connected to the adapter, when the electronic device is operated under a high load state, the battery may be in a high temperature state. In addition, due to the connection of the adapter, the battery with high capacity is stored for a long time in a high temperature state. As a result, the service life of the battery will be reduced, and even bulging will occur.
发明内容SUMMARY OF THE INVENTION
本申请提供一种电子设备及其控制方法,用于在电子设备负载功率不变的情况下,降低电池的温度。The present application provides an electronic device and a control method thereof, which are used to reduce the temperature of a battery under the condition that the load power of the electronic device remains unchanged.
为达到上述目的,本申请采用如下技术方案:To achieve the above object, the application adopts the following technical solutions:
本申请实施例的一方面,提供一种电子设备的控制方法。电子设备包括电池、负载、充放电管理器以及控制器。充放电管理器与电池、负载以及适配器电连接,控制器与电池和充放电管理器电连接。方法包括:首先,充放电管理器控制适配器向负载供电,并向电池充电。接下来,在第一预设时间内,当控制器判断电池温度超过预设温度阈值T th、电芯电压超过预设电压阈值V th中的至少一个条件满足时,控制器判断出电池处于上述高温高压的状态,充放电管理器将适配器输出的供电功率限制为第一供电功率P c1。其中,第一供电功率P c1、适配器的额定供电功率P init以及电池的第一预设放电功率P batt1满足:P c1+P batt1≥P init。接下来,充放电管理器控制电池放电,电池的放电功率小于或等于第一预设放电功率P batt1,以对适配器的缺口功率进行补偿。 In one aspect of the embodiments of the present application, a method for controlling an electronic device is provided. Electronic equipment includes batteries, loads, charge and discharge managers, and controllers. The charge and discharge manager is electrically connected to the battery, the load and the adapter, and the controller is electrically connected to 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 the first preset time, when the controller determines that the battery temperature exceeds the preset temperature threshold T th and that at least one of the battery cell voltage exceeds the preset voltage threshold V th is satisfied, the controller determines that the battery is in the above-mentioned state. In the state of high temperature and high pressure, the charge and discharge manager limits the power supply output by the adapter to the first power supply P c1 . Wherein, the first power supply 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 discharge of the battery, and the discharge power of the battery is less than or equal to the first preset discharge power P batt1 to compensate for the notch power of the adapter.
这样一来,当控制器监测到电池处于上述高温高压的状态,会向充放电管理器发送限流控制指令,以使得充放电管理器根据上述限流控制指令,将适配器输出的供电功率限制为第一供电功率P c1,适配器的缺口功率(P init-P c1)由电池放电进行补偿。此时,由上述可知,适配器和电池共同驱动负载进行工作。电池放电后,电池的容量下降,有利于电池温度的降低,有效减小电池发生鼓包现象的几率。 In this way, when the controller detects that the battery is in the above-mentioned state of high temperature and high pressure, it will send a current limiting control command to the charge and discharge manager, so that the charge and discharge manager limits the power supply output by the adapter to For the first power supply P c1 , the notch power of the adapter (P init −P c1 ) is compensated by the battery discharge. At this time, as can be seen from the above, the adapter and the battery work together to drive the load. After the battery is discharged, the capacity of the battery decreases, which is beneficial to the decrease of the battery temperature and effectively reduces the probability of the bulge phenomenon of the battery.
可选的,充放电管理器将适配器输出的供电功率限制为第一供电功率P c1之前,方法还包括:控制器获取适配器的额定工作电压Vdd,并计算适配器的限流点I limt,I limt=P c1/Vdd。充放电管理器将适配器输出的额定供电功率P init限制为第一供电功率P c1包括:充放电管理器将适配器向负载输出的电流限制至限流点I limt。这样一来,充放电管理器通过将适配器向负载输出的电流进行限制,可以达到将适配器向负载提供的供电功率进行限制的目的。 Optionally, before the charge and discharge manager limits the power supply output by the adapter to the first power supply power P c1 , the method further includes: the controller obtains the rated working voltage Vdd of the adapter, and calculates the current limiting points I limt , I limt of the adapter =P c1 /Vdd. The charging and discharging manager limiting the rated power supply power P init output by the adapter to the first power supply power P c1 includes: the charging and discharging manager limiting the current output by the adapter to the load to the current limiting point I limt . In this way, by limiting the current output by the adapter to the load, the charge and discharge manager can achieve the purpose of limiting the power supply provided by the adapter to the load.
可选的,控制器计算适配器的限流点I limt之前,方法还包括控制器计算负载的当前负载功率P sys与电池的第二预设放电功率P batt2的差值,作为第一供电功率P c1。其中,P batt2≤P batt1,即第二预设放电功率P batt2为小于或等于电池的第一预设放电功率P batt1的任意一个数值。当第二预设放电功率P batt2选取较小的数值时,可以重复多次对适配器向负载输出的电流进行限制,适配器的缺口功率采用电池放电进行补偿的过程,达到降低电池容量的目的。当第二预设放电功率P batt2选取较大的数值时,减小对适配器向负载输出的电流进行限制,适配器的缺口功率采用电池放电进行补偿的过程的重复次数。 Optionally, before the controller calculates the current limiting point I limt of the adapter, the method further includes that the controller calculates the difference between the current load power P sys of the load and the second preset discharge power P batt2 of the battery, as the first power supply power P. c1 . Wherein, P batt2 ≤P batt1 , that is, the second preset discharge power P batt2 is any value smaller than or equal to the first preset discharge power P batt1 of the battery. When the second preset discharge power P batt2 selects a smaller value, the current output from the adapter to the load can be repeated many times, and the gap power of the adapter is compensated by battery discharge, so as to reduce the battery capacity. When the second preset discharge power P batt2 selects a larger value, the number of repetitions of the process of limiting the current output by the adapter to the load and compensating for the notch power of the adapter using battery discharge is reduced.
可选的,电子设备还包括与电池相接触的壳体。控制器计算适配器的限流点I limt之前,方法还包括:控制器采集电子设备的壳体温度,并计算环境温度。接下来,控制器从预设对应关系中获取与环境温度相匹配的预设负载功率P0。其中,负载工作于预设对应关系中的每个预设负载功率P0时,电池温度小于预设温度阈值T th。接下来,控制器获取适配器的额定工作电压Vdd和负载的最大负载功率P max。当P0+P batt1≥P max时,控制器将预设负载功率P0,作为第一供电功率P c1。当负载的功率达到上述预设负载功率P0时,工作于和预设负载功率P0相匹配的电子设备,其电池的电池温度T batt小于预设温度阈值T th。因此,当控制器将适配器输出的供电功率限制为预设负载功率P0时,可以确保在上述环境温度下,电池的电池温度T batt小于预设温度阈值T th。此外,电池的第一预设放电功率P batt1与适配器向负载提供的预设负载功率P0之和满足P0+P batt1≥P max,即充放电管理器将适配器输出的供电功率限制为预设负载功率P0时,预设负载功率P0和电池的第一预设放电功率P batt1之和大于或等于适配器的额定供电功率P init,因此足够驱动负载进行工作。同理,电池放电后,电池的容量下降,有利于电池温度的降低,有效减小电池发生鼓包现象的几率。 Optionally, the electronic device further includes a housing in contact with the battery. Before the controller calculates the current limiting point I limt of the adapter, the method further includes: the controller collects the housing temperature of the electronic device and calculates the ambient temperature. Next, the controller obtains the preset load power P0 matching the ambient temperature from the preset correspondence. Wherein, when the load operates at each preset load power P0 in the preset corresponding relationship, the battery temperature is less than the preset temperature threshold T th . Next, the controller obtains the rated working voltage Vdd of the adapter and the maximum load power P max of the load. When P0+P batt1 ≥P max , the controller will preset the load power P0 as the first power supply power P c1 . When the power of the load reaches the preset load power P0, the battery temperature T batt of the battery of the electronic device that matches the preset load power P0 is less than the preset temperature threshold T th . Therefore, when the controller limits the power supply output by the adapter to the preset load power P0, it can be ensured that the battery temperature T batt of the battery is less than the preset temperature threshold T th under the above ambient temperature. In addition, the sum of the first preset discharge power P batt1 of the battery and the preset load power P0 provided by the adapter to the load satisfies P0+P batt1 ≥P max , that is, the charge and discharge manager limits the power supply power output by the adapter to the preset load When the power is P0, the sum of the preset load power P0 and the first preset discharge power P batt1 of the battery is greater than or equal to the rated power supply P init of the adapter, so it is sufficient to drive the load to work. Similarly, after the battery is discharged, the capacity of the battery decreases, which is beneficial to the decrease of the battery temperature and effectively reduces the probability of the battery bulging phenomenon.
可选的,控制器计算适配器的限流点I limt之前,方法还包括:控制器采集电子设备的壳体温度,并计算环境温度。接下来,控制器从预设对应关系中获取与环境温度相匹配的预设负载功率P0。其中,负载工作于预设对应关系中的每个预设负载功率P0时,电池温度小于预设温度阈值T th。此外,控制器获取适配器的额定工作电压Vdd和负载的最大负载功率P max。当P0+Pbatt1<P max时,控制器将预设负载功率P0与预设功率余量P gap之和作为第一供电功率P c1。其中,P gap=P max-P0-P batt1。当负载的功率达到上述预设负载功率P0时,工作于和预设负载功率P0相匹配的电子设备,其电池的电池温度T batt小于预设温度阈值T th。因此,当控制器将适配器输出的供电功率限制为预设负载功率P0时,可以确保电池的电池温度T batt小于预设温度阈值T th。此外,由于电池的第一预设放电功率P batt1与适配器向负载提供的预设负载功率P0之和满足P0+P bat<P max,即充放电管理器将适配器输出的供电功率限制为预设负载功率P0时,适配器的预设负载功率P0和电池的第一预设放电功率P batt1之和不够驱动负载进行工作。因此为了确保适配器和电池能够共同驱动负载进行工作,需要将适配器的限流点I limt所对应的功率在预设负载功率P0的基础上,再增加一定的余量P gap。同理,电池放电后,电池的容量下降,有利于电池温度的降低,有效减小电池发生鼓包现象的几率。 Optionally, before the controller calculates the current limiting point I limt of the adapter, the method further includes: the controller collects the housing temperature of the electronic device and calculates the ambient temperature. Next, the controller obtains the preset load power P0 matching the ambient temperature from the preset correspondence. Wherein, when the load operates at each preset load power P0 in the preset corresponding relationship, the battery temperature is less than the preset temperature threshold T th . In addition, the controller obtains the rated working voltage Vdd of the adapter and the maximum load power Pmax of the load. When P0+Pbatt1<P max , the controller takes the sum of the preset load power P0 and the preset power margin P gap as the first power supply power P c1 . Wherein, P gap =P max -P0 -P batt1 . When the power of the load reaches the preset load power P0, the battery temperature T batt of the battery of the electronic device that matches the preset load power P0 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, it can be ensured that the battery temperature T batt of the battery is less than the preset temperature threshold T th . In addition, since the sum of the first preset discharge power P batt1 of the battery and the preset load power P0 provided by the adapter to the load satisfies P0+P bat <P max , that is, the charge and discharge manager limits the power supply output by the adapter to a preset value When the load power is 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 work. Therefore, in order to ensure that the adapter and the battery can jointly drive the load to work, the power corresponding to the current limiting point I limt of the adapter needs to be increased by a certain margin P gap on the basis of the preset load power P0 . Similarly, after the battery is discharged, the capacity of the battery decreases, which is beneficial to the decrease of the battery temperature and effectively reduces the probability of the battery bulging phenomenon.
可选的,控制器判断电池温度超过预设温度阈值T th、电芯电压超过预设电压阈值 V th中的至少一个条件满足之前,方法还包括:控制器获取电池温度、电芯电压以及电池容量,并获取负载的当前负载功率P sys以及第一预设放电功率P batt1。在电池包括电芯132、电源管理芯片以及热敏电阻的情况下,电源管理芯片可以与电芯电连接,该电源管理芯片可以作为电量计对电芯的电芯电压V batt和电池容量C batt进行采集,并将采集结果通过I2C接口传输至控制器。此外,上述热敏电阻可以设置于电芯附近。热敏电阻能够对电芯的温度进行感测。控制器可以通过I2C接口采集热敏电阻的当前阻值,并与该热敏电阻的初始阻值进行比对,根据阻值的变化量计算出电池的电池温度T battOptionally, before the controller determines that at least one of the conditions of the battery temperature exceeding the preset temperature threshold T th and the cell voltage exceeding the preset voltage threshold V th is satisfied, the method further includes: the controller obtains the battery temperature, the cell voltage and the battery cell voltage. capacity, and obtain the current load power P sys and the first preset discharge power P batt1 of the load. In the case where the battery includes the cell 132, the power management chip and the thermistor, the power management chip can be electrically connected with the cell, and the power management chip can be used as a fuel gauge to measure the cell voltage V batt and the battery capacity C batt of the cell The acquisition is carried out, and the acquisition results are transmitted to the controller through the I2C interface. In addition, the above-mentioned thermistor may be disposed 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, compare it with the initial resistance value of the thermistor, and calculate the battery temperature T batt of the battery according to the change of the resistance value.
可选的,控制器获取负载的当前负载功率P sys包括:控制器在第二预设时间内,多次采集充放电管理器向负载输出的负载功率。控制器计算在第二预设时间内,采集到的多个负载功率的平均值,作为当前负载功率P sys。这样一来,控制器无需实时获取来自充放电管理器输出的负载功率,从而降低控制器的数据处理量。 Optionally, obtaining the current load power P sys of the load by the controller includes: the controller collects the load power output by the charge and discharge manager to the load multiple times within a second preset time. The controller calculates the average value of multiple load powers collected within the second preset time as the current load power P sys . In this way, the controller does not need to obtain the load power output from the charge and discharge manager in real time, thereby reducing the data processing amount of the controller.
可选的,控制器在第二预设时间内,多次采集充放电管理器向负载输出的负载功率包括:控制器每间隔10ms,采集一次充放电管理器向负载输出的负载功率,且连续采集5~10次。当控制器在采集前负载功率P sys的过程中,采集间隔大于10ms时,会降低采集数据的精度,当采集间隔小于10ms时,会增加控制器的数据处理量。此外,当控制器连续采集10次以上时,会增加控制器的数据处理量,当控制器连续采集5次以下时,会降低采集数据的精度。 Optionally, within the second preset time, the controller collects the load power output by the charge and discharge manager to the load multiple times, including: the controller collects the load power output by the charge and discharge manager to the load once every 10 ms, and continuously. Collect 5 to 10 times. When the controller collects the pre-load power P sys , when the collection interval is greater than 10ms, the accuracy of the collected data will be reduced, and when the collection interval is less than 10ms, the data processing capacity of the controller will be increased. In addition, when the controller collects more than 10 times continuously, the data processing capacity of the controller will increase, and when the controller collects less than 5 times continuously, the accuracy of the collected data will be reduced.
可选的,控制器获取所述适配器的额定工作电压Vdd包括:充放电管理器接收适配器输出的电压。充放电管理器向控制器输出在位指令,在位指令用于指示适配器与充放电管理器电连接。此时上述适配器可以不具备通信功能,通过适配器向充放电管理器提供电压,使得充放电管理器获知适配器的在位状态,并向控制器发送上述在位指令。此外,控制器根据上述在位指令,将预设电压作为适配器的额定工作电压Vdd。Optionally, the obtaining of the rated working voltage Vdd of the adapter by the controller includes: the charge and discharge manager receives the voltage output by the adapter. The charge and discharge manager outputs an in-position command to the controller, and the in-position command is used to instruct the adapter to be electrically connected to the charge and discharge manager. In this case, the adapter may not have the communication function, and the charge and discharge manager may be provided with a voltage through the adapter, so that the charge and discharge manager will know the in-position status of the adapter and send the in-position command to the controller. In addition, the controller uses the preset voltage as the rated working voltage Vdd of the adapter according to the above-mentioned in-position instruction.
可选的,电子设备还包括与适配器和控制器电连接的侦测器。控制器控制器获取所述适配器的额定工作电压Vdd包括:侦测器侦测适配器的额定工作电压,并向控制器发送额定工作电压,在位指令用于指示适配器与充放电管理器电连接。此时,适配器具备通信功能,可以与侦测器进行通信,以使得侦测器获知适配器的在位状态以及参数,并将在位指令和相关参数传输至控制器。Optionally, the electronic device further includes a detector electrically connected to the adapter and the controller. The controller obtaining the rated working voltage Vdd of the adapter includes: the detector detects the rated working voltage of the adapter, and sends the rated working voltage to the controller, and the in-position instruction is used to instruct the adapter to be 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 can know the in-position state and parameters of the adapter, and transmit the in-position command and related parameters to the controller.
可选的,电池放电之后,方法还包括:当控制器判断电池温度小于预设温度阈值,并且电芯电压小于预设电压阈值时,充放电管理器控制适配器输出的额定供电功率P init。这样一来,当电池处于安全状态时,适配器输出供电功率不再被充放电管理器限制,而是恢复至原有的初始值,以满足负载高功率的要求。 Optionally, after the battery is discharged, the method further includes: when the controller determines that the battery temperature is less than the preset temperature threshold and the cell voltage is less than the preset voltage threshold, the charge and discharge manager controls the rated power supply P init output by the adapter. In this way, when the battery is in a safe state, the output power of the adapter is no longer limited by the charge and discharge manager, but is restored to the original initial value to meet the high power requirements of the load.
可选的,充放电管理器控制适配器输出的额定供电功率P init之后,方法还包括:充放电管理器接收用户操作,若控制器判断电池的电池容量达到预设容量阈值C th,则充放电管理器控制适配器停止向电池充电。其中,预设容量阈值C th小于电池的最大电池容量C max。这样一来,当在电子设备长时间插入适配器,并处于工作的状态时,可以保持电池的电池容量在适中的状态,减少充电时间和次数,以延长电池的寿命。 Optionally, after the charge and discharge manager controls the rated power supply P init output by the adapter, the method further includes: the charge and discharge manager receives a user operation, and if the controller determines that the battery capacity of the battery reaches the preset capacity threshold C th , the charge and discharge manager is charged and discharged. The manager controls the adapter to stop charging the battery. Wherein, the preset capacity threshold C th is smaller than the maximum battery capacity C max of the battery. In this way, when the electronic device is plugged into the adapter for a long time and is in a working state, the battery capacity of the battery can be kept in a moderate state, and the charging time and times can be reduced to prolong the battery life.
可选的,预设温度阈值为45℃。预设电压阈值为4V。当电池的电池温度T batt超过45℃时,电池不再处于安全的充电状态,容易发生鼓包。 Optionally, the preset temperature threshold is 45°C. The preset voltage threshold is 4V. When the battery temperature T batt of the battery exceeds 45°C, the battery is no longer in a safe charging state, and bulging is likely to occur.
本申请实施例的另一方面,提供一种电子设备,电子设备包括负载、电池、控制器以及充放电管理器。其中,电池用于向负载供电。控制器与电池电连接。控制器用于在第一预设时间内,判断电池温度是否超过预设温度阈值T th、电芯电压是否超过预设电压阈值V th。充放电管理器与电池、负载以及适配器电连接。充放电管理器用于当控制器判断电池温度超过预设温度阈值T th、电芯电压超过预设电压阈值V th中的至少一个条件满足时,将适配器输出的供电功率限制为第一供电功率P c1。充放电管理器还用于控制电池放电,以对适配器的缺口功率进行补偿。其中,第一供电功率P c1、适配器的额定供电功率P init以及电池的第一预设放电功率P batt1满足:P c1+P batt1≥P init。电池的放电功率小于或等于第一预设放电功率P batt1。上述电子设备与前述实施例提供的电子设备的控制方法具有相同的技术效果,此处不再赘述。 Another aspect of the embodiments of the present application provides an electronic device, where the electronic device includes a load, a battery, a controller, and a charge-discharge manager. Among them, the battery is used to supply power to the load. The controller is electrically connected to the battery. The controller is configured to determine whether the battery temperature exceeds the preset temperature threshold T th and whether the battery cell voltage exceeds the preset voltage threshold V th within the first preset time. The charge and discharge manager is electrically connected to the battery, the load and the adapter. The charge and discharge manager is configured to limit the power supply output by the adapter to the first power supply P when the controller determines that at least one of the conditions of the battery temperature exceeding the preset temperature threshold T th and the cell voltage exceeding the preset voltage threshold V th is satisfied c1 . The charge and discharge manager is also used to control battery discharge to compensate for notched power in the adapter. Wherein, the first power supply 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 . The discharge power of the battery is less than or equal to the first preset discharge power P batt1 . The electronic device described above has the same technical effect as the control method for the electronic device provided by the foregoing embodiments, which will not be repeated here.
可选的,充放电管理器将适配器输出的供电功率限制为第一供电功率P c1之前,控制器还用于获取适配器的额定工作电压Vdd,计算适配器的限流点I limt。其中,I limt=P c1/Vdd。充放电管理器用于将适配器输出的供电功率限制为第一供电功率P c1包括:充放电管理器用于将适配器向负载输出的电流限制至限流点I limt。上述限流点I limt的技术效果同上所述,此处不再赘述。 Optionally, before the charge and discharge manager limits the power supply output by the adapter to the first power supply power P c1 , the controller is further configured to obtain the rated working voltage Vdd of the adapter and calculate the current limiting point I limt of the adapter. Wherein, I limt =P c1 /Vdd. The charging and discharging manager used to limit the power supply output by the adapter to the first power supply power P c1 includes: the charging and discharging manager is used to limit the current output by the adapter to the load to the current limiting point I limt . The technical effect of the above-mentioned current limiting point I limt is the same as above, and will not be repeated here.
可选的,控制器计算适配器的限流点I limt之前,控制器还用于计算当前负载功率P sys与电池的第二预设放电功率P batt2的差值,作为第一供电功率P c1。其中,P batt2≤P batt1。第一供电功率P c1的设置方式的技术效果同上所述,此处不再赘述。 Optionally, before the controller calculates the current limiting point I limt of the adapter, the controller is further used to calculate the difference between the current load power P sys and the second preset discharge power P batt2 of the battery as the first power supply power P c1 . Wherein, P batt2 ≤P batt1 . The technical effect of the setting method of the first power supply P c1 is the same as that described above, and will not be repeated here.
可选的,电子设备还包括与电池相接触的壳体。控制器计算适配器的限流点I limt之前,控制器还用于采集电子设备的壳体温度,计算环境温度,并从预设对应关系中获取与环境温度相匹配的预设负载功率P0。接下来,获取适配器的额定工作电压Vdd和负载的最大负载功率P max,当P0+P batt1≥P max时,将预设负载功率P0,作为第一供电功率P c1。其中,负载工作于预设对应关系中的每个预设负载功率P0时,所述电池温度小于所述预设温度阈值T th。第一供电功率P c1的设置方式的技术效果同上所述,此处不再赘述。 Optionally, the electronic device further includes a housing in contact with the battery. Before the controller calculates the current limiting point I limt of the adapter, the controller is also used to collect the housing temperature of the electronic device, calculate the ambient temperature, and obtain the preset load power P0 matching the ambient temperature from the preset correspondence. Next, the rated working voltage Vdd of the adapter and the maximum load power P max of the load are obtained. When P0+P batt1 ≥ P max , the load power P0 is preset as the first power supply power P c1 . Wherein, when the load operates at each preset load power P0 in the preset corresponding relationship, the battery temperature is less than the preset temperature threshold T th . The technical effect of the setting method of the first power supply P c1 is the same as that described above, and will not be repeated here.
可选的,电子设备还包括与电池相接触的壳体。控制器计算适配器的限流点I limt之前,控制器还用于采集电子设备的壳体温度,计算环境温度,并从预设对应关系中获取与环境温度相匹配的预设负载功率P0,并获取适配器的额定工作电压Vdd和负载的最大负载功率P max,当P0+P batt1<P max时,控制器将预设负载功率P0与预设功率余量P gap之和作为第一供电功率P c1。其中,负载工作于预设对应关系中的每个预设负载功率P0时。P gap=P max-P0-P batt1。第一供电功率P c1的设置方式的技术效果同上所述,此处不再赘述。 Optionally, the electronic device further includes a housing in contact with the battery. Before the controller calculates the current limiting point I limt of the adapter, the controller is also used to collect the housing temperature of the electronic device, calculate the ambient temperature, and obtain the preset load power P0 matching the ambient temperature from the preset correspondence, and Obtain the rated working voltage Vdd of the adapter and the maximum load power P max of the load, 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 supply P c1 . Wherein, the load works at each preset load power P0 in the preset correspondence. P gap =P max -P0 -P batt1 . The technical effect of the setting method of the first power supply P c1 is the same as that described above, and will not be repeated here.
可选的,预设温度阈值为45℃;预设电压阈值为4V。当电池的电池温度T batt超过45℃时,电池不再处于安全的充电状态,容易发生鼓包。 Optionally, the preset temperature threshold is 45°C; the preset voltage threshold is 4V. When the battery temperature T batt of the battery exceeds 45°C, the battery is no longer in a safe charging state, and bulging is likely to occur.
附图说明Description of drawings
图1为本申请实施例提供的一种电子设备的结构示意图;FIG. 1 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
图2为本申请实施例提供的另一种电子设备的结构示意图;FIG. 2 is a schematic structural diagram of another electronic device provided by an embodiment of the present application;
图3为本申请实施例提供的一种电子设备的结构示意图;3 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
图4为本申请实施例提供的一种USB接口的结构示意图;4 is a schematic structural diagram of a USB interface according to an embodiment of the present application;
图5为本申请实施例提供的一种电子设备的控制方法流程图;FIG. 5 is a flowchart of a control method of an electronic device provided by an embodiment of the present application;
图6为本申请实施例提供的一种电子设备的控制过程示意图;6 is a schematic diagram of a control process of an electronic device provided by an embodiment of the present application;
图7A为本申请实施例提供的另一种电子设备的结构示意图;7A is a schematic structural diagram of another electronic device provided by an embodiment of the present application;
图7B为本申请实施例提供的另一种电子设备的控制过程示意图;7B is a schematic diagram of a control process of another electronic device provided by an embodiment of the present application;
图8A为本申请实施例提供的另一种电子设备的结构示意图;8A is a schematic structural diagram of another electronic device provided by an embodiment of the present application;
图8B为本申请实施例提供的另一种电子设备的结构示意图;8B is a schematic structural diagram of another electronic device provided by an embodiment of the present application;
图9为本申请实施例提供的另一种电子设备的结构示意图;FIG. 9 is a schematic structural diagram of another electronic device provided by an embodiment of the present application;
图10为本申请实施例提供的另一种电子设备的控制方法流程图。FIG. 10 is a flowchart of another control method of an electronic device provided by an embodiment of the present application.
附图标记:Reference number:
01-电子设备;10-显示部;100-显示模组;11-系统部;110-壳体;120-主板;130-电池;20-负载;30-充放电管理器;40-适配器;50-控制器;60-侦测器;131-热敏电阻;132-电芯;133-PMIC;21-非满充模式按钮;22-对话弹窗。01-electronic equipment; 10-display part; 100-display module; 11-system part; 110-shell; 120-mainboard; 130-battery; 20-load; 30-charge and discharge manager; 40-adapter; 50 -Controller; 60-Detector; 131-Thermistor; 132-Cell; 133-PMIC; 21-Partial charge mode button; 22-Dialog pop-up window.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。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 a part of the embodiments of the present application, rather than all the embodiments.
以下,术语“第一”、“第二”等仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”等的特征可以明示或者隐含地包括一个或者更多个该特征。Hereinafter, the terms "first", "second", etc. are only used for descriptive purposes, and should not be understood as indicating or implying relative importance or implying the number of indicated technical features. Thus, a feature defined as "first", "second", etc., may expressly or implicitly include one or more of that feature.
此外,本申请中,“上”、“下”等方位术语可以包括但不限于相对附图中的部件示意置放的方位来定义的,应当理解到,这些方向性术语可以是相对的概念,它们用于相对于的描述和澄清,其可以根据附图中部件附图所放置的方位的变化而相应地发生变化。In addition, in this application, directional terms such as "upper" and "lower" may include, but are not limited to, definitions relative to the schematic placement of components in the drawings. It should be understood that these directional terms may be relative concepts, They are used for relative description and clarification, which may vary accordingly depending on the orientation in which the components are placed in the drawings.
在本申请中,除非另有明确的规定和限定,术语“连接”应做广义理解,例如,“连接”可以是固定连接,也可以是可拆卸连接,或成一体;可以是直接相连,也可以通过中间媒介间接相连。此外,术语“电连接”可以是直接的电性连接,也可以是通过中间媒介间接的电性连接。In this application, unless otherwise expressly specified and limited, the term "connection" should be understood in a broad sense. For example, "connection" may be a fixed connection, a detachable connection, or an integrated body; it may be directly connected, or Can be indirectly connected through an intermediary. In addition, the term "electrical connection" may be a direct electrical connection or an indirect electrical connection through an intermediate medium.
本申请实施例提供一种电子设备,该电子设备可以包括手机(mobile phone)、平板电脑(pad)、一体机、台式机、电视、智能穿戴产品(例如,智能手表、智能手环)、虚拟现实(virtual reality,VR)终端设备、增强现实(augmented reality AR)终端设备等电子产品。本申请实施例对上述电子设备的具体形式不做特殊限制,以下为了方便说明,以该电子设备01为如图1所示的笔记本为例。An embodiment of the present application provides an electronic device, which may include a mobile phone, a tablet computer (pad), an all-in-one computer, a desktop computer, a TV, a smart wearable product (for example, a smart watch, a smart bracelet), a virtual Electronic products such as virtual reality (VR) terminal equipment and augmented reality (AR) terminal equipment. The embodiments of the present application do not specifically limit the specific form of the above electronic device. For the convenience of description below, the electronic device 01 is taken as an example of a notebook as shown in FIG. 1 .
在此情况下,该电子设备01可以包括转动连接的显示部10和系统部11。上述该显示部10具有用于显示图像的显示模组100。在本申请的一些实施例中,显示模组100可以包括液晶显示屏(liquid crystal display,LCD)。或者,在本申请的另一些实施例中,显示模组100可以包括有机发光二极管(organic light emitting diode,OLED)显示屏。本申请对显示屏的类型不做限定。此外,上述系统部11可以包括壳体110以及设置于该壳体110内的主板120和电池130。上述主板120可以为印刷电路板(printed circuit board,PCB)。In this case, the electronic device 01 may include a display portion 10 and a system portion 11 that are rotatably connected. The display unit 10 described above includes the display module 100 for displaying images. In some embodiments of the present application, the display module 100 may include a liquid crystal display (LCD). Alternatively, in other embodiments of the present application, the display module 100 may include an organic light emitting diode (organic light emitting diode, OLED) display screen. This application does not limit the type of the display screen. In addition, the above-mentioned system unit 11 may include a housing 110 , a mainboard 120 and a battery 130 disposed in the housing 110 . The above-mentioned mainboard 120 may be a printed circuit board (printed circuit board, PCB).
此外,上述电子设备01还可以包括如图2所示的负载20。该负载20可以包括用 于执行不同功能的电子元器件。示例的,上述负载20可以包括设置于上述主板120(如图1所示)上的具有数据处理功能的芯片,例如,系统级芯片(system on a chip,SOC)、中央处理器(central processing unit,CPU)或图形处理器(graphics processing unit,GPU)。此外,该负载20还可以包括上述显示模组、用于实现检测功能的电量计量芯片和温度传感器、用于处理芯片数据的喇叭和麦克风以及编解码芯片、用于实现通信功能的射频收发电路和基带处理器等。In addition, the above-mentioned electronic device 01 may further include a load 20 as shown in FIG. 2 . The load 20 may include electronic components for performing various functions. Exemplarily, the above-mentioned load 20 may include a chip with a data processing function disposed on the above-mentioned main board 120 (as shown in FIG. 1 ), for example, a system on a chip (SOC), a central processing unit (central processing unit) , CPU) or graphics processing unit (graphics processing unit, GPU). In addition, the load 20 may also include the above-mentioned display module, a power metering chip and a temperature sensor for realizing the detection function, a speaker, a microphone and a codec chip for processing chip data, a radio frequency transceiver circuit for realizing the communication function, and baseband processor, etc.
在此基础上,为了向上述负载20供电,以驱动负载20工作,该电子设备01还可以包括如图2所示的充放电管理器(charger)30。该充放电管理器30与电池130和负载20电连接。此外,当适配器40在位时,该充放电管理器30还可以与适配器40电连接。适配器40用于将220V的交流电(alternating current,AC)转换成直流电(direct current,DC)。以下为了方便描述,将处于工作状态的适配器40称为工作于AC模式。充放电管理器30可以控制适配器40向负载20进行供电,并对适配器40向负载20提供的供电功率进行控制。此外,该充放电管理器30还可以控制适配器40向电池130进行充电。On this basis, in order to supply power to the above-mentioned load 20 to drive the load 20 to work, the electronic device 01 may further include a charge and discharge manager (charger) 30 as shown in FIG. 2 . The charge and discharge manager 30 is electrically connected to the battery 130 and the load 20 . In addition, when the adapter 40 is in place, the charge and discharge manager 30 can also be electrically connected with the adapter 40 . The adapter 40 is used to convert 220V alternating current (AC) into direct current (DC). In the following, for the convenience of description, the adapter 40 in the working state is referred to as working in the AC mode. The charge and discharge manager 30 can control the adapter 40 to supply power to the load 20 and control the power supply provided by the adapter 40 to the load 20 . In addition, the charge and discharge manager 30 can also control the adapter 40 to charge the battery 130 .
需要说明的是,在本申请的一些实施例中,当上述电子设备01为笔记本、手机以及一体机等尺寸较小的电子产品时,上述适配器40和电子设备01为两个独立的电子器件,该适配器40为外置适配器。此时,独立于电子设备01的适配器40可以通过接口,例如通用串行总线(universal serial bus,USB)接口与充放电管理器30电连接。It should be noted that, in some embodiments of the present application, when the above-mentioned electronic device 01 is a small-sized electronic product such as a notebook, a mobile phone, and an all-in-one machine, the above-mentioned adapter 40 and the electronic device 01 are two independent electronic devices, The adapter 40 is an external adapter. At this time, the adapter 40 independent of the electronic device 01 can be electrically connected to the charge and discharge manager 30 through an interface, such as a universal serial bus (USB) interface.
或者,在本申请的另一些实施例中,当上述电子设备01为台式机、电视机等尺寸较大的电子产品时,上述适配器40可以集成于该电子设备01内部,该适配器40为内置适配器。此时,集成于电子设备01内部的适配器40可以通过内部走线直接与充放电管理器30电连接。Alternatively, in other embodiments of the present application, when the electronic device 01 is a large-sized electronic product such as a desktop computer or a TV, the adapter 40 can be integrated inside the electronic device 01, and the adapter 40 is a built-in adapter . At this time, the adapter 40 integrated in the electronic device 01 can be directly electrically connected to the charge and discharge manager 30 through the internal wiring.
此外,在本申请的一些实施例中,电子设备01还可以包括如图2所示的控制器50。示例的,当上述电子设备01为笔记本时,该控制器50可以为嵌入式控制器(embed controller,EC)。该控制器50可以通过集成电路总线(inter integrated circuit,I2C)与电池130和充放电管理器30电连接。控制器50能够对电池130的电量、电池温度、电芯电压以及充放电功率等与电池相关的参数信息进行获取。当控制器50获知适配器40在位时,该控制器50可以根据上述与电池相关的参数信息生成限流控制指令,并将该限流控制指令发送至充放电管理器30。该限流控制指令用于指示充放电管理器30,对适配器40向电池130输出的供电功率进行限制。In addition, in some embodiments of the present application, the electronic device 01 may further include a controller 50 as shown in FIG. 2 . For example, when the above-mentioned electronic device 01 is a notebook, the controller 50 may be an embedded controller (embed controller, EC). The controller 50 can be electrically connected with the battery 130 and the charge and discharge manager 30 through an integrated circuit (inter integrated circuit, I2C). The controller 50 can acquire battery-related parameter information such as the power of the battery 130, the battery temperature, the cell voltage, and the charging and discharging power. When the controller 50 learns that the adapter 40 is in place, the controller 50 can generate a current limiting control instruction according to the above parameter information related to the battery, and send the current limiting control instruction to the charge and discharge manager 30 . The current limiting control instruction is used to instruct the charge and discharge manager 30 to limit the power supply from the adapter 40 to the battery 130 .
在本申请的一些实施例中,适配器40可以不具备信号传输功能。此时,为了使得控制器50能够获知适配器40的在位情况,当适配器40与充放电管理器30电连接时,充放电管理器30可以接收适配器40输出的供电电压,以确定适配器40处于在位的状态。接下来,充放电管理器30可以向控制器50输出在位指令,该在位指令用于指示适配器40与充放电管理器30电连接。在此情况下,由于适配器40不具备信号传输功能,因此若控制器50接收到来自充放电管理器30发出的在位指令时,该控制器50可以默认适配器40为标准适配器,该适配器40向负载20提供的额定供电功率P init、输出电压以及输出电流等参数与标准适配器相同。 In some embodiments of the present application, the adapter 40 may not have a signal transmission function. At this time, in order to enable the controller 50 to know the status of the adapter 40, when the adapter 40 is electrically connected to the charge and discharge manager 30, the charge and discharge manager 30 can receive the power supply voltage output by the adapter 40 to determine that the adapter 40 is on bit status. Next, the charge and discharge manager 30 may output an on-site command to the controller 50 , where the on-site command is used to instruct the adapter 40 to be electrically connected to the charge and discharge manager 30 . In this case, since the adapter 40 does not have the function of signal transmission, if the controller 50 receives an in-position command from the charge and discharge manager 30, the controller 50 can default the adapter 40 as a standard adapter, and the adapter 40 communicates with The parameters such as the rated power supply P init , the output voltage and the output current provided by the load 20 are the same as those of the standard adapter.
或者,在本申请的另一些实施例中,当适配器40可以具备信号传输功能时,电子 设备01还可以包括如图3所示的侦测器60。该侦测器60可以通过I2C总线与适配器40和控制器50电连接。当侦测器60侦测到适配器40时,该侦测器60可以向控制器50发送上述在位指令。示例的,上述侦测器60可以为功率输出(power delivery,PD)控制器。在本申请的一些实施例中,可以将该侦测器60的部分功能集成于控制器50中。Or, in other embodiments of the present application, when the adapter 40 can have a signal transmission function, the electronic device 01 can further include a detector 60 as shown in FIG. 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-position command to the controller 50 . For example, the above-mentioned detector 60 may be a power delivery (power delivery, PD) controller. In some embodiments of the present application, some functions of the detector 60 may be integrated into the controller 50 .
示例的,若适配器40通过USB Type-C接口接入电子设备01如图4所示,该Type-C接口中可以设置有根据Type-C接口协议规定的CC引脚。CC引脚可以对与接入的适配器40的类型进行识别。这样一来,侦测器60可以根据CC引脚识别的结果,将与适配器40类型相关的额定供电功率P init、输出电压以及输出电流等参数与上述在位指令一同传输至控制器50,以使得控制器50能够获知适配器40的在位情况。 For example, if the adapter 40 is connected to the electronic device 01 through the USB Type-C interface, as shown in FIG. 4 , the Type-C interface may be provided with CC pins specified according to the Type-C interface protocol. The CC pin can identify the type of adapter 40 connected. In this way, the detector 60 can transmit parameters such as the rated power supply P init , the output voltage and the output current related to the type of the adapter 40 to the controller 50 together with the above in-position command according to the result of the CC pin identification, so as to This enables the controller 50 to know the presence status of the adapter 40 .
需要说明的是,上述是以Type-C接口为例,对适配器40的类型进行识别的举例说明。当其他类型的接口中具有身份识别(identity document,ID)功能的引脚时,对适配器40类型的识别过程同上所述,此处不再赘述。It should be noted that, the above description takes the Type-C interface as an example to illustrate the identification of the type of the adapter 40 as an example. When other types of interfaces have pins with an identity document (ID) function, the identification process for the type of the adapter 40 is the same as that described above, and will not be repeated here.
以下结合图2对该电子设备01的控制方法进行举例说明。The following describes the control method of the electronic device 01 by way of example with reference to FIG. 2 .
示例一Example 1
本示例中,对适配器40传输至负载20的供电功率进行限制。此外,适配器40的供电功率被降低的部分由电池130进行补偿,确保负载20接收到的功率不降低。具体的,当适配器40与充放电管理器30电连接时,本示例中电子设备01的控制方法可以包括如图5所示的S101~S109。In this example, the power supplied by the adapter 40 to the load 20 is limited. In addition, the reduced power supply of the adapter 40 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 and discharge manager 30 , the control method of the electronic device 01 in this example may include S101 to S109 as shown in FIG. 5 .
S101、充放电管理器30控制适配器40向负载20供电,并向电池130充电。S101 . The charge and discharge manager 30 controls the adapter 40 to supply power to the load 20 and to charge the battery 130 .
当执行S101时,如图6所示,适配器40输出额定供电功率P init。在充放电管理器30的控制下,该适配器40的额定供电功率P init的一部分可以作为电池130的供电功率P1传输至电池130,对电池130进行充电。该适配器40的额定供电功率P init的另一部分可以作为负载20的当前负载功率P sys,传输至负载20,以驱动负载20进行工作。此时,P init=P1+P sys,适配器40(AC模式)驱动负载20进行工作。其中,当电池130充满时,P1=0。 When S101 is executed, as shown in FIG. 6 , the adapter 40 outputs the rated power supply P init . Under the control of the charge and discharge manager 30 , a part of the rated power supply P init of the adapter 40 can be transmitted to the battery 130 as the power supply P1 of the battery 130 to charge the battery 130 . Another part of the rated power supply 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 , and the adapter 40 (AC mode) drives the load 20 to work. Wherein, when the battery 130 is fully charged, P1=0.
S102、控制器50判断电池130是否处于高温高容量的状态。S102 , the controller 50 determines whether the battery 130 is in a state of high temperature and high capacity.
在本申请的一些实施例中,控制器50可以获取电池130的电池温度T batt、电芯电压V batt以及电池容量C batt。例如,上述电池130可以包括如图7A所示的电芯132、电源管理芯片(power management integrated circuit chip,PMIC)133以及热敏电阻(negative temperature coefficient,NTC)131。 In some embodiments of the present application, the controller 50 may 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 may include a battery cell 132 , a power management integrated circuit chip (PMIC) 133 and a thermistor (negative temperature coefficient, NTC) 131 as shown in FIG. 7A .
PMIC133与电芯132电连接,该PMIC可以作为电量计对电芯132的电芯电压V batt和电池容量C batt进行采集,并将采集结果通过I2C接口传输至控制器50。此外,上述热敏电阻131可以设置于电芯132附近。热敏电阻131能够对电芯132的温度进行感测。控制器50可以通过I2C接口采集热敏电阻131的当前阻值,并与该热敏电阻131的初始阻值进行比对,根据阻值的变化量计算出电池130的电池温度T battThe PMIC 133 is electrically connected to the battery cell 132 , and the PMIC can be used as a fuel gauge to collect the cell voltage V batt and the battery capacity C batt of the battery cell 132 , and transmit the collected results to the controller 50 through the I2C interface. In addition, the above-mentioned thermistor 131 may be disposed near the battery cell 132 . The thermistor 131 can sense the temperature of the battery cell 132 . The controller 50 can collect the current resistance value of the thermistor 131 through the I2C interface, compare it with the initial resistance value of the thermistor 131, and calculate the battery temperature T batt of the battery 130 according to the change of the resistance value.
接下来,在第一预设时间T1内,若控制器50获取的电池130的电池温度T batt超过预设温度阈值T th(T batt>T th),或者,控制器50获取的电芯电压V batt超过预设电压阈值V th(V batt>V th)时,即当T batt>T th以及V batt>V th中至少一个满足时,控制器 50可以判断判断电池130处于高温高容量的状态。 Next, within the first preset time T1, if the battery temperature T batt of the battery 130 acquired by the controller 50 exceeds the preset temperature threshold T th (T batt >T th ), or the cell voltage acquired by the controller 50 When V batt exceeds the preset voltage threshold V th (V batt >V th ), that is, when at least one of T batt >T th and V batt >V th is satisfied, the controller 50 can determine that the battery 130 is in a high temperature and high capacity state. state.
接下来,可以执行以下S103。若控制器50获取的电池130的电池温度T batt小于预设温度阈值T th(T batt<T th),并且,控制器50获取的电芯电压V batt<预设电压阈值V th(V batt<V th)时,即当T batt<T th以及V batt<V th均满足时,说明电池130处于安全的状态,因此可以执行上述S101,使得电子设备01处于默认的工作状态。 Next, the following S103 may be performed. If the battery temperature T batt of the battery 130 acquired by the controller 50 is smaller than the preset temperature threshold T th (T batt <T th ), and the cell voltage V batt acquired by the controller 50 is less than the preset voltage threshold V th (V batt <V th ), that is, when both T batt <T th and V batt <V th are satisfied, the battery 130 is in a safe state, so the above S101 can be executed to make the electronic device 01 in the default working state.
在本申请的一些实施例中,当电池130的电池温度T batt超过45℃时,电池130不再处于安全的充电状态,容易发生鼓包。因此,上述预设温度阈值T th可以为45℃。或者,当电芯电压V batt超过预设电压阈值V th时,电池130不再处于安全的充电状态,容易发生鼓包。因此,上述预设电压阈值V th可以为4V。 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 bulging is likely to occur. Therefore, the above-mentioned preset temperature threshold T th may be 45°C. Alternatively, when the cell voltage V batt exceeds the preset voltage threshold V th , the battery 130 is no longer in a safe charging state, and bulging is likely to occur. Therefore, the above-mentioned preset voltage threshold V th may be 4V.
在上述电子设备01为笔记本的情况下,上述第一预设时间T1可以为10天~20天。示例的,当该电子设备01被用来进行实验数据的分析、大量数据的运算或者游戏挂机时,该电子设备01通常需要在上述第一预设时间T1内长时间处于开启并工作的状态。此时,可以执行上述S102以对电池130在上述第一预设时间T1内,是否处于高温高容量的状态进行判断。In the case where the above-mentioned electronic device 01 is a notebook, the above-mentioned first preset time T1 may be 10 days to 20 days. For example, when the electronic device 01 is used for analyzing experimental data, computing a large amount of data, or hanging up a game, the electronic device 01 usually needs to be turned on and working for a long time within the above-mentioned first preset time T1. At this time, the above-mentioned S102 may be executed to determine whether the battery 130 is in a state of high temperature and high capacity within the above-mentioned first preset time T1.
需要说明的是,上述是以电子设备01为笔记本时,对判断电池130是否处于高温高容量的状态时采用的预设温度阈值T th以及预设电压阈值V th的数值的举例说明,并不是对预设温度阈值T th以及预设电压阈值V th的大小进行的限定。当电池130的类型以及所应用的电子设备01发生变化时,上述预设温度阈值T th以及预设电压阈值V th的大小也会发生相应的变化,此处不再赘述。 It should be noted that the above is an illustration of the values of the preset temperature threshold T th and the preset voltage threshold V th used when determining whether the battery 130 is in a high-temperature and high-capacity state when the electronic device 01 is a notebook. The size of the preset temperature threshold value T th and the preset voltage threshold value V th are defined. When the type of the battery 130 and the applied electronic device 01 change, the above-mentioned preset temperature threshold T th and preset voltage threshold V th will also change accordingly, which will not be repeated here.
此外,本申请实施例提供的方法流程图,例如图5中,字母“Y”表示判断结果为是(yes),字母“N”表示判断结果为否(no)。In addition, in the flowchart of the method provided by the embodiment of the present application, for example, in FIG. 5 , the letter “Y” indicates that the judgment result is yes (yes), and the letter “N” indicates that the judgment result is no (no).
S103、控制器50获取负载20的当前负载功率P sysS103 , the controller 50 acquires the current load power P sys of the load 20 .
示例的,电子设备01还可以包括如图7A所示的第一电阻R1和第二电阻R2。该第一电阻R1可以电连接与适配器40与充放电管理器30之间,第二电阻R2可以电连接于电池130和充放电管理器30之间。充放电管理器30可以采集流过第一电阻R1和第二电阻R2上的电流的大小,并根据适配器40的输出电压以及电池130的放电电压计算出其向负载20输出的负载功率。在此基础上,充放电管理器30还可以通过I2C总线将计算得到的负载功率传输至控制器50。For example, the electronic device 01 may further include a first resistor R1 and a second resistor R2 as shown in FIG. 7A . The first resistor R1 may be electrically connected between the adapter 40 and the charge/discharge manager 30 , and the second resistor R2 may be electrically connected between the battery 130 and the charge/discharge manager 30 . The charge-discharge manager 30 can collect the magnitudes of the currents flowing through the first resistor R1 and the second resistor R2 , and calculate the load power output to 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 and discharge manager 30 can also transmit the calculated load power to the controller 50 through the I2C bus.
在本申请的一些实施例中,控制器50可以实时获取来自充放电管理器30输出的负载功率,以作为负载20的当前负载功率P sys。或者,在本申请的另一些实施例中,为了降低控制器50的数据处理量,在执行上述S103的过程中,首先,控制器50可以在第二预设时间T2内,多次采集充放电管理器30向负载20输出的负载功率。示例的,该控制器50可以每间隔10ms,采集一次充放电管理器30向负载20输出的负载功率,且连续采集5~10次。接下来,控制器50可以计算在第二预设时间T2内,采集到的多个负载功率的平均值,作为上述当前负载功率P sysIn some embodiments of the present application, the controller 50 may acquire the load power output from the charge and discharge manager 30 in real time as the current load power P sys of the load 20 . Alternatively, in other embodiments of the present application, in order to reduce the data processing amount of the controller 50, in the process of executing the above S103, first, the controller 50 may collect the charge and discharge multiple times within the second preset time T2 The load power output by the manager 30 to the load 20 . For example, the controller 50 may collect the load power output by the charge-discharge manager 30 to the load 20 once every 10 ms, and collect the power continuously for 5-10 times. Next, the controller 50 may calculate the average value of multiple load powers collected within the second preset time T2 as the current load power P sys .
当控制器50在采集前负载功率P sys的过程中,采集间隔大于10ms时,会降低采集数据的精度,当采集间隔小于10ms时,会增加控制器50的数据处理量。此外,当控制器50连续采集10次以上时,会增加控制器50的数据处理量,当控制器50连续采集5次以下时,会降低采集数据的精度。 When the controller 50 collects the pre-load power P sys , when the collection interval is greater than 10ms, the accuracy of the collected data will be reduced, and when the collection interval is less than 10ms, the data processing capacity of the controller 50 will be increased. In addition, when the controller 50 continuously collects more than 10 times, the data processing capacity of the controller 50 will increase, and when the controller 50 continuously collects less than 5 times, the accuracy of the collected data will be reduced.
S104、控制器50获取电池130的第一预设放电功率P batt1S104 , the controller 50 acquires the first preset discharge power P batt1 of the battery 130 .
在执行上述S104时,控制器50可以通过如图7A所示的I2C总线,对电池130的当前电池容量C batt进行侦测。其中,电池130的第一预设放电功率P batt1可以为与电池130的当前电池容量C batt相匹配的预设放电功率。例如,该预设放电功率可以为最大放电功率,或者,该预设放电功率可以根据用户的需要进行设定,本申请对此不做限定。 When executing the above S104, the controller 50 may detect the current battery capacity C batt of the battery 130 through the I2C bus as shown in FIG. 7A . The first preset discharge power P batt1 of the battery 130 may be a preset discharge power matching the current battery capacity C batt of the battery 130 . For example, the preset discharge power may be the maximum discharge power, or the preset discharge power may be set according to the needs of the user, which is not limited in this application.
以第一预设放电功率P batt1可以为与电池130的当前电池容量C batt相匹配的最大放电功率为例,对于定电流放电的电池130而言,随着电池130的容量以及温度等因素的不同,电池130的电芯电压V batt会发生变化。因此,当电池130的容量发生变化时,电池130的放电功率也会发生变化。例如,电池130充满时,该电池130的第一预设放电功率P batt1可以为50W。当电池130的电量为90%时,该电池130的第一预设放电功率P batt1会小于上述50W,此时,与电池130的第一预设放电功率P batt1会随着电量的变化而变化。或者,又例如,当电池130为定功率电池时,上述电池130的第一预设放电功率P batt1可以固定不变。 Taking the first preset discharge power P batt1 as the maximum discharge power matching the current battery capacity C batt of the battery 130 as an example, for the battery 130 discharged at a constant current, with the capacity of the battery 130 and the temperature and other factors, Otherwise, the cell voltage V batt of the battery 130 will change. Therefore, when the capacity of the battery 130 changes, the discharge power of the battery 130 also changes. For example, when the battery 130 is fully charged, the first preset discharge power P batt1 of the battery 130 may be 50W. When the power of the battery 130 is 90%, the first preset discharge power P batt1 of the battery 130 will be less than the above-mentioned 50W, and at this time, the first preset discharge power P batt1 of the battery 130 will change with the change of the power . Or, for another example, when the battery 130 is a constant-power battery, the first preset discharge power P batt1 of the battery 130 may be fixed.
需要说明的是,在电池130的第一预设放电功率P batt1为与电池130的当前电池容量C batt相匹配的最大放电功率的情况下,上述该最大放电功率可以为通过对同类型的多个电池,在相同的电池容量C batt下,测试得到的各个电池最大放电功率的平均值,并不是某个电池130在该电池容量C batt下某一瞬态的放电功率。因为在不触发电池保护的情况下,电池130在某个瞬态的放电功率可以会很大,例如可以达到70W。所以,上述与电池130的当前电池容量C batt相匹配的最大放电功率,代表同类型的多个电池在同一电池容量C batt下,最大放电能力的平均水平。 It should be noted that, when the first preset discharge power P batt1 of the battery 130 is the maximum discharge power matching the current battery capacity C batt of the battery 130 , the above-mentioned maximum discharge power For each battery, under the same battery capacity C batt , the average value of the maximum discharge power of each battery obtained by testing is not a certain transient discharge power of a certain battery 130 under the battery capacity C batt . Because without triggering the battery protection, the discharge power of the battery 130 in a certain transient state may be very large, for example, it may reach 70W. Therefore, the above-mentioned maximum discharge power matching the current battery capacity C batt of the battery 130 represents the average level of the maximum discharge capacity of multiple batteries of the same type under the same battery capacity C batt .
S105、控制器50设置适配器的限流点I limt,充放电管理器30对电池130接收到的来自适配器40输出的供电功率进行限制。 S105 , the controller 50 sets the current limiting point I limt of the adapter, and the charge and discharge manager 30 limits the power supply received by the battery 130 and output from the adapter 40 .
在执行上述S105的过程中,上述控制方法可以包括:首先,控制器50计算S104获取到的当前负载功率P sys与电池130的第二预设放电功率P batt2的差值,作为第一供电功率P c1,即,P c1=P sys-P batt2。其中,P batt2≤P batt1In the process of performing the above S105, the above control method may include: first, the controller 50 calculates the difference between the current load power P sys obtained in S104 and the second preset discharge power P batt2 of the battery 130 as the first power supply power P c1 , that is, P c1 =P sys -P batt2 . Wherein, P batt2 ≤P batt1 .
需要说明的是,本申请对第二预设放电功率P batt2的大小不做限定,只要满足第二预设放电功率P batt2为小于或等于电池130的第一预设放电功率P batt1的任意一个数值即可。示例的,上述P batt2=10W。此时,如果经过如图5所示的S102~S108之后,再执行S102的过程中判断出控制器50判断电池130仍然处于高温高容量的状态,可以重复多次执行上述S103~S109,直至电池130不再处于高温高容量的状态。或者,又示例的,上述第二预设放电功率P batt2的数值可以大于10W,这样一来,可以减小多次执行上述S103~S109的次数。 It should be noted that this application does not limit the size of the second preset discharge power P batt2 , as long as the second preset discharge power P batt2 is less than or equal to any one of the first preset discharge power P batt1 of the battery 130 . numerical value. For example, the above P batt2 =10W. At this time, if the controller 50 determines that the battery 130 is still in a high-temperature and high-capacity state after S102 to S108 as shown in FIG. 5 , and the controller 50 determines that the battery 130 is still in a high-temperature and high-capacity state during the execution of S102, the above-mentioned S103 to S109 may be repeatedly performed until the battery The 130 is no longer in a high-temperature, high-capacity state. Or, as another example, the value of the second preset discharge power P batt2 may be greater than 10W, so that the number of times of performing the above S103 to S109 multiple times can be reduced.
接下来,控制器50可以获取适配器40的额定工作电压Vdd,并计算适配器40的限流点I limt,其中,I limt=P c1/Vdd=(P sys-P batt2)/Vdd。该限流点I limt(例如,4A)小于适配器40的额定供电电流(例如5A)。 Next, the controller 50 may 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=(P sys −P batt2 )/Vdd. The current limit point I limt (eg, 4A) is less than the rated supply current of the adapter 40 (eg, 5A).
为了使得控制器50获取适配器40的额定工作电压Vdd以及额定供电功率P init和额定供电电流,在本申请的一些实施例中,由上述可知在适配器40在不具备信号传输功能的情况下,当充放电管理器30向控制器50发送适配器40的在位指令后,该控制 器50默认适配器40为标准适配器,因此控制器50获取的适配器40的额定工作电压Vdd为标准适配器的额定工作电压,该标准适配器的额定工作电压可以作为预设电压存储于控制器50中。同理,控制器50获取的适配器40的额定供电功率P init和额定供电电流为标准适配器的额定供电功率和额定供电电流。 In order for the controller 50 to obtain the rated working voltage Vdd, the rated power supply P init and the rated supply current of the adapter 40, in some embodiments of the present application, it can be seen from the above that when the adapter 40 does not have the signal transmission function, when After the charge and discharge manager 30 sends the in-position command of the adapter 40 to the controller 50, the controller 50 defaults the adapter 40 as a standard adapter, so the rated working voltage Vdd of the adapter 40 obtained by the controller 50 is the rated working voltage of the standard adapter, The rated working voltage of the standard adapter can be stored in the controller 50 as a preset voltage. Similarly, the rated power supply P init and rated power supply current of the adapter 40 obtained by the controller 50 are the rated power supply power and rated power supply current of the standard adapter.
或者,在本申请的另一些实施例中,在适配器40具备信号传输功能的情况下,侦测器60(如图3所示)侦测到适配器40时,该侦测器60可以将侦测到的适配器40的额定工作电压Vdd、额定供电功率P init和额定供电电流,并发送至控制器50,使得该控制器50能够获取的适配器40的额定工作电压Vdd、额定供电功率P init和额定供电电流。 Or, in other embodiments of the present application, when the adapter 40 has a signal transmission function, when the detector 60 (as shown in FIG. 3 ) detects the adapter 40 , the detector 60 can detect The received rated working voltage Vdd, rated power P init and rated power supply current of the adapter 40 are sent to the controller 50, so that the controller 50 can obtain the rated working voltage Vdd, rated power P init and rated power of the adapter 40. supply current.
接下来,在本申请的一些实施例中,控制器50可以根据计算出的限流点I limt,生成限流控制指令。并且,当控制器50接收到适配器40的在位指令之后,可以将上述限流控制指令发送至充放电管理器30。接下来,充放电管理器30可以将适配器40向负载20输出的电流限制至限流点I limt(例如,I limt=4A)。此时,适配器40向负载20输出的电流中,充放电管理器30只允许限流点I limt所对应的电流,例如4A传输至负载20,从而能够使得充放电管理器30可以根据控制器50发送的上述限流控制指令,将适配器40输出的供电功率限制为上述第一供电功率P c1(P c1=P sys-P batt2)。进而可以达到充放电管理器30对电池130接收到的来自适配器40输出的供电功率进行限制的目的。 Next, in some embodiments of the present application, the controller 50 may generate a current-limiting control instruction according to the calculated current-limiting point I limt . Moreover, after the controller 50 receives the in-position command from the adapter 40 , it can send the above-mentioned current limiting control command to the charge and discharge manager 30 . Next, the charge and discharge manager 30 may limit the current output by the adapter 40 to the load 20 to the current limit point I limt (eg, I limt =4A). At this time, in the current output from the adapter 40 to the load 20, the charge and discharge manager 30 only allows the current corresponding to the current limit point I limt , for example, 4A to be transmitted to the load 20, so that the charge and discharge manager 30 can The sent current limiting control instruction limits the power supply output by the adapter 40 to the first power supply P c1 (P c1 =P sys -P batt2 ). Further, the purpose of limiting the power supply received by the battery 130 and output from the adapter 40 by the charge and discharge manager 30 can be achieved.
如图7B所示,在充放电管理器30将适配器40输出的供电功率限制为第一供电功率P c1的情况下,充放电管理器30还可以控制电池130放电,以对适配器40的供电功率被降低的部分,即适配器40的缺口功率P d1(P d1=P init-P c1)进行补偿。电池130放电时,输出的电压为直流电压(DC),且电池130此时的放电功率小于或等于上述第一预设放电功率P batt1。以下为了方便描述,将处于放电状态的电池130称为工作于DC模式。 As shown in FIG. 7B , in the case that the power supply power output by the adapter 40 is limited by the charge and discharge manager 30 to the first power supply power P c1 , the charge and discharge manager 30 can also control the battery 130 to discharge, so as to supply power to the adapter 40 . The reduced part, the notch power P d1 of the adapter 40 (P d1 =P init −P c1 ), is compensated. When the battery 130 is discharged, the output voltage is a direct current (DC) voltage, and the discharge power of the battery 130 at this time is less than or equal to the first preset discharge power P batt1 . For the convenience of description below, the battery 130 in the discharged state is referred to as operating in the DC mode.
在此情况下,在适配器40输出的供电功率限制之前(适配器40可以提供额定供电功率P init)和限制之后(适配器40可以提供第一供电功率P c1),使得电子设备01的负载功率可以保持不变,上述第一供电功率P c1、适配器40的额定供电功率P init以及电池130的第一预设放电功率P batt1可以满足:P c1+P batt1≥P initIn this case, before the power supply output by the adapter 40 is limited (the adapter 40 can provide the rated power P init ) and after the limit (the adapter 40 can provide the first power P c1 ), the load power of the electronic device 01 can be maintained Unchanged, the first power supply P c1 , the rated power supply P init of the adapter 40 and the first preset discharge power P batt1 of the battery 130 may satisfy: P c1 +P batt1 ≥P init .
此时,适配器40(工作于AC模式)和电池130(工作于DC模式),共同驱动负载20进行工作。当电池130放电后,电池130的容量下降,有利于电池130温度的降低,使得电池130在适配器40在位时,能够处于安全的充放电状态,从而有效减小电池130发生鼓包现象的几率。At this time, the adapter 40 (operating in the AC mode) and the battery 130 (operating in the DC mode) jointly drive the load 20 to work. When the battery 130 is discharged, the capacity of the battery 130 decreases, which is beneficial to the decrease of the temperature of the battery 130, so that the battery 130 can 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.
S106、控制器50判断电池130是否处于安全状态。S106, the controller 50 determines whether the battery 130 is in a safe state.
具体的,控制器50获取电池130的电池温度T batt、电芯电压V batt以及电池容量C batt,控制器50获取上述参数的方式同上所述,此处不再赘述。若控制器50获取的电池130的电池温度T batt小于预设温度阈值T th(T batt<T th),并且,控制器50获取的电芯电压V batt<预设电压阈值V th(V batt<V th)时,即当T batt<T th以及V batt<V th均满足时,说明电池130处于安全的状态,此时执行以下S107。 Specifically, the controller 50 obtains the battery temperature T batt , the cell voltage V batt and the battery capacity C batt of the battery 130 , and the controller 50 obtains the above parameters in the same manner as described above, which will not be repeated here. If the battery temperature T batt of the battery 130 acquired by the controller 50 is smaller than the preset temperature threshold T th (T batt <T th ), and the cell voltage V batt acquired by the controller 50 is less than the preset voltage threshold V th (V batt <V th ), that is, when both T batt <T th and V batt <V th are satisfied, it means that the battery 130 is in a safe state, and at this time, the following S107 is executed.
或者,若控制器50获取的电池130的电池温度T batt超过预设温度阈值T th(T batt >T th),或者,控制器50获取的电芯电压V batt超过预设电压阈值V th(V batt>V th)时,即当T batt>T th以及V batt>V th中至少一个满足时,控制器50可以判断判断电池130处于高温高容量的状态。此时重复执行上述S103~S106,直至电池130处于安全状态。 Alternatively, if the battery temperature T batt of the battery 130 obtained by the controller 50 exceeds the preset temperature threshold T th (T batt >T th ), or, the battery cell voltage V batt obtained by the controller 50 exceeds the preset voltage threshold V th ( When V batt >V th ), that is, when at least one of T batt >T th and V batt >V th is satisfied, the controller 50 can determine that the battery 130 is in a state of high temperature and high capacity. At this time, the above-mentioned S103 to S106 are repeatedly executed until the battery 130 is in a safe state.
S107、控制器50向充放电管理器30发送恢复指令,充放电管理器30控制适配器40输出额定供电功率P initS107: The controller 50 sends a recovery instruction to the charge and discharge manager 30, and the charge and discharge manager 30 controls the adapter 40 to output the rated power supply P init .
在此情况下,当充放电管理器30接收到来自控制器50发出的恢复指令后,可以控制适配器40输出额定供电功率P init。这样一来,当电池130处于安全状态后,适配器40输出供电功率不再被充放电管理器30限制,而是恢复至原有的初始值。 In this case, after the charge-discharge manager 30 receives the recovery instruction from the controller 50, it can control the adapter 40 to output the rated power supply P init . In this way, when the battery 130 is in a safe state, the output power of the adapter 40 is no longer limited by the charge and discharge manager 30, but returns to the original initial value.
S108、是否保持当前电池容量C battS108 , whether to maintain the current battery capacity C batt .
在电子设备01长时间插入适配器40,并处于工作的状态时,为了保持电池130的电池容量在适中的状态,减少充电时间和次数,以延长电池130的寿命,可以控制电池130的电池容量在达到预设容量阈值C th(例如,70%)时,控制适配器40不再向电池130进行充电。其中,上述预设容量阈值C th可以小于电池130的最大电池容量C max(例如,100%)。 When the electronic device 01 is plugged into the adapter 40 for a long time and is in the working state, in order to keep the battery capacity of the battery 130 in a moderate state, reduce the charging time and times, and prolong the life of the battery 130, the battery capacity of the battery 130 can be controlled at When the preset capacity threshold C th (eg, 70%) is reached, the control adapter 40 no longer charges the battery 130 . The above-mentioned preset capacity threshold C th may be smaller than the maximum battery capacity C max of the battery 130 (eg, 100%).
例如,如图8A所示,当适配器40恢复输出额定供电功率P init之后,电子设备01的操作界面上可以显示一个对话弹框22,用户可以通过在对话弹窗22中点击是(Y)或者否(N)来对电子设备01是否开启非满充模式进行选择。当用户点击是(Y)时,如图8B所示,电子设备01的操作界面上,可以显示非满充模式按钮21。用户触发上述非满充模式按钮21,则执行以下S109。若用户图8A所示的在话弹窗22中点击否(N),则执行上述S101,使得电子设备01处于默认的工作状态。 For example, as shown in FIG. 8A, after the adapter 40 resumes outputting the rated power supply P init , a dialog box 22 may be displayed on the operation interface of the electronic device 01, and the user can click Yes (Y) or No (N) to select whether the electronic device 01 enables the partial charging mode. When the user clicks Yes (Y), as shown in FIG. 8B , the non-full charge mode button 21 may be displayed on the operation interface of the electronic device 01 . When the user triggers the above-mentioned partial charge mode button 21, the following S109 is executed. If the user clicks No (N) in the popup window 22 shown in FIG. 8A , the above S101 is executed, so that the electronic device 01 is in the default working state.
S109、若电池130的电池C batt容量达到预设容量阈值C th,则停止向电池充电。 S109 , if the capacity of the battery C batt of the battery 130 reaches the preset capacity threshold value C th , stop charging the battery.
当充放电管理器30接收到用户触发上述非满充模式按钮21的操作后,若控制器50检测到电池130的电池容量C batt达到预设容量阈值C th(C batt=C th),该充放电管理器30控制适配器40停止向电池130充电。若电池130的电池容量未达到预设容量阈值C th,该充放电管理器30控制适配器40继续向电池130充电。 After the charge and discharge manager 30 receives the user's operation of triggering the non-full charge 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 The charge and 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 and discharge manager 30 controls the adapter 40 to continue charging the battery 130 .
此外,控制器50会持续监测电池130的电池温度T batt、电芯电压V batt以及电池容量C batt,从而重复执行上述S101~S109。这样一来,只要电池130处于上述高温高压的状态,充放电管理器30就会将适配器40输出的供电功率限制为第一供电功率P c1,适配器的缺口功率(P init-P c1)由电池130放电进行补偿。此时,由上述可知,适配器40(工作于AC模式)和电池130(工作于DC模式),共同驱动负载20进行工作。电池130放电后,电池130的容量下降,有利于电池130温度的降低,有效减小电池130发生鼓包现象的几率。 In addition, the controller 50 will continuously monitor the battery temperature T batt , the cell voltage V batt and the battery capacity C batt of the battery 130 , so as to repeatedly execute the above S101 to S109 . In this way, as long as the battery 130 is in the above-mentioned high temperature and high pressure state, the charge and discharge manager 30 will limit the power supply power output by the adapter 40 to the first power supply power P c1 , and the notch power of the adapter (P init −P c1 ) is determined by the battery 130 discharge to compensate. At this time, as can be seen from the above, the adapter 40 (operating in the AC mode) and the battery 130 (operating in the DC mode) jointly drive the load 20 to operate. After the battery 130 is discharged, the capacity of the battery 130 decreases, which is conducive to reducing the temperature of the battery 130 and effectively reduces the probability of the bulge phenomenon of the battery 130 .
示例二Example 2
本示例与示例一的相同之处在于,为了使得适配器40的供电功率被降低的部分由电池130进行补偿,确保负载20接收到的功率不降低,需要对适配器40传输至负载20的供电功率进行限制。此外,与示例一不同之处在于,本示例中,如图9所示,控制器50还需要对电子设备01的壳体110的温度进行检测。具体的,当适配器40与充放电管理器30电连接时,本示例中电子设备01的控制方法可以包括如图10所示的S201~S212。The same between this example and the first example is that in order to make the part of the power supply of the adapter 40 reduced by the battery 130 to compensate, and to ensure that the power received by the load 20 is not reduced, the power supply power transmitted from the adapter 40 to the load 20 needs to be adjusted. limit. In addition, the difference from Example 1 is that in this example, as shown in FIG. 9 , the controller 50 also needs to detect the temperature of the housing 110 of the electronic device 01 . Specifically, when the adapter 40 is electrically connected to the charge and discharge manager 30 , the control method of the electronic device 01 in this example may include S201 to S212 as shown in FIG. 10 .
S201、充放电管理器30控制适配器40向负载20供电,并向电池130充电。S201 , the charge and discharge manager 30 controls the adapter 40 to supply power to the load 20 and to charge the battery 130 .
该S201与示例一中S101相同,如图6所示,适配器40输出的额定供电功率P init的一部分可以作为电池130的供电功率P1传输至电池130,对电池130进行充电。额定供电功率P init的另一部分可以作为负载20的当前负载功率P sys,传输至负载20,以驱动负载20进行工作。 This S201 is the same as S101 in Example 1. As shown in FIG. 6 , a part of the rated power supply P init output by the adapter 40 can be transmitted to the battery 130 as the power supply P1 of the battery 130 to charge the battery 130 . Another part of the rated power supply P init 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.
S202、控制器50判断电池130是否处于高温高容量的状态。S202, the controller 50 determines whether the battery 130 is in a state of high temperature and high capacity.
该S202和示例一中S102相同,控制器50获取电池130的电池温度T batt、电芯电压V batt以及电池容量C batt的方式,以及确定电池130是否处于高温高容量状态的方式同上所述,此处不再赘述。若控制器50判断电池130处于高温高容量的状态,执行以下S203,若控制器50判断电池130处于安全的状态,执行上述S201。 This S202 is the same as S102 in Example 1. The controller 50 obtains the battery temperature T batt , the cell voltage V batt and the battery capacity C batt of the battery 130 , and the method for determining whether the battery 130 is in a high temperature and high capacity state is as described above, It will not be repeated here. If the controller 50 determines that the battery 130 is in a high temperature and high capacity state, the following S203 is performed, and if the controller 50 determines that the battery 130 is in a safe state, the above S201 is performed.
S203、控制器50获取预设负载功率P0。S203, the controller 50 acquires the preset load power P0.
执行上述S203的方法具体可以包括:控制器50采集电子设备01的壳体温度,并根据壳体温度推算出环境温度。然后,从预设对应关系中获取与环境温度相匹配的预设负载功率P0。其中,该预设对应关系包括多个环境温度、多个预设负载功率P0以及一个环境温度与一个预设负载功率P0的对应关系。负载20工作于上述预设对应关系中的每个预设负载功率P0时,电池温度T batt可以小于上述预设温度阈值T th(例如45℃)。 The method for performing the above S203 may specifically include: the controller 50 collects the casing temperature of the electronic device 01, and calculates the ambient temperature according to the casing temperature. Then, the preset load power P0 matching the ambient temperature is obtained from the preset correspondence. The preset corresponding relationship includes a plurality of ambient temperatures, a plurality of preset load powers P0, and a corresponding relationship between an ambient temperature and a preset load power P0. When the load 20 operates at each preset load power P0 in the preset corresponding relationship, the battery temperature T batt may be lower than the preset temperature threshold T th (eg, 45° C.).
示例的,上述预设对应关系可以在电子设备01出厂之前通过对电子设备01进行测试获得。例如,在测试过程中,当电子设备01处于稳定工作状态后,在不同的环境温度下,测试电池温度T batt小于上述预设温度阈值T th(例如45℃)时,该负载20的负载功率,从而形成上述预设对应关系,并将该预设对应关系存储于控制器50中。S204、控制器50获取负载20的当前负载功率P sysFor example, the above-mentioned preset correspondence may be obtained by testing the electronic device 01 before the electronic device 01 leaves the factory. For example, during the test, when the electronic device 01 is in a stable working state, under different ambient temperatures, when the test battery temperature T batt is less than the above-mentioned preset temperature threshold T th (for example, 45° C.), the load power of the load 20 , so as to form the above preset corresponding relationship, and store the preset corresponding relationship in the controller 50 . S204 , the controller 50 acquires the current load power P sys of the load 20 .
该S204和示例一中S103相同,例如,控制器50可以在第二预设时间T2内,多次采集充放电管理器30向负载20输出的负载功率,并计算多个负载功率的平均值,作为上述当前负载功率P sysThis S204 is the same as S103 in Example 1. For example, the controller 50 may collect the load power output by the charge and discharge manager 30 to the load 20 for multiple times within the second preset time T2, and calculate the average value of the multiple load powers, as the above-mentioned current load power P sys .
S205、控制器50获取电池130的第一预设放电功率P batt1S205 , the controller 50 acquires the first preset discharge power P batt1 of the battery 130 .
该S205和示例一中S104相同,控制器50可以通过如图7A所示的I2C总线,对电池130的当前电池容量C batt进行侦测。 This S205 is the same as S104 in Example 1. The controller 50 can detect the current battery capacity C batt of the battery 130 through the I2C bus as shown in FIG. 7A .
S206、控制器50判断P0+P batt1≥P max是否成立。 S206. The controller 50 determines whether P0+P batt1 ≥P max holds.
其中,P max为负载20在整个工作过程中的最大负载功率。在电子设备01出厂之前,可以通过测试的方式,利用充放电管理器30计算出负载20的最大负载功率P max。在此情况下,充放电管理器30可以在计算出的负载20的当前负载功率P sys(100%)的基础上,增加一定的余量△P,其中,△P=P max-P sys,使得电子设备01在整个工作的过程中任何一个瞬态下的负载功率都小于或等于上述最大负载功率P maxAmong them, P max is the maximum load power of the load 20 in the whole working process. Before the electronic device 01 leaves the factory, the maximum load power P max of the load 20 can be calculated by the charge and discharge manager 30 by means of testing. In this case, the charge and discharge manager 30 may add a certain margin ΔP on the basis of the calculated current load power P sys (100%) of the load 20 , where ΔP=P max −P sys , The load power of the electronic device 01 in any transient state during the whole working process is less than or equal to the above-mentioned maximum load power P max .
接下来,充放电管理器30可以将该最大负载功率P max,通过I2C总线传输至控制器50,以使得控制器50能够执行上述S206。 Next, the charge and 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-mentioned S206.
执行S206后,若控制器50判断出P0+P batt1≥P max,说明充放电管理器30将适配器40输出的供电功率限制为预设负载功率P0时,适配器40的预设负载功率P0和电池130的第一预设放电功率P batt1之和大于或等于适配器40的额定供电功率P init,因此 足够驱动负载20进行工作,则执行S207。 After executing S206, if the controller 50 determines that P0+P batt1 ≥ P max , it means that when the charge and discharge manager 30 limits the power supply output by the adapter 40 to the preset load power P0, the preset load power P0 of the adapter 40 and the battery The sum of the first preset discharge power P batt1 of 130 is greater than or equal to the rated power supply P init of the adapter 40 , so it is sufficient to drive the load 20 to work, then execute S207 .
若控制器50判断出P0+P batt1<P max,说明充放电管理器30将适配器40输出的供电功率限制为预设负载功率P0时,适配器40的预设负载功率P0和电池130的第一预设放电功率P batt1之和不够驱动负载20进行工作,则执行S208。 If the controller 50 determines that P0+P batt1 <P max , it means that when the charge and discharge manager 30 limits the power supply power output by the adapter 40 to the preset load power P0, the preset load power P0 of the adapter 40 and the battery 130 first If the sum of the preset discharge powers P batt1 is not enough to drive the load 20 to work, S208 is executed.
S207、控制器50设置适配器的限流点I limt,并将预设负载功率P0,作为第一供电功率P c1。充放电管理器30对电池130接收到的来自适配器40输出的供电功率进行限制。 S207 , the controller 50 sets the current limiting point I limt of the adapter, and sets the preset load power P0 as the first power supply power P c1 . The charge and discharge manager 30 limits the power supply received by the battery 130 and output from the adapter 40 .
在执行上述S207的过程中,控制器50将预设负载功率P0,作为第一供电功率P c1,即,P c1=P0。控制器50可以获取适配器40的额定工作电压Vdd,并计算适配器40的限流点I limt,其中,I limt=P c1/Vdd=P0/Vdd。根据适配器40的类型不同,控制器50获取适配器40的额定工作电压Vdd的方式同上所述,此处不再赘述。 In the process of executing the above S207, the controller 50 presets the load power P0 as the first power supply power P c1 , that is, 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 , where I limt =P c1 /Vdd=P0/Vdd. Depending on the type of the adapter 40 , the manner in which the controller 50 obtains the rated working voltage Vdd of the adapter 40 is the same as that described above, and will not be repeated here.
接下来,控制器50可以根据计算出的限流点I limt,生成限流控制指令,以使得充放电管理器30可以将适配器40向负载20输出的电流限制至上述限流点I limt。此时,充放电管理器30可以根据控制器50发送的上述限流控制指令,将适配器40输出的供电功率限制为上述第一供电功率P c1(P c1=P0),从而可以达到充放电管理器30对电池130接收到的来自适配器40输出的供电功率进行限制的目的。 Next, the controller 50 may generate a current limit control command according to the calculated current limit point I limt , so that the charge and discharge manager 30 may limit the current output by the adapter 40 to the load 20 to the above current limit point I limt . At this time, the charge-discharge manager 30 can limit the power supply output from the adapter 40 to the first power supply power P c1 (P c1 =P0 ) according to the above-mentioned current limiting control instruction sent by the controller 50 , so that the charge-discharge management can be achieved. This is for the purpose of limiting the power output from the adapter 40 received by the battery 130 by the controller 30 .
由上述可知,当负载20的功率达到上述预设负载功率P0时,工作于和预设负载功率P0相匹配的电子设备01,其电池130的电池温度T batt小于预设温度阈值T th(例如45℃)。因此,当控制器50将适配器40输出的供电功率限制为预设负载功率P0时,可以确保在上述环境温度下,电池130的电池温度T batt小于预设温度阈值T th(例如45℃)。 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 that works with the preset load power P0 is operated, and the battery temperature T batt of the battery 130 is less than the preset temperature threshold T th (for example, 45°C). Therefore, when the controller 50 limits the power supply output from 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 (eg, 45° C.) under the above ambient temperature.
在此基础上,当适配器40向负载提供的第一供电功率P c1(P c1=P0),小于适配器40的额定供电功率P init时,适配器的缺口功率(P init-P c1=P init-P0)的部分,可以由电池130放电进行补偿。由上述可知,电池130放电,对适配器的缺口功率P d1(P d1=P init-P c1)进行补偿。 On this basis, when the first power supply P c1 (P c1 =P0) provided by the adapter 40 to the load is less than the rated power supply P init of the adapter 40, the notch power of the adapter (P init -P c1 =P init - The part of P0) can be compensated by the discharge of the battery 130. It can be seen from the above that the battery 130 is discharged to compensate the notch power P d1 (P d1 =P init −P c1 ) of the adapter.
由上述可知,电池130的第一预设放电功率P batt1与适配器40向负载提供的预设负载功率P0之和满足P0+P batt1≥P max,即充放电管理器30将适配器40输出的供电功率限制为预设负载功率P0时,适配器40的预设负载功率P0和电池130的第一预设放电功率P batt1之和大于或等于适配器40的额定供电功率P init,因此足够驱动负载20进行工作。同理,电池130放电后,电池130的容量下降,有利于电池130温度的降低,有效减小电池130发生鼓包现象的几率。 It can be seen from the above that 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 batt1 ≥P max , that is, the charge and discharge manager 30 supplies power output by the adapter 40 . When the power is limited 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 , so it is sufficient to drive the load 20 for Work. Similarly, after the battery 130 is discharged, the capacity of the battery 130 decreases, which is beneficial to the decrease of the temperature of the battery 130 and effectively reduces the probability of the bulge phenomenon of the battery 130 .
S208、控制器50设置适配器的限流点I limt,并控制器50将预设负载功率P0与预设功率余量P gap之和作为第一供电功率P c1。充放电管理器30对电池130接收到的来自适配器40输出的供电功率进行限制。 S208 , the controller 50 sets the current limiting point I limt of the adapter, 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 and discharge manager 30 limits the power supply received by the battery 130 and output from the adapter 40 .
在执行上述S208的过程中,控制器50将预设负载功率P0与预设功率余量P gap之和作为第一供电功率P c1,即,P c1=P0+P gap。控制器50可以获取适配器40的额定工作电压Vdd,并计算适配器40的限流点I limt,其中,I limt=P c1/Vdd=(P0+P gap)/Vdd,从而可以达到充放电管理器30对电池130接收到的来自适配器40输出的供电功率进行限制的目的。 In the process of performing the above S208, 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 working 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 that the charge and discharge manager can be reached 30 is for the purpose of limiting the power supply output from the adapter 40 received by the battery 130 .
接下来,控制器50可以根据计算出的限流点I limt,生成限流控制指令,以使得充放电管理器30可以将适配器40向负载20输出的电流限制至上述限流点I limt。此时,充放电管理器30可以根据控制器50发送的上述限流控制指令,将适配器40输出的供电功率限制为上述第一供电功率P c1(P c1=P0+P gap),从而可以达到充放电管理器30对电池130接收到的来自适配器40输出的供电功率进行限制的目的。同理,当控制器50将适配器40输出的供电功率限制为预设负载功率P0时,可以确保电池130的电池温度T batt小于预设温度阈值T th(例如45℃)。 Next, the controller 50 may generate a current limit control command according to the calculated current limit point I limt , so that the charge and discharge manager 30 may limit the current output by the adapter 40 to the load 20 to the above current limit point I limt . At this time, the charge-discharge manager 30 can limit the power supply output by the adapter 40 to the first power supply power P c1 (P c1 =P0+P gap ) according to the above-mentioned current limiting control instruction sent by the controller 50 , so as to achieve the The purpose of the charge and discharge manager 30 is to limit the power supply received by the battery 130 and output from the adapter 40 . Similarly, when the controller 50 limits the power supply output from 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 (eg, 45° C.).
然而,由于电池130的第一预设放电功率P batt1与适配器40向负载提供的预设负载功率P0之和满足P0+P bat<P max,即充放电管理器30将适配器40输出的供电功率限制为预设负载功率P0时,预设负载功率P0与电池130的第一预设放电功率P batt1之和不够驱动负载20进行工作。因此为了确保适配器40(工作于AC模式)和电池130(工作于DC模式),能够共同驱动负载20进行工作,需要将适配器40的限流点I limt所对应的功率在预设负载功率P0的基础上,再增加一定的余量P gap。其中,P gap=P max-P0-P batt1However, 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 <P max , that is, the power supply power output by the adapter 40 by the charge and discharge manager 30 When limited 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 (operating in the AC mode) and the battery 130 (operating in the DC mode) can jointly drive the load 20 to work, it is necessary to set the power corresponding to the current limiting point I limt of the adapter 40 within the preset load power P0 On the basis, a certain margin P gap is added. Wherein, P gap =P max -P0 -P batt1 .
这样一来,当适配器40向负载提供的供电功率限制为第一供电功率P c1(P c1=P0+P gap)时,适配器的缺口功率(P init-P c1)的部分,可以由电池130放电进行补偿。从而使得电池130放电后,电池130的容量下降,有利于电池130温度的降低,有效减小电池130发生鼓包现象的几率。 In this way, when the power supply provided by the adapter 40 to the load is limited to the first power supply P c1 (P c1 =P0+P gap ), the part of the adapter’s gap power (P init −P c1 ) can be supplied by the battery 130 discharge to compensate. Therefore, after the battery 130 is discharged, the capacity of the battery 130 is reduced, which is beneficial to the reduction of the temperature of the battery 130 and effectively reduces the probability of the bulge phenomenon of the battery 130 .
S209、控制器50判断电池130是否处于安全状态。S209, the controller 50 determines whether the battery 130 is in a safe state.
该S209和示例一中S106相同。当控制器50判断判断电池130处于安全的状态时,执行以下S210。或者,当控制器50可以判断电池130仍然处于高温高容量的状态,此时重复执行上述S203~S209,直至电池130处于安全状态。This S209 is the same as S106 in Example 1. When the controller 50 judges that the battery 130 is in a safe state, the following S210 is performed. Alternatively, when the controller 50 can determine that the battery 130 is still in a high-temperature and high-capacity state, the above-mentioned S203 to S209 are repeatedly executed until the battery 130 is in a safe state.
S210、控制器50向充放电管理器30发送恢复指令,充放电管理器30控制适配器40输出额定供电功率P initS210: The controller 50 sends a recovery instruction to the charge and discharge manager 30, and the charge and discharge manager 30 controls the adapter 40 to output the rated power supply P init .
当执行完上述S209之后,可以执行上述S210,使得充放电管理器30接收到来自控制器50发出的恢复指令后,可以控制适配器40输出额定供电功率P init。从而使得当电池130处于安全状态后,适配器40输出供电功率不再被充放电管理器30限制,而是恢复至原有的初始值。 After the above-mentioned S209 is performed, the above-mentioned S210 may be performed, so that the charge-discharge manager 30 can control the adapter 40 to output the rated power supply power P init after receiving the recovery instruction from the controller 50 . Therefore, when the battery 130 is in a safe state, the output power of the adapter 40 is no longer limited by the charge and discharge manager 30, but returns to the original initial value.
S211、是否保持当前电池容量C battS211 , whether to maintain the current battery capacity C batt .
该S211和示例一中S108相同,可以在电子设备01的操作界面上,设置如图8B所示的非满充模式按钮21。在上述S209执行结束之后,若用户触发上述非满充模式按钮21,则执行以下S212。若用户未触发上述非满充模式按钮21,则执行上述S201。This S211 is the same as S108 in Example 1, and a partial charge mode button 21 as shown in FIG. 8B can be set on the operation interface of the electronic device 01 . After the execution of the above S209 is completed, if the user triggers the above-mentioned partial charge mode button 21, the following S212 is executed. If the user does not trigger the above-mentioned partial charge mode button 21, the above-mentioned S201 is executed.
S212、若电池130的电池容量C batt达到预设容量阈值C th,则停止向电池充电。 S212 , if the battery capacity C batt of the battery 130 reaches the preset capacity threshold C th , stop charging the battery.
该S212和示例一中S109相同,若控制器50侦测到电池130的电池容量C batt达到预设容量阈值C th,该充放电管理器30控制适配器40停止向电池130充电。若电池130的电池容量未达到预设容量阈值C th,该充放电管理器30控制适配器40继续向电池130充电。 S212 is the same as S109 in Example 1. If the controller 50 detects that the battery capacity C batt of the battery 130 reaches the preset capacity threshold C th , the charge and 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 and discharge manager 30 controls the adapter 40 to continue charging the battery 130 .
同理,控制器50持续监测电池130的电池温度T batt、电芯电压V batt以及电池容量C batt,从而重复执行上述S201~S212。这样一来,只要电池130处于上述高温高压的状 态,充放电管理器30就会将适配器40输出的供电功率限制为第一供电功率P c1。此时,适配器的缺口功率(P init-P c1)由电池130放电进行补偿。此时,由上述可知,适配器40和电池130共同驱动负载20进行工作。电池130放电后,电池130的容量下降,有利于电池130温度的降低,有效减小电池130发生鼓包现象的几率。 Similarly, the controller 50 continuously monitors the battery temperature T batt , the cell voltage V batt and the battery capacity C batt of the battery 130 , so as to repeatedly execute the above S201 - S212 . In this way, as long as the battery 130 is in the above-mentioned high temperature and high pressure state, the charge and discharge manager 30 will limit the power supply power output by the adapter 40 to the first power supply power P c1 . At this time, the notch power of the adapter (P init −P c1 ) is compensated by the discharge of the battery 130 . At this time, as can be seen from the above, the adapter 40 and the battery 130 jointly drive the load 20 to work. After the battery 130 is discharged, the capacity of the battery 130 decreases, which is conducive to reducing the temperature of the battery 130 and effectively reduces the probability of the bulge phenomenon of the battery 130 .
以上,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以权利要求的保护范围为准。The above are only specific embodiments of the present application, but the protection scope of the present application is not limited to this. Any person skilled in the art who is familiar with the technical scope disclosed in the present application can easily think of changes or replacements, which should cover within the scope of protection of this application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (19)

  1. 一种电子设备的控制方法,其特征在于,所述电子设备包括电池、负载、充放电管理器以及控制器;所述充放电管理器与所述电池、所述负载以及适配器电连接,所述控制器与所述电池和所述充放电管理器电连接;所述方法包括:A control method for an electronic device, characterized in that the electronic device includes a battery, a load, a charge and discharge manager, and a controller; the charge and discharge manager is electrically connected to the battery, the load and an adapter, and the charge and discharge manager is electrically connected to the battery, the load and the adapter. A controller is electrically connected to the battery and the charge and discharge manager; the method includes:
    所述充放电管理器控制所述适配器向所述负载供电,并向所述电池充电;The charge-discharge manager controls the adapter to supply power to the load and charge the battery;
    在第一预设时间内,当所述控制器判断电池温度超过预设温度阈值T th、电芯电压超过预设电压阈值V th中的至少一个条件满足时,所述充放电管理器将所述适配器输出的供电功率限制为第一供电功率P c1During the first preset time, when the controller determines that at least one of the conditions of the battery temperature exceeding the preset temperature threshold T th and the cell voltage exceeding the preset voltage threshold V th are satisfied, the charge and discharge manager will The power supply power output by the adapter is limited to the first power supply power P c1 ;
    其中,所述第一供电功率P c1、所述适配器的额定供电功率P init以及所述电池的第一预设放电功率P batt1满足:P c1+P batt1≥P init;所述第一预设放电功率P batt1为与所述电池当前电池容量相匹配的预设放电功率; Wherein, 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 ; the first preset The discharge power P batt1 is a preset discharge power matching the current battery capacity of the battery;
    所述充放电管理器控制所述电池放电,所述电池的放电功率小于或等于所述第一预设放电功率P batt1The charge and discharge manager controls the discharge of the battery, and the discharge power of the battery is less than or equal to the first preset discharge power P batt1 .
  2. 根据权利要求1所述的电子设备的控制方法,其特征在于,The control method of electronic equipment according to claim 1, wherein,
    所述充放电管理器将所述适配器输出的供电功率限制为第一供电功率P c1之前,所述方法还包括:所述控制器获取所述适配器的额定工作电压Vdd,并计算所述适配器的限流点I limt,I limt=P c1/Vdd; Before the charge and discharge manager limits the power supply output by the adapter to the first power supply power P c1 , the method further includes: the controller obtains the rated working voltage Vdd of the adapter, and calculates the power supply of the adapter. Current limiting point I limt , I limt =P c1 /Vdd;
    所述充放电管理器将所述适配器输出的供电功率限制为第一供电功率P c1包括:所述充放电管理器将所述适配器向所述负载输出的电流限制至所述限流点I limtThe charging and discharging manager limiting the power supply power output by the adapter to the first power supply power P c1 includes: the charging and discharging manager limiting the current output by the adapter to the load to the current limiting point I limt .
  3. 根据权利要求2所述的电子设备的控制方法,其特征在于,所述控制器计算所述适配器的限流点I limt之前,所述方法还包括: The method for controlling an electronic device according to claim 2, wherein before the controller calculates the current limiting point I limt of the adapter, the method further comprises:
    所述控制器计算所述负载的当前负载功率P sys与所述电池的第二预设放电功率P batt2的差值,作为所述第一供电功率P c1;其中,P batt2≤P batt1The controller calculates the difference between the current load power P sys of the load and the second preset discharge power P batt2 of the battery as the first power supply power P c1 , where P batt2 ≤P batt1 .
  4. 根据权利要求2所述的电子设备的控制方法,其特征在于,所述电子设备还包括与所述电池相接触的壳体;所述控制器计算所述适配器的限流点I limt之前,所述方法还包括: The control method of an electronic device according to claim 2, wherein the electronic device further comprises a housing in contact with the battery; before the controller calculates the current limiting point I limt of the adapter, the The method also includes:
    所述控制器采集所述电子设备的壳体温度,并计算环境温度;The controller collects the housing temperature of the electronic device and calculates the ambient temperature;
    所述控制器从预设对应关系中获取与所述环境温度相匹配的预设负载功率P0;所述负载工作于所述预设对应关系中的每个所述预设负载功率P0时,所述电池温度小于所述预设温度阈值T thThe controller obtains a preset load power P0 matching the ambient temperature from the preset correspondence; when the load operates in each of the preset load powers P0 in the preset correspondence, the the battery temperature is less than the preset temperature threshold T th ;
    所述控制器获取所述适配器的额定工作电压Vdd和所述负载的最大负载功率P max;当P0+P batt1≥P max时,所述控制器将所述预设负载功率P0,作为所述第一供电功率P c1The controller obtains the rated working voltage Vdd of the adapter and the maximum load power P max of the load; when P0+P batt1 ≥ P max , the controller uses the preset load power P0 as the the first power supply P c1 .
  5. 根据权利要求2所述的电子设备的控制方法,其特征在于,所述电子设备还包括与所述电池相接触的壳体;所述控制器计算所述适配器的限流点I limt之前,所述方法还包括: The control method of an electronic device according to claim 2, wherein the electronic device further comprises a housing in contact with the battery; before the controller calculates the current limiting point I limt of the adapter, the The method also includes:
    所述控制器采集所述电子设备的壳体温度,并计算环境温度;The controller collects the housing temperature of the electronic device and calculates the ambient temperature;
    所述控制器从预设对应关系中获取与所述环境温度相匹配的预设负载功率P0;所述负载工作于所述预设对应关系中的每个所述预设负载功率P0时,所述电池温度小于所述预设温度阈值T thThe controller obtains a preset load power P0 matching the ambient temperature from the preset correspondence; when the load operates in each of the preset load powers P0 in the preset correspondence, the the battery temperature is less than the preset temperature threshold T th ;
    所述控制器获取所述适配器的额定工作电压Vdd和所述负载的最大负载功率P maxThe controller obtains the rated working voltage Vdd of the adapter and the maximum load power Pmax of the load;
    当P0+P batt1<P max时,所述控制器将所述预设负载功率P0与预设功率余量P gap之和作为所述第一供电功率P c1;其中,P gap=P max-P0-P batt1When P0+P batt1 <P max , the controller uses the sum of the preset load power P0 and the preset power margin P gap as the first power supply power P c1 ; wherein, P gap =P max − P0-P batt1 .
  6. 根据权利要求1-5任一项所述的电子设备的控制方法,其特征在于,所述控制器判断电池温度超过预设温度阈值T th、电芯电压超过预设电压阈值V th中的至少一个条件满足之前,所述方法还包括: The method for controlling an electronic device according to any one of claims 1-5, wherein the controller determines that at least one of the battery temperature exceeds a preset temperature threshold T th and the cell voltage exceeds a preset voltage threshold V th Before a condition is met, the method further includes:
    所述控制器获取所述电池温度、所述电芯电压以及电池容量,并获取所述负载的当前负载功率P sys以及所述第一预设放电功率P batt1The 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 .
  7. 根据权利要求6所述的电子设备的控制方法,其特征在于,所述控制器获取所述负载的当前负载功率P sys包括: The method for controlling an electronic device according to claim 6, wherein the obtaining, by the controller, the current load power P sys of the load comprises:
    所述控制器在第二预设时间内,多次采集所述充放电管理器向所述负载输出的负载功率;The controller collects the load power output by the charge and discharge manager to the load multiple times within a second preset time;
    所述控制器计算在所述第二预设时间内,采集到的多个所述负载功率的平均值,作为所述当前负载功率P sysThe controller calculates an average value of a plurality of the load powers collected within the second preset time as the current load power P sys .
  8. 根据权利要求7所述的电子设备的控制方法,其特征在于,所述控制器在所述第二预设时间内,多次采集所述充放电管理器向所述负载输出的负载功率包括:The method for controlling an electronic device according to claim 7, wherein the controller, within the second preset time, collects the load power output by the charge and discharge manager to the load multiple times, comprising:
    所述控制器每间隔10ms,采集一次所述充放电管理器向所述负载输出的负载功率,且连续采集5~10次。The controller collects the load power output by the charge and discharge manager to the load every 10ms, and collects the load continuously for 5-10 times.
  9. 根据权利要求2所述的电子设备的控制方法,其特征在于,所述控制器获取所述适配器的额定工作电压Vdd包括:The method for controlling an electronic device according to claim 2, wherein the obtaining, by the controller, the rated working voltage Vdd of the adapter comprises:
    所述充放电管理器接收所述适配器输出的电压;所述充放电管理器向所述控制器输出在位指令,所述在位指令用于指示所述适配器与充放电管理器电连接;the charge and discharge manager receives the voltage output by the adapter; the charge and discharge manager outputs an in-position command to the controller, where the in-position command is used to instruct the adapter to be electrically connected to the charge and discharge manager;
    所述控制器根据所述在位指令,将预设电压作为所述适配器的额定工作电压Vdd。The controller uses the preset voltage as the rated working voltage Vdd of the adapter according to the in-position instruction.
  10. 根据权利要求2所述的电子设备的控制方法,其特征在于,所述电子设备还包括与所述适配器和所述控制器电连接的侦测器;所述控制器获取所述适配器的额定工作电压Vdd包括:The control method of an electronic device according to claim 2, wherein the electronic device further comprises a detector electrically connected to the adapter and the controller; the controller obtains the rated operation of the adapter Voltage Vdd includes:
    所述侦测器侦测所述适配器的额定工作电压,并向所述控制器发送所述额定工作电压。The detector detects the rated working voltage of the adapter and sends the rated working voltage to the controller.
  11. 根据权利要求1-10任一项所述的电子设备的控制方法,其特征在于,所述电池放电之后,所述方法还包括:The control method for an electronic device according to any one of claims 1-10, wherein after the battery is discharged, the method further comprises:
    当所述控制器判断所述电池温度小于预设温度阈值,并且所述电芯电压小于所述预设电压阈值时,所述充放电管理器控制所述适配器输出的所述额定供电功率P initWhen the controller determines that the battery temperature is less than a preset temperature threshold and the cell voltage is less than the preset voltage threshold, the charge and discharge manager controls the rated power supply P init output by the adapter .
  12. 根据权利要求10所述的电子设备的控制方法,其特征在于,所述充放电管理器控制所述适配器输出的所述额定供电功率P init之后,所述方法还包括: The method for controlling an electronic device according to claim 10, wherein after the charge and discharge manager controls the rated power supply P init output by the adapter, the method further comprises:
    所述充放电管理器接收用户操作,若所述控制器判断所述电池的电池容量达到预设容量阈值C th,则所述充放电管理器控制所述适配器停止向所述电池充电;其中,所述预设容量阈值C th小于所述电池的最大电池容量C maxThe charge and discharge manager receives a user operation, and if the controller determines that the battery capacity of the battery reaches a preset capacity threshold C th , the charge and discharge manager controls the adapter to stop charging the battery; wherein, The preset capacity threshold C th is smaller than the maximum battery capacity C max of the battery.
  13. 根据权利要求1所述的电子设备的控制方法,其特征在于,所述预设温度阈值为45℃;所述预设电压阈值为4V。The control method of an electronic device according to claim 1, wherein the preset temperature threshold is 45°C; the preset voltage threshold is 4V.
  14. 一种电子设备,其特征在于,所述电子设备包括:An electronic device, characterized in that the electronic device comprises:
    负载;load;
    电池,用于向所述负载供电;a battery for supplying power to the load;
    控制器,用于在第一预设时间内,判断电池温度是否超过预设温度阈值T th、电芯电压是否超过预设电压阈值V tha controller, configured to determine whether the battery temperature exceeds the preset temperature threshold T th and whether the cell voltage exceeds the preset voltage threshold V th within the first preset time;
    充放电管理器,与所述电池、所述负载、适配器以及控制器电连接;所述充放电管理器用于当所述控制器判断所述电池温度超过所述预设温度阈值T th、所述电芯电压超过所述预设电压阈值V th中的至少一个条件满足时,将所述适配器输出的供电功率限制为第一供电功率P c1;所述充放电管理器还用于控制所述电池放电; a charge-discharge manager, electrically connected to the battery, the load, the adapter and the controller; the charge-discharge manager is used for when the controller determines that the battery temperature exceeds the preset temperature threshold T th , the When at least one condition of the cell voltage exceeding the preset voltage threshold V th is satisfied, the power supply output by the adapter is limited to the first power supply power P c1 ; the charge and discharge manager is further configured to control the battery discharge;
    其中,所述第一供电功率P c1、所述适配器的额定供电功率P init以及所述电池的第一预设放电功率P batt1满足:P c1+P batt1≥P init;所述第一预设放电功率P batt1为与所述电池当前电池容量相匹配的预设放电功率;所述电池的放电功率小于或等于所述第一预设放电功率P batt1Wherein, 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 ; the first preset The discharge power P batt1 is a preset discharge power matching the current battery capacity of the battery; the discharge power of the battery is less than or equal to the first preset discharge power P batt1 .
  15. 根据权利要求14所述的电子设备,其特征在于,所述充放电管理器将所述适配器输出的供电功率限制为第一供电功率P c1之前,所述控制器还用于获取所述适配器的额定工作电压Vdd,计算所述适配器的限流点I limt;其中,I limt=P c1/Vdd; The electronic device according to claim 14, wherein before the charge and discharge manager limits the power supply output by the adapter to the first power supply power P c1 , the controller is further configured to acquire the power supply of the adapter. Rated working voltage Vdd, calculate the current limiting point I limt of the adapter; where, I limt =P c1 /Vdd;
    所述充放电管理器用于将所述适配器输出的供电功率限制为第一供电功率P c1包括:所述充放电管理器用于将所述适配器向所述负载输出的电流限制至所述限流点I limtThe charging and discharging manager is configured to limit the power supply output by the adapter to the first power supply power P c1 , including: the charging and discharging manager is configured to limit the current output by the adapter to the load to the current limiting point I limt .
  16. 根据权利要求15所述的电子设备,其特征在于,所述控制器计算所述适配器的限流点I limt之前,所述控制器还用于计算所述负载的当前负载功率P sys与所述电池的第二预设放电功率P batt2的差值,作为所述第一供电功率P c1;其中,P batt2≤P batt1The electronic device according to claim 15, wherein before the controller calculates the current limiting point I limt of the adapter, the controller is further configured to calculate the current load power P sys of the load and the The difference between the second preset discharge power P batt2 of the battery is used as the first power supply power P c1 , where P batt2 ≤P batt1 .
  17. 根据权利要求15所述的电子设备,其特征在于,所述电子设备还包括与所述电池相接触的壳体;所述控制器计算所述适配器的限流点I limt之前,所述控制器还用于采集所述电子设备的壳体温度,计算环境温度,并从预设对应关系中获取与所述环境温度相匹配的预设负载功率P0,获取所述适配器的额定工作电压Vdd和所述负载的最大负载功率P max,当P0+P batt1≥P max时,将所述预设负载功率P0,作为所述第一供电功率P c1The electronic device according to claim 15, characterized in that, the electronic device further comprises a housing in contact with the battery; before the controller calculates the current limiting point I limt of the adapter, the controller It is also used to collect the shell temperature of the electronic device, calculate the ambient temperature, obtain the preset load power P0 matching the ambient temperature from the preset correspondence, obtain the rated working voltage Vdd of the adapter and all the maximum load power P max of the load, when P0+P batt1 ≥ P max , the preset load power P0 is used as the first power supply power P c1 ;
    其中,所述负载工作于所述预设对应关系中的每个所述预设负载功率P0时,所述电池温度小于所述预设温度阈值T thWherein, 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. 根据权利要求15所述的电子设备,其特征在于,所述电子设备还包括与所述电池相接触的壳体;所述控制器计算所述适配器的限流点I limt之前,所述控制器还用于采集所述电子设备的壳体温度,计算环境温度,并从预设对应关系中获取与所述环境温度相匹配的预设负载功率P0,获取所述适配器的额定工作电压Vdd和所述负载的最大负载功率P max,当P0+P batt1<P max时,所述控制器将所述预设负载功率P0与预设功率余量P gap之和作为所述第一供电功率P c1The electronic device according to claim 15, characterized in that, the electronic device further comprises a housing in contact with the battery; before the controller calculates the current limiting point I limt of the adapter, the controller It is also used to collect the shell temperature of the electronic device, calculate the ambient temperature, obtain the preset load power P0 matching the ambient temperature from the preset correspondence, obtain the rated working voltage Vdd of the adapter and all The maximum load power P max of the load, when P0+P batt1 <P max , the controller uses the sum of the preset load power P0 and the preset power margin P gap as the first power supply power P c1 ;
    其中,所述负载工作于所述预设对应关系中的每个所述预设负载功率P0时,所述电池温度小于所述预设温度阈值T th;P gap=P max-P0-P batt1Wherein, 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. 根据权利要求14所述的电子设备,其特征在于,所述预设温度阈值为45℃;所述预设电压阈值为4V。The electronic device according to claim 14, wherein the preset temperature threshold is 45°C; the preset voltage threshold is 4V.
PCT/CN2021/137572 2020-12-22 2021-12-13 Electronic device and control method therefor WO2022135216A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202011535876.8 2020-12-22
CN202011535876.8A CN114665524A (en) 2020-12-22 2020-12-22 Electronic equipment and control method thereof

Publications (1)

Publication Number Publication Date
WO2022135216A1 true WO2022135216A1 (en) 2022-06-30

Family

ID=82025166

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/137572 WO2022135216A1 (en) 2020-12-22 2021-12-13 Electronic device and control method therefor

Country Status (2)

Country Link
CN (1) CN114665524A (en)
WO (1) WO2022135216A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115793828A (en) * 2023-01-06 2023-03-14 湖南博盛芯微电子科技有限公司 Battery management method of portable computing device based on BMC

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115241549A (en) * 2022-07-29 2022-10-25 南昌逸勤科技有限公司 Battery discharge control method, device and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101728592A (en) * 2008-10-27 2010-06-09 三星电子株式会社 System and method for controlling charging of battery of portable terminal
CN103238263A (en) * 2010-12-01 2013-08-07 德克萨斯仪器股份有限公司 Hybrid power battery charger control apparatus and method
CN104009262A (en) * 2013-02-27 2014-08-27 神讯电脑(昆山)有限公司 Battery protection method and electronic device applying the same
CN105630123A (en) * 2014-11-26 2016-06-01 鸿富锦精密工业(武汉)有限公司 Power supply system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101728592A (en) * 2008-10-27 2010-06-09 三星电子株式会社 System and method for controlling charging of battery of portable terminal
CN103238263A (en) * 2010-12-01 2013-08-07 德克萨斯仪器股份有限公司 Hybrid power battery charger control apparatus and method
CN104009262A (en) * 2013-02-27 2014-08-27 神讯电脑(昆山)有限公司 Battery protection method and electronic device applying the same
CN105630123A (en) * 2014-11-26 2016-06-01 鸿富锦精密工业(武汉)有限公司 Power supply system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115793828A (en) * 2023-01-06 2023-03-14 湖南博盛芯微电子科技有限公司 Battery management method of portable computing device based on BMC

Also Published As

Publication number Publication date
CN114665524A (en) 2022-06-24

Similar Documents

Publication Publication Date Title
WO2022135216A1 (en) Electronic device and control method therefor
US11258280B2 (en) Mobile terminal, peripheral device, and charging method thereof
US20130328399A1 (en) Method for reducing the number of power terminal connectors
US7839121B2 (en) Apparatus and method for managing power of battery packs in a portable device
US8242750B2 (en) Balancing power supply and demand
CN111239617B (en) Control method and device for charge and discharge test, storage medium and system
TW201416834A (en) Power managing circuit and the method thereof
US20110241628A1 (en) Power management unit for portable electronic devices
WO2020122552A1 (en) Electronic device and method for adjusting charge cycle or discharge cycle of battery
KR20190021663A (en) electronic device and method for controlling of operation the same
US20140223212A1 (en) Power management circuit, power management method, and computer system
US20120242281A1 (en) Battery pack and electronic apparatus thereof
CN109378877A (en) Charging circuit, charging method, electronic equipment and storage medium
US9991729B2 (en) Electronic device having a charging voltage regulation circuit
US9923368B2 (en) Electronic apparatus and driving control method thereof
CN112688373A (en) Charging method and device and data line
US8022676B2 (en) Electronic device
JP2001145274A (en) Portable device including a charger
US20120030487A1 (en) Information processing apparatus and power control method
US20040085045A1 (en) Electronic device
US20240039316A1 (en) Information processing apparatus and control method
CN111459876A (en) FPGA system with EC function
US10459503B2 (en) Electronic system, terminal device, and function expansion device
US20220385086A1 (en) Control method of power supply and related portable electronic device
US20060007173A1 (en) Combined digitizer tablet and external power supply device for an electronic apparatus

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21909213

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21909213

Country of ref document: EP

Kind code of ref document: A1