Dual-power management system and method and nonvolatile storage medium

Through the combination of voltage detection and logic control modules, timely switching of the dual power management system and preventing power backflow are achieved, solving the problem of untimely switching and backflow in dual power supply scenarios, ensuring the stability and reliability of the system.

CN120262668APending Publication Date: 2025-07-04CHINA TELECOM INTELLIGENT NETWORK TECHNOLOGY CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202510386727.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-28
Publication Date
2025-07-04

AI Technical Summary

Technical Problem

In dual power supply scenarios, untimely power switching causes system power down and battery backflow.

Method used

The voltage detection module is used to monitor the system power supply voltage in real time, switch to the battery pack through the logic control module, and use anti-reverse circuit module to prevent power backflow during the power supply switching process, including a combination of voltage detection circuit, switching circuit, logic control circuit, anti-reverse circuit, battery management chip and voltage converter.

Benefits of technology

It realizes timely switching of power supplies and prevents power backflow, ensures stable operation of the system, and avoids data loss and equipment damage.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120262668A_ABST
    Figure CN120262668A_ABST
Patent Text Reader

Abstract

The invention discloses a dual-power management system and method and a nonvolatile storage medium. The system comprises a voltage detection module, a logic control module, an anti-reverse circuit module, a system power supply and a battery pack module, and the system power supply is used for supplying power to a hardware single board; the voltage detection module is used for performing voltage detection on the system power supply to obtain a voltage detection result; the logic control module is used for determining a power supply mode of the battery pack module; switching a power supply of the hardware single board from the system power supply to a battery pack connected in a battery pack module under the condition of determining that the system power supply is in a power-down state based on the voltage detection result, and supplying power to the hardware single board in a power supply mode corresponding to the battery pack; and the anti-reverse circuit module is used for preventing the power supply from flowing backward in the power supply switching process of the system power supply and the battery pack module. According to the method and the device, the technical problems that power supply switching is not timely and backward flowing occurs in a dual-power-supply scene in the prior art are solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of power management, and more particularly, to a dual power management system, method, and non-volatile storage medium. Background Art

[0002] With the wide application of intelligent and wireless devices (or systems), the global demand for wireless devices is constantly increasing. Wireless devices have been widely used not only in consumer electronics fields such as smartphones and tablets, but also in many industries such as automotive electronics, security monitoring, and wireless meters.

[0003] Wireless devices (or systems) have characteristics such as being lightweight, portable, easy to install and deploy, and flexible to use, and can be widely applied to multiple fields such as automotive, environmental protection, medical, and wireless terminals, bringing many conveniences to work and life. Due to the usage characteristics of wireless devices, it is often required that wireless devices have a replaceable battery in addition to the system power supply, and also have the ability to identify the battery voltage and perform adaptive control according to the battery voltage, so as to ensure that the wireless device is in the battery-powered state. For devices or systems with dual batteries, in hardware design, the power management circuit design is a key link to ensure the normal and stable operation of wireless devices. However, in the related technology for dual power management, when performing power supply switching on the power management circuit, there will be a situation where the instantaneous connection of the dual power supply switching is not timely, resulting in system power-off and power-on as well as battery reverse current.

[0004] In view of the above problems, no effective solution has been proposed yet. Summary of the Invention

[0005] Embodiments of this application provide a dual power management system, method, and non-volatile storage medium to at least solve the technical problems of untimely power supply switching and reverse current occurring in the dual power supply scenario in the related technology.

[0006] According to one aspect of the embodiments of this application, a dual power management system is provided, including: a voltage detection module, a logic control module, an anti-reverse circuit module, a system power supply, and a battery pack module, where the system power supply is used to supply power to the hardware single board; the voltage detection module is used to detect the voltage of the system power supply to obtain a voltage detection result; the logic control module is used to determine the power supply mode of the battery pack module; when it is determined based on the voltage detection result that the system power supply is in a power-off state, switch the power supply of the hardware single board from the system power supply to the battery pack connected in the battery pack module, and supply power to the hardware single board in the corresponding power supply mode of the battery pack, where the power supply mode includes a single-cell battery power supply mode and a multi-cell battery power supply mode; the anti-reverse circuit module is used to prevent power reverse current during the power supply switching process between the system power supply and the battery pack module.

[0007] In some embodiments of the present application, the voltage detection module includes: a voltage detection circuit and a switch circuit for power supply switching. The voltage detection module cuts off the power supply connection between the system power supply and the hardware single board in the following manner: the voltage detection circuit performs voltage detection on the system power supply to obtain a voltage detection result. When the voltage detection result indicates that the voltage of the system power supply is lower than a first preset voltage threshold, it is determined that the system power supply is in a power-off state; when the system power supply is in a power-off state, the switch state of the switch circuit for power supply switching changes from a closed state to an open state, cutting off the power supply connection between the system power supply and the hardware single board.

[0008] In some embodiments of the present application, the logic control module includes a logic control circuit, a first battery management chip for powering the hardware single board in the single-cell battery power supply mode, a first voltage converter, a first switch circuit, and a second battery management chip for powering the hardware single board in the multi-cell battery power supply mode, a second voltage converter, and a second switch circuit. Among them, the logic control circuit in the logic control module is used to determine the power supply mode of the battery pack module.

[0009] In some embodiments of the present application, the logic control circuit includes: an analog-to-digital converter. The logic control module determines the power supply mode of the battery pack module in the following manner: based on the analog-to-digital converter, it detects the battery voltage of the battery pack in the battery pack module; based on the battery voltage, it determines the power supply mode of the battery pack module.

