Charging method and electronic equipment

文档序号:1674744 发布日期:2019-12-31 浏览:6次 中文

阅读说明:本技术 一种充电方法及电子设备 (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

Figure BDA0002183861970000031

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 processor 110, an internal memory 121, an external memory interface 122, a camera 130, a display 140, a sensor module 150, an audio module 160, a speaker 161, a receiver 162, a microphone 163, an earphone interface 164, a Subscriber Identification Module (SIM) card interface 171, a Universal Serial Bus (USB) interface 172, a charging IC180, a power management module 181, a battery 182, a mobile communication module 191, and a wireless communication module 192. In addition, the electronic device in the embodiment of the present application may further include a motor, an indicator, a key, and the like.

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.

Processor 110 may include one or more processing units, among others. For example, the processor 110 may include an Application Processor (AP), a modem, a Graphics Processor (GPU), an Image Signal Processor (ISP), a controller, a video codec, a Digital Signal Processor (DSP), a baseband processor, and/or a neural-Network Processor (NPU), and the like. In particular implementations, the different processing units may be separate devices or may be integrated in one or more processors.

In some embodiments, a buffer may also be provided in the processor 110 for storing programs and data. As an example, the cache in the processor 110 may be a cache memory. The buffer may be used to hold programs or data that have just been used, generated, or recycled by processor 110, such as, for example, cutoff voltage, cutoff current, etc. If the processor 110 needs to use the program or data, it can be called directly from the buffer. Which helps to reduce the time that the processor 110 takes to acquire programs or data, thereby helping to improve the efficiency of the system.

The internal memory 121 may be used to store programs and/or data. In some embodiments, the internal memory 121 includes a program storage area and a data storage area. The storage program area may be used to store an operating system (e.g., an operating system such as Android and IOS), a computer program required by at least one function (e.g., a charging function, a sound playing function), and the like. The stored data area may be used to store data (e.g., voltages) created, and/or collected during use of the electronic device, etc. For example, the processor 110 may implement one or more functions by calling programs and/or data stored in the internal memory 121 to cause the electronic device to execute a corresponding method. For example, the processor 110 calls some programs and/or data in the internal memory to make the electronic device execute the charging method provided in the embodiment of the present application, so as to charge the battery in the electronic device. The internal memory 121 may be a high-speed random access memory, a nonvolatile memory, or the like. For example, the non-volatile memory may include at least one of one or more magnetic disk storage devices, flash memory devices, and/or universal flash memory (UFS), among others.

The external memory interface 122 may be used to connect an external memory card (e.g., a Micro SD card) to extend the storage capability of the electronic device. The external memory card communicates with the processor 110 through the external memory interface 122 to implement a data storage function. For example, the electronic device may save files such as images, music, videos, and the like in the external memory card through the external memory interface 122.

The camera 130 may be used to capture motion, still images, and the like. Typically, the camera 130 includes a lens and an image sensor. The optical image generated by the object through the lens is projected on the image sensor, and then is converted into an electric signal for subsequent processing. For example, the image sensor may be a Charge Coupled Device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The image sensor converts the optical signal into an electrical signal and then transmits the electrical signal to the ISP to be converted into a digital image signal. It should be noted that in the embodiment of the present application, the electronic device may include one or more cameras 130.

The display screen 140 may include a display panel for displaying a user interface. The display panel may be a Liquid Crystal Display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), a miniature, a Micro-o led, a quantum dot light-emitting diode (QLED), or the like. For example, the electronic device may implement display functionality via the GPU, the display screen 140, the application processor, and/or the like. It should be noted that one or more display screens 140 may be included in the embodiments of the present application.

The sensor module 150 may include one or more sensors. For example, a touch sensor 150A, a pressure sensor 150B, etc. In other embodiments, the sensor module 150 may also include a gyroscope, an acceleration sensor, a fingerprint sensor, an ambient light sensor, a distance sensor, a proximity light sensor, a bone conduction sensor, a temperature sensor, and the like. Here, the touch sensor 150A may also be referred to as a "touch panel". The touch sensor 150A may be provided to the display screen 140. The touch sensor 150A and the display screen 140 form a touch screen, which is also called a "touch screen". The touch sensor 150A is used to detect a touch operation applied thereto or nearby. The touch sensor 150A can communicate the detected touch operation to the application processor to determine the touch event type. The electronic device may provide visual output related to touch operations, etc. through the display screen 140. In other embodiments, the touch sensor 150A can be disposed on a surface of the electronic device at a different location than the display screen 140.

