CN113013935A - Control method and system of power supply device, terminal equipment and storage medium - Google Patents

Control method and system of power supply device, terminal equipment and storage medium Download PDF

Info

Publication number
CN113013935A
CN113013935A CN201911327975.4A CN201911327975A CN113013935A CN 113013935 A CN113013935 A CN 113013935A CN 201911327975 A CN201911327975 A CN 201911327975A CN 113013935 A CN113013935 A CN 113013935A
Authority
CN
China
Prior art keywords
battery
electric quantity
charging
power supply
main battery
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
Application number
CN201911327975.4A
Other languages
Chinese (zh)
Inventor
付晓超
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huizhou BYD Electronic Co Ltd
Original Assignee
Huizhou BYD Electronic Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Huizhou BYD Electronic Co Ltd filed Critical Huizhou BYD Electronic Co Ltd
Priority to CN201911327975.4A priority Critical patent/CN113013935A/en
Publication of CN113013935A publication Critical patent/CN113013935A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/0013Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries acting upon several batteries simultaneously or sequentially

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)
  • Secondary Cells (AREA)

Abstract

The application discloses a control method and a system of a power supply device, a terminal device and a storage medium, wherein the control method comprises the following steps: when the power supply device is connected with a charging power supply, the electric quantity values of the main battery and the standby battery are obtained; and determining a current battery charging mode from a plurality of preset battery charging modes according to the electric quantity values of the main battery and the backup battery, and controlling the charging power supply to charge the main battery and the backup battery according to the current battery charging mode. According to the control method and system of the power supply device, the terminal equipment and the storage medium, the plurality of battery charging modes are set, when the power supply device is connected into the charging power supply, the current battery charging mode is determined from the plurality of battery charging modes according to the electric quantity values of the main battery and the standby battery, and the main battery and the standby battery are charged according to the current charging mode, so that the charging modes of the charging power supply to the power supply device are enriched, and the charging efficiency of the charging power supply to the power supply device is improved.

Description

