CN112838626A - Electronic device, charging method thereof and readable storage medium - Google Patents
Electronic device, charging method thereof and readable storage medium Download PDFInfo
- Publication number
- CN112838626A CN112838626A CN201911165827.7A CN201911165827A CN112838626A CN 112838626 A CN112838626 A CN 112838626A CN 201911165827 A CN201911165827 A CN 201911165827A CN 112838626 A CN112838626 A CN 112838626A
- Authority
- CN
- China
- Prior art keywords
- battery
- charging
- voltage
- current
- processor
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 46
- 239000003990 capacitor Substances 0.000 claims description 33
- 238000001514 detection method Methods 0.000 claims description 16
- 230000002035 prolonged effect Effects 0.000 abstract description 4
- 230000002349 favourable effect Effects 0.000 abstract description 2
- 238000007726 management method Methods 0.000 description 49
- 238000004891 communication Methods 0.000 description 13
- 238000010586 diagram Methods 0.000 description 12
- 238000012545 processing Methods 0.000 description 9
- 230000008569 process Effects 0.000 description 7
- 238000005516 engineering process Methods 0.000 description 6
- 230000005236 sound signal Effects 0.000 description 4
- 230000003247 decreasing effect Effects 0.000 description 3
- 230000000694 effects Effects 0.000 description 3
- 230000008859 change Effects 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000003071 parasitic effect Effects 0.000 description 2
- 230000001133 acceleration Effects 0.000 description 1
- 230000009471 action Effects 0.000 description 1
- 230000006978 adaptation Effects 0.000 description 1
- 238000003491 array Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 230000007812 deficiency Effects 0.000 description 1
- 230000009977 dual effect Effects 0.000 description 1
- 238000002474 experimental method Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
Images
Landscapes
- Charge And Discharge Circuits For Batteries Or The Like (AREA)
- Secondary Cells (AREA)
Abstract
The disclosure relates to an electronic device and a charging method thereof, and a readable storage medium. An electronic device comprising a processor, a battery, and a power management module; the power management module comprises a voltage acquisition circuit, the voltage acquisition circuit is connected in parallel with two ends of a battery core in the battery, and the processor is electrically connected with the power management module; the voltage acquisition circuit is used for acquiring actual voltages at two ends of the battery cell and sending the actual voltages to the processor; the processor is used for acquiring a mode selection signal according to the voltage and sending the mode selection signal to the power management module; the power management module is used for responding to the mode selection signal and charging the battery based on the mode corresponding to the mode selection signal. According to the embodiment of the disclosure, the voltage error can be reduced by detecting the actual voltages at the two ends of the battery core in the battery, so that the charging voltage of the battery is favorable for exceeding the rated voltage, the battery is fully charged finally, and the endurance time is prolonged.
Description
Technical Field
The present disclosure relates to the field of charging technologies, and in particular, to an electronic device, a charging method thereof, and a readable storage medium.
Background
Currently, in the process of charging a battery in an electronic device, the real-time voltage and current of the battery need to be detected, and the charging strategy needs to be further adjusted through the real-time voltage and/or current. Taking voltage detection as an example, the detection point of the battery voltage is usually a battery connector on the electronic device, the voltage detection circuit needs to be connected to the battery through the battery connector, a flexible circuit board (FPC) of the battery, and a battery protection board, and the flexible circuit board (FPC) of the battery, the battery protection board, and even the battery have certain impedance, so that the voltage detected by the voltage detection circuit on the battery connector is not accurate. For example, as the charging current increases, the voltage difference caused by the parasitic circuit inside the battery also increases, and if the voltage is collected at the battery connector end, the actual voltage of the battery cell is lower than the rated voltage thereof, so that the battery cannot be fully charged, and finally the battery is not durable, and the user experience is reduced.
Disclosure of Invention
The present disclosure provides an electronic device and a charging method thereof, and a readable storage medium, to solve the deficiencies of the related art.
According to a first aspect of an embodiment of the present disclosure, there is provided an electronic device, including a processor, a battery, and a power management module; the power management module comprises a voltage acquisition circuit, the voltage acquisition circuit is connected in parallel with two ends of a battery core in the battery, and the processor is electrically connected with the power management module; wherein,
the voltage acquisition circuit is used for acquiring actual voltages at two ends of the battery cell and sending the actual voltages to the processor; the processor is used for acquiring a mode selection signal according to the voltage and sending the mode selection signal to the power management module; the power management module is used for responding to the mode selection signal and charging the battery based on the mode corresponding to the mode selection signal.
Optionally, the power management module further comprises a precision resistor, and the power management module further comprises a current collection circuit; the precision resistor is connected between a connector of the battery and an external power supply in series, and the current acquisition circuit is connected to two ends of the precision resistor in parallel; wherein,
the current acquisition circuit is used for acquiring real-time current in the precision resistor, and the real-time current is used for representing the charging current of the battery.
Optionally, the power management module includes a digital control circuit, two single-phase charge pump control circuits, and a temperature detection circuit disposed on each single-phase charge pump control circuit;
the temperature detection circuit is used for detecting the real-time temperature of the single-phase charge pump control circuit and sending the real-time temperature to the digital control circuit; the digital control circuit is used for switching a single-phase charge pump control circuit for charging the battery when the real-time temperature exceeds a set threshold value.
Optionally, the single-phase charge pump control circuit comprises a first switching device, a second switching device, a third switching device and a fourth switching device; the first end of the first switching device is electrically connected with a power supply, and the second end of the first switching device is electrically connected with the first end of the second switching device and is electrically connected with the first end of an external first capacitor; the first end of the third switching device is electrically connected with the second end of the second switching device and is electrically connected with the first end of an external second capacitor, and the second end of the second capacitor is grounded; a first terminal of the fourth switching device is electrically connected with a second terminal of the third switching device and electrically connected with a second terminal of the first capacitor; a second terminal of the fourth switching device is grounded; the controllers of the first switching device, the second switching device, the third switching device and the fourth switching device are respectively electrically connected with the digital control circuit.
According to a second aspect of the embodiments of the present disclosure, there is provided a charging method, in which an electronic device includes a processor, a voltage acquisition circuit, a battery, and a power management module; the power management module comprises a voltage acquisition circuit, the voltage acquisition circuit is connected in parallel with two ends of a battery core in the battery, and the processor is electrically connected with the power management module; the method comprises the following steps:
acquiring a mode selection signal sent by the processor, wherein the mode selection signal is acquired by the processor according to the actual voltage of the battery core in the battery and a preset first voltage threshold;
and selecting a corresponding mode according to the mode selection signal to charge the battery.
Optionally, selecting a corresponding mode to charge the battery according to the mode selection signal includes:
when the mode selection signal is a first charging mode selection signal, charging the battery by adopting a first charging mode; the first charging mode selection signal is generated by the processor when the actual voltage exceeds the first voltage threshold;
when the mode selection signal is a second charging mode selection signal, charging the battery by adopting a second charging mode; the second charging mode selection signal is generated by the processor when the actual voltage is less than the first voltage threshold.
Optionally, the method further comprises:
when the actual voltage is smaller than the first voltage threshold, acquiring the actual temperature of the rear shell of the electronic equipment;
when the actual temperature exceeds a preset temperature threshold, charging the battery according to a first current; and when the actual temperature is smaller than the preset temperature threshold value, the power supply management module charges the battery according to a second current.
Optionally, the method further comprises:
acquiring the real-time current of the battery; the real-time current is obtained by collecting the current on a precision resistor by a current collecting circuit, and the precision resistor is connected between a connector of the battery and an external power supply in series;
and adjusting the real-time current until the target current corresponding to the actual voltage is equal to the actual voltage.
Optionally, the method further comprises:
the processor acquires the real-time current of the battery; the real-time current is obtained by collecting the current on a precision resistor by a current collecting circuit, and the precision resistor is connected between a connector of the battery and an external power supply in series;
and the processor acquires the charging voltage of the battery according to the real-time current and the current internal resistance of the battery, and switches to a battery protection mode when the difference value between the charging voltage and the actual voltage exceeds a preset difference value threshold value.
Optionally, the maximum value of the charging current in the first charging mode is the same as the minimum value of the charging current in the second charging mode.
According to a third aspect of the embodiments of the present disclosure, there is provided an electronic device including a power management module, the power management module including:
a processor;
a memory for storing the processor-executable instructions;
the processor is configured to execute executable instructions in the memory to implement the steps of the method described above.
According to a fourth aspect of embodiments of the present disclosure, there is provided a readable storage medium having stored thereon executable instructions that, when executed by a processor, implement the steps of the method described above.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
according to the embodiment, the voltage acquisition circuit is connected in parallel at the two ends of the battery cell in the battery, so that the actual voltages at the two ends of the battery cell can be detected, the voltage error can be reduced, the charging voltage of the battery exceeds the rated voltage, the battery is fully charged, and the endurance time is prolonged.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 is an equivalent circuit model of a battery in the related art.
Fig. 2 is a schematic diagram illustrating a connection relationship between a voltage acquisition circuit and a current acquisition circuit according to an exemplary embodiment.
FIG. 3 is a schematic diagram illustrating a power management module according to an example embodiment.
FIG. 4 is an equivalent circuit diagram illustrating stage one in accordance with an exemplary embodiment; fig. 4(a) is a schematic diagram of connection of each switching device, and fig. 4(b) is an equivalent circuit diagram.
FIG. 5 is an equivalent circuit diagram of stage two shown in accordance with an exemplary embodiment; fig. 5(a) is a schematic diagram of connection of each switching device, and fig. 5(b) is an equivalent circuit diagram.
Fig. 6-9 are block diagrams illustrating a charging method according to an exemplary embodiment.
FIG. 10 is a block diagram illustrating an electronic device in accordance with an example embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of devices consistent with certain aspects of the present disclosure as recited in the claims below.
Currently, in the process of charging a battery in an electronic device, the real-time voltage and current of the battery need to be detected, and the charging strategy needs to be further adjusted through the real-time voltage and/or current. Taking voltage detection as an example, the detection point of the battery voltage is usually a battery connector on the electronic device, the voltage detection circuit needs to be connected to the battery through the battery connector, a flexible circuit board (FPC) of the battery, and a battery protection board, and the flexible circuit board (FPC) of the battery, the battery protection board, and even the battery have certain impedance, so that the voltage detected by the voltage detection circuit on the battery connector is not accurate. Referring to fig. 1, as the charging current increases, the voltage difference caused by the parasitic circuit inside the battery also increases, and if the voltage is collected at the battery connector end, the actual voltage of the battery cell is lower than the rated voltage of the battery cell, so that the battery cannot be fully charged, and finally the battery is not durable, and the user experience is reduced.
In order to solve the above technical problem, an embodiment of the present disclosure provides an electronic device, which is configured to replace a voltage at a battery connector with a voltage across a battery cell in a battery, and then charge the battery based on a collected battery voltage. Therefore, the voltage error can be reduced in the embodiment of the disclosure, the charging voltage of the battery is favorably over the rated voltage, the battery is fully charged finally, and the endurance time is prolonged.
It should be noted that, for convenience of description, only some circuits or modules related to improvements of the electronic device and circuits or modules connected with the circuits or modules are described in the following embodiments. It is understood that, in order to protect the normal operation of these circuits or modules, some corresponding supporting circuits need to be provided for the electronic device, and are not described herein again.
FIG. 2 is a block diagram of an electronic device, shown in accordance with an exemplary embodiment, and referring to FIG. 2, an electronic device includes a processor, a battery, and a power management module; the power management module comprises a voltage acquisition circuit, the voltage acquisition circuit is connected in parallel at two ends of a battery core in the battery, and the processor is electrically connected with the power management module; the voltage acquisition circuit is used for acquiring actual voltages at two ends of the battery cell and sending the actual voltages to the processor; the processor is used for acquiring a mode selection signal according to the voltage and sending the mode selection signal to the power management module; the power management module is used for responding to the mode selection signal and charging the battery based on the mode corresponding to the mode selection signal. According to the embodiment of the disclosure, the actual voltages at two ends of the battery cell in the battery are detected, so that the voltage error can be reduced, the charging voltage of the battery is favorable for exceeding the rated voltage, the battery is fully charged, and the endurance time is prolonged
It should be noted that the resistance R1 and the capacitance C above the battery cell in fig. 2 represent the equivalent resistance and the equivalent capacitance between the battery connector and the battery cell, such as the FPC and the battery protection board, respectively.
It should be noted that, the specific structure or implementation form of the voltage acquisition circuit may refer to the related art, and is not limited herein.
With continued reference to fig. 2, a precision resistor R2 is also included in the electronic device, the precision resistor R2 being connected in series between the battery's connector and an external power source. The power management module also comprises a current acquisition circuit; the current acquisition circuit is connected in parallel at two ends of the precision resistor R2. In this way, the current acquisition circuit can acquire the real-time current in the precision resistor R2, and the real-time current is used for representing the charging current of the battery.
It should be noted that the resistance value of the precision resistor R2 can be set according to a specific scenario, such as several milliohms, and is not limited herein.
In this embodiment, the power management module may communicate with the processor via a communication bus (e.g., I2C bus) to obtain a mode selection signal sent by the processor, where the mode selection signal may instruct the power management module to charge the battery using one single-phase charge pump control circuit or two single-phase charge pump control circuits.
For example, a voltage acquisition circuit in the power management module acquires a real-time voltage of the battery cell, and then the power management module sends the real-time voltage to the processor through the communication bus. After the processor obtains the actual voltage, a preset first voltage threshold (for example, 40 ℃) is obtained, and the actual voltage and the first voltage threshold are compared to obtain the size relationship between the actual voltage and the first voltage threshold. The processor may send a first charging mode selection signal to the power management module to cause the power management module to charge the battery in the first charging mode when the actual voltage exceeds the first voltage threshold, or send a second charging mode selection signal to the power management module to cause the power management module to charge the battery in the second charging mode when the actual voltage is less than the first voltage threshold.
Referring to fig. 3, the battery management module further includes a digital control circuit, two single-phase charge pump control circuits. Wherein, the digital control circuit can control one or two single-phase charge pump control circuits to charge the battery. The charging of the battery is carried out in a first charging mode by adopting one single-phase charge pump control circuit, and the charging of the battery is carried out in a second charging mode by adopting two single-phase charge pump control circuits.
With continued reference to fig. 3, the single-phase charge pump control circuit includes a first switching device Q1, a second switching device Q2, a third switching device Q3, and a fourth switching device Q4; a first terminal of the first switching device Q1 is electrically connected to a power supply (VBUS), a second terminal of the first switching device Q1 is electrically connected to a first terminal of the second switching device Q2, and is electrically connected to a first terminal of an external first capacitor C1; a first terminal of the third switching device Q3 is electrically connected to a second terminal of the second switching device Q2, and to a first terminal of an external second capacitor C2, a second terminal of the second capacitor C2 being grounded; a first terminal of the fourth switching device Q4 is electrically connected with a second terminal of the third switching device Q3, and is electrically connected with a second terminal of the first capacitor C1; a second terminal of the fourth switching device Q4 is grounded; the first switching device Q1, the second switching device Q2, the third switching device Q3 and the fourth switching device Q4 controller are electrically connected with the digital control circuit, respectively.
The charging process is described below by taking the first charging mode as an example, and taking the single-phase charge pump control circuit (including the switching devices Q1-Q4) on the left side to charge the battery for one charging cycle as an example, with reference to fig. 3, 4 and 5, the charging process includes:
stage one
When the switching device Q1 and the switching device Q3 are closed and the switching devices Q2 and Q4 are open, the effect is as shown in fig. 4(a), the equivalent circuit is as shown in fig. 4(b), when the capacitor C1 and the capacitor C2 are in series relationship and the capacitor C2 is grounded.
Assuming that the capacitance values of the capacitor C1 and the capacitor C2 are the same, the voltage across the capacitor C2 is equal to the voltage across the capacitor C1, i.e., the voltage across the capacitor C2 is equal to half of the input voltage Vin.
In the process, the external power source Vin charges the capacitor C1 and the capacitor C2 at the same time, and the energy stored in the capacitor C1 is the same as that stored in the capacitor C2.
Stage two
When the switching device Q2 and the switching device Q4 are closed and the switching device Q1 and the switching device Q3 are opened, the effect is as shown in fig. 5(a), and the equivalent circuit is as shown in fig. 5(b), at which time the capacitor C1 and the capacitor C2 are changed from the series state to the parallel state.
Since the capacitor C1 and the capacitor C2 are in parallel, and the stored energy of the capacitor C1 and the stored energy of the capacitor C2 are the same, that is, VC1 — VC2 — Vout — 1/2 Vin.
At this stage, the energy stored in the capacitor C1 and the capacitor C2 is half of the input voltage according to the law of conservation of energy, but the output current is twice of the input current, so that the voltage is halved and the current is doubled.
In this embodiment, when the actual voltage is smaller than the first voltage threshold, that is, the battery is charged in the second charging mode, the power management module may further obtain the actual temperature of the rear case of the electronic device. Wherein, the actual temperature of the electronic device rear shell can be obtained by a temperature sensor arranged at the rear shell and sent to the processor. The processor then sends to the power management module via the communication bus.
In this embodiment, the power management module may determine the charging current of the battery according to the voltage of the battery and the actual temperature of the rear case, and when the actual temperature exceeds a preset temperature threshold (e.g., 40 degrees), the power management module charges the battery according to the first current; and when the actual temperature is smaller than the preset temperature threshold value, the power supply management module charges the battery according to the second current. For example, the first current may be 1C and the second current may be 2.0C to 0.8C.
Wherein 1C is the current when the battery is fully charged in one hour. For example, when the charge of the battery is 4000mAH, the charging current of 1C is 4A.
In an embodiment, taking the ideal voltage that the battery can bear as 4.5V as an example, the power management module may further adjust the charging current according to the distribution of the actual voltage of the battery, including:
the actual voltage of the battery is 3.6V-4.25V, and the charging target current is 2.0C;
the actual voltage of the battery is 4.25V-4.35V, and the charging target current is 1.5C;
the actual voltage of the battery is 4.35V-4.45V, and the charging target current is 1.3C;
the actual voltage of the battery is 4.45V-4.48V, and the charging target current is 0.8C.
In this embodiment, based on the charging policy, the power management module may determine the target current after acquiring the actual voltage of the battery or the actual voltage of the battery and the actual temperature of the rear case; and then acquiring the actual current acquired by the current acquisition circuit, and comparing the actual current with the target current. The digital control circuit may then adjust the duty cycle of the output signal to control the switching frequency of the switching device. When the switching frequency is increased, the actual current is increased, and when the switching frequency is decreased, the actual current is decreased, and the actual current is adjusted until the actual current becomes equal to the target current. In an embodiment, the digital control circuit may further perform negotiation with the power adapter, and the power adapter may increase or decrease the input power according to the negotiation result, so as to achieve the effect of increasing or decreasing the input power to the battery, and the corresponding scheme also falls within the protection scope of the present disclosure.
In the process of implementing the scheme of the present disclosure, the inventor of the present disclosure finds that, when charging is performed by using a charge pump method, the main power consumption of the power management module is the switching loss of the switching device itself, the magnitude of which is related to the switching frequency and the current magnitude in the switching device, and the capacitor itself has almost no loss. That is, in the case where the switching frequency is fixed, the switching loss of the switching device and the current magnitude have a relationship.
Based on the above principle, the inventors of the present disclosure have confirmed through a large number of experiments that the charging current of the first charging mode and the charging current of the second charging mode are 0.8C when the efficiencies are the same, that is, the charging current is 0.8C or more, and the efficiency of charging using the second charging mode (i.e., two single-phase charge pump control circuits) is higher; when the charging current is less than 0.8C, the charging efficiency is higher by adopting the first charging mode (i.e. one single-phase charge pump control circuit). Therefore, in this embodiment, when the battery voltage is less than 4.45V, the charging current is greater than 0.8C, and when the battery voltage is greater than 4.45V, the charging current is less than 0.8C. That is, the maximum value of the charging current in the first charging mode is the same as the minimum value of the charging current in the second charging mode. Therefore, the loss of the power management module can be kept in a lower state, the conversion efficiency is favorably improved, and the charging speed is accelerated.
In this embodiment, referring to fig. 3, the battery management module further includes temperature detection circuits (only one is shown in fig. 3) provided on each of the single-phase charge pump control circuits. The temperature detection circuit is used for detecting the real-time temperature of the single-phase charge pump control circuit and sending the real-time temperature to the digital control circuit; the digital control circuit is used for switching the single-phase charge pump control circuit for charging the battery when the real-time temperature exceeds a set threshold (such as 50 ℃), so that the temperature of a chip can be reduced, the switching device is guaranteed to work in a normal temperature range, and the charging efficiency is improved. Referring to fig. 3, the temperature detection circuit is electrically connected to the switching device Q4 and the switching device Q4 '(indicated by solid oval dots to simplify the circuit), and the digital control circuit can control the switching device Q4 or the switching device Q4' to be turned on or off, respectively, so as to ensure that the single-phase charge pump control circuit on the left side or the right side charges the battery.
In one scenario, the electronic device provided in this embodiment operates as follows: different charging currents are designed according to different voltage values of the battery and the temperature of the rear shell of the whole electronic equipment, if the voltage of the battery is below 4.45V and the temperature is below 40 ℃, the charging target current is 2.0C to 0.8C, and the charging is carried out in a double single-phase charge pump control circuit mode; if the temperature of the rear shell of the whole machine is higher than 40 ℃, but the battery voltage is below 4.45V, the charging is still carried out by adopting a double single-phase charge pump control circuit mode, and the charging target current is 1.0C. If the battery voltage is above 4.45V, the charging current is adjusted to be below 0.8C no matter what temperature is, and a single-phase charge pump control circuit mode is used for charging.
Meanwhile, in the power management module, each single-phase charge pump control circuit is internally provided with a temperature detection module, and once the temperature of the single-phase charge pump control circuit on one side is higher than 50 ℃, the single-phase charge pump control circuit on the other side can be switched to, so that the heat of the power management module is reduced, and the efficiency is improved. The switching of the dual single-phase charge pump control circuit and the single-phase charge pump control circuit is switched by a mode selection signal of the power management module, and the mode selection signal is sent by a processor of the electronic equipment.
In this embodiment, the processor may further obtain a real-time current of the battery, where the real-time current is obtained by the current collection circuit collecting a current on the precision resistor R2. The processor may then obtain the charging voltage of the battery based on the real-time current and the current internal resistance of the battery. Then, the processor can calculate the charging voltage of the battery and the actual voltage to obtain a difference value of the charging voltage and the actual voltage, compare the difference value of the charging voltage and the actual voltage with a difference threshold (such as 0.25), and when the difference value of the charging voltage and the actual voltage is smaller than the difference threshold, continue to charge according to the current mode; and when the difference value of the two exceeds the difference threshold value, switching to the battery holding mode. The battery holding mode may refer to the related art, and is not limited herein.
FIG. 6 is a flow chart illustrating a charging method according to an exemplary embodiment, an electronic device including a processor, a voltage acquisition circuit, a battery, and a power management module; the power management module comprises a voltage acquisition circuit, the voltage acquisition circuit is connected in parallel at two ends of a battery core in the battery, and the processor is electrically connected with the power management module; referring to fig. 6, a charging method includes:
601, acquiring a mode selection signal sent by a processor, wherein the mode selection signal is acquired by the processor according to the actual voltage of a battery core in the battery and a preset first voltage threshold;
and 602, selecting a corresponding mode according to the mode selection signal to charge the battery.
In one embodiment, selecting the corresponding mode to charge the battery according to the mode selection signal includes:
when the mode selection signal is a first charging mode selection signal, charging the battery by adopting a first charging mode; a first charging mode selection signal is generated by the processor when the actual voltage exceeds a first voltage threshold;
when the mode selection signal is a second charging mode selection signal, charging the battery by adopting a second charging mode; the second charging mode selection signal is generated by the processor when the actual voltage is less than the first voltage threshold.
Fig. 7 is a flowchart illustrating another charging method according to an exemplary embodiment, and referring to fig. 8, on the basis of the charging method illustrated in fig. 6, the method further includes:
701, acquiring the actual temperature of the rear shell of the electronic equipment when the actual voltage is smaller than a first voltage threshold;
702, charging the battery according to a first current when the actual temperature exceeds a preset temperature threshold; and when the actual temperature is smaller than the preset temperature threshold value, the power supply management module charges the battery according to the second current.
Fig. 8 is a flowchart illustrating another charging method according to an exemplary embodiment, and referring to fig. 9, the method further includes, on the basis of the charging method illustrated in fig. 6:
801, acquiring real-time current of a battery; the real-time current is obtained by collecting the current on a precision resistor by a current collecting circuit, and the precision resistor is connected between a connector of the battery and an external power supply in series;
and 802, adjusting the real-time current until the target current corresponding to the actual voltage is equal.
Fig. 9 is a flowchart illustrating another charging method according to an exemplary embodiment, and referring to fig. 9, on the basis of the charging method illustrated in fig. 6, in an embodiment, the method further includes:
901, acquiring real-time current of a battery by a processor; the real-time current is obtained by collecting the current on a precision resistor by a current collecting circuit, and the precision resistor is connected between a connector of the battery and an external power supply in series;
and 902, acquiring the charging voltage of the battery by the processor according to the real-time current and the current internal resistance of the battery, and switching to a battery protection mode when the difference value between the charging voltage and the actual voltage exceeds a preset difference value threshold value.
In one embodiment, the maximum value of the charging current in the first charging mode is the same as the minimum value of the charging current in the second charging mode.
It should be noted that the charging method shown in this embodiment has been described in detail in the working process of the electronic device shown in fig. 2 to 5, and reference may be made to the content of the electronic device, which is not described herein again.
FIG. 10 is a block diagram illustrating an electronic device in accordance with an example embodiment. For example, the electronic device 1000 may be a smart phone, a computer, a digital broadcast terminal, a tablet device, a medical device, a fitness device, a personal digital assistant, etc., that includes the circuitry shown in fig. 2-5.
Referring to fig. 10, electronic device 1000 may include one or more of the following components: processing component 1002, memory 1004, power component 1006, multimedia component 1008, audio component 1010, input/output (I/O) interface 1012, sensor component 1014, communication component 1016, and image capture component 1018.
The processing component 1002 generally operates the electronic device 1000 as a whole, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing components 1002 may include one or more processors 1020 to execute instructions. Further, processing component 1002 may include one or more modules that facilitate interaction between processing component 1002 and other components. For example, the processing component 1002 may include a multimedia module to facilitate interaction between the multimedia component 1008 and the processing component 1002.
The memory 1004 is configured to store various types of data to support operations at the electronic device 1000. Examples of such data include instructions for any application or method operating on the electronic device 1000, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 1004 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
The power supply component 1006 provides power to the various components of the electronic device 1000. The power components 1006 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the electronic device 1000.
The multimedia component 1008 includes a screen that provides an output interface between the electronic device 1000 and the target object. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a target object. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation.
The audio component 1010 is configured to output and/or input audio signals. For example, the audio component 1010 may include a Microphone (MIC) configured to receive external audio signals when the electronic device 1000 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal may further be stored in the memory 1004 or transmitted via the communication component 1016. In some embodiments, audio component 1010 also includes a speaker for outputting audio signals.
I/O interface 1012 provides an interface between processing component 1002 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc.
The sensor assembly 1014 includes one or more sensors for providing various aspects of status assessment for the electronic device 1000. For example, the sensor assembly 1014 may detect an open/closed state of the electronic device 1000, a relative positioning of components, such as a display and keypad of the electronic device 1000, a change in position of the electronic device 1000 or a component, a presence or absence of a target object in contact with the electronic device 1000, an orientation or acceleration/deceleration of the electronic device 1000, and a change in temperature of the electronic device 1000.
The communication component 1016 is configured to facilitate wired or wireless communication between the electronic device 1000 and other devices. The electronic device 1000 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 1016 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communications component 1016 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the electronic device 1000 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors, or other electronic components.
In an exemplary embodiment, a non-transitory readable storage medium including executable instructions, such as the memory 1004 including instructions, that are executable by the processor 1020 of the electronic device 1000 is also provided. The readable storage medium may be, among others, ROM, Random Access Memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, and the like.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of the embodiments discussed above that follow in general the principles of the disclosure and include such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims (12)
1. An electronic device comprising a processor, a battery, and a power management module; the power management module comprises a voltage acquisition circuit, the voltage acquisition circuit is connected in parallel with two ends of a battery core in the battery, and the processor is electrically connected with the power management module; wherein,
the voltage acquisition circuit is used for acquiring actual voltages at two ends of the battery cell and sending the actual voltages to the processor; the processor is used for acquiring a mode selection signal according to the voltage and sending the mode selection signal to the power management module; the power management module is used for responding to the mode selection signal and charging the battery based on the mode corresponding to the mode selection signal.
2. The electronic device of claim 1, further comprising a precision resistor, the power management module further comprising a current acquisition circuit; the precision resistor is connected between a connector of the battery and an external power supply in series, and the current acquisition circuit is connected to two ends of the precision resistor in parallel; wherein,
the current acquisition circuit is used for acquiring real-time current in the precision resistor, and the real-time current is used for representing the charging current of the battery.
3. The electronic device of claim 1, wherein the power management module comprises a digital control circuit, two single-phase charge pump control circuits, and a temperature detection circuit disposed on each single-phase charge pump control circuit;
the temperature detection circuit is used for detecting the real-time temperature of the single-phase charge pump control circuit and sending the real-time temperature to the digital control circuit; the digital control circuit is used for switching a single-phase charge pump control circuit for charging the battery when the real-time temperature exceeds a set threshold value.
4. The electronic device of claim 3, wherein the single-phase charge pump control circuit comprises a first switching device, a second switching device, a third switching device, and a fourth switching device; the first end of the first switching device is electrically connected with a power supply, and the second end of the first switching device is electrically connected with the first end of the second switching device and is electrically connected with the first end of an external first capacitor; the first end of the third switching device is electrically connected with the second end of the second switching device and is electrically connected with the first end of an external second capacitor, and the second end of the second capacitor is grounded; a first terminal of the fourth switching device is electrically connected with a second terminal of the third switching device and electrically connected with a second terminal of the first capacitor; a second terminal of the fourth switching device is grounded; the controllers of the first switching device, the second switching device, the third switching device and the fourth switching device are respectively electrically connected with the digital control circuit.
5. A charging method is characterized in that electronic equipment comprises a processor, a voltage acquisition circuit, a battery and a power management module; the power management module comprises a voltage acquisition circuit, the voltage acquisition circuit is connected in parallel with two ends of a battery core in the battery, and the processor is electrically connected with the power management module; the method comprises the following steps:
acquiring a mode selection signal sent by the processor, wherein the mode selection signal is acquired by the processor according to the actual voltage of the battery core in the battery and a preset first voltage threshold;
and selecting a corresponding mode according to the mode selection signal to charge the battery.
6. The charging method of claim 5, wherein selecting the corresponding mode to charge the battery according to the mode selection signal comprises:
when the mode selection signal is a first charging mode selection signal, charging the battery by adopting a first charging mode; the first charging mode selection signal is generated by the processor when the actual voltage exceeds the first voltage threshold;
when the mode selection signal is a second charging mode selection signal, charging the battery by adopting a second charging mode; the second charging mode selection signal is generated by the processor when the actual voltage is less than the first voltage threshold.
7. The charging method according to claim 6, characterized in that the method further comprises:
when the actual voltage is smaller than the first voltage threshold, acquiring the actual temperature of the rear shell of the electronic equipment;
when the actual temperature exceeds a preset temperature threshold, charging the battery according to a first current; and when the actual temperature is smaller than the preset temperature threshold value, the power supply management module charges the battery according to a second current.
8. The charging method according to claim 5, characterized in that the method further comprises:
acquiring the real-time current of the battery; the real-time current is obtained by collecting the current on a precision resistor by a current collecting circuit, and the precision resistor is connected between a connector of the battery and an external power supply in series;
and adjusting the real-time current until the target current corresponding to the actual voltage is equal to the actual voltage.
9. The charging method according to claim 5, characterized in that the method further comprises:
the processor acquires the real-time current of the battery; the real-time current is obtained by collecting the current on a precision resistor by a current collecting circuit, and the precision resistor is connected between a connector of the battery and an external power supply in series;
and the processor acquires the charging voltage of the battery according to the real-time current and the current internal resistance of the battery, and switches to a battery protection mode when the difference value between the charging voltage and the actual voltage exceeds a preset difference value threshold value.
10. The charging method according to claim 5, wherein a maximum value of the charging current in the first charging mode is the same as a minimum value of the charging current in the second charging mode.
11. An electronic device, comprising a power management module, the power management module comprising:
a processor;
a memory for storing the processor-executable instructions;
the processor is configured to execute the executable instructions in the memory to implement the steps of the method of any one of claims 5 to 10.
12. A readable storage medium having stored thereon executable instructions, wherein the executable instructions when executed by a processor implement the steps of the method of any one of claims 5 to 10.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911165827.7A CN112838626A (en) | 2019-11-25 | 2019-11-25 | Electronic device, charging method thereof and readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911165827.7A CN112838626A (en) | 2019-11-25 | 2019-11-25 | Electronic device, charging method thereof and readable storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN112838626A true CN112838626A (en) | 2021-05-25 |
Family
ID=75922240
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911165827.7A Pending CN112838626A (en) | 2019-11-25 | 2019-11-25 | Electronic device, charging method thereof and readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112838626A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113224822A (en) * | 2021-05-26 | 2021-08-06 | 北京小米移动软件有限公司 | Charging control method and device and storage medium |
CN113765178A (en) * | 2021-08-03 | 2021-12-07 | 惠州Tcl云创科技有限公司 | A method for dynamically switching charging mode and related equipment |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106463792A (en) * | 2016-05-27 | 2017-02-22 | 广东欧珀移动通信有限公司 | Battery protection board, battery and mobile terminal |
CN107980191A (en) * | 2016-12-12 | 2018-05-01 | 深圳市柔宇科技有限公司 | Electronic device and its charge control method |
CN108233454A (en) * | 2017-07-31 | 2018-06-29 | 珠海市魅族科技有限公司 | A kind of wireless charging circuit, system, method and electronic equipment |
WO2018129977A1 (en) * | 2017-01-13 | 2018-07-19 | 广东欧珀移动通信有限公司 | Charging control method and apparatus, storage medium, and computer device |
CN108988426A (en) * | 2018-07-27 | 2018-12-11 | 北京小米移动软件有限公司 | charging circuit, terminal and charging method |
CN109066884A (en) * | 2018-09-03 | 2018-12-21 | Oppo广东移动通信有限公司 | charging circuit and electronic device |
CN110474391A (en) * | 2019-08-09 | 2019-11-19 | Oppo广东移动通信有限公司 | Charging circuit and electronic equipment |
-
2019
- 2019-11-25 CN CN201911165827.7A patent/CN112838626A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106463792A (en) * | 2016-05-27 | 2017-02-22 | 广东欧珀移动通信有限公司 | Battery protection board, battery and mobile terminal |
CN107980191A (en) * | 2016-12-12 | 2018-05-01 | 深圳市柔宇科技有限公司 | Electronic device and its charge control method |
WO2018129977A1 (en) * | 2017-01-13 | 2018-07-19 | 广东欧珀移动通信有限公司 | Charging control method and apparatus, storage medium, and computer device |
CN108233454A (en) * | 2017-07-31 | 2018-06-29 | 珠海市魅族科技有限公司 | A kind of wireless charging circuit, system, method and electronic equipment |
CN108988426A (en) * | 2018-07-27 | 2018-12-11 | 北京小米移动软件有限公司 | charging circuit, terminal and charging method |
CN109066884A (en) * | 2018-09-03 | 2018-12-21 | Oppo广东移动通信有限公司 | charging circuit and electronic device |
CN110474391A (en) * | 2019-08-09 | 2019-11-19 | Oppo广东移动通信有限公司 | Charging circuit and electronic equipment |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113224822A (en) * | 2021-05-26 | 2021-08-06 | 北京小米移动软件有限公司 | Charging control method and device and storage medium |
CN113224822B (en) * | 2021-05-26 | 2024-04-26 | 北京小米移动软件有限公司 | Charging control method, device and storage medium |
CN113765178A (en) * | 2021-08-03 | 2021-12-07 | 惠州Tcl云创科技有限公司 | A method for dynamically switching charging mode and related equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112448050B (en) | Charging method and charging device for lithium ion battery | |
US11264813B2 (en) | Charging circuit, terminal and charging method | |
CN108964182B (en) | Reverse charging equipment, and method and device for adjusting reverse charging current | |
CN112928787B (en) | Charging circuit, electronic device, charging control method and device | |
EP3579375B1 (en) | Charging method, charging device and terminal | |
CN108631401B (en) | Charging circuit, method, electronic device and storage medium | |
CN113078696B (en) | Electronic device, charging method and device thereof, and readable storage medium | |
KR20210049709A (en) | Battery charging method, battery charging device and storage medium | |
CN112421702B (en) | Lithium battery charging method and device | |
CN113036710A (en) | Method and device for acquiring battery state, battery, electronic equipment and storage medium | |
CN113555917B (en) | Electronic device and charging method thereof, and readable storage medium | |
CN112838626A (en) | Electronic device, charging method thereof and readable storage medium | |
US11205906B2 (en) | Charging processing method, terminal device and storage medium | |
CN106856339A (en) | Charging method, device and electronic equipment | |
CN104917238B (en) | Method, device and smart machine that control device is powered | |
CN113451669A (en) | Charging method and device, electronic device and storage medium | |
CN112448039B (en) | Lithium ion battery and lithium ion battery charging and discharging control method and device | |
CN117335512A (en) | Charging and discharging circuit, charging and discharging battery and electronic equipment | |
CN111371156B (en) | Charging circuit, charging control method and device, electronic device, and storage medium | |
CN113346564A (en) | Power management chip control method and device and terminal equipment | |
CN219181210U (en) | Charging circuit and electronic equipment | |
CN216904279U (en) | Discharge protection circuit and battery pack | |
EP4037127B1 (en) | Charging method and device, terminal, and storage medium | |
CN116169732A (en) | Control circuit, circuit control method, device, terminal and storage medium | |
CN120222643A (en) | Charging circuit, charging chip and electronic device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |