CN114268154A - Charging method, device and system, multi-battery device and storage medium - Google Patents

Charging method, device and system, multi-battery device and storage medium Download PDF

Info

Publication number
CN114268154A
CN114268154A CN202111616343.7A CN202111616343A CN114268154A CN 114268154 A CN114268154 A CN 114268154A CN 202111616343 A CN202111616343 A CN 202111616343A CN 114268154 A CN114268154 A CN 114268154A
Authority
CN
China
Prior art keywords
battery
charging
condition
state
electric quantity
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
CN202111616343.7A
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.)
Goertek Techology Co Ltd
Original Assignee
Goertek Optical Technology 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 Goertek Optical Technology Co Ltd filed Critical Goertek Optical Technology Co Ltd
Priority to CN202111616343.7A priority Critical patent/CN114268154A/en
Publication of CN114268154A publication Critical patent/CN114268154A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02EREDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
    • Y02E60/00Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
    • Y02E60/10Energy storage using batteries

Landscapes

  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

The invention discloses a charging method, a charging device, a charging system, a multi-battery device and a computer readable storage medium, wherein the method is applied to the multi-battery device, at least a first battery and a second battery can be placed in the multi-battery device, and the method comprises the following steps: acquiring the configuration condition of multi-battery equipment; the configuration condition comprises a charging configuration condition and a battery configuration condition; the electric quantity information comprises the electric quantity of the first battery or the electric quantity of the first battery and the electric quantity of the second battery; controlling the battery charging condition of the multi-battery equipment according to the configuration condition and the electric quantity information; the battery charging condition comprises a first battery charging state, a second battery charging state and a double-battery charging state; according to the invention, by setting the charging state of the double batteries, the multi-battery equipment can simultaneously supply power to the first battery and the second battery, so that the system shutdown condition in the battery switching process is reduced, the user experience is improved, and the commercial purpose of the double-battery scheme is realized.

Description