Control method and system of power supply device, terminal equipment and storage medium
Technical Field
The present invention relates to the field of power supply devices, and in particular, to the field of terminal device technologies, and in particular, to a method and a system for controlling a power supply device, a terminal device, and a storage medium.
Background
At present, the terminal equipment on the market generally provides the electric energy required by the terminal equipment to operate by the terminal equipment through a power supply device. In order to improve the cruising ability of the terminal device, the conventional power supply device is generally provided with a main battery and a backup battery which respectively supply power to the terminal device, wherein the terminal device is charged by the backup battery after the electric quantity of the main battery is used up.
When the charging power supply is connected to the power supply device to charge the main battery and the standby battery, the charging mode of the charging power supply to the power supply device is as follows: charging the main battery and the backup battery simultaneously. However, the charging mode of the charging power supply to the power supply device is relatively single, which results in the decrease of the charging efficiency of the charging power supply to the power supply device.
Disclosure of Invention
In view of the above-mentioned drawbacks and deficiencies of the prior art, it is desirable to provide a method and system for controlling a power supply device, a terminal device, and a storage medium.
In a first aspect, the present application provides a method for controlling a power supply apparatus, where the power supply apparatus includes a main battery and a backup battery, and the method includes:
when the power supply device is connected with a charging power supply, the electric quantity values of the main battery and the standby battery are obtained;
and determining a current battery charging mode from a plurality of preset battery charging modes according to the electric quantity values of the main battery and the backup battery, and controlling the charging power supply to charge the main battery and the backup battery according to the current battery charging mode.
Further, the plurality of battery charging modes includes a first battery charging mode, the first battery charging mode being: firstly, charging the main battery and then charging the standby battery; when the electric quantity value of the main battery is lower than a preset first electric quantity threshold value or when the electric quantity value of the main battery is higher than the first electric quantity threshold value and the electric quantity value of the standby battery is higher than a preset second electric quantity threshold value, the current battery charging mode is a first battery charging mode;
and/or the plurality of battery charging modes include a second battery charging mode, the second battery charging mode being: firstly, charging the standby battery and then charging the main battery; when the electric quantity value of the main battery is above the first electric quantity threshold value and the electric quantity value of the standby battery is lower than a preset second electric quantity threshold value, the current battery charging mode is a second battery charging mode.
Further, the plurality of battery charging modes includes a third battery charging mode, the third battery charging mode being: simultaneously charging the main battery and the standby battery until the main battery and the standby battery are charged; when the electric quantity value of the main battery is above a preset first electric quantity threshold value and the electric quantity value of the main battery is the same as the electric quantity value of the standby battery, the current battery charging mode is a third battery charging mode.
Further, the control method further comprises:
when the power supply device is not connected with a charging power supply, acquiring the electric quantity value of the main battery;
and judging whether the electric quantity value of the main battery is lower than a preset third electric quantity threshold value or not, and controlling the standby battery to charge the main battery when the electric quantity value of the main battery is lower than the third electric quantity threshold value.
Further, the backup battery includes a plurality of sub-batteries, and controlling the backup battery to charge the main battery includes:
and sequentially controlling the corresponding sub-batteries to charge the main battery according to a preset charging sequence.
In a second aspect, the present application further provides a control system of a power supply device, where the power supply device includes a main battery and a backup battery, and the control system includes:
the acquisition unit is used for acquiring the electric quantity values of the main battery and the standby battery when the power supply device is connected to the charging power supply;
the device comprises a determining unit, a judging unit and a judging unit, wherein the determining unit is used for determining a current battery charging mode from a plurality of preset battery charging modes according to the electric quantity values of a main battery and a standby battery;
and the processing unit is used for controlling the charging power supply to charge the main battery and the standby battery according to the current battery charging mode.
Further, the plurality of battery charging modes include a first battery charging mode and/or a second battery charging mode, the first battery charging mode is: firstly, the main battery is charged, and then the standby battery is charged, wherein the second battery charging mode is as follows: firstly, charging the standby battery and then charging the main battery;
the determination unit includes:
the judging module is used for judging whether the electric quantity value of the main battery is lower than a preset first electric quantity threshold value or not and judging whether the electric quantity value of the standby battery is higher than a preset second electric quantity threshold value or not;
the determining module is used for determining that the current battery charging mode is the first battery charging mode when the electric quantity value of the main battery is lower than a first electric quantity threshold value or when the electric quantity value of the main battery is higher than the first electric quantity threshold value and the electric quantity value of the standby battery is higher than a second electric quantity threshold value; and/or, determining that the current battery charging mode is the second battery charging mode when the electric quantity value of the main battery is above the first electric quantity threshold and the electric quantity value of the backup battery is below the second electric quantity threshold.
Further, the plurality of battery charging modes includes a third battery charging mode, the third battery charging mode being: simultaneously charging the main battery and the standby battery until the main battery and the standby battery are charged;
the determination unit includes:
the judging module is used for judging whether the electric quantity value of the main battery is above a preset first electric quantity threshold value and judging whether the electric quantity value of the main battery is the same as the electric quantity value of the standby battery;
and the determining module is used for determining that the current battery charging mode is the third battery charging mode when the electric quantity value of the main battery is above the first electric quantity threshold and the electric quantity value of the main battery is the same as the electric quantity value of the standby battery.
Furthermore, the obtaining unit is also used for obtaining the electric quantity value of the main battery when the power supply device is not connected with the charging power supply;
the control system further comprises a judging unit for judging whether the electric quantity value of the main battery is lower than a preset third electric quantity threshold value;
the processing unit is also used for controlling the backup battery to charge the main battery when the electric quantity value of the main battery is lower than a third electric quantity threshold value.
Further, the backup battery comprises a plurality of sub-batteries, and the processing unit is used for sequentially controlling the corresponding sub-batteries to charge the main battery according to a preset charging sequence.
In a third aspect, the present application further provides a terminal device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and when the processor executes the computer program, the control method is implemented.
In a fourth aspect, the present application also provides a computer-readable storage medium having a computer program stored thereon, the computer program, when executed by a processor, implementing the control method described above.
The application provides a control method and a system of a power supply device of the power supply device, a terminal device and a storage medium, wherein a plurality of battery charging modes are set, when the power supply device is connected into a charging power supply, the current battery charging mode is determined from the plurality of battery charging modes according to the electric quantity values of a main battery and a standby battery, and the main battery and the standby battery are charged according to the current charging mode, so that the charging modes of the charging power supply to the power supply device are enriched, and the proper battery charging modes can be matched according to the electric quantity values of the main battery and the standby battery so as to improve the charging efficiency of the charging power supply to the power supply device.
Drawings
Other features, objects and advantages of the present application will become more apparent upon reading of the following detailed description of non-limiting embodiments thereof, made with reference to the accompanying drawings in which:
fig. 1 is a flowchart of a control method of a power supply device according to an embodiment of the present disclosure;
fig. 2 is a block diagram of a control system of a power supply device according to an embodiment of the present disclosure;
fig. 3 is a schematic structural diagram of a computer device according to an embodiment of the present application.
Detailed Description
The present application will be described in further detail with reference to the following drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the relevant invention and not restrictive of the invention. It should be noted that, for convenience of description, only the portions related to the present invention are shown in the drawings.
The power supply device is used for supplying electric energy required by operation to the terminal equipment with the power supply device. Both the main battery 100 and the auxiliary battery 200 in the power supply device may be batteries having a charging function, and the main battery 100 and the auxiliary battery 200 are, for example, but not limited to, lithium batteries, etc. The charging power supply can be a power adapter or a mobile power supply such as a charger. The terminal devices include, but are not limited to, mobile phones, notebooks, tablet computers, POS machines, and the like. Of course, the application object of the power supply device is not limited to the terminal device, and may be applied to other devices requiring power supply, for example.
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict. The present application will be described in detail below with reference to the embodiments with reference to the attached drawings.
Referring to fig. 1, the present application provides a method for controlling a power supply apparatus, the power supply apparatus includes a main battery 100 and a backup battery 200, and the method includes:
step S10: when the power supply device is connected to a charging power supply, the electric quantity values of the main battery 100 and the backup battery 200 are obtained;
step S20: and determining a current battery charging mode from a plurality of preset battery charging modes according to the electric quantity values of the main battery 100 and the backup battery 200, and controlling the charging power supply to charge the main battery 100 and the backup battery 200 according to the current battery charging mode.
In the present embodiment, when the charging power supply is connected to the power supply device, the charging power supply can be used to charge the main battery 100 and the backup battery 200 in the power supply device. The battery charging mode is a charging mode of the charging power source to the main battery 100 and the backup battery 200, and includes at least a charging sequence of the charging power source to the main battery 100 and the backup battery 200, and the like. When the power supply device is connected to a charging power supply, the electric quantity values of the main battery 100 and the backup battery 200 are obtained, then the current battery charging mode is determined from a plurality of battery charging modes according to the electric quantity values of the main battery 100 and the backup battery 200, and then the charging power supply is controlled to charge the main battery 100 and the backup battery 200 according to the determined current battery charging mode.
When the power supply device is connected to the charging power source, there are various situations of the electric quantity values of the main battery 100 and the backup battery 200 in the power supply device, that is, there are various situations of the electric quantity value of the power supply device. In this embodiment, by setting a plurality of battery charging modes to respectively match the charging modes of the charging power source to the power supply device with different electric quantity values, not only are the charging modes of the charging power source to the power supply device enriched, but also the charging efficiency of the charging power source to the power supply device can be improved by matching the appropriate battery charging modes according to the electric quantity values of the main battery 100 and the backup battery 200 in the power supply device.
It should be understood that the charging power supply should ensure that the charging power supply maintains a normal power supply state during the charging of the main battery 100 and the auxiliary battery 200 to avoid the situation that the charging power supply cannot complete the charging of the main battery 100 and the auxiliary battery 200. If the charging power supply fails to continue charging or the power supply unit is pulled out when the charging of the main battery 100 and the backup battery 200 is not completed, the step of controlling the charging power supply to charge the main battery 100 and the backup battery 200 according to the current battery charging mode is stopped. When the power supply device is connected to the charging power supply again, the steps in the embodiment are executed again.
In some preferred embodiments, the plurality of battery charging modes includes a first battery charging mode, the first battery charging mode being: firstly, charging the main battery 100 and then charging the standby battery 200; when the electric quantity value of the main battery 100 is lower than a preset first electric quantity threshold value or when the electric quantity value of the main battery 100 is higher than the first electric quantity threshold value and the electric quantity value of the backup battery 200 is higher than a preset second electric quantity threshold value, the current battery charging mode is a first battery charging mode;
and/or the plurality of battery charging modes include a second battery charging mode, the second battery charging mode being: charging of the backup battery 200 is completed first, and then charging of the main battery 100 is completed; when the electric quantity value of the main battery 100 is above the first electric quantity threshold and the electric quantity value of the backup battery 200 is lower than a preset second electric quantity threshold, the current battery charging mode is the second battery charging mode.
In the present embodiment, the plurality of battery charging modes includes a first battery charging mode and/or a second battery charging mode. The first battery charging mode is: the charging of the main battery 100 is completed first, and then the charging of the auxiliary battery 200 is completed. The second battery charging mode is: the charging of the backup battery 200 is completed first, and then the charging of the main battery 100 is completed.
After the electric charge values of the main battery 100 and the backup battery 200 are acquired, when the electric charge value of the main battery 100 is lower than a preset first electric charge threshold, the current battery charging mode determined from the plurality of battery charging modes is the first battery charging mode. When the electric quantity value of the main battery 100 is above the first electric quantity threshold value and the electric quantity value of the auxiliary battery 200 is above a preset second electric quantity threshold value, the current battery charging mode determined from the plurality of battery charging modes is also the first battery charging mode. When the electric quantity value of the main battery 100 is above the first electric quantity threshold and the electric quantity value of the auxiliary battery 200 is below a preset second electric quantity threshold, the current battery charging mode determined from the plurality of battery charging modes is a second battery charging mode.
The controlling the charging power supply to charge the main battery 100 and the backup battery 200 according to the first battery charging mode specifically includes: the charging power supply is controlled to charge the main battery 100, and after the charging power supply finishes charging the main battery 100, the backup battery 200 is charged until the charging is finished. Controlling the charging power supply to charge the main battery 100 and the backup battery 200 according to the second battery charging mode specifically includes: the charging power supply is controlled to charge the backup battery 200 first, and after the charging power supply finishes charging the backup battery 200, the main battery 100 is charged until the charging is finished.
The range of the first charge threshold value is, for example, but not limited to, 20% or more and less than 100% of the rated capacity value of the main battery 100, and the first charge threshold value is, for example, 60%, 75%, 80%, or the like of the rated capacity value of the main battery 100. The second charge threshold value is, for example, but not limited to, a range of 5% to 60% of the rated capacity value of the main battery 100, and is, for example, 20%, 35%, 40%, etc. of the rated capacity value of the main battery 100.
In the embodiment, when the electric quantity value of the main battery 100 is lower than the first electric quantity threshold, or when the electric quantity value of the main battery 100 is higher than the first electric quantity threshold and the electric quantity value of the backup battery 200 is higher than the second electric quantity threshold, the charging power supply is controlled to preferentially complete charging of the main battery 100, and when the electric quantity value of the main battery 100 is higher than the first electric quantity threshold and the electric quantity value of the backup battery 200 is lower than the preset second electric quantity threshold, the charging power supply is controlled to preferentially complete charging of the backup battery 200, so that not only are the matching of suitable charging modes of the power supply device for different use cases realized, and the charging efficiency of the charging power supply to the power supply device improved, but also the main battery 100 can be preferably guaranteed to obtain enough electric quantity under the condition that the charging time of the charging.
It should be understood that the main battery 100 in the power supply apparatus may be a main power supplier for the terminal device, or may be a sole power supplier for the terminal device. In the former case, both the main battery 100 and the auxiliary battery 200 may supply power to the terminal device separately. In the latter case, the backup battery 200 supplies power to the main battery 100, and the main battery 100 supplies power to the terminal device. Further, the completion of charging of the main battery 100 in the present application can be understood as: the charge of the main battery 100 is charged to a first completion value, which is greater than a first charge threshold. The first completion value is, for example, but not limited to, a rated capacity value of the main battery 100. Similarly, the completion of charging the backup battery 200 in this application can be understood as: the charge level of the backup battery 200 is charged to a second completion value, which is greater than a second charge level threshold. The second completion value is, for example, but not limited to, the rated capacity value of the backup battery 200.
In some preferred embodiments, the plurality of battery charging modes includes a third battery charging mode, the third battery charging mode being: simultaneously charging the main battery 100 and the backup battery 200 until the charging of the main battery 100 and the backup battery 200 is completed; when the electric quantity value of the main battery 100 is greater than or equal to the preset first electric quantity threshold value and the electric quantity value of the main battery 100 is equal to the electric quantity value of the backup battery 200, the current battery charging mode is a third battery charging mode, and the first electric quantity threshold value is greater than the second electric quantity threshold value.
In the present embodiment, after the electric charge values of the main battery 100 and the backup battery 200 are obtained, when the electric charge value of the main battery 100 is greater than or equal to the preset first electric charge threshold and the electric charge value of the main battery 100 is equal to the electric charge value of the backup battery 200, the current battery charging mode determined from the plurality of battery charging modes is the third battery charging mode.
The controlling the charging power supply to charge the main battery 100 and the backup battery 200 according to the third battery charging mode specifically includes: the charging power source is controlled to simultaneously charge the main battery 100 and the auxiliary battery 200 until the charging of the main battery 100 and the auxiliary battery 200 is completed. In the embodiment, since the electric quantity value of the main battery 100 is greater than or equal to the preset first electric quantity threshold and the electric quantities of the main battery 100 and the backup battery 200 are the same, which indicates that the electric quantities of the main battery 100 and the backup battery 200 are both large, the control method can be optimized by simultaneously charging the main battery 100 and the backup battery 200, so as to simplify the charging control process.
In addition, after the electric charge values of the main battery 100 and the auxiliary battery 200 are obtained, when the electric charge value of the main battery 100 is above a first electric charge threshold value and the electric charge value of the auxiliary battery 200 is above a preset second electric charge threshold value and is different from the electric charge value of the main battery 100, the current battery charging mode determined from the plurality of battery charging modes is the first battery charging mode.
In some preferred embodiments, the control method further comprises:
when the power supply device is not connected to a charging power supply, acquiring the electric quantity value of the main battery 100;
and judging whether the electric quantity value of the main battery 100 is lower than a preset third electric quantity threshold value, and controlling the backup battery 200 to charge the main battery 100 when the electric quantity value of the main battery 100 is lower than the third electric quantity threshold value.
In this embodiment, when the power supply device is not connected to the charging power source, the electric quantity value of the main battery 100 is first obtained, and then it is determined whether the electric quantity value of the main battery 100 is lower than a preset third electric quantity threshold. When the electric quantity value of the main battery 100 is above the third electric quantity threshold, it indicates that the main battery 100 can still provide a certain electric quantity to the terminal device to maintain the operation of the terminal device; when the electric quantity value of the main battery 100 is lower than the third electric quantity threshold, which indicates that the remaining electric quantity of the main battery 100 is low, the main battery 100 is charged by turning on the backup battery 200 to increase the electric quantity of the main battery 100. Since the main battery 100 is used for supplying power to the terminal device, when the electric quantity of the main battery 100 is increased, the endurance of the terminal device can be increased. Meanwhile, in the embodiment, the standby battery 200 is adopted to directly charge the main battery 100 when the electric quantity of the main battery 100 is lower than the third electric quantity threshold value, so that the terminal device does not need to be powered off when the power supply device uses the electric energy of the standby battery 200, and the use body feeling of the user on the aspect of endurance time of the terminal device is improved. In addition, the existing charging mode for the main battery 100 in the power supply device is only a power adapter, a portable power source such as a charger, and the like, and in the embodiment, the main battery 100 is charged through the backup battery 200, so that the existing charging mode for charging the main battery 100 in the power supply device is broken, and the charging mode for the main battery 100 in the power supply device is enriched.
It should be appreciated that the third charge threshold may range, for example and without limitation, from 2% to 30% of the rated capacity of the main battery 100. For example, the third charge threshold is 10% or 20% of the rated capacity of the main battery 100, etc.
In some preferred embodiments, the backup battery 200 includes a plurality of sub-batteries, and controlling the backup battery 200 to charge the main battery 100 includes: and sequentially controlling the corresponding sub-batteries to charge the main battery 100 according to a preset charging sequence.
In the present embodiment, the backup battery 200 includes a plurality of sub-batteries, each of which is capable of charging the main battery 100. The plurality of sub-batteries sequentially charge the main battery 100 according to a preset charging sequence, specifically: when the backup battery 200 is required to charge the main battery 100 each time, the first sub-battery in the charging sequence is first turned on to charge the main battery 100, if the charge of the sub-battery is decreased to a preset value, the next sub-battery in the charging sequence is turned on to charge the main battery 100, and so on until the charging of the main battery 100 is completed. Of course, in some other embodiments, multiple sub-cells may be connected in series to charge the main cell 100 simultaneously.
The charging sequence of the plurality of sub-batteries is, for example, but not limited to, the placing sequence according to the positions of the sub-batteries, and the like. The preset value can be set according to the actual use requirement, and the range of the preset value is, for example, but not limited to, 5% and less of the total amount of electric energy of the main battery 100. For example, the preset value is 3% or 5% of the total amount of electric energy of the main battery 100, or the like.
In some preferred embodiments, the sub-battery charges the main battery 100 at a preset charging voltage and charging current. The preset charging voltage and charging current may be the rated charging voltage and current of the main battery 100, or lower than the rated charging voltage and current of the main battery 100, so that the sub-battery charges the main battery 100 at a proper current, and the performance of the main battery 100 is prevented from being damaged.
In some preferred embodiments, before controlling the current sub-battery to charge the main battery 100, the method further includes:
acquiring the power supply condition of the current sub-battery, wherein the power supply condition at least comprises one or more of a temperature value, a voltage value and a current value of the battery;
judging whether the power supply condition of the current sub-battery meets a preset power supply condition, and controlling the current sub-battery to charge the main battery 100 when the power supply condition meets the power supply condition; when the power supply condition does not meet the power supply condition, the next sub-battery in the charging sequence is controlled to charge the main battery 100.
In the present embodiment, in order to protect the main battery 100 and the sub-batteries, it is also necessary to detect the power supply condition of the current sub-battery before controlling the current sub-battery to charge the main battery 100. Specifically, the power supply condition of the current sub-battery is obtained, and then the power supply condition is compared with the power supply condition to judge whether the power supply condition is met. When the power supply condition does not meet the power supply condition, namely the current sub-battery does not meet the power supply condition to the main battery 100, controlling the next sub-battery along the charging sequence to charge the main battery 100; when the power supply condition meets the power supply condition, that is, the current sub-battery meets the power supply condition to the main battery 100, the current sub-battery is controlled to charge the main battery 100.
Wherein the power supply condition at least comprises one or more of a temperature value, a voltage value and a current value of the battery. The power supply condition corresponds to the power supply condition in terms of parameters, for example: the power supply condition includes a temperature threshold value when the power supply condition includes a temperature value of the battery, the power supply condition includes an upper voltage threshold value and a lower voltage threshold value when the power supply condition includes a voltage value of the battery, and the power supply condition includes a current threshold value when the power supply condition includes a current value inside the battery. When the temperature value of the current sub-battery is higher than the temperature threshold value, the current sub-battery is in an over-temperature condition; when the voltage value of the current sub-battery is higher than the upper voltage limit threshold value, the current sub-battery is in an overvoltage condition; when the voltage value of the current sub-battery is lower than the lower voltage limit threshold, the current sub-battery is in an over-discharge condition; when the current value inside the current sub-battery is higher than the current threshold value, the current sub-battery is in an overcurrent condition.
In some preferred embodiments, in order to provide protection for the rechargeable battery, before controlling the charging power supply to charge the main battery 100 and the backup battery 200, the method further includes:
acquiring power supply conditions of the main battery 100 and the backup battery 200;
respectively judging whether the power supply conditions of the main battery 100 and the backup battery 200 meet preset power supply conditions, and controlling a charging power supply to charge the main battery 100 and the backup battery 200 when the power supply conditions of the main battery 100 and the backup battery 200 meet the power supply conditions; and when the power supply condition of the main battery 100 does not meet the power supply condition, controlling the charging power supply not to charge the main battery 100, or when the power supply condition of the backup battery 200 does not meet the power supply condition, controlling the charging power supply not to charge the backup battery 200.
Referring to fig. 2, the present application further provides a control system of a power supply device, where the power supply device includes a main battery 100 and a backup battery 200, and the control system includes:
an obtaining unit 310, configured to obtain electric quantity values of the main battery 100 and the backup battery 200 when the power supply apparatus is connected to the charging power supply;
a determination unit 320 for determining a current battery charging mode from a plurality of preset battery charging modes according to the electric quantity values of the main battery 100 and the auxiliary battery 200;
and the processing unit 330 is configured to control the charging power supply to charge the main battery 100 and the backup battery 200 according to the current battery charging mode.
In this embodiment, the power supply device is provided with a charging circuit for charging the main battery 100 and the backup battery 200 with a charging power source, respectively, and the charging circuit may be a wired or wireless charging circuit. The device for measuring the electric quantity of the main battery 100 and the backup battery 200 is, for example, but not limited to, a general power management chip, and the power management chip is used for managing the operation of the battery, including detecting the electric quantity of the battery, controlling the charging and discharging states and charging and discharging parameters of the battery, and obtaining the power supply condition of the battery. The obtaining unit 310 may read the power amounts and power supply conditions of the main battery 100 and the backup battery 200 from the power management chip. The main battery 100 is connected to a first power management chip, the backup battery 200 is connected to a second power management chip, the first power management chip can be integrated on the main battery 100, the second power management chip can be integrated on the backup battery 200, and the main battery 100 and the backup battery 200 are both connected to the outside through the corresponding power management chips.
In some preferred embodiments, the plurality of battery charging modes includes a first battery charging mode and/or a second battery charging mode, the first battery charging mode being: the charging of the main battery 100 is completed first, and then the charging of the backup battery 200 is completed, and the second battery charging mode is: charging of the backup battery 200 is completed first, and then charging of the main battery 100 is completed;
the determination unit 320 includes:
the judging module is used for judging whether the electric quantity value of the main battery 100 is lower than a preset first electric quantity threshold value or not and judging whether the electric quantity value of the standby battery 200 is higher than a preset second electric quantity threshold value or not;
a determining module, configured to determine that the current battery charging mode is the first battery charging mode when the electric quantity value of the main battery 100 is lower than the first electric quantity threshold or when the electric quantity value of the main battery 100 is above the first electric quantity threshold and the electric quantity value of the backup battery 200 is above the second electric quantity threshold; and/or for determining that the current battery charging mode is the second battery charging mode when the charge value of the main battery 100 is above the first charge threshold and the charge value of the backup battery 200 is below the second charge threshold.
In some preferred embodiments, when the charging power source charges the main battery 100 or the backup battery 200, the obtaining unit 310 is further configured to obtain a current electric quantity value of the main battery 100 or the backup battery 200, the determining module is further configured to determine whether the current electric quantity value of the main battery 100 reaches a first completion value or determine whether the current electric quantity value of the backup battery 200 reaches a second completion value, and the processing unit 330 is configured to control the charging power source to stop charging the main battery 100 when the current electric quantity value of the main battery 100 reaches the first completion value or control the charging power source to stop charging the backup battery 200 when the current electric quantity value of the backup battery 200 reaches the second completion value.
In some preferred embodiments, the plurality of battery charging modes includes a third battery charging mode, the third battery charging mode being: simultaneously charging the main battery 100 and the backup battery 200 until the charging of the main battery 100 and the backup battery 200 is completed;
the determination unit 320 includes:
the judging module is used for judging whether the electric quantity value of the main battery 100 is above a preset first electric quantity threshold value and whether the electric quantity value of the main battery 100 is the same as the electric quantity value of the backup battery 200;
and a determining module, configured to determine that the current battery charging mode is the third battery charging mode when the electric quantity value of the main battery 100 is greater than the first electric quantity threshold and the electric quantity value of the main battery 100 is the same as the electric quantity value of the backup battery 200.
In some preferred embodiments, the obtaining unit 310 is further configured to obtain the electric quantity value of the main battery 100 when the power supply device is not connected to the charging power source;
the control system further comprises a judging unit, configured to judge whether the electric quantity value of the main battery 100 is lower than a preset third electric quantity threshold;
the processing unit 330 is further configured to control the backup battery 200 to charge the main battery 100 when the charge value of the main battery 100 is lower than a third charge threshold.
In some preferred embodiments, the backup battery 200 includes a plurality of sub-batteries, and the processing unit 330 is configured to sequentially control the corresponding sub-batteries to charge the main battery 100 according to a preset charging sequence.
In some preferred embodiments, the obtaining unit 310 is further configured to obtain an electric quantity value of the current sub-battery before the current sub-battery is turned on to charge the main battery 100, the determining unit is further configured to determine whether the electric quantity value of the current sub-battery is below a preset value, and the processing unit 330 is further configured to turn on a next sub-battery in the charging sequence to charge the main battery 100 when the electric quantity value of the current sub-battery is below the preset value.
In some preferred embodiments, the obtaining unit 310 is further configured to obtain a power supply condition of the current sub battery before controlling the current sub battery to charge the main battery 100; the determining unit is further configured to determine whether the power supply condition of the current sub-battery meets a preset power supply condition, and the processing unit 330 is further configured to control the current sub-battery to charge the main battery 100 when the power supply condition of the current sub-battery meets the power supply condition, and control a next sub-battery along the charging sequence to charge the main battery 100 when the power supply condition does not meet the power supply condition.
In some preferred embodiments, the obtaining unit 310 is further configured to obtain power supply conditions of the main battery 100 and the auxiliary battery 200 before controlling the charging power supply to charge the main battery 100 and the auxiliary battery 200; the determining unit is further configured to determine whether the power supply conditions of the main battery 100 and the backup battery 200 both meet the preset power supply conditions, and the processing unit 330 is further configured to control the charging source not to charge the main battery 100 or control the charging source not to charge the backup battery 200 when the power supply conditions of the main battery 100 and the backup battery 200 do not meet the power supply conditions.
It should be understood that each unit or module described in the control system corresponds to each step in the method described in the above embodiments. Thus, the operations and features described above for the method are equally applicable to the control system and the units comprised therein and will not be described in further detail here.
Fig. 3 is a schematic structural diagram of a computer device according to an embodiment of the present invention. As shown in fig. 3, the computer apparatus 400 includes a central processing unit 330(CPU)401 that can perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)402 or a program loaded from a storage section into a Random Access Memory (RAM) 403. In the RAM403, various programs and data necessary for system operation are also stored. The CPU401, ROM 402, and RAM403 are connected to each other via a bus 403. An input/output (I/O) interface 405 is also connected to bus 403.
The following components are connected to the I/O interface 405: an input section 406 including a keyboard, a mouse, and the like; an output section 407 including a display device such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker; a storage section 408 including a hard disk and the like; and a communication section 409 including a network interface card such as a LAN card, a modem, or the like. The communication section 409 performs communication processing via a network such as the internet. Drivers are also connected to the I/O interface 405 as needed. A removable medium 411 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 410 as necessary, so that a computer program read out therefrom is mounted into the storage section 408 as necessary.
In particular, according to an embodiment of the invention, the process described above with reference to the flowchart of fig. 1 may be implemented as a computer software program. For example, embodiments of the present invention include a computer program product comprising a computer program embodied on a computer-readable medium, the computer program containing program code for performing the control method of the various embodiments described above. In such an embodiment, the computer program may be downloaded and installed from a network via the communication section, and/or installed from a removable medium. The above-described functions defined in the system of the present application are executed when the computer program is executed by a Central Processing Unit (CPU) 401.
It should be noted that the computer readable medium shown in the present invention can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present invention, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In the present invention, however, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present invention may be implemented by software, or may be implemented by hardware, and the described units may also be disposed in a processor. Wherein the names of the elements do not in some way constitute a limitation on the elements themselves. The described units or modules may also be provided in a processor, and may be described as: a processor includes an acquisition unit 310, a determination unit 320, a processing unit 330, and the like. The names of these units or modules do not in some cases constitute a limitation on the units or modules themselves, and for example, the processing unit 330 may also be described as "a unit for controlling the charging power supply to charge the main battery 100 and the auxiliary battery 200 according to the current battery charging mode".
As another aspect, the present application also provides a computer-readable medium, which may be contained in the terminal device described in the above embodiments; or may exist separately without being assembled into the terminal device. The computer-readable medium carries one or more programs which, when executed by the terminal device, cause the terminal device to implement the control method as described in the above embodiments.
For example, the terminal device may implement the control method as shown in fig. 1: step S10: when the power supply device is connected to a charging power supply, the electric quantity values of the main battery 100 and the backup battery 200 are obtained; step S20: and determining a current battery charging mode from a plurality of preset battery charging modes according to the electric quantity values of the main battery 100 and the backup battery 200, and controlling the charging power supply to charge the main battery 100 and the backup battery 200 according to the current battery charging mode.
It should be noted that although in the above detailed description several modules or units of the device for action execution are mentioned, such a division is not mandatory. Indeed, the features and functionality of two or more modules or units described above may be embodied in one module or unit, according to embodiments of the present disclosure. Conversely, the features and functions of one module or unit described above may be further divided into embodiments by a plurality of modules or units.
Moreover, although the steps of the methods of the present disclosure are depicted in the drawings in a particular order, this does not require or imply that the steps must be performed in this particular order, or that all of the depicted steps must be performed, to achieve desirable results. Additionally or alternatively, certain steps may be omitted, multiple steps combined into one step execution, and/or one step broken down into multiple step executions, etc.
Through the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments described herein may be implemented by software, or by software in combination with necessary hardware.
Furthermore, the references herein to the terms "first" and "second" are for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicit to the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of the present invention, "a plurality" means two or more unless otherwise specified.
The above description is only a preferred embodiment of the application and is illustrative of the principles of the technology employed. It will be appreciated by a person skilled in the art that the scope of the invention as referred to in the present application is not limited to the embodiments with a specific combination of the above-mentioned features, but also covers other embodiments with any combination of the above-mentioned features or their equivalents without departing from the inventive concept. For example, the above features may be replaced with (but not limited to) features having similar functions disclosed in the present application.

