CN116418092B - Charging control circuit, charging control method and electronic equipment - Google Patents

Charging control circuit, charging control method and electronic equipment Download PDF

Info

Publication number
CN116418092B
CN116418092B CN202310647965.9A CN202310647965A CN116418092B CN 116418092 B CN116418092 B CN 116418092B CN 202310647965 A CN202310647965 A CN 202310647965A CN 116418092 B CN116418092 B CN 116418092B
Authority
CN
China
Prior art keywords
charging
battery
temperature
charge
charging chip
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
CN202310647965.9A
Other languages
Chinese (zh)
Other versions
CN116418092A (en
Inventor
宁红扬
袁振
李鹏辉
李士亮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Honor Device Co Ltd
Original Assignee
Honor Device Co Ltd
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 Honor Device Co Ltd filed Critical Honor Device Co Ltd
Priority to CN202310647965.9A priority Critical patent/CN116418092B/en
Publication of CN116418092A publication Critical patent/CN116418092A/en
Application granted granted Critical
Publication of CN116418092B publication Critical patent/CN116418092B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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/0013Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries acting upon several batteries simultaneously or sequentially
    • H02J7/0014Circuits for equalisation of charge between 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/00032Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries characterised by data exchange
    • 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
    • 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
    • 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
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • H04M1/0202Portable telephone sets, e.g. cordless phones, mobile phones or bar type handsets
    • H04M1/0206Portable telephones comprising a plurality of mechanically joined movable body parts, e.g. hinged housings
    • H04M1/0208Portable telephones comprising a plurality of mechanically joined movable body parts, e.g. hinged housings characterized by the relative motions of the body parts
    • H04M1/0214Foldable telephones, i.e. with body parts pivoting to an open position around an axis parallel to the plane they define in closed position
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • H04M1/0202Portable telephone sets, e.g. cordless phones, mobile phones or bar type handsets
    • H04M1/026Details of the structure or mounting of specific components
    • H04M1/0262Details of the structure or mounting of specific components for a battery compartment
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02EREDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
    • Y02E60/00Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
    • Y02E60/10Energy storage using batteries

Abstract

The application discloses a charging control circuit, a charging control method and electronic equipment, relates to the technical field of charging, and is used for realizing independent control of charging of two batteries. The charging control circuit is applied to an electronic device comprising a first battery, a second battery, a first folding area and a second folding area, wherein the first battery is positioned in the first folding area, and the second battery is positioned in the second folding area. The first charging chip is used for charging the first battery, and the second charging chip is used for charging the second battery; the controller is used for: acquiring a charging state of the electronic equipment, wherein the charging state of the electronic equipment comprises: the electronic device is in a folded state or an unfolded state, a voltage of the first battery and a voltage of the second battery, a capacity of the first battery and a capacity of the second battery, and a temperature of the first folding region and a temperature of the second folding region; and controlling at least one of the first charging chip and the second charging chip to charge according to the charging state of the electronic equipment.

Description

Charging control circuit, charging control method and electronic equipment
Technical Field
The present application relates to the field of charging technologies, and in particular, to a charging control circuit, a charging control method, and an electronic device.
Background
The two folding areas of the folding screen mobile phone are respectively provided with an independent charging chip and a battery. When two batteries are respectively charged through two charging chips, the two batteries have differences (for example, the battery capacities are different, the battery voltages are different, the temperatures of the folding areas are different, etc.), and if the same charging mode is adopted, the charging imbalance of the two batteries may be caused. For example, a certain battery cannot be charged to an off state, charging is slow, or the like.
Disclosure of Invention
The embodiment of the application provides a charge control circuit, a charge control method and electronic equipment, which are used for realizing charge balance of two batteries.
In order to achieve the above purpose, the embodiment of the present application adopts the following technical scheme:
in a first aspect, a charge control circuit is provided, for use in an electronic device that includes a first battery, a second battery, and a folding screen that is foldable to form a first fold region and a second fold region, the first battery being located in the first fold region, the second battery being located in the second fold region; the charging control circuit comprises a first charging chip, a second charging chip and a controller, wherein the first charging chip is used for charging the first battery, and the second charging chip is used for charging the second battery; the controller is used for: acquiring a charging state of the electronic equipment, wherein the charging state of the electronic equipment comprises: the electronic device is in a folded state or an unfolded state, a voltage of the first battery and a voltage of the second battery, a capacity of the first battery and a capacity of the second battery, and a temperature of the first folding region and a temperature of the second folding region; and controlling at least one of the first charging chip and the second charging chip to charge according to the charging state of the electronic equipment.
According to the charging control circuit provided by the embodiment of the application, the two charging chips are respectively used for charging the two batteries, and the two batteries are respectively positioned in the two folding areas. And controlling at least one of the two charging chips to charge the batteries according to factors such as the folding state or unfolding state of the electronic equipment, the voltages of the two batteries, the capacities of the two batteries, the temperatures of the two folding areas and the like, so as to realize the charge balance of the two batteries.
In one possible embodiment, the controller is specifically configured to: in the initial charging stage, the first charging chip or the second charging chip is controlled to charge according to the voltage of the first battery and the voltage of the second battery; determining whether to allow the first charging chip and the second charging chip to charge in a quick charging stage according to the folding state or the unfolding state of the electronic equipment, the temperature of the first folding area and the temperature of the second folding area; in the quick charging stage, determining whether to control the first charging chip and the second charging chip to charge together according to the maximum charging current, the current charging current and whether to allow the first charging chip and the second charging chip to charge; in the constant voltage charging stage, the first charging chip is controlled to charge according to the capacity of the first battery and the capacity of the second battery, or the second charging chip is controlled to charge.
During the initial charging phase, the electronic device may communicate with a power adapter, which may output a default voltage and current. In the quick charge stage, the charging current is larger, and the charging chip charges the battery to cause larger temperature rise as well, so that the user experience is influenced. In the constant voltage charging stage, the charging current is smaller, the heat release amount of the battery is smaller, and the temperature rise is not obvious.
In one possible embodiment, the controller is specifically configured to: if the difference between the boosting margin of the first battery and the boosting margin of the second battery is larger than the voltage threshold, determining that the first charging chip is controlled to charge in the initial charging stage; if the difference between the boosting margin of the second battery and the boosting margin of the first battery is larger than the voltage threshold, determining that the second charging chip is controlled to charge in the initial charging stage; the boosting margin of the first battery refers to the difference between the first cut-off voltage and the voltage of the first battery, and the boosting margin of the second battery refers to the difference between the second cut-off voltage and the voltage of the second battery.
The boosting margin of the battery indicates the boosting space of the battery, that is, in the initial charging stage, the charging chip corresponding to the battery with a large boosting space is preferably selected to charge the battery so as to raise the voltage of the battery as much as possible.
In one possible embodiment, the controller is specifically configured to: if the electronic equipment is in a folded state, allowing the first charging chip and the second charging chip to charge in a quick charging stage; if the electronic equipment is in an unfolding state and the temperature of the first folding area is larger than a first temperature threshold, the first charging chip is not allowed to be charged in a quick charging stage; if the electronic equipment is in an unfolding state and the temperature of the first folding area is smaller than or equal to a second temperature threshold, allowing the first charging chip to charge in a quick charging stage, wherein the first temperature threshold is larger than the second temperature threshold; if the electronic equipment is in an unfolding state and the temperature of the second folding area is larger than the first temperature threshold, the second charging chip is not allowed to be charged in the quick charging stage; and if the electronic equipment is in the unfolding state and the temperature of the second folding area is less than or equal to a second temperature threshold, allowing the second charging chip to charge in the quick charging stage.
When the electronic device is in a folded state, the user does not use the electronic device or the load of the electronic device is low (for example, music playing software is operated), the temperature rise caused by the operation software of the electronic device is not obvious, and the first charging chip and the second charging chip can be allowed to be charged, or the first charging chip and the second charging chip are enabled.
When the electronic device is in an unfolding state, a user uses the electronic device, the electronic device runs software to possibly cause larger heating, and in a quick charging stage, the charging chip charges the battery to also cause larger heating, so that user experience is affected. Since the first charging chip and the second charging chip are located in different folding areas, it is possible to determine whether to allow the charging chip to charge (i.e. enable the charging chip) in the quick charging stage according to the temperature of the folding area in which the charging chip is located, and to preferentially control the charging chip in the folding area with a low temperature to charge.
In one possible embodiment, the controller is specifically configured to: and if the maximum charging current is larger than the current threshold, the current charging current is larger than the current threshold, and the first charging chip and the second charging chip are allowed to charge, the first charging chip and the second charging chip are controlled to charge, otherwise, the charging chip which is allowed to charge is controlled to charge.
That is, if both the charging chips are allowed to be charged in a case where the current limit is sufficiently wide and the charging current is sufficiently large, both the charging chips are charged as much as possible to increase the charging speed. If the current limit is strict, or the charging current is small, or only one charging chip is allowed to charge, the charging chip which is allowed to charge. At this time, one of the first charging chip and the second charging chip may be charged, or both the first charging chip and the second charging chip may be charged.
In one possible embodiment, the controller is specifically configured to: and if the capacity of the first battery is larger than that of the second battery, controlling the first charging chip to charge, otherwise controlling the second charging chip to charge.
That is, the charging chips corresponding to the large-capacity batteries are preferentially controlled to charge, so that the large-capacity batteries store more electric energy.
In one possible embodiment, the temperature of the first folding region is derived from the temperature of the first battery, the temperature of the housing of the first folding region, and the temperature of the heat generating source in the first folding region.
The temperature of the first folding region may be replaced with the temperature of the first battery.
In one possible embodiment, the temperature of the second folding region is derived from the temperature of the second battery, the temperature of the housing of the second folding region, and the temperature of the heat generating source in the second folding region.
The temperature of the second folded region may be replaced with the temperature of the second battery.
In a second aspect, there is provided a charge control method including: acquiring a charging state of the electronic equipment, wherein the charging state of the electronic equipment comprises: the electronic equipment is in a folded state or an unfolded state, the voltage of the first battery and the voltage of the second battery in the electronic equipment, the capacity of the first battery and the capacity of the second battery, and the temperature of the first folding area and the temperature of the second folding area in the electronic equipment; and controlling at least one of the first charging chip and the second charging chip in the electronic equipment to charge according to the charging state of the electronic equipment.
In one possible implementation manner, according to a charging state of the electronic device, controlling at least one of the first charging chip and the second charging chip in the electronic device to perform charging includes: in the initial charging stage, the first charging chip or the second charging chip is controlled to charge according to the voltage of the first battery and the voltage of the second battery; determining whether to allow the first charging chip and the second charging chip to charge in a quick charging stage according to the folding state or the unfolding state of the electronic equipment, the temperature of the first folding area and the temperature of the second folding area; in the quick charging stage, determining whether to control the first charging chip and the second charging chip to charge together according to the maximum charging current, the current charging current and whether to allow the first charging chip and the second charging chip to charge; in the constant voltage charging stage, the first charging chip is controlled to charge according to the capacity of the first battery and the capacity of the second battery, or the second charging chip is controlled to charge.
In one possible embodiment, in an initial charging stage, according to a voltage of the first battery and a voltage of the second battery, the first charging chip or the second charging chip is controlled to perform charging, including: if the difference between the boosting margin of the first battery and the boosting margin of the second battery is larger than the voltage threshold, determining that the first charging chip is controlled to charge in the initial charging stage; if the difference between the boosting margin of the second battery and the boosting margin of the first battery is larger than the voltage threshold, determining that the second charging chip is controlled to charge in the initial charging stage; the boosting margin of the first battery refers to the difference between the first cut-off voltage and the voltage of the first battery, and the boosting margin of the second battery refers to the difference between the second cut-off voltage and the voltage of the second battery.
In one possible embodiment, determining whether to allow the first charging chip and the second charging chip to charge during the fast charging phase according to whether the electronic device is in the folded state or the unfolded state, the temperature of the first folded region, and the temperature of the second folded region includes: if the electronic equipment is in a folded state, allowing the first charging chip and the second charging chip to charge in a quick charging stage; if the electronic equipment is in an unfolding state and the temperature of the first folding area is larger than a first temperature threshold, the first charging chip is not allowed to be charged in a quick charging stage; if the electronic equipment is in an unfolding state and the temperature of the first folding area is smaller than or equal to a second temperature threshold, allowing the first charging chip to charge in a quick charging stage, wherein the first temperature threshold is larger than the second temperature threshold; if the electronic equipment is in an unfolding state and the temperature of the second folding area is larger than the first temperature threshold, the second charging chip is not allowed to be charged in the quick charging stage; and if the electronic equipment is in the unfolding state and the temperature of the second folding area is less than or equal to a second temperature threshold, allowing the second charging chip to charge in the quick charging stage.
In one possible embodiment, determining whether to control the first charging chip and the second charging chip to charge together according to the maximum charging current, the present charging current, and whether to allow the first charging chip and the second charging chip to charge, includes: and if the maximum charging current is larger than the current threshold, the current charging current is larger than the current threshold, and the first charging chip and the second charging chip are allowed to charge, the first charging chip and the second charging chip are controlled to charge, otherwise, the charging chip which is allowed to charge is controlled to charge.
In one possible embodiment, according to the capacity of the first battery and the capacity of the second battery, controlling the first charging chip to charge, or controlling the second charging chip to charge, includes: and if the capacity of the first battery is larger than that of the second battery, controlling the first charging chip to charge, otherwise controlling the second charging chip to charge.
In one possible embodiment, the temperature of the first folding region is derived from the temperature of the first battery, the temperature of the housing of the first folding region, and the temperature of the heat generating source in the first folding region.
In one possible embodiment, the temperature of the second folding region is derived from the temperature of the second battery, the temperature of the housing of the second folding region, and the temperature of the heat generating source in the second folding region.
In a third aspect, an electronic device is provided, including a first battery, a second battery, a folding screen, and a charging control circuit according to any embodiment of the first aspect, where the folding screen is capable of being folded to form a first folding region and a second folding region, and where the first battery is located in the first folding region, and the second battery is located in the second folding region, where the first folding region is capable of being folded or unfolded with the second folding region; the charging control circuit is used for charging the first battery or the second battery.
In a fourth aspect, an electronic device is provided that includes a folding screen, a first battery, a second battery, a first charging chip, a second charging chip, a memory, and one or more processors; the folding screen can be folded to form a first folding area and a second folding area, the first battery is positioned in the first folding area, and the second battery is positioned in the second folding area; the first charging chip is used for charging the first battery, and the second charging chip is used for charging the second battery; the memory stores computer program code comprising computer instructions which, when executed by the processor, cause the electronic device to perform the method of the second aspect and any of its embodiments.
In a fifth aspect, there is provided a computer readable storage medium comprising computer instructions which, when run on an electronic device, cause the electronic device to perform the method of the second aspect and any implementation thereof.
In a sixth aspect, there is provided a computer program product comprising computer instructions which, when run on an electronic device as described above, cause the electronic device to perform the method of the second aspect and any of its embodiments.
In a seventh aspect, a chip system is provided, the chip system comprising a processor for supporting an electronic device to implement the functions referred to in the first aspect above. In one possible design, the device may further include interface circuitry that may be used to receive signals from other devices (e.g., memory) or to send signals to other devices (e.g., communication interfaces). The system-on-chip may include a chip, and may also include other discrete devices.
The technical effects of the second to seventh aspects are referred to the technical effects of the first aspect and any of its embodiments and are not repeated here.
Drawings
Fig. 1 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
Fig. 2 is a schematic structural diagram of a charging control circuit in an electronic device according to an embodiment of the present application;
fig. 3 is a schematic diagram of an electronic device provided by an embodiment of the present application as a folding screen mobile phone;
fig. 4 is a schematic diagram of another electronic device provided in an embodiment of the present application that is a folding screen mobile phone;
FIG. 5 is a schematic diagram of a software architecture according to an embodiment of the present application;
fig. 6 is a schematic flow chart of a charging control method according to an embodiment of the present application;
FIG. 7 is a schematic diagram of acquiring a folding angle through a magnetic sensor according to an embodiment of the present application;
fig. 8 is a flowchart of another charge control method according to an embodiment of the present application;
fig. 9 is a flowchart of another charge control method according to an embodiment of the present application;
fig. 10 is a schematic diagram of a current-voltage curve of a battery according to an embodiment of the present application;
fig. 11 is a schematic structural diagram of a chip system according to an embodiment of the present application.
Detailed Description
Some concepts to which the present application relates will be described first.
The terms "first," "second," and the like, in accordance with embodiments of the present application, are used solely for the purpose of distinguishing between similar features and not necessarily for the purpose of indicating a relative importance, number, sequence, or the like.
The terms "exemplary" or "such as" and the like, as used in relation to embodiments of the present application, are used to denote examples, illustrations, or descriptions. Any embodiment or design described herein as "exemplary" or "for example" should not be construed as preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "such as" is intended to present related concepts in a concrete fashion.
The terms "coupled" and "connected" in accordance with embodiments of the application are to be construed broadly, and may refer, for example, to a physical direct connection, or to an indirect connection via electronic devices, such as, for example, electrical resistance, inductance, capacitance, or other electrical devices.
As previously described, for a folding screen handset, two batteries are located in two fold areas, respectively. When the two batteries are respectively charged through the two charging chips, the charging conditions of the two batteries are different, for example, the battery capacities are different, the battery voltages are different, the temperatures of the folding areas are different, and the like. If the same charging mode is used, it may lead to uneven charging of the two batteries and also to overheating of the folded area.
Therefore, the charging control circuit, the charging control method and the electronic device provided by the embodiment of the application are used for controlling at least one of the two charging chips to charge the battery by combining factors such as the folding state or the unfolding state of the electronic device, the voltages of the two batteries, the capacities of the two batteries, the temperatures of the two folding areas and the like. Thereby achieving charge equalization of both batteries.
It should be noted that, the embodiment of the present application is illustrated by taking two batteries as an example, and may also be applied to a scenario with more batteries.
The embodiment of the application provides an electronic device which can be a foldable device with a plurality of batteries. Illustratively, in an embodiment of the present application, the electronic device includes two folding regions and two batteries, the two folding regions may be connected together by a hinge structure such that the two folding regions can be folded or unfolded. The two batteries are located in different folding areas and the charging of the two batteries is independently controlled by different charging chips.
The electronic device may be mobile or stationary. The electronic device may be deployed on land (e.g., indoor or outdoor, hand-held or vehicle-mounted, etc.), on water (e.g., ship, etc.), or in the air (e.g., aircraft, balloon, satellite, etc.). The electronic device may be referred to as a User Equipment (UE), an access terminal, a terminal unit, a subscriber unit (subscriber unit), a terminal station, a Mobile Station (MS), a mobile station, a terminal agent, a terminal apparatus, or the like. For example, the electronic device may be a cell phone, tablet computer, notebook computer, smart bracelet, smart watch, headset, smart sound box, virtual Reality (VR) device, augmented reality (augmented reality, AR) device, terminal in industrial control (industrial control), terminal in unmanned driving (self driving), terminal in remote medical (remote medical), terminal in smart grid (smart grid), terminal in transportation security (transportation safety), terminal in smart city (smart city), terminal in smart home (smart home), etc. The embodiment of the application is not limited to the specific type, structure and the like of the electronic equipment. One possible configuration of the electronic device is described below.
Taking an electronic device as an example of a mobile phone, fig. 1 shows one possible structure of an electronic device 101. The electronic device 101 may include a processor 210, an external memory interface 220, an internal memory 221, a universal serial bus (universal serial bus, USB) interface 230, a power management module 240, a battery 241, a wireless charging coil 242, an antenna 1, an antenna 2, a mobile communication module 250, a wireless communication module 260, an audio module 270, a speaker 270A, a receiver 270B, a microphone 270C, an ear-headphone interface 270D, a sensor module 280, keys 290, a motor 291, an indicator 292, a camera 293, a display 294, a user identification module (subscriber identification module, SIM) card interface 295, and the like. In addition, as shown in fig. 2, the electronic device includes a charge control circuit 200 according to a charge control function division, and the charge control circuit 200 includes a processor 210 and a power management module 240 therein. Fig. 2 also expands the battery 241.
The sensor module 280 may include, among other things, a pressure sensor, a gyroscope sensor, a barometric pressure sensor, a magnetic sensor, an acceleration sensor, a distance sensor, a proximity sensor, a fingerprint sensor, a temperature sensor, a touch sensor, an ambient light sensor, a bone conduction sensor, and the like.
It should be understood that the structure illustrated in the embodiments of the present application does not constitute a specific limitation on the electronic device 101. In other embodiments of the application, the electronic device 101 may include more or less components than illustrated, or certain components may be combined, or certain components may be split, or different arrangements of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
Processor 210 may include one or more processing units such as, for example: the processor 210 may be a field programmable gate array (field programmable gate array, FPGA), an application specific integrated circuit (application specific integrated circuit, ASIC), a system on chip (SoC), a central processing unit (central processing unit, CPU), an application processor (application processor, AP), a network processor (network processor, NP), a digital signal processor (digital signal processor, DSP), a micro control unit (micro controller unit, MCU), a programmable logic device (programmable logic device, PLD), a modem processor, a graphics processor (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), a controller, a video codec, a baseband processor, and a neural network processor (neural-network processing unit, NPU), etc. Wherein the different processing units may be separate devices or may be integrated in one or more processors. For example, the processor 210 may be an application processor AP. Alternatively, the processor 210 may be integrated in a system on chip (SoC). Alternatively, the processor 210 may be integrated in an integrated circuit (integrated circuit, IC) chip. The processor 210 may include an Analog Front End (AFE) and a micro-controller unit (MCU) in an IC chip.
The controller may be a neural hub and a command center of the electronic device 101, among others. The controller can generate operation control signals according to the instruction operation codes and the time sequence signals to finish the control of instruction fetching and instruction execution.
A memory may also be provided in the processor 210 for storing computer instructions and data. In some embodiments, the memory in the processor 210 is a cache memory. The memory may hold computer instructions or data that has just been used or recycled by the processor 210. If the processor 210 needs to reuse the computer instructions or data, it may be called directly from the memory. Repeated accesses are avoided and the latency of the processor 210 is reduced, thereby improving the efficiency of the system.
In some embodiments, processor 210 may include one or more interfaces. The interfaces may include an integrated circuit (inter-integrated circuit, I2C) interface, an integrated circuit built-in audio (inter-integrated circuit sound, I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, a universal asynchronous receiver transmitter (universal asynchronous receiver/transmitter, UART) interface, a mobile industry processor interface (mobile industry processor interface, MIPI), a general-purpose input/output (GPIO) interface, a subscriber identity module (subscriber identity module, SIM) interface, and/or a USB interface, among others.
It should be understood that the connection relationship between the modules illustrated in the embodiment of the present application is only illustrative, and does not limit the structure of the electronic device 101. In other embodiments of the present application, the electronic device 101 may also use different interfacing manners, or a combination of multiple interfacing manners, as in the above embodiments.
The wireless communication function of the electronic device 101 may be implemented by the antenna 1, the antenna 2, the mobile communication module 250, the wireless communication module 260, a modem processor, a baseband processor, and the like.
The antennas 1 and 2 are used for transmitting and receiving electromagnetic wave signals. Each antenna in the electronic device 101 may be used to cover a single or multiple communication bands. Different antennas may also be multiplexed to improve the utilization of the antennas. For example: the antenna 1 may be multiplexed into a diversity antenna of a wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
The mobile communication module 250 may provide a solution for wireless communication including 2G/3G/4G/5G, etc. applied on the electronic device 101. The wireless communication module 260 may provide solutions for wireless communication including wireless local area network (wireless local area networks, WLAN) (e.g., wireless fidelity (wireless fidelity, wi-Fi) network), bluetooth (BT), global navigation satellite system (global navigation satellite system, GNSS), frequency modulation (frequency modulation, FM), near field wireless communication technology (near field communication, NFC), infrared technology (IR), etc., as applied on the electronic device 101. In some embodiments, antenna 1 and mobile communication module 250 of electronic device 101 are coupled, and antenna 2 and wireless communication module 260 are coupled, such that electronic device 101 may communicate with a network and other devices via wireless communication techniques.
The external memory interface 220 may be used to connect external memory cards, such as Micro SanDisk (Micro SD) cards, to enable expansion of the memory capabilities of the electronic device 101. The external memory card communicates with the processor 210 through an external memory interface 220 to implement data storage functions. For example, files such as music, video, etc. are stored in an external memory card.
The internal memory 221 may be used to store computer executable program code, including computer instructions. The processor 210 executes various functional applications of the electronic device 101 and data processing by executing computer instructions stored in the internal memory 221. In addition, the internal memory 221 may include a high-speed random access memory, and may further include a nonvolatile memory such as at least one magnetic disk storage device, a flash memory device, a universal flash memory (universal flash storage, UFS), and the like.
The memory to which embodiments of the present application relate may be volatile memory or nonvolatile memory, or may include both volatile and nonvolatile memory. The nonvolatile memory may be a read-only memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an electrically Erasable EPROM (EEPROM), or a flash memory. The volatile memory may be random access memory (random access memory, RAM) which acts as an external cache. By way of example, and not limitation, many forms of RAM are available, such as Static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous DRAM (SLDRAM), and direct memory bus RAM (DR RAM). It should be noted that the memory of the systems and methods described herein is intended to comprise, without being limited to, these and any other suitable types of memory.
The electronic device 101 may implement audio functionality through an audio module 270, speaker 270A, receiver 270B, microphone 270C, headphone interface 270D, application processor, and so forth. Such as music playing, recording, etc.
The audio module 270 is used to convert digital audio information into an analog audio signal output and also to convert an analog audio input into a digital audio signal. In some embodiments, the audio module 270 may be disposed in the processor 210, or some functional modules of the audio module 270 may be disposed in the processor 210. Speaker 270A, also referred to as a "horn," is used to convert audio electrical signals into sound signals. A receiver 270B, also referred to as a "earpiece", is used to convert the audio electrical signal into a sound signal. Microphone 270C, also referred to as a "microphone" or "microphone," is used to convert sound signals into electrical signals. The electronic device 101 may be provided with at least one microphone 270C. The earphone interface 270D is for connecting a wired earphone. Earphone interface 270D may be USB interface 230 or a 3.5mm open mobile terminal platform (open mobile terminal platform, OMTP) standard interface, american cellular telecommunications industry association (cellular telecommunications industry association of the USA, CTIA) standard interface.
Keys 290 include a power on key, a volume key, etc. The keys 290 may be mechanical keys. Or may be a touch key. The electronic device 101 may receive key inputs, generating key signal inputs related to user settings and function controls of the electronic device 101. The motor 291 may generate a vibration alert. The motor 291 may be used for incoming call vibration alerting or for touch vibration feedback. The indicator 292 may be an indicator light, which may be used to indicate a state of charge, a change in power, or an indication message, missed call, notification, etc. The SIM card interface 295 is for interfacing with a SIM card. The SIM card may be inserted into the SIM card interface 295 or removed from the SIM card interface 295 to enable contact and separation from the electronic device 101. The electronic device 101 may support 1 or N SIM card interfaces, N being a positive integer greater than 1. The SIM card interface 295 may support a Nano SIN (Nano SIM) card, micro SIM (Micro SIM) card, SIM card, etc. In some embodiments, the electronic device 101 employs an embedded SIM (eSIM) card, which may be embedded in the electronic device 101 and not separable from the electronic device 101.
The electronic device 101 may implement a photographing function through an ISP, a camera 293, a video codec, a GPU, a display screen 294, an application processor, and the like. The ISP is used to process the data fed back by the camera 293. In some embodiments, the ISP may be provided in the camera 293. The camera 293 is used to capture still images or video. In some embodiments, the electronic device 101 may include 1 or N cameras 293, N being a positive integer greater than 1.
The electronic device 101 may implement display functions through a GPU, a display screen 294, an application processor, and the like. The GPU is a microprocessor for image processing, and is connected to the display screen 294 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 210 may include one or more GPUs that execute computer instructions to generate or change display information.
The display 294 is used to display images, videos, and the like. The display 294 includes a display panel. In some implementations, the electronic device 101 may include 1 or more display screens 294. In other embodiments, the touch screen in display 294 may be a folding screen. As illustrated in fig. 3 and 4, the display panel of the display screen 294 may include a folding screen capable of being folded to form a first folding region 31 and a second folding region 32, the first folding region 31 and the second folding region 32 being connected together by a hinge structure, the first folding region 31 and the second folding region 32 being capable of being folded or unfolded, thereby achieving folding or unfolding of the display screen 294 in the electronic device. When the display screen 294 is folded, the first folding area 31 and the second folding area 32 may be located on different planes, where the display screen 294 in fig. 3 is folded outwards, so that the first folding area 31 and the second folding area 32 after folding are visible to a user, the user can still perform a touch operation on the display screen 294, and the display screen 294 in fig. 4 is folded inwards, so that the first folding area 31 and the second folding area 32 after complete folding are opposite, which is beneficial to protecting the display panel of the display screen 294. The display screen 294 provided by the embodiment of the present application may be an outwardly folded folding screen as shown in fig. 3, or may be applied to an inwardly folded folding screen as shown in fig. 4.
The battery 241 may include at least two batteries that may be connected in series, parallel, etc. to power a load. Taking two batteries as an example, for example, a first battery 2411 and a second battery 2412 shown in fig. 2, the first battery 2411 is located in the first folding region 31 shown in fig. 3 or fig. 4, and the second battery 2412 is located in the second folding region 32 shown in fig. 3 or fig. 4.
The power management module 240 is configured to receive a charging input from a charger. The charger may be a wireless charger, such as a wireless charging base, other electronic devices 101 with reverse wireless charging function, and so on. The power management module 240 may receive wireless charging input through a wireless charging coil 242 of the electronic device. The charger may also be a wired charger, for example, the power management module 240 may receive a charging input of the wired charger through the USB interface 230 connected by the flexible circuit board (flexible printed circuit, FPC) 21 (shown in fig. 2).
The power management module 240 may also supply power to the electronic device while charging the battery 241. The power management module 240 receives input from the battery 241 to power the processor 210, the internal memory 221, the external memory interface 220, the display 294, the camera 293, the wireless communication module 260, and the like. The power management module 240 may also be configured to monitor parameters such as capacity, voltage, number of battery cycles, battery state of health (leakage, impedance) of the battery 241. In other embodiments, the power management module 240 may also be disposed in the processor 210.
The power management module 240 may include a plurality of charging chips (or charging ICs), each of which is connected to a battery through a board-to-board (BTB) connector, so as to charge the battery, for example, as shown in fig. 4, the power management module 240 includes a first charging chip 2401, a second charging chip 2402, a first overvoltage protection (over voltage protection, OVP) circuit 2403, and a second OVP circuit 2404. The processor 210 may control the first charging chip 2401 to charge the first battery 2411, and the processor 210 may control the second charging chip 2402 to charge the second battery 2412. The first OVP circuit 2403 is configured to prevent the charge voltage of the first battery 2411 from being too high, and the second OVP circuit 2403 is configured to prevent the charge voltage of the second battery 2412 from being too high.
The processor 210 executes the charge control method provided by the embodiment of the present application by executing a program, computer instructions stored in the internal memory 221. Programs executed by the processor 210 may be based on an operating system, such as an Android operating system, an apple (iOS) operating system, a Windows operating system, etc.
As shown in fig. 5, taking the android operating system as an example, the program running by the processor 210 is layered according to functions, and may include a kernel layer, a hardware abstraction layer (hardware abstraction layer, HAL), a framework layer, and an application layer.
The kernel layer includes an Operating System (OS) kernel (kernel) and a hardware driver for driving hardware resources, such as a temperature sensor driver, a position sensor driver, a charging chip driver, and the like. The operating system kernel is used for managing the processes, the memory, the driving program, the file system, the network system and the like of the system. The temperature sensor drive is used for driving the temperature sensor to acquire the temperature of each region of the electronic device, such as the temperature of the housing, the temperature of the heat source, the temperature of the battery, and the like. The position sensor drive is used for driving the position sensor to acquire the folding angle of the electronic device. The charging chip drive is used to drive the charging chips (the first and second charging chips described above) to charge the battery.
HAL is used to provide a virtual hardware platform to abstract hardware, hide hardware interface details, make code hardware independent, and can be migrated across multiple platforms. For example, HAL includes a temperature sensor HAL, a position sensor HAL, a charging chip HAL, and the like.
The framework layer is used to provide application programming interfaces (application programming interface, APIs) and system resource services to applications in the application layer. For example, the frame layer includes a temperature sensor API, a position sensor API, a charging chip API, and the like.
The application program layer may include a charging control program, where the charging control program is configured to execute the charging control method provided by the embodiment of the present application, and includes calling a temperature sensor API to obtain temperatures of each area of the electronic device, calling a position sensor API to obtain a folding angle of the electronic device, and calling a charging chip API to control the charging chip to charge the electronic device. In addition, in some embodiments, some of the functions of power management may also be implemented by the audio digital signal processor (audio digital signal processor, ADSP) 50, and the processor 210 may communicate with the ADSP 50 through the kernel layer, with the processor 210 and ADSP 50 together controlling the charging of the charging chip.
As shown in fig. 6, the charging control method provided by the embodiment of the application includes:
s101, acquiring the charging state of the electronic equipment.
When the electronic device is connected to the power adapter, the processor judges whether high-voltage direct charging can be performed, and if so, the processor communicates with the power adapter to instruct the power adapter to start charging the electronic device. The state of charge of the electronic device includes, but is not limited to: the electronic device is in a folded state or an unfolded state, a voltage of the first battery and a voltage of the second battery, a capacity of the first battery and a capacity of the second battery, a temperature of the first battery and a temperature of the second battery, and a temperature of the first folding region and a temperature of the second folding region.
The processor may obtain the folding angle of the electronic device by means of a position sensor, such as a magnetic sensor, to determine whether the electronic device is in a folded state or an unfolded state, i.e. whether the first folding region and the second folding region are folded together or unfolded. When the folding angle is smaller than the angle threshold value, the first folding area and the second folding area can be determined to be folded together, and when the folding angle is larger than the angle threshold value, the first folding area and the second folding area can be determined to be unfolded. For example, as shown in fig. 7, a magnet 71 may be disposed in the first folding region 31, a magnetic sensor 72 may be disposed in the second folding region 32, the relative position between the magnet 71 and the magnetic sensor 72 varies with the folding angle between the first folding region 31 and the second folding region 32, and the magnetic field strength detected by the magnetic sensor 72 varies with the relative position between the magnet 71 and the magnetic sensor 72, so that the folding angle between the first folding region 31 and the second folding region 32 can be obtained by the magnetic field strength detected by the magnetic sensor 72, and thus, whether the first folding region and the second folding region are folded together or unfolded can be determined.
The processor may obtain the capacity of the first battery and the capacity of the second battery through parameters of the system, for example, when the electronic device is shipped, the capacity of the assembled battery is written into the electronic device in the form of parameters. Or the processor can obtain the capacity of the first battery through an integrated fuel gauge in the first charging chip, or obtain the capacity of the first battery through the fuel gauge in the battery pack where the first battery is located; the processor may obtain the capacity of the second battery through an integrated fuel gauge in the second charging chip, or may obtain the capacity of the second battery through a fuel gauge in a battery pack in which the second battery is located. Taking two batteries as an example, the capacities of the two batteries may be the same or different.
The processor can obtain the voltage of the first battery through an integrated fuel gauge in the first charging chip, or obtain the voltage of the first battery through the fuel gauge in a battery pack where the first battery is positioned; the processor may obtain the voltage of the second battery through an integrated fuel gauge in the second charging chip, or may obtain the voltage of the second battery through a fuel gauge in a battery pack in which the second battery is located.
The processor may obtain the temperature T1 of the first folding region from the temperature Tbat1 of the first battery, the case temperature Tshell1 (front case temperature and/or rear case temperature) of the first folding region, the temperature Theater1 of the heat generating source in the first folding region, etc., for example, t1=f1 (Tbat 1, tshell1, theater 1), and f1 () represents a function, which is not particularly limited. In one possible embodiment, t1=a1×tbat1+b1×tshell1+c1×theater1, a1, b1, c1 are coefficients, so as to realize a linear estimation of the temperature of the first folding region.
Wherein the temperature Tbat1 of the first battery may be measured by a temperature sensor mounted at the first battery. The housing temperature Tshell1 of the first fold region may be measured by a temperature sensor mounted at the front and/or rear housing of the first fold region. The temperature Theater1 of the heat generating source in the first folding region may be measured by a temperature sensor installed at the heat generating source in the first folding region. The heat generating source in the first folding region refers to a device that generates a large amount of heat when operated in the first folding region, such as a processor, SOC, GPU, etc. located in the first folding region.
The processor may obtain the temperature T2 of the second folding region from the temperature Tbat2 of the second battery, the case temperature Tshell2 of the second folding region (front case temperature and/or rear case temperature), the temperature theter 2 of the heating source in the second folding region, etc., for example, t2=f2 (Tbat 2, tshell2, theter 2, f2 () represents a function, specifically, but not limited thereto.
Wherein the temperature Tbat2 of the second battery can be measured by a temperature sensor mounted at the second battery. The housing temperature Tshell2 of the second fold region may be measured by a temperature sensor mounted at the front and/or rear housing of the second fold region. The temperature Theater2 of the heat generating source in the second folding region may be measured by a temperature sensor installed at the heat generating source in the second folding region. The heat generating source in the second folding region refers to a device that generates a large amount of heat when operated in the second folding region, such as a processor, SOC, GPU, etc. located in the second folding region.
It should be noted that the above information acquired by the processor is not disposable, but is periodically performed or triggered by a condition, and may be executed as needed in the process of executing step S102. Therefore, the present application does not limit the timing at which the processor obtains the above information.
S102, controlling at least one of the first charging chip and the second charging chip to charge according to the charging state of the electronic equipment.
The processor may control one of the first charging chip and the second charging chip to be charged, or control both the first charging chip and the second charging chip to be charged. When charging is completed or the electronic device is disconnected from the power adapter, the processor may control the first charging chip and the second charging chip to stop charging. When the electronic device is reconnected with the power adapter, execution may be resumed from S101.
As shown in fig. 8 and 9, step S102 includes steps S1021-S1024.
S1021, in the initial charging stage, the first charging chip or the second charging chip is controlled to charge according to the voltage of the first battery and the voltage of the second battery.
That is, in an initial charging stage of the electronic device just connected to the power adapter, one of the first charging chip or the second charging chip is selected by default to be charged. During the initial charging phase, the electronic device may communicate with a power adapter, which may output a default voltage and current.
If the difference between the boosting margin Vdiff1 of the first battery minus the boosting margin Vdiff2 of the second battery is greater than the voltage threshold Vth, i.e., vdiff1-Vdiff2> Vth, it may be determined that the first charging chip is controlled to charge in the initial charging stage. If the difference between the boosting margin Vdiff2 of the second battery minus the boosting margin Vdiff1 of the first battery is greater than the voltage threshold Vth, i.e., vdiff2-Vdiff1> Vth, it may be determined that the second charging chip is controlled to charge the second battery in the initial charging stage. Otherwise (i.e., |Vdiff2-Vdiff1|Vth), the first or second charging chip is optionally charged. The boosting margin Vdiff1 of the first battery refers to the difference between the cutoff voltage (i.e., the first cutoff voltage) Vend1 of the first battery and the voltage V1 of the first battery, i.e., vdiff1=vend1-V1. The boosting margin Vdiff2 of the second battery refers to the difference between the cutoff voltage (i.e., second cutoff voltage) Vend2 of the second battery and the voltage V2 of the second battery, i.e., vdiff2=vend2-V2. The second cut-off voltage may be the same or different from the first cut-off voltage.
The boosting margin of the battery indicates the boosting space of the battery, that is, in the initial charging stage, the charging chip corresponding to the battery with a large boosting space is preferably selected to charge the battery so as to raise the voltage of the battery as much as possible.
S1022, determining whether to allow the first charging chip and the second charging chip to charge in the quick charging stage according to the folded state or the unfolded state of the electronic device, the temperature of the first folding area and the temperature of the second folding area.
When the electronic device is in a folded state, the user does not use the electronic device or the load of the electronic device is low (for example, music playing software is operated), the temperature rise caused by the operation software of the electronic device is not obvious, and the first charging chip and the second charging chip can be allowed to be charged, or the first charging chip and the second charging chip are enabled.
When the electronic equipment is in an unfolding state, a user uses the electronic equipment, the electronic equipment runs software to possibly cause larger heating, and in a quick charging stage, the charging current is larger, and the charging chip charges the battery to cause larger heating, so that the user experience is affected. Since the first charging chip and the second charging chip are located in different folding areas, it is possible to determine whether to allow the charging chip to charge (i.e. enable the charging chip) in the quick charging stage according to the temperature of the folding area in which the charging chip is located, and to preferentially control the charging chip in the folding area with a low temperature to charge.
If the electronic device is in the unfolded state and the temperature T1 of the first folding region or the temperature Tbat1 of the first battery is greater than the first temperature threshold Tth1 (i.e. the temperature of the first folding region or the temperature of the first battery is higher), the first charging chip is not allowed to be charged (i.e. the first charging chip is disabled) during the fast charging stage, so as to avoid that the temperature of the first folding region is too high. If the electronic device is in the unfolded state and the temperature T1 of the first folding region or the temperature Tbat1 of the first battery is less than or equal to the second temperature threshold Tth2 (i.e. the temperature of the first folding region or the temperature of the first battery is lower), the first charging chip is allowed to charge (i.e. the first charging chip is enabled) in the fast charging stage. Wherein the first temperature threshold is greater than the second temperature threshold. In addition, if Tth2 is equal to or less than T1 is equal to or less than Tth1, it is not determined whether to allow the first charging chip to charge, so as to avoid frequent triggering of the determination when the temperature T1 of the first folding region or the temperature Tbat1 of the first battery changes within the interval [ Tth2, tth1 ].
Similarly, if the electronic device is in the unfolded state and the temperature T2 of the second folding region or the temperature Tbat2 of the second battery is greater than the first temperature threshold Tth1 (i.e., the temperature of the second folding region or the temperature of the second battery is higher), the second charging chip is not allowed to be charged (i.e., the second charging chip is disabled) during the fast charging period, so as to avoid the temperature of the second folding region or the temperature of the second battery being too high. If the electronic device is in the unfolded state and the temperature T2 of the second folding area or the temperature Tbat2 of the second battery is less than or equal to the second temperature threshold Tth2 (i.e. the temperature of the second folding area or the temperature of the second battery is lower), the second charging chip is allowed to be charged (i.e. the second charging chip is enabled) in the fast charging stage. In addition, if Tth2 is equal to or less than T2 is equal to or less than Tth1, it is not determined whether to allow the second charging chip to charge, so as to avoid frequent triggering of the determination when the temperature T1 of the second folding region or the temperature Tbat2 of the second battery changes within the interval [ Tth2, tth1 ].
The first temperature threshold and the second temperature threshold may be obtained by a first preset temperature threshold and a first hysteresis threshold, for example, the first temperature threshold=the first preset temperature threshold+the first hysteresis threshold, and the second temperature threshold=the first preset temperature threshold-the first hysteresis threshold.
S1023, determining whether to control the first charging chip and the second charging chip to charge together according to the maximum charging current, the current charging current and whether to allow the first charging chip and the second charging chip to charge.
The processor may look up a temperature control table based on the temperature T1 of the first folding region and the temperature T2 of the second folding region to determine the maximum charging current Imax (i.e., the current limiting parameter). And when the electronic device is in the folded state and the unfolded state, the temperature control tables to be searched can be the same or different. By way of example, one possible temperature control table is shown in table 1.
TABLE 1
The processor may look up a Current Voltage (CV) curve of the battery according to the voltage of the first battery or the voltage of the second battery, to obtain the current charging current. One possible CV curve is shown in fig. 10, for example. At least one charging cycle may be included in the charging process, each charging cycle including a constant current charging phase and a constant voltage charging phase. In the constant-current charging stage, the charging current is kept unchanged, and the charging voltage is continuously increased; in the constant voltage charging phase, the charging voltage remains unchanged and the charging current is continuously reduced.
And if the maximum charging current Imax is greater than the current threshold Ith, the current charging current Icur is greater than the current threshold Ith, and the first charging chip and the second charging chip are allowed to charge, the first charging chip and the second charging chip are controlled to charge, otherwise, the charging chip which is allowed to charge is controlled to charge. That is, if both the charging chips are allowed to be charged in a case where the current limit is sufficiently wide and the charging current is sufficiently large, both the charging chips are charged as much as possible to increase the charging speed. If the current limit is strict, or the charging current is small, or only one charging chip is allowed to charge, the charging chip which is allowed to charge. At this time, one of the first charging chip and the second charging chip may be charged, or both the first charging chip and the second charging chip may be charged.
And S1024, in the constant voltage charging stage, the first charging chip is controlled to charge according to the capacity of the first battery and the capacity of the second battery, or the second charging chip is controlled to charge.
The constant voltage charging period may refer to the constant voltage charging period of the last charging cycle, and if it is not the constant voltage charging period of the last charging cycle, it may be performed again from S1022. In this stage, the charging current is smaller, the heat release of the battery is smaller, and the temperature rise is not obvious. And if the capacity of the first battery is larger than that of the second battery, controlling the first charging chip to charge, otherwise controlling the second charging chip to charge. That is, the charging chips corresponding to the large-capacity batteries are preferentially controlled to charge, so that the large-capacity batteries store more electric energy.
According to the charging control circuit, the charging control method and the electronic device provided by the embodiment of the application, the two charging chips are respectively used for charging the two batteries, and the two batteries are respectively positioned in the two folding areas. And controlling at least one of the two charging chips to charge the batteries according to factors such as the folding state or unfolding state of the electronic equipment, the voltages of the two batteries, the capacities of the two batteries, the temperatures of the two folding areas and the like, so as to realize the charge balance of the two batteries.
As shown in fig. 11, the embodiment of the application further provides a chip system. The chip system 60 includes at least one processor 601 and at least one interface circuit 602. The at least one processor 601 and the at least one interface circuit 602 may be interconnected by wires. The processor 601 is configured to support the electronic device to implement the steps of the method embodiments described above, e.g., the methods shown in fig. 6, 8, and 9, and the at least one interface circuit 602 is configured to receive signals from other devices (e.g., memory) or to send signals to other devices (e.g., communication interfaces). The system-on-chip may include a chip, and may also include other discrete devices.
Embodiments of the present application also provide a computer-readable storage medium including computer instructions that, when executed on an electronic device as described above, cause the electronic device to perform the steps of the method embodiments described above, e.g., to perform the methods shown in fig. 6, 8, and 9.
Embodiments of the present application also provide a computer program product comprising computer instructions which, when run on an electronic device as described above, cause the electronic device to perform the steps of the method embodiments described above, for example, the methods shown in fig. 6, 8, 9.
Technical effects concerning the chip system, the computer-readable storage medium, the computer program product refer to the technical effects of the previous method embodiments.
It should be understood that, in various embodiments of the present application, the sequence numbers of the foregoing processes do not mean the order of execution, and the order of execution of the processes should be determined by the functions and internal logic thereof, and should not constitute any limitation on the implementation process of the embodiments of the present application.
Those of ordinary skill in the art will appreciate that the various illustrative modules and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
It will be clearly understood by those skilled in the art that, for convenience and brevity of description, specific working procedures of the above-described system, apparatus and module may refer to corresponding procedures in the foregoing method embodiments, which are not repeated herein.
In the several embodiments provided by the present application, it should be understood that the disclosed systems, devices, and methods may be implemented in other manners. For example, the above-described device embodiments are merely illustrative, e.g., the division of the modules is merely a logical function division, and there may be additional divisions when actually implemented, e.g., multiple modules or components may be combined or integrated into another device, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be through some interface, indirect coupling or communication connection of devices or modules, electrical, mechanical, or other form.
The modules described as separate components may or may not be physically separate, and components shown as modules may or may not be physically separate, i.e., may be located in one device, or may be distributed over multiple devices. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional module in the embodiments of the present application may be integrated in one device, or each module may exist alone physically, or two or more modules may be integrated in one device.
In the above embodiments, it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented using a software program, it may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer instructions are loaded and executed on a computer, the processes or functions described in accordance with embodiments of the present application are produced in whole or in part. The computer may be a general purpose computer, a special purpose computer, a computer network, or other programmable apparatus. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by a wired (e.g., coaxial cable, fiber optic, digital subscriber line (digital subscriber line, DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer readable storage medium may be any available medium that can be accessed by a computer or a data storage device including one or more servers, data centers, etc. that can be integrated with the medium. The usable medium may be a magnetic medium (e.g., a floppy disk, a hard disk, a magnetic tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a Solid State Disk (SSD)), or the like.
The foregoing is merely illustrative of the present application, and the present application is not limited thereto, and any person skilled in the art will readily recognize that variations or substitutions are within the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (17)

1. A charging control circuit is characterized by being applied to an electronic device comprising a first battery, a second battery and a folding screen, wherein the folding screen can be folded to form a first folding area and a second folding area, the first battery is positioned in the first folding area, and the second battery is positioned in the second folding area;
the charging control circuit comprises a first charging chip, a second charging chip and a controller, wherein the first charging chip is used for charging the first battery, and the second charging chip is used for charging the second battery;
the controller is used for:
acquiring the charging state of the electronic equipment, wherein the charging state of the electronic equipment comprises: the electronic device is in a folded state or an unfolded state, a voltage of the first battery and a voltage of the second battery, a capacity of the first battery and a capacity of the second battery, and a temperature of the first folding region and a temperature of the second folding region;
In an initial charging stage, controlling the first charging chip or the second charging chip to charge according to the voltage of the first battery and the voltage of the second battery;
determining whether to allow the first charging chip and the second charging chip to be charged in a quick charging stage according to the electronic equipment in a folded state or an unfolded state, the temperature of the first folding area and the temperature of the second folding area;
in the quick charging stage, determining whether to control the first charging chip and the second charging chip to charge together according to the maximum charging current, the current charging current and whether to allow the first charging chip and the second charging chip to charge;
in the constant voltage charging stage, the first charging chip is controlled to charge according to the capacity of the first battery and the capacity of the second battery, or the second charging chip is controlled to charge.
2. The charge control circuit of claim 1, wherein the controller is specifically configured to:
if the difference between the boosting margin of the first battery and the boosting margin of the second battery is larger than a voltage threshold value, determining that the first charging chip is controlled to charge in an initial charging stage;
If the difference between the boosting margin of the second battery and the boosting margin of the first battery is larger than the voltage threshold, determining that the second charging chip is controlled to charge in an initial charging stage;
the boosting margin of the first battery refers to the difference between a first cut-off voltage and the voltage of the first battery, and the boosting margin of the second battery refers to the difference between a second cut-off voltage and the voltage of the second battery.
3. The charge control circuit according to claim 1 or 2, wherein the controller is specifically configured to:
allowing the first charging chip and the second charging chip to charge in a fast charging stage if the electronic device is in a folded state;
if the electronic equipment is in an unfolding state and the temperature of the first folding area is larger than a first temperature threshold, the first charging chip is not allowed to be charged in a quick charging stage; if the electronic equipment is in an unfolding state, and the temperature of the first folding area is smaller than or equal to a second temperature threshold, allowing the first charging chip to charge in a quick charging stage, wherein the first temperature threshold is larger than the second temperature threshold;
If the electronic equipment is in an unfolding state and the temperature of the second folding area is larger than the first temperature threshold, the second charging chip is not allowed to be charged in a quick charging stage; and if the electronic equipment is in an unfolding state, and the temperature of the second folding area is smaller than or equal to the second temperature threshold, allowing the second charging chip to be charged in a quick charging stage.
4. The charge control circuit according to claim 1 or 2, wherein the controller is specifically configured to:
and if the maximum charging current is larger than the current threshold, the current charging current is larger than the current threshold, and the first charging chip and the second charging chip are allowed to charge, the first charging chip and the second charging chip are controlled to charge, otherwise, the charging chip which is allowed to charge is controlled to charge.
5. The charge control circuit according to claim 1 or 2, wherein the controller is specifically configured to:
and if the capacity of the first battery is larger than that of the second battery, controlling the first charging chip to charge, otherwise controlling the second charging chip to charge.
6. The charge control circuit according to claim 1 or 2, wherein the temperature of the first folding region is obtained from the temperature of the first battery, the case temperature of the first folding region, and the temperature of the heat generation source in the first folding region.
7. The charge control circuit according to claim 1 or 2, wherein the temperature of the second folding region is obtained from the temperature of the second battery, the case temperature of the second folding region, and the temperature of the heat generation source in the second folding region.
8. A charging control method, characterized by comprising:
acquiring a charging state of an electronic device, wherein the charging state of the electronic device comprises: the electronic equipment is in a folded state or an unfolded state, the voltage of a first battery and the voltage of a second battery in the electronic equipment, the capacity of the first battery and the capacity of the second battery, and the temperature of a first folding area and the temperature of a second folding area in the electronic equipment;
in the initial charging stage, the first charging chip or the second charging chip is controlled to charge according to the voltage of the first battery and the voltage of the second battery;
Determining whether to allow the first charging chip and the second charging chip to be charged in a quick charging stage according to the electronic equipment in a folded state or an unfolded state, the temperature of the first folding area and the temperature of the second folding area;
in the quick charging stage, determining whether to control the first charging chip and the second charging chip to charge together according to the maximum charging current, the current charging current and whether to allow the first charging chip and the second charging chip to charge;
in the constant voltage charging stage, the first charging chip is controlled to charge according to the capacity of the first battery and the capacity of the second battery, or the second charging chip is controlled to charge.
9. The method of claim 8, wherein controlling the first charging chip or the second charging chip to charge in accordance with the voltage of the first battery and the voltage of the second battery during the initial charging phase comprises:
if the difference between the boosting margin of the first battery and the boosting margin of the second battery is larger than a voltage threshold value, determining that the first charging chip is controlled to charge in an initial charging stage;
If the difference between the boosting margin of the second battery and the boosting margin of the first battery is larger than the voltage threshold, determining that the second charging chip is controlled to charge in an initial charging stage;
the boosting margin of the first battery refers to the difference between a first cut-off voltage and the voltage of the first battery, and the boosting margin of the second battery refers to the difference between a second cut-off voltage and the voltage of the second battery.
10. The method of claim 8 or 9, wherein determining whether to allow the first and second charging chips to be charged during a fast charge phase based on the electronic device being in a folded state or an unfolded state, a temperature of the first folding region, and a temperature of the second folding region, comprises:
allowing the first charging chip and the second charging chip to charge in a fast charging stage if the electronic device is in a folded state;
if the electronic equipment is in an unfolding state and the temperature of the first folding area is larger than a first temperature threshold, the first charging chip is not allowed to be charged in a quick charging stage; if the electronic equipment is in an unfolding state, and the temperature of the first folding area is smaller than or equal to a second temperature threshold, allowing the first charging chip to charge in a quick charging stage, wherein the first temperature threshold is larger than the second temperature threshold;
If the electronic equipment is in an unfolding state and the temperature of the second folding area is larger than the first temperature threshold, the second charging chip is not allowed to be charged in a quick charging stage; and if the electronic equipment is in an unfolding state, and the temperature of the second folding area is smaller than or equal to the second temperature threshold, allowing the second charging chip to be charged in a quick charging stage.
11. The method according to claim 8 or 9, wherein the determining whether to control the first charging chip and the second charging chip to charge together according to a maximum charging current, a present charging current, and whether to allow the first charging chip and the second charging chip to charge, comprises:
and if the maximum charging current is larger than the current threshold, the current charging current is larger than the current threshold, and the first charging chip and the second charging chip are allowed to charge, the first charging chip and the second charging chip are controlled to charge, otherwise, the charging chip which is allowed to charge is controlled to charge.
12. The method according to claim 8 or 9, wherein controlling the first charging chip to charge or controlling the second charging chip to charge according to the capacity of the first battery and the capacity of the second battery includes:
And if the capacity of the first battery is larger than that of the second battery, controlling the first charging chip to charge, otherwise controlling the second charging chip to charge.
13. The method according to claim 8 or 9, wherein the temperature of the first folding zone is derived from the temperature of the first battery, the temperature of the housing of the first folding zone, the temperature of the heat generating source in the first folding zone.
14. The method according to claim 8 or 9, characterized in that the temperature of the second fold region is derived from the temperature of the second battery, the temperature of the housing of the second fold region, the temperature of the heat generating source in the second fold region.
15. An electronic device comprising a first battery, a second battery, a folding screen, and a charge control circuit according to any one of claims 1-7, the folding screen being foldable to form a first fold region and a second fold region, the first battery being located in the first fold region, the second battery being located in the second fold region, the first fold region being foldable or unfoldable with the second fold region; the charging control circuit is used for charging the first battery or the second battery.
16. An electronic device, comprising: folding screen, first battery, second battery, first chip that charges, second chip that charges, memory and one or more processors; the folding screen can be folded to form a first folding area and a second folding area, the first battery is positioned in the first folding area, and the second battery is positioned in the second folding area; the first charging chip is used for charging the first battery, and the second charging chip is used for charging the second battery; the memory stores computer program code comprising computer instructions which, when executed by the processor, cause the electronic device to perform the method of any of claims 8-14.
17. A computer readable storage medium comprising computer instructions which, when run on an electronic device, cause the electronic device to perform the method of any of claims 8-14.
CN202310647965.9A 2023-06-02 2023-06-02 Charging control circuit, charging control method and electronic equipment Active CN116418092B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310647965.9A CN116418092B (en) 2023-06-02 2023-06-02 Charging control circuit, charging control method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310647965.9A CN116418092B (en) 2023-06-02 2023-06-02 Charging control circuit, charging control method and electronic equipment

Publications (2)

Publication Number Publication Date
CN116418092A CN116418092A (en) 2023-07-11
CN116418092B true CN116418092B (en) 2023-10-27

Family

ID=87051314

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310647965.9A Active CN116418092B (en) 2023-06-02 2023-06-02 Charging control circuit, charging control method and electronic equipment

Country Status (1)

Country Link
CN (1) CN116418092B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117096993B (en) * 2023-10-13 2024-04-19 荣耀终端有限公司 Battery charging control method and electronic equipment

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104300630A (en) * 2014-10-17 2015-01-21 广东欧珀移动通信有限公司 Charging control device and method
CN108988453A (en) * 2018-07-24 2018-12-11 维沃移动通信有限公司 A kind of mobile terminal
CN109066876A (en) * 2018-08-31 2018-12-21 上海艾为电子技术股份有限公司 A kind of switched charge chip and electronic equipment
WO2020168965A1 (en) * 2019-02-22 2020-08-27 华为技术有限公司 Method for controlling electronic device having folding screen, and electronic device
CN114498865A (en) * 2022-04-14 2022-05-13 荣耀终端有限公司 Charging circuit, charging control method and electronic device
CN114567054A (en) * 2022-03-31 2022-05-31 联想(北京)有限公司 Control method and device and electronic equipment
WO2023000732A1 (en) * 2021-07-21 2023-01-26 荣耀终端有限公司 Charging/discharging circuit and electronic device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102255130B1 (en) * 2014-07-16 2021-05-24 삼성전자주식회사 Electronic device and method for controlling charging of battery
CN113078696A (en) * 2020-01-03 2021-07-06 北京小米移动软件有限公司 Electronic device, charging method and device thereof, and readable storage medium
CN113098152A (en) * 2020-01-08 2021-07-09 北京小米移动软件有限公司 Wireless charging method and device, folding screen electronic equipment and storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104300630A (en) * 2014-10-17 2015-01-21 广东欧珀移动通信有限公司 Charging control device and method
CN108988453A (en) * 2018-07-24 2018-12-11 维沃移动通信有限公司 A kind of mobile terminal
CN109066876A (en) * 2018-08-31 2018-12-21 上海艾为电子技术股份有限公司 A kind of switched charge chip and electronic equipment
WO2020168965A1 (en) * 2019-02-22 2020-08-27 华为技术有限公司 Method for controlling electronic device having folding screen, and electronic device
WO2023000732A1 (en) * 2021-07-21 2023-01-26 荣耀终端有限公司 Charging/discharging circuit and electronic device
CN114567054A (en) * 2022-03-31 2022-05-31 联想(北京)有限公司 Control method and device and electronic equipment
CN114498865A (en) * 2022-04-14 2022-05-13 荣耀终端有限公司 Charging circuit, charging control method and electronic device

Also Published As

Publication number Publication date
CN116418092A (en) 2023-07-11

Similar Documents

Publication Publication Date Title
KR102258143B1 (en) Charging circuit for electronic device
US9392548B2 (en) Method of controlling for transmission power and device therefor
US20160028157A1 (en) Multi-band antenna and electronic device for supporting the same
KR102255130B1 (en) Electronic device and method for controlling charging of battery
US9860659B2 (en) Method and apparatus for identifying foreign substances in connectors
AU2016365503A1 (en) Electronic device and operating method thereof
CN111182614B (en) Method and device for establishing network connection and electronic equipment
CN114498865B (en) Charging circuit, charging control method and electronic device
CN116418092B (en) Charging control circuit, charging control method and electronic equipment
US9398432B2 (en) Electronic device and method for controlling emergency call in electronic device
US9621986B2 (en) Electronic device, audio device, and method for supplying power to the audio device
CN116529981A (en) Dual battery management circuit and electronic device
KR20150118434A (en) Method for delivering a policy information in order to offload between different radio communication systems and electronic device implementing the same
CN116569441A (en) Dual battery management circuit and electronic device
CN116054870B (en) Wireless communication circuit, bluetooth communication switching method and electronic equipment
CN112531803A (en) Method for operating an electronic device comprising at least two batteries and electronic device
CN116707097A (en) Charging and discharging method, device, chip and readable storage medium
CN114780029B (en) Device identification method and related device
CN218829139U (en) Dual-battery management circuit and electronic equipment
CN218829140U (en) Dual-battery management circuit and electronic equipment
CN115826771B (en) Input method switching method and electronic equipment
CN116054680B (en) Motor driving circuit and terminal equipment
US20160254625A1 (en) Multi-pole earphone plug and adjustable multi-pole audio connector including the same
CN116708612A (en) Touch component, touch chip and terminal equipment
CN116737356A (en) Memory management method and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant