Intelligent device, control method of intelligent device and storage medium

By switching the parallel and series states of the batteries in smart devices, the problem of short battery life caused by the reduction of lithium-ion battery voltage is solved, and the battery energy is more efficiently released and the battery life is extended.

CN119496243APending Publication Date: 2025-02-21HISENSE VISUAL TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410765960.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-13
Publication Date
2025-02-21

AI Technical Summary

Technical Problem

The voltage of lithium-ion batteries in smart devices decreases with discharge, causing the system to shut down, resulting in a short battery life.

Method used

In the power supply device of the smart device, the battery voltage is detected by the charging manager, and when it is lowered to a certain threshold, the states of the first battery and the second battery change from parallel to series to increase the battery voltage and extend the battery life.

Benefits of technology

By connecting the battery state in series, the voltage of the power supply device is increased, the battery life of the smart device is extended, and the battery energy is further released.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119496243A_ABST
    Figure CN119496243A_ABST
Patent Text Reader

Abstract

The embodiment of the invention belongs to the technical field of power management. The invention provides intelligent equipment, a control method of the intelligent equipment and a storage medium. And in the process that the first battery and the second battery are in the parallel connection state and the intelligent equipment is not in the charging state, the battery voltage of the power supply device is detected through the charging manager. When the battery voltage drops to a first threshold, a first signal is sent to the system processor by the charge manager. The system processor sends a first control signal to the power supply device according to the first signal, so that the power supply device controls the first battery and the second battery to be connected in series according to the first control signal. And supplying power to the system processor through the charging manager based on the total voltage of the first battery and the second battery which are connected in series. After the first battery and the second battery are connected in series, the voltage of the power supply device is increased, so that the intelligent equipment can operate continuously, the energy of the power supply device can be further released, and the endurance time of the power supply device of the intelligent equipment is prolonged.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of power management technology, and more specifically, to a smart device, a control method for the smart device, and a storage medium. Background Art

[0002] At present, in smart devices, such as virtual reality (VR) terminal devices or augmented reality (AR) terminal devices, lithium-ion batteries are usually used to power smart devices. For example, lithium-ion batteries can be low-voltage batteries of 4.2V (volts) or high-voltage batteries of 4.4V. High-voltage batteries are more expensive, and smart devices are usually powered by low-voltage batteries.

[0003] As the battery discharges, the battery voltage will gradually decrease. When the voltage drops to a certain value (for example, 3.5V), in order to ensure the stability of the system, the system needs to be shut down, which will cause some energy in the 4.2V low-voltage battery to be unable to be released, resulting in a shorter battery life for the smart device. Summary of the invention

[0004] The embodiments of the present application provide a smart device, a control method for the smart device, and a storage medium, which can be used to improve the battery life of the smart device.

[0005] In a first aspect, an embodiment of the present application provides a smart device, including:

[0006] A power supply device, comprising a first battery and a second battery;

[0007] a charging manager connected to the power supply device, the charging manager being configured to: detect the battery voltage of the power supply device when the first battery and the second battery are in a parallel state and the smart device is not in a charging state; and send a first signal to the system processor when the battery voltage drops to a first threshold value, the first signal being used to instruct the system processor to control the state of the first battery and the second battery to be in a series state;

[0008] A system processor is connected to the charging manager and the power supply device respectively, and the system processor is configured to: receive the first signal, and send a first control signal to the power supply device according to the first signal;

[0009] The power supply device is configured to: control the first battery and the second battery to be in a series connection state according to the first control signal;

[0010] The charging manager is further configured to: supply power to the system processor based on a first voltage of the power supply device, where the first voltage is a total voltage of the first battery and the second battery connected in series.

[0011] In this embodiment, when the first battery and the second battery are in a parallel state and the smart device is not in a charging state, the battery voltage of the power supply device is detected by the charging manager. When the battery voltage drops to a first threshold, the charging manager sends a first signal to the system processor. The system processor is configured to send a first control signal to the power supply device according to the first signal. The power supply device is configured to control the state of the first battery and the second battery to be in a series state according to the first control signal. The charging manager is configured to supply power to the system processor based on a first voltage of the power supply device, and the first voltage is the total voltage of the first battery and the second battery in series. After the first battery and the second battery are connected in series, the voltage of the power supply device will rise, so that the smart device can continue to operate, and the energy of the power supply device can be further released, thereby improving the battery life of the power supply device of the smart device.

[0012] In some embodiments of the present application, the charging manager is connected to the USB charging interface of the smart device, and the charging manager is further configured to:

[0013] In the process of supplying power to the smart device based on the first battery and the second battery connected in series, detecting whether the smart device enters a charging state through the USB charging interface;

[0014] If not, when the first voltage drops to a second threshold, a second signal and a third signal are sent to the system processor, wherein the second signal is used to instruct the system processor to control the first battery and the second battery to be in a parallel state, and the third signal is used to instruct the system processor to control the smart device to shut down;

[0015] The system processor is further configured to:

[0016] receiving the second signal and the third signal;

[0017] sending a second control signal to the power supply device according to the second signal;

[0018] According to the third signal, controlling the smart device to shut down;

[0019] The power supply device is further configured to control the first battery and the second battery to be in a parallel state according to the second control signal.

[0020] In this embodiment, during the process of using the batteries connected in series to supply power, if the smart device does not enter the charging state and the battery voltage drops to the second threshold value, the first battery and the second battery can be controlled to be converted from a series state to a parallel state, and the smart device can be controlled to shut down, thereby protecting the power supply device and avoiding damage to the power supply device due to excessive consumption.

[0021] In some embodiments of the present application, the charging manager is configured to:

[0022] If the smart device is detected to enter a charging state through the USB charging interface, a second signal is sent to the system processor, where the second signal is used to instruct the system processor to switch the states of the first battery and the second battery to a parallel state;

[0023] The system processor is further configured to: receive the second signal; and send a second control signal to the power supply device according to the second signal;

[0024] The power supply device is configured to control the first battery and the second battery to be in a parallel state according to the second control signal;

[0025] The charging manager is further configured to: control the external power supply corresponding to the USB charging interface to charge the first battery and the second battery connected in parallel, and to supply power to the system processor.

[0026] In this embodiment, during the process of powering the system processor based on the first battery and the second battery connected in series, if the smart device enters a charging state, the batteries can be directly controlled to return to a parallel state, and the power supply device can be charged through the power supply corresponding to the USB charging interface, and the system processor can be powered.

[0027] In some embodiments of the present application, the charging manager is further configured to:

[0028] After the smart device is turned off and it is detected that the smart device enters a charging state, detecting whether the second voltage of the power supply device is greater than a third threshold;

[0029] When it is detected that the second voltage is greater than the third threshold, a fourth signal is sent to the system processor, wherein the fourth signal is used to instruct the system processor to output indication information, wherein the indication information prompts the user to turn on the computer;

[0030] When it is detected that the smart device is turned on, detecting through the USB charging interface whether the smart device exits the charging state before the second voltage reaches the first threshold;

[0031] If yes, sending the first signal to the system processor;

[0032] The system processor is further configured to:

[0033] The first signal is received, and a first control signal is sent to the power supply device according to the first signal.

[0034] In this embodiment, after the first battery and the second battery are connected in parallel and the smart device is turned off, if the smart device is detected to be in a charging state, the user can be prompted to turn on the device when the battery voltage is detected to be greater than a third threshold. After the smart device is turned on, if the charging state is exited before the voltage of the power supply device reaches the first threshold, the battery can be switched to a series state, so that the energy of the battery can be further released, thereby improving the battery life of the smart device.

[0035] In some embodiments of the present application, the power supply device further includes a first switch, a second switch and a third switch;

[0036] The common contact of the first switch is connected to the negative electrode of the second battery, the positive electrode of the second battery is connected to the common contact of the third switch through a first connecting line, the second contact of the second switch is connected to the first connecting line, the first contact of the second switch is connected to the first contact of the first switch, and the common contact of the second switch is connected to the positive electrode of the first battery; the first contact of the third switch is connected to the first pin of the charging manager, and the second contact of the third switch is connected to the second pin of the charging manager; the second end of the first battery is grounded, and the second contact of the first switch is grounded;

[0037] The first pin of the system processor is respectively connected to the control end of the first switch, the control end of the second switch and the control end of the third switch;

[0038] The system processor is configured to: send the first control signal or the second control signal through the first pin;

[0039] The power supply device is configured as follows:

[0040] When the first control signal is received, the first switch, the second switch and the third switch are controlled to connect the first contact point, so that the first battery and the second battery are in a series state.

[0041] When the second control signal is received, the first switch, the second switch and the third switch are controlled to connect the second contact point, so that the first battery and the second battery are in a parallel state.

[0042] In this embodiment, the first battery and the second battery can be connected through three single-pole double-throw switches, and the first battery and the second battery can be connected in series or in parallel by controlling the states of the three switches.

[0043] In some embodiments of the present application, the power supply device further includes: a third switch, a fourth switch, a fifth switch and a sixth switch;

[0044] Wherein, the positive electrode of the second battery is connected to the normally closed contact of the fourth switch through a third connecting line, and the negative electrode of the second battery is connected to the normally open contact of the fifth switch and the normally closed contact of the sixth switch respectively; the first contact of the third switch is connected to the first pin of the charging manager, and the second contact of the third switch is connected to the second pin of the charging manager; the common contact of the third switch is connected to the third connecting line; the common contact of the fourth switch is connected to the positive electrode of the first battery through a fourth connecting line, and the negative electrode of the first battery is grounded; the common contact of the fifth switch is connected to the fourth connecting line; and the common contact of the sixth switch is grounded;

[0045] The first pin of the system processor is respectively connected to the control end of the third switch, the control end of the fourth switch, the control end of the fifth switch and the control end of the sixth switch;

[0046] The system processor is configured to: send the first control signal or the second control signal through the first pin;

[0047] The power supply device is configured as follows:

[0048] When receiving the first control signal, the fourth switch and the sixth switch are controlled to be opened, and the fifth switch is controlled to be closed, so that the first battery and the second battery are in a series state; and the third switch is controlled to connect the first contact;

[0049] When the second control signal is received, the fourth switch, the fifth switch and the sixth switch are controlled to be closed, so that the first battery and the second battery are in a parallel state; and the third switch is controlled to connect the second contact.

[0050] In this embodiment, the first battery and the second battery can be connected through three single-pole single-throw switches, and the first battery and the second battery can be connected in series or in parallel by controlling the states of the three switches.

[0051] In some embodiments of the present application, the power supply device further includes: a third switch and a seventh switch;

[0052] The positive electrode of the second battery is connected to the first contact of the seventh switch through a fifth connection line, the positive electrode of the first battery is connected to the first common contact of the seventh switch, and the negative electrode of the first battery is grounded; the first contact of the third switch is connected to the first pin of the charging manager, the second contact of the third switch is connected to the second pin of the charging manager, and the common contact of the third switch is connected to the fifth connection line; the negative electrode of the second battery is connected to the second common contact of the seventh switch; the second contact and the third contact of the seventh switch are connected through a sixth connection line, and the fourth contact of the seventh switch is grounded;

[0053] The first pin of the system processor is connected to the control end of the third switch and the control end of the seventh switch respectively;

[0054] The system processor is configured to: send the first control signal or the second control signal through the first pin;

[0055] The power supply device is configured as follows:

[0056] When receiving the first control signal, controlling the seventh switch to connect the second contact and the third contact so that the first battery and the second battery are in a series connection state; and controlling the third switch to connect the first contact;

[0057] When the second control signal is received, the seventh switch is controlled to connect the first contact and the fourth contact so that the first battery and the second battery are in parallel; and the third switch is controlled to connect the second contact.

[0058] In this embodiment, the first battery and the second battery can be connected through a double-pole double-throw switch, and the first battery and the second battery can be connected in series or in parallel by controlling the state of the switch.

[0059] In some embodiments of the present application, the smart device further includes a first fuel gauge and a second fuel gauge; wherein the first fuel gauge is respectively connected to the third pin of the charging manager, the first contact of the third switch, and the second pin of the system processor; the second fuel gauge is respectively connected to the second contact of the third switch, the third pin of the system processor, and the battery field effect transistor of the charging manager;

[0060] The first power meter is configured to count the power of the power supply device when the first battery and the second battery are in a series connection state;

[0061] The second electricity meter is configured to count the electricity of the power supply device when the first battery and the second battery are in parallel.

[0062] In this embodiment, two electricity meters can be used to count the power consumption of the power supply device when the power supply device is in different states.

[0063] In some embodiments of the present application, the system processor is configured to:

[0064] When the battery voltage drops to the first threshold, obtaining a first power value through the second power meter;

[0065] When the first voltage decreases to a second threshold, obtaining a second power value through the first power meter;

[0066] The remaining power of the power supply device when the first voltage drops to a second threshold is calculated according to the first power value and the second power value.

[0067] In this embodiment, the remaining power of the power supply device can be obtained through the second power meter when the battery voltage drops to a first threshold value, and then the power consumption of the power supply device after the batteries are connected in series can be obtained through the first power meter when the voltage of the power supply device drops to a second threshold value. The remaining power consumption of the power supply device when the first voltage drops to the second threshold value is determined based on these two power values, thereby improving the accuracy of power consumption statistics.

[0068] In some embodiments of the present application, a second connection line between the power pin of the system processor and the charging manager is connected to a first end of a first capacitor, and a second end of the first capacitor is grounded; the second connection line is connected to a battery field effect transistor of the charging manager;

[0069] The system processor is further configured to:

[0070] Before sending the first control signal to the power supply device, controlling the state of the smart device to be a low power consumption state;

[0071] After sending the first control signal to the power supply device, if the first voltage is above a fourth threshold, the state of the smart device is controlled to be a working state.

[0072] In this embodiment, before the states of the first battery and the second battery are switched to the series switching, the state of the smart device is switched to the low power consumption state, so that at the moment of switching, the electric field between the two electrodes of the first capacitor will be weakened, and the first capacitor will gradually discharge, which can maintain the short-term operation of the smart device and avoid the smart device from shutting down.

[0073] In a second aspect, the present application provides a control method for a smart device, the smart device comprising:

[0074] A power supply device, comprising a first battery and a second battery;

[0075] a charging manager connected to the positive electrode of the power supply device;

[0076] a system processor, connected to the charging manager and the power supply device respectively;

[0077] The method comprises:

[0078] When the first battery and the second battery are in a parallel state and the smart device is not in a charging state, the battery voltage of the power supply device is detected by the charging manager; when the battery voltage drops to a first threshold, a first signal is sent to the system processor, wherein the first signal is used to instruct the system processor to control the state of the first battery and the second battery to be in a series state;

[0079] receiving the first signal through the system processor, and sending a first control signal to the power supply device according to the first signal;