Claims (12)

1. A control method of a power supply device, the power supply device including a main battery and a backup battery, the control method comprising:
when the power supply device is connected with a charging power supply, the electric quantity values of the main battery and the standby battery are obtained;
and determining a current battery charging mode from a plurality of preset battery charging modes according to the electric quantity values of the main battery and the backup battery, and controlling the charging power supply to charge the main battery and the backup battery according to the current battery charging mode.
2. The method according to claim 1, wherein the plurality of battery charging modes includes a first battery charging mode, and the first battery charging mode is: firstly, charging the main battery and then charging the standby battery; when the electric quantity value of the main battery is lower than a preset first electric quantity threshold value or when the electric quantity value of the main battery is higher than the first electric quantity threshold value and the electric quantity value of the standby battery is higher than a preset second electric quantity threshold value, the current battery charging mode is the first battery charging mode;
and/or the plurality of battery charging modes comprise a second battery charging mode, wherein the second battery charging mode is as follows: firstly, charging the standby battery and then charging the main battery; when the electric quantity value of the main battery is above the first electric quantity threshold value and the electric quantity value of the standby battery is lower than a preset second electric quantity threshold value, the current battery charging mode is the second battery charging mode.
3. The method according to claim 1, wherein the plurality of battery charging modes includes a third battery charging mode, and the third battery charging mode is: simultaneously charging the main battery and the backup battery until the charging of the main battery and the backup battery is finished; and when the electric quantity value of the main battery is more than a preset first electric quantity threshold value and the electric quantity value of the main battery is the same as the electric quantity value of the standby battery, the current battery charging mode is the third battery charging mode.
4. The method for controlling a power supply device according to claim 1, further comprising:
when the power supply device is not connected to the charging power supply, acquiring the electric quantity value of the main battery;
and judging whether the electric quantity value of the main battery is lower than a preset third electric quantity threshold value or not, and controlling the standby battery to charge the main battery when the electric quantity value of the main battery is lower than the third electric quantity threshold value.
5. The method according to claim 4, wherein the backup battery includes a plurality of sub-batteries, and wherein the controlling the backup battery to charge the main battery includes:
and sequentially controlling the corresponding sub-batteries to charge the main battery according to a preset charging sequence.
6. A control system of a power supply device, the power supply device including a main battery and a backup battery, the control system comprising:
the acquisition unit is used for acquiring the electric quantity values of the main battery and the standby battery when the power supply device is connected to a charging power supply;
the determining unit is used for determining a current battery charging mode from a plurality of preset battery charging modes according to the electric quantity values of the main battery and the standby battery;
and the processing unit is used for controlling the charging power supply to charge the main battery and the standby battery according to the current battery charging mode.
7. The control system of the power supply device according to claim 6, wherein the plurality of battery charging modes includes a first battery charging mode and/or the second battery charging mode, the first battery charging mode being: firstly, the main battery is charged, and then the standby battery is charged, wherein the second battery charging mode is as follows: firstly, charging the standby battery and then charging the main battery;
the determination unit includes:
the judging module is used for judging whether the electric quantity value of the main battery is lower than a preset first electric quantity threshold value or not and judging whether the electric quantity value of the standby battery is higher than a preset second electric quantity threshold value or not;
a determining module, configured to determine that the current battery charging mode is the first battery charging mode when the electric quantity value of the main battery is lower than the first electric quantity threshold or when the electric quantity value of the main battery is above the first electric quantity threshold and the electric quantity value of the backup battery is above the second electric quantity threshold; and/or, determining that the current battery charging mode is the second battery charging mode when the electric quantity value of the main battery is above the first electric quantity threshold and the electric quantity value of the backup battery is below the second electric quantity threshold.
8. The control system of the power supply device according to claim 6, wherein the plurality of battery charging modes includes a third battery charging mode, the third battery charging mode being: simultaneously charging the main battery and the backup battery until the charging of the main battery and the backup battery is finished;
the determination unit includes:
the judging module is used for judging whether the electric quantity value of the main battery is above a preset first electric quantity threshold value and judging whether the electric quantity value of the main battery is the same as the electric quantity value of the standby battery;
and the determining module is used for determining that the current battery charging mode is the third battery charging mode when the electric quantity value of the main battery is higher than the first electric quantity threshold value and the electric quantity value of the main battery is the same as the electric quantity value of the backup battery.
9. The control system of the power supply device according to claim 6, wherein the obtaining unit is further configured to obtain the electric quantity value of the main battery when the power supply device is not connected to the charging power supply;
the control system further comprises a judging unit, a judging unit and a judging unit, wherein the judging unit is used for judging whether the electric quantity value of the main battery is lower than a preset third electric quantity threshold value or not;
the processing unit is further used for controlling the backup battery to charge the main battery when the electric quantity value of the main battery is lower than the third electric quantity threshold value.
10. The control system of the power supply device according to claim 9, wherein the backup battery comprises a plurality of sub-batteries, and the processing unit is configured to sequentially control the corresponding sub-batteries to charge the main battery according to a preset charging sequence.
11. A terminal device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the control method according to any one of claims 1-5 when executing the program.
12. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the control method according to any one of claims 1 to 5.
CN201911327975.4A 2019-12-20 2019-12-20 Control method and system of power supply device, terminal equipment and storage medium Pending CN113013935A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911327975.4A CN113013935A (en) 2019-12-20 2019-12-20 Control method and system of power supply device, terminal equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911327975.4A CN113013935A (en) 2019-12-20 2019-12-20 Control method and system of power supply device, terminal equipment and storage medium