[0010] In some embodiments of the present application, the logic control module is further used to: when the battery voltage is lower than a second preset voltage threshold, determine that the number of battery cells in the battery pack connected in the battery pack module is single-cell. When the number of battery cells in the battery pack is single-cell, the corresponding battery power supply mode is the single-cell battery power supply mode. When the battery voltage is greater than or equal to the second preset voltage threshold, determine that the number of battery cells in the battery pack connected in the battery pack module is multi-cell. When the number of battery cells in the battery pack is multi-cell, the corresponding battery power supply mode is the multi-cell battery power supply mode.

[0011] In some embodiments of the present application, the logic control module is further used to switch the power supply of the hardware single board from the system power supply to the battery pack connected in the battery pack module in the following manner and power the hardware single board in the battery pack corresponding power supply mode: when the power supply mode is the single-cell battery power supply mode, the battery voltage of the battery pack connected in the battery pack module is adjusted to a first operating voltage suitable for the hardware single board through the first voltage converter, and the first battery management chip controls the first switch to close to power the hardware single board; when the power supply mode is the multi-cell battery power supply mode, the battery voltage of the battery pack connected in the battery pack module is adjusted to a second operating voltage suitable for the hardware single board through the second voltage converter, and the second battery management chip controls the second switch to close to power the hardware single board.

[0012] In some embodiments of the present application, when the battery pack connected in the battery pack module powers a hardware single board, the logic control module detects the power supply voltage of the battery pack at preset time intervals. When the power supply voltage is lower than the preset voltage threshold, the first switch is controlled to disconnect the connection path with the hardware single board based on the first battery management chip, or the second switch is controlled to disconnect the connection path with the hardware single board based on the second battery management chip.

[0013] According to another aspect of the embodiments of the present application, there is also provided a dual power supply management method, including: detecting the voltage of the system power supply for powering the hardware single board by the voltage detection module of the dual power supply management system to obtain a voltage detection result; when it is determined based on the voltage detection result that the system power supply is in a power-off state, switching the power supply of the hardware single board from the system power supply to the battery pack connected in the battery pack module of the dual power supply management system by the logic control module of the dual power supply management system, and powering the hardware single board in the corresponding power supply mode of the battery pack, where the power supply mode includes a single-cell battery power supply mode and a multi-cell battery power supply mode.

[0014] In some embodiments of the present application, switching the power supply of the hardware single board from the system power supply to the battery pack connected in the battery pack module of the dual power supply management system by the logic control module of the dual power supply management system, and powering the hardware single board in the corresponding power supply mode of the battery pack, includes: when the power supply mode is the single-cell battery power supply mode, adjusting the battery voltage of the battery pack connected in the battery pack module to the first operating voltage applicable to the hardware single board by the first voltage converter for the single-cell battery power supply mode in the logic control module, and controlling the first switch to close to power the hardware single board by the first battery management chip for the single-cell battery power supply mode in the logic control module; when the power supply mode is the multi-cell battery power supply mode, adjusting the battery voltage of the battery pack connected in the battery pack module to the second operating voltage applicable to the hardware single board by the second voltage converter for the multi-cell battery power supply mode in the logic control module, and controlling the second switch to close to power the hardware single board by the second battery management chip for the multi-cell battery power supply mode in the logic control module.

[0015] According to another aspect of the embodiments of the present application, a dual-power management device is further provided, including: a detection module, configured to perform voltage detection on the system power supply for powering the hardware single board based on the voltage detection module of the dual-power management system to obtain a voltage detection result; a switching module, configured to, when it is determined based on the voltage detection result that the system power supply is in a power-off state, switch the power supply of the hardware single board from the system power supply to the battery pack connected in the battery pack module of the dual-power management system, and power the hardware single board in the power supply mode corresponding to the battery pack, where the power supply mode includes a single-cell battery power supply mode and a multi-cell battery power supply mode.

[0016] According to another aspect of the embodiments of the present application, a non-volatile storage medium is further provided. A program is stored in the non-volatile storage medium, and when the program runs, it controls the device where the non-volatile storage medium is located to execute the dual-power management method of any one of the above.

[0017] According to another aspect of the embodiments of the present application, a computer program product is further provided, including computer instructions, and when the computer instructions are executed by a processor, the dual-power management method of any one of the above is implemented.

[0018] In the embodiments of the present application, based on the dual-power management system, timely switching of power supply and prevention of backflow are achieved. The voltage detection module performs voltage detection on the system power supply to obtain a voltage detection result, and when it is determined based on the voltage detection result that the system power supply is in a power-off state, the power supply of the hardware single board is switched from the system power supply to the battery pack connected in the battery pack module, achieving the purpose of timely switching of power supply. At the same time, an anti-reverse circuit module is added to prevent power backflow during the power supply switching process between the system power supply and the battery pack module. Thus, the technical problems of untimely power supply switching and backflow in the dual-power supply scenario in the related art are solved. Description of the Drawings

[0019] The drawings described herein are used to provide a further understanding of the present application, and constitute a part of the present application. The schematic embodiments of the present application and their descriptions are used to explain the present application, and do not constitute an improper limitation to the present application. In the drawings:

[0020] Figure 1 is a schematic structural diagram of a dual-power management system provided according to an embodiment of the present application;

[0021] Figure 2 is a flowchart of the execution process of a dual-power management system provided according to an embodiment of the present application;

[0022] Figure 3 is a flowchart of a dual-power management method provided according to an embodiment of the present application;

[0023] Figure 4 It is a schematic structural diagram of a dual - power management device provided according to an embodiment of the present application. Detailed implementation manners

[0024] In order to enable those skilled in the art to better understand the solution of the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present application.

[0025] The information collected in the embodiments of the present application is information and data authorized by the user or fully authorized by all parties. Moreover, for the processing of relevant data such as collection, storage, use, processing, transmission, provision, disclosure, and application, all comply with the relevant laws, regulations, and standards of the relevant regions, take necessary confidentiality measures, do not violate public order and good customs, and provide corresponding operation entrances for users to choose to authorize or reject the results of automated decision - making. If the user chooses to reject, the expert decision - making process will be entered.

[0026] It should be noted that the terms "first", "second", etc. in the description and claims of the present application and the above - mentioned drawings are used to distinguish similar objects and do not necessarily need to describe a specific order or sequence. It should be understood that such used data can be interchanged under appropriate circumstances so that the embodiments of the present application described here can be implemented in an order other than those illustrated or described here. In addition, the terms "include" and "have" and any of their variations are intended to cover non - exclusive inclusion. For example, a process, method, system, product, or device including a series of steps or units does not necessarily limit to those clearly listed steps or units, but may include other steps or units not clearly listed or inherent to these processes, methods, products, or devices.

[0027] To better understand the embodiments of the present application, the technical terms involved in the embodiments of the present application are explained as follows:

[0028] Analog - to - Digital Converter (ADC for short): It is an electronic device or circuit whose main function is to convert a continuously varying analog signal into a discrete digital signal. In an electronic system, the ADC plays a bridging role, enabling a digital signal processing unit (such as a microprocessor or a digital signal processor) to understand and process analog signal information from devices such as sensors and signal receivers.

[0029] In the related art, for a device or system with dual batteries, in the hardware design, the power management circuit design is a key link to ensure the normal and stable operation of the wireless device. However, in the related art when performing dual power management, there will be an untimely instantaneous connection during the power supply switching on the power management circuit, resulting in system power-off and power-on as well as battery reverse charging. Therefore, in the related art, there are technical problems of untimely power supply switching and reverse charging in the dual power supply scenario. To solve this problem, relevant solutions are provided in the embodiments of the present application, which are described in detail below.

[0030] According to an embodiment of the present application, an embodiment of a dual power management system is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions. And although the logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in a different order than here.

[0031] The method embodiment provided by the embodiment of the present application can be executed in a computer terminal or a similar computing device. Figure 1 A schematic structural diagram of a dual power management system is shown. As Figure 1 shown, it includes a voltage detection module 104, a logic control module 106, an anti-reverse circuit module 110, a system power supply 102, a battery pack module 108. The voltage detection module 104 is used to detect the voltage of the system power supply 102 to obtain a voltage detection result. The logic control module 106 is used to determine the power supply mode of the battery pack module. When it is determined based on the voltage detection result that the system power supply 102 is in a power-off state, the power supply of the hardware single board is switched from the system power supply 102 to the battery pack (for example, a lithium battery pack) connected in the battery pack module 108, and the hardware single board is powered in the corresponding power supply mode of the battery pack, where the power supply mode includes a single-cell battery power supply mode and a multi-cell battery power supply mode; the anti-reverse circuit module 110 is used to prevent power reverse charging during the power supply switching between the system power supply and the battery pack module. The hardware single board is a printed circuit board integrated with specific functional circuits in the dual power management system, which is a proper subset of the circuit board of the entire system and is adapted to a variety of different application scenarios, including but not limited to the voltage detection module 104, the logic control module 106, the anti-reverse circuit module 110, and the battery pack module 108. Through the integration and cooperation of these modules, the hardware single board can not only achieve efficient support and control for the radio frequency unit (RU), but also provide a safe and stable power supply solution, and can ensure the reliability and service life of the device even in a complex and unpredictable operating environment. In an optional embodiment, the logic control module is placed on the power supply of the first battery management chip (for example, a lithium battery management chip) or the second battery management chip (for example, a lithium battery management chip).

[0032] The dual - power management system is applicable to any system that can be powered by dual power sources. For example, it can be a wireless micro - distribution system. This system forms a distributed wireless network by deploying multiple radio - frequency units (RUs) and / or remote antenna units and working in coordination with a central unit (MU) or a master unit. However, in actual design, the MU is connected to various types of RUs, and different types of RUs have different power consumption. When the system power supply 102 loses power, the duration requirements for continuous power supply by the battery pack module 108 are different, so it is necessary to design a compatible setting for multiple battery management chips. The logic control module 106 in this application is composed of a diode, a triode, and a metal - oxide - semiconductor field - effect transistor (MOSFET) stacked together. The diode mainly plays a role of unidirectional conduction in the logic control module 106 and is used to construct an anti - reverse circuit. The anti - reverse circuit can prevent the power backflow phenomenon that occurs during the power - switching process, that is, the electrical energy of the battery pack flows backward into the system power supply 102, which may cause battery over - charging or system damage. This characteristic of the diode ensures the independence of the power supply and avoids common faults in the dual - power system. The MOSFET is a high - performance switching device. Especially when fast and efficient power - switching is required, the low on - resistance and high - speed switching characteristics of the MOSFET make it an ideal choice. In the logic control module 106, the triode is used to cut off or connect the circuit between the main power supply and the battery pack, such as the switch circuit for power - switching. The MOSFET can be used to construct a battery over - charge / over - discharge protection circuit. When an abnormal battery voltage (specifically referring to the battery connected to the battery pack module 108) is detected, the MOSFET can quickly turn off the charging or discharging path of the battery to protect the battery safety. The combined use of these three components endows the system with the following key functions: Compatible automatic detection and switch - off control: The logic control module 106 can automatically detect the type of the connected battery pack (single - cell or multi - cell battery) and intelligently switch the corresponding power - supply path according to the detection result, ensuring that the RU can obtain power from the appropriate battery pack according to its power - consumption requirements. Power anti - backflow: The reasonable layout of the MOSFET and the diode forms an anti - reverse circuit to prevent the electrical energy of the backup power supply from flowing backward into the main power supply during power - switching, avoiding circuit faults that may be caused by current backflow. Instantaneous power - switching: By controlling the on - off states of the MOSFET and the switch circuit, the logic control module 106 can achieve fast and instantaneous power - switching, ensuring that when the main power supply fails, the system can immediately switch to battery power supply, avoiding the impact of power - supply interruption on system operation. Battery over - charge / over - discharge protection: The logic control module 106 also has the ability to monitor the battery voltage. When it detects that the battery voltage exceeds or is lower than the safety threshold, it can timely turn off the charging or discharging circuit to prevent battery over - charging or over - discharging, protect the battery safety, and extend the battery service life.

[0033] The voltage detection module in the above system includes: a voltage detection circuit and a switch circuit for power supply switching. The voltage detection module cuts off the power supply connection between the system power supply and the hardware single board in the following way: the voltage detection circuit detects the voltage of the system power supply to obtain a voltage detection result. When the voltage detection result indicates that the voltage of the system power supply is lower than the first preset voltage threshold, it is determined that the system power supply is in a power-off state; when the system power supply is in a power-off state, the switch state of the switch circuit for power supply switching changes from the closed state to the open state, cutting off the power supply connection between the system power supply and the hardware single board.

[0034] The following are specific embodiments:

[0035] The voltage detection circuit is specifically designed to monitor the voltage of the system power supply, obtain a voltage detection result, and generate a corresponding signal when the voltage detection result indicates that the voltage is lower than the first preset voltage threshold. This signal can be recognized and responded to by the logic control circuit. The voltage detection circuit includes a voltage comparator and a reference voltage source. The voltage comparator is used to compare the actual voltage of the main power supply of the system power supply (the actual voltage of the main power supply of the system power supply is obtained in real time through the analog-to-digital converter in the logic control module) with the reference voltage (i.e., the first preset voltage threshold). When the power supply voltage is lower than the threshold set by the reference voltage, the voltage comparator will output an indication signal as the voltage detection result, indicating that the system power supply has lost power or the voltage is unstable. This signal will be sent to the logic control circuit to trigger the subsequent power supply switching process. When it is determined that the system power supply is in a power-off state, after receiving the power-off signal from the voltage detection circuit, the logic control circuit starts the power supply switching process. The switch circuit quickly switches from the closed state to the open state according to the instruction of the logic control circuit, thereby cutting off the power supply connection between the system power supply and the hardware single board. In this embodiment, the switch circuit may include a MOSFET (such as a P-channel metal-oxide-semiconductor field-effect transistor (P-Channel Metal-Oxide-Semiconductor Field-Effect Transistor, abbreviated as PMOS FET), a triode, or other types of electronic switches. The voltage detection module can monitor the system power supply state in real time and quickly respond when the system power supply loses power or the voltage is unstable. By controlling the state of the switch circuit, it realizes the cutting off of the power supply connection between the system power supply and the hardware single board. This process ensures that when the main power supply fails, it can be switched to battery power supply immediately and smoothly, avoiding problems such as data loss and equipment damage.

[0036] The logic control module includes a logic control circuit, a first battery management chip, a first voltage converter, a first switch circuit for powering the hardware single board in the single-cell battery power supply mode, and a second battery management chip, a second voltage converter, a second switch circuit for powering the hardware single board in the multi-cell battery power supply mode. Among them, the logic control circuit in the logic control module is used to determine the power supply mode of the battery pack module. The logic control circuit further includes: an analog-to-digital converter. The logic control module determines the power supply mode of the battery pack module in the following manner: detecting the battery voltage of the battery pack in the battery pack module based on the analog-to-digital converter; determining the power supply mode of the battery pack module based on the battery voltage.

[0037] The logic control module is further used for: when the battery voltage is lower than the second preset voltage threshold, determining that the number of battery cells in the battery pack connected in the battery pack module is single-cell; when the number of battery cells in the battery pack is single-cell, the corresponding battery power supply mode is the single-cell battery power supply mode; when the battery voltage is greater than or equal to the second preset voltage threshold, determining that the number of battery cells in the battery pack connected in the battery pack module is multi-cell; when the number of battery cells in the battery pack is multi-cell, the corresponding battery power supply mode is the multi-cell battery power supply mode.

[0038] The logic control module is also used to switch the power supply of the hardware single board from the system power supply to the battery pack connected in the battery pack module and supply power to the hardware single board in the power supply mode corresponding to the battery pack in the following manner: in the case where the power supply mode is the single-cell battery power supply mode, the battery voltage of the battery pack connected in the battery pack module is adjusted to the first operating voltage applicable to the hardware single board through the first voltage converter, and the first switch is controlled to close by the first battery management chip to supply power to the hardware single board; in the case where the power supply mode is the multi-cell battery power supply mode, the battery voltage of the battery pack connected in the battery pack module is adjusted to the second operating voltage applicable to the hardware single board through the second voltage converter, and the second switch is controlled to close by the second battery management chip to supply power to the hardware single board. The single-cell battery power supply mode and the multi-cell battery power supply mode are two different strategies for supplying power to the system based on different numbers of battery cells. In the single-cell battery power supply mode, the system is powered by one battery cell (such as a 3.7V or 4.2V lithium-ion battery). The single-cell battery power supply mode is relatively simple in design and is suitable for application scenarios with low power consumption or limited space. Different from the single-cell battery power supply mode, in the multi-cell battery power supply mode, the system is powered by two or more battery cells connected in series or in parallel. This usually means that the system can withstand a higher voltage input, such as common 7.4V, 11.1V or even higher voltages, and the specific voltage depends on the number of series-connected battery cells. The multi-cell battery power supply mode is suitable for applications that require higher power or longer power supply time, such as high-performance RUs (radio frequency units) or remote monitoring devices. The distinction between the single-cell battery power supply mode and the multi-cell battery power supply mode is mainly based on the voltage and configuration of the battery pack. Through intelligent voltage monitoring and logic control, the system can automatically select the most suitable power supply mode according to the type of battery pack, so as to provide a stable, efficient and safe power supply. When the main power supply (system power supply) is restored, the system can not only seamlessly switch back to the main power supply for power supply, but also decide whether to start charging the battery pack immediately according to the state of the battery pack, or start the charging process after the main power supply is stable for a period of time, so as to improve the battery pack life and the overall reliability of the system.

[0039] The following are specific embodiments:

[0040] The logic control module designs a battery voltage detection mechanism based on an analog-to-digital converter (ADC) to automatically identify the power supply mode of the battery pack module. According to the detection results, it smoothly switches the power supply of the hardware single board to ensure the stable operation and efficient power management of the system under different battery pack configurations. Inside the logic control module, there is an analog-to-digital converter, which is used to monitor the battery pack voltage in the battery pack module in real time. The analog-to-digital converter is set at the connection port of the battery pack. Since there are significant differences in the voltage ranges output by different battery packs (single-cell batteries or multi-cell batteries, where multi-cell means the number of battery cells is greater than 1), the ADC can accurately measure this voltage and convert it into a digital signal for further processing by the logic control circuit. The logic control circuit receives the digital signal of the battery voltage converted by the ADC and compares it with a preset second voltage threshold to determine the power supply mode of the battery pack module. If the detected battery voltage is lower than the second preset voltage threshold, the logic control circuit will determine that the connected battery pack is a single-cell battery and determine the corresponding power supply mode as the single-cell battery power supply mode. Conversely, if the battery voltage is equal to or higher than the second preset voltage threshold, the logic control circuit will consider the connected battery pack as a multi-cell battery, and the corresponding power supply mode is the multi-cell battery power supply mode. The multi-cell power supply mode can be further divided into a 3-cell power supply mode, a 4-cell power supply mode to an N (a constant) -cell power supply mode, and each power supply mode corresponds to a preset voltage threshold. In the multi-cell battery power supply mode, the logic control circuit can further refine the power supply strategy. For example, when it is detected that the battery voltage is between the third preset voltage threshold and the fourth preset voltage threshold, the system can automatically select the optimal number of battery cells (such as 3 cells or 4 cells) power supply mode. The logic control module also supports dynamic voltage adjustment technology, which can automatically adjust the output voltage to maintain the optimal working state when the load of the hardware single board changes. For example, when the power consumption requirement of the RU increases, the voltage converter can quickly increase the output voltage to meet the high power consumption requirement while ensuring that the service life of the battery is not affected. In an alternative embodiment, the logic control module integrates a temperature sensor to monitor the temperature of the battery and the system in real time. According to the temperature change, the system can dynamically adjust the charging and discharging strategies, such as reducing the charging current in a high-temperature environment or increasing the efficiency of the voltage converter in a low-temperature environment to protect the battery and ensure the stable operation of the system. The logic control module can predict the remaining battery power and health status and optimize the power switching strategy accordingly. For example, when it is predicted that the battery is about to run out, the system can pre-start a more energy-efficient working mode or switch the system power-off back to the system power supply in advance to avoid over-discharging of the battery.

[0041] When the logic control circuit determines that the battery pack module is in the single-cell power supply mode, it controls the first voltage converter (e.g., DC-DC converter) to adjust the voltage of the single cell to the first operating voltage suitable for the hardware single board. At the same time, the logic control circuit activates the first battery management chip and controls the first switch circuit to close, thereby connecting the single cell in the battery pack module to the power supply path of the hardware single board to provide continuous and stable power supply for the hardware single board. If the logic control circuit identifies that the battery pack module is in the multi-cell power supply mode, it will instruct the second voltage converter to adjust the voltage of the multi-cell battery pack to the second operating voltage, which is suitable for the stable operation of the hardware single board under higher power consumption requirements. Subsequently, the logic control circuit activates the second battery management chip and controls the second switch circuit to close to achieve the power supply connection of the multi-cell battery pack to the hardware single board. For example, assume that when the system is operating normally, the hardware single board is powered by the system power supply. When a fault or voltage drop occurs in the system power supply, the voltage detection module detects this change and immediately cuts off the connection between the main power supply and the hardware single board. At the same time, the analog-to-digital converter (ADC) monitors the battery pack voltage. Assume that the first preset voltage threshold is 3.3V and the second preset voltage threshold is 12V. If the ADC detects that the battery pack voltage is 14.8V, which is higher than the second preset voltage threshold of 12V, the logic control circuit identifies that the battery pack is a multi-cell battery. The logic control circuit then activates the second voltage converter to adjust 14.8V to the second operating voltage (assume it is 12V) and controls the second switch circuit to close through the second battery management chip to ensure that the multi-cell battery pack provides high-power and stable power supply for the hardware single board.

[0042] When the battery pack connected in the battery pack module supplies power to the hardware single board, in order to prevent the battery pack from over-discharging and causing dangers such as explosion and leakage, the logic control circuit detects the supply voltage of the battery pack every preset time period (e.g., every second). When the supply voltage is lower than the preset voltage threshold, based on the first battery management chip, it controls the first switch to disconnect the connection path with the hardware single board or based on the second battery management chip, it controls the second switch to disconnect the connection path with the hardware single board. When the supply voltage is higher than the preset high voltage threshold, based on the first battery management chip, it controls the first switch to disconnect the connection path with the hardware single board or based on the second battery management chip, it controls the second switch to disconnect the connection path with the hardware single board. This dynamic voltage monitoring mechanism can respond to the battery pack voltage change in a timely manner, avoid the hardware single board from malfunctioning due to too low voltage, and improve the stability and reliability of the system, especially in long-term operations, such as equipment like communication base stations and servers.

[0043] Such as Figure 2As shown, it is a functional execution flowchart of a dual - power management system provided according to an embodiment of the present application, showing the interaction process of running the dual - power management method in the dual - power management system. The system power supply serves as the main power supply for power supply. The voltage detection circuit performs real - time voltage detection on the system power supply to obtain a detection result. In the case where the voltage detection result indicates that the voltage of the system power supply is lower than the first preset voltage threshold, it is determined that the system power supply is in a power - off state. At this time, the switch circuit is activated (that is, the discharge path of the lithium - battery pack is activated, and the lithium - battery pack supplies power to the hardware single - board), and the switch state of the switch circuit for power - supply switching changes from the closed state to the open state, cutting off the power - supply connection between the system power supply and the hardware single - board. Instead, the lithium - battery pack (that is, the battery pack in the above - mentioned battery management module) supplies power to the hardware single - board. When the system accesses the system power supply, the logic control circuit determines the power - supply mode of the battery pack module by performing lithium - battery detection on the lithium - battery pack, and then performs power - supply input control. In the case of detecting that the system power supply has a power - off, power - supply input control is performed based on the determined power - supply mode. For the single - power - supply mode, through the first voltage converter (DCDC is a DC - DC converter, which converts the input voltage into the voltage for the battery management chip to work), and then the first battery management chip performs the charge - discharge process of the lithium - battery pack and detects the state of the lithium - battery, and closes the first switch circuit to connect the path between the hardware single - board and the lithium - battery pack in the single - power - supply mode. For the multi - power - supply mode, through the second voltage converter (DCDC is a DC - DC converter, which converts the input voltage into the voltage for the battery management chip to work), and then the second battery management chip performs the charge - discharge process of the lithium - battery pack and detects the state of the lithium - battery, and closes the second switch circuit to connect the path between the hardware single - board and the lithium - battery pack in the single - power - supply mode.

[0044] Under the above - mentioned operating environment, an embodiment of a dual - power management method is provided according to an embodiment of the present application. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a dual - power management system, and although the logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in a different order than here. As Figure 3 As shown, it is a flowchart of a dual - power management method provided according to an embodiment of the present application, including:

[0045] Step S302, based on the voltage detection module of the dual - power management system, perform voltage detection on the system power supply for supplying power to the hardware single - board to obtain a voltage detection result.

[0046] In the technical solution provided in step S302, the voltage detection module includes: a voltage detection circuit and a switch circuit for power supply switching. The voltage detection module cuts off the power supply connection between the system power supply and the hardware single board in the following manner: the voltage detection circuit performs voltage detection on the system power supply to obtain a voltage detection result. When the voltage detection result indicates that the voltage of the system power supply is lower than the first preset voltage threshold, it is determined that the system power supply is in a power-off state; when the system power supply is in a power-off state, the switch state of the switch circuit for power supply switching changes from the closed state to the open state, cutting off the power supply connection between the system power supply and the hardware single board.

[0047] Step S304, when it is determined that the system power supply is in a power-off state based on the voltage detection result, the power supply for the hardware single board is switched from the system power supply to the battery pack connected in the battery pack module of the dual power management system by the logic control module of the dual power management system, and the hardware single board is powered in the power supply mode corresponding to the battery pack.

[0048] In the technical solution provided in step S304, the power supply modes include single-battery power supply mode and multi-battery power supply mode. There are various implementation methods for the logic control module of the dual power management system to switch the power supply of the hardware single board from the system power supply to the battery pack connected in the battery pack module of the dual power management system and supply power to the hardware single board in the corresponding power supply mode of the battery pack. For example: in the case of the single-battery power supply mode, the first voltage converter for the single-battery power supply mode in the logic control module adjusts the battery voltage of the battery pack connected in the battery pack module to the first operating voltage suitable for the hardware single board, and the first battery management chip for the single-battery power supply mode in the logic control module controls the first switch to close to supply power to the hardware single board; in the case of the multi-battery power supply mode, the second voltage converter for the multi-battery power supply mode in the logic control module adjusts the battery voltage of the battery pack connected in the battery pack module to the second operating voltage suitable for the hardware single board, and the second battery management chip for the multi-battery power supply mode in the logic control module controls the second switch to close to supply power to the hardware single board. This technical feature ensures that the battery pack can provide a stable and suitable operating voltage for the hardware single board by intelligently selecting the voltage converter and the battery management chip, improving the flexibility and efficiency of power management. For example, in the single-battery power supply mode, the first voltage converter and the first battery management chip work together to adjust the battery voltage to the first operating voltage required by the hardware single board; in the multi-battery power supply mode, the second voltage converter and the second battery management chip are responsible for adjusting the battery voltage to the second operating voltage. This mechanism not only improves the flexibility of power management but also ensures the stable operation of the hardware single board under different battery configurations, and is applicable to mobile devices and portable electronic devices that need to adapt to various power conditions, etc., to improve the adaptability and operation stability of the device.

[0049] Figure 3 The flowchart shown is applicable to Figure 1 the dual power management system shown, so Figure 1 the relevant explanations in it are also applicable to this dual power management method.

[0050] The embodiment of the present application also provides a dual power management device, as Figure 4 shown, including:

[0051] A detection module 402, configured to perform voltage detection on the system power supply for powering the hardware single board based on the voltage detection module of the dual power management system to obtain a voltage detection result.

[0052] A switching module 404 is used to, when it is determined based on the voltage detection result that the system power supply is in a power-off state, switch the power supply of the hardware single board from the system power supply to the battery pack connected in the battery pack module of the dual power management system based on the logic control module of the dual power management system, and supply power to the hardware single board in the power supply mode corresponding to the battery pack, where the power supply mode includes a single-cell battery power supply mode and a multi-cell battery power supply mode.

[0053] It should be noted that Figure 4 the dual power management device shown is used to execute Figure 3 the dual power management method shown, so Figure 3 the relevant explanations in the dual power management method in

[0054] It should be noted that each module in the above dual power management device can be a program module (for example, a set of program instructions that implements a specific function), or a hardware module. For the latter, it can be presented in the following forms, but not limited to this: the presentation form of each of the above modules is a processor, or the functions of each of the above modules are implemented by a processor.

[0055] The embodiment of the present application also provides a non-volatile storage medium. The non-volatile storage medium includes a stored program. When the program runs, it controls the device where the non-volatile storage medium is located to execute the above dual power management method. For example, the voltage detection module of the dual power management system detects the voltage of the system power supply used to supply power to the hardware single board to obtain a voltage detection result; when it is determined based on the voltage detection result that the system power supply is in a power-off state, the logic control module of the dual power management system switches the power supply of the hardware single board from the system power supply to the battery pack connected in the battery pack module of the dual power management system, and supplies power to the hardware single board in the power supply mode corresponding to the battery pack, where the power supply mode includes a single-cell battery power supply mode and a multi-cell battery power supply mode.

[0056] The embodiment of the present application also provides an electronic device. The electronic device includes a processor, and the processor is used to run a program. When the program runs, it executes the above dual power management method. For example, the voltage detection module of the dual power management system detects the voltage of the system power supply used to supply power to the hardware single board to obtain a voltage detection result; when it is determined based on the voltage detection result that the system power supply is in a power-off state, the logic control module of the dual power management system switches the power supply of the hardware single board from the system power supply to the battery pack connected in the battery pack module of the dual power management system, and supplies power to the hardware single board in the power supply mode corresponding to the battery pack, where the power supply mode includes a single-cell battery power supply mode and a multi-cell battery power supply mode.

[0057] According to another aspect of the embodiments of the present application, a computer program product is further provided, including a computer program, which implements the above dual-power management method when executed by a processor. For example, based on the voltage detection module of the dual-power management system, the system power supply for powering the hardware single board is detected for voltage, and a voltage detection result is obtained; when it is determined based on the voltage detection result that the system power supply is in a power-off state, based on the logic control module of the dual-power management system, the power supply of the hardware single board is switched from the system power supply to the battery pack connected in the battery pack module of the dual-power management system, and the hardware single board is powered in the power supply mode corresponding to the battery pack, where the power supply mode includes a single-cell battery power supply mode and a multi-cell battery power supply mode. In the above embodiments of the present application, the descriptions of each embodiment have their own focuses. For parts not detailed in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0058] In several embodiments provided by the present application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are merely illustrative. For example, the division of the units can be a logical function division. In actual implementation, there can be other division methods. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the displayed or discussed couplings or direct couplings or communication connections to each other can be through some interfaces. The indirect couplings or communication connections of the units or modules can be in an electrical or other form.

