A multi-power-supply electronic device power management system
Patent Information
- Application Number
- CN202522250059.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2025-10-24
- Publication Date
- 2026-10-20
- Estimated Expiration
- 2035-10-24
AI Technical Summary
1、缺乏明确的电源优先级划分,导致供电切换无序,供电不稳定;
本实用新型提供的多电源电子设备电源管理系统架构简约而合理,整体性强,通过电源检测模块实现DC电源、USB PD电源、设备电池等三种电源供电的优先级排序,确保DC电源(主电源)优先利用,其次是USB PD电源、最后是设备电池供电,减少了不必要的电池消耗;通过条件判断模块对DC 电源存在时的充电条件判断实现精准充放电,通过USB PD电源检测,电池电压检测,避免了不匹配电源对电池的损伤,同时支持灵活切换至外部电池供电;并且,结合实际场景,可配置定时电源检测,能够及时捕捉电源供电方式变化,减少供电异常导致的问题;通过判断电池电压阈值,电压不足时及时关机,避免电池过放;本系统以电源优先级排序为核心,结合充放电条件判断和动态设置检测时间,实现高效供电切换,提高了多电源电子设备电源管理的有序性与设备运行稳定性。
Smart Images

Figure CN224874838U_ABST
Abstract
Description
Technical Field
[0001] This utility model relates to the field of power management technology for electronic devices, and in particular, to the field of power switching and power on / off control technology based on power priority ranking and condition judgment in multi-power supply scenarios (DC power, USBPD power, battery, etc.); specifically, it relates to a power management system for multi-power electronic devices. Background Technology
[0002] With the diversification of electronic device functions, multiple power supply modes (such as DC power, USB PD power external power, and built-in / external battery power) have become an important trend in electronic device design.
[0003] However, existing multi-power supply modes for electronic devices only implement simple "external power priority" or "battery priority" strategies, which have the following obvious shortcomings in power management: 1. Lack of clear power priority division leads to disordered power switching and unstable power supply; 2. When the internal battery is fully charged, the system does not efficiently switch to external power supply mode, resulting in energy waste; 3. The battery charging and discharging logic is disconnected from the power switching, and there is a lack of judgment on charging and discharging conditions. This often results in an over-reliance on the internal battery for power supply even when the main power supply is available. 4. The fixed time interval for detecting power status can easily lead to a delayed detection response. Utility Model Content
[0004] In view of this, the purpose of this utility model is to address the aforementioned deficiencies of the prior art by proposing a power management system for multi-power electronic devices. This system prioritizes the power supply from three sources—DC power, USB PD power, and device battery—through a power detection module, ensuring that DC power (main power) is used first, followed by USB PD power, and finally the device battery, thus reducing unnecessary battery consumption. A condition judgment module determines the charging conditions when DC power is present, enabling precise charging and discharging. USB PD power detection and battery voltage detection prevent damage to the battery from mismatched power supplies. The system is highly compatible, easily expandable, and can be widely applied to various multi-power electronic devices.
[0005] This utility model provides a power management system for multi-power electronic devices, including: a power detection module with a built-in MCU chip, wherein the power detection module is configured with a DC power detection unit, a USB PD detection unit and a battery detection unit connected in sequence, wherein the input pin of the DC power detection unit is connected to a DC power supply, the Type-C pin of the USB PD detection unit is connected to a USB PD power supply, the voltage divider circuit of the battery detection unit is connected to a device battery, and the power detection module is connected to a condition judgment module.
[0006] Preferably, the DC power detection unit uses the STM32C071KB chip, the USB PD detection unit uses the PD protocol chip AW35615, and the battery detection unit uses the STM32C071KB chip. These chips sequentially detect the ADC voltage of the DC power supply, the power supply status of the USB PD power supply, and the real-time voltage of the device battery to avoid damage to the battery caused by mismatched power supplies.
[0007] The condition judgment module is used to determine whether the DC power supply meets the battery charging conditions (such as whether the battery charging voltage and battery charging temperature meet the battery charging conditions) when the DC power supply is present, so as to achieve accurate charging and discharging.
[0008] The cascaded structure of the DC power detection unit, USB PD detection unit, and battery detection unit enables independent detection and switching control of different power input types. The MCU chip's storage and control functions support real-time analysis of the detection data, and combined with the condition judgment module, it can automatically select the optimal power supply path.
[0009] Furthermore, the MCU chip is configured with an MCU sampling unit, the GPIO pin of the DC power supply detection unit is connected to the MCU sampling unit, the MCU sampling unit is connected to the DC power supply, and the MCU sampling unit is connected to the conditional judgment module through an I2C communication bus.
[0010] Specifically, the DC power supply detection unit determines the presence of DC power by detecting the level of the input pin. The condition judgment module obtains the DC power presence condition sampled by the MCU through I2C communication.
[0011] The DC power supply detection unit is directly connected to the MCU sampling unit via GPIO pins, enabling real-time monitoring of input voltage status (such as overvoltage / undervoltage) and rapid data transmission to the condition judgment module via the I2C bus. This architecture supports multi-power supply priority management (e.g., prioritizing DC power supply and switching to battery in case of anomalies), ensuring power supply continuity. The MCU sampling unit employs a GPIO interrupt triggering mechanism for rapid response to voltage changes. Combined with the differential signal transmission characteristics of the I2C bus, it effectively suppresses common-mode interference and improves sampling accuracy. After receiving data via the I2C bus, the condition judgment module can dynamically adjust the MCU's operating mode (e.g., run / sleep) to reduce standby power consumption. Simultaneously, the I2C multi-master / slave architecture supports the expansion of multiple power supply detection nodes, facilitating system upgrades. Direct GPIO connection to the sampling unit eliminates the need for additional signal conditioning circuitry, while the I2C bus enables multi-device communication through address addressing, reducing wiring complexity. Furthermore, the I2C CRC check function ensures the reliability of data transmission.
[0012] Furthermore, the MCU chip is configured with a pin continuity / disconnection determination unit, and the CC pin of the Type-CPD interface of the USB PD detection unit is connected to the pin continuity / disconnection determination unit.
[0013] Specifically, the USB PD detection unit detects the power supply status of the USB PD power supply through the CC pin of the Type-C PD interface. The condition judgment module obtains the USB PD protocol handshake status through I2C communication.
[0014] The CC pin dynamically negotiates master / slave device roles within a 0.5V-5V voltage range. The MCU's pin on / off detection unit can monitor voltage changes in real time, enabling millisecond-level switching between master and slave modes. Combined with monitoring of CC pin current fluctuations, the MCU can implement a tiered power supply strategy.
[0015] Furthermore, the MCU chip is equipped with an ADC sampling circuit, and the battery detection unit has a built-in voltage divider circuit and a temperature sensor, which are respectively connected to the ADC sampling circuit.
[0016] The battery voltage detection unit is used to acquire the voltage signal of the device's battery through a voltage divider circuit. The condition judgment module obtains the voltage and temperature sampled by the ADC via I2C communication.
[0017] A voltage divider circuit directly connected to an ADC enables real-time monitoring of battery voltage without the need for an additional analog-to-digital converter chip, reducing system complexity. The co-design of the voltage divider circuit and ADC supports intermittent sampling in sleep mode, with power consumption as low as 10μA in Stop mode, extending battery life.
[0018] Preferably, the voltage divider circuit has built-in overvoltage protection (such as a TVS diode) to prevent battery voltage transients from damaging the ADC, thus ensuring safety and reliability.
[0019] The temperature sensor is integrated into the battery detection unit, and temperature data is read directly through an ADC, reducing the number of external circuit components. The temperature sensor signal is sampled in isolation by the ADC to avoid noise interference in analog signal transmission, making it particularly suitable for scenarios with complex electromagnetic environments such as new energy vehicles.
[0020] Preferably, temperature sensor data is rapidly captured by an ADC and combined with a digital filtering algorithm (such as a moving average) to achieve a millisecond-level temperature change response.
[0021] Furthermore, the power detection module and the condition judgment module are connected to a switching control module, and the switching control module is connected to a power on / off execution module. The power on / off execution module is electrically connected to the DC power supply, the USB PD power supply, and the device battery, respectively.
[0022] The switching control module is used to switch between power supply units such as DC power, USB PD power, and device battery based on detection results and condition judgment results.
[0023] Specifically, the power-on / off execution module uses the GPIO interface to determine the battery voltage threshold, enabling or disabling the power supply, and shutting down the device promptly when the voltage is insufficient to prevent over-discharge of the battery.
[0024] The power detection module monitors the status of DC power, USB PD power and device battery in real time. Combined with the logic analysis of the condition judgment module, the switching control module can automatically select the optimal power supply path to achieve seamless switching between multiple power sources.
[0025] Furthermore, the switching control module is configured with a CPE routing device, which is signal-connected to the MCU chip of the power detection module.
[0026] CPE routing devices acquire data and control and enable peripherals through I2C and GPIO.
[0027] By acquiring parameters such as voltage and temperature in real time through an MCU chip, the CPE routing device can quickly identify the power status with a response time of ≤100ms. Combining voltage data with load requirements, it dynamically allocates power priorities, reducing unnecessary energy consumption.
[0028] Furthermore, the CPE routing device is equipped with a timing detection module, which is connected to the DC power detection unit, the USB PD detection unit, and the battery detection unit, respectively.
[0029] Specifically, the timed detection module allows setting various detection time intervals. Combined with actual scenarios, it can be configured for timed power detection, which can promptly capture changes in power supply mode and reduce problems caused by power supply anomalies.
[0030] Preferably, the timing detection module uses a Linux timer. After the configured time is reached, a power detection event is triggered, and the voltage / temperature parameters of the DC power supply, USB PD power supply and battery are periodically polled.
[0031] Furthermore, the device battery includes an internal battery built into the electronic device and an external battery external to it, and the internal battery and the external battery are connected to the switching control module via a switching switch.
[0032] The switching control module controls the switching between internal and external batteries, and also supports flexible switching to external batteries to power electronic devices, avoiding damage to the battery caused by mismatched power supplies.
[0033] External batteries support hot-swapping and capacity expansion (such as through parallel battery packs), overcoming the space limitations of internal batteries. For example, in outdoor operation scenarios, external battery packs can extend the device's battery life from 8 hours to 24 hours. External batteries support quick replacement, allowing maintenance without disassembling the device, making them particularly suitable for industrial inspection, emergency communication, and other scenarios.
[0034] The switching control module has a built-in CPE routing device that can monitor battery status (such as voltage and temperature) in real time and disconnect the faulty battery when overvoltage / overtemperature is detected to avoid a chain reaction.
[0035] Preferably, external battery power can be used first to delay the number of internal battery cycles and extend the overall lifespan. When the external battery power is below 20%, the system will automatically switch to internal battery power to avoid damage from deep discharge.
[0036] This utility model has strong compatibility and is easy to expand. It is compatible with various power sources such as DC power, USB PD power, and batteries, and can be widely used in various multi-power electronic devices.
[0037] This utility model can achieve the following functions: 1. After powering on, periodically check if the DC power supply is present; If DC power is available, determine whether the conditions for charging the internal battery are met. If the conditions are met, the system enters the internal battery charging mode; otherwise, it switches to the external battery charging mode. 2. If the DC power supply is not available, determine if the USB PD power supply is available; if the USB PD power supply is available, use the PD power supply method of the USB PD power supply. 3. If USB PD power supply is unavailable, check if the internal battery can power on the peripheral load. If it can, switch to internal battery power supply mode; if not, power off.
[0038] Compared with the prior art, the beneficial effects of this utility model are: The power management system for multi-power electronic devices provided by this utility model has a simple and reasonable architecture with strong overall integration. Through a power detection module, it prioritizes the power supply from three sources: DC power, USB PD power, and device battery. This ensures that DC power (main power) is used first, followed by USB PD power, and finally the device battery, reducing unnecessary battery consumption. A condition judgment module determines charging conditions when DC power is present, enabling precise charging and discharging. USB PD power detection and battery voltage detection prevent damage to the battery from mismatched power supplies and support flexible switching to external battery power. Furthermore, based on actual scenarios, timed power detection can be configured to promptly capture changes in power supply mode, reducing problems caused by power supply anomalies. By judging the battery voltage threshold, it shuts down the device promptly when the voltage is insufficient, preventing over-discharge of the battery. This system, with power priority ranking as its core, combined with charging and discharging condition judgment and dynamically set detection time, achieves efficient power switching, improving the orderliness of power management and the operational stability of multi-power electronic devices. Attached Figure Description
[0039] Various other advantages and benefits will become apparent to those skilled in the art upon reading the following detailed description of preferred embodiments. The accompanying drawings are for illustrative purposes only and are not intended to limit the scope of the invention.
[0040] In the attached diagram: Figure 1 This is an architecture diagram of the power management system for a multi-power electronic device according to an embodiment of the present invention; Figure 2 This is a schematic diagram of the power management process according to an embodiment of the present invention. Detailed Implementation
[0041] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numerals in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this disclosure. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this disclosure as detailed in the appended claims.
[0042] The terminology used in this disclosure is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure. The singular forms “a,” “the,” and “the” as used in this disclosure and the appended claims are also intended to include the plural forms unless the context clearly indicates otherwise. It should also be understood that the term “and / or” as used herein refers to and includes any and all possible combinations of one or more of the associated listed items.
[0043] It should be understood that although the terms first, second, and third may be used in this disclosure to describe various information, such information should not be limited to these terms. These terms are used only to distinguish information of the same type from one another. For example, without departing from the scope of this disclosure, first information may also be referred to as second information, and similarly, second information may also be referred to as first information. Depending on the context, the word "if" as used herein may be interpreted as "when," "when," or "in response to determination."
[0044] Example This utility model embodiment provides a power management system for multi-power electronic devices, including: a power detection module with a built-in MCU chip; the power detection module is configured with a DC power detection unit, a USB PD detection unit, and a battery detection unit connected sequentially; in this embodiment, the DC power detection unit uses an STM32C071KB chip, the USB PD detection unit uses a PD protocol chip AW35615, and the battery detection unit uses an STM32C071KB chip; the system sequentially detects the ADC voltage of the DC power supply, the power supply status of the USB PD power supply, and the real-time voltage of the device battery, avoiding damage to the battery caused by mismatched power supplies. The MCU chip is configured with an MCU sampling unit; the GPIO pins of the DC power detection unit are connected to the MCU sampling unit, and the MCU sampling unit is connected to the DC power supply (e.g., ...). Figure 1As shown, the MCU sampling unit is connected to the conditional judgment module via an I2C communication bus. The DC power detection unit determines the presence of DC power by detecting the level of the input pin. The conditional judgment module obtains the DC power presence condition sampled by the MCU via I2C communication. The DC power detection unit is directly connected to the MCU sampling unit via GPIO pins, which can monitor the input voltage status (overvoltage / undervoltage) in real time and quickly transmit the data to the conditional judgment module via the I2C bus. This architecture supports multi-power priority management (prioritizing DC power and switching to battery in case of abnormality) to ensure power supply continuity. The MCU sampling unit adopts a GPIO interrupt triggering mechanism, which can quickly respond to voltage changes. Combined with the differential signal transmission characteristics of the I2C bus, it effectively suppresses common-mode interference and improves sampling accuracy. After receiving data via the I2C bus, the conditional judgment module can dynamically adjust the MCU operating mode (such as run / sleep) to reduce standby power consumption. At the same time, the I2C multi-master-slave architecture supports the expansion of multiple power detection nodes, which is convenient for system upgrades. Direct connection of GPIO to the sampling unit eliminates the need for additional signal conditioning circuits, while the I2C bus enables multi-device communication through address addressing, reducing wiring complexity. In addition, I2C's CRC check function ensures the reliability of data transmission.
[0045] The MCU chip is configured with a pin continuity / disconnection judgment unit, which is connected to the CC pin of the Type-C PD interface of the USB PD detection unit. The USB PD detection unit detects the power supply status of the USB PD power supply through the CC pin of the Type-C PD interface. The condition judgment module obtains the USB PD protocol handshake status through I2C communication. The CC pin dynamically negotiates the master / slave role through a voltage range of 0.5V-5V. The MCU's pin continuity / disconnection judgment unit can detect voltage changes in real time, realizing millisecond-level switching between master / slave modes. Combined with the monitoring of current fluctuations on the CC pin, the MCU can execute a tiered power supply strategy. The MCU chip is configured with an ADC sampling circuit, and the battery detection unit has a built-in voltage divider circuit and temperature sensor, which are respectively connected to the ADC sampling circuit. The battery voltage detection unit is used to collect the voltage signal of the device battery through the voltage divider circuit. The condition judgment module obtains the voltage and temperature sampled by the ADC through I2C communication. The voltage divider circuit directly connected to the ADC can realize real-time monitoring of the battery voltage without the need for an additional analog-to-digital converter chip, reducing system complexity. The co-designed voltage divider circuit and ADC support intermittent sampling in sleep mode, with power consumption as low as 10μA in Stop mode, extending battery life. The voltage divider circuit incorporates overvoltage protection (TVS diode) to prevent damage to the ADC from transient battery voltage changes, ensuring safety and reliability. The temperature sensor is integrated into the battery detection unit, directly reading temperature data through the ADC, reducing the number of external circuit components. The temperature sensor signal is sampled in isolation by the ADC, avoiding noise interference in analog signal transmission, making it particularly suitable for complex electromagnetic environments such as those found in new energy vehicles. Temperature sensor data is rapidly captured by the ADC and combined with digital filtering algorithms (such as moving average) to achieve millisecond-level temperature change response.
[0046] The DC power supply detection unit's input pin is connected to a DC power source, the USB PD detection unit's Type-C pin is connected to a USB PD power source, the battery detection unit's voltage divider circuit is connected to the device's battery, and the power supply detection module is connected to a conditional judgment module. The conditional judgment module determines whether the DC power supply meets the battery charging conditions (a power bank is used in this embodiment) when it is present, achieving precise charging and discharging. Through the cascaded structure of the DC power supply detection unit, USB PD detection unit, and battery detection unit, independent detection and switching control of different power input types are achieved. The MCU chip's storage and control functions support real-time analysis of the detection data, and combined with the conditional judgment module, the optimal power supply path can be automatically selected.
[0047] The power detection module and condition judgment module are connected to a switching control module, which in turn is connected to a power-on / off execution module. The power-on / off execution module is electrically connected to the DC power supply, USB PD power supply, and device battery, respectively. The switching control module executes actions to switch between these power supply units based on detection and condition judgment results. The power-on / off execution module uses a GPIO interface to determine the battery voltage threshold, enabling or disabling power supply, and promptly shutting down the device when the voltage is insufficient to prevent over-discharge of the battery. By monitoring the status of the DC power supply, USB PD power supply, and device battery in real time through the power detection module, and combining this with the logic analysis of the condition judgment module, the switching control module can automatically select the optimal power supply path, achieving seamless switching between multiple power sources. The switching control module is configured with a CPE routing device, which is connected to the MCU chip of the power detection module. The CPE routing device acquires data and controls peripherals via I2C and GPIO. By acquiring parameters such as voltage and temperature in real time through the MCU chip, the CPE routing device can quickly identify the power status with a response time ≤100ms. Combining voltage data with load requirements, it dynamically allocates power priorities to reduce unnecessary energy consumption.
[0048] The CPE router is equipped with a timed detection module, which connects to the DC power detection unit, USB PD detection unit, and battery detection unit. The timed detection module allows for setting various detection intervals. Depending on the specific scenario, it can be configured for timed power detection, promptly capturing changes in power supply methods and reducing problems caused by power supply anomalies. The timed detection module uses a Linux timer; upon reaching the configured time, it triggers a power detection event, periodically polling the voltage / temperature parameters of the DC power supply, USB PD power supply, and battery.
[0049] The device's battery comprises an internal battery built into the electronic device and an external battery externally. The internal and external batteries are connected to a switching control module via a switch. The switching control module controls the switching between the internal and external batteries, while also supporting flexible switching to the external battery to power the electronic device, avoiding damage to the battery from mismatched power supplies. The external battery supports hot-swapping and capacity expansion (parallel battery packs), overcoming the space limitations of the internal battery. The external battery can be quickly replaced, allowing maintenance without disassembling the device, making it particularly suitable for industrial inspections, emergency communications, and other scenarios. The switching control module has a built-in CPE routing device that can monitor battery status (such as voltage and temperature) in real time and disconnect the faulty battery when overvoltage / overtemperature is detected, preventing a chain reaction. Prioritizing external battery power slows down the internal battery cycle count, extending overall lifespan. When the external battery's charge drops below 20%, it automatically switches to internal battery power, avoiding deep discharge damage.
[0050] The switching logic of the power management system for multi-power electronic devices in this embodiment includes: (a) After the equipment is powered on, the power supply mode detection is triggered cyclically at the time interval (5s) set by the timer detection module; (ii) Each test should prioritize determining whether a DC power supply is present; 1. If DC power is available, determine whether the internal battery charging conditions are met; (1) If the internal battery charging conditions are met, control the DC power supply to power the device and charge the internal battery, then return to step (II). (2) If the internal battery charging conditions are not met, switch the DC power supply to the external battery and return to step (II). 2. If the DC power supply is not present, check the USB PD power supply status; (1) If the USB PD power supply is available, control the USB PD power supply to power the device and return to step (II). (2) If the USB PD power supply is not available, check the real-time voltage of the internal battery and return to step (II). 3. Read the internal battery voltage and determine if it meets the voltage requirements for powering on peripheral loads; (1) If the battery voltage is ≥13V, then maintain battery power supply, keep the device powered on, and return to step (II). (2) If the battery voltage is <13V, then the power off action will be performed and the process will end.
[0051] Several scenarios of practical application of this utility model and their corresponding workflow examples are as follows (e.g.) Figure 2 (as shown) 1. Scenarios where DC power is available and the internal battery allows charging: It is powered by DC power and charges the internal battery.
[0052] 2. Scenario where DC power is available and the internal battery is fully charged: The condition judgment module determines that the internal battery does not meet the charging conditions, and the switching control module switches the USB PD power supply to the outward direction, so that the DC power supply is supplied to the outside through the USB PD power supply.
[0053] 3. Scenarios where there is no DC power supply, but USB PD power supply is available: The power detection module detects USB PD power supply and maintains the current power supply mode. The power detection module continues to perform periodic checks.
[0054] 4. Scenarios where there is no external power source and the battery voltage is sufficient: Without DC power or USB PD power, if the detected battery voltage is 15V (≥13V), the device will maintain battery power and remain powered on.
[0055] 5. Scenario without external power supply and insufficient battery voltage: Without DC power supply and USB PD power supply, the battery voltage is detected as 12V (<13V). The switching control module triggers the shutdown command and performs the shutdown (POWER OFF) operation.
[0056] This embodiment's power management system for multi-power electronic devices prioritizes three power sources—DC power, USB PD power, and device battery—through a power detection module. This ensures that DC power (main power) is used first, followed by USB PD power, and finally the device battery, reducing unnecessary battery consumption. A condition judgment module determines charging conditions when DC power is available, enabling precise charging and discharging. USB PD power detection and battery voltage detection prevent damage to the battery from mismatched power supplies and support flexible switching to external battery power. Configurable timed power detection allows for timely detection of changes in power supply mode, reducing problems caused by power supply anomalies. By judging battery voltage thresholds, the system shuts down the device promptly when the voltage is insufficient, preventing over-discharge. With power priority ranking as its core, combined with charging / discharging condition judgment and dynamically set detection time, the system achieves efficient power switching, improving the orderliness of power management and the stability of multi-power electronic devices.
[0057] The technical solution of this utility model has been described above with reference to the preferred embodiments shown in the accompanying drawings. However, it will be readily understood by those skilled in the art that the protection scope of this utility model is obviously not limited to these specific embodiments. Without departing from the principle of this utility model, those skilled in the art can make equivalent changes or substitutions to the relevant technical features, and the technical solutions after these changes or substitutions will all fall within the protection scope of this utility model.
[0058] The above description is merely a preferred embodiment of this utility model and is not intended to limit the scope of this utility model. Various modifications and variations can be made to this utility model by those skilled in the art. Any modifications, substitutions, or improvements made within the spirit and principles of this utility model should be included within the protection scope of this utility model.
Claims
1. A power management system for multi-power electronic devices, characterized in that, include: A power detection module with a built-in MCU chip is configured with a DC power detection unit, a USB PD detection unit and a battery detection unit connected in sequence. The input pin of the DC power detection unit is connected to a DC power supply, the Type-C pin of the USB PD detection unit is connected to a USB PD power supply, the voltage divider circuit of the battery detection unit is connected to the device battery, and the power detection module is connected to a condition judgment module.
2. The power management system for multi-power electronic devices according to claim 1, characterized in that, The MCU chip is equipped with an MCU sampling unit. The GPIO pin of the DC power supply detection unit is connected to the MCU sampling unit. The MCU sampling unit is connected to the DC power supply. The MCU sampling unit is connected to the conditional judgment module through an I2C communication bus.
3. The power management system for multi-power electronic devices according to claim 1, characterized in that, The MCU chip is equipped with a pin continuity / disconnection judgment unit, and the CC pin of the Type-C PD interface of the USB PD detection unit is connected to the pin continuity / disconnection judgment unit.
4. The power management system for multi-power electronic devices according to claim 1, characterized in that, The MCU chip is equipped with an ADC sampling circuit, and the battery detection unit has a built-in voltage divider circuit and a temperature sensor. The voltage divider circuit and the temperature sensor are respectively connected to the ADC sampling circuit.
5. The power management system for multi-power electronic devices according to claim 1, characterized in that, The power detection module and the condition judgment module are connected to a switching control module, which is connected to a power on / off execution module. The power on / off execution module is electrically connected to the DC power supply, the USB PD power supply, and the device battery, respectively.
6. The power management system for multi-power electronic devices according to claim 5, characterized in that, The switching control module is equipped with a CPE routing device, which is signal-connected to the MCU chip of the power detection module.
7. The power management system for multi-power electronic devices according to claim 6, characterized in that, The CPE routing device is equipped with a timed detection module, which is connected to the DC power detection unit, the USB PD detection unit, and the battery detection unit.
8. The power management system for multi-power electronic devices according to claim 5, characterized in that, The device battery includes an internal battery built into the electronic device and an external battery external to it. The internal battery and the external battery are connected to the switching control module via a switch.