[0080] The power supply device is configured to: control the first battery and the second battery to be in a series connection state according to the first control signal;

[0081] The smart device is powered by a charging manager based on a first voltage of the power supply device, where the first voltage is a total voltage of the first battery and the second battery connected in series.

[0082] In this embodiment, when the first battery and the second battery are in a parallel state and the smart device is not in a charging state, the battery voltage of the power supply device is detected by the charging manager. When the battery voltage drops to a first threshold value, the charging manager sends a first signal to the system processor. The system processor sends a first control signal to the power supply device according to the first signal. The power supply device controls the state of the first battery and the second battery to be in a series state according to the first control signal. The charging manager supplies power to the system processor based on the first voltage of the power supply device, and the first voltage is the total voltage of the first battery and the second battery in series. After the first battery and the second battery are connected in series, the voltage of the power supply device will rise, so that the smart device can continue to operate, and the energy of the power supply device can be further released, thereby improving the battery life of the power supply device of the smart device.

[0083] In a third aspect, the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions, and when the computer-executable instructions are executed by a computer, they are used to implement the method described in the second aspect.

[0084] The computer-readable storage medium provided in the embodiment of the present application can execute the technical solution in the above method embodiment, and its beneficial effects are similar, which will not be repeated here.

[0085] In a fourth aspect, the present application provides a computer program product, including a computer program, wherein the computer program is used to implement the method described in the second aspect when executed by a computer.

[0086] The computer program product provided in the embodiment of the present application can execute the technical solution in the above method embodiment, and its beneficial effects are similar, which will not be described in detail here. BRIEF DESCRIPTION OF THE DRAWINGS

[0087] In order to more clearly illustrate the implementation methods in the embodiments of the present application or the related technologies, the following is a brief introduction to the drawings required for use in the embodiments or the related technology descriptions. Obviously, the drawings described below are some embodiments of the present application, and a person skilled in the art can also obtain other drawings based on these drawings.

[0088] Figure 1 A schematic diagram of the structure of a smart device provided in an embodiment of the present application;

[0089] Figure 2 A schematic diagram of the structure of another smart device provided in an embodiment of the present application;

[0090] Figure 3 A schematic diagram of the structure of another smart device provided in an embodiment of the present application;

[0091] Figure 4 A schematic diagram of the structure of another smart device provided in an embodiment of the present application;

[0092] Figure 5 A schematic diagram of the structure of another smart device provided in an embodiment of the present application;

[0093] Figure 6 A schematic diagram of the structure of another smart device provided in an embodiment of the present application;

[0094] Figure 7 A schematic diagram of a flow chart of a control method for an intelligent device provided in an embodiment of the present application;

[0095] Figure 8 A schematic diagram of a flow chart of a control method for an intelligent device provided in an embodiment of the present application;

[0096] Fig. 9 A schematic diagram of a flow chart of a control method for an intelligent device provided in an embodiment of the present application;

[0097] Fig.10 A schematic diagram of a flow chart of a control method for an intelligent device provided in an embodiment of the present application;

[0098] Fig.11A schematic diagram of a flow chart of a control method for an intelligent device provided in an embodiment of the present application;

[0099] Fig.12 A flowchart of a method for controlling a smart device provided in an embodiment of the present application.

[0100] Description of reference numerals:

[0101] 10-intelligent device; 101-power supply device;

[0102] 102 - charging manager; 104 - system processor;

[0103] 11- a first battery; 12- a second battery;

[0104] 31-first switch; 32-second switch;

[0105] 33-third switch; 34-fourth switch;

[0106] 35-fifth switch; 36-sixth switch;

[0107] 37-seventh switch; 105-first electricity meter;

[0108] 106 - a second electricity meter; C1 - a first capacitor. DETAILED DESCRIPTION

[0109] In order to make the purpose, implementation mode and advantages of the present application clearer, the exemplary implementation mode of the present application will be clearly and completely described below in conjunction with the drawings in the exemplary embodiments of the present application. Obviously, the described exemplary embodiments are only part of the embodiments of the present application, rather than all the embodiments.

[0110] It should be noted that the brief description of terms in this application is only for the convenience of understanding the embodiments described below, and is not intended to limit the embodiments of this application. Unless otherwise specified, these terms should be understood according to their common and usual meanings.

[0111] In addition, the terms "include" and "have" and any variations thereof are intended to cover but not exclude inclusion, for example, a product or device comprising a list of components is not necessarily limited to those components expressly listed but may include other components not expressly listed or inherent to such products or devices.

[0112] Currently, VR / AR terminal devices are limited by size, weight and other requirements, and cannot be equipped with large-capacity batteries, resulting in limited battery life of VR / AR terminal devices. VR device batteries basically use lithium-ion batteries, which can be 4.2V low-voltage batteries or 4.4V high-voltage batteries. High-voltage batteries are more expensive, and smart devices are usually powered by low-voltage batteries.

[0113] At present, VR / AR terminal devices (for example, VR headsets are virtual reality head-mounted display devices, which use head-mounted display devices to guide users to feel like they are in a virtual environment) generally use an embedded lithium battery architecture. In order to consider the wearing comfort of VR headsets and the balance of front and rear weights, the battery pack is usually installed at the back of the headset. The battery pack includes two batteries that are symmetrically arranged in parallel. The capacity of the battery pack is about 5000 to 6000mAh (milliampere hours). The back of the headset is connected to the front display motherboard through a battery cable of about 40cm. Due to the existence of the battery cable's own impedance and contact impedance, the voltage drop on the battery cable is relatively large under heavy load conditions, and the voltage drop is generally around 0.1V.

[0114] In order to ensure the stability of the system, the VR headset needs to be shut down when the battery voltage is around 3.4V. At this time, the voltage of the battery pack is about 3.5V, which will cause the 4.2V low-voltage battery to have about 1000-2000mAH of energy that cannot be released, resulting in a shorter battery life.

[0115] Therefore, the present application provides a smart device. When the batteries in the power supply device are connected in parallel and the power is low, the two batteries in the power supply device can be controlled to be connected in series. The voltage of the power supply device after the two batteries are connected in series increases, so that the smart device can continue to run, and the energy of the power supply device can be further released, thereby improving the battery life of the power supply device of the smart device.

[0116] It can be understood that the smart device of the embodiment of the present application can be a smart device such as a VR device or an AR device, and the present application does not limit this.

[0117] The technical solution of the present application is described in detail below in conjunction with specific embodiments. The following specific embodiments can be combined with each other or exist independently. The same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present application will be described below in conjunction with the accompanying drawings.

[0118] First, the specific structure of a smart device provided by the present application is described, for example, Figure 1 A schematic diagram of the structure of a smart device provided in an embodiment of the present application is shown in FIG. Figure 1As shown, the smart device 10 includes a power supply device 101 , a charging manager 102 , and a system processor 104 . The power supply device 101 includes a first battery 11 and a second battery 12 .

[0119] The charging manager 102 is connected to the positive electrode of the power supply device 101. The system processor 104 is connected to the charging manager 102 and the power supply device 101 respectively.

[0120] In one possible implementation, the charging manager 102 may send a first signal to the system processor 104, and the system processor 104 may send a first control signal to the power supply device 101 based on the first signal, wherein the first control signal is used to instruct the power supply device 101 to control the state of the first battery 11 and the second battery 12 to be in a series state.

[0121] In one possible implementation, the charging manager 102 may send a second signal to the system processor 104, and the system processor 104 may send a second control signal to the power supply device 101 based on the second signal, where the second control signal is used to instruct the power supply device 101 to control the state of the first battery 11 and the second battery 12 to be in parallel.

