A control method, electronic device and storage medium
By sequentially disconnecting the charging path of the fast charging chip according to the fast charging parameters and carrying capacity in the electronic device, the problem of overcurrent risk when exiting the fast charging mode is solved and safety is improved.
Patent Information
- Application Number
- CN202310769784.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-27
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2043-06-27
AI Technical Summary
In the existing technology, when an electronic device exits the fast charging mode, the fast charging chip that is turned off later may carry the total fast charging current, causing the risk of overcurrent, affecting safety work, and possibly creating safety hazards.
By using multiple parallel fast charging chips in electronic equipment, and determining the exit result according to the fast charging parameters, the charging paths are disconnected in order from small to large carrying current carrying capacity, and the total charging current is controlled to reduce to the carrying capacity. Within the allowable range, avoid the risk of overcurrent.
It reduces the possibility of damage to the fast charging chip, reduces the risk of safety hazards in electronic equipment, and ensures the safety of the charging process.
Smart Images

Figure CN117713266B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of charging control, and in particular to a control method, an electronic device and a storage medium. Background Art
[0002] With the rapid development of electronic equipment technology, people use portable electronic devices such as mobile phones and tablets more and more frequently, which requires more and more energy from electronic devices. Due to material and technical limitations, the battery capacity of electronic devices can only be increased to a limited extent, so currently fast charging is mainly used to make electronic devices available to users in a timely manner. In order to achieve the purpose of fast charging, two fast charging chips of different specifications can be used in parallel in electronic devices to achieve high-power charging (i.e., fast charging mode).
[0003] However, in the prior art, if an electronic device exits the fast charging mode due to special circumstances, the two fast charging chips will be directly turned off one by one. This may cause the fast charging chip that is turned off later to carry the total fast charging current for a certain period of time, posing an overcurrent risk, affecting the safe operation of the fast charging chip, and possibly causing safety hazards. Summary of the invention
[0004] The embodiments of the present application provide a control method, an electronic device, and a storage medium, which can reduce the possibility of damage to a fast charging chip, thereby reducing the possibility of safety hazards in electronic devices.
[0005] To achieve the above objectives, the embodiments of the present application adopt the following technical solutions:
[0006] In the first aspect, the present application provides a control method, which is applied to an electronic device, wherein the electronic device includes a plurality of charging chips and a battery connected in parallel, and the plurality of charging chips connected in parallel include a first charging chip and a second charging chip. The method includes: when the electronic device is in a fast charging mode, obtaining a fast charging parameter; when the electronic device is in a fast charging mode, the electronic device quickly charges the battery through the first charging chip and the second charging chip; fast charging refers to a charging method for charging the electronic device so that the electronic device is charged from zero to full power within a first preset time; the fast charging parameter is related to whether the electronic device exits the fast charging mode; the electronic device determines the fast charging exit result according to the fast charging parameter; the fast charging exit result is used to indicate that the electronic device needs to exit the fast charging mode or to indicate that the electronic device does not need to exit the fast charging mode; when the fast charging exit result indicates that the electronic device needs to exit the fast charging mode, the electronic device disconnects the charging path of the first fast charging chip; the first fast charging chip is the one with a smaller current carrying capacity between the first charging chip and the second charging chip; the electronic device disconnects the charging path of the second fast charging chip; the second fast charging chip is the one with a larger current carrying capacity between the first charging chip and the second charging chip.
[0007] Based on the technical solution provided by the implementation of this application, when the mobile phone needs to exit the fast charging mode, the mobile phone can disconnect the charging paths of the two fast charging chips (i.e., the first charging chip and the second charging chip) in order from small to large in terms of the carrying capacity of the carrying current. Since the fast charging chip that is disconnected later has a stronger carrying capacity for carrying current, and the total charging current (the current of the electric energy received by the charging interface) during the charging process will change, the probability of overcurrent risk will be lower for the fast charging chip that disconnects the charging path later. In this way, when the mobile phone exits the fast charging mode, the probability of overcurrent risk for the fast charging chip that disconnects the charging path later can be reduced, thereby reducing the risk of safety hazards in the mobile phone.
[0008] In a possible design method of the first aspect, the electronic device determines a fast charging exit result based on fast charging parameters, including: when the fast charging parameters meet preset conditions, the electronic device determines the fast charging exit result to indicate that the electronic device does not need to exit the fast charging mode; when the fast charging parameters do not meet the preset conditions, the electronic device determines the fast charging exit result to indicate that the electronic device needs to exit the fast charging mode.
[0009] Based on the above technical solution, the mobile phone can accurately determine whether it is necessary to exit the fast charging mode at present, and then determine whether to control the charging path of the fast charging chip.
[0010] In a possible design method of the first aspect, the fast charging parameters include any one or more of the following: battery temperature, battery power, and charging connection abnormality information; the charging connection abnormality information is used to indicate whether the charging cable is abnormally connected to the charging interface of the electronic device; when the fast charging parameters include the battery temperature, the preset conditions include: the battery temperature is within the fast charging preset temperature range; when the fast charging parameters include the battery power, the preset conditions include: the battery power is less than a preset percentage of the total battery power; when the fast charging parameters include the charging connection abnormality information, the preset conditions include: the charging connection abnormality information indicates that there is no abnormality in the connection between the charging cable and the charging interface of the electronic device.
[0011] Based on the above technical solution, more accurate preset conditions can be used to determine the timing for the electronic device to exit the fast charging mode, so that the fast charging chip can be controlled at the exact time later.
[0012] In a possible design of the first aspect, when the fast charging exit result is used to indicate that the electronic device needs to exit the fast charging mode, before the electronic device disconnects the charging path of the first fast charging chip, the method also includes: the electronic device obtains a total current value of the total charging current; the total charging current is the current of the electric energy provided by the power supply device through the charging interface of the electronic device; when the total current value is greater than a target current value of the maximum current that the second fast charging chip can carry, the electronic device controls the total charging current to be reduced to a total current value less than the target current value.
[0013] Based on the above technical solution, when the mobile phone needs to exit the fast charging mode, if the total charging current is greater than the target current value of the maximum current that can be carried by the second fast charging chip that disconnects the charging path later, the mobile phone can first reduce the total charging current to a total current value less than or equal to the target current value, and then disconnect the charging paths of the two fast charging chips (i.e., the first charging chip and the second charging chip) in order from small to large in terms of the carrying capacity of the carrying current. Since the fast charging chip that is disconnected later has a stronger carrying capacity for carrying current, and the total current value of the total charging current (the current of the electric energy received by the charging interface) is less than the target current value when the first fast charging chip is disconnected, the second fast charging chip that disconnects the charging path later will not have an overcurrent risk. In this way, when the mobile phone exits the fast charging mode, the fast charging chip that disconnects the charging path later will not have an overcurrent risk, thereby avoiding safety hazards in the mobile phone.
[0014] In a possible design method of the first aspect, the electronic device controls the total charging current to be reduced to a total current value less than a target current value, including: the electronic device controls the total charging voltage to be reduced so that the total charging current is reduced to a total current value less than the target current value; the total charging voltage is the voltage of the electric energy provided by the power supply device through the charging interface of the electronic device.
[0015] Based on the above technical solution, the total charging current can be smoothly reduced.
[0016] In a possible design method of the first aspect, the overcurrent protection OCP threshold of the first fast charging chip is less than the OCP threshold of the second fast charging chip; the target current value of the maximum current that the second fast charging chip can carry is the OCP threshold of the second fast charging chip.
[0017] In a possible design of the first aspect, the multiple parallel charging chips also include a third charging chip; after the electronic device disconnects the charging path of the second fast charging chip, the method also includes: the electronic device uses the third charging chip to charge the battery in a preset charging mode; when the electronic device is charged in the preset charging mode, the battery of the electronic device can be charged from zero to full within a second preset time length; the second preset time length is greater than the first preset time length.
[0018] Based on the above technical solution, after the electronic device disconnects all fast charging chips, if the battery of the electronic device is not fully charged and the electronic device needs to continue charging, the electronic device can use an ordinary charging chip to charge the battery.
[0019] In a possible design of the first aspect, the charging mode is preset to be a Buck charging mode.
[0020] In the second aspect, the present application provides a control device, which includes: an acquisition module, a determination module and a control module. Among them, the acquisition module is used to acquire fast charging parameters when the electronic device is in fast charging mode; when the electronic device is in fast charging mode, the electronic device quickly charges the battery through the first charging chip and the second charging chip; fast charging refers to a charging method for charging the electronic device so that the electronic device is charged from zero to full power within a first preset time; the fast charging parameter is related to whether the electronic device exits the fast charging mode; the determination module is used to determine the fast charging exit result according to the fast charging parameters obtained by the acquisition module; the fast charging exit result is used to indicate that the electronic device needs to exit the fast charging mode or to indicate that the electronic device does not need to exit the fast charging mode; the control module is used to disconnect the charging path of the first fast charging chip when the fast charging exit result determined by the determination module indicates that the electronic device needs to exit the fast charging mode; the first fast charging chip is the one with a smaller current carrying capacity among the first charging chip and the second charging chip; the control module is also used to disconnect the charging path of the second fast charging chip; the second fast charging chip is the one with a larger current carrying capacity among the first charging chip and the second charging chip.
[0021] In a possible design method of the second aspect, the determination module is specifically used to: when the fast charging parameters obtained by the acquisition module meet the preset conditions, determine the fast charging exit result to indicate that the electronic device does not need to exit the fast charging mode; when the fast charging parameters obtained by the acquisition module do not meet the preset conditions, determine the fast charging exit result to indicate that the electronic device needs to exit the fast charging mode.
[0022] In a possible design manner of the second aspect, the fast charging parameters include any one or more of the following: battery temperature, battery power, and charging connection abnormality information; the charging connection abnormality information is used to indicate whether the charging cable is abnormally connected to the charging interface of the electronic device; when the fast charging parameters include the battery temperature, the preset conditions include: the battery temperature is within the fast charging preset temperature range; when the fast charging parameters include the battery power, the preset conditions include: the battery power is less than a preset percentage of the total battery power; when the fast charging parameters include the charging connection abnormality information, the preset conditions include: the charging connection abnormality information indicates that there is no abnormality in the connection between the charging cable and the charging interface of the electronic device.
[0023] In a possible design method of the second aspect, when the fast charging exit result is used to indicate that the electronic device needs to exit the fast charging mode, before the control module disconnects the charging path of the first fast charging chip, the acquisition module is also used to obtain the total current value of the total charging current; the total charging current is the current of the electric energy provided by the power supply device through the charging interface of the electronic device; when the total current value obtained by the acquisition module is greater than the target current value of the maximum current that the second fast charging chip can carry, the control module is also used to control the total charging current to be reduced to a total current value less than the target current value.
[0024] In a possible design method of the second aspect, the control module is specifically used to: control the total charging voltage to decrease so that the total charging current is reduced to a total current value less than the target current value; the total charging voltage is the voltage of the electric energy provided by the power supply device through the charging interface of the electronic device.
[0025] In a possible design method of the second aspect, the overcurrent protection OCP threshold of the first fast charging chip is smaller than the OCP threshold of the second fast charging chip; the target current value of the maximum current that the second fast charging chip can carry is the OCP threshold of the second fast charging chip.
[0026] In a possible design of the second aspect, the multiple parallel charging chips also include a third charging chip; after the control module disconnects the charging path of the second fast charging chip, it is also used to use the third charging chip to charge the battery in a preset charging mode; when the electronic device is charged in the preset charging mode, the battery of the electronic device can be charged from zero to full power within a second preset time length; the second preset time length is greater than the first preset time length.
[0027] In a possible design of the second aspect, the preset charging mode is a Buck charging mode.
[0028] In a third aspect, the present application provides an electronic device, comprising: a memory and one or more processors; the memory is coupled to the processor; wherein the memory stores computer program code, the computer program code comprises computer instructions, and when the computer instructions are executed by the processor, the electronic device executes the control method provided in the first aspect and any possible design thereof.
[0029] In a fourth aspect, the present application provides a computer-readable storage medium, which includes computer instructions. When the computer instructions are executed on an electronic device, the electronic device executes the control method provided in the first aspect and any possible design thereof.
[0030] In a fifth aspect, the present application provides a computer program product comprising executable instructions. When the computer program product is run on an electronic device, the electronic device executes the control method provided in the first aspect and any possible design thereof.
[0031] In a sixth aspect, a device (for example, the device may be a chip system) is provided, the device including a processor for supporting an electronic device to implement the functions involved in the second aspect above. In one possible design, the device also includes a memory for storing program instructions and data necessary for the electronic device. When the device is a chip system, it may be composed of a chip, or may include a chip and other discrete devices.
[0032] It can be understood that the beneficial effects that can be achieved by the technical solutions provided in the second to sixth aspects provided above can refer to the beneficial effects in the first aspect and any possible design method thereof, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] Figure 1 A schematic diagram of the structure of an electronic device provided by the prior art;
[0034] Figure 2 A schematic diagram of a process of reversing fast charging of an electronic device provided by the prior art;
[0035] Figure 3 A schematic diagram of the principle of a control method provided in an embodiment of the present application;
[0036] Figure 4 A schematic diagram of the structure of a charging system provided in an embodiment of the present application;
[0037] Figure 5 A schematic diagram of the hardware architecture of an electronic device provided in an embodiment of the present application;
[0038] Figure 6 A schematic diagram of a software architecture of an electronic device provided in an embodiment of the present application;
[0039] Figure 7 A schematic diagram of a control method provided in an embodiment of the present application Figure 1 ;
[0040] Figure 8 A schematic diagram of a control method provided in an embodiment of the present application Figure 2 ;
[0041] Fig. 9 A schematic diagram of a control method provided in an embodiment of the present application Figure 3 ;
[0042] Fig.10 A schematic diagram of the change of the total charging current when an electronic device exits a fast charging mode provided in an embodiment of the present application;
[0043] Fig.11 A schematic diagram of the structure of a control device provided in an embodiment of the present application;
[0044] Fig.12 A schematic diagram of the structure of a chip system provided in an embodiment of the present application. DETAILED DESCRIPTION
[0045] The terms used in the following embodiments of the present application are only for the purpose of describing specific embodiments and are not intended to be limiting of the present application. As used in the specification and appended claims of the present application, the singular expressions "a", "an", "said", "above", "the" and "this" are intended to also include plural expressions, unless the context clearly indicates otherwise. It should also be understood that " / " means or, for example, A / B can mean A or B; "and / or" in the text is merely a description of an association relationship of associated objects, indicating that three relationships can exist, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone.
[0046] Reference to "embodiments" in this application means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described in this application may be combined with other embodiments.
[0047] The terms "first" and "second" in the following embodiments of the present application are used for descriptive purposes only and should not be understood as suggesting or implying relative importance or implicitly indicating the number of technical features indicated. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of the embodiments of the present application, unless otherwise specified, "multiple" means two or more.
[0048] First, the relevant technical terms involved in this application are introduced:
[0049] Overcurrent protection (OCP) threshold: In electronic devices, overcurrent protection is an important safety function designed to protect circuits from damage and dangers caused by abnormally high currents. When the current value in the circuit exceeds the OCP threshold, the circuit will have an overcurrent risk, creating a safety hazard. The specific value of the OCP threshold can be determined based on the specifications, design requirements, and safety standards of the equipment.
[0050] NTC (negative temperature coefficient) temperature: NTC temperature refers to the temperature measured by an NTC thermistor. In many battery systems, in order to protect the battery and prevent overheating or overcooling, an NTC thermistor is installed to monitor the temperature change of the battery, thereby realizing intelligent management and control of the battery.
[0051] The characteristics of NTC thermistors are: as the temperature rises, the resistance value will continue to decrease, and conversely, as the temperature drops, the resistance value will continue to increase. Therefore, in the battery system, by measuring the resistance value of the NTC thermistor, the temperature value of the battery can be indirectly obtained. For both charging and discharging batteries, NTC temperature monitoring is very important. When charging, if the battery temperature is too high, the charger should slow down the charging speed or stop charging according to the NTC reading to avoid overheating; at the same time, when discharging, if the battery temperature is too low, it will also affect the battery performance and service life, so it is necessary to take appropriate measures to heat the battery in time.
[0052] Battery temperature compensation parameters: Battery temperature compensation parameters refer to parameters used to correct battery capacity or voltage measurements to take into account the impact of battery temperature changes on battery performance. In many types of batteries, such as lithium-ion batteries, temperature has a certain impact on battery characteristics such as capacity, internal resistance, and self-discharge. Through temperature compensation parameters, the actual capacity or voltage reading of the battery can be adjusted according to the battery temperature to improve the accuracy and reliability of the battery status. Generally, temperature compensation parameters can be obtained based on the temperature material characteristics and performance tests of the battery. The specific temperature compensation parameters can vary for different battery types. In practice, the size of the battery temperature compensation parameter is related to the size of the charging current.
[0053] In the embodiment of the present application, the temperature of the battery may be the sum of the battery NTC temperature and the battery temperature compensation parameter. In the embodiment of the present application, if the charger detects that the battery temperature of the electronic device is greater than the preset fast charging temperature range (e.g., 10-45°C), it will instruct the electronic device to exit the fast charging mode, i.e., stop using the fast charging chip for charging.
[0054] At present, in order to make the charging speed of electronic devices faster, Figure 1As shown, two fast charging chips can be connected in parallel in the electronic device to achieve high-power charging, that is, to achieve fast charging mode. However, in the existing design scheme, when the electronic device exits the fast charging mode, due to the default order of software execution, the main fast charging chip of the two fast charging chips will be turned off first, and then the auxiliary fast charging chip will be turned off. The main fast charging chip is the fast charging chip with a larger charging current that can be carried among the two fast charging chips, and the chip in the auxiliary block is the fast charging chip with a smaller charging current that can be carried among the two fast charging chips. During the short period of time when the main fast charging chip is turned off, the total charging current of the fast charging mode will be borne by the auxiliary fast charging chip. If the total charging current before deciding to exit the fast charging mode is large, it will exceed the OCP threshold of the auxiliary fast charging chip, which may cause the auxiliary fast charging chip to be damaged or unable to work safely and normally, posing a safety hazard. In addition, if Figure 1 As shown, when the electronic device exits the fast charging mode, the electronic device can use the power management chip to charge the battery at a slower charging efficiency.
[0055] In the embodiment of the present application, shutting down a fast charging chip means disconnecting the parallel branch where the fast charging chip is located so that the fast charging chip no longer carries current to charge the battery, and the shutting down method is not limited.
[0056] For example, in some possible instances, taking the two fast charging chips in the electronic device as an 8A fast charging chip and a 5A fast charging chip, the OCP threshold of the 8A fast charging chip is 4.75A, and the OCP file of the chip in the 5A block is 3.7A as an example, the scene flow of the electronic device exiting fast charging can be as follows: Figure 2 As shown:
[0057] When the battery of an electronic device just enters the fast charging mode, the charging current Ibus will start to rise, where Ibus is the current value of the power input from the power supply device (such as a charger) to the fast charging chip.
[0058] During the charging process, in order to ensure charging safety, the battery temperature detection module of the electronic device can obtain the battery temperature in real time. The battery temperature is the sum of the battery NTC temperature and the battery temperature compensation parameter.
[0059] Afterwards, due to the fast charging mode, the total charging current may rise to a larger value, such as more than 4 A. At this time, due to the short charging time, the NTC temperature change of the battery that can be detected by the electronic device is very small.
[0060] However, since a large charging current corresponds to a larger battery temperature compensation parameter, the battery temperature obtained by the electronic device may be outside the preset fast charging temperature range. For example, the battery temperature is less than 10°C. The preset fast charging temperature range can be 10°C to 45°C.
[0061] After that, the electronic device will exit the fast charging mode to ensure charging safety. Specifically, the electronic device will first control the 8A fast charging chip to turn off.
[0062] After the 8A fast charging chip is turned off, the charging current will be entirely carried by the 5A fast charging chip, that is, the 5A chip will carry a charging current greater than 4A. The OCP threshold of the 5A fast charging chip is 3.7A, and the longest time that the 5A fast charging chip can withstand a current exceeding the OCP threshold is 75μs. After the 8A fast charging chip is turned off, since the software execution takes time, the 5A fast charging chip may not respond to the control instructions of the electronic device until 110μs later. This will cause the 5A fast charging chip to be in an overcurrent state for a long time, affecting the safe operation of the 5A fast charging chip and causing safety hazards to electronic equipment.
[0063] It can be seen that in the existing fast charging solutions, when exiting the fast charging mode, the fast charging chip that is turned off later may carry the total fast charging current for a certain period of time, which may pose an overcurrent risk, affect the safe operation of the fast charging chip, and may cause safety hazards.
[0064] For the above problems, refer to Figure 3 As shown, the present application provides a control method, which is applied to an electronic device with two fast charging chips. In this technical solution, when the electronic device determines that it needs to exit the fast charging mode, it can consider the strength of the current carrying capacity of different fast charging chips (which can be determined according to the OCP threshold), so as to first turn off the fast charging chip with weak carrying capacity, and then turn off the fast charging chip with strong carrying capacity. Because the fast charging chip with strong carrying capacity can carry a larger current, compared with the prior art, after turning off the fast charging chip with weak carrying capacity first, the fast charging chip with strong carrying capacity is less likely to produce an overcurrent state, and the possibility of damage to the fast charging chip is also smaller, and the electronic device is less likely to have safety hazards.
[0065] The control method provided in the embodiment of the present application is described below in conjunction with the accompanying drawings.
[0066] The control method provided in the embodiment of the present application can be applied to Figure 4 In the charging system shown, the system may include an electronic device 10 and a charger 20, wherein a battery 14 in the electronic device 10 may be charged by an external charger 20. Figure 4As shown, the charger 20 includes a power adapter 21 and a charging cable 22. The charging cable 22 may include a first interface 221, a wire 223, and a second interface 222. The first interface 221 is used to connect to a specific interface of the power adapter 21, and the second interface 222 is used to connect to the charging interface of the electronic device 10. After the charging cable 22 is connected to the power adapter 21 and the electronic device 10 through its first interface 221 and the second interface 222, respectively, the charging cable 22 can be used to transmit electrical energy and provide physical support for the power adapter 21 to charge the electronic device 10.
[0067] Exemplarily, the actual charging cable 22 may specifically include the following: a charging cable whose first interface 221 is a Type-A interface and whose second interface 222 is a Type-C interface; a charging cable whose first interface 221 and the second interface 222 are both Type-C interfaces; a charging cable whose first interface 221 is a headphone interface and whose second interface is a Type-C interface. Of course, there may be any other feasible charging cables in practice, and this application does not make specific restrictions on this. In the embodiment of the present application, the first interface 221 of the charging cable 22 and the specific interface of the power adapter 21 should be interfaces that comply with the same interface standard. The second interface 222 of the charging cable 22 and the charging interface of the electronic device 10 should be interfaces that comply with the same interface standard.
[0068] In addition, in addition to the power adapter 21 that can supply power to the electronic device through the charging cable 22 after being connected to a power source (such as the mains), other devices (such as laptops, computer hosts, etc.) that have a specific interface (such as a Type-A interface) can also supply power to the electronic device 10 through the charging cable 22. Of course, in addition to using a charging cable (power adapter, laptop) to supply power to the electronic device, the power supply device can also supply power to the electronic device 10 by wireless charging.
[0069] The electronic device 10 includes a charging interface 11, a first charging chip 12, a second charging chip 13, a third charging chip 14, a battery 15 and a system load 16. The battery 15 is connected to the charging interface 11 and the system load 17 through the first charging chip 12, the second charging chip 13 and the third charging chip 14 connected in parallel. The first charging chip 12, the second charging chip 13 and the third charging chip 14 receive electric energy provided by a power supply device (such as a charger) through the charging interface and charge the battery. Among them, the electronic device can realize high-power charging (i.e., fast charging) of the battery through the first charging chip 12 and the second charging chip 13. Among them, the first charging chip and the second charging chip are equivalent to Figure 1 The main fast charging chip and auxiliary fast charging chip in it.
[0070] The electronic device can also use the third charging chip 14 to achieve low-power charging of the battery (i.e., charging in a preset charging method in subsequent embodiments). The third charging chip is equivalent to Figure 1 The power management chip in the .
[0071] In the case of fast charging of the battery, it can be charged from zero to full power within the first preset time. When the charging conditions cannot achieve fast charging, the electronic device charges the battery through a third charging chip in a preset charging method, which can specifically be buck charging. When the electronic device uses the third charging chip to charge the battery in a preset charging method, the battery can be charged from zero to full power within a second preset time (greater than the first preset time).
[0072] The embodiments of the present application mainly introduce the shutdown control of the first fast charging chip and the second fast charging chip when the electronic device exits fast charging, so as to reduce the damage to the fast charging chip when exiting fast charging, thereby reducing the safety hazard of charging the electronic device.
[0073] In the present application, the above-mentioned electronic device can be a mobile phone, a tablet computer, a wearable device, a vehicle-mounted device, an augmented reality (AR) / virtual reality (VR) device, a laptop computer, an ultra-mobile personal computer (UMPC), a netbook, a personal digital assistant (PDA), etc., which adopts a multi-battery series system to supply power. The embodiments of the present application do not impose any restrictions on the specific type of the electronic device.
[0074] Take the example of a mobile phone being an electronic device. Figure 5 A schematic structural diagram of an electronic device provided in the present application is shown.
[0075] Reference Figure 5As shown, the electronic device may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a display screen 193, a subscriber identification module (SIM) card interface 194, and a camera 195, etc. Among them, the sensor module 180 may include a pressure sensor, a gyroscope sensor, an air pressure sensor, a magnetic sensor, an acceleration sensor, a distance sensor, a proximity light sensor, a fingerprint sensor, a temperature sensor, a touch sensor, an ambient light sensor, a bone conduction sensor, etc.
[0076] The processor 110 may include one or more processing units, for example, the processor 110 may include an application processor (AP), a modem processor, a graphics processor (GPU), an image signal processor (ISP), a controller, a memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Different processing units may be independent devices or integrated into one or more processors.
[0077] The controller can be the nerve center and command center of the electronic device. The controller can generate operation control signals according to the instruction operation code and timing signal to complete the control of fetching and executing instructions.
[0078] The processor 110 may also be provided with a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may store instructions or data that the processor 110 has just used or cyclically used. If the processor 110 needs to use the instruction or data again, it may be directly called from the memory. This avoids repeated access, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.
[0079] In some embodiments, the processor 110 may include one or more interfaces. The interface may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface, etc.
[0080] The charging management module 140 is used to receive charging input from a power supply device (e.g., a charger, a laptop power supply, etc.). The charger may be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 may receive charging input from a wired charger through the USB interface 130. In some wireless charging embodiments, the charging management module 140 may receive wireless charging input through a wireless charging coil of the electronic device.
[0081] While charging the battery 142, the charging management module 140 can also power the electronic device through the power management module 141. The battery 142 can be composed of multiple batteries connected in series. The power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110.
[0082] The power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and / or the charging management module 140, and supplies power to the processor 110, the internal memory 121, the display screen 193, the camera 195, and the wireless communication module 160. The power management module 141 can also be used to monitor parameters such as the battery voltage, current, battery cycle number, battery health status (leakage, impedance), etc. In some other embodiments, the power management module 141 can also be set in the processor 110. In other embodiments, the power management module 141 and the charging management module 140 can also be set in the same device, for example, the power management module 141 and the charging management module 140 can be different functional modules in the same chip.
[0083] In an embodiment of the present application, the power management module 141 and / or the charging management module 140 include the first charging chip, the second charging chip and the third charging chip connected in parallel in the present application. Whether the charging paths of the first charging chip, the second charging chip and the third charging chip are turned on or off is controlled by the processor. In an embodiment of the present application, the first charging chip and the second charging chip can be two fast charging chips with different specifications, such as an 8A fast charging chip and a 5A fast charging chip. The power management module 141 and / or the charging management module 140 can use two fast charging chips to achieve high-power charging of the battery.
[0084] The external memory interface 120 can be used to connect to an external non-volatile memory to expand the storage capacity of the electronic device. The external non-volatile memory communicates with the processor 110 through the external memory interface 120 to implement a data storage function. For example, files such as music and videos are stored in the external non-volatile memory.
[0085] The internal memory 121 may include one or more random access memories (RAM) and one or more non-volatile memories (NVM). The random access memory can be directly read and written by the processor 110, and can be used to store executable programs (such as machine instructions) of the operating system or other running programs, and can also be used to store user and application data. The non-volatile memory can also store executable programs and store user and application data, etc., and can be loaded into the random access memory in advance for direct reading and writing by the processor 110.
[0086] A touch sensor is also called a "touch control device". The touch sensor can be arranged on the display screen 193. The touch sensor and the display screen 193 form a touch screen, also called a "touch control screen". The touch sensor is used to monitor touch operations acting on or near it. The touch sensor can pass the monitored touch operations to the application processor to determine the type of touch event. Visual output related to the touch operation can be provided through the display screen 193. In other embodiments, the touch sensor can also be arranged on the surface of the electronic device, which is different from the position of the display screen 193.
[0087] The pressure sensor is used to sense the pressure signal and can convert the pressure signal into an electrical signal. In some embodiments, the pressure sensor can be set on the display screen 193. There are many types of pressure sensors, such as resistive pressure sensors, inductive pressure sensors, capacitive pressure sensors, etc. When a touch operation is applied to the display screen 193, the electronic device monitors the touch operation intensity according to the pressure sensor. The electronic device can also calculate the touch position based on the monitoring signal of the pressure sensor. In some embodiments, touch operations acting on the same touch position but with different touch operation intensities can correspond to different operation instructions. For example: when a touch operation with a touch operation intensity less than the first pressure threshold acts on the short message application icon, an instruction to view the short message is executed. When a touch operation with a touch operation intensity greater than or equal to the first pressure threshold acts on the short message application icon, an instruction to create a new short message is executed.
[0088] The electronic device implements the display function through a GPU, a display screen 193, and an application processor. The GPU is a microprocessor for image editing, connecting the display screen 193 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs that execute program instructions to generate or change display information.
[0089] The electronic device can realize the shooting function through ISP, camera 195, video codec, GPU, display screen 193 and application processor.
[0090] ISP is used to process data fed back by camera 195. For example, when taking a photo, the shutter is opened, and light is transmitted to the camera photosensitive element through the lens. The light signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to the ISP for processing and converts it into an image visible to the naked eye. ISP can also perform algorithm optimization on the noise and brightness of the image. ISP can also optimize parameters such as exposure and color temperature of the shooting scene. In some embodiments, ISP can be set in camera 195. Camera 195 is used to capture still images or videos. In some embodiments, the electronic device may include 1 or N cameras, where N is a positive integer greater than 1. Camera 195 can be a front camera or a rear camera.
[0091] Digital signal processors are used to process digital signals. In addition to processing digital image signals, they can also process other digital signals. For example, when an electronic device selects a frequency point, a digital signal processor is used to perform Fourier transform on the frequency point energy.
[0092] The display screen 193 is used to display images, videos, etc. The display screen 193 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light emitting diode or an active-matrix organic light emitting diode (AMOLED), a flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-oLed, a quantum dot light-emitting diode (QLED), etc. In some embodiments, the electronic device may include 1 or N display screens 193, where N is a positive integer greater than 1.
[0093] In an embodiment of the present application, the display screen 193 can be used to display the interface of the electronic device (for example, a camera preview interface, a video preview interface, a finished film preview interface, etc.), and display images taken from any one or more cameras 195 in the interface.
[0094] The wireless communication function of the electronic device can be implemented through antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, modem and baseband processor.
[0095] Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in the electronic device can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve the utilization of the antennas.
[0096] The mobile communication module 150 can provide solutions for wireless communications including 2G / 3G / 4G / 5G, etc., applied to electronic devices. The mobile communication module 150 can receive electromagnetic waves through the antenna 1, and filter, amplify, and process the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modulation and demodulation processor, and convert it into electromagnetic waves for radiation through the antenna 1. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the same device as at least some of the modules of the processor 110.
[0097] The modem processor may include a modulator and a demodulator. Among them, the modulator is used to modulate the low-frequency baseband signal to be sent into a medium-high frequency signal. The demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After the low-frequency baseband signal is processed by the baseband processor, it is passed to the application processor. The application processor outputs a sound signal through an audio device (not limited to a speaker 170A, a receiver 170B, etc.), or displays an image or video through a display screen 193. In some embodiments, the modem processor may be an independent device. In other embodiments, the modem processor may be independent of the processor 110 and be set in the same device as the mobile communication module 150 or other functional modules.
[0098] The wireless communication module 160 can provide wireless communication solutions including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR), etc., which are applied to electronic devices. The wireless communication module 160 can be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, modulates the frequency of the electromagnetic wave signal and performs filtering, and sends the processed signal to the processor 110. The wireless communication module 160 can also receive the signal to be sent from the processor 110, modulate the frequency of it, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2.
[0099] The SIM card interface 194 is used to connect a SIM card. The SIM card can be connected to or disconnected from the electronic device by inserting it into or removing it from the SIM card interface 194. The electronic device can support one or more SIM card interfaces. The SIM card interface 194 can support Nano SIM cards, Micro SIM cards, SIM cards, etc. Multiple cards can be inserted into the same SIM card interface 194 at the same time. The SIM card interface 194 can also be compatible with external memory cards. The electronic device interacts with the network through the SIM card to implement functions such as calls and data communications. One SIM card corresponds to one user number.
[0100] It is understandable that the interface connection relationship between the modules illustrated in the embodiment of the present invention is only a schematic illustration and does not constitute a structural limitation of the electronic device. In other embodiments of the present application, the electronic device may also adopt different interface connection methods in the above embodiments, or a combination of multiple interface connection methods.
[0101] Of course, it is understandable that the above Figure 5 The figure is only an exemplary description when the electronic device is in the form of a mobile phone. If the electronic device is in the form of a tablet computer, a handheld computer, a PC, a PDA, a wearable device (such as a smart watch, a smart bracelet), etc., the structure of the electronic device may include Figure 5 The structure shown in the figure is less than Figure 5 More structures are shown in the figure, which are not limited here.
[0102] It is understandable that, in general, the realization of electronic device functions requires the support of hardware and the cooperation of software. The software system of the electronic device can adopt a layered architecture, an event-driven architecture, a micro-kernel architecture, a micro-service architecture, or a cloud architecture. Taking the system as an example, the software structure of the electronic device is illustrated.
[0103] Figure 6 A schematic diagram of a layered architecture of a software system of an electronic device provided in an embodiment of the present application. The layered architecture divides the software into several layers, each with clear roles and division of labor. The layers communicate with each other through software interfaces (such as APIs).
[0104] In some examples, reference Figure 6 As shown, in an embodiment of the present application, the software of the electronic device is divided into four layers, namely, from top to bottom, an application layer, a framework layer (or called an application framework layer), a system library and an Android runtime (android runtime), a HAL layer (hardware abstraction layer) and a driver layer (or called a kernel layer).
[0105] The application layer can include a series of applications. Figure 6 As shown, the application layer may include applications (APP) such as camera, gallery, calendar, map, WLAN, Bluetooth, music, video, short message, call, contact, live broadcast, etc. Among them, the call application and contact may be factory preset in the electronic device, or may be a third-party application for user calls provided by the application market.
[0106] The framework layer provides an application programming interface (API) and a programming framework for the applications in the application layer. The application framework layer includes some predefined functions. For example, the application framework layer may include an activity manager, a window manager, a content provider, a view system, a phone manager, a resource manager, a notification manager, etc., and the embodiments of the present application do not impose any restrictions on this.
[0107] The window manager is used to manage window programs. The window manager can obtain the display screen size, determine whether there is a status bar, lock the screen, capture the screen, etc.
[0108] Content providers are used to store and retrieve data and make it accessible to applications. The data may include videos, images, audio, calls made and received, browsing history and bookmarks, phone books, etc.
[0109] The view system includes visual controls, such as controls for displaying text, controls for displaying images, etc. The view system can be used to build applications. A display interface can be composed of one or more views. For example, a display interface including a text notification icon can include a view for displaying text and a view for displaying images.
[0110] The phone manager is used to provide communication functions of the electronic device. For example, the phone manager can manage the call status of the call application (including initiation, connection, hang up, etc.).
[0111] The resource manager provides various resources for applications, such as localized strings, icons, images, layout files, video files, and so on.
[0112] The notification manager enables applications to display notification information in the status bar. It can be used to convey notification-type messages and can disappear automatically after a short stay without user interaction. For example, the notification manager is used to notify download completion, message reminders, etc. The notification manager can also be a notification that appears in the system top status bar in the form of a chart or scroll bar text, such as notifications of applications running in the background, or a notification that appears on the screen in the form of a dialog window. For example, a text message is displayed in the status bar, a prompt sound is emitted, an electronic device vibrates, an indicator light flashes, etc.
[0113] In the embodiment of the present application, the framework layer may include a battery manager (BattertManager) and a battery service (BatteryService). The battery manager provides a set of APIs for accessing and obtaining relevant information about the battery of the electronic device. The battery manager can also call the battery driver (BatteryDriver) in the driver layer in the driver layer through the battery service to realize the charging process, power management, battery status detection and charging current and voltage control of the electronic device.
[0114] In the embodiment of the present application, the cooperation between the battery manager, the battery service and the battery management driver can complete the control of the fast charging chip in the electronic device by the power management chip when the electronic device exits the fast charging mode. Of course, in practice, in order to realize the control of the fast charging chip, the software architecture of the electronic device can also include any other feasible components, and this application does not make specific restrictions on this.
[0115] The system library can include multiple functional modules. For example: surface manager, media library, OpenGL ES, SGL, etc. The surface manager is used to manage the display subsystem and provide fusion of 2D and 3D layers for multiple applications. The media library supports playback and recording of a variety of commonly used audio and video formats, as well as static image files, etc. The media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc. OpenGL ES is used to implement 3D graphics drawing, image rendering, synthesis, and layer processing, etc. SGL is a drawing engine for 2D drawing.
[0116] The Android runtime includes the core library and the ART virtual machine. The Android runtime is responsible for the scheduling and management of the Android system. The core library consists of two parts: one is the function that the Java language needs to call, and the other is the Android core library. The application layer and the application framework layer run in the ART virtual machine. The ART virtual machine executes the Java files of the application layer and the application framework layer as binary files. The ART virtual machine is used to perform object life cycle management, stack management, thread management, security and exception management, and garbage collection.
[0117] The HAL layer is an interface layer between the operating system kernel and the hardware circuit, and its purpose is to abstract the hardware. It hides the hardware interface details of a specific platform and provides a virtual hardware platform for the operating system, making it hardware-independent and portable on multiple platforms. The HAL layer provides a standard interface to display device hardware functions to the higher-level Java API framework (i.e., the framework layer). The HAL layer contains multiple library modules, each of which implements an interface for a specific type of hardware component, such as: audio HAL audio module, bluetooth HAL Bluetooth module, camera HAL camera module, sensors HAL sensor module (or Isensor service, sensor service).
[0118] The kernel layer is the layer between hardware and software. The kernel layer includes at least display driver, camera driver, audio driver, sensor driver, battery driver, etc., which are not limited in this application.
[0119] Based on the above hardware architecture and software architecture, the control method provided in the embodiment of the present application is introduced below by taking the electronic device as a mobile phone as an example.
[0120] Based on the above hardware architecture and software structure, the following combination Figure 7 , the control method provided in the embodiment of the present application is described in detail. Figure 7 A flow chart of a control method is provided for an embodiment of the present application. The method can be applied to an electronic device, wherein the electronic device includes a plurality of charging chips and batteries connected in parallel, wherein the plurality of charging chips include a first charging chip, a second charging chip and a third charging chip; the electronic device can use the first charging chip and the second charging chip to quickly charge the battery and enter a fast charging mode; in the fast charging mode, the battery of the electronic device can be charged from zero to full within a first preset time (e.g., 1 hour). The electronic device can also use the third charging chip to charge the battery and enter a preset charging mode (e.g., buck charging mode); in the preset charging mode, the battery of the electronic device can be charged from zero to full within a second preset time (e.g., 3 hours), and the second preset time is greater than the first preset time. Reference Figure 7 As shown, taking the electronic device as a mobile phone as an example, the control method provided in the embodiment of the present application may include S701-S705:
[0121] S701. When the mobile phone is in fast charging mode, obtain fast charging parameters.
[0122] When the mobile phone is in fast charging mode, the mobile phone charges the battery through the first charging chip and the second charging chip. In fast charging mode, the power of the mobile phone battery can be changed from zero to full power within a first preset time. Exemplarily, the first preset time can be 1 hour. In some embodiments, both the first charging chip and the second charging chip can be called fast charging chips. Exemplarily, the first charging chip can be a 5A fast charging chip, and the second charging chip can be an 8A fast charging chip.
[0123] In some embodiments, the fast charging chip can be understood as a charge pump, whose function is to reduce the input voltage (the voltage of the electric energy provided by the power supply device through the charging interface) and increase the input current (the current of the electric energy provided by the power supply device through the charging interface). For example, the input voltage and input current of a 5A fast charging chip can be 10V2A, and the output voltage and output current can be 5V4A; the 5A fast charging chip can output 5A current under normal working conditions. For another example, the input voltage and input current of an 8A fast charging chip can be 10V4A, and the output voltage and output current can be 5V8A; the 8A fast charging chip can output 8A current under normal working conditions.
[0124] Specifically, the implementation of charging the battery of the mobile phone through the first charging chip and the second charging chip can be completed by the processor in the mobile phone (or can be called system on chip (SOC)). Exemplarily, taking wired charging as an example, after the charging interface of the mobile phone receives power from the charging cable, if the current conditions of the mobile phone are normal (for example, the battery parameters are within the normal range, the power supply device is the power adapter of the corresponding mobile phone, etc.), the processor in the mobile phone can open the charging path of the first charging chip and the second charging chip to charge the battery through the first charging chip and the second charging chip, so that the mobile phone enters the fast charging mode.
[0125] The control method provided in this application is applied in the scenario where the mobile phone needs to exit the fast charging mode. Based on this, it is necessary to first determine whether the mobile phone needs to exit the fast charging scenario, and the fast charging scenario can be determined by the parameters related to the mobile phone exiting the fast charging mode, namely the fast charging parameters. Based on this, the technical solution provided in this application first needs to obtain the fast charging parameters of the mobile phone in the fast charging mode.
[0126] Exemplarily, the fast charging parameters may include battery temperature, battery power, charging connection abnormality information indicating whether the charging cable is abnormally connected to the charging port of the mobile phone, etc. In practice, if the battery temperature is too low or too high, charging may not be safe enough, and you need to exit the fast charging mode; if the battery power exceeds the preset percentage, you need to exit the fast charging mode to avoid putting too much pressure on the battery; if the charging cable is abnormally connected to the charging port, there may be charging safety issues, and you need to exit the fast charging mode.
[0127] The method for the mobile phone to obtain the fast charging parameters can be any feasible method. For example, taking the battery temperature as an example, the mobile phone can detect the battery NTC temperature through a pre-configured NTC thermistor, and determine the battery temperature compensation parameter based on the charging current (the current of the power provided to the mobile phone by the charging cable), and then obtain the battery temperature based on the sum of the battery NTC temperature and the battery temperature compensation parameter.
[0128] After the mobile phone obtains the fast charging parameters in the fast charging mode, it can determine whether the mobile phone needs to exit the fast charging mode based on the fast charging parameters, that is, execute S702.
[0129] S702. The mobile phone determines a fast charge exit result according to the fast charge parameters.
[0130] The fast charge exit result is used to indicate that the mobile phone needs to exit the fast charge mode or to indicate that the mobile phone does not need to exit the fast charge mode. In the case where the fast charge exit result is used to indicate that the mobile phone needs to exit the fast charge mode, the mobile phone needs to disconnect the charging paths of all fast charge chips (the first charging chip and the second charging chip) in sequence to exit the fast charge mode, that is, execute S703 and S704.
[0131] In some embodiments, if the fast charging parameters do not meet the preset conditions, it can be considered that there is a safety hazard in charging the mobile phone in fast charging mode, and it is necessary to exit the fast charging mode. Figure 7 , refer to Figure 8 As shown, S702 may specifically include S7021-S7023:
[0132] S7021. The mobile phone determines whether the fast charging parameters meet the preset conditions.
[0133] In one achievable manner, if the fast charging parameter includes the battery temperature, the preset condition includes that the battery temperature is within the fast charging preset temperature range. Among them, the fast charging preset temperature range can be 10°C to 45°C. The fast charging preset temperature range can be obtained by controlling the mobile phone to be in the fast charging mode for multiple times, and counting the multiple battery temperatures of the mobile phone without charging safety problems (battery burning, battery leakage, battery bulging). Specifically, it is statistically concluded that if the battery temperature of the mobile phone is within the fast charging preset temperature range, the probability of charging safety problems occurring during fast charging is the smallest. Based on this, when the mobile phone is in fast charging mode, if the battery temperature is within the fast charging preset temperature range, it can be indicated that it is safe for the mobile phone to continue charging in fast charging mode, and there is no need to exit the fast charging mode. When the mobile phone is in fast charging mode, if the battery temperature is no longer within the fast charging preset temperature range, it can be indicated that there is a safety risk for the mobile phone to continue charging in fast charging mode, and it is necessary to exit the fast charging mode.
[0134] In another achievable manner, if the fast charging parameter includes the battery power, the preset condition includes that the battery power is less than a preset percentage of the total battery power. Among them, the preset percentage can be 80% or any other feasible value. The preset percentage can be obtained by putting the mobile phone in fast charging mode multiple times and counting the changes in battery performance after the mobile phone continues to be in fast charging mode at different battery powers. Specifically, it is statistically concluded that if the battery power of the mobile phone is less than the preset percentage of the total battery power and the fast charging mode is exited, the impact on battery performance is minimal. Based on this, when the mobile phone is in fast charging mode, if the battery power is less than the preset percentage of the total battery power, it can be indicated that the impact of the mobile phone continuing to charge in fast charging mode on the battery is minimal, and there is no need to exit the fast charging mode. When the mobile phone is in fast charging mode, if the battery power is greater than the preset percentage of the total battery power, it can be indicated that the impact of the mobile phone continuing to charge in fast charging mode on the battery is large, which may cause the battery performance to deteriorate, and it is necessary to exit the fast charging mode.
[0135] In another achievable manner, if the fast charging parameters include charging connection abnormality information indicating whether the charging cable is abnormally connected to the charging interface of the mobile phone, the preset condition includes the connection abnormality information indicating that there is no abnormality in the connection between the charging cable and the charging interface. When the connection between the charging cable and the charging interface is abnormal, if the mobile phone continues to be in fast charging mode, the high voltage and high current in the fast charging mode may more easily cause the interface between the charging cable and the charging interface to flash or burn, resulting in a dangerous situation, so the mobile phone needs to exit the fast charging mode at this time. When there is no abnormality in the connection between the charging cable and the charging interface, continue to keep the mobile phone in fast charging mode, and it is impossible to cause dangerous situations such as flashing or burning at the interface between the charging cable and the charging interface, so the mobile phone does not need to exit the fast charging mode at this time.
[0136] Based on the above statement, if the fast charging parameters do not meet the preset conditions, it means that the fast charging parameters of the mobile phone in the fast charging mode are abnormal, which may cause safety hazards to the mobile phone. The mobile phone can determine that the fast charging exit result is used to indicate that the mobile phone needs to exit the fast charging mode, that is, execute S7022. If the fast charging parameters meet the preset conditions, it means that the fast charging parameters of the mobile phone in the fast charging mode are not abnormal, and the mobile phone can determine that the fast charging exit result is used to indicate that the mobile phone does not need to exit the fast charging mode, that is, execute S7023.
[0137] S7022. The mobile phone determines that the fast charge exit result is used to indicate that the mobile phone needs to exit the fast charge mode.
[0138] When the fast charge exit result indicates that the mobile phone needs to exit the fast charge mode, the mobile phone can start to disconnect the charging path of the fast charge chip to exit the fast charge mode. That is, S703 and S704 are executed.
[0139] S7023. The mobile phone determines that the fast charge exit result is used to indicate that the mobile phone does not need to exit the fast charge mode.
[0140] When the fast charge exit result is used to indicate that the mobile phone does not need to exit the fast charge mode, the mobile phone can continue to maintain the charging path of the fast charge chip to keep the mobile phone in the fast charge mode.
[0141] It should be noted that in practice, the mobile phone may not perform the judgment of S7021, but may execute S7022 when it is determined that the fast charging parameters meet the preset conditions, and execute S7023 when it is determined that the fast charging parameters do not meet the preset conditions. That is, S702 may specifically include: when the fast charging parameters meet the preset conditions, the mobile phone determines that the fast charging exit result is used to indicate that the mobile phone needs to exit the fast charging mode; when the fast charging parameters do not meet the preset conditions, the mobile phone determines that the fast charging exit result is used to indicate that the mobile phone does not need to exit the fast charging mode.
[0142] Based on the technical solutions corresponding to the above S7021-S7023, the mobile phone can accurately determine whether it is necessary to exit the fast charging mode at present, and then determine whether to control the charging path of the fast charging chip.
[0143] S703: When the fast charge exit result indicates that the mobile phone needs to exit the block mode, the mobile phone disconnects the charging path of the first fast charge chip.
[0144] Among them, the first fast charging chip is the one with smaller current carrying capacity between the first charging chip and the second charging chip.
[0145] In some embodiments, the carrying capacity of the carrying current can be characterized by an OCP threshold, and the larger the OCP threshold, the stronger the carrying capacity of the carrying current. Based on this, the first fast charging chip is the one with a smaller OCP threshold between the first charging chip and the second charging chip.
[0146] In the case where the fast charge exit result indicates that the mobile phone needs to exit the fast charge mode, the mobile phone needs to disconnect the charging paths of all fast charge chips to allow the mobile phone to exit the fast charge mode. However, since the charging paths of the fast charge chips need to be disconnected in sequence in practice, the fast charge chip that is disconnected later may be at risk of overcurrent. And since the total charging current (the current of the electric energy received by the charging interface) will change during the charging process, the stronger the current carrying capacity of the fast charge chip that disconnects the charging path later, the smaller the probability of overcurrent risk. Based on this, in the case where the fast charge exit result indicates that the mobile phone needs to exit the fast charge mode, the mobile phone can first disconnect the charging path of the first fast charge chip with a smaller current carrying capacity, and then disconnect the charging path of the second fast charge chip with a larger current carrying capacity. In this way, when the mobile phone exits the fast charge mode, the probability of overcurrent risk of the fast charge chip that disconnects the charging path later can be reduced, thereby reducing the risk of safety hazards in the mobile phone.
[0147] When the fast charge exit result indicates that the mobile phone needs to exit the fast charge mode and the charging path of the first fast charge chip has been disconnected, the charging path of the second fast charge chip is disconnected, that is, S704 is executed.
[0148] S704. The mobile phone disconnects the charging path of the second fast charging chip.
[0149] The second fast charging chip is the one with a larger current carrying capacity between the first charging chip and the second charging chip. Alternatively, the second fast charging chip is the one with a larger OCP threshold between the first charging chip and the second charging chip.
[0150] Since the current carrying capacity of the second fast charging chip that disconnects the charging path of the mobile phone is the larger of the two fast charging chips (the first charging chip and the second charging chip), and the total charging current (the current of the electric energy received by the charging interface) during the charging process will change, the stronger the current carrying capacity of the fast charging chip that disconnects the charging path, the smaller the probability of overcurrent risk. Based on this, when the fast charging exit result indicates that the mobile phone needs to exit the fast charging mode, the mobile phone can disconnect the charging path of the second fast charging chip with a larger current carrying capacity, so that when the mobile phone exits the fast charging mode, the probability of overcurrent risk of the fast charging chip that disconnects the charging path last is reduced, thereby reducing the risk of safety hazards in the mobile phone.
[0151] After the mobile phone disconnects all fast charging chips, if the battery of the mobile phone is not fully charged, the mobile phone needs to continue charging. At this time, the mobile phone can use a common charging chip to charge the battery. That is, S705 is executed.
[0152] S705. The mobile phone uses the third charging chip to charge the battery in a preset charging mode.
[0153] When the mobile phone is charged in the preset charging mode, the battery of the mobile phone can be charged from zero to full within a second preset time (e.g., 3 hours), and the second preset time is longer than the first preset time. Exemplarily, the preset charging mode can be a Buck charging mode.
[0154] In the embodiment of the present application, S703-S705 may be implemented by a processor (or SOC) in the mobile phone. When the processor implements S703-S705, it may be implemented specifically through a battery manager, battery service, and battery driver in the software architecture of the mobile phone.
[0155] Based on the technical solution provided by the implementation of this application, when the mobile phone needs to exit the fast charging mode, the mobile phone can disconnect the charging paths of the two fast charging chips (i.e., the first charging chip and the second charging chip) in order from small to large in terms of the carrying capacity of the carrying current. Since the fast charging chip that is disconnected later has a stronger carrying capacity for carrying current, and the total charging current (the current of the electric energy received by the charging interface) during the charging process will change, the probability of overcurrent risk will be lower for the fast charging chip that disconnects the charging path later. In this way, when the mobile phone exits the fast charging mode, the probability of overcurrent risk for the fast charging chip that disconnects the charging path later can be reduced, thereby reducing the risk of safety hazards in the mobile phone.
[0156] Although disconnecting the two fast-charging chips in order from small to large in terms of the carrying capacity of the carrying current can reduce the probability of overcurrent risk in the fast-charging chip that disconnects the charging path later. However, if the total charging current of the mobile phone is greater than the maximum current that the fast-charging chip that is disconnected later can carry before determining to exit the fast-charging mode, it will still cause an overcurrent risk in the fast-charging chip that disconnects the charging path later, causing a safety hazard to the mobile phone. Based on this, when it is determined that the mobile phone needs to exit the fast-charging mode, if the total charging current is greater than the maximum current that the fast-charging chip that is disconnected later can carry, the total charging current can be reduced until the total charging current is less than the maximum current that the fast-charging chip that is disconnected later can carry, and then the two fast-charging chips can be disconnected in order from small to large in terms of the carrying capacity of the carrying current. In this way, it can be further ensured that the fast-charging chip that disconnects the charging path later will not have an overcurrent risk, thereby avoiding safety hazards to the mobile phone.
[0157] Based on this, combined Figure 8 , refer to Fig. 9 As shown, in the control method provided by the present application, when the mobile phone determines that the fast charge exit result is used to indicate that the mobile phone needs to exit the fast charge mode, the method further includes S901 and S902:
[0158] S901. The mobile phone obtains a total current value of a total charging current.
[0159] In the embodiment of the present application, the total charging current is the sum of the charging currents of the first fast charging chip and the second fast charging chip, and is also the current of the electric energy provided by the power supply device through the charging interface of the mobile phone.
[0160] The specific method for the mobile phone to obtain the total current value of the total charging current can be any feasible method, and this application does not impose any specific restrictions on this. For example, it can be obtained by the battery drive in the mobile phone, or it can be detected by the charging port in the mobile phone.
[0161] It should be noted that in practice, S901 can be executed at any time before S703. Fig. 9 The example of S901 being executed between S7022 and S703 is used for illustration only, and is not intended to limit the actual situation. In some possible implementations, S901 may be executed in real time or periodically.
[0162] S902: When the total current value is greater than the target current value of the maximum current that the second fast charging chip can carry, the mobile phone controls the total charging current to be reduced to a total current value less than the target current value.
[0163] In an embodiment of the present application, the situation where the total current value is greater than the target current value of the maximum current that the second fast charging chip can carry can be considered as a high current situation. In some embodiments, the target current value of the maximum current that the fast charging chip can carry is the OCP threshold of the fast charging chip. In other words, S902 can specifically be that when the total current value is greater than the OCP threshold of the second fast charging chip, the mobile phone controls the total charging current to be reduced to a total current value less than or equal to the OCP threshold of the second fast charging chip.
[0164] In practice, the total charging current Ibus and the total charging voltage Vbus (the voltage of the electric energy provided by the power supply device through the charging interface) of the mobile phone are positively correlated, so the mobile phone controls the total charging current to be reduced to a total current value less than or equal to the target current value, either by directly controlling the total charging current Ibus to be reduced, or by controlling Vbus to be reduced to achieve the purpose of reducing Ibus. In the process of controlling Ibus to be reduced, the mobile phone can detect the value of Ibus in real time, and when Ibus is reduced to the target current value, it will no longer control Ibus to be reduced.
[0165] When the total current value is less than the target current value of the maximum current that the second fast charging chip can carry, it can be considered that even if the current total charging current is all carried by the second fast charging chip that disconnects the charging path later, it will not cause the second fast charging chip to be in an overcurrent state. At this time, the mobile phone directly disconnects the two fast charging chips (i.e., the first charging chip and the second charging chip) in order from small to large in terms of the carrying capacity of the current. That is, execute S703-S705.
[0166] For example, taking the first fast charging chip as a 5A fast charging chip, the second fast charging chip as an 8A fast charging chip, and the OCP threshold of the 8A fast charging chip as 4.75A, when the total current value is greater than the target current value of the maximum current that the second fast charging chip can carry, the mobile phone controls the total charging current to be reduced to a total current value less than or equal to the target current value, and then sequentially controls the Ibus change curve of shutting down the first fast charging chip and the second fast charging chip. Fig.10 When Ibus is greater than 4.75A, if the phone decides to exit the fast charging mode, the phone can first control Ibus to gradually decrease to less than or equal to 4.75A. After that, the phone can turn off all fast charging chips in turn, and Ibus will jump to 0.
[0167] When the total current value is less than the target current value of the maximum current that the second fast charging chip can carry, the mobile phone directly controls the first fast charging chip and the second fast charging chip to turn off the Ibus change curve as shown below: Fig.10 When Ibus is less than 4.75A, if the phone decides to exit fast charging mode, the phone can directly turn off all fast charging chips in sequence, and Ibus will jump to 0.
[0168] In the embodiment of the present application, the situation where the total current value is equal to the target current value can be attributed to the situation where the total current value is greater than the target current value, or it can be attributed to the situation where the total current value is less than the target current value. The present application does not make any specific restrictions on this.
[0169] Based on the above technical solution, when the mobile phone needs to exit the fast charging mode, if the total charging current is greater than the target current value of the maximum current that can be carried by the second fast charging chip that disconnects the charging path later, the mobile phone can first reduce the total charging current to a total current value less than or equal to the target current value, and then disconnect the charging paths of the two fast charging chips (i.e., the first charging chip and the second charging chip) in order from small to large in terms of the carrying capacity of the carrying current. Since the fast charging chip that is disconnected later has a stronger carrying capacity for carrying current, and the total current value of the total charging current (the current of the electric energy received by the charging interface) is less than the target current value when the first fast charging chip is disconnected, the second fast charging chip that disconnects the charging path later will not have an overcurrent risk. In this way, when the mobile phone exits the fast charging mode, the fast charging chip that disconnects the charging path later will not have an overcurrent risk, thereby avoiding safety hazards in the mobile phone.
[0170] In addition, in practice, there are some special cases where it may be necessary to cut off the power immediately when exiting the fast charging mode. For example, when the mobile phone detects that the charging cable transmits illegal data while charging, or when the mobile phone detects that the charging voltage or charging current is very large, it is necessary to cut off the power immediately, that is, immediately turn off all the fast charging chips. At this time, if the mobile phone performs the operation of reducing the total charging current, it will take a certain amount of time and there will be safety hazards. However, the above-mentioned technical solutions of S901 and S902 are only implemented in the case of a large current when the current value of the total charging current is greater than the target current value, and the existing mobile phones and other electronic devices are charged in a step-charging manner. The high current situation occurs for a short time during the entire charging process, so the probability of using the above-mentioned technical solution under high current conditions is also small, which reduces the risk of safety hazards in special circumstances. In other words, the impact of adjusting the total charging current in the above-mentioned technical solution on the safety hazards of mobile phones is controllable.
[0171] Of course, in order to further avoid the potential safety hazards that may arise from the above technical solution, in practice, when the mobile phone determines that it needs to exit the fast charging mode and the total current value of the total charging current is greater than the target current value, it can first detect whether the current exit from the fast charging mode is a special case. If so, all fast charging chips are directly disconnected in sequence; if not, the above technical solution is executed.
[0172] It is understandable that, in order to realize the above functions, the above electronic device includes hardware structures and / or software modules corresponding to the execution of each function. Those skilled in the art should easily realize that, in combination with the units and algorithm steps of each example described in the embodiments disclosed herein, the embodiments of the present invention can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the embodiments of the present application.
[0173] The embodiment of the present application can divide the functional modules of the above-mentioned electronic device according to the above-mentioned method example. For example, each functional module can be divided corresponding to each function, or two or more functions can be integrated into one processing module. The above-mentioned integrated module can be implemented in the form of hardware or in the form of software functional modules. It should be noted that the division of modules in the embodiment of the present invention is schematic and is only a logical function division. There may be other division methods in actual implementation.
[0174] In the case of dividing each functional module into corresponding functional modules, refer to Fig.11As shown, the embodiment of the present application provides a control device applied to an electronic device, and the control device can implement the control method provided by the above embodiment. The control device can include: an acquisition module 1001, a determination module 1002 and a control module 1003.
[0175] Among them, the acquisition module 1001 is used to obtain fast charging parameters when the electronic device is in the fast charging mode; when the electronic device is in the fast charging mode, the electronic device quickly charges the battery through the first charging chip and the second charging chip; fast charging refers to a charging method for charging the electronic device so that the electronic device is charged from zero to full power within a first preset time; the fast charging parameters are related to whether the electronic device exits the fast charging mode; the determination module 1002 is used to determine the fast charging exit result according to the fast charging parameters obtained by the acquisition module 1001; the fast charging exit result is used to indicate that the electronic device needs to exit the fast charging mode or to indicate that the electronic device does not need to exit the fast charging mode; the control module 1003 is used to disconnect the charging path of the first fast charging chip when the fast charging exit result determined by the determination module 1002 indicates that the electronic device needs to exit the fast charging mode; the first fast charging chip is the one with a smaller current carrying capacity among the first charging chip and the second charging chip; the control module 1003 is also used to disconnect the charging path of the second fast charging chip; the second fast charging chip is the one with a larger current carrying capacity among the first charging chip and the second charging chip.
[0176] Optionally, the determination module 1002 is specifically used to: when the fast charging parameters obtained by the acquisition module 1001 meet the preset conditions, determine the fast charging exit result to indicate that the electronic device does not need to exit the fast charging mode; when the fast charging parameters obtained by the acquisition module 1001 do not meet the preset conditions, determine the fast charging exit result to indicate that the electronic device needs to exit the fast charging mode.
[0177] Optionally, the fast charging parameters include any one or more of the following: battery temperature, battery charge, and charging connection abnormality information; the charging connection abnormality information is used to indicate whether the charging cable is abnormally connected to the charging interface of the electronic device; when the fast charging parameters include battery temperature, the preset conditions include: the battery temperature is within the fast charging preset temperature range; when the fast charging parameters include battery charge, the preset conditions include: the battery charge is less than a preset percentage of the total battery charge; when the fast charging parameters include charging connection abnormality information, the preset conditions include: the charging connection abnormality information indicates that there is no abnormality in the connection between the charging cable and the charging interface of the electronic device.
[0178] Optionally, when the fast charge exit result is used to indicate that the electronic device needs to exit the fast charge mode, before the control module 1003 disconnects the charging path of the first fast charge chip, the acquisition module 1001 is also used to obtain the total current value of the total charging current; the total charging current is the current of the electric energy provided by the power supply device through the charging interface of the electronic device; when the total current value obtained by the acquisition module 1001 is greater than the target current value of the maximum current that the second fast charge chip can carry, the control module 1003 is also used to control the total charging current to be reduced to a total current value less than the target current value.
[0179] Optionally, the control module 1003 is specifically used to: reduce the total charging voltage by controlling the total charging current to be reduced to a total current value less than the target current value; the total charging voltage is the voltage of the electric energy provided by the power supply device through the charging interface of the electronic device.
[0180] Optionally, the overcurrent protection OCP threshold of the first fast charging chip is smaller than the OCP threshold of the second fast charging chip; the target current value of the maximum current that the second fast charging chip can carry is the OCP threshold of the second fast charging chip.
[0181] Optionally, the multiple parallel charging chips also include a third charging chip; after the control module 1003 disconnects the charging path of the second fast charging chip, it is also used to use the third charging chip to charge the battery in a preset charging mode; when the electronic device is charged in the preset charging mode, the battery of the electronic device can be charged from zero to full power within a second preset time length; the second preset time length is greater than the first preset time length.
[0182] Optionally, the preset charging mode is Buck charging mode.
[0183] Regarding the control device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the information display method in the above embodiment, and will not be elaborated here. The relevant beneficial effects can also refer to the relevant beneficial effects of the above information display method, and will not be repeated here.
[0184] The present application also provides an electronic device, which includes: a memory and one or more processors; the memory is coupled to the processor; wherein the memory stores computer program code, the computer program code includes computer instructions, and when the computer instructions are executed by the processor, the electronic device executes the control method provided in the above embodiment. The specific structure of the electronic device can be referred to Figure 5 The structure of the electronic device shown in .
[0185] An embodiment of the present application also provides a computer-readable storage medium, which includes computer instructions. When the computer instructions are executed on an electronic device, the electronic device executes the control method provided in the above embodiment.
[0186] An embodiment of the present application also provides a computer program product, which includes executable instructions. When the computer program product is run on an electronic device, the electronic device executes the control method provided in the above embodiment.
[0187] The present application also provides a chip system, such as Fig.12 As shown, the chip system 1100 includes at least one processor 1101 and at least one interface circuit 1102. The processor 1101 and the interface circuit 1102 can be interconnected through a line. For example, the interface circuit 1102 can be used to receive signals from other devices (such as a memory of an electronic device). For another example, the interface circuit 102 can be used to send signals to other devices (such as the processor 1101).
[0188] Exemplarily, the interface circuit 1102 can read the instruction stored in the memory and send the instruction to the processor 1101. When the instruction is executed by the processor 1101, the electronic device can execute each step in the above embodiment. Of course, the chip system can also include other discrete devices, which is not specifically limited in the embodiment of the present application.
[0189] Through the description of the above implementation methods, technical personnel in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.
[0190] In the several embodiments provided in the present application, it should be understood that the disclosed devices / equipment and methods can be implemented in other ways. For example, the device / equipment embodiments described above are only schematic. For example, the division of the modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0191] The units described as separate components may or may not be physically separated, and the components shown as units may be one physical unit or multiple physical units, that is, they may be located in one place or distributed in multiple different places. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0192] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0193] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium, including several instructions to enable a device (which can be a single-chip microcomputer, chip, etc.) or a processor (processor) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read only memory (ROM), random access memory (RAM), disk or optical disk and other media that can store program code.
[0194] The above contents are only specific implementation methods of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions within the technical scope disclosed in the present application shall be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
Claims
1. A control method, applied to an electronic device, the electronic device comprising a plurality of charging chips and batteries connected in parallel, the plurality of charging chips connected in parallel comprising a first charging chip and a second charging chip; characterized in that: The method comprises: When the electronic device is in the fast charging mode, the fast charging parameters are obtained; the fast charging parameters include any one or more of the following: battery temperature, battery power, and abnormal charging connection information; the abnormal charging connection information is used to indicate whether the charging cable is abnormally connected to the charging interface of the electronic device; when the electronic device is in the fast charging mode, the electronic device quickly charges the battery through the first charging chip and the second charging chip; the fast charging refers to a charging method for charging the electronic device so that the electronic device is charged from zero power to full power within a first preset time; the fast charging parameters are related to whether the electronic device exits the fast charging mode; The electronic device determines a fast charge exit result according to the fast charge parameter; the fast charge exit result is used to indicate that the electronic device needs to exit the fast charge mode or to indicate that the electronic device does not need to exit the fast charge mode; Wherein, the electronic device determines the fast charge exit result according to the fast charge parameter, including: when the fast charge parameter does not meet the preset condition, the electronic device determines the fast charge exit result to indicate that the electronic device needs to exit the fast charge mode; when the fast charge parameter includes the battery temperature, the preset condition includes: the battery temperature is within the fast charge preset temperature range; when the fast charge parameter includes the battery power, the preset condition includes: the battery power is less than a preset percentage of the total battery power; when the fast charge parameter includes the charging connection abnormality information, the preset condition includes: the charging connection abnormality information indicates that there is no abnormality in the connection between the charging cable and the charging interface of the electronic device; When the fast charge exit result indicates that the electronic device needs to exit the fast charge mode, the electronic device disconnects the charging path of the first fast charge chip; the first fast charge chip is the one with a smaller current carrying capacity between the first charging chip and the second charging chip; The electronic device disconnects the charging path of the second fast charging chip; the second fast charging chip is the one with a larger current carrying capacity between the first charging chip and the second charging chip.
2. The method according to claim 1, characterized in that: The electronic device determines a fast charge exit result according to the fast charge parameter, further comprising: When the fast charging parameter meets the preset condition, the electronic device determines the fast charging exit result to indicate that the electronic device does not need to exit the fast charging mode.
3. The method according to claim 1, characterized in that: In the case where the fast charge exit result is used to indicate that the electronic device needs to exit the fast charge mode, before the electronic device disconnects the charging path of the first fast charge chip, the method further includes: The electronic device acquires a total current value of a total charging current; the total charging current is the current of electric energy provided by a power supply device through a charging interface of the electronic device; When the total current value is greater than the target current value of the maximum current that the second fast charging chip can carry, the electronic device controls the total charging current to be reduced until the total current value is less than the target current value.
4. The method according to claim 3, characterized in that: The electronic device controls the total charging current to decrease until the total current value is less than the target current value, including: The electronic device controls the total charging voltage to decrease so that the total charging current is reduced to a total current value that is less than the target current value; the total charging voltage is the voltage of the electric energy provided by the power supply device through the charging interface of the electronic device.
5. The method according to any one of claims 1 to 4, characterized in that: The overcurrent protection OCP threshold of the first fast charging chip is smaller than the OCP threshold of the second fast charging chip; the target current value of the maximum current that the second fast charging chip can carry is the OCP threshold of the second fast charging chip.
6. The method according to any one of claims 1 to 4, characterized in that: The plurality of parallel charging chips further include a third charging chip; after the electronic device disconnects the charging path of the second fast charging chip, the method further includes: The electronic device uses a third charging chip to charge the battery in a preset charging mode; when the electronic device is charged in the preset charging mode, the battery of the electronic device is charged from zero to full within a second preset time period; the second preset time period is greater than the first preset time period.
7. The method according to claim 6, characterized in that The preset charging mode is the Buck charging mode.
8. An electronic device, characterized in that: It comprises a memory and one or more processors; the memory is coupled to the processor; wherein the memory stores computer program code, the computer program code comprises computer instructions, and when the computer instructions are executed by the processor, the electronic device executes the control method as described in any one of claims 1 to 7.
9. A computer-readable storage medium, characterized in that: The method comprises computer instructions, which, when executed on an electronic device, enable the electronic device to execute the control method according to any one of claims 1 to 7.
