Nothing Special   »   [go: up one dir, main page]

CN112018831B - 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
CN112018831B
CN112018831B CN201910453549.9A CN201910453549A CN112018831B CN 112018831 B CN112018831 B CN 112018831B CN 201910453549 A CN201910453549 A CN 201910453549A CN 112018831 B CN112018831 B CN 112018831B
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.)
Active
Application number
CN201910453549.9A
Other languages
Chinese (zh)
Other versions
CN112018831A (en
Inventor
田海涛
王朝
罗伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Honor Device Co Ltd
Original Assignee
Honor Device Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Honor Device Co Ltd filed Critical Honor Device Co Ltd
Priority to 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

Landscapes

  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

In the method, when the voltage at two ends of a battery is detected to be greater than or equal to a first voltage threshold, the battery is charged by using a current with a preset magnitude, namely, a constant current charging stage is entered. And then, continuously detecting the voltages at two ends of the battery, and when the voltages at two ends of the battery are detected to be more 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. 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 of 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.

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 device, and an electronic device.
Background
With the development of global information technology, electronic devices (e.g., smartphones, tablet computers, etc.) have completely penetrated people's lives. 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 can recover the power supply capability.
The charging process of a battery generally includes a precharge 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 preserve the life of the battery, a small current is first used to make the voltage of the battery meet a certain condition (for example, make the voltage of the battery greater than or equal to 3 volts (V)) during the battery charging process, i.e., the precharge phase. After the precharge of the battery is completed, a constant current charging stage is entered, i.e., the battery is charged with a set current. In this phase, the current is large (e.g., 2 amps (a)) so that the voltage of the battery can be raised faster to the maximum voltage that the battery can withstand (e.g., 4.4V.) when the voltage of the battery is detected as the maximum voltage, a constant voltage charging phase is entered.
Since the current is large in the constant-current charging stage, that is, the current is large at the time of entering the constant-voltage charging stage, the time required to decrease from the large current to the off-current is long in the constant-voltage charging stage, resulting in a long charging period 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, in which, 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 the two ends of the battery is detected to be larger than or equal to a first voltage threshold, the battery is charged by using a current with a preset size, namely, a constant current charging stage is started, and the first voltage threshold is smaller than the charging cut-off voltage of the battery. And then, continuously detecting the voltages at two ends of the battery, and when the voltages at two ends of the battery are detected to be more than or equal to a second voltage threshold, keeping the voltage value of the battery at the value of the second voltage threshold when the voltage value of the battery is controlled to be charged, 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 controlling the voltage value of the battery to be kept at the value of the charging cut-off voltage of the battery when detecting that the charging current of the battery is smaller than or equal to a preset current threshold value, 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 scheme, two constant voltage charging stages are set 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 charge cut-off voltage of the battery, the battery which should enter the constant voltage charging stage still remains in the constant current charging stage, which is equivalent to prolonging the duration of the battery in the constant current charging stage, and can reduce the charging duration of the battery. And, the corresponding current threshold is set in the first constant voltage charging stage, and the current threshold is higher than the charge 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 is not caused.
In one possible embodiment, the second voltage threshold is the sum of the charging cut-off voltage and a predetermined unit voltage. The second voltage threshold may also be set according to the requirement of use, which is not limited in the embodiments of the present application.
In one possible design, the preset current threshold value 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.
According to the technical scheme, 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 overcharging of the battery, and the charging duration can be reduced as much as possible.
In one possible design, when the battery is charged by the power supply device, the full charge 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 electric quantity of the battery is greater than or equal to the full charge, the electronic device is controlled to display that the battery is in the full charge state. Then, when it is detected that the charging current of the battery is less than or equal to the charging cutoff current of the battery, the charging of the battery is stopped.
In the technical scheme, the time required for the electronic equipment to display that the battery is full is shortened through the full-reporting mechanism, so that the electronic equipment and the power supply equipment can be disconnected after the electronic equipment displays that the battery is full, and the charging time can be further reduced.
In one possible design, the product of the discharge amount of the battery before being charged by the power supply device and a preset percentage is determined as the self-learning electric quantity of the battery, then the magnitude relation between the self-learning electric quantity and the preset electric quantity of the battery is compared, and if the self-learning electric quantity is greater than or equal to the preset electric quantity of the battery, the full charge of the battery is determined as the product of the preset electric quantity and the preset percentage; or if the self-learning electric capacity is smaller than the preset electric capacity of the battery, determining that the full charge of the battery is the product of the self-learning electric capacity and the preset percentage.
In the above technical scheme, through the mode of comparing the self-learning electric quantity with the preset electric quantity, the more proper full charge reporting electric quantity can be determined, the accurate full charge reporting can be realized, and the problem of large charging time difference of different electronic equipment caused by the difference of the battery capacities can be reduced.
In a second aspect, embodiments of the present application also provide an electronic device including at least one processor and at least one memory; the memory is used for storing one or more computer programs; the one or more computer programs, when executed by the at least one processor, enable the electronic device to implement aspects of the first aspect and any one of the possible designs of the first aspect.
In a third aspect, embodiments of the present application further provide a charging control device, including 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 of the two ends of the 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 of the two ends of the battery detected by the detection module. These modules/units may be implemented by hardware, or may be implemented by hardware executing corresponding software.
In a fourth aspect, embodiments of the present application further provide a chip, where the chip is coupled to the memory, and is configured to invoke a computer program stored in the memory and execute the technical solutions of the first aspect and any possible designs of the first aspect of the embodiments of the present application; "coupled" in embodiments of the present application means that the two components are directly or indirectly joined to each other.
In a fifth aspect, embodiments of the present application further provide a computer readable storage medium, where the computer readable storage medium includes a computer program, where the computer program when executed on an electronic device causes the electronic device to execute the technical solutions of the first aspect and any possible designs of the first aspect of the embodiments of the present application.
In a sixth aspect, a program product according to an embodiment of the present application includes instructions that, when executed on an electronic device, cause the electronic device to perform the technical solutions of the first aspect of the embodiment of the present application and any one of the possible designs of the first aspect.
Advantageous effects of the above second to sixth aspects and implementation manners thereof may be referred to the description of the advantageous effects of the method of the first aspect and implementation manners thereof.
Drawings
Fig. 1A is an example of an application scenario provided in an embodiment of the present application for charging an electronic device 100 by an external power source;
Fig. 1B is an example of an application scenario provided in an embodiment of the present application for charging an electronic device 100 by a mobile power supply;
fig. 2 is a schematic hardware structure of an example of an electronic device 100 according to an 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 provided in an embodiment of the present application;
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 more clear, the technical solutions of the embodiments of the present application will be described in detail below with reference to the accompanying drawings and specific embodiments of the present application.
In the following, some terms in the embodiments of the present application are explained for easy 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 embodiments of the present application are not limited to this name) is connected to the charged device, and the electric power in the power supply device can be supplied to the charged device. For convenience of description, a power supply device and an electronic device (that is, a device to be charged will be referred to as an electronic device) are hereinafter described as examples.
It is noted 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 and the appended claims, the singular forms "a," "an," "the," and "the" are intended to include, for example, "one or more" such forms of expression, unless the context clearly indicates to the contrary. It should also be understood that in embodiments of the present application, "one or more" means one, two, or more than two; "and/or", describes an association relationship of the association object, indicating that three relationships may exist; for example, a and/or B may represent: a alone, a and B together, and B alone, wherein A, B may be singular or plural. The character "may be a relationship that generally indicates that the front and rear associated objects are an" or ".
Reference in the specification to "one embodiment" or "reference to 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 application. Thus, appearances of the phrases "in one embodiment," "in some embodiments," "in other embodiments," and the like in the specification are not necessarily all referring to the same embodiment, but mean "one or more but not all embodiments" unless expressly specified 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 scene, and also can be applied to a wireless charging scene. In a wireless charging scenario, the electronic device and the power supply device are connected in a wireless manner (e.g., wireless fidelity (wireless fidelity, wi-Fi), bluetooth, etc.); in a wired charging scenario, the electronic device and the power supply device are connected by wire (e.g., via a power cord). Hereinafter, an example of application to a wired charging scenario will be described. Of course, in the wireless charging scenario, the implementation principle is similar to that in the wired charging scenario, and will not be described herein.
1A-1B, examples of two application scenarios are provided in embodiments of the present application. Of course, the technical solution of the embodiment of the present application is not limited to being applicable to these two application scenarios, but may be applicable to other application scenarios, and the embodiment of the present application is not limited.
In the scenario illustrated in fig. 1A, an electronic device 100 (illustrated as a mobile phone) and a power supply device 200 (illustrated as a charger for a mobile phone) are included as examples. In this scenario, after electronic device 100 is connected to power supply device 200, power supply device 200 is connected to an external power source (e.g., mains power having a voltage of 220 volts (V) and a frequency of 50 Hertz (HZ)), and power supply device 200 draws power from the external power source and then supplies power to electronic device 100.
Unlike fig. 1A, in the scenario described in fig. 1B, the power supply apparatus 200 is a mobile power supply. In this scenario, after electronic device 100 is connected to power supply device 200, power supply device 200 may provide power stored by it to electronic device 100.
In embodiments of the present application, 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 with wireless connectivity, or a processing device connected to a wireless modem.
The electronic device 100 may communicate with a core network via a radio access network (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), an access terminal (access terminal), a user terminal (user terminal), a user agent (user agent), or a user equipment (user device), etc. Alternatively, the electronic device 100 may comprise a mobile phone (or "cellular" phone), a computer with a mobile terminal, a portable, pocket, hand-held, computer-built-in or vehicle-mounted mobile device, a smart wearable device, etc. Such as personal communication services (personal communication service, PCS) phones, cordless phones, session initiation protocol (session initiation protocol, SIP) phones, wireless local loop (wireless local loop, WLL) stations, personal digital assistants (personal digital assistant, PDAs), and the like. Alternatively, the electronic device 100 may also include a limited device, such as a device with lower power consumption, or a device with limited memory or computing capabilities, etc. Examples include bar codes, radio frequency identification (radio frequency identification, RFID), sensors, global positioning systems (global positioning system, GPS), laser scanners, and other information sensing devices.
By way of example, but not limitation, in embodiments of the present application, smart wearable devices are generic names that apply wearable technology to intelligently design daily wear, develop wearable devices, such as eyeglasses, gloves, watches, apparel, 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 can realize a powerful function through software support, data interaction and cloud interaction. Generalized smart wearable devices include full functionality, large size, may not rely on smartphones to achieve complete or partial functionality, such as: smart watches or smart glasses, etc., and focus on only certain types of application functions, and need to be used in combination with other devices, such as smart phones, for example, various smart bracelets, smart helmets, smart jewelry, etc. for physical sign monitoring.
Alternatively, the electronic device 100 may also be a Virtual Reality (VR) device, an augmented reality (augmented reality, AR) device, a wireless terminal in industrial control (industrial control), a wireless terminal in unmanned (driverless), a wireless terminal in teleoperation (remote medical surgery), a wireless terminal in smart grid (smart grid), a wireless terminal in transportation security (transportation safety), a wireless terminal in smart city, a wireless terminal in smart home (smart home), or the like.
Power supply device 200 may be a power adapter, a portable power source, or other device having the capability to charge electronic device 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 configuration of the electronic device 100 described above is further described below with reference to the accompanying drawings. Referring to fig. 2, a schematic hardware structure of an example of an electronic device 100 according to an embodiment of the present application is shown. As shown in fig. 2, the electronic device 100 may include a processor 120, an internal memory 110, an external memory 111, a charge 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 (wireless fidelity, wi-Fi) module 190, and the like.
It will be appreciated by those skilled in the art that fig. 2 is merely an example of an electronic device and is not meant to be limiting, and that an electronic device may include more or fewer components than shown, or may combine certain components, or different components. Alternatively, other modifications to the structure shown in fig. 2 are possible.
The processor 120 is a control center of the electronic device 100, and connects various parts of the entire electronic device 100 using various interfaces and lines, and performs various functions and processes 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. Alternatively, the processor 120 may include one or more processing units, and preferably the processor 120 may integrate an application processor (application processor, AP) that primarily handles operating systems, user interfaces, applications, etc., and a modem processor that primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 120. In some embodiments, processor 120 and internal memory 110 may be implemented on the same chip, and in other embodiments, processor 120 and internal memory 110 may each be implemented separately on separate chips.
The internal memory 110 may be used to store computer executable program code including 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 storage program area and a storage data area. The storage program area may store, among other things, an operating system, and software code for at least one application program (e.g., a camera application, a WeChat application, etc.). The storage data area may store data (e.g., images, video, etc.) generated during use of the electronic device 100, and so on. In addition, the internal memory 110 may include a high-speed random access memory, and may also include a nonvolatile memory, such as at least one magnetic disk storage device, a flash memory device, a universal flash memory (universal flash storage, UFS), and the like.
The external memory interface 111 may be used to connect an external memory card, such as a micro (secure digital) card, to enable expanding the memory capabilities 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 stored in an external memory card.
The peripheral interface may include a standard Micro universal serial bus (Micro universal serial bus, micro USB) interface, and may also include various connectors, such as a communication interface (not shown in fig. 2) that may be used to connect the electronic device 100 to communicate with other devices, and a charging interface 133, such as shown in fig. 2, that may be used to connect a charger to charge the electronic device 100.
It should be appreciated that when the electronic device 100 is connected to the power adapter through the charging interface 133, power transfer between the electronic device 100 and the power adapter may be accomplished through the charging interface 133; when the electronic device 100 is charged by wireless charging, for example, the electronic device 100 is wirelessly connected to the power adapter by bluetooth connection, so that the power transmission between the electronic device 100 and the power adapter can be transmitted through bluetooth. The power adapter and the electronic device 100 may support the same protocol, such as a Power Delivery (PD) protocol, etc., which is not limited in the embodiments of the present application.
The power adapter is connected to an external power source (e.g., utility power, etc.), acquires electric power from the external power source (e.g., utility power, etc.), and then inputs the acquired electric power to the electronic device 100 (e.g., to the charge management module 121 in the electronic device 100) through the charge interface 133. The charging management module 121 is used for managing the charging process, and the charging management module 121 comprises a charging integrated circuit (integrated circuit, IC) for charging and a control circuit for controlling the charging stage. For example, after the connection between the charging interface 133 of the electronic device 100 and the power supply device 200 is established, the battery 123 is powered by the charging IC, and the control circuit may detect the charging voltage and the charging current of both ends of the electronic device 100, and control the charging stage (for example, in a constant voltage charging stage or in a constant current charging stage) in which the electronic device 100 is located according to the detected charging voltage and charging current of both ends of the electronic device 100, and after determining that the battery 123 of the electronic device 100 is full, control the display device 150 or the speaker 131 to generate a prompt message, where the prompt message may be a voice, a text, or the like, or may be a light emitting diode (light emitting diode, LED) signal. For example, the display panel 151 of the display device 150 displays the prompt information in the form of basic text, may emit the prompt information based on the audio form through the speaker 131 of the audio circuit 130, and may prompt the power shortage by controlling the LED lamp to blink, which is not limited herein. An electricity meter may also be set 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 discharge capacity of the battery through the electricity meter. The main steps of the charging method provided in the embodiments of the present application may be performed by the charging management module 121.
Alternatively, the charge management module 121 stores power for the battery 123 on the one hand, and provides input power for the power management module 122 on the other hand; alternatively, the charge management module 121 simply stores power for the battery 123, and the power management module 122 in turn obtains power from the battery 123 to power the various 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 charge management module 121, and supplies power to the respective components. For example, when the electronic device 100 is not connected to the power adapter, the power management module 122 receives power input from the battery 123 to supply power to the respective components. When the electronic device 100 is connected to the power adapter and is charged, the power management module 122 receives the electric energy 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 electric energy input by the battery 123 to supply power to each component. It should be noted that, the power management module 122 may supply power to each component in sequence, for example, the processor 120 is powered first, then the other components are powered, when the power management module 122 supplies power to the processor 120, after the processor 120 is started, the power management module 122 may be notified of which parts of the other components are powered, or which components are not powered, and so on.
It should be appreciated that when the electronic device 100 is not connected to a power adapter, the electronic device 100 may power the various components through the power stored in the battery 123.
The input device 140 may be used to receive entered numeric or character information and to generate key signal inputs related to user settings and function control of the electronic device. Taking the example of the electronic device supporting touch input, the input device 140 may include a touch screen, or may include other input devices, and the touch screen may collect touch operations on or near the touch screen by a user (e.g., operations on or near the touch screen by the user using any suitable object such as a finger, a joint, a stylus, etc.), and drive the corresponding connection apparatus according to a predetermined program. The touch screen may detect a touch operation of the 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 may be sent to the processor 120, and may receive a command sent by the processor 120 and execute the command. 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 in various types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to a touch screen, the input device 140 may also 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, mouse, joystick, etc.
The display device 150 includes a display panel for displaying information input by a user or provided to the user, various menu interfaces of the electronic device 100, and the like. Further, the touch screen may overlay the display device 150, and upon detection of a touch operation thereon or thereabout, the touch screen is transferred to the processor 120 to determine the type of touch event, and the processor 120 then provides a corresponding visual output on the display device 150 based on the type of touch event. In this embodiment, the touch screen and the display device 150 may be integrated into one 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 ease of description, the embodiments herein take the example of a touch screen representing a set of functions of the touch screen and the display device 150, although in some embodiments, the touch screen and the display device 150 may be two separate components.
The radio frequency circuit 180 may be used to receive and transmit 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 (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 communications. The wireless communication may use any communication standard or protocol including, but not limited to, global system for mobile communications (global system of mobile communication, GSM), general packet radio service (general packet radio service, GPRS), code division multiple access (code division multiple access, CDMA), wideband code division multiple access (wideband code division multiple access, WCDMA), long term evolution (long term evolution, LTE), email, short message service (short messaging service, SMS), and the like.
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 received electrical signal converted from audio data to the speaker 131, and the electrical signal is converted into a sound signal by the speaker 131 to be output. On the other hand, the microphone 132 converts the collected sound signals into electrical signals, which are received by the audio circuit 130 and converted into audio data, which are processed by the audio data output processor 120 and sent to, for example, another electronic device via the radio frequency circuit 180, or the audio data are output to the internal memory 110 for further processing, and the audio circuit 130 may also include a headset jack for providing a connection interface between the audio circuit 130 and the headset. In this embodiment of the present application, the audio circuit 130 may transmit the prompt information based on the audio format to the speaker 131, and the speaker 131 converts the prompt information into the audio signal for outputting, so as to achieve the purpose of prompting the electronic device 100 that the electric quantity is insufficient or the electric quantity is full based on the audio mode.
The Wi-Fi module 190 belongs to a short-distance wireless transmission technology, and the electronic device 100 can help a user to send and receive e-mail, browse web pages, access streaming media and the like through the Wi-Fi module 190, so that wireless broadband internet access is provided for the user. Although fig. 2 shows Wi-Fi module 190, it is to be understood that it is not a necessary component of electronic device 100 and may be omitted entirely as desired within the scope of not changing the essence of the application.
The electronic device 100 may also include a bluetooth module (not shown in fig. 2), which is a short-range wireless communication technology. By utilizing the Bluetooth technology, communication between mobile communication electronic devices such as palm computers, notebook computers and mobile phones can be effectively simplified, communication between the mobile communication electronic devices and the Internet (internet) can be successfully simplified, and the electronic device 100 enables data transmission between the electronic device 100 and the Internet to be quicker and more efficient through a Bluetooth module, so that a road is widened for wireless communication. Bluetooth technology is an open scheme 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 device 100, and can be omitted entirely as required within a range 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 normal camera or a focusing camera.
Although not shown in fig. 2, the electronic device 100 may further include other possible functional modules such as a flash, an LED lamp, various sensors, and the like, which are not described herein.
The charging process of the electronic device 100 in the related art will be described with reference to the hardware configuration of the electronic device 100 shown in fig. 2.
In the current charging process, the charging process is controlled by setting cut-off voltages corresponding to different charging phases. As an example, the off-voltage corresponding to the precharge phase is set to 3V and the off-voltage corresponding to the constant current charge phase is set to the maximum voltage (for example, 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 a corresponding charging stage.
When the charging is started, the control circuit of the charging management module 121 first controls the battery to be in a pre-charging stage, and when detecting that the voltage across the battery 123 reaches the 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, i.e. charges the battery 123 with a constant current (preset current). The voltage at the two ends of the battery 123 is continuously detected, and when the control circuit of the charging management module 121 determines that the voltage at the two ends of 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 maintained constant, the charging current is gradually decreased, and when the charging current is less than or equal to a preset off-current, the battery 123 is considered to be already charged, thereby stopping charging the battery 123.
However, in the actual charging process, the charging management module 121 uses the voltage between the output current of the charging IC and ground as the voltage across the battery 123. While there is some impedance between the output current of the charging IC and ground. Referring to fig. 3, a block diagram of a current loop between the output current of the charging IC and ground is shown when the charging IC is connected to the battery 123 through the connector. As shown in fig. 3, the output current of the charging IC flows through the positive electrode of the connector first, and then the output current flows through the battery cell of the battery 123 via the positive electrode of the connector. The battery 123 is internally provided with a cell protection device so that an output current flows through the negative electrode of the connector via the cell protection device and finally through the fuel gauge to the ground.
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, the cell protection device has an internal resistance, 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 these impedances, when the battery 123 is in the constant voltage charging phase, these resistances will generate a voltage drop as the cell voltage increases, so that the charging current will drop slowly. The current in the constant current charging stage is generally larger and the preset off current is smaller, so that the time required for slowly dropping from the larger current to the smaller current is longer, which results in longer charging time of the electronic device.
In view of this, the embodiments of the present application provide a charging control method, which may reduce the charging duration of an electronic device. Referring to fig. 4, a flowchart of an example of a charging control method according to an embodiment of the present application is provided. Hereinafter, the method will be described by taking an example of application of the method to the electronic device 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 a charging state.
The charging management module 121 may determine whether the electronic device 100 is in a charging state by detecting whether the charging interface 133 is currently electrically connected to the power supply device 200, and if so, determining that the electronic device 100 is in a charging state. Of course, if the charging is wireless, 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 generates 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 determines that the electronic device 100 is in the charging state.
S402, the charge management module 121 determines that the initial charge phase is a precharge phase.
Specifically, as can be seen from the foregoing description, the charging process of the battery 123 may be divided into 3 stages, i.e., a precharge stage, a constant current charging stage, and a constant voltage charging stage. However, the precharge phase is generally directed to a case where 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 phase may be directly entered, so in the embodiment of the present application, when the charge management module 121 determines that the electronic device 100 is in the charged state, the charge management module 121 needs to determine the initial charge phase corresponding to the charging of the battery 123 according to the current remaining power of the battery 123 or the voltage across the battery 123.
As an example, the charge management module 121 may acquire the remaining power of the battery 123 at the current time and then determine the initial charge stage according to the remaining power of the battery 123. For example, if the remaining power of the battery 123 is less than 20% (the remaining power is 100% when the battery is in the full charge state), the charge management module 121 determines that the initial charge phase is the precharge phase; if the remaining power of the battery 123 is greater than 20%, the charge management module 121 determines that the initial charge phase is a constant current charge phase.
As another example, the charge management module 121 may acquire the voltage across the battery 123 after determining that the electronic device 100 is in a charged state, and then determine an initial charging stage according to the voltage across the battery 123. For example, if the voltage across the battery 123 is less than 3V, the charge management module 121 determines that the initial charging phase is the precharge phase, otherwise, the charge management module 121 determines that the initial charging phase is the 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 referring to fig. 3, details are not repeated here.
For convenience of explanation, the initial charge stage is hereinafter exemplified as the precharge stage.
S403, the charging management module 121 charges the battery 123 according to the charging parameters corresponding to the precharge phase.
After the charge management module 121 determines the initial charge phase, the battery 123 is charged using a charge current (e.g., 0.5A) corresponding to the precharge phase. The precharge phase is the same as the prior art and will not be described in detail here.
S404, the charging management module 121 determines whether the voltage across the battery 123 is greater than or equal to the first voltage threshold, and if so, enters a constant current charging stage.
In the present embodiment, the first voltage threshold is less than the charge cutoff voltage of the battery 123. The charge cut-off voltage may be understood as the rated voltage of the battery 123, and may be 4.2V or 4.4V, etc. Since the charging current used in the precharge phase is small, the value of the first voltage threshold may be set to a small value, for example, 3V or the like, in order to reduce the total time required to fully charge the battery 123, which is not limited herein.
When the charging management module 121 charges the battery 123, the charging management module 121 monitors the voltages at the two ends of the battery 123 in real time, and when the charging management module 121 determines that the voltages at the two ends of the battery 123 are equal to the first voltage threshold, the constant current charging stage is entered, and the output current of the charging IC is controlled to be a preset current, so that the battery 123 is charged by using the preset current. The preset current may be a larger current value, for example, 1A or 2A, etc., which is not limited herein.
It should be noted that, the charging management module 121 may also acquire the voltages across the battery 123 in other manners, for example, may acquire the voltages across the battery 123 according to a preset frequency. In this case, if the voltage across the nth acquisition battery 123 is less than the first voltage threshold and the voltage across the n+1th acquisition battery 123 is greater than the first voltage threshold, the charging management module 121 controls the output current of the charging IC to be a preset current. For convenience of explanation, hereinafter, the charge management module 121 monitors the voltage across the battery 123 in real time as an example.
S405, the charge management module 121 determines whether the voltage across the battery 123 is greater than or equal to the second voltage threshold, and if so, enters the first constant voltage charging stage.
In the present embodiment, the second voltage threshold is higher than the charge cutoff voltage of the battery 123. In this way, compared with the charging mode in the prior art (that is, by judging whether the voltage at the two ends of the battery is greater than or equal to the charge cut-off voltage, to control the charging process to enter the constant-voltage charging stage), the duration of the battery 123 in the constant-current charging stage is prolonged, so that the charging duration can be reduced.
The second voltage threshold is described 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 to be the sum of the charging cutoff voltage and the 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 then the second voltage threshold may be set to the sum of the charging cut-off voltage and the preset unit voltage, where the preset unit voltage may be understood as a step value of the charging IC for setting the stopping voltage, and the step value is marked as Δv, for example, Δv is 0.02V or 0.03V or 0.032V. Since the full charge voltages of the batteries 123 in the different types of electronic devices 100 may be different, in order to be able to charge the batteries having different full charge voltages, the charge management module 122 may set the step value for the charging IC in advance, 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, the specific value of the step value is not limited.
In this way, even if the charging IC does not have the compensation function, the period of time during which the battery 123 is in the constant current charging stage can be prolonged, i.e., an effect similar to the compensation function can be achieved.
In the embodiment of the present application, a case where the charging IC does not have the 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 unchanged, i.e. the first constant voltage charging stage is entered. It should be noted that the second voltage threshold may also be understood as the charging voltage of the first constant voltage charging stage.
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 yes, enters a second constant voltage charging stage.
In the embodiment of the present application, the preset current threshold value is greater than the charge cutoff current of the battery 123. The preset current threshold value 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=0.032/0.055=0.581A, where 0.032 is a preset unit voltage, the preset current threshold value is a sum value of the charging cutoff current and 0.581A.
It should be noted that the preset current threshold value may also be understood as a charging cut-off current corresponding to the first constant voltage charging stage.
As can be seen from the above, when the battery 123 is in the first constant voltage charging stage, the charging current of the battery 123 is higher than the preset current threshold. However, even if the charging current of the battery 123 is higher than the preset current threshold value, the battery 123 will not have an overcharge problem due to the impedance between the output current of the charging IC and the battery cell. For example, assuming that the charge cutoff voltage of the battery 123 is 4.4V, the preset unit voltage is 0.032V, the impedance between the output current of the charging IC and the battery cell is 0.055ohm, it is known from ohm's law that the voltage of the battery cell is smaller than the difference between the charge cutoff voltage corresponding to the first constant voltage charging stage and the voltage across the resistor between the output current of the charging IC and the battery cell, for example, the charge cutoff voltage corresponding to the first constant voltage charging stage is 4.432V, the voltage across the resistor between the output current of the charging IC and the battery cell is (0.581 a×0.055), the voltage of the battery cell is smaller than [4.432V- (0.581×0.055) V ], that is, the voltage of the battery cell is always smaller than or equal to 4.4V, and it is apparent that when the battery 123 is in the first constant voltage charging stage, even if the charge management module 121 malfunctions, the battery 123 does not risk of overcharging.
While the battery 123 is in the first constant voltage charging stage, the charging management module 121 monitors the charging current of the battery 123 (or may be understood as the output current of the charging IC) in real time. When the charging management module 121 determines that the charging current is less than or equal to the preset current threshold value, 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 is caused to enter the second constant voltage charging stage. In the embodiment of the present application, the charging voltage in 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 has been set to the charge cutoff voltage of the battery 123, the voltage of the battery 123 does not exceed the charge cutoff voltage, and there is no risk of overcharge.
S407, the charge management module 121 determines whether the charge current of the battery 123 is less than the charge cutoff current, and if yes, stops charging the battery 123.
In the above technical scheme, by setting two different constant voltage charging stages, and the charging voltage in the first constant voltage charging stage is higher than the charging cut-off voltage of the battery, the duration of the battery in the constant current charging stage can be prolonged, and the charging duration can be reduced. And, since the charge cutoff current in the first constant voltage charging stage is also greater than the charge cutoff current of the battery, the risk of overcharging the battery can be avoided.
In the above embodiment, when the battery 123 is charged, a new constant voltage charging stage having a high charge cutoff voltage and a large charge cutoff current is provided, and in practical use, two or more constant voltage charging stages similar to the new constant voltage charging stage may be provided to extend the duration of the constant current charging stage of the battery as much as possible, without limiting the number of the new constant voltage charging stages.
In the embodiment shown in fig. 4, the charging management module 121 determines whether the battery is full or not by the charging current of the charging IC, so as to determine whether to stop charging the battery. In another embodiment, it may also be determined by determining the capacity of the battery to stop charging the battery, for example, a full capacity of the battery may be set, and when the charge management module 121 determines that the amount of power of the battery reaches the full capacity, it determines to stop charging the battery. It can be seen that the full capacity of the battery is also a factor affecting the charge duration. In order to reduce the charging time of the battery, in practical use, an advanced full-charge mechanism may be adopted. Specifically, the charge management module 121 may obtain the last discharge amount of the battery 123 by using an electricity meter, and take 98% or 97% of the last discharge amount of the battery 123 as a full charge report capacity of the next charge, which is referred to as a "self-learning capacity". When the charge management module 121 determines that the charge capacity of the battery 123 reaches the full charge capacity through the electricity meter at the next charge, the full charge is implemented, that is, the user interface of the electronic device 100 can be controlled by the processor to display the electricity quantity as 100%.
Because the individual capacities of the batteries are different, the discharge capacities of different batteries are different, so that the full charge capacity of different batteries in the next charging process is different, and the charging time of different electronic equipment is different, for example, about 10 minutes may exist. Therefore, the technical effect of reducing the charging time can be achieved by determining the proper full capacity of the battery. Next, referring to fig. 5, a flowchart of another example of the charging control method provided in the embodiment of the present application is described, where in the embodiment, the charging duration is reduced by improving the accuracy of battery pack reporting.
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 again.
S502, the charge management module 121 determines the self-learning capacity of the battery 123.
Specifically, the electricity meter may count the last discharge amount of the battery 123, and may acquire the discharge amount from the electricity meter when the charge management module 121 determines that the electronic device is in a charged state. The self-learning capacity of the battery is then determined based on the amount of discharge obtained from the electricity meter. As an example, 98% or 97% of the discharge amount may be taken as the self-learning capacity of the battery 123. For example, the charge management module 121 determines that the self-learning capacity of the battery 123 is 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 to determine 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 at the time of shipping the electronic device 100, for example, may be 3000mAh. The preset capacity may be pre-stored in a memory of the charge management module. Of course, the charging management module 121 may also acquire the preset capacity in a manner, for example, may be acquired from the memory 110 in the electronic device 100, which is not limited in the embodiment of the present application.
S504, the charge management module 121 determines that the product of the preset capacity and the preset percentage of the battery 123 is the full 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 98% of the preset capacity as the full 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 charge management module 121 determines that the product of the determined self-learning capacity of the battery 123 and the preset percentage is taken as the full capacity of the battery 123.
The predetermined percentage is similar to the predetermined percentage in step S504, and will not be described here. 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 98% of the self-learning capacity as the full capacity of the battery 123 because the self-learning capacity of the battery 123 is smaller 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 step S501 and steps S502 to S505 may be performed simultaneously. In fig. 5, step S501 is executed first, and then steps S502 to S505 are executed.
S506, the charge management module 121 determines that the initial charge phase is a precharge phase.
S507, the charging management module 121 charges the battery 123 according to the charging parameters corresponding to the precharge phase.
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 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 enters the first constant voltage charging stage.
S510, the charging management module 121 determines that the charging current of the battery 123 is less than or equal to the preset current threshold value, and enters the second constant voltage charging stage.
Step S506 to step S510 are similar to step S402 to step S406, and are not described here again.
S511, when the charge management module 121 determines that the charge capacity of the battery 123 reaches the full charge capacity, it controls the display power of the electronic device 100 to be 100%. Alternatively, the electric quantity can be prompted to be 100% by controlling the LED lamp to flash or changing the color of the LED, which is not limited herein.
S512, if the charging management module 121 determines that the charging current of the battery 123 is less than the charging off current, the charging of the battery 123 is stopped.
In the above technical solution, on the basis of the embodiment shown in fig. 4, by comparing the self-learning capacity with the preset capacity of the battery, the optimal full-charge capacity of the battery can be determined, the accuracy of full-charge of the battery can be improved, and further, the time difference of 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 programmed into the charging management module 121 in the form of instructions or programs, so that when the charging management module 121 is in an operating state, the method in the embodiments 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 point of view that the electronic device is the execution subject. In order to implement the functions in the methods provided in the embodiments of the present application, the electronic device may include a hardware structure and/or a software module, where the functions are implemented in the form of a hardware structure, a software module, or a hardware structure plus a software module. Some of the functions described above are performed in a hardware configuration, a software module, or a combination of hardware and software modules, depending on the specific application of the solution and design constraints.
The apparatus provided in the embodiments of the present application are described below with reference to the accompanying drawings to implement the method embodiments described above.
Based on the same inventive concept as the method embodiment, the present application provides a charging control device 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 device 600 has a structure as shown in fig. 6 and includes a detection module 601 and a control module 602, where, when the charging control device 600 performs the method as 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 other processes for supporting the techniques described in the embodiments of the present application. The control module 602 may be used to perform steps S401-S407 in the embodiment shown in fig. 4, and/or to support other processes of the techniques described in embodiments of the present application. All relevant contents of each step related to the above method embodiment may be cited to the functional description of the corresponding functional module, which is not described herein.
When implemented in hardware, the hardware implementation of the charge control device may also refer to fig. 7 and its associated description.
As shown in fig. 7, which is a structural diagram of another example of the charge control device, the charge control device 700 may include: one or more processors 701, memory 702, one or more computer programs 703; the devices described above may be connected by one or more communication buses 704. Wherein said one or more computer programs 703 are stored in the above-mentioned memory 702 and configured to be executed by the one or more processors 701, the one or more computer programs 703 comprising instructions which, 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 5, as described above.
The processor 701 may be a central processing unit (central processing unit, CPU), or an application-specific integrated circuit (ASIC), may be one or more integrated circuits for controlling program execution, may be a baseband chip, or the like. The amount of memory 702 may be one or more, and the memory 702 may be read-only memory (ROM), random access memory (random access memory, RAM), or disk memory, etc.
The electronic device shown in fig. 7 may be a cell phone, ipad, notebook computer, smart television, wearable device (e.g., smart watch, smart helmet or smart bracelet, etc.), etc. When the electronic device shown in fig. 7 is a cellular phone, the structure thereof may be referred to in fig. 2, for example, the memory 702 is the internal memory 110 in fig. 2.
Embodiments of the present application also provide a computer storage medium including a computer program that, when run on an electronic device, causes the electronic device to perform all the steps performed by the charge management module 121 as described in the method embodiments shown in fig. 4 or fig. 5.
Embodiments of the present application also provide a computer program product that, when run on an electronic device, causes the electronic device to perform all the steps performed by the charge management module 121 as described in the method embodiments shown in fig. 4 or fig. 5.
The embodiments of the present application also provide a chip system, which includes a processor, configured to support the charge control device to implement the method provided in the embodiment shown in fig. 4 or fig. 5, for example, to generate or process data and/or information related to the method provided in the embodiment shown in fig. 4 or fig. 5. The chip system further comprises a memory, the memory is used for storing program instructions and data necessary for the charging control device, and a processor in the chip system can call the program instructions and data stored in the memory in the chip system, so that the chip system can realize the functions of the charging management module 121. The chip system can be composed of chips, and can also comprise chips and other discrete devices.
In the above embodiments, it may be implemented in whole or in part 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, produces a flow or function in accordance with embodiments of the present application, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a computer network, or other programmable apparatus. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by a wired (e.g., coaxial cable, fiber optic, digital subscriber line), or wireless (e.g., infrared, wireless, microwave, etc.). The computer readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. that contains an integration of one or more 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), etc.
The foregoing description, for purposes of explanation, has been described with reference to specific embodiments. However, the illustrative 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 present application and its practical application to thereby enable others skilled in the art to best utilize the present application and various embodiments with various modifications as are suited to the particular use contemplated.

Claims (6)

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 the two ends of the battery is detected to be larger than or equal to a first voltage threshold, charging the battery by using a current with a preset size; the first voltage threshold is less than a charge cutoff voltage of the battery;
when the voltage at the two ends of the battery is detected to be more 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; the second voltage threshold is the sum of the charging cut-off voltage and a preset unit voltage;
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; the preset current threshold value is larger than the charging cut-off current of the battery; the preset current threshold value is a ratio between the preset unit voltage and charging impedance, and the charging impedance is an impedance between an output end of the power supply equipment and ground;
determining the full charge 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, controlling the electronic equipment to display that the battery is in a full charge state; stopping charging the battery when detecting that the charging current of the battery is less than or equal to the charging cut-off current of the battery;
wherein, according to the discharge amount of the battery before being charged by the power supply equipment, determining the full charge of the battery comprises: comparing the magnitude relation between the self-learning capacitance and the preset capacitance of the battery; the self-learning capacitance is the product of the discharge amount 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 that the full charge of the battery is the product of the preset electric capacity and the preset percentage.
2. The method of claim 1, wherein determining the full charge of the battery based on the discharge of the battery prior to charging 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 that the full charge of the battery is the product of the self-learning electric capacity and the preset percentage.
3. A charging control device applied to an electronic apparatus including a battery, comprising a detection module and a control module, wherein:
the detection module is used for detecting that the electronic equipment is in a state of being charged by power supply equipment currently, and detecting the voltage and 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 a current with a preset size when the voltage at the two ends of the battery is larger 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 the 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; and 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; the second voltage threshold is the sum of the charging cut-off voltage and a preset unit voltage;
The control module is further configured to: determining the full charge 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, controlling the electronic equipment to display that the battery is in a full charge state; stopping charging the battery when the detection module detects that the charging current of the battery is less than or equal to the charging cut-off current of the battery; the preset current threshold value is a ratio between the preset unit voltage and charging impedance, and the charging impedance is an impedance between an output end of the power supply equipment and ground;
the control module determines the full charge of the battery according to the discharge amount of the battery before being charged by the power supply equipment, and is specifically used for: comparing the magnitude relation between the self-learning capacitance and the preset capacitance of the battery; the self-learning capacitance is the product of the discharge amount 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 that the full charge of the battery is the product of the preset electric capacity and the preset percentage.
4. The apparatus of claim 3, wherein the control module is further configured to determine a full charge of the battery based on an amount of discharge of the battery prior to charging by the power supply device, and further configured to:
and if the self-learning electric capacity is smaller than the preset electric capacity of the battery, determining that the full charge of the battery is the product of the self-learning electric capacity and the preset percentage.
5. An electronic device comprising at least one processor and at least one memory, wherein;
the memory is used for storing one or more computer programs;
the one or more computer programs, when executed by the at least one processor, enable the electronic device to implement the method of any one of claims 1-2.
6. A computer readable storage medium, characterized in that the computer readable storage medium comprises a computer program which, when run on an electronic device, causes the electronic device to perform the method according to any of claims 1-2.
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 CN112018831A (en) 2020-12-01
CN112018831B true 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)

