[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN112039150B - Charging control method and device, computer readable storage medium and electronic device - Google Patents

Charging control method and device, computer readable storage medium and electronic device Download PDF

Info

Publication number
CN112039150B
CN112039150B CN202010871190.XA CN202010871190A CN112039150B CN 112039150 B CN112039150 B CN 112039150B CN 202010871190 A CN202010871190 A CN 202010871190A CN 112039150 B CN112039150 B CN 112039150B
Authority
CN
China
Prior art keywords
charging
charging mode
mode
temperature
electronic equipment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010871190.XA
Other languages
Chinese (zh)
Other versions
CN112039150A (en
Inventor
李志杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202010871190.XA priority Critical patent/CN112039150B/en
Publication of CN112039150A publication Critical patent/CN112039150A/en
Application granted granted Critical
Publication of CN112039150B publication Critical patent/CN112039150B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/007Regulation of charging or discharging current or voltage
    • H02J7/0071Regulation of charging or discharging current or voltage with a programmable schedule
    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01MPROCESSES OR MEANS, e.g. BATTERIES, FOR THE DIRECT CONVERSION OF CHEMICAL ENERGY INTO ELECTRICAL ENERGY
    • H01M10/00Secondary cells; Manufacture thereof
    • H01M10/42Methods or arrangements for servicing or maintenance of secondary cells or secondary half-cells
    • H01M10/44Methods for charging or discharging
    • H01M10/443Methods for charging or discharging in response to temperature
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/007Regulation of charging or discharging current or voltage
    • H02J7/007188Regulation of charging or discharging current or voltage the charge cycle being controlled or terminated in response to non-electric parameters
    • H02J7/007192Regulation of charging or discharging current or voltage the charge cycle being controlled or terminated in response to non-electric parameters in response to temperature
    • H02J7/007194Regulation of charging or discharging current or voltage the charge cycle being controlled or terminated in response to non-electric parameters in response to temperature of the battery
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02EREDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
    • Y02E60/00Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
    • Y02E60/10Energy storage using batteries

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Manufacturing & Machinery (AREA)
  • Chemical & Material Sciences (AREA)
  • Chemical Kinetics & Catalysis (AREA)
  • Electrochemistry (AREA)
  • General Chemical & Material Sciences (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

The disclosure provides a charging control method, a charging control device, a computer readable storage medium and an electronic device, and relates to the technical field of terminal charging. The charging control method comprises the following steps: detecting the battery temperature of the electronic equipment under the condition that the electronic equipment is electrically connected with the adapter; when the temperature of the battery is between a first temperature threshold and a second temperature threshold, charging the electronic equipment by adopting a first charging mode; if the temperature of the battery is reduced to a first temperature threshold value, switching the charging mode of the electronic equipment from a first charging mode to a second charging mode, and switching the charging mode from the second charging mode to a third charging mode to continue charging the electronic equipment; the charging current corresponding to the first charging mode is greater than the charging current corresponding to the third charging mode, and the charging current corresponding to the third charging mode is greater than the charging current corresponding to the second charging mode. The present disclosure can improve the charging speed of low-temperature charging.

Description

Charging control method and device, computer readable storage medium and electronic device
Technical Field
The present disclosure relates to the field of terminal charging technologies, and in particular, to a charging control method, a charging control apparatus, a computer-readable storage medium, and an electronic device.
Background
With the development of terminal technology, users have higher and higher requirements on the charging speed of electronic devices such as mobile phones and tablets.
At present, some technologies for fast charging electronic devices are emerging. However, due to the limitation of the battery performance of the electronic device, these fast charging technologies are directed to a charging strategy at a higher temperature, and in the case of a low temperature, the charging speed is slow.
Disclosure of Invention
The present disclosure provides a charge control method, a charge control device, a computer-readable storage medium, and an electronic apparatus, thereby overcoming, at least to some extent, the problem of a slow low-temperature charging speed due to the limitations and disadvantages of the related art.
According to a first aspect of the present disclosure, there is provided a charging control method applied to an electronic device, including: detecting the battery temperature of the electronic equipment under the condition that the electronic equipment is electrically connected with the adapter; when the temperature of the battery is between a first temperature threshold and a second temperature threshold, charging the electronic equipment by adopting a first charging mode, wherein the first temperature threshold is smaller than the second temperature threshold; if the temperature of the battery is reduced to a first temperature threshold value, switching the charging mode of the electronic equipment from a first charging mode to a second charging mode, and switching the charging mode from the second charging mode to a third charging mode to continue charging the electronic equipment; the charging current corresponding to the first charging mode is greater than the charging current corresponding to the third charging mode, and the charging current corresponding to the third charging mode is greater than the charging current corresponding to the second charging mode.
According to a second aspect of the present disclosure, there is provided a charge control device applied to an electronic device, including: the temperature detection module is used for detecting the battery temperature of the electronic equipment under the condition that the electronic equipment is electrically connected with the adapter; the first charging control module is used for charging the electronic equipment by adopting a first charging mode when the temperature of the battery is between a first temperature threshold and a second temperature threshold, and the first temperature threshold is smaller than the second temperature threshold; the second charging control module is used for switching the charging mode of the electronic equipment from the first charging mode to the second charging mode and switching the charging mode from the second charging mode to the third charging mode to continue charging the electronic equipment if the temperature of the battery is reduced to the first temperature threshold; the charging current corresponding to the first charging mode is greater than the charging current corresponding to the third charging mode, and the charging current corresponding to the third charging mode is greater than the charging current corresponding to the second charging mode.
According to a third aspect of the present disclosure, there is provided a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the charging control method described above.
According to a fourth aspect of the present disclosure, there is provided an electronic device comprising a processor; a memory for storing one or more programs, which when executed by the processor, cause the processor to implement the charging control method described above.
In the technical solutions provided in some embodiments of the present disclosure, when a battery temperature of an electronic device is between a first temperature threshold and a second temperature threshold, a first charging mode is adopted to charge the electronic device, and in a charging process, if the battery temperature drops to the first temperature threshold, the first charging mode is switched to the second charging mode, and then the second charging mode is switched to a third charging mode to continue charging the electronic device, wherein a charging current corresponding to the first charging mode is greater than a charging current corresponding to the third charging mode, and the charging current corresponding to the third charging mode is greater than the charging current corresponding to the second charging mode. According to the charging method and the charging device, under the condition that the temperature of the battery of the electronic equipment is reduced, the third charging mode which is higher in charging current than the second charging mode and is in different processing logics from the first charging mode is adopted for charging, switching between the first charging mode and the third charging mode is achieved through the second charging mode, and compared with the process of directly switching to the second charging mode and continuing charging through the second charging mode, the charging speed can be greatly improved through the exemplary scheme of the charging method and the charging device. In addition, the scheme of the disclosure can be applied to a low-temperature charging scene, so that the charging speed at low temperature is improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure. It is to be understood that the drawings in the following description are merely exemplary of the disclosure, and that other drawings may be derived from those drawings by one of ordinary skill in the art without the exercise of inventive faculty. In the drawings:
FIG. 1 shows a schematic diagram of an exemplary system architecture to which a charge control scheme of an embodiment of the present disclosure may be applied;
FIG. 2 illustrates a schematic structural diagram of an electronic device suitable for use in implementing embodiments of the present disclosure;
FIG. 3 schematically illustrates a charging flow diagram of one embodiment of the present disclosure;
FIG. 4 illustrates a logic diagram of a charge state of one embodiment of the present disclosure;
fig. 5 schematically illustrates a flow chart of a charge control method according to an exemplary embodiment of the present disclosure;
FIG. 6 illustrates a logic diagram of a state of charge for another embodiment of the present disclosure;
fig. 7 schematically shows a flow chart of a charge control process according to an embodiment of the present disclosure;
fig. 8 schematically shows a block diagram of a charge control device according to a first exemplary embodiment of the present disclosure;
fig. 9 schematically shows a block diagram of a charge control device according to a second exemplary embodiment of the present disclosure.
Detailed Description
Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments may, however, be embodied in many different forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of example embodiments to those skilled in the art. The described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided to give a thorough understanding of embodiments of the disclosure. One skilled in the relevant art will recognize, however, that the subject matter of the present disclosure can be practiced without one or more of the specific details, or with other methods, components, devices, steps, and the like. In other instances, well-known technical solutions have not been shown or described in detail to avoid obscuring aspects of the present disclosure.
Furthermore, the drawings are merely schematic illustrations of the present disclosure and are not necessarily drawn to scale. The same reference numerals in the drawings denote the same or similar parts, and thus their repetitive description will be omitted. Some of the block diagrams shown in the figures are functional entities and do not necessarily correspond to physically or logically separate entities. These functional entities may be implemented in the form of software, or in one or more hardware modules or integrated circuits, or in different networks and/or processor devices and/or microcontroller devices.
The flow charts shown in the drawings are merely illustrative and do not necessarily include all of the steps. For example, some steps may be decomposed, some steps may be combined or partially combined, and thus the actual execution order may be changed according to the actual situation. In addition, all of the following terms "first", "second", "third", and "fourth" are for distinguishing purposes only, and should not be construed as limiting the present disclosure.
Fig. 1 shows a schematic diagram of an exemplary system architecture to which the charge control scheme of the embodiments of the present disclosure may be applied.
As shown in fig. 1, the system architecture may include an electronic device 11 and an adapter 12. In one embodiment of the present disclosure, the electronic device 11 may be in wired connection with the adapter 12, charging the electronic device 11 in a wired manner. In yet another embodiment of the present disclosure, the electronic device 11 may be wirelessly charged using the adapter 12.
In an exemplary embodiment of the present disclosure, the electronic device 11 may include, but is not limited to, a mobile phone, a tablet computer, a smart wearable device, a notebook computer, and the like, and the present disclosure does not limit the type of the electronic device 11.
Referring to fig. 1, the electronic device 11 may include a Microcontrollerunit (MCU) 111 and an Application Processor (AP) 112. In some embodiments of the present disclosure, the application processor 112 stores one kind of fast charging logic, for example, a low temperature fast charging logic, and the micro control unit 111 stores another kind of fast charging logic, for example, a normal temperature fast charging logic other than the low temperature fast charging logic. During the charging process, if the charging logic stored in the mcu 111 and the application processor 112 needs to be switched, the operation of exiting the fast charging and then entering the fast charging may be performed.
Specifically, in the case where the electronic device 11 is electrically connected to the adapter 12, the electronic device 11 may detect the battery temperature, and when the battery temperature is between a first temperature threshold (e.g., 12 °) and a second temperature threshold (e.g., 16 °), the battery may be charged in the first charging mode stored in the micro control unit 111. If the battery temperature drops to the first temperature threshold during the charging process, the charging mode is switched from the first charging mode to the second charging mode, and the second charging mode is switched to the third charging mode stored in the application processor 112, so as to continue charging the electronic device.
The charging current corresponding to the first charging mode is greater than the charging current corresponding to the third charging mode, and the charging current corresponding to the third charging mode is greater than the charging current corresponding to the second charging mode. In some embodiments, the first charging mode and the third charging mode correspond to a fast charging type (i.e., a fast charging type), and the second charging mode corresponds to a general charging type (i.e., a general charging type).
In addition, since the time taken for the whole process of switching from the first charging mode to the third charging mode via the second charging mode is short, in order to make the charging icons viewed by the user consistent during this time, in other embodiments, starting from the switching from the first charging mode to the second charging mode, the status flag generated due to the disconnection of the power line (vbus) is cleared within a predetermined time, after the predetermined time elapses, the quick charging start flag is cleared, and the flag displaying the quick charging icon is configured to be activated, so as to control the electronic device 11 to display the quick charging icon before entering the third charging mode.
It should be understood that the mcu 111 and the application processor 112 may each have one or more fast charge logic stored therein, and the fast charge logic may be combined into a single charge logic set. In this case, the above exemplary scheme may be adopted to implement switching between any two fast charging logics in the set.
Furthermore, in some embodiments of the present disclosure, the fast charge logic is typically run by the micro control unit 111 to enable fast charging of the electronic device 11. When it is necessary to run the charging logic on the application processor 112, the micro control unit 111 may obtain the charging logic from the application processor 112 and implement the charging operation of the electronic device 11 based on the charging logic.
FIG. 2 shows a schematic diagram of an electronic device suitable for use in implementing exemplary embodiments of the present disclosure. It should be noted that the electronic device shown in fig. 2 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
The electronic device of the present disclosure includes at least a processor and a memory for storing one or more programs, which when executed by the processor, cause the processor to implement the charging control method of the exemplary embodiments of the present disclosure.
Specifically, as shown in fig. 2, the electronic device 200 may include: a processor 210, an internal memory 221, an external memory interface 222, a Universal Serial Bus (USB) interface 230, a charging management Module 240, a power management Module 241, a battery 242, an antenna 1, an antenna 2, a mobile communication Module 250, a wireless communication Module 260, an audio Module 270, a speaker 271, a microphone 272, a microphone 273, an earphone interface 274, a sensor Module 280, a display 290, a camera Module 291, a pointer 292, a motor 293, a button 294, and a Subscriber Identity Module (SIM) card interface 295.
The sensor module 280 may include a depth sensor, 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, and the like. In which the battery temperature of the electronic apparatus may be detected by a temperature sensor equipped with the electronic apparatus 200.
It is to be understood that the illustrated structure of the embodiment of the present application does not constitute a specific limitation to the electronic device 200. In other embodiments of the present application, the electronic device 200 may include more or fewer components than shown, or combine certain components, or split certain components, or a different arrangement of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
Processor 210 may include one or more processing units, such as: the processor 210 may include an application processor and a micro control unit, wherein the application processor may implement operation processing of various data, and the micro control unit may implement control of various scenes. Specifically, in some embodiments of the present disclosure, the micro control unit is configured to implement a control operation of fast charging, and may store one or more fast charging logics to implement fast charging operations in different temperature scenarios. The application processor may also store one or more fast charging logics, and when the fast charging logics stored in the application processor need to be executed, the application processor may send the fast charging logics to the micro control unit, and the micro control unit controls the execution of the fast charging logics.
Further, the Processor 210 may include a modem Processor, a Graphics Processing Unit (GPU), an Image Signal Processor (ISP), a controller, a video codec, a Digital Signal Processor (DSP), a baseband Processor and/or a Neural Network Processor (NPU), and the like. The different processing units may be separate devices or may be integrated into one or more processors. Additionally, a memory may be provided in processor 210 for storing instructions and data.
The USB interface 230 is an interface conforming to the USB standard specification, and may specifically be a MiniUSB interface, a microsusb interface, a USB type c interface, or the like. The USB interface 230 may be used to connect a charger to charge the electronic device 200, and may also be used to transmit data between the electronic device 200 and a peripheral device. And the earphone can also be used for connecting an earphone and playing audio through the earphone. The interface may also be used to connect other electronic devices, such as AR devices and the like.
The charge management module 240 is configured to receive a charging input from a charger. The charger may be a wireless charger or a wired charger. The power management module 241 is used for connecting the battery 242, the charging management module 240 and the processor 210. The power management module 241 receives the input of the battery 242 and/or the charging management module 240, and supplies power to the processor 210, the internal memory 221, the display screen 290, the camera module 291, the wireless communication module 260, and the like.
The wireless communication function of the electronic device 200 may be implemented by the antenna 1, the antenna 2, the mobile communication module 250, the wireless communication module 260, a modem processor, a baseband processor, and the like.
The electronic device 200 implements a display function through the GPU, the display screen 290, the application processor, and the like. The GPU is a microprocessor for image processing, and is connected to the display screen 290 and an application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 210 may include one or more GPUs that execute program instructions to generate or alter display information. For example, when performing a fast charge, a fast charge icon, which may be a picture or animation, may be displayed on the display screen 290.
The electronic device 200 may implement a shooting function through the ISP, the camera module 291, the video codec, the GPU, the display screen 290, the application processor, and the like. In some embodiments, the electronic device 200 may include 1 or N camera modules 291, where N is a positive integer greater than 1, and if the electronic device 200 includes N cameras, one of the N cameras is a main camera.
Internal memory 221 may be used to store computer-executable program code, including instructions. The internal memory 221 may include a program storage area and a data storage area. The external memory interface 222 may be used to connect an external memory card, such as a Micro SD card, to extend the memory capability of the electronic device 200.
The electronic device 200 may implement an audio function through the audio module 270, the speaker 271, the receiver 272, the microphone 273, the headphone interface 274, the application processor, and the like. Such as music playing, recording, etc.
Audio module 270 is used to convert digital audio information into an analog audio signal output and also to convert an analog audio input into a digital audio signal. Audio module 270 may also be used to encode and decode audio signals. In some embodiments, the audio module 270 may be disposed in the processor 210, or some functional modules of the audio module 270 may be disposed in the processor 210.
The speaker 271, also called "horn", is used to convert the audio electrical signal into a sound signal. The electronic apparatus 200 can listen to music through the speaker 271 or listen to a hands-free call. The receiver 272, also called "earpiece", is used to convert the electrical audio signal into an acoustic signal. When the electronic device 200 receives a call or voice information, it can receive the voice by placing the receiver 272 close to the ear of the person. The microphone 273, also referred to as a "microphone," is used to convert the sound signal into an electrical signal. When making a call or transmitting voice information, the user can input a voice signal to the microphone 273 by sounding a voice signal near the microphone 273 through the mouth. The electronic device 200 may be provided with at least one microphone 273. The earphone interface 274 is used to connect wired earphones.
For sensors that the sensor module 280 may include in the electronic device 200, a depth sensor is used to obtain depth information of a scene. The pressure sensor is used for sensing a pressure signal and converting the pressure signal into an electric signal. The gyro sensor may be used to determine the motion pose of the electronic device 200. The air pressure sensor is used for measuring air pressure. The magnetic sensor includes a hall sensor. The electronic device 200 may detect the opening and closing of the flip holster using a magnetic sensor. The acceleration sensor may detect the magnitude of acceleration of the electronic device 200 in various directions (typically three axes). The distance sensor is used for measuring distance. The proximity light sensor may include, for example, a Light Emitting Diode (LED) and a light detector, such as a photodiode. The fingerprint sensor is used for collecting fingerprints. The temperature sensor is used for detecting temperature. The touch sensor can communicate the detected touch operation to the application processor to determine the touch event type. Visual output related to the touch operation may be provided through the display screen 290. The ambient light sensor is used for sensing the ambient light brightness. The bone conduction sensor may acquire a vibration signal.
The keys 294 include a power-on key, a volume key, and the like. The keys 294 may be mechanical keys. Or may be touch keys. The motor 293 may generate a vibration indication. The motor 293 may be used for both electrical vibration prompting and touch vibration feedback. Indicator 292 may be an indicator light that may be used to indicate a state of charge, a change in charge, or may be used to indicate a message, missed call, notification, etc. The SIM card interface 295 is used to connect a SIM card. The electronic device 200 interacts with the network through the SIM card to implement functions such as communication and data communication.
The present application also provides a computer-readable storage medium, which may be contained in the electronic device described in the above embodiments; or may exist separately without being assembled into the electronic device.
A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable storage medium may transmit, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable storage medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
The computer-readable storage medium carries one or more programs which, when executed by an electronic device, cause the electronic device to implement the method as described in the embodiments below.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present disclosure may be implemented by software, or may be implemented by hardware, and the described units may also be disposed in a processor. Wherein the names of the elements do not in some way constitute a limitation on the elements themselves.
Fig. 3 schematically illustrates a charging flow diagram of one embodiment of the present disclosure.
Referring to fig. 3, in step S302, the electronic device is inserted into the quick charge adapter.
In step S304, the electronic device performs charging protocol type identification, where the charging protocol is generally a BC1.2 charging protocol, and the BC1.2 charging protocol includes three USB port types: a Standard Downlink Port (SDP), a Dedicated Charging Port (DCP), and a Charging Downlink Port (CDP).
In step S306, it is determined whether the identified port is a dedicated charging port, and if not, step S308 is executed to perform general charging on the electronic device; if so, step S310 is performed.
In step S310, it is determined whether the electronic device satisfies a fast charge condition, where the fast charge condition may include, for example, a temperature of 16 ° to 43 ° and a battery power of 1% to 90%. If the quick charge condition is not met, executing step S312 to perform pseudo quick charge; if the quick charge condition is satisfied, step S314 is performed. In an exemplary embodiment of the present disclosure, the pseudo-fast charge may refer to that the normal charge is actually performed and a fast charge icon is displayed on a display screen of the electronic device.
In step S314, the quick charge switch is turned on. Specifically, the application processor may generate a control signal to control the micro control unit to start the fast charging operation.
In step S316, an adapter presence code may be determined, which, if determined, indicates that an adapter is currently present.
In step S318, it is determined whether the current charging mode is pseudo fast charging, and if so, step S320 is executed to switch the charging mode to normal charging. If the determination result is not the pseudo fast charging, step S322 is executed to determine the adapter type code and obtain the type information of the adapter.
In step S324, a fast charge start code is determined, indicating the start of fast charge.
During the fast charging process, in step S326, it is determined whether there is a fast charging full code, if so, the fast charging is terminated, and if not, the process returns to step S324 to continue the fast charging.
During the fast charge, in step S328, it is determined whether there is a fast charge exception code, and if so, the fast charge is terminated, in which case, the operation may be switched to normal charge. If no quick charging abnormity exists, the method returns to the step S324 to continue the quick charging.
Fig. 4 shows a logic diagram of a charging state according to an embodiment of the present disclosure, where codes corresponding to respective logics may be stored in a micro control unit of an electronic device.
Referring to fig. 4, in the case where the battery temperature is less than 42.5 °, the charging in the normal state is performed with the charging current of 5A. When the battery temperature is more than 42.5 °, the charging in the high temperature state 0 is performed with the charging current of 4A.
In the high temperature state 0, when the battery temperature is 40 ° to 43 °, the charging is continued with the charging current of 4A. When the battery temperature is less than 40 °, the battery enters the low temperature state 0, and the charging is continued with the charging current of 4A. When the battery temperature is higher than 43 °, the high temperature state 1 is entered, and charging is performed with a charging current of 3A.
In the case where the battery temperature is less than 42.5 ° for the low temperature state 0, the charging with the charging current of 4A is continued. When the battery temperature is higher than 42.5 °, the high temperature state 0 is entered, and the charging with the charging current of 4A is continued.
In the high temperature state 1, charging is performed with a charging current of 3A when the battery temperature is 41 ° to 43.5 °. When the battery temperature is less than 41.5 °, the system enters a low temperature state 1, and is charged with a charging current of 4A. When the battery temperature is higher than 43.5 °, the high temperature state 2 is entered, and charging is performed with a charging current of 2A.
In the low temperature state 1, charging is performed with a charging current of 4A when the battery temperature is 40 ° to 43 °. In the case where the battery temperature is less than 40 °, the battery enters the low temperature state 0, and is charged with a charging current of 4A. When the battery temperature is higher than 43 °, the high temperature state 1 is entered, and charging is performed with a charging current of 3A.
In the high temperature state 2, when the battery temperature is higher than 42 °, charging is performed with a charging current of 2A. When the battery temperature is less than 42 °, the system enters a low temperature state 2, and is charged with a charging current of 3A.
In the low temperature state 2, the battery is charged with a charging current of 3A when the battery temperature is 41.5 ° to 43.5 °. When the battery temperature is less than 41.5 °, the system enters a low temperature state 1, and is charged with a charging current of 4A. When the battery temperature is higher than 43.5 °, the high temperature state 2 is entered, and charging is performed with a charging current of 2A.
It should be understood that the temperature values and current values shown in fig. 4 are merely exemplary descriptions, and that in other embodiments of the present disclosure, minor variations may exist and the present disclosure is not limited thereto.
In the above description, the mcu stores the fast charge logic for each temperature interval. However, limited to the memory space of the micro control unit, when low-temperature charging is required or fast charging logic of other temperature intervals is added, the exemplary embodiments of the present disclosure may write corresponding logic codes into the application processor. In a low-temperature charging scene, the application processor can send logic of low-temperature charging to the micro control unit so that the micro control unit can execute a low-temperature quick charging process.
Although in the following description, the present disclosure is described by taking the implementation of low-temperature fast-charging as an example. However, it should be understood that the charge control scheme of the present disclosure may be applied to a variety of battery temperature scenarios.
Fig. 5 schematically shows a flowchart of a charging control method of an exemplary embodiment of the present disclosure. Referring to fig. 5, the charge control method may include the steps of:
s52, under the condition that the electronic equipment is electrically connected with the adapter, detecting the battery temperature of the electronic equipment.
In an exemplary embodiment of the present disclosure, the adaptor may include, for example, according to a kind of the electronic device: a Power Delivery management (PD) adapter, a Quick Charge (QC) adapter, a DCP adapter, a VOOC adapter, a SUPERVOOC adapter, a wireless charging adapter, etc.
In the event that the electronic device determines that it is electrically connected to the adapter, the electronic device may detect the battery temperature by means of a temperature sensor provided.
In some embodiments of the present disclosure, the operation of detecting the battery temperature is performed upon insertion of the electronic device into the adapter.
In other embodiments of the present disclosure, the operation of detecting the temperature of the battery is performed in a state where the electronic device is electrically connected to the adapter. For example, the battery temperature is detected at intervals (e.g., 10 seconds, 30 seconds, etc.).
And S54, when the temperature of the battery is between the first temperature threshold and the second temperature threshold, charging the electronic equipment by adopting a first charging mode, wherein the first temperature threshold is smaller than the second temperature threshold.
In an exemplary embodiment of the present disclosure, each charging mode corresponds to a charging logic, for example, a charging mode may be represented as what voltage and/or what current is used for charging.
The first temperature threshold and the second temperature threshold may be temperature values for switching the charging mode, which are experimentally tested, that is, when the temperature threshold is reached, the switching operation of the charging mode may be triggered, so as to implement a better charging strategy and improve the charging speed.
According to an embodiment of the present disclosure, the first temperature threshold may be set to 12 ° and the second temperature threshold may be set to 16 °. In this case, when the detected battery temperature is between 12 ° and 16 °, the electronic device may be charged in a first charging mode, which may include, for example, performing constant current charging of 5A.
And S56, if the temperature of the battery is reduced to the first temperature threshold value, switching the charging mode of the electronic equipment from the first charging mode to the second charging mode, and switching the charging mode from the second charging mode to the third charging mode so as to continuously charge the electronic equipment.
In an exemplary embodiment of the present disclosure, the first, second, and third charging modes are three different charging modes. Specifically, the charging current corresponding to the first charging mode is greater than the charging current corresponding to the third charging mode, and the charging current corresponding to the third charging mode is greater than the charging current corresponding to the second charging mode.
In addition, the first charging mode and the third charging mode may belong to a first charging type, corresponding to a fast charging type; the second charging mode belongs to a second charging type and corresponds to a general charging mode.
According to some embodiments of the present disclosure, logic codes corresponding to the first charging mode are stored in the micro control unit, and logic codes corresponding to the third charging mode are stored in the application processor.
In the process of charging the electronic device in the first charging mode in step S54, if it is detected that the battery temperature has dropped to the first temperature threshold, the first charging mode is switched to the second charging mode, and the second charging mode is switched to the third charging mode to continue charging the electronic device.
Under the condition that the first charging mode corresponds to the quick charging mode A, the second charging mode corresponds to the normal charging mode, and the third charging mode corresponds to the quick charging mode B, if the temperature of the battery is reduced to a first temperature threshold value, the quick charging switch is switched off, the process of quitting the quick charging operation is executed, and the quick charging mode A is switched to the normal charging mode. In this case, the battery temperature falls within the range of the fast charging mode B, the application processor sends an execution command of the fast charging mode B to the micro control unit, the micro control unit executes the operation of the fast charging mode B, switches from the normal charging mode to the fast charging mode B, and enters the fast charging again for charging.
For example, the first temperature threshold is 12 °, the charging current for the first charging mode is 5A, and the charging current for the third charging mode is 1.9A. In this case, when the battery temperature falls to 12 °, the charging current is switched from 5A to the charging current for normal charging (e.g., 1A), and then the charging current is switched from 1A to 1.9A again.
It is understood that the third charging mode may correspond to a lower temperature charging mode. By adopting the exemplary scheme of the disclosure, on one hand, switching between charging logics stored in different positions can be realized, and on the other hand, a charging strategy with a lower temperature can be realized.
In the process of switching from the fast charge mode a to the fast charge mode B via the normal charge mode, a problem that the charging icons displayed by the electronic device are inconsistent may occur, that is, a problem that the fast charge icon is displayed first, then the normal charge icon is displayed, and then the fast charge icon is displayed may occur. In addition, due to the operation of quitting the quick charging, the problem that the power line is disconnected at the moment of quitting the quick charging also exists, so that the charging icon cannot be displayed. These all cause a problem that the charging icon display effect is not good.
In order to solve the problem of poor display effect of the charging icon, according to some embodiments of the present disclosure, on the one hand, when the electronic device is charged in the first charging mode and the third charging mode, a charging icon corresponding to the first charging type, that is, a quick charging icon, is displayed on the electronic device. On the other hand, in the process of switching the charging mode of the electronic device from the first charging mode to the second charging mode and from the second charging mode to the third charging mode, when the electronic device is charged in the second charging mode, the electronic device is controlled to display a charging icon corresponding to the first charging type.
Specifically, the status flag generated due to disconnection of the power supply line is cleared for a predetermined time (e.g., 350ms) from the time when the charging mode of the electronic device is switched from the first charging mode to the second charging mode. After the preset time, the electronic equipment clears the charging start mark corresponding to the first charging type, and configures the mark for displaying the charging icon corresponding to the first charging type to be activated so as to control the electronic equipment to display the charging icon corresponding to the first charging type.
It should be understood that the charging icon corresponding to the first charging type is continuously displayed on the electronic device before the charging start flag is cleared.
For example, when the battery temperature drops to 12 °, the fast charge switch is turned off, and a power line interruption occurs, but at this time, the charge start flag is not cleared, and the fast charge icon on the electronic device does not disappear. In this case, a delay of 350ms is used to handle the operation associated with the power line interruption and to clear the status flag generated due to the disconnection of the power line. After 350ms, the electronic device clears the charging start flag and configures the flag displaying the quick charging icon to be activated, and at this time, the quick charging icon is still displayed on the electronic device although the electronic device is not in the quick charging mode.
In order to distinguish the case where the adapter is powered off or the electronic device is disconnected from the adapter when the power cord is disconnected, in other embodiments of the present disclosure, a monitoring thread may be configured to monitor whether the power cord is disconnected due to the power failure of the adapter or the disconnection of the electronic device from the adapter.
Specifically, the electronic device may obtain the voltage on the power line upon detecting that the battery temperature has dropped to a first temperature threshold.
If the voltage on the power cord is less than a voltage threshold (e.g., 2V), indicating that the adapter is powered off or that the electronic device is disconnected from the adapter, in which case the charging icon corresponding to the first charging type is displayed on the electronic device is cleared.
And if the voltage on the power line is greater than or equal to the voltage threshold, executing the operation to control the electronic equipment to display a charging icon corresponding to the first charging type in the process of switching the charging mode of the electronic equipment from the first charging mode to the second charging mode and charging by adopting the second charging mode.
According to some embodiments of the present disclosure, when step S52 detects that the battery temperature is between the first temperature threshold and the third temperature threshold, the electronic device is charged in the third charging mode. Wherein the third temperature threshold is less than the first temperature threshold.
For example, the first temperature threshold value is 12 ° and the third temperature threshold value is 5 °. At this time, the third charging mode is directed to the charging mode when the battery temperature is low, specifically, the charging current may be configured to be 1.9A, and the corresponding charging curve standard is 1.9A to 4.2V. In addition, the charging current can be configured to be 1.3A, and the corresponding charging curve standard is 1.3A and 4.4V.
After the electronic equipment is charged in the third charging mode, if the temperature of the battery is detected to rise to the first temperature threshold value, the charging mode of the electronic equipment is switched from the third charging mode to the second charging mode, and the second charging mode is switched to the first charging mode, so that the electronic equipment is continuously charged. This process is similar to the process of step S56 and will not be described in detail herein.
According to other embodiments of the present disclosure, when it is detected in step S52 that the battery temperature is less than the third temperature threshold, the electronic device is charged in the second charging mode.
For example, when the battery temperature is less than 5 °, the charging performance of the battery is greatly affected, and at this time, the electronic device is charged in a low current mode of a general charge.
According to still other embodiments of the present disclosure, after the electronic device is charged in the first charging mode in step S54, if the battery temperature rises to the fourth temperature threshold, the charging mode of the electronic device is switched from the first charging mode to the fourth charging mode to continue charging the electronic device.
For example, when the battery temperature is detected to be between 12 ° and 16 °, the constant current charging is performed using 5A. In this case, if the battery temperature rises to the fourth temperature threshold, for example, to 18 °, the charging mode is switched to the fourth charging mode, for example, constant current charging with 6.5A is performed.
Fig. 6 shows a logic diagram of a charging state according to another embodiment of the present disclosure, in which codes corresponding to 5 ° to 12 ° of charging logic may be stored in the application processor, and codes corresponding to the remaining charging logic may be stored in the micro control unit.
Referring to fig. 6, in the case where the battery temperature is 16 ° to 42.5 °, the charging in the normal state is performed with the charging current of 6.5A. In the case where the battery temperature is greater than 42.5 °, the charging in the high temperature state 0 is performed with a charging current of 4A. When the battery temperature is less than 16, charging in a relatively cold state is performed with a charging current of 5A. In addition, when the temperature of the battery is less than 12 degrees, the battery can enter a cold temperature state of 5 degrees to 12 degrees.
In the cold state, when the battery temperature is 12 ° to 16 °, the charging is continued with the charging current of 5A. In the case where the battery temperature is greater than 18 °, the normal state is entered, and charging is performed with a charging current of 6.5A. And when the temperature of the battery is less than 12 degrees, the battery exits from the quick charging mode and is charged in the normal charging mode.
In the cold state, when the battery temperature is 5 ° to 12 °, the battery can be charged with a charging current of 1.9A or 1.3A as described above. And when the temperature of the battery is less than 5 degrees, the battery exits from the quick charging mode and is charged in the normal charging mode.
In the high temperature state 0, when the battery temperature is 40 ° to 43 °, the charging is continued with the charging current of 4A. When the battery temperature is less than 40 °, the battery enters the low temperature state 0, and the charging is continued with the charging current of 4A. When the battery temperature is higher than 43 °, the high temperature state 1 is entered, and charging is performed with a charging current of 3A.
In the low temperature state 0, in the case where the battery temperature is less than 42.5 °, the charging with the charging current of 4A is continued. When the battery temperature is higher than 42.5 °, the high temperature state 0 is entered, and the charging with the charging current of 4A is continued.
In the high temperature state 1, charging is performed with a charging current of 3A when the battery temperature is 41.5 ° to 43.5 °. When the battery temperature is less than 41.5 °, the system enters a low temperature state 1, and is charged with a charging current of 4A. When the battery temperature is higher than 43.5 °, the high temperature state 2 is entered, and charging is performed with a charging current of 2A.
In the low temperature state 1, when the battery temperature is 40 ° to 41.5 °, the battery is charged with a charging current of 4A. In the case where the battery temperature is less than 40 °, the low temperature state 0 is entered, and charging is performed with a charging current of 4A. In the case where the battery temperature is higher than 43 °, the high temperature state 1 is entered, and charging is performed with a charging current of 3A.
In the high temperature state 2, when the battery temperature is higher than 42 °, charging is performed with a charging current of 2A. When the battery temperature is less than 42 °, the system enters a low temperature state 2, and is charged with a charging current of 3A.
In the low temperature state 2, when the battery temperature is 41.5 ° to 42 °, the charging is performed with a charging current of 3A. When the battery temperature is less than 41.5 °, the system enters a low temperature state 1, and is charged with a charging current of 4A. In the case where the battery temperature is higher than 43.5 °, the high temperature state 2 is entered, and charging is performed with a charging current of 2A.
It should be understood that the various temperature thresholds, charging currents, etc. shown in fig. 6 are merely exemplary descriptions and should not be taken as limitations of the present disclosure.
The charging control process of the embodiment of the present disclosure will be explained with reference to fig. 7.
In step S702, the electronic device is inserted into the quick-charge adapter. In step S704, a quick charge adapter start code is determined. In step S706, the battery temperature is detected.
In step S708, if the battery temperature is between 5 ° and 12 °, the charging is performed using a charging logic of 5 ° to 12 °.
In step S710, if the battery temperature is in the range of 12 ° to 16 °, charging is performed with a charging current of 5A.
In step S712, it is determined whether the battery temperature has dropped below 12 °, and if not, step S710 is continued; if it falls below 12 deg., step S714 is executed.
In step S714, the quick charge switch is turned off, that is, the quick charge is exited. In step S716, a power line interrupt is generated. In step S718, a delay of 350ms is performed to handle the operation associated with the power line interrupt. In step S720, the power line monitoring thread is turned on.
In step S722, it is determined whether the power line voltage is greater than 2V, and if so, it indicates that the electronic device and the adapter still remain electrically connected, and at this time, no operation is performed; if the voltage is less than 2V, it indicates that the electronic device is electrically disconnected from the adapter, at this time, step S724 is executed, the electronic device clears the pseudo fast charging flag, and the charging is finished.
It should be noted that although the various steps of the methods of the present disclosure are depicted in the drawings in a particular order, this does not require or imply that these steps must be performed in this particular order, or that all of the depicted steps must be performed, to achieve desirable results. Additionally or alternatively, certain steps may be omitted, multiple steps combined into one step execution, and/or one step broken down into multiple step executions, etc.
Further, the present exemplary embodiment also provides a charging control apparatus applied to an electronic device.
Fig. 8 schematically shows a block diagram of a charge control device of an exemplary embodiment of the present disclosure. Referring to fig. 8, the charging control device 8 according to an exemplary embodiment of the present disclosure may include a temperature detection module 81, a first charging control module 83, and a second charging control module 85.
Specifically, the temperature detection module 81 may be configured to detect a battery temperature of the electronic device when the electronic device is electrically connected to the adapter; the first charging control module 83 may be configured to charge the electronic device in a first charging mode when the battery temperature is between a first temperature threshold and a second temperature threshold, the first temperature threshold being less than the second temperature threshold; the second charging control module 85 may be configured to switch the charging mode of the electronic device from the first charging mode to the second charging mode and from the second charging mode to the third charging mode to continue charging the electronic device if the battery temperature falls to the first temperature threshold; the charging current corresponding to the first charging mode is greater than the charging current corresponding to the third charging mode, and the charging current corresponding to the third charging mode is greater than the charging current corresponding to the second charging mode.
According to an exemplary embodiment of the present disclosure, the first and third charging modes belong to a first charging type, and the second charging mode belongs to a second charging type. In this case, referring to fig. 9, the charging control apparatus 9 may further include an icon display module 91, compared to the charging control apparatus 8.
Specifically, the icon display module 91 may be configured to perform: when the electronic equipment is charged in the first charging mode and the third charging mode, displaying a charging icon corresponding to the first charging type on the electronic equipment; in the process of switching the charging mode of the electronic equipment from the first charging mode to the second charging mode and from the second charging mode to the third charging mode, when the electronic equipment is charged in the second charging mode, the electronic equipment is controlled to display a charging icon corresponding to the first charging type.
According to an exemplary embodiment of the present disclosure, the icon display module 91 may be further configured to perform: in the process of switching the charging mode of the electronic equipment from the first charging mode to the second charging mode and charging by adopting the second charging mode, starting from switching the charging mode of the electronic equipment from the first charging mode to the second charging mode, clearing a state mark generated due to disconnection of a power line in a preset time, wherein the power line is used for transmitting charging current; after a preset time, the charging start mark corresponding to the first charging type is cleared, and the mark for displaying the charging icon corresponding to the first charging type is configured to be enabled so as to control the electronic equipment to display the charging icon corresponding to the first charging type.
According to an exemplary embodiment of the present disclosure, the icon display module 91 may be further configured to perform: when the battery temperature is detected to be reduced to a first temperature threshold value, acquiring the voltage on a power line; if the voltage on the power line is smaller than the voltage threshold, clearing the charging icon corresponding to the first charging type displayed on the electronic equipment; and if the voltage on the power line is larger than or equal to the voltage threshold, controlling the electronic equipment to display a charging icon corresponding to the first charging type in the process of switching the charging mode of the electronic equipment from the first charging mode to the second charging mode and charging by adopting the second charging mode.
According to an exemplary embodiment of the present disclosure, the first charging control module 83 may be further configured to perform: and when the battery temperature is detected to be between the first temperature threshold and a third temperature threshold, charging the electronic equipment by adopting a third charging mode, wherein the third temperature threshold is smaller than the first temperature threshold.
According to an exemplary embodiment of the present disclosure, the second charging control module 85 may be further configured to perform: after the electronic device is charged in the third charging mode, if the temperature of the battery rises to the first temperature threshold, the charging mode of the electronic device is switched from the third charging mode to the second charging mode, and is switched from the second charging mode to the first charging mode, so that the electronic device is continuously charged.
According to an exemplary embodiment of the present disclosure, the first charging control module 83 may be further configured to perform: and when the battery temperature is detected to be less than the third temperature threshold value, the electronic equipment is charged by adopting a second charging mode.
According to an exemplary embodiment of the present disclosure, the second charging control module 85 may be further configured to perform: after the electronic equipment is charged in the first charging mode, if the temperature of the battery rises to a fourth temperature threshold value, the charging mode of the electronic equipment is switched from the first charging mode to a fourth charging mode so as to continue charging the electronic equipment; the fourth temperature threshold is greater than the second temperature threshold, and the charging current corresponding to the fourth charging mode is greater than the charging current corresponding to the first charging mode.
Since each functional module of the charging control device in the embodiment of the present disclosure is the same as that in the embodiment of the method described above, it is not described herein again.
Through the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments described herein may be implemented by software, or by software in combination with necessary hardware. Therefore, the technical solution according to the embodiments of the present disclosure may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (which may be a CD-ROM, a usb disk, a removable hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which may be a personal computer, a server, a terminal device, or a network device, etc.) to execute the method according to the embodiments of the present disclosure.
Furthermore, the above-described drawings are merely schematic illustrations of processes involved in methods according to exemplary embodiments of the present disclosure, and are not intended to be limiting. It will be readily understood that the processes shown in the above figures are not intended to indicate or limit the chronological order of the processes. In addition, it is also readily understood that these processes may be performed synchronously or asynchronously, e.g., in multiple modules.
It should be noted that although in the above detailed description several modules or units of the device for action execution are mentioned, such a division is not mandatory. Indeed, the features and functionality of two or more modules or units described above may be embodied in one module or unit, according to embodiments of the present disclosure. Conversely, the features and functions of one module or unit described above may be further divided into embodiments by a plurality of modules or units.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is to be limited only by the terms of the appended claims.

Claims (11)

1. A charging control method applied to electronic equipment is characterized by comprising the following steps:
detecting the battery temperature of the electronic equipment under the condition that the electronic equipment is electrically connected with the adapter;
when the battery temperature is between a first temperature threshold and a second temperature threshold, charging the electronic equipment in a first charging mode, wherein the first temperature threshold is smaller than the second temperature threshold;
if the battery temperature drops to the first temperature threshold, switching the charging mode of the electronic device from the first charging mode to a second charging mode, and switching from the second charging mode to a third charging mode to continue charging the electronic device;
the charging current corresponding to the first charging mode is greater than the charging current corresponding to the third charging mode, and the charging current corresponding to the third charging mode is greater than the charging current corresponding to the second charging mode.
2. The charge control method according to claim 1, wherein the first charge mode and the third charge mode belong to a first charge type, and the second charge mode belongs to a second charge type; wherein the charge control method further comprises:
displaying a charging icon corresponding to the first charging type on the electronic equipment when the electronic equipment is charged in the first charging mode and the third charging mode;
in the process of switching the charging mode of the electronic equipment from the first charging mode to the second charging mode and from the second charging mode to the third charging mode, when the electronic equipment is charged in the second charging mode, the electronic equipment is controlled to display a charging icon corresponding to the first charging type.
3. The charging control method according to claim 2, wherein in switching the charging mode of the electronic device from the first charging mode to the second charging mode and charging with the second charging mode, the charging control method further comprises:
clearing a status flag generated due to disconnection of a power line for transmitting a charging current for a predetermined time from switching a charging mode of the electronic device from the first charging mode to the second charging mode;
and after the preset time, clearing the charging start mark corresponding to the first charging type, and configuring the mark for displaying the charging icon corresponding to the first charging type to be activated so as to control the electronic equipment to display the charging icon corresponding to the first charging type.
4. The charge control method according to claim 3, characterized by further comprising:
when the battery temperature is detected to fall to the first temperature threshold value, acquiring the voltage on the power line;
if the voltage on the power line is smaller than a voltage threshold value, clearing a charging icon corresponding to the first charging type displayed on the electronic equipment;
if the voltage on the power line is larger than or equal to the voltage threshold, the electronic equipment is controlled to display a charging icon corresponding to the first charging type in the process of switching the charging mode of the electronic equipment from the first charging mode to the second charging mode and charging by adopting the second charging mode.
5. The charge control method according to any one of claims 1 to 4, characterized by further comprising:
and when the battery temperature is detected to be between the first temperature threshold and a third temperature threshold, charging the electronic equipment by adopting the third charging mode, wherein the third temperature threshold is smaller than the first temperature threshold.
6. The charge control method according to claim 5, characterized by further comprising:
after the electronic device is charged in the third charging mode, if the temperature of the battery rises to the first temperature threshold, the charging mode of the electronic device is switched from the third charging mode to a second charging mode, and the second charging mode is switched to the first charging mode, so that the electronic device is continuously charged.
7. The charge control method according to claim 5, characterized by further comprising:
and when the battery temperature is detected to be smaller than the third temperature threshold value, charging the electronic equipment by adopting the second charging mode.
8. The charge control method according to claim 1, characterized by further comprising:
after the electronic equipment is charged in a first charging mode, if the temperature of the battery rises to a fourth temperature threshold value, switching the charging mode of the electronic equipment from the first charging mode to a fourth charging mode so as to continue charging the electronic equipment;
the fourth temperature threshold is greater than the second temperature threshold, and the charging current corresponding to the fourth charging mode is greater than the charging current corresponding to the first charging mode.
9. A charging control device applied to electronic equipment is characterized by comprising:
the temperature detection module is used for detecting the battery temperature of the electronic equipment under the condition that the electronic equipment is electrically connected with the adapter;
the first charging control module is used for charging the electronic equipment in a first charging mode when the temperature of the battery is between a first temperature threshold and a second temperature threshold, and the first temperature threshold is smaller than the second temperature threshold;
a second charging control module, configured to switch a charging mode of the electronic device from the first charging mode to a second charging mode and from the second charging mode to a third charging mode if the battery temperature falls to the first temperature threshold, so as to continue charging the electronic device;
the charging current corresponding to the first charging mode is greater than the charging current corresponding to the third charging mode, and the charging current corresponding to the third charging mode is greater than the charging current corresponding to the second charging mode.
10. A computer-readable storage medium on which a computer program is stored, the program, when executed by a processor, implementing the charge control method according to any one of claims 1 to 8.
11. An electronic device, comprising:
a processor;
a memory for storing one or more programs that, when executed by the processor, cause the processor to implement the charge control method of any of claims 1-8.
CN202010871190.XA 2020-08-26 2020-08-26 Charging control method and device, computer readable storage medium and electronic device Active CN112039150B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010871190.XA CN112039150B (en) 2020-08-26 2020-08-26 Charging control method and device, computer readable storage medium and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010871190.XA CN112039150B (en) 2020-08-26 2020-08-26 Charging control method and device, computer readable storage medium and electronic device

Publications (2)

Publication Number Publication Date
CN112039150A CN112039150A (en) 2020-12-04
CN112039150B true CN112039150B (en) 2022-07-12

Family

ID=73581908

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010871190.XA Active CN112039150B (en) 2020-08-26 2020-08-26 Charging control method and device, computer readable storage medium and electronic device

Country Status (1)

Country Link
CN (1) CN112039150B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114825495A (en) * 2021-01-22 2022-07-29 北京小米移动软件有限公司 Charging control method, charging control device, electronic equipment and storage medium
CN113054728A (en) * 2021-03-31 2021-06-29 联想(北京)有限公司 Charging control method and power adapter

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100544118B1 (en) * 2003-06-13 2006-01-23 삼성에스디아이 주식회사 Nonaqueous electrolytic solution with improved low temperature characteristic and safety, and lithium battery employing the same
CN106655407B (en) * 2017-01-19 2020-08-07 宁德新能源科技有限公司 Battery charging method and device, electronic equipment, adapter and charger
CN107195995A (en) * 2017-04-28 2017-09-22 深圳市沃特玛电池有限公司 A kind of method for giving power battery charging at low ambient temperatures
CN111071106A (en) * 2019-12-25 2020-04-28 浙江合众新能源汽车有限公司 Low-temperature charging management system and method for electric automobile
CN111211595B (en) * 2020-01-14 2021-11-09 北京小米移动软件有限公司 Charging method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN112039150A (en) 2020-12-04

Similar Documents

Publication Publication Date Title
CN108966008B (en) Live video playback method and device
CN111212412B (en) Near field communication method and device, computer readable storage medium and electronic equipment
US10104213B2 (en) Information processing device
KR20150120208A (en) Mobile terminal and method for controlling the same
CN114500709A (en) Personal wireless media station
CN111107389B (en) Method, device and system for determining live broadcast watching time length
CN110618805B (en) Method and device for adjusting electric quantity of equipment, electronic equipment and medium
KR20100052287A (en) Control method of portable device connected external device and system thereof
CN112650405B (en) Interaction method of electronic equipment and electronic equipment
CN112039150B (en) Charging control method and device, computer readable storage medium and electronic device
CN111324196B (en) Memory operation frequency adjusting method and device, storage medium and electronic equipment
CN111027490A (en) Face attribute recognition method and device and storage medium
CN109089137B (en) Stuck detection method and device
CN115589051B (en) Charging method and terminal equipment
CN112995402A (en) Control method and device, computer readable medium and electronic equipment
KR20170055866A (en) Device and operation method thereof
CN109525919B (en) On-off control device, on-off control method, system and storage medium
CN111683329A (en) Microphone detection method, device, terminal and storage medium
CN108595352B (en) Protection method and device for mobile terminal
CN110912830B (en) Method and device for transmitting data
CN110635186A (en) Charging method and electronic equipment
CN110113669B (en) Method and device for acquiring video data, electronic equipment and storage medium
CN111986700A (en) Method, device, equipment and storage medium for triggering non-contact operation
CN115883807A (en) Method, device, terminal, medium and product for adjusting working mode
CN116094082A (en) Charging control method and related device

Legal Events

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