The pressure sensor 150B is used for sensing a pressure signal, and can convert the pressure signal into an electrical signal. For example, the pressure sensor 150B may be disposed on the display screen 140. The touch operations which act on the same touch position but have different touch operation intensities can correspond to different operation instructions.

The electronic device may implement audio functions through the audio module 160, the speaker 161, the receiver 162, the microphone 163, the headphone interface 164, and the application processor, etc. Such as an audio play function, a recording function, a voice wake-up function, etc.

The audio module 160 may be used to perform digital-to-analog conversion, and/or analog-to-digital conversion on the audio data, and may also be used to encode and/or decode the audio data. For example, the audio module 160 may be disposed in the processor 110, or some functional modules of the audio module 160 may be disposed in the processor 110.

The speaker 161, also called a "speaker", converts audio data into sound and plays the sound. For example, the electronic device 100 may listen to music, listen to a speakerphone, or issue a voice prompt, etc. via the speaker 161.

A receiver 162, also called "earpiece", is used to convert audio data into sound and play the sound. For example, when the electronic device 100 answers a call, the answer can be made by placing the receiver 162 close to the ear of the person.

The microphone 163, also referred to as a "microphone" or "microphone", is used to collect sound (e.g., ambient sound, including human-generated sound, device-generated sound, etc.) and convert the sound into audio electrical data. When making a call or transmitting voice, the user can make a sound by approaching the microphone 163 through the mouth of the person, and the microphone 163 collects the sound made by the user. It should be noted that the electronic device may be provided with at least one microphone 163. For example, two microphones 163 are provided in the electronic device, and in addition to collecting sound, a noise reduction function can be realized. For example, three, four or more microphones 163 may be further disposed in the electronic device, so that the recognition of the sound source, the directional recording function, or the like may be further implemented on the basis of implementing sound collection and noise reduction.

The earphone interface 164 is used to connect a wired earphone. The headset interface 164 may be a USB interface 170, or may be a 3.5mm open mobile electronic device platform (OMTP) standard interface, a cellular telecommunications industry association (cellular telecommunications industry association of the USA, CTIA) standard interface, or the like.

The SIM card interface 171 is for connecting a SIM card. The SIM card can be attached to and detached from the electronic device by being inserted into the SIM card interface 171 or being pulled out from the SIM card interface 171. The electronic device may support 1 or K SIM card interfaces 171, K being a positive integer greater than 1. The SIM card interface 171 may support a Nano SIM card, a Micro SIM card, and/or a SIM card, etc. The same SIM card interface 171 can be inserted with multiple SIM cards at the same time. The types of the plurality of SIM cards can be the same or different. The SIM card interface 171 may also be compatible with different types of SIM cards. The SIM card interface 171 may also be compatible with an external memory card. The electronic equipment realizes functions of conversation, data communication and the like through the interaction of the SIM card and the network. In some embodiments, the electronic device may also employ an eSIM card, namely: an embedded SIM card. The eSIM card can be embedded in the electronic device and cannot be separated from the electronic device.

The USB interface 172 is an interface conforming to the USB standard specification, and may specifically be a Mini USB interface, a Micro USB interface, a USB Type C interface, or the like. The USB interface 172 may be used to connect a charger to charge the electronic device, and may also be used to transmit data between the electronic device and a peripheral device. And the earphone can also be used for connecting an earphone and playing sound through the earphone. For example, the USB interface 172 may be used to connect other electronic devices, such as AR devices, computers, and the like, in addition to the headset interface 164.

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 IC180 charges battery 182, power may also be supplied to the electronic device via power management module 180.

The power management module 181 is used to connect the battery 182, the charging IC block 180 and the processor 110. The power management module 181 receives input from the battery 182 and/or the charging IC180 to power the processor 110, the internal memory 121, the camera 130, the display screen 140, and the like. The power management module 181 may also be used to monitor parameters such as battery level, battery cycle count, battery state of health (leakage, impedance), etc. For example, the power management module 181 includes a fuel gauge, and the battery capacity is monitored by the fuel gauge. In some other embodiments, the power management module 181 may also be disposed in the processor 110. In other embodiments, the power management module 181 and the charging management module 180 may be disposed in the same device, or disposed in different devices.

