Alternating current and direct current power supply intelligent switching device and electronic equipment thereof

By designing an AC-DC power supply intelligent switching device containing control modules, sampling circuits and power supply components, the problem of communication equipment in remote areas being unable to detect power supply abnormalities and lacking intelligent switching is solved, and the stable operation and simplified maintenance of the equipment are achieved.

CN119519095APending Publication Date: 2025-02-25XIAMEN FOUR FAITH COMM TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411610332.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-12
Publication Date
2025-02-25

AI Technical Summary

Technical Problem

Existing communication equipment suitable for remote areas cannot effectively detect abnormal situations such as power overvoltage and overcurrent, power outage and tripping, and lacks intelligent switching functions and battery conversion efficiency detection, resulting in increased equipment stability and maintenance difficulties.

Method used

An intelligent switching device for AC and DC power supply is designed, including control modules, DC and AC power input modules, sampling circuits, voltage dividers, DCDC and ACDC components, etc., by monitoring AC and DC power supplies in real time, detecting power conversion efficiency and abnormal situations, and realizing intelligent switching and data storage.

Benefits of technology

Real-time monitoring and intelligent switching of AC and DC power supplies are realized, timely detection of power supply abnormalities and battery aging is carried out, ensuring the stable operation of communication equipment and simplifying the maintenance process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119519095A_ABST
    Figure CN119519095A_ABST
Patent Text Reader

Abstract

The invention provides an intelligent alternating-current and direct-current power supply switching device and electronic equipment thereof, and relates to the technical field of alternating-current and direct-current power supply switching. Comprising a control module, a direct-current power supply input module, an alternating-current power supply input module, a direct-current input current sampling circuit, a first voltage division circuit, a DCDC assembly, a direct-current output current sampling circuit, a second voltage division circuit, a mutual inductance circuit, an ACDC assembly and an alternating-current output current sampling circuit. The device monitors AC and DC power supplies in real time, can detect abnormal fluctuation, overvoltage, overcurrent, power-off tripping and the like of the power supplies in time, can intelligently switch the AC power supply or the standby DC power supply to supply power, uploads alarm information, stores data and does not lose the data and the like. And the DC power supply can be independently turned on to detect the battery conversion efficiency and prevent the battery from aging. And voltage data is detected to prevent battery power shortage. And the abnormal battery is reported, so that a manufacturer can maintain timely.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of AC / DC power switching, and in particular to an AC / DC power intelligent switching device and electronic equipment thereof. Background Art

[0002] At present, some communication products used in outdoor applications, especially communication equipment in unattended scenarios such as tower IDU, high mountain FSU, light pole gateway, power DTU, oil well gateway, etc., usually use uninterruptible power supply (UPS) to power the communication equipment; therefore, there are two power supply modes on the equipment side, AC power supply directly and backup battery DC power supply. The corresponding communication equipment side needs to have AC to DC power supply module and DC to DC power supply module to power the communication equipment.

[0003] However, in remote areas, due to the poor stability of the mains power supply, the transmission and transformation lines are often affected by lightning surges and other factors, resulting in power surges or power outages. Therefore, it is particularly important to be able to detect abnormal power fluctuations, overvoltage and overcurrent, power outages and trips in a timely manner, intelligently switch AC power and DC backup power, report abnormalities, and save data at the same time. In addition, the stable DC backup battery in the UPS power system is a reliable guarantee for the entire power system. If there is an effective means to monitor the battery status and determine whether the battery is aging or the power module is faulty by judging the conversion efficiency, the equipment manufacturer can repair the power system in a timely manner, replace and maintain the battery, and further ensure the stability of the communication equipment.

[0004] In addition, if the backup DC battery is not used for a long time, there will be battery stagnation and aging problems; conversely, if the DC backup battery is used for a long time, the battery will be used too frequently, and the number of charge and discharge times will be excessive, resulting in performance degradation. Therefore, it is particularly necessary to monitor the battery.

[0005] Simply put, existing communication equipment suitable for remote areas has the problems of being unable to detect overvoltage and overcurrent, or power off alarms; no power efficiency detection, or power anomaly reporting; no battery conversion efficiency detection, or battery maintenance reporting.

[0006] In view of this, this application is filed. Summary of the invention

[0007] The present invention provides an AC / DC power intelligent switching device and electronic equipment thereof, which can at least partially improve the above-mentioned problem.

[0008] To achieve the above object, the present invention adopts the following technical solutions:

[0009] An AC / DC power intelligent switching device comprises: a control module, a DC power input module, an AC power input module, a DC input current sampling circuit, a first voltage divider circuit, a DCDC component, a DC output current sampling circuit, a second voltage divider circuit, a mutual inductance circuit, an ACDC component, and an AC output current sampling circuit;

[0010] Wherein, the positive pole of the DC power input module is connected to the first end of the DC input current sampling circuit, the second end of the DC input current sampling circuit is connected to the second interface of the control module, the third end of the DC input current sampling circuit is connected to the first interface of the control module through the first voltage divider circuit, the third end of the DC input current sampling circuit is connected to the DCDC component, the enable end of the DCDC component is connected to the first enable end of the control module, the output end of the DCDC component is connected to the fifth interface and the sixth interface of the control module through the DC output current sampling circuit and the second voltage divider circuit respectively, the neutral line and the live line of the AC power input module are connected to the mutual induction circuit and the ACDC component, the voltage mutual induction output end and the current mutual induction output end of the mutual induction circuit are connected to the third interface and the fourth interface of the control module respectively, the enable end of the ACDC component is connected to the second enable end of the control module, and the output end of the ACDC component is connected to the seventh end of the control module through the AC output current sampling circuit;

[0011] The control module is configured to implement the following steps by executing a computer program stored therein:

[0012] When receiving a start signal, turning on the DCDC power module of the DCDC component and the ACDC power module of the ACDC component;

[0013] Set timer TIME1, the first interrupt, the second interrupt and the third interrupt according to the preset requirements;

[0014] Read the ADC value to determine whether the DC power input module is under power failure;

[0015] If so, perform warning preprocessing;

[0016] If not, determining whether the efficiency of the DC power input module is lower than a preset value, and generating a first determination result;

[0017] Performing warning preprocessing or performing a process of determining the time for which the DC power input module has not been used alone according to the first judgment result;

[0018] When it is determined that the DC power input module has not been used alone for a long time, the value of the timer TIME1 is increased by 1, and it is determined whether the efficiency of the AC power input module is lower than a preset value, and a second determination result is generated;

[0019] According to the second judgment result, warning preprocessing is performed or the DCDC power module and the ACDC power module are kept turned on, and the first interrupt, the second interrupt and the third interrupt are reset.

[0020] The present invention further provides an electronic device, comprising: a device body, and an AC / DC power intelligent switching device as described in any one of the above items, wherein the AC / DC power intelligent switching device is configured on the device body.

[0021] In summary, the AC / DC power intelligent switching device can monitor AC and DC power supplies in real time, detect whether the power conversion efficiency is abnormal, detect whether the input power is fluctuating, overvoltage, overcurrent, power failure, etc., and intelligently switch the AC power supply or the backup DC power supply, upload alarm information and save data without losing data, etc. The DC power supply can also be turned on separately to detect the battery conversion efficiency and prevent battery aging. Detect voltage data to prevent battery loss. Report abnormal battery conditions so that manufacturers can perform maintenance in a timely manner. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] Figure 1 is a structural schematic diagram of an AC / DC power intelligent switching device provided by an embodiment of the present invention;

[0023] Figure 2 It is a schematic diagram of the overall process of the AC / DC power intelligent switching device provided by an embodiment of the present invention;

[0024] Figure 3 It is a schematic diagram of the interruption process of the AC / DC power intelligent switching device provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0025] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.

[0026] refer to Figure 1 , Figure 2 and Figure 3 As shown, the first embodiment of the present invention discloses an AC / DC power intelligent switching device, which includes: a control module, a DC power input module, an AC power input module, a DC input current sampling circuit, a first voltage divider circuit, a DCDC component, a DC output current sampling circuit, a second voltage divider circuit, a mutual inductance circuit, an ACDC component, and an AC output current sampling circuit;

[0027] Wherein, the positive pole of the DC power input module is connected to the first end of the DC input current sampling circuit, the second end of the DC input current sampling circuit is connected to the second interface of the control module, the third end of the DC input current sampling circuit is connected to the first interface of the control module through the first voltage divider circuit, the third end of the DC input current sampling circuit is connected to the DCDC component, the enable end of the DCDC component is connected to the first enable end of the control module, the output end of the DCDC component is connected to the fifth interface and the sixth interface of the control module through the DC output current sampling circuit and the second voltage divider circuit respectively, the neutral line and the live line of the AC power input module are connected to the mutual induction circuit and the ACDC component, the voltage mutual induction output end and the current mutual induction output end of the mutual induction circuit are connected to the third interface and the fourth interface of the control module respectively, the enable end of the ACDC component is connected to the second enable end of the control module, and the output end of the ACDC component is connected to the seventh end of the control module through the AC output current sampling circuit;