[0122] In one possible implementation, Figure 2 A schematic diagram of the structure of another smart device provided in an embodiment of the present application, such as Figure 2 As shown, the power supply device 101 further includes a first switch 31, a second switch 32 and a third switch 33. The common contact (s1) of the first switch 31 is connected to the negative electrode of the second battery 12, the positive electrode of the second battery 12 is connected to the common contact (s3) of the third switch 33 through a first connecting line, the second contact of the second switch 32 is connected to the first connecting line, the first contact of the second switch 32 is connected to the first contact of the first switch, and the common contact (s2) of the second switch 32 is connected to the positive electrode of the first battery 11. The first contact of the third switch 33 is connected to the first pin (DCIN_SNS) of the charging manager 102, and the second contact of the third switch 33 is connected to the second pin (VBAT-SNS) of the charging manager 102. The negative electrode of the first battery 11 is grounded, and the second contact of the first switch 31 is grounded.

[0123] The first pin (DCIN_EN) of the system processor 104 is connected to the control end of the first switch 31 , the control end of the second switch 32 , and the control end of the third switch 33 , respectively.

[0124] The system processor 104 is configured to send a first control signal or a second control signal through a first pin.

[0125] The power supply device 101 is configured as follows:

[0126] When the first control signal is received, the first switch 31, the second switch 32 and the third switch 33 are controlled to connect the first contact point, so that the first battery 11 and the second battery 12 are connected in series.

[0127] When the second control signal is received, the first switch 31, the second switch 32 and the third switch 33 are controlled to connect the second contact point, so that the first battery 11 and the second battery 12 are in parallel state.

[0128] Exemplarily, the system processor 104 can control the level of the first pin to be high, so that the first control signal is a high level signal, so that the first switch 31, the second switch 32 and the third switch 33 connect the first contact, so that the first battery 11 and the second battery 12 are in series.

[0129] Exemplarily, the system processor 104 can control the level of the first pin to be low, so that the first control signal is a low level signal, so that the first switch 31, the second switch 32 and the third switch 33 are connected to the second contact, so that the first battery 11 and the second battery 12 are in parallel.

[0130] In this embodiment, the first battery and the second battery can be connected through three single-pole double-throw switches, and the first battery and the second battery can be connected in series or in parallel by controlling the states of the three switches.

[0131] In the structural diagram of the embodiment of the present application, 1 of the first switch 31, the second switch 32 and the third switch 33 represents the first contact, and 2 represents the second contact. Taking the first switch 31 as an example, 1 of the first switch 31 represents the first contact of the first switch 31, and 2 of the first switch 31 represents the second contact of the first switch 31. Other similarities are not repeated here.

[0132] In one possible implementation, Figure 3 A schematic diagram of the structure of another smart device provided in an embodiment of the present application, such as Figure 3 As shown, the power supply device 101 further includes: a third switch 33, a fourth switch 34, a fifth switch 35 and a sixth switch 36;

[0133] The positive electrode of the second battery 12 is connected to the normally closed contact (a1) of the fourth switch 34 through a third connection line, and the negative electrode of the second battery 12 is connected to the normally open contact (a2) of the fifth switch 35 and the normally closed contact of the sixth switch 36 (a3) ​​respectively. The first contact of the third switch 33 is connected to the first pin of the charging manager 102, and the second contact of the third switch 33 is connected to the second pin of the charging manager 102. The common contact (s3) of the third switch 33 is connected to the third connection line. The common contact (s4) of the fourth switch 34 is connected to the positive electrode of the first battery 11 through the fourth connection line, and the negative electrode of the first battery 11 is grounded. The common contact (s5) of the fifth switch 35 is connected to the fourth connection line. The common contact (s6) of the sixth switch 36 is grounded.

[0134] The first pin of the system processor 104 is connected to the control end of the third switch 33 , the control end of the fourth switch 34 , the control end of the fifth switch 35 , and the control end of the sixth switch 36 , respectively.

[0135] The system processor 104 is configured to send the first control signal or the second control signal through the first pin.

[0136] The power supply device 101 is configured as follows:

[0137] When the first control signal is received, the fourth switch 34 and the sixth switch 36 are controlled to be opened, and the fifth switch 35 is controlled to be closed, so that the first battery 11 and the second battery 12 are in series state; and the third switch 33 is controlled to connect the first contact.

[0138] When the second control signal is received, the fourth switch 34, the fifth switch 35 and the sixth switch 36 are controlled to be closed, so that the first battery 11 and the second battery 12 are in parallel state; and the third switch 33 is controlled to connect the second contact.

[0139] In a possible implementation, the fourth switch 34 and the sixth switch 36 are normally closed single-pole single-throw switches, and the fifth switch 35 is a normally open single-pole single-throw switch.

[0140] Exemplarily, the system processor 104 can control the level of the first pin to be high, so that the first control signal is a high-level signal, so that the fourth switch 34 and the sixth switch 36 are disconnected, and the fifth switch 35 is closed, so that the first battery 11 and the second battery 12 are connected in series. At the same time, the first control signal can make the third switch 33 connect the first contact and connect to the first pin of the charging manager 102.

[0141] Exemplarily, the system processor 104 can control the level of the first pin to be low, so that the second control signal is a low-level signal, so that the fourth switch 34, the fifth switch 35 and the sixth switch 36 are closed, so that the first battery 11 and the second battery 12 are in parallel. At the same time, the second control signal can make the third switch 33 connect the second contact and connect to the second pin of the charging manager 102.

[0142] In this embodiment, the first battery and the second battery can be connected through three single-pole single-throw switches, and the first battery and the second battery can be connected in series or in parallel by controlling the states of the three switches.

[0143] In one possible implementation, Figure 4 A schematic diagram of the structure of another smart device provided in an embodiment of the present application, such as Figure 4 As shown, the power supply device 101 further includes: a third switch 33 and a seventh switch 37 .

[0144] The positive electrode of the second battery 12 is connected to the first contact of the seventh switch 37 through the fifth connection line, the positive electrode of the first battery 11 is connected to the first common contact (s7) of the seventh switch, and the negative electrode of the first battery 11 is grounded. The first contact of the third switch 33 is connected to the first pin of the charging manager 102, the second contact of the third switch is connected to the second pin of the charging manager 102, and the common contact (s3) of the third switch 33 is connected to the fifth connection line. The negative electrode of the second battery 12 is connected to the second common contact (s8) of the seventh switch 37. The second contact and the third contact of the seventh switch 37 are connected through the sixth connection line, and the fourth contact of the seventh switch 37 is grounded.

[0145] The first pin of the system processor 104 is connected to the control end of the third switch 33 and the control end of the seventh switch 37 respectively.

[0146] The system processor 104 is configured to send the first control signal or the second control signal through the first pin.

[0147] The power supply device 101 is configured as follows:

[0148] When receiving the first control signal, the seventh switch 37 is controlled to connect the second contact and the third contact so that the first battery 11 and the second battery 12 are connected in series; and the third switch is controlled to connect the first contact.

[0149] When receiving the second control signal, the seventh switch 37 is controlled to connect the first contact and the fourth contact so that the first battery 11 and the second battery 12 are in parallel state; and the third switch 33 is controlled to connect the second contact.

[0150] In a possible implementation, the seventh switch 37 is a double-pole double-throw switch.

