Power supply control device and method for multiple mainboards
The MCU controls the power socket of the multi-motherboard system, and solves the problem of abnormal power supply in the multi-motherboard system, achieving low cost, good heat dissipation and flexible power management to ensure that the normal motherboard is not affected by the damaged motherboard.
Patent Information
- Application Number
- CN202410142845.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-02-01
- Publication Date
- 2025-08-01
AI Technical Summary
In multi-motherboard systems, power supply abnormalities may occur due to debugging or motherboard damage, which may cause the PS_ON# signal of the ATX power supply to become high, resulting in no output of the overall power supply, resulting in illegal shutdown of the normal motherboard, damage to the hardware or interruption of data transmission.
The MCU is used to control the voltage output of multiple ATX power sockets and motherboards, ensuring that as long as one motherboard is working, the ATX power supply remains in normal state. By integrating the power start signal and feedback signal to the MCU, flexible power management is achieved.
It reduces the cost of the whole machine, reduces the power space, improves the heat dissipation efficiency, solves the problem of different power sequences of different brands, and ensures that the other motherboard works normally when one motherboard is damaged.
Smart Images

Figure CN120406702A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of power control, and in particular to a power control device and method for multiple mainboards. Background Art
[0002] During actual use, due to debugging or motherboard damage, one or more of the mainboards may have problems, resulting in abnormal power supply. At this time, the abnormal mainboard will make the PS_ON# signal of the ATX power supply become high level, resulting in no output of 12V, 5V, 3.3V, etc. of the entire ATX power supply, and further causing the power supply of the mainboards without abnormalities to be illegally turned off. Due to the illegal shutdown of the power supply, it may cause damage to the hardware devices of the mainboards without abnormalities or abnormal interruption of data transmission, resulting in irreparable losses. Summary of the Invention
[0003] The purpose of the embodiments of the present invention is to provide a power control device and method for multiple mainboards to solve the problem in the prior art that when there are multiple mainboards in the system, due to debugging or motherboard damage, one or more of the mainboards may have problems, resulting in abnormal power supply.
[0004] To solve the above technical problems, the present invention provides a power control device for multiple mainboards. The ATX mainboard mentioned in the present invention refers to a mainboard that can be powered by an ATX power supply, not limited to the ATX mainboard with a standard protocol, and adopts the following technical solutions:
[0005] An MCU, multiple ATX mainboards, multiple ATX power sockets, and an ATX power supply are electrically connected. The multiple ATX power sockets are respectively connected to the multiple ATX mainboards and the ATX power supply. The power start signals and feedback signals of the multiple ATX power sockets are integrated onto the MCU, and the MCU is used to control the voltage output of the multiple ATX power sockets to ensure that as long as one mainboard is in the working mode, the ATX power supply is in the normal working state.
[0006] Preferably, the MCU includes any one of an ARM microcontroller, the STM32 series, the AVR series, and the PIC series.
[0007] Preferably, the 9th pin 5V auxiliary power supply voltage P5V_AUX of the first ATX power socket, the second ATX power socket, and the third ATX power socket are directly connected;
[0008] The multiple ATX mainboards include a first ATX mainboard and a second ATX mainboard, and the multiple ATX power sockets include a first ATX power socket, a second ATX power socket, and a third ATX power socket;
[0009] The first ATX power socket is connected to the ATX power supply, and the ATX power supply is used for the total power input of the device;
[0010] The second ATX power socket is connected to the first ATX mainboard, and the second ATX power socket provides power input for the first ATX mainboard;
[0011] The third ATX power socket is connected to the second mainboard, and the third ATX power socket provides power input for the second mainboard.
[0012] Preferably, the power-on signal PS_ON1 comes from the ATX power supply;
[0013] The power-on signal PS_ON2 comes from the first ATX mainboard;
[0014] The power-on signal PS_ON3 comes from the second ATX mainboard;
[0015] The ATX2_MCU_PG signal is a high-level power feedback OK signal output for the first ATX mainboard after being detected by the MCU logic;
[0016] The ATX3_MCU_PG signal is a high-level power feedback OK signal output for the second ATX mainboard after being detected by the MCU logic;
[0017] When the first ATX mainboard and the second ATX mainboard are inserted simultaneously, the method to make the ATX power supply output voltage normally is: the power-on signal PS_ON1 signal is pulled low. When the ATX power supply is inserted into the first ATX power socket and connected to 220V alternating current, the first ATX mainboard and the second ATX mainboard have four working modes.
[0018] Preferably, the working modes of the first ATX mainboard and the second ATX mainboard include:
[0019] Both the first ATX mainboard and the second ATX mainboard work normally;
[0020] Or both the first ATX mainboard and the second ATX mainboard cannot work normally;
[0021] Or the first ATX mainboard works normally, and the second ATX mainboard cannot work normally;
[0022] Or the first ATX mainboard cannot work normally, and the second ATX mainboard works normally.
[0023] Preferably, the first ATX motherboard is provided with a first motherboard management chip, and the second ATX motherboard is provided with a second motherboard management chip;
[0024] When both the first ATX motherboard and the second ATX motherboard are working properly, P5V_AUX provides 5V power supply voltage to the first ATX motherboard and the second ATX motherboard respectively. The first motherboard management chip controls the power-on of the first ATX motherboard, and the second motherboard management chip controls the power-on of the second ATX motherboard. Then, the power start signal PS_ON2 and the power start signal PS_ON3 are pulled low. According to the low-level states of the power start signal PS_ON2 and the power start signal PS_ON3, the MCU makes the power start signal PS_ON1 output a low level, pulling low the PS_ON# pin of the ATX power supply. Then, the ATX power supply confirms that both the first ATX motherboard and the second ATX motherboard are in normal state detection, and then outputs voltage.
[0025] Preferably, when both the first ATX motherboard and the second ATX motherboard cannot work properly, P5V_AUX provides 5V power supply voltage to the first ATX motherboard and the second ATX motherboard, and cannot generate low-level signals of the power start signal PS_ON2 and the power start signal PS_ON3. The MCU cannot generate a low-level signal of the power start signal PS_ON# of the ATX power supply, so the ATX power supply stops working.
[0026] Preferably, when the first ATX motherboard is working properly and the second ATX motherboard cannot work properly, P5V_AUX provides 5V power supply voltage to the first ATX motherboard and the second ATX motherboard respectively. When the power start signal PS_ON3 is high, the signals P12V_CTRL3, P5V_CTRL3, and P3V3_CTRL3 cannot output high levels, that is, when the second ATX motherboard cannot work, the third ATX power socket connected to the second ATX motherboard cannot output power voltages of 12V, 5V, and 3.3V either.
[0027] Preferably, when the first ATX motherboard cannot work properly and the second ATX motherboard is working properly, P5V_AUX provides 5V power supply voltage to the first ATX motherboard and the second ATX motherboard respectively. When the power start signal PS_ON2 is high, the signals P12V_CTRL2, P5V_CTRL2, and P3V3_CTRL2 cannot output high levels, that is, when the first ATX motherboard cannot work, the second ATX power socket connected to the first ATX motherboard cannot output power voltages of 12V, 5V, and 3.3V either.
[0028] To solve the above technical problems, the present invention also provides a power control method for multiple motherboards, adopting the following technical solutions: including the above-mentioned power control device for multiple motherboards, comprising the steps of:
[0029] Electrical connect multiple ATX power sockets to multiple ATX motherboards and ATX power supplies respectively;
[0030] Integrate the power start signals and feedback signals of multiple said ATX power sockets onto the MCU;
[0031] Control the voltage output of multiple said ATX power sockets through the MCU to ensure that as long as one motherboard is in the working mode, the ATX power supply is in the normal working state.
[0032] Compared with the prior art, the present invention mainly has the following beneficial effects:
[0033] (1) All conventional electronic components are used, and in terms of cost, it is much lower than the cost of a single ATX power supply, especially in a whole machine with more than multiple motherboards.
[0034] (2) If an ATX motherboard was powered by an ATX power supply in the past, it would occupy a large area inside the whole machine, the wiring inside the chassis would be cumbersome and messy, and it would also lead to an insignificant heat dissipation effect. This solution not only reduces the area occupied by the ATX power supply inside the chassis, but also makes the board type structure design of the motherboard more flexible, simplifies the structure, and can effectively improve the heat dissipation efficiency, making the heat dissipation more obvious.
[0035] (3) When designing ATX power supplies of different brands, due to the inconsistent design timings inside the power supplies of each brand, there is a phenomenon of difference in the power-on timing with the motherboard, resulting in the problem that the motherboard fails to power on from time to time. In this solution, an MCU chip is used to control the power output and the output time of management signals. When there is a problem that the power-on timing of the ATX power supply and the motherboard is different and the motherboard cannot power on, the timing can be modified through the MCU program to make it compatible with the motherboard's timing. Here, only the MCU program needs to be updated, without modifying the hardware. Therefore, there are more choices when the motherboard selects the ATX power supply brand, and modifying the MCU program is more flexible, simpler, and more efficient than changing the hardware.
[0036] (4) In a multi-mainboard system, when one of the mainboards is damaged and cannot work, according to the working principle of the ATX power supply, the power-on signal PS_ON# of the main power supply will be at a high level, resulting in no output of P12V, P5V, P3V3, and PWRGD of the total power supply, and further affecting the illegal power-off of the other mainboard. This solution can ensure that when any one of the mainboards is damaged, through the logical judgment of the hardware and the MCU, it will not cause the power supply of the main power supply to the normal mainboard to be interrupted, so as to ensure that the other mainboard can work normally without being affected by the damaged mainboard. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] In order to more clearly illustrate the solution in the present invention, the following will give a brief introduction to the drawings required for the description of the embodiments of the present invention. Obviously, the following-described drawings are some embodiments of the present invention. For those of ordinary skill in the art, without creative efforts, other drawings can also be obtained based on these drawings.
[0038] Figure 1 It is a schematic structural diagram of an embodiment of the power control device for multi-mainboards of the present invention;
[0039] Figure 2 It is a principle block diagram of the power control device for multi-mainboards of the present invention;
[0040] Figure 3 It is a flowchart of the first working mode of the power control device for multi-mainboards of the present invention;
[0041] Figure 4 It is a flowchart of the second working mode of the power control device for multi-mainboards of the present invention;
[0042] Figure 5 It is a flowchart of the third working mode of the power control device for multi-mainboards of the present invention;
[0043] Figure 6 It is a flowchart of the fourth working mode of the power control device for multi-mainboards of the present invention;
[0044] Figure 7 It is a flowchart of an embodiment of the power control method for multi-mainboards of the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0045] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the technical field to which this invention belongs; the terms used in the specification of this application are only for the purpose of describing specific embodiments and are not intended to limit this invention; the terms "including" and "having" and any variations thereof in the specification and claims of this invention and the above drawings are intended to cover non-exclusive inclusion. The terms "first", "second", etc. in the specification and claims of this invention or the above drawings are used to distinguish different objects and not to describe a specific order.
[0046] Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the invention. The phrase appears in various places in the specification and does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment mutually exclusive of other embodiments. Those skilled in the art will explicitly and implicitly understand that the embodiments described herein can be combined with other embodiments.
[0047] In order to enable those skilled in the art of this technology to better understand the solution of this invention, the technical solutions in the embodiments of this invention will be clearly and completely described below in conjunction with the accompanying drawings.
[0048] It should be noted that the power control method for multiple mainboards provided by the embodiments of this invention is generally executed by a server / terminal device. Correspondingly, the power control device for multiple mainboards is generally disposed in the server / terminal device.
[0049] It should be understood that the numbers of terminal devices, networks, and servers are merely illustrative. According to actual needs, there can be any number of terminal devices, networks, and servers.
[0050] Example 1
[0051] Reference Figure 1 , shows a schematic structural diagram of an embodiment of the power control device for multiple mainboards of this invention. The power control device for multiple mainboards includes:
[0052] An MCU, multiple ATX mainboards, multiple ATX power sockets, and an ATX power supply are electrically connected. The multiple ATX power sockets are respectively connected to the multiple ATX mainboards and the ATX power supply. The power start signals and feedback signals of the multiple ATX power sockets are integrated onto the MCU, and the MCU is used to control the voltage output of the multiple ATX power sockets to ensure that as long as one mainboard is in the working mode, the ATX power supply is in the normal working state.
[0053] In specific implementation, the MCU includes but is not limited to any one of ARM microcontrollers, STM32 series, AVR series, and PIC series.
[0054] The STM32 series of MCUs is produced by STMicroelectronics and is a general-purpose microcontroller based on the ARM Cortex-M core. It is widely used in the power control devices of multi-boards and is mainly responsible for implementing various complex control algorithms, such as PID control, fuzzy control, etc. At the same time, the STM32 series of MCUs also has rich peripheral resources, such as ADC, DAC, PWM, etc., which can easily realize communication and control with external devices.
[0055] The AVR series of MCUs is produced by Atmel and is a microcontroller based on the Reduced Instruction Set (RISC) architecture. It is mainly used in the power control devices of multi-boards to implement basic control logics, such as switch control, timer, etc. The AVR series of MCUs features low power consumption and high performance, and is especially suitable for application scenarios with high energy efficiency requirements.
[0056] The PIC series of MCUs is produced by Microchip and is a microcontroller based on the Harvard architecture. It is mainly used in the power control devices of multi-boards to implement simple input / output controls, such as relay control, LED display, etc. The PIC series of MCUs features strong anti-interference ability and high reliability, and thus is widely used in some occasions with high stability requirements.
[0057] In specific implementation, the MCU selected in this embodiment is GD32F103RBT6 in the ARM microcontroller. GD32F103RBT6 is a 32-bit general-purpose microcontroller based on the RISC core, with the best ratio in terms of processing power, reducing power consumption and peripherals. It is the next-generation processor core, nested vector interrupt controller (NVIC), SysTick timer, and advanced debugging support. The GD32F103RBT6 device includes A 32-bit processor core that can operate at a frequency of 108 MHz, with zero wait state for flash access to achieve maximum efficiency. It provides up to 3 MB of on-chip flash memory and up to 96 KB of SRAM memory. A wide range of enhanced I / O and peripherals are connected to two APB buses. The device provides up to three 12-bit ADCs, up to two 12-bit DACs, up to ten general-purpose 16-bit timers, two basic timers plus two PWM advanced timers, and standard and advanced communication interfaces: up to three SPIs, two I2Cs, three USARTs, two UARTs, two I2Ss, one USBD, one CAN, and one data output. The device is powered by a 2.6 to 3.6 V power supply and has a temperature range of -40 to +85 °C. Several power-saving modes provide maximum flexibility for optimizing between wake-up latency and power consumption, a particularly important consideration in low-power applications.
[0058] In specific implementation, the 9th pin 5V auxiliary power supply voltage P5V_AUX of the first ATX power socket, the second ATX power socket, and the third ATX power socket are all directly connected.
[0059] The multiple ATX motherboards include a first ATX motherboard and a second ATX motherboard, and the multiple ATX power sockets include a first ATX power socket, a second ATX power socket, and a third ATX power socket.
[0060] The first ATX power socket is connected to the ATX power supply, and the ATX power supply is used for the total power input of the device.
[0061] The second ATX power socket is connected to the first ATX motherboard, and the second ATX power socket provides power input for the first ATX motherboard.
[0062] The third ATX power socket is connected to the second motherboard, and the third ATX power socket provides power input for the second motherboard.
[0063] Figure 2 It is the principle block diagram of the power control device for multiple motherboards of the present invention. As Figure 2 shown, the power-on signal PS_ON1 comes from the ATX power supply; the power-on signal PS_ON2 comes from the first ATX motherboard; the power-on signal PS_ON3 comes from the second ATX motherboard;
[0064] The ATX2_MCU_PG signal is a high-level power feedback OK signal output for the first ATX motherboard after being detected by the MCU logic; the ATX3_MCU_PG signal is a high-level power feedback OK signal output for the second ATX motherboard after being detected by the MCU logic; when the first ATX motherboard and the second ATX motherboard are inserted simultaneously, the way to make the ATX power supply output voltage normally is: the power start signal PS_ON1 signal is pulled low. When the ATX power supply is inserted into the first ATX power socket and connected to 220V alternating current, the first ATX motherboard and the second ATX motherboard have four working modes.
[0065] The four working modes of the first ATX motherboard and the second ATX motherboard include:
[0066] One is that both the first ATX motherboard and the second ATX motherboard work normally;
[0067] Two is that neither the first ATX motherboard nor the second ATX motherboard can work normally;
[0068] Three is that the first ATX motherboard works normally and the second ATX motherboard cannot work normally;
[0069] Four is that the first ATX motherboard cannot work normally and the second ATX motherboard works normally.
[0070] The first ATX motherboard is provided with a first motherboard management chip, and the second ATX motherboard is provided with a second motherboard management chip.
[0071] Figure 3 It is the flowchart of the first working mode of the power control device for multiple motherboards of the present invention.
[0072] As Figure 3 shown, in the first working mode, the working process includes:
[0073] ① The MCU receives low-level signals from the motherboard PS_ON2 and PS_ON3.
[0074] ② The MCU outputs PS_ON1 as low level to pull down the PS_ON# signal of the ATX power supply.
[0075] ③ The ATX power supply outputs P12V_ATX1, P5V_ATX1, and P3V3_ATX1.
[0076] ④ After the P12V_ATX1, P5V_ATX1, and P3V3_ATX1 power supplies output by the ATX power supply are stable, a 5V high-level signal of ATX1_PWRGD is generated after a delay of several hundred milliseconds.
[0077] ⑤ The MCU receives the 3.3V ATX1_PWR_OK high-level signal.
[0078] ⑥ The MCU outputs high-level EN signals of P12V_CTRL2 / 3, P5V_CTRL2 / 3, and P3V3_CTRL2 / 3 to turn on the MOS.
[0079] ⑦ The MCU receives normal ATX2_PWR_PG and ATX3_PWR_PG signals output from P12V_ATX2 / 3, P5V_ATX2 / 3, and P3V3_ATX2 / 3.
[0080] ⑧ The MCU outputs 3.3V high-level signals of ATX2_PG and ATX3_PG.
[0081] ⑨ After the MOS level conversion, high-level signals of 5V ATX2_MCU_PG and ATX3_MCU_PG are output.
[0082] In the first working mode, when both the first ATX motherboard and the second ATX motherboard are working properly, P5V_AUX provides 5V power supply voltage to the first ATX motherboard and the second ATX motherboard respectively. The first motherboard management chip controls the power-on of the first ATX motherboard, and the second motherboard management chip controls the power-on of the second ATX motherboard. Then, the power start signal PS_ON2 and the power start signal PS_ON3 are pulled low. The MCU makes the power start signal PS_ON1 output a low level according to the low-level states of the power start signal PS_ON2 and the power start signal PS_ON3, pulling low the PS_ON# signal of the ATX power supply. Then the ATX power supply confirms that the status detection of both the first ATX motherboard and the second ATX motherboard is normal, and then outputs voltage signals P12V_ATX1, P5V_ATX1, and P3V3_ATX1.
[0083] When the output voltage is stable, pin 8 (ATX1_PWRGD) of the first ATX power socket connected to the main power supply, i.e., the ATX power supply, will output a high level, indicating that the main power supply is working properly. The MCU will output management signals P12V_CTRL2, P5V_CTRL2, P3V3_CTRL2, P12V_CTRL3, P5V_CTRL3, and P3V3_CTRL3 for controlling the second ATX power socket and the third ATX power socket according to the timing requirements, so that the first ATX motherboard and the second ATX motherboard can receive power from the second ATX power socket and the third ATX power socket respectively. When the power outputs of the second ATX power socket and the third ATX power socket are normal, the logic chips at U3 and U4 will generate high-level signals of ATX2_PWR_PG and ATX3_PWR_PG indicating normal power output and send them to the MCU. The MCU will then output high-level signals of ATX2_PG and ATX3_PG according to the logic. After level conversion, high-level signals of 5V ATX2_MCU_PG and ATX3_MCU_PG will be generated and sent to the second ATX power socket and the third ATX power socket respectively, and then fed back to the first motherboard and the second motherboard, indicating that the total power supply has started to work properly. That is, when both the first ATX motherboard and the second ATX motherboard are normal, the ATX power supply can output power normally and work properly.
[0084] The truth table of PS_ON1 output is shown in Table 1 below:
[0085] Input A Input B Output Y PS_ON2 PS_0N3 PS_0N1 0 0 0
[0086] The truth table of P12V_CTRL2, P5V_CTRL2, and P3V3_CTRL2 output is shown in Table 2 below:
[0087] Input A Output B Output C Output D PS_ON2 P12V_CTRL2 P5V_CTRL2 P3V3_CTRL2 0 1 1 1
[0088] The truth table of P12V_CTRL3, P5V_CTRL3, and P3V3_CTRL3 output is shown in Table 3 below:
[0089] Input A Output B Output C Output D PS_ON3 P12V_CTRL3 P5V_CTRL3 P3V3_CTRL3 0 1 1 1
[0090] The truth table of ATX2_PWR_PG output is shown in Table 4 below:
[0091] Input A Input B Input C Output Y P12V_ATX2 P5V_ATX2 P3V3_ATX2 ATX2_PWR_PG 1 1 1 1
[0092] The truth table of ATX3_PWR_PG output is shown in Table 5 below:
[0093] Input A Input B Input C Output Y P12V_ATX3 P5V_ATX3 P3V3_ATX3 ATX3_PWR_PG 1 1 1 1
[0094] The truth table of ATX2_MCU_PG output is shown in Table 6 below:
[0095]
[0096]
[0097] The truth table of the ATX3_MCU_PG output is shown in Table 7 below:
[0098] Input A Input B Input C Output Y ATX1_PWR_OK ATX3_PWR_PG ATX3_PG ATX3_MCU_PG 1 1 1 1
[0099] Figure 4 It is the flow chart of the second working mode of the power control device for multiple main boards of the present invention.
[0100] As Figure 4 shown, in the second working mode, the working process includes:
[0101] ① The MCU cannot receive the low-level signals from the main board PS_ON2 and PS_ON3.
[0102] ② The MCU cannot output PS_ON1 as low level and cannot pull down the PS_ON# signal of the ATX power supply
[0103] In the second working mode, when both the first ATX main board and the second ATX main board cannot work properly, P5V_AUX provides a 5V power supply voltage to the first ATX main board and the second ATX main board, and cannot generate the low-level signals of the power start signal PS_ON2 and the power start signal PS_ON3. The MCU cannot generate the low-level signal of the power start signal PS_ON1 of the ATX power supply to pull down, then the ATX power supply stops working.
[0104] The truth table of the PS_ON1 input and output is shown in Table 8 below:
[0105] Input A Input B Output Y PS_ON2 PS_0N3 PS_0N1 1 1 1
[0106] Figure 5 It is the flow chart of the third working mode of the power control device for multiple main boards of the present invention.
[0107] As Figure 5 shown, in the third working mode, the working process includes:
[0108] ① The MCU receives the low-level signal of PS_ON2 from main board 1 and detects that the PS_ON3 signal is abnormal.
[0109] ② The MCU outputs PS_ON1 as low level to pull down the PS_ON# signal of the ATX power supply.
[0110] ③ The ATX power supply outputs P12V_ATX1, P5V_ATX1, and P3V3_ATX1.
[0111] ④ After the P12V_ATX1, P5V_ATX1, and P3V3_ATX1 power supplies output stably, a 5V high-level signal of ATX1_PWRGD is generated after a delay of several hundred milliseconds.
[0112] ⑤ The MCU receives the 3.3V high-level signal of ATX1_PWR_OK.
[0113] ⑥ The MCU outputs the high-level EN signals of P12V_CTRL2, P5V_CTRL2, and P3V3_CTRL2 to turn on the MOS transistors, enabling the ATX2 socket to output power.
[0114] ⑦ The MCU receives the ATX2_PWR_PG signal indicating normal output from P12V_ATX2, P5V_ATX2, and P3V3_ATX2.
[0115] ⑧ The MCU outputs a 3.3V high-level signal of ATX2_PG.
[0116] ⑨ After level conversion, a 5V high-level signal of ATX2_MCU_PG is output.
[0117] In the third working mode, when the first ATX motherboard works normally and the second ATX motherboard cannot work properly, P5V_AUX provides 5V power supply voltages to the first ATX motherboard and the second ATX motherboard respectively. When the power start signal PS_ON3 is high, the signals P12V_CTRL3, P5V_CTRL3, and P3V3_CTRL3 cannot output high levels, that is, when the second ATX motherboard cannot work, the third ATX power socket connected to the second ATX motherboard cannot output 12V, 5V, and 3.3V power supply voltages either.
[0118] The truth tables of the outputs of P12V_CTRL3, P5V_CTRL3, and P3V3_CTRL3 are shown in Table 9 below:
[0119] Input A Output B Output C Output D PS_ON3 P12V_CTRL3 P5V_CTRL3 P3V3_CTRL3 1 0 0 0
[0120] The truth table of the output of PS_ON1 is shown in Table 10 below:
[0121] Input A Input B Output Y PS_ON2 PS_0N3 PS_0N1 0 1 0
[0122] The first mainboard management chip uses this P5V_AUX to achieve the first step of powering on the first mainboard, and then pulls down PS_ON2. The MCU, according to the programming logic of PS_ON2 and PS_ON3 (see Truth Table 10), makes PS_ON1 output a low level, pulling down the PS_ON# pin of the ATX power supply. At this time, the ATX power supply considers the status detection of the first mainboard normal, and then outputs P12V_ATX1, P5V_ATX1, and P3V3_ATX1. When the output voltage is stable, pin 8 of the first ATX power supply socket connected to the main power supply
[0123] (ATX1_PWRGD) will output a high level, indicating that the main power supply is working normally. The MCU will, according to the requirements of the programming logic, output the management signals P12V_CTRL2, P5V_CTRL2, and P3V3_CTRL2 for the power supply of the second ATX power supply socket (see Truth Table 2), so that the first mainboard receives the power from the second ATX power supply socket.
[0124] When the power supply of the second ATX power supply socket (P12V_ATX2, P5V_ATX2, P3V3_ATX2) outputs normally, the U3 logic chip will generate a high-level signal of ATX2_PWR_PG indicating that the power supply output is OK and give it to the MCU (see Truth Table 4). The MCU, according to the programming logic, outputs a high-level signal of ATX2_PG. After level conversion, a high-level signal of 5V ATX2_MCU_PG is generated and sent to the second ATX power supply socket (see Truth Table 6), and then fed back to the first mainboard. The first mainboard continues according to the timing requirements of the mainboard. That is, when only one of the two mainboards is normal, the ATX power supply can also output normally and work properly.
[0125] Figure 6 is the flowchart of the fourth working mode of the power control device for multiple mainboards of the present invention.
[0126] As Figure 6 shown, in the fourth working mode, the working process includes:
[0127] ① The MCU receives the low-level signal of PS_ON3 from Mainboard 2 and detects that the PS_ON2 signal is abnormal.
[0128] ② The MCU outputs PS_ON1 as a low level, pulling down the PS_ON# signal of the ATX power supply.
[0129] ③ Output P-12V_ATX1, P5V_ATX1, P3V3_ATX1.
[0130] ④ After the P12V_ATX1, P5V_ATX1, and P3V3_ATX1 power supplies output by the ATX power supply are stable, a 5V high-level signal of ATX1_PWRGD is generated after a delay of several hundred milliseconds.
[0131] ⑤ The MCU receives the 3.3V high-level signal of ATX1_PWR_OK.
[0132] ⑥ The MCU outputs the high-level EN signals of P12V_CTRL3, P5V_CTRL3, and P3V3_CTRL3 to turn on the MOS transistors, enabling the ATX3 socket to output power.
[0133] ⑦ The MCU receives the normal ATX2_PWR_PG signals output from P12V_ATX3, P5V_ATX3, and P3V3_ATX3.
[0134] ⑧ The MCU outputs a 3.3V high-level signal of ATX3_PG.
[0135] ⑨ After level conversion, a 5V high-level signal of ATX3_MCU_PG is output.
[0136] In the fourth working mode, when the first ATX motherboard cannot work properly and the second ATX motherboard works properly, P5V_AUX provides 5V power supply voltages to the first ATX motherboard and the second ATX motherboard respectively. When the power start signal PS_ON2 is high, the signals P12V_CTRL2, P5V_CTRL2, and P3V3_CTRL2 cannot output high levels, that is, when the first ATX motherboard cannot work, the second ATX power socket connected to the first ATX motherboard cannot output 12V, 5V, and 3.3V power supply voltages either.
[0137] The truth tables of the outputs of P12V_CTRL2, P5V_CTRL2, and P3V3_CTRL2 are shown in Table 11 below:
[0138] Input A Output B Output C Output D PS_ON2 P12V_CTRL2 P5V_CTRL2 P3V3_CTRL2 1 0 0 0
[0139] The truth table of the output of PS_ON1 is shown in Table 12 below:
[0140] Input A Input B Output Y PS_ON2 PS_0N3 PS_0N1 1 0 0
[0141] The second mainboard management chip will achieve the first step of powering on the second mainboard through P5V_AUX, and then pull down PS_ON3. The MCU, according to the programming logic of PS_ON2 and PS_ON3 (see Truth Table 12), makes PS_ON1 output a low level, pulling down the PS_ON# pin of the ATX power supply. At this time, the ATX power supply considers the status detection of the second mainboard normal, and then outputs P12V_ATX1, P5V_ATX1, and P3V3_ATX1. When the output voltage is stable, the pin 8ATX1_PWRGD of the first ATX power supply socket connected to the main power supply will output a high level, indicating that the main power supply is working normally. The MCU will output the management signals P12V_CTRL3, P5V_CTRL3, and P3V3_CTRL3 for controlling the power supply of the third ATX power supply socket according to the programming logic requirements (see Truth Table 3), so that the second mainboard can receive the power from the third ATX power supply socket.
[0142] When the power supply of the third ATX power supply socket (P12V_ATX3, P5V_ATX3, P3V3_ATX3) outputs normally, the U4 logic chip will generate a high-level signal ATX3_PWR_PG of power supply output OK and give it to the MCU (see Truth Table 5). The MCU, according to the programming logic, outputs a high-level signal of ATX3_PG. After level conversion, it generates a high-level signal of 5V ATX3_MCU_PG to the ATX3 socket (see Truth Table 7), and then feeds back to the second mainboard. The second mainboard continues to proceed according to the timing requirements of the mainboard. That is, when only one of the two mainboards is normal, the ATX power supply can still output normally and work properly.
[0143] In some alternative implementation methods, a temperature sensor can also be added to the MCU. The MCU can control the fan speed according to the temperature fed back by the temperature sensor, achieving the effects of energy saving and power consumption reduction.
[0144] The temperature sensor can be a thermocouple, a thermal resistor, a thermistor, etc. These sensors have their own characteristics. For example, the thermocouple sensor is based on the Seebeck effect, converting temperature changes into electrical energy, with high measurement accuracy and suitable for high and low temperature environments; the thermal resistor sensor utilizes the characteristic that the conductor resistance changes with temperature, with high measurement accuracy and good stability; while the thermistor sensor has the advantages of high sensitivity and fast response speed, and is often used in occasions that require fast response.
[0145] The working principle of the temperature sensor is mainly based on physical effects such as the thermoelectric effect, the thermal resistance effect, or the thermistor effect. When the temperature changes, the physical characteristics of the sensor will change accordingly, thereby outputting corresponding electrical signals. Through the conversion and amplification of the circuit, these electrical signals are finally converted into readable temperature values.
[0146] Implementing this embodiment has the following beneficial effects:
[0147] (1) All the electronic components used are conventional. In terms of cost, it is much lower than the cost of a single ATX power supply, especially in a whole machine with more than one motherboard.
[0148] (2) If an ATX motherboard was powered by an ATX power supply in the past, it would occupy a large area inside the whole machine, the wiring inside the chassis would be cumbersome and messy, and it would also lead to an unobvious heat dissipation effect. This solution not only reduces the area occupied by the ATX power supply inside the chassis, but also makes the board type structure design of the motherboard more flexible, simplifies the structure, and can effectively improve the heat dissipation efficiency, making the heat dissipation more obvious.
[0149] (3) When designing ATX power supplies of different brands, due to the inconsistent design timings inside the power supplies of different brands, there is a phenomenon of difference in the power-on timings with the motherboard, resulting in the problem that the motherboard fails to power on from time to time. In this solution, an MCU chip is used to control the power output and the output time of management signals. When there is a problem that the ATX power supply and the motherboard cannot power on due to different power-on timings, the timings can be modified through the program of the MCU to make it compatible with the timings of the motherboard. Here, only the MCU program needs to be updated, and there is no need to modify the hardware. Therefore, there are more choices when the motherboard selects the brand of the ATX power supply. Modifying the MCU program is more flexible, simpler, and more efficient than changing the hardware.
[0150] (4) In a multi-motherboard system, when one of the motherboards is damaged and cannot work, according to the working principle of the ATX power supply, the power-on signal PS_ON of the main power supply will be at a high level, resulting in no output of P12V, P5V, P3V3, and PWRGD of the main power supply, and further affecting the illegal power-off of another motherboard. This solution can ensure that when any one of the motherboards is damaged, through the logical judgment of the hardware and the MCU, it will not cause the main power supply to interrupt the power supply to the normal motherboard, so as to ensure that another motherboard can work normally without being affected by the damaged motherboard.
[0151] Example 2
[0152] Reference Figure 7 , which shows a flowchart of an embodiment of the power control method for multiple motherboards of the present invention. The power control method for multiple motherboards includes the power control device for multiple motherboards in Embodiment 1, and includes the following steps:
[0153] Step S1, electrically connect multiple ATX power sockets to multiple ATX motherboards and ATX power supplies respectively.
[0154] For example, the 9th pin 5V auxiliary power supply voltage P5V_AUX of the first ATX power socket, the second ATX power socket, and the third ATX power socket are all directly connected;
[0155] The multiple ATX motherboards include a first ATX motherboard and a second ATX motherboard, and the multiple ATX power sockets include a first ATX power socket, a second ATX power socket, and a third ATX power socket;
[0156] The first ATX power socket is connected to the ATX power supply, and the ATX power supply is used for the total power input of the device;
[0157] The second ATX power socket is connected to the first ATX motherboard, and the second ATX power socket provides power input for the first ATX motherboard;
[0158] The third ATX power socket is connected to the second motherboard, and the third ATX power socket provides power input for the second motherboard.
[0159] Step S2, integrating the power start signal and the feedback signal of the multiple ATX power sockets onto the MCU.
[0160] Specifically, the MCU includes but is not limited to any one of the ARM microcontroller, STM32 series, AVR series, and PIC series.
[0161] The STM32 series MCU is produced by STMicroelectronics and is a general microcontroller based on the ARM Cortex-M core. It is widely used in the power control device of multiple motherboards and is mainly responsible for implementing various complex control algorithms, such as PID control and fuzzy control. At the same time, the STM32 series MCU also has rich peripheral resources, such as ADC, DAC, PWM, etc., which can easily realize communication and control with external devices.
[0162] The AVR series MCU is produced by Atmel and is a microcontroller based on the reduced instruction set (RISC) architecture. It is mainly used in the power control device of multiple motherboards to implement basic control logics, such as switch control and timer. The AVR series MCU has the characteristics of low power consumption and high performance, and is especially suitable for application scenarios with high energy efficiency requirements.
[0163] The PIC series MCU is produced by Microchip and is a microcontroller based on the Harvard architecture. It is mainly used in the power control device of multiple motherboards to implement simple input and output controls, such as relay control and LED display. The PIC series MCU has strong anti-interference ability and high reliability, so it is widely used in some occasions with high stability requirements.
[0164] In specific implementation, the MCU of this embodiment selects GD32F103RBT6 in the ARM microcontroller. GD32F103RBT6 is based on a 32-bit general-purpose microcontroller RISC core, which has the best ratio in terms of processing power, reducing power consumption and peripherals. It is the next-generation processor core with nested vector interrupt controller (NVIC), SysTick timer and advanced debugging support. The GD32F103RBT6 device includes a 32-bit processor core that can run at a frequency of 108 MHz, with zero wait states for flash access for maximum efficiency. It provides up to 3 MB of on-chip flash memory and up to 96 KB of SRAM memory. A wide range of enhanced I / O and peripherals connected to two APB buses. The device provides up to three 12-bit ADCs, up to two 12-bit DACs, up to ten general-purpose 16-bit timers, two basic timers plus two PWM advanced timers, and standard and advanced communication interfaces: up to three SPIs, two I2Cs, three USARTs, two UARTs, two I2Ss, one USBD, one CAN, and one data output. The device is powered by a 2.6 to 3.6 V power supply and has a temperature range of -40 to +85 °C. Several power-saving modes provide optimal flexibility between wake-up latency and power consumption, a particularly important consideration in low-power applications.
[0165] In some alternative implementation methods, a temperature sensor can also be added to the MCU. The MCU can control the fan speed according to the temperature feedback by the temperature sensor, achieving the effects of energy conservation and power consumption reduction.
[0166] The temperature sensor can be a thermocouple, a thermal resistor, a thermistor, etc. These sensors have their own characteristics. For example, the thermocouple sensor is based on the Seebeck effect, converting temperature changes into electrical energy, with high measurement accuracy and suitable for high and low temperature environments; the thermal resistor sensor utilizes the characteristic that the conductor resistance changes with temperature, with high measurement accuracy and good stability; while the thermistor sensor has the advantages of high sensitivity and fast response speed and is often used in occasions that require fast response.
[0167] The working principle of the temperature sensor is mainly based on physical effects such as the thermoelectric effect, the thermal resistance effect or the thermistor effect. When the temperature changes, the physical characteristics of the sensor will change accordingly, thereby outputting corresponding electrical signals. Through the conversion and amplification of the circuit, these electrical signals are finally converted into readable temperature values.
[0168] The power-on signal PS_ON1 comes from the ATX power supply; the power-on signal PS_ON2 comes from the first ATX motherboard; the power-on signal PS_ON3 comes from the second ATX motherboard;
[0169] The ATX2_MCU_PG signal is a high-level power feedback OK signal output for the first ATX motherboard after being detected by the MCU logic; the ATX3_MCU_PG signal is a high-level power feedback OK signal output for the second ATX motherboard after being detected by the MCU logic; when the first ATX motherboard and the second ATX motherboard are inserted simultaneously, the way to make the ATX power supply output voltage normally is: the power-on signal PS_ON1 is pulled low. When the ATX power supply is inserted into the first ATX power socket and connected to 220V alternating current, the first ATX motherboard and the second ATX motherboard have four working modes.
[0170] Step S3: Control the voltage output of multiple ATX power sockets through the MCU to ensure that as long as one motherboard is in the working mode, the ATX power supply is in the normal working state.
[0171] The four working modes of the first ATX motherboard and the second ATX motherboard include:
[0172] First, both the first ATX motherboard and the second ATX motherboard work normally.
[0173] Second, neither the first ATX motherboard nor the second ATX motherboard can work normally.
[0174] Third, the first ATX motherboard works normally, and the second ATX motherboard cannot work normally.
[0175] Fourth, the first ATX motherboard cannot work normally, and the second ATX motherboard works normally.
[0176] For the specific working process, please refer to Embodiment 1 and will not be elaborated here.
[0177] Implementing this embodiment has the following beneficial effects:
[0178] (1) All conventional electronic components are adopted. In terms of cost, it is much lower than the cost of a single ATX power supply, especially in a whole machine with more than one motherboard.
[0179] (2) If one ATX motherboard was powered by one ATX power supply in the past, it would occupy a large area inside the whole machine, the wiring inside the chassis would be cumbersome and messy, and it would also lead to an unclear heat dissipation effect. This solution not only reduces the area occupied by the ATX power supply inside the chassis, but also makes the board type structure design of the motherboard more flexible, simplifies the structure, and can effectively improve the heat dissipation efficiency, making the heat dissipation more obvious.
[0180] (3) When ATX power supplies of different brands are designed, due to the inconsistent design timing inside the power supplies among different brands, there is a phenomenon that the power-on timing with the motherboard is different, resulting in the problem that the motherboard fails to power on from time to time. In this solution, an MCU chip is used to control the power output of the power supply and the output time of the management signal. When there is a problem that the ATX power supply cannot power on due to different power-on timings with the motherboard, the timing can be modified through the MCU program to make it compatible with the motherboard's timing. Here, only the MCU program needs to be updated, without modifying the hardware. Therefore, there are more choices when the motherboard selects the ATX power supply brand. Modifying the MCU program is more flexible, simpler, and more efficient than changing the hardware.
[0181] (4) In a multi-motherboard system, when one of the motherboards is damaged and cannot work, according to the working principle of the ATX power supply, the power-on signal PS_ON of the main power supply will be at a high level, resulting in no output of P12V, P5V, P3V3, and PWRGD of the main power supply, and further affecting the illegal power-off of the other motherboard. This solution can ensure that when any one of the motherboards is damaged, through the logical judgment of the hardware and the MCU, it will not cause the main power supply to interrupt the power supply to the normal motherboard, so as to ensure that the other motherboard can work normally without being affected by the damaged motherboard.
[0182] The present invention can be used in many general or special computer system environments or configurations. For example: personal computers, server computers, handheld devices or portable devices, tablet devices, multi-processor systems, microprocessor-based systems, set-top boxes, programmable consumer electronic devices, network PCs, minicomputers, mainframe computers, distributed computing environments including any of the above systems or devices, and so on. The present invention can be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. The present invention can also be practiced in a distributed computing environment, where tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules can be located in local and remote computer storage media including storage devices.
[0183] (9) Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be completed by instructing relevant hardware through computer-readable instructions. The computer-readable instructions can be stored in a computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above methods. Among them, the aforementioned storage medium can be a non-volatile storage medium such as a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM), etc.
[0184] It should be understood that although the steps in the flowchart of the accompanying drawings are shown sequentially in the direction of the arrows, these steps are not necessarily executed sequentially in the order indicated by the arrows. Unless otherwise clearly stated in this document, there is no strict order restriction for the execution of these steps, and they can be executed in other orders. Moreover, at least a part of the steps in the flowchart of the accompanying drawings may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed at the same time, but can be executed at different times, and their execution order is not necessarily sequential, but can be executed alternately or in turn with at least a part of other steps or sub-steps or stages of other steps.
[0185] Through the description of the above embodiments, those skilled in the art can clearly understand that the above-described embodiment methods can be implemented by means of software plus a necessary general hardware platform. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions for causing a terminal device (which can be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods of the various embodiments of the present invention.
[0186] Obviously, the above-described embodiments are only a part of the embodiments of the present invention, rather than all of the embodiments. The accompanying drawings show the preferred embodiments of the present invention, but do not limit the patent scope of the present invention. The present invention can be implemented in many different forms. On the contrary, the purpose of providing these embodiments is to make the understanding of the disclosed content of the present invention more thorough and comprehensive. Although the present invention has been described in detail with reference to the foregoing embodiments, for those skilled in the art, they can still modify the technical solutions described in the foregoing specific embodiments, or perform equivalent replacements for some of the technical features. Any equivalent structure directly or indirectly using the content of the specification and drawings of the present invention in other related technical fields is equally within the scope of the patent protection of the present invention.
Claims
1. A power control device for multiple mainboards, characterized in that, Including: An MCU, multiple ATX motherboards, multiple ATX power sockets, and an ATX power supply that are electrically connected. The multiple ATX power sockets are respectively connected to the multiple ATX motherboards and the ATX power supply. The power-on signals and feedback signals of the multiple ATX power sockets are integrated onto the MCU, and the MCU is used to control the voltage output of the multiple ATX power sockets to ensure that as long as one motherboard is in the working mode, the ATX power supply is in the normal working state.
2. The power control device for multiple motherboards according to claim 1, wherein: The MCU includes any one of an ARM microcontroller, the STM32 series, the AVR series, and the PIC series.
3. The power control device for multiple motherboards according to claim 1, wherein: The 9th pin 5V auxiliary power supply voltage P5V_AUX of the first ATX power socket, the second ATX power socket, and the third ATX power socket are all directly connected. The multiple ATX motherboards include a first ATX motherboard and a second ATX motherboard, and the multiple ATX power sockets include a first ATX power socket, a second ATX power socket, and a third ATX power socket. The first ATX power socket is connected to the ATX power supply, and the ATX power supply is used for the total power input of the device. The second ATX power socket is connected to the first ATX motherboard, and the second ATX power socket provides power input for the first ATX motherboard. The third ATX power socket is connected to the second motherboard, and the third ATX power socket provides power input for the second motherboard.
4. The power control device for multiple motherboards according to claim 3, wherein: The power-on signal PS_ON1 comes from the ATX power supply. The power-on signal PS_ON2 comes from the first ATX motherboard. The power-on signal PS_ON3 comes from the second ATX motherboard. The ATX2_MCU_PG signal is a high-level power feedback OK signal output for the first ATX motherboard after being logically detected by the MCU. The ATX3_MCU_PG signal is a high-level power feedback OK signal output for the second ATX motherboard after being logically detected by the MCU. When the first ATX motherboard and the second ATX motherboard are inserted simultaneously, the method to make the ATX power supply output voltage normally is: the power-on signal PS_ON1 signal is pulled low. When the ATX power supply is inserted into the first ATX power socket and connected to a 220V alternating current, the first ATX motherboard and the second ATX motherboard have four working modes.
5. The power control device for multiple motherboards according to claim 4, wherein: The working modes of the first ATX motherboard and the second ATX motherboard include: Both the first ATX motherboard and the second ATX motherboard work normally. Or both the first ATX motherboard and the second ATX motherboard cannot work normally. Or the first ATX motherboard works normally, and the second ATX motherboard cannot work normally; Or the first ATX motherboard cannot work normally, and the second ATX motherboard works normally.
6. The power control device for multiple motherboards according to claim 5, wherein: The first ATX motherboard is provided with a first motherboard management chip, and the second ATX motherboard is provided with a second motherboard management chip; When both the first ATX motherboard and the second ATX motherboard work normally, P5V_AUX provides a 5V power supply voltage to the first ATX motherboard and the second ATX motherboard respectively. The first motherboard management chip controls the power-on of the first ATX motherboard, and the second motherboard management chip controls the power-on of the second ATX motherboard. Then, the power start signal PS_ON2 and the power start signal PS_ON3 are pulled low. The MCU makes the power start signal PS_ON1 output a low level according to the low level states of the power start signal PS_ON2 and the power start signal PS_ON3, and pulls low the PS_ON1 pin of the ATX power supply. Then the ATX power supply confirms that both the first ATX motherboard and the second ATX motherboard are in normal state detection, and then outputs a voltage signal.
7. The power control device for multiple motherboards according to claim 5, wherein: When both the first ATX motherboard and the second ATX motherboard cannot work normally, P5V_AUX provides a 5V power supply voltage to the first ATX motherboard and the second ATX motherboard, and cannot generate low level signals of the power start signal PS_ON2 and the power start signal PS_ON3. The MCU cannot generate a low level signal of the power start signal PS_ON1 to pull low the ATX power supply, so the ATX power supply stops working.
8. The power control device for multiple motherboards according to claim 5, wherein: When the first ATX motherboard works normally and the second ATX motherboard cannot work normally, P5V_AUX provides a 5V power supply voltage to the first ATX motherboard and the second ATX motherboard respectively. When the power start signal PS_ON3 is high, the signals P12V_CTRL3, P5V_CTRL3, and P3V3_CTRL3 cannot output high levels, that is, when the second ATX motherboard cannot work, the third ATX power socket connected to the second ATX motherboard cannot output power voltages of 12V, 5V, and 3.3V either.
9. The power control device for multiple motherboards according to claim 5, wherein: When the first ATX motherboard fails to work properly and the second ATX motherboard works properly, P5V_AUX provides a 5V power supply voltage to both the first ATX motherboard and the second ATX motherboard. When the power-on signal PS_ON2 is high, the signals P12V_CTRL2, P5V_CTRL2, and P3V3_CTRL2 cannot output a high level. That is, when the first ATX motherboard fails to work, the second ATX power socket connected to the first ATX motherboard cannot output power voltages of 12V, 5V, and 3.3V either.
10. A power control method for multiple motherboards, characterized in that: It includes the power control device for multiple motherboards according to any one of claims 1 to 9, and the steps include: Electrically connect multiple ATX power sockets to multiple ATX motherboards and ATX power supplies respectively; Integrate the power-on signals and feedback signals of multiple said ATX power sockets onto the MCU; Control the voltage output of multiple said ATX power sockets through the MCU to ensure that as long as one motherboard is in the working mode, the ATX power supply is in the normal working state.