Charging method, device and system, multi-battery device and storage medium
Technical Field
The present invention relates to the field of charging technologies, and in particular, to a charging method, apparatus, system, multi-battery device, and computer-readable storage medium.
Background
At present, mobile terminal devices and wearable devices are gradually developing towards the directions of light weight, intellectualization and long endurance, so that the technology of multi-battery schemes such as a dual-battery scheme is rapidly developed. In the prior art, the multi-battery scheme still has defects in charging and switching, for example, when a double-battery scheme is adopted, in a charging state when a charger is inserted, when the electric quantity of a battery 2 is low and the normal operation of a system cannot be supported, the battery 1 is fully charged, the system is to switch the battery 2 to charge, and the system is shut down due to the fact that the battery 2 is used as a main battery of the system and the electric quantity of the battery is low, and the system mistakenly considers that the battery is low in electric quantity; when the battery 1 and the battery 2 enter the over-discharge protection state simultaneously, a charger is inserted for charging, the battery 2 is switched under the condition that the battery 1 is fully charged, and the instant system shutdown of switching to the battery 2 is also caused because the battery 2 is still in the over-discharge protection state; when the system is shut down and the charger is inserted for charging, the battery 1 can only be charged, and the battery 2 cannot be charged when the battery 2 exists in the system, so that the battery 2 can only be charged through an external charging base, and the use logic of a user is not met; the three use scenes are the scenes which are always existed in the current mobile terminal equipment and the wearing and the use, and if the three problems are not solved, the double-battery scheme is difficult to be applied to the actual product.
Therefore, how to solve the defects of the multi-battery scheme in the charging and switching process, improve the user experience, and achieve the purpose of commercial multi-battery schemes is a problem which needs to be solved urgently nowadays.
Disclosure of Invention
The invention aims to provide a charging method, a charging device, a charging system, a multi-battery device and a computer-readable storage medium, so as to overcome the defects of a multi-battery scheme in the charging and switching processes, improve the user experience and achieve the purpose of commercializing the multi-battery scheme.
In order to solve the above technical problem, the present invention provides a charging method applied to a multi-battery device, in which at least a first battery and a second battery can be placed, the charging method comprising:
acquiring the configuration condition of the multi-battery equipment; the configuration condition comprises a charging configuration condition and a battery configuration condition, the charging configuration condition comprises a chargeable state and a non-chargeable state, and the battery configuration condition comprises a double-battery state and a single-battery state;
acquiring electric quantity information of the multi-battery equipment; wherein the power information includes a power of the first battery or a power of the first battery and a power of the second battery;
controlling the battery charging condition of the multi-battery equipment according to the configuration condition and the electric quantity information; wherein the battery charging condition comprises a first battery charging state, a second battery charging state and a dual battery charging state.
Optionally, the controlling the battery charging condition of the multi-battery device according to the configuration condition and the electric quantity information includes:
judging whether the charging configuration condition is the double-battery state or not under the condition that the charging configuration condition is the chargeable state;
if so, controlling the battery charging condition to be the double-battery charging state when the electric quantity of the first battery and the electric quantity of the second battery are not full of electric quantity, and charging the first battery and the second battery by utilizing external power supply of the multi-battery device;
if not, when the electric quantity of the first battery is the not-full electric quantity, controlling the charging condition of the battery to be the charging state of the first battery, and charging the first battery by utilizing the external power supply.
Optionally, the controlling the battery charging condition of the multi-battery device according to the configuration condition and the electric quantity information includes:
controlling the battery charging condition of the multi-battery equipment according to the configuration condition, the electric quantity information and the system on-off condition of the multi-battery equipment; the system power-on and power-off condition comprises a system power-on state and a system power-off state.
Optionally, the controlling the battery charging condition of the multi-battery device according to the configuration condition, the electric quantity information, and the system power on/off condition of the multi-battery device includes:
if the charging configuration condition is the chargeable state, judging whether the charging configuration condition is the double-battery state or not;
if not, when the electric quantity of the first battery is the not-full electric quantity, controlling the charging condition of the battery to be the charging state of the first battery, and charging the first battery by utilizing the external power supply of the multi-battery equipment;
if so, controlling the battery charging condition to be the dual-battery charging state when the electric quantity of the first battery is the non-full electric quantity and the electric quantity of the second battery is not greater than a switching electric quantity threshold value, and charging the first battery and the second battery by utilizing the external power supply; the first battery is a power supply battery, and the power supply battery is a battery for supplying power to the multi-battery device in a system mode.
Optionally, after determining whether the charging configuration condition is the dual-battery state, the method further includes:
if the first battery is in the double-battery state, controlling the charging condition of the battery to be in the first battery charging state when the electric quantity of the first battery is the non-full electric quantity and the electric quantity of the second battery is greater than a switching electric quantity threshold value, and charging the first battery by utilizing the external power supply;
when the electric quantity of the first battery is charged to full electric quantity and the electric quantity of the second battery is not full electric quantity, the battery charging condition is controlled to be the charging state of the second battery, and the second battery is charged by utilizing the external power supply.
Optionally, the controlling the battery charging condition to be the dual-battery charging state, and charging the first battery and the second battery by using the external power supply includes:
charging the first battery by using the external power supply through a power management chip, and charging the second battery by using the external power supply through a battery management module;
the controlling the battery charging condition to be the first battery charging state, charging the first battery by using the external power supply, including:
charging the first battery by the external power supply through the power management chip;
the controlling the battery charging condition to be the second battery charging state, and charging the second battery by using the external power supply, includes:
and charging the second battery by using the external power supply through the power management chip.
The present invention also provides a charging apparatus applied to a multi-battery device in which at least a first battery and a second battery can be placed, the charging apparatus including:
a configuration acquisition unit for acquiring a configuration condition of the multi-battery device; the configuration condition comprises a charging configuration condition and a battery configuration condition, the charging configuration condition comprises a chargeable state and a non-chargeable state, and the battery configuration condition comprises a double-battery state and a single-battery state;
an information acquisition unit for acquiring electric quantity information of the multi-battery device; wherein the power information includes a power of the first battery or a power of the first battery and a power of the second battery;
the charging control unit is used for controlling the battery charging condition of the multi-battery equipment according to the configuration condition and the electric quantity information; wherein the battery charging condition comprises a first battery charging state, a second battery charging state and a dual battery charging state.
The present invention also provides a multi-battery device comprising:
a memory for storing a computer program;
a processor for implementing the steps of the charging method as described above when executing the computer program.
The present invention also provides a charging system applied to a multi-battery device in which at least a first battery and a second battery can be placed, the charging system including: first battery, power source interface, power management chip, main chip and battery switch module still include:
the battery management module is used for controlling the connection and disconnection of the power interface and the second battery so as to charge the second battery by using external power supply accessed by the power interface when the battery charging condition of the multi-battery equipment is the double-battery charging state;
the power management chip is used for controlling the battery switching module to charge the first battery by using the external power supply when the battery charging condition of the multi-battery device is the double-battery charging state or the first battery charging state; and when the battery charging condition of the multi-battery equipment is a second battery charging state, controlling the battery switching module to charge the second battery by using the external power supply.
Furthermore, the present invention also provides a computer-readable storage medium having stored thereon a computer program which, when being executed by a processor, carries out the steps of the charging method as described above.
The charging method provided by the invention is applied to multi-battery equipment, at least a first battery and a second battery can be placed in the multi-battery equipment, and the charging method comprises the following steps: acquiring the configuration condition of multi-battery equipment; the configuration condition comprises a charging configuration condition and a battery configuration condition, the charging configuration condition comprises a chargeable state and a non-chargeable state, and the battery configuration condition comprises a double-battery state and a single-battery state; acquiring electric quantity information of multi-battery equipment; the electric quantity information comprises the electric quantity of the first battery or the electric quantity of the first battery and the electric quantity of the second battery; controlling the battery charging condition of the multi-battery equipment according to the configuration condition and the electric quantity information; the battery charging condition comprises a first battery charging state, a second battery charging state and a double-battery charging state;
therefore, the battery charging condition of the multi-battery equipment is controlled according to the configuration condition and the electric quantity information, and the multi-battery equipment can simultaneously supply power to the first battery and the second battery by utilizing the setting of the charging state of the double batteries, so that the system shutdown condition in the battery switching process is reduced, the user experience is improved, and the commercial purpose of the multi-battery scheme is realized. In addition, the invention also provides a charging device, a charging system, a multi-battery device and a computer readable storage medium, which also have the beneficial effects.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a flowchart of a charging method according to an embodiment of the present invention;
fig. 2 is a schematic flow chart of another charging method according to an embodiment of the present invention;
fig. 3 is a schematic flowchart of another charging method according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a charging system according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a battery management module of another charging system according to an embodiment of the present invention;
fig. 6 is a block diagram of a charging device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, fig. 1 is a flowchart illustrating a charging method according to an embodiment of the invention. The method is applied to a multi-battery device in which at least a first battery and a second battery can be placed, and may include:
step 101: acquiring the configuration condition of multi-battery equipment; the configuration condition comprises a charging configuration condition and a battery configuration condition, the charging configuration condition comprises a chargeable state and a non-chargeable state, and the battery configuration condition comprises a double-battery state and a single-battery state.
It is understood that the multi-battery device in the present embodiment may be a device capable of performing system power supply by using a plurality of batteries (e.g., a first battery and a second battery) disposed therein, such as a mobile terminal device and a wearable device. The multi-battery device in this embodiment may house at least a first battery and a second battery, e.g., the multi-battery device may be a dual-battery device capable of housing the first battery and the second battery; it may be a device capable of housing two or more batteries, such as a three-battery device capable of housing a first battery, a second battery, and a third battery. Specifically, the batteries that can be placed in the multi-battery device in this embodiment may include a built-in fixed battery and a detachable battery that can be installed or detached, for example, the first battery may be a fixed battery of the multi-battery device, and the second battery may be a detachable battery of the multi-battery device, that is, the second battery may be detachably connected to the multi-battery device.
The configuration conditions of the multi-battery device in this step may include a charging configuration condition whether a charger (such as a wireless charger or a wired charger) is connected and a battery configuration condition whether a detachable battery (such as a second battery) is inserted into the charger, that is, when a power interface of the multi-battery device is connected to the charger, the charging configuration condition may be a chargeable state capable of supplying power by using the connected charger; when the power interface of the multi-battery device is not connected with the charger, the charging configuration condition can be a non-chargeable state which cannot utilize the charger to supply power; when the multi-battery device is inserted and installed with the detachable battery, the battery configuration condition can be a double-battery state comprising a fixed battery and the detachable battery; when the multi-battery device is not inserted and installed with the detachable battery, the battery configuration condition can be a single battery state only containing the fixed battery.
Specifically, the specific manner in which the processor (such as the power management chip and the battery management module) acquires the configuration of the multi-battery device in this step may be set by a designer according to a practical scenario and a user requirement, for example, the method may be implemented in a manner the same as or similar to the charger detection method and the battery detection method in the prior art, which is not limited in this embodiment.
Step 102: acquiring electric quantity information of multi-battery equipment; the electric quantity information comprises the electric quantity of the first battery or the electric quantity of the first battery and the electric quantity of the second battery.
It should be noted that, in this embodiment, the power information of the multi-battery device may be power information of a battery configured in the multi-battery device, for example, when a second battery is not inserted into the multi-battery device (i.e., the battery is detachable), the power information may include power of the first battery; the power information may include a power of the first battery and a power of the second battery when the second battery is inserted into the multi-battery device.
Correspondingly, for the specific content of the electric quantity information of the multi-battery device in this embodiment, the specific content may be set by a designer, for example, the electric quantity information may specifically be voltage information, that is, the processor may detect voltage information of batteries (such as the first battery or the first battery and the second battery) configured in the multi-battery device; the charge information may also be battery charge in percentage form. The present embodiment does not set any limit to this.
Specifically, the specific manner in which the processor obtains the configuration condition of the multi-battery device in this step may be set by a designer according to a practical scenario and a user requirement, and if the specific manner is the same as or similar to the method for detecting the electric quantity in the prior art, this embodiment does not limit this.
Step 103: controlling the battery charging condition of the multi-battery equipment according to the configuration condition and the electric quantity information; wherein the battery charging condition comprises a first battery charging state, a second battery charging state and a dual battery charging state.
It can be understood that the battery charging condition in this step may be a charging condition of a battery configured in the multi-battery device, and in this embodiment, through setting a dual-battery charging state in the battery charging condition, the multi-battery device may simultaneously charge the first battery and the second battery when the first battery and the second battery are configured in the multi-battery device, so as to reduce a system shutdown condition in the battery switching process.
Specifically, the specific manner in which the processor controls the battery charging condition of the multi-battery device according to the configuration condition and the electric quantity information in this step may be set by a designer according to a practical scene and a user requirement, for example, the processor may control the battery charging condition of the multi-battery device only by using the configuration condition and the electric quantity information, and for example, when the multi-battery device is a dual-battery device, the processor may determine whether the charging configuration condition is a dual-battery state when the charging configuration condition is a chargeable state; if so, controlling the charging condition of the batteries to be a dual-battery charging state when the electric quantity of the first battery and the electric quantity of the second battery are both not full electric quantity (namely, the electric quantity is not full), and charging the first battery and the second battery by utilizing external power supply of multi-battery equipment (such as power supply of an accessed wired charger or a wireless charger); if not, when the electric quantity of the first battery is not full of electric quantity, the charging condition of the battery is controlled to be the charging state of the first battery, and the first battery is charged by utilizing external power supply. Accordingly, after the first battery and the second battery are charged, the method may further include: when the electric quantity of any battery is full of electric quantity, controlling the charging condition of the battery to be a first battery charging state or a second battery charging state, and charging the battery with the electric quantity not full of electric quantity; that is, the multi-battery device may charge the first battery and the second battery simultaneously when the charger is plugged in and the second battery is plugged in, until any one battery is fully charged, and charge the other battery which is not fully charged; when the charger is connected and the second battery is not inserted, the first battery is charged until the first battery is fully charged.
Correspondingly, the processor can judge whether the charging configuration condition is a double-battery state or not under the condition that the charging configuration condition is a chargeable state; if so, controlling the charging condition of the batteries to be a double-battery charging state when the electric quantity of the first battery and the electric quantity of the second battery are not full of electric quantity, and charging the first battery and the second battery by using external power supply of multi-battery equipment; if not, under the condition that the first battery is the power supply battery, and when the electric quantity of the first battery is not fully charged and the electric quantity of the second battery is not larger than the switching electric quantity threshold value, controlling the charging condition of the batteries to be a double-battery charging state, and charging the first battery and the second battery by utilizing external power supply. Accordingly, after the first battery and the second battery are charged, the method may further include: and when the electric quantity of the second battery is greater than the switching electric quantity threshold value, controlling the charging condition of the battery to be the charging state of the first battery, charging the first battery, and continuing to charge the second battery after the first battery is fully charged.
Furthermore, the processor of the multi-battery device can also control the battery charging condition of the multi-battery device according to the configuration condition, the electric quantity information and the system on-off condition of the multi-battery device; the system power-on and power-off condition comprises a system power-on state and a system power-off state. If the multi-battery device is a dual-battery device, the processor may determine whether the charging configuration is in a dual-battery state if the charging configuration is in a chargeable state when the system power-on/off state is in a system power-on state; if not, when the electric quantity of the first battery is not full of electric quantity, controlling the charging condition of the battery to be a first battery charging state, and charging the first battery by using external power supply of multi-battery equipment; if yes, when the electric quantity of the first battery is not full of electric quantity and the electric quantity of the second battery is not larger than a switching electric quantity threshold (such as a threshold in fig. 2), controlling the battery charging condition to be a double-battery charging state, and charging the first battery and the second battery by utilizing external power supply; wherein, the first battery is a power supply battery; the power supply battery is a battery for supplying system power to the multi-battery device, namely, the battery for supplying system power to the multi-battery device when the charging configuration condition is a non-chargeable state.
Correspondingly, under the condition that the system power-on and power-off condition is the system power-on state and the charging configuration condition is the chargeable state, if the charging configuration condition is the dual-battery state, the processor can control the battery charging condition to be the first battery charging state when the electric quantity of the first battery is not fully charged and the electric quantity of the second battery is greater than the switching electric quantity threshold value, and charge the first battery by utilizing external power supply; when the electric quantity of the first battery is charged to full electric quantity and the electric quantity of the second battery is not full electric quantity, the charging condition of the battery is controlled to be the charging state of the second battery, and the second battery is charged by utilizing external power supply. As shown in fig. 2 and 4, when the system of the multi-battery device is powered on and the system is powered by the battery 1# (i.e., the first battery), if the charger (i.e., the wired charger) is inserted for charging, the processor may detect whether the battery 2# (i.e., the second battery) is inserted; if the battery No. 2 is not available, only charging the battery No. 1; when the battery 2# exists, while charging the battery 1# (such as charging through a power management chip), judging whether the electric quantity of the battery 2# meets a threshold (namely, a switching electric quantity threshold), wherein the threshold is used for ensuring that the battery 2# still has enough electric quantity to ensure that the system normally continues the work before the battery is switched when the battery 1# is switched to the battery 2 #; if the electric quantity of the battery 2# reaches the threshold value, only the battery 1# is charged continuously until the battery 1# is fully charged, the battery 2# is switched, and the battery 2# is charged by the power management chip until the battery is fully charged; if the charge of the battery 2# is below the threshold, the battery 2# is charged through the battery management module (the charging action is performed synchronously with the charging of the battery 1#), until the charge of the battery 2# reaches the threshold, the charging action is stopped, and the charging is continued after the battery 1# is fully charged. The other function of the threshold setting can reduce the synchronous charging time of the two batteries as much as possible while ensuring the normal work of the system when the batteries 2 are switched, reduce the power consumption pressure of the charger, reduce the potential safety hazard, and ensure that the two batteries are only monitored by the main chip and the power management chip as much as possible in a starting state.
Correspondingly, the processor can judge whether the charging configuration condition is a double-battery state, namely whether the second battery is inserted and installed, under the condition that the system on-off condition is the system off state and the charging configuration condition is the chargeable state; if so, controlling the charging condition of the batteries to be a double-battery charging state when the electric quantity of the first battery and the electric quantity of the second battery are not full of electric quantity, and charging the first battery and the second battery by using external power supply of multi-battery equipment; if not, when the electric quantity of the first battery is not full of electric quantity, the charging condition of the battery is controlled to be the charging state of the first battery, and the first battery is charged by utilizing external power supply. As shown in fig. 3 and 4, in the case where the system of the multi-battery device is powered off and the charger is inserted, the processor may detect whether the battery 2# (i.e., the second battery) is inserted; if the battery 2# does not exist, only the battery 1# (i.e., the first battery) is charged, and after the battery 1# is fully charged, the battery 2# can be charged until fully charged after the battery 2# is inserted. If the battery 2# exists, the battery 1# and the battery 2# are charged synchronously, and the charging path is shown by a dotted line in fig. 4, because the charging action occurs in the system shutdown state, the charging of the battery 2# is controlled only by the battery management module (for example, the control module in the battery management module in fig. 5), but the battery 1# is still controlled by the power management chip of the system (the common system platforms all support shutdown charging, but only support one battery). The process can only judge whether the two batteries are fully charged without setting a threshold value, and the power consumption of the system is ignored because the system does not have any working process in the shutdown state, and the power consumption pressure of the charger is not large when the two batteries are charged simultaneously compared with the startup state.
It should be noted that, the specific control manner for controlling the battery charging condition of the multi-battery device by the processor is shown by taking the battery charging condition control of a dual-battery device as an example, and for the battery charging condition control of the multi-battery device capable of placing the first battery, the second battery and the other battery (such as the third battery), the charging control corresponding to the first battery (i.e., the fixed battery) and the second battery (i.e., the detachable battery) may be implemented in the same or similar manner according to the configuration types of the other batteries (such as the fixed battery or the detachable battery), which is not limited in this embodiment.
The charging method provided in this embodiment may be applied to a multi-battery device, that is, a processor of the multi-battery device may execute the method provided in this embodiment to charge a battery configured in the multi-battery device, and this embodiment does not limit the specific number and type of processors in the multi-battery device that execute the method provided in this embodiment, as shown in fig. 4, the processor may include a power management chip, a battery management module, and a main chip.
Specifically, the specific manner in which the multi-battery device charges the first battery and/or the second battery in this embodiment may be set by a designer, for example, when the multi-battery device charges the first battery or the second battery, the multi-battery device may charge the first battery or the second battery by using the power supply of the charger (such as a wired charger or a wireless charger) through the power management chip. When the multi-battery equipment charges the first battery and the second battery, the multi-battery equipment can charge the first battery by using the power supply of the charger through the power supply management chip and charge the second battery by using the power supply of the charger through the battery management module; as shown in fig. 4, the power of the charger connected to the power interface charges the first battery through the power interface → the power management chip → the battery switching module → the charging path of the battery 1# (i.e., the first battery), and simultaneously charges the second battery through the power interface → the battery management module → the charging path of the battery 2# (i.e., the second battery).
Correspondingly, as shown in fig. 5, the battery management module may include a control module, a power switch, a charging module 1# (i.e., a first charging module) and a charging module 2# (i.e., a second charging module); the power switch can be used for opening and closing a power supply passage of the power interface and the charging module 2#, and is controlled by the control module; the charging module 2# is used for charging the battery 2# (namely a second battery), setting charging related parameters of the battery 2#, and controlling the charging function to be switched on and off by the control module; the charging module 1# is used for charging the battery 1# by the battery 2# and is also controlled by the control module; the control module can comprise a judging mechanism of the power-on and power-off state, the control module controls the peripheral module through internal logic in the power-off state, the control module can not be controlled by the main chip, after the power-on state is started, the internal logic of the control module is started and can be controlled by the main chip, and meanwhile, the battery 1 and the battery 2 are communicated with the main chip to transmit battery information such as electric quantity.
In the embodiment of the invention, the battery charging condition of the multi-battery device is controlled according to the configuration condition and the electric quantity information, and the multi-battery device can simultaneously supply power to the first battery and the second battery by using the setting of the charging state of the double batteries, so that the shutdown condition of the system in the battery switching process is reduced, the user experience is improved, and the commercial purpose of the multi-battery scheme is realized.
Corresponding to the above method embodiment, the embodiment of the present invention further provides a charging device, and a charging device described below and a charging method described above may be referred to in correspondence.
Referring to fig. 6, fig. 6 is a block diagram of a charging device according to an embodiment of the present invention. The apparatus is applied to a multi-battery device in which at least a first battery and a second battery can be placed, and may include:
a configuration acquiring unit 10 configured to acquire a configuration situation of the multi-battery device; the configuration condition comprises a charging configuration condition and a battery configuration condition, the charging configuration condition comprises a chargeable state and a non-chargeable state, and the battery configuration condition comprises a double-battery state and a single-battery state;
an information acquisition unit 20 for acquiring power information of the multi-battery device; the electric quantity information comprises the electric quantity of the first battery or the electric quantity of the first battery and the electric quantity of the second battery;
a charging control unit 30 for controlling the battery charging condition of the multi-battery device according to the configuration condition and the electric quantity information; wherein the battery charging condition comprises a first battery charging state, a second battery charging state and a dual battery charging state.
Alternatively, the charging control unit 30 may include:
the first judging subunit is used for judging whether the charging configuration condition is a double-battery state or not under the condition that the charging configuration condition is a chargeable state;
the first charging subunit is used for controlling the charging condition of the batteries to be a double-battery charging state when the electric quantity of the first battery and the electric quantity of the second battery are not full of electric quantity if the first charging subunit is in the double-battery state, and the first battery and the second battery are charged by external power supply of multi-battery equipment;
and the second charging subunit is used for controlling the charging condition of the battery to be the charging state of the first battery when the electric quantity of the first battery is not fully charged if the first battery is in the single battery state, and charging the first battery by utilizing external power supply.
Optionally, the charging control unit 30 may be specifically configured to control the battery charging condition of the multi-battery device according to the configuration condition, the electric quantity information, and the system power on/off condition of the multi-battery device; the system power-on and power-off condition comprises a system power-on state and a system power-off state.
Alternatively, the charging control unit 30 may include:
the second judging subunit is used for judging whether the charging configuration condition is a double-battery state or not if the charging configuration condition is a chargeable state under the condition that the system is powered on and powered off;
the third charging subunit is used for controlling the charging condition of the battery to be the charging state of the first battery when the electric quantity of the first battery is not fully charged if the first battery is in a single battery state, and charging the first battery by utilizing external power supply of the multi-battery device;
the fourth charging subunit is used for controlling the charging condition of the batteries to be a double-battery charging state when the electric quantity of the first battery is not fully charged and the electric quantity of the second battery is not larger than the switching electric quantity threshold value if the first battery is in the double-battery state, and charging the first battery and the second battery by utilizing external power supply; the first battery is a power supply battery, and the power supply battery is a battery for supplying power to the multi-battery device in a system mode.
Optionally, the charging control unit 30 may further include:
the fifth charging subunit is used for controlling the charging condition of the battery to be the charging state of the first battery and charging the first battery by utilizing external power supply when the electric quantity of the first battery is not fully charged and the electric quantity of the second battery is greater than the switching electric quantity threshold value if the first battery is in the double-battery state;
and the sixth charging subunit is used for controlling the charging condition of the battery to be the charging state of the second battery when the electric quantity of the first battery is charged to full electric quantity and the electric quantity of the second battery is not fully charged if the first battery is in the double-battery state, and utilizing external power supply to charge the second battery.
Optionally, the fourth charging subunit may be specifically configured to charge the first battery by using external power through the power management chip, and charge the second battery by using external power through the battery management module;
the fifth charging subunit may be specifically configured to charge the first battery with external power supply through the power management chip;
the sixth charging subunit may be specifically configured to charge the second battery with external power supply through the power management chip.
In this embodiment, the charging control unit 30 controls the battery charging condition of the multi-battery device according to the configuration condition and the electric quantity information, and the multi-battery device can simultaneously supply power to the first battery and the second battery by setting the charging state of the dual batteries, so that the system shutdown condition in the battery switching process is reduced, the user experience is improved, and the purpose of commercial multi-battery schemes is achieved.
Corresponding to the above method embodiment, the embodiment of the present invention further provides a multi-battery device, and a multi-battery device described below and a charging method described above may be referred to in correspondence.
A multi-cell device comprising: a memory and a processor; wherein the memory is used for storing the computer program; a processor for implementing the steps of the charging method as described above when executing the computer program.
The present embodiment does not limit the specific device type of the multi-battery device, and the multi-battery device provided in the present embodiment may be specifically a mobile terminal device, a wearable device, and the like.
Corresponding to the above method embodiment, the embodiment of the present invention further provides a charging system, and a charging system described below and a charging method described above may be referred to in correspondence.
A charging system for use in a multi-battery device in which at least a first battery and a second battery are positionable, the charging system comprising: first battery, power source interface, power management chip, main chip and battery switch module still include:
the battery management module is used for controlling the connection and disconnection of the power interface and the second battery so as to charge the second battery by external power supply (such as power supply of an accessed wired charger or a wireless charger) accessed by the power interface when the battery charging condition of the multi-battery equipment is a double-battery charging state;
the power management chip is used for controlling the battery switching module to charge the first battery by external power supply when the battery charging condition of the multi-battery device is a double-battery charging state or a first battery charging state; and when the battery charging condition of the multi-battery equipment is a second battery charging state, controlling the battery switching module to charge the second battery by using external power supply.
Optionally, as shown in fig. 5, the battery management module may include a control module, a power switch, a first charging module (charging module 1#) and a second charging module (charging module 2 #); wherein the content of the first and second substances,
and the control module is used for controlling the power switch, the first charging module and the second charging module, supplying power to the first battery by utilizing the power supply of the second battery through the first charging module, and supplying power to the second battery by utilizing the external power supply connected with the power interface through the power switch and the second charging module.
Corresponding to the above method embodiment, the embodiment of the present invention further provides a computer-readable storage medium, and a computer-readable storage medium described below and a charging method described above may be referred to in correspondence with each other.
A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the charging method provided by the above-mentioned method embodiments.
The computer-readable storage medium may be a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and various other readable storage media capable of storing program codes.
The embodiments are described in a progressive manner in the specification, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. The device, the system, the multi-battery device and the computer-readable storage medium disclosed by the embodiments correspond to the method disclosed by the embodiments, so that the description is simple, and the relevant points can be referred to the description of the method.
A charging method, apparatus, system, multi-battery device and computer-readable storage medium according to the present invention are described in detail above. The principles and embodiments of the present invention are explained herein using specific examples, which are presented only to assist in understanding the method and its core concepts. It should be noted that, for those skilled in the art, it is possible to make various improvements and modifications to the present invention without departing from the principle of the present invention, and those improvements and modifications also fall within the scope of the claims of the present invention.

Claims (10)

1. A charging method applied to a multi-battery device in which at least a first battery and a second battery can be placed, the charging method comprising:
acquiring the configuration condition of the multi-battery equipment; the configuration condition comprises a charging configuration condition and a battery configuration condition, the charging configuration condition comprises a chargeable state and a non-chargeable state, and the battery configuration condition comprises a double-battery state and a single-battery state;
acquiring electric quantity information of the multi-battery equipment; wherein the power information includes a power of the first battery or a power of the first battery and a power of the second battery;
controlling the battery charging condition of the multi-battery equipment according to the configuration condition and the electric quantity information; wherein the battery charging condition comprises a first battery charging state, a second battery charging state and a dual battery charging state.
2. The charging method according to claim 1, wherein the controlling the battery charging condition of the multi-battery device according to the configuration condition and the charge amount information comprises:
judging whether the charging configuration condition is the double-battery state or not under the condition that the charging configuration condition is the chargeable state;
if so, controlling the battery charging condition to be the double-battery charging state when the electric quantity of the first battery and the electric quantity of the second battery are not full of electric quantity, and charging the first battery and the second battery by utilizing external power supply of the multi-battery device;
if not, when the electric quantity of the first battery is the not-full electric quantity, controlling the charging condition of the battery to be the charging state of the first battery, and charging the first battery by utilizing the external power supply.
3. The charging method according to claim 1, wherein the controlling the battery charging condition of the multi-battery device according to the configuration condition and the charge amount information comprises:
controlling the battery charging condition of the multi-battery equipment according to the configuration condition, the electric quantity information and the system on-off condition of the multi-battery equipment; the system power-on and power-off condition comprises a system power-on state and a system power-off state.
4. The charging method according to claim 3, wherein the controlling the battery charging condition of the multi-battery device according to the configuration condition, the capacity information and the system power-on/power-off condition of the multi-battery device comprises:
if the charging configuration condition is the chargeable state, judging whether the charging configuration condition is the double-battery state or not;
if not, when the electric quantity of the first battery is the not-full electric quantity, controlling the charging condition of the battery to be the charging state of the first battery, and charging the first battery by utilizing the external power supply of the multi-battery equipment;
if so, controlling the battery charging condition to be the dual-battery charging state when the electric quantity of the first battery is the non-full electric quantity and the electric quantity of the second battery is not greater than a switching electric quantity threshold value, and charging the first battery and the second battery by utilizing the external power supply; the first battery is a power supply battery, and the power supply battery is a battery for supplying power to the multi-battery device in a system mode.
5. The charging method according to claim 3, wherein after determining whether the charging configuration is the dual battery state, the method further comprises:
if the first battery is in the double-battery state, controlling the charging condition of the battery to be in the first battery charging state when the electric quantity of the first battery is the non-full electric quantity and the electric quantity of the second battery is greater than a switching electric quantity threshold value, and charging the first battery by utilizing the external power supply;
when the electric quantity of the first battery is charged to full electric quantity and the electric quantity of the second battery is not full electric quantity, the battery charging condition is controlled to be the charging state of the second battery, and the second battery is charged by utilizing the external power supply.
6. The charging method according to claim 5, wherein the controlling the battery charging condition to be the dual battery charging state, and the charging of the first battery and the second battery using the external power supply comprises:
charging the first battery by using the external power supply through a power management chip, and charging the second battery by using the external power supply through a battery management module;
the controlling the battery charging condition to be the first battery charging state, charging the first battery by using the external power supply, including:
charging the first battery by the external power supply through the power management chip;
the controlling the battery charging condition to be the second battery charging state, and charging the second battery by using the external power supply, includes:
and charging the second battery by using the external power supply through the power management chip.
7. A charging apparatus applied to a multi-battery device in which at least a first battery and a second battery can be placed, the charging apparatus comprising:
a configuration acquisition unit for acquiring a configuration condition of the multi-battery device; the configuration condition comprises a charging configuration condition and a battery configuration condition, the charging configuration condition comprises a chargeable state and a non-chargeable state, and the battery configuration condition comprises a double-battery state and a single-battery state;
an information acquisition unit for acquiring electric quantity information of the multi-battery device; wherein the power information includes a power of the first battery or a power of the first battery and a power of the second battery;
the charging control unit is used for controlling the battery charging condition of the multi-battery equipment according to the configuration condition and the electric quantity information; wherein the battery charging condition comprises a first battery charging state, a second battery charging state and a dual battery charging state.
8. A multi-cell device, comprising:
a memory for storing a computer program;
a processor for implementing the steps of the charging method according to any one of claims 1 to 6 when executing the computer program.
9. A charging system applied to a multi-battery device in which at least a first battery and a second battery can be placed, the charging system comprising: first battery, power source interface, power management chip, main chip and battery switch module, its characterized in that still includes:
the battery management module is used for controlling the connection and disconnection of the power interface and the second battery so as to charge the second battery by using external power supply accessed by the power interface when the battery charging condition of the multi-battery equipment is the double-battery charging state;
the power management chip is used for controlling the battery switching module to charge the first battery by using the external power supply when the battery charging condition of the multi-battery device is the double-battery charging state or the first battery charging state; and when the battery charging condition of the multi-battery equipment is a second battery charging state, controlling the battery switching module to charge the second battery by using the external power supply.
10. A computer-readable storage medium, characterized in that a computer program is stored thereon, which computer program, when being executed by a processor, carries out the steps of the charging method according to any one of claims 1 to 6.
CN202111616343.7A 2021-12-27 2021-12-27 Charging method, device and system, multi-battery device and storage medium Pending CN114268154A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111616343.7A CN114268154A (en) 2021-12-27 2021-12-27 Charging method, device and system, multi-battery device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111616343.7A CN114268154A (en) 2021-12-27 2021-12-27 Charging method, device and system, multi-battery device and storage medium

Publications (1)

Publication Number Publication Date
CN114268154A true CN114268154A (en) 2022-04-01

Family

ID=80830600

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111616343.7A Pending CN114268154A (en) 2021-12-27 2021-12-27 Charging method, device and system, multi-battery device and storage medium

Country Status (1)

Country Link
CN (1) CN114268154A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101420036A (en) * 2007-10-22 2009-04-29 深圳迈瑞生物医疗电子股份有限公司 Power supply management device and method for battery
GB201107267D0 (en) * 2008-09-30 2011-06-15 Ltd Tectonica Australia Pty Personal portable power distribution apparatus
CN102222949A (en) * 2011-06-13 2011-10-19 惠州Tcl移动通信有限公司 Device and method for managing batteries
CN102307260A (en) * 2011-09-07 2012-01-04 深圳市金立通信设备有限公司 Mobile phone double cell electric quantity management system and method thereof
CN111835057A (en) * 2020-01-09 2020-10-27 成都万创科技有限责任公司 Double-battery system, double-battery switching and charging method and tablet computer
CN111934409A (en) * 2020-09-14 2020-11-13 广东电网有限责任公司东莞供电局 Automatic switching anti-misoperation system and method for standby battery
DE102020113969A1 (en) * 2019-05-29 2020-12-03 Makita Corporation BATTERY PACK

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101420036A (en) * 2007-10-22 2009-04-29 深圳迈瑞生物医疗电子股份有限公司 Power supply management device and method for battery
GB201107267D0 (en) * 2008-09-30 2011-06-15 Ltd Tectonica Australia Pty Personal portable power distribution apparatus
CN102222949A (en) * 2011-06-13 2011-10-19 惠州Tcl移动通信有限公司 Device and method for managing batteries
CN102307260A (en) * 2011-09-07 2012-01-04 深圳市金立通信设备有限公司 Mobile phone double cell electric quantity management system and method thereof
DE102020113969A1 (en) * 2019-05-29 2020-12-03 Makita Corporation BATTERY PACK
CN111835057A (en) * 2020-01-09 2020-10-27 成都万创科技有限责任公司 Double-battery system, double-battery switching and charging method and tablet computer
CN111934409A (en) * 2020-09-14 2020-11-13 广东电网有限责任公司东莞供电局 Automatic switching anti-misoperation system and method for standby battery

Similar Documents

Publication Publication Date Title
CN102025001B (en) Terminal and charging and power supplying method thereof
US20140184143A1 (en) Power management system and method
US8847543B2 (en) Secondary battery charging device and secondary battery charging system
JP6198258B2 (en) Power supply terminal, and charging control method and apparatus
US20130140899A1 (en) Method, Apparatus for Emergency Power Supply and Device Associated Thereto
US8816644B2 (en) Interrupting the charging status of a rechargeable battery
US10283976B2 (en) Multifunctional data mobile power supply and charging method
US20100052608A1 (en) Electronic apparatus
CN110323808B (en) Charging stop method, charging stop device, computer equipment and storage medium
JP5613135B2 (en) Battery unit for portable terminal device and power supply method
CN109256825B (en) Charging method and electronic device
CN102447284B (en) Messaging device and control method thereof
CN114268154A (en) Charging method, device and system, multi-battery device and storage medium
CN102299550A (en) Power supply method of electronic device
WO2014190831A1 (en) Battery control method and device, terminal and computer storage medium
KR101188358B1 (en) Apparatus of controlling a power of a electronic device without power-off and the controlling method thereof
US20150326036A1 (en) Charging circuit and control method therefor
KR100798884B1 (en) Charge apparatus for battery and method thereof
CN107706994A (en) Control method and device when USB flash disk charger baby is to load charging
CN204578120U (en) The electric energy supervision system of Mobile electric power
CN114498890A (en) Multi-battery main battery switching method, device, equipment, system and storage medium
CN110148992B (en) Charging control method, terminal device and storage medium
TWI488032B (en) Electronic device and power supplying control method thereof
CN103095929B (en) Method and system capable of preventing terminal from restarting repeatedly and mobile terminal using the same
CN107453469B (en) It is a kind of that the control device and method opened is filled based on smart machine electroless state

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
TA01 Transfer of patent application right

Effective date of registration: 20221124

Address after: No. 500 Songling Road, Laoshan District, Qingdao City, Shandong Province, 266100

Applicant after: GOERTEK TECHNOLOGY Co.,Ltd.

Address before: 261031 workshop 1, phase III, Geer Photoelectric Industrial Park, 3999 Huixian Road, Yongchun community, Qingchi street, Weifang High tech Zone, Weifang City, Shandong Province

Applicant before: GoerTek Optical Technology Co.,Ltd.

TA01 Transfer of patent application right