Publications (1)

Publication Number Publication Date
CN113013935A true CN113013935A (en) 2021-06-22

Family

ID=76381766

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911327975.4A Pending CN113013935A (en) 2019-12-20 2019-12-20 Control method and system of power supply device, terminal equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113013935A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116961197A (en) * 2023-09-20 2023-10-27 智控万联(常州)新能源有限公司 Energy storage method and energy storage system of battery module

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102340156A (en) * 2010-07-26 2012-02-01 联想(北京)有限公司 Charging and discharging method for terminal and terminal
EP2608353A1 (en) * 2011-12-22 2013-06-26 Research In Motion Limited Power distribution network based on multiple charge storage components
CN109194788A (en) * 2018-09-20 2019-01-11 Oppo广东移动通信有限公司 Electronic equipment and electronic equipment charging method
CN110176643A (en) * 2019-05-14 2019-08-27 上海摩软通讯技术有限公司 A kind of charging method, method of supplying power to, power supply management device and terminal device
CN110213406A (en) * 2019-05-05 2019-09-06 珠海格力电器股份有限公司 A kind of folding electronic device
CN110445202A (en) * 2018-05-04 2019-11-12 北京握奇智能科技有限公司 Charging method, control device, system and its wearable device of wearable device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102340156A (en) * 2010-07-26 2012-02-01 联想(北京)有限公司 Charging and discharging method for terminal and terminal
EP2608353A1 (en) * 2011-12-22 2013-06-26 Research In Motion Limited Power distribution network based on multiple charge storage components
CN110445202A (en) * 2018-05-04 2019-11-12 北京握奇智能科技有限公司 Charging method, control device, system and its wearable device of wearable device
CN109194788A (en) * 2018-09-20 2019-01-11 Oppo广东移动通信有限公司 Electronic equipment and electronic equipment charging method
CN110213406A (en) * 2019-05-05 2019-09-06 珠海格力电器股份有限公司 A kind of folding electronic device
CN110176643A (en) * 2019-05-14 2019-08-27 上海摩软通讯技术有限公司 A kind of charging method, method of supplying power to, power supply management device and terminal device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116961197A (en) * 2023-09-20 2023-10-27 智控万联(常州)新能源有限公司 Energy storage method and energy storage system of battery module
CN116961197B (en) * 2023-09-20 2023-12-12 智控万联(常州)新能源有限公司 Energy storage method and energy storage system of battery module