[0059] The units described as separate components may or may not be physically separated. The components displayed as units may or may not be physical units, that is, they can be located in one place, or they can be distributed to multiple units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0060] In addition, each functional unit in the various embodiments of the present application can be integrated in a processing unit, or each unit can exist physically alone, or two or more units can be integrated in one unit. The above integrated units can be implemented in the form of hardware or in the form of software functional units.

[0061] When the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the related technology, or all or part of this technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in various embodiments of this application. The foregoing storage medium includes: various media that can store program codes, such as USB flash drives, read-only memories (ROM, Read-Only Memory), random access memories (RAM, Random Access Memory), mobile hard disks, magnetic disks, or optical discs.

[0062] The foregoing are only the preferred embodiments of this application. It should be noted that for those of ordinary skill in the art, without departing from the principle of this application, several improvements and refinements can still be made, and these improvements and refinements should also be regarded as the protection scope of this application.

Claims

1. A dual power supply management system, characterized in that, Including: A voltage detection module, a logic control module, an anti-reverse circuit module, a system power supply, and a battery pack module. Among them, The system power supply is used to supply power to the hardware single board; The voltage detection module is used to detect the voltage of the system power supply to obtain a voltage detection result; The logic control module is used to determine the power supply mode of the battery pack module; when it is determined that the system power supply is in a power-off state based on the voltage detection result, switch the power supply of the hardware single board from the system power supply to the battery pack connected in the battery pack module, and supply power to the hardware single board in the power supply mode corresponding to the battery pack, where the power supply mode includes a single-cell battery power supply mode and a multi-cell battery power supply mode; The anti-reverse circuit module is used to prevent power backflow during the power supply switching process between the system power supply and the battery pack module.

