Discharge control method of dual-input power supply and computing device
By controlling the start and stop of the auxiliary power supply and detecting the voltage amplitude, the defects of the discharge resistor and discharge chip in the dual-input power supply are solved, realizing safe and automatic X capacitor discharge, reducing cost and power consumption, improving the power density and efficiency of the power system, and adapting to different input types.
Patent Information
- Application Number
- CN202610399953.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-03-27
- Publication Date
- 2026-07-31
AI Technical Summary
In dual-input power supplies, existing technologies struggle to ensure safe discharge while preventing the discharge resistor from continuously consuming power and occupying layout space. Furthermore, the discharge chip is incompatible with high-voltage DC applications, increasing system cost and design complexity.
By controlling the start and stop of the auxiliary power supply, the system's inherent auxiliary power supply is used as a controllable load. The power supply path is dynamically switched under three working conditions: power-on, running, and power-off, so as to achieve safe discharge of the X capacitor. No additional dedicated discharge resistor or discharge chip is required. The power-off mechanism based on voltage amplitude detection is compatible with both AC and high-voltage DC input.
It enables safe and automatic discharge of X capacitors, reduces system cost and layout space, improves power density and overall efficiency, has good compatibility and strong adaptability, and ensures the continuity and safety of power supply.
Smart Images