Families Citing this family (3)

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

Citations (5)

* 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
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

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4499164B2 (en) * 2008-02-25 2010-07-07 岩崎電気株式会社 Charging apparatus and charging method

Patent Citations (5)

* 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
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控制的铅酸电池智能快速充电系统;李斌等;《机电产品开发与创新》;20080128(第01期);全文 *

Also Published As

Publication number Publication date
CN112018831A (en) 2020-12-01

Similar Documents

Publication Publication Date Title
KR102542279B1 (en) Spectacles having wireless charging receiver circuit, spectacle case for spectacles, and system
US10116157B2 (en) Method and device for charging batteries in mobile devices
CN110797925B (en) Battery control system and method and electronic equipment
CN107546808B (en) Charging identification circuit, identification method and terminal equipment
CN105706291B (en) Method for fast charging and electronic device thereof
CN106340925B (en) A kind of charge control method, device and terminal
CN112018831B (en) Charging control method, charging control device and electronic equipment
CN106786961B (en) Charging method, device and terminal
US10218209B2 (en) Selecting a charging mode for charging a battery of a portable device
CN112928787B (en) Charging circuit, electronic device, charging control method and device
CN103730933A (en) Charging method and electronic devices
CN110797924B (en) Battery control system and method and electronic equipment
CN210042141U (en) Wireless earphone, wireless earphone charging box and charging control system
US8909955B2 (en) Method and apparatus for providing characteristics information of a peripheral device to an electronic device by encoding the characteristic information into a power signal
CN106684984A (en) Wireless charging method, wireless charging device and wireless charging system
CN103605077A (en) Predetermined battery identification method, predetermined battery identification device and electronic equipment
CN107046304B (en) Wireless charging method, related device and system
CN106532876B (en) Power supply control method and device and computer equipment
CN109254210B (en) Electronic equipment port type detection method and device, detection circuit and electronic equipment
CN107889012B (en) Wireless earphone capable of charging wearable device
CN207835120U (en) A kind of intelligent Charge-control System and its charging adapter, data line, wireless contactless charging equipment
CN107124012B (en) Charging method, device, charger, terminal and system
US9685808B2 (en) USB energy harvesting
CN113451669A (en) Charging method and device, electronic device and storage medium
CN216564606U (en) Charger and charging equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
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