2. The system according to claim 1, wherein The voltage detection module includes: a voltage detection circuit and a switch circuit for power supply switching. The voltage detection module cuts off the power supply connection between the system power supply and the hardware single board in the following way: The voltage detection circuit detects the voltage of the system power supply to obtain a voltage detection result. When the voltage detection result indicates that the voltage of the system power supply is lower than the first preset voltage threshold, it is determined that the system power supply is in a power-off state; When the system power supply is in a power-off state, the switch state of the switch circuit for power supply switching changes from the closed state to the open state, cutting off the power supply connection between the system power supply and the hardware single board.

3. The system according to claim 1, characterized in that The logic control module includes a logic control circuit, a first battery management chip and a first voltage converter for supplying power to the hardware single board in the single-cell battery power supply mode, a first switch circuit, and a second battery management chip, a second voltage converter, and a second switch circuit for supplying power to the hardware single board in the multi-cell battery power supply mode. Among them, the logic control circuit in the logic control module is used to determine the power supply mode of the battery pack module.

4. The system according to claim 3, characterized in that The logic control circuit includes: an analog-to-digital converter. The logic control module determines the power supply mode of the battery pack module in the following way: Based on the analog-to-digital converter, detect the battery voltage of the battery pack in the battery pack module; Based on the battery voltage, determine the power supply mode of the battery pack module.