Figure CN122495596A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of server technology, and in particular to a discharge control method and computing device for dual-input power supplies. Background Technology
[0002] With the rapid development of artificial intelligence (AI) technology, AI computing nodes place higher demands on the power, efficiency, and power density of power supply systems. To reduce the number of power supplies used and improve system integration, dual-input power supplies have emerged. These power supplies use an internal selection switch to switch input paths, which can significantly reduce the number of power supply modules, lower costs, and increase power density while ensuring power supply reliability. They are gradually becoming the preferred architecture for high-density computing scenarios.
[0003] In dual-input power supplies, to ensure the safe release of residual charge in the safety capacitor X after input disconnection, related technologies typically employ a discharge resistor or dedicated discharge chip fixedly connected to the input terminal. However, discharge resistors continuously consume power, reduce system efficiency, and occupy layout space; while discharge chips can improve efficiency, their detection mechanisms are usually only applicable to AC inputs, incompatible with high-voltage DC applications, and still increase system cost and design complexity. Therefore, how to avoid these drawbacks while ensuring safe discharge has become a pressing technical problem to be solved in dual-input power supply design. Summary of the Invention
[0004] This application provides a discharge control method and computing device for a dual-input power supply, which enables safe discharge of the X capacitor without adding any dedicated discharge resistor or discharge chip.
[0005] According to a first aspect of the embodiments of this application, a discharge control method for a dual-input power supply is provided. The dual-input power supply includes a first input port, a second input port, a selection switch, a digital signal processor (DSP), a first auxiliary power supply, a second auxiliary power supply, and a third auxiliary power supply. The first input port is connected to a first capacitor, and the second input port is connected to a second capacitor. The input terminal of the first auxiliary power supply is connected to the first input port, the input terminal of the second auxiliary power supply is connected to the second input port, and the input terminal of the third auxiliary power supply is connected to the main power bus inside the dual-input power supply. The output terminals of the first, second, and third auxiliary power supplies are all connected to the power supply terminals of the DSP and the selection switch. The method includes:
[0006] When the dual-input power supply is in the power-on stage, the first auxiliary power supply and the second auxiliary power supply are started, and the first auxiliary power supply and the second auxiliary power supply supply power the DSP and the selection switch. When the dual-input power supply is in normal operation, the first and second auxiliary power supplies are turned off, and the third auxiliary power supply is turned on, which supplies power to the DSP and the selection switch. When a power failure is detected at the first input port, the first auxiliary power supply is activated to power the DSP and the selection switch; wherein, the charge stored in the first capacitor powers the DSP and the selection switch through the first auxiliary power supply. When a power failure is detected at the second input port, the second auxiliary power supply is activated to power the DSP and the selection switch; the charge stored in the second capacitor powers the DSP and the selection switch through the second auxiliary power supply.
[0007] This embodiment effectively controls the auxiliary power supply, using the system's inherent auxiliary power supply as a controllable load without adding any dedicated discharge resistors or discharge chips. It dynamically switches the power supply path under three operating conditions: power-on, operation, and power-off. This not only achieves safe and automatic capacitor discharge but also effectively eliminates the static losses of discharge components in related technologies, saves layout space, and reduces system costs. Furthermore, because this solution is based on voltage amplitude detection for power-off, it is compatible with both AC and high-voltage DC inputs, significantly improving the power density, overall efficiency, and scenario adaptability of the dual-input power supply.
[0008] In one possible implementation, controlling the startup of the first auxiliary power supply and the second auxiliary power supply includes: The first and second auxiliary power supplies are activated by outputting an enable signal through the DSP.
[0009] This embodiment explicitly uses the DSP output enable signal to start the auxiliary power supply, which not only enhances the reliability and anti-interference of the control process and ensures the precise execution of the power supply timing, but also fully leverages the programmable advantages of the DSP as the control core, making the power management logic more flexible and easier to adjust.
[0010] In one possible implementation, the method further includes, before controlling the startup of the third auxiliary power supply: The DSP confirmed that the main power module with dual input power supply has entered a stable operating state.
[0011] This embodiment introduces a main power status confirmation step, establishing a reliable status criterion for the power supply switching of the auxiliary power supply. This avoids system fluctuations or power interruptions that may be caused by premature switching due to the main power circuit not being ready, thereby significantly improving the stability, reliability, and robustness of the entire power system state transition process and ensuring the continuity and quality of power supply to the server load.
[0012] In one possible implementation, the input of the third auxiliary power supply is connected to the power factor correction bus inside the dual-input power supply, and the third auxiliary power supply is powered through the power factor correction bus.
[0013] This embodiment clarifies the architecture of the third auxiliary power supply drawing power from the internal PFC bus, so that its load effect directly acts on the main power circuit during normal operation. This helps to optimize the operating point and dynamic characteristics of the power factor correction circuit, thereby systematically improving the overall power factor and total harmonic distortion performance of the input current. At the same time, this design avoids the need to set up a complex circuit for the third auxiliary power supply to draw power from the input terminal, which can further simplify the system structure and reduce the number of components and related losses.
[0014] In one possible implementation, power-down detection of the first input port and / or the second input port includes: The voltage of the first and second input ports is monitored by the DSP; When the voltage at the first input port and / or the second input port is lower than a preset power-off threshold, it is determined that there is a power-off situation at the first input port and / or the second input port.
[0015] This embodiment achieves simplicity and high reliability of the detection logic by adopting a power-down detection mechanism based on direct comparison of voltage amplitude. This method does not depend on the AC frequency characteristics of the input power supply, thus naturally being compatible with both AC and high-voltage DC input types, fundamentally overcoming the key defect that traditional discharge IC solutions cannot be applied to HVDC scenarios.
[0016] In one possible implementation, the method further includes: After the first auxiliary power supply and / or the second auxiliary power supply are started, the voltage across the first capacitor and / or the second capacitor is monitored by the DSP. The discharge process of the first capacitor and / or the second capacitor ends when the voltage across the first capacitor and / or the second capacitor is lower than a preset safe voltage threshold.
[0017] This embodiment achieves closed-loop control and safety confirmation of the discharge process by adding direct monitoring of the voltage across the first capacitor and / or the second capacitor and determining the end of discharge based on a safety threshold. This completely eliminates potential electrical safety hazards that may remain due to incomplete discharge. This design ensures that the power system can meet safety requirements after a power outage, greatly improving the safety and reliability of the product.
[0018] In one possible implementation, the start / stop states of the first auxiliary power supply, the second auxiliary power supply, and the third auxiliary power supply are controlled according to the following timing logic based on the operating conditions of the dual-input power supplies: During the power-on phase, the first and second auxiliary power supplies are started, and the third auxiliary power supply is turned off. During normal operation, the first and second auxiliary power supplies are shut down, and the third auxiliary power supply is started. When a power failure is detected at the first input port, the first auxiliary power supply is started, and the second and third auxiliary power supplies are turned off. When a power failure is detected at the second input port, the second auxiliary power supply is activated, and the first and third auxiliary power supplies are deactivated.
[0019] This embodiment uses timing logic corresponding to different operating conditions to clearly define the start-up and shutdown states of each auxiliary power supply under different operating conditions, achieving systematic and deterministic control of the power supply path and discharge process of the dual-input power supply. This timing logic ensures a smooth transition and reliable power supply during each stage of power-on, normal operation, and power-off discharge.
[0020] In one possible implementation, the first input port and the second input port are used to connect to an AC power supply or a high-voltage DC power supply.
[0021] This embodiment demonstrates dual compatibility between AC and high-voltage DC through its dual input ports, enabling it to adapt to the evolution from traditional AC power supply to high-voltage DC power supply. Furthermore, the control method of this embodiment, which eliminates the need for dedicated discharge components, solves the problem that traditional discharge IC solutions cannot be applied to high-voltage DC scenarios due to their reliance on frequency detection. It also significantly reduces the cost and complexity of power supply replacement caused by power supply architecture upgrades.
[0022] In one possible implementation, during the power-on phase, the voltages output from the first auxiliary power supply and the second auxiliary power supply are combined to power the digital signal processor (DSP) and the selection switch.
[0023] In this embodiment, after the DSP controls both devices to start simultaneously, the combined node provides a stable and reliable operating voltage to the DSP and the selector switch. This design ensures that even if one input port or one auxiliary power supply is faulty, as long as the other is functioning normally, the power supply to the control circuit during the power-on phase is guaranteed, thus improving the robustness of the initial startup.
[0024] According to a second aspect of the embodiments of this application, a discharge control device for a dual-input power supply is provided. The dual-input power supply includes a first input port, a second input port, a selection switch, a digital signal processor (DSP), a first auxiliary power supply, a second auxiliary power supply, and a third auxiliary power supply. The first input port is connected to a first capacitor, and the second input port is connected to a second capacitor. The input terminal of the first auxiliary power supply is connected to the first input port, the input terminal of the second auxiliary power supply is connected to the second input port, and the input terminal of the third auxiliary power supply is connected to the main power bus inside the dual-input power supply. The output terminals of the first, second, and third auxiliary power supplies are all connected to the power supply terminals of the DSP and the selection switch. The device includes: The first power control module is used to control the start of the first auxiliary power supply and the second auxiliary power supply when the dual input power supply is in the power-on stage, and the first auxiliary power supply and the second auxiliary power supply supply power the DSP and the selection switch. The second power control module is used to control the first and second auxiliary power supplies to shut down and the third auxiliary power supply to start when the dual input power supply is in normal operation, so that the third auxiliary power supply can supply power to the DSP and the selection switch. The third power control module is used to control the first auxiliary power supply to start when the first input port is detected to be de-energized, so as to supply power to the DSP and the selection switch; wherein, the charge stored in the first capacitor supplies power to the DSP and the selection switch through the first auxiliary power supply. The fourth power control module is used to control the second auxiliary power supply to start when the second input port is detected to be de-energized, so as to supply power to the DSP and the selection switch; wherein, the charge stored in the second capacitor supplies power to the DSP and the selection switch through the second auxiliary power supply.
[0025] According to a third aspect of the embodiments of this application, a computing device is provided. The computing device includes: a power system, the power system including at least one dual-input power supply, the dual-input power supply including: The first input port and the second input port are used to connect to an external power supply, respectively. The first capacitor is connected to the first input port; The second capacitor is connected to the second input port; The selector switch, connected to the first and second input ports, is used to select one of the input channels. Digital Signal Processor (DSP); A first auxiliary power supply, a second auxiliary power supply, and a third auxiliary power supply; the input terminal of the first auxiliary power supply is connected to the first input port, the input terminal of the second auxiliary power supply is connected to the second input port, and the input terminal of the third auxiliary power supply is connected to the main power bus inside the dual-input power supply; the output terminals of the first auxiliary power supply, the second auxiliary power supply, and the third auxiliary power supply are all connected to the power supply terminals of the DSP and the selection switch. The DSP is configured to execute the methods described in the embodiments of this application.
[0026] According to a fourth aspect of the embodiments of this application, a computer-readable storage medium is provided, on which a computer program is stored, which, when executed by a processor, implements the methods described in the embodiments of this application.
[0027] According to a fifth aspect of the embodiments of this application, a computer program product is provided, including a computer program that, when executed by a processor, implements the methods described above in the embodiments of this application. Attached Figure Description
[0028] More details, features, and advantages of embodiments of the present application are disclosed in the following description of exemplary embodiments in conjunction with the accompanying drawings, in which: Figure 1 A schematic diagram of the internal structure of a dual-input power module provided for an exemplary embodiment of this application. Figure 2 A flowchart of a discharge control method for a dual-input power supply provided as an exemplary embodiment of this application; Figure 3 A schematic block diagram of the functional modules of a discharge control device for a dual-input power supply provided in an exemplary embodiment of this application; Figure 4 A structural block diagram of a computing device provided for an exemplary embodiment of this application. Detailed Implementation
[0029] Embodiments of this application will now be described in more detail with reference to the accompanying drawings. While some embodiments of this application are shown in the drawings, it should be understood that embodiments of this application can be implemented in various forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided to provide a more thorough and complete understanding of the embodiments of this application. It should be understood that the accompanying drawings and embodiments of this application are for illustrative purposes only and are not intended to limit the scope of protection of this application.
[0030] It should be understood that the various steps described in the method implementation of this application may be performed in different orders and / or in parallel. Furthermore, the method implementation may include additional steps and / or omit the steps shown. The scope of this application is not limited in this respect.
[0031] The term "comprising" and its variations as used herein are open-ended, meaning "including but not limited to". The term "based on" means "at least partially based on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". Definitions of other terms will be given in the following description. It should be noted that the concepts of "first", "second", etc., mentioned in the embodiments of this application are only used to distinguish different devices, modules, or units, and are not used to limit the order of functions performed by these devices, modules, or units or their interdependencies.
[0032] It should be noted that the terms "one" and "more" mentioned in the embodiments of this application are illustrative rather than restrictive. Those skilled in the art should understand that, unless otherwise expressly indicated in the context, they should be understood as "one or more".
[0033] The names of the messages or information exchanged between multiple devices in the embodiments of this application are for illustrative purposes only and are not intended to limit the scope of these messages or information.
[0034] As an optional but non-limiting implementation, in response to a user's active request, sending a prompt message to the user can be done via a pop-up window, where the prompt message can be presented in text format. Furthermore, the pop-up window can also include a selection control allowing the user to choose "agree" or "disagree" to provide personal information to the electronic device. It is understood that the above notification and user authorization process is merely illustrative and does not constitute a limitation on the implementation of this application's embodiments. Other methods that comply with relevant laws and regulations can also be applied to the implementation of this application's embodiments.
[0035] like Figure 1 As shown, Figure 1 This is a schematic diagram of the internal structure of a dual-input power module provided in an embodiment of this application. As a component of a server power system, the dual-input power module mainly includes an input port, a selection switch, a main power circuit, an auxiliary power system, and a DSP (digital signal processor).
[0036] The dual-input power module includes a first input port (L1, N1) and a second input port (L2, N2), used to connect to external AC or high-voltage DC power supplies, respectively. Safety X capacitors are connected across the live wires (L1, L2) and neutral wires (N1, N2) of both the first and second input ports. The outputs of both input ports are connected to the inputs of a selector switch, which in turn connects to the main power circuit, which includes a drive circuit and a PFC (power factor correction) bus. The output of the PFC bus is connected to the input of a third auxiliary power supply (auxiliary source 3). The input of the first auxiliary power supply (auxiliary source 1) is connected to the first input port, the input of the second auxiliary power supply (auxiliary source 2) is connected to the second input port, and the input of the fourth auxiliary power supply (auxiliary source 4) can be connected to the PFC bus or other power supply nodes. The outputs of the first, second, third, and fourth auxiliary power supplies are connected to the power supply terminals of the digital signal processor (DSP) and the selector switch, respectively, providing operating voltage for both. The DSP's input ports are connected to the AC Loss detection signal (i.e., the input voltage detection signal), and its output control ports are connected to the control terminals of the selector switches and the enable terminals of each auxiliary power supply to perform timing control. The output terminal of the main power circuit (e.g., 12V) provides main power to the server motherboard, while the output terminals of each auxiliary power supply (e.g., 14V) power the internal control and drive circuits. Through these connections, the DSP can control the start and stop of each auxiliary power supply according to the input conditions, achieving seamless switching between power-on, normal operation, and power-off discharge.
[0037] Specifically, this dual-input power module has a first input port (L1, N1) and a second input port (L2, N2) for connecting to external AC or high-voltage DC power supplies, respectively. Each input port is connected with a safety X capacitor (part of the input filtering circuit). The two input ports are connected to the subsequent main power circuit (the diagram includes the drive circuit and the power factor correction bus represented by the PFC Bus). The main power circuit is responsible for converting the input power to provide main power to the server motherboard. Figure 1 The example described uses one X capacitor connected to each port. The number of X capacitors connected to each port can be two to three, but the embodiment is not limited to this.
[0038] It should be noted that X capacitors, also known as bridging capacitors or differential-mode filter capacitors, are capacitors connected between the live wire (L) and the neutral wire (N) at the power input. In switching power supplies, X capacitors are mainly used to filter out differential-mode interference signals from the power grid, suppress EMI (electromagnetic interference), and ensure that the power supply meets EMC (electromagnetic compatibility) safety requirements.
[0039] According to international safety standards (such as IEC 60950 and IEC 62368), X capacitors are a type of safety capacitor designed with an open-circuit failure mode to avoid the risk of electric shock due to short circuits. When the power supply is operating normally, a certain amount of charge is stored across the terminals of an X capacitor; if the residual charge is not released in time when the input power is disconnected, it may pose a risk of electric shock to operators. Therefore, safety standards require X capacitors to reduce the voltage below a safe threshold within a certain period (usually 1 or 2 seconds) after the input power is disconnected.
[0040] In this embodiment, the X capacitor is respectively set at the first input port and the second input port. Through the auxiliary power timing logic controlled by the DSP, the charge stored in the X capacitor is used to power the control circuit when the power is off, and at the same time the X capacitor is safely discharged without the need to set up a dedicated discharge resistor or discharge IC.
[0041] The auxiliary power supply system may include a first auxiliary power supply (auxiliary source 1), a second auxiliary power supply (auxiliary source 2), a third auxiliary power supply (auxiliary source 3), and a fourth auxiliary power supply (auxiliary source 4) for powering other control functions. Auxiliary source 1's input is connected to the first input port, and auxiliary source 2's input is connected to the second input port. The outputs of auxiliary sources 1 and 2 are combined to provide operating voltage (e.g., 14V) for the DSP and selector switches. Auxiliary source 3's input is connected to the PFC Bus, and its output (e.g., 12V) can be used to power the DSP and selector switches. Auxiliary source 4 can provide other auxiliary voltages.
[0042] DSP as Figure 1 The control core of the circuit can receive AC Loss (power-down detection) signals from the input ports and output control signals to the enable terminals and selector switches of each auxiliary power supply. Its control logic is as follows: Power-on phase: The DSP controls auxiliary power source 1 and auxiliary power source 2 to start, and their combined output supplies power to the DSP itself and the selection switch, completing system initialization.
[0043] During normal operation: The DSP controls auxiliary power source 1 and auxiliary power source 2 to shut down, and starts auxiliary power source 3, which draws power from the PFC Bus. Auxiliary power source 3 supplies power to the DSP and the selection switch. This helps to optimize the power factor and harmonic characteristics of the main power circuit.
[0044] Power-down discharge phase: When the DSP determines that any input port is powered down via the AC Loss signal or direct voltage monitoring, it will control auxiliary power source 1 and / or auxiliary power source 2 to start. For example, when the first input port is powered down, auxiliary power source 1 is started; when the second input port is powered down, auxiliary power source 2 is started; when both the first and second input ports are powered down, auxiliary power source 1 and auxiliary power source 2 are started simultaneously. At this time, the activated auxiliary power supply acts as an effective load, rapidly dissipating the residual charge on the corresponding input terminal X capacitor until its voltage drops below a safe range. Thus, a safe and automatic discharge function can be achieved without relying on any dedicated discharge resistor or discharge IC (integrated circuit chip).
[0045] This embodiment utilizes the system's inherent auxiliary power supply as a controllable load through effective control of the auxiliary power supply via DSP. Without adding any dedicated discharge resistors or discharge chips, it dynamically switches the power supply path under three operating conditions: power-on, operation, and power-off. This not only achieves safe and automatic discharge of the X capacitor but also effectively eliminates the static losses of discharge components in related technologies, saves layout space, and reduces system costs. Furthermore, because this solution is based on voltage amplitude detection during power-off, it is compatible with both AC and high-voltage DC inputs, significantly improving the power density, overall efficiency, and scenario adaptability of the dual-input power supply.
[0046] Based on the above embodiments, this application also provides a discharge control method for a dual-input power supply, realizing discharge control of the dual-input power supply. The dual-input power supply includes a first input port, a second input port, a selection switch, a DSP, a first auxiliary power supply, a second auxiliary power supply, and a third auxiliary power supply. The first input port is connected to a first capacitor, and the second input port is connected to a second capacitor. The input terminal of the first auxiliary power supply is connected to the first input port, the input terminal of the second auxiliary power supply is connected to the second input port, and the input terminal of the third auxiliary power supply is connected to the main power bus inside the dual-input power supply. The output terminals of the first, second, and third auxiliary power supplies are all connected to the power supply terminals of the DSP and the selection switch. This method can be executed by the DSP, such as... Figure 2 As shown, the method may include the following steps: In step S210, when the dual-input power supply is in the power-on stage, the first auxiliary power supply and the second auxiliary power supply are started, and the first auxiliary power supply and the second auxiliary power supply supply power the DSP and the selection switch.
[0047] When the dual-input power supply is connected to the input power supply and power is turned on, the DSP controls the first auxiliary power supply (auxiliary source 1) and the second auxiliary power supply (auxiliary source 2) to start. At this time, the two auxiliary power supplies (for example, their outputs after being combined) provide operating voltage to the DSP itself and the selection switch, completing the system initialization.
[0048] In step S220, when the dual-input power supply is in normal operation, the first auxiliary power supply and the second auxiliary power supply are controlled to be turned off, and the third auxiliary power supply is controlled to be turned on, so that the third auxiliary power supply supplies power to the DSP and the selection switch.
[0049] Once the DSP confirms that the main power circuit (especially the PFC circuit) has reached a stable operating state, it enters the normal operation phase. During this phase, the DSP controls the first and second auxiliary power supplies to shut down, while simultaneously controlling the third auxiliary power supply (auxiliary power source 3) to start. The input of the third auxiliary power supply is connected to the system's internal power factor correction (PFC) bus, which then supplies power to the DSP and the selection switch. This switching helps improve the system's power factor and the quality of the input current waveform.
[0050] In step S230, when the first input port is detected to be powered off, the first auxiliary power supply is activated to power the DSP and the selection switch; wherein, the charge stored in the first capacitor powers the DSP and the selection switch through the first auxiliary power supply.
[0051] When the DSP detects a power failure at the first input port, it activates the first auxiliary power supply, which then powers the DSP and the selection switch. During this process, the residual charge stored in the first capacitor powers the DSP and the selection switch through the first auxiliary power supply, thereby safely releasing the charge in the first capacitor while maintaining the operation of the control circuit.
[0052] In step S240, when the second input port is detected to be powered off, the second auxiliary power supply is activated to power the DSP and the selection switch; wherein, the charge stored in the second capacitor powers the DSP and the selection switch through the second auxiliary power supply.
[0053] When the DSP detects a power failure at the second input port, it activates the second auxiliary power supply, which then powers the DSP and the selection switch. During this process, the residual charge stored in the second capacitor powers the DSP and the selection switch through the second auxiliary power supply, thus ensuring the safe discharge of the second capacitor.
[0054] In this embodiment, the first capacitor and the second capacitor may specifically be the X capacitor in the above embodiment, but the embodiment is not limited thereto.
[0055] In this embodiment, the DSP executes detection tasks at intervals of, for example, 5ms. During each detection cycle, the DSP continuously monitors the voltages of the first and second input ports. When the voltage of either input port is detected to be lower than a preset power-down threshold, the DSP determines that a power-down has occurred and enters a discharge control process: it controls the first and / or second auxiliary power supplies to start, with the started auxiliary power supplies powering the DSP and the selector switch. At this time, the started auxiliary power supplies act as an effective load, forming a discharge circuit for capacitor X, allowing the dangerous charge stored in capacitor X to be safely released. During the discharge process, the DSP can continue to monitor the voltage across capacitor X through periodic tasks until it drops below the safety voltage threshold required by safety regulations, thereby ensuring the completeness and reliability of the discharge process.
[0056] This method organically integrates the power supply management of the auxiliary power supply with the discharge function of the X capacitor through intelligent timing control of the DSP. It can achieve fast and accurate power-down response and discharge control by utilizing inherent periodic detection tasks (such as 5ms tasks). This not only eliminates the need for dedicated discharge components in hardware, but also achieves unified and reliable management of AC and high-voltage DC inputs at the software level, effectively improving the efficiency, power density, and scenario adaptability of the power supply system.
[0057] This embodiment achieves safe discharge of the first and second capacitors in a dual-input power supply by using DSP to accurately identify and time-sequence control the power-on, normal operation, and power-off conditions, without the need for additional dedicated discharge resistors or discharge ICs. The method starts the corresponding auxiliary power supply according to the different power-off ports, and discharges the capacitors while using the residual charge of the capacitors to power the control circuit. This not only ensures the safety discharge requirements, but also effectively reduces hardware costs and power consumption. At the same time, it is compatible with AC and high-voltage DC input scenarios, significantly improving the power density, efficiency, and application adaptability of the power supply system.
[0058] Based on the above embodiments, in another embodiment provided in this application, the above-mentioned control of the first auxiliary power supply and the second auxiliary power supply to start can specifically include: outputting an enable signal through the DSP to start the first auxiliary power supply and the second auxiliary power supply.
[0059] In this embodiment, during the corresponding control phase (e.g., power-on or power-down phase), the DSP outputs a high-level or specific digital pulse signal as an enable signal to the enable terminals of the first and second auxiliary power supplies via its general-purpose input / output interface or dedicated power control pin. This enable signal directly drives or controls the internal switching devices of the auxiliary power supplies through an intermediate drive circuit, thereby enabling them to start and establish an output voltage, which in turn powers the DSP itself and the selection switch. This method enables precise control of the hardware power module by software instructions.
[0060] This embodiment explicitly uses the DSP output enable signal to start the auxiliary power supply, which not only enhances the reliability and anti-interference of the control process and ensures the precise execution of the power supply timing, but also fully leverages the programmable advantages of the DSP as the control core, making the power management logic more flexible and easier to adjust.
[0061] Based on the above embodiments, in another embodiment provided in this application, the stage switching conditions of the dual-input power supply discharge control method are further optimized by adding a system status confirmation step. Specifically, before executing step S220 (i.e., controlling the third auxiliary power supply to start to enter the normal operation stage), the method further includes the following steps: In step S201, the DSP confirms that the main power module of the dual-input power supply has entered a stable working state.
[0062] In this embodiment, before performing a power supply phase switching, the DSP first confirms the operating status of the main power module of the dual-input power supply (especially the core power conversion link consisting of the power factor correction circuit and its subsequent DC-DC converter). The DSP collects and judges parameters of key power nodes, such as the PFC bus voltage, in real time through its built-in analog-to-digital converter or dedicated status monitoring pins. When the DSP confirms that these parameters (e.g., voltage amplitude, stability) meet preset stability conditions (e.g., the PFC bus voltage reaches and stabilizes at its rated value), it determines that the main power module has entered a stable operating state. This determination is a logical prerequisite for the DSP to subsequently shut down the first and second auxiliary power supplies and start the third auxiliary power supply.
[0063] This embodiment introduces a main power status confirmation step, establishing a reliable status criterion for the power supply switching of the auxiliary power supply. This avoids system fluctuations or power interruptions that may be caused by premature switching due to the main power circuit not being ready, thereby significantly improving the stability, reliability, and robustness of the entire power system state transition process and ensuring the continuity and quality of power supply to the server load.
[0064] In this embodiment, the input of the third auxiliary power supply is connected to the power factor correction bus inside the dual-input power supply, and the third auxiliary power supply is powered through the power factor correction bus.
[0065] Can be combined Figure 1As shown, the input side of the third auxiliary power supply (auxiliary source 3) is not directly connected to the external first input port (L1, N1) or second input port (L2, N2), but is directly connected to the power factor correction bus (PFC Bus) inside the dual-input power supply. This power factor correction bus is a key node in the main power circuit of the dual-input power supply, and its voltage is generated by the preceding power factor correction (PFC) circuit and maintained at a stable high-voltage DC level. Therefore, the third auxiliary power supply essentially obtains energy from the main power link inside the system and converts it to the required low voltage (e.g., 12V) to power the digital signal processor (DSP) and selection switches.
[0066] This embodiment clarifies the architecture of the third auxiliary power supply drawing power from the internal PFC bus, so that its load effect directly acts on the main power circuit during normal operation. This helps to optimize the operating point and dynamic characteristics of the power factor correction circuit, thereby systematically improving the overall power factor (PF) and total harmonic distortion (THDI) performance of the input current. At the same time, this design avoids the need to set up a complex circuit for the third auxiliary power supply to draw power from the input terminal, which can further simplify the system structure and reduce the number of components and related losses.
[0067] In this embodiment, power failure detection for the first input port and / or the second input port includes: (1) Monitor the voltage of the first input port and the second input port through the DSP.
[0068] The DSP can continuously or periodically (e.g., with a task period of 5ms as mentioned above) sample and monitor the voltage of the first and second input ports through its internally integrated analog-to-digital converter (ADC) or an external voltage detection circuit.
[0069] (2) When the voltage of the first input port and / or the second input port is lower than the preset power failure threshold, it is determined that the first input port and / or the second input port is in a power failure situation.
[0070] The DSP can compare the real-time monitored input port voltage value with a preset power-down threshold. This power-down threshold can be set according to parameters such as system safety specifications, input power type, and hold-up time requirements. When the voltage of any input port is detected to be lower than the preset power-down threshold, the DSP logically determines that the input port has experienced a power-down. This determination is the basis for triggering the subsequent discharge control process (step S230).
[0071] This embodiment achieves simplicity and high reliability in detection logic by employing a power-down detection mechanism based on direct voltage amplitude comparison. This method does not rely on the AC frequency characteristics of the input power supply, thus naturally being compatible with both AC and HVDC input types. This fundamentally overcomes the key deficiency of traditional discharge IC solutions that cannot be applied to HVDC scenarios. At the same time, the digital threshold comparison method has a fast response and accurate judgment, providing a solid guarantee for the timely triggering of subsequent safe discharge control, and significantly improving the adaptability and safety of the entire power supply system to different power supply environments and fault states.
[0072] In another embodiment provided in this application, the dual-input power supply discharge control method is improved by adding a closed-loop monitoring and safe termination mechanism for the discharge process. After step S230 (starting the first and / or second auxiliary power supply for discharge), the method further includes the following steps: In step S250, after the first auxiliary power supply and / or the second auxiliary power supply are started, the voltage across the first capacitor and / or the second capacitor is monitored by the DSP.
[0073] After the discharge process begins, the DSP continuously or periodically (e.g., also based on the 5ms task cycle) monitors the voltage across the X capacitor. The DSP obtains this voltage value through its analog front-end or a dedicated voltage detection circuit.
[0074] In step S260, when the voltage across the first capacitor and / or the second capacitor is lower than a preset safe voltage threshold, the discharge process of the first capacitor and / or the second capacitor ends.
[0075] The DSP compares the real-time voltage values across the first and / or second capacitors (i.e., X capacitors) with a preset safe voltage threshold. This safe voltage threshold is set according to relevant electrical safety regulations. When the voltage across a certain X capacitor is detected to be lower than this preset safe voltage threshold, the DSP determines that the dangerous charge stored in the capacitor has been completely released, reaching a safe state, and then the logic control terminates the entire discharge process. At this time, the DSP can continue monitoring or enter a low-power standby state.
[0076] This embodiment achieves closed-loop control and safety confirmation of the discharge process by adding direct monitoring of the voltage of the first capacitor and / or the second capacitor and determining the end of discharge based on a safety threshold, thus completely eliminating potential electrical safety hazards that may remain due to incomplete discharge. This design ensures that the power supply system can meet safety requirements after power failure, greatly improving the safety and reliability of the product.
[0077] Based on the above embodiments, in another embodiment provided in this application, the start / stop states of the first auxiliary power supply, the second auxiliary power supply, and the third auxiliary power supply are controlled according to the following timing logic based on the operating conditions of the dual-input power supply: (1) During the power-on phase, control the first auxiliary power supply and the second auxiliary power supply to start, and control the third auxiliary power supply to shut down.
[0078] When the dual-input power supply is first connected to an external power source, the DSP controls the first and second auxiliary power supplies to start, while simultaneously controlling the third auxiliary power supply to shut down. At this time, the first and second auxiliary power supplies power the DSP and the selection switch, completing system initialization.
[0079] (2) During normal operation, the first auxiliary power supply and the second auxiliary power supply are shut down, and the third auxiliary power supply is started.
[0080] Once the main power module (such as a PFC circuit) with dual input power supplies reaches a stable operating state, the DSP controls the first and second auxiliary power supplies to shut down, while simultaneously controlling the third auxiliary power supply to start. At this time, the third auxiliary power supply takes over powering the DSP and the selection switch to optimize the system power factor and input current harmonic performance.
[0081] (3) When the first input port is detected to be powered off, the first auxiliary power supply is started and the second and third auxiliary power supplies are turned off.
[0082] When the DSP detects a power failure at the first input port, it activates the first auxiliary power supply and simultaneously deactivates the second and third auxiliary power supplies. At this time, the first auxiliary power supply powers the DSP and the selection switch, and the charge stored in the first capacitor powers the load through the first auxiliary power supply, thus ensuring the safe discharge of the first capacitor.
[0083] (4) When the second input port is detected to be powered off, the second auxiliary power supply is started and the first and third auxiliary power supplies are turned off.
[0084] When the DSP detects a power failure at the second input port, it activates the second auxiliary power supply while simultaneously shutting down the first and third auxiliary power supplies. At this time, the second auxiliary power supply powers the DSP and the selection switch, and the charge stored in the second capacitor powers the load through the second auxiliary power supply, thus ensuring the safe discharge of the second capacitor.
[0085] This embodiment uses timing logic corresponding to different operating conditions to clearly define the start-up and shutdown states of each auxiliary power supply under different operating conditions, achieving systematic and deterministic control of the power supply path and discharge process of the dual-input power supply. This timing logic ensures a smooth transition and reliable power supply during each stage of power-on, normal operation, and power-off discharge.
[0086] Those skilled in the art will understand that the X capacitor (i.e., the first capacitor or the second capacitor), as a safety capacitor, typically has its capacitance value configured according to power supply and electromagnetic compatibility requirements, and stores a certain amount of charge energy under normal operating conditions. However, during the power-down phase, it is only necessary to maintain the short-term operation (usually on the order of milliseconds) of low-power loads such as the digital signal processor (DSP) and the selection switch, and its power consumption is far lower than the instantaneous energy that the X capacitor can release. Therefore, under typical design parameters, the residual charge stored in the X capacitor can fully meet the energy requirements for powering the DSP and the selection switch after the corresponding auxiliary power supply is started, thereby ensuring the reliable operation of the control circuit while achieving safe discharge. This also provides an engineering feasibility basis for the embodiment of this application to complete the power-down discharge control without additional energy storage components.
[0087] This method is controlled by preset timing logic, which defines the start / stop states of the first auxiliary power supply, the second auxiliary power supply and the third auxiliary power supply according to the different operating conditions of the dual input power supply.
[0088] Specifically, the discharge control method for dual-input power supplies provided in this application is not composed of isolated, reactive control actions, but rather through a set of preset timing logic for systematic coordinated control. This timing logic is pre-programmed or configured in a DSP, and its core function is to precisely define and output control commands for the start / stop states of the first, second, and third auxiliary power supplies based on the different operating conditions of the dual-input power supplies (such as power-on phase, normal operation phase, and power-down discharge phase). For example, the timing logic specifies that: during the power-on phase, only auxiliary power supply 1 and auxiliary power supply 2 are activated; after stabilization, the system switches to activating only auxiliary power supply 3; and during power failure, auxiliary power supply 1 and / or auxiliary power supply 2 are immediately restarted. The DSP, as the execution unit, ensures that under different external events (such as power-on and power-down) and internal states (such as stable main power), each auxiliary power supply can coordinate and switch according to a predetermined sequence and conditions.
[0089] This embodiment uses a pre-defined, time-series logic strictly bound to the operating conditions as the control core, making the entire discharge control process systematic, predictable, and repeatable, thus avoiding confusion or conflict in the control logic. This enables multiple auxiliary power supplies to work collaboratively under complex operating conditions, making the control strategy easy to define, optimize, and maintain through software, and enhancing the long-term stability of the entire power management system.
[0090] In this embodiment, the first input port and the second input port are used to connect to an AC power supply or a high-voltage DC power supply.
[0091] Specifically, the first and second input ports of the dual-input power supply are designed with broad power supply compatibility. For example... Figure 1 As shown, the physical interface and internal front-end circuitry (including filtering and protection components) of each input port (such as L1 / N1, L2 / N2) are configured to safely and reliably connect to two types of input power: AC power or high-voltage DC power. This means that the same power module can be deployed in data centers or devices using different power supply systems without changing the hardware design. For example, in an AC power supply scenario, the port can connect to single-phase or three-phase AC power; in a high-voltage DC power supply scenario, the port can connect to standard high-voltage DC power such as 240V, 336V, or 380V.
[0092] This embodiment demonstrates dual compatibility between AC and high-voltage DC through its dual input ports, enabling it to adapt to the evolution from traditional AC power supply to high-voltage DC power supply. Furthermore, the control method of this embodiment, which eliminates the need for dedicated discharge components, solves the problem that traditional discharge IC solutions cannot be applied to high-voltage DC scenarios due to their reliance on frequency detection. It also significantly reduces the cost and complexity of power supply replacement caused by power supply architecture upgrades.
[0093] In this embodiment, during the power-on phase described above, the voltages output by the first auxiliary power supply and the second auxiliary power supply can be combined to power the DSP and the selection switch.
[0094] In step S210 (i.e., the power-on phase) described above, the outputs of the first auxiliary power supply and the second auxiliary power supply do not independently power the digital signal processor (DSP) and the selection switch. For example... Figure 1 As shown, the voltage outputs of the first auxiliary power supply (auxiliary source 1) and the second auxiliary power supply (auxiliary source 2) are connected through a combining circuit (e.g., using a diode OR logic circuit or a dedicated power combining chip) to combine their output voltages into a single power supply node. After the DSP controls both to start simultaneously, this combined node provides a stable and reliable operating voltage to the DSP and the selection switch. This design ensures that even if one input port or one auxiliary power supply malfunctions, as long as the other is functioning normally, the power supply to the control circuit during the power-on phase is guaranteed, improving the robustness of the initial startup.
[0095] By dividing each functional module according to its corresponding function, this application provides a discharge control device for a dual-input power supply. This dual-input power supply discharge control device can be a server or a chip applied to a server. Figure 3 A schematic block diagram of the functional modules of a discharge control device for a dual-input power supply provided as an exemplary embodiment of this application. Figure 3As shown, the dual-input power supply includes a first input port, a second input port, a selection switch, a digital signal processor (DSP), a first auxiliary power supply, a second auxiliary power supply, and a third auxiliary power supply. The first input port is connected to a first capacitor, and the second input port is connected to a second capacitor. The input terminal of the first auxiliary power supply is connected to the first input port, the input terminal of the second auxiliary power supply is connected to the second input port, and the input terminal of the third auxiliary power supply is connected to the main power bus inside the dual-input power supply. The output terminals of the first, second, and third auxiliary power supplies are all connected to the power supply terminals of the DSP and the selection switch. This device includes: The first power control module 31 is used to control the first auxiliary power supply and the second auxiliary power supply to start when the dual input power supply is in the power-on stage, and the first auxiliary power supply and the second auxiliary power supply supply power the DSP and the selection switch. The second power control module 32 is used to control the first auxiliary power supply and the second auxiliary power supply to shut down and control the third auxiliary power supply to start when the dual input power supply is in normal operation, so that the third auxiliary power supply can supply power to the DSP and the selection switch. The third power control module 33 is used to control the first auxiliary power supply to start when the first input port is detected to be de-energized, so as to supply power to the DSP and the selection switch; wherein the charge stored in the first capacitor supplies power to the DSP and the selection switch through the first auxiliary power supply. The fourth power control module 34 is used to control the second auxiliary power supply to start when the second input port is detected to be de-energized, so as to supply power to the DSP and the selection switch; wherein the charge stored in the second capacitor supplies power to the DSP and the selection switch through the second auxiliary power supply.
[0096] This embodiment effectively controls the auxiliary power supply, using the system's inherent auxiliary power supply as a controllable load without adding any dedicated discharge resistors or discharge chips. It dynamically switches the power supply path under three operating conditions: power-on, operation, and power-off. This not only achieves safe and automatic capacitor discharge but also effectively eliminates the static losses of discharge components in related technologies, saves layout space, and reduces system costs. Furthermore, because this solution is based on voltage amplitude detection for power-off, it is compatible with both AC and high-voltage DC inputs, significantly improving the power density, overall efficiency, and scenario adaptability of the dual-input power supply.
[0097] In another embodiment provided in this application, the first power control module 31 is specifically used for: The first and second auxiliary power supplies are activated by outputting an enable signal through the DSP.
[0098] This embodiment explicitly uses the DSP output enable signal to start the auxiliary power supply, which not only enhances the reliability and anti-interference of the control process and ensures the precise execution of the power supply timing, but also fully leverages the programmable advantages of the DSP as the control core, making the power management logic more flexible and easier to adjust.
[0099] In another embodiment provided in this application, the device further includes a working status confirmation module, specifically used for: The DSP confirmed that the main power module with dual input power supply has entered a stable operating state.
[0100] This embodiment introduces a main power status confirmation step, establishing a reliable status criterion for the power supply switching of the auxiliary power supply. This avoids system fluctuations or power interruptions that may be caused by premature switching due to the main power circuit not being ready, thereby significantly improving the stability, reliability, and robustness of the entire power system state transition process and ensuring the continuity and quality of power supply to the server load.
[0101] In another embodiment provided in this application, the input of the third auxiliary power supply is connected to the power factor correction bus inside the dual-input power supply, and the third auxiliary power supply is powered through the power factor correction bus.
[0102] This embodiment clarifies the architecture of the third auxiliary power supply drawing power from the internal PFC bus, so that its load effect directly acts on the main power circuit during normal operation. This helps to optimize the operating point and dynamic characteristics of the power factor correction circuit, thereby systematically improving the overall power factor and total harmonic distortion performance of the input current. At the same time, this design avoids the need to set up a complex circuit for the third auxiliary power supply to draw power from the input terminal, which can further simplify the system structure and reduce the number of components and related losses.
[0103] In another embodiment provided in this application, the device further includes a power-down detection module, specifically used for: The voltage of the first and second input ports is monitored by the DSP; When the voltage at the first input port and / or the second input port is lower than a preset power-off threshold, it is determined that there is a power-off situation at the first input port and / or the second input port.
[0104] This embodiment achieves simplicity and high reliability of the detection logic by adopting a power-down detection mechanism based on direct comparison of voltage amplitude. The device does not depend on the AC frequency characteristics of the input power supply, thus naturally being compatible with both AC and high-voltage DC input types, fundamentally overcoming the key defect that traditional discharge IC solutions cannot be applied to HVDC scenarios.
[0105] In another embodiment provided in this application, the device further includes a discharge control module, specifically used for: After the first auxiliary power supply and / or the second auxiliary power supply are started, the voltage across the first capacitor and / or the second capacitor is monitored by the DSP. The discharge process of the first capacitor and / or the second capacitor ends when the voltage across the first capacitor and / or the second capacitor is lower than a preset safe voltage threshold.
[0106] This embodiment achieves closed-loop control and safety confirmation of the discharge process by adding direct monitoring of the voltage of the first capacitor and / or the second capacitor and determining the end of discharge based on a safety threshold, thus completely eliminating potential electrical safety hazards that may remain due to incomplete discharge. This design ensures that the power supply system can meet safety requirements after power failure, greatly improving the safety and reliability of the product.
[0107] In another embodiment provided in this application, the start / stop states of the first auxiliary power supply, the second auxiliary power supply, and the third auxiliary power supply are controlled according to the following timing logic based on the operating conditions of the dual-input power supply. Therefore, the device further includes a control module, specifically used for: During the power-on phase, the first and second auxiliary power supplies are started, and the third auxiliary power supply is turned off. During normal operation, the first and second auxiliary power supplies are shut down, and the third auxiliary power supply is started. When a power failure is detected at the first input port, the first auxiliary power supply is started, and the second and third auxiliary power supplies are turned off. When a power failure is detected at the second input port, the second auxiliary power supply is activated, and the first and third auxiliary power supplies are deactivated.
[0108] This embodiment uses a pre-defined, time-series logic strictly bound to the operating conditions as the control core, making the entire discharge control process systematic, predictable, and repeatable, thus avoiding confusion or conflict in the control logic. This enables multiple auxiliary power supplies to work collaboratively under complex operating conditions, making the control strategy easy to define, optimize, and maintain through software, and enhancing the long-term stability of the entire power management system.
[0109] In another embodiment provided in this application, the first input port and the second input port are used to connect to an AC power supply or a high-voltage DC power supply.
[0110] This embodiment demonstrates dual compatibility between AC and high-voltage DC through its dual input ports, enabling it to adapt to the evolution from traditional AC power supply to high-voltage DC power supply. Furthermore, the embodiment eliminates the need for a dedicated discharge component control device, which solves the problem that traditional discharge IC solutions cannot be applied to high-voltage DC scenarios due to their reliance on frequency detection. It also significantly reduces the cost and complexity of power supply replacement caused by power supply architecture upgrades.
[0111] In another embodiment provided in this application, during the power-on phase, the voltages output by the first auxiliary power supply and the second auxiliary power supply are combined to power the digital signal processor (DSP) and the selection switch.
[0112] In this embodiment, after the DSP controls both devices to start simultaneously, the combined node provides a stable and reliable operating voltage to the DSP and the selector switch. This design ensures that even if one input port or one auxiliary power supply is faulty, as long as the other is functioning normally, the power supply to the control circuit during the power-on phase is guaranteed, thus improving the robustness of the initial startup.
[0113] This application also provides a computing device, such as... Figure 4 As shown, Figure 4 This is a schematic diagram of a computing device provided in an embodiment of this application. The computing device can specifically be the server described above, including a processor 1901, a communication interface 1902, a memory 1903, a bus 1904, and a dual-input power supply 1905. The dual-input power supply 1905 includes a DSP 1906. The processor 1901, communication interface 1902, memory 1903, and dual-input power supply 1905 communicate with each other through the bus 1904.
[0114] Memory 1903 is used to store computer programs; The DSP1906 is used to execute the program stored in the memory 1903 to implement the method described above in the embodiments of this application.
[0115] It should be noted that the structural diagram of the dual-input power supply 1905 can be found in [reference needed]. Figure 1 As shown, it will not be elaborated further here.
[0116] The bus mentioned in the computing device above can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. This bus can be divided into address bus, data bus, control bus, etc. For ease of illustration, only one thick line is used to represent it in the diagram, but this does not mean that there is only one bus or one type of bus.
[0117] The communication interface is used for communication between the aforementioned computing device and other devices.
[0118] The memory may include random access memory (RAM) or non-volatile memory (NVM), such as at least one disk storage device. Optionally, the memory may also be at least one storage device located remotely from the aforementioned processor.
[0119] The processors mentioned above can be general-purpose processors, including central processing units (CPUs), network processors (NPs), etc.; they can also be digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components.
[0120] In another embodiment provided in this application, a computer-readable storage medium is also provided, which stores a computer program that, when executed by a processor, implements the methods described above in the embodiments of this application.
[0121] In another embodiment provided in this application, a computer program product containing instructions is also provided, which, when run on a computer, causes the computer to execute the methods described above in the embodiments of this application.
[0122] In the above embodiments, implementation can be achieved entirely or partially through software, hardware, firmware, or any combination thereof. When implemented using software, it can be implemented entirely or partially as a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of this application are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that integrates one or more available media. The available medium can be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid state disk (SSD)).
[0123] It should be noted that, in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
[0124] The various embodiments in this specification are described in a related manner. Similar or identical parts between embodiments can be referred to mutually. Each embodiment focuses on describing the differences from other embodiments. In particular, the embodiments of apparatus, computing devices, and computer-readable storage media are basically similar to the method embodiments, so the descriptions are relatively simple; relevant parts can be referred to the descriptions of the method embodiments.
[0125] The above description is merely a preferred embodiment of this application and is not intended to limit the scope of protection of this application. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application are included within the scope of protection of this application.
Claims
1. A discharge control method of a dual-input power supply, characterized by, The dual-input power supply includes a first input port, a second input port, a selection switch, a digital signal processor (DSP), a first auxiliary power supply, a second auxiliary power supply, and a third auxiliary power supply; wherein, the first input port is connected to a first capacitor, and the second input port is connected to a second capacitor; the input terminal of the first auxiliary power supply is connected to the first input port, the input terminal of the second auxiliary power supply is connected to the second input port, and the input terminal of the third auxiliary power supply is connected to the main power bus inside the dual-input power supply; the output terminals of the first, second, and third auxiliary power supplies are all connected to the power supply terminals of the DSP and the selection switch; the method includes: When the dual-input power supply is in the power-on phase, the first auxiliary power supply and the second auxiliary power supply are controlled to start, and the first auxiliary power supply and the second auxiliary power supply supply power the DSP and the selection switch. When the dual-input power supply is in normal operation, the first auxiliary power supply and the second auxiliary power supply are controlled to be turned off, and the third auxiliary power supply is controlled to be turned on, so that the third auxiliary power supply supplies power to the DSP and the selection switch; When a power failure is detected at the first input port, the first auxiliary power supply is activated to power the DSP and the selection switch; wherein, the charge stored in the first capacitor powers the DSP and the selection switch through the first auxiliary power supply. When a power failure is detected at the second input port, the second auxiliary power supply is activated to power the DSP and the selection switch; wherein, the charge stored in the second capacitor powers the DSP and the selection switch through the second auxiliary power supply.
2. The method of claim 1, wherein, The control of starting the first auxiliary power supply and the second auxiliary power supply includes: The DSP outputs an enable signal to start the first auxiliary power supply and the second auxiliary power supply.
3. The method according to claim 1, characterized in that, Before controlling the third auxiliary power supply to start, the method further includes: The DSP confirmed that the main power module of the dual-input power supply had entered a stable operating state.
4. The method according to claim 1, characterized in that, The input of the third auxiliary power supply is connected to the power factor correction bus inside the dual-input power supply, and the third auxiliary power supply is powered through the power factor correction bus.
5. The method according to claim 1, characterized in that, Power-off detection for the first input port and / or the second input port includes: The voltage of the first input port and the second input port is monitored by the DSP; When the voltage of the first input port and / or the second input port is lower than a preset power-off threshold, it is determined that the first input port and / or the second input port is experiencing a power-off.
6. The method according to claim 1 or 5, characterized in that, The method further includes: After the first auxiliary power supply and / or the second auxiliary power supply are started, the voltage across the first capacitor and / or the second capacitor is monitored by the DSP. The discharge process of the first capacitor and / or the second capacitor ends when the voltage across the first capacitor and / or the second capacitor is lower than a preset safe voltage threshold.
7. The method according to claim 1, characterized in that, The start / stop states of the first auxiliary power supply, the second auxiliary power supply, and the third auxiliary power supply are controlled according to the following timing logic based on the operating conditions of the dual-input power supply: During the power-on phase, the first auxiliary power supply and the second auxiliary power supply are started, and the third auxiliary power supply is turned off. During the normal operation phase, the first auxiliary power supply and the second auxiliary power supply are shut down, and the third auxiliary power supply is started. When a power failure is detected at the first input port, the first auxiliary power supply is started, and the second and third auxiliary power supplies are turned off. When a power failure is detected at the second input port, the second auxiliary power supply is started, and the first auxiliary power supply and the third auxiliary power supply are turned off.
8. The method according to claim 1, characterized in that, The first input port and the second input port are used to connect to an AC power supply or a high-voltage DC power supply.
9. The method according to claim 1, characterized in that, During the power-on phase, the voltages output from the first auxiliary power supply and the second auxiliary power supply are combined to power the digital signal processor (DSP) and the selection switch.
10. A computing device, comprising a power supply system, characterized in that, The power system includes at least one dual-input power supply, the dual-input power supply comprising: The first input port and the second input port are used to connect to an external power supply, respectively. The first capacitor is connected to the first input port; The second capacitor is connected to the second input port; A selector switch, connected to the first input port and the second input port, is used to select one of the input channels. Digital Signal Processor (DSP); A first auxiliary power supply, a second auxiliary power supply, and a third auxiliary power supply; the input terminal of the first auxiliary power supply is connected to the first input port, the input terminal of the second auxiliary power supply is connected to the second input port, and the input terminal of the third auxiliary power supply is connected to the main power bus inside the dual-input power supply; the output terminals of the first auxiliary power supply, the second auxiliary power supply, and the third auxiliary power supply are all connected to the power supply terminals of the DSP and the selection switch; The DSP is configured to perform the method described in any one of claims 1-8.