[0151] Exemplarily, the system processor 104 can control the level of the first pin to be high, so that the first control signal is a high-level signal, so that the seventh switch 37 connects the second contact and the third contact, so that the first battery 11 and the second battery 12 are in a series state. At the same time, the first control signal can make the third switch 33 connect the first contact and connect to the first pin of the charging manager 102.

[0152] Exemplarily, the system processor 104 can control the level of the first pin to be low, so that the second control signal is a low-level signal, so that the seventh switch 37 is controlled to connect the first contact and the fourth contact, so that the first battery 11 and the second battery 12 are in a parallel state. At the same time, the second control signal can make the third switch 33 connect the second contact and connect to the second pin of the charging manager 102.

[0153] In this embodiment, the first battery 11 and the second battery 12 can be connected through a double-pole double-throw switch, and the first battery and the second battery can be connected in series or in parallel by controlling the state of the switch.

[0154] In one possible implementation, Figure 5 A schematic diagram of the structure of another smart device provided in an embodiment of the present application, such as Figure 5 As shown, the smart device 10 further includes a first fuel gauge 105 and a second fuel gauge 106. The first fuel gauge 105 is respectively connected to the third pin (DC_IN) of the charging manager 102, the first contact of the third switch 33, and the second pin (DATA_IN1) of the system processor 104. The second fuel gauge 106 is respectively connected to the second contact of the third switch 33, the third pin of the system processor 104, and the battery field effect transistor (Battery FET) of the charging manager 102.

[0155] The first power meter 105 is configured to count the power of the power supply device when the first battery 11 and the second battery 12 are connected in series.

[0156] The second power meter 106 is configured to count the power of the power supply device when the first battery 11 and the second battery 12 are in parallel.

[0157] The system processor 104 may calculate the remaining power of the power supply device according to the power levels of the first power meter 105 and the second power meter 106 .

[0158] In one possible implementation, Figure 6 A schematic diagram of the structure of another smart device provided in an embodiment of the present application, such as Figure 6As shown, the second connection line between the power pin (POWER) of the system processor 104 and the charging manager 102 is connected to the first end of the first capacitor C1, and the second end of the first capacitor C1 is grounded. The second connection line is connected to the battery field effect transistor (Battery FET) of the charging manager 102.

[0159] When the power supply device is low in power, at the moment when the first battery 11 and the second battery 12 are switched from a parallel state to a series state, the electric field between the two electrodes of the first capacitor C1 will weaken, and the first capacitor C1 will gradually discharge, which can maintain the short-term operation of the smart device and avoid the smart device from shutting down.

[0160] In a possible implementation, the first capacitor C1 can be a capacitor of any size between 100μF (microfarad) and 200μF, or a 100μF capacitor, or a 200μF capacitor, so that when the first battery 11 and the second battery 12 are switched from a parallel state to a series state, the first capacitor C1 can maintain the short-term operation of the smart device. And when the power of the smart device is low, after the charger is inserted, if the smart device is turned on, the voltage of the charger charges the first capacitor C1, which does not affect the startup of the smart device.

[0161] In one possible implementation, Figure 6 As shown, the system power management interface (SPMI) of the system processor 104 is connected to the SPMI of the charging manager 102, and the system processor 104 and the charging manager 102 can communicate through the connection. For example, the charging manager 102 can send a first signal to the system processor 104 to instruct the system processor 104 to control the state of the first battery 11 and the second battery to be in series.

[0162] In the structural diagram of the embodiment of the present application, 1 of the seventh switch represents the first contact, 2 represents the second contact, 3 represents the third contact, and 4 represents the fourth contact. 1 of the first capacitor C1 represents the first end, and 2 of the first capacitor C1 represents the second end.

[0163] Understandably, Figure 5 and Figure 6 So Figure 2 Take the structure of the power supply device 101 as an example. Figure 5 and Figure 6 The power supply device 101 in the embodiment may also be Figure 3 or Figure 4 The corresponding structure of the power supply device 101.

[0164] Next, the control method of the smart device provided in the embodiment of the present application is described.

[0165] Figure 7 A flow chart of a control method for a smart device provided in an embodiment of the present application is provided, and the method is applied to the above-mentioned smart device, such as Figure 7 As shown, the method may include the following steps.

[0166] S701: When a first battery and a second battery are in parallel and the smart device is not in a charging state, a battery voltage of a power supply device is detected by a charging manager.

[0167] For example, the charging manager can detect whether the smart device is in a charging state according to a Universal Serial Bus (USB) charging interface. If the USB charging interface is plugged into a charger, the charging manager can detect that the smart device has entered a charging state. If the USB charging interface is not plugged into a charger, the charging manager can detect that the smart device has not entered a charging state.

[0168] For example, Figure 5 As shown, if the charging manager detects a voltage through the first pin, it can be said that the first battery and the second battery are in series connection at this time; if the charging manager detects a voltage through the second pin, it can be said that the first battery and the second battery are in parallel connection at this time.

[0169] When the first battery and the second battery are in parallel and the smart device is not in a charging state, the charging manager may detect the battery voltage of the power supply device.

[0170] S702: When the battery voltage drops to a first threshold, a first signal is sent to a system processor via a charging manager.

[0171] When the battery voltage of the power supply device drops to the first threshold, it means that the battery voltage is low at this time. In order to prevent the smart device from shutting down, the first battery and the second battery need to be switched to a series state, so that the operation of the smart device can be maintained and the energy of the first battery and the second battery can be further released. The charging manager sends a first signal to the system processor, and the first signal is used to instruct the system processor to control the state of the first battery and the second battery to be a series state.

[0172] It can be understood that the first threshold value can be the voltage value at which the smart device is shut down, or the first threshold value can be a voltage value with a smaller difference from the voltage value. For example, for the first voltage and the second voltage of 4.2V, the first threshold value can be 3.4V, or can be 3.6V, and this application does not limit this.

[0173] S703: Receive a first signal through a system processor.

[0174] After the charging manager sends the first signal, the system processor may receive the first signal.

[0175] S704: Send a first control signal to the power supply device according to the first signal through the system processor.

[0176] For details, please refer to the above embodiments, which will not be described in detail here.

[0177] S705: Control the first battery and the second battery to be in series connection according to the first control signal through the power supply device.

[0178] S706: Power the system processor based on a first voltage of the power supply device through the charging manager, where the first voltage is a total voltage of the first battery and the second battery connected in series.

[0179] After the first battery and the second battery are switched from a parallel state to a series state, since the battery voltage of the power supply device increases, the charging manager can power the system processor based on the first voltage of the power supply device, where the first voltage is the total voltage of the first battery and the second battery connected in series.

[0180] In one possible implementation, since the first voltage is the total voltage of the first battery and the second battery connected in series, the voltage is relatively high, for example, the voltage of the first battery is 3.4V, the voltage of the second battery is 3.4V, and the first voltage is 6.8V. The charging manager can step down the first voltage to provide an adapted voltage to the system processor.

[0181] In this embodiment, when the first battery and the second battery are in a parallel state and the smart device is not in a charging state, the battery voltage of the power supply device is detected by the charging manager. When the battery voltage drops to a first threshold value, the charging manager sends a first signal to the system processor. The system processor sends a first control signal to the power supply device according to the first signal. The power supply device controls the state of the first battery and the second battery to be in a series state according to the first control signal. The charging manager supplies power to the system processor based on the first voltage of the power supply device, and the first voltage is the total voltage of the first battery and the second battery in series. After the first battery and the second battery are connected in series, the voltage of the power supply device will rise, so that the smart device can continue to operate, and the energy of the power supply device can be further released, thereby improving the battery life of the power supply device of the smart device.