5. The system according to claim 4, wherein The logic control module is further used to: when the battery voltage is lower than the second preset voltage threshold, determine that the number of battery cells of the battery pack connected in the battery pack module is single-cell. When the number of battery cells of the battery pack is single-cell, the corresponding battery power supply mode is the single-cell battery power supply mode. When the battery voltage is greater than or equal to the second preset voltage threshold, determine that the number of battery cells of the battery pack connected in the battery pack module is multi-cell. When the number of battery cells of the battery pack is multi-cell, the corresponding battery power supply mode is the multi-cell battery power supply mode.

6. The system according to claim 3, wherein The logic control module is further configured to switch the power supply of the hardware single board from the system power supply to the battery pack connected in the battery pack module in the following manner, and supply power to the hardware single board in the power supply mode corresponding to the battery pack: In the case where the power supply mode is a single-cell battery power supply mode, the battery voltage of the battery pack connected in the battery pack module is adjusted to a first operating voltage suitable for the hardware single board through the first voltage converter, and the first switch is controlled to close by the first battery management chip to supply power to the hardware single board; In the case where the power supply mode is a multi-cell battery power supply mode, the battery voltage of the battery pack connected in the battery pack module is adjusted to a second operating voltage suitable for the hardware single board through the second voltage converter, and the second switch is controlled to close by the second battery management chip to supply power to the hardware single board.