[0028] The control module is configured to implement the following steps by executing a computer program stored therein:

[0029] When receiving a start signal, turning on the DCDC power module of the DCDC component and the ACDC power module of the ACDC component;

[0030] Set timer TIME1, the first interrupt, the second interrupt and the third interrupt according to the preset requirements;

[0031] Read the ADC value to determine whether the DC power input module is under power failure;

[0032] If so, perform warning preprocessing;

[0033] If not, determining whether the efficiency of the DC power input module is lower than a preset value, and generating a first determination result;

[0034] Performing warning preprocessing or performing a process of determining the time for which the DC power input module has not been used alone according to the first judgment result;

[0035] When it is determined that the DC power input module has not been used alone for a long time, the value of the timer TIME1 is increased by 1, and it is determined whether the efficiency of the AC power input module is lower than a preset value, and a second determination result is generated;

[0036] According to the second judgment result, warning preprocessing is performed or the DCDC power module and the ACDC power module are kept turned on, and the first interrupt, the second interrupt and the third interrupt are reset.

[0037] In this embodiment, the AC / DC power intelligent switching device monitors the AC and DC power supplies in real time, can timely detect whether the power conversion efficiency is abnormal, detect whether the input power is fluctuating, overvoltage, overcurrent, power failure, etc., and can intelligently switch the AC power supply or the backup DC power supply, upload alarm information and save data without losing data, etc. It can also turn on the DC power supply separately, detect the battery conversion efficiency, and prevent battery aging. Detect voltage data to prevent battery power loss. Report when the battery is abnormal so that the manufacturer can perform maintenance in time.

[0038] Preferably, the DC power input module is a battery, and the DC input current sampling circuit includes a first sampling resistor RC1 and a first differential amplifier U1, wherein the negative electrode of the DC power input module is grounded, and the positive electrode of the DC power input module passes through the first sampling resistor RC1 and the U1 differential amplifier to convert the current signal into a voltage signal, and connects to the second interface ADC2 of the control module;

[0039] The first voltage divider circuit includes a first resistor R1 and a second resistor R2, wherein the positive electrode of the DC power input module is connected to the first interface ADC1 of the control module through the first resistor R1 and the second resistor R2.

[0040] Preferably, the DCDC component includes a DCDC power module and a first diode Q1, and the DC output current sampling circuit includes a second sampling resistor RC2 and a second differential amplifier U2, wherein the positive electrode of the DC power input module is connected to the DCDC power module, the enable pin of the DCDC power module is connected to the first enable terminal IO1 of the control module, and the output terminal of the DCDC power module is connected to the second sampling resistor RC2 through the first diode Q1, and is connected to the fifth interface ADC5 of the control module through the second differential amplifier U2;

[0041] The second voltage divider circuit includes a fifth resistor R5 and a sixth resistor R6, and the output end of the DCDC power supply module is connected to the sixth interface ADC6 of the control module through the fifth resistor R5 and the sixth resistor R62, wherein the first diode Q1 is a Schottky diode.

[0042] Preferably, the mutual inductance circuit includes a voltage transformer L1, a third resistor, a current transformer L2 and a fourth resistor R4, wherein the live wire L and the neutral wire N of the AC power input module are connected to the voltage transformer L1, the output end of the voltage transformer L1 is connected to the third interface ADC3 of the control module through the third resistor R3, the live wire L of the AC power input module is connected in series to the input end of the current transformer L2, and the output end of the current transformer L2 is connected to the fourth interface ADC4 of the control module through the fourth resistor R4.

[0043] Preferably, the ACDC component includes an ACDC power module and a second diode Q2, and the AC output current sampling circuit includes a third sampling resistor RC3 and a third differential amplifier U3, wherein the live wire L and the neutral wire N of the AC power input module are connected to the ACDC power module, and the enable pin of the ACDC power module is connected to the second enable terminal IO2 of the control module. The output end of the ACDC power module is connected to the third sampling resistor RC3 through the second diode Q2, and is connected to the seventh interface ADC7 of the control module through the third differential amplifier U3, and the second diode Q2 is a Schottky diode.