[0182] In the process of using the first battery and the second battery connected in series to supply power, the charging manager can detect whether the smart device enters a charging state, and perform different power supply controls according to the charging state and the non-charging state.

[0183] Figure 8A flow chart of a control method for a smart device provided in an embodiment of the present application is provided, and the method is applied to the above-mentioned smart device, such as Figure 8 As shown, the method may include the following steps.

[0184] S801: In the process of supplying power to a system processor based on a first battery and a second battery connected in series, detecting whether a smart device enters a charging state through a USB charging interface of a charging manager.

[0185] S802: If the smart device does not enter the charging state, when the first voltage drops to the second threshold, the charging manager sends a second signal and a third signal to the system processor.

[0186] The second signal is used to instruct the system processor to control the first battery and the second battery to be in a parallel state. The third signal is used to instruct the system processor to control the smart device to shut down.

[0187] Exemplarily, the second threshold value may be 6V, for example. When the voltage of the power supply device, that is, the first voltage, drops to the second threshold value, it means that the voltage of the first battery and the voltage of the second battery are reduced to 3V. At this time, the first battery and the second battery are controlled to switch from a series state to a parallel state. In order to protect the battery, the smart device needs to be shut down.

[0188] S803: Receive a second signal and a third signal through a system processor.

[0189] S804: Send a second control signal to the power supply device according to the second signal via the system processor.

[0190] For details, please refer to the above embodiments, which will not be described in detail here.

[0191] S805. Control the smart device to shut down according to the third signal through the system processor.

[0192] S806: Control the first battery and the second battery to be in parallel state according to the second control signal through the power supply device.

[0193] In one possible implementation, the charging manager may send a second signal and a third signal to the system processor at the same time, and the system processor may first send a second control signal to the power supply device according to the second signal. After the power supply device controls the states of the first battery and the second battery to be in parallel according to the second control signal, the system processor may control the smart device to shut down according to the third signal.

[0194] In a possible implementation, the charging manager may send the second signal and the third signal to the system processor simultaneously, the system processor may send the second control signal to the power supply device according to the second signal, and at the same time, the system processor controls the smart device to shut down according to the third signal.

[0195] In this embodiment, during the process of using the batteries connected in series to supply power, if the smart device does not enter the charging state and the battery voltage drops to the second threshold value, the first battery and the second battery can be controlled to be converted from a series state to a parallel state, and the smart device can be controlled to shut down, thereby protecting the power supply device and avoiding damage to the power supply device due to excessive consumption.

[0196] After controlling the first battery and the second battery to be connected in parallel and controlling the smart device to be shut down, the USB charging interface of the charging manager can be used to detect whether the smart device has entered a charging state, that is, to detect whether a charger is inserted into the charging device to charge it. When the smart device enters a charging state, power supply control can be further performed.

[0197] It can be understood that the above embodiment is a discharge process of the power supply device. Next, the charging process is described.

[0198] Fig. 9 A flow chart of a control method for a smart device provided in an embodiment of the present application is provided, and the method is applied to the above-mentioned smart device, such as Fig. 9 As shown, the method may include the following steps.

[0199] S901. After the smart device is turned off, detect whether the smart device is in a charging state through a USB charging interface.

[0200] If yes, then S902 is executed. If no, then no operation is performed.

[0201] S902: Detect, by the charging manager, whether the second voltage of the power supply device is greater than a third threshold.

[0202] If yes, execute S903.

[0203] S903: Send a fourth signal to the system processor through the charging manager, where the fourth signal is used to instruct the system processor to output indication information, where the indication information prompts the user to turn on the computer.

[0204] When it is detected that the second voltage of the power supply device is greater than the third threshold value, it means that after the smart device enters the charging state, the voltage of the power supply device increases to above the third threshold value. At this time, the voltage of the power supply device can support the startup of the smart device. The fourth signal is sent to the system processor through the charging manager. After receiving the fourth signal, the system processor can determine that the voltage of the current power supply device has increased, and the system processor can output indication information.

[0205] Exemplarily, the system processor may output the indication information in a manner such as controlling an indicator light to flash. When the user sees the indicator light flashing, the user may control the smart device to turn on by pressing a physical button.

[0206] S904: When it is detected that the smart device is turned on, detect through the USB charging interface of the charging manager whether the smart device exits the charging state before the second voltage reaches the first threshold.

[0207] It can be understood that after the smart device is turned on, the charging manager controls the external power supply corresponding to the USB charging interface to continuously charge the power supply device and supply power to the system processor. Then the voltage of the power supply device will continue to increase, and the smart device can detect whether the smart device exits the charging state before the second voltage reaches the first threshold through the USB charging interface of the charging manager.

[0208] If so, it means that the voltage of the power supply device has not reached the first threshold value at this time, and the smart device exits the charging state. The first battery and the second battery can be controlled to be connected in series, and the energy of the power supply device can be further released to maintain the operation of the smart device.

[0209] If yes, execute S905; if no, the charging manager can control the external power source corresponding to the USB charging interface to continuously charge the power supply device and supply power to the system processor.

[0210] S905: Send a first signal to the system processor through the charging manager.

[0211] S906: Receive a first signal through a system processor.

[0212] S907: Send a first control signal to the power supply device according to the first signal through the system processor.

[0213] The first control signal is used to control the first battery and the second battery of the power supply device to be connected in series.

[0214] In this embodiment, after controlling the first battery and the second battery to be connected in parallel and controlling the smart device to be turned off, if it is detected that the smart device enters a charging state, when it is detected that the battery voltage is greater than a third threshold, the user can be prompted to turn on the device, and after the smart device is turned on, if the charging state is exited before the voltage of the power supply device reaches the first threshold, the battery can be switched to a series state, so that the energy of the battery can be further released, thereby improving the battery life of the smart device.

[0215] It can be understood that if the voltage of the power supply device reaches the first threshold after the smart device is turned on and then exits the charging state, since the voltage of the power supply device at this time can maintain the operation of the smart device, during the operation of the smart device, the power supply device is in a discharging state, and the smart device can detect the voltage of the power supply device through the second pin of the charging manager. If the voltage of the power supply device drops to the first threshold, the smart device can execute Figure 7 The process of the control method of the corresponding embodiment.

[0216] Next, the power supply control after the charging manager detects that the smart device enters the charging state during the process of using the first battery and the second battery connected in series to supply power will be described.

[0217] Fig.10 A flow chart of a control method for a smart device provided in an embodiment of the present application is provided, and the method is applied to the above-mentioned smart device, such as Fig.10 As shown, the method may include the following steps.

[0218] S1001. In the process of supplying power to a system processor based on a first battery and a second battery connected in series, a USB charging interface of a charging manager detects whether a smart device enters a charging state.

[0219] S1002: If the smart device is detected to be in a charging state through the USB charging interface, a second signal is sent to the system processor.

[0220] If the smart device is detected to enter a charging state during the process of powering the system processor based on the first battery and the second battery connected in series, it means that an external power supply is available to power the system processor at this time, and the first battery and the second battery can be controlled to be converted from a series state to a parallel state, for example, the safety of the power supply device during the charging process can be improved.

[0221] S1003. Receive a second signal through the system processor.

[0222] S1004: Send a second control signal to the power supply device according to the second signal via the system processor.

[0223] S1005. Control the first battery and the second battery to be in parallel according to the second control signal through the power supply device.