7. The system according to claim 3, characterized in that, When the battery pack connected in the battery pack module supplies power to the hardware single board, the logic control module detects the power supply voltage of the battery pack at preset time intervals. In the case where the power supply voltage is lower than a preset voltage threshold, the connection path between the first switch and the hardware single board is controlled to be disconnected based on the first battery management chip or the connection path between the second switch and the hardware single board is controlled to be disconnected based on the second battery management chip.

8. A dual power supply management method, characterized in that, Including: The voltage detection module based on the dual power supply management system detects the voltage of the system power supply for supplying power to the hardware single board to obtain a voltage detection result; In the case where it is determined based on the voltage detection result that the system power supply is in a power-off state, the logic control module of the dual power supply management system switches the power supply of the hardware single board from the system power supply to the battery pack connected in the battery pack module of the dual power supply management system, and supplies power to the hardware single board in the power supply mode corresponding to the battery pack, where the power supply mode includes a single-cell battery power supply mode and a multi-cell battery power supply mode.

9. The method according to claim 8, wherein The logic control module of the dual power supply management system switches the power supply of the hardware single board from the system power supply to the battery pack connected in the battery pack module of the dual power supply management system, and supplies power to the hardware single board in the power supply mode corresponding to the battery pack, including: In the case where the power supply mode is a single-cell battery power supply mode, the battery voltage of the battery pack connected in the battery pack module is adjusted to a first operating voltage suitable for the hardware single board through the first voltage converter for the single-cell battery power supply mode in the logic control module, and the first switch is controlled to close by the first battery management chip for the single-cell battery power supply mode in the logic control module to supply power to the hardware single board; When the power supply mode is the multi-cell battery power supply mode, the battery voltage of the battery pack connected in the battery pack module is adjusted to the second operating voltage applicable to the hardware single board through the second voltage converter for the multi-cell battery power supply mode in the logic control module, and the second switch is controlled to close by the second battery management chip for the multi-cell battery power supply mode in the logic control module to supply power to the hardware single board.

10. A dual power supply management device, characterized in that, It includes: A detection module, configured to perform voltage detection on the system power supply for supplying power to the hardware single board based on the voltage detection module of the dual power management system to obtain a voltage detection result; A switching module, configured to, when it is determined based on the voltage detection result that the system power supply is in a power-off state, switch the power supply of the hardware single board from the system power supply to the battery pack connected in the battery pack module of the dual power management system based on the logic control module of the dual power management system, and supply power to the hardware single board in the corresponding power supply mode of the battery pack, where the power supply mode includes a single-cell battery power supply mode and a multi-cell battery power supply mode.

11. A non-volatile storage medium, characterized in that, A program is stored in the non-volatile storage medium, where, when the program runs, it controls the device where the non-volatile storage medium is located to execute the dual power management method according to any one of claims 8 to 9.

12. A computer program product comprising computer instructions, characterized in that, When the computer instructions are executed by a processor, the dual power management method according to any one of claims 8 to 9 is implemented.

Citation Information

Cited By

  • Power supply management circuit and electronic equipment

    CN120785014A