A battery charging method and device
By switching the charging mode when the charging chip voltage reaches the first set voltage, the charging time and overcharging problems in the prior art are solved, and more efficient battery charging and longer battery life are achieved.
Patent Information
- Application Number
- CN202110616803.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-06-03
- Publication Date
- 2024-11-12
- Estimated Expiration
- 2041-06-03
AI Technical Summary
The existing battery charging method enters the constant voltage stage early, resulting in an extended charging time, and may overcharge the battery to be recharged, affecting the service life.
By detecting the voltage of the charging chip and converting from constant current charging to constant voltage charging when the first set voltage is reached, ensuring that the charging voltage reaches the charging cut-off voltage, thereby extending the constant current charging time and shortening the constant voltage charging time, avoiding overcharging The occurrence of the situation.
It effectively shortens the charging time of the battery, ensures that there is no overcharging after the battery is fully charged, thereby extending the service life of the battery.
Smart Images

Figure CN113364088B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of terminal technology, and in particular to a battery charging method and device. Background Art
[0002] With the rapid development of electronic technology, various forms of electronic devices are increasing day by day. At the same time, most electronic devices are equipped with batteries, such as dry batteries, lithium batteries, etc., in order to be used for a long time. Based on this, in order to ensure that the electronic device can be used normally, when it is detected that the battery power of the electronic device is lower than a certain value, the battery of the electronic device needs to be charged.
[0003] At present, when charging the battery of an electronic device, it is usually necessary to go through three stages, namely the pre-charge stage, the constant current stage and the constant voltage stage. Take a lithium battery equipped with an electronic device as an example. For example, the voltage range of the lithium battery is between 3V and 4.2V. When it is detected that the voltage of the lithium battery equipped with the electronic device is lower than 3V, the lithium battery needs to be pre-charged first, and when the voltage of the lithium battery is detected to reach 3V, it enters the constant current stage, that is, the lithium battery is charged with a set current (such as 1A) at a constant current. Then, when it is detected that the voltage of the lithium battery reaches 4.2V, it enters the constant voltage stage, that is, the lithium battery is charged with a constant voltage at 4.2V. At this time, the current charging the lithium battery will gradually decrease until it drops to the charging cut-off current set by the lithium battery, and the lithium battery is stopped from being charged. However, this charging method will enter the constant voltage stage in advance when charging the battery, making the constant current stage charging time short and the constant voltage stage charging time long, thereby extending the entire charging time.
[0004] In summary, a battery charging method is currently in urgent need of shortening the charging time of a battery to be charged. Summary of the invention
[0005] The present application provides a battery charging method and device, which are used to shorten the charging time of a battery to be charged.
[0006] In order to achieve the above objectives, this application provides the following technical solutions:
[0007] In a first aspect, the present application provides a method for charging a battery, comprising:
[0008] Detect the voltage of the charging chip;
[0009] When the voltage of the charging chip is a first set voltage, the battery to be charged is charged at a constant voltage with the first set voltage; the first set voltage is greater than the charging cut-off voltage of the battery to be charged;
[0010] When the constant voltage charging is performed, the charging current of the battery to be charged is less than or equal to the first set current, and the charging of the battery to be charged is stopped; and the first set current is greater than the charging cut-off current of the battery to be charged.
[0011] In the above technical solution, since the prior art solution is to switch from the constant current charging process to the constant voltage charging process when it is detected that the voltage of the charging chip reaches the charging cut-off voltage of the battery to be charged, and due to the influence of the load element, the charging voltage at both ends of the battery to be charged does not actually reach the charging cut-off voltage, but the charging of the battery to be charged enters the constant voltage charging process in advance, so that the charging time of the constant current charging process is short and the time of the constant voltage charging process is long, thereby increasing the entire charging time of the battery to be charged. Based on this, the technical solution in the present application is to switch from the constant current charging process to the constant voltage charging process when it is detected that the voltage of the charging chip reaches the first set voltage. In this way, since the first set voltage is greater than the charging cut-off voltage, the scheme can compensate for the voltage loss caused by the load element, and can make the charging voltage at both ends of the battery to be charged reach the charging cut-off voltage, so that the time point when the charging of the battery to be charged enters the constant voltage charging process is relatively later, and it will not enter the constant voltage charging process in advance. On this basis, the charging time of the constant current charging process can be relatively longer, and the time of the constant voltage charging process can be relatively shorter, thereby shortening the entire charging time of the battery to be charged, thereby achieving the purpose of shortening the charging time of the battery to be charged. In addition, when the charging current of the battery to be charged is less than or equal to the first set current, the charging of the battery to be charged is stopped, which can avoid the overcharging of the battery to be charged, thereby ensuring the service life of the battery to be charged.
[0012] In a possible implementation, the method further includes:
[0013] The first set voltage is determined according to the charge cut-off voltage, the first set current, and the resistance of the load element.
[0014] In the above technical solution, since the voltage at both ends of the battery to be charged cannot actually reach the charging cut-off voltage due to the influence of the load element in the prior art solution, the required charging time is longer, that is, the time consumed in the constant current charging process is shorter, and the time consumed in the constant voltage charging process is longer. In this way, in order to compensate for the voltage consumption caused by the load element to ensure that the voltage at both ends of the battery to be charged can reach the charging cut-off voltage, the solution determines the first set voltage based on the load element, the charging cut-off voltage and the first set current, thereby being able to meet the requirement that the voltage at both ends of the battery to be charged reaches the charging cut-off voltage.
[0015] In a possible implementation, the load element includes a wiring between the charging chip and the battery to be charged, an anti-live buckle switch, and a connector, a flexible circuit board, and a protection board of the battery to be charged;
[0016] The method further comprises:
[0017] The resistance of the wiring is obtained through electronic automation simulation; the resistance of the anti-live buckle switch is obtained through the performance parameter information of the anti-live buckle switch; the resistance of the connector is obtained through the performance parameter information of the connector of the battery to be charged; the resistance of the flexible circuit board and the resistance of the protection board are obtained through the performance parameter information of the battery to be charged;
[0018] The resistance of the load element is determined according to the resistance of the wiring, the resistance of the anti-live snap-on switch, the resistance of the connector, the resistance of the flexible circuit board, and the resistance of the protection board.
[0019] In the above technical solution, according to the composition of the load element involved in the charging process of the rechargeable battery, the resistance of the load element can be timely and accurately obtained from the parameter information of the relevant load element, thereby providing support for determining the first set voltage.
[0020] In a possible implementation manner, before detecting the voltage of the charging chip, the method further includes:
[0021] Through the microcontroller unit MCU, when it is detected that the charging chip is in power-on startup, the charging cut-off voltage parameter of the charging chip during the constant voltage charging process is configured to be a first set voltage, and the charging cut-off current parameter of the charging chip during the constant voltage charging process is configured to be a first set current.
[0022] In the above technical solution, when the charging chip is powered on, the MCU can accurately and automatically configure the charging cut-off voltage parameter of the charging chip during the constant voltage charging process to the first set voltage, and configure the charging cut-off current parameter of the charging chip during the constant voltage charging process to the first set current. This makes it possible to convert the charging process of the battery to be charged from the constant current charging process to the constant voltage charging process in a timely manner when it is detected that the voltage of the charging chip reaches the first set voltage.
[0023] In a possible implementation manner, before detecting the voltage of the charging chip, the method further includes:
[0024] When the MCU detects that the charging chip is in the process of power-on startup, the charging cut-off voltage parameter of the charging chip in the constant current charging process is configured as a second set voltage, and the charging cut-off current parameter of the charging chip in the constant current charging process is configured as a second set current; the second set voltage is less than the first set voltage; the second set current is greater than the first set current;
[0025] When the voltage of the charging chip is the second set voltage, the second set current is used to perform constant current charging on the battery to be charged.
[0026] In the above technical solution, when the charging chip is powered on, the MCU can accurately and automatically configure the charging cut-off voltage parameter of the charging chip during the constant current charging process to the second set voltage, and configure the charging cut-off current parameter of the charging chip during the constant current charging process to the second set current. This makes it possible to easily convert the charging process of the battery to be charged from the trickle charging process (i.e., the pre-charging process) to the constant current charging process in a timely manner when it is detected that the voltage of the charging chip reaches the second set voltage.
[0027] In a possible implementation, the method further includes:
[0028] The first set current is determined according to the charge cut-off current and the second set current.
[0029] In the above technical scheme, if the technical scheme in the present application only configures the charging cut-off voltage parameter of the charging chip during the constant voltage charging process as the first set voltage, and does not configure the charging cut-off current parameter of the charging chip during the constant voltage charging process as the first set current, then because the first set voltage is greater than the charging cut-off voltage of the battery to be charged, the charging current of the battery to be charged is reduced to the charging cut-off current, and the charging chip controls the power supply to stop charging the battery to be charged, so that the battery to be charged will be overcharged. Therefore, when the charging cut-off voltage parameter in the constant voltage charging process is configured as the first set voltage, the charging cut-off current parameter in the constant voltage charging process is also configured as the first set current, so as to ensure that the compensation for the voltage at both ends of the battery to be charged can meet the need to significantly optimize the charging time. In addition, if the current required for the first set voltage is determined to be only less than or equal to the charging cut-off current, this will result in too small compensation for the voltage at both ends of the battery to be charged and the charging time optimization for the battery to be charged is not obvious. Therefore, when determining the current required for the first set voltage, the required current is only a certain current greater than the charging cut-off current. At the same time, if the charging cutoff current parameter of the charging chip during the constant voltage charging process is not configured as the first set current, the charging current of the battery to be charged during the constant voltage charging process will stop charging when it reaches the charging cutoff current, which will cause the voltage at both ends of the battery to be charged to be greater than the charging cutoff voltage, which will cause the battery to be charged to be overcharged, thereby affecting the service life of the battery to be charged. Therefore, the technical solution in the present application will configure the charging cutoff current parameter of the charging chip during the constant voltage charging process to be the first set current, that is, the first set current is determined according to the charging cutoff current and the second set current, so as to ensure that the compensation for the voltage at both ends of the battery to be charged can meet the demand of significantly optimizing the charging time, and can avoid the overcharging of the battery to be charged, thereby ensuring the service life of the battery to be charged.
[0030] In a possible implementation, when the constant voltage charging is performed, if the charging current of the battery to be charged is less than or equal to a first set current, charging the battery to be charged is stopped, including:
[0031] If it is determined that the working state of the MCU is normal, then when it is detected that the charging current of the battery to be charged during the constant voltage charging process is the third set current, the charging cut-off current parameter configured by the charging chip is adjusted from the first set current to the charging cut-off current, and the charging cut-off voltage parameter configured by the charging chip is adjusted from the first set voltage to the third set voltage through the MCU, and when it is determined that the charging current of the battery to be charged during the constant voltage charging process is equal to the charging cut-off current, charging the battery to be charged is stopped; the third set current is greater than the first set current; the third set voltage is determined based on the charging cut-off voltage, the charging cut-off current and the resistance of the load element;
[0032] If it is determined that the working state of the MCU is an abnormal state, then when it is determined that the charging current of the battery to be charged during the constant voltage charging process is equal to the first set current, charging of the battery to be charged is stopped.
[0033] In the above technical scheme, in order to prevent the MCU from malfunctioning (such as crashing) and causing the battery to be charged to be overcharged, and to ensure that the battery to be charged can be fully charged, the technical scheme in the present application sets a function for the MCU, that is, when the working state of the MCU is normal, when it is detected that the charging current of the battery to be charged during the constant voltage charging process is reduced to close to the first set current (that is, the current close to the first set current is the third set current), the MCU actively adjusts the charging cut-off current parameter configured by the charging chip from the first set current to the charging cut-off current, and adjusts the charging cut-off voltage parameter configured by the charging chip from the first set voltage to the third set voltage, so as to ensure that the voltage across the battery to be charged is always maintained at the charging cut-off voltage, and stops charging only when the charging current passing through the battery to be charged is the charging cut-off current, so as to fully charge the battery to be charged. In addition, if the MCU fails and cannot work normally, the MCU will not be able to adjust the charging cut-off voltage parameters and charging cut-off current parameters configured by the charging chip. Despite this, the charging current of the battery to be charged in the constant voltage charging process will stop charging when the charging current reaches the first set current, thereby avoiding the voltage across the battery to be charged being greater than the charging cut-off voltage, thereby avoiding overcharging of the battery to be charged, and further avoiding the performance of the battery to be charged from being reduced, thereby ensuring the service life of the battery to be charged.
[0034] In a second aspect, the present application also provides a battery charging device, comprising:
[0035] A detection module, used to detect the voltage of the charging chip;
[0036] A processing module is used to perform constant voltage charging on a battery to be charged with a first set voltage when the voltage of the charging chip is the first set voltage; the first set voltage is greater than a charging cut-off voltage of the battery to be charged; when the constant voltage charging is performed, if the charging current of the battery to be charged is less than or equal to the first set current, charging of the battery to be charged is stopped; and the first set current is greater than a charging cut-off current of the battery to be charged.
[0037] In a possible implementation manner, the processing module is specifically configured to:
[0038] The first setting voltage is determined according to the charging cut-off voltage, the first setting current and the resistance of the load element.
[0039] In a possible implementation, the load element includes a wiring between the charging chip and the battery to be charged, an anti-live buckle switch, and a connector, a flexible circuit board, and a protection board of the battery to be charged;
[0040] The processing module is specifically used for:
[0041] The resistance of the wiring is obtained through electronic automation simulation; the resistance of the anti-live buckle switch is obtained through the performance parameter information of the anti-live buckle switch; the resistance of the connector is obtained through the performance parameter information of the connector of the battery to be charged; the resistance of the flexible circuit board and the resistance of the protection board are obtained through the performance parameter information of the battery to be charged;
[0042] The resistance of the load element is determined according to the resistance of the wiring, the resistance of the anti-live snap-on switch, the resistance of the connector, the resistance of the flexible circuit board, and the resistance of the protection board.
[0043] In a possible implementation manner, the processing module is further configured to:
[0044] Before detecting the voltage of the charging chip, through the microcontroller unit MCU, when it is detected that the charging chip is in the power-on startup state, the charging cut-off voltage parameter of the charging chip during the constant voltage charging process is configured to be a first set voltage, and the charging cut-off current parameter of the charging chip during the constant voltage charging process is configured to be a first set current.
[0045] In a possible implementation manner, the processing module is further configured to:
[0046] Before detecting the voltage of the charging chip, through the MCU, when it is detected that the charging chip is in the power-on startup state, the charging cut-off voltage parameter of the charging chip during the constant current charging process is configured to be a second set voltage, and the charging cut-off current parameter of the charging chip during the constant current charging process is configured to be a second set current; the second set voltage is less than the first set voltage; the second set current is greater than the first set current;
[0047] When the voltage of the charging chip is the second set voltage, the second set current is used to perform constant current charging on the battery to be charged.
[0048] In a possible implementation manner, the processing module is specifically configured to:
[0049] The first set current is determined according to the charge cut-off current and the second set current.
[0050] In a possible implementation manner, the processing module is specifically configured to:
[0051] If it is determined that the working state of the MCU is normal, then when it is detected that the charging current of the battery to be charged during the constant voltage charging process is the third set current, the charging cut-off current parameter configured by the charging chip is adjusted from the first set current to the charging cut-off current, and the charging cut-off voltage parameter configured by the charging chip is adjusted from the first set voltage to the third set voltage through the MCU, and when it is determined that the charging current of the battery to be charged during the constant voltage charging process is equal to the charging cut-off current, charging the battery to be charged is stopped; the third set current is greater than the first set current; the third set voltage is determined based on the charging cut-off voltage, the charging cut-off current and the resistance of the load element;
[0052] If it is determined that the working state of the MCU is an abnormal state, then when it is determined that the charging current of the battery to be charged during the constant voltage charging process is equal to the first set current, charging of the battery to be charged is stopped.
[0053] In a third aspect, an embodiment of the present application provides a computing device, comprising at least one processor and at least one memory, wherein the memory stores a computer program, and when the program is executed by the processor, the processor executes any battery charging method described in the first aspect above.
[0054] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium storing a computer program executable by a computing device, wherein when the program is run on the computing device, the computing device executes any of the battery charging methods described in the first aspect above. BRIEF DESCRIPTION OF THE DRAWINGS
[0055] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0056] Figure 1 A schematic diagram of a battery charging system architecture provided in an embodiment of the present application;
[0057] Figure 2 A schematic flow chart of a battery charging method provided in an embodiment of the present application;
[0058] Figure 3 A schematic diagram of a structure for charging a rechargeable battery provided in an embodiment of the present application;
[0059] Figure 4 A schematic diagram of the structure of a battery charging device provided in an embodiment of the present application;
[0060] Figure 5 A schematic diagram of the structure of a computing device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0061] In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present application.
[0062] In order to facilitate understanding of the embodiments of the present application, first Figure 1 The system structure shown in the figure is used as an example to illustrate the battery charging system architecture applicable to the embodiment of the present application. The battery charging system architecture can be applied to charging a battery to be charged, etc. Figure 1 As shown, the battery charging system architecture may include a power supply 100, a microcontroller unit MCU200, a charging chip 300, a load element 400, and a battery cell 500 of a battery to be charged. The load element 400 may include a wiring between the charging chip and the battery to be charged, an anti-live buckle switch, and a connector, a flexible circuit board, and a protection board of the battery to be charged.
[0063] Among them, the power supply 100 is used to supply power to the charging chip 300 so as to charge the battery cell 500 of the battery to be charged; the MCU200 is used to manage and control the charging chip 300, for example, it can be used to configure the relevant charging parameters of the charging chip 300; the charging chip 300 is used to manage and control the charging process of the battery to be charged, for example, it can be used to switch the charging process of the battery to be charged, for example, from a constant current charging process to a constant voltage charging process; the load element 400 is used to conduct and / or protect the circuit; the battery cell 500 of the battery to be charged is used to store electricity, and the quality of the battery cell 500 of the battery to be charged directly determines the quality of the battery to be charged.
[0064] Exemplarily, a lithium battery is used as an example for description. The charging process of a lithium battery can be divided into four processes, namely, a trickle charging process, a constant current charging process, a constant voltage charging process, and a charging termination process. For example, the charging chip 300 detects the battery voltage of the lithium battery. When the battery voltage of the lithium battery is lower than 3V, the battery cell 500 of the battery to be recharged is pre-charged first, such as using a current of 0.1C to charge the battery to be recharged, that is, it is in a trickle charging process at this time. After a period of time, if it is detected that the voltage at the pin of the charging chip 300 reaches a certain set voltage (such as a set voltage 1), the charging chip 300 can control the charging process of the battery to be charged from the trickle charging process to the constant current charging process, and the battery cell 500 of the battery to be recharged is charged with a certain set current (such as a set current 1) for constant current charging. After a period of time, if it is detected that the voltage at the pin of the charging chip 300 reaches another set voltage (such as set voltage 2), the charging chip 300 can control the charging process of the battery to be charged to be converted from the constant current charging process to the constant voltage charging process, and the battery cell 500 of the battery to be charged is charged at another set voltage (such as set voltage 2). Among them, the set voltage 2 is greater than the set voltage 1. After maintaining constant voltage charging for a period of time, when it is detected that the current at the pin of the charging chip 300 is another set current (such as set current 2), the charging chip 300 can control the power supply 100 to stop charging the battery cell 500 of the battery to be charged. Among them, the set current 2 is less than the set current 1.
[0065] It should be noted that the above Figure 1 The structure shown is only an example and is not limited to this embodiment of the present application.
[0066] Based on the above description, Figure 2 The process of a battery charging method provided in an embodiment of the present application is exemplarily shown, and the process can be executed by a battery charging device.
[0067] like Figure 2 As shown in the figure, the process specifically includes:
[0068] Step 201, detecting the voltage of the charging chip.
[0069] Among them, the voltage of the charging chip can be detected in real time by setting a voltage and current detector, or detected according to a preset cycle, and the voltage and current detector sends the detected voltage and current to the charging chip. Alternatively, the charging chip can also automatically detect its own voltage and current, for example, it can detect its own voltage and current in real time, or it can detect according to a preset cycle, and store the detected voltage and current, so as to compare the detected voltage with the charging cut-off voltage of each configured different charging process, so as to determine which process the current charging process of the battery to be charged is in, or whether the charging process needs to be switched. Exemplarily, when detecting according to a preset cycle, the voltage and current of the charging chip can be detected at intervals of 3s, 5s or 10s.
[0070] In addition, before detecting the voltage of the charging chip, through the MCU (Micro Control Unit), when it is detected that the charging chip is in the power-on startup, the charging cut-off voltage parameter of the charging chip in the constant voltage charging process is configured to the first set voltage, and the charging cut-off current parameter of the charging chip in the constant voltage charging process is configured to the first set current, and then, it can provide support for the subsequent detection of the voltage of the charging chip as the first set voltage to enter the constant voltage charging process. At the same time, the charging cut-off voltage parameter of the charging chip in the constant current charging process will also be configured to the second set voltage, and the charging cut-off current parameter of the charging chip in the constant current charging process will be configured to the second set current, which can facilitate the conversion of the trickle charging process (i.e., pre-charging process) to the constant current charging process for the battery to be charged in time when it is detected that the voltage of the charging chip reaches the second set voltage, and the constant current charging of the battery to be charged is performed with the second set current. Among them, the second set voltage is less than the first set voltage; the second set current is greater than the first set current. That is to say, when it is detected that the charging chip is powered on and started, the relevant parameters of the charging chip are configured in advance, such as the access voltage for entering the constant voltage charging process (that is, the switching voltage required when the constant current charging process switches to the constant voltage charging process) and the charging cut-off current, the access voltage for entering the constant current charging process (that is, the switching voltage required when the trickle charging process switches to the constant current charging process) and the charging current required for constant current charging, so that the charging chip can control the charging process of the rechargeable battery in a timely and accurate manner based on the relevant parameters.
[0071] Exemplarily, taking a lithium battery as an example, through the MCU, when it is detected that the charging chip is in the power-on startup, the charging cut-off voltage parameter of the charging chip in the constant voltage charging process is configured to 4.5V, and the charging cut-off current parameter of the charging chip in the constant voltage charging process is configured to 0.2A. At the same time, the charging cut-off voltage parameter of the charging chip in the constant current charging process is also configured to 3V, and the charging cut-off current parameter of the charging chip in the constant current charging process is configured to 0.3A. In this way, when it is detected that the voltage of the charging chip reaches 3V, the charging chip determines that the 3V matches the switching voltage (such as 3V) required when the trickle charging process is switched to the constant current charging process, and the charging process of the battery to be charged can be controlled from the trickle charging process to the constant current charging process, and the battery to be charged is charged with a constant current of 0.3A.
[0072] Step 202 , when the voltage of the charging chip is a first set voltage, constant voltage charging is performed on the battery to be charged with the first set voltage.
[0073] When it is detected that the voltage of the charging chip is the first set voltage, the charging chip determines that the first set voltage matches the switching voltage required when the constant current charging process is switched to the constant voltage charging process, and the charging process of the battery to be charged can be controlled to be converted from the constant current charging process to the constant voltage charging process, and the battery to be charged is charged at a constant voltage with the first set voltage. Wherein, the first set voltage is greater than the charging cut-off voltage of the battery to be charged. Exemplarily, taking the first set voltage of the above configuration as 4.5V as an example, after the battery to be charged is charged at a constant current for a period of time with the second set current, when it is detected that the voltage of the charging chip reaches 4.5V, the charging chip determines that the 4.5V matches the switching voltage (such as 4.5V) required when the constant current charging process is switched to the constant voltage charging process, and the charging process of the battery to be charged can be controlled to be converted from the constant current charging process to the constant voltage charging process, and the battery to be charged is charged at a constant voltage with the 4.5V.
[0074] The first set voltage can be determined by the following method: the first set voltage is determined according to the charging cut-off voltage, the first set current and the resistance of the load element. The load element can include the wiring between the charging chip and the battery to be charged, the anti-live buckle switch and the connector of the battery to be charged, the flexible circuit board, the protection board, etc. Moreover, the resistance of the load element is determined by the following method:
[0075] The resistance of the wiring is obtained through electronic automation simulation; the resistance of the anti-live snap-on switch is obtained through the performance parameter information of the anti-live snap-on switch; the resistance of the connector is obtained through the performance parameter information of the connector of the battery to be charged; the resistance of the flexible circuit board and the resistance of the protection board are obtained through the performance parameter information of the battery to be charged. Then, the resistance of the load element is determined based on the resistance of the wiring, the resistance of the anti-live snap-on switch, the resistance of the connector, the resistance of the flexible circuit board and the resistance of the protection board.
[0076] Exemplarily, the routing impedance (i.e., resistance) can be obtained through EDA (Electronic Design Automation) simulation; the anti-live snap-on switch impedance can be obtained through the anti-live snap-on switch specification sheet; the BTB connector impedance can be obtained through the BTB connector (Board to Board connector) specification sheet of the battery to be charged; the impedance of the flexible circuit board of the battery to be charged and the impedance of the protection board of the battery to be charged can be obtained through the battery to be charged specification sheet, thereby determining the resistance of the load element to provide support for determining the first set voltage.
[0077] Specifically, refer to Figure 3 , Figure 3 A schematic diagram of a charging structure of a battery to be charged provided in an embodiment of the present application, wherein the first set voltage may satisfy the following form:
[0078] V2=V1+I2×R
[0079] Among them, V2 is the first set voltage (that is, the entry voltage for entering the constant voltage charging process set by the charging chip register), V1 is the charging cut-off voltage of the battery to be charged (that is, the charging limit voltage of the battery cell to be charged), I2 is the first set current, and R is the resistance of the load element.
[0080] In addition, the first set current is determined in the following manner: the first set current is determined according to the charge cut-off current and the second set current, wherein the first set current is greater than the charge cut-off current of the battery to be charged.
[0081] It should be noted that based on Figure 3If the technical solution in the present application only configures the charging cut-off voltage parameter of the charging chip during the constant voltage charging process to the first set voltage, and does not configure the charging cut-off current parameter of the charging chip during the constant voltage charging process to the first set current, then since the first set voltage is greater than the charging cut-off voltage of the battery to be charged, the charging current of the battery to be charged is reduced to the charging cut-off current, and the charging chip controls the power supply to stop charging the battery to be charged, which will cause the battery to be overcharged. Therefore, when the charging cut-off voltage parameter during the constant voltage charging process is configured as the first set voltage, the charging cut-off current parameter during the constant voltage charging process is also configured as the first set current, so as to ensure that the compensation for the voltage at both ends of the battery to be charged can meet the demand of significantly optimizing the charging time, and can avoid the overcharging of the battery to be charged, thereby ensuring the service life of the battery to be charged. In addition, if the current required for the first set voltage is determined to be only less than or equal to the charging cut-off current, this will result in too small compensation for the voltage at both ends of the battery to be charged and the charging time optimization of the battery to be charged is not obvious. Therefore, when determining the current required for the first set voltage, the required current is only a certain current greater than the charging cut-off current.
[0082] Specifically, the first set current may satisfy the following form:
[0083] I1≤I2≤50%I0
[0084] Wherein, I1 is the charging cut-off current of the battery to be charged, I2 is the first set current, and I0 is the constant charging current of the battery to be charged during the constant current charging process.
[0085] Exemplarily, the formula satisfied by the above-mentioned first set voltage is explained. If only the charging cut-off voltage parameter of the charging chip during the constant voltage charging process is configured as V2, and the charging cut-off current parameter of the charging chip during the constant voltage charging process is not configured as I2, or it is maintained at I1, then when calculating V2, I2 can only be less than or equal to I1, otherwise the charging of the battery to be charged will be at risk of overcharging. For example, assuming that R is 0.1Ω, I1 is 0.1A, V1 is 4.4V, and assuming that I2 is 0.2A, then V2 can be calculated to be 4.42V. In this way, when the charging current passing through the battery cell of the battery to be charged is 0.12A, it can be calculated that the charging voltage at both ends of the battery cell of the battery to be charged at this time is 4.42-0.1×0.12=4.408V. Based on this, it can be seen that the charging voltage of 4.408V at both ends of the battery cell of the battery to be charged at this time is greater than the charging limit voltage of 4.4V of the battery to be charged, which will cause the risk of overcharging of the battery to be charged.
[0086] Moreover, if the value of I2 is only less than or equal to I1, the compensation for the voltage across the battery to be charged will be too small, and the charging time optimization for the battery to be charged will not be obvious. Therefore, when calculating V2, I2 can only be greater than I1.
[0087] Step 203: When the constant voltage charging is performed, if the charging current of the battery to be charged is less than or equal to a first set current, charging the battery to be charged is stopped.
[0088] In the process of constant voltage charging of the rechargeable battery, if it is detected that the current at the pin of the charging chip is less than or equal to the first set current, the charging of the battery to be charged is stopped. Specifically, it can be divided into two implementation methods. The first implementation method is: if the working state of the MCU is determined to be normal, when it is detected that the charging current of the battery to be charged during the constant voltage charging process is the third set current, the charging cut-off current parameter configured by the charging chip is adjusted from the first set current to the charging cut-off current through the MCU, and the charging cut-off voltage parameter configured by the charging chip is adjusted from the first set voltage to the third set voltage, and when it is determined that the charging current of the battery to be charged during the constant voltage charging process is equal to the charging cut-off current, the charging of the battery to be charged is stopped. Among them, the third set current is greater than the first set current; the third set voltage is determined based on the charging cut-off voltage, the charging cut-off current and the resistance of the load element.
[0089] For example, since the charging current is constantly changing during the constant voltage charging process, that is, the charging current is constantly decreasing, that is to say, the charging current during the constant voltage charging process is constantly decreasing starting from the second set current. Based on this, when the working state of the MCU is normal, when the current at the pin of the charging chip is detected to be reduced to close to I2 (such as 1.1I2), or when the charging current of the battery to be charged is detected to be reduced to close to I2 (such as 1.1I2), the MCU will actively adjust the charging cut-off current parameter configured by the charging chip from the first set current to the charging cut-off current, for example, from I2 to I1, and adjust the charging cut-off voltage parameter configured by the charging chip from the first set voltage to the third set voltage, for example, from V2 to V1+I1×R. In this way, it can be ensured that the voltage across the battery to be charged is always maintained at the charging cut-off voltage (i.e., V1), and when the charging current of the battery to be charged is reduced from 1.1I2 to I1, the charging chip controls the power supply to stop charging the battery to be charged, so that the battery to be charged can be fully charged. In addition, it should be noted that, generally speaking, the closer I2 is to 50% I0, the higher the compensation for the voltage across the battery to be charged is, and the more conducive it is to shortening the entire charging time of the battery to be charged. However, if the value of I2 is too high, the battery to be charged may not be fully charged. Therefore, in order to ensure that the battery to be charged can be fully charged, it is necessary to adjust the charging cutoff current parameter configured by the charging chip from the first set current to the charging cutoff current, and to adjust the charging cutoff voltage parameter configured by the charging chip from the first set voltage to the third set voltage.
[0090] The second implementation method is: if the MCU fails and cannot work normally, the MCU will not be able to adjust the charging cut-off voltage parameters and charging cut-off current parameters configured by the charging chip. Despite this, the charging current of the battery to be charged during the constant voltage charging process will stop charging when it reaches the first set current (i.e., I2), thereby avoiding the situation where the voltage across the battery to be charged is greater than the charging cut-off voltage, thereby avoiding the situation where the battery to be charged is overcharged, and further avoiding the situation where the performance of the battery to be charged is reduced, thereby ensuring the service life of the battery to be charged. For example, if the MCU crashes, when the charging current of the battery to be charged reaches the first set current (i.e., I2), the charging chip will control the power supply to stop charging the battery to be charged, so as to avoid the situation where the battery to be charged is overcharged due to the crash of the MCU, thereby ensuring the service life of the battery to be charged.
[0091] It should be noted that if the technical solution in the present application only configures the charging cut-off voltage parameter of the charging chip during the constant voltage charging process to the first set voltage, and does not configure the charging cut-off current parameter of the charging chip during the constant voltage charging process to the first set current, but maintains the charging cut-off current. If the MCU crashes, since the first set voltage is greater than the charging cut-off voltage of the battery to be charged, the charging current of the battery to be charged is reduced to the charging cut-off current, and the charging chip controls the power supply to stop charging the battery to be charged, which will cause the battery to be charged to be overcharged. For example, for example, R is 0.2Ω, I1 is 0.1A, V1 is 4.2V, and assuming I2 is 0.2A, it can be calculated that V2 is 4.24V, that is, the first set voltage is 4.22V. Based on this, since the MCU cannot adjust the charging cut-off voltage parameter and charging cut-off current parameter configured by the charging chip due to a shutdown, the charging current of the battery to be charged during the constant voltage charging process will be reduced to a current smaller than 0.2A, and the charging of the battery to be charged will not be stopped until it is reduced to the charging cut-off current. For example, if the charging current of the battery to be charged during the constant voltage charging process is reduced to 0.15A, it can be calculated that the charging voltage at both ends of the battery cell of the battery to be charged is 4.24-0.2×0.12=4.216V. In this way, the charging voltage of 4.216V at both ends of the battery cell of the battery to be charged is greater than the charging limit voltage of 4.2V of the battery to be charged, which will cause the battery to be charged to be overcharged, thereby affecting the service life of the battery to be charged.
[0092] The above embodiments show that, since the prior art solution is to switch from the constant current charging process to the constant voltage charging process when it is detected that the voltage of the charging chip reaches the charging cut-off voltage of the battery to be charged, and due to the influence of the load element, the charging voltage at both ends of the battery to be charged does not actually reach the charging cut-off voltage, but the charging of the battery to be charged enters the constant voltage charging process in advance, so that the charging time of the constant current charging process is short and the time of the constant voltage charging process is long, thereby increasing the entire charging time of the battery to be charged. Based on this, the technical solution in the present application is to switch from the constant current charging process to the constant voltage charging process when it is detected that the voltage of the charging chip reaches the first set voltage. In this way, since the first set voltage is greater than the charging cut-off voltage, the scheme can compensate for the voltage loss caused by the load element, and can make the charging voltage at both ends of the battery to be charged reach the charging cut-off voltage, so that the time point when the charging of the battery to be charged enters the constant voltage charging process is relatively later, and it will not enter the constant voltage charging process in advance. On this basis, the charging time of the constant current charging process can be relatively longer, and the time of the constant voltage charging process can be relatively shorter, thereby shortening the entire charging time of the battery to be charged, thereby achieving the purpose of shortening the charging time of the battery to be charged. In addition, when the charging current of the battery to be charged is less than or equal to the first set current, the charging of the battery to be charged is stopped, which can avoid the overcharging of the battery to be charged, thereby ensuring the service life of the battery to be charged.
[0093] Based on the same technical concept, an embodiment of the present application also provides a battery charging device, which can execute the process of the battery charging method.
[0094] like Figure 4 As shown, the device comprises:
[0095] The detection module 401 is used to detect the voltage of the charging chip;
[0096] The processing module 402 is used to perform constant voltage charging on the battery to be charged with the first set voltage when the voltage of the charging chip is the first set voltage; the first set voltage is greater than the charging cut-off voltage of the battery to be charged; when the constant voltage charging is performed, the charging current of the battery to be charged is less than or equal to the first set current, and the charging of the battery to be charged is stopped; the first set current is greater than the charging cut-off current of the battery to be charged.
[0097] In a possible implementation, the processing module 402 is specifically configured to:
[0098] The first setting voltage is determined according to the charging cut-off voltage, the first setting current and the resistance of the load element.
[0099] In a possible implementation, the load element includes a wiring between the charging chip and the battery to be charged, an anti-live buckle switch, and a connector, a flexible circuit board, and a protection board of the battery to be charged;
[0100] The processing module 402 is specifically used for:
[0101] The resistance of the wiring is obtained through electronic automation simulation; the resistance of the anti-live buckle switch is obtained through the performance parameter information of the anti-live buckle switch; the resistance of the connector is obtained through the performance parameter information of the connector of the battery to be charged; the resistance of the flexible circuit board and the resistance of the protection board are obtained through the performance parameter information of the battery to be charged;
[0102] The resistance of the load element is determined according to the resistance of the wiring, the resistance of the anti-live snap-on switch, the resistance of the connector, the resistance of the flexible circuit board, and the resistance of the protection board.
[0103] In a possible implementation, the processing module 402 is further configured to:
[0104] Before detecting the voltage of the charging chip, through the microcontroller unit MCU, when it is detected that the charging chip is in the power-on startup state, the charging cut-off voltage parameter of the charging chip during the constant voltage charging process is configured to be a first set voltage, and the charging cut-off current parameter of the charging chip during the constant voltage charging process is configured to be a first set current.
[0105] In a possible implementation, the processing module 402 is further configured to:
[0106] Before detecting the voltage of the charging chip, through the MCU, when it is detected that the charging chip is in the power-on startup state, the charging cut-off voltage parameter of the charging chip during the constant current charging process is configured to be a second set voltage, and the charging cut-off current parameter of the charging chip during the constant current charging process is configured to be a second set current; the second set voltage is less than the first set voltage; the second set current is greater than the first set current;
[0107] When the voltage of the charging chip is the second set voltage, the second set current is used to perform constant current charging on the battery to be charged.
[0108] In a possible implementation, the processing module 402 is specifically configured to:
[0109] The first set current is determined according to the charge cut-off current and the second set current.
[0110] In a possible implementation, the processing module 402 is specifically configured to:
[0111] If it is determined that the working state of the MCU is normal, then when it is detected that the charging current of the battery to be charged during the constant voltage charging process is the third set current, the charging cut-off current parameter configured by the charging chip is adjusted from the first set current to the charging cut-off current, and the charging cut-off voltage parameter configured by the charging chip is adjusted from the first set voltage to the third set voltage through the MCU, and when it is determined that the charging current of the battery to be charged during the constant voltage charging process is equal to the charging cut-off current, charging the battery to be charged is stopped; the third set current is greater than the first set current; the third set voltage is determined based on the charging cut-off voltage, the charging cut-off current and the resistance of the load element;
[0112] If it is determined that the working state of the MCU is an abnormal state, then when it is determined that the charging current of the battery to be charged during the constant voltage charging process is equal to the first set current, charging of the battery to be charged is stopped.
[0113] Based on the same technical concept, the embodiment of the present application also provides a computing device, such as Figure 5 As shown, it includes at least one processor 501 and a memory 502 connected to the at least one processor. The specific connection medium between the processor 501 and the memory 502 is not limited in the embodiment of the present application. Figure 5 For example, the processor 501 and the memory 502 are connected via a bus. The bus can be divided into an address bus, a data bus, a control bus, etc.
[0114] In the embodiment of the present application, the memory 502 stores instructions that can be executed by at least one processor 501. The at least one processor 501 can execute the steps included in the aforementioned battery charging method by executing the instructions stored in the memory 502.
[0115] Among them, the processor 501 is the control center of the computing device, and can use various interfaces and lines to connect various parts of the computing device, and realize data processing by running or executing instructions stored in the memory 502 and calling data stored in the memory 502. Optionally, the processor 501 may include one or more processing modules, and the processor 501 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, and the modem processor mainly processes the issuance of instructions. It is understandable that the above-mentioned modem processor may not be integrated into the processor 501. In some embodiments, the processor 501 and the memory 502 may be implemented on the same chip, and in some embodiments, they may also be implemented separately on independent chips.
[0116] The processor 501 may be a general-purpose processor, such as a central processing unit (CPU), a digital signal processor, an application-specific integrated circuit (ASIC), a field programmable gate array or other programmable logic device, a discrete gate or transistor logic device, or a discrete hardware component, and may implement or execute the methods, steps, and logic block diagrams disclosed in the embodiments of the present application. A general-purpose processor may be a microprocessor or any conventional processor, etc. The steps of the method disclosed in the embodiment of the method for charging a battery may be directly embodied as being executed by a hardware processor, or may be executed by a combination of hardware and software modules in the processor.
[0117] The memory 502 is a non-volatile computer-readable storage medium that can be used to store non-volatile software programs, non-volatile computer executable programs and modules. The memory 502 may include at least one type of storage medium, such as a flash memory, a hard disk, a multimedia card, a card-type memory, a random access memory (Random Access Memory, RAM), a static random access memory (Static Random Access Memory, SRAM), a programmable read-only memory (Programmable Read Only Memory, PROM), a read-only memory (Read Only Memory, ROM), an electrically erasable programmable read-only memory (Electrically Erasable Programmable Read-Only Memory, EEPROM), a magnetic memory, a disk, an optical disk, etc. The memory 502 is any other medium that can be used to carry or store a desired program code in the form of an instruction or data structure and can be accessed by a computer, but is not limited thereto. The memory 502 in the embodiment of the present application can also be a circuit or any other device that can realize a storage function, for storing program instructions and / or data.
[0118] Based on the same technical concept, an embodiment of the present application also provides a computer-readable storage medium, which stores a computer program that can be executed by a computing device. When the program runs on the computing device, the computing device executes the steps of the above-mentioned battery charging method.
[0119] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.
[0120] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0121] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0122] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0123] Although the preferred embodiments of the present application have been described, those skilled in the art may make other changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications falling within the scope of the present application.
[0124] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.
Claims
1. A method for charging a battery, characterized in that: include: Detect the voltage of the charging chip; When the voltage of the charging chip is a first set voltage, the battery to be charged is charged at a constant voltage with the first set voltage; the first set voltage is greater than the charging cut-off voltage of the battery to be charged; When the constant voltage charging is performed, the charging current of the battery to be charged is less than or equal to the first set current, and the charging of the battery to be charged is stopped; the first set current is greater than the charging cut-off current of the battery to be charged; When the constant voltage charging is performed, the charging current of the battery to be charged is less than or equal to the first set current, and charging of the battery to be charged is stopped, including: If it is determined that the working state of the MCU is normal, then when it is detected that the charging current of the battery to be charged during the constant voltage charging process is the third set current, the charging cut-off current parameter configured by the charging chip is adjusted from the first set current to the charging cut-off current, and the charging cut-off voltage parameter configured by the charging chip is adjusted from the first set voltage to the third set voltage through the MCU, and when it is determined that the charging current of the battery to be charged during the constant voltage charging process is equal to the charging cut-off current, charging the battery to be charged is stopped; the third set current is greater than the first set current; the third set voltage is determined based on the charging cut-off voltage, the charging cut-off current and the resistance of the load element; If it is determined that the working state of the MCU is an abnormal state, then when it is determined that the charging current of the battery to be charged during the constant voltage charging process is equal to the first set current, charging of the battery to be charged is stopped.
2. The method according to claim 1, characterized in that The method further comprises: The first set voltage is determined according to the charge cut-off voltage, the first set current, and the resistance of the load element.
3. The method according to claim 2, characterized in that The load element includes a wiring between the charging chip and the battery to be charged, an anti-live buckle switch, and a connector, a flexible circuit board, and a protection board of the battery to be charged; The method further comprises: Obtaining the resistance of the wiring through electronic automation simulation; Obtaining the resistance of the anti-live snap-in switch according to the performance parameter information of the anti-live snap-in switch; Obtaining the resistance of the connector through the performance parameter information of the connector of the battery to be charged; Obtaining the resistance of the flexible circuit board and the resistance of the protection board through the performance parameter information of the battery to be charged; The resistance of the load element is determined according to the resistance of the wiring, the resistance of the anti-live snap-on switch, the resistance of the connector, the resistance of the flexible circuit board, and the resistance of the protection board.
4. The method according to any one of claims 1 to 3, characterized in that Before detecting the voltage of the charging chip, the method further includes: Through the microcontroller unit MCU, when it is detected that the charging chip is in power-on startup, the charging cut-off voltage parameter of the charging chip during the constant voltage charging process is configured to be a first set voltage, and the charging cut-off current parameter of the charging chip during the constant voltage charging process is configured to be a first set current.
5. The method according to any one of claims 1 to 3, characterized in that Before detecting the voltage of the charging chip, the method further includes: When the MCU detects that the charging chip is in the process of power-on startup, the charging cut-off voltage parameter of the charging chip in the constant current charging process is configured as a second set voltage, and the charging cut-off current parameter of the charging chip in the constant current charging process is configured as a second set current; the second set voltage is less than the first set voltage; the second set current is greater than the first set current; When the voltage of the charging chip is the second set voltage, the second set current is used to perform constant current charging on the battery to be charged.
6. The method according to claim 5, characterized in that The method further comprises: The first set current is determined according to the charge cut-off current and the second set current.
7. A battery charging device, characterized in that: include: Module for performing the method of any of the preceding claims 1 to 6.
8. A computing device, characterized in that The method comprises at least one processor and at least one memory, wherein the memory stores a computer program, and when the program is executed by the processor, the processor executes the method according to any one of claims 1 to 6.
9. A computer-readable storage medium, characterized in that: It stores a computer program executable by a computing device, and when the program is run on the computing device, the computing device executes the method according to any one of claims 1 to 6.
