CN112018831A - Charging control method, charging control device and electronic equipment - Google Patents

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

Info

Publication number
CN112018831A
CN112018831A CN201910453549.9A CN201910453549A CN112018831A CN 112018831 A CN112018831 A CN 112018831A CN 201910453549 A CN201910453549 A CN 201910453549A CN 112018831 A CN112018831 A CN 112018831A
Authority
CN
China
Prior art keywords
battery
charging
voltage
current
preset
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.)
Granted
Application number
CN201910453549.9A
Other languages
Chinese (zh)
Other versions
CN112018831B (en
Inventor
田海涛
王朝
罗伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Honor Device Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201910453549.9A priority Critical patent/CN112018831B/en
Publication of CN112018831A publication Critical patent/CN112018831A/en
Application granted granted Critical
Publication of CN112018831B publication Critical patent/CN112018831B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02EREDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
    • Y02E60/00Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
    • Y02E60/10Energy storage using batteries

Abstract

In the method, after the electronic equipment is detected to be in a state of being charged by power supply equipment at present, voltages at two ends of a battery are detected, and when the voltages at the two ends of the battery are detected to be larger than or equal to a first voltage threshold, the battery is charged by using current with a preset magnitude, namely, a constant current charging stage is started. And then, continuously detecting the voltage at the two ends of the battery, and when the voltage at the two ends of the battery is detected to be larger than or equal to a second voltage threshold, controlling the voltage value for charging the battery to be kept at the value of the second voltage threshold, namely entering a first constant voltage charging stage. And after entering a first constant voltage charging stage, detecting the charging current of the battery, and when detecting that the charging current of the battery is smaller than or equal to a preset current threshold value, controlling the voltage value for charging the battery to be kept at the value of the charging cut-off voltage of the battery, namely entering a second constant voltage charging stage.

Description

Charging control method, charging control device and electronic equipment
Technical Field
The present disclosure relates to the field of electronic technologies, and in particular, to a charging control method, a charging control apparatus, and an electronic device.
Background
With the development of global information technology, electronic devices (such as smart phones, tablet computers, etc.) have fully penetrated the lives of people. However, these electronic devices are powered by a battery (e.g., a lithium battery), and when the battery is exhausted, the battery needs to be charged so that the battery recovers its power supply capability.
The charging process of a battery generally includes a pre-charge phase (also referred to as a trickle charge phase), a constant current charge phase, and a constant voltage charge phase. The initial voltage of the battery to be charged is generally low, and in order to protect the life of the battery, a small current is first used to make the voltage of the battery satisfy a certain condition (for example, make the voltage of the battery greater than or equal to 3 volts, V)) when charging the battery, which is a pre-charging stage. After the pre-charging of the battery is completed, a constant current charging stage is entered, i.e. the battery is charged with a set current. During this phase, the voltage of the battery remains constant, but the charging current gradually decreases, and when the charging current is less than or equal to a predetermined cutoff current (e.g., 75 milliamps (mA), the battery is stopped from being charged.
Since the current is large in the constant-current charging phase, that is, the current is large at the time of entering the constant-voltage charging phase, the time required for the large current to decrease to the off-current is long in the constant-voltage charging phase, resulting in a long charging time of the battery.
Disclosure of Invention
The embodiment of the application provides a charging control method, a charging control device and electronic equipment, which are used for reducing the charging time of a battery.
In a first aspect, a charging control method is provided, which is applied to an electronic device including a battery, and in the method, when it is detected that the electronic device is currently in a state of being charged by a power supply device, a voltage across the battery is first detected. When the voltage at two ends of the battery is detected to be larger than or equal to a first voltage threshold, the battery is charged by using current with a preset magnitude, namely, a constant current charging stage is entered, and the first voltage threshold is smaller than the charging cut-off voltage of the battery. And then, continuously detecting the voltage at the two ends of the battery, and when the voltage at the two ends of the battery is detected to be larger than or equal to a second voltage threshold, controlling the voltage value for charging the battery to be kept at the value of the second voltage threshold, namely entering a first constant voltage charging stage, wherein the second voltage threshold is higher than the charging cut-off voltage of the battery. After entering the first constant voltage charging stage, detecting the charging current of the battery, and when detecting that the charging current of the battery is smaller than or equal to a preset current threshold value, controlling the voltage value for charging the battery to be kept at the value of the charging cut-off voltage of the battery, namely entering the second constant voltage charging stage, wherein the preset current threshold value is larger than the charging cut-off current of the battery.
In the above technical solution, two constant voltage charging stages are provided to charge the battery, and in the first constant voltage charging stage, since the voltage threshold (i.e. the second voltage threshold) is higher than the charging cut-off voltage of the battery, the battery that should enter the constant voltage charging stage is still maintained in the constant current charging stage, which is equivalent to prolonging the duration of the battery in the constant current charging stage, and the charging duration of the battery can be reduced. And the corresponding current threshold is also set in the first constant voltage charging stage, and the current threshold is higher than the charging cut-off current of the battery, so that even if the charging voltage in the first constant voltage charging stage is higher, the current threshold in the first constant voltage charging stage is also improved, and the problem of overcharging of the battery cannot be caused.
In one possible design, the second voltage threshold is a sum of the charge cut-off voltage and a preset unit voltage. The second voltage threshold may also be set according to a use requirement, and is not limited in the embodiment of the present application.
In one possible design, the preset current threshold is a ratio between the preset unit voltage and a charging impedance, and the charging impedance is an impedance between an output end of the power supply device and ground.
In the above technical solution, the preset current threshold value is associated with the second voltage threshold, so that the duration of the battery in the constant current charging stage can be prolonged as much as possible on the premise of avoiding the overcharge of the battery, and the charging duration can be reduced as much as possible.
In a possible design, when a battery is charged by a power supply device, the full charge report of the battery may be determined according to the discharge amount of the battery before the battery is charged by the power supply device, so that when the current charge amount of the battery is greater than or equal to the full charge report, the electronic device is controlled to display that the battery is in a full charge state. Then, when it is detected that the charging current of the battery is less than or equal to the charge cutoff current of the battery, the charging of the battery is stopped.
In the technical scheme, the time required by the electronic equipment for displaying that the battery is fully charged is shortened through a full reporting mechanism, so that the electronic equipment can be disconnected from the power supply equipment after the electronic equipment displays that the battery is fully charged, and the charging time can be further shortened.
In one possible design, the product of the discharge capacity of the battery before being charged by the power supply device and a preset percentage may be determined as a self-learning capacity of the battery, then, the magnitude relation between the self-learning capacity and the preset capacity of the battery is compared, and if the self-learning capacity is greater than or equal to the preset capacity of the battery, the full charge of the battery is determined as the product of the preset capacity and the preset percentage; or if the self-learning electric capacity is smaller than the preset electric capacity of the battery, determining the full-reporting electric quantity of the battery as the product of the self-learning electric capacity and the preset percentage.
In the technical scheme, the self-learning electric quantity is compared with the preset electric capacity, so that more appropriate full-charge reporting quantity can be determined, accurate full-charge reporting can be realized, and the problem of large charging time difference of different electronic devices caused by the difference of battery capacities can be solved.
In a second aspect, embodiments of the present application further provide an electronic device, which includes at least one processor and at least one memory; the memory for storing one or more computer programs; the one or more computer programs stored in the memory, when executed by the at least one processor, enable the electronic device to implement the aspects of the first aspect and any possible design thereof.
In a third aspect, an embodiment of the present application further provides a charging control apparatus, where the charging control apparatus includes a module/unit that performs the method of the first aspect or any one of the possible designs of the first aspect; for example, the charging control device comprises a detection module and a control module, wherein the detection module is used for detecting the voltage and the charging current at two ends of a battery of the electronic equipment, and the control module is used for controlling the charging process of the battery according to the voltage and the charging current at two ends of the battery detected by the detection module. These modules/units may be implemented by hardware, or by hardware executing corresponding software.
In a fourth aspect, an embodiment of the present application further provides a chip, where the chip is coupled to the memory, and is configured to call a computer program stored in the memory and execute a technical solution of any one of the first aspect and the possible designs of the first aspect of the embodiment of the present application; "coupled" in the context of this application means that two elements are joined to each other either directly or indirectly.
In a fifth aspect, an embodiment of the present application further provides a computer-readable storage medium, where the computer-readable storage medium includes a computer program, and when the computer program runs on an electronic device, the electronic device is enabled to execute a technical solution of any one of the first aspect of the present application and the first aspect of the present application as designed.
In a sixth aspect, a program product in the embodiments of the present application includes instructions, and when the program product runs on an electronic device, the electronic device is caused to execute the technical solution of the first aspect and any possible design of the first aspect of the embodiments of the present application.
Advantageous effects of the second to sixth aspects and implementations thereof described above reference may be made to the description of advantageous effects of the method of the first aspect and implementations thereof.
Drawings
Fig. 1A is an example of an application scenario in which an electronic device 100 is charged by an external power source according to an embodiment of the present application;
fig. 1B is an example of an application scenario in which the electronic device 100 is charged by a mobile power supply according to an embodiment of the present application;
fig. 2 is a schematic hardware structure diagram of an example of the electronic device 100 provided in the embodiment of the present application;
FIG. 3 is a block diagram of a current loop between the output current of the charging IC and ground;
fig. 4 is a flowchart of an example of a charging control method provided in an embodiment of the present application;
fig. 5 is a flowchart of another example of a charging control method according to an embodiment of the present disclosure;
fig. 6 is a schematic structural diagram of an example of a charging control device according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of another example of a charging control device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions of the embodiments of the present application will be described in detail below with reference to the drawings and specific embodiments of the specification.
Hereinafter, some terms in the embodiments of the present application are explained to facilitate understanding by those skilled in the art.
The embodiment of the application relates to two electronic devices, namely a charged device and a power supply device. The power supply device (or referred to as a charging device, an external power source, etc., and the name of the power supply device is not limited in this embodiment of the present application) is connected to the device to be charged, and may provide the power in the power supply device to the device to be charged. For convenience of description, the power supply apparatus and the electronic apparatus (that is, the apparatus to be charged is referred to as an electronic apparatus) are hereinafter explained as examples.
It is to be understood that the terminology used in the following embodiments is for the purpose of describing particular embodiments only, and is not intended to be limiting of the application. As used in the specification of this application and the appended claims, the singular forms "a", "an", "the" and "the" are intended to include the plural forms as well, such as "one or more", unless the context clearly indicates otherwise. It should also be understood that in the embodiments of the present application, "one or more" means one, two, or more than two; "and/or" describes the association relationship of the associated objects, indicating that three relationships may exist; for example, a and/or B, may represent: a alone, both A and B, and B alone, where A, B may be singular or plural. The character "is a relationship generally indicating that the former and latter associated objects are an" or ".
Reference throughout this specification to "one embodiment" or "some embodiments," or the like, means that a particular feature, structure, or characteristic described in connection with the embodiment is included in one or more embodiments of the present application. Thus, appearances of the phrases "in one embodiment," "in some embodiments," "in other embodiments," or the like, in various places throughout this specification are not necessarily all referring to the same embodiment, but rather "one or more but not all embodiments" unless specifically stated otherwise. The terms "comprising," "including," "having," and variations thereof mean "including, but not limited to," unless expressly specified otherwise.
It should be noted that the technical scheme provided by the application can be applied to a wired charging scenario and can also be applied to a wireless charging scenario. In a wireless charging scene, the electronic device and the power supply device are connected in a wireless manner (e.g., wireless fidelity (Wi-Fi), bluetooth, etc.); in a wired charging scenario, the electronic device and the power supply device are connected in a wired manner (e.g., via a power cord). The following description will be given by taking an application in a wired charging scenario as an example. Of course, in the wireless charging scenario, the implementation principle is similar to that in the wired charging scenario, and details are not repeated here.
Referring to fig. 1A-1B, examples of two application scenarios are provided in the embodiments of the present application. Of course, the technical solution of the embodiment of the present application is not limited to be applied to these two application scenarios, and may also be applied to other application scenarios, and the embodiment of the present application is not limited.
In the scenario illustrated in fig. 1A, the electronic device 100 (taking a mobile phone as an example) and the power supply device 200 (taking a charger of a mobile phone as an example) are included. In this scenario, after the electronic device 100 is connected to the power supply device 200, the power supply device 200 is connected to an external power source (e.g., commercial power with a voltage of 220 volts and a frequency of 50 hertz, HZ), and the power supply device 200 obtains power from the external power source and then provides the power to the electronic device 100.
Unlike fig. 1A, in the scenario illustrated in fig. 1B, the power supply apparatus 200 is a mobile power supply. In this scenario, after the electronic device 100 is connected to the power supply apparatus 200, the power supply apparatus 200 may supply its stored power to the electronic device 100.
In an embodiment of the present application, the electronic device 100 may be a device that provides voice and/or data connectivity to a user, and may include, for example, a handheld device having wireless connection capability or a processing device connected to a wireless modem.
The electronic device 100 may communicate with a core network via a Radio Access Network (RAN), exchanging voice and/or data with the RAN. The electronic device 100 may include a User Equipment (UE), a wireless terminal, a mobile terminal, a subscriber unit (subscriber unit), a subscriber station (subscriber station), a mobile station (mobile station), a remote station (remote station), an Access Point (AP), a remote terminal (remote terminal), an access terminal (access terminal), a user terminal (user terminal), a user agent (user agent), a user equipment (user device), or the like. Alternatively, the electronic device 100 may include a mobile phone (or "cellular" phone), a computer with a mobile terminal, a portable, pocket, hand-held, computer-included or vehicle-mounted mobile device, a smart wearable device, and the like. For example, Personal Communication Service (PCS) phones, cordless phones, Session Initiation Protocol (SIP) phones, Wireless Local Loop (WLL) stations, Personal Digital Assistants (PDAs), and the like. Alternatively, the electronic device 100 may also include constrained devices, such as devices with lower power consumption, or devices with limited storage capability, or devices with limited computing capability, etc. Examples of information sensing devices include bar codes, Radio Frequency Identification (RFID), sensors, Global Positioning Systems (GPS), laser scanners, and the like.
By way of example and not limitation, in the embodiments of the present application, the smart wearable device is a generic term for intelligently designing daily wearing by applying wearable technology, and developing wearable devices, such as glasses, gloves, watches, clothes, shoes, and the like. The smart wearable device is a portable device that is worn directly on the body or integrated into the clothing or accessories of the user. The intelligent wearable device is not only a hardware device, but also realizes powerful functions through software support, data interaction and cloud interaction. Generalized intelligent wearable device includes that the function is full, size is big, can not rely on the smart mobile phone to realize complete or partial function, for example: smart watches or smart glasses and the like, and only focus on a certain type of application functions, and need to be used in cooperation with other devices such as smart phones, such as various smart bracelets, smart helmets, smart jewelry and the like for monitoring physical signs.
Alternatively, the electronic device 100 may be a Virtual Reality (VR) device, an Augmented Reality (AR) device, a wireless terminal in industrial control (industrial control), a wireless terminal in unmanned driving (drive), a wireless terminal in remote medical supply (tele), a wireless terminal in smart grid (smart grid), a wireless terminal in transportation safety (transportation safety), a wireless terminal in smart city (smart city), a wireless terminal in smart home (smart home), or the like.
The power supply apparatus 200 may be a power adapter, a mobile power supply, or other apparatuses having a function of charging the electronic apparatus 100. For example, when the power supply apparatus 200 is a power adapter, an external power source (e.g., commercial power) may be converted into a direct current signal and output to the electronic apparatus 100.
One possible structure of the electronic device 100 is further described below with reference to the drawings. Referring to fig. 2, a schematic diagram of a hardware structure of an example of the electronic device 100 according to the embodiment of the present disclosure is provided. As shown in fig. 2, the electronic device 100 may include a processor 120, an internal memory 110, an external memory 111, a charging management module 121, a power management module 122, a battery 123, an audio circuit 130, a speaker 131, a microphone 132, an input device 140, a display device 150, a camera 160, a sensor 170, a Radio Frequency (RF) circuit 180, a wireless fidelity (Wi-Fi) module 190, and the like.
Those skilled in the art will appreciate that fig. 2 is merely exemplary of an electronic device and is not intended to be limiting, and that an electronic device may include more or fewer components than those shown, or some components may be combined, or different components. Alternatively, other modified structures can exist on the basis of the structure shown in fig. 2.
The processor 120 is a control center of the electronic device 100, connects various parts of the whole electronic device 100 by using various interfaces and lines, and performs various functions and processes data of the electronic device 100 by executing or executing instructions stored in the internal memory 110 and calling data stored in the internal memory 110, thereby performing overall monitoring of the electronic device. Optionally, the processor 120 may include one or more processing units, and preferably, the processor 120 may integrate an Application Processor (AP) and a modem processor, wherein the AP mainly processes an operating system, a user interface, an application program, and the like, and the modem processor mainly processes wireless communication. It will be appreciated that the modem processor described above may not be integrated into the processor 120. In some embodiments, the processor 120 and the internal memory 110 may be implemented on the same chip, and in other embodiments, the processor 120 and the internal memory 110 may be implemented separately on separate chips.
The internal memory 110 may be used to store computer-executable program code, which includes instructions. The processor 120 executes various functional applications of the electronic device 100 and data processing by executing instructions stored in the internal memory 110. The internal memory 110 may include a program storage area and a data storage area. Wherein the storage program area may store an operating system, software code of at least one application program (such as a camera application, a WeChat application, etc.), and the like. The data storage area may store data (such as images, videos, and the like) generated during the use of the electronic device 100, and the like. In addition, the internal memory 110 may include a high-speed random access memory, and may further include a nonvolatile memory, such as at least one magnetic disk storage device, a flash memory device, a universal flash memory (UFS), and the like.
The external memory interface 111 may be used to connect an external memory card, such as a micro digital Secure (SD) card, to extend the memory capability of the electronic device 100. The external memory card communicates with the processor 120 through the external memory interface 111 to implement a data storage function. For example, files such as music, video, etc. are saved in an external memory card.
The peripheral interface may include a standard Micro universal serial bus (Micro USB) interface, and may also include various connectors, such as a communication interface (not shown in fig. 2) for connecting the electronic device 100 to communicate with other devices, and a charging interface 133 for connecting a charger to charge the electronic device 100, as shown in fig. 2.
It should be understood that when the electronic device 100 is connected to the power adapter through the charging interface 133, the power transmission between the electronic device 100 and the power adapter can be realized through the charging interface 133; when the electronic device 100 is charged in a wireless charging manner, for example, the electronic device 100 is wirelessly connected to the power adapter through a bluetooth connection, so that power transmission between the electronic device 100 and the power adapter can be performed through bluetooth transmission. The power adapter and the electronic device 100 may support the same protocol, such as a Power Delivery (PD) protocol, and the embodiment of the present application is not limited thereto.
The power adapter is connected to an external power source (e.g., commercial power, etc.), obtains power from the external power source (e.g., commercial power, etc.), and inputs the obtained power to the electronic device 100 through the charging interface 133 (e.g., to the charging management module 121 in the electronic device 100). The charging management module 121 is used for managing a charging process, and the charging management module 121 includes a charging Integrated Circuit (IC) for charging and a control circuit for controlling a charging phase. For example, after the connection is established between the charging interface 133 of the electronic device 100 and the power supply device 200, the battery 123 is supplied with power through the charging IC, the control circuit may detect a charging voltage and a charging current across the electronic device 100, and control the charging stage (for example, in a constant voltage charging stage or in a constant current charging stage) of the electronic device 100 according to the detected charging voltage and charging current across the electronic device 100, and after it is determined that the battery 123 of the electronic device 100 is fully charged, control the display device 150 or the speaker 131 to generate a prompt message, which may be a voice, a text, or the like, or may be a Light Emitting Diode (LED) signal. For example, the display panel 151 of the display device 150 displays a prompt message in a basic text form, or a speaker 131 of the audio circuit 130 may emit a prompt message based on an audio form, or an LED lamp may be controlled to flash to prompt a power shortage, which is not limited herein. An electricity meter may be further disposed in the charging management module 121, so that the charging management module 121 may obtain information of the current remaining capacity of the battery 123 and the last discharging capacity of the battery through the electricity meter. The main steps of the charging method provided by the embodiment of the present application may be executed by the charging management module 121.
Alternatively, the charging management module 121 stores electricity for the battery 123 on the one hand, and provides input electric energy for the power management module 122 on the other hand; alternatively, the charging management module 121 only stores power for the battery 123, and the power management module 122 obtains power from the battery 123 to supply power to the components (e.g., the processor 120, the internal memory 110, the input device 140, the display device 150, the sensor 170, etc.).
The power management module 122 receives power input from the battery 123 and/or the charging management module 121 to supply power to each component. For example, when the electronic device 100 is not connected to a power adapter, the power management module 122 receives power from the battery 123 to power the various components. When the electronic device 100 is connected to the power adapter and is charged, the power management module 122 receives the power input by the charging management module 121 to supply power to each component, and of course, when the electronic device 100 is connected to the power adapter and is charged, the power management module 122 may also receive the power input by the battery 123 to supply power to each component. It should be noted that the power management module 122 may sequentially supply power to each component, for example, first supply power to the processor 120, and then supply power to other components, and when the power management module 122 supplies power to the processor 120, the processor 120 may notify the power management module 122 to supply power to which parts of other components, or not supply power to which components, and the like.
It is to be understood that when the electronic apparatus 100 is not connected to the power adapter, the electronic apparatus 100 may supply power to the respective devices by the power stored in the battery 123.
The input device 140 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function controls of the electronic device. For example, if the electronic device supports touch input, the input device 140 may include a touch screen, and may also include other input devices, and the touch screen may collect touch operations on or near the touch screen by the user (for example, operations on or near the touch screen by the user using any suitable object such as a finger, a joint, a stylus pen, etc.) and drive the corresponding connection device according to a preset program. The touch screen can detect a touch operation of a user on the touch screen, convert the touch operation into a touch signal and send the touch signal to the processor 120, or understand that touch information of the touch operation can be sent to the processor 120 and can receive and execute a command sent by the processor 120. The touch screen may provide an input interface and an output interface between the electronic device 100 and a user. In addition, the touch screen may be implemented using various types, such as resistive, capacitive, infrared, and surface acoustic wave. In addition to a touch screen, input device 140 may include other input devices. For example, other input devices may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display device 150, which includes a display panel, may be used to display information input by or provided to a user, various menu interfaces of the electronic device 100, and the like. Further, the touch screen may cover the display device 150, and when the touch screen detects a touch operation thereon or nearby, the touch screen transmits the touch operation to the processor 120 to determine the type of the touch event, and then the processor 120 provides a corresponding visual output on the display device 150 according to the type of the touch event. In this embodiment, the touch screen and the display device 150 may be integrated into a single component to implement the input, output, and display functions of the electronic device 100, for example, a prompt message is displayed on the touch screen through the display device 150 to prompt the current remaining power of the electronic device 100. For convenience of description, the touch screen represents the functional set of the touch screen and the display device 150 as an example in the embodiment of the present application, but in some embodiments, the touch screen and the display device 150 may also be two separate components.
The rf circuit 180 may be used for receiving and transmitting information or signals during a call. Typically, the radio frequency circuitry includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, the radio frequency circuit 180 may also communicate with network devices and other devices via wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to global system for mobile communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, Short Message Service (SMS), etc.
Audio circuitry 130, speaker 131, and microphone 132 may provide an audio interface between a user and electronic device 100. The audio circuit 130 may transmit the electrical signal converted from the received audio data to the speaker 131, and convert the electrical signal into a sound signal for output by the speaker 131. On the other hand, the microphone 132 converts the collected sound signal into an electrical signal, which is received by the audio circuit 130 and then converted into audio data, and then the audio data is processed by the audio data output processor 120 and then sent to another electronic device through the radio frequency circuit 180, or the audio data is output to the internal memory 110 for further processing, and the audio circuit 130 may also include a headphone jack for providing a connection interface between the audio circuit 130 and a headphone. In the embodiment of the present application, the audio circuit 130 may transmit the prompting information based on the audio format to the speaker 131, and the speaker 131 converts the prompting information into a sound signal to output, so as to achieve the purpose of prompting that the electronic device 100 is insufficient in power and needs to be charged or the power is full based on the sound mode.
The Wi-Fi module 190 belongs to a short-range wireless transmission technology, and the electronic device 100 can help a user to send and receive e-mails, browse webpages, access streaming media and the like through the Wi-Fi module 190, and provides wireless broadband internet access for the user. Although fig. 2 shows the Wi-Fi module 190, it is understood that it does not belong to the essential constitution of the electronic device 100, and may be omitted entirely as needed within the scope not changing the essence of the application.
The electronic device 100 may further include a bluetooth module (not shown in fig. 2), which is a short-range wireless communication technology. By using the bluetooth technology, the communication between mobile communication electronic devices such as a palm computer, a notebook computer, and a mobile phone can be effectively simplified, and the communication between the above devices and the internet (internet) can also be successfully simplified, so that the electronic device 100 can make the data transmission between the electronic device 100 and the internet more rapid and efficient through the bluetooth module, thereby widening the way for wireless communication. Bluetooth technology is an open solution that enables wireless transmission of voice and data. Although fig. 2 shows a bluetooth module, it is understood that it does not belong to the essential constitution of the electronic apparatus 100, and may be omitted entirely as needed within the scope of not changing the essence of the application.
Also included in the electronic device 100 is a camera 160 for capturing images or video. The camera 160 may be a general camera or a focusing camera.
Although not shown in fig. 2, the electronic device 100 may further include a flashlight, an LED lamp, various sensors, and other possible functional modules, which are not described herein.
The following describes a charging process of the electronic device 100 in the prior art with reference to the hardware structure of the electronic device 100 shown in fig. 2.
In the current charging process, the charging process is controlled by setting cutoff voltages corresponding to different charging phases. As an example, the cutoff voltage corresponding to the pre-charge phase is set to 3V and the cutoff voltage corresponding to the constant current charge phase is set to the maximum voltage (e.g., 4.4V) that the battery 123 can withstand, respectively. Then, during the charging process, the control circuit of the charging management module 121 monitors the voltage across the battery 123 in real time, so as to control the battery 123 to enter the corresponding charging phase.
When charging starts, the control circuit of the charging management module 121 first controls the battery to be in a pre-charging stage, and when it is detected that the voltage across the battery 123 reaches a cut-off voltage corresponding to the pre-charging stage, the control circuit of the charging management module 121 controls the battery 123 to enter a constant current charging stage, that is, the battery 123 is charged with a constant current (a preset current). The voltage across the battery 123 continues to be detected, and when the control circuit of the charging management module 121 determines that the voltage across the battery 123 reaches the cut-off voltage corresponding to the constant-current charging stage, the battery 123 is controlled to enter the constant-voltage charging stage. In this stage, the voltage of the battery is kept constant, the charging current is gradually decreased, and when the charging current is less than or equal to the preset cutoff current, it is considered that the battery 123 is fully charged, thereby stopping charging the battery 123.
However, during actual charging, the charging management module 121 takes the voltage between the output current of the charging IC and ground as the voltage across the battery 123. While between the output current of the charging IC and ground there is some impedance. Referring to fig. 3, a block diagram of a current loop between the output current of the charging IC and the ground when the charging IC is connected to the battery 123 through the connector is shown. As shown in fig. 3, the output current of the charging IC first flows through the positive electrode of the connector, and then, the output current flows through the cell of the battery 123 via the positive electrode of the connector. A cell protection device is disposed inside the battery 123, so that the output current flows through the negative electrode of the connector via the cell protection device, and finally flows to the ground through the electricity meter.
In the current loop shown in fig. 3, there is a connector positive contact resistance between the charging IC and the positive electrode of the connector, there is an internal resistance of the cell protection device, there is a connector negative contact resistance between the negative electrode of the connector and the cell protection device, and the coulometer has an internal resistance, etc. Due to the impedance, when the battery 123 is in a constant voltage charging phase, the resistance may generate a voltage drop as the cell voltage increases, so that the charging current may slowly decrease. However, the current in the constant current charging stage is usually larger and the preset cut-off current is smaller, so the time required for slowly decreasing from the larger current to the smaller current is longer, and further the charging time of the electronic device is longer.
In view of this, embodiments of the present disclosure provide a charging control method, which can reduce a charging time period of an electronic device. Please refer to fig. 4, which is a flowchart illustrating an example of a charging control method according to an embodiment of the present disclosure. Hereinafter, the method will be described by taking an example in which the method is applied to the electronic apparatus 100 shown in fig. 2. It is understood that the method may be performed by the charge management module 121 of the electronic device 100. The method comprises the following steps:
s401, the charging management module 121 determines that the electronic device 100 is in the charging state.
The charging management module 121 may determine whether the electronic device 100 is in the charging state by detecting whether the charging interface 133 is currently electrically connected to the power supply device 200, and if so, determine that the electronic device 100 is in the charging state. Of course, in a wireless charging scenario, the charging management module 121 may also detect whether the electric energy is received wirelessly, and if so, determine that the electronic device 100 is in a charging state.
As an example, the charging interface 133 may generate a first electrical signal (e.g., a low level signal) when not connected to the power supply apparatus 200, and the charging interface 133 may generate a second electrical signal (e.g., a high level signal) when the power supply apparatus 200 is connected to the charging interface 133. The charging management module 121 detects the electrical signal generated by the charging interface 133 in real time, and when the charging management module 121 detects that the charging interface 133 generates the second electrical signal, it is determined that the electronic device 100 is in the charging state.
S402, the charging management module 121 determines that the initial charging phase is a pre-charging phase.
Specifically, as can be seen from the foregoing description, the charging process of the battery 123 can be divided into 3 stages, namely, a pre-charging stage, a constant-current charging stage, and a constant-voltage charging stage. However, the pre-charging stage usually aims at the condition that the initial voltage of the battery is low, that is, when the battery 123 is charged, if the initial voltage of the battery 123 is already high, the constant current stage can be directly entered, so in this embodiment of the present application, when the charging management module 121 determines that the electronic device 100 is in the charging state, the charging management module 121 needs to determine the initial charging stage corresponding to the charging of the battery 123 according to the current remaining capacity of the battery 123 or the voltage across the battery 123.
As an example, the charging management module 121 may obtain the remaining capacity of the battery 123 at the current time, and then determine the initial charging stage according to the remaining capacity of the battery 123. For example, if the remaining capacity of the battery 123 is less than 20% (when the battery is in a full charge state, the remaining capacity is 100%), the charging management module 121 determines that the initial charging phase is the pre-charging phase; if the remaining capacity of the battery 123 is greater than 20%, the charging management module 121 determines that the initial charging phase is the constant current charging phase.
As another example, the charging management module 121 may obtain the voltage across the battery 123 after determining that the electronic device 100 is in the charging state, and then determine the initial charging phase according to the voltage across the battery 123. For example, if the voltage across the battery 123 is less than 3V, the charging management module 121 determines that the initial charging phase is a pre-charging phase, otherwise, the charging management module 121 determines that the initial charging phase is a constant current charging phase.
It should be noted that the voltage across the battery 123 can be understood as the voltage between the output current of the charging IC and the ground, and please refer to fig. 3 for details, which is not described herein again.
For convenience of explanation, the initial charging phase is taken as the pre-charging phase as an example hereinafter.
S403, the charging management module 121 charges the battery 123 according to the charging parameter corresponding to the pre-charging phase.
After the charge management module 121 determines the initial charging phase, the battery 123 is charged using a charging current (e.g., 0.5A) corresponding to the pre-charging phase. The precharge phase is the same as the prior art and is not described in detail herein.
S404, the charging management module 121 determines whether the voltage across the battery 123 is greater than or equal to a first voltage threshold, and if so, enters a constant current charging stage.
In the embodiment of the present application, the first voltage threshold is smaller than the charge cutoff voltage of the battery 123. The charge cut-off voltage is understood to be a rated voltage of the battery 123, and may be 4.2V or 4.4V, or the like. Since the charging current used in the pre-charging phase is small, in order to reduce the total time required for fully charging the battery 123, the value of the first voltage threshold may be set to a small value, for example, 3V, and the like, and a person skilled in the art may set the value according to practical situations, which is not limited herein.
When the charging management module 121 charges the battery 123, the charging management module 121 monitors voltages at two ends of the battery 123 in real time, and when the charging management module 121 determines that the voltages at two ends of the battery 123 are equal to the first voltage threshold, the charging management module enters a constant current charging stage, and controls an output current of the charging IC to be a preset current, so that the preset current is used for charging the battery 123. The predetermined current may be a larger current value, for example, 1A or 2A, etc., without limitation.
It should be noted that the charging management module 121 may also obtain the voltage across the battery 123 in other manners, for example, obtain the voltage across the battery 123 according to a preset frequency. In this case, if the voltage across the battery 123 acquired n times is smaller than the first voltage threshold and the voltage across the battery 123 acquired n +1 times is larger than the first voltage threshold, the charge management module 121 controls the output current of the charging IC to be the preset current. For convenience of explanation, the charging management module 121 monitors the voltage across the battery 123 in real time as an example hereinafter.
S405, the charging management module 121 determines whether the voltage across the battery 123 is greater than or equal to a second voltage threshold, and if so, enters a first constant voltage charging stage.
In the present embodiment, the second voltage threshold is higher than the charge cutoff voltage of the battery 123. Thus, compared with the charging method in the prior art (i.e., controlling the charging process to enter the constant voltage charging phase by determining whether the voltage across the battery is greater than or equal to the charge cut-off voltage), the duration of the constant current charging phase of the battery 123 is prolonged, and the charging duration can be further reduced.
The second voltage threshold is explained below.
The second voltage threshold has two cases:
in the first case, if the charging IC in the charging management module 121 has a compensation function, the second voltage threshold may be set as the sum of the charging cut-off voltage and a compensation voltage, where the compensation voltage is the product of the preset current in the constant current charging stage and the impedance value of the compensation resistor. The compensation resistor can be arranged between the connector and the battery in the current loop as shown in fig. 3, and the impedance value of the compensation resistor can be set according to the use requirement.
In the second case, if the charging IC in the charging management module 122 does not have the compensation function, the second voltage threshold cannot be set to the value described in the first case, and the second voltage threshold can be set to the sum of the charging cut-off voltage and the preset unit voltage, where the preset unit voltage can be understood as the step value of the charging stop voltage set by the charging IC, and is marked as Δ V, for example, Δ V is 0.02V or 0.03V or 0.032V, etc. Since the full-charge voltages of the batteries 123 in different types of electronic devices 100 may be different, the charging management module 122 may set the step value to the charging IC in advance in order to charge the batteries with different full-charge voltages, so that the charging cut-off voltage may be adaptively adjusted according to the full-charge voltages of the different batteries, and the application range of the charging IC may be increased. In the embodiment of the present application, specific values of the step values are not limited.
In this way, even if the charging IC has no compensation function, the period of time during which the battery 123 is in the constant-current charging phase can be extended, i.e., an effect similar to that of the compensation function can be achieved.
In the embodiment of the present application, a case where the charging IC does not have a compensation function is taken as an example.
When the charging management module 121 determines that the voltage across the battery 123 is equal to the second voltage threshold, the output voltage of the charging IC is controlled to be kept at the value of the second voltage threshold, so that the charging voltage of the battery 123 is not changed, that is, the charging stage enters the first constant voltage charging stage. It should be noted that the second voltage threshold may also be understood as a charging voltage of the first constant voltage charging phase.
S406, the charging management module 121 determines whether the charging current of the battery 123 is less than or equal to a preset current threshold, and if so, enters a second constant voltage charging stage.
In the embodiment of the present application, the preset current threshold is greater than the charge cut-off current of the battery 123. The preset current threshold may be a sum of a charging cutoff current and a preset current, where the preset current may be a ratio of a preset unit voltage to an impedance between an output current of the charging IC and the battery cell. Specifically, assuming that the actual test value of the impedance between the output current of the charging IC and the battery cell is R, for example, the value of R may be 0.055 ohm-meter (Ω · m or ohm), so as to obtain a preset current Δ V/R of 0.032/0.055 of 0.581A, where 0.032 is a preset unit voltage, the preset current threshold value is the sum of the charging cutoff current and 0.581A.
It should be noted that the preset current threshold may also be understood as a charging cutoff current corresponding to the first constant voltage charging phase.
It can be seen that when the battery 123 is in the first constant voltage charging phase, the charging current of the battery 123 is higher than the preset current threshold value. However, even if the charging current of the battery 123 is higher than the preset current threshold value, the battery 123 does not have the overcharge problem due to the impedance between the output current of the charging IC and the electric core. For example, assuming that the charge cut-off voltage of the battery 123 is 4.4V, the preset unit voltage is 0.032V, and the impedance between the output current of the charge IC and the cell is 0.055ohm, it can be known from ohm's law that the voltage of the cell is smaller than the difference between the charge cut-off voltage corresponding to the first constant voltage charging phase and the output current of the charge IC and the voltage across the resistance between the cells, for example, the charge cut-off voltage corresponding to the first constant voltage charging phase is 4.432V, and the voltage across the output current of the charge IC and the resistance between the cells is (0.581A 0.055), the voltage of the cell is smaller than [4.432V- (0.581A 0.055) V ], that is, the voltage of the cell is always less than or equal to 4.4V, and it can be seen that when the battery 123 is in the first constant voltage charging phase, even if the charge management module 121 fails, the battery 123 does not have the risk of overcharging.
When the battery 123 is in the first constant voltage charging phase, the charging management module 121 monitors the charging current (or may be understood as the output current of the charging IC) of the battery 123 in real time. When the charging management module 121 determines that the charging current is less than or equal to the preset current threshold, the output voltage of the charging IC is controlled to be the charging cut-off voltage of the battery 123, and the charging voltage is kept unchanged, i.e., the battery 123 enters the second constant voltage charging phase. In the embodiment of the present application, the charging voltage of the second constant-voltage charging stage is a charging cutoff voltage. For example, 4.2V or 4.4V.
When the battery is in the second constant voltage charging stage, since the charging voltage of the second constant voltage charging stage is already set to the charging cutoff voltage of the battery 123, the voltage of the battery 123 does not exceed the charging cutoff voltage, and there is no overcharge risk.
S407, the charging management module 121 determines whether the charging current of the battery 123 is smaller than the charging cutoff current, and if so, stops charging the battery 123.
In the technical scheme, two different constant voltage charging stages are arranged, and the charging voltage in the first constant voltage charging stage is higher than the charging cut-off voltage of the battery, so that the time length of the battery in the constant current charging stage can be prolonged, and the charging time length can be reduced. And because the charging cut-off current in the first constant voltage charging stage is also larger than the charging cut-off current of the battery, the over-charging risk of the battery can be avoided.
In the above embodiment, when the battery 123 is charged, a new constant voltage charging phase with a higher charge cut-off voltage and a higher charge cut-off current is provided, and in actual use, two or more constant voltage charging phases similar to the new constant voltage charging phase may be provided to prolong the time length of the battery in the constant current charging phase as much as possible, where the number of the new constant voltage charging phases is not limited.
In the embodiment shown in fig. 4, the charging management module 121 determines whether the battery is fully charged by the charging current of the charging IC, so as to determine whether the charging of the battery needs to be stopped. In another embodiment, it may also be determined whether to stop charging the battery by determining the capacity of the battery, for example, a full-charge capacity of the battery may be set, and when the charge management module 121 determines that the charge amount of the battery reaches the full-charge capacity, it is determined to stop charging the battery. It can be seen that the full-reported capacity of the battery is also a factor that affects the length of the charging period. In order to reduce the charging time of the battery, in actual use, a mechanism of reporting full in advance can be adopted. Specifically, the charge management module 121 may obtain the last discharged amount of the battery 123 through an electricity meter, and use 98% or 97% of the last discharged amount of the battery 123 as a full-reported capacity for the next charge, where the full-reported capacity is referred to as a "self-learning capacity". When the next charging is performed, when the charging management module 121 determines that the charging capacity of the battery 123 reaches the full charge reporting capacity through the fuel gauge, the full charge reporting is performed, that is, the processor may control the user interface of the electronic device 100 to display the electric quantity as 100%.
Because the capacities of the batteries are different individually and the discharge capacities of different batteries are different, the full-reporting capacities of different batteries are different in the next charging, which causes the charging duration of different electronic devices to be different, for example, there may be a difference of about 10 minutes. Therefore, the technical effect of reducing the charging time period can be achieved by determining the appropriate full-charge capacity of the battery. Referring to fig. 5, a flowchart of another example of a charging control method provided in an embodiment of the present application is described, in which in the embodiment, a charging duration is reduced by improving a battery full report accuracy.
S501, the charging management module 121 determines that the electronic device 100 is in a charging state.
Step S501 is similar to step S401 and will not be described herein.
S502, the charging management module 121 determines the self-learning capacity of the battery 123.
Specifically, the fuel gauge may count the last discharge amount of the battery 123, and when the charge management module 121 determines that the electronic device is in the charging state, the discharge amount may be obtained from the fuel gauge. And then determining the self-learning capacity of the battery according to the discharge capacity obtained from the fuel gauge. As an example, 98% or 97% of the discharge amount may be used as the self-learning capacity of the battery 123. For example, the charge management module 121 determines the self-learning capacity of the battery 123 to be 3050 milliampere-hours (mAh), 2800mAh, or the like.
S503, the charging management module 121 compares the determined self-learning capacity with the preset capacity of the battery 123, and determines whether the self-learning capacity is greater than the preset capacity of the battery 123. If yes, step S504 is executed, and if no, step S505 is executed.
As an example, the preset capacity of the battery 123 may be a capacity of the battery 123 set by a technician when the electronic device 100 is shipped, for example, may be 3000 mAh. The preset capacity may be pre-stored in the memory of the charging management module. Of course, the charging management module 121 may also obtain the preset capacity in a manner, for example, from the memory 110 in the electronic device 100, which is not limited in this embodiment of the application.
S504, the charging management module 121 determines that the product of the preset capacity of the battery 123 and the preset percentage is used as the full-reported capacity of the battery 123.
In the embodiment of the present application, the preset percentage may be 98% or 97%, or may be other values, which are not limited herein. As an example, if the charge management module 121 determines that the self-learning capacity of the battery 123 is 3050mAh and the preset capacity of the battery 123 is 3000mAh, the charge management module 121 determines that 98% of the preset capacity is the full-reported capacity of the battery 123 because the self-learning capacity of the battery 123 is greater than the preset capacity of the battery 123.
S505, the charging management module 121 determines a product of the determined self-learning capacity of the battery 123 and the preset percentage as the full-reported capacity of the battery 123.
The preset percentage is similar to the preset percentage in step S504, and is not described herein again. As an example, if the charge management module 121 determines that the self-learning capacity of the battery 123 is 2800mAh and the preset capacity of the battery 123 is 3000mAh, the charge management module 121 determines that 98% of the self-learning capacity is the full-reported capacity of the battery 123 because the self-learning capacity of the battery 123 is less than the preset capacity of the battery 123.
In the embodiment of the present application, the execution order of step S501 and steps S502 to S505 is not limited. For example, step S501 may be performed before step S502, or steps S502 to S505 may be performed before step S501, or steps S501 and S502 to S505 may be performed simultaneously. In fig. 5, step S501 is executed first, and then step S502 to step S505 are executed as an example.
S506, the charging management module 121 determines that the initial charging phase is the pre-charging phase.
S507, the charging management module 121 charges the battery 123 according to the charging parameter corresponding to the pre-charging stage.
S508, the charging management module 121 determines that the voltage across the battery 123 is greater than or equal to the first voltage threshold, and then enters a constant current charging stage.
S509, the charging management module 121 determines that the voltage across the battery 123 is greater than or equal to the second voltage threshold, and then enters a first constant voltage charging phase.
S510, the charging management module 121 determines that the charging current of the battery 123 is smaller than or equal to a preset current threshold, and then enters a second constant voltage charging stage.
Steps S506 to S510 are similar to steps S402 to S406, and are not described herein again.
S511, when the charging management module 121 determines that the charging capacity of the battery 123 reaches the full charge capacity, the charging management module controls the display screen of the electronic device 100 to display the charging capacity of 100%. Alternatively, the power may be indicated to be 100% by controlling the LED lamp to flash or changing the color of the LED, which is not limited herein.
S512, the charging management module 121 determines that the charging current of the battery 123 is smaller than the charging cutoff current, and stops charging the battery 123.
In the above technical solution, on the basis of the embodiment shown in fig. 4, the self-learning capacity is compared with the preset capacity of the battery, so that the optimal full-reporting capacity of the battery can be determined, the full-reporting accuracy of the battery can be improved, and further, the time difference for charging the batteries of different electronic devices can be shortened.
It should be noted that the steps executed by the charging management module 121 may be written in the charging management module 121 in the form of instructions or programs, so that when the charging management module 121 is in the running state, the method in the embodiment of the present application is executed according to the instructions or programs.
In the embodiments provided in the present application, the method provided in the embodiments of the present application is described from the perspective of an electronic device as an execution subject. In order to implement the functions in the method provided by the embodiments of the present application, the electronic device may include a hardware structure and/or a software module, and the functions are implemented in the form of a hardware structure, a software module, or a hardware structure and a software module. Whether any of the above-described functions is implemented as a hardware structure, a software module, or a hardware structure plus a software module depends upon the particular application and design constraints imposed on the technical solution.
The following describes an apparatus provided in the embodiments of the present application with reference to the drawings to implement the above-mentioned embodiments of the method of the present application.
Based on the same inventive concept as the method embodiment, the present application embodiment provides a charging control apparatus 600, specifically for implementing the method performed by the charging management module 121 in the embodiments described in fig. 4 and fig. 5, where the charging control apparatus 600 is configured as shown in fig. 6, and includes a detection module 601 and a control module 602, where when the charging control apparatus 600 performs the method shown in fig. 4, the detection module 601 may be used to obtain a charging current of the battery 123 and/or a charging voltage across the battery 123 during charging, and/or used to support other processes of the technology described in the present application embodiment. The control module 602 may be configured to perform steps S401 to S407 in the embodiment shown in fig. 4, and/or other processes for supporting the techniques described in the embodiments of the present application. All relevant contents of each step related to the above method embodiment may be referred to the functional description of the corresponding functional module, and are not described herein again.
When implemented in hardware, the hardware implementation of the charging control apparatus may also refer to fig. 7 and the related description thereof.
As shown in fig. 7, the charging control apparatus 700 may include, as another example of the structure of the charging control apparatus: one or more processors 701, memory 702, one or more computer programs 703; the various devices described above may be connected by one or more communication buses 704. Wherein the one or more computer programs 703 are stored in the memory 702 and configured to be executed by the one or more processors 701, and the one or more computer programs 703 include instructions that, when executed by the one or more processors 701, may implement all or part of the steps described in the method embodiments shown in fig. 4 or fig. 5.
The processor 701 may be a Central Processing Unit (CPU), an application-specific integrated circuit (ASIC), one or more integrated circuits for controlling program execution, a baseband chip, or the like. The number of the memory 702 may be one or more, and the memory 702 may be a read-only memory (ROM), a Random Access Memory (RAM), or a disk memory, etc.
The electronic device shown in fig. 7 may be a mobile phone, an ipad, a notebook, a smart tv, a wearable device (e.g., a smart watch, a smart helmet, or a smart bracelet), and so on. When the electronic device shown in fig. 7 is a mobile phone, the structure of the electronic device can be shown in fig. 2, for example, the memory 702 is the internal memory 110 in fig. 2.
An embodiment of the present application further provides a computer storage medium, where the computer storage medium includes a computer program, and when the computer program runs on an electronic device, the electronic device is caused to perform all the steps performed by the charging management module 121 as described in the method embodiment shown in fig. 4 or fig. 5.
The embodiment of the present application further provides a computer program product, which, when running on an electronic device, causes the electronic device to execute all the steps performed by the charging management module 121 as described in the method embodiment shown in fig. 4 or fig. 5.
Embodiments of the present application further provide a chip system, where the chip system includes a processor, and is configured to support the charging control apparatus to implement the method provided in the embodiments shown in fig. 4 or fig. 5, for example, to generate or process data and/or information involved in the method provided in the embodiments shown in fig. 4 or fig. 5. The system on chip further includes a memory, where the memory is used to store necessary program instructions and data of the charging control device, and the processor in the system on chip may call the program instructions and data stored in the memory in the system on chip, so that the system on chip may implement the functions of the charging management module 121. The chip system may be formed by a chip, or may include a chip and other discrete devices.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the application to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by wire (e.g., coaxial cable, fiber optic, digital subscriber line) or wirelessly (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. The usable medium may be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid state disk), among others.
The foregoing description, for purpose of explanation, has been described with reference to specific embodiments. However, the exemplary discussions above are not intended to be exhaustive or to limit the application to the precise forms disclosed. Many modifications and variations are possible in light of the above teaching. The embodiments were chosen and described in order to best explain the principles of the application and its practical applications, to thereby enable others skilled in the art to best utilize the application and various embodiments with various modifications as are suited to the particular use contemplated.

Claims (15)

1. A charge control method applied to an electronic device including a battery, comprising:
detecting that the electronic equipment is currently in a state of being charged by power supply equipment;
when the voltage at two ends of the battery is detected to be larger than or equal to a first voltage threshold, charging the battery by using current with a preset magnitude; the first voltage threshold is less than a charge cutoff voltage of the battery;
when the voltage at two ends of the battery is detected to be larger than or equal to a second voltage threshold, controlling the voltage value for charging the battery to be kept at the value of the second voltage threshold; the second voltage threshold is higher than a charge cutoff voltage of the battery;
when the charging current of the battery is detected to be smaller than or equal to a preset current threshold value, controlling the voltage value for charging the battery to be kept at the value of the charging cut-off voltage of the battery; the preset current threshold value is larger than the charging cut-off current of the battery.
2. The method of claim 1, wherein the second voltage threshold is a sum of the charge cut-off voltage and a preset unit voltage.
3. The method of claim 2, wherein the preset current threshold is a ratio between the preset unit voltage and a charging impedance, and the charging impedance is an impedance between an output terminal of the power supply device and ground.
4. The method according to any one of claims 1-3, further comprising:
determining the full charge report of the battery according to the discharge amount of the battery before the battery is charged by the power supply equipment;
when the current electric quantity of the battery is larger than or equal to the full-charge reported quantity, controlling the electronic equipment to display that the battery is in a full-charge state;
and stopping charging the battery when the charging current of the battery is detected to be less than or equal to the charging cut-off current of the battery.
5. The method of claim 4, wherein determining the full charge of the battery based on the amount of discharge of the battery prior to being charged by the power supply device comprises:
comparing the magnitude relation between the self-learning electric capacity and the preset electric capacity of the battery; the self-learning electric capacity is the product of the discharge capacity of the battery before being charged by the power supply equipment and a preset percentage;
and if the self-learning electric capacity is larger than or equal to the preset electric capacity of the battery, determining the full-reported electric quantity of the battery as the product of the preset electric capacity and the preset percentage.
6. The method of claim 5, wherein determining the full charge of the battery based on an amount of discharge of the battery prior to being charged by the power supply device further comprises:
and if the self-learning electric capacity is smaller than the preset electric capacity of the battery, determining the full-reporting electric quantity of the battery as the product of the self-learning electric capacity and the preset percentage.
7. A charging control device, which is applied to an electronic apparatus including a battery, is characterized by comprising a detection module and a control module, wherein:
the detection module is used for detecting that the electronic equipment is currently in a state of being charged by power supply equipment, and detecting the voltage and the charging current at two ends of the battery when the electronic equipment is charged by the power supply equipment;
the control module is used for charging the battery by using current with a preset magnitude when the voltage at two ends of the battery is greater than or equal to a first voltage threshold; the first voltage threshold is less than a charge cutoff voltage of the battery; when the voltage at two ends of the battery is larger than or equal to a second voltage threshold, controlling the voltage value for charging the battery to be kept at the value of the second voltage threshold; the second voltage threshold is higher than a charge cutoff voltage of the battery; when the charging current of the battery is smaller than or equal to a preset current threshold value, controlling the voltage value for charging the battery to be kept at the value of the charging cut-off voltage of the battery; the preset current threshold value is larger than the charging cut-off current of the battery.
8. The apparatus of claim 7, wherein the second voltage threshold is a sum of the charge cut-off voltage and a preset unit voltage.
9. The apparatus of claim 8, wherein the predetermined current threshold is a ratio between the predetermined unit voltage and a charging impedance, and the charging impedance is an impedance between an output terminal of the power supply device and ground.
10. The apparatus of any of claims 7-9, wherein the control module is further configured to:
determining the full charge report of the battery according to the discharge amount of the battery before the battery is charged by the power supply equipment;
when the current electric quantity of the battery is larger than or equal to the full-charge reported quantity, controlling the electronic equipment to display that the battery is in a full-charge state;
and when the detection module detects that the charging current of the battery is less than or equal to the cut-off charging current of the battery, stopping charging the battery.
11. The apparatus according to claim 10, wherein the control module determines the full charge of the battery according to a discharge amount of the battery before the battery is charged by the power supply device, and is specifically configured to:
comparing the magnitude relation between the self-learning electric capacity and the preset electric capacity of the battery; the self-learning electric capacity is the product of the discharge capacity of the battery before being charged by the power supply equipment and a preset percentage;
and if the self-learning electric capacity is larger than or equal to the preset electric capacity of the battery, determining the full-reported electric quantity of the battery as the product of the preset electric capacity and the preset percentage.
12. The apparatus of claim 11, wherein the control module determines the full charge of the battery based on an amount of discharge of the battery before the battery is charged by the power supply device, and is further configured to:
and if the self-learning electric capacity is smaller than the preset electric capacity of the battery, determining the full-reporting electric quantity of the battery as the product of the self-learning electric capacity and the preset percentage.
13. An electronic device comprising at least one processor and at least one memory, wherein;
the memory for storing one or more computer programs;
the one or more computer programs stored in the memory, when executed by the at least one processor, enable the electronic device to implement the method of any of claims 1-6.
14. A computer-readable storage medium, comprising a computer program which, when run on an electronic device, causes the electronic device to perform the method of any of claims 1-6.
15. A program product comprising instructions which, when run on a computer, cause the computer to perform the method of any one of claims 1-6.
CN201910453549.9A 2019-05-28 2019-05-28 Charging control method, charging control device and electronic equipment Active CN112018831B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910453549.9A CN112018831B (en) 2019-05-28 2019-05-28 Charging control method, charging control device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910453549.9A CN112018831B (en) 2019-05-28 2019-05-28 Charging control method, charging control device and electronic equipment

Publications (2)

Publication Number Publication Date
CN112018831A true CN112018831A (en) 2020-12-01
CN112018831B CN112018831B (en) 2023-06-16

Family

ID=73501724

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910453549.9A Active CN112018831B (en) 2019-05-28 2019-05-28 Charging control method, charging control device and electronic equipment

Country Status (1)

Country Link
CN (1) CN112018831B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113162196A (en) * 2021-05-12 2021-07-23 西安易朴通讯技术有限公司 Device for protecting battery, control method, wearable device and storage medium
CN114567055A (en) * 2022-04-28 2022-05-31 荣耀终端有限公司 Charging method and related equipment
CN116914894A (en) * 2023-09-12 2023-10-20 荣耀终端有限公司 Cut-off voltage adjusting method, electronic device and readable storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0228573A1 (en) * 1985-11-29 1987-07-15 Kabushiki Kaisha Meidensha A surface treated electrode and a zinc-halogen secondary battery incorporating the same
JPH11297364A (en) * 1998-04-07 1999-10-29 Matsushita Electric Ind Co Ltd Charging method for lead-acid battery
JP2004319336A (en) * 2003-04-17 2004-11-11 Nippon Telegr & Teleph Corp <Ntt> Charge control method and charge control device of alkaline aqueous solution secondary battery, and battery pack
US20110169453A1 (en) * 2008-02-25 2011-07-14 Iwasaki Electric Co., Ltd. Charging apparatus and charging method
CN105978103A (en) * 2016-06-30 2016-09-28 努比亚技术有限公司 Charging control device and method
CN106026269A (en) * 2016-06-27 2016-10-12 深圳天珑无线科技有限公司 Rapid charging device and method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0228573A1 (en) * 1985-11-29 1987-07-15 Kabushiki Kaisha Meidensha A surface treated electrode and a zinc-halogen secondary battery incorporating the same
JPH11297364A (en) * 1998-04-07 1999-10-29 Matsushita Electric Ind Co Ltd Charging method for lead-acid battery
JP2004319336A (en) * 2003-04-17 2004-11-11 Nippon Telegr & Teleph Corp <Ntt> Charge control method and charge control device of alkaline aqueous solution secondary battery, and battery pack
US20110169453A1 (en) * 2008-02-25 2011-07-14 Iwasaki Electric Co., Ltd. Charging apparatus and charging method
CN106026269A (en) * 2016-06-27 2016-10-12 深圳天珑无线科技有限公司 Rapid charging device and method
CN105978103A (en) * 2016-06-30 2016-09-28 努比亚技术有限公司 Charging control device and method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
李斌等: "基于ATMEGA16控制的铅酸电池智能快速充电***", 《机电产品开发与创新》 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113162196A (en) * 2021-05-12 2021-07-23 西安易朴通讯技术有限公司 Device for protecting battery, control method, wearable device and storage medium
CN114567055A (en) * 2022-04-28 2022-05-31 荣耀终端有限公司 Charging method and related equipment
CN116914894A (en) * 2023-09-12 2023-10-20 荣耀终端有限公司 Cut-off voltage adjusting method, electronic device and readable storage medium
CN116914894B (en) * 2023-09-12 2023-12-01 荣耀终端有限公司 Cut-off voltage adjusting method, electronic device and readable storage medium

Also Published As

Publication number Publication date
CN112018831B (en) 2023-06-16

Similar Documents

Publication Publication Date Title
EP2992583B1 (en) Battery charger integrated circuit chip
CN108899952B (en) Multi-battery charging and discharging device and mobile terminal
US9721447B2 (en) Display of rechargeable battery charge notification
CN105706291B (en) Method for fast charging and electronic device thereof
US20150050881A1 (en) Wireless power charger
CN107546808B (en) Charging identification circuit, identification method and terminal equipment
CN110797925B (en) Battery control system and method and electronic equipment
KR20190087033A (en) Method for transmitting information of wireless charging stop reason and electronic device using the same
CN110165736B (en) Electric quantity sharing method and system based on charging state monitoring and mobile terminal
CN112018831B (en) Charging control method, charging control device and electronic equipment
CN106655381B (en) Wireless charging method and device
CN106786961B (en) Charging method, device and terminal
CN106549465B (en) Charge control method, device, system and terminal
CN210042141U (en) Wireless earphone, wireless earphone charging box and charging control system
CN110401242B (en) Multi-battery parallel charging circuit and method and wearable device with circuit
CN110191215B (en) Terminal and processing method
US9252607B2 (en) Communication terminal, charge control program and charge control method
KR20130108903A (en) Power sharing apparatus and system using power sharing program installed in mobile terminal
CN103794830B (en) A kind of charging method and mobile terminal
JP2015032976A (en) Information processing apparatus, charging control method and program
CN207835120U (en) A kind of intelligent Charge-control System and its charging adapter, data line, wireless contactless charging equipment
US9685808B2 (en) USB energy harvesting
CN106849000B (en) Short-circuit protection circuit, power adapter and mobile terminal
CN111384754B (en) Charging method, charging device, storage medium and mobile terminal
CN111614131B (en) Electronic device and discharge control method

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
TA01 Transfer of patent application right

Effective date of registration: 20210429

Address after: Unit 3401, unit a, building 6, Shenye Zhongcheng, No. 8089, Hongli West Road, Donghai community, Xiangmihu street, Futian District, Shenzhen, Guangdong 518040

Applicant after: Honor Device Co.,Ltd.

Address before: 518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen

Applicant before: HUAWEI TECHNOLOGIES Co.,Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant