Disclosure of Invention
The embodiment of the invention discloses a charging control method and a charging control device for a lithium ion battery in electronic equipment, which can effectively prolong the service life of the lithium ion battery so as to improve the recoverable cycle performance of a lithium ion battery cell.
The first aspect of the embodiments of the present invention discloses a method for controlling charging of a lithium ion battery in an electronic device, where a charging stage of the lithium ion battery includes a constant current charging stage and a trickle charging stage following the constant current charging stage, the constant current charging stage includes at least two constant current charging stages that are performed sequentially, and the method includes:
under each constant current charging stage, controlling a charging circuit of the lithium ion battery to output a constant current corresponding to each constant current charging stage to charge the lithium ion battery, wherein the current value of the constant current corresponding to each constant current charging stage is within a preset constant current value range corresponding to each constant current charging stage;
and in the trickle charge stage, controlling the charging circuit to output trickle current corresponding to the trickle charge stage to charge the lithium ion battery until the electric quantity of the lithium ion battery reaches a saturation state, wherein the current value of the trickle current is within a preset trickle current value range corresponding to the trickle charge stage, and the current value of the trickle current is smaller than the current value of the constant current corresponding to each constant current charge stage.
As an optional implementation manner, in the first aspect of this embodiment of the present invention, the method further includes:
when the charging circuit is connected with a charging power supply, detecting the initial electric quantity of the lithium ion battery;
and determining a constant current charging scheme matched with the initial electric quantity according to the initial electric quantity, and triggering and executing the constant current charging scheme, wherein the constant current charging scheme controls a charging circuit of the lithium ion battery to output a constant current corresponding to each constant current charging stage to charge the lithium ion battery under each constant current charging stage, and comprises the number of the constant current charging stages and a preset constant current value range corresponding to each constant current charging stage which are sequentially carried out.
As an optional implementation manner, in the first aspect of the embodiment of the present invention, the constant current charging scheme further includes a preset charging voltage threshold corresponding to each constant current charging stage, where the preset charging voltage threshold corresponding to each constant current charging stage is an initial voltage value for starting the constant current charging stage, and a preset charging voltage threshold of a certain constant current charging stage is smaller than a preset charging voltage threshold corresponding to a next constant current charging stage of the constant current charging stage;
under each constant current charging stage, controlling a charging circuit of the lithium ion battery to output a constant current corresponding to each constant current charging stage to charge the lithium ion battery, including:
and under each constant current charging stage, controlling a charging circuit of the lithium ion battery to output a constant current corresponding to the constant current charging stage to charge the lithium ion battery, detecting whether the real-time voltage output by the charging circuit reaches a preset charging voltage threshold corresponding to the next constant current charging stage of the constant current charging stage, and starting the next constant current charging stage of the constant current charging stage to charge the lithium ion battery when the detection result is yes.
As an optional implementation manner, in the first aspect of this embodiment of the present invention, the method further includes:
and under the last constant-current charging stage of the constant-current charging stage, judging that the real-time electric quantity of the lithium ion battery exceeds a preset electric quantity threshold value, when the judgment result is yes, switching the charging stage of the lithium ion battery from the constant-current charging stage to the trickle charging stage, and triggering and executing the trickle charging stage, and controlling the charging circuit to output trickle current corresponding to the trickle charging stage to charge the lithium ion battery until the electric quantity of the lithium ion battery reaches a saturated state.
As an optional implementation manner, in the first aspect of this embodiment of the present invention, the method further includes:
judging whether the lithium ion battery is in a discharging state or not in the charging process of the lithium ion battery, and if the lithium ion battery is in the discharging state, detecting whether the discharging current of the lithium ion battery is larger than a preset discharging current threshold value or not;
and if the current value is larger than the preset discharging current threshold value, starting an external power supply circuit of the electronic equipment so that the charging power supply can supply power to the electronic equipment while charging the lithium ion battery, and closing an internal power supply circuit used by the lithium ion battery for supplying power to the electronic equipment.
A second aspect of the embodiments of the present invention discloses a charging control device for a lithium ion battery in an electronic device, where a charging stage of the lithium ion battery includes a constant current charging stage and a trickle charging stage after the constant current charging stage, the constant current charging stage includes at least two constant current charging stages that are performed sequentially, the device includes:
the first control unit is used for controlling a charging circuit of the lithium ion battery to output a constant current corresponding to each constant current charging stage to charge the lithium ion battery under each constant current charging stage, and the current value of the constant current corresponding to each constant current charging stage is within a preset constant current value range corresponding to each constant current charging stage;
and the second control unit is used for controlling the charging circuit to output trickle current corresponding to the trickle charging stage to charge the lithium ion battery in the trickle charging stage until the electric quantity of the lithium ion battery reaches a saturated state, wherein the current value of the trickle current is within a preset trickle current value range corresponding to the trickle charging stage, and the current value of the trickle current is smaller than that of the constant current corresponding to each constant current charging electronic stage.
As an optional implementation manner, in the second aspect of the embodiment of the present invention, the apparatus further includes:
the detection unit is used for detecting the initial electric quantity of the lithium ion battery when the charging circuit is connected with a charging power supply;
the determining unit is used for determining a constant current charging scheme matched with the initial electric quantity according to the initial electric quantity detected by the detecting unit, and triggering the first control unit to execute the constant current charging scheme, under each constant current charging stage, the charging circuit of the lithium ion battery is controlled to output a constant current corresponding to each constant current charging stage to charge the lithium ion battery, and the constant current charging scheme comprises the number of the constant current charging stages which are sequentially performed and a preset constant current value range corresponding to each constant current charging stage.
As an optional implementation manner, in the second aspect of the embodiment of the present invention, the constant current charging scheme determined by the determining unit further includes a preset charging voltage threshold corresponding to each constant current charging stage, where the preset charging voltage threshold corresponding to each constant current charging stage is an initial voltage value for starting the constant current charging stage, and a preset charging voltage threshold of a certain constant current charging stage is smaller than a preset charging voltage threshold corresponding to a next constant current charging stage of the constant current charging stage;
the first control unit includes:
the first subunit is used for controlling a charging circuit of the lithium ion battery to output a constant current corresponding to the constant current charging stage to charge the lithium ion battery under each constant current charging stage;
the second subunit is used for detecting whether the real-time voltage output by the charging circuit reaches a preset charging voltage threshold value corresponding to the next constant current charging stage of the constant current charging stage;
and the third subunit is used for starting the next constant current charging stage of the constant current charging stage to charge the lithium ion battery when the detection result of the second subunit is positive.
As an optional implementation manner, in the second aspect of the embodiment of the present invention, the apparatus further includes:
the first judgment unit is used for judging that the real-time electric quantity of the lithium ion battery exceeds a preset electric quantity threshold value in the last constant current charging stage of the constant current charging stage;
and the stage switching unit is used for switching the charging stage of the lithium ion battery from the constant-current charging stage to the trickle charging stage when the judgment result of the first judgment unit is yes, and triggering the second control unit to execute the trickle charging stage, and controlling the charging circuit to output trickle current corresponding to the trickle charging stage to charge the lithium ion battery until the electric quantity of the lithium ion battery reaches a saturated state.
As an optional implementation manner, in the second aspect of the embodiment of the present invention, the apparatus further includes:
the second judgment unit is used for judging whether the lithium ion battery is in a discharge state or not in the charging process of the lithium ion battery;
the detection unit is further configured to detect whether the discharge current of the lithium ion battery is greater than a preset discharge current threshold value when the determination result of the second determination unit is yes;
the starting unit is used for starting an external power supply circuit of the electronic equipment when the detection unit detects that the discharge current of the lithium ion battery is larger than the preset discharge current threshold value, so that the charging power supply can supply power to the electronic equipment while charging the lithium ion battery;
and the closing unit is used for closing the internal power supply circuit used by the lithium ion battery for supplying power to the electronic equipment after the starting unit starts the external power supply circuit of the electronic equipment.
A third aspect of the embodiments of the present invention discloses a charging control device for a lithium ion battery in an electronic device, including:
a memory storing executable program code;
a processor coupled with the memory;
the processor calls the executable program code stored in the memory to execute part or all of the steps of any one of the methods disclosed in the first aspect of the embodiments of the present invention.
A fourth aspect of the present embodiments discloses a computer-readable storage medium storing a program code, where the program code includes instructions for performing some or all of the steps of any one of the methods disclosed in the first aspect of the present embodiments.
A fifth aspect of the embodiments of the present invention discloses a computer program product, which, when run on a computer, causes the computer to perform some or all of the steps of any one of the methods disclosed in the first aspect of the embodiments of the present invention.
A sixth aspect of the present embodiment discloses an application publishing platform, where the application publishing platform is configured to publish the computer program product, and when the computer program product runs on a computer, the computer is caused to perform part or all of the steps of any one of the methods disclosed in the first aspect of the present embodiment.
Compared with the prior art, the embodiment of the invention has the following beneficial effects:
in the embodiment of the invention, in the process of charging the lithium ion battery, the charging stage comprises a constant current charging stage and a trickle charging stage after the constant current charging stage, wherein the constant current charging stage comprises at least two constant current charging stages which are sequentially carried out. The method comprises the following steps: under each constant current charging sub-stage, controlling a charging circuit of the lithium ion battery to output a constant current corresponding to each constant current charging sub-stage to charge the lithium ion battery, wherein the current value of the constant current corresponding to each constant current charging sub-stage is within a preset constant current value range corresponding to each constant current charging sub-stage; in the trickle charge stage, the charging circuit is controlled to output trickle current corresponding to the trickle charge stage to charge the lithium ion battery until the electric quantity of the lithium ion battery reaches a saturation state, the current value of the trickle current is within a preset trickle current value range corresponding to the trickle charge stage, and the current value of the trickle current is smaller than the current value of the constant current corresponding to each constant current charge stage. Therefore, by implementing the embodiment of the invention, the lithium ion battery is charged in a multi-section constant-current charging and trickle charging mode, the service life of the lithium ion battery can be effectively prolonged, and the recoverable cycle performance of the lithium ion battery cell is improved.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It is to be noted that the terms "comprises" and "comprising" and any variations thereof in the embodiments and drawings of the present invention are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
The embodiment of the invention discloses a charging control method and a charging control device for a lithium ion battery in electronic equipment, which can effectively prolong the service life of the lithium ion battery so as to improve the recoverable cycle performance of a lithium ion battery cell. The following are detailed below.
Example one
Referring to fig. 1, fig. 1 is a schematic flowchart illustrating a charging control method for a lithium ion battery in an electronic device according to an embodiment of the present invention. As shown in fig. 1, the method for controlling charging of a lithium ion battery in an electronic device may include the following steps:
101. and under each constant current charging sub-stage, the electronic equipment controls a charging circuit of the lithium ion battery to output a constant current corresponding to each constant current charging sub-stage to charge the lithium ion battery, wherein the current value of the constant current corresponding to each constant current charging sub-stage is within a preset constant current value range corresponding to each constant current charging sub-stage.
In the embodiment of the present invention, the lithium-based battery is divided into a lithium battery and a lithium ion battery, wherein the lithium ion battery is a secondary battery, i.e., a rechargeable battery. It generally uses a material containing lithium as an electrode, and mainly works by utilizing movement of lithium ions between a positive electrode and a negative electrode. During the charge and discharge process, lithium ions are intercalated and deintercalated between the two electrodes: during charging, lithium ions are extracted from the positive electrode and are inserted into the negative electrode through the electrolyte, so that the negative electrode is in a lithium-rich state; the opposite is true during discharge. Since the lithium ion battery has the advantages of high energy density, low self-discharge, no memory effect, long cycle life and the like, the lithium ion battery is applied to various electronic Devices, and the electronic Devices can be smart phones (such as Android phones, iOS phones and the like), tablet computers, palm computers, Mobile Internet Devices (MID), PCs and other intelligent electronic Devices.
In the embodiment of the present invention, the charging phase of the lithium ion battery may include a constant current charging phase and a trickle charging phase following the constant current charging phase, and the constant current charging phase may include at least two constant current charging electronic phases performed in sequence. The number of the constant current charging sub-stages may be 2, 3, 4, etc., the charging current is maintained at a constant value in any one constant current charging sub-stage, and the constant charging currents corresponding to the constant current charging sub-stages may be the same or different from each other, and the embodiment of the present invention is not limited.
As an alternative embodiment, the method may further comprise the steps of:
in the last constant-current charging sub-stage, the electronic equipment judges whether the real-time voltage output by a charging circuit of the lithium ion battery reaches a preset trickle voltage threshold value corresponding to the trickle charging stage;
when the detection result is yes, the electronic device switches the charging phase of the lithium ion battery from the constant current charging phase to the trickle charging phase, and triggers execution of step 102.
102. In the trickle charging stage, the electronic equipment controls the charging circuit to output trickle current corresponding to the trickle charging stage to charge the lithium ion battery until the electric quantity of the lithium ion battery reaches a saturation state, the current value of the trickle current is within a preset trickle current value range corresponding to the trickle charging stage, and the current value of the trickle current is smaller than the current value of the constant current corresponding to each constant current charging electronic stage.
In this embodiment of the present invention, when the number of the constant current charging sub-stages is 3, the constant current charging sub-stage of the lithium ion battery may include a first constant current sub-stage, a second constant current sub-stage, and a third constant current sub-stage, which are sequentially performed, where a preset constant current value range corresponding to the first constant current sub-stage may be 0.2C to 0.3C, a preset constant current value range corresponding to the second constant current sub-stage may be 0.6C to 0.8C, a preset constant current value range corresponding to the third constant current sub-stage may be 0.3C to 0.5C, and a trickle current of the trickle charging sub-stage may be controlled to be less than 0.05C. In the first constant-current charging sub-stage, the electronic device can control the charging circuit of the lithium ion battery to output a constant current of 0.2C to charge the lithium ion battery; then, after entering a second constant current charging stage, the electronic device can control a charging circuit of the lithium ion battery to output a constant current of 0.6C to charge the lithium ion battery; finally, after entering the third constant current charging stage, the electronic device may control the charging circuit of the lithium ion battery to output a constant current of 0.3C to charge the lithium ion battery, and further, in the trickle charging stage, the electronic device may control the charging circuit to output a trickle current of 0.02C to charge the lithium ion battery until the electric quantity of the lithium ion battery reaches a saturation state.
As an optional implementation manner, in the lithium ion charging process, the electronic device may determine the charging current value in each constant current charging stage and each trickle charging stage according to the remaining capacity of the lithium ion battery, may directly calculate the amount to be charged, and then may determine and output the time for completing charging according to the amount to be charged, so as to optimize user experience.
In the embodiment of the invention, in the trickle charge stage, the charging circuit charges the lithium ion battery in a trickle charge mode to make up for the problem of capacity loss caused by self discharge when the electric quantity of the lithium ion battery is close to a saturation state, and the aim can be achieved by adopting a pulse current charging mode. Compared with the traditional trickle charge method, the trickle charge method has the advantages that the trickle charge current (namely cut-off current) in the trickle stage is larger, the recoverable cycle performance of the lithium ion battery is favorably prolonged, and the service life of the lithium ion battery is effectively prolonged.
Therefore, by implementing the method described in fig. 1, the lithium ion battery is charged by combining the multi-section constant-current charging with the trickle charging, so that the service life of the lithium ion battery can be effectively prolonged, and the recoverable cycle performance of the lithium ion battery cell can be improved.
Example two
Referring to fig. 2, fig. 2 is a schematic flowchart illustrating another method for controlling charging of a lithium ion battery in an electronic device according to an embodiment of the disclosure. As shown in fig. 2, the method for controlling charging of a lithium ion battery in an electronic device may include the following steps:
201. when the charging circuit is connected with the charging power supply, the electronic equipment detects the initial electric quantity of the lithium ion battery.
As an alternative embodiment, when the charging circuit switches on the charging power supply, and before the electronic device detects the initial amount of electricity of the lithium ion battery, the method may further include the following steps:
the charging circuit obtains an electrical parameter of the charging power source (which may include a voltage parameter of the charging power source currently in use) and transmits the electrical parameter to the electronic device.
By implementing the implementation mode, the electronic equipment can acquire the electrical parameters of the charging power supply, so that the electronic equipment can correct and perfect the charging scheme acquired later according to the electrical parameters, the charging process can be optimized, and the service life of the lithium ion battery is prolonged.
For example, when the electronic device is a mobile phone, the mobile phone may have a built-in charging circuit, the charging circuit is coupled to a charging interface of the mobile phone, and during charging of the mobile phone, according to a specific actual situation, a power supply voltage of a charging power supply input by the charging circuit may not be a standard user voltage (220V), and the power supply voltage may be a voltage slightly higher than 220V or a user voltage slightly lower than 220V generated due to an electric usage situation of a building.
As an optional implementation manner, the total power of the lithium ion battery of the electronic device includes a used power and a standby power, and the power displayed by the electronic device is the used power, where when the charging circuit is turned on and the electronic device detects an initial power of the lithium ion battery, the method may further include:
the electronic device determines whether the initial electric quantity of the lithium ion battery is a negative electric quantity (the absolute value of the negative electric quantity is the electric quantity used in the standby electric quantity), if so, the electronic device charges the electronic device by using a safe charging scheme, wherein the scheme is different from the constant current charging scheme in step 202, the safe charging scheme can be a real-time charging scheme for adjusting the charging voltage or the charging power in real time, and when the electronic device determines that the initial electric quantity is a positive electric quantity (the positive electric quantity is the used electric quantity), step 202 is triggered and executed.
By implementing the implementation mode, the electronic equipment can judge the charging state of the lithium ion battery more accurately, and the situation that the electronic equipment uses the standby power consumption due to various reasons can be effectively avoided, so that the lithium ion battery is effectively protected, the intelligence of the charging circuit is improved, and the safety of the electronic equipment is improved.
As a further optional implementation, the electronic device employs a secure charging scheme to charge the electronic device, and may include the following steps:
the electronic equipment acquires the ambient temperature of the environment where the electronic equipment is located;
the electronic equipment adjusts a safe charging scheme according to the environment temperature to obtain a new safe charging scheme;
and the electronic equipment controls the charging circuit to charge the lithium ion battery according to the new safe charging scheme.
By implementing the implementation mode, the electronic equipment can judge whether the electric quantity of the electronic equipment is negative because of the environmental temperature, and a new charging scheme matched with the environmental temperature is generated according to the judgment result, so that the charging process of the lithium ion battery is safer and more reliable, the accuracy of the electronic equipment for acquiring the electric quantity condition of the lithium ion battery is improved, the fault or safety problem caused by charging the lithium ion battery by using a fixed charging scheme is reduced, the cyclability of the lithium ion battery is improved, and the service life of the lithium ion battery is prolonged.
As an alternative embodiment, the charging circuit turning on the charging power supply may include the steps of:
the charging circuit is coupled with the wireless charging power supply through a wireless charging circuit which is included by the charging circuit, wherein the charging circuit comprises a wireless charging circuit and a wired charging circuit which are not overlapped with each other.
By implementing the implementation mode, the charging circuit can be selected from a wired charging mode and a wireless charging mode, so that the applicability of the charging circuit in the electronic equipment is enhanced, and the function richness of the electronic equipment is further improved.
As another alternative, the charging circuit turning on the charging power may include the steps of:
the charging circuit is coupled with a wireless charging power supply through a wireless charging circuit which is included by the charging circuit, wherein the charging circuit comprises a wireless charging circuit and a wired charging circuit, the charging circuit of the two parts is shared, and the coupling circuits which are coupled with the power supply are different.
By implementing the implementation mode, a user can freely select a wired charging mode and a wireless charging mode, the using space of the circuit is reduced, the applicability of the charging circuit in the electronic equipment is enhanced, the function richness of the electronic equipment is improved, and the power consumption caused by the circuit is further reduced.
As an alternative embodiment, the charging circuit switches on the charging power, and the charging circuit may not be present in the electronic device, wherein:
when the charging circuit is connected with the charging interface, the charging circuit is connected with an external electric power supply.
By implementing the embodiment, the electronic equipment can reduce volume consumption and electric quantity consumption caused by the built-in charging circuit, thereby improving the convenience of the electronic equipment and reducing the power consumption of the electronic equipment during use.
As a further alternative, when the electronic device is connected to the charging circuit, the charging circuit is connected to the charging power source, and the method may include the following steps:
when the wireless charging circuit is connected with the wireless charging interface of the electronic equipment, the wireless charging circuit is connected with an external charging power supply.
By implementing the implementation mode, the charging mode of the lithium ion battery can be diversified, and the user experience is improved.
202. The electronic device determines a constant current charging scheme matched with the initial electric quantity according to the initial electric quantity, and triggers to execute step 203.
In the embodiment of the invention, the constant current charging scheme comprises the number of constant current charging sub-stages which are sequentially carried out and a preset constant current value range corresponding to each constant current charging sub-stage. The electronic equipment can determine a constant current charging scheme matched with the initial electric quantity according to the initial electric quantity of the lithium ion battery. For example, the electric quantity of the lithium ion battery in the saturated state may be 100%, when the initial electric quantity of the lithium ion battery is 40%, the electronic device may determine a constant current charging scheme with an initial electric quantity of 40%, where the constant current charging scheme includes a first constant current charging sub-stage, a second constant current charging sub-stage, and a third constant current charging sub-stage that are sequentially performed, and a preset constant current value range corresponding to the first constant current charging sub-stage is 0.2C to 0.3C, a preset constant current value range corresponding to the second constant current sub-stage is 0.6C to 0.8C, and a preset constant current value range corresponding to the third constant current sub-stage is 0.3C to 0.5C, and then, in each constant current charging sub-stage, the electronic device may control a charging circuit of the lithium ion battery to charge the lithium ion battery according to the constant current charging scheme.
203. And under each constant current charging sub-stage, the electronic equipment controls the charging circuit of the lithium ion battery to output a constant current corresponding to the constant current charging sub-stage to charge the lithium ion battery.
In an embodiment of the present invention, in each constant current charging sub-phase, the electronic device controls the charging circuit of the lithium ion battery to output a constant current corresponding to the constant current charging sub-phase to charge the lithium ion battery, and the method may include the following steps:
under the first constant current charging sub-stage, the electronic equipment determines a first constant current corresponding to the first preset constant current charging sub-stage according to a first preset constant current value range corresponding to the first constant current charging sub-stage included in the constant current charging scheme;
the electronic equipment controls a charging circuit of the lithium ion battery to output the first constant current to charge the lithium ion battery;
under each constant current charging sub-stage, the electronic equipment detects the current temperature of the charging circuit;
the electronic equipment determines a charging constant current corresponding to the next constant current charging stage according to the current temperature and a preset constant current value range corresponding to the next constant current charging stage which is sequentially carried out after the current constant current charging stage;
when the lithium ion battery enters the next constant current charging stage from the current constant current charging stage, the electronic equipment controls the charging circuit of the lithium ion battery to output the charging constant current corresponding to the next constant current charging stage to charge the lithium ion battery.
In the embodiment of the invention, the electronic equipment can determine the constant current value corresponding to the next charging stage according to the current temperature of the charging circuit in the current charging stage, when the current temperature is higher, the current is over high, which can cause the body of the electronic equipment to generate heat, when the next charging stage is entered, the charging circuit can be controlled to properly reduce the constant current value for charging, the problem of continuously higher temperature of the charging circuit is avoided, the service life of the lithium ion battery is prolonged, meanwhile, the problem of body heating of the electronic equipment during charging can be further improved, the charging safety is ensured, and the user experience is improved.
As an optional implementation manner, after the electronic device controls, in each constant current charging phase, the charging circuit of the lithium ion battery to output a constant current corresponding to the constant current charging phase to charge the lithium ion battery, the method may further include:
the electronic equipment acquires the current temperature of the charging circuit;
the electronic equipment judges whether the current temperature exceeds a preset temperature threshold value or not;
when the current temperature threshold is greater than the preset temperature threshold, the electronic device controls a temperature balancing circuit built in the electronic device to adjust the temperature of the charging circuit, so that the temperature of the charging circuit is lower than the preset temperature threshold.
By implementing the implementation mode, the temperature balance circuit used for adjusting the temperature of the charging circuit can be arranged in the electronic equipment, so that the charging circuit of the electronic equipment keeps the temperature lower than the preset temperature threshold value in the charging process, the interference of the temperature on the charging of the lithium ion battery is reduced, and the charging efficiency of the lithium ion battery is improved.
As a further optional implementation manner, the electronic device controlling a built-in temperature balancing circuit of the electronic device to adjust the temperature of a charging circuit thereof so that the temperature of the charging circuit is lower than the preset temperature threshold may include the following steps:
the electronic device starts a heat conducting device (such as a fan) in a temperature balancing circuit built in the electronic device, so that the heat conducting device conducts heat dissipation treatment on the charging circuit, and the temperature of the charging circuit is lower than the preset temperature threshold.
By implementing the implementation mode, the heat removal mode of the electronic equipment is embodied, so that technical details are added to the technology, and the structure of the electronic equipment is perfected.
As a further alternative, when the electronic device is charged in a low-temperature environment, the temperature of the electronic device may be lower than an ideal charging temperature (e.g. 16 ℃, 21 ℃, etc.), and the electronic device controls a temperature balancing circuit built in the electronic device to adjust the temperature of its charging circuit so that the temperature of the charging circuit is lower than the preset temperature threshold, which may include the following steps:
the electronic equipment determines a preset temperature range according to the ideal charging temperature;
the electronic equipment starts a heat collecting device (such as a resistor) in a temperature balancing circuit built in the electronic equipment to carry out electrifying heat collecting operation, so that the temperature of a charging circuit of the electronic equipment reaches the preset temperature range.
In this embodiment, when the ideal charging temperature is 21 ℃, the preset temperature range determined by the electronic device according to the ideal charging temperature is 19 ℃ to 23 ℃, and the embodiment of the present invention is not limited. The electronic equipment can realize the function of temperature rise, thereby ensuring that the electronic equipment can also charge the lithium ion battery under the low-temperature condition, simultaneously ensuring the temperature of the charging environment of the lithium ion battery, being beneficial to improving the charging performance of the lithium ion battery, and prolonging the cycle times and the service life of the lithium ion battery.
204. The electronic equipment detects whether the real-time voltage output by the charging circuit reaches a preset charging voltage threshold corresponding to the next constant current charging stage of the constant current charging stage, and if so, the steps 205 to 206 are executed; if the detection result is negative, step 203 to step 204 are executed.
In the embodiment of the present invention, when the determination result in step 204 is yes, the electronic device determines that the current constant current charging stage is ended, and if there is a next constant current charging stage of the current constant current charging stage, the electronic device starts the next constant current charging stage of the current constant current charging stage to charge the lithium ion battery, that is, step 205 is executed; if the current constant current charging sub-phase is the last constant current charging sub-phase of the constant current charging phase, directly triggering to execute 206; and if the judgment result in the step 204 is negative, determining that the current constant current charging sub-stage is not finished, and continuing to charge the lithium ion battery in the current constant current charging sub-stage.
In an embodiment of the present invention, the constant current charging scheme further includes a preset charging voltage threshold corresponding to each constant current charging stage, where the preset charging voltage threshold corresponding to each constant current charging stage is an initial voltage value for starting the constant current charging stage, and the preset charging voltage threshold of a certain constant current charging stage is smaller than the preset charging voltage threshold corresponding to a next constant current charging stage of the constant current charging stage. When the number of the constant current charging sub-stages is 3, the constant current charging stage of the lithium ion battery may include a first constant current sub-stage, a second constant current sub-stage, and a third constant current sub-stage, which are sequentially performed, where a preset charging voltage threshold corresponding to the first constant current sub-stage may be 3.0V, a preset charging voltage threshold corresponding to the second constant current sub-stage may be 3.6V, and a preset charging voltage threshold corresponding to the third constant current sub-stage may be 4.2V, which is not limited in the embodiment of the present invention.
205. And the electronic equipment starts the next constant current charging stage of the constant current charging stage to charge the lithium ion battery.
In the embodiment of the present invention, by implementing the above steps 203 to 205, in each constant current charging sub-stage, the electronic device may control the charging circuit of the lithium ion battery to output the constant current corresponding to each constant current charging sub-stage to charge the lithium ion battery.
As an optional implementation, the constant-current charging scheme may further include a preset charging voltage threshold corresponding to the trickle charging phase, where the preset charging voltage threshold corresponding to the trickle charging phase is a starting voltage value for starting the trickle charging phase, and the preset charging voltage threshold of the trickle charging phase is greater than the preset charging voltage threshold corresponding to any one of the constant-current charging electronic phases, and the method may further include the following steps:
in the last constant-current charging sub-stage, the electronic equipment judges whether the real-time voltage output by a charging circuit of the lithium ion battery reaches a preset trickle voltage threshold value corresponding to the trickle charging stage;
when the detection result is yes, the electronic device switches the charging phase of the lithium ion battery from the constant current charging phase to the trickle charging phase, and triggers execution of step 206.
In the embodiment of the present invention, the predetermined charging voltage threshold corresponding to the trickle charging stage may be 4.4V, 4.5V, and the like, and the embodiment of the present invention is not limited.
206. In the trickle charge stage, the electronic device controls the charging circuit to output trickle current corresponding to the trickle charge stage to charge the lithium ion battery until the electric quantity of the lithium ion battery reaches a saturation state.
It can be seen that, by implementing the method described in fig. 2, the electronic device can charge the lithium ion battery by combining multi-segment constant-current charging with trickle charging, which can effectively prolong the service life of the lithium ion battery, thereby improving the recoverable cycle performance of the lithium ion battery cell, and also can properly adjust the charging current of the next stage according to the current temperature of the charging circuit in the charging process, thereby avoiding the problem of continuously high temperature of the charging circuit, being beneficial to prolonging the service life of the lithium ion battery, and simultaneously further improving the problem of body heating when the electronic device is charged, ensuring charging safety, and improving user experience.
EXAMPLE III
Referring to fig. 3, fig. 3 is a schematic flowchart illustrating another method for controlling charging of a lithium ion battery in an electronic device according to an embodiment of the disclosure. As shown in fig. 3, the method for controlling charging of a lithium ion battery in an electronic device may include the following steps:
301. when the charging circuit is connected with the charging power supply, the electronic equipment detects the initial electric quantity of the lithium ion battery.
302. The electronic device determines a constant current charging scheme matched with the initial electric quantity according to the initial electric quantity, and triggers to execute step 303.
In the embodiment of the invention, the constant current charging scheme comprises the number of constant current charging sub-stages which are sequentially carried out and a preset constant current value range corresponding to each constant current charging sub-stage.
303. In the charging process of the lithium ion battery, the electronic equipment judges whether the lithium ion battery is in a discharging state, and if the lithium ion battery is in the discharging state, the step 304 is executed; if not, step 303 is executed to continuously determine whether the lithium ion battery is in a discharge state.
As an optional implementation manner, in the charging process of the lithium ion battery, the determining, by the electronic device, whether the lithium ion battery is in a discharge state may include:
the electronic equipment obtains the ideal charging amount in unit time according to the selection of the charging method, obtains the actual charging amount in unit time, and judges whether the difference value between the actual charging amount in unit time and the ideal charging amount in unit time is larger than a preset difference value or not, if so, the lithium ion battery is determined to be in a discharging state, and if not, the lithium ion battery is determined to be in a non-discharging state.
By implementing the embodiment, the electronic device can determine the charging amount per unit time according to the selection of the charging method, and accurately determine whether the lithium ion battery is in the discharging state or not based on the charging amount per unit time.
304. The electronic equipment detects whether the discharge current of the lithium ion battery is larger than a preset discharge current threshold value, and if so, the steps 305 to 307 are executed; if not, executing step 304 to continuously detect whether the discharge current of the lithium ion battery is greater than the preset discharge current threshold.
305. The electronic equipment starts an external power supply circuit of the electronic equipment so that the charging power supply can supply power to the electronic equipment while charging the lithium ion battery, and closes an internal power supply circuit used by the lithium ion battery for supplying power to the electronic equipment.
In this embodiment of the present invention, steps 303 to 305 may occur in any one charging stage of the lithium ion battery, that is, steps 303 to 305 may occur after steps 301 to 302 and steps 306 to 310 and before step 311, or may occur before steps 306 to 310, which is not limited in this embodiment of the present invention.
306. And under each constant current charging sub-stage, the electronic equipment controls the charging circuit of the lithium ion battery to output a constant current corresponding to the constant current charging sub-stage to charge the lithium ion battery.
307. The electronic equipment detects whether the real-time voltage output by the charging circuit reaches a preset charging voltage threshold corresponding to the next constant current charging stage of the constant current charging stage, and if so, the step 308 to the step 309 are executed; if the detection result is negative, step 306 to step 307 are executed.
In an embodiment of the present invention, the constant current charging scheme further includes a preset charging voltage threshold corresponding to each constant current charging stage, where the preset charging voltage threshold corresponding to each constant current charging stage is an initial voltage value for starting the constant current charging stage, and the preset charging voltage threshold of a certain constant current charging stage is smaller than the preset charging voltage threshold corresponding to a next constant current charging stage of the constant current charging stage.
308. And the electronic equipment starts the next constant current charging stage of the constant current charging stage to charge the lithium ion battery.
In the embodiment of the present invention, by implementing the above steps 203 to 205, in each constant current charging sub-stage, the electronic device may control the charging circuit of the lithium ion battery to output the constant current corresponding to each constant current charging sub-stage to charge the lithium ion battery.
309. In the last constant current charging sub-stage of the constant current charging stage, the electronic equipment judges that the real-time electric quantity of the lithium ion battery exceeds a preset electric quantity threshold value, and if the judgment result is yes, the steps 310 to 311 are executed; if not, step 309 is executed to continue to determine that the real-time electric quantity of the lithium ion battery exceeds the preset electric quantity threshold.
310. The electronic device switches the charging phase of the lithium ion battery from the constant current charging phase to the trickle charging phase and triggers the execution of step 311.
311. In the trickle charge stage, the electronic device controls the charging circuit to output trickle current corresponding to the trickle charge stage to charge the lithium ion battery until the electric quantity of the lithium ion battery reaches a saturation state.
Therefore, by implementing the method described in fig. 3, the electronic device can charge the lithium ion battery in a multi-section constant-current charging and trickle charging manner, so that the service life of the lithium ion battery can be effectively prolonged, the recoverable cycle performance of the lithium ion battery cell can be improved, the problem that the lithium ion battery discharges simultaneously in the charging process can be solved, the service life of the lithium ion battery can be prolonged, the charging safety can be ensured, and the user experience can be improved.
Example four
Referring to fig. 4, fig. 4 is a schematic structural diagram of a charging control device for a lithium ion battery in an electronic device according to an embodiment of the present disclosure. As shown in fig. 4, the charging phase of the lithium ion battery includes a constant current charging phase and a trickle charging phase after the constant current charging phase, where the constant current charging phase includes at least two constant current charging sub-phases that are performed sequentially, and the apparatus may include:
the first control unit 401 is configured to control, at each constant current charging sub-stage, a charging circuit of the lithium ion battery to output a constant current corresponding to each constant current charging sub-stage to charge the lithium ion battery, where a current value of the constant current corresponding to each constant current charging sub-stage is within a preset constant current value range corresponding to each constant current charging sub-stage.
In the embodiment of the present invention, in the process of charging the lithium ion battery, when the charging stage of the lithium ion battery enters the trickle charging stage from the constant current charging stage, the first control unit 401 may trigger to start the second control unit 402.
The second control unit 402 is configured to, in the trickle charge stage, control the charging circuit to output a trickle current corresponding to the trickle charge stage to charge the lithium ion battery until the electric quantity of the lithium ion battery reaches a saturation state, where a current value of the trickle current is within a preset trickle current value range corresponding to the trickle charge stage, and the current value of the trickle current is smaller than a current value of the constant current corresponding to each constant current charge stage.
Therefore, by implementing the device described in fig. 4, the lithium ion battery is charged by combining the multi-section constant-current charging with the trickle charging, so that the service life of the lithium ion battery can be effectively prolonged, and the recoverable cycle performance of the lithium ion battery cell can be improved.
EXAMPLE five
Referring to fig. 5, fig. 5 is a schematic structural diagram of another charging control device for a lithium ion battery in an electronic device according to an embodiment of the disclosure. The device shown in fig. 5 is optimized from the device shown in fig. 4. The apparatus shown in fig. 5 may further include:
a detecting unit 403, configured to detect an initial amount of electricity of the lithium ion battery when the charging circuit turns on the charging power supply.
The determining unit 404 is configured to determine, according to the initial electric quantity detected by the detecting unit 403, a constant current charging scheme matched with the initial electric quantity, and trigger the first control unit 401 to execute, in each constant current charging sub-stage, controlling the charging circuit of the lithium ion battery to output a constant current corresponding to each constant current charging sub-stage to charge the lithium ion battery, where the constant current charging scheme includes the number of sequentially performed constant current charging sub-stages and a preset constant current value range corresponding to each constant current charging sub-stage.
Optionally, as shown in fig. 5, the constant current charging scheme determined by the determining unit 404 further includes a preset charging voltage threshold corresponding to each constant current charging stage, where the preset charging voltage threshold corresponding to each constant current charging stage is an initial voltage value for starting the constant current charging stage, and the preset charging voltage threshold of a certain constant current charging stage is smaller than the preset charging voltage threshold corresponding to a next constant current charging stage of the constant current charging stage.
A first control unit 401, comprising:
the first sub-unit 4011 is configured to, in each constant current charging sub-phase, control the charging circuit of the lithium ion battery to output a constant current corresponding to the constant current charging sub-phase to charge the lithium ion battery.
The second sub-unit 4012 is configured to detect whether the real-time voltage output by the charging circuit reaches a preset charging voltage threshold corresponding to a next constant-current charging stage of the constant-current charging stage.
And the third sub-unit 4013 is configured to, when the detection result of the second sub-unit 4012 is yes, start a next constant current charge stage of the constant current charge stage to charge the lithium ion battery.
It can be seen that, with the implementation of the apparatus described in fig. 5, the electronic device can charge the lithium ion battery in a multi-stage constant current charging and trickle charging manner, which can effectively prolong the service life of the lithium ion battery, thereby improving the recoverable cycle performance of the lithium ion battery cell, and also can properly adjust the charging current of the next stage according to the current temperature of the charging circuit in the charging process, thereby avoiding the problem of continuously high temperature of the charging circuit, being beneficial to prolonging the service life of the lithium ion battery, and simultaneously further improving the problem of body heating when the electronic device is charged, ensuring charging safety, and improving user experience.
EXAMPLE six
Referring to fig. 6, fig. 6 is a schematic structural diagram of another charging control device for a lithium ion battery in an electronic device according to an embodiment of the disclosure. The device shown in fig. 6 is optimized from the device shown in fig. 5. The apparatus shown in fig. 6 may further include:
the first determining unit 405 is configured to determine, in a last constant current charging stage of the constant current charging stage, that the real-time electric quantity of the lithium ion battery exceeds a preset electric quantity threshold.
In the embodiment of the present invention, the first control unit 401 may further trigger the first determining unit 405 to determine that the real-time electric quantity of the lithium ion battery exceeds the preset electric quantity threshold value when the first control unit controls the charging circuit of the lithium ion battery to output the constant current corresponding to each constant current charging stage to charge the lithium ion battery in the last constant current charging stage.
And a stage switching unit 406, configured to switch the charging stage of the lithium ion battery from the constant-current charging stage to the trickle charging stage when the determination result of the first determining unit 405 is yes, and trigger the second control unit 402 to execute the above-mentioned trickle charging stage, and control the charging circuit to output the trickle current corresponding to the trickle charging stage to charge the lithium ion battery until the electric quantity of the lithium ion battery reaches a saturation state.
Optionally, as shown in fig. 6, the apparatus may further include:
the second determining unit 407 is configured to determine whether the lithium ion battery is in a discharging state during a charging process of the lithium ion battery.
In the embodiment of the present invention, when the charging circuit is connected to the charging power supply, the first control unit 401 may control the charging circuit of the lithium ion battery to output a constant current corresponding to each constant current charging sub-stage to charge the lithium ion battery in each constant current charging sub-stage, and may also trigger to start the second determination unit 407 to determine whether the lithium ion battery is in a discharging state; and when the charging circuit is connected to the charging power source, the second control unit 402 may control the charging circuit to output a trickle current corresponding to the trickle charging stage to charge the lithium ion battery in the trickle charging stage until the electric quantity of the lithium ion battery reaches a saturation state, and may also trigger to start the second determination unit 407 to determine whether the lithium ion battery is in a discharging state.
The detecting unit 403 is further configured to detect whether the discharge current of the lithium ion battery is greater than a preset discharge current threshold when the determination result of the second determining unit 407 is yes.
The starting unit 408 is configured to start the external power supply circuit of the electronic device when the detection unit 403 detects that the discharge current of the lithium ion battery is greater than the preset discharge current threshold, so that the charging power supply supplies power to the electronic device while charging the lithium ion battery, and triggers the shutdown unit 409 to start.
And a shutdown unit 409, configured to shut down an internal power supply circuit used by the lithium ion battery to supply power to the electronic device after the start unit 408 starts an external power supply circuit of the electronic device.
It can be seen that, with the implementation of the apparatus described in fig. 6, the electronic device can charge the lithium ion battery in a multi-segment constant-current charging and trickle charging manner, which can effectively prolong the service life of the lithium ion battery, thereby improving the recoverable cycle performance of the lithium ion battery cell, and also improving the problem that the lithium ion battery discharges simultaneously during the charging process, which is beneficial to prolonging the service life of the lithium ion battery, ensuring the charging safety, and improving the user experience.
Referring to fig. 7, fig. 7 is a schematic structural diagram of another charging control device for a lithium ion battery in an electronic device according to an embodiment of the disclosure. As shown in fig. 7, the apparatus may include:
a memory 701 in which executable program code is stored.
A processor 702 coupled to the memory 701.
The processor 702 calls the executable program code stored in the memory 701 to execute the method for controlling charging of the lithium ion battery in the electronic device shown in any one of fig. 1 to 3.
The embodiment of the invention discloses a computer-readable storage medium which stores a computer program, wherein the computer program enables a computer to execute a charging control method of a lithium ion battery in any one of electronic equipment shown in figures 1-3.
The embodiment of the invention discloses a computer program product, which enables a computer to execute a charging control method of a lithium ion battery in any one of electronic equipment shown in figures 1-3 when the computer program product runs on the computer.
The embodiment of the invention discloses an application publishing platform, which is used for publishing a computer program product, wherein when the computer program product runs on a computer, the computer is enabled to execute a charging control method of a lithium ion battery in any one of electronic equipment shown in figures 1 to 3.
It will be understood by those skilled in the art that all or part of the steps in the methods of the embodiments described above may be implemented by hardware instructions of a program, and the program may be stored in a computer-readable storage medium, where the storage medium includes Read-Only Memory (ROM), Random Access Memory (RAM), Programmable Read-Only Memory (PROM), Erasable Programmable Read-Only Memory (EPROM), One-time Programmable Read-Only Memory (OTPROM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Compact Disc Read-Only Memory (CD-ROM), or other Memory, such as a magnetic disk, or a combination thereof, A tape memory, or any other medium readable by a computer that can be used to carry or store data.
It should be appreciated that reference throughout this specification to "one embodiment" or "an embodiment" means that a particular feature, structure or characteristic described in connection with the embodiment is included in at least one embodiment of the present invention. Thus, the appearances of the phrases "in one embodiment" or "in an embodiment" in various places throughout this specification are not necessarily all referring to the same embodiment. Furthermore, the particular features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. Those skilled in the art should also appreciate that the embodiments described in this specification are exemplary and alternative embodiments, and that the acts and modules illustrated are not required in order to practice the invention.
In various embodiments of the present invention, it should be understood that the sequence numbers of the above-mentioned processes do not imply an inevitable order of execution, and the execution order of the processes should be determined by their functions and inherent logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention.
In addition, the terms "system" and "network" are often used interchangeably herein. It should be understood that the term "and/or" herein is merely one type of association relationship describing an associated object, meaning that three relationships may exist, for example, a and/or B, may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" herein generally indicates that the former and latter related objects are in an "or" relationship.
In the embodiments provided herein, it should be understood that "B corresponding to A" means that B is associated with A from which B can be determined. It should also be understood, however, that determining B from a does not mean determining B from a alone, but may also be determined from a and/or other information.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated units, if implemented as software functional units and sold or used as a stand-alone product, may be stored in a computer accessible memory. Based on such understanding, the technical solution of the present invention, which is a part of or contributes to the prior art in essence, or all or part of the technical solution, can be embodied in the form of a software product, which is stored in a memory and includes several requests for causing a computer device (which may be a personal computer, a server, a network device, or the like, and may specifically be a processor in the computer device) to execute part or all of the steps of the above-described method of each embodiment of the present invention.
The above detailed description is provided for the charging control method and apparatus for a lithium ion battery in an electronic device, which are disclosed in the embodiments of the present invention, and the principle and the implementation manner of the present invention are explained in this document by applying specific examples, and the description of the above embodiments is only used to help understanding the method and the core idea of the present invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.