The battery 182 includes a cell and a protection circuit board. The protection circuit board is used for protecting the battery core. In some embodiments, the battery 182 may be connected to the charging IC180 and the power management module 181 of the electronic device via a battery connector to enable charging and powering. It should be noted that, through the battery connector, the user can detach the battery in the electronic device as required, thereby facilitating the replacement of the battery.

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 battery 182 is achieved. Note that the positive electrode of the electric core is the positive electrode of the battery 182, and the negative electrode of the electric core is the negative electrode of the battery 182.

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 internal memory 121 or the buffer of the processor 110, and the like.

The mobile communication module 191 may provide a solution including 2G/3G/4G/5G wireless communication, etc. applied to the electronic device. The mobile communication module 191 may include a filter, a switch, a power amplifier, a Low Noise Amplifier (LNA), and the like.

The wireless communication module 192 may provide a solution for wireless communication applied to an electronic device, including WLAN (e.g., Wi-Fi network), Bluetooth (BT), Global Navigation Satellite System (GNSS), Frequency Modulation (FM), Near Field Communication (NFC), Infrared (IR), and the like. The wireless communication module 192 may be one or more devices that integrate at least one communication processing module.

In some embodiments, the antenna 1 of the electronic device is coupled to the mobile communication module 191 and the antenna 2 is coupled to the wireless communication module 192 so that the electronic device can communicate with other devices. Specifically, the mobile communication module 191 may communicate with other devices through the antenna 1, and the wireless communication module 193 may communicate with other devices through the antenna 2.

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.

Step 301, the electronic device monitors the voltage U1 at the first sampling point. Illustratively, the first sampling point is located between the output of the charging IC180 and the positive pole of the battery, and the first sampling point is not the positive pole of the battery, e.g., the first sampling point is the positive pole of the battery connector. Thereby facilitating the voltage acquisition by the electronic device.

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 step 301 to be executed after the output voltage of the charging IC reaches the cut-off voltage. Alternatively, the electronic device may execute the charging method in the embodiment of the present application in the whole charging process, that is, the charging IC of the electronic device triggers the execution of step 301 after receiving the charging input.

Step 302, the electronic device monitors the voltage U2 at the second sampling point. Illustratively, the second sample point is the positive electrode of the battery.

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.

Step 303, the electronic device determines whether the voltage U1 of the first sampling point is greater than the cut-off voltage, if so, step 304 is executed, otherwise, step 301 is returned to.

It should be noted that, step 301 and step 302 do not have a certain order, and specifically, step 301 is located before step 303; step 302 may be located after step 303, before step 304, or before step 303. For example, the electronic device may perform step 302 and then perform step 304 when the voltage U1 at the first sampling point is greater than the cutoff voltage. Alternatively, the electronic device may monitor the voltage U1 at the first sampling point and the voltage U2 at the second sampling point at the same time, and then perform step 303, and perform step 304 when the voltage U1 at the first sampling point is greater than the cut-off voltage.

For example, in combination with the hardware structure shown in fig. 2, the power management module 181 monitors the voltage U1 at the first sampling point and the voltage U2 at the second sampling point, and reports the voltage U1 at the first sampling point and the voltage U2 at the second sampling point to the processor 110, the processor 110 determines whether the voltage U1 at the first sampling point is greater than the cut-off voltage, and executes step 304 when the voltage U1 at the first sampling point is greater than the cut-off voltage, otherwise, the processor 110 notifies the power management module 181 to continue to detect the voltage at the first sampling point.

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 processor 110.

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 processor 110, or may be pre-configured in the internal memory 121, the external memory connected to the external memory interface 122, or other memories. The electronic device reduces the first charging current to the second charging current according to the adjustment step size through the processor 110.

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 step 306, the electronic device determines whether the second charging current is smaller than the cutoff current, if so, step 308 is executed, otherwise, step 307 is executed.

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 processor 110 of the electronic device controls the charging IC180 to charge with the second charging current. Alternatively, the processor 110 notifies the battery management module 181 to charge the battery with the second charging current if the second charging current is greater than the cutoff current. The charging IC180 is controlled by the battery management module 181 to be charged with the second charging current.

In step 308, the electronic device stops charging the battery.

Taking the hardware configuration shown in fig. 2 as an example, the processor 110 of the electronic device controls the charging IC180 to stop charging the battery 182 when the second charging current is smaller than the off current. Alternatively, when the second charging current is smaller than the cutoff current, the processor 110 notifies the battery management module 181 to stop charging the battery 182, and the battery management module 181 controls the charging IC180 to stop charging the battery 182.

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.

16页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种考虑老化的锂电池充电方法

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类