Similar Documents

Publication Publication Date Title
US9887571B1 (en) Combining power from an internal battery and an external power storage adapter
US10978896B2 (en) High efficiency power storage adapter
US10381844B2 (en) Sourcing power from a battery or AC-DC converter of a power storage adapter
US20180375360A1 (en) Power storage adapter for peak shift operation with a portable information handling system
US10181731B1 (en) Combining power from a battery and an AC-DC converter of a power storage adapter
US9753094B2 (en) Battery performance under high temperature exposure
US11088565B2 (en) Load-based management of multiple dc power sources
US10250052B2 (en) Charge rate optimization for enhanced battery cycle life
US20190064914A1 (en) Power storage adapter for efficient supply of power of multiple portable information handling systems
TW201008076A (en) Intelligent battery charging rate management
US10928880B2 (en) Power storage adapter for communicating battery data with a portable information handling system
CN1996701A (en) Battery charging management system and method
US20190094937A1 (en) Power delivery based on temperature and other factors in a power storage adapter
US10452102B2 (en) Power delivery contract establishment in a power storage adapter
US20100270981A1 (en) Power source apparatus and secondary battery charge control method
EP0965906A2 (en) Calibrating rechargeable battery
CN114844176A (en) Battery charging and discharging power control method and device and electronic equipment
US20190033946A1 (en) Battery architecture for variable loads and output topologies in an information handling system
CN105826962A (en) Power control method and device in charging process
CN110380476A (en) Charge control method, device, equipment and storage medium
EP3148038B1 (en) Charging control method and apparatus, terminal and computer storage medium
CN113013935A (en) Control method and system of power supply device, terminal equipment and storage medium
CN109256825B (en) Charging method and electronic device
CN114977340A (en) Battery charging method, device, equipment and storage medium of charging cabinet
US11916430B2 (en) Optimization of low power states while AC line power availability is limited

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