[0224] S1006: Control the power supply corresponding to the USB charging interface through the charging manager to charge the first battery and the second battery connected in parallel, and to supply power to the system processor.

[0225] After the first battery and the second battery are connected in parallel, the charging manager can be used to control the power supply corresponding to the USB charging interface to charge the first battery and the second battery in parallel and to supply power to the system processor. It can be understood that the charging manager has the functions of charging the power supply device and supplying power to the system processor, which will not be introduced in detail here.

[0226] In this embodiment, during the process of powering the system processor based on the first battery and the second battery connected in series, if the smart device enters a charging state, the batteries can be directly controlled to return to a parallel state, and the power supply device can be charged through an external power supply corresponding to the USB charging interface, and the system processor can be powered.

[0227] Next, how the smart device determines the remaining power of the power supply device according to the first power meter and the second power meter is described.

[0228] Fig.11 A flow chart of a control method for a smart device provided in an embodiment of the present application is provided, and the method is applied to the above-mentioned smart device, such as Fig.11 As shown, the method may include the following steps.

[0229] S1101. When the battery voltage drops to a first threshold, a first power value is obtained through a second power meter.

[0230] When the first battery and the second battery are in parallel and the smart device is not in charging state, when the battery voltage of the power supply device drops to a first threshold, the smart device can obtain the value of the second power meter through the system processor to obtain the first power value.

[0231] In a possible implementation, the system processor may calculate the remaining power value of the power supply device at this time according to the first power value.

[0232] Specifically, the system processor may obtain an initial power Q0 of the power supply device, and then determine a difference between the initial power Q0 and the first power value as the remaining power value of the power supply device.

[0233] If the smart device is powered on for the first time, the system processor can determine the initial power Q0 in the relationship curve between the battery voltage and power according to the initial voltage at the time of the first power-on.

[0234] If the smart device is not powered on for the first time, the initial power Q0 of the power supply device is the remaining power recorded when the smart device was last powered off and obtained by the system processor when the smart device is powered on this time, that is, the initial power Q0 is the remaining power when the smart device was last powered off.

[0235] S1102: When the first voltage drops to a second threshold, obtain a second power value through the first power meter.

[0236] When the first battery and the second battery are switched from a parallel state to a series state, the first fuel gauge can start to count the power of the power supply device, and in the process of powering the system processor based on the series-connected first battery and the second battery, if the first voltage drops to a second threshold, the second power value of the first fuel gauge at this time is obtained.

[0237] It can be understood that the second power value can be obtained by integrating the current between the moment when the first battery and the second battery are switched from the parallel state to the series state and the moment when the first voltage drops to the second threshold value by the first power meter. In other words, the second power value is the power value consumed by the first battery and the second battery in the series state when the smart device is not in the charging state.

[0238] S1103: Calculate the remaining power of the power supply device when the first voltage drops to a second threshold value according to the first power value and the second power value.

[0239] When the first voltage drops to the second threshold, the remaining power of the power supply device may be a difference between the initial power Q0, the first power value, and the second power value.

[0240] In this embodiment, the remaining power of the power supply device can be obtained through the second power meter when the battery voltage drops to a first threshold value, and then the power consumption of the power supply device after the batteries are connected in series can be obtained through the first power meter when the voltage of the power supply device drops to a second threshold value. The remaining power consumption of the power supply device when the first voltage drops to the second threshold value is determined based on these two power values, thereby improving the accuracy of power consumption statistics.

[0241] It can be understood that when the smart device is running and the first battery and the second battery are always in a parallel state, the remaining power consumption of the power supply device can be obtained through the second power meter.

[0242] Fig.12 A flow chart of a control method for a smart device provided in an embodiment of the present application is provided, and the method is applied to the above-mentioned smart device, such as Fig.12 As shown, the method may include the following steps.

[0243] S1201. Before sending a first control signal to a power supply device, control the state of the smart device to be a low power consumption state through a system processor.

[0244] After the smart device enters the low power consumption state, since the required operating voltage is relatively low, the first capacitor maintains the short-term operation of the smart device at the moment of switching between the states of the first battery and the second battery.

[0245] S1202: After sending the first control signal to the power supply device, if the first voltage is above a fourth threshold, control the state of the smart device to be a working state through the system processor.

[0246] Exemplarily, the fourth threshold value may be 6.8V. After the first battery and the second battery are connected in series, if the voltage of the power supply device, that is, the first voltage, is above the fourth threshold value, it means that the first battery and the second battery connected in series can support the normal working state of the smart device, and the state of the smart device can be controlled to be in the working state through the system processor, thereby improving the user experience.

[0247] In this embodiment, before the state of the first battery and the second battery is switched to a series connection, the state of the smart device is switched to a low power consumption state, so that at the moment of switching, the electric field between the two electrodes of the first capacitor is weakened, and the first capacitor is gradually discharged, which can maintain the short-term operation of the smart device and avoid the smart device from shutting down.

[0248] The present application also provides a computer-readable storage medium, which may include: a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk, and other media that can store program codes. Specifically, the computer-readable storage medium stores computer execution instructions, which are used to implement the technical solution shown in the above method embodiment when executed by a computer.

[0249] The present application also provides a program product, which includes execution instructions stored in a readable storage medium. When the computer program is executed by a computer, the technical solution shown in the above method embodiment is executed. The specific implementation method and technical effect are similar and will not be repeated here.

[0250] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.

[0251] For ease of explanation, the above description has been made in conjunction with specific embodiments. However, the above exemplary discussion is not intended to be exhaustive or limit the embodiments to the specific forms disclosed above. Based on the above teachings, various modifications and variations can be obtained. The selection and description of the above embodiments are intended to better explain the principles and practical applications, so that those skilled in the art can better use the embodiments and various different variations of the embodiments suitable for specific use considerations.

[0252] The first, second, etc. descriptions in the embodiments of the present application are only used for illustration and to distinguish the objects of description. There is no order, nor does it indicate a special limitation on the number of devices in the embodiments of the present application, and cannot constitute any limitation on the embodiments of the present application. For example, the first threshold and the second threshold are only used to distinguish different thresholds, and do not indicate the difference in size, priority, or importance of the two thresholds.

[0253] In this application, "exemplary", "in some embodiments", "in other embodiments", etc. are used to indicate examples, illustrations, or descriptions. Any embodiment or design described as "exemplary" in this application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of the word "exemplary" is intended to present concepts in a concrete way.

[0254] In this application, "of", "corresponding, relevant", "corresponding", and "associated" can sometimes be used interchangeably. It should be noted that when the distinction is not emphasized, the meanings they express are consistent. In the embodiments of this application, communication and transmission can sometimes be used interchangeably. It should be noted that when the distinction is not emphasized, the meanings they express are consistent. For example, transmission can include sending and / or receiving, which can be a noun or a verb.

[0255] In this application, "equal to" can be used in conjunction with "less than" or "greater than", but not with both "less than" and "greater than". When "equal to" is used in conjunction with "less than", it is applicable to the technical solution adopted by "less than". When "equal to" is used in conjunction with "greater than", it is applicable to the technical solution adopted by "greater than".

Claims

