Charging method and electronic equipment
阅读说明:本技术 一种充电方法及电子设备 (Charging method and electronic equipment ) 是由 田海涛 罗伟 王朝 王丰 于 2019-08-29 设计创作,主要内容包括:一种充电方法及电子设备,涉及终端技术领域。其中,该方法应用于电子设备,电子设备包括充电集成电路和电池,充电集成电路通过电池连接器连接所述电池,该方法包括:电子设备监测第一采样点的电压、第二采样点的电压,第一采样点为电池连接器的正极;第二采样点为电池的正极。在第一采样点的电压大于截止电压时,根据第一采样点的电压、第二采样点的电压、第一采样点和第二采样点之间的阻抗,确定第一充电电流;然后,电子设备将第一充电电流调整为第二充电电流,第二充电电流小于第一充电电流、且大于截止电流。电子设备以所述第二充电电流对电池进行充电。这种技术方案有助于降低因充电IC本身精度问题导致的对电子设备中的电池过充的可能性。(A charging method and electronic equipment relate to the technical field of terminals. The method is applied to electronic equipment, the electronic equipment comprises a charging integrated circuit and a battery, the charging integrated circuit is connected with the battery through a battery connector, and the method comprises the following steps: the electronic equipment monitors the voltage of a first sampling point and the voltage of a second sampling point, wherein the first sampling point is the positive electrode of the battery connector; the second sampling point is the positive electrode of the battery. When the voltage of the first sampling point is greater than the cut-off voltage, determining a first charging current according to the voltage of the first sampling point, the voltage of the second sampling point and the impedance between the first sampling point and the second sampling point; then, the electronic device adjusts the first charging current to a second charging current, wherein the second charging current is smaller than the first charging current and larger than the cut-off current. The electronic equipment charges the battery with the second charging current. This solution helps to reduce the possibility of overcharging the battery in the electronic device due to the accuracy problems of the charging IC itself.)
1. A charging method is applied to electronic equipment, wherein the electronic equipment comprises a charging integrated circuit and a battery, the charging integrated circuit is connected with the battery through a battery connector, and the charging integrated circuit is used for charging the battery; the method comprises the following steps:
the electronic equipment monitors the voltage of the first sampling point and the voltage of the second sampling point; the first sampling point is the positive pole of the battery linker, and the positive pole of the battery linker is connected with the positive pole of the battery; the second sampling point is the positive electrode of the battery;
when the voltage of the first sampling point is greater than the cut-off voltage, the electronic equipment determines a first charging current according to the voltage of the first sampling point, the voltage of the second sampling point and the impedance between the first sampling point and the second sampling point;
the electronic equipment adjusts the first charging current into a second charging current, wherein the second charging current is smaller than the first charging current, and the second charging current is larger than a cut-off current;
and the electronic equipment controls the charging integrated circuit to charge the battery by the second charging current.
2. The method of claim 1, wherein the electronic device adjusting the first charging current to a second charging current comprises:
and the electronic equipment reduces the first charging current by a preset adjustment step length to obtain the second charging current.
3. The method of claim 1 or 2, wherein before the electronic device monitors the voltage at the first sampling point, further comprising:
the electronic device detects that the output voltage of the charging integrated circuit reaches the cutoff voltage.
4. A method according to any one of claims 1 to 3, wherein the method further comprises:
and the electronic equipment stops charging when the second charging current is smaller than the cut-off current.
5. The method of any one of claims 1 to 4, wherein the impedance between the first sampling point and the second sampling point comprises a positive access impedance of the battery connector, and a protection circuit board trace impedance, wherein the protection circuit board is used for protecting a cell in the battery.
6. An electronic device, characterized in that the electronic device comprises:
a battery;
a charging Integrated Circuit (IC);
one or more processors;
a memory;
and one or more computer programs, stored in the memory, the one or more computer programs comprising instructions, which when executed by the electronic device, cause the electronic device to perform the method of any of claims 1 to 5.
7. An electronic device, characterized in that the electronic device comprises means for performing the method of any of claims 1 to 5.
8. A chip, wherein the chip is coupled to a memory in an electronic device, such that the chip, when executed, invokes instructions stored in the memory to implement the method of any of claims 1 to 5.
9. A computer-readable storage medium comprising instructions that, when executed on an electronic device, cause the electronic device to perform the method of any of claims 1-5.
Technical Field
The present disclosure relates to the field of terminal technologies, and in particular, to a charging method and an electronic device.
Background
At present, in electronic devices such as mobile phones and tablet computers, charging input is received by a charging Integrated Circuit (IC) to charge a battery. Generally, after the output voltage of the charging IC reaches the cutoff voltage, the charging IC keeps the output voltage constant, that is, keeps the output voltage of the charging IC at the cutoff voltage, charges the battery, and stops charging the battery after the charging current drops to the cutoff current. Wherein the cutoff voltage is generally set to the maximum safe voltage of the battery. For example, the maximum safe voltage of the battery is 4.4V, and the cutoff voltage is 4.4V.
However, due to the manufacturing process or material of the components of the charging IC itself, there may be a certain error in the accuracy of the charging IC itself. Thus, the output voltage held by the charging IC to charge the battery may actually be greater than the cutoff voltage, with the risk of causing the battery to be overcharged.
Disclosure of Invention
The embodiment of the application provides a charging method and electronic equipment, which are beneficial to reducing the possibility of overcharging a battery in the electronic equipment.
In a first aspect, a charging method provided in an embodiment of the present application is applied to an electronic device, where the electronic device includes a charging integrated circuit and a battery, the charging integrated circuit is connected to the battery through a battery connector, and the charging integrated circuit is configured to charge the battery, and the method includes:
the electronic equipment monitors the voltage of a first sampling point and the voltage of a second sampling point, wherein the first sampling point is the positive electrode of the battery connector; the positive electrode of the battery connector is connected with the positive electrode of the battery, and the second sampling point is the positive electrode of the battery. Under the condition that the voltage of the first sampling point is greater than a cut-off voltage, determining a first charging current according to the voltage of the first sampling point, the voltage of a second sampling point and the impedance between the first sampling point and the second sampling point; then, the electronic device adjusts the first charging current to a second charging current, wherein the second charging current is smaller than the first charging current and larger than the cut-off current. And the electronic equipment controls the charging integrated circuit to charge the battery with the second charging current.
In the embodiment of the application, the possibility of overcharging the battery in the electronic equipment is caused by the accuracy problem of the electronic equipment capable of integrating the circuit.
In one possible design, the electronic device decreases the first charging current by a preset adjustment step length to obtain a second charging current. Thereby contributing to a simplified implementation.
In one possible design, the electronic device monitors the voltage at the first sampling point when detecting that the output voltage of the charging integrated circuit reaches the cut-off voltage. Helping to simplify the implementation.
It should be noted that the electronic device may also monitor the voltage at the second sampling point when detecting that the output voltage of the charging integrated circuit reaches the cut-off voltage, or the electronic device may monitor the voltage at the second sampling point again when the voltage at the first sampling point is greater than the cut-off voltage.
In a possible design, when the electronic device charges the battery with the second charging current, the step of continuously monitoring the voltage of the first sampling point is returned. The method is helpful for improving the possibility of fully charging the battery while reducing the possibility of overcharging the battery in the electronic equipment.
In one possible design, the electronic device stops charging when the second charging current is less than a cutoff current. Helping to simplify the implementation.
In one possible design, the impedance between the first sampling point and the second sampling point includes a positive access impedance of the battery connector, and a protection circuit board routing impedance, and the protection circuit board is used for protecting a cell in the battery.
In a second aspect, this strong embodiment provides an electronic device comprising a battery, a charging IC, one or more processors, a memory, and one or more computer programs stored in the memory, the one or more computer programs comprising instructions which, when executed by the electronic device, cause the electronic device to perform the first aspect and any of the possible designed methods of the first aspect.
In a third aspect, embodiments of the present application provide yet another electronic device, including one or more processors and memory; and one or more computer programs, the one or more computer programs being stored in the memory, the one or more computer programs comprising instructions which, when executed by the electronic device, cause the electronic device to perform the method of any possible design to which the first aspect of embodiments of the present application relates.
In a fourth aspect, an embodiment of the present application provides a chip, where the chip is coupled with a memory in an electronic device, so that the chip invokes, when running, program instructions stored in the memory, to implement the first aspect of the present application and any one of the possible designed methods related to the first aspect.
In a fifth aspect, the present application provides a computer storage medium storing instructions that, when executed on an electronic device, cause the electronic device to perform the method according to the first aspect of the present application and any one of the possible designs related to the first aspect.
In a sixth aspect, embodiments of the present application provide a computer program product, which, when run on an electronic device, causes the electronic device to execute a method implementing the first aspect of the present application and any one of the possible designs related to the first aspect.
In addition, the technical effects brought by any one of the possible design manners in the second aspect to the sixth aspect can be referred to the technical effects brought by different design manners in the association of the method part, and are not described herein again.
Drawings
Fig. 1 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present application;
fig. 2 is a schematic hardware structure diagram of another electronic device according to an embodiment of the present application;
fig. 3 is a schematic flowchart of a charging method according to an embodiment of the present application;
FIG. 4 is a schematic diagram illustrating a flow direction of a charging current according to an embodiment of the present disclosure;
fig. 5 is a schematic structural diagram of another electronic device according to an embodiment of the present application.
Detailed Description
To facilitate understanding, relevant nouns or terms referred to in this application are first explained.
1. The battery voltage. The battery voltage refers to a voltage between a positive electrode of the battery, which refers to a positive electrode of the battery, and a negative electrode of the battery, which refers to a negative electrode of the battery, and the battery generally includes a battery cell and a protection circuit board.
2. The output current of the charging IC. Generally, the output current of the charging IC includes a supply current and a charging current. The power supply current is used for supplying power to the electronic equipment under the condition of charging. The charging current is used to charge a battery in the electronic device. It should be noted that, in the standby state, the power consumption of the electronic device is small and negligible, and the charging current is approximately equal to the output current of the charging IC.
3. The output voltage of the charging IC. The output voltage of the charging IC of the embodiments of the present application refers to a voltage provided by the charging IC for charging the battery.
In the electronic device, a charging input is received by a charging IC to charge a battery. Generally, the charging process of a battery includes three phases, namely a low current charging phase (also referred to as a trickle charging phase, a pre-charging phase), a constant current charging phase and a constant voltage charging phase. After receiving the charging input, the charging IC in the electronic device generally enters a low-current charging stage, that is, the charging IC charges the battery with a small charging current, which is helpful for protecting the battery. And entering a constant current charging stage after the voltage of the battery reaches a first threshold value. In the constant current charging stage, the charging IC charges the battery with a larger charging current, and keeps the charging current unchanged so as to improve the charging rate. When the output voltage of the charging IC reaches the cut-off voltage, a constant voltage charging stage is entered. In the constant voltage charging stage, the charging IC keeps the output voltage unchanged, gradually reduces the charging current, charges the battery, and stops charging until the charging current is lower than the cut-off current.
Currently, the cut-off voltage is usually set to the maximum safe voltage of the battery, for example, 4.4V, and the cut-off voltage is set to 4.4V. However, the accuracy of the charging IC itself may have a certain error due to the manufacturing process of the device or the material of the charging IC, so that the charging IC enters the constant voltage charging stage when the output voltage of the charging IC is actually greater than the cut-off voltage. That is, in the constant voltage charging stage, the output voltage of the charging IC, which remains unchanged, is actually greater than the cutoff voltage, thereby easily causing the overcharge of the battery.
In view of this, embodiments of the present disclosure provide a charging method, so that an electronic device can adjust the magnitude of an output current in a constant voltage charging stage, thereby helping to reduce the possibility of overcharging a battery.
It is to be understood that in this application, "/" indicates an OR meaning, e.g., A/B may indicate either A or B; in the present application, "and/or" is only an association relationship describing an associated object, and means that there may be three relationships, for example, a and/or B, and may mean: a exists alone, A and B exist simultaneously, and B exists alone. "at least one" means one or more, "a plurality" means two or more.
In this application, "exemplary," "in some embodiments," "in other embodiments," and the like are used to mean serving as an example, instance, or illustration. Any embodiment or design described herein as "exemplary" is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, the term using examples is intended to present concepts in a concrete fashion.
Furthermore, the terms "first," "second," and the like, as used herein, are used for descriptive purposes only and not for purposes of indicating or implying relative importance or implicit indication of a number of technical features being indicated or implied as well as the order in which such is indicated or implied.
An electronic apparatus to which the embodiments of the present application can be applied is described below. Electronic device in the embodiment of the applicationThe device may be a portable electronic device, such as a cell phone, a tablet, a wearable device, an Augmented Reality (AR)/Virtual Reality (VR) device, and the like. In particular, exemplary embodiments of the electronic device include, but are not limited to, a mount
Or other operating system. In other embodiments, the electronic device according to the embodiments of the present application may also be other electronic devices, such as a notebook computer.For example, as shown in fig. 1, a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present application is shown. As shown in fig. 1, the electronic device includes a
It should be understood that the hardware configuration shown in fig. 1 is only one example. The electronic devices of the embodiments of the application may have more or fewer components than the electronic devices shown in the figures, may combine two or more components, or may have different configurations of components. The various components shown in the figures may be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and/or application specific integrated circuits.
In some embodiments, a buffer may also be provided in the
The
The
The
The
The
The
The electronic device may implement audio functions through the
The
The
A
The
The
The
The
The charging IC180, which may also be referred to as a charging management module, receives charging input from a charger. The charger may be a wireless charger or a wired charger. In some wired charging embodiments, the charging IC180 may receive charging input from a wired charger via the USB interface 170. In some wireless charging embodiments, charging IC180 may receive a wireless charging input through a wireless charging coil of an electronic device. While charging
The
The
For example, as shown in fig. 2, the output terminal C of the charging IC180 is connected to the positive electrode a of the battery connector, the positive electrode D of the battery cell is connected to the positive electrode a of the battery connector, the negative electrode E of the battery cell is connected to the protection circuit board, the negative electrode B of the battery connector is connected to the protection circuit board, and the negative electrode B of the battery connector is connected to the protection circuit board through the resistor R0Ground, or battery connector negative pole B is directly grounded. Received at charging IC180After charging input, the charging current is output to the battery connector through the output end C, and the charging current is output to the positive electrode D of the battery cell through the positive electrode a of the battery connector, so that the purpose of charging the
It should be noted that there is impedance between the positive electrode a of the battery connector and the positive electrode D of the battery, for example, the positive electrode access impedance of the battery connector, the wiring impedance of the protection circuit board, and the like, but these impedances are fixed and may be measured in advance before the electronic device is shipped, and stored in advance in the
The
The
In some embodiments, the antenna 1 of the electronic device is coupled to the
The charging method according to the embodiment of the present application will be described in detail below with reference to the hardware configuration shown in fig. 2.
Exemplarily, as shown in fig. 3, a schematic flow chart of a charging method according to an embodiment of the present application specifically includes the following steps.
In some embodiments, the electronic device triggers the implementation of the charging method according to the embodiments of the present application after entering the constant voltage charging phase. That is, the electronic device triggers the
For example, as shown in fig. 4, a schematic diagram of the flow of the charging current when charging the battery is shown. For example, a resistor R is connected to the negative pole of the battery connector0Under the condition of grounding, the flow direction of the charging current is the positive pole of the battery connector, the battery core, the protection circuit board, the negative pole of the battery connector and the resistor R0And a ground. For another example, in the case where the negative electrode of the battery connector is directly grounded, the charging current flows to the positive electrode of the battery connector, the battery cell, the protection circuit board, the negative electrode of the battery connector, and the ground. For example, the first sampling point is the battery connector positive pole, and the voltage of the battery connector positive pole U1 is the voltage of the battery connector positive pole to ground. For another example, the second sampling point is the positive electrode of the battery, and the voltage U2 of the positive electrode of the battery is the voltage from the positive electrode of the battery to the ground.
It should be noted that,
For example, in combination with the hardware structure shown in fig. 2, the
Step 304, the electronic device determines a first charging current according to the voltage U1 and the voltage U2. It should be noted that the first charging current is a current for charging the battery by the charging IC currently.
Taking the first charging current as the current I1 as an example, I1 ═ U2-U1)/R0,R0Is the impedance between the first sample point and the second sample point. In addition, R is0The device may be stored in the electronic device by measurement before shipment. For example, the first sampling point is a positive electrode of the battery connector, the second sampling point is a positive electrode of the battery, and the impedance between the first sampling point and the second sampling point may include a contact resistance of the battery connector, a routing resistance of the battery protection board, and the like.
Taking the hardware structure shown in fig. 2 as an example, the electronic device determines the charging current I1 according to the voltage U1 and the voltage U2 through the
Step 305, the electronic device adjusts the first charging current to a second charging current, where the second charging current is smaller than the first charging current.
In some embodiments, the electronic device decreases the first charging current by the adjustment step size to obtain the second charging current. For example, the adjustment step length may be preset in the electronic device, or may be acquired from a server or a cloud, which is not limited to this. For example, the adjustment step size of one or more gears may be preset in the electronic device. Taking an example of an adjustment step size of one gear preset by the electronic device, for example, the adjustment step size is Δ I, the first charging current is I1, and the second charging current is I2, then I2 is I1- Δ I. Taking the electronic device as an example, the preset adjustment steps of two or more gears are Δ I1, Δ I2, and Δ I3, respectively. Wherein Δ I1 corresponds to the voltage range 1, Δ I2 corresponds to the voltage range 2, and Δ I3 corresponds to the voltage range 3, if the voltage U1 at the first sampling point is within the voltage range 1, the electronic device reduces the first charging current to the second charging current according to Δ I1.
Taking the hardware structure shown in fig. 2 as an example, the adjustment step size may be pre-configured in the
In other embodiments, the electronic device may further adjust the first charging current to the second charging current according to a preset algorithm or functional relationship. The embodiment of the present application does not limit the adjustment manner of the specific charging current.
In
For example, the off current may be pre-configured in an internal memory in the electronic device, for example, the off current may be 0.025C.
And 307, the electronic device charges the battery with the second charging current.
Further, the electronic device charges the battery with the second charging current, and returns to step 301, that is, the electronic device continues to monitor the voltage at the first sampling point while charging the battery with the second charging current, and continues to execute step 305 and the following steps when the voltage at the first sampling point is greater than the cut-off voltage. Thereby contributing to an increase in the likelihood of fully charging the battery while reducing the likelihood of overcharging the battery in the electronic device.
Taking the hardware structure shown in fig. 2 as an example, the
In
Taking the hardware configuration shown in fig. 2 as an example, the
It should be understood that the above embodiments of the present application can be used alone or in combination with each other, and are not limited thereto.
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.
As shown in fig. 5, an electronic device 500 is provided. The electronic device 500 comprises at least one processor 501, a memory 502, a battery 503.
In particular, memory 502 is used to store one or more computer programs, including instructions. The memory 502 may be a nonvolatile memory such as a Hard Disk Drive (HDD) or a solid-state drive (SSD), and may also be a volatile memory (RAM), such as a random-access memory (RAM). The memory is any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer, but is not limited to such. The memory in the embodiments of the present application may also be a circuit or any other device capable of implementing a storage function for storing instructions and/or data.
The processor 501 is configured to call instructions stored in the memory 502, so that the electronic device 500 executes the charging method shown in fig. 3, thereby charging the battery 503. The processor 501 may be a general purpose processor, a digital signal processor, an application specific integrated circuit, a field programmable gate array or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or any combination thereof, configured to implement or perform the methods, steps, and logic blocks disclosed in the embodiments of the present application. A general purpose processor may be a microprocessor or any conventional processor or the like. The steps of a method disclosed in connection with the embodiments of the present application may be directly implemented by a hardware processor, or may be implemented by a combination of hardware and software modules in a processor.
In some embodiments, the electronic device 500 may also include a charging IC 504. The charging IC504 is used to realize charging of the battery 503 under the control of the processor 501.
It should be noted that, in the present embodiment, the processor 501 is coupled with the memory 502, the battery 503 and the charging IC504, and the coupling is indirect coupling or communication connection between devices, units or modules, and may be in an electrical, mechanical or other form, which is used for information interaction between the devices, units or modules. The connection medium between the processor 501 and the memory 502, the battery 503, and the charging IC504 is not limited in the embodiment of the present application. For example, in fig. 5, the processor 501, the memory 502, the battery 503 and the charging IC504 may be connected through a bus, and the bus may be divided into an address bus, a data bus, a control bus, and the like. Note that the processor 501 may be connected to a battery through the charging IC 504.
It should be understood that the electronic device 500 may be used to implement the charging method according to the embodiment of the present application, and reference may be made to the above for related features, which are not described herein again.
It is clear to those skilled in the art that the embodiments of the present application can be implemented in hardware, or firmware, or a combination thereof. When implemented in software, the functions described above may be stored on or transmitted over as one or more instructions or code on a computer-readable medium. Computer-readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one place to another. A storage media may be any available media that can be accessed by a computer. Taking this as an example but not limiting: the computer-readable medium may include RAM, ROM, Electrically Erasable Programmable Read Only Memory (EEPROM), compact disc read-Only memory (CD-ROM) or other optical disk storage, magnetic disk storage or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer. Furthermore, the method is simple. Any connection is properly termed a computer-readable medium. For example, if software is transmitted from a website, a server, or other remote source using a coaxial cable, a fiber optic cable, a twisted pair, a Digital Subscriber Line (DSL), or wireless technologies such as infrared, radio, and microwave, the coaxial cable, the fiber optic cable, the twisted pair, the DSL, or the wireless technologies such as infrared, radio, and microwave are included in the fixation of the medium. Disk and disc, as used in accordance with embodiments of the present application, includes Compact Disc (CD), laser disc, optical disc, Digital Versatile Disc (DVD), floppy disk and blu-ray disc where disks usually reproduce data magnetically, while discs reproduce data optically with lasers. Combinations of the above should also be included within the scope of computer-readable media.
In short, the above description is only an example of the present application, and is not intended to limit the scope of the present application. Any modifications, equivalents, improvements and the like made in accordance with the disclosure of the present application are intended to be included within the scope of the present application.
- 上一篇:一种医用注射器针头装配设备
- 下一篇:一种考虑老化的锂电池充电方法