[0044] Specifically, in the present embodiment, the DC power supply part of the AC / DC power intelligent switching device is as follows: the positive line of the DC power input end passes through the sampling resistor RC1 and the first differential amplifier U1 to convert the current signal into a voltage signal connected to the ADC2 of the MCU; the positive line of the power supply passes through the voltage division of the first resistor R1 and the second resistor R2 and is connected to the ADC1 of the MCU; the DC power supply is then stepped down through the DCDC module to output the system power supply, and the enable pin EN of the DCDC module is connected to the IO1 of the MCU; the output of the DCDC module passes through the Q1 Schottky diode, is connected to the sampling resistor RC2, and is connected to the ADC5 of the MCU through the second differential amplifier U2 differential amplifier circuit; the output power continues to be connected to the fifth resistor R5 and the sixth resistor R6 for voltage division, and the voltage division output is connected to ADC6, and finally converges to the power output port.

[0045] The AC power supply part of the AC / DC power intelligent switching device is as follows: the zero-live power supply L and N poles of the AC power supply are first connected to the voltage transformer L1, and the induced current of the rear stage of the voltage transformer L1 generates a sampling voltage through the third resistor R3 and is given to the ADC3 of the MCU; the L pole of the AC power supply is connected in series to the input end of the current transformer L2, and the induced current of the rear stage of the current transformer L2 is generated through the fourth resistor R4 to convert the current into a voltage signal and give it to the ADC4 of the MCU; the zero-live power supply L and N poles are converted into a DC system power supply through the ACDC module, and the enable pin EN of the ACDC module is connected to the IO2 of the MCU; the ACDC output is then connected to the sampling resistor RC3 through the Q2 Schottky diode, and the sampling ends of the sampling resistor RC3 are connected to the third differential amplifier U3, and the output end of the third differential amplifier U3 is connected to the ADC7 of the MCU; finally, the output power is converged to the DC output port through the sampling resistor.

[0046] Preferably, when it is determined that the DC power input module is under power, warning preprocessing is performed, specifically:

[0047] Provide DC power failure warning and save data synchronously;

[0048] Turning off the DCDC power supply module, supplying power to the ACDC power supply module separately, and resetting the first interrupt, the second interrupt and the third interrupt;

[0049] The first interrupt is triggered when the DCDC power module is over-voltage or over-current. When the first interrupt is triggered, the DCDC power module is turned off and the ACDC power module is powered separately.

[0050] Preferably, warning preprocessing is performed according to the first judgment result, specifically:

[0051] When the first judgment result is that the efficiency of the DC power input module is lower than a preset value, a DC repair warning is issued;

[0052] The DCDC power supply module is turned off, the ACDC power supply module is powered separately, and the first interrupt, the second interrupt and the third interrupt are reset.

[0053] Preferably, it also includes:

[0054] When it is determined that the DC power input module has not been used alone for a long time, the timer TIME1 is cleared;

[0055] The ACDC power module is turned off, the DCDC power module is powered separately, and the first interrupt, the second interrupt and the third interrupt are reset.

[0056] Preferably, warning preprocessing is performed according to the second judgment result, specifically:

[0057] When the second judgment result is that the efficiency of the AC power input module is lower than a preset value, an AC repair warning is issued;

[0058] Turning off the ACDC power supply module, supplying power to the DCDC power supply module separately, and resetting the first interrupt, the second interrupt, and the third interrupt;

[0059] Among them, the second interrupt is triggered when the ACDC power supply module is overvoltage or overcurrent, and the third interrupt is triggered when the ACDC power supply module is powered off. When the second interrupt or the third interrupt is triggered, the ACDC power supply module is turned off and the DCDC power supply module is powered on separately.

[0060] Specifically, in this embodiment, under normal circumstances, the ACDC power module and the DCDC power module are powered at the same time; however, in the case of DC battery loss, DC overvoltage and overcurrent protection, and DC conversion efficiency below the threshold, the ACDC power module is powered alone, and the DCDC power module is turned off. In the case where the DC power supply is not used alone for a long time, the AC overvoltage and overcurrent protection, the AC conversion efficiency is lower than the threshold, and the AC power is off, the DCDC power module is powered alone, and the ACDC power module is turned off. And the control module reports an alarm when the following situations occur: 1. AC or DC power-off warning, and saves data synchronously; 2. AC or DC conversion efficiency is lower than the threshold, and repair is reported; 3. The battery is out of power for a long time, and repair is reported.

[0061] in, Figure 3 INT1_DC represents the first interrupt, which is triggered when the DC is overvoltage or overcurrent; INT2_AC represents the second interrupt, which is triggered when the AC is overvoltage or overcurrent; INT3_AC represents the third interrupt, which is triggered when the AC is powered off. Figure 2 and Figure 3 AC refers to ACDC power module, DC refers to DCDC power module, ADC1 is the input voltage of DCDC power module, ADC2 is the input current of DCDC power module, ADC3 is the input voltage of ACDC power module, ADC4 is the input current of ACDC power module, ADC5 is the output current of DCDC power module, ADC6 is the combined output voltage, ADC7 is the output current of ACDC power module, TIME1 is the time when DC is not used alone, Qdc is the conversion efficiency of DC power supply = output power / input power = (ADC1*ADC2) / (ADC5*ADC6), Qac is the conversion efficiency of AC power supply = output power / input power = (ADC3*ADC4) / (ADC6*ADC7).

[0062] In simple terms, the overall process of the AC / DC power intelligent switching device is as follows: Start first, turn on AC and DC, set timer TIME1, and set interrupt 1, interrupt 2, and interrupt 3. Read the ADC value to determine whether the battery is low, that is, whether ADC1 is less than the set threshold (V); if so, start the alarm and turn off DC. If not, determine whether the DC efficiency is too low, that is, Qdc < threshold (%). Determine whether DC has not been used alone for a long time, that is, TIME1> threshold. If so, clear TIME1 and turn off AC. If not, continue to determine whether the AC efficiency is too low, Qac < threshold (%).

[0063] In summary, compared with the prior art, the AC / DC power intelligent switching device has the following characteristics: 1. By collecting the AC / DC input and output voltage and current, the energy conversion efficiency of the AC or DC power supply can be calculated; 2. The voltage and current data collected by the MCU in real time can be used for overvoltage and overcurrent detection and power failure warning, and intelligent switching of AC / DC power supplies.

[0064] A second embodiment of the present invention provides an electronic device, comprising: a device body, and an AC / DC power intelligent switching device as described in any one of the above, wherein the AC / DC power intelligent switching device is configured on the device body.

[0065] The above is a preferred embodiment of the present invention. It should be pointed out that a person skilled in the art can make several improvements and modifications without departing from the principle of the present invention. These improvements and modifications are also considered to be within the scope of protection of the present invention.

Claims

1. An AC / DC power intelligent switching device, characterized in that: include: Control module, DC power input module, AC power input module, DC input current sampling circuit, first voltage divider circuit, DCDC component, DC output current sampling circuit, second voltage divider circuit, mutual inductance circuit, ACDC component, and AC output current sampling circuit; Wherein, the positive pole of the DC power input module is connected to the first end of the DC input current sampling circuit, the second end of the DC input current sampling circuit is connected to the second interface of the control module, the third end of the DC input current sampling circuit is connected to the first interface of the control module through the first voltage divider circuit, the third end of the DC input current sampling circuit is connected to the DCDC component, the enable end of the DCDC component is connected to the first enable end of the control module, the output end of the DCDC component is connected to the fifth interface and the sixth interface of the control module through the DC output current sampling circuit and the second voltage divider circuit respectively, the neutral line and the live line of the AC power input module are connected to the mutual induction circuit and the ACDC component, the voltage mutual induction output end and the current mutual induction output end of the mutual induction circuit are connected to the third interface and the fourth interface of the control module respectively, the enable end of the ACDC component is connected to the second enable end of the control module, and the output end of the ACDC component is connected to the seventh end of the control module through the AC output current sampling circuit; The control module is configured to implement the following steps by executing a computer program stored therein: When receiving a start signal, turning on the DCDC power module of the DCDC component and the ACDC power module of the ACDC component; Set timer TIME1, the first interrupt, the second interrupt and the third interrupt according to the preset requirements; Read the ADC value to determine whether the DC power input module is under power failure; If so, perform warning preprocessing; If not, determining whether the efficiency of the DC power input module is lower than a preset value, and generating a first determination result; Performing warning preprocessing or performing a process of determining the time for which the DC power input module has not been used alone according to the first judgment result; When it is determined that the DC power input module has not been used alone for a long time, the value of the timer TIME1 is increased by 1, and it is determined whether the efficiency of the AC power input module is lower than a preset value, and a second determination result is generated; According to the second judgment result, warning preprocessing is performed or the DCDC power module and the ACDC power module are kept turned on, and the first interrupt, the second interrupt and the third interrupt are reset.