1. A smart device, characterized in that: include: A power supply device, comprising a first battery and a second battery; a charging manager connected to the positive electrode of the power supply device, wherein the charging manager is configured to: detect the battery voltage of the power supply device when the first battery and the second battery are in a parallel state and the smart device is not in a charging state; and send a first signal to the system processor when the battery voltage drops to a first threshold value, wherein the first signal is used to instruct the system processor to control the state of the first battery and the second battery to be in a series state; A system processor is connected to the charging manager and the power supply device respectively, and the system processor is configured to: receive the first signal, and send a first control signal to the power supply device according to the first signal; The power supply device is configured to: control the first battery and the second battery to be in a series connection state according to the first control signal; The charging manager is further configured to: supply power to the system processor based on a first voltage of the power supply device, where the first voltage is a total voltage of the first battery and the second battery connected in series.

2. The smart device according to claim 1, characterized in that: The charging manager is connected to the USB charging interface of the smart device, and the charging manager is further configured to: In the process of supplying power to the system processor based on the first battery and the second battery connected in series, detecting whether the smart device enters a charging state through the USB charging interface; If not, when the first voltage drops to a second threshold, a second signal and a third signal are sent to the system processor, wherein the second signal is used to instruct the system processor to control the first battery and the second battery to be in a parallel state, and the third signal is used to instruct the system processor to control the smart device to shut down; The system processor is further configured to: receiving the second signal and the third signal; sending a second control signal to the power supply device according to the second signal; According to the third signal, controlling the smart device to shut down; The power supply device is further configured to control the first battery and the second battery to be in a parallel state according to the second control signal.

3. The smart device according to claim 2, characterized in that: The charging manager is configured to: If the smart device is detected to enter a charging state through the USB charging interface, a second signal is sent to the system processor; The system processor is further configured to: receive the second signal; and send a second control signal to the power supply device according to the second signal; The power supply device is configured to control the first battery and the second battery to be in a parallel state according to the second control signal; The charging manager is further configured to: control the external power supply corresponding to the USB charging interface to charge the first battery and the second battery connected in parallel, and to supply power to the system processor.

4. The smart device according to claim 2, characterized in that: The charging manager is further configured to: After the smart device is turned off and it is detected that the smart device enters a charging state, detecting whether the second voltage of the power supply device is greater than a third threshold; When it is detected that the second voltage is greater than the third threshold, a fourth signal is sent to the system processor, wherein the fourth signal is used to instruct the system processor to output indication information, wherein the indication information prompts the user to turn on the computer; When it is detected that the smart device is turned on, detecting through the USB charging interface whether the smart device exits the charging state before the second voltage reaches the first threshold; If yes, sending the first signal to the system processor; The system processor is further configured to: The first signal is received, and a first control signal is sent to the power supply device according to the first signal.

5. The smart device according to any one of claims 1 to 4, characterized in that: The power supply device also includes a first switch, a second switch and a third switch; The common contact of the first switch is connected to the negative electrode of the second battery, the positive electrode of the second battery is connected to the common contact of the third switch through a first connecting line, the second contact of the second switch is connected to the first connecting line, the first contact of the second switch is connected to the first contact of the first switch, and the common contact of the second switch is connected to the positive electrode of the first battery; the first contact of the third switch is connected to the first pin of the charging manager, and the second contact of the third switch is connected to the second pin of the charging manager; the negative electrode of the first battery is grounded, and the second contact of the first switch is grounded; The first pin of the system processor is respectively connected to the control end of the first switch, the control end of the second switch and the control end of the third switch; The system processor is configured to: send the first control signal or the second control signal through the first pin; The power supply device is configured as follows: When receiving the first control signal, controlling the first switch, the second switch and the third switch to connect the first contact point, so that the first battery and the second battery are in a series connection state; When the second control signal is received, the first switch, the second switch and the third switch are controlled to connect the second contact through the first pin, so that the first battery and the second battery are in a parallel state.

6. The smart device according to any one of claims 1 to 4, characterized in that: The power supply device further includes: a third switch, a fourth switch, a fifth switch and a sixth switch; Wherein, the positive electrode of the second battery is connected to the normally closed contact of the fourth switch through a third connecting line, and the negative electrode of the second battery is connected to the normally open contact of the fifth switch and the normally closed contact of the sixth switch respectively; the first contact of the third switch is connected to the first pin of the charging manager, and the second contact of the third switch is connected to the second pin of the charging manager; the common contact of the third switch is connected to the third connecting line; the common contact of the fourth switch is connected to the positive electrode of the first battery through a fourth connecting line, and the negative electrode of the first battery is grounded; the common contact of the fifth switch is connected to the fourth connecting line; and the common contact of the sixth switch is grounded; The first pin of the system processor is respectively connected to the control end of the third switch, the control end of the fourth switch, the control end of the fifth switch and the control end of the sixth switch; The system processor is configured to: send the first control signal or the second control signal through the first pin; The power supply device is configured as follows: When the first control signal is received, the fourth switch and the sixth switch are controlled to be opened, and the fifth switch is closed, so that the first battery and the second battery are in a series state; and the third switch is controlled to connect the first contact; When the second control signal is received, the fourth switch, the fifth switch and the sixth switch are controlled to be closed, so that the first battery and the second battery are in a parallel state; and the third switch is controlled to connect the second contact.

7. The smart device according to any one of claims 1 to 4, characterized in that: The power supply device further includes: a third switch and a seventh switch; The positive electrode of the second battery is connected to the first contact of the seventh switch through a fifth connection line, the positive electrode of the first battery is connected to the first common contact of the seventh switch, and the negative electrode of the first battery is grounded; the first contact of the third switch is connected to the first pin of the charging manager, the second contact of the third switch is connected to the second pin of the charging manager, and the common contact of the third switch is connected to the fifth connection line; the negative electrode of the second battery is connected to the second common contact of the seventh switch; the second contact and the third contact of the seventh switch are connected through a sixth connection line, and the fourth contact of the seventh switch is grounded; The first pin of the system processor is connected to the control end of the third switch and the control end of the seventh switch respectively; The system processor is configured to: send the first control signal or the second control signal through the first pin; The power supply device is configured as follows: When receiving the first control signal, controlling the seventh switch to connect the second contact and the third contact so that the first battery and the second battery are in a series connection state; and controlling the third switch to connect the first contact; When the second control signal is received, the seventh switch is controlled to connect the first contact and the fourth contact so that the first battery and the second battery are in parallel; and the third switch is controlled to connect the second contact.

8. The smart device according to claim 5, characterized in that: The smart device further includes a first fuel gauge and a second fuel gauge; wherein the first fuel gauge is respectively connected to the third pin of the charging manager, the first contact of the third switch and the second pin of the system processor; the second fuel gauge is respectively connected to the second contact of the third switch, the third pin of the system processor and the battery field effect transistor of the charging manager; The first power meter is configured to count the power of the power supply device when the first battery and the second battery are in a series connection state; The second electricity meter is configured to count the electricity of the power supply device when the first battery and the second battery are in parallel.

9. The smart device according to claim 8, characterized in that: The system processor is configured to: When the battery voltage drops to the first threshold, obtaining a first power value through the second power meter; When the first voltage decreases to a second threshold, obtaining a second power value through the first power meter; The remaining power of the power supply device when the first voltage drops to a second threshold is calculated according to the first power value and the second power value.

10. The smart device according to claim 1, characterized in that: A second connection line between the power pin of the system processor and the charging manager is connected to a first end of a first capacitor, and a second end of the first capacitor is grounded; the second connection line is connected to a battery field effect transistor of the charging manager; The system processor is further configured to: Before sending the first control signal to the power supply device, controlling the state of the smart device to be a low power consumption state; After sending the first control signal to the power supply device, if the first voltage is above a fourth threshold, the state of the smart device is controlled to be a working state.