A power supply control method and device, electronic equipment and storage medium
By monitoring and switching the sampling voltage in a multi-PSU parallel power supply system, combined with the line voltage drop compensation feedback voltage, the problem of power supply instability caused by sampling abnormalities in the existing technology is solved, and the system achieves stable and reliable power supply.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- LENOVO (BEIJING) LTD
- Filing Date
- 2026-01-28
- Publication Date
- 2026-06-05
AI Technical Summary
In existing technologies, the current sharing control of multi-PSU parallel power supply systems is highly dependent on remote sampling voltage. This can easily lead to abnormal PSU output current sharing when sampling is abnormal, resulting in a decrease in system power supply stability.
By monitoring the power supply balance status based on the first sampling voltage and the preset reference voltage, the output voltage is adjusted by switching to the second sampling voltage and combined with the line voltage drop compensation feedback voltage to achieve stable power supply.
It improves the reliability and stability of multi-PSU parallel power supply systems, avoids power competition and imbalance caused by sampling anomalies, and enhances the reliability and availability of the system.
Smart Images

Figure CN122159454A_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of power supply technology, and in particular to a power control method, device, electronic device, and storage medium. Background Technology
[0002] To achieve current sharing among multiple PSUs (Power Supply Units), the current approach is to use a remotely sampled 12V voltage from the motherboard as the feedback reference for the current sharing loop within the PSU. The PSU adjusts its output voltage based on this feedback signal, ultimately achieving current sharing among the multiple PSUs. However, this method is highly dependent on the accuracy of the remotely sampled voltage. If the sampled voltage is abnormal, it will directly lead to abnormal current sharing among the PSUs. Summary of the Invention
[0003] This disclosure provides a power control method, apparatus, electronic device, and storage medium to at least solve the above-mentioned technical problems existing in the prior art.
[0004] According to a first aspect of this disclosure, a power supply control method is provided, the method comprising:
[0005] Based on the first sampling voltage and the preset reference voltage, the monitoring result of the first sampling voltage is obtained, wherein the first sampling voltage represents the voltage sampled from the sampling unit outside the power supply, and the monitoring result represents whether the power supply voltage balance is normal. In response to the monitoring result indicating an abnormal power supply balance voltage, the adjustment reference for the output voltage of each power supply is switched from the first sampling voltage to the second sampling voltage, and the output voltage is adjusted to the target voltage based on the second sampling voltage; wherein, the second sampling voltage represents the voltage sampled from the power supply.
[0006] In one possible implementation, the preset reference voltage is a preset voltage range; Accordingly, obtaining the monitoring result of the first sampling voltage based on the first sampling voltage and the preset reference voltage includes: The first sampled voltage is compared with the preset voltage range by the substrate management controller (BMC). If the first sampled voltage exceeds the preset voltage range, the monitoring result of the first sampled voltage is determined to be characterized as an abnormal power supply balance voltage. If the first sampled voltage does not exceed the preset voltage range, the monitoring result of the first sampled voltage is determined to indicate that the power supply balance voltage is normal.
[0007] In one possible implementation, the preset reference voltage includes a first reference voltage and a second reference voltage; Accordingly, obtaining the monitoring result of the first sampling voltage based on the first sampling voltage and the preset reference voltage includes: Obtain the positive and negative voltages of the first sampled voltage; Based on the positive electrode voltage and the first reference voltage, a first monitoring result is determined; Based on the negative electrode voltage and the second reference voltage, a second monitoring result is determined; Based on the first monitoring result and the second monitoring result, the monitoring result of the first sampling voltage is obtained.
[0008] In one possible implementation, adjusting the output voltage to the target voltage based on the second sampled voltage includes: Obtain the first feedback voltage and the second feedback voltage of the power supply; wherein, the first feedback voltage represents the real-time output voltage of the power supply, and the second feedback voltage represents the compensation voltage for compensating the voltage drop of the compensation line; The second sampling voltage is determined based on the first feedback voltage and the second feedback voltage; The output voltage is adjusted to the target voltage based on the second sampled voltage.
[0009] In one possible implementation, the method further includes: Obtain the historical sampling voltage of the sampling unit, wherein the historical sampling voltage is the sampling voltage before the first sampling voltage generates an abnormality; The second feedback voltage is determined based on the historical sampled voltage.
[0010] In one possible implementation, if the monitoring result of the first sampled voltage indicates an abnormal power supply balance voltage, the method further includes: Based on the first monitoring result and the second monitoring result, the fault type of the sampling unit is determined; wherein, the sampling unit is used to acquire the first sampling voltage.
[0011] In one possible implementation, determining the second feedback voltage based on the historical sampled voltage includes: Obtain the signal characteristic values of the historical sampled voltages of the sampling unit; Obtain the voltage tolerance threshold corresponding to the sampling unit, and determine the second feedback voltage based on the signal feature value and the voltage tolerance threshold.
[0012] According to a second aspect of this disclosure, a power control device is provided, the device comprising: The monitoring module is used to obtain the monitoring result of the first sampling voltage based on the first sampling voltage and the preset reference voltage, wherein the first sampling voltage represents the voltage sampled from the sampling unit outside the power supply, and the monitoring result represents whether the power supply voltage balance is normal. The adjustment module is used to switch the adjustment reference of the output voltage of each power supply from the first sampling voltage to the second sampling voltage in response to the monitoring result indicating an abnormality in the power supply balance voltage, and adjust the output voltage to the target voltage based on the second sampling voltage; wherein the second sampling voltage represents the voltage sampled from the power supply.
[0013] According to a third aspect of this disclosure, an electronic device is provided, comprising: At least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor to enable the at least one processor to perform the methods described in this disclosure.
[0014] According to a fourth aspect of this disclosure, a non-transitory computer-readable storage medium is provided storing computer instructions for causing the computer to perform the methods described in this disclosure.
[0015] It should be understood that the description in this section is not intended to identify key or essential features of the embodiments of this disclosure, nor is it intended to limit the scope of this disclosure. Other features of this disclosure will become readily apparent from the following description. Attached Figure Description
[0016] The above and other objects, features, and advantages of this disclosure will become readily apparent from the following detailed description of exemplary embodiments, taken in conjunction with the accompanying drawings. Several embodiments of this disclosure are illustrated in the drawings by way of example and not limitation, in which: In the accompanying drawings, the same or corresponding reference numerals indicate the same or corresponding parts.
[0017] Figure 1 A schematic diagram illustrating the implementation flow of a power control method according to an embodiment of the present disclosure is shown; Figure 2 A schematic diagram illustrating an implementation scenario of a power control method according to an embodiment of this disclosure is shown; Figure 3 A schematic diagram of a monitoring circuit according to an embodiment of the present disclosure is shown; Figure 4 A schematic diagram of another monitoring circuit according to an embodiment of this disclosure is shown; Figure 5A schematic diagram of the composition structure of a power control device according to an embodiment of the present disclosure is shown; Figure 6 A schematic diagram of the composition structure of an electronic device according to an embodiment of the present disclosure is shown. Detailed Implementation
[0018] To make the objectives, features, and advantages of this disclosure more apparent and understandable, the technical solutions in the embodiments of this disclosure will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of this disclosure, and not all of them. All other embodiments obtained by those skilled in the art based on the embodiments of this disclosure without creative effort are within the scope of protection of this disclosure.
[0019] A first aspect of this disclosure provides a power control method, such as... Figure 1 As shown, the method includes: Step 101: Based on the first sampling voltage and the preset reference voltage, obtain the monitoring result of the first sampling voltage, wherein the first sampling voltage represents the voltage sampled from the sampling unit outside the power supply, and the monitoring result represents whether the power supply equalization voltage is normal.
[0020] This solution is a control method for a parallel power supply system of multiple power supply units (PSUs). This system is used in electronic devices such as laptops and industrial control equipment, connected to loads such as motherboards and memory, to provide a stable power supply voltage to the load. In this embodiment, the power supply refers to a single power supply unit in the parallel power supply system of multiple PSUs. The first sampled voltage is collected by a sampling unit set at the load end, reflecting the actual power supply voltage received by the load. In a parallel power supply system of multiple PSUs, each PSU adjusts its output according to the first sampled voltage to ensure that the load-side voltage remains stable. If the sampling unit at the load end malfunctions, such as an open circuit or increased impedance, the first sampled voltage will decrease. At this time, each PSU will misjudge that the load-side voltage is insufficient, thus initiating a current sharing control mechanism to attempt to compensate for the deviation by raising its own output voltage. Because multiple PSUs simultaneously perform this compensatory voltage boost, the system falls into a vicious cycle of mutually increasing output voltages, leading to severe power competition between power supplies, ultimately causing an abnormal power supply balance in the parallel power supply system. For example, the outputs of two PSUs may alternately increase, resulting in a severe decrease in system power supply stability.
[0021] In this step, after acquiring the first sampled voltage, it is first compared with a preset reference voltage. The preset reference voltage is a pre-set reference voltage used to determine whether the first sampled voltage is within the normal range. Its value can be flexibly set according to the actual application scenario, preferably the standard target voltage required by the load. Based on the comparison result, the monitoring result of the first sampled voltage can be obtained, which also indicates whether the power supply equalization voltage is normal.
[0022] Step 102: In response to the monitoring result indicating an abnormal power supply balance voltage, the adjustment reference for the output voltage of each power supply is switched from the first sampling voltage to the second sampling voltage, and the output voltage is adjusted to the target voltage based on the second sampling voltage; wherein, the second sampling voltage represents the voltage sampled from the power supply.
[0023] When monitoring results indicate an anomaly in the power supply balancing voltage, the system switches the adjustment benchmark for each PSU's output voltage from the first sampling voltage to the second sampling voltage. The second sampling voltage is derived from each PSU's own output and reflects the real-time voltage status of that PSU. Since the first sampling voltage can no longer accurately reflect the actual power supply situation at the load, continuing to adjust the output based on this signal would cause competition and imbalance in power balancing between PSUs. Therefore, after switching to the second sampling voltage, each PSU can perform stable adjustments based on its own output, avoiding the chain reaction caused by external sampling anomalies. After the switch, each PSU will dynamically adjust its output according to the deviation between the second sampling voltage and the target voltage, allowing the voltage to quickly recover and stabilize near the target value, thereby ensuring the reliability and stability of the system's power supply. The target voltage is the standard power supply voltage required by the load, such as 12V, and its value can be preset according to the specific application scenario.
[0024] In one example, it can be achieved through Figure 2 The framework shown implements this step: the external sampling unit is responsible for collecting voltage signals from outside the power supply, generating a first sampled voltage, and transmitting it to the main control unit as the system's default voltage regulation reference. The internal sampling unit generates a second sampled voltage based on the power supply's own voltage signal and simultaneously provides it to the main control unit as a backup regulation reference. When the main control unit receives the monitoring results and determines that the power supply equalization voltage is abnormal, it will immediately pause using the first sampled voltage as the regulation reference and switch the reference to the second sampled voltage provided by the internal sampling unit. The second sampled voltage is then used to regulate the output voltage of each power supply to stabilize it at the target voltage.
[0025] The method in this embodiment, by promptly switching the output voltage adjustment reference from the first sampling voltage to the second sampling voltage when an abnormality in the PSU power supply equalization voltage is detected, avoids problems such as power competition and power imbalance caused by the abnormality of the first sampling unit, thereby significantly improving the reliability, availability, and maintainability (RAS capability) of the multi-power parallel power supply system.
[0026] In another embodiment of this disclosure, the preset reference voltage is a preset voltage range; correspondingly, the monitoring result of the first sampled voltage can be obtained based on the first sampled voltage and the preset reference voltage, which can be achieved by the following technical means: the first sampled voltage is compared with the preset voltage range by the Baseboard Management Controller (BMC); if the first sampled voltage exceeds the preset voltage range, the monitoring result of the first sampled voltage is determined to indicate that the power supply equalization voltage is abnormal; if the first sampled voltage does not exceed the preset voltage range, the monitoring result of the first sampled voltage is determined to indicate that the power supply equalization voltage is normal.
[0027] Since the BMC receives the digital voltage signal converted by the load ADC (Analog-to-Digital Converter), and considering the natural normal operating fluctuations of the sampled voltage at the load end, this embodiment configures the preset reference voltage as a preset voltage range. For example, a voltage range including an upper and lower threshold can be set according to the standard supply voltage of the load and the actual operating conditions. The BMC compares the first sampled voltage with the preset voltage range. If the first sampled voltage exceeds the voltage range, it indicates an abnormality in the sampling unit at the load end. This abnormality will cause misjudgment in the current sharing control mechanism of each PSU, leading to power supply competition. Based on this, the monitoring result is determined to be an abnormal power supply voltage balance. If the first sampled voltage does not exceed the preset voltage range, it indicates that the sampled voltage at the load end is within the normal fluctuation range, and the current sharing control and output regulation mechanisms of each PSU are operating normally. Based on this, the monitoring result is determined to be a normal power supply voltage balance. After the judgment is completed, the BMC transmits the obtained monitoring results to each PSU.
[0028] Taking an application scenario where the load is the motherboard as an example, the motherboard has a sampling unit that integrates a voltage divider circuit. This circuit divides the supply voltage from the PSU. After voltage division, the motherboard's ADC acquires the divided voltage signal and converts it into a digital signal. This digital signal is then reported to the BMC via the I2C bus. The BMC compares the first sampled voltage with a preset voltage range. After this comparison, the BMC transmits the final monitoring result to the MCU of each PSU via the I2C bus, providing a basis for subsequent voltage adjustment reference switching operations.
[0029] In this embodiment, by reusing the existing sampling and communication circuits at the load end, the BMC realizes the abnormal judgment of the power supply balance state at the load end without additional hardware costs, so as to realize the reliable monitoring of the power supply balance state without increasing the system cost.
[0030] In another feasible embodiment of the present disclosure, the preset reference voltage includes a first reference voltage and a second reference voltage; correspondingly, based on the first sampling voltage and the preset reference voltage, the monitoring result of the first sampling voltage can be obtained through the following technical means: obtaining the positive voltage and negative voltage of the first sampling voltage; determining the first monitoring result based on the positive voltage and the first reference voltage; determining the second monitoring result based on the negative voltage and the second reference voltage; and obtaining the monitoring result of the first sampling voltage according to the first monitoring result and the second monitoring result.
[0031] Since the first sampling voltage received by the PSU from the load end is usually a differential signal, including two components of positive voltage and negative voltage, this embodiment configures the preset reference voltage as the first reference voltage and the second reference voltage, corresponding to the verification requirements of both poles of the differential signal. Among them, the first reference voltage is used to verify the positive voltage, corresponding to the normal operating range threshold of the positive voltage; the second reference voltage is used to verify the negative voltage, corresponding to the normal operating range threshold of the negative voltage.
[0032] After obtaining the positive voltage and negative voltage of the first sampling voltage, the difference calculation or numerical comparison between the positive voltage and the first reference voltage can be carried out through software algorithms, hardware circuits, etc.: if the positive voltage falls within the normal range corresponding to the first reference voltage, the first monitoring result is qualified; otherwise, it is determined as abnormal, and then the first monitoring result for the positive signal is obtained. Using the same comparison logic, the negative voltage is verified with the second reference voltage to obtain the second monitoring result for the negative signal.
[0033] Finally, combining the two monitoring results, the final monitoring result of the first sampling voltage is obtained: only when both the first monitoring result and the second monitoring result are qualified, it is confirmed that the final monitoring result is normal, indicating that there is no abnormality in the power supply balance state; if any one of the two monitoring results is abnormal, it is determined that the final monitoring result is abnormal, indicating that there is an abnormality in the power supply balance state.
[0034] In a feasible implementation manner, this monitoring logic can be implemented by setting a hardware comparator inside the PSU. For example, Figure 3 the first monitoring result is obtained through the comparator 1 as shown in Figure 4 and the second monitoring result is obtained through the comparator 2 as shown in Figure 3As shown, the positive voltage of the first sampling voltage is first divided by resistors R1 and R2 to match the input range of the comparator. Then, the divided signal is input to the non-inverting input of comparator 1 and compared with the first reference voltage. If the divided signal is higher than the first reference voltage, the comparator outputs a high level, indicating that the positive voltage line is working normally, i.e., the first monitoring result is qualified; if the divided signal is lower than the first reference voltage, the comparator outputs a low level, indicating that there is an abnormality in the positive voltage line, i.e., the first monitoring result is abnormal.
[0035] like Figure 4 As shown, the internal 12V voltage of the PSU is first divided by resistors R3 and R4 to separate the negative terminal voltage of the first sampling voltage. The divided signal is then input to the inverting input of comparator 2 and compared with the second reference voltage. If the divided signal is lower than the second reference voltage, the comparator outputs a high level, indicating that the negative voltage line is working normally, i.e., the second monitoring result is qualified; if the divided signal is higher than the second reference voltage, the comparator outputs a low level, indicating that there is an abnormality in the negative voltage line, i.e., the second monitoring result is abnormal. It should be noted that the comparator implementation described here is only illustrative, and the solution in this embodiment is not limited to this hardware structure. The same monitoring effect can also be achieved through other circuits or logic units with signal comparison functions.
[0036] In another possible implementation, the above detection logic can be implemented through the analog comparator integrated inside the PSU's MCU, without adding extra hardware costs. The specific principle is the same as the hardware comparator solution, and will not be repeated here.
[0037] The solution in this embodiment enables monitoring of the first sampled voltage on the PSU side. This monitoring can be achieved either by setting up independent hardware circuits and software algorithms on the PSU side, or by directly utilizing the comparison function built into its MCU. The latter eliminates the need for additional external circuitry, thus saving hardware costs.
[0038] In another embodiment of this disclosure, the output voltage is adjusted to the target voltage based on the second sampling voltage, which can be achieved by the following technical means: obtaining the first feedback voltage and the second feedback voltage of the power supply; wherein, the first feedback voltage represents the real-time output voltage of the power supply, and the second feedback voltage represents the compensation voltage for compensating the voltage drop of the compensation line; determining the second sampling voltage based on the first feedback voltage and the second feedback voltage; and adjusting the output voltage to the target voltage based on the second sampling voltage.
[0039] Because of the inherent voltage drop in the power supply line between the PSU and the load, relying solely on the first feedback voltage to regulate the power output can easily lead to a mismatch between the supplied voltage and the load's required voltage due to voltage drop deviation, thus affecting the overall power supply accuracy. Therefore, this embodiment not only collects the first feedback voltage reflecting the power supply's own output state but also introduces a second feedback voltage to compensate for the line voltage drop. The second feedback voltage can be a pre-set fixed value or a dynamically calculated compensation value based on the historical operating parameters of the power supply line. By combining the two types of feedback voltages, a second sampling voltage that better reflects the actual power supply conditions is determined. Specifically, the first and second feedback voltages of the PSU are first acquired, and then fused and calculated to generate a second sampling voltage that incorporates line voltage drop compensation information. Finally, using this second sampling voltage as the basis for output regulation, the PSU's output voltage can be adjusted to the target voltage, effectively offsetting the power supply deviation caused by the line voltage drop and ensuring the power supply accuracy and stability at the load end.
[0040] The solution in this embodiment introduces a second feedback voltage corresponding to line voltage drop compensation, which allows the second sampling voltage to better match the actual power supply requirements. This effectively avoids the problem of the actual voltage at the load end deviating from the required voltage due to line voltage drop. Compared with the voltage regulation method of a single feedback voltage, it significantly improves the adjustment accuracy of the power supply output voltage and ensures the stability and accuracy of the power supply at the load end.
[0041] In another embodiment of this disclosure, the method further includes: acquiring the historical sampling voltage of the sampling unit, wherein the historical sampling voltage is the sampling voltage before the first sampling voltage generates an abnormality; and determining the second feedback voltage based on the historical sampling voltage.
[0042] In this embodiment, the normal sampling voltage before the first sampling voltage anomaly occurs is used as the historical sampling voltage. This historical sampling voltage is pre-stored at the PSU terminal and is collected and updated in real time from the load terminal when the monitoring results indicate that the power supply status is normal. This historical sampling voltage can truly reflect the voltage drop characteristics and voltage transmission law under normal operating conditions of the power supply line. This embodiment performs calculations based on the original data or extracted feature information of this historical sampling voltage to determine the appropriate second feedback voltage.
[0043] For example, statistical characteristic values of historical sampled voltages or voltage values under typical operating conditions can be obtained, and then analyzed and calculated using a preset algorithm to obtain the corresponding second feedback voltage. The second feedback voltage obtained in this way can accurately match the actual voltage drop state of the power supply line, making the compensation of the line voltage drop by the second feedback voltage more in line with the actual power supply conditions and load power demand.
[0044] The solution in this embodiment introduces historical normal sampling data before the first sampling voltage abnormality as a reference for line voltage drop compensation, so that the determined second feedback voltage is more in line with the actual operating conditions of the power supply system. This can accurately match the actual voltage drop state of the line, effectively avoid the problem of power output voltage inaccuracy caused by compensation value deviation, and improve the accuracy and reliability of voltage compensation and output control.
[0045] In another embodiment of this disclosure, if the monitoring result of the first sampling voltage indicates an abnormal power supply balance voltage, the method further includes: determining the fault type of the sampling unit based on the first monitoring result and the second monitoring result; wherein the sampling unit is used to acquire the first sampling voltage.
[0046] The specific fault type of the sampling unit can be determined by combining the first and second monitoring results. Specifically, if only the first monitoring result is abnormal and the second monitoring result is qualified, it indicates that there is a fault in the positive sampling signal acquisition path of the sampling unit, while the negative sampling signal acquisition path is working normally; if only the second monitoring result is abnormal and the first monitoring result is qualified, it indicates that there is a fault in the negative sampling signal acquisition path of the sampling unit, while the positive sampling signal acquisition path is working normally; if both the first and second monitoring results are abnormal, it indicates that there are faults in both the positive and negative sampling signal acquisition paths of the sampling unit, or that the entire sampling unit has failed.
[0047] Furthermore, based on the location results of the aforementioned fault paths, the specific fault type of the corresponding path of the sampling unit can be further determined by combining the abnormal characteristics of the sampling voltage. For example, if the fault is determined to be in the positive sampling signal acquisition path, the aforementioned abnormal characteristics can be used to specifically locate problems such as open circuit, short circuit, or sensor failure in the positive sampling circuit. Among these abnormal characteristics, voltage signal characteristics that can characterize the working state of the sampling path include the amplitude of the sampling voltage, voltage fluctuations exceeding the preset range, and voltage signal distortion.
[0048] The solution in this embodiment analyzes the first and second monitoring results of the first sampling voltage to classify and locate faults in the sampling unit. This makes troubleshooting power supply anomalies more targeted, effectively shortens fault location time, and improves the efficiency of subsequent fault handling and power restoration.
[0049] In another embodiment of this disclosure, the second feedback voltage is determined based on the historical sampling voltage. Specifically, the following technical means may be adopted: obtaining the signal characteristic value of the historical sampling voltage of the sampling unit; obtaining the voltage tolerance threshold corresponding to the sampling unit; and determining the second feedback voltage based on the signal characteristic value and the voltage tolerance threshold.
[0050] In practice, the historical sampled voltages of the sampling unit are first processed to extract signal features, yielding corresponding signal feature values. These feature values characterize core information such as voltage amplitude, fluctuation patterns, and voltage drop correlation characteristics of the historical sampled voltages. Subsequently, the voltage tolerance threshold corresponding to the sampling unit is obtained. This threshold represents the voltage tolerance limit parameter of the sampling unit under the connected load scenario, adapted to its hardware performance and actual operating requirements, and can be pre-stored in the PSU's storage module. For example, if the sampling unit is a voltage sampling module on the motherboard side, its voltage tolerance threshold can be selected from the upper and lower limits of the allowable voltage fluctuation corresponding to the motherboard power supply.
[0051] Although the acquired historical sampling voltage is normal sampling data before the first sampling voltage anomaly, during actual acquisition, the load end may experience sudden surges in demand, potentially including instantaneous data from such extreme conditions in the historical sampling voltage. Directly determining the second feedback voltage based on the original historical sampling voltage is susceptible to interference from such extreme data, leading to deviations in the line voltage drop compensation value. This not only affects the accuracy of voltage regulation but may also damage the load due to improper compensation. Therefore, this embodiment verifies the feature values of the extracted historical sampling voltage signal using the voltage tolerance threshold corresponding to the sampling unit, eliminating instantaneous fluctuation components that exceed the hardware tolerance range. The final determined second feedback voltage not only closely matches the actual line voltage drop characteristics under normal operating conditions but also aligns with the hardware operating requirements of the sampling unit.
[0052] The solution in this embodiment extracts the signal feature values of historical sampling voltages and performs a rationality check by combining them with the voltage tolerance threshold of the sampling unit, eliminating fluctuation components and effectively avoiding outliers in the original historical sampling data. The determined second feedback voltage conforms to the actual line voltage drop characteristics under normal operating conditions, which not only improves the accuracy of power supply voltage regulation, but also takes into account the hardware compatibility of the sampling unit and the safety of load power supply.
[0053] A second aspect of this disclosure provides a power control device, such as... Figure 5 As shown, the device includes: The monitoring module 501 is used to obtain the monitoring result of the first sampling voltage based on the first sampling voltage and the preset reference voltage. The first sampling voltage represents the voltage sampled from the sampling unit outside the power supply, and the monitoring result represents whether the power supply equalization voltage is normal. The adjustment module 502 is used to switch the adjustment reference of the output voltage of each power supply from the first sampling voltage to the second sampling voltage in response to the monitoring result indicating an abnormality in the power supply balance voltage, and adjust the output voltage to the target voltage based on the second sampling voltage; wherein, the second sampling voltage represents the voltage sampled from the power supply.
[0054] In another embodiment of this disclosure, the preset reference voltage is a preset voltage range; the monitoring module 501 is further configured to: compare the first sampled voltage with the preset voltage range through the substrate management controller (BMC); If the first sampled voltage exceeds the preset voltage range, the monitoring result of the first sampled voltage is determined to be characterized as an abnormal power supply balance voltage. If the first sampled voltage does not exceed the preset voltage range, the monitoring result of the first sampled voltage is determined to indicate that the power supply balance voltage is normal.
[0055] In another embodiment of this disclosure, the preset reference voltage includes a first reference voltage and a second reference voltage; the monitoring module 501 is further configured to: acquire the positive and negative voltages of the first sampling voltage; The first monitoring result is determined based on the positive electrode voltage and the first reference voltage; The second monitoring result is determined based on the negative electrode voltage and the second reference voltage; Based on the first monitoring result and the second monitoring result, the monitoring result of the first sampling voltage is obtained.
[0056] In another embodiment of this disclosure, the adjustment module 502 is further configured to acquire a first feedback voltage and a second feedback voltage of the power supply; wherein the first feedback voltage represents the real-time output voltage of the power supply, and the second feedback voltage represents the compensation voltage for compensating the voltage drop of the compensation line. The second sampling voltage is determined based on the first feedback voltage and the second feedback voltage; The output voltage is adjusted to the target voltage based on the second sampled voltage.
[0057] In another embodiment of this disclosure, the adjustment module 502 is further configured to acquire the historical sampling voltage of the sampling unit, wherein the historical sampling voltage is the sampling voltage before the first sampling voltage generates an abnormality; The second feedback voltage is determined based on the historical sampled voltage.
[0058] In another embodiment of this disclosure, the device further includes a fault determination module for determining the fault type of the sampling unit based on the first monitoring result and the second monitoring result; wherein the sampling unit is used to acquire the first sampling voltage.
[0059] In another embodiment of this disclosure, the adjustment module 502 is further configured to determine a second feedback voltage based on historical sampled voltages, including: Obtain the signal characteristic values of the historical sampled voltages of the sampling unit; Obtain the voltage tolerance threshold corresponding to the sampling unit, and determine the second feedback voltage based on the signal characteristic value and the voltage tolerance threshold.
[0060] This device and the power control method described above are based on the same technical concept. The specific implementation of this device can be found in the description of the embodiments of the power control method described above, and will not be repeated here.
[0061] According to embodiments of this disclosure, this disclosure also provides an electronic device and a readable storage medium.
[0062] Figure 6 A schematic block diagram of an example electronic device that can be used to implement embodiments of the present disclosure is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device may also represent various forms of mobile devices, such as personal digital processors, cellular phones, smartphones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely illustrative and are not intended to limit the implementation of the present disclosure described and / or claimed herein.
[0063] like Figure 6 As shown, device 800 includes a computing unit 801, which can perform various appropriate actions and processes based on a computer program stored in read-only memory (ROM) 802 or a computer program loaded from storage unit 808 into random access memory (RAM) 803. RAM 803 may also store various programs and data required for the operation of device 800. The computing unit 801, ROM 802, and RAM 803 are interconnected via bus 804. Input / output (I / O) interface 805 is also connected to bus 804.
[0064] Multiple components in device 800 are connected to I / O interface 805, including: input unit 806, such as keyboard, mouse, etc.; output unit 807, such as various types of monitors, speakers, etc.; storage unit 808, such as disk, optical disk, etc.; and communication unit 809, such as network card, modem, wireless transceiver, etc. Communication unit 809 allows device 800 to exchange information / data with other devices through computer networks such as the Internet and / or various telecommunications networks.
[0065] The computing unit 801 can be a variety of general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of the computing unit 801 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special-purpose artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, etc. The computing unit 801 performs the various methods and processes described above, such as power control methods. For example, in some embodiments, the power control method may be implemented as a computer software program tangibly contained in a machine-readable medium, such as storage unit 808. In some embodiments, part or all of the computer program may be loaded and / or installed on device 800 via ROM 802 and / or communication unit 809. When the computer program is loaded into RAM 803 and executed by the computing unit 801, one or more steps of the power control method described above may be performed. Alternatively, in other embodiments, the computing unit 801 may be configured to perform power control methods by any other suitable means (e.g., by means of firmware).
[0066] Various embodiments of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), system-on-a-chip (SoCs), complex programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include implementations in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which may be a dedicated or general-purpose programmable processor, capable of receiving data and instructions from a storage system, at least one input device, and at least one output device, and transferring data and instructions to the storage system, the at least one input device, and the at least one output device.
[0067] The program code used to implement the methods of this disclosure may be written in any combination of one or more programming languages. This program code may be provided to a processor or controller of a general-purpose computer, special-purpose computer, or other programmable data processing apparatus, such that when executed by the processor or controller, the program code causes the functions / operations specified in the flowcharts and / or block diagrams to be implemented. The program code may be executed entirely on a machine, partially on a machine, as a standalone software package partially on a machine and partially on a remote machine, or entirely on a remote machine or server.
[0068] In the context of this disclosure, a machine-readable medium can be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, apparatus, or device. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can be, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.
[0069] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device for displaying information to the user (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor); and a keyboard and pointing device (e.g., a mouse or trackball) through which the user provides input to the computer. Other types of devices can also be used to provide interaction with the user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including sound input, voice input, or tactile input).
[0070] The systems and technologies described herein can be implemented in computing systems that include backend components (e.g., as a data server), or computing systems that include middleware components (e.g., an application server), or computing systems that include frontend components (e.g., a user computer with a graphical user interface or web browser through which a user can interact with implementations of the systems and technologies described herein), or any combination of such backend, middleware, or frontend components. The components of the system can be interconnected via digital data communication of any form or medium (e.g., a communication network). Examples of communication networks include local area networks (LANs), wide area networks (WANs), and the Internet.
[0071] Computer systems can include clients and servers. Clients and servers are generally located far apart and typically interact via communication networks. Client-server relationships are created by computer programs running on the respective computers and having a client-server relationship with each other. Servers can be cloud servers, servers in distributed systems, or servers incorporating blockchain technology.
[0072] It should be understood that the various forms of processes shown above can be used to rearrange, add, or delete steps. For example, the steps described in this disclosure can be executed in parallel, sequentially, or in different orders, as long as the desired result of the technical solution of this disclosure can be achieved, and this is not limited herein.
[0073] Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one of that feature. In the description of this disclosure, "a plurality of" means two or more, unless otherwise explicitly specified.
[0074] The above description is merely a specific embodiment of this disclosure, but the scope of protection of this disclosure is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this disclosure should be included within the scope of protection of this disclosure. Therefore, the scope of protection of this disclosure should be determined by the scope of the claims.
Claims
1. A power supply control method, the method comprising: Based on the first sampling voltage and the preset reference voltage, the monitoring result of the first sampling voltage is obtained, wherein the first sampling voltage represents the voltage sampled from the sampling unit outside the power supply, and the monitoring result represents whether the power supply voltage balance is normal. In response to the monitoring result indicating an abnormal power supply balance voltage, the adjustment reference for the output voltage of each power supply is switched from the first sampling voltage to the second sampling voltage, and the output voltage is adjusted to the target voltage based on the second sampling voltage; wherein, the second sampling voltage represents the voltage sampled from the power supply.
2. The method according to claim 1, wherein the preset reference voltage is a preset voltage range; Accordingly, obtaining the monitoring result of the first sampling voltage based on the first sampling voltage and the preset reference voltage includes: The first sampled voltage is compared with the preset voltage range by the substrate management controller (BMC). If the first sampled voltage exceeds the preset voltage range, the monitoring result of the first sampled voltage is determined to be characterized as an abnormal power supply balance voltage. If the first sampled voltage does not exceed the preset voltage range, the monitoring result of the first sampled voltage is determined to indicate that the power supply balance voltage is normal.
3. The method according to claim 1, wherein the preset reference voltage includes a first reference voltage and a second reference voltage; Accordingly, obtaining the monitoring result of the first sampling voltage based on the first sampling voltage and the preset reference voltage includes: Obtain the positive and negative voltages of the first sampled voltage; Based on the positive electrode voltage and the first reference voltage, a first monitoring result is determined; Based on the negative electrode voltage and the second reference voltage, a second monitoring result is determined; Based on the first monitoring result and the second monitoring result, the monitoring result of the first sampling voltage is obtained.
4. The method according to claim 1, wherein adjusting the output voltage to the target voltage based on the second sampled voltage comprises: Obtain the first feedback voltage and the second feedback voltage of the power supply; wherein, the first feedback voltage represents the real-time output voltage of the power supply, and the second feedback voltage represents the compensation voltage for compensating the voltage drop of the compensation line; The second sampling voltage is determined based on the first feedback voltage and the second feedback voltage; The output voltage is adjusted to the target voltage based on the second sampled voltage.
5. The method according to claim 4, further comprising: Obtain the historical sampling voltage of the sampling unit, wherein the historical sampling voltage is the sampling voltage before the first sampling voltage generates an abnormality; The second feedback voltage is determined based on the historical sampled voltage.
6. The method according to claim 3, wherein if the monitoring result of the first sampled voltage indicates an abnormal power supply balance voltage, the method further comprises: Based on the first monitoring result and the second monitoring result, the fault type of the sampling unit is determined; wherein, the sampling unit is used to acquire the first sampling voltage.
7. The method according to claim 5, wherein determining the second feedback voltage based on the historical sampled voltage comprises: Obtain the signal characteristic values of the historical sampled voltages of the sampling unit; Obtain the voltage tolerance threshold corresponding to the sampling unit, and determine the second feedback voltage based on the signal feature value and the voltage tolerance threshold.
8. A power control device, the device comprising: The monitoring module is used to obtain the monitoring result of the first sampling voltage based on the first sampling voltage and the preset reference voltage, wherein the first sampling voltage represents the voltage sampled from the sampling unit outside the power supply, and the monitoring result represents whether the power supply voltage balance is normal. The adjustment module is used to switch the adjustment reference of the output voltage of each power supply from the first sampling voltage to the second sampling voltage in response to the monitoring result indicating an abnormality in the power supply balance voltage, and adjust the output voltage to the target voltage based on the second sampling voltage; wherein the second sampling voltage represents the voltage sampled from the power supply.
9. An electronic device, comprising: At least one processor; as well as A memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-7.
10. A non-transitory computer-readable storage medium storing computer instructions for causing a computer to perform the method according to any one of claims 1-7.