2. The AC / DC power intelligent switching device according to claim 1, characterized in that: When it is determined that the DC power input module is under power, a warning pre-processing is performed, specifically: Conduct DC power failure warning and save data synchronously; Turning off the DCDC power supply module, supplying power to the ACDC power supply module separately, and resetting the first interrupt, the second interrupt and the third interrupt; The first interrupt is triggered when the DCDC power module is over-voltage or over-current. When the first interrupt is triggered, the DCDC power module is turned off and the ACDC power module is powered separately.

3. The AC / DC power intelligent switching device according to claim 1, characterized in that: Perform warning preprocessing according to the first judgment result, specifically: When the first judgment result is that the efficiency of the DC power input module is lower than a preset value, a DC repair warning is issued; The DCDC power module is turned off, the ACDC power module is powered separately, and the first interrupt, the second interrupt and the third interrupt are reset.

4. The AC / DC power intelligent switching device according to claim 1, characterized in that: Also includes: When it is determined that the DC power input module has not been used alone for a long time, the timer TIME1 is cleared; The ACDC power module is turned off, the DCDC power module is powered separately, and the first interrupt, the second interrupt and the third interrupt are reset.

5. The AC / DC power intelligent switching device according to claim 1, characterized in that: Perform warning preprocessing according to the second judgment result, specifically: When the second judgment result is that the efficiency of the AC power input module is lower than a preset value, an AC repair warning is issued; Turning off the ACDC power supply module, supplying power to the DCDC power supply module separately, and resetting the first interrupt, the second interrupt, and the third interrupt; Among them, the second interrupt is triggered when the ACDC power supply module is overvoltage or overcurrent, and the third interrupt is triggered when the ACDC power supply module is powered off. When the second interrupt or the third interrupt is triggered, the ACDC power supply module is turned off and the DCDC power supply module is powered on separately.

6. The AC / DC power intelligent switching device according to claim 1, characterized in that: The DC power input module is a battery, and the DC input current sampling circuit includes a first sampling resistor RC1 and a first differential amplifier U1, wherein the negative electrode of the DC power input module is grounded, and the positive electrode of the DC power input module passes through the first sampling resistor RC1 and the U1 differential amplifier to convert the current signal into a voltage signal, and is connected to the second interface ADC2 of the control module; The first voltage divider circuit includes a first resistor R1 and a second resistor R2, wherein the positive electrode of the DC power input module is connected to the first interface ADC1 of the control module through the first resistor R1 and the second resistor R2.

7. The AC / DC power intelligent switching device according to claim 6, characterized in that: The DCDC component includes a DCDC power module and a first diode Q1, and the DC output current sampling circuit includes a second sampling resistor RC2 and a second differential amplifier U2, wherein the positive electrode of the DC power input module is connected to the DCDC power module, the enable pin of the DCDC power module is connected to the first enable terminal IO1 of the control module, and the output terminal of the DCDC power module is connected to the second sampling resistor RC2 through the first diode Q1, and is connected to the fifth interface ADC5 of the control module through the second differential amplifier U2; The second voltage divider circuit includes a fifth resistor R5 and a sixth resistor R6, and the output end of the DCDC power supply module is connected to the sixth interface ADC6 of the control module through the fifth resistor R5 and the sixth resistor R62, wherein the first diode Q1 is a Schottky diode.

8. The AC / DC power intelligent switching device according to claim 1, characterized in that: The mutual inductance circuit includes a voltage transformer L1, a third resistor, a current transformer L2 and a fourth resistor R4, wherein the live wire L and the neutral wire N of the AC power input module are connected to the voltage transformer L1, the output end of the voltage transformer L1 is connected to the third interface ADC3 of the control module through the third resistor R3, the live wire L of the AC power input module is connected in series to the input end of the current transformer L2, and the output end of the current transformer L2 is connected to the fourth interface ADC4 of the control module through the fourth resistor R4.

9. The AC / DC power intelligent switching device according to claim 8, characterized in that: The ACDC component includes an ACDC power module and a second diode Q2, and the AC output current sampling circuit includes a third sampling resistor RC3 and a third differential amplifier U3, wherein the live wire L and the neutral wire N of the AC power input module are connected to the ACDC power module, and the enable pin of the ACDC power module is connected to the second enable terminal IO2 of the control module. The output end of the ACDC power module is connected to the third sampling resistor RC3 through the second diode Q2, and is connected to the seventh interface ADC7 of the control module through the third differential amplifier U3, and the second diode Q2 is a Schottky diode.

10. An electronic device, characterized in that: It comprises a device body and an AC / DC power intelligent switching device according to any one of claims 1 to 9, wherein the AC / DC power intelligent switching device is configured on the device body.