Current sharing device based on server adaptive power supply, power supply and server
Through the combination of hardware and software current-sharing circuits, the compatibility and stability issues between PSUs in the server system are resolved, current sharing between power modules is achieved, the stability and reliability of the system are improved, and operation and maintenance costs are reduced.
Patent Information
- Application Number
- CN202411746157.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-29
- Publication Date
- 2025-10-17
- Estimated Expiration
- 2044-11-29
AI Technical Summary
In existing server systems, the current sharing design between redundant PSUs has problems such as poor compatibility, high operation and maintenance costs, and low stability and reliability. In particular, when PSUs of different brands or power ranges cannot be mixed, the system stability and reliability are affected.
A combination of hardware and software current sharing circuits is used to achieve current sharing among power modules. This circuit integrates the total load sampling output circuit, hardware current sharing circuit, and software current sharing circuit. The hardware current sharing circuit outputs a reference voltage based on the current sharing bus voltage, and the software current sharing circuit corrects this reference voltage to ensure that the output voltage of each power module follows the reference voltage.
It improves the stability and reliability of the power supply system, reduces operation and maintenance costs, enhances the versatility and compatibility of power modules, avoids business interruptions caused by faults, simplifies power supply design, and reduces power supply costs.
Smart Images

Figure CN119668385B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of power supply, in particular to a current sharing device based on adaptive power supply of a server, a power supply and a server. BACKGROUND
[0002] With more and more application scenarios of AI, big data, 5G, etc., the server scenario requirements are also increasing, and the power of the server is also increasing. At present, the server is divided into general-purpose servers and special-purpose servers according to use, and the power supply module (Power Supply Unit, referred to as PSU) battery module required by the server with different uses and configurations is different.
[0003] For general servers, the PSU power is generally 550W to 2000W, and the power requirement of the GPU of the AI server is very high, and the PSU power generally requires 2000W-5000W. In actual application, a server system can usually only use a PSU with one power segment, and different brands of PSUs generally cannot be mixed and applied. In the server power supply system, multiple power modules are usually required to work redundantly to provide stable and reliable power supply. Therefore, for redundant PSU applications, the current sharing work between each PSU is crucial. SUMMARY
[0004] Therefore, the present application provides a current sharing device based on adaptive power supply of a server, a power supply and a server to solve the problem of how to realize current sharing between PSUs.
[0005] In a first aspect, the present application provides a current sharing device based on adaptive power supply of a server, comprising: a total load sampling output circuit, a hardware current sharing circuit and a software current sharing circuit, wherein the output end of the total load sampling output circuit is connected with the first input end of the hardware current sharing circuit and the first input end of the software current sharing circuit, the total load sampling output circuit collects the total current of the server load and converts it into a current sharing bus voltage; the input end of the hardware current sharing circuit is connected with the output end of a plurality of power modules, the first output end of the hardware current sharing circuit is connected with the second input end of the software current sharing circuit, the second output end of the hardware current sharing circuit is connected with the control end of each power module, and the output end of the software current sharing circuit is connected with the processor inside each power module; the hardware current sharing circuit outputs a reference voltage based on the current sharing bus voltage, the software current sharing circuit stores the reference voltage, and the hardware current sharing circuit controls the output voltage of each power module to follow the reference voltage based on the reference voltage; the software current sharing circuit judges whether the current sharing accuracy meets the requirements based on the current sharing bus voltage and the reference voltage, and when the current sharing accuracy does not meet the requirements, the software current sharing circuit corrects the reference voltage, and the processor inside the power module controls the output voltage of each power module to follow the corrected reference voltage based on the corrected reference voltage.
[0006] The present invention provides a hardware current-sharing circuit and a software current-sharing circuit for redundant power supply modules. By adjusting the reference voltage and implementing closed-loop control, the output voltage of the power supply modules follows the reference voltage, achieving current balancing. This eliminates the need for manual maintenance or replacing abnormally failed power supplies with normal spare parts, significantly improving the stability and reliability of the power supply and facilitating operation and maintenance. This not only reduces maintenance costs but also improves system stability and reliability.
[0007] The current balancing method of the present invention includes both hardware and software redundancy backup. The hardware current balancing is prioritized, and the software current balancing redundancy backup is used to achieve current balancing, thereby improving the stability and reliability of the power supply system in the data center.
[0008] The present invention is compatible with mixed insertion of power modules of different power and brands, and can achieve current sharing for any power supply. This improves the versatility and compatibility of its power modules. During maintenance in the computer room, if a PSU fails, there is no need to wait for a power supply of the same model, power, and brand to be replaced, thus increasing the convenience of maintenance and reducing maintenance costs. The power supply does not require a dedicated current sharing circuit design, saving power supply costs.
[0009] In an optional embodiment, the hardware current balancing circuit includes: a switching circuit, a voltage regulating circuit and multiple voltage closed-loop regulation circuits, wherein the input end of the voltage regulating circuit is connected to the output end of the total load sampling output circuit, and the output end of the voltage regulating circuit is connected to the first end of the switching circuit and the second input end of the software current balancing circuit; the voltage regulating circuit outputs a reference voltage according to the power consumption load current of the server; the input end of each voltage closed-loop regulation circuit is connected to the second end of the switching circuit, and the output end of each voltage closed-loop regulation circuit is connected to the control end of a power module; when the current balancing accuracy meets the requirements, the switching circuit is closed, and each voltage closed-loop regulation circuit controls the output voltage of the corresponding power module to follow the reference voltage based on the reference voltage; when the current balancing accuracy does not meet the requirements, the switching circuit is disconnected.
[0010] In an alternative embodiment, each voltage closed-loop regulation circuit comprises: a comparison unit, a main voltage loop unit, a PWM modulation unit, a main output voltage sampling unit, wherein the input end of the main output voltage sampling unit is connected with the output end of the corresponding power module, the first output end of the main output voltage sampling unit is connected with the input end of the total load sampling output line, and the second output end of the main output voltage sampling unit is connected with the first input end of the comparison unit; the main output voltage sampling unit collects the output voltage of the corresponding power module; the second input end of the comparison unit is connected with the second end of the switching circuit, the output end of the comparison unit is connected with the input end of the main voltage loop unit, and the comparison unit is used for comparing the output voltage of the power module with the reference voltage and outputting the voltage difference; the output end of the main voltage loop unit is connected with the input end of the PWM modulation unit; the main voltage loop unit is used for outputting a modulation wave based on the voltage difference; the output end of the PWM modulation unit is connected with the control end of the corresponding power module; the PWM modulation unit obtains the driving signal of the internal switching device of the corresponding power module according to the modulation wave and a preset carrier wave; and the driving signal is used for controlling the duty cycle of the switching device so that the output voltage of the power module follows the reference voltage or the corrected reference voltage.
[0011] In an alternative embodiment, the voltage closed-loop regulation circuit further comprises: an anti-reverse circuit, wherein the first output end of the main output voltage sampling unit is connected with the input end of the total load sampling output line through the anti-reverse circuit; and the anti-reverse circuit is used for preventing the current from reversing.
[0012] In an alternative embodiment, the voltage closed-loop regulation circuit further comprises: a current limiting circuit, wherein the second input end of the comparison unit is connected with the second end of the switching circuit through the current limiting circuit.
[0013] In an alternative embodiment, the voltage closed-loop regulation circuit further comprises: a conversion board, wherein a plurality of conversion lines are arranged on the conversion board, and the conversion lines are used for connecting the first output end of the main output voltage sampling unit with the input end of the total load sampling output line.
[0014] In an alternative embodiment, the software current sharing circuit comprises: a register and a current sharing calculation and judgment module, wherein the register is used for storing the reference voltage; the current sharing calculation and judgment module calls the reference voltage stored in the register, judges whether the current sharing precision meets the requirement based on the bus voltage and the reference voltage, and corrects the reference voltage when the current sharing precision does not meet the requirement.
[0015] In an alternative embodiment, the software current sharing circuit further comprises: a power supply monitoring module, wherein the power supply monitoring module is used for detecting the number of power modules normally working in the server system, and the hardware current sharing circuit and the software current sharing circuit are started only when the number of power modules is greater than 1.
[0016] In a second aspect, the present application provides a power supply, comprising: a plurality of power modules and the current sharing device of the first aspect and any one of the optional embodiments thereof, wherein the current sharing device is used to realize current sharing among the power modules when at least two power modules are normally working.
[0017] In a third aspect, the present application provides a server, comprising: the power supply of the second aspect and a server body, wherein the power supply is used to supply power for the load of the server. BRIEF DESCRIPTION OF DRAWINGS
[0018] In order to more clearly illustrate the specific embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the specific embodiments or the prior art description will be briefly introduced as follows. Obviously, the drawings in the following description are some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative labor on the basis of these drawings.
[0019] Figure 1 is a maximum current sharing method parallel connection closed-loop system block diagram in the related art;
[0020] Figure 2 is a composition diagram of the current sharing device according to an embodiment of the present application;
[0021] Figure 3 is a composition diagram of another current sharing device according to an embodiment of the present application;
[0022] Figure 4 is a composition diagram of another current sharing device according to an embodiment of the present application;
[0023] Figure 5 is a flow chart of a hardware current sharing method according to an embodiment of the present application;
[0024] Figure 6 is a specific structure diagram of the current sharing device according to an embodiment of the present application;
[0025] Figure 7 is a flow chart of a software current sharing method according to an embodiment of the present application. DETAILED DESCRIPTION
[0026] In order to make the purpose, technical solutions and advantages of the embodiments of the present application more clear, the technical solutions in the embodiments of the present application will be described clearly and completely in combination with the drawings in the embodiments of the present application. Obviously, the described embodiments are some of the embodiments of the present application, but not all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative labor fall within the protection scope of the present application.
[0027] At present, the current sharing between the redundant power supplies of the server system is generally realized by the special current sharing design of the power supply module, instead of the server system design. Therefore, different manufacturers may have different solutions for the current sharing design, which may result in that the same server system, even with the same power, may have A brand PSU and B brand PSU that cannot be mixed and used, and may have current sharing design incompatible, and the power supply cannot share current.
[0028] The current power sharing design methods include changing the output impedance method (slope control method), maximum current sharing method, average current sharing method, master-slave current sharing method, etc. These methods generally set the current sharing bus voltage or set the slope according to the rated power of the power supply, for example:
[0029] Taking the maximum current sharing method, which is currently more commonly used in server power sharing design, as an example, as shown in Figure 1 , if the output impedance is ignored, the output voltage with the highest static value is automatically the master, and the others are automatically the slaves. The left master and the right slave. The master provides the current sharing bus level through the one-way circuit, and the slave output current follows the current sharing bus level through the current sharing ring. Since the output current conversion value of the slave is not higher than the current sharing bus level.
[0030] The load of the right master is Ios2(S) and the load of the left slave is Ios1(S) after sampling and amplification, and the current sharing bus voltage of various power supplies is obtained and , and the maximum voltage output of the two is obtained through the diode in parallel . In Figure 1 , the right PSU2 is the master, so , therefore the left PSU1 is the slave and needs to adjust its current sharing ring. The error amount is . This error amount is used to adjust the output voltage of the PSU1 slave to increase the output voltage and steal the current, so that , realizing the current sharing of the two power supplies.
[0031] In Figure 1Taking the maximum current sharing method as an example, the power supply's output current Iout and its current sharing bus voltage Vimon for different loads are linearly related: Vimon = Pout * K. Vimon is generally defined as 8V at rated load. Therefore, K = Pout / 8V varies for different power levels, preventing the mixing of power supplies with different Pout power ranges. Mixing these power supplies will result in current sharing issues. Furthermore, if a component or process failure in the PSU's current sharing link fails, the module's current sharing function will fail, rendering current sharing impossible. Currently, server systems do not proactively report and address current sharing issues. Furthermore, because current sharing designs may vary between brands, intermixing is not possible. When these traditional power supply modules fail, manual intervention is often required to restore normal operation, such as replacing a damaged power supply with a module of the same brand and model. This results in poor versatility and compatibility. This can also cause prolonged interruptions to data center services, severely impacting system stability and reliability. This leads to low reliability and ease of maintenance, and high maintenance costs. Moreover, the current sharing design is done on the server side, which can be used with any power supply and has high compatibility. The power supply does not need to be specially designed with a current sharing circuit, saving the cost of the power supply.
[0032] Based on this, in this embodiment, a current balancing device 1 based on a server adaptive power supply is provided, which is applied to the situation where multiple power modules simultaneously supply power to the server load, wherein the load can be a business board, a main control board and a fan bench. Figure 2 As shown, the current balancing device 1 includes: a hardware current balancing circuit 11 , a software current balancing circuit 12 , and a total load sampling output circuit 13 .
[0033] like Figure 2 As shown, the output end of the total load sampling output circuit 13 is connected to the first input end of the hardware current sharing circuit and the first input end of the software current sharing circuit. The total load sampling output circuit 13 collects the total current of the server load and converts it into a current sharing bus voltage.
[0034] Specifically, the total load sampling output circuit 13 is actually a power consumption load current sampling and amplification module on the server system, which amplifies the power consumption load current sampling of the entire server system and outputs it in the form of a current sharing bus voltage Vmon.
[0035] Optionally, the total load sampling output circuit 13 may be implemented through resistance sampling or CT mutual inductor, and then output a voltage Vmon through a primary or secondary differential amplifier, or other methods may be used.
[0036] like Figure 2As shown, the input end of the hardware current sharing circuit 11 is connected with the output end of the plurality of power modules 2, the first output end of the hardware current sharing circuit 11 is connected with the first input end of the software current sharing circuit 12, the second output end of the hardware current sharing circuit 11 is connected with the control end of each power module, and the output end of the software current sharing circuit 12 is connected with the processor inside each power module.
[0037] Specifically, based on Figure 2 As shown in the structure, two kinds of redundant current sharing modes are provided:
[0038] (1) The hardware current sharing circuit 11 outputs a reference voltage based on the current sharing bus voltage, the software current sharing circuit 12 stores the reference voltage, and the hardware current sharing circuit 11 controls the output voltage of each power module to follow the reference voltage based on the reference voltage.
[0039] (2) The software current sharing circuit 12 judges whether the current sharing precision meets the requirements based on the current sharing bus voltage and the reference voltage, when the current sharing precision does not meet the requirements, the software current sharing circuit 12 corrects the reference voltage, and the processor inside the power module controls the output voltage of each power module to follow the corrected reference voltage based on the corrected reference voltage.
[0040] Specifically, the total load sampling output circuit 13 can collect the output current of each power module and aggregate them to obtain the sum of the output currents of all power modules, and convert the sum of the currents into the current sharing bus voltage Vmon. Since the server whole machine load current Iout (i.e. the sum of the output currents of the power modules) and the current sharing bus voltage Vmon are in a linear relationship, i.e. Vmon=Iout*K, the greater the whole machine load current, the higher the Vmon voltage obtained after the load current Iout is sampled and amplified. The reference voltage Vref is obtained after linear adjustment of the current sharing bus voltage Vmon, wherein the reference voltage Vref and the current sharing bus voltage Vmon are in a linear relationship. The current sharing bus voltage Vmon is stored in the software current sharing circuit 12. Since the current sharing bus voltage Vmon and the load current Iout are in a linear relationship, the software current sharing circuit 12 judges whether the current sharing precision meets the requirements based on the current sharing bus voltage Vmon, when it does not meet the requirements, the hardware current sharing circuit 11 controls the output voltage of each power module to follow the corrected reference voltage based on the corrected reference voltage.
[0041] Optionally, the power module can be an AC-DC circuit, a DC-DC circuit, or a switching power supply composed of an AC-DC circuit and a DC-DC circuit. For the AC-DC circuit, the hardware current sharing circuit 11 is internally provided with a voltage closed-loop control link, which outputs a PWM modulation wave based on the reference voltage or the corrected reference voltage, and obtains a trigger signal of an internal switching device of the AC-DC circuit according to the PWM modulation wave, which can change the switching sequence, on-time, etc. of the switching device; for the DC-DC circuit, the hardware current sharing circuit 11 is also internally provided with a voltage closed-loop control link, which outputs a PWM modulation wave based on the reference voltage, and obtains a trigger signal of an internal switching device of the DC-DC circuit according to the PWM modulation wave, which can change the duty cycle of the switching device.
[0042] Optionally, the DC-DC circuit is not limited to a BUCK circuit, a BOOST circuit, a flyback circuit, etc.
[0043] In some optional embodiments, as shown in Figure 3 The hardware current sharing circuit 11 includes a switching circuit 111, a voltage regulating circuit 112, and a plurality of voltage closed-loop regulating circuits 113.
[0044] As shown in Figure 3 The input end of the voltage regulating circuit 112 is connected with the output end of the total load sampling output circuit 13, and the output end of the voltage regulating circuit 112 is connected with the first end of the switching circuit 111 and the second input end of the software current sharing circuit 12; the voltage regulating circuit 112 outputs a reference voltage according to the server whole machine power consumption load current.
[0045] Optionally, since the reference voltage Vref and the current sharing bus voltage Vmon are in a linear relationship, the voltage regulating circuit 112 can be a DC-DC circuit, for example, a BOOST circuit.
[0046] As shown in Figure 3 The input end of each voltage closed-loop regulating circuit 113 is connected with the second end of the switching circuit 111, and the output end of each voltage closed-loop regulating circuit 113 is connected with the control end of one power module.
[0047] Specifically, in the hardware control, the voltage closed-loop regulating circuit 113 receives the reference voltage Vref output from the voltage regulating circuit 112, and in the software control, the processor of the power module receives the corrected reference voltage output from the software current sharing circuit 12.
[0048] Optionally, the voltage closed-loop regulation circuit 113 can be a controller of a mature DC-DC circuit in the related art, which is obtained by a voltage closed loop and a PWM modulation module, wherein the voltage closed loop is used to obtain a reference current modulation wave based on the reference voltage or the corrected reference voltage, and the PWM modulation module compares the reference current modulation wave with a carrier wave and outputs a driving signal to a switching device of the power module.
[0049] In order to realize that the voltage closed-loop regulation circuit 113 only receives the reference voltage at any moment, the switch circuit 111 is arranged to realize that the reference voltage output by the voltage regulation circuit 112 is output to the voltage closed-loop regulation circuit 113 when the current sharing accuracy meets the requirements, and the switch circuit 111 can cut off the connection between the voltage closed-loop regulation circuit 113 and the voltage regulation circuit 112 when the current sharing accuracy does not meet the requirements, and the specific operation is as follows:
[0050] (1) When the current sharing accuracy meets the requirements, the switch circuit 111 is closed, and each voltage closed-loop regulation circuit 113 controls the output voltage of the corresponding power module to follow the reference voltage based on the reference voltage.
[0051] (2) When the current sharing accuracy does not meet the requirements, the switch circuit 111 is opened, and the processor of each power module controls the output voltage of the corresponding power module to follow the corrected reference voltage based on the corrected reference voltage.
[0052] In some optional embodiments, as shown in Figure 4 each voltage closed-loop regulation circuit comprises a comparison unit 1131, a main voltage loop unit 1132, a PWM modulation unit 1133, and a main output voltage sampling unit 1134, wherein Figure 4 Taking two power modules as an example.
[0053] As shown in Figure 4 the input end of the main output voltage sampling unit 1134 is connected with the output end of the corresponding power module, the first output end of the main output voltage sampling unit 1134 is connected with the input end of the total load sampling output line 13, and the second output end of the main output voltage sampling unit 1134 is connected with the first input end of the comparison unit 1131; the main output voltage sampling unit 1134 collects the output voltage of the corresponding power module.
[0054] As shown in Figure 4 the second input end of the comparison unit 1131 is connected with the second end of the switch circuit 111, and the output end of the comparison unit 1131 is connected with the input end of the main voltage loop unit 1132; the comparison unit 1131 is used to compare the output voltage of the power module with the reference voltage and output the voltage difference.
[0055] As shown in Figure 4As shown, the output end of the main voltage loop unit 1132 is connected to the input end of the PWM modulation unit 1133; the main voltage loop unit 1132 is used to output a modulation wave based on the voltage difference.
[0056] like Figure 4 As shown, the output end of the PWM modulation unit 1133 is connected to the control end of the corresponding power module; the PWM modulation unit 1133 obtains the driving signal of the internal switching device of the corresponding power module according to the modulation wave and the preset carrier; the driving signal is used to control the duty cycle of the switching device so that the output voltage of the power module follows the reference voltage or the corrected reference voltage.
[0057] Figure 5 In the flowchart of the hardware current-sharing method shown, in a server system with redundant PSU power modules, the power monitoring module (CPLD) of the software current-sharing circuit 12 first detects the number (N) of PSU power modules operating normally in the entire system. N must be greater than 1 before subsequent current-sharing actions are initiated. The CPLD can confirm the number of power supplies in place by detecting the PSU output presence signals. Simultaneously, the CPLD monitors the power supply's PWOK and alert signals to detect any power supply alarms and ensure the output is operating normally. Alternatively, the power management system (BMC) can read the status registers of each power supply via IIC communication to confirm the number of redundant power supplies in place and whether they are operating normally.
[0058] refer to Figure 6 After the number of redundant power supplies in the entire system is confirmed to be greater than 1, taking two power supply modules in 1+1 redundancy as an example, both comparison units 1131 sample the reference voltage Vref (or the corrected reference voltage), and the two comparison units 1131 receive Vout1 and Vout2 of power module #1 and power module #2, respectively. Comparison unit 1131 compares Vout1 with Vref, or compares Vout2 with Vref, to obtain a voltage difference, i.e., error1 = Vout1 - Vref, error2 = Vout2 - Vref. The voltage difference is input to the main voltage loop unit 1132, which can output the regulation value Output(t) of the output voltage Vout through the PID voltage loop control action.
[0059]
[0060] The output of the adjustment amount Output(t) is sent to the PWM modulation unit 1133 to adjust the output of the power supply module Vout1 and Vout2, so that Vout1=Vref and Vout2=Vref. The output of each PSU reaches Vref, so that the output voltage of the two PSUs is Vref. Assuming that the equivalent internal resistance of the load is R, because the main outputs Vout1 and Vout2 of the PSUs 1 and 2 are the combined total output Vout, the load equivalent internal resistance of the PSUs 1 and 2 is the same value R, and the load of each of the PSUs 1 and 2 is Iout1=Vout1 / R and Iout2=Vout2 / R. Since Vout1=Vout2=Vref, Iout1=Iout2, and the load of each power supply module is consistent, current sharing is achieved.
[0061] Alternatively, because the power supply module can adopt an AC-DC circuit, the modulation method adopted by the PWM modulation unit 1133 is not limited to SPWM modulation, TPWM modulation, etc. In addition, the modulation unit can also adopt space vector modulation, i.e., SVM modulation, which selects the space vector required in the current sector according to the modulation wave output by the voltage closed-loop adjustment circuit 114, and controls the action time of the vector, thereby adjusting the output voltage of the power supply module.
[0062] In some optional embodiments, the voltage closed-loop adjustment circuit further comprises an anti-reverse circuit, wherein the first output end of the main output voltage sampling unit 1134 is connected to the input end of the total load sampling output circuit 13 through the anti-reverse circuit; and the anti-reverse circuit is used to prevent current reversal.
[0063] Specifically, referring to Figure 6 , the anti-reverse circuit adopts unidirectional conduction devices, such as diodes D1 and D2.
[0064] In some optional embodiments, the voltage closed-loop adjustment circuit 114 further comprises a current limiting circuit, wherein the second input end of the comparison unit 1131 is connected to the second end of the switching circuit 111 through the current limiting circuit.
[0065] Specifically, referring to Figure 6 , the current limiting circuit can adopt at least one current limiting resistor, such as resistors R1 and R2, wherein R1 and R2 have the same resistance value to ensure that the reference voltage received by the comparison unit 1131 is the same.
[0066] In some optional embodiments, as shown in Figure 6 , the current sharing device 1 based on the server adaptive power supply further comprises a conversion board, wherein a plurality of conversion lines are arranged on the conversion board, and the conversion lines are used to connect the first output end of the main output voltage sampling unit 1134 and the input end of the total load sampling output circuit 13.
[0067] In some optional embodiments, the software current sharing circuit 12 comprises a register and a current sharing calculation and judgment module.
[0068] Specifically, the register is used to store a reference voltage; the current sharing calculation and judgment module calls the reference voltage stored in the register, and judges whether the current sharing accuracy meets the requirements based on the current sharing bus voltage and the reference voltage; when the current sharing accuracy does not meet the requirements, the current sharing calculation and judgment module corrects the reference voltage.
[0069] Optionally, the software current sharing circuit 12 further comprises a power supply monitoring module, wherein the power supply monitoring module is used to detect the number of power supply modules normally working on the server system; when the number of power supply modules is greater than 1, the hardware current sharing circuit 11 and the software current sharing circuit 12 are started.
[0070] Specifically, all the above are hardware circuit implementation current sharing, which has fast current sharing speed and strong anti-interference ability. However, if there is a device failure or a line welding problem on the hardware link, the current sharing circuit will fail, so the following is to improve the reliability of the system current sharing scheme, and the scheme redundantly backs up the software current sharing scheme. For example, Figure 7 as shown, Figure 7 The server BMC sampling unit is actually a power management system, the register selects the Iout 0x8c register, and the specific steps of the software current sharing are as follows:
[0071] The server BMC sampling unit reads the output current Iout 0x8c register PMbus value of N PSUs through IIC communication respectively, and the above Figure 1 +1 redundancy is a case, the output current Iout pmbus value of PSU1 and PSU2 is read respectively, the BMC current sharing judgment unit calculates the current sharing accuracy by reading the output current Iout 0x8c register of N PSUs, IAccuracy=(Iout1-Iout2) / (Iout1+Iout2), if the current sharing accuracy IAccuracy does not meet the spec requirements, it is considered that there is an abnormality in the hardware current sharing link from the above server motherboard to the PSU, at this time, the hardware current sharing design switch circuit 111 (i.e. switch S1) is closed, the hardware circuit current sharing is stopped, and the standby redundant software current sharing design scheme is enabled.
[0072] The above Vmon and Vref samples are assigned to the BMC software registers 0xbc and 0xbb. The current sharing calculation and judgment module calculates and determines whether Vmon*P=Vref. If so, it proves that the voltage regulation circuit 112 is normal. If not, the voltage regulation circuit 112 is abnormal. The 0xbc register Vmon software algorithm is multiplied by the coefficient P to obtain Vref, and then assigned to the voltage regulation 0xbb again until Vmon*P=Vref, proving that the value of Vref is correct.
[0073] The current-sharing calculation and judgment module sends the Vref value in register 0xBB to the N redundant PSUs in sequence via IIC communication. It also sends software current-sharing and voltage-regulation commands to the PSUs. The processor (i.e., the MCU) inside the power module receives the software current-sharing and voltage-regulation commands and the Vref value 0xBB from the current-sharing calculation and judgment module, performs software debouncing and filtering, and simultaneously samples the power module's output voltage value 0x8B in real time. The output voltage is regulated based on Vref, ensuring that the Vout values of each of the N PSUs are consistent.
[0074] For example, Figure 5 Taking the two power modules PSU1 and PSU2 as an example, error1 = 0x8B - 0xBB. The error error is input to the voltage loop action unit in the processor inside the power module. The PID voltage loop controls the output voltage Vout, which is the adjustment value Output(t):
[0075]
[0076] The regulated output voltage (Vout) of the power module, Output(t), is fed into the PWM adjustment unit to adjust the main outputs (Vout1 and Vout2) so that Vout1 equals Vref and Vout2 equals Vref. Current sharing is achieved similarly. The current sharing calculation module simultaneously reads the output current (Iout 0x8c) register of N PSUs to calculate the current sharing accuracy, ensuring that it meets the current sharing specification.
[0077] Because this backup redundancy solution uses I / O communication, its current sharing capability is less robust against interference than the hardware current sharing design described above. Furthermore, I / O communication typically operates at 100 kHz, resulting in a certain lag in current sharing. Therefore, it is considered a redundant backup solution. If hardware current sharing returns to normal, software current sharing switches back to hardware current sharing.
[0078] In this embodiment, a power supply is provided, such as Figure 1 As shown, it includes: multiple power modules and a current balancing device 1 of the above embodiments and any optional implementation manner thereof, wherein when at least two power modules are working normally in place, the current balancing device 1 is used to achieve current balancing between the power modules.
[0079] In the present embodiment, a server is provided, characterized by comprising: the power supply and the server body of the above embodiments, the power supply being configured to supply power to a load of the server.
[0080] Although the embodiments of the present application have been described in conjunction with the accompanying drawings, various modifications and changes can be suggested by those skilled in the art, and it is intended that the appended claims encompass such modifications and changes as fall within the scope of the present application.
Claims
1. A current sharing device based on a server adaptive power supply, characterized in that: include: Total load sampling output circuit, hardware current sharing circuit, software current sharing circuit, among which, The output end of the total load sampling output circuit is connected to the first input end of the hardware current sharing circuit and the first input end of the software current sharing circuit, and the total load sampling output circuit collects the total current of the server load and converts it into a current sharing bus voltage; The input end of the hardware current balancing circuit is connected to the output ends of multiple power modules, the first output end of the hardware current balancing circuit is connected to the second input end of the software current balancing circuit, the second output end of the hardware current balancing circuit is connected to the control end of each of the power modules, and the output end of the software current balancing circuit is connected to the processor inside each power module; The hardware current sharing circuit outputs a reference voltage based on the current sharing bus voltage, the software current sharing circuit stores the reference voltage, and the hardware current sharing circuit controls the output voltage of each power module to follow the reference voltage based on the reference voltage; The software current sharing circuit determines whether the current sharing accuracy meets the requirements based on the current sharing bus voltage and the reference voltage. When the current sharing accuracy does not meet the requirements, the software current sharing circuit corrects the reference voltage, and the processor inside the power module controls the output voltage of each power module to follow the corrected reference voltage based on the corrected reference voltage.
2. The current balancing device based on the server adaptive power supply according to claim 1, characterized in that: The hardware current sharing circuit includes: a switch circuit, a voltage regulating circuit and a plurality of voltage closed-loop regulating circuits, wherein: The input end of the voltage regulating circuit is connected to the output end of the total load sampling output circuit, and the output end of the voltage regulating circuit is connected to the first end of the switch circuit and the second input end of the software current sharing circuit; the voltage regulating circuit outputs the reference voltage according to the power consumption load current of the server; The input end of each of the voltage closed-loop regulation circuits is connected to the second end of the switch circuit, and the output end of each of the voltage closed-loop regulation circuits is connected to the control end of a power module; When the current sharing accuracy meets the requirement, the switch circuit is closed, and each of the voltage closed-loop regulation circuits controls the output voltage of the corresponding power module to follow the reference voltage based on the reference voltage; When the current sharing accuracy does not meet the requirement, the switch circuit is disconnected.
3. The current balancing device based on the server adaptive power supply according to claim 2, characterized in that: Each of the voltage closed-loop regulation circuits includes: a comparison unit, a main voltage loop unit, a PWM modulation unit, and a main output voltage sampling unit, wherein: The input end of the main output voltage sampling unit is connected to the output end of the corresponding power module, the first output end of the main output voltage sampling unit is connected to the input end of the total load sampling output circuit, and the second output end of the main output voltage sampling unit is connected to the first input end of the comparison unit; the main output voltage sampling unit collects the output voltage of the corresponding power module; The second input end of the comparison unit is connected to the second end of the switch circuit, the output end of the comparison unit is connected to the input end of the main voltage loop unit, and the comparison unit is used to compare the output voltage of the power module with the reference voltage and output a voltage difference; The output end of the main voltage loop unit is connected to the input end of the PWM modulation unit; the main voltage loop unit is used to output a modulation wave based on the voltage difference; The output end of the PWM modulation unit is connected to the control end of the corresponding power module; the PWM modulation unit obtains the driving signal of the internal switching device of the corresponding power module according to the modulation wave and the preset carrier; The driving signal is used to control the duty cycle of the switching device so that the output voltage of the power module follows the reference voltage or the corrected reference voltage.
4. The current balancing device based on the server adaptive power supply according to claim 3, characterized in that: The voltage closed-loop regulation circuit further includes an anti-reverse circuit, wherein: The first output end of the main output voltage sampling unit is connected to the input end of the total load sampling output line through the anti-reverse circuit; the anti-reverse circuit is used to prevent current reverse flow.
5. The current balancing device based on the server adaptive power supply according to claim 3, characterized in that: The voltage closed-loop regulation circuit also includes: a current limiting circuit, wherein: The second input terminal of the comparison unit is connected to the second terminal of the switch circuit through the current limiting circuit.
6. The current balancing device based on the server adaptive power supply according to claim 3, characterized in that: Also includes: Adapter plate, where A plurality of adapter wires are arranged on the adapter board, and the adapter wires are used to connect the first output end of the main output voltage sampling unit and the input end of the total load sampling output circuit.
7. The current balancing device based on the server adaptive power supply according to claim 1, characterized in that: The software current sharing circuit includes: a register and a current sharing calculation and judgment module, wherein: The register is used to store the reference voltage; The current sharing calculation and judgment module calls the reference voltage stored in the register, and judges whether the current sharing accuracy meets the requirements based on the current sharing bus voltage and the reference voltage. When the current sharing accuracy does not meet the requirements, the current sharing calculation and judgment module corrects the reference voltage.
8. The current balancing device based on the server adaptive power supply according to claim 7, characterized in that: The software current sharing circuit further includes: a power supply monitoring module, wherein: The power supply monitoring module is used to detect the number of power supply modules that are working normally on the server system. When the number of power supply modules is greater than 1, the hardware current sharing circuit and the software current sharing circuit are started.
9. A power supply, characterized in that: include: Multiple power modules and the current balancing device according to any one of claims 1 to 8, wherein: When at least two power modules are working normally, the current balancing device is used to achieve current balancing between the power modules.
10. A server, characterized in that: include: The power supply and server body described in claim 9, wherein the power supply is used to power the load of the server.
Citation Information
Patent Citations
Integrated control circuit on basis of voltage loop feedback and automatic load current sharing
CN104377964A
A method, apparatus and system for current sharing of a server power module
CN114935970A