Power supply circuit and server
By introducing a voltage detection and feedback mechanism into the power supply circuit, the power supply voltage of the peripheral units is adjusted, which solves the problem of unstable voltage in the peripheral units, ensures normal operation of the equipment, and improves the reliability and compatibility of the server.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-01-23
- Publication Date
- 2026-03-03
AI Technical Summary
The voltage supplied by the peripheral unit of the existing server to the external device is unstable, which causes the device to be unable to be recognized and the data transmission to be unstable, affecting the reliability of the server and the compatibility of peripheral devices.
A voltage detection circuit and a voltage feedback circuit are introduced into the power supply circuit. The controller adjusts the state of the branch switch to adjust the voltage output of the voltage regulation module, so as to keep the voltage supplied by the peripheral unit to the external device within the working voltage range.
Effectively maintain the power supply voltage from the peripheral unit to the external device within the specified range, avoid problems such as device inability to be recognized and unstable data transmission, and improve the reliability of server use and peripheral compatibility.
Smart Images

Figure CN121596972A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of voltage regulation technology, and more particularly to a power supply circuit and a server. Background Technology
[0002] Existing servers, in addition to the core motherboard, also include peripheral units to provide auxiliary functions. For example, the front panel of the peripheral unit provides external interfaces (such as a Universal Serial Bus (USB) interface) so that external devices (such as mice, keyboards, USB flash drives, monitors, etc.) can be connected to the server through this interface. The peripheral units also need to be connected to the motherboard via corresponding power and signal cables to enable power transmission and signal communication from the motherboard to the peripheral units.
[0003] However, due to the size limitations of the peripheral units, the power supply cables between the motherboard and the peripheral units are relatively thin. At the same time, considering the physical distance between the peripheral units and the motherboard, the length of the power supply cables between the motherboard and the peripheral units is correspondingly long. Thin wires inherently have high resistance, and long-distance cabling further exacerbates the resistance effect on the lines. Both factors combined result in a significant increase in voltage drop across the power supply cables.
[0004] This excessive voltage drop may cause the actual operating voltage at the external interface provided by the peripheral unit to be lower than the normal operating voltage range required by its specifications (for example, the normal operating voltage of a USB interface is around 5V). If the actual operating voltage at the external interface is too low due to cable voltage drop, it may cause problems such as external devices not being recognized, unstable data transmission, or devices malfunctioning, directly affecting the reliability of the server and the compatibility of peripherals. Summary of the Invention
[0005] This application provides a power supply circuit and a server to at least solve the problem of unstable voltage supplied by peripheral units in servers to external devices in related technologies.
[0006] This application provides a power supply circuit including: a motherboard, peripheral units, a voltage feedback circuit, and a voltage detection circuit; the motherboard includes a voltage regulation module and a controller; the voltage feedback circuit includes at least one branch switch, each branch switch being connected in series with a resistor. The voltage regulation module is connected to the peripheral units and is used to supply power to external devices through the peripheral units.
[0007] The voltage detection circuit is connected to the peripheral unit and is used to detect the supply voltage of the peripheral unit to the external device. The controller is connected to both the voltage detection circuit and the voltage feedback circuit. When it is determined that the supply voltage exceeds the operating voltage range of the external device, the controller sends a control signal to the voltage feedback circuit. The voltage feedback circuit is connected to the voltage regulation module and is also used to output a feedback voltage to the voltage regulation module in response to the control signal. The voltage regulation module is used to adjust the output voltage to the peripheral unit based on the feedback voltage so that the supply voltage output by the peripheral unit to the external device is within the operating voltage range.
[0008] This application also provides a server, including any of the above-described power supply circuits.
[0009] This application incorporates a voltage detection circuit and a voltage feedback circuit into the power supply circuit. The voltage detection circuit detects the power supply voltage provided by the peripheral unit to the external device. When the power supply voltage detected by the voltage detection circuit exceeds the operating voltage range of the external device, the controller sends a control signal to the first branch switch in the voltage feedback circuit. The first branch switch changes state in response to this control signal. Since the first branch switch is connected to a resistor, the resistance value in the voltage feedback circuit changes accordingly when the state of the first branch switch changes, thus altering the feedback voltage output by the voltage feedback circuit. This feedback voltage, input to the voltage regulation module, can adjust the output voltage of the voltage regulation module to the peripheral unit, maintaining it within the operating voltage range. This, in turn, prevents the external device from malfunctioning. Attached Figure Description
[0010] To more clearly illustrate the embodiments of this application, the accompanying drawings used in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0011] Figure 1 A schematic diagram of a power supply circuit for supplying power from a motherboard to an ear-mounting plate, provided for related technologies; Figure 2 A schematic diagram of a power supply circuit provided in an embodiment of this application. Figure 1 ; Figure 3 A schematic diagram of a power supply circuit provided in an embodiment of this application. Figure 2 ; Figure 4 A schematic diagram of a power supply circuit provided in an embodiment of this application. Figure 3 . Detailed Implementation
[0012] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the protection scope of this application.
[0013] It should be noted that, in the description of this application, 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. The terms "first," "second," etc., in this application are used to distinguish similar objects and are not used to describe a specific order or sequence.
[0014] To enable those skilled in the art to better understand the present application, the present application will be further described in detail below with reference to the accompanying drawings and specific embodiments.
[0015] Existing servers include a Power Supply Unit (PSU), a motherboard, and peripheral units. The PSU converts external AC power into DC power. The PSU connects to the motherboard and supplies DC power to it. The motherboard connects to the peripheral units via power cables. The motherboard processes the DC power based on the operating voltage required by the peripheral units, generates an output voltage, and transmits that output voltage to the peripheral units.
[0016] The peripheral unit may include front window mounting plates. Front window mounting plates, also known as mounting brackets, are typically installed on both sides of the front of the server chassis (i.e., the server front panel). They are small circuit boards that integrate multiple functions, including structural fixation, providing external interfaces, and integrated management. Structural fixation refers to securing the server to the rack brackets to prevent the equipment from shaking or falling. Providing external interfaces means bringing commonly used management interfaces (such as USB interfaces) from the motherboard to the front of the server, facilitating operation by maintenance personnel without having to access the crowded rear of the server. Integrated management means that the mounting plate typically integrates a baseboard management controller, network interfaces, and some security protection circuits, making it a key component for realizing intelligent platform management.
[0017] For example, such as Figure 1As shown, a power supply circuit for supplying power from a motherboard to an ear-mount plate is provided for related technologies. The power supply circuit includes a motherboard 110 and an ear-mount plate 120 in a server, and an external device 130 outside the server. The motherboard 110 includes a voltage regulator module (VRM) 111 and a high-density connector 112. The ear-mount plate 120 includes pads 121, two electronic fuses 122, and two USB ports 123.
[0018] VRM111 connects to high-density connector 112 and is used to transmit output voltage to the ear-mount plate 120 via high-density connector 112. High-density connector 112 connects to pad 121 via a power supply line, and pad 121 is used to solder and fix the power supply line to the ear-mount plate 120. Electronic fuse 122 is used to protect USB interface 123 and its connection circuit. USB interface 123 connects to external device 130 and is used to supply power to external device 130 and perform data transmission.
[0019] Because the power supply line between the motherboard 110 and the ear-mount plate 120 is relatively long and thin, the resistance of the electronic fuse 122 increases the voltage drop on this power supply line. This leads to a decrease in the power supply voltage (i.e., the actual operating voltage at the USB interface 123) supplied by the ear-mount plate 120 to the external device 130 through the USB interface 123. If the power supply voltage supplied by the ear-mount plate 120 to the external device 130 through the USB interface 123 is lower than its specified normal operating voltage range, it will cause problems such as the external device 130 being unable to be recognized, unstable data transmission, or the device malfunctioning, directly affecting the reliability of the server and the compatibility of peripherals.
[0020] To address the issue of unstable power supply voltage from the earbud 120 to the external device 130 via USB interface 123, which falls below its specified normal operating voltage range, related technologies propose increasing the output voltage transmitted from the motherboard to the earbud 120 when the current at the USB interface 123 of the earbud 120 reaches its maximum load current, until the power supply voltage at the USB interface 123 of the earbud 120 reaches its normal operating voltage range. However, when the load connected to the USB interface 123 of the earbud 120 decreases, the increased output voltage causes the power supply voltage at the USB interface 123 of the earbud 120 to exceed the upper limit of its normal operating voltage range. Therefore, it can be seen that this related technology suffers from the problem of the power supply voltage at the USB interface 123 of the earbud 120 exceeding the upper limit of its normal operating voltage range.
[0021] To address the above problems, embodiments of this application provide a power supply circuit, such as... Figure 2As shown, the power supply circuit includes a main board 210, a peripheral unit 220, a voltage feedback circuit 230, and a voltage detection circuit 240. The main board 210 includes a VRM 211 and a controller 212. The voltage feedback circuit 230 includes at least one branch switch, and each branch switch is connected in series with a resistor.
[0022] VRM211 is connected to peripheral unit 220 and is used to supply power to external devices through peripheral unit 220. Voltage detection circuit 240 is connected to peripheral unit 220 and is used to detect the supply voltage of the power supply from peripheral unit 220 to external devices. Controller 212 is connected to both voltage detection circuit 240 and voltage feedback circuit 230. When it is determined that the supply voltage exceeds the operating voltage range of the external device, it determines a first branch switch based on the state of at least one branch switch and sends a control signal to voltage feedback circuit 230 to the first branch switch. The first branch switch is used to adjust its state in response to the control signal. Voltage feedback circuit 230 is connected to VRM211. Voltage feedback circuit 230 generates a feedback voltage when the first branch switch is in the adjusted state and outputs the feedback voltage to VRM211. VRM211 is used to adjust the output voltage to peripheral unit 220 based on the feedback voltage so that the supply voltage output by peripheral unit 220 to external devices is within the operating voltage range.
[0023] Optionally, the operating voltage range of the external device includes a voltage range from a first voltage value to a second voltage value. The first voltage value can be equal to the sum of the minimum voltage value required for normal operation of the external device and a preset voltage margin, and the second voltage value can be equal to the difference between the maximum voltage value required for normal operation of the external device and the preset voltage margin. For example, if the minimum voltage value required for normal operation of the external device is 4.75 volts (V), the maximum voltage value required for normal operation of the external device is 5.25V, and the preset voltage margin can be 10 millivolts (mV), then the operating voltage range of the external device can be determined to be 4.76V-5.24V. The minimum voltage value required for normal operation of the external device can refer to the minimum voltage value within the normal operating voltage range of the external interface of the peripheral unit 220; the maximum voltage value required for normal operation of the external device can refer to the maximum voltage value within the normal operating voltage range of the external interface of the peripheral unit 220.
[0024] Optionally, each branch switch can be in an open or closed state, and its state can be adjusted via its control terminal. For example, the branch switch can be a Metal-Oxide-Semiconductor Field-Effect Transistor (MOSFET). MOSFETs include N-channel MOSFETs (or N-MOS transistors) and P-channel MOSFETs (or P-MOS transistors). The control terminal (i.e., the gate of the N-MOS transistor) requires a positive voltage to conduct, while the control terminal (i.e., the gate of the P-MOS transistor) requires a negative voltage to conduct. In this embodiment, N-MOS transistors are preferentially selected as branch switches.
[0025] For example, the voltage detection circuit 240 can be connected to the peripheral unit 220 via a voltage detection line. The voltage detection line may include two wires, one of which is connected to the positive terminal and the other to the negative terminal.
[0026] For example, VRM211 can also be connected to a power supply unit that converts AC power to 12V or 5V DC power and transmits 12V or 5V DC power to VRM211. VRM211 can process the 12V or 5V DC power and output the required output voltage to peripheral unit 220. VRM211 may include a 5V VRM for processing 5V DC power.
[0027] For example, controller 212 may include a microcontroller unit (MCU).
[0028] For example, peripheral unit 220 may be a device with a large voltage drop on the power supply line between the server and motherboard 210. For example, peripheral unit 220 may include mounting brackets and hard drive backplates.
[0029] For example, such as Figure 3 As shown, the peripheral unit 220 may include an ear pad 250, which includes a pad 251, at least one electronic fuse 252, and at least one USB interface 253.
[0030] VRM211 is directly or indirectly connected to the first end of pad 251, which is used to fix the connection line with VRM211. The second end of pad 251 is connected to the first end of electronic fuse 252, which is connected to the first input end of USB interface 253. Electronic fuse 252 is used to protect the circuit of USB interface 253. The first output end of USB interface 253 is connected to an external device, which is used to supply power to the external device and perform data transmission. Voltage detection circuit 240 is connected to the first output end of USB interface 253. Specifically, voltage detection circuit 240 is used to detect the supply voltage of peripheral unit 220 to external device at the first output end of USB interface 253.
[0031] For example, such as Figure 3 As shown, the motherboard 210 may also include a high-density connector 213. Connecting the VRM 211 to the peripheral unit 220 may include: connecting the first output terminal of the VRM 211 to the first input terminal of the high-density connector 213, and connecting the first output terminal of the high-density connector 213 to the first input terminal of the peripheral unit 220 (e.g., the first end of the pad 251). The high-density connector 213 is used to transmit the output voltage from the first output terminal of the VRM 211 to the peripheral unit 220. For example, connecting the first output terminal of the high-density connector 213 to the first input terminal of the peripheral unit 220 may include: connecting the first output terminal of the high-density connector 213 to the pad 251 in the ear plate 250 via a power supply line, the pad 251 being used to solder and fix the power supply line in the ear plate 250.
[0032] Secondly, the second input terminal of the high-density connector 213 is connected to the first output terminal of the peripheral unit 220 (e.g., the first output terminal of the USB interface 253). The first output terminal of the peripheral unit 220 is connected to an external device. The voltage detection circuit 240 is connected to the second input terminal of the high-density connector 213. Specifically, the voltage detection circuit 240 is used to detect the supply voltage of the peripheral unit 220 to the external device through the second input terminal of the high-density connector 213. For example, connecting the second input terminal of the high-density connector 213 to the USB interface 253 may include: the second input terminal of the high-density connector 213 is connected to the first output terminal of the USB interface 253 through a voltage detection line. The voltage detection line includes two wires, one end of which is connected to the second input terminal of the high-density connector 213, the other end of one of the two wires is connected to a power supply pin in the USB interface 253, and the other end of the other wire is connected to a ground pin in the USB interface 253.
[0033] Understandably, if the motherboard 210 includes a high-density connector 213, the motherboard 210 can transmit output voltage to the peripheral unit 220 through the high-density connector 213, and can also detect the power supply voltage of the peripheral unit 220 to the external device through the high-density connector 213, which can improve the neatness of the circuits inside the motherboard 210.
[0034] In some embodiments, such as Figure 4 As shown, the voltage detection circuit 240 may include an analog-to-digital converter (ADC) 241. The input terminal of the ADC 241 is connected to the peripheral unit 220, and the output terminal of the ADC 241 is connected to the controller 212. The ADC 241 is used to detect the supply voltage supplied by the peripheral unit 220 to the external device, convert the detected supply voltage into a binary value, and send the binary value to the controller 212.
[0035] Then, the controller 212 can determine whether the supply voltage exceeds the operating voltage range of the external device based on the binary value. For example, the controller 212 first converts the binary value into a voltage value, and then determines whether the converted voltage value exceeds the operating voltage range of the external device. If the converted voltage value exceeds the operating voltage range of the external device, it can be determined that the supply voltage exceeds the operating voltage range of the external device; if the converted voltage value is less than the operating voltage range of the external device, it can be determined that the supply voltage is less than the operating voltage range of the external device; if the converted voltage value is greater than the operating voltage range of the external device, it can be determined that the supply voltage is greater than the operating voltage range of the external device. As another example, the controller 212 first determines the two binary values corresponding to the operating voltage range of the external device, converts the binary value into a voltage value, and then determines whether the binary value exceeds the two binary values corresponding to the operating voltage range of the external device, and determines whether the supply voltage exceeds the operating voltage range of the external device based on the determination result.
[0036] Optionally, if the motherboard 210 includes a high-density connector 213, the input terminal of the analog-to-digital converter 241 is connected to the second input terminal of the high-density connector 213; the analog-to-digital converter 241 can detect the supply voltage supplied by the peripheral unit 220 to the external device through the second input terminal of the high-density connector 213. For example, the input terminal of the analog-to-digital converter 241 can be connected to the second input terminal of the high-density connector 213 through a printed circuit board (PCB) trace.
[0037] If the motherboard 210 does not include the high-density connector 213, the input terminal of the analog-to-digital converter 241 in the voltage detection circuit 240 can be directly connected to the first output terminal of the peripheral unit 220 (e.g., the first output terminal of the USB interface 253) via a voltage detection line to directly detect the supply voltage supplied by the peripheral unit 220 to the external device. For example, the voltage detection line includes two wires. Connecting the input terminal of the analog-to-digital converter 241 to the first output terminal of the USB interface 253 via the voltage detection line may include: one end of these two wires connected to the input terminal of the analog-to-digital converter 241, the other end of one of these two wires connected to the power supply pin in the USB interface 253, and the other end of the other of these two wires connected to the ground pin in the USB interface 253.
[0038] In some embodiments, such as Figure 4 As shown, the voltage feedback circuit 230 may include a first resistor R1, a second resistor R2, and a third resistor R3. The first terminal of the first resistor R1 is connected to the first terminal of the second resistor R2, the first terminal of the first branch switch SW1 is connected to the first terminal of the second resistor R2, the second terminal of the first branch switch SW1 is connected to the first terminal of the third resistor R3, the second terminal of the third resistor R3 is connected to the second terminal of the second resistor R2, and the second terminal of the second resistor R2 is grounded. For example, the first branch switch SW1 may be an N-MOS transistor, and the first and second terminals of the first branch switch SW1 are the source and drain of the N-MOS transistor.
[0039] The first input terminal of VRM211 is connected to the first terminal of the second resistor R2, and is used to receive feedback voltage. The first output terminal of VRM211 is connected to the second terminal of the first resistor R1 and the first input terminal of the peripheral unit 220, and is used to output output voltage to the peripheral unit 220. The first output terminal of VRM211 can be directly or indirectly connected to the first input terminal of the peripheral unit 220.
[0040] The controller 212 is connected to the control terminal of each branch switch. Specifically, the controller 212 is used to: when it is determined that the power supply voltage is less than the operating voltage range of the external device, determine a branch switch in the open state as the first branch switch SW1 based on the state of at least one branch switch, and send a closing signal to the first branch switch SW1; when it is determined that the power supply voltage is greater than the operating voltage range of the external device, determine a branch switch in the closed state as the first branch switch SW1 based on the state of at least one branch switch, and send an opening signal to the first branch switch SW1.
[0041] For example, when all branch switches (including the first branch switch SW1) are open, the output voltage V0 of VRM211 to the peripheral unit 220 can be calculated using the following formula (1): (1) in, The feedback voltage is fixed.
[0042] With the first branch switch SW1 closed among all branch switches, the output voltage V0 of VRM211 to the peripheral unit 220 can be calculated using the following formula (2): (2) in, equal The resistance value of the parallel resistor.
[0043] Optionally, such as Figure 4 As shown, the voltage feedback circuit 230 may further include a fourth resistor R4, and at least one branch switch includes a second branch switch SW2. The first terminal of the second branch switch SW2 is connected to the first end of the second resistor R2, the second terminal of the second branch switch SW2 is connected to the first end of the fourth resistor R4, and the second end of the fourth resistor R4 is connected to the second end of the second resistor R2. The voltage detection circuit 240 is also used to detect the new supply voltage supplied by the peripheral unit 220 to the external device after the controller 212 sends a closing signal to the first branch switch SW1. The controller 212 is also used to: if it is determined that the new supply voltage is less than the operating voltage range of the external device, based on the state of at least one branch switch, determine another branch switch in the open state as the second branch switch SW2, and send a closing signal to the second branch switch SW2; wherein, when the second branch switch SW2 is closed, the fourth resistor R4 is connected to the voltage feedback circuit 230. For example, the second branch switch SW2 may be an N-MOS transistor, and the first and second terminals of the second branch switch SW2 are the source and drain of the N-MOS transistor.
[0044] Alternatively, the voltage detection circuit 240 is further configured to detect a new supply voltage supplied by the peripheral unit 220 to the external device after the controller 212 sends a disconnect signal to the first branch switch SW1; the controller 212 is further configured to: determine another closed branch switch as the second branch switch SW2 based on the state of at least one branch switch when the new supply voltage is determined to be greater than the operating voltage range of the external device, and send a disconnect signal to the second branch switch SW2.
[0045] When the first branch switch SW1 and the second branch switch SW2 in all branch switches are closed, the output voltage V0 output by VRM211 to the peripheral unit 220 can be calculated using the following formula (3): (3) in, equal The resistance value of the parallel resistor.
[0046] Understandably, when the supply voltage is lower than the operating voltage range of the external device, the controller 212 can sequentially control the closing of multiple branch switches (e.g., the first branch switch SW1 and the second branch switch SW2) in the voltage feedback circuit 230 to repeatedly increase the output voltage of VRM211 to the peripheral unit 220. By repeatedly increasing the output voltage of VRM211 to the peripheral unit 220, the supply voltage of the peripheral unit 220 to the external device is increased multiple times, so that the increased supply voltage falls within the operating voltage range of the external device.
[0047] When the supply voltage exceeds the operating voltage range of the external device, the controller 212 can sequentially control multiple branch switches (e.g., the first branch switch SW1 and the second branch switch SW2) in the voltage feedback circuit 230 to repeatedly reduce the output voltage of VRM211 to the peripheral unit 220. By repeatedly reducing the output voltage of VRM211 to the peripheral unit 220, the supply voltage of the peripheral unit 220 to the external device is reduced multiple times, so that the reduced supply voltage falls within the operating voltage range of the external device.
[0048] Optionally, such as Figure 4 As shown, the voltage feedback circuit 230 may further include a third branch switch SW3 and a fifth resistor R5. The first terminal of the third branch switch SW3 is connected to the first terminal of the second resistor R2, the second terminal of the third branch switch SW3 is connected to the first terminal of the fifth resistor R5, and the second terminal of the fifth resistor R5 is connected to the second terminal of the second resistor R2.
[0049] It should be noted that the control process of the controller 212 for the third branch switch SW3 is the same as the control process for the second branch switch SW2, and will not be described again here.
[0050] When the first branch switch SW1, the second branch switch SW2, and the third branch switch SW3 are all closed, the output voltage V0 of VRM211 to the peripheral unit 220 can be calculated using the following formula (4): (4) in, equal The resistance value of the parallel resistor.
[0051] Understandable, The resistance of the parallel resistor is less than The resistance value of the parallel resistors The resistance value of the parallel resistor The resistance value of the parallel resistor is such that when the first branch switch SW1, the second branch switch SW2, and the third branch switch SW3 are closed in sequence, the output voltage V0 output by VRM211 to the peripheral unit 220 gradually increases. When the first branch switch SW1, the second branch switch SW2, and the third branch switch SW3 are opened in sequence, the output voltage V0 output by VRM211 to the peripheral unit 220 gradually decreases.
[0052] In some embodiments, the resistance value of the third resistor R3 is determined based on the feedback voltage, the first resistor R1, the second resistor R2, and the target voltage output by VRM211 to the peripheral unit 220. The target voltage can be the sum of the required output voltage of the peripheral unit 220 (e.g., 5V) and a preset adjustment value (e.g., 0.05). That is, by connecting the third resistor R3 to the voltage feedback circuit 230, the output voltage output by VRM211 to the peripheral unit 220 can be increased by the preset adjustment value (i.e., increased by 0.05).
[0053] For example, the feedback voltage, the first resistor R1, the second resistor R2, and the target voltage output by VRM211 to the peripheral unit 220 can be substituted into formula (2) to calculate the resistance value of the third resistor R3. The resistance value of the fourth resistor R4 can be equal to the resistance value of the third resistor R3, and the resistance value of the fifth resistor R5 can be equal to the resistance value of the third resistor R3. If the resistance value of the fourth resistor R4 is equal to the resistance value of the third resistor R3, it can be seen that after connecting the fourth resistor R4 to the voltage feedback circuit 230, the value of the output voltage output by VRM211 to the peripheral unit 220 can be increased by a preset adjustment value (i.e., increased by 0.05). If the resistance value of the fifth resistor R5 is equal to the resistance value of the third resistor R3, it can be seen that after connecting the fifth resistor R5 to the voltage feedback circuit 230, the value of the output voltage output by VRM211 to the peripheral unit 220 can be increased by a preset adjustment value (i.e., increased by 0.05).
[0054] Embodiments of this application also provide a server, including the power supply circuit described in the above embodiments.
[0055] Embodiments of this application also provide a computer-readable storage medium storing a computer program, wherein the computer program is configured to execute the steps performed by the devices in the power supply circuit described in the above embodiments when it is run.
[0056] In one exemplary embodiment, the aforementioned computer-readable storage medium may include, but is not limited to, various media capable of storing computer programs, such as a USB flash drive, read-only memory (ROM), random access memory (RAM), portable hard disk, magnetic disk, or optical disk.
[0057] Embodiments of this application also provide a computer program product, which includes a computer program configured to execute the steps performed by the devices in the power supply circuit described in the above embodiments when running.
[0058] Embodiments of this application also provide another computer program product, including a non-volatile computer-readable storage medium storing a computer program configured to execute the steps performed by the devices in the power supply circuit described in the above embodiments when run.
[0059] Those skilled in the art will further recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the components and steps of the various examples have been generally described in terms of functionality in the foregoing description. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0060] The power supply circuit provided in this application has been described in detail above. Specific examples have been used to illustrate the principles and implementation methods of this application. The descriptions of the embodiments above are only intended to help understand the method and core ideas of this application. It should be noted that those skilled in the art can make various improvements and modifications to this application without departing from its principles, and these improvements and modifications also fall within the protection scope of the claims of this application.
Claims
1. A power supply circuit, characterized in that, The power supply circuit includes: a motherboard, peripheral units, a voltage feedback circuit, and a voltage detection circuit; the motherboard includes a voltage regulation module and a controller; the voltage feedback circuit includes at least one branch switch, and each branch switch is connected in series with a resistor; The voltage regulation module is connected to the peripheral unit and is used to supply power to external devices through the peripheral unit; The voltage detection circuit is connected to the peripheral unit and is used to detect the power supply voltage from the peripheral unit to the external device. The controller is connected to the voltage detection circuit and the voltage feedback circuit respectively, and is used to determine the first branch switch based on the state of the at least one branch switch and send a control signal to the first branch switch when it is determined that the power supply voltage exceeds the operating voltage range of the external device. The first branch switch is used to adjust the state of the first branch switch in response to the control signal; The voltage feedback circuit is connected to the voltage regulation module. The voltage feedback circuit is used to generate a feedback voltage when the first branch switch is in the adjusted state, and to output the feedback voltage to the voltage regulation module. The voltage regulation module is used to adjust the output voltage to the peripheral unit based on the feedback voltage, so that the power supply voltage output by the peripheral unit to the external device is within the operating voltage range.
2. The power supply circuit according to claim 1, characterized in that, The voltage detection circuit includes an analog-to-digital converter (ADC), the input of which is connected to the peripheral unit, and the output of which is connected to the controller. The analog-to-digital converter is used to detect the power supply voltage supplied by the peripheral unit to the external device, convert the detected power supply voltage into a binary value, and send the binary value to the controller.
3. The power supply circuit according to claim 1, characterized in that, The voltage feedback circuit further includes: a first resistor, a second resistor, and a third resistor; the first end of the first resistor is connected to the first end of the second resistor, the first pole of the first branch switch is connected to the first end of the second resistor, the second pole of the first branch switch is connected to the first end of the third resistor, the second end of the third resistor is connected to the second end of the second resistor, and the second end of the second resistor is grounded. The first input terminal of the voltage regulation module is connected to the first terminal of the second resistor, and the first input terminal of the voltage regulation module is used to receive the feedback voltage; the first output terminal of the voltage regulation module is connected to the second terminal of the first resistor and the first input terminal of the peripheral unit, respectively, and the first output terminal of the voltage regulation module is used to output the output voltage to the peripheral unit. The controller is connected to the control terminal of each branch switch, and the controller is specifically used for: If it is determined that the power supply voltage is less than the operating voltage range of the external device, based on the state of the at least one branch switch, a branch switch in an open state is identified as the first branch switch, and a closing signal is sent to the first branch switch; If the supply voltage is determined to be greater than the operating voltage range of the external device, based on the state of the at least one branch switch, a closed branch switch is identified as the first branch switch, and a disconnect signal is sent to the first branch switch.
4. The power supply circuit according to claim 3, characterized in that, The voltage feedback circuit further includes a fourth resistor; the at least one branch switch further includes a second branch switch; the first pole of the second branch switch is connected to the first end of the second resistor, the second pole of the second branch switch is connected to the first end of the fourth resistor, and the second end of the fourth resistor is connected to the second end of the second resistor. The voltage detection circuit is also used to detect the new power supply voltage supplied by the peripheral unit to the external device after the controller sends a closing signal to the first branch switch; The controller is further configured to: determine, based on the state of the at least one branch switch, identify another branch switch that is in an open state as the second branch switch when the new power supply voltage is less than the operating voltage range of the external device, and send a closing signal to the second branch switch; wherein, when the second branch switch is closed, the fourth resistor is connected to the voltage feedback circuit.
5. The power supply circuit according to claim 3, characterized in that, The voltage feedback circuit further includes a fourth resistor; the at least one branch switch further includes a second branch switch; the first pole of the second branch switch is connected to the first end of the second resistor, the second pole of the second branch switch is connected to the first end of the fourth resistor, and the second end of the fourth resistor is connected to the second end of the second resistor. The voltage detection circuit is also used to detect the new power supply voltage supplied by the peripheral unit to the external device after the controller sends a disconnect signal to the first branch switch; The controller is further configured to: if the new power supply voltage is greater than the operating voltage range of the external device, determine another closed branch switch as the second branch switch based on the state of the at least one branch switch, and send a disconnect signal to the second branch switch.
6. The power supply circuit according to claim 3, characterized in that, The resistance value of the third resistor is determined based on the feedback voltage, the first resistor, the second resistor, and the target voltage output by the voltage regulation module to the peripheral unit.
7. The power supply circuit according to claim 1, characterized in that, The power supply circuit also includes a high-density connector; The first output terminal of the voltage regulation module is connected to the first input terminal of the high-density connector, and the first output terminal of the high-density connector is connected to the first input terminal of the peripheral unit. The high-density connector is used to transmit the output voltage output from the first output terminal of the voltage regulation module to the peripheral unit. The second input terminal of the high-density connector is connected to the first output terminal of the peripheral unit, the first output terminal of the peripheral unit is connected to the external device, and the voltage detection circuit is connected to the second input terminal of the high-density connector. Specifically, the voltage detection circuit is used to detect the power supply voltage from the peripheral unit to the external device through the second input terminal of the high-density connector.
8. The power supply circuit according to any one of claims 1-7, characterized in that, The peripheral unit includes a mounting plate, which includes pads, electronic fuses, and a universal serial bus interface. The voltage regulation module is connected to the first end of the pad, and the pad is used to fix the connection line with the voltage regulation module. The second end of the pad is connected to the first end of the electronic fuse, and the second end of the electronic fuse is connected to the first input terminal of the Universal Serial Bus interface. The electronic fuse is used to provide circuit protection for the Universal Serial Bus interface. The first output terminal of the Universal Serial Bus interface is connected to the external device, and the voltage detection circuit is connected to the first output terminal of the Universal Serial Bus interface. Specifically, the voltage detection circuit is used to detect the power supply voltage supplied by the peripheral unit to the external device at the first output terminal of the Universal Serial Bus interface.
9. The power supply circuit according to any one of claims 1-7, characterized in that, The operating voltage range of the external device includes a voltage range from a first voltage value to a second voltage value. The first voltage value is equal to the sum of the minimum voltage value required for the external device to operate normally and a preset voltage margin. The second voltage value is equal to the difference between the maximum voltage value required for the external device to operate normally and the preset voltage margin.
10. A server, characterized in that, include: The power supply circuit as described in any one of claims 1-9.
Citation Information
Patent Citations
Voltage regulating device and power supply system
CN106100358A